diff --git a/assets/About-CfbSe3Js.js b/assets/About-B1tK_I6V.js similarity index 78% rename from assets/About-CfbSe3Js.js rename to assets/About-B1tK_I6V.js index 4635fc3..0a31306 100644 --- a/assets/About-CfbSe3Js.js +++ b/assets/About-B1tK_I6V.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DRTy3Uxn.js";import{useMDXComponents as s}from"./index-z5U8iC57.js";import"./RedbackUiThemeProvider-Co3QCjBu.js";import"./smartrack-Ddg4N9PD.js";import"./Alert-70_fx8x3.js";import"./Button-CjAWrQ4F.js";import"./Label-lwa5kVBA.js";import{L as n}from"./LinkButton-zDjC6fZ_.js";import"./Table-Dh1fEt5Y.js";import"./TruncatedText-Dr-qNbjw.js";import"./index-BBkUAzwr.js";import"./styled-components.browser.esm-CoKU8m7y.js";import"./polished.esm-DHPXM_EY.js";import"./Button.style-DhS0uTNt.js";function i(t){const o={a:"a",code:"code",h1:"h1",hr:"hr",p:"p",...s(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(o.h1,{id:"about-redback-operations",children:"About Redback Operations"}),` +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{useMDXComponents as s}from"./index-EeWIkZEf.js";import"./RedbackUiThemeProvider-92619l97.js";import"./Button.style-BuRJTyuz.js";import"./Alert-CRCkG8cY.js";import"./Button-BtzO9Cgo.js";import"./Label-DTqbhiXx.js";import{L as n}from"./LinkButton-BrwIWpTO.js";import"./Table-CTfJIhs4.js";import"./TruncatedText-dI59SCl1.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./styled-components.browser.esm-DnUtS8XV.js";import"./polished.esm-B9vzHjoG.js";function i(t){const o={a:"a",code:"code",h1:"h1",hr:"hr",p:"p",...s(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(o.h1,{id:"about-redback-operations",children:"About Redback Operations"}),` `,e.jsx(o.p,{children:"Redback Operations is a capstone project company within the School of Information Technology at Deakin University. Students nearing the end of their degrees work on a capstone project for two trimesters with the guidance of professional and academic mentors."}),` `,e.jsx(o.p,{children:"Redback Operations is dedicated to revolutionizing the fitness experience by developing state-of-the-art connected fitness devices that not only enhance the enjoyment of physical activity but also its effectiveness. At the heart of our mission is a relentless drive for innovation and continuous improvement. This commitment is reflected in our diverse portfolio of projects, each designed to elevate the quality and effectiveness of training while also focusing on injury prevention. Through these initiatives, Redback Operations aims to empower individuals in their pursuit of fitness, making every workout smarter, safer, and more enjoyable."}),` `,e.jsx(n,{label:"Visit us on GitHub",href:"https://github.com/Redback-Operations",size:"lg"}),` diff --git a/assets/Alert-70_fx8x3.js b/assets/Alert-70_fx8x3.js deleted file mode 100644 index cf7018f..0000000 --- a/assets/Alert-70_fx8x3.js +++ /dev/null @@ -1,25 +0,0 @@ -import{j as i}from"./jsx-runtime-DRTy3Uxn.js";import{u as l}from"./styled-components.browser.esm-CoKU8m7y.js";import{r as a,g as n,a as s,m,c}from"./polished.esm-DHPXM_EY.js";const d=l.div` - width: 100%; - border: ${e=>`1px solid ${e.theme.colors[e.type]}`}; - border-left-width: ${e=>e.theme.spacing.sm}; - color: ${e=>a(e.theme.colors[e.type])}; - padding: ${e=>e.theme.spacing.md}; - box-sizing: border-box; - margin-bottom: ${e=>e.theme.spacing.lg}; - background: ${e=>n(e.theme.colors.background)<.5?s(.1,e.theme.colors.background):"white"}; - color: ${e=>{const r=n(e.theme.colors.background)<.5;let t=e.theme.colors[e.type],o=0;for(;o<4;){if(m(t,e.theme.colors.background).AA)return t;t=r?s(.1,t):c(.1,t),o++}return a(e.theme.colors.background)}}; - - p { - font-size: ${e=>e.theme.fontSizes.sm}; - margin-top: 0; - margin-bottom: ${e=>e.theme.spacing.xs}; - - &:first-child { - font-size: ${e=>e.theme.fontSizes.default}; - } - - &:last-child { - margin-bottom: 0; - } - } -`,u=({type:e,children:r})=>i.jsx(d,{"data-testid":"Alert",type:e??"info",children:r});u.__docgenInfo={description:"",methods:[],displayName:"Alert",props:{type:{required:!1,tsType:{name:"union",raw:"'success' | 'info' | 'warning' | 'error'",elements:[{name:"literal",value:"'success'"},{name:"literal",value:"'info'"},{name:"literal",value:"'warning'"},{name:"literal",value:"'error'"}]},description:""}}};export{u as A}; diff --git a/assets/Alert-CRCkG8cY.js b/assets/Alert-CRCkG8cY.js new file mode 100644 index 0000000..53dfb5b --- /dev/null +++ b/assets/Alert-CRCkG8cY.js @@ -0,0 +1,25 @@ +import{j as c}from"./jsx-runtime-Bxcv0yjW.js";import{u as l}from"./styled-components.browser.esm-DnUtS8XV.js";import{r as a,g as s,c as i,m,a as d}from"./polished.esm-B9vzHjoG.js";const u=l.div` + width: 100%; + border: ${e=>`1px solid ${e.theme.colors[e.type]}`}; + border-left-width: ${e=>e.theme.spacing.sm}; + color: ${e=>a(e.theme.colors[e.type])}; + padding: ${e=>e.theme.spacing.md}; + box-sizing: border-box; + margin-bottom: ${e=>e.theme.spacing.lg}; + background: ${e=>s(e.theme.colors.background)<.5?i(.1,e.theme.colors.background):"white"}; + color: ${e=>{const r=s(e.theme.colors.background)<.5;let t=e.theme.colors[e.type],o=0;for(;o<4;){if(m(t,e.theme.colors.background).AA)return t;t=r?i(.1,t):d(.1,t),o++}return a(e.theme.colors.background)}}; + + p { + font-size: ${e=>e.theme.fontSizes.sm}; + margin-top: 0; + margin-bottom: ${e=>e.theme.spacing.xs}; + + &:first-child { + font-size: ${e=>e.theme.fontSizes.default}; + } + + &:last-child { + margin-bottom: 0; + } + } +`,n=({type:e,children:r})=>c.jsx(u,{"data-testid":"Alert",type:e??"info",children:r});try{n.displayName="Alert",n.__docgenInfo={description:"",displayName:"Alert",props:{type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"info"'},{value:'"warning"'},{value:'"error"'}]}}}}}catch{}export{n as A}; diff --git a/assets/Alert.stories-BFjCrx9Q.js b/assets/Alert.stories-DVKTUhZn.js similarity index 64% rename from assets/Alert.stories-BFjCrx9Q.js rename to assets/Alert.stories-DVKTUhZn.js index b708c4f..3ab3301 100644 --- a/assets/Alert.stories-BFjCrx9Q.js +++ b/assets/Alert.stories-DVKTUhZn.js @@ -1,4 +1,4 @@ -import{A as w}from"./Alert-70_fx8x3.js";import"./jsx-runtime-DRTy3Uxn.js";import"./index-BBkUAzwr.js";import"./styled-components.browser.esm-CoKU8m7y.js";import"./polished.esm-DHPXM_EY.js";const T={title:"Components/Alert",component:w},r={children:"This is an alert"},e={parameters:{controls:{disable:!0},actions:{disable:!0}}},s={args:{...r},tags:["excludeFromSidebar"]},a={args:{...r},...e},o={args:{...r,type:"success"},...e},t={args:{...r,type:"info"},...e},n={args:{...r,type:"warning"},...e},c={args:{...r,type:"error"},...e};var p,d,m;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{A as w}from"./Alert-CRCkG8cY.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./styled-components.browser.esm-DnUtS8XV.js";import"./polished.esm-B9vzHjoG.js";const j={title:"Components/Alert",component:w},r={children:"This is an alert"},e={parameters:{controls:{disable:!0},actions:{disable:!0}}},s={args:{...r},tags:["excludeFromSidebar"]},a={args:{...r},...e},o={args:{...r,type:"success"},...e},t={args:{...r,type:"info"},...e},n={args:{...r,type:"warning"},...e},c={args:{...r,type:"error"},...e};var p,d,m;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { ...defaultProps }, @@ -32,4 +32,4 @@ import{A as w}from"./Alert-70_fx8x3.js";import"./jsx-runtime-DRTy3Uxn.js";import type: 'error' }, ...disableControls -}`,...(h=(E=c.parameters)==null?void 0:E.docs)==null?void 0:h.source}}};const j=["Demo","Default","Success","Info","Warning","Error"];export{a as Default,s as Demo,c as Error,t as Info,o as Success,n as Warning,j as __namedExportsOrder,T as default}; +}`,...(h=(E=c.parameters)==null?void 0:E.docs)==null?void 0:h.source}}};const k=["Demo","Default","Success","Info","Warning","Error"];export{a as Default,s as Demo,c as Error,t as Info,o as Success,n as Warning,k as __namedExportsOrder,j as default}; diff --git a/assets/Button-BtzO9Cgo.js b/assets/Button-BtzO9Cgo.js new file mode 100644 index 0000000..26af1c6 --- /dev/null +++ b/assets/Button-BtzO9Cgo.js @@ -0,0 +1 @@ +import{j as u}from"./jsx-runtime-Bxcv0yjW.js";import{S as i}from"./Button.style-BuRJTyuz.js";const a=({label:e,color:r="primary",onClick:l,appearance:t="solid",size:n="md"})=>u.jsx(i,{"data-testid":"Button",onClick:l,$color:r,$appearance:t,$size:n,children:e});try{a.displayName="Button",a.__docgenInfo={description:"",displayName:"Button",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},color:{defaultValue:{value:"primary"},description:"",name:"color",required:!1,type:{name:"string | number | symbol"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}},appearance:{defaultValue:{value:"solid"},description:"",name:"appearance",required:!1,type:{name:"enum",value:[{value:'"solid"'},{value:'"outline"'}]}},size:{defaultValue:{value:"md"},description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'}]}}}}}catch{}export{a as B}; diff --git a/assets/Button-CjAWrQ4F.js b/assets/Button-CjAWrQ4F.js deleted file mode 100644 index 7a328e1..0000000 --- a/assets/Button-CjAWrQ4F.js +++ /dev/null @@ -1 +0,0 @@ -import{j as n}from"./jsx-runtime-DRTy3Uxn.js";import{S as i}from"./Button.style-DhS0uTNt.js";const s=({label:e,color:a="primary",onClick:t,appearance:r="solid",size:l="md"})=>n.jsx(i,{"data-testid":"Button",onClick:t,$color:a,$appearance:r,$size:l,children:e});s.__docgenInfo={description:"",methods:[],displayName:"Button",props:{label:{required:!0,tsType:{name:"string"},description:""},color:{required:!1,tsType:{name:"unknown"},description:"",defaultValue:{value:"'primary'",computed:!1}},onClick:{required:!0,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},appearance:{required:!1,tsType:{name:"union",raw:"'solid' | 'outline'",elements:[{name:"literal",value:"'solid'"},{name:"literal",value:"'outline'"}]},description:"",defaultValue:{value:"'solid'",computed:!1}},size:{required:!1,tsType:{name:"union",raw:"'sm' | 'md' | 'lg'",elements:[{name:"literal",value:"'sm'"},{name:"literal",value:"'md'"},{name:"literal",value:"'lg'"}]},description:"",defaultValue:{value:"'md'",computed:!1}}}};export{s as B}; diff --git a/assets/Button.stories-BPIRJ6hF.js b/assets/Button.stories-BPIRJ6hF.js deleted file mode 100644 index d105682..0000000 --- a/assets/Button.stories-BPIRJ6hF.js +++ /dev/null @@ -1,254 +0,0 @@ -var Qf=Object.defineProperty;var Zf=(e,t,r)=>t in e?Qf(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ht=(e,t,r)=>(Zf(e,typeof t!="symbol"?t+"":t,r),r);import{B as ep}from"./Button-CjAWrQ4F.js";import{t as tp}from"./types-CBrWhbf3.js";import"./jsx-runtime-DRTy3Uxn.js";import"./index-BBkUAzwr.js";import"./Button.style-DhS0uTNt.js";import"./styled-components.browser.esm-CoKU8m7y.js";import"./polished.esm-DHPXM_EY.js";import"./index-V0zlLCsl.js";import"./smartrack-Ddg4N9PD.js";import"./hasIn-_03O251r.js";import"./_basePickBy-Cbg7v0UG.js";import"./isPlainObject-jh_HCFe2.js";const{addons:rp}=__STORYBOOK_MODULE_PREVIEW_API__,{once:np}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:mi,STORY_RENDER_PHASE_CHANGED:op,SET_CURRENT_STORY:ap}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:Ze}=__STORYBOOK_MODULE_GLOBAL__;var ip=Object.create,Cs=Object.defineProperty,lp=Object.getOwnPropertyDescriptor,Ps=Object.getOwnPropertyNames,sp=Object.getPrototypeOf,up=Object.prototype.hasOwnProperty,cp=(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')}),He=(e,t)=>function(){return t||(0,e[Ps(e)[0]])((t={exports:{}}).exports,t),t.exports},dp=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ps(t))!up.call(e,a)&&a!==r&&Cs(e,a,{get:()=>t[a],enumerable:!(o=lp(t,a))||o.enumerable});return e},Yt=(e,t,r)=>(r=e!=null?ip(sp(e)):{},dp(t||!e||!e.__esModule?Cs(r,"default",{value:e,enumerable:!0}):r,e)),fp=He({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(u=0)=>n=>`\x1B[${38+u};5;${n}m`,o=(u=0)=>(n,i,l)=>`\x1B[${38+u};2;${n};${i};${l}m`;function a(){let u=new Map,n={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]}};n.color.gray=n.color.blackBright,n.bgColor.bgGray=n.bgColor.bgBlackBright,n.color.grey=n.color.blackBright,n.bgColor.bgGrey=n.bgColor.bgBlackBright;for(let[i,l]of Object.entries(n)){for(let[s,f]of Object.entries(l))n[s]={open:`\x1B[${f[0]}m`,close:`\x1B[${f[1]}m`},l[s]=n[s],u.set(f[0],f[1]);Object.defineProperty(n,i,{value:l,enumerable:!1})}return Object.defineProperty(n,"codes",{value:u,enumerable:!1}),n.color.close="\x1B[39m",n.bgColor.close="\x1B[49m",n.color.ansi256=r(),n.color.ansi16m=o(),n.bgColor.ansi256=r(10),n.bgColor.ansi16m=o(10),Object.defineProperties(n,{rgbToAnsi256:{value:(i,l,s)=>i===l&&l===s?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:i=>{let l=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!l)return[0,0,0];let{colorString:s}=l.groups;s.length===3&&(s=s.split("").map(d=>d+d).join(""));let f=Number.parseInt(s,16);return[f>>16&255,f>>8&255,f&255]},enumerable:!1},hexToAnsi256:{value:i=>n.rgbToAnsi256(...n.hexToRgb(i)),enumerable:!1}}),n}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),Hn=He({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=o,e.printListItems=a,e.printObjectProperties=u;var t=(n,i)=>{let l=Object.keys(n),s=i!==null?l.sort(i):l;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(n).forEach(f=>{Object.getOwnPropertyDescriptor(n,f).enumerable&&s.push(f)}),s};function r(n,i,l,s,f,d,c=": "){let p="",m=0,h=n.next();if(!h.done){p+=i.spacingOuter;let g=l+i.indent;for(;!h.done;){if(p+=g,m++===i.maxWidth){p+="…";break}let y=d(h.value[0],i,g,s,f),_=d(h.value[1],i,g,s,f);p+=y+c+_,h=n.next(),h.done?i.min||(p+=","):p+=`,${i.spacingInner}`}p+=i.spacingOuter+l}return p}function o(n,i,l,s,f,d){let c="",p=0,m=n.next();if(!m.done){c+=i.spacingOuter;let h=l+i.indent;for(;!m.done;){if(c+=h,p++===i.maxWidth){c+="…";break}c+=d(m.value,i,h,s,f),m=n.next(),m.done?i.min||(c+=","):c+=`,${i.spacingInner}`}c+=i.spacingOuter+l}return c}function a(n,i,l,s,f,d){let c="";if(n.length){c+=i.spacingOuter;let p=l+i.indent;for(let m=0;m{let h=s.toString();if(h==="ArrayContaining"||h==="ArrayNotContaining")return++c>f.maxDepth?`[${h}]`:`${h+a}[${(0,t.printListItems)(s.sample,f,d,c,p,m)}]`;if(h==="ObjectContaining"||h==="ObjectNotContaining")return++c>f.maxDepth?`[${h}]`:`${h+a}{${(0,t.printObjectProperties)(s.sample,f,d,c,p,m)}}`;if(h==="StringMatching"||h==="StringNotMatching"||h==="StringContaining"||h==="StringNotContaining")return h+a+m(s.sample,f,d,c,p);if(typeof s.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${s.constructor.name} does not implement toAsymmetricMatcher()`);return s.toAsymmetricMatcher()};e.serialize=u;var n=s=>s&&s.$$typeof===o;e.test=n;var i={serialize:u,test:n},l=i;e.default=l}}),mp=He({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Hn(),r=" ",o=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=d=>o.indexOf(d)!==-1||a.test(d),n=d=>d&&d.constructor&&!!d.constructor.name&&u(d.constructor.name);e.test=n;var i=d=>d.constructor.name==="NamedNodeMap",l=(d,c,p,m,h,g)=>{let y=d.constructor.name;return++m>c.maxDepth?`[${y}]`:(c.min?"":y+r)+(o.indexOf(y)!==-1?`{${(0,t.printObjectProperties)(i(d)?Array.from(d).reduce((_,S)=>(_[S.name]=S.value,_),{}):{...d},c,p,m,h,g)}}`:`[${(0,t.printListItems)(Array.from(d),c,p,m,h,g)}]`)};e.serialize=l;var s={serialize:l,test:n},f=s;e.default=f}}),hp=He({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),ba=He({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(hp());function r(s){return s&&s.__esModule?s:{default:s}}var o=(s,f,d,c,p,m,h)=>{let g=c+d.indent,y=d.colors;return s.map(_=>{let S=f[_],E=h(S,d,g,p,m);return typeof S!="string"&&(E.indexOf(` -`)!==-1&&(E=d.spacingOuter+g+E+d.spacingOuter+c),E=`{${E}}`),`${d.spacingInner+c+y.prop.open+_+y.prop.close}=${y.value.open}${E}${y.value.close}`}).join("")};e.printProps=o;var a=(s,f,d,c,p,m)=>s.map(h=>f.spacingOuter+d+(typeof h=="string"?u(h,f):m(h,f,d,c,p))).join("");e.printChildren=a;var u=(s,f)=>{let d=f.colors.content;return d.open+(0,t.default)(s)+d.close};e.printText=u;var n=(s,f)=>{let d=f.colors.comment;return`${d.open}${d.close}`};e.printComment=n;var i=(s,f,d,c,p)=>{let m=c.colors.tag;return`${m.open}<${s}${f&&m.close+f+c.spacingOuter+p+m.open}${d?`>${m.close}${d}${c.spacingOuter}${p}${m.open}${m.close}`};e.printElement=i;var l=(s,f)=>{let d=f.colors.tag;return`${d.open}<${s}${d.close} …${d.open} />${d.close}`};e.printElementAsLeaf=l}}),yp=He({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ba(),r=1,o=3,a=8,u=11,n=/^((HTML|SVG)\w*)?Element$/,i=g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},l=g=>{let y=g.constructor.name,{nodeType:_,tagName:S}=g,E=typeof S=="string"&&S.includes("-")||i(g);return _===r&&(n.test(y)||E)||_===o&&y==="Text"||_===a&&y==="Comment"||_===u&&y==="DocumentFragment"},s=g=>{var y;return((y=g==null?void 0:g.constructor)==null?void 0:y.name)&&l(g)};e.test=s;function f(g){return g.nodeType===o}function d(g){return g.nodeType===a}function c(g){return g.nodeType===u}var p=(g,y,_,S,E,C)=>{if(f(g))return(0,t.printText)(g.data,y);if(d(g))return(0,t.printComment)(g.data,y);let T=c(g)?"DocumentFragment":g.tagName.toLowerCase();return++S>y.maxDepth?(0,t.printElementAsLeaf)(T,y):(0,t.printElement)(T,(0,t.printProps)(c(g)?[]:Array.from(g.attributes,O=>O.name).sort(),c(g)?{}:Array.from(g.attributes).reduce((O,v)=>(O[v.name]=v.value,O),{}),y,_+y.indent,S,E,C),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),y,_+y.indent,S,E,C),y,_)};e.serialize=p;var m={serialize:p,test:s},h=m;e.default=h}}),bp=He({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Hn(),r="@@__IMMUTABLE_ITERABLE__@@",o="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",n="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",f="@@__IMMUTABLE_STACK__@@",d=v=>`Immutable.${v}`,c=v=>`[${v}]`,p=" ",m="…",h=(v,P,q,j,U,H,z)=>++j>P.maxDepth?c(d(z)):`${d(z)+p}{${(0,t.printIteratorEntries)(v.entries(),P,q,j,U,H)}}`;function g(v){let P=0;return{next(){if(P{let z=d(v._name||"Record");return++j>P.maxDepth?c(z):`${z+p}{${(0,t.printIteratorEntries)(g(v),P,q,j,U,H)}}`},_=(v,P,q,j,U,H)=>{let z=d("Seq");return++j>P.maxDepth?c(z):v[a]?`${z+p}{${v._iter||v._object?(0,t.printIteratorEntries)(v.entries(),P,q,j,U,H):m}}`:`${z+p}[${v._iter||v._array||v._collection||v._iterable?(0,t.printIteratorValues)(v.values(),P,q,j,U,H):m}]`},S=(v,P,q,j,U,H,z)=>++j>P.maxDepth?c(d(z)):`${d(z)+p}[${(0,t.printIteratorValues)(v.values(),P,q,j,U,H)}]`,E=(v,P,q,j,U,H)=>v[u]?h(v,P,q,j,U,H,v[n]?"OrderedMap":"Map"):v[o]?S(v,P,q,j,U,H,"List"):v[s]?S(v,P,q,j,U,H,v[n]?"OrderedSet":"Set"):v[f]?S(v,P,q,j,U,H,"Stack"):v[l]?_(v,P,q,j,U,H):y(v,P,q,j,U,H);e.serialize=E;var C=v=>v&&(v[r]===!0||v[i]===!0);e.test=C;var T={serialize:E,test:C},O=T;e.default=O}}),gp=He({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=!1,g=!1,y=!1,_=!1,S=!1,E;E=Symbol.for("react.module.reference");function C(L){return!!(typeof L=="string"||typeof L=="function"||L===o||L===u||S||L===a||L===f||L===d||_||L===m||h||g||y||typeof L=="object"&&L!==null&&(L.$$typeof===p||L.$$typeof===c||L.$$typeof===n||L.$$typeof===i||L.$$typeof===s||L.$$typeof===E||L.getModuleId!==void 0))}function T(L){if(typeof L=="object"&&L!==null){var oe=L.$$typeof;switch(oe){case t:var ie=L.type;switch(ie){case o:case u:case a:case f:case d:return ie;default:var fe=ie&&ie.$$typeof;switch(fe){case l:case i:case s:case p:case c:case n:return fe;default:return oe}}case r:return oe}}}var O=i,v=n,P=t,q=s,j=o,U=p,H=c,z=r,re=u,J=a,ne=f,ae=d,se=!1,ue=!1;function x(L){return se||(se=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function M(L){return ue||(ue=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function k(L){return T(L)===i}function F(L){return T(L)===n}function G(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function $(L){return T(L)===s}function D(L){return T(L)===o}function V(L){return T(L)===p}function Q(L){return T(L)===c}function b(L){return T(L)===r}function I(L){return T(L)===u}function B(L){return T(L)===a}function K(L){return T(L)===f}function W(L){return T(L)===d}e.ContextConsumer=O,e.ContextProvider=v,e.Element=P,e.ForwardRef=q,e.Fragment=j,e.Lazy=U,e.Memo=H,e.Portal=z,e.Profiler=re,e.StrictMode=J,e.Suspense=ne,e.SuspenseList=ae,e.isAsyncMode=x,e.isConcurrentMode=M,e.isContextConsumer=k,e.isContextProvider=F,e.isElement=G,e.isForwardRef=$,e.isFragment=D,e.isLazy=V,e.isMemo=Q,e.isPortal=b,e.isProfiler=I,e.isStrictMode=B,e.isSuspense=K,e.isSuspenseList=W,e.isValidElementType=C,e.typeOf=T})()}}),vp=He({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=gp()}}),_p=He({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(vp()),r=ba();function o(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(o=function(h){return h?m:p})(c)}function a(c,p){if(!p&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var m=o(p);if(m&&m.has(c))return m.get(c);var h={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in c)if(y!=="default"&&Object.prototype.hasOwnProperty.call(c,y)){var _=g?Object.getOwnPropertyDescriptor(c,y):null;_&&(_.get||_.set)?Object.defineProperty(h,y,_):h[y]=c[y]}return h.default=c,m&&m.set(c,h),h}var u=(c,p=[])=>(Array.isArray(c)?c.forEach(m=>{u(m,p)}):c!=null&&c!==!1&&p.push(c),p),n=c=>{let p=c.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(c))return"React.Fragment";if(t.isSuspense(c))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(c))return"Context.Provider";if(t.isContextConsumer(c))return"Context.Consumer";if(t.isForwardRef(c)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?`ForwardRef(${m})`:"ForwardRef"}if(t.isMemo(c)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?`Memo(${m})`:"Memo"}}return"UNDEFINED"},i=c=>{let{props:p}=c;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},l=(c,p,m,h,g,y)=>++h>p.maxDepth?(0,r.printElementAsLeaf)(n(c),p):(0,r.printElement)(n(c),(0,r.printProps)(i(c),c.props,p,m+p.indent,h,g,y),(0,r.printChildren)(u(c.props.children),p,m+p.indent,h,g,y),p,m);e.serialize=l;var s=c=>c!=null&&t.isElement(c);e.test=s;var f={serialize:l,test:s},d=f;e.default=d}}),Ep=He({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ba(),r=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,o=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,a=s=>{let{props:f}=s;return f?Object.keys(f).filter(d=>f[d]!==void 0).sort():[]},u=(s,f,d,c,p,m)=>++c>f.maxDepth?(0,t.printElementAsLeaf)(s.type,f):(0,t.printElement)(s.type,s.props?(0,t.printProps)(a(s),s.props,f,d+f.indent,c,p,m):"",s.children?(0,t.printChildren)(s.children,f,d+f.indent,c,p,m):"",f,d);e.serialize=u;var n=s=>s&&s.$$typeof===o;e.test=n;var i={serialize:u,test:n},l=i;e.default=l}}),ga=He({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=D,e.plugins=void 0;var t=s(fp()),r=Hn(),o=s(pp()),a=s(mp()),u=s(yp()),n=s(bp()),i=s(_p()),l=s(Ep());function s(b){return b&&b.__esModule?b:{default:b}}var f=Object.prototype.toString,d=Date.prototype.toISOString,c=Error.prototype.toString,p=RegExp.prototype.toString,m=b=>typeof b.constructor=="function"&&b.constructor.name||"Object",h=b=>typeof window<"u"&&b===window,g=/^Symbol\((.*)\)(.*)$/,y=/\n/gi,_=class extends Error{constructor(b,I){super(b),this.stack=I,this.name=this.constructor.name}};function S(b){return b==="[object Array]"||b==="[object ArrayBuffer]"||b==="[object DataView]"||b==="[object Float32Array]"||b==="[object Float64Array]"||b==="[object Int8Array]"||b==="[object Int16Array]"||b==="[object Int32Array]"||b==="[object Uint8Array]"||b==="[object Uint8ClampedArray]"||b==="[object Uint16Array]"||b==="[object Uint32Array]"}function E(b){return Object.is(b,-0)?"-0":String(b)}function C(b){return`${b}n`}function T(b,I){return I?`[Function ${b.name||"anonymous"}]`:"[Function]"}function O(b){return String(b).replace(g,"Symbol($1)")}function v(b){return`[${c.call(b)}]`}function P(b,I,B,K){if(b===!0||b===!1)return`${b}`;if(b===void 0)return"undefined";if(b===null)return"null";let W=typeof b;if(W==="number")return E(b);if(W==="bigint")return C(b);if(W==="string")return K?`"${b.replace(/"|\\/g,"\\$&")}"`:`"${b}"`;if(W==="function")return T(b,I);if(W==="symbol")return O(b);let L=f.call(b);return L==="[object WeakMap]"?"WeakMap {}":L==="[object WeakSet]"?"WeakSet {}":L==="[object Function]"||L==="[object GeneratorFunction]"?T(b,I):L==="[object Symbol]"?O(b):L==="[object Date]"?isNaN(+b)?"Date { NaN }":d.call(b):L==="[object Error]"?v(b):L==="[object RegExp]"?B?p.call(b).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(b):b instanceof Error?v(b):null}function q(b,I,B,K,W,L){if(W.indexOf(b)!==-1)return"[Circular]";W=W.slice(),W.push(b);let oe=++K>I.maxDepth,ie=I.min;if(I.callToJSON&&!oe&&b.toJSON&&typeof b.toJSON=="function"&&!L)return z(b.toJSON(),I,B,K,W,!0);let fe=f.call(b);return fe==="[object Arguments]"?oe?"[Arguments]":`${ie?"":"Arguments "}[${(0,r.printListItems)(b,I,B,K,W,z)}]`:S(fe)?oe?`[${b.constructor.name}]`:`${ie||!I.printBasicPrototype&&b.constructor.name==="Array"?"":`${b.constructor.name} `}[${(0,r.printListItems)(b,I,B,K,W,z)}]`:fe==="[object Map]"?oe?"[Map]":`Map {${(0,r.printIteratorEntries)(b.entries(),I,B,K,W,z," => ")}}`:fe==="[object Set]"?oe?"[Set]":`Set {${(0,r.printIteratorValues)(b.values(),I,B,K,W,z)}}`:oe||h(b)?`[${m(b)}]`:`${ie||!I.printBasicPrototype&&m(b)==="Object"?"":`${m(b)} `}{${(0,r.printObjectProperties)(b,I,B,K,W,z)}}`}function j(b){return b.serialize!=null}function U(b,I,B,K,W,L){let oe;try{oe=j(b)?b.serialize(I,B,K,W,L,z):b.print(I,ie=>z(ie,B,K,W,L),ie=>{let fe=K+B.indent;return fe+ie.replace(y,` -${fe}`)},{edgeSpacing:B.spacingOuter,min:B.min,spacing:B.spacingInner},B.colors)}catch(ie){throw new _(ie.message,ie.stack)}if(typeof oe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof oe}".`);return oe}function H(b,I){for(let B=0;Bb,ae=ne({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:re});e.DEFAULT_OPTIONS=ae;function se(b){if(Object.keys(b).forEach(I=>{if(!Object.prototype.hasOwnProperty.call(ae,I))throw new Error(`pretty-format: Unknown option "${I}".`)}),b.min&&b.indent!==void 0&&b.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(b.theme!==void 0){if(b.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof b.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof b.theme}".`)}}var ue=b=>J.reduce((I,B)=>{let K=b.theme&&b.theme[B]!==void 0?b.theme[B]:re[B],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[B]=W;else throw new Error(`pretty-format: Option "theme" has a key "${B}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),x=()=>J.reduce((b,I)=>(b[I]={close:"",open:""},b),Object.create(null)),M=b=>(b==null?void 0:b.printFunctionName)??ae.printFunctionName,k=b=>(b==null?void 0:b.escapeRegex)??ae.escapeRegex,F=b=>(b==null?void 0:b.escapeString)??ae.escapeString,G=b=>({callToJSON:(b==null?void 0:b.callToJSON)??ae.callToJSON,colors:b!=null&&b.highlight?ue(b):x(),compareKeys:typeof(b==null?void 0:b.compareKeys)=="function"||(b==null?void 0:b.compareKeys)===null?b.compareKeys:ae.compareKeys,escapeRegex:k(b),escapeString:F(b),indent:b!=null&&b.min?"":$((b==null?void 0:b.indent)??ae.indent),maxDepth:(b==null?void 0:b.maxDepth)??ae.maxDepth,maxWidth:(b==null?void 0:b.maxWidth)??ae.maxWidth,min:(b==null?void 0:b.min)??ae.min,plugins:(b==null?void 0:b.plugins)??ae.plugins,printBasicPrototype:(b==null?void 0:b.printBasicPrototype)??!0,printFunctionName:M(b),spacingInner:b!=null&&b.min?" ":` -`,spacingOuter:b!=null&&b.min?"":` -`});function $(b){return new Array(b+1).join(" ")}function D(b,I){if(I&&(se(I),I.plugins)){let K=H(I.plugins,b);if(K!==null)return U(K,b,G(I),"",0,[])}let B=P(b,M(I),k(I),F(I));return B!==null?B:q(b,G(I),"",0,[])}var V={AsymmetricMatcher:o.default,DOMCollection:a.default,DOMElement:u.default,Immutable:n.default,ReactElement:i.default,ReactTestComponent:l.default};e.plugins=V;var Q=D;e.default=Q}}),Os=He({"../../node_modules/diff-sequences/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var t="diff-sequences",r=0,o=(m,h,g,y,_)=>{let S=0;for(;m{let S=0;for(;m<=h&&g<=y&&_(h,y);)h-=1,y-=1,S+=1;return S},u=(m,h,g,y,_,S,E)=>{let C=0,T=-m,O=S[C],v=O;S[C]+=o(O+1,h,y+O-T+1,g,_);let P=m{let C=0,T=m,O=S[C],v=O;S[C]-=a(h,O-1,g,y+O-T-1,_);let P=m{let P=y-h,q=g-h,j=_-y-q,U=-j-(m-1),H=-j+(m-1),z=r,re=m{let P=_-g,q=g-h,j=_-y-q,U=j-m,H=j+m,z=r,re=m{let O=y-h,v=_-g,P=g-h,q=_-y,j=q-P,U=P,H=P;if(E[0]=h-1,C[0]=g,j%2===0){let z=(m||j)/2,re=(P+q)/2;for(let J=1;J<=re;J+=1)if(U=u(J,g,_,O,S,E,U),J{if(_-y{F($,V,D)},isCommon:($,D)=>G(D,$)}}let M=h,k=g;h=y,g=_,y=M,_=k}let{foundSubsequence:v,isCommon:P}=E[S?1:0];s(m,h,g,y,_,P,C,T,O);let{nChangePreceding:q,aEndPreceding:j,bEndPreceding:U,nCommonPreceding:H,aCommonPreceding:z,bCommonPreceding:re,nCommonFollowing:J,aCommonFollowing:ne,bCommonFollowing:ae,nChangeFollowing:se,aStartFollowing:ue,bStartFollowing:x}=O;h{if(typeof h!="number")throw new TypeError(`${t}: ${m} typeof ${typeof h} is not a number`);if(!Number.isSafeInteger(h))throw new RangeError(`${t}: ${m} value ${h} is not a safe integer`);if(h<0)throw new RangeError(`${t}: ${m} value ${h} is a negative integer`)},c=(m,h)=>{let g=typeof h;if(g!=="function")throw new TypeError(`${t}: ${m} typeof ${g} is not a function`)};function p(m,h,g,y){d("aLength",m),d("bLength",h),c("isCommon",g),c("foundSubsequence",y);let _=o(0,m,0,h,g);if(_!==0&&y(_,0,0),m!==_||h!==_){let S=_,E=_,C=a(S,m-1,E,h-1,g),T=m-C,O=h-C,v=_+C;m!==v&&h!==v&&f(0,S,T,E,O,!1,[{foundSubsequence:y,isCommon:g}],[r],[r],{aCommonFollowing:r,aCommonPreceding:r,aEndPreceding:r,aStartFollowing:r,bCommonFollowing:r,bCommonPreceding:r,bEndPreceding:r,bStartFollowing:r,nChangeFollowing:r,nChangePreceding:r,nCommonFollowing:r,nCommonPreceding:r}),C!==0&&y(C,T,O)}}}}),Rs=He({"../../node_modules/loupe/loupe.js"(e,t){(function(r,o){typeof e=="object"&&typeof t<"u"?o(e):typeof define=="function"&&define.amd?define(["exports"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r.loupe={}))})(e,function(r){function o(w){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o=function(A){return typeof A}:o=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},o(w)}function a(w,A){return u(w)||n(w,A)||i(w,A)||s()}function u(w){if(Array.isArray(w))return w}function n(w,A){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(w)))){var N=[],X=!0,te=!1,le=void 0;try{for(var ce=w[Symbol.iterator](),de;!(X=(de=ce.next()).done)&&(N.push(de.value),!(A&&N.length===A));X=!0);}catch(pe){te=!0,le=pe}finally{try{!X&&ce.return!=null&&ce.return()}finally{if(te)throw le}}return N}}function i(w,A){if(w){if(typeof w=="string")return l(w,A);var N=Object.prototype.toString.call(w).slice(8,-1);if(N==="Object"&&w.constructor&&(N=w.constructor.name),N==="Map"||N==="Set")return Array.from(w);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return l(w,A)}}function l(w,A){(A==null||A>w.length)&&(A=w.length);for(var N=0,X=new Array(A);N0&&arguments[0]!==void 0?arguments[0]:{},A=w.showHidden,N=A===void 0?!1:A,X=w.depth,te=X===void 0?2:X,le=w.colors,ce=le===void 0?!1:le,de=w.customInspect,pe=de===void 0?!0:de,ee=w.showProxy,be=ee===void 0?!1:ee,Oe=w.maxArrayLength,Fe=Oe===void 0?1/0:Oe,Me=w.breakLength,je=Me===void 0?1/0:Me,$e=w.seen,Ft=$e===void 0?[]:$e,ht=w.truncate,ar=ht===void 0?1/0:ht,Tt=w.stylize,Ut=Tt===void 0?String:Tt,st={showHidden:!!N,depth:Number(te),colors:!!ce,customInspect:!!pe,showProxy:!!be,maxArrayLength:Number(Fe),breakLength:Number(je),truncate:Number(ar),seen:Ft,stylize:Ut};return st.colors&&(st.stylize=p),st}function h(w,A){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c;w=String(w);var X=N.length,te=w.length;return X>A&&te>X?N:te>A&&te>X?"".concat(w.slice(0,A-X)).concat(N):w}function g(w,A,N){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";N=N||A.inspect;var te=w.length;if(te===0)return"";for(var le=A.truncate,ce="",de="",pe="",ee=0;eele&&ce.length+pe.length<=le||!be&&!Oe&&$e>le||(de=be?"":N(w[ee+1],A)+(Oe?"":X),!be&&Oe&&$e>le&&je+de.length>le))break;if(ce+=Me,!be&&!Oe&&je+de.length>=le){pe="".concat(c,"(").concat(w.length-ee-1,")");break}pe=""}return"".concat(ce).concat(pe)}function y(w){return w.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?w:JSON.stringify(w).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function _(w,A){var N=a(w,2),X=N[0],te=N[1];return A.truncate-=2,typeof X=="string"?X=y(X):typeof X!="number"&&(X="[".concat(A.inspect(X,A),"]")),A.truncate-=X.length,te=A.inspect(te,A),"".concat(X,": ").concat(te)}function S(w,A){var N=Object.keys(w).slice(w.length);if(!w.length&&!N.length)return"[]";A.truncate-=4;var X=g(w,A);A.truncate-=X.length;var te="";return N.length&&(te=g(N.map(function(le){return[le,w[le]]}),A,_)),"[ ".concat(X).concat(te?", ".concat(te):""," ]")}var E=Function.prototype.toString,C=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,T=512;function O(w){if(typeof w!="function")return null;var A="";if(typeof Function.prototype.name>"u"&&typeof w.name>"u"){var N=E.call(w);if(N.indexOf("(")>T)return A;var X=N.match(C);X&&(A=X[1])}else A=w.name;return A}var v=O,P=function(w){return typeof Buffer=="function"&&w instanceof Buffer?"Buffer":w[Symbol.toStringTag]?w[Symbol.toStringTag]:v(w.constructor)};function q(w,A){var N=P(w);A.truncate-=N.length+4;var X=Object.keys(w).slice(w.length);if(!w.length&&!X.length)return"".concat(N,"[]");for(var te="",le=0;le ").concat(te)}function z(w){var A=[];return w.forEach(function(N,X){A.push([X,N])}),A}function re(w,A){var N=w.size-1;return N<=0?"Map{}":(A.truncate-=7,"Map{ ".concat(g(z(w),A,H)," }"))}var J=Number.isNaN||function(w){return w!==w};function ne(w,A){return J(w)?A.stylize("NaN","number"):w===1/0?A.stylize("Infinity","number"):w===-1/0?A.stylize("-Infinity","number"):w===0?A.stylize(1/w===1/0?"+0":"-0","number"):A.stylize(h(w,A.truncate),"number")}function ae(w,A){var N=h(w.toString(),A.truncate-1);return N!==c&&(N+="n"),A.stylize(N,"bigint")}function se(w,A){var N=w.toString().split("/")[2],X=A.truncate-(2+N.length),te=w.source;return A.stylize("/".concat(h(te,X),"/").concat(N),"regexp")}function ue(w){var A=[];return w.forEach(function(N){A.push(N)}),A}function x(w,A){return w.size===0?"Set{}":(A.truncate-=7,"Set{ ".concat(g(ue(w),A)," }"))}var M=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),k={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},F=16,G=4;function $(w){return k[w]||"\\u".concat("0000".concat(w.charCodeAt(0).toString(F)).slice(-G))}function D(w,A){return M.test(w)&&(w=w.replace(M,$)),A.stylize("'".concat(h(w,A.truncate-2),"'"),"string")}function V(w){return"description"in Symbol.prototype?w.description?"Symbol(".concat(w.description,")"):"Symbol()":w.toString()}var Q=function(){return"Promise{…}"};try{var b=process.binding("util"),I=b.getPromiseDetails,B=b.kPending,K=b.kRejected;Array.isArray(I(Promise.resolve()))&&(Q=function(w,A){var N=I(w),X=a(N,2),te=X[0],le=X[1];return te===B?"Promise{}":"Promise".concat(te===K?"!":"","{").concat(A.inspect(le,A),"}")})}catch{}var W=Q;function L(w,A){var N=Object.getOwnPropertyNames(w),X=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(w):[];if(N.length===0&&X.length===0)return"{}";if(A.truncate-=4,A.seen=A.seen||[],A.seen.indexOf(w)>=0)return"[Circular]";A.seen.push(w);var te=g(N.map(function(de){return[de,w[de]]}),A,_),le=g(X.map(function(de){return[de,w[de]]}),A,_);A.seen.pop();var ce="";return te&&le&&(ce=", "),"{ ".concat(te).concat(ce).concat(le," }")}var oe=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ie(w,A){var N="";return oe&&oe in w&&(N=w[oe]),N=N||v(w.constructor),(!N||N==="_class")&&(N=""),A.truncate-=N.length,"".concat(N).concat(L(w,A))}function fe(w,A){return w.length===0?"Arguments[]":(A.truncate-=13,"Arguments[ ".concat(g(w,A)," ]"))}var Ee=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Ae(w,A){var N=Object.getOwnPropertyNames(w).filter(function(ce){return Ee.indexOf(ce)===-1}),X=w.name;A.truncate-=X.length;var te="";typeof w.message=="string"?te=h(w.message,A.truncate):N.unshift("message"),te=te?": ".concat(te):"",A.truncate-=te.length+5;var le=g(N.map(function(ce){return[ce,w[ce]]}),A,_);return"".concat(X).concat(te).concat(le?" { ".concat(le," }"):"")}function it(w,A){var N=a(w,2),X=N[0],te=N[1];return A.truncate-=3,te?"".concat(A.stylize(X,"yellow"),"=").concat(A.stylize('"'.concat(te,'"'),"string")):"".concat(A.stylize(X,"yellow"))}function ze(w,A){return g(w,A,We,` -`)}function We(w,A){var N=w.getAttributeNames(),X=w.tagName.toLowerCase(),te=A.stylize("<".concat(X),"special"),le=A.stylize(">","special"),ce=A.stylize(""),"special");A.truncate-=X.length*2+5;var de="";N.length>0&&(de+=" ",de+=g(N.map(function(be){return[be,w.getAttribute(be)]}),A,it," ")),A.truncate-=de.length;var pe=A.truncate,ee=ze(w.children,A);return ee&&ee.length>pe&&(ee="".concat(c,"(").concat(w.children.length,")")),"".concat(te).concat(de).concat(le).concat(ee).concat(ce)}var lt=typeof Symbol=="function"&&typeof Symbol.for=="function",Ie=lt?Symbol.for("chai/inspect"):"@@chai/inspect",Ce=!1;try{var Ge=cp("util");Ce=Ge.inspect?Ge.inspect.custom:!1}catch{Ce=!1}function Pe(){this.key="chai/loupe__"+Math.random()+Date.now()}Pe.prototype={get:function(w){return w[this.key]},has:function(w){return this.key in w},set:function(w,A){Object.isExtensible(w)&&Object.defineProperty(w,this.key,{value:A,configurable:!0})}};var Re=new(typeof WeakMap=="function"?WeakMap:Pe),xe={},Ke={undefined:function(w,A){return A.stylize("undefined","undefined")},null:function(w,A){return A.stylize(null,"null")},boolean:function(w,A){return A.stylize(w,"boolean")},Boolean:function(w,A){return A.stylize(w,"boolean")},number:ne,Number:ne,bigint:ae,BigInt:ae,string:D,String:D,function:U,Function:U,symbol:V,Symbol:V,Array:S,Date:j,Map:re,Set:x,RegExp:se,Promise:W,WeakSet:function(w,A){return A.stylize("WeakSet{…}","special")},WeakMap:function(w,A){return A.stylize("WeakMap{…}","special")},Arguments:fe,Int8Array:q,Uint8Array:q,Uint8ClampedArray:q,Int16Array:q,Uint16Array:q,Int32Array:q,Uint32Array:q,Float32Array:q,Float64Array:q,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:Ae,HTMLCollection:ze,NodeList:ze},Lt=function(w,A,N){return Ie in w&&typeof w[Ie]=="function"?w[Ie](A):Ce&&Ce in w&&typeof w[Ce]=="function"?w[Ce](A.depth,A):"inspect"in w&&typeof w.inspect=="function"?w.inspect(A.depth,A):"constructor"in w&&Re.has(w.constructor)?Re.get(w.constructor)(w,A):xe[N]?xe[N](w,A):""},mt=Object.prototype.toString;function Ne(w,A){A=m(A),A.inspect=Ne;var N=A,X=N.customInspect,te=w===null?"null":o(w);if(te==="object"&&(te=mt.call(w).slice(8,-1)),Ke[te])return Ke[te](w,A);if(X&&w){var le=Lt(w,A,te);if(le)return typeof le=="string"?le:Ne(le,A)}var ce=w?Object.getPrototypeOf(w):!1;return ce===Object.prototype||ce===null?L(w,A):w&&typeof HTMLElement=="function"&&w instanceof HTMLElement?We(w,A):"constructor"in w?w.constructor!==Object?ie(w,A):L(w,A):w===Object(w)?L(w,A):A.stylize(String(w),te)}function Y(w,A){return Re.has(w)?!1:(Re.set(w,A),!0)}function Z(w,A){return w in xe?!1:(xe[w]=A,!0)}var he=Ie;r.custom=he,r.default=Ne,r.inspect=Ne,r.registerConstructor=Y,r.registerStringTag=Z,Object.defineProperty(r,"__esModule",{value:!0})})}}),gt=Yt(ga(),1),hi=Yt(Os(),1),wp=Symbol("vitest:SAFE_COLORS"),Sp={bold:["\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"],dim:["\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"],italic:["\x1B[3m","\x1B[23m"],underline:["\x1B[4m","\x1B[24m"],inverse:["\x1B[7m","\x1B[27m"],hidden:["\x1B[8m","\x1B[28m"],strikethrough:["\x1B[9m","\x1B[29m"],black:["\x1B[30m","\x1B[39m"],red:["\x1B[31m","\x1B[39m"],green:["\x1B[32m","\x1B[39m"],yellow:["\x1B[33m","\x1B[39m"],blue:["\x1B[34m","\x1B[39m"],magenta:["\x1B[35m","\x1B[39m"],cyan:["\x1B[36m","\x1B[39m"],white:["\x1B[37m","\x1B[39m"],gray:["\x1B[90m","\x1B[39m"],bgBlack:["\x1B[40m","\x1B[49m"],bgRed:["\x1B[41m","\x1B[49m"],bgGreen:["\x1B[42m","\x1B[49m"],bgYellow:["\x1B[43m","\x1B[49m"],bgBlue:["\x1B[44m","\x1B[49m"],bgMagenta:["\x1B[45m","\x1B[49m"],bgCyan:["\x1B[46m","\x1B[49m"],bgWhite:["\x1B[47m","\x1B[49m"]},Cp=Object.entries(Sp);function va(e){return String(e)}va.open="";va.close="";var Pp=Cp.reduce((e,[t])=>(e[t]=va,e),{isColorSupported:!1});function Op(){return globalThis[wp]||Pp}function yi(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var hr=-1,yr=1,Pn=0,Mr=class{constructor(t,r){Ht(this,0);Ht(this,1);this[0]=t,this[1]=r}},Ts="Compared values have no visual difference.",Rp="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function Tp(e,t){return e.replace(/\s+$/,r=>t(r))}function _a(e,t,r,o,a,u){return e.length!==0?r(`${o} ${Tp(e,a)}`):o!==" "?r(o):t&&u.length!==0?r(`${o} ${u}`):""}function As(e,t,{aColor:r,aIndicator:o,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return _a(e,t,r,o,a,u)}function xs(e,t,{bColor:r,bIndicator:o,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return _a(e,t,r,o,a,u)}function qs(e,t,{commonColor:r,commonIndicator:o,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return _a(e,t,r,o,a,u)}function bi(e,t,r,o,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${o-r} @@`)}function Ap(e,t){let r=e.length,o=t.contextLines,a=o+o,u=r,n=!1,i=0,l=0;for(;l!==r;){let E=l;for(;l!==r&&e[l][0]===Pn;)l+=1;if(E!==l)if(E===0)l>o&&(u-=l-o,n=!0);else if(l===r){let C=l-E;C>o&&(u-=C-o,n=!0)}else{let C=l-E;C>a&&(u-=C-a,i+=1)}for(;l!==r&&e[l][0]!==Pn;)l+=1}let s=i!==0||n;i!==0?u+=i+1:n&&(u+=1);let f=u-1,d=[],c=0;s&&d.push("");let p=0,m=0,h=0,g=0,y=E=>{let C=d.length;d.push(qs(E,C===0||C===f,t)),h+=1,g+=1},_=E=>{let C=d.length;d.push(As(E,C===0||C===f,t)),h+=1},S=E=>{let C=d.length;d.push(xs(E,C===0||C===f,t)),g+=1};for(l=0;l!==r;){let E=l;for(;l!==r&&e[l][0]===Pn;)l+=1;if(E!==l)if(E===0){l>o&&(E=l-o,p=E,m=E,h=p,g=m);for(let C=E;C!==l;C+=1)y(e[C][1])}else if(l===r){let C=l-E>o?E+o:l;for(let T=E;T!==C;T+=1)y(e[T][1])}else{let C=l-E;if(C>a){let T=E+o;for(let v=E;v!==T;v+=1)y(e[v][1]);d[c]=bi(p,h,m,g,t),c=d.length,d.push("");let O=C-a;p=h+O,m=g+O,h=p,g=m;for(let v=l-o;v!==l;v+=1)y(e[v][1])}else for(let T=E;T!==l;T+=1)y(e[T][1])}for(;l!==r&&e[l][0]===hr;)_(e[l][1]),l+=1;for(;l!==r&&e[l][0]===yr;)S(e[l][1]),l+=1}return s&&(d[c]=bi(p,h,m,g,t)),d.join(` -`)}function xp(e,t){return e.map((r,o,a)=>{let u=r[1],n=o===0||o===a.length-1;switch(r[0]){case hr:return As(u,n,t);case yr:return xs(u,n,t);default:return qs(u,n,t)}}).join(` -`)}var gi=e=>e,Ms=5;function qp(){let e=Op();return{aAnnotation:"Expected",aColor:e.green,aIndicator:"-",bAnnotation:"Received",bColor:e.red,bIndicator:"+",changeColor:e.inverse,changeLineTrailingSpaceColor:gi,commonColor:e.dim,commonIndicator:" ",commonLineTrailingSpaceColor:gi,compareKeys:void 0,contextLines:Ms,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:e.yellow}}function Mp(e){return e&&typeof e=="function"?e:void 0}function jp(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Ms}function on(e={}){return{...qp(),...e,compareKeys:Mp(e.compareKeys),contextLines:jp(e.contextLines)}}function sr(e){return e.length===1&&e[0].length===0}function Ip(e){let t=0,r=0;return e.forEach(o=>{switch(o[0]){case hr:t+=1;break;case yr:r+=1;break}}),{a:t,b:r}}function Np({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:o,bColor:a,bIndicator:u,includeChangeCounts:n,omitAnnotationLines:i},l){if(i)return"";let s="",f="";if(n){let p=String(l.a),m=String(l.b),h=o.length-e.length,g=" ".repeat(Math.max(0,h)),y=" ".repeat(Math.max(0,-h)),_=m.length-p.length,S=" ".repeat(Math.max(0,_)),E=" ".repeat(Math.max(0,-_));s=`${g} ${r} ${S}${p}`,f=`${y} ${u} ${E}${m}`}let d=`${r} ${e}${s}`,c=`${u} ${o}${f}`;return`${t(d)} -${a(c)} - -`}function js(e,t){return Np(t,Ip(e))+(t.expand?xp(e,t):Ap(e,t))}function Ea(e,t,r){return js(Is(sr(e)?[]:e,sr(t)?[]:t),on(r))}function $p(e,t,r,o,a){if(sr(e)&&sr(r)&&(e=[],r=[]),sr(t)&&sr(o)&&(t=[],o=[]),e.length!==r.length||t.length!==o.length)return Ea(e,t,a);let u=Is(r,o),n=0,i=0;return u.forEach(l=>{switch(l[0]){case hr:l[1]=e[n],n+=1;break;case yr:l[1]=t[i],i+=1;break;default:l[1]=t[i],n+=1,i+=1}}),js(u,on(a))}function Is(e,t){let r=e.length,o=t.length,a=(s,f)=>e[s]===t[f],u=[],n=0,i=0,l=(s,f,d)=>{for(;n!==f;n+=1)u.push(new Mr(hr,e[n]));for(;i!==d;i+=1)u.push(new Mr(yr,t[i]));for(;s!==0;s-=1,n+=1,i+=1)u.push(new Mr(Pn,t[i]))};for((hi.default.default||hi.default)(r,o,a,l);n!==r;n+=1)u.push(new Mr(hr,e[n]));for(;i!==o;i+=1)u.push(new Mr(yr,t[i]));return u}function qo(e,t){let{commonColor:r}=on(t);return r(e)}var{AsymmetricMatcher:Bp,DOMCollection:kp,DOMElement:Dp,Immutable:Lp,ReactElement:Fp,ReactTestComponent:Up}=gt.plugins,Ns=[Up,Fp,Dp,kp,Lp,Bp],Mo={plugins:Ns},$s={callToJSON:!1,maxDepth:10,plugins:Ns};function Hp(e,t,r){if(Object.is(e,t))return"";let o=yi(e),a=o,u=!1;if(o==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return null;a=e.getExpectedType(),u=a==="string"}if(a!==yi(t)){let{aAnnotation:n,aColor:i,aIndicator:l,bAnnotation:s,bColor:f,bIndicator:d}=on(r),c=jo($s,r),p=(0,gt.format)(e,c),m=(0,gt.format)(t,c),h=`${i(`${l} ${n}:`)} -${p}`,g=`${f(`${d} ${s}:`)} -${m}`;return`${h} - -${g}`}if(u)return null;switch(o){case"string":return Ea(e.split(` -`),t.split(` -`),r);case"boolean":case"number":return zp(e,t,r);case"map":return go(vi(e),vi(t),r);case"set":return go(_i(e),_i(t),r);default:return go(e,t,r)}}function zp(e,t,r){let o=(0,gt.format)(e,Mo),a=(0,gt.format)(t,Mo);return o===a?"":Ea(o.split(` -`),a.split(` -`),r)}function vi(e){return new Map(Array.from(e.entries()).sort())}function _i(e){return new Set(Array.from(e.values()).sort())}function go(e,t,r){let o,a=!1;try{let n=jo(Mo,r);o=Ei(e,t,n,r)}catch{a=!0}let u=qo(Ts,r);if(o===void 0||o===u){let n=jo($s,r);o=Ei(e,t,n,r),o!==u&&!a&&(o=`${qo(Rp,r)} - -${o}`)}return o}function jo(e,t){let{compareKeys:r}=on(t);return{...e,compareKeys:r}}function Ei(e,t,r,o){let a={...r,indent:0},u=(0,gt.format)(e,a),n=(0,gt.format)(t,a);if(u===n)return qo(Ts,o);{let i=(0,gt.format)(e,r),l=(0,gt.format)(t,r);return $p(i.split(` -`),l.split(` -`),u.split(` -`),n.split(` -`),o)}}var Io=Yt(ga(),1),Vp=Yt(Rs(),1),{AsymmetricMatcher:Wp,DOMCollection:Gp,DOMElement:Kp,Immutable:Yp,ReactElement:Jp,ReactTestComponent:Xp}=Io.plugins,wi=[Xp,Jp,Kp,Gp,Yp,Wp];function No(e,t=10,{maxLength:r,...o}={}){let a=r??1e4,u;try{u=(0,Io.format)(e,{maxDepth:t,escapeString:!1,plugins:wi,...o})}catch{u=(0,Io.format)(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:wi,...o})}return u.length>=a&&t>1?No(e,Math.floor(t/2)):u}var Qp=/%[sdjifoOcj%]/g;function Zp(...e){if(typeof e[0]!="string"){let u=[];for(let n=0;n{if(u==="%%")return"%";if(r>=t)return u;switch(u){case"%s":{let n=e[r++];return typeof n=="bigint"?`${n.toString()}n`:typeof n=="number"&&n===0&&1/n<0?"-0":typeof n=="object"&&n!==null?jr(n,{depth:0,colors:!1,compact:3}):String(n)}case"%d":{let n=e[r++];return typeof n=="bigint"?`${n.toString()}n`:Number(n).toString()}case"%i":{let n=e[r++];return typeof n=="bigint"?`${n.toString()}n`:Number.parseInt(String(n)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return jr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return jr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(n){let i=n.message;if(i.includes("circular structure")||i.includes("cyclic structures")||i.includes("cyclic object"))return"[Circular]";throw n}default:return u}});for(let u=e[r];rt.add(o);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Bs(e){let t=new Set;return em(e)?[]:(tm(e,t),Array.from(t))}var ks={forceWritable:!1};function Si(e,t=ks){return Bo(e,new WeakMap,t)}function Bo(e,t,r=ks){let o,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(o=e.length),t.set(e,a);o--;)a[o]=Bo(e[o],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let u=Bs(e);for(let n of u){let i=Object.getOwnPropertyDescriptor(e,n);if(!i)continue;let l=Bo(e[n],t,r);"get"in i?Object.defineProperty(a,n,{...i,get(){return l}}):Object.defineProperty(a,n,{...i,writable:r.forceWritable?!0:i.writable,value:l})}return a}return e}Yt(ga(),1);Yt(Os(),1);Yt(Rs(),1);var rm="@@__IMMUTABLE_RECORD__@@",nm="@@__IMMUTABLE_ITERABLE__@@";function om(e){return e&&(e[nm]||e[rm])}var am=Object.getPrototypeOf({});function Ci(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function Lr(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(om(e))return Lr(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()} ${Zp(e.sample)}`;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((o,a)=>{try{r[a]=Lr(o,t)}catch(u){r[a]=Ci(u)}}),r}else{let r=Object.create(null);t.set(e,r);let o=e;for(;o&&o!==am;)Object.getOwnPropertyNames(o).forEach(a=>{if(!(a in r))try{r[a]=Lr(e[a],t)}catch(u){delete r[a],r[a]=Ci(u)}}),o=Object.getPrototypeOf(o);return r}}function Pi(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function im(e,t){if(!e||typeof e!="object")return{message:e};if(e.stack&&(e.stackStr=String(e.stack)),e.name&&(e.nameStr=String(e.name)),e.showDiff||e.showDiff===void 0&&e.expected!==void 0&&e.actual!==void 0){let r=Si(e.actual,{forceWritable:!0}),o=Si(e.expected,{forceWritable:!0}),{replacedActual:a,replacedExpected:u}=Ds(r,o);e.diff=Hp(u,a,{...t,...e.diffOptions})}typeof e.expected!="string"&&(e.expected=No(e.expected,10)),typeof e.actual!="string"&&(e.actual=No(e.actual,10));try{typeof e.message=="string"&&(e.message=Pi(e.message)),typeof e.cause=="object"&&typeof e.cause.message=="string"&&(e.cause.message=Pi(e.cause.message))}catch{}try{return Lr(e)}catch(r){return Lr(new Error(`Failed to fully serialize error: ${r==null?void 0:r.message} -Inner error message: ${e==null?void 0:e.message}`))}}function Oi(e){return $o(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Ri(e,t){let r=$o(e),o=$o(t);return r===o&&(r==="Object"||r==="Array")}function Ds(e,t,r=new WeakSet,o=new WeakSet){return Ri(e,t)?r.has(e)||o.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),o.add(t),Bs(t).forEach(a=>{let u=t[a],n=e[a];if(Oi(u))u.asymmetricMatch(n)&&(e[a]=u);else if(Oi(n))n.asymmetricMatch(u)&&(t[a]=n);else if(Ri(n,u)){let i=Ds(n,u,r,o);e[a]=i.replacedActual,t[a]=i.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}var lm=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(lm||{}),yt={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"},Ti={start:!1,back:!1,goto:!1,next:!1,end:!1},sm=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Ai=e=>Object.prototype.toString.call(e)==="[object Object]",um=e=>Object.prototype.toString.call(e)==="[object Module]",cm=e=>{if(!Ai(e)&&!um(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Ai(t)},dm=e=>{try{return new e.constructor}catch{return{}}},vo=()=>({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}),xi=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let o=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:o}},fm=class{constructor(){this.initialized=!1,this.channel=rp.getChannel(),this.state=Ze.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:n,isPlaying:i=!0,isDebugging:l=!1})=>{let s=this.getState(n);this.setState(n,{...vo(),...xi(s,l),shadowCalls:l?s.shadowCalls:[],chainedCallIds:l?s.chainedCallIds:new Set,playUntil:l?s.playUntil:void 0,isPlaying:i,isDebugging:l}),this.sync(n)};this.channel.on(mi,e),this.channel.on(op,({storyId:n,newPhase:i})=>{let{isDebugging:l}=this.getState(n);this.setState(n,{renderPhase:i}),i==="preparing"&&l&&e({storyId:n}),i==="playing"&&e({storyId:n,isDebugging:l}),i==="played"&&this.setState(n,{isLocked:!1,isPlaying:!1,isDebugging:!1}),i==="errored"&&this.setState(n,{isLocked:!1,isPlaying:!1})}),this.channel.on(ap,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:n,playUntil:i})=>{this.getState(n).isDebugging||this.setState(n,({calls:s})=>({calls:[],shadowCalls:s.map(f=>({...f,status:"waiting"})),isDebugging:!0}));let l=this.getLog(n);this.setState(n,({shadowCalls:s})=>{var d;if(i||!l.length)return{playUntil:i};let f=s.findIndex(c=>c.id===l[0].callId);return{playUntil:(d=s.slice(0,f).filter(c=>c.interceptable&&!c.ancestors.length).slice(-1)[0])==null?void 0:d.id}}),this.channel.emit(mi,{storyId:n,isDebugging:!0})},r=({storyId:n})=>{var s;let i=this.getLog(n).filter(f=>!f.ancestors.length),l=i.reduceRight((f,d,c)=>f>=0||d.status==="waiting"?f:c,-1);t({storyId:n,playUntil:(s=i[l-1])==null?void 0:s.callId})},o=({storyId:n,callId:i})=>{var p;let{calls:l,shadowCalls:s,resolvers:f}=this.getState(n),d=l.find(({id:m})=>m===i),c=s.find(({id:m})=>m===i);if(!d&&c&&Object.values(f).length>0){let m=(p=this.getLog(n).find(h=>h.status==="waiting"))==null?void 0:p.callId;c.id!==m&&this.setState(n,{playUntil:c.id}),Object.values(f).forEach(h=>h())}else t({storyId:n,playUntil:i})},a=({storyId:n})=>{var l;let{resolvers:i}=this.getState(n);if(Object.values(i).length>0)Object.values(i).forEach(s=>s());else{let s=(l=this.getLog(n).find(f=>f.status==="waiting"))==null?void 0:l.callId;s?t({storyId:n,playUntil:s}):u({storyId:n})}},u=({storyId:n})=>{this.setState(n,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(n).resolvers).forEach(i=>i())};this.channel.on(yt.START,t),this.channel.on(yt.BACK,r),this.channel.on(yt.GOTO,o),this.channel.on(yt.NEXT,a),this.channel.on(yt.END,u)}getState(e){return this.state[e]||vo()}setState(e,t){let r=this.getState(e),o=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...o}},Ze.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,o])=>{let a=xi(o);return a&&(t[r]=Object.assign(vo(),a)),t},{});let e={controlStates:Ti,logItems:[]};this.channel.emit(yt.SYNC,e),Ze.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),o=[...r];t.forEach((u,n)=>{o[n]=u});let a=new Set;return o.reduceRight((u,n)=>(n.args.forEach(i=>{i!=null&&i.__callId__&&a.add(i.__callId__)}),n.path.forEach(i=>{i.__callId__&&a.add(i.__callId__)}),(n.interceptable||n.exception)&&!a.has(n.id)&&(u.unshift({callId:n.id,status:n.status,ancestors:n.ancestors}),a.add(n.id)),u),[])}instrument(e,t,r=0){if(!cm(e))return e;let{mutate:o=!1,path:a=[]}=t,u=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,u.reduce((n,i)=>{let l=pm(e,i);if(typeof(l==null?void 0:l.get)=="function"){let f=()=>{var d,c;return(c=(d=l==null?void 0:l.get)==null?void 0:d.bind(e))==null?void 0:c()};return Object.defineProperty(n,i,{get:()=>this.instrument(f(),{...t,path:a.concat(i)},r)}),n}let s=e[i];return typeof s!="function"?(n[i]=this.instrument(s,{...t,path:a.concat(i)},r),n):"__originalFn__"in s&&typeof s.__originalFn__=="function"?(n[i]=s,n):(n[i]=(...f)=>this.track(i,s,e,f,t),n[i].__originalFn__=s,Object.defineProperty(n[i],"name",{value:i,writable:!1}),Object.keys(s).length>0&&Object.assign(n[i],this.instrument({...s},{...t,path:a.concat(i)},r)),n)},o?e:dm(e))}track(e,t,r,o,a){var h,g,y,_;let u=((h=o==null?void 0:o[0])==null?void 0:h.__storyId__)||((_=(y=(g=Ze.__STORYBOOK_PREVIEW__)==null?void 0:g.selectionStore)==null?void 0:y.selection)==null?void 0:_.storyId),{cursor:n,ancestors:i}=this.getState(u);this.setState(u,{cursor:n+1});let l=`${i.slice(-1)[0]||u} [${n}] ${e}`,{path:s=[],intercept:f=!1,retain:d=!1}=a,c=typeof f=="function"?f(e,s):f,p={id:l,cursor:n,storyId:u,ancestors:i,path:s,method:e,args:o,interceptable:c,retain:d},m=(c&&!i.length?this.intercept:this.invoke).call(this,t,r,p,a);return this.instrument(m,{...a,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,o){let{chainedCallIds:a,isDebugging:u,playUntil:n}=this.getState(r.storyId),i=a.has(r.id);return!u||i||n?(n===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,o)):new Promise(l=>{this.setState(r.storyId,({resolvers:s})=>({isLocked:!1,resolvers:{...s,[r.id]:l}}))}).then(()=>(this.setState(r.storyId,l=>{let{[r.id]:s,...f}=l.resolvers;return{isLocked:!0,resolvers:f}}),this.invoke(e,t,r,o)))}invoke(e,t,r,o){let{callRefsByResult:a,renderPhase:u}=this.getState(r.storyId),n=s=>{var f,d;if(a.has(s))return a.get(s);if(s instanceof Array)return s.map(n);if(s instanceof Date)return{__date__:{value:s.toISOString()}};if(s instanceof Error){let{name:c,message:p,stack:m}=s;return{__error__:{name:c,message:p,stack:m}}}if(s instanceof RegExp){let{flags:c,source:p}=s;return{__regexp__:{flags:c,source:p}}}if(s instanceof Ze.window.HTMLElement){let{prefix:c,localName:p,id:m,classList:h,innerText:g}=s,y=Array.from(h);return{__element__:{prefix:c,localName:p,id:m,classNames:y,innerText:g}}}return typeof s=="function"?{__function__:{name:"getMockName"in s?s.getMockName():s.name}}:typeof s=="symbol"?{__symbol__:{description:s.description}}:typeof s=="object"&&((f=s==null?void 0:s.constructor)!=null&&f.name)&&((d=s==null?void 0:s.constructor)==null?void 0:d.name)!=="Object"?{__class__:{name:s.constructor.name}}:Object.prototype.toString.call(s)==="[object Object]"?Object.fromEntries(Object.entries(s).map(([c,p])=>[c,n(p)])):s},i={...r,args:r.args.map(n)};r.path.forEach(s=>{s!=null&&s.__callId__&&this.setState(r.storyId,({chainedCallIds:f})=>({chainedCallIds:new Set(Array.from(f).concat(s.__callId__))}))});let l=s=>{if(s instanceof Error){let{name:f,message:d,stack:c,callId:p=r.id}=s,{showDiff:m=void 0,diff:h=void 0,actual:g=void 0,expected:y=void 0}=s.name==="AssertionError"?im(s):s,_={name:f,message:d,stack:c,callId:p,showDiff:m,diff:h,actual:g,expected:y};if(this.update({...i,status:"error",exception:_}),this.setState(r.storyId,S=>({callRefsByResult:new Map([...Array.from(S.callRefsByResult.entries()),[s,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(s,"callId")||Object.defineProperty(s,"callId",{value:r.id}),s}throw s};try{if(u==="played"&&!r.retain)throw sm;let s=(o.getArgs?o.getArgs(r,this.getState(r.storyId)):r.args).map(d=>typeof d!="function"||Object.keys(d).length?d:(...c)=>{let{cursor:p,ancestors:m}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...m,r.id]});let h=()=>this.setState(r.storyId,{cursor:p,ancestors:m}),g=!1;try{let y=d(...c);return y instanceof Promise?(g=!0,y.finally(h)):y}finally{g||h()}}),f=e.apply(t,s);return f&&["object","function","symbol"].includes(typeof f)&&this.setState(r.storyId,d=>({callRefsByResult:new Map([...Array.from(d.callRefsByResult.entries()),[f,{__callId__:r.id,retain:r.retain}]])})),this.update({...i,status:f instanceof Promise?"active":"done"}),f instanceof Promise?f.then(d=>(this.update({...i,status:"done"}),d),l):f}catch(s){return l(s)}}update(e){this.channel.emit(yt.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((o,a)=>Object.assign(o,{[a.id]:a}),{});return{calls:Object.values(r).sort((o,a)=>o.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var s;let{isLocked:r,isPlaying:o}=this.getState(e),a=this.getLog(e),u=(s=a.filter(({ancestors:f})=>!f.length).find(f=>f.status==="waiting"))==null?void 0:s.callId,n=a.some(f=>f.status==="active");if(r||n||a.length===0){let f={controlStates:Ti,logItems:a};this.channel.emit(yt.SYNC,f);return}let i=a.some(f=>f.status==="done"||f.status==="error"),l={controlStates:{start:i,back:i,goto:!0,next:o,end:o},logItems:a,pausedAt:u};this.channel.emit(yt.SYNC,l)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function wa(e,t={}){var r,o,a,u;try{let n=!1,i=!1;return(o=(r=Ze.window.location)==null?void 0:r.search)!=null&&o.includes("instrument=true")?n=!0:(u=(a=Ze.window.location)==null?void 0:a.search)!=null&&u.includes("instrument=false")&&(i=!0),Ze.window.parent===Ze.window&&!n||i?e:(Ze.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__||(Ze.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new fm),Ze.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__.instrument(e,t))}catch(n){return np.warn(n),e}}function pm(e,t){let r=e;for(;r!=null;){let o=Object.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}var mm={};const{once:hm}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var ym=Object.create,Sa=Object.defineProperty,bm=Object.getOwnPropertyDescriptor,Ls=Object.getOwnPropertyNames,gm=Object.getPrototypeOf,vm=Object.prototype.hasOwnProperty,_m=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),R=(e,t)=>function(){return t||(0,e[Ls(e)[0]])((t={exports:{}}).exports,t),t.exports},Ca=(e,t)=>{for(var r in t)Sa(e,r,{get:t[r],enumerable:!0})},Em=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ls(t))!vm.call(e,a)&&a!==r&&Sa(e,a,{get:()=>t[a],enumerable:!(o=bm(t,a))||o.enumerable});return e},_e=(e,t,r)=>(r=e!=null?ym(gm(e)):{},Em(t||!e||!e.__esModule?Sa(r,"default",{value:e,enumerable:!0}):r,e)),Fs=R({"../../node_modules/assertion-error/index.js"(e,t){function r(){var a=[].slice.call(arguments);function u(n,i){Object.keys(i).forEach(function(l){~a.indexOf(l)||(n[l]=i[l])})}return function(){for(var n=[].slice.call(arguments),i=0,l={};i"u"||s===null?!1:f in Object(s)}function o(s){var f=s.replace(/([^\\])\[/g,"$1.["),d=f.match(/(\\\.|[^.]+?)+/g);return d.map(function(c){if(c==="constructor"||c==="__proto__"||c==="prototype")return{};var p=/^\[(\d+)\]$/,m=p.exec(c),h=null;return m?h={i:parseFloat(m[1])}:h={p:c.replace(/\\([.[\]])/g,"$1")},h})}function a(s,f,d){var c=s,p=null;d=typeof d>"u"?f.length:d;for(var m=0;m"u"?c=c[h.i]:c=c[h.p],m===d-1&&(p=c))}return p}function u(s,f,d){for(var c=s,p=d.length,m=null,h=0;h"u"?m.i:m.p,c[g]=f;else if(typeof m.p<"u"&&c[m.p])c=c[m.p];else if(typeof m.i<"u"&&c[m.i])c=c[m.i];else{var _=d[h+1];g=typeof m.p>"u"?m.i:m.p,y=typeof _.p>"u"?[]:{},c[g]=y,c=c[g]}}}function n(s,f){var d=o(f),c=d[d.length-1],p={parent:d.length>1?a(s,d,d.length-1):s,name:c.p||c.i,value:a(s,d)};return p.exists=r(p.parent,p.name),p}function i(s,f){var d=n(s,f);return d.value}function l(s,f,d){var c=o(f);return u(s,d,c),s}t.exports={hasProperty:r,getPathInfo:n,getPathValue:i,setPathValue:l}}}),ot=R({"../../node_modules/chai/lib/chai/utils/flag.js"(e,t){t.exports=function(r,o,a){var u=r.__flags||(r.__flags=Object.create(null));if(arguments.length===3)u[o]=a;else return u[o]}}}),Sm=R({"../../node_modules/chai/lib/chai/utils/test.js"(e,t){var r=ot();t.exports=function(o,a){var u=r(o,"negate"),n=a[0];return u?!n:n}}}),zn=R({"../../node_modules/type-detect/type-detect.js"(e,t){(function(r,o){typeof e=="object"&&typeof t<"u"?t.exports=o():typeof define=="function"&&define.amd?define(o):r.typeDetect=o()})(e,function(){var r=typeof Promise=="function",o=typeof self=="object"?self:global,a=typeof Symbol<"u",u=typeof Map<"u",n=typeof Set<"u",i=typeof WeakMap<"u",l=typeof WeakSet<"u",s=typeof DataView<"u",f=a&&typeof Symbol.iterator<"u",d=a&&typeof Symbol.toStringTag<"u",c=n&&typeof Set.prototype.entries=="function",p=u&&typeof Map.prototype.entries=="function",m=c&&Object.getPrototypeOf(new Set().entries()),h=p&&Object.getPrototypeOf(new Map().entries()),g=f&&typeof Array.prototype[Symbol.iterator]=="function",y=g&&Object.getPrototypeOf([][Symbol.iterator]()),_=f&&typeof String.prototype[Symbol.iterator]=="function",S=_&&Object.getPrototypeOf(""[Symbol.iterator]()),E=8,C=-1;function T(O){var v=typeof O;if(v!=="object")return v;if(O===null)return"null";if(O===o)return"global";if(Array.isArray(O)&&(d===!1||!(Symbol.toStringTag in O)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&O===window.location)return"Location";if(typeof window.document=="object"&&O===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&O===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&O===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&O instanceof window.HTMLElement){if(O.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(O.tagName==="TD")return"HTMLTableDataCellElement";if(O.tagName==="TH")return"HTMLTableHeaderCellElement"}}var P=d&&O[Symbol.toStringTag];if(typeof P=="string")return P;var q=Object.getPrototypeOf(O);return q===RegExp.prototype?"RegExp":q===Date.prototype?"Date":r&&q===Promise.prototype?"Promise":n&&q===Set.prototype?"Set":u&&q===Map.prototype?"Map":l&&q===WeakSet.prototype?"WeakSet":i&&q===WeakMap.prototype?"WeakMap":s&&q===DataView.prototype?"DataView":u&&q===h?"Map Iterator":n&&q===m?"Set Iterator":g&&q===y?"Array Iterator":_&&q===S?"String Iterator":q===null?"Object":Object.prototype.toString.call(O).slice(E,C)}return T})}}),Cm=R({"../../node_modules/chai/lib/chai/utils/expectTypes.js"(e,t){var r=Fs(),o=ot(),a=zn();t.exports=function(u,n){var i=o(u,"message"),l=o(u,"ssfi");i=i?i+": ":"",u=o(u,"object"),n=n.map(function(d){return d.toLowerCase()}),n.sort();var s=n.map(function(d,c){var p=~["a","e","i","o","u"].indexOf(d.charAt(0))?"an":"a",m=n.length>1&&c===n.length-1?"or ":"";return m+p+" "+d}).join(", "),f=a(u).toLowerCase();if(!n.some(function(d){return f===d}))throw new r(i+"object tested must be "+s+", but "+f+" given",void 0,l)}}}),Us=R({"../../node_modules/chai/lib/chai/utils/getActual.js"(e,t){t.exports=function(r,o){return o.length>4?o[4]:r._obj}}}),Pa=R({"../../node_modules/get-func-name/index.js"(e,t){var r=Function.prototype.toString,o=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,a=512;function u(n){if(typeof n!="function")return null;var i="";if(typeof Function.prototype.name>"u"&&typeof n.name>"u"){var l=r.call(n);if(l.indexOf("(")>a)return i;var s=l.match(o);s&&(i=s[1])}else i=n.name;return i}t.exports=u}}),Vn=R({"../../node_modules/loupe/loupe.js"(e,t){(function(r,o){typeof e=="object"&&typeof t<"u"?o(e):typeof define=="function"&&define.amd?define(["exports"],o):(r=typeof globalThis<"u"?globalThis:r||self,o(r.loupe={}))})(e,function(r){function o(w){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?o=function(A){return typeof A}:o=function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},o(w)}function a(w,A){return u(w)||n(w,A)||i(w,A)||s()}function u(w){if(Array.isArray(w))return w}function n(w,A){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(w)))){var N=[],X=!0,te=!1,le=void 0;try{for(var ce=w[Symbol.iterator](),de;!(X=(de=ce.next()).done)&&(N.push(de.value),!(A&&N.length===A));X=!0);}catch(pe){te=!0,le=pe}finally{try{!X&&ce.return!=null&&ce.return()}finally{if(te)throw le}}return N}}function i(w,A){if(w){if(typeof w=="string")return l(w,A);var N=Object.prototype.toString.call(w).slice(8,-1);if(N==="Object"&&w.constructor&&(N=w.constructor.name),N==="Map"||N==="Set")return Array.from(w);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return l(w,A)}}function l(w,A){(A==null||A>w.length)&&(A=w.length);for(var N=0,X=new Array(A);N0&&arguments[0]!==void 0?arguments[0]:{},A=w.showHidden,N=A===void 0?!1:A,X=w.depth,te=X===void 0?2:X,le=w.colors,ce=le===void 0?!1:le,de=w.customInspect,pe=de===void 0?!0:de,ee=w.showProxy,be=ee===void 0?!1:ee,Oe=w.maxArrayLength,Fe=Oe===void 0?1/0:Oe,Me=w.breakLength,je=Me===void 0?1/0:Me,$e=w.seen,Ft=$e===void 0?[]:$e,ht=w.truncate,ar=ht===void 0?1/0:ht,Tt=w.stylize,Ut=Tt===void 0?String:Tt,st={showHidden:!!N,depth:Number(te),colors:!!ce,customInspect:!!pe,showProxy:!!be,maxArrayLength:Number(Fe),breakLength:Number(je),truncate:Number(ar),seen:Ft,stylize:Ut};return st.colors&&(st.stylize=p),st}function h(w,A){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c;w=String(w);var X=N.length,te=w.length;return X>A&&te>X?N:te>A&&te>X?"".concat(w.slice(0,A-X)).concat(N):w}function g(w,A,N){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";N=N||A.inspect;var te=w.length;if(te===0)return"";for(var le=A.truncate,ce="",de="",pe="",ee=0;eele&&ce.length+pe.length<=le||!be&&!Oe&&$e>le||(de=be?"":N(w[ee+1],A)+(Oe?"":X),!be&&Oe&&$e>le&&je+de.length>le))break;if(ce+=Me,!be&&!Oe&&je+de.length>=le){pe="".concat(c,"(").concat(w.length-ee-1,")");break}pe=""}return"".concat(ce).concat(pe)}function y(w){return w.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?w:JSON.stringify(w).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function _(w,A){var N=a(w,2),X=N[0],te=N[1];return A.truncate-=2,typeof X=="string"?X=y(X):typeof X!="number"&&(X="[".concat(A.inspect(X,A),"]")),A.truncate-=X.length,te=A.inspect(te,A),"".concat(X,": ").concat(te)}function S(w,A){var N=Object.keys(w).slice(w.length);if(!w.length&&!N.length)return"[]";A.truncate-=4;var X=g(w,A);A.truncate-=X.length;var te="";return N.length&&(te=g(N.map(function(le){return[le,w[le]]}),A,_)),"[ ".concat(X).concat(te?", ".concat(te):""," ]")}var E=Function.prototype.toString,C=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,T=512;function O(w){if(typeof w!="function")return null;var A="";if(typeof Function.prototype.name>"u"&&typeof w.name>"u"){var N=E.call(w);if(N.indexOf("(")>T)return A;var X=N.match(C);X&&(A=X[1])}else A=w.name;return A}var v=O,P=function(w){return typeof Buffer=="function"&&w instanceof Buffer?"Buffer":w[Symbol.toStringTag]?w[Symbol.toStringTag]:v(w.constructor)};function q(w,A){var N=P(w);A.truncate-=N.length+4;var X=Object.keys(w).slice(w.length);if(!w.length&&!X.length)return"".concat(N,"[]");for(var te="",le=0;le ").concat(te)}function z(w){var A=[];return w.forEach(function(N,X){A.push([X,N])}),A}function re(w,A){var N=w.size-1;return N<=0?"Map{}":(A.truncate-=7,"Map{ ".concat(g(z(w),A,H)," }"))}var J=Number.isNaN||function(w){return w!==w};function ne(w,A){return J(w)?A.stylize("NaN","number"):w===1/0?A.stylize("Infinity","number"):w===-1/0?A.stylize("-Infinity","number"):w===0?A.stylize(1/w===1/0?"+0":"-0","number"):A.stylize(h(w,A.truncate),"number")}function ae(w,A){var N=h(w.toString(),A.truncate-1);return N!==c&&(N+="n"),A.stylize(N,"bigint")}function se(w,A){var N=w.toString().split("/")[2],X=A.truncate-(2+N.length),te=w.source;return A.stylize("/".concat(h(te,X),"/").concat(N),"regexp")}function ue(w){var A=[];return w.forEach(function(N){A.push(N)}),A}function x(w,A){return w.size===0?"Set{}":(A.truncate-=7,"Set{ ".concat(g(ue(w),A)," }"))}var M=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),k={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},F=16,G=4;function $(w){return k[w]||"\\u".concat("0000".concat(w.charCodeAt(0).toString(F)).slice(-G))}function D(w,A){return M.test(w)&&(w=w.replace(M,$)),A.stylize("'".concat(h(w,A.truncate-2),"'"),"string")}function V(w){return"description"in Symbol.prototype?w.description?"Symbol(".concat(w.description,")"):"Symbol()":w.toString()}var Q=function(){return"Promise{…}"};try{var b=process.binding("util"),I=b.getPromiseDetails,B=b.kPending,K=b.kRejected;Array.isArray(I(Promise.resolve()))&&(Q=function(w,A){var N=I(w),X=a(N,2),te=X[0],le=X[1];return te===B?"Promise{}":"Promise".concat(te===K?"!":"","{").concat(A.inspect(le,A),"}")})}catch{}var W=Q;function L(w,A){var N=Object.getOwnPropertyNames(w),X=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(w):[];if(N.length===0&&X.length===0)return"{}";if(A.truncate-=4,A.seen=A.seen||[],A.seen.indexOf(w)>=0)return"[Circular]";A.seen.push(w);var te=g(N.map(function(de){return[de,w[de]]}),A,_),le=g(X.map(function(de){return[de,w[de]]}),A,_);A.seen.pop();var ce="";return te&&le&&(ce=", "),"{ ".concat(te).concat(ce).concat(le," }")}var oe=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ie(w,A){var N="";return oe&&oe in w&&(N=w[oe]),N=N||v(w.constructor),(!N||N==="_class")&&(N=""),A.truncate-=N.length,"".concat(N).concat(L(w,A))}function fe(w,A){return w.length===0?"Arguments[]":(A.truncate-=13,"Arguments[ ".concat(g(w,A)," ]"))}var Ee=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Ae(w,A){var N=Object.getOwnPropertyNames(w).filter(function(ce){return Ee.indexOf(ce)===-1}),X=w.name;A.truncate-=X.length;var te="";typeof w.message=="string"?te=h(w.message,A.truncate):N.unshift("message"),te=te?": ".concat(te):"",A.truncate-=te.length+5;var le=g(N.map(function(ce){return[ce,w[ce]]}),A,_);return"".concat(X).concat(te).concat(le?" { ".concat(le," }"):"")}function it(w,A){var N=a(w,2),X=N[0],te=N[1];return A.truncate-=3,te?"".concat(A.stylize(X,"yellow"),"=").concat(A.stylize('"'.concat(te,'"'),"string")):"".concat(A.stylize(X,"yellow"))}function ze(w,A){return g(w,A,We,` -`)}function We(w,A){var N=w.getAttributeNames(),X=w.tagName.toLowerCase(),te=A.stylize("<".concat(X),"special"),le=A.stylize(">","special"),ce=A.stylize(""),"special");A.truncate-=X.length*2+5;var de="";N.length>0&&(de+=" ",de+=g(N.map(function(be){return[be,w.getAttribute(be)]}),A,it," ")),A.truncate-=de.length;var pe=A.truncate,ee=ze(w.children,A);return ee&&ee.length>pe&&(ee="".concat(c,"(").concat(w.children.length,")")),"".concat(te).concat(de).concat(le).concat(ee).concat(ce)}var lt=typeof Symbol=="function"&&typeof Symbol.for=="function",Ie=lt?Symbol.for("chai/inspect"):"@@chai/inspect",Ce=!1;try{var Ge=_m("util");Ce=Ge.inspect?Ge.inspect.custom:!1}catch{Ce=!1}function Pe(){this.key="chai/loupe__"+Math.random()+Date.now()}Pe.prototype={get:function(w){return w[this.key]},has:function(w){return this.key in w},set:function(w,A){Object.isExtensible(w)&&Object.defineProperty(w,this.key,{value:A,configurable:!0})}};var Re=new(typeof WeakMap=="function"?WeakMap:Pe),xe={},Ke={undefined:function(w,A){return A.stylize("undefined","undefined")},null:function(w,A){return A.stylize(null,"null")},boolean:function(w,A){return A.stylize(w,"boolean")},Boolean:function(w,A){return A.stylize(w,"boolean")},number:ne,Number:ne,bigint:ae,BigInt:ae,string:D,String:D,function:U,Function:U,symbol:V,Symbol:V,Array:S,Date:j,Map:re,Set:x,RegExp:se,Promise:W,WeakSet:function(w,A){return A.stylize("WeakSet{…}","special")},WeakMap:function(w,A){return A.stylize("WeakMap{…}","special")},Arguments:fe,Int8Array:q,Uint8Array:q,Uint8ClampedArray:q,Int16Array:q,Uint16Array:q,Int32Array:q,Uint32Array:q,Float32Array:q,Float64Array:q,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:Ae,HTMLCollection:ze,NodeList:ze},Lt=function(w,A,N){return Ie in w&&typeof w[Ie]=="function"?w[Ie](A):Ce&&Ce in w&&typeof w[Ce]=="function"?w[Ce](A.depth,A):"inspect"in w&&typeof w.inspect=="function"?w.inspect(A.depth,A):"constructor"in w&&Re.has(w.constructor)?Re.get(w.constructor)(w,A):xe[N]?xe[N](w,A):""},mt=Object.prototype.toString;function Ne(w,A){A=m(A),A.inspect=Ne;var N=A,X=N.customInspect,te=w===null?"null":o(w);if(te==="object"&&(te=mt.call(w).slice(8,-1)),Ke[te])return Ke[te](w,A);if(X&&w){var le=Lt(w,A,te);if(le)return typeof le=="string"?le:Ne(le,A)}var ce=w?Object.getPrototypeOf(w):!1;return ce===Object.prototype||ce===null?L(w,A):w&&typeof HTMLElement=="function"&&w instanceof HTMLElement?We(w,A):"constructor"in w?w.constructor!==Object?ie(w,A):L(w,A):w===Object(w)?L(w,A):A.stylize(String(w),te)}function Y(w,A){return Re.has(w)?!1:(Re.set(w,A),!0)}function Z(w,A){return w in xe?!1:(xe[w]=A,!0)}var he=Ie;r.custom=he,r.default=Ne,r.inspect=Ne,r.registerConstructor=Y,r.registerStringTag=Z,Object.defineProperty(r,"__esModule",{value:!0})})}}),Rr=R({"../../node_modules/chai/lib/chai/config.js"(e,t){t.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}}}),Oa=R({"../../node_modules/chai/lib/chai/utils/inspect.js"(e,t){Pa();var r=Vn(),o=Rr();t.exports=a;function a(u,n,i,l){var s={colors:l,depth:typeof i>"u"?2:i,showHidden:n,truncate:o.truncateThreshold?o.truncateThreshold:1/0};return r.inspect(u,s)}}}),Hs=R({"../../node_modules/chai/lib/chai/utils/objDisplay.js"(e,t){var r=Oa(),o=Rr();t.exports=function(a){var u=r(a),n=Object.prototype.toString.call(a);if(o.truncateThreshold&&u.length>=o.truncateThreshold){if(n==="[object Function]")return!a.name||a.name===""?"[Function]":"[Function: "+a.name+"]";if(n==="[object Array]")return"[ Array("+a.length+") ]";if(n==="[object Object]"){var i=Object.keys(a),l=i.length>2?i.splice(0,2).join(", ")+", ...":i.join(", ");return"{ Object ("+l+") }"}else return u}else return u}}}),Pm=R({"../../node_modules/chai/lib/chai/utils/getMessage.js"(e,t){var r=ot(),o=Us(),a=Hs();t.exports=function(u,n){var i=r(u,"negate"),l=r(u,"object"),s=n[3],f=o(u,n),d=i?n[2]:n[1],c=r(u,"message");return typeof d=="function"&&(d=d()),d=d||"",d=d.replace(/#\{this\}/g,function(){return a(l)}).replace(/#\{act\}/g,function(){return a(f)}).replace(/#\{exp\}/g,function(){return a(s)}),c?c+": "+d:d}}}),Jt=R({"../../node_modules/chai/lib/chai/utils/transferFlags.js"(e,t){t.exports=function(r,o,a){var u=r.__flags||(r.__flags=Object.create(null));o.__flags||(o.__flags=Object.create(null)),a=arguments.length===3?a:!0;for(var n in u)(a||n!=="object"&&n!=="ssfi"&&n!=="lockSsfi"&&n!="message")&&(o.__flags[n]=u[n])}}}),Om=R({"../../node_modules/deep-eql/index.js"(e,t){var r=zn();function o(){this._key="chai/deep-eql__"+Math.random()+Date.now()}o.prototype={get:function(v){return v[this._key]},set:function(v,P){Object.isExtensible(v)&&Object.defineProperty(v,this._key,{value:P,configurable:!0})}};var a=typeof WeakMap=="function"?WeakMap:o;function u(v,P,q){if(!q||T(v)||T(P))return null;var j=q.get(v);if(j){var U=j.get(P);if(typeof U=="boolean")return U}return null}function n(v,P,q,j){if(!(!q||T(v)||T(P))){var U=q.get(v);U?U.set(P,j):(U=new a,U.set(P,j),q.set(v,U))}}t.exports=i,t.exports.MemoizeMap=a;function i(v,P,q){if(q&&q.comparator)return s(v,P,q);var j=l(v,P);return j!==null?j:s(v,P,q)}function l(v,P){return v===P?v!==0||1/v===1/P:v!==v&&P!==P?!0:T(v)||T(P)?!1:null}function s(v,P,q){q=q||{},q.memoize=q.memoize===!1?!1:q.memoize||new a;var j=q&&q.comparator,U=u(v,P,q.memoize);if(U!==null)return U;var H=u(P,v,q.memoize);if(H!==null)return H;if(j){var z=j(v,P);if(z===!1||z===!0)return n(v,P,q.memoize,z),z;var re=l(v,P);if(re!==null)return re}var J=r(v);if(J!==r(P))return n(v,P,q.memoize,!1),!1;n(v,P,q.memoize,!0);var ne=f(v,P,J,q);return n(v,P,q.memoize,ne),ne}function f(v,P,q,j){switch(q){case"String":case"Number":case"Boolean":case"Date":return i(v.valueOf(),P.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return v===P;case"Error":return E(v,P,["name","message","code"],j);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return p(v,P,j);case"RegExp":return d(v,P);case"Generator":return m(v,P,j);case"DataView":return p(new Uint8Array(v.buffer),new Uint8Array(P.buffer),j);case"ArrayBuffer":return p(new Uint8Array(v),new Uint8Array(P),j);case"Set":return c(v,P,j);case"Map":return c(v,P,j);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return v.equals(P);case"Temporal.Duration":return v.total("nanoseconds")===P.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return v.toString()===P.toString();default:return C(v,P,j)}}function d(v,P){return v.toString()===P.toString()}function c(v,P,q){if(v.size!==P.size)return!1;if(v.size===0)return!0;var j=[],U=[];return v.forEach(function(H,z){j.push([H,z])}),P.forEach(function(H,z){U.push([H,z])}),p(j.sort(),U.sort(),q)}function p(v,P,q){var j=v.length;if(j!==P.length)return!1;if(j===0)return!0;for(var U=-1;++U=f)return f;for(var d=[],c=0;c<=l.length;c++)d[c]=Array(s.length+1).fill(0),d[c][0]=c;for(var p=0;p=f){d[c][p]=f;continue}d[c][p]=Math.min(d[c-1][p]+1,d[c][p-1]+1,d[c-1][p-1]+(m===s.charCodeAt(p-1)?0:1))}return d[l.length][s.length]}}}),Am=R({"../../node_modules/chai/lib/chai/utils/addMethod.js"(e,t){var r=Gn(),o=Xt(),a=ot(),u=Kn(),n=Jt();t.exports=function(i,l,s){var f=function(){a(this,"lockSsfi")||a(this,"ssfi",f);var d=s.apply(this,arguments);if(d!==void 0)return d;var c=new o.Assertion;return n(this,c),c};r(f,l,!1),i[l]=u(f,l)}}}),xm=R({"../../node_modules/chai/lib/chai/utils/overwriteProperty.js"(e,t){var r=Xt(),o=ot(),a=Wn(),u=Jt();t.exports=function(n,i,l){var s=Object.getOwnPropertyDescriptor(n,i),f=function(){};s&&typeof s.get=="function"&&(f=s.get),Object.defineProperty(n,i,{get:function d(){!a()&&!o(this,"lockSsfi")&&o(this,"ssfi",d);var c=o(this,"lockSsfi");o(this,"lockSsfi",!0);var p=l(f).call(this);if(o(this,"lockSsfi",c),p!==void 0)return p;var m=new r.Assertion;return u(this,m),m},configurable:!0})}}}),qm=R({"../../node_modules/chai/lib/chai/utils/overwriteMethod.js"(e,t){var r=Gn(),o=Xt(),a=ot(),u=Kn(),n=Jt();t.exports=function(i,l,s){var f=i[l],d=function(){throw new Error(l+" is not a function")};f&&typeof f=="function"&&(d=f);var c=function(){a(this,"lockSsfi")||a(this,"ssfi",c);var p=a(this,"lockSsfi");a(this,"lockSsfi",!0);var m=s(d).apply(this,arguments);if(a(this,"lockSsfi",p),m!==void 0)return m;var h=new o.Assertion;return n(this,h),h};r(c,l,!1),i[l]=u(c,l)}}}),Mm=R({"../../node_modules/chai/lib/chai/utils/addChainableMethod.js"(e,t){var r=Gn(),o=Xt(),a=ot(),u=Kn(),n=Jt(),i=typeof Object.setPrototypeOf=="function",l=function(){},s=Object.getOwnPropertyNames(l).filter(function(c){var p=Object.getOwnPropertyDescriptor(l,c);return typeof p!="object"?!0:!p.configurable}),f=Function.prototype.call,d=Function.prototype.apply;t.exports=function(c,p,m,h){typeof h!="function"&&(h=function(){});var g={method:m,chainingBehavior:h};c.__methods||(c.__methods={}),c.__methods[p]=g,Object.defineProperty(c,p,{get:function(){g.chainingBehavior.call(this);var y=function(){a(this,"lockSsfi")||a(this,"ssfi",y);var E=g.method.apply(this,arguments);if(E!==void 0)return E;var C=new o.Assertion;return n(this,C),C};if(r(y,p,!0),i){var _=Object.create(this);_.call=f,_.apply=d,Object.setPrototypeOf(y,_)}else{var S=Object.getOwnPropertyNames(c);S.forEach(function(E){if(s.indexOf(E)===-1){var C=Object.getOwnPropertyDescriptor(c,E);Object.defineProperty(y,E,C)}})}return n(this,y),u(y)},configurable:!0})}}}),jm=R({"../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js"(e,t){var r=Xt(),o=Jt();t.exports=function(a,u,n,i){var l=a.__methods[u],s=l.chainingBehavior;l.chainingBehavior=function(){var d=i(s).call(this);if(d!==void 0)return d;var c=new r.Assertion;return o(this,c),c};var f=l.method;l.method=function(){var d=n(f).apply(this,arguments);if(d!==void 0)return d;var c=new r.Assertion;return o(this,c),c}}}}),Im=R({"../../node_modules/chai/lib/chai/utils/compareByInspect.js"(e,t){var r=Oa();t.exports=function(o,a){return r(o)1&&W===B.length)throw K;return}this.assert(I,"expected #{this} to "+Q+"include "+o.inspect(x),"expected #{this} to not "+Q+"include "+o.inspect(x))}a.addChainableMethod("include",f,s),a.addChainableMethod("contain",f,s),a.addChainableMethod("contains",f,s),a.addChainableMethod("includes",f,s),a.addProperty("ok",function(){this.assert(n(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")}),a.addProperty("true",function(){this.assert(n(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!n(this,"negate"))}),a.addProperty("false",function(){this.assert(n(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!n(this,"negate"))}),a.addProperty("null",function(){this.assert(n(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")}),a.addProperty("undefined",function(){this.assert(n(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")}),a.addProperty("NaN",function(){this.assert(o.isNaN(n(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function d(){var x=n(this,"object");this.assert(x!=null,"expected #{this} to exist","expected #{this} to not exist")}a.addProperty("exist",d),a.addProperty("exists",d),a.addProperty("empty",function(){var x=n(this,"object"),M=n(this,"ssfi"),k=n(this,"message"),F;switch(k=k?k+": ":"",o.type(x).toLowerCase()){case"array":case"string":F=x.length;break;case"map":case"set":F=x.size;break;case"weakmap":case"weakset":throw new u(k+".empty was passed a weak collection",void 0,M);case"function":var G=k+".empty was passed a function "+o.getName(x);throw new u(G.trim(),void 0,M);default:if(x!==Object(x))throw new u(k+".empty was passed non-string primitive "+o.inspect(x),void 0,M);F=Object.keys(x).length}this.assert(F===0,"expected #{this} to be empty","expected #{this} not to be empty")});function c(){var x=n(this,"object"),M=o.type(x);this.assert(M==="Arguments","expected #{this} to be arguments but got "+M,"expected #{this} to not be arguments")}a.addProperty("arguments",c),a.addProperty("Arguments",c);function p(x,M){M&&n(this,"message",M);var k=n(this,"object");if(n(this,"deep")){var F=n(this,"lockSsfi");n(this,"lockSsfi",!0),this.eql(x),n(this,"lockSsfi",F)}else this.assert(x===k,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",x,this._obj,!0)}a.addMethod("equal",p),a.addMethod("equals",p),a.addMethod("eq",p);function m(x,M){M&&n(this,"message",M);var k=n(this,"eql");this.assert(k(x,n(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",x,this._obj,!0)}a.addMethod("eql",m),a.addMethod("eqls",m);function h(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=n(this,"doLength"),G=n(this,"message"),$=G?G+": ":"",D=n(this,"ssfi"),V=o.type(k).toLowerCase(),Q=o.type(x).toLowerCase(),b,I=!0;if(F&&V!=="map"&&V!=="set"&&new a(k,G,D,!0).to.have.property("length"),!F&&V==="date"&&Q!=="date")b=$+"the argument to above must be a date";else if(Q!=="number"&&(F||V==="number"))b=$+"the argument to above must be a number";else if(!F&&V!=="date"&&V!=="number"){var B=V==="string"?"'"+k+"'":k;b=$+"expected "+B+" to be a number or a date"}else I=!1;if(I)throw new u(b,void 0,D);if(F){var K="length",W;V==="map"||V==="set"?(K="size",W=k.size):W=k.length,this.assert(W>x,"expected #{this} to have a "+K+" above #{exp} but got #{act}","expected #{this} to not have a "+K+" above #{exp}",x,W)}else this.assert(k>x,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",x)}a.addMethod("above",h),a.addMethod("gt",h),a.addMethod("greaterThan",h);function g(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=n(this,"doLength"),G=n(this,"message"),$=G?G+": ":"",D=n(this,"ssfi"),V=o.type(k).toLowerCase(),Q=o.type(x).toLowerCase(),b,I=!0;if(F&&V!=="map"&&V!=="set"&&new a(k,G,D,!0).to.have.property("length"),!F&&V==="date"&&Q!=="date")b=$+"the argument to least must be a date";else if(Q!=="number"&&(F||V==="number"))b=$+"the argument to least must be a number";else if(!F&&V!=="date"&&V!=="number"){var B=V==="string"?"'"+k+"'":k;b=$+"expected "+B+" to be a number or a date"}else I=!1;if(I)throw new u(b,void 0,D);if(F){var K="length",W;V==="map"||V==="set"?(K="size",W=k.size):W=k.length,this.assert(W>=x,"expected #{this} to have a "+K+" at least #{exp} but got #{act}","expected #{this} to have a "+K+" below #{exp}",x,W)}else this.assert(k>=x,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",x)}a.addMethod("least",g),a.addMethod("gte",g),a.addMethod("greaterThanOrEqual",g);function y(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=n(this,"doLength"),G=n(this,"message"),$=G?G+": ":"",D=n(this,"ssfi"),V=o.type(k).toLowerCase(),Q=o.type(x).toLowerCase(),b,I=!0;if(F&&V!=="map"&&V!=="set"&&new a(k,G,D,!0).to.have.property("length"),!F&&V==="date"&&Q!=="date")b=$+"the argument to below must be a date";else if(Q!=="number"&&(F||V==="number"))b=$+"the argument to below must be a number";else if(!F&&V!=="date"&&V!=="number"){var B=V==="string"?"'"+k+"'":k;b=$+"expected "+B+" to be a number or a date"}else I=!1;if(I)throw new u(b,void 0,D);if(F){var K="length",W;V==="map"||V==="set"?(K="size",W=k.size):W=k.length,this.assert(W=x&&ie<=M,"expected #{this} to have a "+oe+" within "+W,"expected #{this} to not have a "+oe+" within "+W)}else this.assert(F>=x&&F<=M,"expected #{this} to be within "+W,"expected #{this} to not be within "+W)});function S(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=n(this,"ssfi"),G=n(this,"message");try{var $=k instanceof x}catch(V){throw V instanceof TypeError?(G=G?G+": ":"",new u(G+"The instanceof assertion needs a constructor but "+o.type(x)+" was given.",void 0,F)):V}var D=o.getName(x);D===null&&(D="an unnamed constructor"),this.assert($,"expected #{this} to be an instance of "+D,"expected #{this} to not be an instance of "+D)}a.addMethod("instanceof",S),a.addMethod("instanceOf",S);function E(x,M,k){k&&n(this,"message",k);var F=n(this,"nested"),G=n(this,"own"),$=n(this,"message"),D=n(this,"object"),V=n(this,"ssfi"),Q=typeof x;if($=$?$+": ":"",F){if(Q!=="string")throw new u($+"the argument to property must be a string when using nested syntax",void 0,V)}else if(Q!=="string"&&Q!=="number"&&Q!=="symbol")throw new u($+"the argument to property must be a string, number, or symbol",void 0,V);if(F&&G)throw new u($+'The "nested" and "own" flags cannot be combined.',void 0,V);if(D==null)throw new u($+"Target cannot be null or undefined.",void 0,V);var b=n(this,"deep"),I=n(this,"negate"),B=F?o.getPathInfo(D,x):null,K=F?B.value:D[x],W=b?n(this,"eql"):(ie,fe)=>ie===fe,L="";b&&(L+="deep "),G&&(L+="own "),F&&(L+="nested "),L+="property ";var oe;G?oe=Object.prototype.hasOwnProperty.call(D,x):F?oe=B.exists:oe=o.hasProperty(D,x),(!I||arguments.length===1)&&this.assert(oe,"expected #{this} to have "+L+o.inspect(x),"expected #{this} to not have "+L+o.inspect(x)),arguments.length>1&&this.assert(oe&&W(M,K),"expected #{this} to have "+L+o.inspect(x)+" of #{exp}, but got #{act}","expected #{this} to not have "+L+o.inspect(x)+" of #{act}",M,K),n(this,"object",K)}a.addMethod("property",E);function C(x,M,k){n(this,"own",!0),E.apply(this,arguments)}a.addMethod("ownProperty",C),a.addMethod("haveOwnProperty",C);function T(x,M,k){typeof M=="string"&&(k=M,M=null),k&&n(this,"message",k);var F=n(this,"object"),G=Object.getOwnPropertyDescriptor(Object(F),x),$=n(this,"eql");G&&M?this.assert($(M,G),"expected the own property descriptor for "+o.inspect(x)+" on #{this} to match "+o.inspect(M)+", got "+o.inspect(G),"expected the own property descriptor for "+o.inspect(x)+" on #{this} to not match "+o.inspect(M),M,G,!0):this.assert(G,"expected #{this} to have an own property descriptor for "+o.inspect(x),"expected #{this} to not have an own property descriptor for "+o.inspect(x)),n(this,"object",G)}a.addMethod("ownPropertyDescriptor",T),a.addMethod("haveOwnPropertyDescriptor",T);function O(){n(this,"doLength",!0)}function v(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=o.type(k).toLowerCase(),G=n(this,"message"),$=n(this,"ssfi"),D="length",V;switch(F){case"map":case"set":D="size",V=k.size;break;default:new a(k,G,$,!0).to.have.property("length"),V=k.length}this.assert(V==x,"expected #{this} to have a "+D+" of #{exp} but got #{act}","expected #{this} to not have a "+D+" of #{act}",x,V)}a.addChainableMethod("length",v,O),a.addChainableMethod("lengthOf",v,O);function P(x,M){M&&n(this,"message",M);var k=n(this,"object");this.assert(x.exec(k),"expected #{this} to match "+x,"expected #{this} not to match "+x)}a.addMethod("match",P),a.addMethod("matches",P),a.addMethod("string",function(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=n(this,"message"),G=n(this,"ssfi");new a(k,F,G,!0).is.a("string"),this.assert(~k.indexOf(x),"expected #{this} to contain "+o.inspect(x),"expected #{this} to not contain "+o.inspect(x))});function q(x){var M=n(this,"object"),k=o.type(M),F=o.type(x),G=n(this,"ssfi"),$=n(this,"deep"),D,V="",Q,b=!0,I=n(this,"message");I=I?I+": ":"";var B=I+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(k==="Map"||k==="Set")V=$?"deeply ":"",Q=[],M.forEach(function(Ee,Ae){Q.push(Ae)}),F!=="Array"&&(x=Array.prototype.slice.call(arguments));else{switch(Q=o.getOwnEnumerableProperties(M),F){case"Array":if(arguments.length>1)throw new u(B,void 0,G);break;case"Object":if(arguments.length>1)throw new u(B,void 0,G);x=Object.keys(x);break;default:x=Array.prototype.slice.call(arguments)}x=x.map(function(Ee){return typeof Ee=="symbol"?Ee:String(Ee)})}if(!x.length)throw new u(I+"keys required",void 0,G);var K=x.length,W=n(this,"any"),L=n(this,"all"),oe=x,ie=$?n(this,"eql"):(Ee,Ae)=>Ee===Ae;if(!W&&!L&&(L=!0),W&&(b=oe.some(function(Ee){return Q.some(function(Ae){return ie(Ee,Ae)})})),L&&(b=oe.every(function(Ee){return Q.some(function(Ae){return ie(Ee,Ae)})}),n(this,"contains")||(b=b&&x.length==Q.length)),K>1){x=x.map(function(Ee){return o.inspect(Ee)});var fe=x.pop();L&&(D=x.join(", ")+", and "+fe),W&&(D=x.join(", ")+", or "+fe)}else D=o.inspect(x[0]);D=(K>1?"keys ":"key ")+D,D=(n(this,"contains")?"contain ":"have ")+D,this.assert(b,"expected #{this} to "+V+D,"expected #{this} to not "+V+D,oe.slice(0).sort(o.compareByInspect),Q.sort(o.compareByInspect),!0)}a.addMethod("keys",q),a.addMethod("key",q);function j(x,M,k){k&&n(this,"message",k);var F=n(this,"object"),G=n(this,"ssfi"),$=n(this,"message"),D=n(this,"negate")||!1;new a(F,$,G,!0).is.a("function"),(x instanceof RegExp||typeof x=="string")&&(M=x,x=null);var V;try{F()}catch(fe){V=fe}var Q=x===void 0&&M===void 0,b=!!(x&&M),I=!1,B=!1;if(Q||!Q&&!D){var K="an error";x instanceof Error?K="#{exp}":x&&(K=o.checkError.getConstructorName(x)),this.assert(V,"expected #{this} to throw "+K,"expected #{this} to not throw an error but #{act} was thrown",x&&x.toString(),V instanceof Error?V.toString():typeof V=="string"?V:V&&o.checkError.getConstructorName(V))}if(x&&V){if(x instanceof Error){var W=o.checkError.compatibleInstance(V,x);W===D&&(b&&D?I=!0:this.assert(D,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(V&&!D?" but #{act} was thrown":""),x.toString(),V.toString()))}var L=o.checkError.compatibleConstructor(V,x);L===D&&(b&&D?I=!0:this.assert(D,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(V?" but #{act} was thrown":""),x instanceof Error?x.toString():x&&o.checkError.getConstructorName(x),V instanceof Error?V.toString():V&&o.checkError.getConstructorName(V)))}if(V&&M!==void 0&&M!==null){var oe="including";M instanceof RegExp&&(oe="matching");var ie=o.checkError.compatibleMessage(V,M);ie===D&&(b&&D?B=!0:this.assert(D,"expected #{this} to throw error "+oe+" #{exp} but got #{act}","expected #{this} to throw error not "+oe+" #{exp}",M,o.checkError.getMessage(V)))}I&&B&&this.assert(D,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(V?" but #{act} was thrown":""),x instanceof Error?x.toString():x&&o.checkError.getConstructorName(x),V instanceof Error?V.toString():V&&o.checkError.getConstructorName(V)),n(this,"object",V)}a.addMethod("throw",j),a.addMethod("throws",j),a.addMethod("Throw",j);function U(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=n(this,"itself"),G=typeof k=="function"&&!F?k.prototype[x]:k[x];this.assert(typeof G=="function","expected #{this} to respond to "+o.inspect(x),"expected #{this} to not respond to "+o.inspect(x))}a.addMethod("respondTo",U),a.addMethod("respondsTo",U),a.addProperty("itself",function(){n(this,"itself",!0)});function H(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=x(k);this.assert(F,"expected #{this} to satisfy "+o.objDisplay(x),"expected #{this} to not satisfy"+o.objDisplay(x),!n(this,"negate"),F)}a.addMethod("satisfy",H),a.addMethod("satisfies",H);function z(x,M,k){k&&n(this,"message",k);var F=n(this,"object"),G=n(this,"message"),$=n(this,"ssfi");if(new a(F,G,$,!0).is.a("number"),typeof x!="number"||typeof M!="number"){G=G?G+": ":"";var D=M===void 0?", and a delta is required":"";throw new u(G+"the arguments to closeTo or approximately must be numbers"+D,void 0,$)}this.assert(Math.abs(F-x)<=M,"expected #{this} to be close to "+x+" +/- "+M,"expected #{this} not to be close to "+x+" +/- "+M)}a.addMethod("closeTo",z),a.addMethod("approximately",z);function re(x,M,k,F,G){if(!F){if(x.length!==M.length)return!1;M=M.slice()}return x.every(function($,D){if(G)return k?k($,M[D]):$===M[D];if(!k){var V=M.indexOf($);return V===-1?!1:(F||M.splice(V,1),!0)}return M.some(function(Q,b){return k($,Q)?(F||M.splice(b,1),!0):!1})})}a.addMethod("members",function(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=n(this,"message"),G=n(this,"ssfi");new a(k,F,G,!0).to.be.an("array"),new a(x,F,G,!0).to.be.an("array");var $=n(this,"contains"),D=n(this,"ordered"),V,Q,b;$?(V=D?"an ordered superset":"a superset",Q="expected #{this} to be "+V+" of #{exp}",b="expected #{this} to not be "+V+" of #{exp}"):(V=D?"ordered members":"members",Q="expected #{this} to have the same "+V+" as #{exp}",b="expected #{this} to not have the same "+V+" as #{exp}");var I=n(this,"deep")?n(this,"eql"):void 0;this.assert(re(x,k,I,$,D),Q,b,x,k,!0)});function J(x,M){M&&n(this,"message",M);var k=n(this,"object"),F=n(this,"message"),G=n(this,"ssfi"),$=n(this,"contains"),D=n(this,"deep"),V=n(this,"eql");new a(x,F,G,!0).to.be.an("array"),$?this.assert(x.some(function(Q){return k.indexOf(Q)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",x,k):D?this.assert(x.some(function(Q){return V(k,Q)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",x,k):this.assert(x.indexOf(k)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",x,k)}a.addMethod("oneOf",J);function ne(x,M,k){k&&n(this,"message",k);var F=n(this,"object"),G=n(this,"message"),$=n(this,"ssfi");new a(F,G,$,!0).is.a("function");var D;M?(new a(x,G,$,!0).to.have.property(M),D=x[M]):(new a(x,G,$,!0).is.a("function"),D=x()),F();var V=M==null?x():x[M],Q=M==null?D:"."+M;n(this,"deltaMsgObj",Q),n(this,"initialDeltaValue",D),n(this,"finalDeltaValue",V),n(this,"deltaBehavior","change"),n(this,"realDelta",V!==D),this.assert(D!==V,"expected "+Q+" to change","expected "+Q+" to not change")}a.addMethod("change",ne),a.addMethod("changes",ne);function ae(x,M,k){k&&n(this,"message",k);var F=n(this,"object"),G=n(this,"message"),$=n(this,"ssfi");new a(F,G,$,!0).is.a("function");var D;M?(new a(x,G,$,!0).to.have.property(M),D=x[M]):(new a(x,G,$,!0).is.a("function"),D=x()),new a(D,G,$,!0).is.a("number"),F();var V=M==null?x():x[M],Q=M==null?D:"."+M;n(this,"deltaMsgObj",Q),n(this,"initialDeltaValue",D),n(this,"finalDeltaValue",V),n(this,"deltaBehavior","increase"),n(this,"realDelta",V-D),this.assert(V-D>0,"expected "+Q+" to increase","expected "+Q+" to not increase")}a.addMethod("increase",ae),a.addMethod("increases",ae);function se(x,M,k){k&&n(this,"message",k);var F=n(this,"object"),G=n(this,"message"),$=n(this,"ssfi");new a(F,G,$,!0).is.a("function");var D;M?(new a(x,G,$,!0).to.have.property(M),D=x[M]):(new a(x,G,$,!0).is.a("function"),D=x()),new a(D,G,$,!0).is.a("number"),F();var V=M==null?x():x[M],Q=M==null?D:"."+M;n(this,"deltaMsgObj",Q),n(this,"initialDeltaValue",D),n(this,"finalDeltaValue",V),n(this,"deltaBehavior","decrease"),n(this,"realDelta",D-V),this.assert(V-D<0,"expected "+Q+" to decrease","expected "+Q+" to not decrease")}a.addMethod("decrease",se),a.addMethod("decreases",se);function ue(x,M){M&&n(this,"message",M);var k=n(this,"deltaMsgObj"),F=n(this,"initialDeltaValue"),G=n(this,"finalDeltaValue"),$=n(this,"deltaBehavior"),D=n(this,"realDelta"),V;$==="change"?V=Math.abs(G-F)===Math.abs(x):V=D===Math.abs(x),this.assert(V,"expected "+k+" to "+$+" by "+x,"expected "+k+" to not "+$+" by "+x)}a.addMethod("by",ue),a.addProperty("extensible",function(){var x=n(this,"object"),M=x===Object(x)&&Object.isExtensible(x);this.assert(M,"expected #{this} to be extensible","expected #{this} to not be extensible")}),a.addProperty("sealed",function(){var x=n(this,"object"),M=x===Object(x)?Object.isSealed(x):!0;this.assert(M,"expected #{this} to be sealed","expected #{this} to not be sealed")}),a.addProperty("frozen",function(){var x=n(this,"object"),M=x===Object(x)?Object.isFrozen(x):!0;this.assert(M,"expected #{this} to be frozen","expected #{this} to not be frozen")}),a.addProperty("finite",function(x){var M=n(this,"object");this.assert(typeof M=="number"&&isFinite(M),"expected #{this} to be a finite number","expected #{this} to not be a finite number")})}}}),Um=R({"../../node_modules/chai/lib/chai/interface/expect.js"(e,t){t.exports=function(r,o){r.expect=function(a,u){return new r.Assertion(a,u)},r.expect.fail=function(a,u,n,i){throw arguments.length<2&&(n=a,a=void 0),n=n||"expect.fail()",new r.AssertionError(n,{actual:a,expected:u,operator:i},r.expect.fail)}}}}),Hm=R({"../../node_modules/chai/lib/chai/interface/should.js"(e,t){t.exports=function(r,o){var a=r.Assertion;function u(){function n(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new a(this.valueOf(),null,n):new a(this,null,n)}function i(s){Object.defineProperty(this,"should",{value:s,enumerable:!0,configurable:!0,writable:!0})}Object.defineProperty(Object.prototype,"should",{set:i,get:n,configurable:!0});var l={};return l.fail=function(s,f,d,c){throw arguments.length<2&&(d=s,s=void 0),d=d||"should.fail()",new r.AssertionError(d,{actual:s,expected:f,operator:c},l.fail)},l.equal=function(s,f,d){new a(s,d).to.equal(f)},l.Throw=function(s,f,d,c){new a(s,c).to.Throw(f,d)},l.exist=function(s,f){new a(s,f).to.exist},l.not={},l.not.equal=function(s,f,d){new a(s,d).to.not.equal(f)},l.not.Throw=function(s,f,d,c){new a(s,c).to.not.Throw(f,d)},l.not.exist=function(s,f){new a(s,f).to.not.exist},l.throw=l.Throw,l.not.throw=l.not.Throw,l}r.should=u,r.Should=u}}}),zm=R({"../../node_modules/chai/lib/chai/interface/assert.js"(e,t){t.exports=function(r,o){var a=r.Assertion,u=o.flag,n=r.assert=function(i,l){var s=new a(null,null,r.assert,!0);s.assert(i,l,"[ negation message unavailable ]")};n.fail=function(i,l,s,f){throw arguments.length<2&&(s=i,i=void 0),s=s||"assert.fail()",new r.AssertionError(s,{actual:i,expected:l,operator:f},n.fail)},n.isOk=function(i,l){new a(i,l,n.isOk,!0).is.ok},n.isNotOk=function(i,l){new a(i,l,n.isNotOk,!0).is.not.ok},n.equal=function(i,l,s){var f=new a(i,s,n.equal,!0);f.assert(l==u(f,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",l,i,!0)},n.notEqual=function(i,l,s){var f=new a(i,s,n.notEqual,!0);f.assert(l!=u(f,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",l,i,!0)},n.strictEqual=function(i,l,s){new a(i,s,n.strictEqual,!0).to.equal(l)},n.notStrictEqual=function(i,l,s){new a(i,s,n.notStrictEqual,!0).to.not.equal(l)},n.deepEqual=n.deepStrictEqual=function(i,l,s){new a(i,s,n.deepEqual,!0).to.eql(l)},n.notDeepEqual=function(i,l,s){new a(i,s,n.notDeepEqual,!0).to.not.eql(l)},n.isAbove=function(i,l,s){new a(i,s,n.isAbove,!0).to.be.above(l)},n.isAtLeast=function(i,l,s){new a(i,s,n.isAtLeast,!0).to.be.least(l)},n.isBelow=function(i,l,s){new a(i,s,n.isBelow,!0).to.be.below(l)},n.isAtMost=function(i,l,s){new a(i,s,n.isAtMost,!0).to.be.most(l)},n.isTrue=function(i,l){new a(i,l,n.isTrue,!0).is.true},n.isNotTrue=function(i,l){new a(i,l,n.isNotTrue,!0).to.not.equal(!0)},n.isFalse=function(i,l){new a(i,l,n.isFalse,!0).is.false},n.isNotFalse=function(i,l){new a(i,l,n.isNotFalse,!0).to.not.equal(!1)},n.isNull=function(i,l){new a(i,l,n.isNull,!0).to.equal(null)},n.isNotNull=function(i,l){new a(i,l,n.isNotNull,!0).to.not.equal(null)},n.isNaN=function(i,l){new a(i,l,n.isNaN,!0).to.be.NaN},n.isNotNaN=function(i,l){new a(i,l,n.isNotNaN,!0).not.to.be.NaN},n.exists=function(i,l){new a(i,l,n.exists,!0).to.exist},n.notExists=function(i,l){new a(i,l,n.notExists,!0).to.not.exist},n.isUndefined=function(i,l){new a(i,l,n.isUndefined,!0).to.equal(void 0)},n.isDefined=function(i,l){new a(i,l,n.isDefined,!0).to.not.equal(void 0)},n.isFunction=function(i,l){new a(i,l,n.isFunction,!0).to.be.a("function")},n.isNotFunction=function(i,l){new a(i,l,n.isNotFunction,!0).to.not.be.a("function")},n.isObject=function(i,l){new a(i,l,n.isObject,!0).to.be.a("object")},n.isNotObject=function(i,l){new a(i,l,n.isNotObject,!0).to.not.be.a("object")},n.isArray=function(i,l){new a(i,l,n.isArray,!0).to.be.an("array")},n.isNotArray=function(i,l){new a(i,l,n.isNotArray,!0).to.not.be.an("array")},n.isString=function(i,l){new a(i,l,n.isString,!0).to.be.a("string")},n.isNotString=function(i,l){new a(i,l,n.isNotString,!0).to.not.be.a("string")},n.isNumber=function(i,l){new a(i,l,n.isNumber,!0).to.be.a("number")},n.isNotNumber=function(i,l){new a(i,l,n.isNotNumber,!0).to.not.be.a("number")},n.isFinite=function(i,l){new a(i,l,n.isFinite,!0).to.be.finite},n.isBoolean=function(i,l){new a(i,l,n.isBoolean,!0).to.be.a("boolean")},n.isNotBoolean=function(i,l){new a(i,l,n.isNotBoolean,!0).to.not.be.a("boolean")},n.typeOf=function(i,l,s){new a(i,s,n.typeOf,!0).to.be.a(l)},n.notTypeOf=function(i,l,s){new a(i,s,n.notTypeOf,!0).to.not.be.a(l)},n.instanceOf=function(i,l,s){new a(i,s,n.instanceOf,!0).to.be.instanceOf(l)},n.notInstanceOf=function(i,l,s){new a(i,s,n.notInstanceOf,!0).to.not.be.instanceOf(l)},n.include=function(i,l,s){new a(i,s,n.include,!0).include(l)},n.notInclude=function(i,l,s){new a(i,s,n.notInclude,!0).not.include(l)},n.deepInclude=function(i,l,s){new a(i,s,n.deepInclude,!0).deep.include(l)},n.notDeepInclude=function(i,l,s){new a(i,s,n.notDeepInclude,!0).not.deep.include(l)},n.nestedInclude=function(i,l,s){new a(i,s,n.nestedInclude,!0).nested.include(l)},n.notNestedInclude=function(i,l,s){new a(i,s,n.notNestedInclude,!0).not.nested.include(l)},n.deepNestedInclude=function(i,l,s){new a(i,s,n.deepNestedInclude,!0).deep.nested.include(l)},n.notDeepNestedInclude=function(i,l,s){new a(i,s,n.notDeepNestedInclude,!0).not.deep.nested.include(l)},n.ownInclude=function(i,l,s){new a(i,s,n.ownInclude,!0).own.include(l)},n.notOwnInclude=function(i,l,s){new a(i,s,n.notOwnInclude,!0).not.own.include(l)},n.deepOwnInclude=function(i,l,s){new a(i,s,n.deepOwnInclude,!0).deep.own.include(l)},n.notDeepOwnInclude=function(i,l,s){new a(i,s,n.notDeepOwnInclude,!0).not.deep.own.include(l)},n.match=function(i,l,s){new a(i,s,n.match,!0).to.match(l)},n.notMatch=function(i,l,s){new a(i,s,n.notMatch,!0).to.not.match(l)},n.property=function(i,l,s){new a(i,s,n.property,!0).to.have.property(l)},n.notProperty=function(i,l,s){new a(i,s,n.notProperty,!0).to.not.have.property(l)},n.propertyVal=function(i,l,s,f){new a(i,f,n.propertyVal,!0).to.have.property(l,s)},n.notPropertyVal=function(i,l,s,f){new a(i,f,n.notPropertyVal,!0).to.not.have.property(l,s)},n.deepPropertyVal=function(i,l,s,f){new a(i,f,n.deepPropertyVal,!0).to.have.deep.property(l,s)},n.notDeepPropertyVal=function(i,l,s,f){new a(i,f,n.notDeepPropertyVal,!0).to.not.have.deep.property(l,s)},n.ownProperty=function(i,l,s){new a(i,s,n.ownProperty,!0).to.have.own.property(l)},n.notOwnProperty=function(i,l,s){new a(i,s,n.notOwnProperty,!0).to.not.have.own.property(l)},n.ownPropertyVal=function(i,l,s,f){new a(i,f,n.ownPropertyVal,!0).to.have.own.property(l,s)},n.notOwnPropertyVal=function(i,l,s,f){new a(i,f,n.notOwnPropertyVal,!0).to.not.have.own.property(l,s)},n.deepOwnPropertyVal=function(i,l,s,f){new a(i,f,n.deepOwnPropertyVal,!0).to.have.deep.own.property(l,s)},n.notDeepOwnPropertyVal=function(i,l,s,f){new a(i,f,n.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(l,s)},n.nestedProperty=function(i,l,s){new a(i,s,n.nestedProperty,!0).to.have.nested.property(l)},n.notNestedProperty=function(i,l,s){new a(i,s,n.notNestedProperty,!0).to.not.have.nested.property(l)},n.nestedPropertyVal=function(i,l,s,f){new a(i,f,n.nestedPropertyVal,!0).to.have.nested.property(l,s)},n.notNestedPropertyVal=function(i,l,s,f){new a(i,f,n.notNestedPropertyVal,!0).to.not.have.nested.property(l,s)},n.deepNestedPropertyVal=function(i,l,s,f){new a(i,f,n.deepNestedPropertyVal,!0).to.have.deep.nested.property(l,s)},n.notDeepNestedPropertyVal=function(i,l,s,f){new a(i,f,n.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(l,s)},n.lengthOf=function(i,l,s){new a(i,s,n.lengthOf,!0).to.have.lengthOf(l)},n.hasAnyKeys=function(i,l,s){new a(i,s,n.hasAnyKeys,!0).to.have.any.keys(l)},n.hasAllKeys=function(i,l,s){new a(i,s,n.hasAllKeys,!0).to.have.all.keys(l)},n.containsAllKeys=function(i,l,s){new a(i,s,n.containsAllKeys,!0).to.contain.all.keys(l)},n.doesNotHaveAnyKeys=function(i,l,s){new a(i,s,n.doesNotHaveAnyKeys,!0).to.not.have.any.keys(l)},n.doesNotHaveAllKeys=function(i,l,s){new a(i,s,n.doesNotHaveAllKeys,!0).to.not.have.all.keys(l)},n.hasAnyDeepKeys=function(i,l,s){new a(i,s,n.hasAnyDeepKeys,!0).to.have.any.deep.keys(l)},n.hasAllDeepKeys=function(i,l,s){new a(i,s,n.hasAllDeepKeys,!0).to.have.all.deep.keys(l)},n.containsAllDeepKeys=function(i,l,s){new a(i,s,n.containsAllDeepKeys,!0).to.contain.all.deep.keys(l)},n.doesNotHaveAnyDeepKeys=function(i,l,s){new a(i,s,n.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(l)},n.doesNotHaveAllDeepKeys=function(i,l,s){new a(i,s,n.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(l)},n.throws=function(i,l,s,f){(typeof l=="string"||l instanceof RegExp)&&(s=l,l=null);var d=new a(i,f,n.throws,!0).to.throw(l,s);return u(d,"object")},n.doesNotThrow=function(i,l,s,f){(typeof l=="string"||l instanceof RegExp)&&(s=l,l=null),new a(i,f,n.doesNotThrow,!0).to.not.throw(l,s)},n.operator=function(i,l,s,f){var d;switch(l){case"==":d=i==s;break;case"===":d=i===s;break;case">":d=i>s;break;case">=":d=i>=s;break;case"<":d=in=>`\x1B[${38+u};5;${n}m`,o=(u=0)=>(n,i,l)=>`\x1B[${38+u};2;${n};${i};${l}m`;function a(){let u=new Map,n={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]}};n.color.gray=n.color.blackBright,n.bgColor.bgGray=n.bgColor.bgBlackBright,n.color.grey=n.color.blackBright,n.bgColor.bgGrey=n.bgColor.bgBlackBright;for(let[i,l]of Object.entries(n)){for(let[s,f]of Object.entries(l))n[s]={open:`\x1B[${f[0]}m`,close:`\x1B[${f[1]}m`},l[s]=n[s],u.set(f[0],f[1]);Object.defineProperty(n,i,{value:l,enumerable:!1})}return Object.defineProperty(n,"codes",{value:u,enumerable:!1}),n.color.close="\x1B[39m",n.bgColor.close="\x1B[49m",n.color.ansi256=r(),n.color.ansi16m=o(),n.bgColor.ansi256=r(10),n.bgColor.ansi16m=o(10),Object.defineProperties(n,{rgbToAnsi256:{value:(i,l,s)=>i===l&&l===s?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:i=>{let l=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!l)return[0,0,0];let{colorString:s}=l.groups;s.length===3&&(s=s.split("").map(d=>d+d).join(""));let f=Number.parseInt(s,16);return[f>>16&255,f>>8&255,f&255]},enumerable:!1},hexToAnsi256:{value:i=>n.rgbToAnsi256(...n.hexToRgb(i)),enumerable:!1}}),n}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),Yn=R({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=o,e.printListItems=a,e.printObjectProperties=u;var t=(n,i)=>{let l=Object.keys(n),s=i!==null?l.sort(i):l;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(n).forEach(f=>{Object.getOwnPropertyDescriptor(n,f).enumerable&&s.push(f)}),s};function r(n,i,l,s,f,d,c=": "){let p="",m=0,h=n.next();if(!h.done){p+=i.spacingOuter;let g=l+i.indent;for(;!h.done;){if(p+=g,m++===i.maxWidth){p+="…";break}let y=d(h.value[0],i,g,s,f),_=d(h.value[1],i,g,s,f);p+=y+c+_,h=n.next(),h.done?i.min||(p+=","):p+=`,${i.spacingInner}`}p+=i.spacingOuter+l}return p}function o(n,i,l,s,f,d){let c="",p=0,m=n.next();if(!m.done){c+=i.spacingOuter;let h=l+i.indent;for(;!m.done;){if(c+=h,p++===i.maxWidth){c+="…";break}c+=d(m.value,i,h,s,f),m=n.next(),m.done?i.min||(c+=","):c+=`,${i.spacingInner}`}c+=i.spacingOuter+l}return c}function a(n,i,l,s,f,d){let c="";if(n.length){c+=i.spacingOuter;let p=l+i.indent;for(let m=0;m{let h=s.toString();if(h==="ArrayContaining"||h==="ArrayNotContaining")return++c>f.maxDepth?`[${h}]`:`${h+a}[${(0,t.printListItems)(s.sample,f,d,c,p,m)}]`;if(h==="ObjectContaining"||h==="ObjectNotContaining")return++c>f.maxDepth?`[${h}]`:`${h+a}{${(0,t.printObjectProperties)(s.sample,f,d,c,p,m)}}`;if(h==="StringMatching"||h==="StringNotMatching"||h==="StringContaining"||h==="StringNotContaining")return h+a+m(s.sample,f,d,c,p);if(typeof s.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${s.constructor.name} does not implement toAsymmetricMatcher()`);return s.toAsymmetricMatcher()};e.serialize=u;var n=s=>s&&s.$$typeof===o;e.test=n;var i={serialize:u,test:n},l=i;e.default=l}}),Km=R({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Yn(),r=" ",o=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=d=>o.indexOf(d)!==-1||a.test(d),n=d=>d&&d.constructor&&!!d.constructor.name&&u(d.constructor.name);e.test=n;var i=d=>d.constructor.name==="NamedNodeMap",l=(d,c,p,m,h,g)=>{let y=d.constructor.name;return++m>c.maxDepth?`[${y}]`:(c.min?"":y+r)+(o.indexOf(y)!==-1?`{${(0,t.printObjectProperties)(i(d)?Array.from(d).reduce((_,S)=>(_[S.name]=S.value,_),{}):{...d},c,p,m,h,g)}}`:`[${(0,t.printListItems)(Array.from(d),c,p,m,h,g)}]`)};e.serialize=l;var s={serialize:l,test:n},f=s;e.default=f}}),Ym=R({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),Ra=R({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Ym());function r(s){return s&&s.__esModule?s:{default:s}}var o=(s,f,d,c,p,m,h)=>{let g=c+d.indent,y=d.colors;return s.map(_=>{let S=f[_],E=h(S,d,g,p,m);return typeof S!="string"&&(E.indexOf(` -`)!==-1&&(E=d.spacingOuter+g+E+d.spacingOuter+c),E=`{${E}}`),`${d.spacingInner+c+y.prop.open+_+y.prop.close}=${y.value.open}${E}${y.value.close}`}).join("")};e.printProps=o;var a=(s,f,d,c,p,m)=>s.map(h=>f.spacingOuter+d+(typeof h=="string"?u(h,f):m(h,f,d,c,p))).join("");e.printChildren=a;var u=(s,f)=>{let d=f.colors.content;return d.open+(0,t.default)(s)+d.close};e.printText=u;var n=(s,f)=>{let d=f.colors.comment;return`${d.open}${d.close}`};e.printComment=n;var i=(s,f,d,c,p)=>{let m=c.colors.tag;return`${m.open}<${s}${f&&m.close+f+c.spacingOuter+p+m.open}${d?`>${m.close}${d}${c.spacingOuter}${p}${m.open}${m.close}`};e.printElement=i;var l=(s,f)=>{let d=f.colors.tag;return`${d.open}<${s}${d.close} …${d.open} />${d.close}`};e.printElementAsLeaf=l}}),Jm=R({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ra(),r=1,o=3,a=8,u=11,n=/^((HTML|SVG)\w*)?Element$/,i=g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},l=g=>{let y=g.constructor.name,{nodeType:_,tagName:S}=g,E=typeof S=="string"&&S.includes("-")||i(g);return _===r&&(n.test(y)||E)||_===o&&y==="Text"||_===a&&y==="Comment"||_===u&&y==="DocumentFragment"},s=g=>{var y;return((y=g==null?void 0:g.constructor)==null?void 0:y.name)&&l(g)};e.test=s;function f(g){return g.nodeType===o}function d(g){return g.nodeType===a}function c(g){return g.nodeType===u}var p=(g,y,_,S,E,C)=>{if(f(g))return(0,t.printText)(g.data,y);if(d(g))return(0,t.printComment)(g.data,y);let T=c(g)?"DocumentFragment":g.tagName.toLowerCase();return++S>y.maxDepth?(0,t.printElementAsLeaf)(T,y):(0,t.printElement)(T,(0,t.printProps)(c(g)?[]:Array.from(g.attributes,O=>O.name).sort(),c(g)?{}:Array.from(g.attributes).reduce((O,v)=>(O[v.name]=v.value,O),{}),y,_+y.indent,S,E,C),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),y,_+y.indent,S,E,C),y,_)};e.serialize=p;var m={serialize:p,test:s},h=m;e.default=h}}),Xm=R({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Yn(),r="@@__IMMUTABLE_ITERABLE__@@",o="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",n="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",f="@@__IMMUTABLE_STACK__@@",d=v=>`Immutable.${v}`,c=v=>`[${v}]`,p=" ",m="…",h=(v,P,q,j,U,H,z)=>++j>P.maxDepth?c(d(z)):`${d(z)+p}{${(0,t.printIteratorEntries)(v.entries(),P,q,j,U,H)}}`;function g(v){let P=0;return{next(){if(P{let z=d(v._name||"Record");return++j>P.maxDepth?c(z):`${z+p}{${(0,t.printIteratorEntries)(g(v),P,q,j,U,H)}}`},_=(v,P,q,j,U,H)=>{let z=d("Seq");return++j>P.maxDepth?c(z):v[a]?`${z+p}{${v._iter||v._object?(0,t.printIteratorEntries)(v.entries(),P,q,j,U,H):m}}`:`${z+p}[${v._iter||v._array||v._collection||v._iterable?(0,t.printIteratorValues)(v.values(),P,q,j,U,H):m}]`},S=(v,P,q,j,U,H,z)=>++j>P.maxDepth?c(d(z)):`${d(z)+p}[${(0,t.printIteratorValues)(v.values(),P,q,j,U,H)}]`,E=(v,P,q,j,U,H)=>v[u]?h(v,P,q,j,U,H,v[n]?"OrderedMap":"Map"):v[o]?S(v,P,q,j,U,H,"List"):v[s]?S(v,P,q,j,U,H,v[n]?"OrderedSet":"Set"):v[f]?S(v,P,q,j,U,H,"Stack"):v[l]?_(v,P,q,j,U,H):y(v,P,q,j,U,H);e.serialize=E;var C=v=>v&&(v[r]===!0||v[i]===!0);e.test=C;var T={serialize:E,test:C},O=T;e.default=O}}),Qm=R({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),h=!1,g=!1,y=!1,_=!1,S=!1,E;E=Symbol.for("react.module.reference");function C(L){return!!(typeof L=="string"||typeof L=="function"||L===o||L===u||S||L===a||L===f||L===d||_||L===m||h||g||y||typeof L=="object"&&L!==null&&(L.$$typeof===p||L.$$typeof===c||L.$$typeof===n||L.$$typeof===i||L.$$typeof===s||L.$$typeof===E||L.getModuleId!==void 0))}function T(L){if(typeof L=="object"&&L!==null){var oe=L.$$typeof;switch(oe){case t:var ie=L.type;switch(ie){case o:case u:case a:case f:case d:return ie;default:var fe=ie&&ie.$$typeof;switch(fe){case l:case i:case s:case p:case c:case n:return fe;default:return oe}}case r:return oe}}}var O=i,v=n,P=t,q=s,j=o,U=p,H=c,z=r,re=u,J=a,ne=f,ae=d,se=!1,ue=!1;function x(L){return se||(se=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function M(L){return ue||(ue=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function k(L){return T(L)===i}function F(L){return T(L)===n}function G(L){return typeof L=="object"&&L!==null&&L.$$typeof===t}function $(L){return T(L)===s}function D(L){return T(L)===o}function V(L){return T(L)===p}function Q(L){return T(L)===c}function b(L){return T(L)===r}function I(L){return T(L)===u}function B(L){return T(L)===a}function K(L){return T(L)===f}function W(L){return T(L)===d}e.ContextConsumer=O,e.ContextProvider=v,e.Element=P,e.ForwardRef=q,e.Fragment=j,e.Lazy=U,e.Memo=H,e.Portal=z,e.Profiler=re,e.StrictMode=J,e.Suspense=ne,e.SuspenseList=ae,e.isAsyncMode=x,e.isConcurrentMode=M,e.isContextConsumer=k,e.isContextProvider=F,e.isElement=G,e.isForwardRef=$,e.isFragment=D,e.isLazy=V,e.isMemo=Q,e.isPortal=b,e.isProfiler=I,e.isStrictMode=B,e.isSuspense=K,e.isSuspenseList=W,e.isValidElementType=C,e.typeOf=T})()}}),Zm=R({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=Qm()}}),eh=R({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(Zm()),r=Ra();function o(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(o=function(h){return h?m:p})(c)}function a(c,p){if(!p&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var m=o(p);if(m&&m.has(c))return m.get(c);var h={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in c)if(y!=="default"&&Object.prototype.hasOwnProperty.call(c,y)){var _=g?Object.getOwnPropertyDescriptor(c,y):null;_&&(_.get||_.set)?Object.defineProperty(h,y,_):h[y]=c[y]}return h.default=c,m&&m.set(c,h),h}var u=(c,p=[])=>(Array.isArray(c)?c.forEach(m=>{u(m,p)}):c!=null&&c!==!1&&p.push(c),p),n=c=>{let p=c.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(c))return"React.Fragment";if(t.isSuspense(c))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(c))return"Context.Provider";if(t.isContextConsumer(c))return"Context.Consumer";if(t.isForwardRef(c)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?`ForwardRef(${m})`:"ForwardRef"}if(t.isMemo(c)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?`Memo(${m})`:"Memo"}}return"UNDEFINED"},i=c=>{let{props:p}=c;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},l=(c,p,m,h,g,y)=>++h>p.maxDepth?(0,r.printElementAsLeaf)(n(c),p):(0,r.printElement)(n(c),(0,r.printProps)(i(c),c.props,p,m+p.indent,h,g,y),(0,r.printChildren)(u(c.props.children),p,m+p.indent,h,g,y),p,m);e.serialize=l;var s=c=>c!=null&&t.isElement(c);e.test=s;var f={serialize:l,test:s},d=f;e.default=d}}),th=R({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ra(),r=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,o=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,a=s=>{let{props:f}=s;return f?Object.keys(f).filter(d=>f[d]!==void 0).sort():[]},u=(s,f,d,c,p,m)=>++c>f.maxDepth?(0,t.printElementAsLeaf)(s.type,f):(0,t.printElement)(s.type,s.props?(0,t.printProps)(a(s),s.props,f,d+f.indent,c,p,m):"",s.children?(0,t.printChildren)(s.children,f,d+f.indent,c,p,m):"",f,d);e.serialize=u;var n=s=>s&&s.$$typeof===o;e.test=n;var i={serialize:u,test:n},l=i;e.default=l}}),Jn=R({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=D,e.plugins=void 0;var t=s(Wm()),r=Yn(),o=s(Gm()),a=s(Km()),u=s(Jm()),n=s(Xm()),i=s(eh()),l=s(th());function s(b){return b&&b.__esModule?b:{default:b}}var f=Object.prototype.toString,d=Date.prototype.toISOString,c=Error.prototype.toString,p=RegExp.prototype.toString,m=b=>typeof b.constructor=="function"&&b.constructor.name||"Object",h=b=>typeof window<"u"&&b===window,g=/^Symbol\((.*)\)(.*)$/,y=/\n/gi,_=class extends Error{constructor(b,I){super(b),this.stack=I,this.name=this.constructor.name}};function S(b){return b==="[object Array]"||b==="[object ArrayBuffer]"||b==="[object DataView]"||b==="[object Float32Array]"||b==="[object Float64Array]"||b==="[object Int8Array]"||b==="[object Int16Array]"||b==="[object Int32Array]"||b==="[object Uint8Array]"||b==="[object Uint8ClampedArray]"||b==="[object Uint16Array]"||b==="[object Uint32Array]"}function E(b){return Object.is(b,-0)?"-0":String(b)}function C(b){return`${b}n`}function T(b,I){return I?`[Function ${b.name||"anonymous"}]`:"[Function]"}function O(b){return String(b).replace(g,"Symbol($1)")}function v(b){return`[${c.call(b)}]`}function P(b,I,B,K){if(b===!0||b===!1)return`${b}`;if(b===void 0)return"undefined";if(b===null)return"null";let W=typeof b;if(W==="number")return E(b);if(W==="bigint")return C(b);if(W==="string")return K?`"${b.replace(/"|\\/g,"\\$&")}"`:`"${b}"`;if(W==="function")return T(b,I);if(W==="symbol")return O(b);let L=f.call(b);return L==="[object WeakMap]"?"WeakMap {}":L==="[object WeakSet]"?"WeakSet {}":L==="[object Function]"||L==="[object GeneratorFunction]"?T(b,I):L==="[object Symbol]"?O(b):L==="[object Date]"?isNaN(+b)?"Date { NaN }":d.call(b):L==="[object Error]"?v(b):L==="[object RegExp]"?B?p.call(b).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(b):b instanceof Error?v(b):null}function q(b,I,B,K,W,L){if(W.indexOf(b)!==-1)return"[Circular]";W=W.slice(),W.push(b);let oe=++K>I.maxDepth,ie=I.min;if(I.callToJSON&&!oe&&b.toJSON&&typeof b.toJSON=="function"&&!L)return z(b.toJSON(),I,B,K,W,!0);let fe=f.call(b);return fe==="[object Arguments]"?oe?"[Arguments]":`${ie?"":"Arguments "}[${(0,r.printListItems)(b,I,B,K,W,z)}]`:S(fe)?oe?`[${b.constructor.name}]`:`${ie||!I.printBasicPrototype&&b.constructor.name==="Array"?"":`${b.constructor.name} `}[${(0,r.printListItems)(b,I,B,K,W,z)}]`:fe==="[object Map]"?oe?"[Map]":`Map {${(0,r.printIteratorEntries)(b.entries(),I,B,K,W,z," => ")}}`:fe==="[object Set]"?oe?"[Set]":`Set {${(0,r.printIteratorValues)(b.values(),I,B,K,W,z)}}`:oe||h(b)?`[${m(b)}]`:`${ie||!I.printBasicPrototype&&m(b)==="Object"?"":`${m(b)} `}{${(0,r.printObjectProperties)(b,I,B,K,W,z)}}`}function j(b){return b.serialize!=null}function U(b,I,B,K,W,L){let oe;try{oe=j(b)?b.serialize(I,B,K,W,L,z):b.print(I,ie=>z(ie,B,K,W,L),ie=>{let fe=K+B.indent;return fe+ie.replace(y,` -${fe}`)},{edgeSpacing:B.spacingOuter,min:B.min,spacing:B.spacingInner},B.colors)}catch(ie){throw new _(ie.message,ie.stack)}if(typeof oe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof oe}".`);return oe}function H(b,I){for(let B=0;Bb,ae=ne({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:re});e.DEFAULT_OPTIONS=ae;function se(b){if(Object.keys(b).forEach(I=>{if(!Object.prototype.hasOwnProperty.call(ae,I))throw new Error(`pretty-format: Unknown option "${I}".`)}),b.min&&b.indent!==void 0&&b.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(b.theme!==void 0){if(b.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof b.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof b.theme}".`)}}var ue=b=>J.reduce((I,B)=>{let K=b.theme&&b.theme[B]!==void 0?b.theme[B]:re[B],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[B]=W;else throw new Error(`pretty-format: Option "theme" has a key "${B}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),x=()=>J.reduce((b,I)=>(b[I]={close:"",open:""},b),Object.create(null)),M=b=>(b==null?void 0:b.printFunctionName)??ae.printFunctionName,k=b=>(b==null?void 0:b.escapeRegex)??ae.escapeRegex,F=b=>(b==null?void 0:b.escapeString)??ae.escapeString,G=b=>({callToJSON:(b==null?void 0:b.callToJSON)??ae.callToJSON,colors:b!=null&&b.highlight?ue(b):x(),compareKeys:typeof(b==null?void 0:b.compareKeys)=="function"||(b==null?void 0:b.compareKeys)===null?b.compareKeys:ae.compareKeys,escapeRegex:k(b),escapeString:F(b),indent:b!=null&&b.min?"":$((b==null?void 0:b.indent)??ae.indent),maxDepth:(b==null?void 0:b.maxDepth)??ae.maxDepth,maxWidth:(b==null?void 0:b.maxWidth)??ae.maxWidth,min:(b==null?void 0:b.min)??ae.min,plugins:(b==null?void 0:b.plugins)??ae.plugins,printBasicPrototype:(b==null?void 0:b.printBasicPrototype)??!0,printFunctionName:M(b),spacingInner:b!=null&&b.min?" ":` -`,spacingOuter:b!=null&&b.min?"":` -`});function $(b){return new Array(b+1).join(" ")}function D(b,I){if(I&&(se(I),I.plugins)){let K=H(I.plugins,b);if(K!==null)return U(K,b,G(I),"",0,[])}let B=P(b,M(I),k(I),F(I));return B!==null?B:q(b,G(I),"",0,[])}var V={AsymmetricMatcher:o.default,DOMCollection:a.default,DOMElement:u.default,Immutable:n.default,ReactElement:i.default,ReactTestComponent:l.default};e.plugins=V;var Q=D;e.default=Q}}),Vs=R({"../../node_modules/diff-sequences/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var t="diff-sequences",r=0,o=(m,h,g,y,_)=>{let S=0;for(;m{let S=0;for(;m<=h&&g<=y&&_(h,y);)h-=1,y-=1,S+=1;return S},u=(m,h,g,y,_,S,E)=>{let C=0,T=-m,O=S[C],v=O;S[C]+=o(O+1,h,y+O-T+1,g,_);let P=m{let C=0,T=m,O=S[C],v=O;S[C]-=a(h,O-1,g,y+O-T-1,_);let P=m{let P=y-h,q=g-h,j=_-y-q,U=-j-(m-1),H=-j+(m-1),z=r,re=m{let P=_-g,q=g-h,j=_-y-q,U=j-m,H=j+m,z=r,re=m{let O=y-h,v=_-g,P=g-h,q=_-y,j=q-P,U=P,H=P;if(E[0]=h-1,C[0]=g,j%2===0){let z=(m||j)/2,re=(P+q)/2;for(let J=1;J<=re;J+=1)if(U=u(J,g,_,O,S,E,U),J{if(_-y{F($,V,D)},isCommon:($,D)=>G(D,$)}}let M=h,k=g;h=y,g=_,y=M,_=k}let{foundSubsequence:v,isCommon:P}=E[S?1:0];s(m,h,g,y,_,P,C,T,O);let{nChangePreceding:q,aEndPreceding:j,bEndPreceding:U,nCommonPreceding:H,aCommonPreceding:z,bCommonPreceding:re,nCommonFollowing:J,aCommonFollowing:ne,bCommonFollowing:ae,nChangeFollowing:se,aStartFollowing:ue,bStartFollowing:x}=O;h{if(typeof h!="number")throw new TypeError(`${t}: ${m} typeof ${typeof h} is not a number`);if(!Number.isSafeInteger(h))throw new RangeError(`${t}: ${m} value ${h} is not a safe integer`);if(h<0)throw new RangeError(`${t}: ${m} value ${h} is a negative integer`)},c=(m,h)=>{let g=typeof h;if(g!=="function")throw new TypeError(`${t}: ${m} typeof ${g} is not a function`)};function p(m,h,g,y){d("aLength",m),d("bLength",h),c("isCommon",g),c("foundSubsequence",y);let _=o(0,m,0,h,g);if(_!==0&&y(_,0,0),m!==_||h!==_){let S=_,E=_,C=a(S,m-1,E,h-1,g),T=m-C,O=h-C,v=_+C;m!==v&&h!==v&&f(0,S,T,E,O,!1,[{foundSubsequence:y,isCommon:g}],[r],[r],{aCommonFollowing:r,aCommonPreceding:r,aEndPreceding:r,aStartFollowing:r,bCommonFollowing:r,bCommonPreceding:r,bEndPreceding:r,bStartFollowing:r,nChangeFollowing:r,nChangePreceding:r,nCommonFollowing:r,nCommonPreceding:r}),C!==0&&y(C,T,O)}}}}),rh=R({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let o=r.match(/^[ \t]*(?=\S)/gm);return o?o.reduce((a,u)=>Math.min(a,u.length),1/0):0}}}),nh=R({"../../node_modules/strip-indent/index.js"(e,t){var r=rh();t.exports=o=>{let a=r(o);if(a===0)return o;let u=new RegExp(`^[ \\t]{${a}}`,"gm");return o.replace(u,"")}}}),oh=R({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,o=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof o!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof o}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(o===0)return r;let u=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(u,a.indent.repeat(o))}}}),Ws=R({"../../node_modules/redent/index.js"(e,t){var r=nh(),o=oh();t.exports=(a,u=0,n)=>o(r(a),u,n)}}),ah=R({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),Gs=R({"../../node_modules/lodash/eq.js"(e,t){function r(o,a){return o===a||o!==o&&a!==a}t.exports=r}}),Xn=R({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=Gs();function o(a,u){for(var n=a.length;n--;)if(r(a[n][0],u))return n;return-1}t.exports=o}}),ih=R({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=Xn(),o=Array.prototype,a=o.splice;function u(n){var i=this.__data__,l=r(i,n);if(l<0)return!1;var s=i.length-1;return l==s?i.pop():a.call(i,l,1),--this.size,!0}t.exports=u}}),lh=R({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=Xn();function o(a){var u=this.__data__,n=r(u,a);return n<0?void 0:u[n][1]}t.exports=o}}),sh=R({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=Xn();function o(a){return r(this.__data__,a)>-1}t.exports=o}}),uh=R({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=Xn();function o(a,u){var n=this.__data__,i=r(n,a);return i<0?(++this.size,n.push([a,u])):n[i][1]=u,this}t.exports=o}}),Qn=R({"../../node_modules/lodash/_ListCache.js"(e,t){var r=ah(),o=ih(),a=lh(),u=sh(),n=uh();function i(l){var s=-1,f=l==null?0:l.length;for(this.clear();++sh))return!1;var y=p.get(l),_=p.get(s);if(y&&_)return y==s&&_==l;var S=-1,E=!0,C=f&n?new r:void 0;for(p.set(l,s),p.set(s,l);++S-1&&u%1==0&&u-1&&a%1==0&&a<=r}t.exports=o}}),Jh=R({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=Zn(),o=nu(),a=ro(),u="[object Arguments]",n="[object Array]",i="[object Boolean]",l="[object Date]",s="[object Error]",f="[object Function]",d="[object Map]",c="[object Number]",p="[object Object]",m="[object RegExp]",h="[object Set]",g="[object String]",y="[object WeakMap]",_="[object ArrayBuffer]",S="[object DataView]",E="[object Float32Array]",C="[object Float64Array]",T="[object Int8Array]",O="[object Int16Array]",v="[object Int32Array]",P="[object Uint8Array]",q="[object Uint8ClampedArray]",j="[object Uint16Array]",U="[object Uint32Array]",H={};H[E]=H[C]=H[T]=H[O]=H[v]=H[P]=H[q]=H[j]=H[U]=!0,H[u]=H[n]=H[_]=H[i]=H[S]=H[l]=H[s]=H[f]=H[d]=H[c]=H[p]=H[m]=H[h]=H[g]=H[y]=!1;function z(re){return a(re)&&o(re.length)&&!!H[r(re)]}t.exports=z}}),Xh=R({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(o){return function(a){return o(a)}}t.exports=r}}),Qh=R({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Ks(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,u=a&&a.exports===o,n=u&&r.process,i=function(){try{var l=a&&a.require&&a.require("util").types;return l||n&&n.binding&&n.binding("util")}catch{}}();t.exports=i}}),ou=R({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=Jh(),o=Xh(),a=Qh(),u=a&&a.isTypedArray,n=u?o(u):r;t.exports=n}}),Zh=R({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Vh(),o=Gh(),a=qa(),u=ru(),n=Yh(),i=ou(),l=Object.prototype,s=l.hasOwnProperty;function f(d,c){var p=a(d),m=!p&&o(d),h=!p&&!m&&u(d),g=!p&&!m&&!h&&i(d),y=p||m||h||g,_=y?r(d.length,String):[],S=_.length;for(var E in d)(c||s.call(d,E))&&!(y&&(E=="length"||h&&(E=="offset"||E=="parent")||g&&(E=="buffer"||E=="byteLength"||E=="byteOffset")||n(E,S)))&&_.push(E);return _}t.exports=f}}),ey=R({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function o(a){var u=a&&a.constructor,n=typeof u=="function"&&u.prototype||r;return a===n}t.exports=o}}),ty=R({"../../node_modules/lodash/_overArg.js"(e,t){function r(o,a){return function(u){return o(a(u))}}t.exports=r}}),ry=R({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=ty(),o=r(Object.keys,Object);t.exports=o}}),ny=R({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=ey(),o=ry(),a=Object.prototype,u=a.hasOwnProperty;function n(i){if(!r(i))return o(i);var l=[];for(var s in Object(i))u.call(i,s)&&s!="constructor"&&l.push(s);return l}t.exports=n}}),oy=R({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=Js(),o=nu();function a(u){return u!=null&&o(u.length)&&!r(u)}t.exports=a}}),ay=R({"../../node_modules/lodash/keys.js"(e,t){var r=Zh(),o=ny(),a=oy();function u(n){return a(n)?r(n):o(n)}t.exports=u}}),iy=R({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=Fh(),o=zh(),a=ay();function u(n){return r(n,a,o)}t.exports=u}}),ly=R({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=iy(),o=1,a=Object.prototype,u=a.hasOwnProperty;function n(i,l,s,f,d,c){var p=s&o,m=r(i),h=m.length,g=r(l),y=g.length;if(h!=y&&!p)return!1;for(var _=h;_--;){var S=m[_];if(!(p?S in l:u.call(l,S)))return!1}var E=c.get(i),C=c.get(l);if(E&&C)return E==l&&C==i;var T=!0;c.set(i,l),c.set(l,i);for(var O=p;++_=p.length?{done:!0}:{done:!1,value:p[g++]}},e:function(C){throw C},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,S=!1,E;return{s:function(){h=h.call(p)},n:function(){var C=h.next();return _=C.done,C},e:function(C){S=!0,E=C},f:function(){try{!_&&h.return!=null&&h.return()}finally{if(S)throw E}}}}function l(p,m){if(p){if(typeof p=="string")return s(p,m);var h=Object.prototype.toString.call(p).slice(8,-1);if(h==="Object"&&p.constructor&&(h=p.constructor.name),h==="Map"||h==="Set")return Array.from(p);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var h=0,g=new Array(m);h1&&arguments[1]!==void 0?arguments[1]:null,h=i(f),g;try{for(h.s();!(g=h.n()).done;){var y=o(g.value,2),_=y[0],S=y[1];p.call(m,S,_,f)}}catch(E){h.e(E)}finally{h.f()}},get:function(p){var m=f.find(function(h){return h[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return f.map(function(p){var m=o(p,1),h=m[0];return h})},values:function(){return f.map(function(p){var m=o(p,2),h=m[1];return h})}},c=(0,t.default)(d,d.entries());e.default=c}}),hy=R({"node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(an());function r(p){return p&&p.__esModule?p:{default:p}}function o(p,m){return n(p)||u(p,m)||l(p,m)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(p,m){var h=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(h!=null){var g=[],y=!0,_=!1,S,E;try{for(h=h.call(p);!(y=(S=h.next()).done)&&(g.push(S.value),!(m&&g.length===m));y=!0);}catch(C){_=!0,E=C}finally{try{!y&&h.return!=null&&h.return()}finally{if(_)throw E}}return g}}function n(p){if(Array.isArray(p))return p}function i(p,m){var h=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!h){if(Array.isArray(p)||(h=l(p))||m&&p&&typeof p.length=="number"){h&&(p=h);var g=0,y=function(){};return{s:y,n:function(){return g>=p.length?{done:!0}:{done:!1,value:p[g++]}},e:function(C){throw C},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _=!0,S=!1,E;return{s:function(){h=h.call(p)},n:function(){var C=h.next();return _=C.done,C},e:function(C){S=!0,E=C},f:function(){try{!_&&h.return!=null&&h.return()}finally{if(S)throw E}}}}function l(p,m){if(p){if(typeof p=="string")return s(p,m);var h=Object.prototype.toString.call(p).slice(8,-1);if(h==="Object"&&p.constructor&&(h=p.constructor.name),h==="Map"||h==="Set")return Array.from(p);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var h=0,g=new Array(m);h1&&arguments[1]!==void 0?arguments[1]:null,h=i(f),g;try{for(h.s();!(g=h.n()).done;){var y=o(g.value,2),_=y[0],S=y[1];p.call(m,S,_,f)}}catch(E){h.e(E)}finally{h.f()}},get:function(p){var m=f.find(function(h){return h[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return f.map(function(p){var m=o(p,1),h=m[0];return h})},values:function(){return f.map(function(p){var m=o(p,2),h=m[1];return h})}},c=(0,t.default)(d,d.entries());e.default=c}}),yy=R({"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),by=R({"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),gy=R({"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),vy=R({"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_y=R({"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Ey=R({"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),wy=R({"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Sy=R({"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Cy=R({"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),Py=R({"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Oy=R({"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Ry=R({"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Ty=R({"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(yy()),r=p(by()),o=p(gy()),a=p(vy()),u=p(_y()),n=p(Ey()),i=p(wy()),l=p(Sy()),s=p(Cy()),f=p(Py()),d=p(Oy()),c=p(Ry());function p(g){return g&&g.__esModule?g:{default:g}}var m=[["command",t.default],["composite",r.default],["input",o.default],["landmark",a.default],["range",u.default],["roletype",n.default],["section",i.default],["sectionhead",l.default],["select",s.default],["structure",f.default],["widget",d.default],["window",c.default]],h=m;e.default=h}}),Ay=R({"node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xy=R({"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),qy=R({"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),My=R({"node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),jy=R({"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Iy=R({"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ny=R({"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{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}}),$y=R({"node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),By=R({"node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ky=R({"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Dy=R({"node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ly=R({"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{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}}),Fy=R({"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value: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}}),Uy=R({"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Hy=R({"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),zy=R({"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Vy=R({"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Wy=R({"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),Gy=R({"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Ky=R({"node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Yy=R({"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Jy=R({"node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Xy=R({"node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Qy=R({"node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Zy=R({"node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),eb=R({"node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),tb=R({"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),rb=R({"node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),nb=R({"node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),ob=R({"node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ab=R({"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ib=R({"node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),lb=R({"node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),sb=R({"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],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}}),ub=R({"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or 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}}),cb=R({"node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),db=R({"node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),fb=R({"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),pb=R({"node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),mb=R({"node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),hb=R({"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),yb=R({"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),bb=R({"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),gb=R({"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),vb=R({"node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),_b=R({"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Eb=R({"node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),wb=R({"node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Sb=R({"node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Cb=R({"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Pb=R({"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Ob=R({"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Rb=R({"node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Tb=R({"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Ab=R({"node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),xb=R({"node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),qb=R({"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Mb=R({"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),jb=R({"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Ib=R({"node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Nb=R({"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),$b=R({"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Bb=R({"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),kb=R({"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),Db=R({"node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Lb=R({"node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Fb=R({"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ub=R({"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Hb=R({"node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),zb=R({"node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),Vb=R({"node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Wb=R({"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),Gb=R({"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Kb=R({"node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Yb=R({"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],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}}),Jb=R({"node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Xb=R({"node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),Qb=R({"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),Zb=R({"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),eg=R({"node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),tg=R({"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),rg=R({"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),ng=R({"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ee(Ay()),r=ee(xy()),o=ee(qy()),a=ee(My()),u=ee(jy()),n=ee(Iy()),i=ee(Ny()),l=ee($y()),s=ee(By()),f=ee(ky()),d=ee(Dy()),c=ee(Ly()),p=ee(Fy()),m=ee(Uy()),h=ee(Hy()),g=ee(zy()),y=ee(Vy()),_=ee(Wy()),S=ee(Gy()),E=ee(Ky()),C=ee(Yy()),T=ee(Jy()),O=ee(Xy()),v=ee(Qy()),P=ee(Zy()),q=ee(eb()),j=ee(tb()),U=ee(rb()),H=ee(nb()),z=ee(ob()),re=ee(ab()),J=ee(ib()),ne=ee(lb()),ae=ee(sb()),se=ee(ub()),ue=ee(cb()),x=ee(db()),M=ee(fb()),k=ee(pb()),F=ee(mb()),G=ee(hb()),$=ee(yb()),D=ee(bb()),V=ee(gb()),Q=ee(vb()),b=ee(_b()),I=ee(Eb()),B=ee(wb()),K=ee(Sb()),W=ee(Cb()),L=ee(Pb()),oe=ee(Ob()),ie=ee(Rb()),fe=ee(Tb()),Ee=ee(Ab()),Ae=ee(xb()),it=ee(qb()),ze=ee(Mb()),We=ee(jb()),lt=ee(Ib()),Ie=ee(Nb()),Ce=ee($b()),Ge=ee(Bb()),Pe=ee(kb()),Re=ee(Db()),xe=ee(Lb()),Ke=ee(Fb()),Lt=ee(Ub()),mt=ee(Hb()),Ne=ee(zb()),Y=ee(Vb()),Z=ee(Wb()),he=ee(Gb()),w=ee(Kb()),A=ee(Yb()),N=ee(Jb()),X=ee(Xb()),te=ee(Qb()),le=ee(Zb()),ce=ee(eg()),de=ee(tg()),pe=ee(rg());function ee(Fe){return Fe&&Fe.__esModule?Fe:{default:Fe}}var be=[["alert",t.default],["alertdialog",r.default],["application",o.default],["article",a.default],["banner",u.default],["blockquote",n.default],["button",i.default],["caption",l.default],["cell",s.default],["checkbox",f.default],["code",d.default],["columnheader",c.default],["combobox",p.default],["complementary",m.default],["contentinfo",h.default],["definition",g.default],["deletion",y.default],["dialog",_.default],["directory",S.default],["document",E.default],["emphasis",C.default],["feed",T.default],["figure",O.default],["form",v.default],["generic",P.default],["grid",q.default],["gridcell",j.default],["group",U.default],["heading",H.default],["img",z.default],["insertion",re.default],["link",J.default],["list",ne.default],["listbox",ae.default],["listitem",se.default],["log",ue.default],["main",x.default],["marquee",M.default],["math",k.default],["menu",F.default],["menubar",G.default],["menuitem",$.default],["menuitemcheckbox",D.default],["menuitemradio",V.default],["meter",Q.default],["navigation",b.default],["none",I.default],["note",B.default],["option",K.default],["paragraph",W.default],["presentation",L.default],["progressbar",oe.default],["radio",ie.default],["radiogroup",fe.default],["region",Ee.default],["row",Ae.default],["rowgroup",it.default],["rowheader",ze.default],["scrollbar",We.default],["search",lt.default],["searchbox",Ie.default],["separator",Ce.default],["slider",Ge.default],["spinbutton",Pe.default],["status",Re.default],["strong",xe.default],["subscript",Ke.default],["superscript",Lt.default],["switch",mt.default],["tab",Ne.default],["table",Y.default],["tablist",Z.default],["tabpanel",he.default],["term",w.default],["textbox",A.default],["time",N.default],["timer",X.default],["toolbar",te.default],["tooltip",le.default],["tree",ce.default],["treegrid",de.default],["treeitem",pe.default]],Oe=be;e.default=Oe}}),og=R({"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ag=R({"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ig=R({"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),lg=R({"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),sg=R({"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],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}}),ug=R({"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),cg=R({"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),dg=R({"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),fg=R({"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),pg=R({"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),mg=R({"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),hg=R({"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),yg=R({"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),bg=R({"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),gg=R({"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),vg=R({"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),_g=R({"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Eg=R({"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wg=R({"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Sg=R({"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Cg=R({"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Pg=R({"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Og=R({"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Rg=R({"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Tg=R({"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Ag=R({"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),xg=R({"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),qg=R({"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Mg=R({"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),jg=R({"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),Ig=R({"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),Ng=R({"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),$g=R({"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Bg=R({"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),kg=R({"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),Dg=R({"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Lg=R({"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Fg=R({"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),Ug=R({"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),Hg=R({"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=F(og()),r=F(ag()),o=F(ig()),a=F(lg()),u=F(sg()),n=F(ug()),i=F(cg()),l=F(dg()),s=F(fg()),f=F(pg()),d=F(mg()),c=F(hg()),p=F(yg()),m=F(bg()),h=F(gg()),g=F(vg()),y=F(_g()),_=F(Eg()),S=F(wg()),E=F(Sg()),C=F(Cg()),T=F(Pg()),O=F(Og()),v=F(Rg()),P=F(Tg()),q=F(Ag()),j=F(xg()),U=F(qg()),H=F(Mg()),z=F(jg()),re=F(Ig()),J=F(Ng()),ne=F($g()),ae=F(Bg()),se=F(kg()),ue=F(Dg()),x=F(Lg()),M=F(Fg()),k=F(Ug());function F(D){return D&&D.__esModule?D:{default:D}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",o.default],["doc-appendix",a.default],["doc-backlink",u.default],["doc-biblioentry",n.default],["doc-bibliography",i.default],["doc-biblioref",l.default],["doc-chapter",s.default],["doc-colophon",f.default],["doc-conclusion",d.default],["doc-cover",c.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",h.default],["doc-endnote",g.default],["doc-endnotes",y.default],["doc-epigraph",_.default],["doc-epilogue",S.default],["doc-errata",E.default],["doc-example",C.default],["doc-footnote",T.default],["doc-foreword",O.default],["doc-glossary",v.default],["doc-glossref",P.default],["doc-index",q.default],["doc-introduction",j.default],["doc-noteref",U.default],["doc-notice",H.default],["doc-pagebreak",z.default],["doc-pagelist",re.default],["doc-part",J.default],["doc-preface",ne.default],["doc-prologue",ae.default],["doc-pullquote",se.default],["doc-qna",ue.default],["doc-subtitle",x.default],["doc-tip",M.default],["doc-toc",k.default]],$=G;e.default=$}}),zg=R({"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),Vg=R({"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),Wg=R({"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),Gg=R({"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(zg()),r=a(Vg()),o=a(Wg());function a(i){return i&&i.__esModule?i:{default:i}}var u=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",o.default]],n=u;e.default=n}}),Ma=R({"node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ty()),r=n(ng()),o=n(Hg()),a=n(Gg()),u=n(an());function n(_){return _&&_.__esModule?_:{default:_}}function i(_,S,E){return S in _?Object.defineProperty(_,S,{value:E,enumerable:!0,configurable:!0,writable:!0}):_[S]=E,_}function l(_,S){var E=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!E){if(Array.isArray(_)||(E=d(_))||S&&_&&typeof _.length=="number"){E&&(_=E);var C=0,T=function(){};return{s:T,n:function(){return C>=_.length?{done:!0}:{done:!1,value:_[C++]}},e:function(q){throw q},f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O=!0,v=!1,P;return{s:function(){E=E.call(_)},n:function(){var q=E.next();return O=q.done,q},e:function(q){v=!0,P=q},f:function(){try{!O&&E.return!=null&&E.return()}finally{if(v)throw P}}}}function s(_,S){return m(_)||p(_,S)||d(_,S)||f()}function f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(_,S){if(_){if(typeof _=="string")return c(_,S);var E=Object.prototype.toString.call(_).slice(8,-1);if(E==="Object"&&_.constructor&&(E=_.constructor.name),E==="Map"||E==="Set")return Array.from(_);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return c(_,S)}}function c(_,S){(S==null||S>_.length)&&(S=_.length);for(var E=0,C=new Array(S);E1&&arguments[1]!==void 0?arguments[1]:null,E=l(h),C;try{for(E.s();!(C=E.n()).done;){var T=s(C.value,2),O=T[0],v=T[1];_.call(S,v,O,h)}}catch(P){E.e(P)}finally{E.f()}},get:function(_){var S=h.find(function(E){return E[0]===_});return S&&S[1]},has:function(_){return!!g.get(_)},keys:function(){return h.map(function(_){var S=s(_,1),E=S[0];return E})},values:function(){return h.map(function(_){var S=s(_,2),E=S[1];return E})}},y=(0,u.default)(g,g.entries());e.default=y}}),su=R({"../../node_modules/object-keys/isArguments.js"(e,t){var r=Object.prototype.toString;t.exports=function(o){var a=r.call(o),u=a==="[object Arguments]";return u||(u=a!=="[object Array]"&&o!==null&&typeof o=="object"&&typeof o.length=="number"&&o.length>=0&&r.call(o.callee)==="[object Function]"),u}}}),Kg=R({"../../node_modules/object-keys/implementation.js"(e,t){var r;Object.keys||(o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,u=su(),n=Object.prototype.propertyIsEnumerable,i=!n.call({toString:null},"toString"),l=n.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(m){var h=m.constructor;return h&&h.prototype===m},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!d["$"+m]&&o.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{f(window[m])}catch{return!0}}catch{return!0}return!1}(),p=function(m){if(typeof window>"u"||!c)return f(m);try{return f(m)}catch{return!1}},r=function(m){var h=m!==null&&typeof m=="object",g=a.call(m)==="[object Function]",y=u(m),_=h&&a.call(m)==="[object String]",S=[];if(!h&&!g&&!y)throw new TypeError("Object.keys called on a non-object");var E=l&&g;if(_&&m.length>0&&!o.call(m,0))for(var C=0;C0)for(var T=0;T"u"||!y?r:y(Uint8Array),E={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":h&&y?y([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":_,"%AsyncGenerator%":_,"%AsyncGeneratorFunction%":_,"%AsyncIteratorPrototype%":_,"%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%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":_,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":h&&y?y(y([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!h||!y?r:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":u,"%ReferenceError%":n,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!h||!y?r:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":h&&y?y(""[Symbol.iterator]()):r,"%Symbol%":h?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":m,"%TypedArray%":S,"%TypeError%":l,"%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%":s,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(y)try{null.error}catch(se){C=y(y(se)),E["%Error.prototype%"]=C}var C,T=function se(ue){var x;if(ue==="%AsyncFunction%")x=d("async function () {}");else if(ue==="%GeneratorFunction%")x=d("function* () {}");else if(ue==="%AsyncGeneratorFunction%")x=d("async function* () {}");else if(ue==="%AsyncGenerator%"){var M=se("%AsyncGeneratorFunction%");M&&(x=M.prototype)}else if(ue==="%AsyncIteratorPrototype%"){var k=se("%AsyncGenerator%");k&&y&&(x=y(k.prototype))}return E[ue]=x,x},O={__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"]},v=Na(),P=cu(),q=v.call(Function.call,Array.prototype.concat),j=v.call(Function.apply,Array.prototype.splice),U=v.call(Function.call,String.prototype.replace),H=v.call(Function.call,String.prototype.slice),z=v.call(Function.call,RegExp.prototype.exec),re=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,J=/\\(\\)?/g,ne=function(se){var ue=H(se,0,1),x=H(se,-1);if(ue==="%"&&x!=="%")throw new i("invalid intrinsic syntax, expected closing `%`");if(x==="%"&&ue!=="%")throw new i("invalid intrinsic syntax, expected opening `%`");var M=[];return U(se,re,function(k,F,G,$){M[M.length]=G?U($,J,"$1"):F||k}),M},ae=function(se,ue){var x=se,M;if(P(O,x)&&(M=O[x],x="%"+M[0]+"%"),P(E,x)){var k=E[x];if(k===_&&(k=T(x)),typeof k>"u"&&!ue)throw new l("intrinsic "+se+" exists, but is not available. Please file an issue!");return{alias:M,name:x,value:k}}throw new i("intrinsic "+se+" does not exist!")};t.exports=function(se,ue){if(typeof se!="string"||se.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ue!="boolean")throw new l('"allowMissing" argument must be a boolean');if(z(/^%?[^%]*%?$/,se)===null)throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var x=ne(se),M=x.length>0?x[0]:"",k=ae("%"+M+"%",ue),F=k.name,G=k.value,$=!1,D=k.alias;D&&(M=D[0],j(x,q([0,1],D)));for(var V=1,Q=!0;V=x.length){var K=c(G,b);Q=!!K,Q&&"get"in K&&!("originalValue"in K.get)?G=K.get:G=G[b]}else Q=P(G,b),G=G[b];Q&&!$&&(E[F]=G)}}return G}}}),$a=R({"../../node_modules/es-define-property/index.js"(e,t){var r=ct(),o=r("%Object.defineProperty%",!0)||!1;if(o)try{o({},"a",{value:1})}catch{o=!1}t.exports=o}}),Ba=R({"../../node_modules/gopd/index.js"(e,t){var r=ct(),o=r("%Object.getOwnPropertyDescriptor%",!0);if(o)try{o([],"length")}catch{o=null}t.exports=o}}),ka=R({"../../node_modules/define-data-property/index.js"(e,t){var r=$a(),o=uu(),a=Qt(),u=Ba();t.exports=function(n,i,l){if(!n||typeof n!="object"&&typeof n!="function")throw new a("`obj` must be an object or a function`");if(typeof i!="string"&&typeof i!="symbol")throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,c=arguments.length>6?arguments[6]:!1,p=!!u&&u(n,i);if(r)r(n,i,{configurable:d===null&&p?p.configurable:!d,enumerable:s===null&&p?p.enumerable:!s,value:l,writable:f===null&&p?p.writable:!f});else if(c||!s&&!f&&!d)n[i]=l;else throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}}),Da=R({"../../node_modules/has-property-descriptors/index.js"(e,t){var r=$a(),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},t.exports=o}}),Zt=R({"../../node_modules/define-properties/index.js"(e,t){var r=ja(),o=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",a=Object.prototype.toString,u=Array.prototype.concat,n=ka(),i=function(d){return typeof d=="function"&&a.call(d)==="[object Function]"},l=Da()(),s=function(d,c,p,m){if(c in d){if(m===!0){if(d[c]===p)return}else if(!i(m)||!m())return}l?n(d,c,p,!0):n(d,c,p)},f=function(d,c){var p=arguments.length>2?arguments[2]:{},m=r(c);o&&(m=u.call(m,Object.getOwnPropertySymbols(c)));for(var h=0;h4294967295||i(s)!==s)throw new n("`length` must be a positive 32-bit integer");var f=arguments.length>2&&!!arguments[2],d=!0,c=!0;if("length"in l&&u){var p=u(l,"length");p&&!p.configurable&&(d=!1),p&&!p.writable&&(c=!1)}return(d||c||!f)&&(a?o(l,"length",s,!0,!0):o(l,"length",s)),l}}}),Ar=R({"../../node_modules/call-bind/index.js"(e,t){var r=Na(),o=ct(),a=rv(),u=Qt(),n=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||r.call(i,n),s=$a(),f=o("%Math.max%");t.exports=function(c){if(typeof c!="function")throw new u("a function is required");var p=l(r,i,arguments);return a(p,1+f(0,c.length-(arguments.length-1)),!0)};var d=function(){return l(r,n,arguments)};s?s(t.exports,"apply",{value:d}):t.exports.apply=d}}),et=R({"../../node_modules/call-bind/callBound.js"(e,t){var r=ct(),o=Ar(),a=o(r("String.prototype.indexOf"));t.exports=function(u,n){var i=r(u,!!n);return typeof i=="function"&&a(u,".prototype.")>-1?o(i):i}}}),du=R({"../../node_modules/object.assign/implementation.js"(e,t){var r=ja(),o=no()(),a=et(),u=Object,n=a("Array.prototype.push"),i=a("Object.prototype.propertyIsEnumerable"),l=o?Object.getOwnPropertySymbols:null;t.exports=function(s,f){if(s==null)throw new TypeError("target must be an object");var d=u(s);if(arguments.length===1)return d;for(var c=1;c2&&!!arguments[2];return(!l||a)&&(o?r(n,"name",i,!0,!0):r(n,"name",i)),n}}}),pu=R({"../../node_modules/regexp.prototype.flags/implementation.js"(e,t){var r=iv(),o=Qt(),a=Object;t.exports=r(function(){if(this==null||this!==a(this))throw new o("RegExp.prototype.flags getter called on non-object");var u="";return this.hasIndices&&(u+="d"),this.global&&(u+="g"),this.ignoreCase&&(u+="i"),this.multiline&&(u+="m"),this.dotAll&&(u+="s"),this.unicode&&(u+="u"),this.unicodeSets&&(u+="v"),this.sticky&&(u+="y"),u},"get flags",!0)}}),mu=R({"../../node_modules/regexp.prototype.flags/polyfill.js"(e,t){var r=pu(),o=Zt().supportsDescriptors,a=Object.getOwnPropertyDescriptor;t.exports=function(){if(o&&/a/mig.flags==="gim"){var u=a(RegExp.prototype,"flags");if(u&&typeof u.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var n="",i={};if(Object.defineProperty(i,"hasIndices",{get:function(){n+="d"}}),Object.defineProperty(i,"sticky",{get:function(){n+="y"}}),n==="dy")return u.get}}return r}}}),lv=R({"../../node_modules/regexp.prototype.flags/shim.js"(e,t){var r=Zt().supportsDescriptors,o=mu(),a=Object.getOwnPropertyDescriptor,u=Object.defineProperty,n=TypeError,i=Object.getPrototypeOf,l=/a/;t.exports=function(){if(!r||!i)throw new n("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var s=o(),f=i(l),d=a(f,"flags");return(!d||d.get!==s)&&u(f,"flags",{configurable:!0,enumerable:!1,get:s}),s}}}),sv=R({"../../node_modules/regexp.prototype.flags/index.js"(e,t){var r=Zt(),o=Ar(),a=pu(),u=mu(),n=lv(),i=o(u());r(i,{getPolyfill:u,implementation:a,shim:n}),t.exports=i}}),er=R({"../../node_modules/has-tostringtag/shams.js"(e,t){var r=no();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),hu=R({"../../node_modules/is-arguments/index.js"(e,t){var r=er()(),o=et(),a=o("Object.prototype.toString"),u=function(l){return r&&l&&typeof l=="object"&&Symbol.toStringTag in l?!1:a(l)==="[object Arguments]"},n=function(l){return u(l)?!0:l!==null&&typeof l=="object"&&typeof l.length=="number"&&l.length>=0&&a(l)!=="[object Array]"&&a(l.callee)==="[object Function]"},i=function(){return u(arguments)}();u.isLegacyArguments=n,t.exports=i?u:n}}),uv=R({"(disabled):../../node_modules/object-inspect/util.inspect"(){}}),cv=R({"../../node_modules/object-inspect/index.js"(e,t){var r=typeof Map=="function"&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&typeof o.get=="function"?o.get:null,u=r&&Map.prototype.forEach,n=typeof Set=="function"&&Set.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=n&&i&&typeof i.get=="function"?i.get:null,s=n&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,d=f?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,p=c?WeakSet.prototype.has:null,m=typeof WeakRef=="function"&&WeakRef.prototype,h=m?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,y=Object.prototype.toString,_=Function.prototype.toString,S=String.prototype.match,E=String.prototype.slice,C=String.prototype.replace,T=String.prototype.toUpperCase,O=String.prototype.toLowerCase,v=RegExp.prototype.test,P=Array.prototype.concat,q=Array.prototype.join,j=Array.prototype.slice,U=Math.floor,H=typeof BigInt=="function"?BigInt.prototype.valueOf:null,z=Object.getOwnPropertySymbols,re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,J=typeof Symbol=="function"&&typeof Symbol.iterator=="object",ne=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===J||!0)?Symbol.toStringTag:null,ae=Object.prototype.propertyIsEnumerable,se=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Y){return Y.__proto__}:null);function ue(Y,Z){if(Y===1/0||Y===-1/0||Y!==Y||Y&&Y>-1e3&&Y<1e3||v.call(/e/,Z))return Z;var he=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Y=="number"){var w=Y<0?-U(-Y):U(Y);if(w!==Y){var A=String(w),N=E.call(Z,A.length+1);return C.call(A,he,"$&_")+"."+C.call(C.call(N,/([0-9]{3})/g,"$&_"),/_$/,"")}}return C.call(Z,he,"$&_")}var x=uv(),M=x.custom,k=K(M)?M:null;t.exports=function Y(Z,he,w,A){var N=he||{};if(oe(N,"quoteStyle")&&N.quoteStyle!=="single"&&N.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(oe(N,"maxStringLength")&&(typeof N.maxStringLength=="number"?N.maxStringLength<0&&N.maxStringLength!==1/0:N.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var X=oe(N,"customInspect")?N.customInspect:!0;if(typeof X!="boolean"&&X!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(oe(N,"indent")&&N.indent!==null&&N.indent!==" "&&!(parseInt(N.indent,10)===N.indent&&N.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(oe(N,"numericSeparator")&&typeof N.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var te=N.numericSeparator;if(typeof Z>"u")return"undefined";if(Z===null)return"null";if(typeof Z=="boolean")return Z?"true":"false";if(typeof Z=="string")return Ce(Z,N);if(typeof Z=="number"){if(Z===0)return 1/0/Z>0?"0":"-0";var le=String(Z);return te?ue(Z,le):le}if(typeof Z=="bigint"){var ce=String(Z)+"n";return te?ue(Z,ce):ce}var de=typeof N.depth>"u"?5:N.depth;if(typeof w>"u"&&(w=0),w>=de&&de>0&&typeof Z=="object")return $(Z)?"[Array]":"[Object]";var pe=Lt(N,w);if(typeof A>"u")A=[];else if(Ee(A,Z)>=0)return"[Circular]";function ee(ir,cn,Xf){if(cn&&(A=j.call(A),A.push(cn)),Xf){var pi={depth:N.depth};return oe(N,"quoteStyle")&&(pi.quoteStyle=N.quoteStyle),Y(ir,pi,w+1,A)}return Y(ir,N,w+1,A)}if(typeof Z=="function"&&!V(Z)){var be=fe(Z),Oe=Ne(Z,ee);return"[Function"+(be?": "+be:" (anonymous)")+"]"+(Oe.length>0?" { "+q.call(Oe,", ")+" }":"")}if(K(Z)){var Fe=J?C.call(String(Z),/^(Symbol\(.*\))_[^)]*$/,"$1"):re.call(Z);return typeof Z=="object"&&!J?Pe(Fe):Fe}if(Ie(Z)){for(var Me="<"+O.call(String(Z.nodeName)),je=Z.attributes||[],$e=0;$e",Me}if($(Z)){if(Z.length===0)return"[]";var Ft=Ne(Z,ee);return pe&&!Ke(Ft)?"["+mt(Ft,pe)+"]":"[ "+q.call(Ft,", ")+" ]"}if(Q(Z)){var ht=Ne(Z,ee);return!("cause"in Error.prototype)&&"cause"in Z&&!ae.call(Z,"cause")?"{ ["+String(Z)+"] "+q.call(P.call("[cause]: "+ee(Z.cause),ht),", ")+" }":ht.length===0?"["+String(Z)+"]":"{ ["+String(Z)+"] "+q.call(ht,", ")+" }"}if(typeof Z=="object"&&X){if(k&&typeof Z[k]=="function"&&x)return x(Z,{depth:de-w});if(X!=="symbol"&&typeof Z.inspect=="function")return Z.inspect()}if(Ae(Z)){var ar=[];return u&&u.call(Z,function(ir,cn){ar.push(ee(cn,Z,!0)+" => "+ee(ir,Z))}),xe("Map",a.call(Z),ar,pe)}if(We(Z)){var Tt=[];return s&&s.call(Z,function(ir){Tt.push(ee(ir,Z))}),xe("Set",l.call(Z),Tt,pe)}if(it(Z))return Re("WeakMap");if(lt(Z))return Re("WeakSet");if(ze(Z))return Re("WeakRef");if(I(Z))return Pe(ee(Number(Z)));if(W(Z))return Pe(ee(H.call(Z)));if(B(Z))return Pe(g.call(Z));if(b(Z))return Pe(ee(String(Z)));if(typeof window<"u"&&Z===window)return"{ [object Window] }";if(Z===global)return"{ [object globalThis] }";if(!D(Z)&&!V(Z)){var Ut=Ne(Z,ee),st=se?se(Z)===Object.prototype:Z instanceof Object||Z.constructor===Object,yo=Z instanceof Object?"":"null prototype",fi=!st&&ne&&Object(Z)===Z&&ne in Z?E.call(ie(Z),8,-1):yo?"Object":"",Jf=st||typeof Z.constructor!="function"?"":Z.constructor.name?Z.constructor.name+" ":"",bo=Jf+(fi||yo?"["+q.call(P.call([],fi||[],yo||[]),": ")+"] ":"");return Ut.length===0?bo+"{}":pe?bo+"{"+mt(Ut,pe)+"}":bo+"{ "+q.call(Ut,", ")+" }"}return String(Z)};function F(Y,Z,he){var w=(he.quoteStyle||Z)==="double"?'"':"'";return w+Y+w}function G(Y){return C.call(String(Y),/"/g,""")}function $(Y){return ie(Y)==="[object Array]"&&(!ne||!(typeof Y=="object"&&ne in Y))}function D(Y){return ie(Y)==="[object Date]"&&(!ne||!(typeof Y=="object"&&ne in Y))}function V(Y){return ie(Y)==="[object RegExp]"&&(!ne||!(typeof Y=="object"&&ne in Y))}function Q(Y){return ie(Y)==="[object Error]"&&(!ne||!(typeof Y=="object"&&ne in Y))}function b(Y){return ie(Y)==="[object String]"&&(!ne||!(typeof Y=="object"&&ne in Y))}function I(Y){return ie(Y)==="[object Number]"&&(!ne||!(typeof Y=="object"&&ne in Y))}function B(Y){return ie(Y)==="[object Boolean]"&&(!ne||!(typeof Y=="object"&&ne in Y))}function K(Y){if(J)return Y&&typeof Y=="object"&&Y instanceof Symbol;if(typeof Y=="symbol")return!0;if(!Y||typeof Y!="object"||!re)return!1;try{return re.call(Y),!0}catch{}return!1}function W(Y){if(!Y||typeof Y!="object"||!H)return!1;try{return H.call(Y),!0}catch{}return!1}var L=Object.prototype.hasOwnProperty||function(Y){return Y in this};function oe(Y,Z){return L.call(Y,Z)}function ie(Y){return y.call(Y)}function fe(Y){if(Y.name)return Y.name;var Z=S.call(_.call(Y),/^function\s*([\w$]+)/);return Z?Z[1]:null}function Ee(Y,Z){if(Y.indexOf)return Y.indexOf(Z);for(var he=0,w=Y.length;heZ.maxStringLength){var he=Y.length-Z.maxStringLength,w="... "+he+" more character"+(he>1?"s":"");return Ce(E.call(Y,0,Z.maxStringLength),Z)+w}var A=C.call(C.call(Y,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ge);return F(A,"single",Z)}function Ge(Y){var Z=Y.charCodeAt(0),he={8:"b",9:"t",10:"n",12:"f",13:"r"}[Z];return he?"\\"+he:"\\x"+(Z<16?"0":"")+T.call(Z.toString(16))}function Pe(Y){return"Object("+Y+")"}function Re(Y){return Y+" { ? }"}function xe(Y,Z,he,w){var A=w?mt(he,w):q.call(he,", ");return Y+" ("+Z+") {"+A+"}"}function Ke(Y){for(var Z=0;Z=0)return!1;return!0}function Lt(Y,Z){var he;if(Y.indent===" ")he=" ";else if(typeof Y.indent=="number"&&Y.indent>0)he=q.call(Array(Y.indent+1)," ");else return null;return{base:he,prev:q.call(Array(Z+1),he)}}function mt(Y,Z){if(Y.length===0)return"";var he=` -`+Z.prev+Z.base;return he+q.call(Y,","+he)+` -`+Z.prev}function Ne(Y,Z){var he=$(Y),w=[];if(he){w.length=Y.length;for(var A=0;A=U)return j+1;var H=c(q,j);if(H<55296||H>56319)return j+1;var z=c(q,j+1);return z<56320||z>57343?j+1:j+2},h=function(q){var j=0;return{next:function(){var U=j>=q.length,H;return U||(H=q[j],j+=1),{done:U,value:H}}}},g=function(q,j){if(u(q)||r(q))return h(q);if(n(q)){var U=0;return{next:function(){var H=m(q,U),z=p(q,U,H);return U=H,{done:H>q.length,value:z}}}}if(j&&typeof q["_es6-shim iterator_"]<"u")return q["_es6-shim iterator_"]()},!l&&!s?t.exports=function(q){if(q!=null)return g(q,!0)}:(y=vu(),_=_u(),S=f("Map.prototype.forEach",!0),E=f("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&(C=f("Map.prototype.iterator",!0),T=f("Set.prototype.iterator",!0)),O=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),v=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0),P=function(q){if(y(q)){if(C)return o(C(q));if(O)return O(q);if(S){var j=[];return S(q,function(H,z){d(j,[z,H])}),h(j)}}if(_(q)){if(T)return o(T(q));if(v)return v(q);if(E){var U=[];return E(q,function(H){d(U,H)}),h(U)}}},t.exports=function(q){return P(q)||g(q)}));var a,u,n,i,l,s,f,d,c,p,m,h,g,y,_,S,E,C,T,O,v,P}}),Eu=R({"../../node_modules/object-is/implementation.js"(e,t){var r=function(o){return o!==o};t.exports=function(o,a){return o===0&&a===0?1/o===1/a:!!(o===a||r(o)&&r(a))}}}),wu=R({"../../node_modules/object-is/polyfill.js"(e,t){var r=Eu();t.exports=function(){return typeof Object.is=="function"?Object.is:r}}}),mv=R({"../../node_modules/object-is/shim.js"(e,t){var r=wu(),o=Zt();t.exports=function(){var a=r();return o(Object,{is:a},{is:function(){return Object.is!==a}}),a}}}),hv=R({"../../node_modules/object-is/index.js"(e,t){var r=Zt(),o=Ar(),a=Eu(),u=wu(),n=mv(),i=o(u(),Object);r(i,{getPolyfill:u,implementation:a,shim:n}),t.exports=i}}),Su=R({"../../node_modules/is-array-buffer/index.js"(e,t){var r=Ar(),o=et(),a=ct(),u=a("%ArrayBuffer%",!0),n=o("ArrayBuffer.prototype.byteLength",!0),i=o("Object.prototype.toString"),l=!!u&&!n&&new u(0).slice,s=!!l&&r(l);t.exports=n||s?function(f){if(!f||typeof f!="object")return!1;try{return n?n(f):s(f,0),!0}catch{return!1}}:u?function(f){return i(f)==="[object ArrayBuffer]"}:function(f){return!1}}}),yv=R({"../../node_modules/is-date-object/index.js"(e,t){var r=Date.prototype.getDay,o=function(i){try{return r.call(i),!0}catch{return!1}},a=Object.prototype.toString,u="[object Date]",n=er()();t.exports=function(i){return typeof i!="object"||i===null?!1:n?o(i):a.call(i)===u}}}),bv=R({"../../node_modules/is-regex/index.js"(e,t){var r=et(),o=er()(),a,u,n,i;o&&(a=r("Object.prototype.hasOwnProperty"),u=r("RegExp.prototype.exec"),n={},l=function(){throw n},i={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=l));var l,s=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,d="[object RegExp]";t.exports=o?function(c){if(!c||typeof c!="object")return!1;var p=f(c,"lastIndex"),m=p&&a(p,"value");if(!m)return!1;try{u(c,i)}catch(h){return h===n}}:function(c){return!c||typeof c!="object"&&typeof c!="function"?!1:s(c)===d}}}),gv=R({"../../node_modules/is-shared-array-buffer/index.js"(e,t){var r=et(),o=r("SharedArrayBuffer.prototype.byteLength",!0);t.exports=o?function(a){if(!a||typeof a!="object")return!1;try{return o(a),!0}catch{return!1}}:function(a){return!1}}}),vv=R({"../../node_modules/is-number-object/index.js"(e,t){var r=Number.prototype.toString,o=function(i){try{return r.call(i),!0}catch{return!1}},a=Object.prototype.toString,u="[object Number]",n=er()();t.exports=function(i){return typeof i=="number"?!0:typeof i!="object"?!1:n?o(i):a.call(i)===u}}}),_v=R({"../../node_modules/is-boolean-object/index.js"(e,t){var r=et(),o=r("Boolean.prototype.toString"),a=r("Object.prototype.toString"),u=function(l){try{return o(l),!0}catch{return!1}},n="[object Boolean]",i=er()();t.exports=function(l){return typeof l=="boolean"?!0:l===null||typeof l!="object"?!1:i&&Symbol.toStringTag in l?u(l):a(l)===n}}}),Ev=R({"../../node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,o=Ia()();o?(a=Symbol.prototype.toString,u=/^Symbol\(.*\)$/,n=function(i){return typeof i.valueOf()!="symbol"?!1:u.test(a.call(i))},t.exports=function(i){if(typeof i=="symbol")return!0;if(r.call(i)!=="[object Symbol]")return!1;try{return n(i)}catch{return!1}}):t.exports=function(i){return!1};var a,u,n}}),wv=R({"../../node_modules/has-bigints/index.js"(e,t){var r=typeof BigInt<"u"&&BigInt;t.exports=function(){return typeof r=="function"&&typeof BigInt=="function"&&typeof r(42)=="bigint"&&typeof BigInt(42)=="bigint"}}}),Sv=R({"../../node_modules/is-bigint/index.js"(e,t){var r=wv()();r?(o=BigInt.prototype.valueOf,a=function(u){try{return o.call(u),!0}catch{}return!1},t.exports=function(u){return u===null||typeof u>"u"||typeof u=="boolean"||typeof u=="string"||typeof u=="number"||typeof u=="symbol"||typeof u=="function"?!1:typeof u=="bigint"?!0:a(u)}):t.exports=function(u){return!1};var o,a}}),Cv=R({"../../node_modules/which-boxed-primitive/index.js"(e,t){var r=gu(),o=vv(),a=_v(),u=Ev(),n=Sv();t.exports=function(i){if(i==null||typeof i!="object"&&typeof i!="function")return null;if(r(i))return"String";if(o(i))return"Number";if(a(i))return"Boolean";if(u(i))return"Symbol";if(n(i))return"BigInt"}}}),Pv=R({"../../node_modules/is-weakmap/index.js"(e,t){var r=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,o=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,a;r||(a=function(i){return!1});var u=r?r.prototype.has:null,n=o?o.prototype.has:null;!a&&!u&&(a=function(i){return!1}),t.exports=a||function(i){if(!i||typeof i!="object")return!1;try{if(u.call(i,u),n)try{n.call(i,n)}catch{return!0}return i instanceof r}catch{}return!1}}}),Ov=R({"../../node_modules/is-weakset/index.js"(e,t){var r=ct(),o=et(),a=r("%WeakSet%",!0),u=o("WeakSet.prototype.has",!0);u?(n=o("WeakMap.prototype.has",!0),t.exports=function(i){if(!i||typeof i!="object")return!1;try{if(u(i,u),n)try{n(i,n)}catch{return!0}return i instanceof a}catch{}return!1}):t.exports=function(i){return!1};var n}}),Rv=R({"../../node_modules/which-collection/index.js"(e,t){var r=vu(),o=_u(),a=Pv(),u=Ov();t.exports=function(n){if(n&&typeof n=="object"){if(r(n))return"Map";if(o(n))return"Set";if(a(n))return"WeakMap";if(u(n))return"WeakSet"}return!1}}}),Tv=R({"../../node_modules/is-callable/index.js"(e,t){var r=Function.prototype.toString,o=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,a,u;if(typeof o=="function"&&typeof Object.defineProperty=="function")try{a=Object.defineProperty({},"length",{get:function(){throw u}}),u={},o(function(){throw 42},null,a)}catch(E){E!==u&&(o=null)}else o=null;var n=/^\s*class\b/,i=function(E){try{var C=r.call(E);return n.test(C)}catch{return!1}},l=function(E){try{return i(E)?!1:(r.call(E),!0)}catch{return!1}},s=Object.prototype.toString,f="[object Object]",d="[object Function]",c="[object GeneratorFunction]",p="[object HTMLAllCollection]",m="[object HTML document.all class]",h="[object HTMLCollection]",g=typeof Symbol=="function"&&!!Symbol.toStringTag,y=!(0 in[,]),_=function(){return!1};typeof document=="object"&&(S=document.all,s.call(S)===s.call(document.all)&&(_=function(E){if((y||!E)&&(typeof E>"u"||typeof E=="object"))try{var C=s.call(E);return(C===p||C===m||C===h||C===f)&&E("")==null}catch{}return!1}));var S;t.exports=o?function(E){if(_(E))return!0;if(!E||typeof E!="function"&&typeof E!="object")return!1;try{o(E,null,a)}catch(C){if(C!==u)return!1}return!i(E)&&l(E)}:function(E){if(_(E))return!0;if(!E||typeof E!="function"&&typeof E!="object")return!1;if(g)return l(E);if(i(E))return!1;var C=s.call(E);return C!==d&&C!==c&&!/^\[object HTML/.test(C)?!1:l(E)}}}),Av=R({"../../node_modules/for-each/index.js"(e,t){var r=Tv(),o=Object.prototype.toString,a=Object.prototype.hasOwnProperty,u=function(s,f,d){for(var c=0,p=s.length;c=3&&(c=d),o.call(s)==="[object Array]"?u(s,f,c):typeof s=="string"?n(s,f,c):i(s,f,c)};t.exports=l}}),xv=R({"../../node_modules/possible-typed-array-names/index.js"(e,t){t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}}),qv=R({"../../node_modules/available-typed-arrays/index.js"(e,t){var r=xv(),o=typeof globalThis>"u"?global:globalThis;t.exports=function(){for(var a=[],u=0;u"u"?global:globalThis,f=o(),d=u("String.prototype.slice"),c=Object.getPrototypeOf,p=u("Array.prototype.indexOf",!0)||function(y,_){for(var S=0;S-1?_:_!=="Object"?!1:g(y)}return n?h(y):null}}}),jv=R({"../../node_modules/array-buffer-byte-length/index.js"(e,t){var r=et(),o=r("ArrayBuffer.prototype.byteLength",!0),a=Su();t.exports=function(u){return a(u)?o?o(u):u.byteLength:NaN}}}),Iv=R({"../../node_modules/deep-equal/index.js"(e,t){var r=ov(),o=et(),a=sv(),u=ct(),n=pv(),i=yu(),l=hv(),s=hu(),f=bu(),d=Su(),c=yv(),p=bv(),m=gv(),h=ja(),g=Cv(),y=Rv(),_=Mv(),S=jv(),E=o("SharedArrayBuffer.prototype.byteLength",!0),C=o("Date.prototype.getTime"),T=Object.getPrototypeOf,O=o("Object.prototype.toString"),v=u("%Set%",!0),P=o("Map.prototype.has",!0),q=o("Map.prototype.get",!0),j=o("Map.prototype.size",!0),U=o("Set.prototype.add",!0),H=o("Set.prototype.delete",!0),z=o("Set.prototype.has",!0),re=o("Set.prototype.size",!0);function J($,D,V,Q){for(var b=n($),I;(I=b.next())&&!I.done;)if(x(D,I.value,V,Q))return H($,I.value),!0;return!1}function ne($){if(typeof $>"u")return null;if(typeof $!="object")return typeof $=="symbol"?!1:typeof $=="string"||typeof $=="number"?+$==+$:!0}function ae($,D,V,Q,b,I){var B=ne(V);if(B!=null)return B;var K=q(D,B),W=r({},b,{strict:!1});return typeof K>"u"&&!P(D,B)||!x(Q,K,W,I)?!1:!P($,B)&&x(Q,K,W,I)}function se($,D,V){var Q=ne(V);return Q??(z(D,Q)&&!z($,Q))}function ue($,D,V,Q,b,I){for(var B=n($),K,W;(K=B.next())&&!K.done;)if(W=K.value,x(V,W,b,I)&&x(Q,q(D,W),b,I))return H($,W),!0;return!1}function x($,D,V,Q){var b=V||{};if(b.strict?l($,D):$===D)return!0;var I=g($),B=g(D);if(I!==B)return!1;if(!$||!D||typeof $!="object"&&typeof D!="object")return b.strict?l($,D):$==D;var K=Q.has($),W=Q.has(D),L;if(K&&W){if(Q.get($)===Q.get(D))return!0}else L={};return K||Q.set($,L),W||Q.set(D,L),G($,D,b,Q)}function M($){return!$||typeof $!="object"||typeof $.length!="number"||typeof $.copy!="function"||typeof $.slice!="function"||$.length>0&&typeof $[0]!="number"?!1:!!($.constructor&&$.constructor.isBuffer&&$.constructor.isBuffer($))}function k($,D,V,Q){if(re($)!==re(D))return!1;for(var b=n($),I=n(D),B,K,W;(B=b.next())&&!B.done;)if(B.value&&typeof B.value=="object")W||(W=new v),U(W,B.value);else if(!z(D,B.value)){if(V.strict||!se($,D,B.value))return!1;W||(W=new v),U(W,B.value)}if(W){for(;(K=I.next())&&!K.done;)if(K.value&&typeof K.value=="object"){if(!J(W,K.value,V.strict,Q))return!1}else if(!V.strict&&!z($,K.value)&&!J(W,K.value,V.strict,Q))return!1;return re(W)===0}return!0}function F($,D,V,Q){if(j($)!==j(D))return!1;for(var b=n($),I=n(D),B,K,W,L,oe,ie;(B=b.next())&&!B.done;)if(L=B.value[0],oe=B.value[1],L&&typeof L=="object")W||(W=new v),U(W,L);else if(ie=q(D,L),typeof ie>"u"&&!P(D,L)||!x(oe,ie,V,Q)){if(V.strict||!ae($,D,L,oe,V,Q))return!1;W||(W=new v),U(W,L)}if(W){for(;(K=I.next())&&!K.done;)if(L=K.value[0],ie=K.value[1],L&&typeof L=="object"){if(!ue(W,$,L,ie,V,Q))return!1}else if(!V.strict&&(!$.has(L)||!x(q($,L),ie,V,Q))&&!ue(W,$,L,ie,r({},V,{strict:!1}),Q))return!1;return re(W)===0}return!0}function G($,D,V,Q){var b,I;if(typeof $!=typeof D||$==null||D==null||O($)!==O(D)||s($)!==s(D))return!1;var B=f($),K=f(D);if(B!==K)return!1;var W=$ instanceof Error,L=D instanceof Error;if(W!==L||(W||L)&&($.name!==D.name||$.message!==D.message))return!1;var oe=p($),ie=p(D);if(oe!==ie||(oe||ie)&&($.source!==D.source||a($)!==a(D)))return!1;var fe=c($),Ee=c(D);if(fe!==Ee||(fe||Ee)&&C($)!==C(D)||V.strict&&T&&T($)!==T(D))return!1;var Ae=_($),it=_(D);if(Ae!==it)return!1;if(Ae||it){if($.length!==D.length)return!1;for(b=0;b<$.length;b++)if($[b]!==D[b])return!1;return!0}var ze=M($),We=M(D);if(ze!==We)return!1;if(ze||We){if($.length!==D.length)return!1;for(b=0;b<$.length;b++)if($[b]!==D[b])return!1;return!0}var lt=d($),Ie=d(D);if(lt!==Ie)return!1;if(lt||Ie)return S($)!==S(D)?!1:typeof Uint8Array=="function"&&x(new Uint8Array($),new Uint8Array(D),V,Q);var Ce=m($),Ge=m(D);if(Ce!==Ge)return!1;if(Ce||Ge)return E($)!==E(D)?!1:typeof Uint8Array=="function"&&x(new Uint8Array($),new Uint8Array(D),V,Q);if(typeof $!=typeof D)return!1;var Pe=h($),Re=h(D);if(Pe.length!==Re.length)return!1;for(Pe.sort(),Re.sort(),b=Pe.length-1;b>=0;b--)if(Pe[b]!=Re[b])return!1;for(b=Pe.length-1;b>=0;b--)if(I=Pe[b],!x($[I],D[I],V,Q))return!1;var xe=y($),Ke=y(D);return xe!==Ke?!1:xe==="Set"||Ke==="Set"?k($,D,V,Q):xe==="Map"?F($,D,V,Q):!0}t.exports=function($,D,V){return x($,D,V,i())}}}),Nv=R({"node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Iv()),r=a(an()),o=a(Ma());function a(O){return O&&O.__esModule?O:{default:O}}function u(O,v){return l(O)||i(O,v)||f(O,v)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(O,v){var P=O==null?null:typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(P!=null){var q=[],j=!0,U=!1,H,z;try{for(P=P.call(O);!(j=(H=P.next()).done)&&(q.push(H.value),!(v&&q.length===v));j=!0);}catch(re){U=!0,z=re}finally{try{!j&&P.return!=null&&P.return()}finally{if(U)throw z}}return q}}function l(O){if(Array.isArray(O))return O}function s(O,v){var P=typeof Symbol<"u"&&O[Symbol.iterator]||O["@@iterator"];if(!P){if(Array.isArray(O)||(P=f(O))||v&&O&&typeof O.length=="number"){P&&(O=P);var q=0,j=function(){};return{s:j,n:function(){return q>=O.length?{done:!0}:{done:!1,value:O[q++]}},e:function(re){throw re},f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var U=!0,H=!1,z;return{s:function(){P=P.call(O)},n:function(){var re=P.next();return U=re.done,re},e:function(re){H=!0,z=re},f:function(){try{!U&&P.return!=null&&P.return()}finally{if(H)throw z}}}}function f(O,v){if(O){if(typeof O=="string")return d(O,v);var P=Object.prototype.toString.call(O).slice(8,-1);if(P==="Object"&&O.constructor&&(P=O.constructor.name),P==="Map"||P==="Set")return Array.from(O);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return d(O,v)}}function d(O,v){(v==null||v>O.length)&&(v=O.length);for(var P=0,q=new Array(v);P1&&arguments[1]!==void 0?arguments[1]:null,P=s(c),q;try{for(P.s();!(q=P.n()).done;){var j=u(q.value,2),U=j[0],H=j[1];O.call(v,H,U,c)}}catch(z){P.e(z)}finally{P.f()}},get:function(O){var v=c.find(function(P){return(0,t.default)(O,P[0])});return v&&v[1]},has:function(O){return!!C.get(O)},keys:function(){return c.map(function(O){var v=u(O,1),P=v[0];return P})},values:function(){return c.map(function(O){var v=u(O,2),P=v[1];return P})}},T=(0,r.default)(C,C.entries());e.default=T}}),$v=R({"node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(an()),r=o(Ma());function o(y){return y&&y.__esModule?y:{default:y}}function a(y,_){return i(y)||n(y,_)||s(y,_)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function n(y,_){var S=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(S!=null){var E=[],C=!0,T=!1,O,v;try{for(S=S.call(y);!(C=(O=S.next()).done)&&(E.push(O.value),!(_&&E.length===_));C=!0);}catch(P){T=!0,v=P}finally{try{!C&&S.return!=null&&S.return()}finally{if(T)throw v}}return E}}function i(y){if(Array.isArray(y))return y}function l(y,_){var S=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!S){if(Array.isArray(y)||(S=s(y))||_&&y&&typeof y.length=="number"){S&&(y=S);var E=0,C=function(){};return{s:C,n:function(){return E>=y.length?{done:!0}:{done:!1,value:y[E++]}},e:function(P){throw P},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var T=!0,O=!1,v;return{s:function(){S=S.call(y)},n:function(){var P=S.next();return T=P.done,P},e:function(P){O=!0,v=P},f:function(){try{!T&&S.return!=null&&S.return()}finally{if(O)throw v}}}}function s(y,_){if(y){if(typeof y=="string")return f(y,_);var S=Object.prototype.toString.call(y).slice(8,-1);if(S==="Object"&&y.constructor&&(S=y.constructor.name),S==="Map"||S==="Set")return Array.from(y);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return f(y,_)}}function f(y,_){(_==null||_>y.length)&&(_=y.length);for(var S=0,E=new Array(_);S<_;S++)E[S]=y[S];return E}var d=[],c=r.default.keys(),p=function(y){var _=c[y],S=r.default.get(_);if(S)for(var E=[].concat(S.baseConcepts,S.relatedConcepts),C=0;C1&&arguments[1]!==void 0?arguments[1]:null,S=l(d),E;try{for(S.s();!(E=S.n()).done;){var C=a(E.value,2),T=C[0],O=C[1];y.call(_,O,T,d)}}catch(v){S.e(v)}finally{S.f()}},get:function(y){var _=d.find(function(S){return S[0]===y});return _&&_[1]},has:function(y){return!!h.get(y)},keys:function(){return d.map(function(y){var _=a(y,1),S=_[0];return S})},values:function(){return d.map(function(y){var _=a(y,2),S=_[1];return S})}},g=(0,t.default)(h,h.entries());e.default=g}}),La=R({"node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=n(my()),r=n(hy()),o=n(Ma()),a=n(Nv()),u=n($v());function n(c){return c&&c.__esModule?c:{default:c}}var i=t.default;e.aria=i;var l=r.default;e.dom=l;var s=o.default;e.roles=s;var f=a.default;e.elementRoles=f;var d=u.default;e.roleElements=d}}),Bv=R({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Cu=R({"../../node_modules/color-convert/conversions.js"(e,t){var r=Bv(),o={};for(let n of Object.keys(r))o[r[n]]=n;var a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=a;for(let n of Object.keys(a)){if(!("channels"in a[n]))throw new Error("missing channels property: "+n);if(!("labels"in a[n]))throw new Error("missing channel labels property: "+n);if(a[n].labels.length!==a[n].channels)throw new Error("channel and label counts mismatch: "+n);let{channels:i,labels:l}=a[n];delete a[n].channels,delete a[n].labels,Object.defineProperty(a[n],"channels",{value:i}),Object.defineProperty(a[n],"labels",{value:l})}a.rgb.hsl=function(n){let i=n[0]/255,l=n[1]/255,s=n[2]/255,f=Math.min(i,l,s),d=Math.max(i,l,s),c=d-f,p,m;d===f?p=0:i===d?p=(l-s)/c:l===d?p=2+(s-i)/c:s===d&&(p=4+(i-l)/c),p=Math.min(p*60,360),p<0&&(p+=360);let h=(f+d)/2;return d===f?m=0:h<=.5?m=c/(d+f):m=c/(2-d-f),[p,m*100,h*100]},a.rgb.hsv=function(n){let i,l,s,f,d,c=n[0]/255,p=n[1]/255,m=n[2]/255,h=Math.max(c,p,m),g=h-Math.min(c,p,m),y=function(_){return(h-_)/6/g+1/2};return g===0?(f=0,d=0):(d=g/h,i=y(c),l=y(p),s=y(m),c===h?f=s-l:p===h?f=1/3+i-s:m===h&&(f=2/3+l-i),f<0?f+=1:f>1&&(f-=1)),[f*360,d*100,h*100]},a.rgb.hwb=function(n){let i=n[0],l=n[1],s=n[2],f=a.rgb.hsl(n)[0],d=1/255*Math.min(i,Math.min(l,s));return s=1-1/255*Math.max(i,Math.max(l,s)),[f,d*100,s*100]},a.rgb.cmyk=function(n){let i=n[0]/255,l=n[1]/255,s=n[2]/255,f=Math.min(1-i,1-l,1-s),d=(1-i-f)/(1-f)||0,c=(1-l-f)/(1-f)||0,p=(1-s-f)/(1-f)||0;return[d*100,c*100,p*100,f*100]};function u(n,i){return(n[0]-i[0])**2+(n[1]-i[1])**2+(n[2]-i[2])**2}a.rgb.keyword=function(n){let i=o[n];if(i)return i;let l=1/0,s;for(let f of Object.keys(r)){let d=r[f],c=u(n,d);c.04045?((i+.055)/1.055)**2.4:i/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;let f=i*.4124+l*.3576+s*.1805,d=i*.2126+l*.7152+s*.0722,c=i*.0193+l*.1192+s*.9505;return[f*100,d*100,c*100]},a.rgb.lab=function(n){let i=a.rgb.xyz(n),l=i[0],s=i[1],f=i[2];l/=95.047,s/=100,f/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,f=f>.008856?f**(1/3):7.787*f+16/116;let d=116*s-16,c=500*(l-s),p=200*(s-f);return[d,c,p]},a.hsl.rgb=function(n){let i=n[0]/360,l=n[1]/100,s=n[2]/100,f,d,c;if(l===0)return c=s*255,[c,c,c];s<.5?f=s*(1+l):f=s+l-s*l;let p=2*s-f,m=[0,0,0];for(let h=0;h<3;h++)d=i+1/3*-(h-1),d<0&&d++,d>1&&d--,6*d<1?c=p+(f-p)*6*d:2*d<1?c=f:3*d<2?c=p+(f-p)*(2/3-d)*6:c=p,m[h]=c*255;return m},a.hsl.hsv=function(n){let i=n[0],l=n[1]/100,s=n[2]/100,f=l,d=Math.max(s,.01);s*=2,l*=s<=1?s:2-s,f*=d<=1?d:2-d;let c=(s+l)/2,p=s===0?2*f/(d+f):2*l/(s+l);return[i,p*100,c*100]},a.hsv.rgb=function(n){let i=n[0]/60,l=n[1]/100,s=n[2]/100,f=Math.floor(i)%6,d=i-Math.floor(i),c=255*s*(1-l),p=255*s*(1-l*d),m=255*s*(1-l*(1-d));switch(s*=255,f){case 0:return[s,m,c];case 1:return[p,s,c];case 2:return[c,s,m];case 3:return[c,p,s];case 4:return[m,c,s];case 5:return[s,c,p]}},a.hsv.hsl=function(n){let i=n[0],l=n[1]/100,s=n[2]/100,f=Math.max(s,.01),d,c;c=(2-l)*s;let p=(2-l)*f;return d=l*f,d/=p<=1?p:2-p,d=d||0,c/=2,[i,d*100,c*100]},a.hwb.rgb=function(n){let i=n[0]/360,l=n[1]/100,s=n[2]/100,f=l+s,d;f>1&&(l/=f,s/=f);let c=Math.floor(6*i),p=1-s;d=6*i-c,c&1&&(d=1-d);let m=l+d*(p-l),h,g,y;switch(c){default:case 6:case 0:h=p,g=m,y=l;break;case 1:h=m,g=p,y=l;break;case 2:h=l,g=p,y=m;break;case 3:h=l,g=m,y=p;break;case 4:h=m,g=l,y=p;break;case 5:h=p,g=l,y=m;break}return[h*255,g*255,y*255]},a.cmyk.rgb=function(n){let i=n[0]/100,l=n[1]/100,s=n[2]/100,f=n[3]/100,d=1-Math.min(1,i*(1-f)+f),c=1-Math.min(1,l*(1-f)+f),p=1-Math.min(1,s*(1-f)+f);return[d*255,c*255,p*255]},a.xyz.rgb=function(n){let i=n[0]/100,l=n[1]/100,s=n[2]/100,f,d,c;return f=i*3.2406+l*-1.5372+s*-.4986,d=i*-.9689+l*1.8758+s*.0415,c=i*.0557+l*-.204+s*1.057,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,f=Math.min(Math.max(0,f),1),d=Math.min(Math.max(0,d),1),c=Math.min(Math.max(0,c),1),[f*255,d*255,c*255]},a.xyz.lab=function(n){let i=n[0],l=n[1],s=n[2];i/=95.047,l/=100,s/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;let f=116*l-16,d=500*(i-l),c=200*(l-s);return[f,d,c]},a.lab.xyz=function(n){let i=n[0],l=n[1],s=n[2],f,d,c;d=(i+16)/116,f=l/500+d,c=d-s/200;let p=d**3,m=f**3,h=c**3;return d=p>.008856?p:(d-16/116)/7.787,f=m>.008856?m:(f-16/116)/7.787,c=h>.008856?h:(c-16/116)/7.787,f*=95.047,d*=100,c*=108.883,[f,d,c]},a.lab.lch=function(n){let i=n[0],l=n[1],s=n[2],f;f=Math.atan2(s,l)*360/2/Math.PI,f<0&&(f+=360);let d=Math.sqrt(l*l+s*s);return[i,d,f]},a.lch.lab=function(n){let i=n[0],l=n[1],s=n[2]/360*2*Math.PI,f=l*Math.cos(s),d=l*Math.sin(s);return[i,f,d]},a.rgb.ansi16=function(n,i=null){let[l,s,f]=n,d=i===null?a.rgb.hsv(n)[2]:i;if(d=Math.round(d/50),d===0)return 30;let c=30+(Math.round(f/255)<<2|Math.round(s/255)<<1|Math.round(l/255));return d===2&&(c+=60),c},a.hsv.ansi16=function(n){return a.rgb.ansi16(a.hsv.rgb(n),n[2])},a.rgb.ansi256=function(n){let i=n[0],l=n[1],s=n[2];return i===l&&l===s?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(s/255*5)},a.ansi16.rgb=function(n){let i=n%10;if(i===0||i===7)return n>50&&(i+=3.5),i=i/10.5*255,[i,i,i];let l=(~~(n>50)+1)*.5,s=(i&1)*l*255,f=(i>>1&1)*l*255,d=(i>>2&1)*l*255;return[s,f,d]},a.ansi256.rgb=function(n){if(n>=232){let d=(n-232)*10+8;return[d,d,d]}n-=16;let i,l=Math.floor(n/36)/5*255,s=Math.floor((i=n%36)/6)/5*255,f=i%6/5*255;return[l,s,f]},a.rgb.hex=function(n){let i=(((Math.round(n[0])&255)<<16)+((Math.round(n[1])&255)<<8)+(Math.round(n[2])&255)).toString(16).toUpperCase();return"000000".substring(i.length)+i},a.hex.rgb=function(n){let i=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let l=i[0];i[0].length===3&&(l=l.split("").map(p=>p+p).join(""));let s=parseInt(l,16),f=s>>16&255,d=s>>8&255,c=s&255;return[f,d,c]},a.rgb.hcg=function(n){let i=n[0]/255,l=n[1]/255,s=n[2]/255,f=Math.max(Math.max(i,l),s),d=Math.min(Math.min(i,l),s),c=f-d,p,m;return c<1?p=d/(1-c):p=0,c<=0?m=0:f===i?m=(l-s)/c%6:f===l?m=2+(s-i)/c:m=4+(i-l)/c,m/=6,m%=1,[m*360,c*100,p*100]},a.hsl.hcg=function(n){let i=n[1]/100,l=n[2]/100,s=l<.5?2*i*l:2*i*(1-l),f=0;return s<1&&(f=(l-.5*s)/(1-s)),[n[0],s*100,f*100]},a.hsv.hcg=function(n){let i=n[1]/100,l=n[2]/100,s=i*l,f=0;return s<1&&(f=(l-s)/(1-s)),[n[0],s*100,f*100]},a.hcg.rgb=function(n){let i=n[0]/360,l=n[1]/100,s=n[2]/100;if(l===0)return[s*255,s*255,s*255];let f=[0,0,0],d=i%1*6,c=d%1,p=1-c,m=0;switch(Math.floor(d)){case 0:f[0]=1,f[1]=c,f[2]=0;break;case 1:f[0]=p,f[1]=1,f[2]=0;break;case 2:f[0]=0,f[1]=1,f[2]=c;break;case 3:f[0]=0,f[1]=p,f[2]=1;break;case 4:f[0]=c,f[1]=0,f[2]=1;break;default:f[0]=1,f[1]=0,f[2]=p}return m=(1-l)*s,[(l*f[0]+m)*255,(l*f[1]+m)*255,(l*f[2]+m)*255]},a.hcg.hsv=function(n){let i=n[1]/100,l=n[2]/100,s=i+l*(1-i),f=0;return s>0&&(f=i/s),[n[0],f*100,s*100]},a.hcg.hsl=function(n){let i=n[1]/100,l=n[2]/100*(1-i)+.5*i,s=0;return l>0&&l<.5?s=i/(2*l):l>=.5&&l<1&&(s=i/(2*(1-l))),[n[0],s*100,l*100]},a.hcg.hwb=function(n){let i=n[1]/100,l=n[2]/100,s=i+l*(1-i);return[n[0],(s-i)*100,(1-s)*100]},a.hwb.hcg=function(n){let i=n[1]/100,l=1-n[2]/100,s=l-i,f=0;return s<1&&(f=(l-s)/(1-s)),[n[0],s*100,f*100]},a.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]},a.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]},a.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]},a.gray.hsl=function(n){return[0,0,n[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(n){return[0,100,n[0]]},a.gray.cmyk=function(n){return[0,0,0,n[0]]},a.gray.lab=function(n){return[n[0],0,0]},a.gray.hex=function(n){let i=Math.round(n[0]/100*255)&255,l=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]}}}),kv=R({"../../node_modules/color-convert/route.js"(e,t){var r=Cu();function o(){let i={},l=Object.keys(r);for(let s=l.length,f=0;f1&&(f=d),l(f))};return"conversion"in l&&(s.conversion=l.conversion),s}function i(l){let s=function(...f){let d=f[0];if(d==null)return d;d.length>1&&(f=d);let c=l(f);if(typeof c=="object")for(let p=c.length,m=0;m{a[l]={},Object.defineProperty(a[l],"channels",{value:r[l].channels}),Object.defineProperty(a[l],"labels",{value:r[l].labels});let s=o(l);Object.keys(s).forEach(f=>{let d=s[f];a[l][f]=i(d),a[l][f].raw=n(d)})}),t.exports=a}}),Lv=R({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,c)=>(...p)=>`\x1B[${d(...p)+c}m`,o=(d,c)=>(...p)=>{let m=d(...p);return`\x1B[${38+c};5;${m}m`},a=(d,c)=>(...p)=>{let m=d(...p);return`\x1B[${38+c};2;${m[0]};${m[1]};${m[2]}m`},u=d=>d,n=(d,c,p)=>[d,c,p],i=(d,c,p)=>{Object.defineProperty(d,c,{get:()=>{let m=p();return Object.defineProperty(d,c,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})},l,s=(d,c,p,m)=>{l===void 0&&(l=Dv());let h=m?10:0,g={};for(let[y,_]of Object.entries(l)){let S=y==="ansi16"?"ansi":y;y===c?g[S]=d(p,h):typeof _=="object"&&(g[S]=d(_[c],h))}return g};function f(){let d=new Map,c={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]}};c.color.gray=c.color.blackBright,c.bgColor.bgGray=c.bgColor.bgBlackBright,c.color.grey=c.color.blackBright,c.bgColor.bgGrey=c.bgColor.bgBlackBright;for(let[p,m]of Object.entries(c)){for(let[h,g]of Object.entries(m))c[h]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},m[h]=c[h],d.set(g[0],g[1]);Object.defineProperty(c,p,{value:m,enumerable:!1})}return Object.defineProperty(c,"codes",{value:d,enumerable:!1}),c.color.close="\x1B[39m",c.bgColor.close="\x1B[49m",i(c.color,"ansi",()=>s(r,"ansi16",u,!1)),i(c.color,"ansi256",()=>s(o,"ansi256",u,!1)),i(c.color,"ansi16m",()=>s(a,"rgb",n,!1)),i(c.bgColor,"ansi",()=>s(r,"ansi16",u,!0)),i(c.bgColor,"ansi256",()=>s(o,"ansi256",u,!0)),i(c.bgColor,"ansi16m",()=>s(a,"rgb",n,!0)),c}Object.defineProperty(t,"exports",{enumerable:!0,get:f})}}),Fv=R({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),Uv=R({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(a,u,n)=>{let i=a.indexOf(u);if(i===-1)return a;let l=u.length,s=0,f="";do f+=a.substr(s,i-s)+u+n,s=i+l,i=a.indexOf(u,s);while(i!==-1);return f+=a.substr(s),f},o=(a,u,n,i)=>{let l=0,s="";do{let f=a[i-1]==="\r";s+=a.substr(l,(f?i-1:i)-l)+u+(f?`\r -`:` -`)+n,l=i+1,i=a.indexOf(` -`,l)}while(i!==-1);return s+=a.substr(l),s};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:o}}}),Hv=R({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,o=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,u=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,n=new Map([["n",` -`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(d){let c=d[0]==="u",p=d[1]==="{";return c&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):c&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):n.get(d)||d}function l(d,c){let p=[],m=c.trim().split(/\s*,\s*/g),h;for(let g of m){let y=Number(g);if(!Number.isNaN(y))p.push(y);else if(h=g.match(a))p.push(h[2].replace(u,(_,S,E)=>S?i(S):E));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${d}')`)}return p}function s(d){o.lastIndex=0;let c=[],p;for(;(p=o.exec(d))!==null;){let m=p[1];if(p[2]){let h=l(m,p[2]);c.push([m].concat(h))}else c.push([m])}return c}function f(d,c){let p={};for(let h of c)for(let g of h.styles)p[g[0]]=h.inverse?null:g.slice(1);let m=d;for(let[h,g]of Object.entries(p))if(Array.isArray(g)){if(!(h in m))throw new Error(`Unknown Chalk style: ${h}`);m=g.length>0?m[h](...g):m[h]}return m}t.exports=(d,c)=>{let p=[],m=[],h=[];if(c.replace(r,(g,y,_,S,E,C)=>{if(y)h.push(i(y));else if(S){let T=h.join("");h=[],m.push(p.length===0?T:f(d,p)(T)),p.push({inverse:_,styles:s(S)})}else if(E){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(f(d,p)(h.join(""))),h=[],p.pop()}else h.push(C)}),m.push(h.join("")),p.length>0){let g=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return m.join("")}}}),Pu=R({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=Lv(),{stdout:o,stderr:a}=Fv(),{stringReplaceAll:u,stringEncaseCRLFWithFirstIndex:n}=Uv(),i=["ansi","ansi","ansi256","ansi16m"],l=Object.create(null),s=(C,T={})=>{if(T.level>3||T.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let O=o?o.level:0;C.level=T.level===void 0?O:T.level},f=class{constructor(C){return d(C)}},d=C=>{let T={};return s(T,C),T.template=(...O)=>S(T.template,...O),Object.setPrototypeOf(T,c.prototype),Object.setPrototypeOf(T.template,T),T.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},T.template.Instance=f,T.template};function c(C){return d(C)}for(let[C,T]of Object.entries(r))l[C]={get(){let O=g(this,h(T.open,T.close,this._styler),this._isEmpty);return Object.defineProperty(this,C,{value:O}),O}};l.visible={get(){let C=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:C}),C}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let C of p)l[C]={get(){let{level:T}=this;return function(...O){let v=h(r.color[i[T]][C](...O),r.color.close,this._styler);return g(this,v,this._isEmpty)}}};for(let C of p){let T="bg"+C[0].toUpperCase()+C.slice(1);l[T]={get(){let{level:O}=this;return function(...v){let P=h(r.bgColor[i[O]][C](...v),r.bgColor.close,this._styler);return g(this,P,this._isEmpty)}}}}var m=Object.defineProperties(()=>{},{...l,level:{enumerable:!0,get(){return this._generator.level},set(C){this._generator.level=C}}}),h=(C,T,O)=>{let v,P;return O===void 0?(v=C,P=T):(v=O.openAll+C,P=T+O.closeAll),{open:C,close:T,openAll:v,closeAll:P,parent:O}},g=(C,T,O)=>{let v=(...P)=>y(v,P.length===1?""+P[0]:P.join(" "));return v.__proto__=m,v._generator=C,v._styler=T,v._isEmpty=O,v},y=(C,T)=>{if(C.level<=0||!T)return C._isEmpty?"":T;let O=C._styler;if(O===void 0)return T;let{openAll:v,closeAll:P}=O;if(T.indexOf("\x1B")!==-1)for(;O!==void 0;)T=u(T,O.close,O.open),O=O.parent;let q=T.indexOf(` -`);return q!==-1&&(T=n(T,P,v,q)),v+T+P},_,S=(C,...T)=>{let[O]=T;if(!Array.isArray(O))return T.join(" ");let v=T.slice(1),P=[O.raw[0]];for(let q=1;q-1}t.exports=o}}),Yv=R({"../../node_modules/lodash/_arrayIncludesWith.js"(e,t){function r(o,a,u){for(var n=-1,i=o==null?0:o.length;++n=l){var S=d?null:n(f);if(S)return i(S);g=!1,m=u,_=new r}else _=d?[]:y;e:for(;++p=1&&l<=31||l==127||i==0&&l>=48&&l<=57||i==1&&l>=48&&l<=57&&f==45){s+="\\"+l.toString(16)+" ";continue}if(i==0&&n==1&&l==45){s+="\\"+u.charAt(i);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){s+=u.charAt(i);continue}s+="\\"+u.charAt(i)}return s};return r.CSS||(r.CSS={}),r.CSS.escape=o,o})}}),Au=R({"node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(u=0)=>n=>`\x1B[${38+u};5;${n}m`,o=(u=0)=>(n,i,l)=>`\x1B[${38+u};2;${n};${i};${l}m`;function a(){let u=new Map,n={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]}};n.color.gray=n.color.blackBright,n.bgColor.bgGray=n.bgColor.bgBlackBright,n.color.grey=n.color.blackBright,n.bgColor.bgGrey=n.bgColor.bgBlackBright;for(let[i,l]of Object.entries(n)){for(let[s,f]of Object.entries(l))n[s]={open:`\x1B[${f[0]}m`,close:`\x1B[${f[1]}m`},l[s]=n[s],u.set(f[0],f[1]);Object.defineProperty(n,i,{value:l,enumerable:!1})}return Object.defineProperty(n,"codes",{value:u,enumerable:!1}),n.color.close="\x1B[39m",n.bgColor.close="\x1B[49m",n.color.ansi256=r(),n.color.ansi16m=o(),n.bgColor.ansi256=r(10),n.bgColor.ansi16m=o(10),Object.defineProperties(n,{rgbToAnsi256:{value:(i,l,s)=>i===l&&l===s?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(l/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:i=>{let l=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!l)return[0,0,0];let{colorString:s}=l.groups;s.length===3&&(s=s.split("").map(d=>d+d).join(""));let f=Number.parseInt(s,16);return[f>>16&255,f>>8&255,f&255]},enumerable:!1},hexToAnsi256:{value:i=>n.rgbToAnsi256(...n.hexToRgb(i)),enumerable:!1}}),n}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),oo=R({"node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=o,e.printListItems=a,e.printObjectProperties=u;var t=(n,i)=>{let l=Object.keys(n).sort(i);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(n).forEach(s=>{Object.getOwnPropertyDescriptor(n,s).enumerable&&l.push(s)}),l};function r(n,i,l,s,f,d,c=": "){let p="",m=n.next();if(!m.done){p+=i.spacingOuter;let h=l+i.indent;for(;!m.done;){let g=d(m.value[0],i,h,s,f),y=d(m.value[1],i,h,s,f);p+=h+g+c+y,m=n.next(),m.done?i.min||(p+=","):p+=","+i.spacingInner}p+=i.spacingOuter+l}return p}function o(n,i,l,s,f,d){let c="",p=n.next();if(!p.done){c+=i.spacingOuter;let m=l+i.indent;for(;!p.done;)c+=m+d(p.value,i,m,s,f),p=n.next(),p.done?i.min||(c+=","):c+=","+i.spacingInner;c+=i.spacingOuter+l}return c}function a(n,i,l,s,f,d){let c="";if(n.length){c+=i.spacingOuter;let p=l+i.indent;for(let m=0;m{let g=f.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++p>d.maxDepth?"["+g+"]":g+u+"["+(0,t.printListItems)(f.sample,d,c,p,m,h)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++p>d.maxDepth?"["+g+"]":g+u+"{"+(0,t.printObjectProperties)(f.sample,d,c,p,m,h)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+u+h(f.sample,d,c,p,m):f.toAsymmetricMatcher()};e.serialize=n;var i=f=>f&&f.$$typeof===a;e.test=i;var l={serialize:n,test:i},s=l;e.default=s}}),e_=R({"../../node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let o=["[\\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(o,r?void 0:"g")}}}),t_=R({"node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(e_()),r=o(Au());function o(s){return s&&s.__esModule?s:{default:s}}var a=s=>s.replace((0,t.default)(),f=>{switch(f){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"";case r.default.green.open:return"";case r.default.cyan.open:return"";case r.default.gray.open:return"";case r.default.white.open:return"";case r.default.yellow.open:return"";case r.default.bgRed.open:return"";case r.default.bgGreen.open:return"";case r.default.bgYellow.open:return"";case r.default.inverse.open:return"";case r.default.dim.open:return"";case r.default.bold.open:return"";default:return""}}),u=s=>typeof s=="string"&&!!s.match((0,t.default)());e.test=u;var n=(s,f,d,c,p,m)=>m(a(s),f,d,c,p);e.serialize=n;var i={serialize:n,test:u},l=i;e.default=l}}),r_=R({"node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=oo(),r=" ",o=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=d=>o.indexOf(d)!==-1||a.test(d),n=d=>d&&d.constructor&&!!d.constructor.name&&u(d.constructor.name);e.test=n;var i=d=>d.constructor.name==="NamedNodeMap",l=(d,c,p,m,h,g)=>{let y=d.constructor.name;return++m>c.maxDepth?"["+y+"]":(c.min?"":y+r)+(o.indexOf(y)!==-1?"{"+(0,t.printObjectProperties)(i(d)?Array.from(d).reduce((_,S)=>(_[S.name]=S.value,_),{}):{...d},c,p,m,h,g)+"}":"["+(0,t.printListItems)(Array.from(d),c,p,m,h,g)+"]")};e.serialize=l;var s={serialize:l,test:n},f=s;e.default=f}}),n_=R({"node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),Fa=R({"node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(n_());function r(s){return s&&s.__esModule?s:{default:s}}var o=(s,f,d,c,p,m,h)=>{let g=c+d.indent,y=d.colors;return s.map(_=>{let S=f[_],E=h(S,d,g,p,m);return typeof S!="string"&&(E.indexOf(` -`)!==-1&&(E=d.spacingOuter+g+E+d.spacingOuter+c),E="{"+E+"}"),d.spacingInner+c+y.prop.open+_+y.prop.close+"="+y.value.open+E+y.value.close}).join("")};e.printProps=o;var a=(s,f,d,c,p,m)=>s.map(h=>f.spacingOuter+d+(typeof h=="string"?u(h,f):m(h,f,d,c,p))).join("");e.printChildren=a;var u=(s,f)=>{let d=f.colors.content;return d.open+(0,t.default)(s)+d.close};e.printText=u;var n=(s,f)=>{let d=f.colors.comment;return d.open+""+d.close};e.printComment=n;var i=(s,f,d,c,p)=>{let m=c.colors.tag;return m.open+"<"+s+(f&&m.close+f+c.spacingOuter+p+m.open)+(d?">"+m.close+d+c.spacingOuter+p+m.open+""+m.close};e.printElement=i;var l=(s,f)=>{let d=f.colors.tag;return d.open+"<"+s+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=l}}),o_=R({"node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Fa(),r=1,o=3,a=8,u=11,n=/^((HTML|SVG)\w*)?Element$/,i=g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},l=g=>{let y=g.constructor.name,{nodeType:_,tagName:S}=g,E=typeof S=="string"&&S.includes("-")||i(g);return _===r&&(n.test(y)||E)||_===o&&y==="Text"||_===a&&y==="Comment"||_===u&&y==="DocumentFragment"},s=g=>{var y;return(g==null||(y=g.constructor)===null||y===void 0?void 0:y.name)&&l(g)};e.test=s;function f(g){return g.nodeType===o}function d(g){return g.nodeType===a}function c(g){return g.nodeType===u}var p=(g,y,_,S,E,C)=>{if(f(g))return(0,t.printText)(g.data,y);if(d(g))return(0,t.printComment)(g.data,y);let T=c(g)?"DocumentFragment":g.tagName.toLowerCase();return++S>y.maxDepth?(0,t.printElementAsLeaf)(T,y):(0,t.printElement)(T,(0,t.printProps)(c(g)?[]:Array.from(g.attributes).map(O=>O.name).sort(),c(g)?{}:Array.from(g.attributes).reduce((O,v)=>(O[v.name]=v.value,O),{}),y,_+y.indent,S,E,C),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),y,_+y.indent,S,E,C),y,_)};e.serialize=p;var m={serialize:p,test:s},h=m;e.default=h}}),a_=R({"node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=oo(),r="@@__IMMUTABLE_ITERABLE__@@",o="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",n="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",f="@@__IMMUTABLE_STACK__@@",d=v=>"Immutable."+v,c=v=>"["+v+"]",p=" ",m="…",h=(v,P,q,j,U,H,z)=>++j>P.maxDepth?c(d(z)):d(z)+p+"{"+(0,t.printIteratorEntries)(v.entries(),P,q,j,U,H)+"}";function g(v){let P=0;return{next(){if(P{let z=d(v._name||"Record");return++j>P.maxDepth?c(z):z+p+"{"+(0,t.printIteratorEntries)(g(v),P,q,j,U,H)+"}"},_=(v,P,q,j,U,H)=>{let z=d("Seq");return++j>P.maxDepth?c(z):v[a]?z+p+"{"+(v._iter||v._object?(0,t.printIteratorEntries)(v.entries(),P,q,j,U,H):m)+"}":z+p+"["+(v._iter||v._array||v._collection||v._iterable?(0,t.printIteratorValues)(v.values(),P,q,j,U,H):m)+"]"},S=(v,P,q,j,U,H,z)=>++j>P.maxDepth?c(d(z)):d(z)+p+"["+(0,t.printIteratorValues)(v.values(),P,q,j,U,H)+"]",E=(v,P,q,j,U,H)=>v[u]?h(v,P,q,j,U,H,v[n]?"OrderedMap":"Map"):v[o]?S(v,P,q,j,U,H,"List"):v[s]?S(v,P,q,j,U,H,v[n]?"OrderedSet":"Set"):v[f]?S(v,P,q,j,U,H,"Stack"):v[l]?_(v,P,q,j,U,H):y(v,P,q,j,U,H);e.serialize=E;var C=v=>v&&(v[r]===!0||v[i]===!0);e.test=C;var T={serialize:E,test:C},O=T;e.default=O}}),i_=R({"node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=60103,r=60106,o=60107,a=60108,u=60114,n=60109,i=60110,l=60112,s=60113,f=60120,d=60115,c=60116,p=60121,m=60122,h=60117,g=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var _=Symbol.for;t=_("react.element"),r=_("react.portal"),o=_("react.fragment"),a=_("react.strict_mode"),u=_("react.profiler"),n=_("react.provider"),i=_("react.context"),l=_("react.forward_ref"),s=_("react.suspense"),f=_("react.suspense_list"),d=_("react.memo"),c=_("react.lazy"),p=_("react.block"),m=_("react.server.block"),h=_("react.fundamental"),_("react.scope"),_("react.opaque.id"),g=_("react.debug_trace_mode"),_("react.offscreen"),y=_("react.legacy_hidden")}var S=!1;function E(B){return!!(typeof B=="string"||typeof B=="function"||B===o||B===u||B===g||B===a||B===s||B===f||B===y||S||typeof B=="object"&&B!==null&&(B.$$typeof===c||B.$$typeof===d||B.$$typeof===n||B.$$typeof===i||B.$$typeof===l||B.$$typeof===h||B.$$typeof===p||B[0]===m))}function C(B){if(typeof B=="object"&&B!==null){var K=B.$$typeof;switch(K){case t:var W=B.type;switch(W){case o:case u:case a:case s:case f:return W;default:var L=W&&W.$$typeof;switch(L){case i:case l:case c:case d:case n:return L;default:return K}}case r:return K}}}var T=i,O=n,v=t,P=l,q=o,j=c,U=d,H=r,z=u,re=a,J=s,ne=!1,ae=!1;function se(B){return ne||(ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ue(B){return ae||(ae=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function x(B){return C(B)===i}function M(B){return C(B)===n}function k(B){return typeof B=="object"&&B!==null&&B.$$typeof===t}function F(B){return C(B)===l}function G(B){return C(B)===o}function $(B){return C(B)===c}function D(B){return C(B)===d}function V(B){return C(B)===r}function Q(B){return C(B)===u}function b(B){return C(B)===a}function I(B){return C(B)===s}e.ContextConsumer=T,e.ContextProvider=O,e.Element=v,e.ForwardRef=P,e.Fragment=q,e.Lazy=j,e.Memo=U,e.Portal=H,e.Profiler=z,e.StrictMode=re,e.Suspense=J,e.isAsyncMode=se,e.isConcurrentMode=ue,e.isContextConsumer=x,e.isContextProvider=M,e.isElement=k,e.isForwardRef=F,e.isFragment=G,e.isLazy=$,e.isMemo=D,e.isPortal=V,e.isProfiler=Q,e.isStrictMode=b,e.isSuspense=I,e.isValidElementType=E,e.typeOf=C})()}}),l_=R({"node_modules/react-is/index.js"(e,t){t.exports=i_()}}),s_=R({"node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(l_()),r=Fa();function o(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(o=function(h){return h?m:p})(c)}function a(c,p){if(!p&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var m=o(p);if(m&&m.has(c))return m.get(c);var h={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in c)if(y!=="default"&&Object.prototype.hasOwnProperty.call(c,y)){var _=g?Object.getOwnPropertyDescriptor(c,y):null;_&&(_.get||_.set)?Object.defineProperty(h,y,_):h[y]=c[y]}return h.default=c,m&&m.set(c,h),h}var u=(c,p=[])=>(Array.isArray(c)?c.forEach(m=>{u(m,p)}):c!=null&&c!==!1&&p.push(c),p),n=c=>{let p=c.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(c))return"React.Fragment";if(t.isSuspense(c))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(c))return"Context.Provider";if(t.isContextConsumer(c))return"Context.Consumer";if(t.isForwardRef(c)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(c)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},i=c=>{let{props:p}=c;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},l=(c,p,m,h,g,y)=>++h>p.maxDepth?(0,r.printElementAsLeaf)(n(c),p):(0,r.printElement)(n(c),(0,r.printProps)(i(c),c.props,p,m+p.indent,h,g,y),(0,r.printChildren)(u(c.props.children),p,m+p.indent,h,g,y),p,m);e.serialize=l;var s=c=>c!=null&&t.isElement(c);e.test=s;var f={serialize:l,test:s},d=f;e.default=d}}),u_=R({"node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Fa(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),o=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof o=="function"&&o.for?o.for("react.test.json"):245830487,u=f=>{let{props:d}=f;return d?Object.keys(d).filter(c=>d[c]!==void 0).sort():[]},n=(f,d,c,p,m,h)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(f.type,d):(0,t.printElement)(f.type,f.props?(0,t.printProps)(u(f),f.props,d,c+d.indent,p,m,h):"",f.children?(0,t.printChildren)(f.children,d,c+d.indent,p,m,h):"",d,c);e.serialize=n;var i=f=>f&&f.$$typeof===a;e.test=i;var l={serialize:n,test:i},s=l;e.default=s}}),c_=R({"node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=D,e.plugins=void 0;var t=f(Au()),r=oo(),o=f(Zv()),a=f(t_()),u=f(r_()),n=f(o_()),i=f(a_()),l=f(s_()),s=f(u_());function f(b){return b&&b.__esModule?b:{default:b}}var d=Object.prototype.toString,c=Date.prototype.toISOString,p=Error.prototype.toString,m=RegExp.prototype.toString,h=b=>typeof b.constructor=="function"&&b.constructor.name||"Object",g=b=>typeof window<"u"&&b===window,y=/^Symbol\((.*)\)(.*)$/,_=/\n/gi,S=class extends Error{constructor(b,I){super(b),this.stack=I,this.name=this.constructor.name}};function E(b){return b==="[object Array]"||b==="[object ArrayBuffer]"||b==="[object DataView]"||b==="[object Float32Array]"||b==="[object Float64Array]"||b==="[object Int8Array]"||b==="[object Int16Array]"||b==="[object Int32Array]"||b==="[object Uint8Array]"||b==="[object Uint8ClampedArray]"||b==="[object Uint16Array]"||b==="[object Uint32Array]"}function C(b){return Object.is(b,-0)?"-0":String(b)}function T(b){return`${b}n`}function O(b,I){return I?"[Function "+(b.name||"anonymous")+"]":"[Function]"}function v(b){return String(b).replace(y,"Symbol($1)")}function P(b){return"["+p.call(b)+"]"}function q(b,I,B,K){if(b===!0||b===!1)return""+b;if(b===void 0)return"undefined";if(b===null)return"null";let W=typeof b;if(W==="number")return C(b);if(W==="bigint")return T(b);if(W==="string")return K?'"'+b.replace(/"|\\/g,"\\$&")+'"':'"'+b+'"';if(W==="function")return O(b,I);if(W==="symbol")return v(b);let L=d.call(b);return L==="[object WeakMap]"?"WeakMap {}":L==="[object WeakSet]"?"WeakSet {}":L==="[object Function]"||L==="[object GeneratorFunction]"?O(b,I):L==="[object Symbol]"?v(b):L==="[object Date]"?isNaN(+b)?"Date { NaN }":c.call(b):L==="[object Error]"?P(b):L==="[object RegExp]"?B?m.call(b).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(b):b instanceof Error?P(b):null}function j(b,I,B,K,W,L){if(W.indexOf(b)!==-1)return"[Circular]";W=W.slice(),W.push(b);let oe=++K>I.maxDepth,ie=I.min;if(I.callToJSON&&!oe&&b.toJSON&&typeof b.toJSON=="function"&&!L)return re(b.toJSON(),I,B,K,W,!0);let fe=d.call(b);return fe==="[object Arguments]"?oe?"[Arguments]":(ie?"":"Arguments ")+"["+(0,r.printListItems)(b,I,B,K,W,re)+"]":E(fe)?oe?"["+b.constructor.name+"]":(ie||!I.printBasicPrototype&&b.constructor.name==="Array"?"":b.constructor.name+" ")+"["+(0,r.printListItems)(b,I,B,K,W,re)+"]":fe==="[object Map]"?oe?"[Map]":"Map {"+(0,r.printIteratorEntries)(b.entries(),I,B,K,W,re," => ")+"}":fe==="[object Set]"?oe?"[Set]":"Set {"+(0,r.printIteratorValues)(b.values(),I,B,K,W,re)+"}":oe||g(b)?"["+h(b)+"]":(ie||!I.printBasicPrototype&&h(b)==="Object"?"":h(b)+" ")+"{"+(0,r.printObjectProperties)(b,I,B,K,W,re)+"}"}function U(b){return b.serialize!=null}function H(b,I,B,K,W,L){let oe;try{oe=U(b)?b.serialize(I,B,K,W,L,re):b.print(I,ie=>re(ie,B,K,W,L),ie=>{let fe=K+B.indent;return fe+ie.replace(_,` -`+fe)},{edgeSpacing:B.spacingOuter,min:B.min,spacing:B.spacingInner},B.colors)}catch(ie){throw new S(ie.message,ie.stack)}if(typeof oe!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof oe}".`);return oe}function z(b,I){for(let B=0;B{if(!ae.hasOwnProperty(I))throw new Error(`pretty-format: Unknown option "${I}".`)}),b.min&&b.indent!==void 0&&b.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(b.theme!==void 0){if(b.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof b.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof b.theme}".`)}}var ue=b=>ne.reduce((I,B)=>{let K=b.theme&&b.theme[B]!==void 0?b.theme[B]:J[B],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[B]=W;else throw new Error(`pretty-format: Option "theme" has a key "${B}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),x=()=>ne.reduce((b,I)=>(b[I]={close:"",open:""},b),Object.create(null)),M=b=>b&&b.printFunctionName!==void 0?b.printFunctionName:ae.printFunctionName,k=b=>b&&b.escapeRegex!==void 0?b.escapeRegex:ae.escapeRegex,F=b=>b&&b.escapeString!==void 0?b.escapeString:ae.escapeString,G=b=>{var I;return{callToJSON:b&&b.callToJSON!==void 0?b.callToJSON:ae.callToJSON,colors:b&&b.highlight?ue(b):x(),compareKeys:b&&typeof b.compareKeys=="function"?b.compareKeys:ae.compareKeys,escapeRegex:k(b),escapeString:F(b),indent:b&&b.min?"":$(b&&b.indent!==void 0?b.indent:ae.indent),maxDepth:b&&b.maxDepth!==void 0?b.maxDepth:ae.maxDepth,min:b&&b.min!==void 0?b.min:ae.min,plugins:b&&b.plugins!==void 0?b.plugins:ae.plugins,printBasicPrototype:(I=b==null?void 0:b.printBasicPrototype)!==null&&I!==void 0?I:!0,printFunctionName:M(b),spacingInner:b&&b.min?" ":` -`,spacingOuter:b&&b.min?"":` -`}};function $(b){return new Array(b+1).join(" ")}function D(b,I){if(I&&(se(I),I.plugins)){let K=z(I.plugins,b);if(K!==null)return H(K,b,G(I),"",0,[])}let B=q(b,M(I),k(I),F(I));return B!==null?B:j(b,G(I),"",0,[])}var V={AsymmetricMatcher:o.default,ConvertAnsi:a.default,DOMCollection:u.default,DOMElement:n.default,Immutable:i.default,ReactElement:l.default,ReactTestComponent:s.default};e.plugins=V;var Q=D;e.default=Q}}),d_=R({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var o=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function i(s,f){if(!n[s]){n[s]={};for(var d=0;d>>8,d[c*2+1]=m%256}return d},decompressFromUint8Array:function(s){if(s==null)return l.decompress(s);for(var f=new Array(s.length/2),d=0,c=f.length;d>1}else{for(p=1,c=0;c>1}S--,S==0&&(S=Math.pow(2,C),C++),delete h[_]}else for(p=m[_],c=0;c>1;S--,S==0&&(S=Math.pow(2,C),C++),m[y]=E++,_=String(g)}if(_!==""){if(Object.prototype.hasOwnProperty.call(h,_)){if(_.charCodeAt(0)<256){for(c=0;c>1}else{for(p=1,c=0;c>1}S--,S==0&&(S=Math.pow(2,C),C++),delete h[_]}else for(p=m[_],c=0;c>1;S--,S==0&&(S=Math.pow(2,C),C++)}for(p=2,c=0;c>1;for(;;)if(O=O<<1,v==f-1){T.push(d(O));break}else v++;return T.join("")},decompress:function(s){return s==null?"":s==""?null:l._decompress(s.length,32768,function(f){return s.charCodeAt(f)})},_decompress:function(s,f,d){var c=[],p=4,m=4,h=3,g="",y=[],_,S,E,C,T,O,v,P={val:d(0),position:f,index:1};for(_=0;_<3;_+=1)c[_]=_;for(E=0,T=Math.pow(2,2),O=1;O!=T;)C=P.val&P.position,P.position>>=1,P.position==0&&(P.position=f,P.val=d(P.index++)),E|=(C>0?1:0)*O,O<<=1;switch(E){case 0:for(E=0,T=Math.pow(2,8),O=1;O!=T;)C=P.val&P.position,P.position>>=1,P.position==0&&(P.position=f,P.val=d(P.index++)),E|=(C>0?1:0)*O,O<<=1;v=o(E);break;case 1:for(E=0,T=Math.pow(2,16),O=1;O!=T;)C=P.val&P.position,P.position>>=1,P.position==0&&(P.position=f,P.val=d(P.index++)),E|=(C>0?1:0)*O,O<<=1;v=o(E);break;case 2:return""}for(c[3]=v,S=v,y.push(v);;){if(P.index>s)return"";for(E=0,T=Math.pow(2,h),O=1;O!=T;)C=P.val&P.position,P.position>>=1,P.position==0&&(P.position=f,P.val=d(P.index++)),E|=(C>0?1:0)*O,O<<=1;switch(v=E){case 0:for(E=0,T=Math.pow(2,8),O=1;O!=T;)C=P.val&P.position,P.position>>=1,P.position==0&&(P.position=f,P.val=d(P.index++)),E|=(C>0?1:0)*O,O<<=1;c[m++]=o(E),v=m-1,p--;break;case 1:for(E=0,T=Math.pow(2,16),O=1;O!=T;)C=P.val&P.position,P.position>>=1,P.position==0&&(P.position=f,P.val=d(P.index++)),E|=(C>0?1:0)*O,O<<=1;c[m++]=o(E),v=m-1,p--;break;case 2:return y.join("")}if(p==0&&(p=Math.pow(2,h),h++),c[v])g=c[v];else if(v===m)g=S+S.charAt(0);else return null;y.push(g),c[m++]=S+g.charAt(0),p--,S=g,p==0&&(p=Math.pow(2,h),h++)}}};return l}();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})}}),at=_e(Vm(),1),_o=at.default.expect;at.default.version;at.default.Assertion;at.default.AssertionError;var jn=at.default.util;at.default.config;var Eo=at.default.use;at.default.should;var f_=at.default.assert;at.default.core;var p_=at.default,m_=(()=>{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})();function bt(e,t,r){let o=typeof e;if(!r.includes(o))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${o}"`)}function h_(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function y_(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function ko(e){return Object.prototype.toString.apply(e).slice(8,-1)}function b_(e,t){let r=typeof t=="function"?t:o=>t.add(o);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function xu(e){let t=new Set;return y_(e)?[]:(b_(e,t),Array.from(t))}var qu={forceWritable:!1};function qi(e,t=qu){return Do(e,new WeakMap,t)}function Do(e,t,r=qu){let o,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(o=e.length),t.set(e,a);o--;)a[o]=Do(e[o],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let u=xu(e);for(let n of u){let i=Object.getOwnPropertyDescriptor(e,n);if(!i)continue;let l=Do(e[n],t,r);"get"in i?Object.defineProperty(a,n,{...i,get(){return l}}):Object.defineProperty(a,n,{...i,writable:r.forceWritable?!0:i.writable,value:l})}return a}return e}var Lo=_e(Jn(),1),g_=_e(Vn(),1),{AsymmetricMatcher:v_,DOMCollection:__,DOMElement:E_,Immutable:w_,ReactElement:S_,ReactTestComponent:C_}=Lo.plugins,Mi=[C_,S_,E_,__,w_,v_];function ut(e,t=10,{maxLength:r,...o}={}){let a=r??1e4,u;try{u=(0,Lo.format)(e,{maxDepth:t,escapeString:!1,plugins:Mi,...o})}catch{u=(0,Lo.format)(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Mi,...o})}return u.length>=a&&t>1?ut(e,Math.floor(t/2)):u}var P_=/%[sdjifoOcj%]/g;function O_(...e){if(typeof e[0]!="string"){let u=[];for(let n=0;n{if(u==="%%")return"%";if(r>=t)return u;switch(u){case"%s":{let n=e[r++];return typeof n=="bigint"?`${n.toString()}n`:typeof n=="number"&&n===0&&1/n<0?"-0":typeof n=="object"&&n!==null?Ir(n,{depth:0,colors:!1,compact:3}):String(n)}case"%d":{let n=e[r++];return typeof n=="bigint"?`${n.toString()}n`:Number(n).toString()}case"%i":{let n=e[r++];return typeof n=="bigint"?`${n.toString()}n`:Number.parseInt(String(n)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ir(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ir(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(n){let i=n.message;if(i.includes("circular structure")||i.includes("cyclic structures")||i.includes("cyclic object"))return"[Circular]";throw n}default:return u}});for(let u=e[r];r(e[t]=Ua,e),{isColorSupported:!1});function Ha(){return globalThis[R_]||x_}_e(Jn(),1);_e(Vn(),1);var Mu;Mu=/\r?\n|[\r\u2028\u2029]/y;RegExp(Mu.source);var ju={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(ju.keyword);new Set(ju.strict);var vt=_e(Jn(),1),ji=_e(Vs(),1);function Ii(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var br=-1,gr=1,On=0,Nr=class{constructor(e,t){Ht(this,0);Ht(this,1);this[0]=e,this[1]=t}},Iu="Compared values have no visual difference.",q_="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function M_(e,t){return e.replace(/\s+$/,r=>t(r))}function za(e,t,r,o,a,u){return e.length!==0?r(`${o} ${M_(e,a)}`):o!==" "?r(o):t&&u.length!==0?r(`${o} ${u}`):""}function Nu(e,t,{aColor:r,aIndicator:o,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return za(e,t,r,o,a,u)}function $u(e,t,{bColor:r,bIndicator:o,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return za(e,t,r,o,a,u)}function Bu(e,t,{commonColor:r,commonIndicator:o,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return za(e,t,r,o,a,u)}function Ni(e,t,r,o,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${o-r} @@`)}function j_(e,t){let r=e.length,o=t.contextLines,a=o+o,u=r,n=!1,i=0,l=0;for(;l!==r;){let E=l;for(;l!==r&&e[l][0]===On;)l+=1;if(E!==l)if(E===0)l>o&&(u-=l-o,n=!0);else if(l===r){let C=l-E;C>o&&(u-=C-o,n=!0)}else{let C=l-E;C>a&&(u-=C-a,i+=1)}for(;l!==r&&e[l][0]!==On;)l+=1}let s=i!==0||n;i!==0?u+=i+1:n&&(u+=1);let f=u-1,d=[],c=0;s&&d.push("");let p=0,m=0,h=0,g=0,y=E=>{let C=d.length;d.push(Bu(E,C===0||C===f,t)),h+=1,g+=1},_=E=>{let C=d.length;d.push(Nu(E,C===0||C===f,t)),h+=1},S=E=>{let C=d.length;d.push($u(E,C===0||C===f,t)),g+=1};for(l=0;l!==r;){let E=l;for(;l!==r&&e[l][0]===On;)l+=1;if(E!==l)if(E===0){l>o&&(E=l-o,p=E,m=E,h=p,g=m);for(let C=E;C!==l;C+=1)y(e[C][1])}else if(l===r){let C=l-E>o?E+o:l;for(let T=E;T!==C;T+=1)y(e[T][1])}else{let C=l-E;if(C>a){let T=E+o;for(let v=E;v!==T;v+=1)y(e[v][1]);d[c]=Ni(p,h,m,g,t),c=d.length,d.push("");let O=C-a;p=h+O,m=g+O,h=p,g=m;for(let v=l-o;v!==l;v+=1)y(e[v][1])}else for(let T=E;T!==l;T+=1)y(e[T][1])}for(;l!==r&&e[l][0]===br;)_(e[l][1]),l+=1;for(;l!==r&&e[l][0]===gr;)S(e[l][1]),l+=1}return s&&(d[c]=Ni(p,h,m,g,t)),d.join(` -`)}function I_(e,t){return e.map((r,o,a)=>{let u=r[1],n=o===0||o===a.length-1;switch(r[0]){case br:return Nu(u,n,t);case gr:return $u(u,n,t);default:return Bu(u,n,t)}}).join(` -`)}var $i=e=>e,ku=5;function N_(){let e=Ha();return{aAnnotation:"Expected",aColor:e.green,aIndicator:"-",bAnnotation:"Received",bColor:e.red,bIndicator:"+",changeColor:e.inverse,changeLineTrailingSpaceColor:$i,commonColor:e.dim,commonIndicator:" ",commonLineTrailingSpaceColor:$i,compareKeys:void 0,contextLines:ku,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:e.yellow}}function $_(e){return e&&typeof e=="function"?e:void 0}function B_(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:ku}function ln(e={}){return{...N_(),...e,compareKeys:$_(e.compareKeys),contextLines:B_(e.contextLines)}}function ur(e){return e.length===1&&e[0].length===0}function k_(e){let t=0,r=0;return e.forEach(o=>{switch(o[0]){case br:t+=1;break;case gr:r+=1;break}}),{a:t,b:r}}function D_({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:o,bColor:a,bIndicator:u,includeChangeCounts:n,omitAnnotationLines:i},l){if(i)return"";let s="",f="";if(n){let p=String(l.a),m=String(l.b),h=o.length-e.length,g=" ".repeat(Math.max(0,h)),y=" ".repeat(Math.max(0,-h)),_=m.length-p.length,S=" ".repeat(Math.max(0,_)),E=" ".repeat(Math.max(0,-_));s=`${g} ${r} ${S}${p}`,f=`${y} ${u} ${E}${m}`}let d=`${r} ${e}${s}`,c=`${u} ${o}${f}`;return`${t(d)} -${a(c)} - -`}function Du(e,t){return D_(t,k_(e))+(t.expand?I_(e,t):j_(e,t))}function Va(e,t,r){return Du(Lu(ur(e)?[]:e,ur(t)?[]:t),ln(r))}function L_(e,t,r,o,a){if(ur(e)&&ur(r)&&(e=[],r=[]),ur(t)&&ur(o)&&(t=[],o=[]),e.length!==r.length||t.length!==o.length)return Va(e,t,a);let u=Lu(r,o),n=0,i=0;return u.forEach(l=>{switch(l[0]){case br:l[1]=e[n],n+=1;break;case gr:l[1]=t[i],i+=1;break;default:l[1]=t[i],n+=1,i+=1}}),Du(u,ln(a))}function Lu(e,t){let r=e.length,o=t.length,a=(s,f)=>e[s]===t[f],u=[],n=0,i=0,l=(s,f,d)=>{for(;n!==f;n+=1)u.push(new Nr(br,e[n]));for(;i!==d;i+=1)u.push(new Nr(gr,t[i]));for(;s!==0;s-=1,n+=1,i+=1)u.push(new Nr(On,t[i]))};for((ji.default.default||ji.default)(r,o,a,l);n!==r;n+=1)u.push(new Nr(br,e[n]));for(;i!==o;i+=1)u.push(new Nr(gr,t[i]));return u}function Fo(e,t){let{commonColor:r}=ln(t);return r(e)}var{AsymmetricMatcher:F_,DOMCollection:U_,DOMElement:H_,Immutable:z_,ReactElement:V_,ReactTestComponent:W_}=vt.plugins,Fu=[W_,V_,H_,U_,z_,F_],Uo={plugins:Fu},Uu={callToJSON:!1,maxDepth:10,plugins:Fu};function zr(e,t,r){if(Object.is(e,t))return"";let o=Ii(e),a=o,u=!1;if(o==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return null;a=e.getExpectedType(),u=a==="string"}if(a!==Ii(t)){let{aAnnotation:n,aColor:i,aIndicator:l,bAnnotation:s,bColor:f,bIndicator:d}=ln(r),c=Ho(Uu,r),p=(0,vt.format)(e,c),m=(0,vt.format)(t,c),h=`${i(`${l} ${n}:`)} -${p}`,g=`${f(`${d} ${s}:`)} -${m}`;return`${h} - -${g}`}if(u)return null;switch(o){case"string":return Va(e.split(` -`),t.split(` -`),r);case"boolean":case"number":return G_(e,t,r);case"map":return wo(Bi(e),Bi(t),r);case"set":return wo(ki(e),ki(t),r);default:return wo(e,t,r)}}function G_(e,t,r){let o=(0,vt.format)(e,Uo),a=(0,vt.format)(t,Uo);return o===a?"":Va(o.split(` -`),a.split(` -`),r)}function Bi(e){return new Map(Array.from(e.entries()).sort())}function ki(e){return new Set(Array.from(e.values()).sort())}function wo(e,t,r){let o,a=!1;try{let n=Ho(Uo,r);o=Di(e,t,n,r)}catch{a=!0}let u=Fo(Iu,r);if(o===void 0||o===u){let n=Ho(Uu,r);o=Di(e,t,n,r),o!==u&&!a&&(o=`${Fo(q_,r)} - -${o}`)}return o}function Ho(e,t){let{compareKeys:r}=ln(t);return{...e,compareKeys:r}}function Di(e,t,r,o){let a={...r,indent:0},u=(0,vt.format)(e,a),n=(0,vt.format)(t,a);if(u===n)return Fo(Iu,o);{let i=(0,vt.format)(e,r),l=(0,vt.format)(t,r);return L_(i.split(` -`),l.split(` -`),u.split(` -`),n.split(` -`),o)}}function Rn(e,t){if(!e)throw new Error(t)}function cr(e,t){return typeof t===e}function K_(e){return e instanceof Promise}function zo(e,t,r){Object.defineProperty(e,t,r)}function fr(e,t,r){Object.defineProperty(e,t,{value:r})}var Fr=Symbol.for("tinyspy:spy"),Y_=new Set,J_=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[]},X_=e=>(zo(e,Fr,{value:{reset:()=>J_(e[Fr])}}),e[Fr]),Vo=e=>e[Fr]||X_(e);function Q_(e){Rn(cr("function",e)||cr("undefined",e),"cannot spy on a non-function value");let t=function(...o){let a=Vo(t);a.called=!0,a.callCount++,a.calls.push(o);let u=a.next.shift();if(u){a.results.push(u);let[s,f]=u;if(s==="ok")return f;throw f}let n,i="ok";if(a.impl)try{new.target?n=Reflect.construct(a.impl,o,new.target):n=a.impl.apply(this,o),i="ok"}catch(s){throw n=s,i="error",a.results.push([i,s]),s}let l=[i,n];if(K_(n)){let s=n.then(f=>l[1]=f).catch(f=>{throw l[0]="error",l[1]=f,f});Object.assign(s,n),n=s}return a.results.push(l),n};fr(t,"_isMockFunction",!0),fr(t,"length",e?e.length:0),fr(t,"name",e&&e.name||"spy");let r=Vo(t);return r.reset(),r.impl=e,t}var Li=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function Z_(e,t,r){Rn(!cr("undefined",e),"spyOn could not find an object to spy upon"),Rn(cr("object",e)||cr("function",e),"cannot spyOn on a primitive value");let o=()=>{if(!cr("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")},[a,u]=o(),n=Li(e,a),i=Object.getPrototypeOf(e),l=i&&Li(i,a),s=n||l;Rn(s||a in e,`${String(a)} does not exist`);let f=!1;u==="value"&&s&&!s.value&&s.get&&(u="get",f=!0,r=s.get());let d;s?d=s[u]:u!=="value"?d=()=>e[a]:d=e[a],r||(r=d);let c=Q_(r),p=g=>{let{value:y,..._}=s||{configurable:!0,writable:!0};u!=="value"&&delete _.writable,_[u]=g,zo(e,a,_)},m=()=>s?zo(e,a,s):p(d),h=c[Fr];return fr(h,"restore",m),fr(h,"getOriginal",()=>f?d():d),fr(h,"willCall",g=>(h.impl=g,c)),p(f?()=>c:c),Y_.add(c),c}var ao=new Set;function eE(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var tE=0;function rE(e){let t=e,r,o=[],a=[],u=Vo(e),n={get calls(){return u.calls},get instances(){return o},get invocationCallOrder(){return a},get results(){return u.results.map(([c,p])=>({type:c==="error"?"throw":"return",value:p}))},get lastCall(){return u.calls[u.calls.length-1]}},i=[],l=!1;function s(...c){return o.push(this),a.push(++tE),(l?r:i.shift()||r||u.getOriginal()||(()=>{})).apply(this,c)}let f=t.name;t.getMockName=()=>f||"vi.fn()",t.mockName=c=>(f=c,t),t.mockClear=()=>(u.reset(),o=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},i=[],t),t.mockRestore=()=>(t.mockReset(),u.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=c=>(r=c,u.willCall(s),t),t.mockImplementationOnce=c=>(i.push(c),t);function d(c,p){let m=r;r=c,u.willCall(s),l=!0;let h=()=>{r=m,l=!1},g=p();return g instanceof Promise?g.then(()=>(h(),t)):(h(),t)}return t.withImplementation=d,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=c=>t.mockImplementation(()=>c),t.mockReturnValueOnce=c=>t.mockImplementationOnce(()=>c),t.mockResolvedValue=c=>t.mockImplementation(()=>Promise.resolve(c)),t.mockResolvedValueOnce=c=>t.mockImplementationOnce(()=>Promise.resolve(c)),t.mockRejectedValue=c=>t.mockImplementation(()=>Promise.reject(c)),t.mockRejectedValueOnce=c=>t.mockImplementationOnce(()=>Promise.reject(c)),Object.defineProperty(t,"mock",{get:()=>n}),u.willCall(s),ao.add(t),t}function io(e){let t=rE(Z_({spy:e||(()=>{})},"spy"));return e&&t.mockImplementation(e),t}_e(Jn(),1);_e(Vs(),1);_e(Vn(),1);var nE="@@__IMMUTABLE_RECORD__@@",oE="@@__IMMUTABLE_ITERABLE__@@";function aE(e){return e&&(e[oE]||e[nE])}var iE=Object.getPrototypeOf({});function Fi(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function Ur(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(aE(e))return Ur(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()} ${O_(e.sample)}`;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((o,a)=>{try{r[a]=Ur(o,t)}catch(u){r[a]=Fi(u)}}),r}else{let r=Object.create(null);t.set(e,r);let o=e;for(;o&&o!==iE;)Object.getOwnPropertyNames(o).forEach(a=>{if(!(a in r))try{r[a]=Ur(e[a],t)}catch(u){delete r[a],r[a]=Fi(u)}}),o=Object.getPrototypeOf(o);return r}}function Ui(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function lE(e,t){if(!e||typeof e!="object")return{message:e};if(e.stack&&(e.stackStr=String(e.stack)),e.name&&(e.nameStr=String(e.name)),e.showDiff||e.showDiff===void 0&&e.expected!==void 0&&e.actual!==void 0){let r=qi(e.actual,{forceWritable:!0}),o=qi(e.expected,{forceWritable:!0}),{replacedActual:a,replacedExpected:u}=Hu(r,o);e.diff=zr(u,a,{...t,...e.diffOptions})}typeof e.expected!="string"&&(e.expected=ut(e.expected,10)),typeof e.actual!="string"&&(e.actual=ut(e.actual,10));try{typeof e.message=="string"&&(e.message=Ui(e.message)),typeof e.cause=="object"&&typeof e.cause.message=="string"&&(e.cause.message=Ui(e.cause.message))}catch{}try{return Ur(e)}catch(r){return Ur(new Error(`Failed to fully serialize error: ${r==null?void 0:r.message} -Inner error message: ${e==null?void 0:e.message}`))}}function Hi(e){return ko(e)==="Object"&&typeof e.asymmetricMatch=="function"}function zi(e,t){let r=ko(e),o=ko(t);return r===o&&(r==="Object"||r==="Array")}function Hu(e,t,r=new WeakSet,o=new WeakSet){return zi(e,t)?r.has(e)||o.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),o.add(t),xu(t).forEach(a=>{let u=t[a],n=e[a];if(Hi(u))u.asymmetricMatch(n)&&(e[a]=u);else if(Hi(n))n.asymmetricMatch(u)&&(t[a]=n);else if(zi(n,u)){let i=Hu(n,u,r,o);e[a]=i.replacedActual,t[a]=i.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}var Vr=Symbol.for("matchers-object"),Wr=Symbol.for("$$jest-matchers-object-storybook"),lo=Symbol.for("expect-global"),Wo=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,Vr)){let e=new WeakMap;Object.defineProperty(globalThis,Vr,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,Wr)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Wr,{configurable:!0,get:()=>({state:globalThis[Vr].get(globalThis[lo]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Wo)){let e=Object.create(null);Object.defineProperty(globalThis,Wo,{get:()=>e})}function Gr(e){return globalThis[Vr].get(e)}function So(e,t){let r=globalThis[Vr],o=r.get(t)||{};Object.assign(o,e),r.set(t,o)}function zu(){let e=()=>Ha(),t=e().green,r=e().red,o=e().inverse,a=e().bold,u=e().dim;function n(s,f="received",d="expected",c={}){let{comment:p="",isDirectExpectCall:m=!1,isNot:h=!1,promise:g="",secondArgument:y="",expectedColor:_=t,receivedColor:S=r,secondArgumentColor:E=t}=c,C="",T="expect";return!m&&f!==""&&(C+=u(`${T}(`)+S(f),T=")"),g!==""&&(C+=u(`${T}.`)+g,T=""),h&&(C+=`${u(`${T}.`)}not`,T=""),s.includes(".")?T+=s:(C+=u(`${T}.`)+s,T=""),d===""?T+="()":(C+=u(`${T}(`)+_(d),y&&(C+=u(", ")+E(y)),T=")"),p!==""&&(T+=` // ${p}`),T!==""&&(C+=u(T)),C}let i="·",l=s=>s.replace(/\s+$/gm,f=>i.repeat(f.length));return{EXPECTED_COLOR:t,RECEIVED_COLOR:r,INVERTED_COLOR:o,BOLD_WEIGHT:a,DIM_COLOR:u,matcherHint:n,printReceived:s=>r(l(ut(s))),printExpected:s=>t(l(ut(s)))}}function Wa(){return globalThis[Wr].customEqualityTesters}function ve(e,t,r,o){return r=r||[],Vu(e,t,[],[],r,o?Wu:uE)}function Vi(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&nt("Function",e.asymmetricMatch)}function sE(e,t){let r=Vi(e),o=Vi(t);if(!(r&&o)){if(r)return e.asymmetricMatch(t);if(o)return t.asymmetricMatch(e)}}function Vu(e,t,r,o,a,u){let n=!0,i=sE(e,t);if(i!==void 0)return i;let l={equals:ve};for(let m=0;mObject.getOwnPropertyDescriptor(e,o).enumerable))}function uE(e,t){return Wu(e,t)&&e[t]!==void 0}function Wu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function nt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function Gi(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var cE="@@__IMMUTABLE_KEYED__@@",dE="@@__IMMUTABLE_SET__@@",Gu="@@__IMMUTABLE_ORDERED__@@";function fE(e){return!!(e&&e[cE]&&!e[Gu])}function pE(e){return!!(e&&e[dE]&&!e[Gu])}var Ku=Symbol.iterator;function Ki(e){return!!(e!=null&&e[Ku])}function Qe(e,t,r=[],o=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Ki(e)||!Ki(t))return;if(e.constructor!==t.constructor)return!1;let u=o.length;for(;u--;)if(o[u]===e)return a[u]===t;o.push(e),a.push(t);let n=[...r.filter(s=>s!==Qe),i];function i(s,f){return Qe(s,f,[...n],[...o],[...a])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(nt("Set",e)||pE(e)){let s=!0;for(let f of e)if(!t.has(f)){let d=!1;for(let c of t)ve(f,c,n)===!0&&(d=!0);if(d===!1){s=!1;break}}return o.pop(),a.pop(),s}else if(nt("Map",e)||fE(e)){let s=!0;for(let f of e)if(!t.has(f[0])||!ve(f[1],t.get(f[0]),n)){let d=!1;for(let c of t){let p=ve(f[0],c[0],n),m=!1;p===!0&&(m=ve(f[1],c[1],n)),m===!0&&(d=!0)}if(d===!1){s=!1;break}}return o.pop(),a.pop(),s}}let l=t[Ku]();for(let s of e){let f=l.next();if(f.done||!ve(s,f.value,n))return!1}return l.next().done?(o.pop(),a.pop(),!0):!1}function Yu(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Yu(Object.getPrototypeOf(e),t)}function Yi(e){return h_(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function so(e,t,r=[]){let o=r.filter(u=>u!==so),a=(u=new WeakMap)=>(n,i)=>{if(Yi(i))return Object.keys(i).every(l=>{if(Yi(i[l])){if(u.has(i[l]))return ve(n[l],i[l],o);u.set(i[l],!0)}let s=n!=null&&Yu(n,l)&&ve(n[l],i[l],[...o,a(u)]);return u.delete(i[l]),s})};return a()(e,t)}function Ji(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function Xi(e,t){let r=e,o=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),o=new DataView(t)}catch{return}}if(r.byteLength!==o.byteLength)return!1;for(let a=0;an!==Go);return ve(e,t,u,!0)&&ve(o,a)}function mE(e,t="#{this}",r="#{exp}"){let o=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${o} - -If it should pass with deep equality, replace "toBe" with "${e}" - -Expected: ${t} -Received: serializes to the same string -`:o}function hE(e,t){return`${t} ${e}${t===1?"":"s"}`}var kt=class{constructor(e,t=!1){Ht(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Gr(e||globalThis[lo]),equals:ve,isNot:this.inverse,customTesters:Wa(),utils:{...zu(),diff:zr,stringify:ut,iterableEquality:Qe,subsetEquality:so}}}[Symbol.for("chai/inspect")](e){let t=ut(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`}},Qi=class extends kt{constructor(e,t=!1){if(!nt("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=nt("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},yE=class extends kt{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},Zi=class extends kt{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let o in this.sample)if(!this.hasProperty(e,o)||!ve(this.sample[o],e[o],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},el=class extends kt{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(o=>e.some(a=>ve(o,a,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},bE=class extends kt{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*\*?\s*([\w$]+)\s*\(/);return t?t[1]:""}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},tl=class extends kt{constructor(e,t=!1){if(!nt("String",e)&&!nt("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=nt("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},rl=class extends kt{constructor(t,r=2,o=!1){if(!nt("Number",t))throw new Error("Expected is not a Number");if(!nt("Number",r))throw new Error("Precision is not a Number");super(t);Ht(this,"precision");this.inverse=o,this.precision=r}asymmetricMatch(t){if(!nt("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${hE("digit",this.precision)})`].join(" ")}},gE=(e,t)=>{t.addMethod(e.expect,"anything",()=>new yE),t.addMethod(e.expect,"any",r=>new bE(r)),t.addMethod(e.expect,"stringContaining",r=>new Qi(r)),t.addMethod(e.expect,"objectContaining",r=>new Zi(r)),t.addMethod(e.expect,"arrayContaining",r=>new el(r)),t.addMethod(e.expect,"stringMatching",r=>new tl(r)),t.addMethod(e.expect,"closeTo",(r,o)=>new rl(r,o)),e.expect.not={stringContaining:r=>new Qi(r,!0),objectContaining:r=>new Zi(r,!0),arrayContaining:r=>new el(r,!0),stringMatching:r=>new tl(r,!0),closeTo:(r,o)=>new rl(r,o,!0)}};function nl(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function Ju(e,t){return function(...r){var o;let a=e.flag(this,"vitest-test");if(!(a!=null&&a.context._local?a.context.expect.getState():Gr(globalThis[lo])).soft)return t.apply(this,r);if(!a)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(u){a.result||(a.result={state:"fail"}),a.result.state="fail",(o=a.result).errors||(o.errors=[]),a.result.errors.push(lE(u))}}}var vE=(e,t)=>{let{AssertionError:r}=e,o=()=>Ha(),a=Wa();function u(d,c){let p=m=>{let h=Ju(t,c);t.addMethod(e.Assertion.prototype,m,h),t.addMethod(globalThis[Wr].matchers,m,h)};Array.isArray(d)?d.forEach(m=>p(m)):p(d)}["throw","throws","Throw"].forEach(d=>{t.overwriteMethod(e.Assertion.prototype,d,c=>function(...p){let m=t.flag(this,"promise"),h=t.flag(this,"object"),g=t.flag(this,"negate");if(m==="rejects")t.flag(this,"object",()=>{throw h});else if(m==="resolves"&&typeof h!="function"){if(g)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",_={showDiff:!1};throw new r(y,_,t.flag(this,"ssfi"))}}c.apply(this,p)})}),u("withTest",function(d){return t.flag(this,"vitest-test",d),this}),u("toEqual",function(d){let c=t.flag(this,"object"),p=ve(c,d,[...a,Qe]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",d,c)}),u("toStrictEqual",function(d){let c=t.flag(this,"object"),p=ve(c,d,[...a,Qe,Ji,Go,Xi],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",d,c)}),u("toBe",function(d){let c=this._obj,p=Object.is(c,d),m="";return p||(ve(c,d,[...a,Qe,Ji,Go,Xi],!0)?m="toStrictEqual":ve(c,d,[...a,Qe])&&(m="toEqual")),this.assert(p,mE(m),"expected #{this} not to be #{exp} // Object.is equality",d,c)}),u("toMatchObject",function(d){let c=this._obj;return this.assert(ve(c,d,[...a,Qe,so]),"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",d,c)}),u("toMatch",function(d){return typeof d=="string"?this.include(d):this.match(d)}),u("toContain",function(d){let c=this._obj;if(typeof Node<"u"&&c instanceof Node){if(!(d instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof d}`);return this.assert(c.contains(d),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",d,c)}if(typeof DOMTokenList<"u"&&c instanceof DOMTokenList){bt(d,"class name",["string"]);let p=t.flag(this,"negate")?c.value.replace(d,"").trim():`${c.value} ${d}`;return this.assert(c.contains(d),`expected "${c.value}" to contain "${d}"`,`expected "${c.value}" not to contain "${d}"`,p,c.value)}return c!=null&&typeof c!="string"&&t.flag(this,"object",Array.from(c)),this.contain(d)}),u("toContainEqual",function(d){let c=t.flag(this,"object"),p=Array.from(c).findIndex(m=>ve(m,d,a));this.assert(p!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",d)}),u("toBeTruthy",function(){let d=t.flag(this,"object");this.assert(!!d,"expected #{this} to be truthy","expected #{this} to not be truthy",d,!1)}),u("toBeFalsy",function(){let d=t.flag(this,"object");this.assert(!d,"expected #{this} to be falsy","expected #{this} to not be falsy",d,!1)}),u("toBeGreaterThan",function(d){let c=this._obj;return bt(c,"actual",["number","bigint"]),bt(d,"expected",["number","bigint"]),this.assert(c>d,`expected ${c} to be greater than ${d}`,`expected ${c} to be not greater than ${d}`,c,d,!1)}),u("toBeGreaterThanOrEqual",function(d){let c=this._obj;return bt(c,"actual",["number","bigint"]),bt(d,"expected",["number","bigint"]),this.assert(c>=d,`expected ${c} to be greater than or equal to ${d}`,`expected ${c} to be not greater than or equal to ${d}`,c,d,!1)}),u("toBeLessThan",function(d){let c=this._obj;return bt(c,"actual",["number","bigint"]),bt(d,"expected",["number","bigint"]),this.assert(cString(E).replace(/([.[\]])/g,"\\$1")).join("."));let c=this._obj,[p,m]=d,h=()=>Object.prototype.hasOwnProperty.call(c,p)?{value:c[p],exists:!0}:t.getPathInfo(c,p),{value:g,exists:y}=h(),_=y&&(d.length===1||ve(m,g,a)),S=d.length===1?"":` with value ${t.objDisplay(m)}`;return this.assert(_,`expected #{this} to have property "${p}"${S}`,`expected #{this} to not have property "${p}"${S}`,m,y?g:void 0)}),u("toBeCloseTo",function(d,c=2){let p=this._obj,m=!1,h=0,g=0;return d===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||d===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?m=!0:(h=10**-c/2,g=Math.abs(p-d),m=g{if(!eE(d._obj))throw new TypeError(`${t.inspect(d._obj)} is not a spy or a call to a spy!`)},i=d=>(n(d),d._obj),l=d=>{let c=d%10,p=d%100;return c===1&&p!==11?`${d}st`:c===2&&p!==12?`${d}nd`:c===3&&p!==13?`${d}rd`:`${d}th`},s=(d,c,p)=>(d.mock.calls&&(c+=o().gray(` - -Received: - -${d.mock.calls.map((m,h)=>{let g=o().bold(` ${l(h+1)} ${d.getMockName()} call: - -`);return p?g+=zr(p,m,{omitAnnotationLines:!0}):g+=ut(m).split(` -`).map(y=>` ${y}`).join(` -`),g+=` -`,g}).join(` -`)}`)),c+=o().gray(` - -Number of calls: ${o().bold(d.mock.calls.length)} -`),c),f=(d,c,p)=>(c+=o().gray(` - -Received: - -${d.mock.results.map((m,h)=>{let g=o().bold(` ${l(h+1)} ${d.getMockName()} call return: - -`);return p?g+=zr(p,m.value,{omitAnnotationLines:!0}):g+=ut(m).split(` -`).map(y=>` ${y}`).join(` -`),g+=` -`,g}).join(` -`)}`),c+=o().gray(` - -Number of calls: ${o().bold(d.mock.calls.length)} -`),c);u(["toHaveBeenCalledTimes","toBeCalledTimes"],function(d){let c=i(this),p=c.getMockName(),m=c.mock.calls.length;return this.assert(m===d,`expected "${p}" to be called #{exp} times, but got ${m} times`,`expected "${p}" to not be called #{exp} times`,d,m,!1)}),u("toHaveBeenCalledOnce",function(){let d=i(this),c=d.getMockName(),p=d.mock.calls.length;return this.assert(p===1,`expected "${c}" to be called once, but got ${p} times`,`expected "${c}" to not be called once`,1,p,!1)}),u(["toHaveBeenCalled","toBeCalled"],function(){let d=i(this),c=d.getMockName(),p=d.mock.calls.length,m=p>0,h=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${c}" to be called at least once`,`expected "${c}" to not be called at all, but actually been called ${p} times`,!0,m]);if(m&&h&&(g=s(d,g)),m&&h||!m&&!h)throw new r(g)}),u(["toHaveBeenCalledWith","toBeCalledWith"],function(...d){let c=i(this),p=c.getMockName(),m=c.mock.calls.some(y=>ve(y,d,[...a,Qe])),h=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,d]);if(m&&h||!m&&!h)throw new r(s(c,g,d))}),u(["toHaveBeenNthCalledWith","nthCalledWith"],function(d,...c){let p=i(this),m=p.getMockName(),h=p.mock.calls[d-1];this.assert(ve(h,c,[...a,Qe]),`expected ${l(d)} "${m}" call to have been called with #{exp}`,`expected ${l(d)} "${m}" call to not have been called with #{exp}`,c,h)}),u(["toHaveBeenLastCalledWith","lastCalledWith"],function(...d){let c=i(this),p=c.getMockName(),m=c.mock.calls[c.mock.calls.length-1];this.assert(ve(m,d,[...a,Qe]),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,d,m)}),u(["toThrow","toThrowError"],function(d){if(typeof d=="string"||typeof d>"u"||d instanceof RegExp)return this.throws(d);let c=this._obj,p=t.flag(this,"promise"),m=t.flag(this,"negate"),h=null;if(p==="rejects")h=c;else if(p==="resolves"&&typeof c!="function"){if(m)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(g,y,t.flag(this,"ssfi"))}}else{let g=!1;try{c()}catch(y){g=!0,h=y}if(!g&&!m){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",_={showDiff:!1};throw new r(y,_,t.flag(this,"ssfi"))}}if(typeof d=="function"){let g=d.name||d.prototype.constructor.name;return this.assert(h&&h instanceof d,`expected error to be instance of ${g}`,`expected error not to be instance of ${g}`,d,h)}if(d instanceof Error)return this.assert(h&&d.message===h.message,`expected error to have message: ${d.message}`,`expected error not to have message: ${d.message}`,d.message,h&&h.message);if(typeof d=="object"&&"asymmetricMatch"in d&&typeof d.asymmetricMatch=="function"){let g=d;return this.assert(h&&g.asymmetricMatch(h),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",g,h)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof d}"`)}),u(["toHaveReturned","toReturn"],function(){let d=i(this),c=d.getMockName(),p=d.mock.calls.length>0&&d.mock.results.some(({type:m})=>m!=="throw");this.assert(p,`expected "${c}" to be successfully called at least once`,`expected "${c}" to not be successfully called`,p,!p,!1)}),u(["toHaveReturnedTimes","toReturnTimes"],function(d){let c=i(this),p=c.getMockName(),m=c.mock.results.reduce((h,{type:g})=>g==="throw"?h:++h,0);this.assert(m===d,`expected "${p}" to be successfully called ${d} times`,`expected "${p}" to not be successfully called ${d} times`,`expected number of returns: ${d}`,`received number of returns: ${m}`,!1)}),u(["toHaveReturnedWith","toReturnWith"],function(d){let c=i(this),p=c.getMockName(),m=c.mock.results.some(({type:y,value:_})=>y==="return"&&ve(d,_)),h=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${p}" to return with: #{exp} at least once`,`expected "${p}" to not return with: #{exp}`,d]);if(m&&h||!m&&!h)throw new r(f(c,g,d))}),u(["toHaveLastReturnedWith","lastReturnedWith"],function(d){let c=i(this),p=c.getMockName(),{value:m}=c.mock.results[c.mock.results.length-1],h=ve(m,d);this.assert(h,`expected last "${p}" call to return #{exp}`,`expected last "${p}" call to not return #{exp}`,d,m)}),u(["toHaveNthReturnedWith","nthReturnedWith"],function(d,c){let p=i(this),m=p.getMockName(),h=t.flag(this,"negate"),{type:g,value:y}=p.mock.results[d-1],_=`${l(d)} call`;!h&&g==="throw"&&e.assert.fail(`expected ${_} to return #{exp}, but instead it threw an error`);let S=ve(y,c);this.assert(S,`expected ${_} "${m}" call to return #{exp}`,`expected ${_} "${m}" call to not return #{exp}`,c,y)}),u("toSatisfy",function(d,c){return this.be.satisfy(d,c)}),t.addProperty(e.Assertion.prototype,"resolves",function(){let d=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",d);let c=t.flag(this,"vitest-test"),p=t.flag(this,"object");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 m=new Proxy(this,{get:(h,g,y)=>{let _=Reflect.get(h,g,y);return typeof _!="function"?_ instanceof e.Assertion?m:_:async(...S)=>{let E=p.then(C=>(t.flag(this,"object",C),_.call(this,...S)),C=>{let T=new r(`promise rejected "${t.inspect(C)}" instead of resolving`,{showDiff:!1});throw T.cause=C,T.stack=d.stack.replace(d.message,T.message),T});return nl(c,E)}}});return m}),t.addProperty(e.Assertion.prototype,"rejects",function(){let d=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",d);let c=t.flag(this,"vitest-test"),p=t.flag(this,"object"),m=typeof p=="function"?p():p;if(typeof(m==null?void 0:m.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);let h=new Proxy(this,{get:(g,y,_)=>{let S=Reflect.get(g,y,_);return typeof S!="function"?S instanceof e.Assertion?h:S:async(...E)=>{let C=m.then(T=>{let O=new r(`promise resolved "${t.inspect(T)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:T});throw O.stack=d.stack.replace(d.message,O.message),O},T=>(t.flag(this,"object",T),S.call(this,...E)));return nl(c,C)}}});return h})};function _E(e,t){let r=e._obj,o=jn.flag(e,"negate"),a=jn.flag(e,"promise")||"",u={...zu(),diff:zr,stringify:ut,iterableEquality:Qe,subsetEquality:so};return{state:{...Gr(t),customTesters:Wa(),isNot:o,utils:u,promise:a,equals:ve,suppressedErrors:[]},isNot:o,obj:r}}var ol=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function EE(e,t){return(r,o)=>{Object.entries(t).forEach(([a,u])=>{function n(...f){let{state:d,isNot:c,obj:p}=_E(this,e),m=u.call(d,p,...f);if(m&&typeof m=="object"&&m instanceof Promise)return m.then(({pass:S,message:E,actual:C,expected:T})=>{if(S&&c||!S&&!c)throw new ol(E(),C,T)});let{pass:h,message:g,actual:y,expected:_}=m;if(h&&c||!h&&!c)throw new ol(g(),y,_)}let i=Ju(o,n);o.addMethod(globalThis[Wr].matchers,a,i),o.addMethod(r.Assertion.prototype,a,i);class l extends kt{constructor(d=!1,...c){super(c,d)}asymmetricMatch(d){let{pass:c}=u.call(this.getMatcherContext(e),d,...this.sample);return this.inverse?!c:c}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...f)=>new l(!1,...f);Object.defineProperty(e,a,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(e.not,a,{configurable:!0,enumerable:!0,value:(...f)=>new l(!0,...f),writable:!0}),Object.defineProperty(globalThis[Wo],a,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var wE=(e,t)=>{t.addMethod(e.expect,"extend",(r,o)=>{e.use(EE(r,o))})},Xu={};Ca(Xu,{toBeChecked:()=>Dc,toBeDisabled:()=>qc,toBeEmpty:()=>yc,toBeEmptyDOMElement:()=>bc,toBeEnabled:()=>Mc,toBeInTheDOM:()=>Jo,toBeInTheDocument:()=>hc,toBeInvalid:()=>Nc,toBePartiallyChecked:()=>Fc,toBeRequired:()=>jc,toBeValid:()=>$c,toBeVisible:()=>Oc,toContainElement:()=>Xo,toContainHTML:()=>gc,toHaveAccessibleDescription:()=>Qo,toHaveAccessibleErrorMessage:()=>_c,toHaveAccessibleName:()=>ea,toHaveAttribute:()=>Ec,toHaveClass:()=>wc,toHaveDescription:()=>Uc,toHaveDisplayValue:()=>kc,toHaveErrorMessage:()=>Hc,toHaveFocus:()=>Sc,toHaveFormValues:()=>Cc,toHaveRole:()=>Zo,toHaveStyle:()=>ta,toHaveTextContent:()=>vc,toHaveValue:()=>Bc});var al=_e(Ws(),1),SE=_e(lu(),1);function Qu(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Ga(e,t,r,o){Object.defineProperty(e,t,{get:r,set:o,enumerable:!0,configurable:!0})}var Zu={};Qu(Zu);Ga(Zu,"default",()=>ec);var ec=class extends Error{constructor(e,t,r,o,a){super(e+":"+r+":"+o+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=o,this.source=a}},tc={};Qu(tc);Ga(tc,"default",()=>rc);var rc=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},CE={};Ga(CE,"CssTypes",()=>Te);var Te;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.supports="supports"})(Te||(Te={}));var Co=/\/\*[^]*?(?:\*\/|$)/g,PE=(e,t)=>{t=t||{};let r=1,o=1;function a(x){let M=x.match(/\n/g);M&&(r+=M.length);let k=x.lastIndexOf(` -`);o=~k?x.length-k:o+x.length}function u(){let x={line:r,column:o};return function(M){return M.position=new rc(x,{line:r,column:o},(t==null?void 0:t.source)||""),p(),M}}let n=[];function i(x){let M=new ec((t==null?void 0:t.source)||"",x,r,o,e);if(t!=null&&t.silent)n.push(M);else throw M}function l(){let x=d();return{type:Te.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:x,parsingErrors:n}}}function s(){return c(/^{\s*/)}function f(){return c(/^}/)}function d(){let x,M=[];for(p(),m(M);e.length&&e.charAt(0)!=="}"&&(x=se()||ue());)x&&(M.push(x),m(M));return M}function c(x){let M=x.exec(e);if(!M)return;let k=M[0];return a(k),e=e.slice(k.length),M}function p(){c(/^\s*/)}function m(x){let M;for(x=x||[];M=h();)M&&x.push(M);return x}function h(){let x=u();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let M=c(/^\/\*[^]*?\*\//);return M?x({type:Te.comment,comment:M[0].slice(2,-2)}):i("End of comment missing")}function g(x,M,k){let F=M+1,G=!1,$=x.indexOf(")",F);for(;!G&&$!==-1;){let D=x.indexOf("(",F);D!==-1&&D<$?(F=g(x,D+1)+1,$=x.indexOf(")",F)):G=!0}return G&&$!==-1?$:-1}function y(){let x=c(/^([^{]+)/);if(!x)return;let M=Ye(x[0]).replace(Co,"");if(M.indexOf(",")===-1)return[M];let k=0,F=M.indexOf("(",k);for(;F!==-1;){let G=g(M,F);if(G===-1)break;k=G+1,M=M.substring(0,F)+M.substring(F,G).replace(/,/g,"‌")+M.substring(G),F=M.indexOf("(",k)}return M=M.replace(/("|')(?:\\\1|.)*?\1/g,G=>G.replace(/,/g,"‌")),M.split(",").map(G=>Ye(G.replace(/\u200C/g,",")))}function _(){let x=u(),M=c(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!M)return;let k=Ye(M[0]);if(!c(/^:\s*/))return i("property missing ':'");let F=c(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),G=x({type:Te.declaration,property:k.replace(Co,""),value:F?Ye(F[0]).replace(Co,""):""});return c(/^[;\s]*/),G}function S(){let x=[];if(!s())return i("missing '{'");m(x);let M;for(;M=_();)M&&(x.push(M),m(x));return f()?x:i("missing '}'")}function E(){let x,M=[],k=u();for(;x=c(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)M.push(x[1]),c(/^,\s*/);if(M.length)return k({type:Te.keyframe,values:M,declarations:S()||[]})}function C(){let x=u(),M=c(/^@([-\w]+)?keyframes\s*/);if(!M)return;let k=M[1],F=c(/^([-\w]+)\s*/);if(!F)return i("@keyframes missing name");let G=F[1];if(!s())return i("@keyframes missing '{'");let $,D=m();for(;$=E();)D.push($),D=D.concat(m());return f()?x({type:Te.keyframes,name:G,vendor:k,keyframes:D}):i("@keyframes missing '}'")}function T(){let x=u(),M=c(/^@supports *([^{]+)/);if(!M)return;let k=Ye(M[1]);if(!s())return i("@supports missing '{'");let F=m().concat(d());return f()?x({type:Te.supports,supports:k,rules:F}):i("@supports missing '}'")}function O(){let x=u();if(!c(/^@host\s*/))return;if(!s())return i("@host missing '{'");let M=m().concat(d());return f()?x({type:Te.host,rules:M}):i("@host missing '}'")}function v(){let x=u(),M=c(/^@container *([^{]+)/);if(!M)return;let k=Ye(M[1]);if(!s())return i("@container missing '{'");let F=m().concat(d());return f()?x({type:Te.container,container:k,rules:F}):i("@container missing '}'")}function P(){let x=u(),M=c(/^@layer *([^{;@]+)/);if(!M)return;let k=Ye(M[1]);if(!s())return c(/^[;\s]*/),x({type:Te.layer,layer:k});let F=m().concat(d());return f()?x({type:Te.layer,layer:k,rules:F}):i("@layer missing '}'")}function q(){let x=u(),M=c(/^@media *([^{]+)/);if(!M)return;let k=Ye(M[1]);if(!s())return i("@media missing '{'");let F=m().concat(d());return f()?x({type:Te.media,media:k,rules:F}):i("@media missing '}'")}function j(){let x=u(),M=c(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(M)return x({type:Te.customMedia,name:Ye(M[1]),media:Ye(M[2])})}function U(){let x=u();if(!c(/^@page */))return;let M=y()||[];if(!s())return i("@page missing '{'");let k=m(),F;for(;F=_();)k.push(F),k=k.concat(m());return f()?x({type:Te.page,selectors:M,declarations:k}):i("@page missing '}'")}function H(){let x=u(),M=c(/^@([-\w]+)?document *([^{]+)/);if(!M)return;let k=Ye(M[1]),F=Ye(M[2]);if(!s())return i("@document missing '{'");let G=m().concat(d());return f()?x({type:Te.document,document:F,vendor:k,rules:G}):i("@document missing '}'")}function z(){let x=u();if(!c(/^@font-face\s*/))return;if(!s())return i("@font-face missing '{'");let M=m(),k;for(;k=_();)M.push(k),M=M.concat(m());return f()?x({type:Te.fontFace,declarations:M}):i("@font-face missing '}'")}let re=ae("import"),J=ae("charset"),ne=ae("namespace");function ae(x){let M=new RegExp("^@"+x+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let k=u(),F=c(M);if(!F)return;let G={type:x};return G[x]=F[1].trim(),k(G)}}function se(){if(e[0]==="@")return C()||q()||j()||T()||re()||J()||ne()||H()||U()||O()||z()||v()||P()}function ue(){let x=u(),M=y();return M?(m(),x({type:Te.rule,selectors:M,declarations:S()||[]})):i("selector missing")}return Ko(l())};function Ye(e){return e?e.trim():""}function Ko(e,t){let r=e&&typeof e.type=="string",o=r?e:t;for(let a in e){let u=e[a];Array.isArray(u)?u.forEach(n=>{Ko(n,o)}):u&&typeof u=="object"&&Ko(u,o)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var OE=PE,RE=OE,TE=Object.prototype.toString;function il(e){return typeof e=="function"||TE.call(e)==="[object Function]"}function AE(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var xE=Math.pow(2,53)-1;function qE(e){var t=AE(e);return Math.min(Math.max(t,0),xE)}function tt(e,t){var r=Array,o=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!il(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=qE(o.length),u=il(r)?Object(new r(a)):new Array(a),n=0,i;n0&&arguments[0]!==void 0?arguments[0]:[];ME(this,e),IE(this,"items",void 0),this.items=t}return jE(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(o){return o!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(o){t(o,o,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),BE=typeof Set>"u"?Set:$E;function ke(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var kE={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"},DE={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 LE(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 o;return e.hasAttribute(r)&&!((o=DE[t])!==null&&o!==void 0&&o.has(r))})}function oc(e,t){return LE(e,t)}function FE(e){var t=HE(e);if(t===null||Yo.indexOf(t)!==-1){var r=UE(e);if(Yo.indexOf(t||"")===-1||oc(e,r||""))return r}return t}function UE(e){var t=kE[ke(e)];if(t!==void 0)return t;switch(ke(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!oc(e,"img")?"presentation":"img";case"input":{var r=e,o=r.type;switch(o){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return o;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function HE(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Yo=["presentation","none"];function we(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function ac(e){return we(e)&&ke(e)==="caption"}function Tn(e){return we(e)&&ke(e)==="input"}function zE(e){return we(e)&&ke(e)==="optgroup"}function VE(e){return we(e)&&ke(e)==="select"}function WE(e){return we(e)&&ke(e)==="table"}function GE(e){return we(e)&&ke(e)==="textarea"}function KE(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function YE(e){return we(e)&&ke(e)==="fieldset"}function JE(e){return we(e)&&ke(e)==="legend"}function XE(e){return we(e)&&ke(e)==="slot"}function QE(e){return we(e)&&e.ownerSVGElement!==void 0}function ZE(e){return we(e)&&ke(e)==="svg"}function ew(e){return QE(e)&&ke(e)==="title"}function In(e,t){if(we(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),o=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return o.getElementById(a)}).filter(function(a){return a!==null})}return[]}function _t(e,t){return we(e)?t.indexOf(FE(e))!==-1:!1}function tw(e){return e.trim().replace(/\s\s+/g," ")}function rw(e,t){if(!we(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function nw(e){return _t(e,["button","combobox","listbox","textbox"])||ic(e,"range")}function ic(e,t){if(!we(e))return!1;switch(t){case"range":return _t(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function sl(e,t){var r=tt(e.querySelectorAll(t));return In(e,"aria-owns").forEach(function(o){r.push.apply(r,tt(o.querySelectorAll(t)))}),r}function ow(e){return VE(e)?e.selectedOptions||sl(e,"[selected]"):sl(e,'[aria-selected="true"]')}function aw(e){return _t(e,Yo)}function iw(e){return ac(e)}function lw(e){return _t(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function sw(e){return!1}function uw(e){return Tn(e)||GE(e)?e.value:e.textContent||""}function ul(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function lc(e){var t=ke(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function sc(e){if(lc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&we(r)){var o=sc(r);o!==null&&(t=o)}}),t}function cw(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):sc(e)}function dw(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return tt(t);if(!lc(e))return null;var r=e.ownerDocument;return tt(r.querySelectorAll("label")).filter(function(o){return cw(o)===e})}function fw(e){var t=e.assignedNodes();return t.length===0?tt(e.childNodes):t}function uc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new BE,o=KE(e),a=t.compute,u=a===void 0?"name":a,n=t.computedStyleSupportsPseudoElements,i=n===void 0?t.getComputedStyle!==void 0:n,l=t.getComputedStyle,s=l===void 0?o.getComputedStyle.bind(o):l,f=t.hidden,d=f===void 0?!1:f;function c(y,_){var S="";if(we(y)&&i){var E=s(y,"::before"),C=ul(E);S="".concat(C," ").concat(S)}var T=XE(y)?fw(y):tt(y.childNodes).concat(In(y,"aria-owns"));if(T.forEach(function(P){var q=g(P,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=we(P)?s(P).getPropertyValue("display"):"inline",U=j!=="inline"?" ":"";S+="".concat(U).concat(q).concat(U)}),we(y)&&i){var O=s(y,"::after"),v=ul(O);S="".concat(S," ").concat(v)}return S.trim()}function p(y,_){var S=y.getAttributeNode(_);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}function m(y){return we(y)?p(y,"title"):null}function h(y){if(!we(y))return null;if(YE(y)){r.add(y);for(var _=tt(y.childNodes),S=0;S<_.length;S+=1){var E=_[S];if(JE(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(WE(y)){r.add(y);for(var C=tt(y.childNodes),T=0;T0}).join(" ");if(Tn(y)&&y.type==="image"){var re=p(y,"alt");if(re!==null)return re;var J=p(y,"title");return J!==null?J:"Submit Query"}if(_t(y,["button"])){var ne=c(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(ne!=="")return ne}return null}function g(y,_){if(r.has(y))return"";if(!d&&rw(y,s)&&!_.isReferenced)return r.add(y),"";var S=we(y)?y.getAttributeNode("aria-labelledby"):null,E=S!==null&&!r.has(S)?In(y,"aria-labelledby"):[];if(u==="name"&&!_.isReferenced&&E.length>0)return r.add(S),E.map(function(j){return g(j,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var C=_.recursion&&nw(y)&&u==="name";if(!C){var T=(we(y)&&y.getAttribute("aria-label")||"").trim();if(T!==""&&u==="name")return r.add(y),T;if(!aw(y)){var O=h(y);if(O!==null)return r.add(y),O}}if(_t(y,["menu"]))return r.add(y),"";if(C||_.isEmbeddedInLabel||_.isReferenced){if(_t(y,["combobox","listbox"])){r.add(y);var v=ow(y);return v.length===0?Tn(y)?y.value:"":tt(v).map(function(j){return g(j,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(ic(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(_t(y,["textbox"]))return r.add(y),uw(y)}if(lw(y)||we(y)&&_.isReferenced||iw(y)||sw()){var P=c(y,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});if(P!=="")return r.add(y),P}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(_.recursion)return r.add(y),c(y,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});var q=m(y);return q!==null?(r.add(y),q):(r.add(y),"")}return tw(g(e,{isEmbeddedInLabel:!1,isReferenced:u==="description",recursion:!1}))}function Yr(e){"@babel/helpers - typeof";return Yr=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},Yr(e)}function cl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function dl(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=In(e,"aria-describedby").map(function(u){return uc(u,dl(dl({},t),{},{compute:"description"}))}).join(" ");if(r===""){var o=e.getAttribute("aria-description");r=o===null?"":o}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}function bw(e){return _t(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function gw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return bw(e)?"":uc(e,t)}var Ka=_e(La(),1),vw=_e(Pu(),1),cc=_e(Ou(),1),_w=_e(Ru(),1),Ew=_e(Tu(),1),dc=class extends Error{constructor(e,t,r,o){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let a="";try{a=o.utils.printWithType("Received",t,o.utils.printReceived)}catch{}this.message=[o.utils.matcherHint(`${o.isNot?".not":""}.${r.name}`,"received",""),"",`${o.utils.RECEIVED_COLOR("received")} value must ${e}.`,a].join(` -`)}},fl=class extends dc{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},pl=class extends dc{constructor(...e){super("be a Node",...e)}};function fc(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function ww(e,...t){fc(e,pl,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new pl(e,...t)}function ge(e,...t){fc(e,fl,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new fl(e,...t)}var Sw=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(` -`)}};function Cw(e,...t){let r=RE(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:o,line:a}=r.parsingErrors[0];throw new Sw({css:e,message:`Syntax error parsing expected css: ${o} on line: ${a}`},...t)}return r.rules[0].declarations.filter(o=>o.type==="declaration").reduce((o,{property:a,value:u})=>Object.assign(o,{[a]:u}),{})}function ml(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Be(e,t,r,o,a,u){return[`${t} -`,`${r}: -${e.utils.EXPECTED_COLOR((0,al.default)(ml(e,o),2))}`,`${a}: -${e.utils.RECEIVED_COLOR((0,al.default)(ml(e,u),2))}`].join(` -`)}function Pw(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function uo(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function co(e){return e.replace(/\s+/g," ").trim()}function It(e){return e.tagName&&e.tagName.toLowerCase()}function Ow({multiple:e,options:t}){let r=[...t].filter(o=>o.selected);if(e)return[...r].map(o=>o.value);if(r.length!==0)return r[0].value}function Rw(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}function pc(e){if(e)switch(e.tagName.toLowerCase()){case"input":return Rw(e);case"select":return Ow(e);default:return e.value}}function mc(e,t){if(Array.isArray(e)&&Array.isArray(t))return(0,SE.default)(new Set(e),new Set(t))}function Tw(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Jo(e,t){return uo("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ge(e,Jo,this),t&&ge(t,Jo,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(` -`)}}function hc(e){(e!==null||!this.isNot)&&ge(e,hc,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,o=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():o())].join(` -`)}}function yc(e){return uo("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ge(e,yc,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` -`)}}function bc(e){return ge(e,bc,this),{pass:Aw(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` -`)}}function Aw(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Xo(e,t){return ge(e,Xo,this),t!==null&&ge(t,Xo,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))} - `)].join(` -`)}}function xw(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function gc(e,t){if(ge(e,gc,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(xw(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(` -`)}}function vc(e,t,r={normalizeWhitespace:!0}){ww(e,vc,this);let o=r.normalizeWhitespace?co(e.textContent):e.textContent.replace(/\u00a0/g," "),a=o!==""&&t==="";return{pass:!a&&Pw(o,t),message:()=>{let u=this.isNot?"not to":"to";return Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${u} have text content`,t,"Received",o)}}}function Qo(e,t){ge(e,Qo,this);let r=yw(e),o=arguments.length===1,a=!1;return o?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let u=this.isNot?"not to":"to";return Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Qo.name}`,"element",""),`Expected element ${u} have accessible description`,t,"Received",r)}}}var $r="aria-invalid",qw=["false"];function _c(e,t){var i;ge(e,_c,this);let r=this.isNot?"not to":"to",o=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:()=>Be(this,this.utils.matcherHint(o,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`)};let u=e.getAttribute($r);if(!e.hasAttribute($r)||qw.includes(u))return{pass:!1,message:()=>Be(this,this.utils.matcherHint(o,"element"),"Expected element to be marked as invalid with attribute",`${$r}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${$r}="${e.getAttribute($r)}`:null)};let n=co(((i=e.ownerDocument.getElementById(a))==null?void 0:i.textContent)??"");return{pass:t===void 0?!!n:t instanceof RegExp?t.test(n):this.equals(n,t),message:()=>Be(this,this.utils.matcherHint(o,"element"),`Expected element ${r} have accessible error message`,t??"","Received",n)}}var Mw=Nw(Ka.elementRoles);function Zo(e,t){ge(e,Zo,this);let r=jw(e);return{pass:r.some(o=>o===t),message:()=>{let o=this.isNot?"not to":"to";return Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Zo.name}`,"element",""),`Expected element ${o} have role`,t,"Received",r.join(", "))}}}function jw(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):Iw(e)}function Iw(e){for(let{match:t,roles:r}of Mw)if(t(e))return[...r];return[]}function Nw(e){function t({name:n,attributes:i}){return`${n}${i.map(({name:l,value:s,constraints:f=[]})=>f.indexOf("undefined")!==-1?`:not([${l}])`:s?`[${l}="${s}"]`:`[${l}]`).join("")}`}function r({attributes:n=[]}){return n.length}function o({specificity:n},{specificity:i}){return i-n}function a(n){let{attributes:i=[]}=n,l=i.findIndex(f=>f.value&&f.name==="type"&&f.value==="text");l>=0&&(i=[...i.slice(0,l),...i.slice(l+1)]);let s=t({...n,attributes:i});return f=>l>=0&&f.type!=="text"?!1:f.matches(s)}let u=[];for(let[n,i]of e.entries())u=[...u,{match:a(n),roles:Array.from(i),specificity:r(n)}];return u.sort(o)}function ea(e,t){ge(e,ea,this);let r=gw(e),o=arguments.length===1,a=!1;return o?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let u=this.isNot?"not to":"to";return Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ea.name}`,"element",""),`Expected element ${u} have accessible name`,t,"Received",r)}}}function hl(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function $w(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function Ec(e,t,r){ge(e,Ec,this);let o=r!==void 0,a=e.hasAttribute(t),u=e.getAttribute(t);return{pass:o?a&&this.equals(u,r):a,message:()=>{let n=this.isNot?"not to":"to",i=a?hl(this.utils.stringify,t,u):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:o?this.utils.printExpected(r):void 0,comment:$w(this.utils.stringify,t,r)});return Be(this,l,`Expected the element ${n} have attribute`,hl(this.utils.stringify,t,r),"Received",i)}}}function Bw(e){let t=e.pop(),r,o;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,o=t):(r=e.concat(t),o={exact:!1}),{expectedClassNames:r,options:o}}function yl(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function bl(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(o=>r.test(o)))}function wc(e,...t){ge(e,wc,this);let{expectedClassNames:r,options:o}=Bw(t),a=yl(e.getAttribute("class")),u=r.reduce((i,l)=>i.concat(typeof l=="string"||!l?yl(l):l),[]),n=u.some(i=>i instanceof RegExp);if(o.exact&&n)throw new Error("Exact option does not support RegExp expected class names");return o.exact?{pass:bl(u,a)&&u.length===a.length,message:()=>{let i=this.isNot?"not to":"to";return Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(u.join(" "))),`Expected the element ${i} have EXACTLY defined classes`,u.join(" "),"Received",a.join(" "))}}:u.length>0?{pass:bl(u,a),message:()=>{let i=this.isNot?"not to":"to";return Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(u.join(" "))),`Expected the element ${i} have class`,u.join(" "),"Received",a.join(" "))}}:{pass:this.isNot?a.length>0:!1,message:()=>this.isNot?Be(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(` -`)}}function kw(e,t){let r={},o=e.createElement("div");return Object.keys(t).forEach(a=>{o.style[a]=t[a],r[a]=o.style[a]}),r}function Dw(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,o])=>{let a=r.startsWith("--"),u=[r];return a||u.push(r.toLowerCase()),u.some(n=>t[n]===o||t.getPropertyValue(n)===o)})}function gl(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(` -`)}function Lw(e,t,r){let o=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,u)=>Object.assign(a,{[u]:r.getPropertyValue(u)}),{});return e(gl(t),gl(o)).replace(`${vw.default.red("+ Received")} -`,"")}function ta(e,t){ge(e,ta,this);let r=typeof t=="object"?t:Cw(t,ta,this),{getComputedStyle:o}=e.ownerDocument.defaultView,a=kw(e.ownerDocument,r),u=o(e);return{pass:Dw(a,u),message:()=>{let n=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(n,"element",""),Lw(this.utils.diff,a,u)].join(` - -`)}}}function Sc(e){return ge(e,Sc,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(` -`)}}function Fw(e){let t=(0,_w.default)(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(o=>o.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function Uw(e,t){let r=[...e.querySelectorAll(`[name="${(0,Ew.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return pc(r[0]);default:return Fw(r)}}function Hw(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function zw(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[Hw(r)]:Uw(e,r)}),{})}function Cc(e,t){if(ge(e,Cc,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=zw(e);return{pass:Object.entries(t).every(([o,a])=>(0,cc.default)(r[o],a,mc)),message:()=>{let o=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,u=Object.keys(r).filter(n=>t.hasOwnProperty(n)).reduce((n,i)=>({...n,[i]:r[i]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${o} have form values`,this.utils.diff(t,u)].join(` - -`)}}}function Vw(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:o,opacity:a}=t(e);return r!=="none"&&o!=="hidden"&&o!=="collapse"&&a!=="0"&&a!==0}function Ww(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function Pc(e,t){return Vw(e)&&Ww(e,t)&&(!e.parentElement||Pc(e.parentElement,e))}function Oc(e){ge(e,Oc,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Pc(e);return{pass:r,message:()=>{let o=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${o} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}var Gw=["fieldset","input","select","optgroup","option","button","textarea"];function Kw(e,t){return It(e)==="legend"&&It(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>It(r)==="legend"))}function Yw(e,t){return Tc(t)&&!Kw(e,t)}function Jw(e){return e.includes("-")}function Rc(e){let t=It(e);return Gw.includes(t)||Jw(t)}function Tc(e){return Rc(e)&&e.hasAttribute("disabled")}function Ac(e){let t=e.parentElement;return!!t&&(Yw(e,t)||Ac(t))}function xc(e){return Rc(e)&&(Tc(e)||Ac(e))}function qc(e){ge(e,qc,this);let t=xc(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function Mc(e){ge(e,Mc,this);let t=!xc(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}var Xw=["select","textarea"],Qw=["input","select","textarea"],Zw=["color","hidden","range","submit","image","reset"],e0=["combobox","gridcell","radiogroup","spinbutton","tree"];function t0(e){return Xw.includes(It(e))&&e.hasAttribute("required")}function r0(e){return It(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!Zw.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function n0(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(Qw.includes(It(e))||e.hasAttribute("role")&&e0.includes(e.getAttribute("role")))}function jc(e){ge(e,jc,this);let t=t0(e)||r0(e)||n0(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}var o0=["form","input","select","textarea"];function a0(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function i0(e){return o0.includes(It(e))}function Ic(e){let t=a0(e);return i0(e)?t||!e.checkValidity():t}function Nc(e){ge(e,Nc,this);let t=Ic(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function $c(e){ge(e,$c,this);let t=!Ic(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function Bc(e,t){if(ge(e,Bc,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=pc(e),o=t!==void 0,a=t,u=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,u=`${r} (${typeof r})`),{pass:o?(0,cc.default)(r,t,mc):!!r,message:()=>{let n=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Be(this,i,`Expected the element ${n} have value`,o?a:"(any)","Received",u)}}}function kc(e,t){ge(e,kc,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 o=l0(r,e),a=s0(t),u=a.filter(l=>o.some(s=>l instanceof RegExp?l.test(s):this.equals(s,String(l)))).length,n=u===o.length,i=u===a.length;return{pass:n&&i,message:()=>Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",o)}}function l0(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function s0(e){return e instanceof Array?e:[e]}function Dc(e){ge(e,Dc,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>Lc(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${u0()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let o=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:o(),message:()=>{let a=o()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function u0(){return Tw(c0().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function c0(){return Ka.roles.keys().filter(Lc)}function Lc(e){var t;return((t=Ka.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function Fc(e){ge(e,Fc,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let o=()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a};return{pass:o(),message:()=>{let a=o()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function Uc(e,t){uo("toHaveDescription","Please use toHaveAccessibleDescription."),ge(e,Uc,this);let r=t!==void 0,o=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(o.length>0){let u=e.ownerDocument,n=o.map(i=>u.getElementById(i)).filter(Boolean);a=co(n.map(i=>i.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let u=this.isNot?"not to":"to";return Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${u} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}function Hc(e,t){if(uo("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ge(e,Hc,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let u=this.isNot?".not":"";return{pass:!1,message:()=>Be(this,this.utils.matcherHint(`${u}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,o=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),a="";if(o.length>0){let u=e.ownerDocument,n=o.map(i=>u.getElementById(i)).filter(Boolean);a=co(n.map(i=>i.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let u=this.isNot?"not to":"to";return Be(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${u} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}_e(Ws(),1);_e(lu(),1);_e(La(),1);_e(Pu(),1);_e(Ou(),1);_e(Ru(),1);_e(Tu(),1);function d0(){Eo(wE),Eo(vE),Eo(gE);let e=(o,a)=>{let{assertionCalls:u}=Gr(e);return So({assertionCalls:u+1,soft:!1},e),_o(o,a)};Object.assign(e,_o),e.getState=()=>Gr(e),e.setState=o=>So(o,e),e.extend=o=>_o.extend(e,o),e.soft=(...o)=>{let a=e(...o);return e.setState({soft:!0}),a},e.unreachable=o=>{f_.fail(`expected${o?` "${o}" `:" "}not to be reached`)};function t(o){let a=()=>new Error(`expected number of assertions to be ${o}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:o,expectedAssertionsNumberErrorGen:a})}function r(){let o=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:o})}return So({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),jn.addMethod(e,"assertions",t),jn.addMethod(e,"hasAssertions",r),e.extend(Xu),e}var zc=d0();Object.defineProperty(globalThis,lo,{value:zc,writable:!0,configurable:!0});function f0(){ao.forEach(e=>e.mockClear())}function p0(){ao.forEach(e=>e.mockReset())}function m0(){ao.forEach(e=>e.mockRestore())}var Vc={};Ca(Vc,{buildQueries:()=>Rt,configure:()=>P1,createEvent:()=>xn,findAllByAltText:()=>Kd,findAllByDisplayValue:()=>Ud,findAllByLabelText:()=>Ed,findAllByPlaceholderText:()=>xd,findAllByRole:()=>sf,findAllByTestId:()=>mf,findAllByText:()=>$d,findAllByTitle:()=>ef,findByAltText:()=>Yd,findByDisplayValue:()=>Hd,findByLabelText:()=>wd,findByPlaceholderText:()=>qd,findByRole:()=>uf,findByTestId:()=>hf,findByText:()=>Bd,findByTitle:()=>tf,fireEvent:()=>en,getAllByAltText:()=>Wd,getAllByDisplayValue:()=>Ld,getAllByLabelText:()=>Sd,getAllByPlaceholderText:()=>Td,getAllByRole:()=>af,getAllByTestId:()=>ff,getAllByText:()=>Id,getAllByTitle:()=>Qd,getByAltText:()=>Gd,getByDisplayValue:()=>Fd,getByLabelText:()=>Cd,getByPlaceholderText:()=>Ad,getByRole:()=>lf,getByTestId:()=>pf,getByText:()=>Nd,getByTitle:()=>Zd,getConfig:()=>ye,getDefaultNormalizer:()=>ei,getElementError:()=>po,getMultipleElementsFoundError:()=>mo,getNodeText:()=>sn,getQueriesForElement:()=>da,getRoles:()=>md,getSuggestedQuery:()=>$n,isInaccessible:()=>fo,logDOM:()=>ra,logRoles:()=>x1,makeFindQuery:()=>_r,makeGetAllQuery:()=>ni,makeSingleQuery:()=>vr,prettyDOM:()=>Qr,prettyFormat:()=>Ya,queries:()=>Bn,queryAllByAltText:()=>zd,queryAllByAttribute:()=>rr,queryAllByDisplayValue:()=>kd,queryAllByLabelText:()=>Pd,queryAllByPlaceholderText:()=>Od,queryAllByRole:()=>nf,queryAllByTestId:()=>cf,queryAllByText:()=>Md,queryAllByTitle:()=>Jd,queryByAltText:()=>Vd,queryByAttribute:()=>yd,queryByDisplayValue:()=>Dd,queryByLabelText:()=>vd,queryByPlaceholderText:()=>Rd,queryByRole:()=>of,queryByTestId:()=>df,queryByText:()=>jd,queryByTitle:()=>Xd,queryHelpers:()=>z1,screen:()=>gS,waitFor:()=>ri,waitForElementToBeRemoved:()=>dS,within:()=>da,wrapAllByQueryWithSuggestion:()=>Ve,wrapSingleQueryWithSuggestion:()=>Nt});var Ya=_e(c_()),h0=Object.prototype.toString;function vl(e){return typeof e=="function"||h0.call(e)==="[object Function]"}function y0(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var b0=Math.pow(2,53)-1;function g0(e){var t=y0(e);return Math.min(Math.max(t,0),b0)}function rt(e,t){var r=Array,o=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!vl(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=g0(o.length),u=vl(r)?Object(new r(a)):new Array(a),n=0,i;n0&&arguments[0]!==void 0?arguments[0]:[];v0(this,e),E0(this,"items",void 0),this.items=t}return _0(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(o){return o!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(o){t(o,o,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),C0=typeof Set>"u"?Set:S0;function De(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var P0={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"},O0={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 R0(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 o;return e.hasAttribute(r)&&!((o=O0[t])!==null&&o!==void 0&&o.has(r))})}function Gc(e,t){return R0(e,t)}function T0(e){var t=x0(e);if(t===null||t==="presentation"){var r=A0(e);if(t!=="presentation"||Gc(e,r||""))return r}return t}function A0(e){var t=P0[De(e)];if(t!==void 0)return t;switch(De(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Gc(e,"img")?"presentation":"img";case"input":{var r=e,o=r.type;switch(o){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return o;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function x0(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Se(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Kc(e){return Se(e)&&De(e)==="caption"}function An(e){return Se(e)&&De(e)==="input"}function q0(e){return Se(e)&&De(e)==="optgroup"}function M0(e){return Se(e)&&De(e)==="select"}function j0(e){return Se(e)&&De(e)==="table"}function I0(e){return Se(e)&&De(e)==="textarea"}function N0(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function $0(e){return Se(e)&&De(e)==="fieldset"}function B0(e){return Se(e)&&De(e)==="legend"}function k0(e){return Se(e)&&De(e)==="slot"}function D0(e){return Se(e)&&e.ownerSVGElement!==void 0}function L0(e){return Se(e)&&De(e)==="svg"}function F0(e){return D0(e)&&De(e)==="title"}function Nn(e,t){if(Se(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),o=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return o.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Et(e,t){return Se(e)?t.indexOf(T0(e))!==-1:!1}function U0(e){return e.trim().replace(/\s\s+/g," ")}function H0(e,t){if(!Se(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function z0(e){return Et(e,["button","combobox","listbox","textbox"])||Yc(e,"range")}function Yc(e,t){if(!Se(e))return!1;switch(t){case"range":return Et(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function El(e,t){var r=rt(e.querySelectorAll(t));return Nn(e,"aria-owns").forEach(function(o){r.push.apply(r,rt(o.querySelectorAll(t)))}),r}function V0(e){return M0(e)?e.selectedOptions||El(e,"[selected]"):El(e,'[aria-selected="true"]')}function W0(e){return Et(e,["none","presentation"])}function G0(e){return Kc(e)}function K0(e){return Et(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function Y0(e){return!1}function J0(e){return An(e)||I0(e)?e.value:e.textContent||""}function wl(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Jc(e){var t=De(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Xc(e){if(Jc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Se(r)){var o=Xc(r);o!==null&&(t=o)}}),t}function X0(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Xc(e)}function Q0(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return rt(t);if(!Jc(e))return null;var r=e.ownerDocument;return rt(r.querySelectorAll("label")).filter(function(o){return X0(o)===e})}function Z0(e){var t=e.assignedNodes();return t.length===0?rt(e.childNodes):t}function Qc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new C0,o=N0(e),a=t.compute,u=a===void 0?"name":a,n=t.computedStyleSupportsPseudoElements,i=n===void 0?t.getComputedStyle!==void 0:n,l=t.getComputedStyle,s=l===void 0?o.getComputedStyle.bind(o):l,f=t.hidden,d=f===void 0?!1:f;function c(y,_){var S="";if(Se(y)&&i){var E=s(y,"::before"),C=wl(E);S="".concat(C," ").concat(S)}var T=k0(y)?Z0(y):rt(y.childNodes).concat(Nn(y,"aria-owns"));if(T.forEach(function(P){var q=g(P,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),j=Se(P)?s(P).getPropertyValue("display"):"inline",U=j!=="inline"?" ":"";S+="".concat(U).concat(q).concat(U)}),Se(y)&&i){var O=s(y,"::after"),v=wl(O);S="".concat(S," ").concat(v)}return S.trim()}function p(y,_){var S=y.getAttributeNode(_);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}function m(y){return Se(y)?p(y,"title"):null}function h(y){if(!Se(y))return null;if($0(y)){r.add(y);for(var _=rt(y.childNodes),S=0;S<_.length;S+=1){var E=_[S];if(B0(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(j0(y)){r.add(y);for(var C=rt(y.childNodes),T=0;T0}).join(" ");if(An(y)&&y.type==="image"){var re=p(y,"alt");if(re!==null)return re;var J=p(y,"title");return J!==null?J:"Submit Query"}if(Et(y,["button"])){var ne=c(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(ne!=="")return ne}return null}function g(y,_){if(r.has(y))return"";if(!d&&H0(y,s)&&!_.isReferenced)return r.add(y),"";var S=Se(y)?y.getAttributeNode("aria-labelledby"):null,E=S!==null&&!r.has(S)?Nn(y,"aria-labelledby"):[];if(u==="name"&&!_.isReferenced&&E.length>0)return r.add(S),E.map(function(j){return g(j,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var C=_.recursion&&z0(y)&&u==="name";if(!C){var T=(Se(y)&&y.getAttribute("aria-label")||"").trim();if(T!==""&&u==="name")return r.add(y),T;if(!W0(y)){var O=h(y);if(O!==null)return r.add(y),O}}if(Et(y,["menu"]))return r.add(y),"";if(C||_.isEmbeddedInLabel||_.isReferenced){if(Et(y,["combobox","listbox"])){r.add(y);var v=V0(y);return v.length===0?An(y)?y.value:"":rt(v).map(function(j){return g(j,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Yc(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(Et(y,["textbox"]))return r.add(y),J0(y)}if(K0(y)||Se(y)&&_.isReferenced||G0(y)||Y0()){var P=c(y,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});if(P!=="")return r.add(y),P}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(_.recursion)return r.add(y),c(y,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1});var q=m(y);return q!==null?(r.add(y),q):(r.add(y),"")}return U0(g(e,{isEmbeddedInLabel:!1,isReferenced:u==="description",recursion:!1}))}function Xr(e){"@babel/helpers - typeof";return Xr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xr(e)}function Sl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,o)}return r}function Cl(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Nn(e,"aria-describedby").map(function(a){return Qc(a,Cl(Cl({},t),{},{compute:"description"}))}).join(" ");if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function n1(e){return Et(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Ja(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n1(e)?"":Qc(e,t)}var Je=_e(La()),o1=_e(d_());function ed(e){return e.replace(//g,">")}var a1=(e,t,r,o,a,u,n)=>{let i=o+r.indent,l=r.colors;return e.map(s=>{let f=t[s],d=n(f,r,i,a,u);return typeof f!="string"&&(d.indexOf(` -`)!==-1&&(d=r.spacingOuter+i+d+r.spacingOuter+o),d="{"+d+"}"),r.spacingInner+o+l.prop.open+s+l.prop.close+"="+l.value.open+d+l.value.close}).join("")},i1=3,l1=(e,t,r,o,a,u)=>e.map(n=>{let i=typeof n=="string"?td(n,t):u(n,t,r,o,a);return i===""&&typeof n=="object"&&n!==null&&n.nodeType!==i1?"":t.spacingOuter+r+i}).join(""),td=(e,t)=>{let r=t.colors.content;return r.open+ed(e)+r.close},s1=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},u1=(e,t,r,o,a)=>{let u=o.colors.tag;return u.open+"<"+e+(t&&u.close+t+o.spacingOuter+a+u.open)+(r?">"+u.close+r+o.spacingOuter+a+u.open+""+u.close},c1=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},d1=1,rd=3,nd=8,od=11,f1=/^((HTML|SVG)\w*)?Element$/,p1=e=>{let t=e.constructor.name,{nodeType:r,tagName:o}=e,a=typeof o=="string"&&o.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is");return r===d1&&(f1.test(t)||a)||r===rd&&t==="Text"||r===nd&&t==="Comment"||r===od&&t==="DocumentFragment"};function m1(e){return e.nodeType===rd}function h1(e){return e.nodeType===nd}function Po(e){return e.nodeType===od}function y1(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&p1(t)},serialize:(t,r,o,a,u,n)=>{if(m1(t))return td(t.data,r);if(h1(t))return s1(t.data,r);let i=Po(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?c1(i,r):u1(i,a1(Po(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),Po(t)?{}:Array.from(t.attributes).reduce((l,s)=>(l[s.name]=s.value,l),{}),r,o+r.indent,a,u,n),l1(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,o+r.indent,a,u,n),r,o)}}}var ad=null,Xa=null,Qa=null;try{let e=module&&module.require;Xa=e.call(module,"fs").readFileSync,Qa=e.call(module,"@babel/code-frame").codeFrameColumns,ad=e.call(module,"chalk")}catch{}function b1(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),o=e.slice(t,r),a=o.split(":"),[u,n,i]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],l="";try{l=Xa(u,"utf-8")}catch{return""}let s=Qa(l,{start:{line:n,column:i}},{highlightCode:!0,linesBelow:0});return ad.dim(o)+` -`+s+` -`}function g1(){if(!Xa||!Qa)return"";let e=new Error().stack.split(` -`).slice(1).find(t=>!t.includes("node_modules/"));return b1(e)}var id=3;function Oo(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Za(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function ld(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Ot(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var v1=()=>{let e;try{var t;e=JSON.parse((t=process)==null||(t=t.env)==null?void 0:t.COLORS)}catch{}return typeof e=="boolean"?e:typeof process<"u"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:_1}=Ya.plugins,E1=1,w1=8;function S1(e){return e.nodeType!==w1&&(e.nodeType!==E1||!e.matches(ye().defaultIgnore))}function Qr(e,t,r){if(r===void 0&&(r={}),e||(e=Za().body),typeof t!="number"&&(t=typeof process<"u"&&mm.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let o=typeof e;if(o==="object"?o=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+o);let{filterNode:a=S1,...u}=r,n=Ya.format(e,{plugins:[y1(a),_1],printFunctionName:!1,highlight:v1(),...u});return t!==void 0&&e.outerHTML.length>t?n.slice(0,t)+"...":n}var ra=function(){let e=g1();console.log(e?Qr(...arguments)+` - -`+e:Qr(...arguments))},Vt={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Qr(t),o=new Error([e,"Ignored nodes: comments, "+Vt.defaultIgnore+` -`+r].filter(Boolean).join(` - -`));return o.name="TestingLibraryElementError",o},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function C1(e){try{return Vt._disableExpensiveErrorDiagnostics=!0,e()}finally{Vt._disableExpensiveErrorDiagnostics=!1}}function P1(e){typeof e=="function"&&(e=e(Vt)),Vt={...Vt,...e}}function ye(){return Vt}var O1=["button","meter","output","progress","select","textarea","input"];function sd(e){return O1.includes(e.nodeName.toLowerCase())?"":e.nodeType===id?e.textContent:Array.from(e.childNodes).map(t=>sd(t)).join("")}function na(e){let t;return e.tagName.toLowerCase()==="label"?t=sd(e):t=e.value||e.textContent,t}function ud(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!R1(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(o=>o.control===e)}function R1(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function cd(e,t,r){let{selector:o="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),u=a?a.split(" "):[];return u.length?u.map(n=>{let i=e.querySelector('[id="'+n+'"]');return i?{content:na(i),formControl:null}:{content:"",formControl:null}}):Array.from(ud(t)).map(n=>{let i=na(n),l=Array.from(n.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(s=>s.matches(o))[0];return{content:i,formControl:l}})}function dd(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function xr(e,t,r,o){if(typeof e!="string")return!1;dd(r);let a=o(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):fd(r,a)}function St(e,t,r,o){if(typeof e!="string")return!1;dd(r);let a=o(e);return r instanceof Function?r(a,t):r instanceof RegExp?fd(r,a):a===String(r)}function ei(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return o=>{let a=o;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function tr(e){let{trim:t,collapseWhitespace:r,normalizer:o}=e;if(!o)return ei({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 o}function fd(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function sn(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===id&&!!t.textContent).map(t=>t.textContent).join("")}var T1=A1(Je.elementRoles);function pd(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function fo(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=pd}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let o=e;for(;o;){if(r(o))return!0;o=o.parentElement}return!1}function ti(e){for(let{match:t,roles:r}of T1)if(t(e))return[...r];return[]}function A1(e){function t(n){let{name:i,attributes:l}=n;return""+i+l.map(s=>{let{name:f,value:d,constraints:c=[]}=s;return c.indexOf("undefined")!==-1?":not(["+f+"])":d?"["+f+'="'+d+'"]':"["+f+"]"}).join("")}function r(n){let{attributes:i=[]}=n;return i.length}function o(n,i){let{specificity:l}=n,{specificity:s}=i;return s-l}function a(n){let{attributes:i=[]}=n,l=i.findIndex(f=>f.value&&f.name==="type"&&f.value==="text");l>=0&&(i=[...i.slice(0,l),...i.slice(l+1)]);let s=t({...n,attributes:i});return f=>l>=0&&f.type!=="text"?!1:f.matches(s)}let u=[];for(let[n,i]of e.entries())u=[...u,{match:a(n),roles:Array.from(i),specificity:r(n)}];return u.sort(o)}function md(e,t){let{hidden:r=!1}=t===void 0?{}:t;function o(a){return[a,...Array.from(a.children).reduce((u,n)=>[...u,...o(n)],[])]}return o(e).filter(a=>r===!1?fo(a)===!1:!0).reduce((a,u)=>{let n=[];return u.hasAttribute("role")?n=u.getAttribute("role").split(" ").slice(0,1):n=ti(u),n.reduce((i,l)=>Array.isArray(i[l])?{...i,[l]:[...i[l],u]}:{...i,[l]:[u]},a)},{})}function hd(e,t){let{hidden:r,includeDescription:o}=t,a=md(e,{hidden:r});return Object.entries(a).filter(u=>{let[n]=u;return n!=="generic"}).map(u=>{let[n,i]=u,l="-".repeat(50),s=i.map(f=>{let d='Name "'+Ja(f,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements})+`": -`,c=Qr(f.cloneNode(!1));if(o){let p='Description "'+Zc(f,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements})+`": -`;return""+d+p+c}return""+d+c}).join(` - -`);return n+`: - -`+s+` - -`+l}).join(` -`)}var x1=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(hd(e,{hidden:r}))};function q1(e){return e.tagName==="OPTION"?e.selected:un(e,"aria-selected")}function M1(e){return e.getAttribute("aria-busy")==="true"}function j1(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:un(e,"aria-checked")}function I1(e){return un(e,"aria-pressed")}function N1(e){var t,r;return(t=(r=un(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function $1(e){return un(e,"aria-expanded")}function un(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function B1(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function k1(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function D1(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function L1(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function F1(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Pl=ei();function U1(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Ol(e){return new RegExp(U1(e.toLowerCase()),"i")}function At(e,t,r,o){let{variant:a,name:u}=o,n="",i={},l=[["Role","TestId"].includes(e)?r:Ol(r)];u&&(i.name=Ol(u)),e==="Role"&&fo(t)&&(i.hidden=!0,n=`Element is inaccessible. This means that the element and all its children are invisible to screen readers. - If you are using the aria-hidden prop, make sure this is the right choice for your case. - `),Object.keys(i).length>0&&l.push(i);let s=a+"By"+e;return{queryName:e,queryMethod:s,queryArgs:l,variant:a,warning:n,toString(){n&&console.warn(n);let[f,d]=l;return f=typeof f=="string"?"'"+f+"'":f,d=d?", { "+Object.entries(d).map(c=>{let[p,m]=c;return p+": "+m}).join(", ")+" }":"",s+"("+f+d+")"}}}function xt(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function $n(e,t,r){var o,a;if(t===void 0&&(t="get"),e.matches(ye().defaultIgnore))return;let u=(o=e.getAttribute("role"))!=null?o:(a=ti(e))==null?void 0:a[0];if(u!=="generic"&&xt("Role",r,u))return At("Role",e,u,{variant:t,name:Ja(e,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements})});let n=cd(document,e).map(c=>c.content).join(" ");if(xt("LabelText",r,n))return At("LabelText",e,n,{variant:t});let i=e.getAttribute("placeholder");if(xt("PlaceholderText",r,i))return At("PlaceholderText",e,i,{variant:t});let l=Pl(sn(e));if(xt("Text",r,l))return At("Text",e,l,{variant:t});if(xt("DisplayValue",r,e.value))return At("DisplayValue",e,Pl(e.value),{variant:t});let s=e.getAttribute("alt");if(xt("AltText",r,s))return At("AltText",e,s,{variant:t});let f=e.getAttribute("title");if(xt("Title",r,f))return At("Title",e,f,{variant:t});let d=e.getAttribute(ye().testIdAttribute);if(xt("TestId",r,d))return At("TestId",e,d,{variant:t})}function dn(e,t){e.stack=t.stack.replace(t.message,e.message)}function H1(e,t){let{container:r=Za(),timeout:o=ye().asyncUtilTimeout,showOriginalStackTrace:a=ye().showOriginalStackTrace,stackTraceError:u,interval:n=50,onTimeout:i=s=>(Object.defineProperty(s,"message",{value:ye().getElementError(s.message,r).message}),s),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(s,f)=>{let d,c,p,m=!1,h="idle",g=setTimeout(C,o),y=Oo();if(y){let{unstable_advanceTimersWrapper:T}=ye();for(E();!m;){if(!Oo()){let O=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||dn(O,u),f(O);return}if(await T(async()=>{jest.advanceTimersByTime(n)}),m)break;E()}}else{try{Ot(r)}catch(O){f(O);return}c=setInterval(S,n);let{MutationObserver:T}=ld(r);p=new T(S),p.observe(r,l),E()}function _(T,O){m=!0,clearTimeout(g),y||(clearInterval(c),p.disconnect()),T?f(T):s(O)}function S(){if(Oo()){let T=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||dn(T,u),f(T)}else return E()}function E(){if(h!=="pending")try{let T=C1(e);typeof(T==null?void 0:T.then)=="function"?(h="pending",T.then(O=>{h="resolved",_(null,O)},O=>{h="rejected",d=O})):_(null,T)}catch(T){d=T}}function C(){let T;d?(T=d,!a&&T.name==="TestingLibraryElementError"&&dn(T,u)):(T=new Error("Timed out in waitFor."),a||dn(T,u)),_(i(T),null)}})}function ri(e,t){let r=new Error("STACK_TRACE_MESSAGE");return ye().asyncWrapper(()=>H1(e,{stackTraceError:r,...t}))}function po(e,t){return ye().getElementError(e,t)}function mo(e,t){return po(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function rr(e,t,r,o){let{exact:a=!0,collapseWhitespace:u,trim:n,normalizer:i}=o===void 0?{}:o,l=a?St:xr,s=tr({collapseWhitespace:u,trim:n,normalizer:i});return Array.from(t.querySelectorAll("["+e+"]")).filter(f=>l(f.getAttribute(e),f,r,s))}function yd(e,t,r,o){let a=rr(e,t,r,o);if(a.length>1)throw mo("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}function vr(e,t){return function(r){for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;u1){let i=n.map(l=>po(null,l).message).join(` - -`);throw mo(t(r,...a)+` - -Here are the matching elements: - -`+i,r)}return n[0]||null}}function bd(e,t){return ye().getElementError(`A better query is available, try this: -`+e.toString()+` -`,t)}function ni(e,t){return function(r){for(var o=arguments.length,a=new Array(o>1?o-1:0),u=1;uri(()=>e(t,r,o),{container:t,...a})}var Nt=(e,t,r)=>function(o){for(var a=arguments.length,u=new Array(a>1?a-1:0),n=1;nfunction(o){for(var a=arguments.length,u=new Array(a>1?a-1:0),n=1;n{var d;return(d=$n(f,r))==null?void 0:d.toString()}))];if(s.length===1&&!t.endsWith($n(i[0],r).queryName))throw bd(s[0],o)}return i};function Rt(e,t,r){let o=Nt(vr(e,t),e.name,"query"),a=ni(e,r),u=vr(a,t),n=Nt(u,e.name,"get"),i=Ve(a,e.name.replace("query","get"),"getAll"),l=_r(Ve(a,e.name,"findAll")),s=_r(Nt(u,e.name,"find"));return[o,i,n,l,s]}var z1=Object.freeze({__proto__:null,getElementError:po,wrapAllByQueryWithSuggestion:Ve,wrapSingleQueryWithSuggestion:Nt,getMultipleElementsFoundError:mo,queryAllByAttribute:rr,queryByAttribute:yd,makeSingleQuery:vr,makeGetAllQuery:ni,makeFindQuery:_r,buildQueries:Rt});function V1(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:na(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var W1=function(e,t,r){let{exact:o=!0,trim:a,collapseWhitespace:u,normalizer:n}=r===void 0?{}:r,i=o?St:xr,l=tr({collapseWhitespace:u,trim:a,normalizer:n});return V1(e).filter(s=>{let{node:f,textToMatch:d}=s;return i(d,f,t,l)}).map(s=>{let{node:f}=s;return f})},Zr=function(e,t,r){let{selector:o="*",exact:a=!0,collapseWhitespace:u,trim:n,normalizer:i}=r===void 0?{}:r;Ot(e);let l=a?St:xr,s=tr({collapseWhitespace:u,trim:n,normalizer:i}),f=Array.from(e.querySelectorAll("*")).filter(d=>ud(d).length||d.hasAttribute("aria-labelledby")).reduce((d,c)=>{let p=cd(e,c,{selector:o});p.filter(h=>!!h.formControl).forEach(h=>{l(h.content,h.formControl,t,s)&&h.formControl&&d.push(h.formControl)});let m=p.filter(h=>!!h.content).map(h=>h.content);return l(m.join(" "),c,t,s)&&d.push(c),m.length>1&&m.forEach((h,g)=>{l(h,c,t,s)&&d.push(c);let y=[...m];y.splice(g,1),y.length>1&&l(y.join(" "),c,t,s)&&d.push(c)}),d},[]).concat(rr("aria-label",e,t,{exact:a,normalizer:s}));return Array.from(new Set(f)).filter(d=>d.matches(o))},Wt=function(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),a=2;aG1(e,l)).filter(l=>!!l);throw i.length?ye().getElementError(i.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(` - -`),e):ye().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 ye().getElementError("Unable to find a label with the text of: "+t,e)}return u};function G1(e,t){let r=t.getAttribute("for");if(!r)return null;let o=e.querySelector('[id="'+r+'"]');return o?o.tagName.toLowerCase():null}var gd=(e,t)=>"Found multiple elements with the text of: "+t,vd=Nt(vr(Zr,gd),Zr.name,"query"),_d=vr(Wt,gd),Ed=_r(Ve(Wt,Wt.name,"findAll")),wd=_r(Nt(_d,Wt.name,"find")),Sd=Ve(Wt,Wt.name,"getAll"),Cd=Nt(_d,Wt.name,"get"),Pd=Ve(Zr,Zr.name,"queryAll"),oa=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements with the placeholder text of: "+t,Y1=(e,t)=>"Unable to find an element with the placeholder text of: "+t,Od=Ve(oa,oa.name,"queryAll"),[Rd,Td,Ad,xd,qd]=Rt(oa,K1,Y1),aa=function(e,t,r){let{selector:o="*",exact:a=!0,collapseWhitespace:u,trim:n,ignore:i=ye().defaultIgnore,normalizer:l}=r===void 0?{}:r;Ot(e);let s=a?St:xr,f=tr({collapseWhitespace:u,trim:n,normalizer:l}),d=[];return typeof e.matches=="function"&&e.matches(o)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(o))].filter(c=>!i||!c.matches(i)).filter(c=>s(sn(c),c,t,f))},J1=(e,t)=>"Found multiple elements with the text: "+t,X1=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:o,trim:a,normalizer:u,selector:n}=r,i=tr({collapseWhitespace:o,trim:a,normalizer:u})(t.toString()),l=i!==t.toString(),s=(n??"*")!=="*";return"Unable to find an element with the text: "+(l?i+" (normalized from '"+t+"')":t)+(s?", which matches selector '"+n+"'":"")+". 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."},Md=Ve(aa,aa.name,"queryAll"),[jd,Id,Nd,$d,Bd]=Rt(aa,J1,X1),ia=function(e,t,r){let{exact:o=!0,collapseWhitespace:a,trim:u,normalizer:n}=r===void 0?{}:r;Ot(e);let i=o?St:xr,l=tr({collapseWhitespace:a,trim:u,normalizer:n});return Array.from(e.querySelectorAll("input,textarea,select")).filter(s=>s.tagName==="SELECT"?Array.from(s.options).filter(f=>f.selected).some(f=>i(sn(f),f,t,l)):i(s.value,s,t,l))},Q1=(e,t)=>"Found multiple elements with the display value: "+t+".",Z1=(e,t)=>"Unable to find an element with the display value: "+t+".",kd=Ve(ia,ia.name,"queryAll"),[Dd,Ld,Fd,Ud,Hd]=Rt(ia,Q1,Z1),eS=/^(img|input|area|.+-.+)$/i,la=function(e,t,r){return r===void 0&&(r={}),Ot(e),rr("alt",e,t,r).filter(o=>eS.test(o.tagName))},tS=(e,t)=>"Found multiple elements with the alt text: "+t,rS=(e,t)=>"Unable to find an element with the alt text: "+t,zd=Ve(la,la.name,"queryAll"),[Vd,Wd,Gd,Kd,Yd]=Rt(la,tS,rS),nS=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},sa=function(e,t,r){let{exact:o=!0,collapseWhitespace:a,trim:u,normalizer:n}=r===void 0?{}:r;Ot(e);let i=o?St:xr,l=tr({collapseWhitespace:a,trim:u,normalizer:n});return Array.from(e.querySelectorAll("[title], svg > title")).filter(s=>i(s.getAttribute("title"),s,t,l)||nS(s)&&i(sn(s),s,t,l))},oS=(e,t)=>"Found multiple elements with the title: "+t+".",aS=(e,t)=>"Unable to find an element with the title: "+t+".",Jd=Ve(sa,sa.name,"queryAll"),[Xd,Qd,Zd,ef,tf]=Rt(sa,oS,aS),ua=function(e,t,r){let{hidden:o=ye().defaultHidden,name:a,description:u,queryFallbacks:n=!1,selected:i,busy:l,checked:s,pressed:f,current:d,level:c,expanded:p,value:{now:m,min:h,max:g,text:y}={}}=r===void 0?{}:r;if(Ot(e),i!==void 0){var _;if(((_=Je.roles.get(t))==null?void 0:_.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var S;if(((S=Je.roles.get(t))==null?void 0:S.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(s!==void 0){var E;if(((E=Je.roles.get(t))==null?void 0:E.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(f!==void 0){var C;if(((C=Je.roles.get(t))==null?void 0:C.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var T;if(((T=Je.roles.get(t))==null?void 0:T.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(c!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var O;if(((O=Je.roles.get(t))==null?void 0:O.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var v;if(((v=Je.roles.get(t))==null?void 0:v.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(h!==void 0){var P;if(((P=Je.roles.get(t))==null?void 0:P.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var q;if(((q=Je.roles.get(t))==null?void 0:q.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var j;if(((j=Je.roles.get(t))==null?void 0:j.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let U=new WeakMap;function H(z){return U.has(z)||U.set(z,pd(z)),U.get(z)}return Array.from(e.querySelectorAll(iS(t))).filter(z=>{if(z.hasAttribute("role")){let re=z.getAttribute("role");if(n)return re.split(" ").filter(Boolean).some(ne=>ne===t);let[J]=re.split(" ");return J===t}return ti(z).some(re=>re===t)}).filter(z=>{if(i!==void 0)return i===q1(z);if(l!==void 0)return l===M1(z);if(s!==void 0)return s===j1(z);if(f!==void 0)return f===I1(z);if(d!==void 0)return d===N1(z);if(p!==void 0)return p===$1(z);if(c!==void 0)return c===B1(z);if(m!==void 0||g!==void 0||h!==void 0||y!==void 0){let J=!0;if(m!==void 0&&J&&(J=m===k1(z)),g!==void 0&&J&&(J=g===D1(z)),h!==void 0&&J&&(J=h===L1(z)),y!==void 0){var re;J&&(J=St((re=F1(z))!=null?re:null,z,y,ne=>ne))}return J}return!0}).filter(z=>a===void 0?!0:St(Ja(z,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements}),z,a,re=>re)).filter(z=>u===void 0?!0:St(Zc(z,{computedStyleSupportsPseudoElements:ye().computedStyleSupportsPseudoElements}),z,u,re=>re)).filter(z=>o===!1?fo(z,{isSubtreeInaccessible:H})===!1:!0)};function iS(e){var t;let r='*[role~="'+e+'"]',o=(t=Je.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(o).map(u=>{let{name:n}=u;return n}));return[r].concat(Array.from(a)).join(",")}var rf=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},lS=function(e,t,r){let{name:o}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+rf(o)},sS=function(e,t,r){let{hidden:o=ye().defaultHidden,name:a,description:u}=r===void 0?{}:r;if(ye()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+rf(a);let n="";Array.from(e.children).forEach(f=>{n+=hd(f,{hidden:o,includeDescription:u!==void 0})});let i;n.length===0?o===!1?i="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":i="There are no available roles.":i=(` -Here are the `+(o===!1?"accessible":"available")+` roles: - - `+n.replace(/\n/g,` - `).replace(/\n\s\s\n/g,` - -`)+` -`).trim();let l="";a===void 0?l="":typeof a=="string"?l=' and name "'+a+'"':l=" and name `"+a+"`";let s="";return u===void 0?s="":typeof u=="string"?s=' and description "'+u+'"':s=" and description `"+u+"`",(` -Unable to find an `+(o===!1?"accessible ":"")+'element with the role "'+t+'"'+l+s+` - -`+i).trim()},nf=Ve(ua,ua.name,"queryAll"),[of,af,lf,sf,uf]=Rt(ua,lS,sS),oi=()=>ye().testIdAttribute,ca=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements by: ["+oi()+'="'+t+'"]',cS=(e,t)=>"Unable to find an element by: ["+oi()+'="'+t+'"]',cf=Ve(ca,ca.name,"queryAll"),[df,ff,pf,mf,hf]=Rt(ca,uS,cS),Bn=Object.freeze({__proto__:null,queryAllByLabelText:Pd,queryByLabelText:vd,getAllByLabelText:Sd,getByLabelText:Cd,findAllByLabelText:Ed,findByLabelText:wd,queryByPlaceholderText:Rd,queryAllByPlaceholderText:Od,getByPlaceholderText:Ad,getAllByPlaceholderText:Td,findAllByPlaceholderText:xd,findByPlaceholderText:qd,queryByText:jd,queryAllByText:Md,getByText:Nd,getAllByText:Id,findAllByText:$d,findByText:Bd,queryByDisplayValue:Dd,queryAllByDisplayValue:kd,getByDisplayValue:Fd,getAllByDisplayValue:Ld,findAllByDisplayValue:Ud,findByDisplayValue:Hd,queryByAltText:Vd,queryAllByAltText:zd,getByAltText:Gd,getAllByAltText:Wd,findAllByAltText:Kd,findByAltText:Yd,queryByTitle:Xd,queryAllByTitle:Jd,getByTitle:Zd,getAllByTitle:Qd,findAllByTitle:ef,findByTitle:tf,queryByRole:of,queryAllByRole:nf,getAllByRole:af,getByRole:lf,findAllByRole:sf,findByRole:uf,queryByTestId:df,queryAllByTestId:cf,getByTestId:pf,getAllByTestId:ff,findAllByTestId:mf,findByTestId:hf});function da(e,t,r){return t===void 0&&(t=Bn),r===void 0&&(r={}),Object.keys(t).reduce((o,a)=>{let u=t[a];return o[a]=u.bind(null,e),o},r)}var yf=e=>!e||Array.isArray(e)&&!e.length;function Rl(e){if(yf(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function dS(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Rl(e);let o=(Array.isArray(e)?e:[e]).map(a=>{let u=a.parentElement;if(u===null)return()=>null;for(;u.parentElement;)u=u.parentElement;return()=>u.contains(a)?a:null});e=()=>o.map(a=>a()).filter(Boolean)}return Rl(e()),ri(()=>{let o;try{o=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!yf(o))throw r},t)}var Tl={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}}},Al={doubleClick:"dblClick"};function en(e,t){return ye().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function xn(e,t,r,o){let{EventType:a="Event",defaultInit:u={}}=o===void 0?{}:o;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let n={...u,...r},{target:{value:i,files:l,...s}={}}=n;i!==void 0&&fS(t,i),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,s);let f=ld(t),d=f[a]||f.Event,c;if(typeof d=="function")c=new d(e,n);else{c=f.document.createEvent(a);let{bubbles:p,cancelable:m,detail:h,...g}=n;c.initEvent(e,p,m,h),Object.keys(g).forEach(y=>{c[y]=g[y]})}return["dataTransfer","clipboardData"].forEach(p=>{let m=n[p];typeof m=="object"&&(typeof f.DataTransfer=="function"?Object.defineProperty(c,p,{value:Object.getOwnPropertyNames(m).reduce((h,g)=>(Object.defineProperty(h,g,{value:m[g]}),h),new f.DataTransfer)}):Object.defineProperty(c,p,{value:m}))}),c}Object.keys(Tl).forEach(e=>{let{EventType:t,defaultInit:r}=Tl[e],o=e.toLowerCase();xn[e]=(a,u)=>xn(o,a,u,{EventType:t,defaultInit:r}),en[e]=(a,u)=>en(a,xn[e](a,u))});function fS(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},o=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(o,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Al).forEach(e=>{let t=Al[e];en[e]=function(){return en[t](...arguments)}});function pS(e){return e.replace(/[ \t]*[\n][ \t]*/g,` -`)}function mS(e){return o1.default.compressToEncodedURIComponent(pS(e))}function hS(e){return"https://testing-playground.com/#markup="+mS(e)}var yS=(e,t,r)=>Array.isArray(e)?e.forEach(o=>ra(o,t,r)):ra(e,t,r),bS=function(e){if(e===void 0&&(e=Za().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=hS(e.innerHTML);return console.log(`Open this URL in your browser - -`+t),t},xl={debug:yS,logTestingPlaygroundURL:bS},gS=typeof document<"u"&&document.body?da(document.body,Bn,xl):Object.keys(Bn).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),xl);function me(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(([o,a])=>e[o]===a):!0}var fa;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(fa||(fa={}));function bf(e){return me(e,"button")||me(e,"input")&&e.type in fa}function dt(e){var t;if(vS(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 ${_S(e)}`)}function vS(e){return e.nodeType===9}function _S(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function gf(e,t){return new Promise((r,o)=>{let a=new t;a.onerror=o,a.onabort=o,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function ai(e,t){let r={...t,length:t.length,item:o=>r[o],[Symbol.iterator]:function*(){for(let o=0;ot?u.type===(a?r:e):a?u.type.startsWith(`${r}/`):u.type===r}function wS(e){return new class{getData(t){var r;let o=(r=this.items.find(fn(t,!0)))!==null&&r!==void 0?r:this.items.find(fn(t,!1)),a="";return o==null||o.getAsString(u=>{a=u}),a}setData(t,r){let o=this.items.findIndex(fn(t,!0)),a=new vf(r,t);o>=0?this.items.splice(o,1,a):this.items.push(a)}clearData(t){if(t){let r=this.items.findIndex(fn(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){jt(this,"dropEffect","none"),jt(this,"effectAllowed","uninitialized"),jt(this,"items",new ES),jt(this,"files",ai(e,[]))}}}function ii(e,t=[]){let r=typeof e.DataTransfer>"u"?wS(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>ai(e,t)}),r}function SS(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(o=>{r=o}),new e.Blob([r],{type:t.type})}function _f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ef(e,...t){let r=Object.fromEntries(t.map(o=>[typeof o=="string"?"text/plain":o.type,Promise.resolve(o)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(o){let a=await this.data[o];if(!a)throw new Error(`${o} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:o})}constructor(o){_f(this,"data",void 0),this.data=o}}(r)}var Er=Symbol("Manage ClipboardSub");function ql(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let o of this.items){let a=o.types.includes("text/plain")?"text/plain":o.types.find(u=>u.startsWith("text/"));a&&(r+=await o.getType(a).then(u=>gf(u,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[Ef(e,r)]}constructor(...r){super(...r),_f(this,"items",[])}},{[Er]:t})}function li(e){return!!(e!=null&&e[Er])}function CS(e){if(li(e.navigator.clipboard))return e.navigator.clipboard[Er];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,o={resetClipboardStub:()=>{r=ql(e,o)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=ql(e,o),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Er]}function PS(e){li(e.navigator.clipboard)&&e.navigator.clipboard[Er].resetClipboardStub()}function OS(e){li(e.navigator.clipboard)&&e.navigator.clipboard[Er].detachClipboardStub()}async function RS(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,o=r&&await r.read();if(!o)throw new Error("The Clipboard API is unavailable.");let a=ii(t);for(let u of o)for(let n of u.types)a.setData(n,await u.getType(n).then(i=>gf(i,t.FileReader)));return a}async function wf(e,t){let r=dt(e),o=r.navigator.clipboard,a=[];for(let u=0;u!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var kn=globalThis;typeof kn.afterEach=="function"&&kn.afterEach(()=>PS(globalThis.window));typeof kn.afterAll=="function"&&kn.afterAll(()=>OS(globalThis.window));function Gt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function tn(e){let t=TS(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function TS(e){return e.nodeType===1?e:e.parentElement}function wr(e){return Sf(e)&&!e.readOnly||Gt(e)}var pa;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(pa||(pa={}));function Sf(e){return me(e,"textarea")||me(e,"input")&&e.type in pa}var ma;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(ma||(ma={}));function AS(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function xS(e){return me(e,"textarea")||me(e,"input")&&e.type in ma}var Cf=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function si(e){return e.matches(Cf)}var Dn;(function(e){e["{"]="}",e["["]="]"})(Dn||(Dn={}));function Pf(e,t){let r=0,o=e[r]in Dn?e[r]:"";r+=o.length;let a=new RegExp(`^\\${o}{2}`).test(e)?"":o;return{type:a,...a===""?qS(e,r,t):MS(e,r,a,t)}}function qS(e,t,r){let o=e[t];return Of(o,e,t,r),t+=o.length,{consumedLength:t,descriptor:o,releasePrevious:!1,releaseSelf:!0,repeat:1}}function MS(e,t,r,o){var a,u;let n=e[t]==="/"?"/":"";t+=n.length;let i=r==="{"&&e[t]==="\\";t+=Number(i);let l=i?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];Of(l,e,t,o),t+=l.length;var s;let f=(s=(u=e.slice(t).match(/^>\d+/))===null||u===void 0?void 0:u[0])!==null&&s!==void 0?s:"";t+=f.length;let d=e[t]==="/"||!f&&e[t]===">"?e[t]:"";t+=d.length;let c=Dn[r],p=e[t]===c?c:"";if(!p)throw new Error(Rf([!f&&"repeat modifier",!d&&"release modifier",`"${c}"`].filter(Boolean).join(" or "),e[t],e,o));return t+=p.length,{consumedLength:t,descriptor:l,releasePrevious:!!n,repeat:f?Math.max(Number(f.substr(1)),1):1,releaseSelf:jS(d,f)}}function Of(e,t,r,o){if(!e)throw new Error(Rf("key descriptor",t[r],t,o))}function jS(e,t){if(e)return e==="/";if(t)return!1}function Rf(e,t,r,o){return`Expected ${e} but found "${t??""}" in "${r}" - See ${o==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"} - for more information about how userEvent parses your input.`}function IS(e){return new e.constructor(e.type,e)}var Ue;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Ue||(Ue={}));function Br(e,t){e.levelRefs[t]={}}function pn(e,t){return e.levelRefs[t]}var pr;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(pr||(pr={}));function Ct(e){for(let r=e;r;r=r.parentElement)if(me(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(me(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function ho(e){let t=e.activeElement;return t!=null&&t.shadowRoot?ho(t.shadowRoot):Ct(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Ro(e){var t;return(t=ho(e))!==null&&t!==void 0?t:e.body}function NS(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ft(e){return Tf(e)&&Sf(e)}function $S(e){return Tf(e)&&bf(e)}function Tf(e){return e.nodeType===1}function BS(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&ft(e)){let o=tn(t.focusNode);if(o){if(!t.isCollapsed){var r;let a=((r=o.firstChild)===null||r===void 0?void 0:r.nodeType)===3?o.firstChild:o;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Sr(e,t){return ye().eventWrapper(e)}function $t(e){let t=NS(e,si),r=ho(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Sr(t?()=>t.focus():()=>r==null?void 0:r.blur()),BS(t??e.ownerDocument.body))}function kS(e){!si(e)||ho(e.ownerDocument)!==e||Sr(()=>e.blur())}var Bt={};Bt.click=(e,t,r)=>{let o=t.closest("button,input,label,select,textarea"),a=o&&me(o,"label")&&o.control;if(a)return()=>{si(a)&&$t(a),r.dispatchEvent(a,IS(e))};if(me(t,"input",{type:"file"}))return()=>{kS(t),t.dispatchEvent(new(dt(t)).Event("fileDialog")),$t(t)}};var Cr=Symbol("Displayed value in UI"),wt=Symbol("Displayed selection in UI"),Ln=Symbol("Initial value to compare on blur");function DS(e){return typeof e=="object"&&Cr in e}function LS(e){return!!e&&typeof e=="object"&&wt in e}function FS(e,t){e[Ln]===void 0&&(e[Ln]=e.value),e[Cr]=t,e.value=Object.assign(new String(t),{[Cr]:!0})}function pt(e){return e[Cr]===void 0?e.value:String(e[Cr])}function ui(e){e[Cr]=void 0}function Af(e){e[Ln]=void 0}function US(e){return e[Ln]}function HS(e,t){e[wt]=t}function qr(e,{focusOffset:t,anchorOffset:r=t},o="replace"){let a=pt(e).length,u=d=>Math.max(0,Math.min(a,d)),n=o==="replace"||e[wt]===void 0?u(r):e[wt].anchorOffset,i=u(t),l=Math.min(n,i),s=Math.max(n,i);if(e[wt]={anchorOffset:n,focusOffset:i},e.selectionStart===l&&e.selectionEnd===s)return;let f=Object.assign(new Number(l),{[wt]:!0});try{e.setSelectionRange(f,s)}catch{}}function rn(e){var t,r,o;let a=(o=e[wt])!==null&&o!==void 0?o:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function zS(e){return!!e[wt]}function qn(e){e[wt]=void 0}var Fn=globalThis.parseInt;function VS(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Fn(t[0],10),o=Fn(t[1],10);if(r>=3||r===2&&o>=4){let a;return r>=3?a=1:a=2,Ml(t,a)}return e.length===2?e:Ml(t,2)}function Ml(e,t){let r=e.slice(0,t),o=Math.min(Fn(r,10),23),a=e.slice(t),u=Fn(a,10),n=Math.min(u,59);return`${o.toString().padStart(2,"0")}:${n.toString().padStart(2,"0")}`}function xf(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function qf(e,t,r,o){if(Mn(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=jl(e,t,r);if(a){if(Mn(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(me(a,"br")){let u=jl(a,void 0,r);return u?Mn(u)?{node:u,offset:r>0?0:u.nodeValue.length}:r<0&&me(u,"br")?{node:a.parentNode,offset:mn(a)}:{node:u.parentNode,offset:mn(u)+(r>0?0:1)}:r<0&&o==="deleteContentBackward"?{node:a.parentNode,offset:mn(a)}:void 0}else return{node:a.parentNode,offset:mn(a)+(r>0?1:0)}}}function jl(e,t,r){let o=Number(t)+(r<0?-1:0);return t!==void 0&&ci(e)&&o>=0&&ot.startsWith("__react"))&&dt(e).REACT_VERSION===17}function JS(e){YS(e)&&(e[nn]={previousValue:String(e.value),tracked:[]})}function XS(e,t){var r,o;(o=e[nn])===null||o===void 0||(r=o.tracked)===null||r===void 0||r.push(t),e[nn]||(ui(e),qr(e,{focusOffset:t.length}))}function QS(e,t){var r;let o=e[nn];if(e[nn]=void 0,!(!(o==null||(r=o.tracked)===null||r===void 0)&&r.length))return;let a=o.tracked.length===2&&o.tracked[0]===o.previousValue&&o.tracked[1]===e.value;a||ui(e),zS(e)&&qr(e,{focusOffset:a?t:e.value.length})}function Mf(e){let t=ZS(e);if(t&&ft(t))return{type:"input",selection:rn(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:tn(e)&&(r!=null&&r.anchorNode)&&tn(r.anchorNode)?"contenteditable":"default",selection:r}}function ZS(e){return e.nodeType===1?e:e.parentElement}function eC(e){let t=Mf(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Kt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:o=t}){var a,u;if(Mf(e).type==="input")return qr(e,{anchorOffset:o,focusOffset:t});(u=r.ownerDocument)===null||u===void 0||(a=u.getSelection())===null||a===void 0||a.setBaseAndExtent(r,o,e,t)}function jf(e){return me(e,"input")&&["date","time"].includes(e.type)}function Pr(e,t,r,o="insertText"){let a=eC(t);a&&(!jf(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:o,data:r})||("startContainer"in a?tC(e,t,a,r,o):rC(e,t,a,r,o)))}function tC(e,t,r,o,a){let u=!1;if(!r.collapsed)u=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let n=qf(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(n){u=!0;let i=r.cloneRange();i.comparePoint(n.node,n.offset)<0?i.setStart(n.node,n.offset):i.setEnd(n.node,n.offset),i.deleteContents()}}if(o)if(r.endContainer.nodeType===3){let n=r.endOffset;r.endContainer.insertData(n,o),r.setStart(r.endContainer,n+o.length),r.setEnd(r.endContainer,n+o.length)}else{let n=t.ownerDocument.createTextNode(o);r.insertNode(n),r.setStart(n,o.length),r.setEnd(n,o.length)}(u||o)&&e.dispatchUIEvent(t,"input",{inputType:a})}function rC(e,t,r,o,a){let u=o;if(xS(t)){let s=AS(t);if(s!==void 0&&o.length>0){let f=s-t.value.length;if(f>0)u=o.substring(0,f);else return}}let{newValue:n,newOffset:i,oldValue:l}=nC(u,t,r,a);n===l&&i===r.startOffset&&i===r.endOffset||me(t,"input",{type:"number"})&&!oC(n)||(FS(t,n),Kt({focusNode:t,anchorOffset:i,focusOffset:i}),jf(t)?xf(t,n)&&(Il(e,t,i,{}),e.dispatchUIEvent(t,"change"),Af(t)):Il(e,t,i,{data:o,inputType:a}))}function nC(e,t,{startOffset:r,endOffset:o},a){let u=pt(t),n=Math.max(0,r===o&&a==="deleteContentBackward"?r-1:r),i=u.substring(0,n),l=Math.min(u.length,r===o&&a==="deleteContentForward"?r+1:o),s=u.substring(l,u.length),f=`${i}${e}${s}`,d=n+e.length;if(me(t,"input",{type:"time"})){let c=VS(f);c!==""&&xf(t,c)&&(f=c,d=c.length)}return{oldValue:u,newValue:f,newOffset:d}}function Il(e,t,r,o){e.dispatchUIEvent(t,"input",o),QS(t,r)}function oC(e){var t,r;let o=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||o[1]&&!/^-?\d*$/.test(o[1]))}Bt.cut=(e,t,r)=>()=>{wr(t)&&Pr(r,t,"","deleteByCut")};function aC(e){return e?Gt(e)?e.textContent:pt(e):null}function iC(e){let t=dt(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:o,visibility:a}=t.getComputedStyle(r);if(o==="none"||a==="hidden")return!1}return!0}function lC(e,t){let r=e.ownerDocument,o=r.querySelectorAll(Cf),a=Array.from(o).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Ct(l)));Number(e.getAttribute("tabindex"))>=0&&a.sort((l,s)=>{let f=Number(l.getAttribute("tabindex")),d=Number(s.getAttribute("tabindex"));return f===d?0:f===0?1:d===0?-1:f-d});let u={},n=[r.body],i=me(e,"input",{type:"radio"})?e.name:void 0;a.forEach(l=>{let s=l;if(me(s,"input",{type:"radio"})&&s.name){if(s===e){n.push(s);return}else if(s.name===i)return;if(s.checked){n=n.filter(f=>!me(f,"input",{type:"radio",name:s.name})),n.push(s),u[s.name]=s;return}if(typeof u[s.name]<"u")return}n.push(s)});for(let l=n.findIndex(s=>s===e);;)if(l+=t?-1:1,l===n.length?l=0:l===-1&&(l=n.length-1),n[l]===e||n[l]===r.body||iC(n[l]))return n[l]}function Nl(e,t){if(ft(e)){let r=rn(e);Kt({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let o=qf(r.focusNode,r.focusOffset,t);o&&Kt({focusNode:o.node,focusOffset:o.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function If(e){if(ft(e))return Kt({focusNode:e,anchorOffset:0,focusOffset:pt(e).length});var t;let r=(t=tn(e))!==null&&t!==void 0?t:e.ownerDocument.body;Kt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function sC(e){if(ft(e))return rn(e).startOffset===0&&rn(e).endOffset===pt(e).length;var t;let r=(t=tn(e))!==null&&t!==void 0?t:e.ownerDocument.body,o=e.ownerDocument.getSelection();return(o==null?void 0:o.anchorNode)===r&&o.focusNode===r&&o.anchorOffset===0&&o.focusOffset===r.childNodes.length}function kr(e,t,r){var o;if(ft(e))return Kt({focusNode:e,anchorOffset:t,focusOffset:r});if(Gt(e)&&((o=e.firstChild)===null||o===void 0?void 0:o.nodeType)===3)return Kt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function hn(e,t,r){let o=dt(t),a=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${o.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let u=a.findIndex(n=>n===t)+r;;u+=r){if(a[u]||(u=r>0?0:a.length-1),a[u]===t)return;Ct(a[u])||($t(a[u]),e.dispatchUIEvent(a[u],"click"))}}Bt.keydown=(e,t,r)=>{var o,a;return(a=(o=$l[e.key])===null||o===void 0?void 0:o.call($l,e,t,r))!==null&&a!==void 0?a:uC(e,t,r)};var $l={ArrowDown:(e,t,r)=>{if(me(t,"input",{type:"radio"}))return()=>hn(r,t,-1)},ArrowLeft:(e,t,r)=>me(t,"input",{type:"radio"})?()=>hn(r,t,-1):()=>Nl(t,-1),ArrowRight:(e,t,r)=>me(t,"input",{type:"radio"})?()=>hn(r,t,1):()=>Nl(t,1),ArrowUp:(e,t,r)=>{if(me(t,"input",{type:"radio"}))return()=>hn(r,t,1)},Backspace:(e,t,r)=>{if(wr(t))return()=>{Pr(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(wr(t))return()=>{Pr(r,t,"","deleteContentForward")}},End:(e,t)=>{if(me(t,["input","textarea"])||Gt(t))return()=>{var r,o;let a=(o=(r=aC(t))===null||r===void 0?void 0:r.length)!==null&&o!==void 0?o:0;kr(t,a,a)}},Home:(e,t)=>{if(me(t,["input","textarea"])||Gt(t))return()=>{kr(t,0,0)}},PageDown:(e,t)=>{if(me(t,["input"]))return()=>{let r=pt(t).length;kr(t,r,r)}},PageUp:(e,t)=>{if(me(t,["input"]))return()=>{kr(t,0,0)}},Tab:(e,t,r)=>()=>{let o=lC(t,r.system.keyboard.modifiers.Shift);$t(o),ft(o)&&qr(o,{anchorOffset:0,focusOffset:o.value.length})}},uC=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>If(t)};Bt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(me(t,"button")||me(t,"input")&&cC.includes(t.type)||me(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(me(t,"input")){let o=t.form,a=o==null?void 0:o.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):o&&dC.includes(t.type)&&o.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(o,"submit"):void 0}}if(wr(t)){let o=e.key==="Enter"?Gt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?` -`:e.key;return()=>Pr(r,t,a,o)}};var cC=["button","color","file","image","reset","submit"],dC=["email","month","password","search","tel","text","url","week"];Bt.keyup=(e,t,r)=>{var o;return(o=Bl[e.key])===null||o===void 0?void 0:o.call(Bl,e,t,r)};var Bl={" ":(e,t,r)=>{if(bf(t))return()=>r.dispatchUIEvent(t,"click")}};Bt.paste=(e,t,r)=>{if(wr(t))return()=>{var o;let a=(o=e.clipboardData)===null||o===void 0?void 0:o.getData("text");a&&Pr(r,t,a,"insertFromPaste")}};var Nf={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function $f(e){return Nf[e].EventType}var fC=["MouseEvent","PointerEvent"];function pC(e){return fC.includes($f(e))}function mC(e){return $f(e)==="KeyboardEvent"}var hC={ClipboardEvent:[bC],Event:[],InputEvent:[yn,gC],MouseEvent:[yn,To,kl],PointerEvent:[yn,To,kl,_C],KeyboardEvent:[yn,To,vC]};function Bf(e,t,r){let o=dt(t),{EventType:a,defaultInit:u}=Nf[e],n=new(yC(o))[a](e,u);return hC[a].forEach(i=>i(n,r??{})),n}function yC(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var o;let a=(o=e.AnimationEvent)!==null&&o!==void 0?o:class extends r{};var u;let n=(u=e.ClipboardEvent)!==null&&u!==void 0?u:class extends r{};var i;let l=(i=e.PopStateEvent)!==null&&i!==void 0?i:class extends r{};var s;let f=(s=e.ProgressEvent)!==null&&s!==void 0?s:class extends r{};var d;let c=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let m=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var h;let g=(h=e.CompositionEvent)!==null&&h!==void 0?h:class extends m{};var y;let _=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends m{};var S;let E=(S=e.InputEvent)!==null&&S!==void 0?S:class extends m{};var C;let T=(C=e.KeyboardEvent)!==null&&C!==void 0?C:class extends m{};var O;let v=(O=e.MouseEvent)!==null&&O!==void 0?O:class extends m{};var P;let q=(P=e.DragEvent)!==null&&P!==void 0?P:class extends v{};var j;let U=(j=e.PointerEvent)!==null&&j!==void 0?j:class extends v{};var H;let z=(H=e.TouchEvent)!==null&&H!==void 0?H:class extends m{};return{Event:r,AnimationEvent:a,ClipboardEvent:n,PopStateEvent:l,ProgressEvent:f,TransitionEvent:c,UIEvent:m,CompositionEvent:g,FocusEvent:_,InputEvent:E,KeyboardEvent:T,MouseEvent:v,DragEvent:q,PointerEvent:U,TouchEvent:z}}function nr(e,t){for(let[r,o]of Object.entries(t))Object.defineProperty(e,r,{get:()=>o??null})}function qe(e){return Number(e??0)}function bC(e,{clipboardData:t}){nr(e,{clipboardData:t})}function gC(e,{data:t,inputType:r,isComposing:o}){nr(e,{data:t,isComposing:!!o,inputType:String(r)})}function yn(e,{view:t,detail:r}){nr(e,{view:t,detail:qe(r??0)})}function To(e,{altKey:t,ctrlKey:r,metaKey:o,shiftKey:a,modifierAltGraph:u,modifierCapsLock:n,modifierFn:i,modifierFnLock:l,modifierNumLock:s,modifierScrollLock:f,modifierSymbol:d,modifierSymbolLock:c}){nr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!o,shiftKey:!!a,getModifierState(p){return!!{Alt:t,AltGraph:u,CapsLock:n,Control:r,Fn:i,FnLock:l,Meta:o,NumLock:s,ScrollLock:f,Shift:a,Symbol:d,SymbolLock:c}[p]}})}function vC(e,{key:t,code:r,location:o,repeat:a,isComposing:u,charCode:n}){nr(e,{key:String(t),code:String(r),location:qe(o),repeat:!!a,isComposing:!!u,charCode:n})}function kl(e,{x:t,y:r,screenX:o,screenY:a,clientX:u=t,clientY:n=r,button:i,buttons:l,relatedTarget:s}){nr(e,{screenX:qe(o),screenY:qe(a),clientX:qe(u),x:qe(u),clientY:qe(n),y:qe(n),button:qe(i),buttons:qe(l),relatedTarget:s})}function _C(e,{pointerId:t,width:r,height:o,pressure:a,tangentialPressure:u,tiltX:n,tiltY:i,twist:l,pointerType:s,isPrimary:f}){nr(e,{pointerId:qe(t),width:qe(r),height:qe(o),pressure:qe(a),tangentialPressure:qe(u),tiltX:qe(n),tiltY:qe(i),twist:qe(l),pointerType:String(s),isPrimary:!!f})}function EC(e,t,r,o=!1){(pC(t)||mC(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=Bf(t,e,r);return kf.call(this,e,a,o)}function kf(e,t,r=!1){var o;let a=t.type,u=r?()=>{}:(o=Bt[a])===null||o===void 0?void 0:o.call(Bt,t,e,this);if(u){t.preventDefault();let n=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>n}),Object.defineProperty(t,"preventDefault",{value:()=>{n=t.cancelable}}),Sr(()=>e.dispatchEvent(t)),n||u(),!n}return Sr(()=>e.dispatchEvent(t))}function wC(e,t,r){let o=Bf(t,e,r);Sr(()=>e.dispatchEvent(o))}var Ao=Symbol("Interceptor for programmatical calls");function dr(e,t,r){let o=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),u=o!=null&&o.set?"set":"value";if(typeof(o==null?void 0:o[u])!="function"||o[u][Ao])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function n(...i){let{applyNative:l=!1,realArgs:s,then:f}=r.call(this,...i),d=(!l&&a||o)[u];u==="set"?d.call(this,s):d.call(this,...s),f==null||f()}n[Ao]=Ao,Object.defineProperty(e,t,{...a??o,[u]:n})}function SC(e){dr(e,"value",function(t){let r=DS(t);return r&&JS(this),{applyNative:!!r,realArgs:CC(this,t),then:r?void 0:()=>XS(this,String(t))}})}function CC(e,t){return me(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function PC(e){dr(e,"setSelectionRange",function(t,...r){let o=LS(t);return{applyNative:!!o,realArgs:[Number(t),...r],then:()=>o?void 0:qn(e)}}),dr(e,"selectionStart",function(t){return{realArgs:t,then:()=>qn(e)}}),dr(e,"selectionEnd",function(t){return{realArgs:t,then:()=>qn(e)}}),dr(e,"select",function(){return{realArgs:[],then:()=>HS(e,{anchorOffset:0,focusOffset:pt(e).length})}})}function OC(e){dr(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{ui(e),qn(e)}}})}var mr=Symbol("Node prepared with document state workarounds");function Df(e){e[mr]||(e.addEventListener("focus",t=>{let r=t.target;Dl(r)},{capture:!0,passive:!0}),e.activeElement&&Dl(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,o=US(r);o!==void 0&&(r.value!==o&&wC(r,"change"),Af(r))},{capture:!0,passive:!0}),e[mr]=mr)}function Dl(e){e[mr]||(me(e,["input","textarea"])&&(SC(e),PC(e),OC(e)),e[mr]=mr)}function RC(e){return TC(e)?e:e.ownerDocument}function TC(e){return e.nodeType===9}function Or(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function lr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xe;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(Xe||(Xe={}));var AC=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Ll(e){return AC.includes(e)}var xC=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Fl(e){return xC.includes(e)}var qC=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,o,a;let u=String(t.key),n=String(t.code),i=Ro(e.config.document);this.setKeydownTarget(i);var l;(l=(r=this.pressed)[o=n])!==null&&l!==void 0||(r[o]={keyDef:t,unpreventedDefault:!1}),Ll(u)&&(this.modifiers[u]=!0);let s=e.dispatchUIEvent(i,"keydown",{key:u,code:n});Fl(u)&&!this.modifiers[u]&&(this.modifiers[u]=!0,this.modifierLockStart[u]=!0),(a=this.pressed[n]).unpreventedDefault||(a.unpreventedDefault=s),s&&this.hasKeyPress(u)&&e.dispatchUIEvent(Ro(e.config.document),"keypress",{key:u,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),o=String(t.code),a=this.pressed[o].unpreventedDefault;delete this.pressed[o],Ll(r)&&!Object.values(this.pressed).find(u=>u.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Ro(e.config.document),"keyup",{key:r,code:o},!a),Fl(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){lr(this,"system",void 0),lr(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}),lr(this,"pressed",{}),lr(this,"carryChar",""),lr(this,"lastKeydownTarget",void 0),lr(this,"modifierLockStart",{}),this.system=e}},MC=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Xe.LEFT},{code:"AltRight",key:"Alt",location:Xe.RIGHT},{code:"ShiftLeft",key:"Shift",location:Xe.LEFT},{code:"ShiftRight",key:"Shift",location:Xe.RIGHT},{code:"ControlLeft",key:"Control",location:Xe.LEFT},{code:"ControlRight",key:"Control",location:Xe.RIGHT},{code:"MetaLeft",key:"Meta",location:Xe.LEFT},{code:"MetaRight",key:"Meta",location:Xe.RIGHT},{code:"OSLeft",key:"OS",location:Xe.LEFT},{code:"OSRight",key:"OS",location:Xe.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],jC=[{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 IC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Lf=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=ha(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=ha(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){IC(this,"pressed",{})}},Ul={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function ha(e=0){return e in Ul?Ul[e]:Number(e)}var Hl={1:2,2:1};function zl(e){return e=ha(e),e in Hl?Hl[e]:e}function NC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $C=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){NC(this,"pressedKeys",new Set)}};function Hr(e,t){let r=[];for(let u=e;u;u=u.parentElement)r.push(u);let o=[];for(let u=t;u;u=u.parentElement)o.push(u);let a=0;for(;!(a>=r.length||a>=o.length||r[r.length-1-a]!==o[o.length-1-a]);a++);return[r.slice(0,r.length-a),o.slice(0,o.length-a),o.slice(o.length-a)]}function ya({target:e,node:t,offset:r}){return ft(e)?{node:e,offset:r??pt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Ff(e,r)}function Ff(e,t,r=!0){let o=t===void 0?e.childNodes.length-1:0,a=t===void 0?-1:1;for(;t===void 0?o>=(r?Math.max(e.childNodes.length-1,0):0):o<=e.childNodes.length;){if(t&&o===e.childNodes.length)throw new Error("The given offset is out of bounds.");let u=e.childNodes.item(o),n=String(u.textContent);if(n.length)if(t!==void 0&&n.lengthe.end||u.offset0&&n.setEnd(u.node,u.offset);let l=t.getSelection();l==null||l.removeAllRanges(),l==null||l.addRange(n.cloneRange())}}function Uf(e,t){var r,o,a,u,n,i,l,s;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((u=t.coords)===null||u===void 0?void 0:u.y)||((n=e.caret)===null||n===void 0?void 0:n.node)!==((i=t.caret)===null||i===void 0?void 0:i.node)||((l=e.caret)===null||l===void 0?void 0:l.offset)!==((s=t.caret)===null||s===void 0?void 0:s.offset)}function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var LC=class{move(e,t){let r=this.position,o=this.getTarget(e);if(this.position=t,!Uf(r,t))return;let a=this.getTarget(e),u=this.getEventInit("mousemove"),[n,i]=Hr(o,a);return{leave:()=>{o!==a&&(e.dispatchUIEvent(o,"mouseout",u),n.forEach(l=>e.dispatchUIEvent(l,"mouseleave",u)))},enter:()=>{o!==a&&(e.dispatchUIEvent(a,"mouseover",u),i.forEach(l=>e.dispatchUIEvent(l,"mouseenter",u)))},move:()=>{e.dispatchUIEvent(a,"mousemove",u),this.modifySelecting(e)}}}down(e,t,r){let o=this.buttons.down(t);if(o===void 0)return;let a=this.getTarget(e);this.buttonDownTarget[o]=a;let u=Ct(a),n=this.getEventInit("mousedown",t.button);(u||e.dispatchUIEvent(a,"mousedown",n))&&(this.startSelecting(e,n.detail),$t(a)),!u&&zl(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let o=this.buttons.up(t);if(o===void 0)return;let a=this.getTarget(e);if(!Ct(a)){e.dispatchUIEvent(a,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let u=Hr(this.buttonDownTarget[o],a)[2][0];if(u){let n=this.getEventInit("click",t.button,r);n.detail&&(e.dispatchUIEvent(u,n.button===0?"click":"auxclick",n),n.button===0&&n.detail===2&&e.dispatchUIEvent(u,"dblclick",{...this.getEventInit("dblclick",t.button),detail:n.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let o={...this.position.coords};return r&&(o.pointerId=r.pointerId,o.pointerType=r.pointerType,o.isPrimary=r.isPrimary),o.button=zl(t),o.buttons=this.buttons.getButtons(),e==="mousedown"?o.detail=this.clickCount.getOnDown(o.button):e==="mouseup"?o.detail=this.clickCount.getOnUp(o.button):(e==="click"||e==="auxclick")&&(o.detail=this.clickCount.incOnClick(o.button)),o}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,o;this.selecting=BC({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(o=this.position.caret)===null||o===void 0?void 0:o.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&DC(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){zt(this,"position",{}),zt(this,"buttons",new Lf),zt(this,"selecting",void 0),zt(this,"buttonDownTarget",{}),zt(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){zt(this,"down",{}),zt(this,"count",{})}})}};function Un(e,t){var r;return((r=Hf(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function FC(e){let t=dt(e);for(let r=e,o=[];r!=null&&r.ownerDocument;r=r.parentElement){o.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:o}}}var Vl=Symbol("Last check for pointer-events");function Hf(e,t){let r=t[Vl];if(!(e.config.pointerEventsCheck!==pr.Never&&(!r||Wl(e.config.pointerEventsCheck,pr.EachApiCall)&&r[Ue.Call]!==pn(e,Ue.Call)||Wl(e.config.pointerEventsCheck,pr.EachTrigger)&&r[Ue.Trigger]!==pn(e,Ue.Trigger))))return r==null?void 0:r.result;let o=FC(t);return t[Vl]={[Ue.Call]:pn(e,Ue.Call),[Ue.Trigger]:pn(e,Ue.Trigger),result:o},o}function Dr(e,t){let r=Hf(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\`:`,"",UC(r.tree)].join(` -`))}function UC(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,HC(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(` -`)}function HC(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var o,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(o=a.textContent)===null||o===void 0?void 0:o.trim()}else if(me(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(n=>{var i;return(i=n.textContent)===null||i===void 0?void 0:i.trim()}).join("|");else if(me(e,"button")){var u;r=(u=e.textContent)===null||u===void 0?void 0:u.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function Wl(e,t){return(e&t)>0}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Gl=class{init(e,t){this.position=t;let r=this.getTarget(e),[,o]=Hr(null,r),a=this.getEventInit();return Dr(e,r),e.dispatchUIEvent(r,"pointerover",a),o.forEach(u=>e.dispatchUIEvent(u,"pointerenter",a)),this}move(e,t){let r=this.position,o=this.getTarget(e);if(this.position=t,!Uf(r,t))return;let a=this.getTarget(e),u=this.getEventInit(),[n,i]=Hr(o,a);return{leave:()=>{Un(e,o)&&o!==a&&(e.dispatchUIEvent(o,"pointerout",u),n.forEach(l=>e.dispatchUIEvent(l,"pointerleave",u)))},enter:()=>{Dr(e,a),o!==a&&(e.dispatchUIEvent(a,"pointerover",u),i.forEach(l=>e.dispatchUIEvent(l,"pointerenter",u)))},move:()=>{e.dispatchUIEvent(a,"pointermove",u)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Dr(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Dr(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=Hr(t,null),o=this.getEventInit();Un(e,t)&&(e.dispatchUIEvent(t,"pointerout",o),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",o))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){qt(this,"pointerId",void 0),qt(this,"pointerType",void 0),qt(this,"isPrimary",void 0),qt(this,"isMultitouch",!1),qt(this,"isCancelled",!1),qt(this,"isDown",!1),qt(this,"isPrevented",!1),qt(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var zC=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let o=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(o,t).init(e,r):this.pointers.get(o);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),a.down(e,t),a.pointerType!=="touch"&&!a.isPrevented&&this.mouse.down(e,t,a)}async move(e,t,r){let o=this.pointers.get(t),a=o.move(e,r),u=o.pointerType==="touch"||o.isPrevented&&o.isDown?void 0:this.mouse.move(e,r);a==null||a.leave(),u==null||u.leave(),a==null||a.enter(),u==null||u.enter(),a==null||a.move(),u==null||u.move()}async release(e,t,r){let o=this.devices.get(t.pointerType);o.removePressed(t),this.buttons.up(t);let a=this.pointers.get(this.getPointerName(t));if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),o.countPressed===0&&a.up(e,t),a.pointerType==="touch"&&a.release(e),!a.isPrevented){if(a.pointerType==="touch"&&!a.isMultitouch){let u=this.mouse.move(e,a.position);u==null||u.leave(),u==null||u.enter(),u==null||u.move(),this.mouse.down(e,t,a)}if(!a.isMultitouch){let u=this.mouse.move(e,a.position);u==null||u.leave(),u==null||u.enter(),u==null||u.move(),this.mouse.up(e,t,a)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){Mt(this,"system",void 0),Mt(this,"mouse",void 0),Mt(this,"buttons",void 0),Mt(this,"devices",new class{get(t){var r,o,a;return(a=(r=this.registry)[o=t])!==null&&a!==void 0||(r[o]=new $C),this.registry[t]}constructor(){Mt(this,"registry",{})}}),Mt(this,"pointers",new class{new(t,r){let o=r.pointerType!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return o||Object.values(this.registry).forEach(a=>{a.pointerType===r.pointerType&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new Gl({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:o}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){Mt(this,"registry",{mouse:new Gl({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Mt(this,"nextId",2)}}),this.system=e,this.buttons=new Lf,this.mouse=new LC}};function Kl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var zf=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(){Kl(this,"keyboard",new qC(this)),Kl(this,"pointer",new zC(this))}};async function VC(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function WC(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function GC(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function KC(e){return this.pointer({target:e})}async function YC(e){return Dr(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function JC({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function XC(e,t){let r=[];do{let{type:a,descriptor:u,consumedLength:n,releasePrevious:i,releaseSelf:l=!0,repeat:s}=Pf(t,"keyboard");var o;let f=(o=e.find(d=>{if(a==="["){var c;return((c=d.code)===null||c===void 0?void 0:c.toLowerCase())===u.toLowerCase()}else if(a==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===u.toLowerCase()}return d.key===u}))!==null&&o!==void 0?o:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:u};r.push({keyDef:f,releasePrevious:i,releaseSelf:l,repeat:s}),t=t.slice(n)}while(t);return r}async function QC(e){let t=XC(this.config.keyboardMap,e);for(let r=0;r{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(o,"paste",{clipboardData:u})}function aP(e,t){let r=ii(dt(e));return r.setData("text",t),r}function Yl(e,t){let r=[];do{let{descriptor:o,consumedLength:a,releasePrevious:u,releaseSelf:n=!0}=Pf(t,"pointer"),i=e.find(l=>l.name===o);i&&r.push({keyDef:i,releasePrevious:u,releaseSelf:n}),t=t.slice(a)}while(t);return r}async function iP(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(o=>{typeof o=="string"?r.push(...Yl(t,o)):"keys"in o?r.push(...Yl(t,o.keys).map(a=>({...o,...a}))):r.push(o)});for(let o=0;o{if(typeof i!="string"&&a.includes(i))return i;{let l=a.find(s=>s.value===i||s.innerHTML===i);if(l)return l;throw ye().getElementError(`Value "${String(i)}" not found in options`,t)}}).filter(i=>!Ct(i));if(Ct(t)||!u.length)return;let n=i=>{i.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(me(t,"select"))if(t.multiple)for(let i of u){let l=this.config.pointerEventsCheck===0?!0:Un(this,i);l&&(this.dispatchUIEvent(i,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(i,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(i,"pointermove"),this.dispatchUIEvent(i,"mousemove"),this.dispatchUIEvent(i,"pointerdown"),this.dispatchUIEvent(i,"mousedown")),$t(t),l&&(this.dispatchUIEvent(i,"pointerup"),this.dispatchUIEvent(i,"mouseup")),n(i),l&&this.dispatchUIEvent(i,"click"),await Or(this.config)}else if(u.length===1){let i=this.config.pointerEventsCheck===0?!0:Un(this,t);i?await this.click(t):$t(t),n(u[0]),i&&(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 Or(this.config)}else throw ye().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let i of u)await this.click(i),await this.unhover(i);else throw ye().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function fP(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:o=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:u}={}){e.disabled||(r||await this.click(e),a!==void 0&&kr(e,a,u??a),await this.keyboard(t),o||await eP(this))}var Xl=Symbol("files and value properties are mocked");function xo(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function pP(e,t){var r;(r=e[Xl])===null||r===void 0||r.restore();let o=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),u=Object.getOwnPropertyDescriptor(e,"files");function n(){xo(e,"type",o),xo(e,"value",a),xo(e,"files",u)}e[Xl]={restore:n},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(i){if(i==="")n();else{var l;a==null||(l=a.set)===null||l===void 0||l.call(e,i)}}},type:{configurable:!0,get:()=>"file",set(i){i!=="file"&&(n(),e.type=i)}}})}async function mP(e,t){let r=me(e,"label")?e.control:e;if(!r||!me(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(Ct(e))return;let o=(Array.isArray(t)?t:[t]).filter(u=>!this.config.applyAccept||hP(u,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var u;o.length===((u=r.files)===null||u===void 0?void 0:u.length)&&o.every((n,i)=>{var l;return n===((l=r.files)===null||l===void 0?void 0:l.item(i))})||(pP(r,ai(dt(e),o)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function hP(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(o=>o.startsWith(".")?e.name.endsWith(o):r.includes(o)?e.type.startsWith(o.substr(0,o.length-1)):e.type===o)}var Ql={click:VC,dblClick:WC,tripleClick:GC,hover:KC,unhover:YC,tab:JC,keyboard:QC,copy:rP,cut:nP,paste:oP,pointer:iP,clear:uP,deselectOptions:dP,selectOptions:cP,type:fP,upload:mP};function yP(e){return ye().asyncWrapper(e)}var Gf={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:MC,pointerMap:jC,pointerEventsCheck:pr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},bP={...Gf,writeToClipboard:!0};function Kf(e={},t=bP,r){let o=EP(e,r,t);return{...t,...e,document:o}}function gP(e={}){let t=Kf(e);Df(t.document);var r;let o=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return CS(o),di(t).api}function Le({keyboardState:e,pointerState:t,...r}={},o){let a=Kf(r,Gf,o);Df(a.document);var u;let n=(u=t??e)!==null&&u!==void 0?u:new zf;return{api:di(a,n).api,system:n}}function vP(e){return di({...this.config,...e},this.system).api}function _P(e,t){function r(...o){return Br(e,Ue.Call),yP(()=>t.apply(e,o).then(async a=>(await Or(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function di(e,t=new zf){let r={};return Object.assign(r,{config:e,dispatchEvent:kf.bind(r),dispatchUIEvent:EC.bind(r),system:t,levelRefs:{},...Ql}),{instance:r,api:{...Object.fromEntries(Object.entries(Ql).map(([o,a])=>[o,_P(r,a)])),setup:vP.bind(r)}}}function EP(e,t,r){var o,a;return(a=(o=e.document)!==null&&o!==void 0?o:t&&RC(t))!==null&&a!==void 0?a:r.document}var Yf={};Ca(Yf,{clear:()=>wP,click:()=>SP,copy:()=>CP,cut:()=>PP,dblClick:()=>OP,deselectOptions:()=>RP,hover:()=>TP,keyboard:()=>AP,paste:()=>qP,pointer:()=>xP,selectOptions:()=>MP,tab:()=>BP,tripleClick:()=>jP,type:()=>IP,unhover:()=>NP,upload:()=>$P});function wP(e){return Le().api.clear(e)}function SP(e,t={}){return Le(t,e).api.click(e)}function CP(e={}){return Le(e).api.copy()}function PP(e={}){return Le(e).api.cut()}function OP(e,t={}){return Le(t).api.dblClick(e)}function RP(e,t,r={}){return Le(r).api.deselectOptions(e,t)}function TP(e,t={}){return Le(t).api.hover(e)}async function AP(e,t={}){let{api:r,system:o}=Le(t);return r.keyboard(e).then(()=>o)}async function xP(e,t={}){let{api:r,system:o}=Le(t);return r.pointer(e).then(()=>o)}function qP(e,t){return Le(t).api.paste(e)}function MP(e,t,r={}){return Le(r).api.selectOptions(e,t)}function jP(e,t={}){return Le(t).api.tripleClick(e)}function IP(e,t,r={}){return Le(r,e).api.type(e,t,r)}function NP(e,t={}){let{api:r,system:o}=Le(t);return o.pointer.setMousePosition({target:e}),r.unhover(e)}function $P(e,t,r={}){return Le(r).api.upload(e,t)}function BP(e={}){return Le().api.tab(e)}var kP={...Yf,setup:gP};function DP(e){for(var t=[],r=1;rt[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Zl.screen=new Proxy(Zl.screen,{get(e,t,r){return hm.warn(LP` - You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. - More info: https://storybook.js.org/docs/react/essentials/interactions - `),Reflect.get(e,t,r)}});wa({userEvent:kP},{intercept:!0});wa({expect:zc},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===p_.Assertion){let o=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?o:[...o,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"});var FP=({parameters:e})=>{var t,r,o;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?p0():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?f0():((o=e==null?void 0:e.test)==null?void 0:o.restoreMocks)!==!1&&m0()};m_.__STORYBOOK_TEST_LOADERS__=[FP];const rO={title:"Components/Button",component:ep,argTypes:{label:{disable:!0},color:{control:"select",options:Object.keys(tp)}},args:{label:"Button",onClick:io()}},Dt={onClick:io()},or={parameters:{controls:{disable:!0},actions:{disable:!0}}},bn={args:{label:"Button",...Dt},tags:["excludeFromSidebar"]},gn={args:{...Dt,color:"primary",label:"Default button"},...or},vn={args:{...Dt,color:"primary",label:"Primary button",onClick:io()},...or},_n={args:{...Dt,color:"secondary",label:"Secondary button",onClick:io()},...or},En={args:{...Dt,color:"primary",label:"Outline button (primary)",appearance:"outline"},...or},wn={args:{...Dt,color:"secondary",label:"Outline button (secondary)",appearance:"outline"},...or},Sn={args:{...Dt,color:"primary",label:"Small button",size:"sm"},...or},Cn={args:{...Dt,color:"primary",label:"Large button",size:"lg"},...or};var es,ts,rs;bn.parameters={...bn.parameters,docs:{...(es=bn.parameters)==null?void 0:es.docs,source:{originalSource:`{ - args: { - label: 'Button', - ...defaultProps - }, - tags: ['excludeFromSidebar'] -}`,...(rs=(ts=bn.parameters)==null?void 0:ts.docs)==null?void 0:rs.source}}};var ns,os,as;gn.parameters={...gn.parameters,docs:{...(ns=gn.parameters)==null?void 0:ns.docs,source:{originalSource:`{ - args: { - ...defaultProps, - color: 'primary', - label: 'Default button' - }, - ...disableControls -}`,...(as=(os=gn.parameters)==null?void 0:os.docs)==null?void 0:as.source}}};var is,ls,ss;vn.parameters={...vn.parameters,docs:{...(is=vn.parameters)==null?void 0:is.docs,source:{originalSource:`{ - args: { - ...defaultProps, - color: 'primary', - label: 'Primary button', - onClick: fn() - }, - ...disableControls -}`,...(ss=(ls=vn.parameters)==null?void 0:ls.docs)==null?void 0:ss.source}}};var us,cs,ds;_n.parameters={..._n.parameters,docs:{...(us=_n.parameters)==null?void 0:us.docs,source:{originalSource:`{ - args: { - ...defaultProps, - color: 'secondary', - label: 'Secondary button', - onClick: fn() - }, - ...disableControls -}`,...(ds=(cs=_n.parameters)==null?void 0:cs.docs)==null?void 0:ds.source}}};var fs,ps,ms;En.parameters={...En.parameters,docs:{...(fs=En.parameters)==null?void 0:fs.docs,source:{originalSource:`{ - args: { - ...defaultProps, - color: 'primary', - label: 'Outline button (primary)', - appearance: 'outline' - }, - ...disableControls -}`,...(ms=(ps=En.parameters)==null?void 0:ps.docs)==null?void 0:ms.source}}};var hs,ys,bs;wn.parameters={...wn.parameters,docs:{...(hs=wn.parameters)==null?void 0:hs.docs,source:{originalSource:`{ - args: { - ...defaultProps, - color: 'secondary', - label: 'Outline button (secondary)', - appearance: 'outline' - }, - ...disableControls -}`,...(bs=(ys=wn.parameters)==null?void 0:ys.docs)==null?void 0:bs.source}}};var gs,vs,_s;Sn.parameters={...Sn.parameters,docs:{...(gs=Sn.parameters)==null?void 0:gs.docs,source:{originalSource:`{ - args: { - ...defaultProps, - color: 'primary', - label: 'Small button', - size: 'sm' - }, - ...disableControls -}`,...(_s=(vs=Sn.parameters)==null?void 0:vs.docs)==null?void 0:_s.source}}};var Es,ws,Ss;Cn.parameters={...Cn.parameters,docs:{...(Es=Cn.parameters)==null?void 0:Es.docs,source:{originalSource:`{ - args: { - ...defaultProps, - color: 'primary', - label: 'Large button', - size: 'lg' - }, - ...disableControls -}`,...(Ss=(ws=Cn.parameters)==null?void 0:ws.docs)==null?void 0:Ss.source}}};const nO=["Demo","Default","Primary","Secondary","PrimaryOutline","SecondaryOutline","Small","Large"];export{gn as Default,bn as Demo,Cn as Large,vn as Primary,En as PrimaryOutline,_n as Secondary,wn as SecondaryOutline,Sn as Small,nO as __namedExportsOrder,rO as default}; diff --git a/assets/Button.stories-DdaK68IF.js b/assets/Button.stories-DdaK68IF.js new file mode 100644 index 0000000..23a899c --- /dev/null +++ b/assets/Button.stories-DdaK68IF.js @@ -0,0 +1,267 @@ +var ep=Object.defineProperty;var tp=(e,t,r)=>t in e?ep(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Vt=(e,t,r)=>(tp(e,typeof t!="symbol"?t+"":t,r),r);import{B as rp}from"./Button-BtzO9Cgo.js";import{t as np}from"./types-CApYt8L9.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button.style-BuRJTyuz.js";import"./polished.esm-B9vzHjoG.js";import"./styled-components.browser.esm-DnUtS8XV.js";import"./index-82mlukfQ.js";import"./hasIn-CZcrsiw3.js";import"./_getPrototype-DHgE_lbf.js";import"./isPlainObject-BhR8C-EB.js";const{addons:op}=__STORYBOOK_MODULE_PREVIEW_API__,{once:ap}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:El,STORY_RENDER_PHASE_CHANGED:lp,SET_CURRENT_STORY:ip}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:He}=__STORYBOOK_MODULE_GLOBAL__;var sp=Object.create,As=Object.defineProperty,up=Object.getOwnPropertyDescriptor,js=Object.getOwnPropertyNames,cp=Object.getPrototypeOf,dp=Object.prototype.hasOwnProperty,fp=(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')}),ze=(e,t)=>function(){return t||(0,e[js(e)[0]])((t={exports:{}}).exports,t),t.exports},pp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of js(t))!dp.call(e,a)&&a!==r&&As(e,a,{get:()=>t[a],enumerable:!(n=up(t,a))||n.enumerable});return e},Jt=(e,t,r)=>(r=e!=null?sp(cp(e)):{},pp(t||!e||!e.__esModule?As(r,"default",{value:e,enumerable:!0}):r,e)),mp=ze({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(u=0)=>o=>`\x1B[${38+u};5;${o}m`,n=(u=0)=>(o,l,i)=>`\x1B[${38+u};2;${o};${l};${i}m`;function a(){let u=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[l,i]of Object.entries(o)){for(let[s,f]of Object.entries(i))o[s]={open:`\x1B[${f[0]}m`,close:`\x1B[${f[1]}m`},i[s]=o[s],u.set(f[0],f[1]);Object.defineProperty(o,l,{value:i,enumerable:!1})}return Object.defineProperty(o,"codes",{value:u,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",o.color.ansi256=r(),o.color.ansi16m=n(),o.bgColor.ansi256=r(10),o.bgColor.ansi16m=n(10),Object.defineProperties(o,{rgbToAnsi256:{value:(l,i,s)=>l===i&&i===s?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(i/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:l=>{let i=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!i)return[0,0,0];let{colorString:s}=i.groups;s.length===3&&(s=s.split("").map(d=>d+d).join(""));let f=Number.parseInt(s,16);return[f>>16&255,f>>8&255,f&255]},enumerable:!1},hexToAnsi256:{value:l=>o.rgbToAnsi256(...o.hexToRgb(l)),enumerable:!1}}),o}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),Kn=ze({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=u;var t=(o,l)=>{let i=Object.keys(o),s=l!==null?i.sort(l):i;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(f=>{Object.getOwnPropertyDescriptor(o,f).enumerable&&s.push(f)}),s};function r(o,l,i,s,f,d,c=": "){let p="",m=0,b=o.next();if(!b.done){p+=l.spacingOuter;let g=i+l.indent;for(;!b.done;){if(p+=g,m++===l.maxWidth){p+="…";break}let y=d(b.value[0],l,g,s,f),v=d(b.value[1],l,g,s,f);p+=y+c+v,b=o.next(),b.done?l.min||(p+=","):p+=`,${l.spacingInner}`}p+=l.spacingOuter+i}return p}function n(o,l,i,s,f,d){let c="",p=0,m=o.next();if(!m.done){c+=l.spacingOuter;let b=i+l.indent;for(;!m.done;){if(c+=b,p++===l.maxWidth){c+="…";break}c+=d(m.value,l,b,s,f),m=o.next(),m.done?l.min||(c+=","):c+=`,${l.spacingInner}`}c+=l.spacingOuter+i}return c}function a(o,l,i,s,f,d){let c="";if(o.length){c+=l.spacingOuter;let p=i+l.indent;for(let m=0;m{let b=s.toString();if(b==="ArrayContaining"||b==="ArrayNotContaining")return++c>f.maxDepth?`[${b}]`:`${b+a}[${(0,t.printListItems)(s.sample,f,d,c,p,m)}]`;if(b==="ObjectContaining"||b==="ObjectNotContaining")return++c>f.maxDepth?`[${b}]`:`${b+a}{${(0,t.printObjectProperties)(s.sample,f,d,c,p,m)}}`;if(b==="StringMatching"||b==="StringNotMatching"||b==="StringContaining"||b==="StringNotContaining")return b+a+m(s.sample,f,d,c,p);if(typeof s.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${s.constructor.name} does not implement toAsymmetricMatcher()`);return s.toAsymmetricMatcher()};e.serialize=u;var o=s=>s&&s.$$typeof===n;e.test=o;var l={serialize:u,test:o},i=l;e.default=i}}),yp=ze({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Kn(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=d=>n.indexOf(d)!==-1||a.test(d),o=d=>d&&d.constructor&&!!d.constructor.name&&u(d.constructor.name);e.test=o;var l=d=>d.constructor.name==="NamedNodeMap",i=(d,c,p,m,b,g)=>{let y=d.constructor.name;return++m>c.maxDepth?`[${y}]`:(c.min?"":y+r)+(n.indexOf(y)!==-1?`{${(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((v,R)=>(v[R.name]=R.value,v),{}):{...d},c,p,m,b,g)}}`:`[${(0,t.printListItems)(Array.from(d),c,p,m,b,g)}]`)};e.serialize=i;var s={serialize:i,test:o},f=s;e.default=f}}),hp=ze({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),qa=ze({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(hp());function r(s){return s&&s.__esModule?s:{default:s}}var n=(s,f,d,c,p,m,b)=>{let g=c+d.indent,y=d.colors;return s.map(v=>{let R=f[v],w=b(R,d,g,p,m);return typeof R!="string"&&(w.indexOf(` +`)!==-1&&(w=d.spacingOuter+g+w+d.spacingOuter+c),w=`{${w}}`),`${d.spacingInner+c+y.prop.open+v+y.prop.close}=${y.value.open}${w}${y.value.close}`}).join("")};e.printProps=n;var a=(s,f,d,c,p,m)=>s.map(b=>f.spacingOuter+d+(typeof b=="string"?u(b,f):m(b,f,d,c,p))).join("");e.printChildren=a;var u=(s,f)=>{let d=f.colors.content;return d.open+(0,t.default)(s)+d.close};e.printText=u;var o=(s,f)=>{let d=f.colors.comment;return`${d.open}${d.close}`};e.printComment=o;var l=(s,f,d,c,p)=>{let m=c.colors.tag;return`${m.open}<${s}${f&&m.close+f+c.spacingOuter+p+m.open}${d?`>${m.close}${d}${c.spacingOuter}${p}${m.open}${m.close}`};e.printElement=l;var i=(s,f)=>{let d=f.colors.tag;return`${d.open}<${s}${d.close} …${d.open} />${d.close}`};e.printElementAsLeaf=i}}),gp=ze({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=qa(),r=1,n=3,a=8,u=11,o=/^((HTML|SVG)\w*)?Element$/,l=g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},i=g=>{let y=g.constructor.name,{nodeType:v,tagName:R}=g,w=typeof R=="string"&&R.includes("-")||l(g);return v===r&&(o.test(y)||w)||v===n&&y==="Text"||v===a&&y==="Comment"||v===u&&y==="DocumentFragment"},s=g=>{var y;return((y=g==null?void 0:g.constructor)==null?void 0:y.name)&&i(g)};e.test=s;function f(g){return g.nodeType===n}function d(g){return g.nodeType===a}function c(g){return g.nodeType===u}var p=(g,y,v,R,w,P)=>{if(f(g))return(0,t.printText)(g.data,y);if(d(g))return(0,t.printComment)(g.data,y);let S=c(g)?"DocumentFragment":g.tagName.toLowerCase();return++R>y.maxDepth?(0,t.printElementAsLeaf)(S,y):(0,t.printElement)(S,(0,t.printProps)(c(g)?[]:Array.from(g.attributes,q=>q.name).sort(),c(g)?{}:Array.from(g.attributes).reduce((q,h)=>(q[h.name]=h.value,q),{}),y,v+y.indent,R,w,P),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),y,v+y.indent,R,w,P),y,v)};e.serialize=p;var m={serialize:p,test:s},b=m;e.default=b}}),vp=ze({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Kn(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",o="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",i="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",f="@@__IMMUTABLE_STACK__@@",d=h=>`Immutable.${h}`,c=h=>`[${h}]`,p=" ",m="…",b=(h,C,j,M,F,U,H)=>++M>C.maxDepth?c(d(H)):`${d(H)+p}{${(0,t.printIteratorEntries)(h.entries(),C,j,M,F,U)}}`;function g(h){let C=0;return{next(){if(C{let H=d(h._name||"Record");return++M>C.maxDepth?c(H):`${H+p}{${(0,t.printIteratorEntries)(g(h),C,j,M,F,U)}}`},v=(h,C,j,M,F,U)=>{let H=d("Seq");return++M>C.maxDepth?c(H):h[a]?`${H+p}{${h._iter||h._object?(0,t.printIteratorEntries)(h.entries(),C,j,M,F,U):m}}`:`${H+p}[${h._iter||h._array||h._collection||h._iterable?(0,t.printIteratorValues)(h.values(),C,j,M,F,U):m}]`},R=(h,C,j,M,F,U,H)=>++M>C.maxDepth?c(d(H)):`${d(H)+p}[${(0,t.printIteratorValues)(h.values(),C,j,M,F,U)}]`,w=(h,C,j,M,F,U)=>h[u]?b(h,C,j,M,F,U,h[o]?"OrderedMap":"Map"):h[n]?R(h,C,j,M,F,U,"List"):h[s]?R(h,C,j,M,F,U,h[o]?"OrderedSet":"Set"):h[f]?R(h,C,j,M,F,U,"Stack"):h[i]?v(h,C,j,M,F,U):y(h,C,j,M,F,U);e.serialize=w;var P=h=>h&&(h[r]===!0||h[l]===!0);e.test=P;var S={serialize:w,test:P},q=S;e.default=q}}),_p=ze({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),i=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=!1,g=!1,y=!1,v=!1,R=!1,w;w=Symbol.for("react.module.reference");function P(V){return!!(typeof V=="string"||typeof V=="function"||V===n||V===u||R||V===a||V===f||V===d||v||V===m||b||g||y||typeof V=="object"&&V!==null&&(V.$$typeof===p||V.$$typeof===c||V.$$typeof===o||V.$$typeof===l||V.$$typeof===s||V.$$typeof===w||V.getModuleId!==void 0))}function S(V){if(typeof V=="object"&&V!==null){var le=V.$$typeof;switch(le){case t:var ie=V.type;switch(ie){case n:case u:case a:case f:case d:return ie;default:var pe=ie&&ie.$$typeof;switch(pe){case i:case l:case s:case p:case c:case o:return pe;default:return le}}case r:return le}}}var q=l,h=o,C=t,j=s,M=n,F=p,U=c,H=r,ee=u,J=a,oe=f,ae=d,ue=!1,ce=!1;function A(V){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function x(V){return ce||(ce=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function L(V){return S(V)===l}function N(V){return S(V)===o}function G(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function B(V){return S(V)===s}function k(V){return S(V)===n}function z(V){return S(V)===p}function Q(V){return S(V)===c}function _(V){return S(V)===r}function I(V){return S(V)===u}function D(V){return S(V)===a}function K(V){return S(V)===f}function W(V){return S(V)===d}e.ContextConsumer=q,e.ContextProvider=h,e.Element=C,e.ForwardRef=j,e.Fragment=M,e.Lazy=F,e.Memo=U,e.Portal=H,e.Profiler=ee,e.StrictMode=J,e.Suspense=oe,e.SuspenseList=ae,e.isAsyncMode=A,e.isConcurrentMode=x,e.isContextConsumer=L,e.isContextProvider=N,e.isElement=G,e.isForwardRef=B,e.isFragment=k,e.isLazy=z,e.isMemo=Q,e.isPortal=_,e.isProfiler=I,e.isStrictMode=D,e.isSuspense=K,e.isSuspenseList=W,e.isValidElementType=P,e.typeOf=S})()}}),wp=ze({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=_p()}}),Ep=ze({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(wp()),r=qa();function n(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:p})(c)}function a(c,p){if(!p&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var m=n(p);if(m&&m.has(c))return m.get(c);var b={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in c)if(y!=="default"&&Object.prototype.hasOwnProperty.call(c,y)){var v=g?Object.getOwnPropertyDescriptor(c,y):null;v&&(v.get||v.set)?Object.defineProperty(b,y,v):b[y]=c[y]}return b.default=c,m&&m.set(c,b),b}var u=(c,p=[])=>(Array.isArray(c)?c.forEach(m=>{u(m,p)}):c!=null&&c!==!1&&p.push(c),p),o=c=>{let p=c.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(c))return"React.Fragment";if(t.isSuspense(c))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(c))return"Context.Provider";if(t.isContextConsumer(c))return"Context.Consumer";if(t.isForwardRef(c)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?`ForwardRef(${m})`:"ForwardRef"}if(t.isMemo(c)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?`Memo(${m})`:"Memo"}}return"UNDEFINED"},l=c=>{let{props:p}=c;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},i=(c,p,m,b,g,y)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(o(c),p):(0,r.printElement)(o(c),(0,r.printProps)(l(c),c.props,p,m+p.indent,b,g,y),(0,r.printChildren)(u(c.props.children),p,m+p.indent,b,g,y),p,m);e.serialize=i;var s=c=>c!=null&&t.isElement(c);e.test=s;var f={serialize:i,test:s},d=f;e.default=d}}),Rp=ze({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=qa(),r=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,a=s=>{let{props:f}=s;return f?Object.keys(f).filter(d=>f[d]!==void 0).sort():[]},u=(s,f,d,c,p,m)=>++c>f.maxDepth?(0,t.printElementAsLeaf)(s.type,f):(0,t.printElement)(s.type,s.props?(0,t.printProps)(a(s),s.props,f,d+f.indent,c,p,m):"",s.children?(0,t.printChildren)(s.children,f,d+f.indent,c,p,m):"",f,d);e.serialize=u;var o=s=>s&&s.$$typeof===n;e.test=o;var l={serialize:u,test:o},i=l;e.default=i}}),Pa=ze({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=k,e.plugins=void 0;var t=s(mp()),r=Kn(),n=s(bp()),a=s(yp()),u=s(gp()),o=s(vp()),l=s(Ep()),i=s(Rp());function s(_){return _&&_.__esModule?_:{default:_}}var f=Object.prototype.toString,d=Date.prototype.toISOString,c=Error.prototype.toString,p=RegExp.prototype.toString,m=_=>typeof _.constructor=="function"&&_.constructor.name||"Object",b=_=>typeof window<"u"&&_===window,g=/^Symbol\((.*)\)(.*)$/,y=/\n/gi,v=class extends Error{constructor(_,I){super(_),this.stack=I,this.name=this.constructor.name}};function R(_){return _==="[object Array]"||_==="[object ArrayBuffer]"||_==="[object DataView]"||_==="[object Float32Array]"||_==="[object Float64Array]"||_==="[object Int8Array]"||_==="[object Int16Array]"||_==="[object Int32Array]"||_==="[object Uint8Array]"||_==="[object Uint8ClampedArray]"||_==="[object Uint16Array]"||_==="[object Uint32Array]"}function w(_){return Object.is(_,-0)?"-0":String(_)}function P(_){return`${_}n`}function S(_,I){return I?`[Function ${_.name||"anonymous"}]`:"[Function]"}function q(_){return String(_).replace(g,"Symbol($1)")}function h(_){return`[${c.call(_)}]`}function C(_,I,D,K){if(_===!0||_===!1)return`${_}`;if(_===void 0)return"undefined";if(_===null)return"null";let W=typeof _;if(W==="number")return w(_);if(W==="bigint")return P(_);if(W==="string")return K?`"${_.replace(/"|\\/g,"\\$&")}"`:`"${_}"`;if(W==="function")return S(_,I);if(W==="symbol")return q(_);let V=f.call(_);return V==="[object WeakMap]"?"WeakMap {}":V==="[object WeakSet]"?"WeakSet {}":V==="[object Function]"||V==="[object GeneratorFunction]"?S(_,I):V==="[object Symbol]"?q(_):V==="[object Date]"?isNaN(+_)?"Date { NaN }":d.call(_):V==="[object Error]"?h(_):V==="[object RegExp]"?D?p.call(_).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(_):_ instanceof Error?h(_):null}function j(_,I,D,K,W,V){if(W.indexOf(_)!==-1)return"[Circular]";W=W.slice(),W.push(_);let le=++K>I.maxDepth,ie=I.min;if(I.callToJSON&&!le&&_.toJSON&&typeof _.toJSON=="function"&&!V)return H(_.toJSON(),I,D,K,W,!0);let pe=f.call(_);return pe==="[object Arguments]"?le?"[Arguments]":`${ie?"":"Arguments "}[${(0,r.printListItems)(_,I,D,K,W,H)}]`:R(pe)?le?`[${_.constructor.name}]`:`${ie||!I.printBasicPrototype&&_.constructor.name==="Array"?"":`${_.constructor.name} `}[${(0,r.printListItems)(_,I,D,K,W,H)}]`:pe==="[object Map]"?le?"[Map]":`Map {${(0,r.printIteratorEntries)(_.entries(),I,D,K,W,H," => ")}}`:pe==="[object Set]"?le?"[Set]":`Set {${(0,r.printIteratorValues)(_.values(),I,D,K,W,H)}}`:le||b(_)?`[${m(_)}]`:`${ie||!I.printBasicPrototype&&m(_)==="Object"?"":`${m(_)} `}{${(0,r.printObjectProperties)(_,I,D,K,W,H)}}`}function M(_){return _.serialize!=null}function F(_,I,D,K,W,V){let le;try{le=M(_)?_.serialize(I,D,K,W,V,H):_.print(I,ie=>H(ie,D,K,W,V),ie=>{let pe=K+D.indent;return pe+ie.replace(y,` +${pe}`)},{edgeSpacing:D.spacingOuter,min:D.min,spacing:D.spacingInner},D.colors)}catch(ie){throw new v(ie.message,ie.stack)}if(typeof le!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof le}".`);return le}function U(_,I){for(let D=0;D<_.length;D++)try{if(_[D].test(I))return _[D]}catch(K){throw new v(K.message,K.stack)}return null}function H(_,I,D,K,W,V){let le=U(I.plugins,_);if(le!==null)return F(le,_,I,D,K,W);let ie=C(_,I.printFunctionName,I.escapeRegex,I.escapeString);return ie!==null?ie:j(_,I,D,K,W,V)}var ee={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},J=Object.keys(ee),oe=_=>_,ae=oe({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ee});e.DEFAULT_OPTIONS=ae;function ue(_){if(Object.keys(_).forEach(I=>{if(!Object.prototype.hasOwnProperty.call(ae,I))throw new Error(`pretty-format: Unknown option "${I}".`)}),_.min&&_.indent!==void 0&&_.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(_.theme!==void 0){if(_.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof _.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof _.theme}".`)}}var ce=_=>J.reduce((I,D)=>{let K=_.theme&&_.theme[D]!==void 0?_.theme[D]:ee[D],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[D]=W;else throw new Error(`pretty-format: Option "theme" has a key "${D}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),A=()=>J.reduce((_,I)=>(_[I]={close:"",open:""},_),Object.create(null)),x=_=>(_==null?void 0:_.printFunctionName)??ae.printFunctionName,L=_=>(_==null?void 0:_.escapeRegex)??ae.escapeRegex,N=_=>(_==null?void 0:_.escapeString)??ae.escapeString,G=_=>({callToJSON:(_==null?void 0:_.callToJSON)??ae.callToJSON,colors:_!=null&&_.highlight?ce(_):A(),compareKeys:typeof(_==null?void 0:_.compareKeys)=="function"||(_==null?void 0:_.compareKeys)===null?_.compareKeys:ae.compareKeys,escapeRegex:L(_),escapeString:N(_),indent:_!=null&&_.min?"":B((_==null?void 0:_.indent)??ae.indent),maxDepth:(_==null?void 0:_.maxDepth)??ae.maxDepth,maxWidth:(_==null?void 0:_.maxWidth)??ae.maxWidth,min:(_==null?void 0:_.min)??ae.min,plugins:(_==null?void 0:_.plugins)??ae.plugins,printBasicPrototype:(_==null?void 0:_.printBasicPrototype)??!0,printFunctionName:x(_),spacingInner:_!=null&&_.min?" ":` +`,spacingOuter:_!=null&&_.min?"":` +`});function B(_){return new Array(_+1).join(" ")}function k(_,I){if(I&&(ue(I),I.plugins)){let K=U(I.plugins,_);if(K!==null)return F(K,_,G(I),"",0,[])}let D=C(_,x(I),L(I),N(I));return D!==null?D:j(_,G(I),"",0,[])}var z={AsymmetricMatcher:n.default,DOMCollection:a.default,DOMElement:u.default,Immutable:o.default,ReactElement:l.default,ReactTestComponent:i.default};e.plugins=z;var Q=k;e.default=Q}}),xs=ze({"../../node_modules/diff-sequences/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var t="diff-sequences",r=0,n=(m,b,g,y,v)=>{let R=0;for(;m{let R=0;for(;m<=b&&g<=y&&v(b,y);)b-=1,y-=1,R+=1;return R},u=(m,b,g,y,v,R,w)=>{let P=0,S=-m,q=R[P],h=q;R[P]+=n(q+1,b,y+q-S+1,g,v);let C=m{let P=0,S=m,q=R[P],h=q;R[P]-=a(b,q-1,g,y+q-S-1,v);let C=m{let C=y-b,j=g-b,M=v-y-j,F=-M-(m-1),U=-M+(m-1),H=r,ee=m{let C=v-g,j=g-b,M=v-y-j,F=M-m,U=M+m,H=r,ee=m{let q=y-b,h=v-g,C=g-b,j=v-y,M=j-C,F=C,U=C;if(w[0]=b-1,P[0]=g,M%2===0){let H=(m||M)/2,ee=(C+j)/2;for(let J=1;J<=ee;J+=1)if(F=u(J,g,v,q,R,w,F),J{if(v-y{N(B,z,k)},isCommon:(B,k)=>G(k,B)}}let x=b,L=g;b=y,g=v,y=x,v=L}let{foundSubsequence:h,isCommon:C}=w[R?1:0];s(m,b,g,y,v,C,P,S,q);let{nChangePreceding:j,aEndPreceding:M,bEndPreceding:F,nCommonPreceding:U,aCommonPreceding:H,bCommonPreceding:ee,nCommonFollowing:J,aCommonFollowing:oe,bCommonFollowing:ae,nChangeFollowing:ue,aStartFollowing:ce,bStartFollowing:A}=q;b{if(typeof b!="number")throw new TypeError(`${t}: ${m} typeof ${typeof b} is not a number`);if(!Number.isSafeInteger(b))throw new RangeError(`${t}: ${m} value ${b} is not a safe integer`);if(b<0)throw new RangeError(`${t}: ${m} value ${b} is a negative integer`)},c=(m,b)=>{let g=typeof b;if(g!=="function")throw new TypeError(`${t}: ${m} typeof ${g} is not a function`)};function p(m,b,g,y){d("aLength",m),d("bLength",b),c("isCommon",g),c("foundSubsequence",y);let v=n(0,m,0,b,g);if(v!==0&&y(v,0,0),m!==v||b!==v){let R=v,w=v,P=a(R,m-1,w,b-1,g),S=m-P,q=b-P,h=v+P;m!==h&&b!==h&&f(0,R,S,w,q,!1,[{foundSubsequence:y,isCommon:g}],[r],[r],{aCommonFollowing:r,aCommonPreceding:r,aEndPreceding:r,aStartFollowing:r,bCommonFollowing:r,bCommonPreceding:r,bEndPreceding:r,bStartFollowing:r,nChangeFollowing:r,nChangePreceding:r,nCommonFollowing:r,nCommonPreceding:r}),P!==0&&y(P,S,q)}}}}),Ms=ze({"../../node_modules/loupe/loupe.js"(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.loupe={}))})(e,function(r){function n(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(T){return typeof T}:n=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},n(O)}function a(O,T){return u(O)||o(O,T)||l(O,T)||s()}function u(O){if(Array.isArray(O))return O}function o(O,T){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(O)))){var $=[],X=!0,re=!1,se=void 0;try{for(var de=O[Symbol.iterator](),fe;!(X=(fe=de.next()).done)&&($.push(fe.value),!(T&&$.length===T));X=!0);}catch(me){re=!0,se=me}finally{try{!X&&de.return!=null&&de.return()}finally{if(re)throw se}}return $}}function l(O,T){if(O){if(typeof O=="string")return i(O,T);var $=Object.prototype.toString.call(O).slice(8,-1);if($==="Object"&&O.constructor&&($=O.constructor.name),$==="Map"||$==="Set")return Array.from(O);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return i(O,T)}}function i(O,T){(T==null||T>O.length)&&(T=O.length);for(var $=0,X=new Array(T);$0&&arguments[0]!==void 0?arguments[0]:{},T=O.showHidden,$=T===void 0?!1:T,X=O.depth,re=X===void 0?2:X,se=O.colors,de=se===void 0?!1:se,fe=O.customInspect,me=fe===void 0?!0:fe,te=O.showProxy,ne=te===void 0?!1:te,Pe=O.maxArrayLength,Ie=Pe===void 0?1/0:Pe,Oe=O.breakLength,Be=Oe===void 0?1/0:Oe,ke=O.seen,Ut=ke===void 0?[]:ke,yt=O.truncate,ar=yt===void 0?1/0:yt,Tt=O.stylize,Ht=Tt===void 0?String:Tt,ut={showHidden:!!$,depth:Number(re),colors:!!de,customInspect:!!me,showProxy:!!ne,maxArrayLength:Number(Ie),breakLength:Number(Be),truncate:Number(ar),seen:Ut,stylize:Ht};return ut.colors&&(ut.stylize=p),ut}function b(O,T){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c;O=String(O);var X=$.length,re=O.length;return X>T&&re>X?$:re>T&&re>X?"".concat(O.slice(0,T-X)).concat($):O}function g(O,T,$){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";$=$||T.inspect;var re=O.length;if(re===0)return"";for(var se=T.truncate,de="",fe="",me="",te=0;tese&&de.length+me.length<=se||!ne&&!Pe&&ke>se||(fe=ne?"":$(O[te+1],T)+(Pe?"":X),!ne&&Pe&&ke>se&&Be+fe.length>se))break;if(de+=Oe,!ne&&!Pe&&Be+fe.length>=se){me="".concat(c,"(").concat(O.length-te-1,")");break}me=""}return"".concat(de).concat(me)}function y(O){return O.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?O:JSON.stringify(O).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function v(O,T){var $=a(O,2),X=$[0],re=$[1];return T.truncate-=2,typeof X=="string"?X=y(X):typeof X!="number"&&(X="[".concat(T.inspect(X,T),"]")),T.truncate-=X.length,re=T.inspect(re,T),"".concat(X,": ").concat(re)}function R(O,T){var $=Object.keys(O).slice(O.length);if(!O.length&&!$.length)return"[]";T.truncate-=4;var X=g(O,T);T.truncate-=X.length;var re="";return $.length&&(re=g($.map(function(se){return[se,O[se]]}),T,v)),"[ ".concat(X).concat(re?", ".concat(re):""," ]")}var w=Function.prototype.toString,P=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,S=512;function q(O){if(typeof O!="function")return null;var T="";if(typeof Function.prototype.name>"u"&&typeof O.name>"u"){var $=w.call(O);if($.indexOf("(")>S)return T;var X=$.match(P);X&&(T=X[1])}else T=O.name;return T}var h=q,C=function(O){return typeof Buffer=="function"&&O instanceof Buffer?"Buffer":O[Symbol.toStringTag]?O[Symbol.toStringTag]:h(O.constructor)};function j(O,T){var $=C(O);T.truncate-=$.length+4;var X=Object.keys(O).slice(O.length);if(!O.length&&!X.length)return"".concat($,"[]");for(var re="",se=0;se ").concat(re)}function H(O){var T=[];return O.forEach(function($,X){T.push([X,$])}),T}function ee(O,T){var $=O.size-1;return $<=0?"Map{}":(T.truncate-=7,"Map{ ".concat(g(H(O),T,U)," }"))}var J=Number.isNaN||function(O){return O!==O};function oe(O,T){return J(O)?T.stylize("NaN","number"):O===1/0?T.stylize("Infinity","number"):O===-1/0?T.stylize("-Infinity","number"):O===0?T.stylize(1/O===1/0?"+0":"-0","number"):T.stylize(b(O,T.truncate),"number")}function ae(O,T){var $=b(O.toString(),T.truncate-1);return $!==c&&($+="n"),T.stylize($,"bigint")}function ue(O,T){var $=O.toString().split("/")[2],X=T.truncate-(2+$.length),re=O.source;return T.stylize("/".concat(b(re,X),"/").concat($),"regexp")}function ce(O){var T=[];return O.forEach(function($){T.push($)}),T}function A(O,T){return O.size===0?"Set{}":(T.truncate-=7,"Set{ ".concat(g(ce(O),T)," }"))}var x=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),L={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},N=16,G=4;function B(O){return L[O]||"\\u".concat("0000".concat(O.charCodeAt(0).toString(N)).slice(-G))}function k(O,T){return x.test(O)&&(O=O.replace(x,B)),T.stylize("'".concat(b(O,T.truncate-2),"'"),"string")}function z(O){return"description"in Symbol.prototype?O.description?"Symbol(".concat(O.description,")"):"Symbol()":O.toString()}var Q=function(){return"Promise{…}"};try{var _=process.binding("util"),I=_.getPromiseDetails,D=_.kPending,K=_.kRejected;Array.isArray(I(Promise.resolve()))&&(Q=function(O,T){var $=I(O),X=a($,2),re=X[0],se=X[1];return re===D?"Promise{}":"Promise".concat(re===K?"!":"","{").concat(T.inspect(se,T),"}")})}catch{}var W=Q;function V(O,T){var $=Object.getOwnPropertyNames(O),X=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(O):[];if($.length===0&&X.length===0)return"{}";if(T.truncate-=4,T.seen=T.seen||[],T.seen.indexOf(O)>=0)return"[Circular]";T.seen.push(O);var re=g($.map(function(fe){return[fe,O[fe]]}),T,v),se=g(X.map(function(fe){return[fe,O[fe]]}),T,v);T.seen.pop();var de="";return re&&se&&(de=", "),"{ ".concat(re).concat(de).concat(se," }")}var le=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ie(O,T){var $="";return le&&le in O&&($=O[le]),$=$||h(O.constructor),(!$||$==="_class")&&($=""),T.truncate-=$.length,"".concat($).concat(V(O,T))}function pe(O,T){return O.length===0?"Arguments[]":(T.truncate-=13,"Arguments[ ".concat(g(O,T)," ]"))}var _e=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Te(O,T){var $=Object.getOwnPropertyNames(O).filter(function(de){return _e.indexOf(de)===-1}),X=O.name;T.truncate-=X.length;var re="";typeof O.message=="string"?re=b(O.message,T.truncate):$.unshift("message"),re=re?": ".concat(re):"",T.truncate-=re.length+5;var se=g($.map(function(de){return[de,O[de]]}),T,v);return"".concat(X).concat(re).concat(se?" { ".concat(se," }"):"")}function Xe(O,T){var $=a(O,2),X=$[0],re=$[1];return T.truncate-=3,re?"".concat(T.stylize(X,"yellow"),"=").concat(T.stylize('"'.concat(re,'"'),"string")):"".concat(T.stylize(X,"yellow"))}function $e(O,T){return g(O,T,We,` +`)}function We(O,T){var $=O.getAttributeNames(),X=O.tagName.toLowerCase(),re=T.stylize("<".concat(X),"special"),se=T.stylize(">","special"),de=T.stylize(""),"special");T.truncate-=X.length*2+5;var fe="";$.length>0&&(fe+=" ",fe+=g($.map(function(ne){return[ne,O.getAttribute(ne)]}),T,Xe," ")),T.truncate-=fe.length;var me=T.truncate,te=$e(O.children,T);return te&&te.length>me&&(te="".concat(c,"(").concat(O.children.length,")")),"".concat(re).concat(fe).concat(se).concat(te).concat(de)}var Qe=typeof Symbol=="function"&&typeof Symbol.for=="function",xe=Qe?Symbol.for("chai/inspect"):"@@chai/inspect",Re=!1;try{var Ge=fp("util");Re=Ge.inspect?Ge.inspect.custom:!1}catch{Re=!1}function qe(){this.key="chai/loupe__"+Math.random()+Date.now()}qe.prototype={get:function(O){return O[this.key]},has:function(O){return this.key in O},set:function(O,T){Object.isExtensible(O)&&Object.defineProperty(O,this.key,{value:T,configurable:!0})}};var Se=new(typeof WeakMap=="function"?WeakMap:qe),Ae={},Ke={undefined:function(O,T){return T.stylize("undefined","undefined")},null:function(O,T){return T.stylize(null,"null")},boolean:function(O,T){return T.stylize(O,"boolean")},Boolean:function(O,T){return T.stylize(O,"boolean")},number:oe,Number:oe,bigint:ae,BigInt:ae,string:k,String:k,function:F,Function:F,symbol:z,Symbol:z,Array:R,Date:M,Map:ee,Set:A,RegExp:ue,Promise:W,WeakSet:function(O,T){return T.stylize("WeakSet{…}","special")},WeakMap:function(O,T){return T.stylize("WeakMap{…}","special")},Arguments:pe,Int8Array:j,Uint8Array:j,Uint8ClampedArray:j,Int16Array:j,Uint16Array:j,Int32Array:j,Uint32Array:j,Float32Array:j,Float64Array:j,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:Te,HTMLCollection:$e,NodeList:$e},bt=function(O,T,$){return xe in O&&typeof O[xe]=="function"?O[xe](T):Re&&Re in O&&typeof O[Re]=="function"?O[Re](T.depth,T):"inspect"in O&&typeof O.inspect=="function"?O.inspect(T.depth,T):"constructor"in O&&Se.has(O.constructor)?Se.get(O.constructor)(O,T):Ae[$]?Ae[$](O,T):""},nt=Object.prototype.toString;function Me(O,T){T=m(T),T.inspect=Me;var $=T,X=$.customInspect,re=O===null?"null":n(O);if(re==="object"&&(re=nt.call(O).slice(8,-1)),Ke[re])return Ke[re](O,T);if(X&&O){var se=bt(O,T,re);if(se)return typeof se=="string"?se:Me(se,T)}var de=O?Object.getPrototypeOf(O):!1;return de===Object.prototype||de===null?V(O,T):O&&typeof HTMLElement=="function"&&O instanceof HTMLElement?We(O,T):"constructor"in O?O.constructor!==Object?ie(O,T):V(O,T):O===Object(O)?V(O,T):T.stylize(String(O),re)}function Y(O,T){return Se.has(O)?!1:(Se.set(O,T),!0)}function Z(O,T){return O in Ae?!1:(Ae[O]=T,!0)}var be=xe;r.custom=be,r.default=Me,r.inspect=Me,r.registerConstructor=Y,r.registerStringTag=Z,Object.defineProperty(r,"__esModule",{value:!0})})}}),vt=Jt(Pa(),1),Rl=Jt(xs(),1),Cp=Symbol("vitest:SAFE_COLORS"),qp={bold:["\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"],dim:["\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"],italic:["\x1B[3m","\x1B[23m"],underline:["\x1B[4m","\x1B[24m"],inverse:["\x1B[7m","\x1B[27m"],hidden:["\x1B[8m","\x1B[28m"],strikethrough:["\x1B[9m","\x1B[29m"],black:["\x1B[30m","\x1B[39m"],red:["\x1B[31m","\x1B[39m"],green:["\x1B[32m","\x1B[39m"],yellow:["\x1B[33m","\x1B[39m"],blue:["\x1B[34m","\x1B[39m"],magenta:["\x1B[35m","\x1B[39m"],cyan:["\x1B[36m","\x1B[39m"],white:["\x1B[37m","\x1B[39m"],gray:["\x1B[90m","\x1B[39m"],bgBlack:["\x1B[40m","\x1B[49m"],bgRed:["\x1B[41m","\x1B[49m"],bgGreen:["\x1B[42m","\x1B[49m"],bgYellow:["\x1B[43m","\x1B[49m"],bgBlue:["\x1B[44m","\x1B[49m"],bgMagenta:["\x1B[45m","\x1B[49m"],bgCyan:["\x1B[46m","\x1B[49m"],bgWhite:["\x1B[47m","\x1B[49m"]},Pp=Object.entries(qp);function Oa(e){return String(e)}Oa.open="";Oa.close="";var Op=Pp.reduce((e,[t])=>(e[t]=Oa,e),{isColorSupported:!1});function Sp(){return globalThis[Cp]||Op}function Cl(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var br=-1,yr=1,Sn=0,xr=class{constructor(t,r){Vt(this,0);Vt(this,1);this[0]=t,this[1]=r}},Ns="Compared values have no visual difference.",Tp="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function Ap(e,t){return e.replace(/\s+$/,r=>t(r))}function Sa(e,t,r,n,a,u){return e.length!==0?r(`${n} ${Ap(e,a)}`):n!==" "?r(n):t&&u.length!==0?r(`${n} ${u}`):""}function Is(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Sa(e,t,r,n,a,u)}function Bs(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Sa(e,t,r,n,a,u)}function $s(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Sa(e,t,r,n,a,u)}function ql(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function jp(e,t){let r=e.length,n=t.contextLines,a=n+n,u=r,o=!1,l=0,i=0;for(;i!==r;){let w=i;for(;i!==r&&e[i][0]===Sn;)i+=1;if(w!==i)if(w===0)i>n&&(u-=i-n,o=!0);else if(i===r){let P=i-w;P>n&&(u-=P-n,o=!0)}else{let P=i-w;P>a&&(u-=P-a,l+=1)}for(;i!==r&&e[i][0]!==Sn;)i+=1}let s=l!==0||o;l!==0?u+=l+1:o&&(u+=1);let f=u-1,d=[],c=0;s&&d.push("");let p=0,m=0,b=0,g=0,y=w=>{let P=d.length;d.push($s(w,P===0||P===f,t)),b+=1,g+=1},v=w=>{let P=d.length;d.push(Is(w,P===0||P===f,t)),b+=1},R=w=>{let P=d.length;d.push(Bs(w,P===0||P===f,t)),g+=1};for(i=0;i!==r;){let w=i;for(;i!==r&&e[i][0]===Sn;)i+=1;if(w!==i)if(w===0){i>n&&(w=i-n,p=w,m=w,b=p,g=m);for(let P=w;P!==i;P+=1)y(e[P][1])}else if(i===r){let P=i-w>n?w+n:i;for(let S=w;S!==P;S+=1)y(e[S][1])}else{let P=i-w;if(P>a){let S=w+n;for(let h=w;h!==S;h+=1)y(e[h][1]);d[c]=ql(p,b,m,g,t),c=d.length,d.push("");let q=P-a;p=b+q,m=g+q,b=p,g=m;for(let h=i-n;h!==i;h+=1)y(e[h][1])}else for(let S=w;S!==i;S+=1)y(e[S][1])}for(;i!==r&&e[i][0]===br;)v(e[i][1]),i+=1;for(;i!==r&&e[i][0]===yr;)R(e[i][1]),i+=1}return s&&(d[c]=ql(p,b,m,g,t)),d.join(` +`)}function xp(e,t){return e.map((r,n,a)=>{let u=r[1],o=n===0||n===a.length-1;switch(r[0]){case br:return Is(u,o,t);case yr:return Bs(u,o,t);default:return $s(u,o,t)}}).join(` +`)}var wo=e=>e,ks=5,Mp=0;function Np(){let e=Sp();return{aAnnotation:"Expected",aColor:e.green,aIndicator:"-",bAnnotation:"Received",bColor:e.red,bIndicator:"+",changeColor:e.inverse,changeLineTrailingSpaceColor:wo,commonColor:e.dim,commonIndicator:" ",commonLineTrailingSpaceColor:wo,compareKeys:void 0,contextLines:ks,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:e.yellow,truncateThreshold:Mp,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:wo}}function Ip(e){return e&&typeof e=="function"?e:void 0}function Bp(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:ks}function on(e={}){return{...Np(),...e,compareKeys:Ip(e.compareKeys),contextLines:Bp(e.contextLines)}}function sr(e){return e.length===1&&e[0].length===0}function $p(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case br:t+=1;break;case yr:r+=1;break}}),{a:t,b:r}}function kp({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:u,includeChangeCounts:o,omitAnnotationLines:l},i){if(l)return"";let s="",f="";if(o){let p=String(i.a),m=String(i.b),b=n.length-e.length,g=" ".repeat(Math.max(0,b)),y=" ".repeat(Math.max(0,-b)),v=m.length-p.length,R=" ".repeat(Math.max(0,v)),w=" ".repeat(Math.max(0,-v));s=`${g} ${r} ${R}${p}`,f=`${y} ${u} ${w}${m}`}let d=`${r} ${e}${s}`,c=`${u} ${n}${f}`;return`${t(d)} +${a(c)} + +`}function Ds(e,t,r){return kp(r,$p(e))+(r.expand?xp(e,r):jp(e,r))+(t?r.truncateAnnotationColor(` +${r.truncateAnnotation}`):"")}function Ta(e,t,r){let n=on(r),[a,u]=Ls(sr(e)?[]:e,sr(t)?[]:t,n);return Ds(a,u,n)}function Dp(e,t,r,n,a){if(sr(e)&&sr(r)&&(e=[],r=[]),sr(t)&&sr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Ta(e,t,a);let[u,o]=Ls(r,n,a),l=0,i=0;return u.forEach(s=>{switch(s[0]){case br:s[1]=e[l],l+=1;break;case yr:s[1]=t[i],i+=1;break;default:s[1]=t[i],l+=1,i+=1}}),Ds(u,o,on(a))}function Ls(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),u=n?Math.min(e.length,a):e.length,o=n?Math.min(t.length,a):t.length,l=u!==e.length||o!==t.length,i=(p,m)=>e[p]===t[m],s=[],f=0,d=0,c=(p,m,b)=>{for(;f!==m;f+=1)s.push(new xr(br,e[f]));for(;d!==b;d+=1)s.push(new xr(yr,t[d]));for(;p!==0;p-=1,f+=1,d+=1)s.push(new xr(Sn,t[d]))};for((Rl.default.default||Rl.default)(u,o,i,c);f!==u;f+=1)s.push(new xr(br,e[f]));for(;d!==o;d+=1)s.push(new xr(yr,t[d]));return[s,l]}function $o(e,t){let{commonColor:r}=on(t);return r(e)}var{AsymmetricMatcher:Lp,DOMCollection:Fp,DOMElement:Up,Immutable:Hp,ReactElement:Vp,ReactTestComponent:zp}=vt.plugins,Fs=[zp,Vp,Up,Fp,Hp,Lp],ko={plugins:Fs},Us={callToJSON:!1,maxDepth:10,plugins:Fs};function Wp(e,t,r){if(Object.is(e,t))return"";let n=Cl(e),a=n,u=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return null;a=e.getExpectedType(),u=a==="string"}if(a!==Cl(t)){let{aAnnotation:o,aColor:l,aIndicator:i,bAnnotation:s,bColor:f,bIndicator:d}=on(r),c=Do(Us,r),p=(0,vt.format)(e,c),m=(0,vt.format)(t,c),b=`${l(`${i} ${o}:`)} +${p}`,g=`${f(`${d} ${s}:`)} +${m}`;return`${b} + +${g}`}if(u)return null;switch(n){case"string":return Ta(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return Gp(e,t,r);case"map":return Eo(Pl(e),Pl(t),r);case"set":return Eo(Ol(e),Ol(t),r);default:return Eo(e,t,r)}}function Gp(e,t,r){let n=(0,vt.format)(e,ko),a=(0,vt.format)(t,ko);return n===a?"":Ta(n.split(` +`),a.split(` +`),r)}function Pl(e){return new Map(Array.from(e.entries()).sort())}function Ol(e){return new Set(Array.from(e.values()).sort())}function Eo(e,t,r){let n,a=!1;try{let o=Do(ko,r);n=Sl(e,t,o,r)}catch{a=!0}let u=$o(Ns,r);if(n===void 0||n===u){let o=Do(Us,r);n=Sl(e,t,o,r),n!==u&&!a&&(n=`${$o(Tp,r)} + +${n}`)}return n}function Do(e,t){let{compareKeys:r}=on(t);return{...e,compareKeys:r}}function Sl(e,t,r,n){let a={...r,indent:0},u=(0,vt.format)(e,a),o=(0,vt.format)(t,a);if(u===o)return $o(Ns,n);{let l=(0,vt.format)(e,r),i=(0,vt.format)(t,r);return Dp(l.split(` +`),i.split(` +`),u.split(` +`),o.split(` +`),n)}}var Lo=Jt(Pa(),1),Kp=Jt(Ms(),1),{AsymmetricMatcher:Yp,DOMCollection:Jp,DOMElement:Xp,Immutable:Qp,ReactElement:Zp,ReactTestComponent:em}=Lo.plugins,Tl=[em,Zp,Xp,Jp,Qp,Yp];function Fo(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,u;try{u=(0,Lo.format)(e,{maxDepth:t,escapeString:!1,plugins:Tl,...n})}catch{u=(0,Lo.format)(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Tl,...n})}return u.length>=a&&t>1?Fo(e,Math.floor(t/2)):u}var tm=/%[sdjifoOcj%]/g;function rm(...e){if(typeof e[0]!="string"){let u=[];for(let o=0;o{if(u==="%%")return"%";if(r>=t)return u;switch(u){case"%s":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:typeof o=="number"&&o===0&&1/o<0?"-0":typeof o=="object"&&o!==null?Mr(o,{depth:0,colors:!1,compact:3}):String(o)}case"%d":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number(o).toString()}case"%i":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number.parseInt(String(o)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Mr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Mr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(o){let l=o.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw o}default:return u}});for(let u=e[r];rt.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Hs(e){let t=new Set;return nm(e)?[]:(om(e,t),Array.from(t))}var Vs={forceWritable:!1};function Al(e,t=Vs){return Ho(e,new WeakMap,t)}function Ho(e,t,r=Vs){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(n=e.length),t.set(e,a);n--;)a[n]=Ho(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let u=Hs(e);for(let o of u){let l=Object.getOwnPropertyDescriptor(e,o);if(!l)continue;let i=Ho(e[o],t,r);r.forceWritable?Object.defineProperty(a,o,{enumerable:l.enumerable,configurable:!0,writable:!0,value:i}):"get"in l?Object.defineProperty(a,o,{...l,get(){return i}}):Object.defineProperty(a,o,{...l,value:i})}return a}return e}Jt(Pa(),1);Jt(xs(),1);Jt(Ms(),1);var am="@@__IMMUTABLE_RECORD__@@",lm="@@__IMMUTABLE_ITERABLE__@@";function im(e){return e&&(e[lm]||e[am])}var sm=Object.getPrototypeOf({});function jl(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function Lr(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(im(e))return Lr(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()} ${rm(e.sample)}`;if(typeof e.toJSON=="function")return e.toJSON();if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=Lr(n,t)}catch(u){r[a]=jl(u)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==sm;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=Lr(e[a],t)}catch(u){delete r[a],r[a]=jl(u)}}),n=Object.getPrototypeOf(n);return r}}function xl(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function um(e,t){if(!e||typeof e!="object")return{message:e};if(e.stack&&(e.stackStr=String(e.stack)),e.name&&(e.nameStr=String(e.name)),e.showDiff||e.showDiff===void 0&&e.expected!==void 0&&e.actual!==void 0){let r=Al(e.actual,{forceWritable:!0}),n=Al(e.expected,{forceWritable:!0}),{replacedActual:a,replacedExpected:u}=zs(r,n);e.diff=Wp(u,a,{...t,...e.diffOptions})}typeof e.expected!="string"&&(e.expected=Fo(e.expected,10)),typeof e.actual!="string"&&(e.actual=Fo(e.actual,10));try{typeof e.message=="string"&&(e.message=xl(e.message)),typeof e.cause=="object"&&typeof e.cause.message=="string"&&(e.cause.message=xl(e.cause.message))}catch{}try{return Lr(e)}catch(r){return Lr(new Error(`Failed to fully serialize error: ${r==null?void 0:r.message} +Inner error message: ${e==null?void 0:e.message}`))}}function Ml(e){return Uo(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Nl(e,t){let r=Uo(e),n=Uo(t);return r===n&&(r==="Object"||r==="Array")}function zs(e,t,r=new WeakSet,n=new WeakSet){return Nl(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Hs(t).forEach(a=>{let u=t[a],o=e[a];if(Ml(u))u.asymmetricMatch(o)&&(e[a]=u);else if(Ml(o))o.asymmetricMatch(u)&&(t[a]=o);else if(Nl(o,u)){let l=zs(o,u,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}var cm=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(cm||{}),ht={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"},Il={start:!1,back:!1,goto:!1,next:!1,end:!1},dm=new Error("This function ran after the play function completed. Did you forget to `await` it?"),Bl=e=>Object.prototype.toString.call(e)==="[object Object]",fm=e=>Object.prototype.toString.call(e)==="[object Module]",pm=e=>{if(!Bl(e)&&!fm(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!Bl(t)},mm=e=>{try{return new e.constructor}catch{return{}}},Ro=()=>({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}),$l=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},bm=class{constructor(){var o;this.initialized=!1,this.channel=op.getChannel(),this.state=((o=He.window)==null?void 0:o.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:l,isPlaying:i=!0,isDebugging:s=!1})=>{let f=this.getState(l);this.setState(l,{...Ro(),...$l(f,s),shadowCalls:s?f.shadowCalls:[],chainedCallIds:s?f.chainedCallIds:new Set,playUntil:s?f.playUntil:void 0,isPlaying:i,isDebugging:s}),this.sync(l)};this.channel.on(El,e),this.channel.on(lp,({storyId:l,newPhase:i})=>{let{isDebugging:s}=this.getState(l);this.setState(l,{renderPhase:i}),i==="preparing"&&s&&e({storyId:l}),i==="playing"&&e({storyId:l,isDebugging:s}),i==="played"&&this.setState(l,{isLocked:!1,isPlaying:!1,isDebugging:!1}),i==="errored"&&this.setState(l,{isLocked:!1,isPlaying:!1})}),this.channel.on(ip,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:l,playUntil:i})=>{this.getState(l).isDebugging||this.setState(l,({calls:f})=>({calls:[],shadowCalls:f.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let s=this.getLog(l);this.setState(l,({shadowCalls:f})=>{var c;if(i||!s.length)return{playUntil:i};let d=f.findIndex(p=>p.id===s[0].callId);return{playUntil:(c=f.slice(0,d).filter(p=>p.interceptable&&!p.ancestors.length).slice(-1)[0])==null?void 0:c.id}}),this.channel.emit(El,{storyId:l,isDebugging:!0})},r=({storyId:l})=>{var f;let i=this.getLog(l).filter(d=>!d.ancestors.length),s=i.reduceRight((d,c,p)=>d>=0||c.status==="waiting"?d:p,-1);t({storyId:l,playUntil:(f=i[s-1])==null?void 0:f.callId})},n=({storyId:l,callId:i})=>{var m;let{calls:s,shadowCalls:f,resolvers:d}=this.getState(l),c=s.find(({id:b})=>b===i),p=f.find(({id:b})=>b===i);if(!c&&p&&Object.values(d).length>0){let b=(m=this.getLog(l).find(g=>g.status==="waiting"))==null?void 0:m.callId;p.id!==b&&this.setState(l,{playUntil:p.id}),Object.values(d).forEach(g=>g())}else t({storyId:l,playUntil:i})},a=({storyId:l})=>{var s;let{resolvers:i}=this.getState(l);if(Object.values(i).length>0)Object.values(i).forEach(f=>f());else{let f=(s=this.getLog(l).find(d=>d.status==="waiting"))==null?void 0:s.callId;f?t({storyId:l,playUntil:f}):u({storyId:l})}},u=({storyId:l})=>{this.setState(l,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(l).resolvers).forEach(i=>i())};this.channel.on(ht.START,t),this.channel.on(ht.BACK,r),this.channel.on(ht.GOTO,n),this.channel.on(ht.NEXT,a),this.channel.on(ht.END,u)}getState(e){return this.state[e]||Ro()}setState(e,t){var a;let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},(a=He.window)!=null&&a.parent&&(He.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[n,a])=>{let u=$l(a);return u&&(r[n]=Object.assign(Ro(),u)),r},{});let e={controlStates:Il,logItems:[]};this.channel.emit(ht.SYNC,e),(t=He.window)!=null&&t.parent&&(He.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((u,o)=>{n[o]=u});let a=new Set;return n.reduceRight((u,o)=>(o.args.forEach(l=>{l!=null&&l.__callId__&&a.add(l.__callId__)}),o.path.forEach(l=>{l.__callId__&&a.add(l.__callId__)}),(o.interceptable||o.exception)&&!a.has(o.id)&&(u.unshift({callId:o.id,status:o.status,ancestors:o.ancestors}),a.add(o.id)),u),[])}instrument(e,t,r=0){if(!pm(e))return e;let{mutate:n=!1,path:a=[]}=t,u=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,u.reduce((o,l)=>{let i=ym(e,l);if(typeof(i==null?void 0:i.get)=="function"){let f=()=>{var d,c;return(c=(d=i==null?void 0:i.get)==null?void 0:d.bind(e))==null?void 0:c()};return Object.defineProperty(o,l,{get:()=>this.instrument(f(),{...t,path:a.concat(l)},r)}),o}let s=e[l];return typeof s!="function"?(o[l]=this.instrument(s,{...t,path:a.concat(l)},r),o):"__originalFn__"in s&&typeof s.__originalFn__=="function"?(o[l]=s,o):(o[l]=(...f)=>this.track(l,s,e,f,t),o[l].__originalFn__=s,Object.defineProperty(o[l],"name",{value:l,writable:!1}),Object.keys(s).length>0&&Object.assign(o[l],this.instrument({...s},{...t,path:a.concat(l)},r)),o)},n?e:mm(e))}track(e,t,r,n,a){var b,g,y,v;let u=((b=n==null?void 0:n[0])==null?void 0:b.__storyId__)||((v=(y=(g=He.__STORYBOOK_PREVIEW__)==null?void 0:g.selectionStore)==null?void 0:y.selection)==null?void 0:v.storyId),{cursor:o,ancestors:l}=this.getState(u);this.setState(u,{cursor:o+1});let i=`${l.slice(-1)[0]||u} [${o}] ${e}`,{path:s=[],intercept:f=!1,retain:d=!1}=a,c=typeof f=="function"?f(e,s):f,p={id:i,cursor:o,storyId:u,ancestors:l,path:s,method:e,args:n,interceptable:c,retain:d},m=(c&&!l.length?this.intercept:this.invoke).call(this,t,r,p,a);return this.instrument(m,{...a,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:a,isDebugging:u,playUntil:o}=this.getState(r.storyId),l=a.has(r.id);return!u||l||o?(o===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(i=>{this.setState(r.storyId,({resolvers:s})=>({isLocked:!1,resolvers:{...s,[r.id]:i}}))}).then(()=>(this.setState(r.storyId,i=>{let{[r.id]:s,...f}=i.resolvers;return{isLocked:!0,resolvers:f}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:a,renderPhase:u}=this.getState(r.storyId),o=25,l=(f,d,c)=>{var p,m,b;if(c.includes(f))return"[Circular]";if(c=[...c,f],d>o)return"...";if(a.has(f))return a.get(f);if(f instanceof Array)return f.map(g=>l(g,++d,c));if(f instanceof Date)return{__date__:{value:f.toISOString()}};if(f instanceof Error){let{name:g,message:y,stack:v}=f;return{__error__:{name:g,message:y,stack:v}}}if(f instanceof RegExp){let{flags:g,source:y}=f;return{__regexp__:{flags:g,source:y}}}if(f instanceof((p=He.window)==null?void 0:p.HTMLElement)){let{prefix:g,localName:y,id:v,classList:R,innerText:w}=f,P=Array.from(R);return{__element__:{prefix:g,localName:y,id:v,classNames:P,innerText:w}}}return typeof f=="function"?{__function__:{name:"getMockName"in f?f.getMockName():f.name}}:typeof f=="symbol"?{__symbol__:{description:f.description}}:typeof f=="object"&&((m=f==null?void 0:f.constructor)!=null&&m.name)&&((b=f==null?void 0:f.constructor)==null?void 0:b.name)!=="Object"?{__class__:{name:f.constructor.name}}:Object.prototype.toString.call(f)==="[object Object]"?Object.fromEntries(Object.entries(f).map(([g,y])=>[g,l(y,++d,c)])):f},i={...r,args:r.args.map(f=>l(f,0,[]))};r.path.forEach(f=>{f!=null&&f.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(f.__callId__))}))});let s=f=>{if(f instanceof Error){let{name:d,message:c,stack:p,callId:m=r.id}=f,{showDiff:b=void 0,diff:g=void 0,actual:y=void 0,expected:v=void 0}=f.name==="AssertionError"?um(f):f,R={name:d,message:c,stack:p,callId:m,showDiff:b,diff:g,actual:y,expected:v};if(this.update({...i,status:"error",exception:R}),this.setState(r.storyId,w=>({callRefsByResult:new Map([...Array.from(w.callRefsByResult.entries()),[f,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(f,"callId")||Object.defineProperty(f,"callId",{value:r.id}),f}throw f};try{if(u==="played"&&!r.retain)throw dm;let f=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(c=>typeof c!="function"||Object.keys(c).length?c:(...p)=>{let{cursor:m,ancestors:b}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...b,r.id]});let g=()=>this.setState(r.storyId,{cursor:m,ancestors:b}),y=!1;try{let v=c(...p);return v instanceof Promise?(y=!0,v.finally(g)):v}finally{y||g()}}),d=e.apply(t,f);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,c=>({callRefsByResult:new Map([...Array.from(c.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...i,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(c=>(this.update({...i,status:"done"}),c),s):d}catch(f){return s(f)}}update(e){this.channel.emit(ht.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,a)=>Object.assign(n,{[a.id]:a}),{});return{calls:Object.values(r).sort((n,a)=>n.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var s;let{isLocked:r,isPlaying:n}=this.getState(e),a=this.getLog(e),u=(s=a.filter(({ancestors:f})=>!f.length).find(f=>f.status==="waiting"))==null?void 0:s.callId,o=a.some(f=>f.status==="active");if(r||o||a.length===0){let f={controlStates:Il,logItems:a};this.channel.emit(ht.SYNC,f);return}let l=a.some(f=>f.status==="done"||f.status==="error"),i={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:a,pausedAt:u};this.channel.emit(ht.SYNC,i)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function Aa(e,t={}){var r,n,a,u,o,l,i,s;try{let f=!1,d=!1;return(a=(n=(r=He.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&a.includes("instrument=true")?f=!0:(l=(o=(u=He.window)==null?void 0:u.location)==null?void 0:o.search)!=null&&l.includes("instrument=false")&&(d=!0),((i=He.window)==null?void 0:i.parent)===He.window&&!f||d?e:(He.window&&!He.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(He.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new bm),((s=He.window)==null?void 0:s.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(f){return ap.warn(f),e}}function ym(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var hm={};const{once:gm}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var vm=Object.create,ja=Object.defineProperty,_m=Object.getOwnPropertyDescriptor,Ws=Object.getOwnPropertyNames,wm=Object.getPrototypeOf,Em=Object.prototype.hasOwnProperty,Rm=(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')}),E=(e,t)=>function(){return t||(0,e[Ws(e)[0]])((t={exports:{}}).exports,t),t.exports},xa=(e,t)=>{for(var r in t)ja(e,r,{get:t[r],enumerable:!0})},Cm=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ws(t))!Em.call(e,a)&&a!==r&&ja(e,a,{get:()=>t[a],enumerable:!(n=_m(t,a))||n.enumerable});return e},Ce=(e,t,r)=>(r=e!=null?vm(wm(e)):{},Cm(t||!e||!e.__esModule?ja(r,"default",{value:e,enumerable:!0}):r,e)),Gs=E({"../../node_modules/assertion-error/index.js"(e,t){function r(){var a=[].slice.call(arguments);function u(o,l){Object.keys(l).forEach(function(i){~a.indexOf(i)||(o[i]=l[i])})}return function(){for(var o=[].slice.call(arguments),l=0,i={};l"u"||s===null?!1:f in Object(s)}function n(s){var f=s.replace(/([^\\])\[/g,"$1.["),d=f.match(/(\\\.|[^.]+?)+/g);return d.map(function(c){if(c==="constructor"||c==="__proto__"||c==="prototype")return{};var p=/^\[(\d+)\]$/,m=p.exec(c),b=null;return m?b={i:parseFloat(m[1])}:b={p:c.replace(/\\([.[\]])/g,"$1")},b})}function a(s,f,d){var c=s,p=null;d=typeof d>"u"?f.length:d;for(var m=0;m"u"?c=c[b.i]:c=c[b.p],m===d-1&&(p=c))}return p}function u(s,f,d){for(var c=s,p=d.length,m=null,b=0;b"u"?m.i:m.p,c[g]=f;else if(typeof m.p<"u"&&c[m.p])c=c[m.p];else if(typeof m.i<"u"&&c[m.i])c=c[m.i];else{var v=d[b+1];g=typeof m.p>"u"?m.i:m.p,y=typeof v.p>"u"?[]:{},c[g]=y,c=c[g]}}}function o(s,f){var d=n(f),c=d[d.length-1],p={parent:d.length>1?a(s,d,d.length-1):s,name:c.p||c.i,value:a(s,d)};return p.exists=r(p.parent,p.name),p}function l(s,f){var d=o(s,f);return d.value}function i(s,f,d){var c=n(f);return u(s,d,c),s}t.exports={hasProperty:r,getPathInfo:o,getPathValue:l,setPathValue:i}}}),it=E({"../../node_modules/chai/lib/chai/utils/flag.js"(e,t){t.exports=function(r,n,a){var u=r.__flags||(r.__flags=Object.create(null));if(arguments.length===3)u[n]=a;else return u[n]}}}),Pm=E({"../../node_modules/chai/lib/chai/utils/test.js"(e,t){var r=it();t.exports=function(n,a){var u=r(n,"negate"),o=a[0];return u?!o:o}}}),Yn=E({"../../node_modules/type-detect/type-detect.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):r.typeDetect=n()})(e,function(){var r=typeof Promise=="function",n=typeof self=="object"?self:global,a=typeof Symbol<"u",u=typeof Map<"u",o=typeof Set<"u",l=typeof WeakMap<"u",i=typeof WeakSet<"u",s=typeof DataView<"u",f=a&&typeof Symbol.iterator<"u",d=a&&typeof Symbol.toStringTag<"u",c=o&&typeof Set.prototype.entries=="function",p=u&&typeof Map.prototype.entries=="function",m=c&&Object.getPrototypeOf(new Set().entries()),b=p&&Object.getPrototypeOf(new Map().entries()),g=f&&typeof Array.prototype[Symbol.iterator]=="function",y=g&&Object.getPrototypeOf([][Symbol.iterator]()),v=f&&typeof String.prototype[Symbol.iterator]=="function",R=v&&Object.getPrototypeOf(""[Symbol.iterator]()),w=8,P=-1;function S(q){var h=typeof q;if(h!=="object")return h;if(q===null)return"null";if(q===n)return"global";if(Array.isArray(q)&&(d===!1||!(Symbol.toStringTag in q)))return"Array";if(typeof window=="object"&&window!==null){if(typeof window.location=="object"&&q===window.location)return"Location";if(typeof window.document=="object"&&q===window.document)return"Document";if(typeof window.navigator=="object"){if(typeof window.navigator.mimeTypes=="object"&&q===window.navigator.mimeTypes)return"MimeTypeArray";if(typeof window.navigator.plugins=="object"&&q===window.navigator.plugins)return"PluginArray"}if((typeof window.HTMLElement=="function"||typeof window.HTMLElement=="object")&&q instanceof window.HTMLElement){if(q.tagName==="BLOCKQUOTE")return"HTMLQuoteElement";if(q.tagName==="TD")return"HTMLTableDataCellElement";if(q.tagName==="TH")return"HTMLTableHeaderCellElement"}}var C=d&&q[Symbol.toStringTag];if(typeof C=="string")return C;var j=Object.getPrototypeOf(q);return j===RegExp.prototype?"RegExp":j===Date.prototype?"Date":r&&j===Promise.prototype?"Promise":o&&j===Set.prototype?"Set":u&&j===Map.prototype?"Map":i&&j===WeakSet.prototype?"WeakSet":l&&j===WeakMap.prototype?"WeakMap":s&&j===DataView.prototype?"DataView":u&&j===b?"Map Iterator":o&&j===m?"Set Iterator":g&&j===y?"Array Iterator":v&&j===R?"String Iterator":j===null?"Object":Object.prototype.toString.call(q).slice(w,P)}return S})}}),Om=E({"../../node_modules/chai/lib/chai/utils/expectTypes.js"(e,t){var r=Gs(),n=it(),a=Yn();t.exports=function(u,o){var l=n(u,"message"),i=n(u,"ssfi");l=l?l+": ":"",u=n(u,"object"),o=o.map(function(d){return d.toLowerCase()}),o.sort();var s=o.map(function(d,c){var p=~["a","e","i","o","u"].indexOf(d.charAt(0))?"an":"a",m=o.length>1&&c===o.length-1?"or ":"";return m+p+" "+d}).join(", "),f=a(u).toLowerCase();if(!o.some(function(d){return f===d}))throw new r(l+"object tested must be "+s+", but "+f+" given",void 0,i)}}}),Ks=E({"../../node_modules/chai/lib/chai/utils/getActual.js"(e,t){t.exports=function(r,n){return n.length>4?n[4]:r._obj}}}),Ma=E({"../../node_modules/get-func-name/index.js"(e,t){var r=Function.prototype.toString,n=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,a=512;function u(o){if(typeof o!="function")return null;var l="";if(typeof Function.prototype.name>"u"&&typeof o.name>"u"){var i=r.call(o);if(i.indexOf("(")>a)return l;var s=i.match(n);s&&(l=s[1])}else l=o.name;return l}t.exports=u}}),Jn=E({"../../node_modules/loupe/loupe.js"(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.loupe={}))})(e,function(r){function n(O){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(T){return typeof T}:n=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},n(O)}function a(O,T){return u(O)||o(O,T)||l(O,T)||s()}function u(O){if(Array.isArray(O))return O}function o(O,T){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(O)))){var $=[],X=!0,re=!1,se=void 0;try{for(var de=O[Symbol.iterator](),fe;!(X=(fe=de.next()).done)&&($.push(fe.value),!(T&&$.length===T));X=!0);}catch(me){re=!0,se=me}finally{try{!X&&de.return!=null&&de.return()}finally{if(re)throw se}}return $}}function l(O,T){if(O){if(typeof O=="string")return i(O,T);var $=Object.prototype.toString.call(O).slice(8,-1);if($==="Object"&&O.constructor&&($=O.constructor.name),$==="Map"||$==="Set")return Array.from(O);if($==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test($))return i(O,T)}}function i(O,T){(T==null||T>O.length)&&(T=O.length);for(var $=0,X=new Array(T);$0&&arguments[0]!==void 0?arguments[0]:{},T=O.showHidden,$=T===void 0?!1:T,X=O.depth,re=X===void 0?2:X,se=O.colors,de=se===void 0?!1:se,fe=O.customInspect,me=fe===void 0?!0:fe,te=O.showProxy,ne=te===void 0?!1:te,Pe=O.maxArrayLength,Ie=Pe===void 0?1/0:Pe,Oe=O.breakLength,Be=Oe===void 0?1/0:Oe,ke=O.seen,Ut=ke===void 0?[]:ke,yt=O.truncate,ar=yt===void 0?1/0:yt,Tt=O.stylize,Ht=Tt===void 0?String:Tt,ut={showHidden:!!$,depth:Number(re),colors:!!de,customInspect:!!me,showProxy:!!ne,maxArrayLength:Number(Ie),breakLength:Number(Be),truncate:Number(ar),seen:Ut,stylize:Ht};return ut.colors&&(ut.stylize=p),ut}function b(O,T){var $=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c;O=String(O);var X=$.length,re=O.length;return X>T&&re>X?$:re>T&&re>X?"".concat(O.slice(0,T-X)).concat($):O}function g(O,T,$){var X=arguments.length>3&&arguments[3]!==void 0?arguments[3]:", ";$=$||T.inspect;var re=O.length;if(re===0)return"";for(var se=T.truncate,de="",fe="",me="",te=0;tese&&de.length+me.length<=se||!ne&&!Pe&&ke>se||(fe=ne?"":$(O[te+1],T)+(Pe?"":X),!ne&&Pe&&ke>se&&Be+fe.length>se))break;if(de+=Oe,!ne&&!Pe&&Be+fe.length>=se){me="".concat(c,"(").concat(O.length-te-1,")");break}me=""}return"".concat(de).concat(me)}function y(O){return O.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?O:JSON.stringify(O).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function v(O,T){var $=a(O,2),X=$[0],re=$[1];return T.truncate-=2,typeof X=="string"?X=y(X):typeof X!="number"&&(X="[".concat(T.inspect(X,T),"]")),T.truncate-=X.length,re=T.inspect(re,T),"".concat(X,": ").concat(re)}function R(O,T){var $=Object.keys(O).slice(O.length);if(!O.length&&!$.length)return"[]";T.truncate-=4;var X=g(O,T);T.truncate-=X.length;var re="";return $.length&&(re=g($.map(function(se){return[se,O[se]]}),T,v)),"[ ".concat(X).concat(re?", ".concat(re):""," ]")}var w=Function.prototype.toString,P=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,S=512;function q(O){if(typeof O!="function")return null;var T="";if(typeof Function.prototype.name>"u"&&typeof O.name>"u"){var $=w.call(O);if($.indexOf("(")>S)return T;var X=$.match(P);X&&(T=X[1])}else T=O.name;return T}var h=q,C=function(O){return typeof Buffer=="function"&&O instanceof Buffer?"Buffer":O[Symbol.toStringTag]?O[Symbol.toStringTag]:h(O.constructor)};function j(O,T){var $=C(O);T.truncate-=$.length+4;var X=Object.keys(O).slice(O.length);if(!O.length&&!X.length)return"".concat($,"[]");for(var re="",se=0;se ").concat(re)}function H(O){var T=[];return O.forEach(function($,X){T.push([X,$])}),T}function ee(O,T){var $=O.size-1;return $<=0?"Map{}":(T.truncate-=7,"Map{ ".concat(g(H(O),T,U)," }"))}var J=Number.isNaN||function(O){return O!==O};function oe(O,T){return J(O)?T.stylize("NaN","number"):O===1/0?T.stylize("Infinity","number"):O===-1/0?T.stylize("-Infinity","number"):O===0?T.stylize(1/O===1/0?"+0":"-0","number"):T.stylize(b(O,T.truncate),"number")}function ae(O,T){var $=b(O.toString(),T.truncate-1);return $!==c&&($+="n"),T.stylize($,"bigint")}function ue(O,T){var $=O.toString().split("/")[2],X=T.truncate-(2+$.length),re=O.source;return T.stylize("/".concat(b(re,X),"/").concat($),"regexp")}function ce(O){var T=[];return O.forEach(function($){T.push($)}),T}function A(O,T){return O.size===0?"Set{}":(T.truncate-=7,"Set{ ".concat(g(ce(O),T)," }"))}var x=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),L={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},N=16,G=4;function B(O){return L[O]||"\\u".concat("0000".concat(O.charCodeAt(0).toString(N)).slice(-G))}function k(O,T){return x.test(O)&&(O=O.replace(x,B)),T.stylize("'".concat(b(O,T.truncate-2),"'"),"string")}function z(O){return"description"in Symbol.prototype?O.description?"Symbol(".concat(O.description,")"):"Symbol()":O.toString()}var Q=function(){return"Promise{…}"};try{var _=process.binding("util"),I=_.getPromiseDetails,D=_.kPending,K=_.kRejected;Array.isArray(I(Promise.resolve()))&&(Q=function(O,T){var $=I(O),X=a($,2),re=X[0],se=X[1];return re===D?"Promise{}":"Promise".concat(re===K?"!":"","{").concat(T.inspect(se,T),"}")})}catch{}var W=Q;function V(O,T){var $=Object.getOwnPropertyNames(O),X=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(O):[];if($.length===0&&X.length===0)return"{}";if(T.truncate-=4,T.seen=T.seen||[],T.seen.indexOf(O)>=0)return"[Circular]";T.seen.push(O);var re=g($.map(function(fe){return[fe,O[fe]]}),T,v),se=g(X.map(function(fe){return[fe,O[fe]]}),T,v);T.seen.pop();var de="";return re&&se&&(de=", "),"{ ".concat(re).concat(de).concat(se," }")}var le=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ie(O,T){var $="";return le&&le in O&&($=O[le]),$=$||h(O.constructor),(!$||$==="_class")&&($=""),T.truncate-=$.length,"".concat($).concat(V(O,T))}function pe(O,T){return O.length===0?"Arguments[]":(T.truncate-=13,"Arguments[ ".concat(g(O,T)," ]"))}var _e=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Te(O,T){var $=Object.getOwnPropertyNames(O).filter(function(de){return _e.indexOf(de)===-1}),X=O.name;T.truncate-=X.length;var re="";typeof O.message=="string"?re=b(O.message,T.truncate):$.unshift("message"),re=re?": ".concat(re):"",T.truncate-=re.length+5;var se=g($.map(function(de){return[de,O[de]]}),T,v);return"".concat(X).concat(re).concat(se?" { ".concat(se," }"):"")}function Xe(O,T){var $=a(O,2),X=$[0],re=$[1];return T.truncate-=3,re?"".concat(T.stylize(X,"yellow"),"=").concat(T.stylize('"'.concat(re,'"'),"string")):"".concat(T.stylize(X,"yellow"))}function $e(O,T){return g(O,T,We,` +`)}function We(O,T){var $=O.getAttributeNames(),X=O.tagName.toLowerCase(),re=T.stylize("<".concat(X),"special"),se=T.stylize(">","special"),de=T.stylize(""),"special");T.truncate-=X.length*2+5;var fe="";$.length>0&&(fe+=" ",fe+=g($.map(function(ne){return[ne,O.getAttribute(ne)]}),T,Xe," ")),T.truncate-=fe.length;var me=T.truncate,te=$e(O.children,T);return te&&te.length>me&&(te="".concat(c,"(").concat(O.children.length,")")),"".concat(re).concat(fe).concat(se).concat(te).concat(de)}var Qe=typeof Symbol=="function"&&typeof Symbol.for=="function",xe=Qe?Symbol.for("chai/inspect"):"@@chai/inspect",Re=!1;try{var Ge=Rm("util");Re=Ge.inspect?Ge.inspect.custom:!1}catch{Re=!1}function qe(){this.key="chai/loupe__"+Math.random()+Date.now()}qe.prototype={get:function(O){return O[this.key]},has:function(O){return this.key in O},set:function(O,T){Object.isExtensible(O)&&Object.defineProperty(O,this.key,{value:T,configurable:!0})}};var Se=new(typeof WeakMap=="function"?WeakMap:qe),Ae={},Ke={undefined:function(O,T){return T.stylize("undefined","undefined")},null:function(O,T){return T.stylize(null,"null")},boolean:function(O,T){return T.stylize(O,"boolean")},Boolean:function(O,T){return T.stylize(O,"boolean")},number:oe,Number:oe,bigint:ae,BigInt:ae,string:k,String:k,function:F,Function:F,symbol:z,Symbol:z,Array:R,Date:M,Map:ee,Set:A,RegExp:ue,Promise:W,WeakSet:function(O,T){return T.stylize("WeakSet{…}","special")},WeakMap:function(O,T){return T.stylize("WeakMap{…}","special")},Arguments:pe,Int8Array:j,Uint8Array:j,Uint8ClampedArray:j,Int16Array:j,Uint16Array:j,Int32Array:j,Uint32Array:j,Float32Array:j,Float64Array:j,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:Te,HTMLCollection:$e,NodeList:$e},bt=function(O,T,$){return xe in O&&typeof O[xe]=="function"?O[xe](T):Re&&Re in O&&typeof O[Re]=="function"?O[Re](T.depth,T):"inspect"in O&&typeof O.inspect=="function"?O.inspect(T.depth,T):"constructor"in O&&Se.has(O.constructor)?Se.get(O.constructor)(O,T):Ae[$]?Ae[$](O,T):""},nt=Object.prototype.toString;function Me(O,T){T=m(T),T.inspect=Me;var $=T,X=$.customInspect,re=O===null?"null":n(O);if(re==="object"&&(re=nt.call(O).slice(8,-1)),Ke[re])return Ke[re](O,T);if(X&&O){var se=bt(O,T,re);if(se)return typeof se=="string"?se:Me(se,T)}var de=O?Object.getPrototypeOf(O):!1;return de===Object.prototype||de===null?V(O,T):O&&typeof HTMLElement=="function"&&O instanceof HTMLElement?We(O,T):"constructor"in O?O.constructor!==Object?ie(O,T):V(O,T):O===Object(O)?V(O,T):T.stylize(String(O),re)}function Y(O,T){return Se.has(O)?!1:(Se.set(O,T),!0)}function Z(O,T){return O in Ae?!1:(Ae[O]=T,!0)}var be=xe;r.custom=be,r.default=Me,r.inspect=Me,r.registerConstructor=Y,r.registerStringTag=Z,Object.defineProperty(r,"__esModule",{value:!0})})}}),Or=E({"../../node_modules/chai/lib/chai/config.js"(e,t){t.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}}}),Na=E({"../../node_modules/chai/lib/chai/utils/inspect.js"(e,t){Ma();var r=Jn(),n=Or();t.exports=a;function a(u,o,l,i){var s={colors:i,depth:typeof l>"u"?2:l,showHidden:o,truncate:n.truncateThreshold?n.truncateThreshold:1/0};return r.inspect(u,s)}}}),Ys=E({"../../node_modules/chai/lib/chai/utils/objDisplay.js"(e,t){var r=Na(),n=Or();t.exports=function(a){var u=r(a),o=Object.prototype.toString.call(a);if(n.truncateThreshold&&u.length>=n.truncateThreshold){if(o==="[object Function]")return!a.name||a.name===""?"[Function]":"[Function: "+a.name+"]";if(o==="[object Array]")return"[ Array("+a.length+") ]";if(o==="[object Object]"){var l=Object.keys(a),i=l.length>2?l.splice(0,2).join(", ")+", ...":l.join(", ");return"{ Object ("+i+") }"}else return u}else return u}}}),Sm=E({"../../node_modules/chai/lib/chai/utils/getMessage.js"(e,t){var r=it(),n=Ks(),a=Ys();t.exports=function(u,o){var l=r(u,"negate"),i=r(u,"object"),s=o[3],f=n(u,o),d=l?o[2]:o[1],c=r(u,"message");return typeof d=="function"&&(d=d()),d=d||"",d=d.replace(/#\{this\}/g,function(){return a(i)}).replace(/#\{act\}/g,function(){return a(f)}).replace(/#\{exp\}/g,function(){return a(s)}),c?c+": "+d:d}}}),Xt=E({"../../node_modules/chai/lib/chai/utils/transferFlags.js"(e,t){t.exports=function(r,n,a){var u=r.__flags||(r.__flags=Object.create(null));n.__flags||(n.__flags=Object.create(null)),a=arguments.length===3?a:!0;for(var o in u)(a||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(n.__flags[o]=u[o])}}}),Tm=E({"../../node_modules/deep-eql/index.js"(e,t){var r=Yn();function n(){this._key="chai/deep-eql__"+Math.random()+Date.now()}n.prototype={get:function(h){return h[this._key]},set:function(h,C){Object.isExtensible(h)&&Object.defineProperty(h,this._key,{value:C,configurable:!0})}};var a=typeof WeakMap=="function"?WeakMap:n;function u(h,C,j){if(!j||S(h)||S(C))return null;var M=j.get(h);if(M){var F=M.get(C);if(typeof F=="boolean")return F}return null}function o(h,C,j,M){if(!(!j||S(h)||S(C))){var F=j.get(h);F?F.set(C,M):(F=new a,F.set(C,M),j.set(h,F))}}t.exports=l,t.exports.MemoizeMap=a;function l(h,C,j){if(j&&j.comparator)return s(h,C,j);var M=i(h,C);return M!==null?M:s(h,C,j)}function i(h,C){return h===C?h!==0||1/h===1/C:h!==h&&C!==C?!0:S(h)||S(C)?!1:null}function s(h,C,j){j=j||{},j.memoize=j.memoize===!1?!1:j.memoize||new a;var M=j&&j.comparator,F=u(h,C,j.memoize);if(F!==null)return F;var U=u(C,h,j.memoize);if(U!==null)return U;if(M){var H=M(h,C);if(H===!1||H===!0)return o(h,C,j.memoize,H),H;var ee=i(h,C);if(ee!==null)return ee}var J=r(h);if(J!==r(C))return o(h,C,j.memoize,!1),!1;o(h,C,j.memoize,!0);var oe=f(h,C,J,j);return o(h,C,j.memoize,oe),oe}function f(h,C,j,M){switch(j){case"String":case"Number":case"Boolean":case"Date":return l(h.valueOf(),C.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return h===C;case"Error":return w(h,C,["name","message","code"],M);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return p(h,C,M);case"RegExp":return d(h,C);case"Generator":return m(h,C,M);case"DataView":return p(new Uint8Array(h.buffer),new Uint8Array(C.buffer),M);case"ArrayBuffer":return p(new Uint8Array(h),new Uint8Array(C),M);case"Set":return c(h,C,M);case"Map":return c(h,C,M);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return h.equals(C);case"Temporal.Duration":return h.total("nanoseconds")===C.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return h.toString()===C.toString();default:return P(h,C,M)}}function d(h,C){return h.toString()===C.toString()}function c(h,C,j){if(h.size!==C.size)return!1;if(h.size===0)return!0;var M=[],F=[];return h.forEach(function(U,H){M.push([U,H])}),C.forEach(function(U,H){F.push([U,H])}),p(M.sort(),F.sort(),j)}function p(h,C,j){var M=h.length;if(M!==C.length)return!1;if(M===0)return!0;for(var F=-1;++F=f)return f;for(var d=[],c=0;c<=i.length;c++)d[c]=Array(s.length+1).fill(0),d[c][0]=c;for(var p=0;p=f){d[c][p]=f;continue}d[c][p]=Math.min(d[c-1][p]+1,d[c][p-1]+1,d[c-1][p-1]+(m===s.charCodeAt(p-1)?0:1))}return d[i.length][s.length]}}}),xm=E({"../../node_modules/chai/lib/chai/utils/addMethod.js"(e,t){var r=Qn(),n=Qt(),a=it(),u=Zn(),o=Xt();t.exports=function(l,i,s){var f=function(){a(this,"lockSsfi")||a(this,"ssfi",f);var d=s.apply(this,arguments);if(d!==void 0)return d;var c=new n.Assertion;return o(this,c),c};r(f,i,!1),l[i]=u(f,i)}}}),Mm=E({"../../node_modules/chai/lib/chai/utils/overwriteProperty.js"(e,t){var r=Qt(),n=it(),a=Xn(),u=Xt();t.exports=function(o,l,i){var s=Object.getOwnPropertyDescriptor(o,l),f=function(){};s&&typeof s.get=="function"&&(f=s.get),Object.defineProperty(o,l,{get:function d(){!a()&&!n(this,"lockSsfi")&&n(this,"ssfi",d);var c=n(this,"lockSsfi");n(this,"lockSsfi",!0);var p=i(f).call(this);if(n(this,"lockSsfi",c),p!==void 0)return p;var m=new r.Assertion;return u(this,m),m},configurable:!0})}}}),Nm=E({"../../node_modules/chai/lib/chai/utils/overwriteMethod.js"(e,t){var r=Qn(),n=Qt(),a=it(),u=Zn(),o=Xt();t.exports=function(l,i,s){var f=l[i],d=function(){throw new Error(i+" is not a function")};f&&typeof f=="function"&&(d=f);var c=function(){a(this,"lockSsfi")||a(this,"ssfi",c);var p=a(this,"lockSsfi");a(this,"lockSsfi",!0);var m=s(d).apply(this,arguments);if(a(this,"lockSsfi",p),m!==void 0)return m;var b=new n.Assertion;return o(this,b),b};r(c,i,!1),l[i]=u(c,i)}}}),Im=E({"../../node_modules/chai/lib/chai/utils/addChainableMethod.js"(e,t){var r=Qn(),n=Qt(),a=it(),u=Zn(),o=Xt(),l=typeof Object.setPrototypeOf=="function",i=function(){},s=Object.getOwnPropertyNames(i).filter(function(c){var p=Object.getOwnPropertyDescriptor(i,c);return typeof p!="object"?!0:!p.configurable}),f=Function.prototype.call,d=Function.prototype.apply;t.exports=function(c,p,m,b){typeof b!="function"&&(b=function(){});var g={method:m,chainingBehavior:b};c.__methods||(c.__methods={}),c.__methods[p]=g,Object.defineProperty(c,p,{get:function(){g.chainingBehavior.call(this);var y=function(){a(this,"lockSsfi")||a(this,"ssfi",y);var w=g.method.apply(this,arguments);if(w!==void 0)return w;var P=new n.Assertion;return o(this,P),P};if(r(y,p,!0),l){var v=Object.create(this);v.call=f,v.apply=d,Object.setPrototypeOf(y,v)}else{var R=Object.getOwnPropertyNames(c);R.forEach(function(w){if(s.indexOf(w)===-1){var P=Object.getOwnPropertyDescriptor(c,w);Object.defineProperty(y,w,P)}})}return o(this,y),u(y)},configurable:!0})}}}),Bm=E({"../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js"(e,t){var r=Qt(),n=Xt();t.exports=function(a,u,o,l){var i=a.__methods[u],s=i.chainingBehavior;i.chainingBehavior=function(){var d=l(s).call(this);if(d!==void 0)return d;var c=new r.Assertion;return n(this,c),c};var f=i.method;i.method=function(){var d=o(f).apply(this,arguments);if(d!==void 0)return d;var c=new r.Assertion;return n(this,c),c}}}}),$m=E({"../../node_modules/chai/lib/chai/utils/compareByInspect.js"(e,t){var r=Na();t.exports=function(n,a){return r(n)1&&W===D.length)throw K;return}this.assert(I,"expected #{this} to "+Q+"include "+n.inspect(A),"expected #{this} to not "+Q+"include "+n.inspect(A))}a.addChainableMethod("include",f,s),a.addChainableMethod("contain",f,s),a.addChainableMethod("contains",f,s),a.addChainableMethod("includes",f,s),a.addProperty("ok",function(){this.assert(o(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")}),a.addProperty("true",function(){this.assert(o(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!o(this,"negate"))}),a.addProperty("false",function(){this.assert(o(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!o(this,"negate"))}),a.addProperty("null",function(){this.assert(o(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")}),a.addProperty("undefined",function(){this.assert(o(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")}),a.addProperty("NaN",function(){this.assert(n.isNaN(o(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function d(){var A=o(this,"object");this.assert(A!=null,"expected #{this} to exist","expected #{this} to not exist")}a.addProperty("exist",d),a.addProperty("exists",d),a.addProperty("empty",function(){var A=o(this,"object"),x=o(this,"ssfi"),L=o(this,"message"),N;switch(L=L?L+": ":"",n.type(A).toLowerCase()){case"array":case"string":N=A.length;break;case"map":case"set":N=A.size;break;case"weakmap":case"weakset":throw new u(L+".empty was passed a weak collection",void 0,x);case"function":var G=L+".empty was passed a function "+n.getName(A);throw new u(G.trim(),void 0,x);default:if(A!==Object(A))throw new u(L+".empty was passed non-string primitive "+n.inspect(A),void 0,x);N=Object.keys(A).length}this.assert(N===0,"expected #{this} to be empty","expected #{this} not to be empty")});function c(){var A=o(this,"object"),x=n.type(A);this.assert(x==="Arguments","expected #{this} to be arguments but got "+x,"expected #{this} to not be arguments")}a.addProperty("arguments",c),a.addProperty("Arguments",c);function p(A,x){x&&o(this,"message",x);var L=o(this,"object");if(o(this,"deep")){var N=o(this,"lockSsfi");o(this,"lockSsfi",!0),this.eql(A),o(this,"lockSsfi",N)}else this.assert(A===L,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",A,this._obj,!0)}a.addMethod("equal",p),a.addMethod("equals",p),a.addMethod("eq",p);function m(A,x){x&&o(this,"message",x);var L=o(this,"eql");this.assert(L(A,o(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",A,this._obj,!0)}a.addMethod("eql",m),a.addMethod("eqls",m);function b(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=o(this,"doLength"),G=o(this,"message"),B=G?G+": ":"",k=o(this,"ssfi"),z=n.type(L).toLowerCase(),Q=n.type(A).toLowerCase(),_,I=!0;if(N&&z!=="map"&&z!=="set"&&new a(L,G,k,!0).to.have.property("length"),!N&&z==="date"&&Q!=="date")_=B+"the argument to above must be a date";else if(Q!=="number"&&(N||z==="number"))_=B+"the argument to above must be a number";else if(!N&&z!=="date"&&z!=="number"){var D=z==="string"?"'"+L+"'":L;_=B+"expected "+D+" to be a number or a date"}else I=!1;if(I)throw new u(_,void 0,k);if(N){var K="length",W;z==="map"||z==="set"?(K="size",W=L.size):W=L.length,this.assert(W>A,"expected #{this} to have a "+K+" above #{exp} but got #{act}","expected #{this} to not have a "+K+" above #{exp}",A,W)}else this.assert(L>A,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",A)}a.addMethod("above",b),a.addMethod("gt",b),a.addMethod("greaterThan",b);function g(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=o(this,"doLength"),G=o(this,"message"),B=G?G+": ":"",k=o(this,"ssfi"),z=n.type(L).toLowerCase(),Q=n.type(A).toLowerCase(),_,I=!0;if(N&&z!=="map"&&z!=="set"&&new a(L,G,k,!0).to.have.property("length"),!N&&z==="date"&&Q!=="date")_=B+"the argument to least must be a date";else if(Q!=="number"&&(N||z==="number"))_=B+"the argument to least must be a number";else if(!N&&z!=="date"&&z!=="number"){var D=z==="string"?"'"+L+"'":L;_=B+"expected "+D+" to be a number or a date"}else I=!1;if(I)throw new u(_,void 0,k);if(N){var K="length",W;z==="map"||z==="set"?(K="size",W=L.size):W=L.length,this.assert(W>=A,"expected #{this} to have a "+K+" at least #{exp} but got #{act}","expected #{this} to have a "+K+" below #{exp}",A,W)}else this.assert(L>=A,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",A)}a.addMethod("least",g),a.addMethod("gte",g),a.addMethod("greaterThanOrEqual",g);function y(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=o(this,"doLength"),G=o(this,"message"),B=G?G+": ":"",k=o(this,"ssfi"),z=n.type(L).toLowerCase(),Q=n.type(A).toLowerCase(),_,I=!0;if(N&&z!=="map"&&z!=="set"&&new a(L,G,k,!0).to.have.property("length"),!N&&z==="date"&&Q!=="date")_=B+"the argument to below must be a date";else if(Q!=="number"&&(N||z==="number"))_=B+"the argument to below must be a number";else if(!N&&z!=="date"&&z!=="number"){var D=z==="string"?"'"+L+"'":L;_=B+"expected "+D+" to be a number or a date"}else I=!1;if(I)throw new u(_,void 0,k);if(N){var K="length",W;z==="map"||z==="set"?(K="size",W=L.size):W=L.length,this.assert(W=A&&ie<=x,"expected #{this} to have a "+le+" within "+W,"expected #{this} to not have a "+le+" within "+W)}else this.assert(N>=A&&N<=x,"expected #{this} to be within "+W,"expected #{this} to not be within "+W)});function R(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=o(this,"ssfi"),G=o(this,"message");try{var B=L instanceof A}catch(z){throw z instanceof TypeError?(G=G?G+": ":"",new u(G+"The instanceof assertion needs a constructor but "+n.type(A)+" was given.",void 0,N)):z}var k=n.getName(A);k===null&&(k="an unnamed constructor"),this.assert(B,"expected #{this} to be an instance of "+k,"expected #{this} to not be an instance of "+k)}a.addMethod("instanceof",R),a.addMethod("instanceOf",R);function w(A,x,L){L&&o(this,"message",L);var N=o(this,"nested"),G=o(this,"own"),B=o(this,"message"),k=o(this,"object"),z=o(this,"ssfi"),Q=typeof A;if(B=B?B+": ":"",N){if(Q!=="string")throw new u(B+"the argument to property must be a string when using nested syntax",void 0,z)}else if(Q!=="string"&&Q!=="number"&&Q!=="symbol")throw new u(B+"the argument to property must be a string, number, or symbol",void 0,z);if(N&&G)throw new u(B+'The "nested" and "own" flags cannot be combined.',void 0,z);if(k==null)throw new u(B+"Target cannot be null or undefined.",void 0,z);var _=o(this,"deep"),I=o(this,"negate"),D=N?n.getPathInfo(k,A):null,K=N?D.value:k[A],W=_?o(this,"eql"):(ie,pe)=>ie===pe,V="";_&&(V+="deep "),G&&(V+="own "),N&&(V+="nested "),V+="property ";var le;G?le=Object.prototype.hasOwnProperty.call(k,A):N?le=D.exists:le=n.hasProperty(k,A),(!I||arguments.length===1)&&this.assert(le,"expected #{this} to have "+V+n.inspect(A),"expected #{this} to not have "+V+n.inspect(A)),arguments.length>1&&this.assert(le&&W(x,K),"expected #{this} to have "+V+n.inspect(A)+" of #{exp}, but got #{act}","expected #{this} to not have "+V+n.inspect(A)+" of #{act}",x,K),o(this,"object",K)}a.addMethod("property",w);function P(A,x,L){o(this,"own",!0),w.apply(this,arguments)}a.addMethod("ownProperty",P),a.addMethod("haveOwnProperty",P);function S(A,x,L){typeof x=="string"&&(L=x,x=null),L&&o(this,"message",L);var N=o(this,"object"),G=Object.getOwnPropertyDescriptor(Object(N),A),B=o(this,"eql");G&&x?this.assert(B(x,G),"expected the own property descriptor for "+n.inspect(A)+" on #{this} to match "+n.inspect(x)+", got "+n.inspect(G),"expected the own property descriptor for "+n.inspect(A)+" on #{this} to not match "+n.inspect(x),x,G,!0):this.assert(G,"expected #{this} to have an own property descriptor for "+n.inspect(A),"expected #{this} to not have an own property descriptor for "+n.inspect(A)),o(this,"object",G)}a.addMethod("ownPropertyDescriptor",S),a.addMethod("haveOwnPropertyDescriptor",S);function q(){o(this,"doLength",!0)}function h(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=n.type(L).toLowerCase(),G=o(this,"message"),B=o(this,"ssfi"),k="length",z;switch(N){case"map":case"set":k="size",z=L.size;break;default:new a(L,G,B,!0).to.have.property("length"),z=L.length}this.assert(z==A,"expected #{this} to have a "+k+" of #{exp} but got #{act}","expected #{this} to not have a "+k+" of #{act}",A,z)}a.addChainableMethod("length",h,q),a.addChainableMethod("lengthOf",h,q);function C(A,x){x&&o(this,"message",x);var L=o(this,"object");this.assert(A.exec(L),"expected #{this} to match "+A,"expected #{this} not to match "+A)}a.addMethod("match",C),a.addMethod("matches",C),a.addMethod("string",function(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=o(this,"message"),G=o(this,"ssfi");new a(L,N,G,!0).is.a("string"),this.assert(~L.indexOf(A),"expected #{this} to contain "+n.inspect(A),"expected #{this} to not contain "+n.inspect(A))});function j(A){var x=o(this,"object"),L=n.type(x),N=n.type(A),G=o(this,"ssfi"),B=o(this,"deep"),k,z="",Q,_=!0,I=o(this,"message");I=I?I+": ":"";var D=I+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(L==="Map"||L==="Set")z=B?"deeply ":"",Q=[],x.forEach(function(_e,Te){Q.push(Te)}),N!=="Array"&&(A=Array.prototype.slice.call(arguments));else{switch(Q=n.getOwnEnumerableProperties(x),N){case"Array":if(arguments.length>1)throw new u(D,void 0,G);break;case"Object":if(arguments.length>1)throw new u(D,void 0,G);A=Object.keys(A);break;default:A=Array.prototype.slice.call(arguments)}A=A.map(function(_e){return typeof _e=="symbol"?_e:String(_e)})}if(!A.length)throw new u(I+"keys required",void 0,G);var K=A.length,W=o(this,"any"),V=o(this,"all"),le=A,ie=B?o(this,"eql"):(_e,Te)=>_e===Te;if(!W&&!V&&(V=!0),W&&(_=le.some(function(_e){return Q.some(function(Te){return ie(_e,Te)})})),V&&(_=le.every(function(_e){return Q.some(function(Te){return ie(_e,Te)})}),o(this,"contains")||(_=_&&A.length==Q.length)),K>1){A=A.map(function(_e){return n.inspect(_e)});var pe=A.pop();V&&(k=A.join(", ")+", and "+pe),W&&(k=A.join(", ")+", or "+pe)}else k=n.inspect(A[0]);k=(K>1?"keys ":"key ")+k,k=(o(this,"contains")?"contain ":"have ")+k,this.assert(_,"expected #{this} to "+z+k,"expected #{this} to not "+z+k,le.slice(0).sort(n.compareByInspect),Q.sort(n.compareByInspect),!0)}a.addMethod("keys",j),a.addMethod("key",j);function M(A,x,L){L&&o(this,"message",L);var N=o(this,"object"),G=o(this,"ssfi"),B=o(this,"message"),k=o(this,"negate")||!1;new a(N,B,G,!0).is.a("function"),(A instanceof RegExp||typeof A=="string")&&(x=A,A=null);var z;try{N()}catch(pe){z=pe}var Q=A===void 0&&x===void 0,_=!!(A&&x),I=!1,D=!1;if(Q||!Q&&!k){var K="an error";A instanceof Error?K="#{exp}":A&&(K=n.checkError.getConstructorName(A)),this.assert(z,"expected #{this} to throw "+K,"expected #{this} to not throw an error but #{act} was thrown",A&&A.toString(),z instanceof Error?z.toString():typeof z=="string"?z:z&&n.checkError.getConstructorName(z))}if(A&&z){if(A instanceof Error){var W=n.checkError.compatibleInstance(z,A);W===k&&(_&&k?I=!0:this.assert(k,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(z&&!k?" but #{act} was thrown":""),A.toString(),z.toString()))}var V=n.checkError.compatibleConstructor(z,A);V===k&&(_&&k?I=!0:this.assert(k,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(z?" but #{act} was thrown":""),A instanceof Error?A.toString():A&&n.checkError.getConstructorName(A),z instanceof Error?z.toString():z&&n.checkError.getConstructorName(z)))}if(z&&x!==void 0&&x!==null){var le="including";x instanceof RegExp&&(le="matching");var ie=n.checkError.compatibleMessage(z,x);ie===k&&(_&&k?D=!0:this.assert(k,"expected #{this} to throw error "+le+" #{exp} but got #{act}","expected #{this} to throw error not "+le+" #{exp}",x,n.checkError.getMessage(z)))}I&&D&&this.assert(k,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(z?" but #{act} was thrown":""),A instanceof Error?A.toString():A&&n.checkError.getConstructorName(A),z instanceof Error?z.toString():z&&n.checkError.getConstructorName(z)),o(this,"object",z)}a.addMethod("throw",M),a.addMethod("throws",M),a.addMethod("Throw",M);function F(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=o(this,"itself"),G=typeof L=="function"&&!N?L.prototype[A]:L[A];this.assert(typeof G=="function","expected #{this} to respond to "+n.inspect(A),"expected #{this} to not respond to "+n.inspect(A))}a.addMethod("respondTo",F),a.addMethod("respondsTo",F),a.addProperty("itself",function(){o(this,"itself",!0)});function U(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=A(L);this.assert(N,"expected #{this} to satisfy "+n.objDisplay(A),"expected #{this} to not satisfy"+n.objDisplay(A),!o(this,"negate"),N)}a.addMethod("satisfy",U),a.addMethod("satisfies",U);function H(A,x,L){L&&o(this,"message",L);var N=o(this,"object"),G=o(this,"message"),B=o(this,"ssfi");if(new a(N,G,B,!0).is.a("number"),typeof A!="number"||typeof x!="number"){G=G?G+": ":"";var k=x===void 0?", and a delta is required":"";throw new u(G+"the arguments to closeTo or approximately must be numbers"+k,void 0,B)}this.assert(Math.abs(N-A)<=x,"expected #{this} to be close to "+A+" +/- "+x,"expected #{this} not to be close to "+A+" +/- "+x)}a.addMethod("closeTo",H),a.addMethod("approximately",H);function ee(A,x,L,N,G){if(!N){if(A.length!==x.length)return!1;x=x.slice()}return A.every(function(B,k){if(G)return L?L(B,x[k]):B===x[k];if(!L){var z=x.indexOf(B);return z===-1?!1:(N||x.splice(z,1),!0)}return x.some(function(Q,_){return L(B,Q)?(N||x.splice(_,1),!0):!1})})}a.addMethod("members",function(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=o(this,"message"),G=o(this,"ssfi");new a(L,N,G,!0).to.be.an("array"),new a(A,N,G,!0).to.be.an("array");var B=o(this,"contains"),k=o(this,"ordered"),z,Q,_;B?(z=k?"an ordered superset":"a superset",Q="expected #{this} to be "+z+" of #{exp}",_="expected #{this} to not be "+z+" of #{exp}"):(z=k?"ordered members":"members",Q="expected #{this} to have the same "+z+" as #{exp}",_="expected #{this} to not have the same "+z+" as #{exp}");var I=o(this,"deep")?o(this,"eql"):void 0;this.assert(ee(A,L,I,B,k),Q,_,A,L,!0)});function J(A,x){x&&o(this,"message",x);var L=o(this,"object"),N=o(this,"message"),G=o(this,"ssfi"),B=o(this,"contains"),k=o(this,"deep"),z=o(this,"eql");new a(A,N,G,!0).to.be.an("array"),B?this.assert(A.some(function(Q){return L.indexOf(Q)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",A,L):k?this.assert(A.some(function(Q){return z(L,Q)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",A,L):this.assert(A.indexOf(L)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",A,L)}a.addMethod("oneOf",J);function oe(A,x,L){L&&o(this,"message",L);var N=o(this,"object"),G=o(this,"message"),B=o(this,"ssfi");new a(N,G,B,!0).is.a("function");var k;x?(new a(A,G,B,!0).to.have.property(x),k=A[x]):(new a(A,G,B,!0).is.a("function"),k=A()),N();var z=x==null?A():A[x],Q=x==null?k:"."+x;o(this,"deltaMsgObj",Q),o(this,"initialDeltaValue",k),o(this,"finalDeltaValue",z),o(this,"deltaBehavior","change"),o(this,"realDelta",z!==k),this.assert(k!==z,"expected "+Q+" to change","expected "+Q+" to not change")}a.addMethod("change",oe),a.addMethod("changes",oe);function ae(A,x,L){L&&o(this,"message",L);var N=o(this,"object"),G=o(this,"message"),B=o(this,"ssfi");new a(N,G,B,!0).is.a("function");var k;x?(new a(A,G,B,!0).to.have.property(x),k=A[x]):(new a(A,G,B,!0).is.a("function"),k=A()),new a(k,G,B,!0).is.a("number"),N();var z=x==null?A():A[x],Q=x==null?k:"."+x;o(this,"deltaMsgObj",Q),o(this,"initialDeltaValue",k),o(this,"finalDeltaValue",z),o(this,"deltaBehavior","increase"),o(this,"realDelta",z-k),this.assert(z-k>0,"expected "+Q+" to increase","expected "+Q+" to not increase")}a.addMethod("increase",ae),a.addMethod("increases",ae);function ue(A,x,L){L&&o(this,"message",L);var N=o(this,"object"),G=o(this,"message"),B=o(this,"ssfi");new a(N,G,B,!0).is.a("function");var k;x?(new a(A,G,B,!0).to.have.property(x),k=A[x]):(new a(A,G,B,!0).is.a("function"),k=A()),new a(k,G,B,!0).is.a("number"),N();var z=x==null?A():A[x],Q=x==null?k:"."+x;o(this,"deltaMsgObj",Q),o(this,"initialDeltaValue",k),o(this,"finalDeltaValue",z),o(this,"deltaBehavior","decrease"),o(this,"realDelta",k-z),this.assert(z-k<0,"expected "+Q+" to decrease","expected "+Q+" to not decrease")}a.addMethod("decrease",ue),a.addMethod("decreases",ue);function ce(A,x){x&&o(this,"message",x);var L=o(this,"deltaMsgObj"),N=o(this,"initialDeltaValue"),G=o(this,"finalDeltaValue"),B=o(this,"deltaBehavior"),k=o(this,"realDelta"),z;B==="change"?z=Math.abs(G-N)===Math.abs(A):z=k===Math.abs(A),this.assert(z,"expected "+L+" to "+B+" by "+A,"expected "+L+" to not "+B+" by "+A)}a.addMethod("by",ce),a.addProperty("extensible",function(){var A=o(this,"object"),x=A===Object(A)&&Object.isExtensible(A);this.assert(x,"expected #{this} to be extensible","expected #{this} to not be extensible")}),a.addProperty("sealed",function(){var A=o(this,"object"),x=A===Object(A)?Object.isSealed(A):!0;this.assert(x,"expected #{this} to be sealed","expected #{this} to not be sealed")}),a.addProperty("frozen",function(){var A=o(this,"object"),x=A===Object(A)?Object.isFrozen(A):!0;this.assert(x,"expected #{this} to be frozen","expected #{this} to not be frozen")}),a.addProperty("finite",function(A){var x=o(this,"object");this.assert(typeof x=="number"&&isFinite(x),"expected #{this} to be a finite number","expected #{this} to not be a finite number")})}}}),zm=E({"../../node_modules/chai/lib/chai/interface/expect.js"(e,t){t.exports=function(r,n){r.expect=function(a,u){return new r.Assertion(a,u)},r.expect.fail=function(a,u,o,l){throw arguments.length<2&&(o=a,a=void 0),o=o||"expect.fail()",new r.AssertionError(o,{actual:a,expected:u,operator:l},r.expect.fail)}}}}),Wm=E({"../../node_modules/chai/lib/chai/interface/should.js"(e,t){t.exports=function(r,n){var a=r.Assertion;function u(){function o(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new a(this.valueOf(),null,o):new a(this,null,o)}function l(s){Object.defineProperty(this,"should",{value:s,enumerable:!0,configurable:!0,writable:!0})}Object.defineProperty(Object.prototype,"should",{set:l,get:o,configurable:!0});var i={};return i.fail=function(s,f,d,c){throw arguments.length<2&&(d=s,s=void 0),d=d||"should.fail()",new r.AssertionError(d,{actual:s,expected:f,operator:c},i.fail)},i.equal=function(s,f,d){new a(s,d).to.equal(f)},i.Throw=function(s,f,d,c){new a(s,c).to.Throw(f,d)},i.exist=function(s,f){new a(s,f).to.exist},i.not={},i.not.equal=function(s,f,d){new a(s,d).to.not.equal(f)},i.not.Throw=function(s,f,d,c){new a(s,c).to.not.Throw(f,d)},i.not.exist=function(s,f){new a(s,f).to.not.exist},i.throw=i.Throw,i.not.throw=i.not.Throw,i}r.should=u,r.Should=u}}}),Gm=E({"../../node_modules/chai/lib/chai/interface/assert.js"(e,t){t.exports=function(r,n){var a=r.Assertion,u=n.flag,o=r.assert=function(l,i){var s=new a(null,null,r.assert,!0);s.assert(l,i,"[ negation message unavailable ]")};o.fail=function(l,i,s,f){throw arguments.length<2&&(s=l,l=void 0),s=s||"assert.fail()",new r.AssertionError(s,{actual:l,expected:i,operator:f},o.fail)},o.isOk=function(l,i){new a(l,i,o.isOk,!0).is.ok},o.isNotOk=function(l,i){new a(l,i,o.isNotOk,!0).is.not.ok},o.equal=function(l,i,s){var f=new a(l,s,o.equal,!0);f.assert(i==u(f,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",i,l,!0)},o.notEqual=function(l,i,s){var f=new a(l,s,o.notEqual,!0);f.assert(i!=u(f,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",i,l,!0)},o.strictEqual=function(l,i,s){new a(l,s,o.strictEqual,!0).to.equal(i)},o.notStrictEqual=function(l,i,s){new a(l,s,o.notStrictEqual,!0).to.not.equal(i)},o.deepEqual=o.deepStrictEqual=function(l,i,s){new a(l,s,o.deepEqual,!0).to.eql(i)},o.notDeepEqual=function(l,i,s){new a(l,s,o.notDeepEqual,!0).to.not.eql(i)},o.isAbove=function(l,i,s){new a(l,s,o.isAbove,!0).to.be.above(i)},o.isAtLeast=function(l,i,s){new a(l,s,o.isAtLeast,!0).to.be.least(i)},o.isBelow=function(l,i,s){new a(l,s,o.isBelow,!0).to.be.below(i)},o.isAtMost=function(l,i,s){new a(l,s,o.isAtMost,!0).to.be.most(i)},o.isTrue=function(l,i){new a(l,i,o.isTrue,!0).is.true},o.isNotTrue=function(l,i){new a(l,i,o.isNotTrue,!0).to.not.equal(!0)},o.isFalse=function(l,i){new a(l,i,o.isFalse,!0).is.false},o.isNotFalse=function(l,i){new a(l,i,o.isNotFalse,!0).to.not.equal(!1)},o.isNull=function(l,i){new a(l,i,o.isNull,!0).to.equal(null)},o.isNotNull=function(l,i){new a(l,i,o.isNotNull,!0).to.not.equal(null)},o.isNaN=function(l,i){new a(l,i,o.isNaN,!0).to.be.NaN},o.isNotNaN=function(l,i){new a(l,i,o.isNotNaN,!0).not.to.be.NaN},o.exists=function(l,i){new a(l,i,o.exists,!0).to.exist},o.notExists=function(l,i){new a(l,i,o.notExists,!0).to.not.exist},o.isUndefined=function(l,i){new a(l,i,o.isUndefined,!0).to.equal(void 0)},o.isDefined=function(l,i){new a(l,i,o.isDefined,!0).to.not.equal(void 0)},o.isFunction=function(l,i){new a(l,i,o.isFunction,!0).to.be.a("function")},o.isNotFunction=function(l,i){new a(l,i,o.isNotFunction,!0).to.not.be.a("function")},o.isObject=function(l,i){new a(l,i,o.isObject,!0).to.be.a("object")},o.isNotObject=function(l,i){new a(l,i,o.isNotObject,!0).to.not.be.a("object")},o.isArray=function(l,i){new a(l,i,o.isArray,!0).to.be.an("array")},o.isNotArray=function(l,i){new a(l,i,o.isNotArray,!0).to.not.be.an("array")},o.isString=function(l,i){new a(l,i,o.isString,!0).to.be.a("string")},o.isNotString=function(l,i){new a(l,i,o.isNotString,!0).to.not.be.a("string")},o.isNumber=function(l,i){new a(l,i,o.isNumber,!0).to.be.a("number")},o.isNotNumber=function(l,i){new a(l,i,o.isNotNumber,!0).to.not.be.a("number")},o.isFinite=function(l,i){new a(l,i,o.isFinite,!0).to.be.finite},o.isBoolean=function(l,i){new a(l,i,o.isBoolean,!0).to.be.a("boolean")},o.isNotBoolean=function(l,i){new a(l,i,o.isNotBoolean,!0).to.not.be.a("boolean")},o.typeOf=function(l,i,s){new a(l,s,o.typeOf,!0).to.be.a(i)},o.notTypeOf=function(l,i,s){new a(l,s,o.notTypeOf,!0).to.not.be.a(i)},o.instanceOf=function(l,i,s){new a(l,s,o.instanceOf,!0).to.be.instanceOf(i)},o.notInstanceOf=function(l,i,s){new a(l,s,o.notInstanceOf,!0).to.not.be.instanceOf(i)},o.include=function(l,i,s){new a(l,s,o.include,!0).include(i)},o.notInclude=function(l,i,s){new a(l,s,o.notInclude,!0).not.include(i)},o.deepInclude=function(l,i,s){new a(l,s,o.deepInclude,!0).deep.include(i)},o.notDeepInclude=function(l,i,s){new a(l,s,o.notDeepInclude,!0).not.deep.include(i)},o.nestedInclude=function(l,i,s){new a(l,s,o.nestedInclude,!0).nested.include(i)},o.notNestedInclude=function(l,i,s){new a(l,s,o.notNestedInclude,!0).not.nested.include(i)},o.deepNestedInclude=function(l,i,s){new a(l,s,o.deepNestedInclude,!0).deep.nested.include(i)},o.notDeepNestedInclude=function(l,i,s){new a(l,s,o.notDeepNestedInclude,!0).not.deep.nested.include(i)},o.ownInclude=function(l,i,s){new a(l,s,o.ownInclude,!0).own.include(i)},o.notOwnInclude=function(l,i,s){new a(l,s,o.notOwnInclude,!0).not.own.include(i)},o.deepOwnInclude=function(l,i,s){new a(l,s,o.deepOwnInclude,!0).deep.own.include(i)},o.notDeepOwnInclude=function(l,i,s){new a(l,s,o.notDeepOwnInclude,!0).not.deep.own.include(i)},o.match=function(l,i,s){new a(l,s,o.match,!0).to.match(i)},o.notMatch=function(l,i,s){new a(l,s,o.notMatch,!0).to.not.match(i)},o.property=function(l,i,s){new a(l,s,o.property,!0).to.have.property(i)},o.notProperty=function(l,i,s){new a(l,s,o.notProperty,!0).to.not.have.property(i)},o.propertyVal=function(l,i,s,f){new a(l,f,o.propertyVal,!0).to.have.property(i,s)},o.notPropertyVal=function(l,i,s,f){new a(l,f,o.notPropertyVal,!0).to.not.have.property(i,s)},o.deepPropertyVal=function(l,i,s,f){new a(l,f,o.deepPropertyVal,!0).to.have.deep.property(i,s)},o.notDeepPropertyVal=function(l,i,s,f){new a(l,f,o.notDeepPropertyVal,!0).to.not.have.deep.property(i,s)},o.ownProperty=function(l,i,s){new a(l,s,o.ownProperty,!0).to.have.own.property(i)},o.notOwnProperty=function(l,i,s){new a(l,s,o.notOwnProperty,!0).to.not.have.own.property(i)},o.ownPropertyVal=function(l,i,s,f){new a(l,f,o.ownPropertyVal,!0).to.have.own.property(i,s)},o.notOwnPropertyVal=function(l,i,s,f){new a(l,f,o.notOwnPropertyVal,!0).to.not.have.own.property(i,s)},o.deepOwnPropertyVal=function(l,i,s,f){new a(l,f,o.deepOwnPropertyVal,!0).to.have.deep.own.property(i,s)},o.notDeepOwnPropertyVal=function(l,i,s,f){new a(l,f,o.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(i,s)},o.nestedProperty=function(l,i,s){new a(l,s,o.nestedProperty,!0).to.have.nested.property(i)},o.notNestedProperty=function(l,i,s){new a(l,s,o.notNestedProperty,!0).to.not.have.nested.property(i)},o.nestedPropertyVal=function(l,i,s,f){new a(l,f,o.nestedPropertyVal,!0).to.have.nested.property(i,s)},o.notNestedPropertyVal=function(l,i,s,f){new a(l,f,o.notNestedPropertyVal,!0).to.not.have.nested.property(i,s)},o.deepNestedPropertyVal=function(l,i,s,f){new a(l,f,o.deepNestedPropertyVal,!0).to.have.deep.nested.property(i,s)},o.notDeepNestedPropertyVal=function(l,i,s,f){new a(l,f,o.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(i,s)},o.lengthOf=function(l,i,s){new a(l,s,o.lengthOf,!0).to.have.lengthOf(i)},o.hasAnyKeys=function(l,i,s){new a(l,s,o.hasAnyKeys,!0).to.have.any.keys(i)},o.hasAllKeys=function(l,i,s){new a(l,s,o.hasAllKeys,!0).to.have.all.keys(i)},o.containsAllKeys=function(l,i,s){new a(l,s,o.containsAllKeys,!0).to.contain.all.keys(i)},o.doesNotHaveAnyKeys=function(l,i,s){new a(l,s,o.doesNotHaveAnyKeys,!0).to.not.have.any.keys(i)},o.doesNotHaveAllKeys=function(l,i,s){new a(l,s,o.doesNotHaveAllKeys,!0).to.not.have.all.keys(i)},o.hasAnyDeepKeys=function(l,i,s){new a(l,s,o.hasAnyDeepKeys,!0).to.have.any.deep.keys(i)},o.hasAllDeepKeys=function(l,i,s){new a(l,s,o.hasAllDeepKeys,!0).to.have.all.deep.keys(i)},o.containsAllDeepKeys=function(l,i,s){new a(l,s,o.containsAllDeepKeys,!0).to.contain.all.deep.keys(i)},o.doesNotHaveAnyDeepKeys=function(l,i,s){new a(l,s,o.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(i)},o.doesNotHaveAllDeepKeys=function(l,i,s){new a(l,s,o.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(i)},o.throws=function(l,i,s,f){(typeof i=="string"||i instanceof RegExp)&&(s=i,i=null);var d=new a(l,f,o.throws,!0).to.throw(i,s);return u(d,"object")},o.doesNotThrow=function(l,i,s,f){(typeof i=="string"||i instanceof RegExp)&&(s=i,i=null),new a(l,f,o.doesNotThrow,!0).to.not.throw(i,s)},o.operator=function(l,i,s,f){var d;switch(i){case"==":d=l==s;break;case"===":d=l===s;break;case">":d=l>s;break;case">=":d=l>=s;break;case"<":d=lo=>`\x1B[${38+u};5;${o}m`,n=(u=0)=>(o,l,i)=>`\x1B[${38+u};2;${o};${l};${i}m`;function a(){let u=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[l,i]of Object.entries(o)){for(let[s,f]of Object.entries(i))o[s]={open:`\x1B[${f[0]}m`,close:`\x1B[${f[1]}m`},i[s]=o[s],u.set(f[0],f[1]);Object.defineProperty(o,l,{value:i,enumerable:!1})}return Object.defineProperty(o,"codes",{value:u,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",o.color.ansi256=r(),o.color.ansi16m=n(),o.bgColor.ansi256=r(10),o.bgColor.ansi16m=n(10),Object.defineProperties(o,{rgbToAnsi256:{value:(l,i,s)=>l===i&&i===s?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(i/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:l=>{let i=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!i)return[0,0,0];let{colorString:s}=i.groups;s.length===3&&(s=s.split("").map(d=>d+d).join(""));let f=Number.parseInt(s,16);return[f>>16&255,f>>8&255,f&255]},enumerable:!1},hexToAnsi256:{value:l=>o.rgbToAnsi256(...o.hexToRgb(l)),enumerable:!1}}),o}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),eo=E({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=u;var t=(o,l)=>{let i=Object.keys(o),s=l!==null?i.sort(l):i;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(f=>{Object.getOwnPropertyDescriptor(o,f).enumerable&&s.push(f)}),s};function r(o,l,i,s,f,d,c=": "){let p="",m=0,b=o.next();if(!b.done){p+=l.spacingOuter;let g=i+l.indent;for(;!b.done;){if(p+=g,m++===l.maxWidth){p+="…";break}let y=d(b.value[0],l,g,s,f),v=d(b.value[1],l,g,s,f);p+=y+c+v,b=o.next(),b.done?l.min||(p+=","):p+=`,${l.spacingInner}`}p+=l.spacingOuter+i}return p}function n(o,l,i,s,f,d){let c="",p=0,m=o.next();if(!m.done){c+=l.spacingOuter;let b=i+l.indent;for(;!m.done;){if(c+=b,p++===l.maxWidth){c+="…";break}c+=d(m.value,l,b,s,f),m=o.next(),m.done?l.min||(c+=","):c+=`,${l.spacingInner}`}c+=l.spacingOuter+i}return c}function a(o,l,i,s,f,d){let c="";if(o.length){c+=l.spacingOuter;let p=i+l.indent;for(let m=0;m{let b=s.toString();if(b==="ArrayContaining"||b==="ArrayNotContaining")return++c>f.maxDepth?`[${b}]`:`${b+a}[${(0,t.printListItems)(s.sample,f,d,c,p,m)}]`;if(b==="ObjectContaining"||b==="ObjectNotContaining")return++c>f.maxDepth?`[${b}]`:`${b+a}{${(0,t.printObjectProperties)(s.sample,f,d,c,p,m)}}`;if(b==="StringMatching"||b==="StringNotMatching"||b==="StringContaining"||b==="StringNotContaining")return b+a+m(s.sample,f,d,c,p);if(typeof s.toAsymmetricMatcher!="function")throw new Error(`Asymmetric matcher ${s.constructor.name} does not implement toAsymmetricMatcher()`);return s.toAsymmetricMatcher()};e.serialize=u;var o=s=>s&&s.$$typeof===n;e.test=o;var l={serialize:u,test:o},i=l;e.default=i}}),Xm=E({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=eo(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=d=>n.indexOf(d)!==-1||a.test(d),o=d=>d&&d.constructor&&!!d.constructor.name&&u(d.constructor.name);e.test=o;var l=d=>d.constructor.name==="NamedNodeMap",i=(d,c,p,m,b,g)=>{let y=d.constructor.name;return++m>c.maxDepth?`[${y}]`:(c.min?"":y+r)+(n.indexOf(y)!==-1?`{${(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((v,R)=>(v[R.name]=R.value,v),{}):{...d},c,p,m,b,g)}}`:`[${(0,t.printListItems)(Array.from(d),c,p,m,b,g)}]`)};e.serialize=i;var s={serialize:i,test:o},f=s;e.default=f}}),Qm=E({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),Ia=E({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Qm());function r(s){return s&&s.__esModule?s:{default:s}}var n=(s,f,d,c,p,m,b)=>{let g=c+d.indent,y=d.colors;return s.map(v=>{let R=f[v],w=b(R,d,g,p,m);return typeof R!="string"&&(w.indexOf(` +`)!==-1&&(w=d.spacingOuter+g+w+d.spacingOuter+c),w=`{${w}}`),`${d.spacingInner+c+y.prop.open+v+y.prop.close}=${y.value.open}${w}${y.value.close}`}).join("")};e.printProps=n;var a=(s,f,d,c,p,m)=>s.map(b=>f.spacingOuter+d+(typeof b=="string"?u(b,f):m(b,f,d,c,p))).join("");e.printChildren=a;var u=(s,f)=>{let d=f.colors.content;return d.open+(0,t.default)(s)+d.close};e.printText=u;var o=(s,f)=>{let d=f.colors.comment;return`${d.open}${d.close}`};e.printComment=o;var l=(s,f,d,c,p)=>{let m=c.colors.tag;return`${m.open}<${s}${f&&m.close+f+c.spacingOuter+p+m.open}${d?`>${m.close}${d}${c.spacingOuter}${p}${m.open}${m.close}`};e.printElement=l;var i=(s,f)=>{let d=f.colors.tag;return`${d.open}<${s}${d.close} …${d.open} />${d.close}`};e.printElementAsLeaf=i}}),Zm=E({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ia(),r=1,n=3,a=8,u=11,o=/^((HTML|SVG)\w*)?Element$/,l=g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},i=g=>{let y=g.constructor.name,{nodeType:v,tagName:R}=g,w=typeof R=="string"&&R.includes("-")||l(g);return v===r&&(o.test(y)||w)||v===n&&y==="Text"||v===a&&y==="Comment"||v===u&&y==="DocumentFragment"},s=g=>{var y;return((y=g==null?void 0:g.constructor)==null?void 0:y.name)&&i(g)};e.test=s;function f(g){return g.nodeType===n}function d(g){return g.nodeType===a}function c(g){return g.nodeType===u}var p=(g,y,v,R,w,P)=>{if(f(g))return(0,t.printText)(g.data,y);if(d(g))return(0,t.printComment)(g.data,y);let S=c(g)?"DocumentFragment":g.tagName.toLowerCase();return++R>y.maxDepth?(0,t.printElementAsLeaf)(S,y):(0,t.printElement)(S,(0,t.printProps)(c(g)?[]:Array.from(g.attributes,q=>q.name).sort(),c(g)?{}:Array.from(g.attributes).reduce((q,h)=>(q[h.name]=h.value,q),{}),y,v+y.indent,R,w,P),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),y,v+y.indent,R,w,P),y,v)};e.serialize=p;var m={serialize:p,test:s},b=m;e.default=b}}),eb=E({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=eo(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",o="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",i="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",f="@@__IMMUTABLE_STACK__@@",d=h=>`Immutable.${h}`,c=h=>`[${h}]`,p=" ",m="…",b=(h,C,j,M,F,U,H)=>++M>C.maxDepth?c(d(H)):`${d(H)+p}{${(0,t.printIteratorEntries)(h.entries(),C,j,M,F,U)}}`;function g(h){let C=0;return{next(){if(C{let H=d(h._name||"Record");return++M>C.maxDepth?c(H):`${H+p}{${(0,t.printIteratorEntries)(g(h),C,j,M,F,U)}}`},v=(h,C,j,M,F,U)=>{let H=d("Seq");return++M>C.maxDepth?c(H):h[a]?`${H+p}{${h._iter||h._object?(0,t.printIteratorEntries)(h.entries(),C,j,M,F,U):m}}`:`${H+p}[${h._iter||h._array||h._collection||h._iterable?(0,t.printIteratorValues)(h.values(),C,j,M,F,U):m}]`},R=(h,C,j,M,F,U,H)=>++M>C.maxDepth?c(d(H)):`${d(H)+p}[${(0,t.printIteratorValues)(h.values(),C,j,M,F,U)}]`,w=(h,C,j,M,F,U)=>h[u]?b(h,C,j,M,F,U,h[o]?"OrderedMap":"Map"):h[n]?R(h,C,j,M,F,U,"List"):h[s]?R(h,C,j,M,F,U,h[o]?"OrderedSet":"Set"):h[f]?R(h,C,j,M,F,U,"Stack"):h[i]?v(h,C,j,M,F,U):y(h,C,j,M,F,U);e.serialize=w;var P=h=>h&&(h[r]===!0||h[l]===!0);e.test=P;var S={serialize:w,test:P},q=S;e.default=q}}),tb=E({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),i=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b=!1,g=!1,y=!1,v=!1,R=!1,w;w=Symbol.for("react.module.reference");function P(V){return!!(typeof V=="string"||typeof V=="function"||V===n||V===u||R||V===a||V===f||V===d||v||V===m||b||g||y||typeof V=="object"&&V!==null&&(V.$$typeof===p||V.$$typeof===c||V.$$typeof===o||V.$$typeof===l||V.$$typeof===s||V.$$typeof===w||V.getModuleId!==void 0))}function S(V){if(typeof V=="object"&&V!==null){var le=V.$$typeof;switch(le){case t:var ie=V.type;switch(ie){case n:case u:case a:case f:case d:return ie;default:var pe=ie&&ie.$$typeof;switch(pe){case i:case l:case s:case p:case c:case o:return pe;default:return le}}case r:return le}}}var q=l,h=o,C=t,j=s,M=n,F=p,U=c,H=r,ee=u,J=a,oe=f,ae=d,ue=!1,ce=!1;function A(V){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function x(V){return ce||(ce=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function L(V){return S(V)===l}function N(V){return S(V)===o}function G(V){return typeof V=="object"&&V!==null&&V.$$typeof===t}function B(V){return S(V)===s}function k(V){return S(V)===n}function z(V){return S(V)===p}function Q(V){return S(V)===c}function _(V){return S(V)===r}function I(V){return S(V)===u}function D(V){return S(V)===a}function K(V){return S(V)===f}function W(V){return S(V)===d}e.ContextConsumer=q,e.ContextProvider=h,e.Element=C,e.ForwardRef=j,e.Fragment=M,e.Lazy=F,e.Memo=U,e.Portal=H,e.Profiler=ee,e.StrictMode=J,e.Suspense=oe,e.SuspenseList=ae,e.isAsyncMode=A,e.isConcurrentMode=x,e.isContextConsumer=L,e.isContextProvider=N,e.isElement=G,e.isForwardRef=B,e.isFragment=k,e.isLazy=z,e.isMemo=Q,e.isPortal=_,e.isProfiler=I,e.isStrictMode=D,e.isSuspense=K,e.isSuspenseList=W,e.isValidElementType=P,e.typeOf=S})()}}),rb=E({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=tb()}}),nb=E({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(rb()),r=Ia();function n(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:p})(c)}function a(c,p){if(!p&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var m=n(p);if(m&&m.has(c))return m.get(c);var b={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in c)if(y!=="default"&&Object.prototype.hasOwnProperty.call(c,y)){var v=g?Object.getOwnPropertyDescriptor(c,y):null;v&&(v.get||v.set)?Object.defineProperty(b,y,v):b[y]=c[y]}return b.default=c,m&&m.set(c,b),b}var u=(c,p=[])=>(Array.isArray(c)?c.forEach(m=>{u(m,p)}):c!=null&&c!==!1&&p.push(c),p),o=c=>{let p=c.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(c))return"React.Fragment";if(t.isSuspense(c))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(c))return"Context.Provider";if(t.isContextConsumer(c))return"Context.Consumer";if(t.isForwardRef(c)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?`ForwardRef(${m})`:"ForwardRef"}if(t.isMemo(c)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?`Memo(${m})`:"Memo"}}return"UNDEFINED"},l=c=>{let{props:p}=c;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},i=(c,p,m,b,g,y)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(o(c),p):(0,r.printElement)(o(c),(0,r.printProps)(l(c),c.props,p,m+p.indent,b,g,y),(0,r.printChildren)(u(c.props.children),p,m+p.indent,b,g,y),p,m);e.serialize=i;var s=c=>c!=null&&t.isElement(c);e.test=s;var f={serialize:i,test:s},d=f;e.default=d}}),ob=E({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ia(),r=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,n=typeof r=="function"&&r.for?r.for("react.test.json"):245830487,a=s=>{let{props:f}=s;return f?Object.keys(f).filter(d=>f[d]!==void 0).sort():[]},u=(s,f,d,c,p,m)=>++c>f.maxDepth?(0,t.printElementAsLeaf)(s.type,f):(0,t.printElement)(s.type,s.props?(0,t.printProps)(a(s),s.props,f,d+f.indent,c,p,m):"",s.children?(0,t.printChildren)(s.children,f,d+f.indent,c,p,m):"",f,d);e.serialize=u;var o=s=>s&&s.$$typeof===n;e.test=o;var l={serialize:u,test:o},i=l;e.default=i}}),to=E({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=k,e.plugins=void 0;var t=s(Ym()),r=eo(),n=s(Jm()),a=s(Xm()),u=s(Zm()),o=s(eb()),l=s(nb()),i=s(ob());function s(_){return _&&_.__esModule?_:{default:_}}var f=Object.prototype.toString,d=Date.prototype.toISOString,c=Error.prototype.toString,p=RegExp.prototype.toString,m=_=>typeof _.constructor=="function"&&_.constructor.name||"Object",b=_=>typeof window<"u"&&_===window,g=/^Symbol\((.*)\)(.*)$/,y=/\n/gi,v=class extends Error{constructor(_,I){super(_),this.stack=I,this.name=this.constructor.name}};function R(_){return _==="[object Array]"||_==="[object ArrayBuffer]"||_==="[object DataView]"||_==="[object Float32Array]"||_==="[object Float64Array]"||_==="[object Int8Array]"||_==="[object Int16Array]"||_==="[object Int32Array]"||_==="[object Uint8Array]"||_==="[object Uint8ClampedArray]"||_==="[object Uint16Array]"||_==="[object Uint32Array]"}function w(_){return Object.is(_,-0)?"-0":String(_)}function P(_){return`${_}n`}function S(_,I){return I?`[Function ${_.name||"anonymous"}]`:"[Function]"}function q(_){return String(_).replace(g,"Symbol($1)")}function h(_){return`[${c.call(_)}]`}function C(_,I,D,K){if(_===!0||_===!1)return`${_}`;if(_===void 0)return"undefined";if(_===null)return"null";let W=typeof _;if(W==="number")return w(_);if(W==="bigint")return P(_);if(W==="string")return K?`"${_.replace(/"|\\/g,"\\$&")}"`:`"${_}"`;if(W==="function")return S(_,I);if(W==="symbol")return q(_);let V=f.call(_);return V==="[object WeakMap]"?"WeakMap {}":V==="[object WeakSet]"?"WeakSet {}":V==="[object Function]"||V==="[object GeneratorFunction]"?S(_,I):V==="[object Symbol]"?q(_):V==="[object Date]"?isNaN(+_)?"Date { NaN }":d.call(_):V==="[object Error]"?h(_):V==="[object RegExp]"?D?p.call(_).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):p.call(_):_ instanceof Error?h(_):null}function j(_,I,D,K,W,V){if(W.indexOf(_)!==-1)return"[Circular]";W=W.slice(),W.push(_);let le=++K>I.maxDepth,ie=I.min;if(I.callToJSON&&!le&&_.toJSON&&typeof _.toJSON=="function"&&!V)return H(_.toJSON(),I,D,K,W,!0);let pe=f.call(_);return pe==="[object Arguments]"?le?"[Arguments]":`${ie?"":"Arguments "}[${(0,r.printListItems)(_,I,D,K,W,H)}]`:R(pe)?le?`[${_.constructor.name}]`:`${ie||!I.printBasicPrototype&&_.constructor.name==="Array"?"":`${_.constructor.name} `}[${(0,r.printListItems)(_,I,D,K,W,H)}]`:pe==="[object Map]"?le?"[Map]":`Map {${(0,r.printIteratorEntries)(_.entries(),I,D,K,W,H," => ")}}`:pe==="[object Set]"?le?"[Set]":`Set {${(0,r.printIteratorValues)(_.values(),I,D,K,W,H)}}`:le||b(_)?`[${m(_)}]`:`${ie||!I.printBasicPrototype&&m(_)==="Object"?"":`${m(_)} `}{${(0,r.printObjectProperties)(_,I,D,K,W,H)}}`}function M(_){return _.serialize!=null}function F(_,I,D,K,W,V){let le;try{le=M(_)?_.serialize(I,D,K,W,V,H):_.print(I,ie=>H(ie,D,K,W,V),ie=>{let pe=K+D.indent;return pe+ie.replace(y,` +${pe}`)},{edgeSpacing:D.spacingOuter,min:D.min,spacing:D.spacingInner},D.colors)}catch(ie){throw new v(ie.message,ie.stack)}if(typeof le!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof le}".`);return le}function U(_,I){for(let D=0;D<_.length;D++)try{if(_[D].test(I))return _[D]}catch(K){throw new v(K.message,K.stack)}return null}function H(_,I,D,K,W,V){let le=U(I.plugins,_);if(le!==null)return F(le,_,I,D,K,W);let ie=C(_,I.printFunctionName,I.escapeRegex,I.escapeString);return ie!==null?ie:j(_,I,D,K,W,V)}var ee={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},J=Object.keys(ee),oe=_=>_,ae=oe({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ee});e.DEFAULT_OPTIONS=ae;function ue(_){if(Object.keys(_).forEach(I=>{if(!Object.prototype.hasOwnProperty.call(ae,I))throw new Error(`pretty-format: Unknown option "${I}".`)}),_.min&&_.indent!==void 0&&_.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(_.theme!==void 0){if(_.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof _.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof _.theme}".`)}}var ce=_=>J.reduce((I,D)=>{let K=_.theme&&_.theme[D]!==void 0?_.theme[D]:ee[D],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[D]=W;else throw new Error(`pretty-format: Option "theme" has a key "${D}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),A=()=>J.reduce((_,I)=>(_[I]={close:"",open:""},_),Object.create(null)),x=_=>(_==null?void 0:_.printFunctionName)??ae.printFunctionName,L=_=>(_==null?void 0:_.escapeRegex)??ae.escapeRegex,N=_=>(_==null?void 0:_.escapeString)??ae.escapeString,G=_=>({callToJSON:(_==null?void 0:_.callToJSON)??ae.callToJSON,colors:_!=null&&_.highlight?ce(_):A(),compareKeys:typeof(_==null?void 0:_.compareKeys)=="function"||(_==null?void 0:_.compareKeys)===null?_.compareKeys:ae.compareKeys,escapeRegex:L(_),escapeString:N(_),indent:_!=null&&_.min?"":B((_==null?void 0:_.indent)??ae.indent),maxDepth:(_==null?void 0:_.maxDepth)??ae.maxDepth,maxWidth:(_==null?void 0:_.maxWidth)??ae.maxWidth,min:(_==null?void 0:_.min)??ae.min,plugins:(_==null?void 0:_.plugins)??ae.plugins,printBasicPrototype:(_==null?void 0:_.printBasicPrototype)??!0,printFunctionName:x(_),spacingInner:_!=null&&_.min?" ":` +`,spacingOuter:_!=null&&_.min?"":` +`});function B(_){return new Array(_+1).join(" ")}function k(_,I){if(I&&(ue(I),I.plugins)){let K=U(I.plugins,_);if(K!==null)return F(K,_,G(I),"",0,[])}let D=C(_,x(I),L(I),N(I));return D!==null?D:j(_,G(I),"",0,[])}var z={AsymmetricMatcher:n.default,DOMCollection:a.default,DOMElement:u.default,Immutable:o.default,ReactElement:l.default,ReactTestComponent:i.default};e.plugins=z;var Q=k;e.default=Q}}),Xs=E({"../../node_modules/diff-sequences/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var t="diff-sequences",r=0,n=(m,b,g,y,v)=>{let R=0;for(;m{let R=0;for(;m<=b&&g<=y&&v(b,y);)b-=1,y-=1,R+=1;return R},u=(m,b,g,y,v,R,w)=>{let P=0,S=-m,q=R[P],h=q;R[P]+=n(q+1,b,y+q-S+1,g,v);let C=m{let P=0,S=m,q=R[P],h=q;R[P]-=a(b,q-1,g,y+q-S-1,v);let C=m{let C=y-b,j=g-b,M=v-y-j,F=-M-(m-1),U=-M+(m-1),H=r,ee=m{let C=v-g,j=g-b,M=v-y-j,F=M-m,U=M+m,H=r,ee=m{let q=y-b,h=v-g,C=g-b,j=v-y,M=j-C,F=C,U=C;if(w[0]=b-1,P[0]=g,M%2===0){let H=(m||M)/2,ee=(C+j)/2;for(let J=1;J<=ee;J+=1)if(F=u(J,g,v,q,R,w,F),J{if(v-y{N(B,z,k)},isCommon:(B,k)=>G(k,B)}}let x=b,L=g;b=y,g=v,y=x,v=L}let{foundSubsequence:h,isCommon:C}=w[R?1:0];s(m,b,g,y,v,C,P,S,q);let{nChangePreceding:j,aEndPreceding:M,bEndPreceding:F,nCommonPreceding:U,aCommonPreceding:H,bCommonPreceding:ee,nCommonFollowing:J,aCommonFollowing:oe,bCommonFollowing:ae,nChangeFollowing:ue,aStartFollowing:ce,bStartFollowing:A}=q;b{if(typeof b!="number")throw new TypeError(`${t}: ${m} typeof ${typeof b} is not a number`);if(!Number.isSafeInteger(b))throw new RangeError(`${t}: ${m} value ${b} is not a safe integer`);if(b<0)throw new RangeError(`${t}: ${m} value ${b} is a negative integer`)},c=(m,b)=>{let g=typeof b;if(g!=="function")throw new TypeError(`${t}: ${m} typeof ${g} is not a function`)};function p(m,b,g,y){d("aLength",m),d("bLength",b),c("isCommon",g),c("foundSubsequence",y);let v=n(0,m,0,b,g);if(v!==0&&y(v,0,0),m!==v||b!==v){let R=v,w=v,P=a(R,m-1,w,b-1,g),S=m-P,q=b-P,h=v+P;m!==h&&b!==h&&f(0,R,S,w,q,!1,[{foundSubsequence:y,isCommon:g}],[r],[r],{aCommonFollowing:r,aCommonPreceding:r,aEndPreceding:r,aStartFollowing:r,bCommonFollowing:r,bCommonPreceding:r,bEndPreceding:r,bStartFollowing:r,nChangeFollowing:r,nChangePreceding:r,nCommonFollowing:r,nCommonPreceding:r}),P!==0&&y(P,S,q)}}}}),ab=E({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,u)=>Math.min(a,u.length),1/0):0}}}),lb=E({"../../node_modules/strip-indent/index.js"(e,t){var r=ab();t.exports=n=>{let a=r(n);if(a===0)return n;let u=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(u,"")}}}),ib=E({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let u=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(u,a.indent.repeat(n))}}}),Qs=E({"../../node_modules/redent/index.js"(e,t){var r=lb(),n=ib();t.exports=(a,u=0,o)=>n(r(a),u,o)}}),sb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,u={"@@iterator":function(){return u},next:function(){if(a=p.length?{done:!0}:{done:!1,value:p[g++]}},e:function(P){throw P},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,R=!1,w;return{s:function(){b=b.call(p)},n:function(){var P=b.next();return v=P.done,P},e:function(P){R=!0,w=P},f:function(){try{!v&&b.return!=null&&b.return()}finally{if(R)throw w}}}}function i(p,m){if(p){if(typeof p=="string")return s(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,g=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=l(f),g;try{for(b.s();!(g=b.n()).done;){var y=n(g.value,2),v=y[0],R=y[1];p.call(m,R,v,f)}}catch(w){b.e(w)}finally{b.f()}},get:function(p){var m=f.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return f.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return f.map(function(p){var m=n(p,2),b=m[1];return b})}},c=(0,t.default)(d,d.entries());e.default=c}}),cb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(an());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return o(p)||u(p,m)||i(p,m)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(p,m){var b=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(b!=null){var g=[],y=!0,v=!1,R,w;try{for(b=b.call(p);!(y=(R=b.next()).done)&&(g.push(R.value),!(m&&g.length===m));y=!0);}catch(P){v=!0,w=P}finally{try{!y&&b.return!=null&&b.return()}finally{if(v)throw w}}return g}}function o(p){if(Array.isArray(p))return p}function l(p,m){var b=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!b){if(Array.isArray(p)||(b=i(p))||m&&p&&typeof p.length=="number"){b&&(p=b);var g=0,y=function(){};return{s:y,n:function(){return g>=p.length?{done:!0}:{done:!1,value:p[g++]}},e:function(P){throw P},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,R=!1,w;return{s:function(){b=b.call(p)},n:function(){var P=b.next();return v=P.done,P},e:function(P){R=!0,w=P},f:function(){try{!v&&b.return!=null&&b.return()}finally{if(R)throw w}}}}function i(p,m){if(p){if(typeof p=="string")return s(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,g=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=l(f),g;try{for(b.s();!(g=b.n()).done;){var y=n(g.value,2),v=y[0],R=y[1];p.call(m,R,v,f)}}catch(w){b.e(w)}finally{b.f()}},get:function(p){var m=f.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return f.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return f.map(function(p){var m=n(p,2),b=m[1];return b})}},c=(0,t.default)(d,d.entries());e.default=c}}),db=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),fb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),pb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),mb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),bb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),yb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),hb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),gb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),vb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),_b=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),wb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Eb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Rb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(db()),r=p(fb()),n=p(pb()),a=p(mb()),u=p(bb()),o=p(yb()),l=p(hb()),i=p(gb()),s=p(vb()),f=p(_b()),d=p(wb()),c=p(Eb());function p(g){return g&&g.__esModule?g:{default:g}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",u.default],["roletype",o.default],["section",l.default],["sectionhead",i.default],["select",s.default],["structure",f.default],["widget",d.default],["window",c.default]],b=m;e.default=b}}),Cb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),qb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),Pb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Ob=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),Sb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Tb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ab=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{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}}),jb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Mb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Nb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ib=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{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}}),Bb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value: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}}),$b=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),kb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Db=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Lb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Fb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),Ub=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Hb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Vb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),zb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Wb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Gb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Kb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Yb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),Jb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),Xb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Qb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Zb=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ey=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ty=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),ry=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ny=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],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}}),oy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or 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}}),ay=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ly=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),iy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),sy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),cy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),dy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),fy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),py=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),my=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),by=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),yy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),hy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),gy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),vy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_y=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),wy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Ey=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Ry=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Cy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),qy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),Py=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Oy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Sy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Ty=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Ay=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),jy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),xy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),My=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),Ny=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Iy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),By=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),$y=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ky=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),Dy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),Ly=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Fy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),Uy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Hy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Vy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],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}}),zy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Wy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),Gy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),Ky=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Yy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Jy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),Xy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),Qy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=te(Cb()),r=te(qb()),n=te(Pb()),a=te(Ob()),u=te(Sb()),o=te(Tb()),l=te(Ab()),i=te(jb()),s=te(xb()),f=te(Mb()),d=te(Nb()),c=te(Ib()),p=te(Bb()),m=te($b()),b=te(kb()),g=te(Db()),y=te(Lb()),v=te(Fb()),R=te(Ub()),w=te(Hb()),P=te(Vb()),S=te(zb()),q=te(Wb()),h=te(Gb()),C=te(Kb()),j=te(Yb()),M=te(Jb()),F=te(Xb()),U=te(Qb()),H=te(Zb()),ee=te(ey()),J=te(ty()),oe=te(ry()),ae=te(ny()),ue=te(oy()),ce=te(ay()),A=te(ly()),x=te(iy()),L=te(sy()),N=te(uy()),G=te(cy()),B=te(dy()),k=te(fy()),z=te(py()),Q=te(my()),_=te(by()),I=te(yy()),D=te(hy()),K=te(gy()),W=te(vy()),V=te(_y()),le=te(wy()),ie=te(Ey()),pe=te(Ry()),_e=te(Cy()),Te=te(qy()),Xe=te(Py()),$e=te(Oy()),We=te(Sy()),Qe=te(Ty()),xe=te(Ay()),Re=te(jy()),Ge=te(xy()),qe=te(My()),Se=te(Ny()),Ae=te(Iy()),Ke=te(By()),bt=te($y()),nt=te(ky()),Me=te(Dy()),Y=te(Ly()),Z=te(Fy()),be=te(Uy()),O=te(Hy()),T=te(Vy()),$=te(zy()),X=te(Wy()),re=te(Gy()),se=te(Ky()),de=te(Yy()),fe=te(Jy()),me=te(Xy());function te(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}var ne=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",u.default],["blockquote",o.default],["button",l.default],["caption",i.default],["cell",s.default],["checkbox",f.default],["code",d.default],["columnheader",c.default],["combobox",p.default],["complementary",m.default],["contentinfo",b.default],["definition",g.default],["deletion",y.default],["dialog",v.default],["directory",R.default],["document",w.default],["emphasis",P.default],["feed",S.default],["figure",q.default],["form",h.default],["generic",C.default],["grid",j.default],["gridcell",M.default],["group",F.default],["heading",U.default],["img",H.default],["insertion",ee.default],["link",J.default],["list",oe.default],["listbox",ae.default],["listitem",ue.default],["log",ce.default],["main",A.default],["marquee",x.default],["math",L.default],["menu",N.default],["menubar",G.default],["menuitem",B.default],["menuitemcheckbox",k.default],["menuitemradio",z.default],["meter",Q.default],["navigation",_.default],["none",I.default],["note",D.default],["option",K.default],["paragraph",W.default],["presentation",V.default],["progressbar",le.default],["radio",ie.default],["radiogroup",pe.default],["region",_e.default],["row",Te.default],["rowgroup",Xe.default],["rowheader",$e.default],["scrollbar",We.default],["search",Qe.default],["searchbox",xe.default],["separator",Re.default],["slider",Ge.default],["spinbutton",qe.default],["status",Se.default],["strong",Ae.default],["subscript",Ke.default],["superscript",bt.default],["switch",nt.default],["tab",Me.default],["table",Y.default],["tablist",Z.default],["tabpanel",be.default],["term",O.default],["textbox",T.default],["time",$.default],["timer",X.default],["toolbar",re.default],["tooltip",se.default],["tree",de.default],["treegrid",fe.default],["treeitem",me.default]],Pe=ne;e.default=Pe}}),Zy=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),eh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),th=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),rh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),nh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],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}}),oh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),ah=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),lh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),ih=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),sh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ch=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),dh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ph=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),mh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),bh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),yh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),hh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),gh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),vh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_h=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Eh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Rh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Ch=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),qh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Ph=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Oh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),Sh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),Th=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),Ah=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),jh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),xh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Mh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),Nh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ih=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Bh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),$h=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),kh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=N(Zy()),r=N(eh()),n=N(th()),a=N(rh()),u=N(nh()),o=N(oh()),l=N(ah()),i=N(lh()),s=N(ih()),f=N(sh()),d=N(uh()),c=N(ch()),p=N(dh()),m=N(fh()),b=N(ph()),g=N(mh()),y=N(bh()),v=N(yh()),R=N(hh()),w=N(gh()),P=N(vh()),S=N(_h()),q=N(wh()),h=N(Eh()),C=N(Rh()),j=N(Ch()),M=N(qh()),F=N(Ph()),U=N(Oh()),H=N(Sh()),ee=N(Th()),J=N(Ah()),oe=N(jh()),ae=N(xh()),ue=N(Mh()),ce=N(Nh()),A=N(Ih()),x=N(Bh()),L=N($h());function N(k){return k&&k.__esModule?k:{default:k}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",u.default],["doc-biblioentry",o.default],["doc-bibliography",l.default],["doc-biblioref",i.default],["doc-chapter",s.default],["doc-colophon",f.default],["doc-conclusion",d.default],["doc-cover",c.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",g.default],["doc-endnotes",y.default],["doc-epigraph",v.default],["doc-epilogue",R.default],["doc-errata",w.default],["doc-example",P.default],["doc-footnote",S.default],["doc-foreword",q.default],["doc-glossary",h.default],["doc-glossref",C.default],["doc-index",j.default],["doc-introduction",M.default],["doc-noteref",F.default],["doc-notice",U.default],["doc-pagebreak",H.default],["doc-pagelist",ee.default],["doc-part",J.default],["doc-preface",oe.default],["doc-prologue",ae.default],["doc-pullquote",ue.default],["doc-qna",ce.default],["doc-subtitle",A.default],["doc-tip",x.default],["doc-toc",L.default]],B=G;e.default=B}}),Dh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),Lh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),Fh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),Uh=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Dh()),r=a(Lh()),n=a(Fh());function a(l){return l&&l.__esModule?l:{default:l}}var u=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],o=u;e.default=o}}),Ba=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(Rb()),r=o(Qy()),n=o(kh()),a=o(Uh()),u=o(an());function o(v){return v&&v.__esModule?v:{default:v}}function l(v,R,w){return R in v?Object.defineProperty(v,R,{value:w,enumerable:!0,configurable:!0,writable:!0}):v[R]=w,v}function i(v,R){var w=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!w){if(Array.isArray(v)||(w=d(v))||R&&v&&typeof v.length=="number"){w&&(v=w);var P=0,S=function(){};return{s:S,n:function(){return P>=v.length?{done:!0}:{done:!1,value:v[P++]}},e:function(j){throw j},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var q=!0,h=!1,C;return{s:function(){w=w.call(v)},n:function(){var j=w.next();return q=j.done,j},e:function(j){h=!0,C=j},f:function(){try{!q&&w.return!=null&&w.return()}finally{if(h)throw C}}}}function s(v,R){return m(v)||p(v,R)||d(v,R)||f()}function f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(v,R){if(v){if(typeof v=="string")return c(v,R);var w=Object.prototype.toString.call(v).slice(8,-1);if(w==="Object"&&v.constructor&&(w=v.constructor.name),w==="Map"||w==="Set")return Array.from(v);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return c(v,R)}}function c(v,R){(R==null||R>v.length)&&(R=v.length);for(var w=0,P=new Array(R);w1&&arguments[1]!==void 0?arguments[1]:null,w=i(b),P;try{for(w.s();!(P=w.n()).done;){var S=s(P.value,2),q=S[0],h=S[1];v.call(R,h,q,b)}}catch(C){w.e(C)}finally{w.f()}},get:function(v){var R=b.find(function(w){return w[0]===v});return R&&R[1]},has:function(v){return!!g.get(v)},keys:function(){return b.map(function(v){var R=s(v,1),w=R[0];return w})},values:function(){return b.map(function(v){var R=s(v,2),w=R[1];return w})}},y=(0,u.default)(g,g.entries());e.default=y}}),Zs=E({"../../node_modules/object-keys/isArguments.js"(e,t){var r=Object.prototype.toString;t.exports=function(n){var a=r.call(n),u=a==="[object Arguments]";return u||(u=a!=="[object Array]"&&n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&r.call(n.callee)==="[object Function]"),u}}}),Hh=E({"../../node_modules/object-keys/implementation.js"(e,t){var r;Object.keys||(n=Object.prototype.hasOwnProperty,a=Object.prototype.toString,u=Zs(),o=Object.prototype.propertyIsEnumerable,l=!o.call({toString:null},"toString"),i=o.call(function(){},"prototype"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=function(m){var b=m.constructor;return b&&b.prototype===m},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},c=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!d["$"+m]&&n.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{f(window[m])}catch{return!0}}catch{return!0}return!1}(),p=function(m){if(typeof window>"u"||!c)return f(m);try{return f(m)}catch{return!1}},r=function(m){var b=m!==null&&typeof m=="object",g=a.call(m)==="[object Function]",y=u(m),v=b&&a.call(m)==="[object String]",R=[];if(!b&&!g&&!y)throw new TypeError("Object.keys called on a non-object");var w=i&&g;if(v&&m.length>0&&!n.call(m,0))for(var P=0;P0)for(var S=0;S"u"||!y?r:y(Uint8Array),w={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":b&&y?y([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%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%":n,"%eval%":eval,"%EvalError%":a,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":v,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":b&&y?y(y([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!b||!y?r:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":u,"%ReferenceError%":o,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!b||!y?r:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":b&&y?y(""[Symbol.iterator]()):r,"%Symbol%":b?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":R,"%TypeError%":i,"%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%":s,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(y)try{null.error}catch(ue){P=y(y(ue)),w["%Error.prototype%"]=P}var P,S=function ue(ce){var A;if(ce==="%AsyncFunction%")A=d("async function () {}");else if(ce==="%GeneratorFunction%")A=d("function* () {}");else if(ce==="%AsyncGeneratorFunction%")A=d("async function* () {}");else if(ce==="%AsyncGenerator%"){var x=ue("%AsyncGeneratorFunction%");x&&(A=x.prototype)}else if(ce==="%AsyncIteratorPrototype%"){var L=ue("%AsyncGenerator%");L&&y&&(A=y(L.prototype))}return w[ce]=A,A},q={__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"]},h=Da(),C=tu(),j=h.call(Function.call,Array.prototype.concat),M=h.call(Function.apply,Array.prototype.splice),F=h.call(Function.call,String.prototype.replace),U=h.call(Function.call,String.prototype.slice),H=h.call(Function.call,RegExp.prototype.exec),ee=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,J=/\\(\\)?/g,oe=function(ue){var ce=U(ue,0,1),A=U(ue,-1);if(ce==="%"&&A!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(A==="%"&&ce!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var x=[];return F(ue,ee,function(L,N,G,B){x[x.length]=G?F(B,J,"$1"):N||L}),x},ae=function(ue,ce){var A=ue,x;if(C(q,A)&&(x=q[A],A="%"+x[0]+"%"),C(w,A)){var L=w[A];if(L===v&&(L=S(A)),typeof L>"u"&&!ce)throw new i("intrinsic "+ue+" exists, but is not available. Please file an issue!");return{alias:x,name:A,value:L}}throw new l("intrinsic "+ue+" does not exist!")};t.exports=function(ue,ce){if(typeof ue!="string"||ue.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ce!="boolean")throw new i('"allowMissing" argument must be a boolean');if(H(/^%?[^%]*%?$/,ue)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var A=oe(ue),x=A.length>0?A[0]:"",L=ae("%"+x+"%",ce),N=L.name,G=L.value,B=!1,k=L.alias;k&&(x=k[0],M(A,j([0,1],k)));for(var z=1,Q=!0;z=A.length){var K=c(G,_);Q=!!K,Q&&"get"in K&&!("originalValue"in K.get)?G=K.get:G=G[_]}else Q=C(G,_),G=G[_];Q&&!B&&(w[N]=G)}}return G}}}),La=E({"../../node_modules/es-define-property/index.js"(e,t){var r=dt(),n=r("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}t.exports=n}}),Fa=E({"../../node_modules/gopd/index.js"(e,t){var r=dt(),n=r("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch{n=null}t.exports=n}}),Ua=E({"../../node_modules/define-data-property/index.js"(e,t){var r=La(),n=eu(),a=Dt(),u=Fa();t.exports=function(o,l,i){if(!o||typeof o!="object"&&typeof o!="function")throw new a("`obj` must be an object or a function`");if(typeof l!="string"&&typeof l!="symbol")throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,c=arguments.length>6?arguments[6]:!1,p=!!u&&u(o,l);if(r)r(o,l,{configurable:d===null&&p?p.configurable:!d,enumerable:s===null&&p?p.enumerable:!s,value:i,writable:f===null&&p?p.writable:!f});else if(c||!s&&!f&&!d)o[l]=i;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}}}),Ha=E({"../../node_modules/has-property-descriptors/index.js"(e,t){var r=La(),n=function(){return!!r};n.hasArrayLengthDefineBug=function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},t.exports=n}}),Zt=E({"../../node_modules/define-properties/index.js"(e,t){var r=$a(),n=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",a=Object.prototype.toString,u=Array.prototype.concat,o=Ua(),l=function(d){return typeof d=="function"&&a.call(d)==="[object Function]"},i=Ha()(),s=function(d,c,p,m){if(c in d){if(m===!0){if(d[c]===p)return}else if(!l(m)||!m())return}i?o(d,c,p,!0):o(d,c,p)},f=function(d,c){var p=arguments.length>2?arguments[2]:{},m=r(c);n&&(m=u.call(m,Object.getOwnPropertySymbols(c)));for(var b=0;b4294967295||l(s)!==s)throw new o("`length` must be a positive 32-bit integer");var f=arguments.length>2&&!!arguments[2],d=!0,c=!0;if("length"in i&&u){var p=u(i,"length");p&&!p.configurable&&(d=!1),p&&!p.writable&&(c=!1)}return(d||c||!f)&&(a?n(i,"length",s,!0,!0):n(i,"length",s)),i}}}),Sr=E({"../../node_modules/call-bind/index.js"(e,t){var r=Da(),n=dt(),a=Xh(),u=Dt(),o=n("%Function.prototype.apply%"),l=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(l,o),s=La(),f=n("%Math.max%");t.exports=function(c){if(typeof c!="function")throw new u("a function is required");var p=i(r,l,arguments);return a(p,1+f(0,c.length-(arguments.length-1)),!0)};var d=function(){return i(r,o,arguments)};s?s(t.exports,"apply",{value:d}):t.exports.apply=d}}),rt=E({"../../node_modules/call-bind/callBound.js"(e,t){var r=dt(),n=Sr(),a=n(r("String.prototype.indexOf"));t.exports=function(u,o){var l=r(u,!!o);return typeof l=="function"&&a(u,".prototype.")>-1?n(l):l}}}),ru=E({"../../node_modules/object.assign/implementation.js"(e,t){var r=$a(),n=ro()(),a=rt(),u=Object,o=a("Array.prototype.push"),l=a("Object.prototype.propertyIsEnumerable"),i=n?Object.getOwnPropertySymbols:null;t.exports=function(s,f){if(s==null)throw new TypeError("target must be an object");var d=u(s);if(arguments.length===1)return d;for(var c=1;c2&&!!arguments[2];return(!i||a)&&(n?r(o,"name",l,!0,!0):r(o,"name",l)),o}}}),ou=E({"../../node_modules/regexp.prototype.flags/implementation.js"(e,t){var r=tg(),n=Dt(),a=Object;t.exports=r(function(){if(this==null||this!==a(this))throw new n("RegExp.prototype.flags getter called on non-object");var u="";return this.hasIndices&&(u+="d"),this.global&&(u+="g"),this.ignoreCase&&(u+="i"),this.multiline&&(u+="m"),this.dotAll&&(u+="s"),this.unicode&&(u+="u"),this.unicodeSets&&(u+="v"),this.sticky&&(u+="y"),u},"get flags",!0)}}),au=E({"../../node_modules/regexp.prototype.flags/polyfill.js"(e,t){var r=ou(),n=Zt().supportsDescriptors,a=Object.getOwnPropertyDescriptor;t.exports=function(){if(n&&/a/mig.flags==="gim"){var u=a(RegExp.prototype,"flags");if(u&&typeof u.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var o="",l={};if(Object.defineProperty(l,"hasIndices",{get:function(){o+="d"}}),Object.defineProperty(l,"sticky",{get:function(){o+="y"}}),o==="dy")return u.get}}return r}}}),rg=E({"../../node_modules/regexp.prototype.flags/shim.js"(e,t){var r=Zt().supportsDescriptors,n=au(),a=Object.getOwnPropertyDescriptor,u=Object.defineProperty,o=TypeError,l=Object.getPrototypeOf,i=/a/;t.exports=function(){if(!r||!l)throw new o("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var s=n(),f=l(i),d=a(f,"flags");return(!d||d.get!==s)&&u(f,"flags",{configurable:!0,enumerable:!1,get:s}),s}}}),ng=E({"../../node_modules/regexp.prototype.flags/index.js"(e,t){var r=Zt(),n=Sr(),a=ou(),u=au(),o=rg(),l=n(u());r(l,{getPolyfill:u,implementation:a,shim:o}),t.exports=l}}),er=E({"../../node_modules/has-tostringtag/shams.js"(e,t){var r=ro();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),lu=E({"../../node_modules/is-arguments/index.js"(e,t){var r=er()(),n=rt(),a=n("Object.prototype.toString"),u=function(i){return r&&i&&typeof i=="object"&&Symbol.toStringTag in i?!1:a(i)==="[object Arguments]"},o=function(i){return u(i)?!0:i!==null&&typeof i=="object"&&typeof i.length=="number"&&i.length>=0&&a(i)!=="[object Array]"&&a(i.callee)==="[object Function]"},l=function(){return u(arguments)}();u.isLegacyArguments=o,t.exports=l?u:o}}),og=E({"(disabled):../../node_modules/object-inspect/util.inspect"(){}}),ag=E({"../../node_modules/object-inspect/index.js"(e,t){var r=typeof Map=="function"&&Map.prototype,n=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&n&&typeof n.get=="function"?n.get:null,u=r&&Map.prototype.forEach,o=typeof Set=="function"&&Set.prototype,l=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,i=o&&l&&typeof l.get=="function"?l.get:null,s=o&&Set.prototype.forEach,f=typeof WeakMap=="function"&&WeakMap.prototype,d=f?WeakMap.prototype.has:null,c=typeof WeakSet=="function"&&WeakSet.prototype,p=c?WeakSet.prototype.has:null,m=typeof WeakRef=="function"&&WeakRef.prototype,b=m?WeakRef.prototype.deref:null,g=Boolean.prototype.valueOf,y=Object.prototype.toString,v=Function.prototype.toString,R=String.prototype.match,w=String.prototype.slice,P=String.prototype.replace,S=String.prototype.toUpperCase,q=String.prototype.toLowerCase,h=RegExp.prototype.test,C=Array.prototype.concat,j=Array.prototype.join,M=Array.prototype.slice,F=Math.floor,U=typeof BigInt=="function"?BigInt.prototype.valueOf:null,H=Object.getOwnPropertySymbols,ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,J=typeof Symbol=="function"&&typeof Symbol.iterator=="object",oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===J||!0)?Symbol.toStringTag:null,ae=Object.prototype.propertyIsEnumerable,ue=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(Y){return Y.__proto__}:null);function ce(Y,Z){if(Y===1/0||Y===-1/0||Y!==Y||Y&&Y>-1e3&&Y<1e3||h.call(/e/,Z))return Z;var be=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof Y=="number"){var O=Y<0?-F(-Y):F(Y);if(O!==Y){var T=String(O),$=w.call(Z,T.length+1);return P.call(T,be,"$&_")+"."+P.call(P.call($,/([0-9]{3})/g,"$&_"),/_$/,"")}}return P.call(Z,be,"$&_")}var A=og(),x=A.custom,L=K(x)?x:null;t.exports=function Y(Z,be,O,T){var $=be||{};if(le($,"quoteStyle")&&$.quoteStyle!=="single"&&$.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(le($,"maxStringLength")&&(typeof $.maxStringLength=="number"?$.maxStringLength<0&&$.maxStringLength!==1/0:$.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var X=le($,"customInspect")?$.customInspect:!0;if(typeof X!="boolean"&&X!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(le($,"indent")&&$.indent!==null&&$.indent!==" "&&!(parseInt($.indent,10)===$.indent&&$.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(le($,"numericSeparator")&&typeof $.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var re=$.numericSeparator;if(typeof Z>"u")return"undefined";if(Z===null)return"null";if(typeof Z=="boolean")return Z?"true":"false";if(typeof Z=="string")return Re(Z,$);if(typeof Z=="number"){if(Z===0)return 1/0/Z>0?"0":"-0";var se=String(Z);return re?ce(Z,se):se}if(typeof Z=="bigint"){var de=String(Z)+"n";return re?ce(Z,de):de}var fe=typeof $.depth>"u"?5:$.depth;if(typeof O>"u"&&(O=0),O>=fe&&fe>0&&typeof Z=="object")return B(Z)?"[Array]":"[Object]";var me=bt($,O);if(typeof T>"u")T=[];else if(_e(T,Z)>=0)return"[Circular]";function te(lr,pn,Zf){if(pn&&(T=M.call(T),T.push(pn)),Zf){var wl={depth:$.depth};return le($,"quoteStyle")&&(wl.quoteStyle=$.quoteStyle),Y(lr,wl,O+1,T)}return Y(lr,$,O+1,T)}if(typeof Z=="function"&&!z(Z)){var ne=pe(Z),Pe=Me(Z,te);return"[Function"+(ne?": "+ne:" (anonymous)")+"]"+(Pe.length>0?" { "+j.call(Pe,", ")+" }":"")}if(K(Z)){var Ie=J?P.call(String(Z),/^(Symbol\(.*\))_[^)]*$/,"$1"):ee.call(Z);return typeof Z=="object"&&!J?qe(Ie):Ie}if(xe(Z)){for(var Oe="<"+q.call(String(Z.nodeName)),Be=Z.attributes||[],ke=0;ke",Oe}if(B(Z)){if(Z.length===0)return"[]";var Ut=Me(Z,te);return me&&!Ke(Ut)?"["+nt(Ut,me)+"]":"[ "+j.call(Ut,", ")+" ]"}if(Q(Z)){var yt=Me(Z,te);return!("cause"in Error.prototype)&&"cause"in Z&&!ae.call(Z,"cause")?"{ ["+String(Z)+"] "+j.call(C.call("[cause]: "+te(Z.cause),yt),", ")+" }":yt.length===0?"["+String(Z)+"]":"{ ["+String(Z)+"] "+j.call(yt,", ")+" }"}if(typeof Z=="object"&&X){if(L&&typeof Z[L]=="function"&&A)return A(Z,{depth:fe-O});if(X!=="symbol"&&typeof Z.inspect=="function")return Z.inspect()}if(Te(Z)){var ar=[];return u&&u.call(Z,function(lr,pn){ar.push(te(pn,Z,!0)+" => "+te(lr,Z))}),Ae("Map",a.call(Z),ar,me)}if(We(Z)){var Tt=[];return s&&s.call(Z,function(lr){Tt.push(te(lr,Z))}),Ae("Set",i.call(Z),Tt,me)}if(Xe(Z))return Se("WeakMap");if(Qe(Z))return Se("WeakSet");if($e(Z))return Se("WeakRef");if(I(Z))return qe(te(Number(Z)));if(W(Z))return qe(te(U.call(Z)));if(D(Z))return qe(g.call(Z));if(_(Z))return qe(te(String(Z)));if(typeof window<"u"&&Z===window)return"{ [object Window] }";if(Z===global)return"{ [object globalThis] }";if(!k(Z)&&!z(Z)){var Ht=Me(Z,te),ut=ue?ue(Z)===Object.prototype:Z instanceof Object||Z.constructor===Object,vo=Z instanceof Object?"":"null prototype",_l=!ut&&oe&&Object(Z)===Z&&oe in Z?w.call(ie(Z),8,-1):vo?"Object":"",Qf=ut||typeof Z.constructor!="function"?"":Z.constructor.name?Z.constructor.name+" ":"",_o=Qf+(_l||vo?"["+j.call(C.call([],_l||[],vo||[]),": ")+"] ":"");return Ht.length===0?_o+"{}":me?_o+"{"+nt(Ht,me)+"}":_o+"{ "+j.call(Ht,", ")+" }"}return String(Z)};function N(Y,Z,be){var O=(be.quoteStyle||Z)==="double"?'"':"'";return O+Y+O}function G(Y){return P.call(String(Y),/"/g,""")}function B(Y){return ie(Y)==="[object Array]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function k(Y){return ie(Y)==="[object Date]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function z(Y){return ie(Y)==="[object RegExp]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function Q(Y){return ie(Y)==="[object Error]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function _(Y){return ie(Y)==="[object String]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function I(Y){return ie(Y)==="[object Number]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function D(Y){return ie(Y)==="[object Boolean]"&&(!oe||!(typeof Y=="object"&&oe in Y))}function K(Y){if(J)return Y&&typeof Y=="object"&&Y instanceof Symbol;if(typeof Y=="symbol")return!0;if(!Y||typeof Y!="object"||!ee)return!1;try{return ee.call(Y),!0}catch{}return!1}function W(Y){if(!Y||typeof Y!="object"||!U)return!1;try{return U.call(Y),!0}catch{}return!1}var V=Object.prototype.hasOwnProperty||function(Y){return Y in this};function le(Y,Z){return V.call(Y,Z)}function ie(Y){return y.call(Y)}function pe(Y){if(Y.name)return Y.name;var Z=R.call(v.call(Y),/^function\s*([\w$]+)/);return Z?Z[1]:null}function _e(Y,Z){if(Y.indexOf)return Y.indexOf(Z);for(var be=0,O=Y.length;beZ.maxStringLength){var be=Y.length-Z.maxStringLength,O="... "+be+" more character"+(be>1?"s":"");return Re(w.call(Y,0,Z.maxStringLength),Z)+O}var T=P.call(P.call(Y,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Ge);return N(T,"single",Z)}function Ge(Y){var Z=Y.charCodeAt(0),be={8:"b",9:"t",10:"n",12:"f",13:"r"}[Z];return be?"\\"+be:"\\x"+(Z<16?"0":"")+S.call(Z.toString(16))}function qe(Y){return"Object("+Y+")"}function Se(Y){return Y+" { ? }"}function Ae(Y,Z,be,O){var T=O?nt(be,O):j.call(be,", ");return Y+" ("+Z+") {"+T+"}"}function Ke(Y){for(var Z=0;Z=0)return!1;return!0}function bt(Y,Z){var be;if(Y.indent===" ")be=" ";else if(typeof Y.indent=="number"&&Y.indent>0)be=j.call(Array(Y.indent+1)," ");else return null;return{base:be,prev:j.call(Array(Z+1),be)}}function nt(Y,Z){if(Y.length===0)return"";var be=` +`+Z.prev+Z.base;return be+j.call(Y,","+be)+` +`+Z.prev}function Me(Y,Z){var be=B(Y),O=[];if(be){O.length=Y.length;for(var T=0;T=F)return M+1;var U=c(j,M);if(U<55296||U>56319)return M+1;var H=c(j,M+1);return H<56320||H>57343?M+1:M+2},b=function(j){var M=0;return{next:function(){var F=M>=j.length,U;return F||(U=j[M],M+=1),{done:F,value:U}}}},g=function(j,M){if(u(j)||r(j))return b(j);if(o(j)){var F=0;return{next:function(){var U=m(j,F),H=p(j,F,U);return F=U,{done:U>j.length,value:H}}}}if(M&&typeof j["_es6-shim iterator_"]<"u")return j["_es6-shim iterator_"]()},!i&&!s?t.exports=function(j){if(j!=null)return g(j,!0)}:(y=cu(),v=du(),R=f("Map.prototype.forEach",!0),w=f("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&(P=f("Map.prototype.iterator",!0),S=f("Set.prototype.iterator",!0)),q=f("Map.prototype.@@iterator",!0)||f("Map.prototype._es6-shim iterator_",!0),h=f("Set.prototype.@@iterator",!0)||f("Set.prototype._es6-shim iterator_",!0),C=function(j){if(y(j)){if(P)return n(P(j));if(q)return q(j);if(R){var M=[];return R(j,function(U,H){d(M,[H,U])}),b(M)}}if(v(j)){if(S)return n(S(j));if(h)return h(j);if(w){var F=[];return w(j,function(U){d(F,U)}),b(F)}}},t.exports=function(j){return C(j)||g(j)}));var a,u,o,l,i,s,f,d,c,p,m,b,g,y,v,R,w,P,S,q,h,C}}),fu=E({"../../node_modules/object-is/implementation.js"(e,t){var r=function(n){return n!==n};t.exports=function(n,a){return n===0&&a===0?1/n===1/a:!!(n===a||r(n)&&r(a))}}}),pu=E({"../../node_modules/object-is/polyfill.js"(e,t){var r=fu();t.exports=function(){return typeof Object.is=="function"?Object.is:r}}}),ug=E({"../../node_modules/object-is/shim.js"(e,t){var r=pu(),n=Zt();t.exports=function(){var a=r();return n(Object,{is:a},{is:function(){return Object.is!==a}}),a}}}),cg=E({"../../node_modules/object-is/index.js"(e,t){var r=Zt(),n=Sr(),a=fu(),u=pu(),o=ug(),l=n(u(),Object);r(l,{getPolyfill:u,implementation:a,shim:o}),t.exports=l}}),mu=E({"../../node_modules/is-array-buffer/index.js"(e,t){var r=Sr(),n=rt(),a=dt(),u=a("%ArrayBuffer%",!0),o=n("ArrayBuffer.prototype.byteLength",!0),l=n("Object.prototype.toString"),i=!!u&&!o&&new u(0).slice,s=!!i&&r(i);t.exports=o||s?function(f){if(!f||typeof f!="object")return!1;try{return o?o(f):s(f,0),!0}catch{return!1}}:u?function(f){return l(f)==="[object ArrayBuffer]"}:function(f){return!1}}}),dg=E({"../../node_modules/is-date-object/index.js"(e,t){var r=Date.prototype.getDay,n=function(l){try{return r.call(l),!0}catch{return!1}},a=Object.prototype.toString,u="[object Date]",o=er()();t.exports=function(l){return typeof l!="object"||l===null?!1:o?n(l):a.call(l)===u}}}),fg=E({"../../node_modules/is-regex/index.js"(e,t){var r=rt(),n=er()(),a,u,o,l;n&&(a=r("Object.prototype.hasOwnProperty"),u=r("RegExp.prototype.exec"),o={},i=function(){throw o},l={toString:i,valueOf:i},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=i));var i,s=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,d="[object RegExp]";t.exports=n?function(c){if(!c||typeof c!="object")return!1;var p=f(c,"lastIndex"),m=p&&a(p,"value");if(!m)return!1;try{u(c,l)}catch(b){return b===o}}:function(c){return!c||typeof c!="object"&&typeof c!="function"?!1:s(c)===d}}}),pg=E({"../../node_modules/is-shared-array-buffer/index.js"(e,t){var r=rt(),n=r("SharedArrayBuffer.prototype.byteLength",!0);t.exports=n?function(a){if(!a||typeof a!="object")return!1;try{return n(a),!0}catch{return!1}}:function(a){return!1}}}),mg=E({"../../node_modules/is-number-object/index.js"(e,t){var r=Number.prototype.toString,n=function(l){try{return r.call(l),!0}catch{return!1}},a=Object.prototype.toString,u="[object Number]",o=er()();t.exports=function(l){return typeof l=="number"?!0:typeof l!="object"?!1:o?n(l):a.call(l)===u}}}),bg=E({"../../node_modules/is-boolean-object/index.js"(e,t){var r=rt(),n=r("Boolean.prototype.toString"),a=r("Object.prototype.toString"),u=function(i){try{return n(i),!0}catch{return!1}},o="[object Boolean]",l=er()();t.exports=function(i){return typeof i=="boolean"?!0:i===null||typeof i!="object"?!1:l&&Symbol.toStringTag in i?u(i):a(i)===o}}}),yg=E({"../../node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=ka()();n?(a=Symbol.prototype.toString,u=/^Symbol\(.*\)$/,o=function(l){return typeof l.valueOf()!="symbol"?!1:u.test(a.call(l))},t.exports=function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return o(l)}catch{return!1}}):t.exports=function(l){return!1};var a,u,o}}),hg=E({"../../node_modules/has-bigints/index.js"(e,t){var r=typeof BigInt<"u"&&BigInt;t.exports=function(){return typeof r=="function"&&typeof BigInt=="function"&&typeof r(42)=="bigint"&&typeof BigInt(42)=="bigint"}}}),gg=E({"../../node_modules/is-bigint/index.js"(e,t){var r=hg()();r?(n=BigInt.prototype.valueOf,a=function(u){try{return n.call(u),!0}catch{}return!1},t.exports=function(u){return u===null||typeof u>"u"||typeof u=="boolean"||typeof u=="string"||typeof u=="number"||typeof u=="symbol"||typeof u=="function"?!1:typeof u=="bigint"?!0:a(u)}):t.exports=function(u){return!1};var n,a}}),vg=E({"../../node_modules/which-boxed-primitive/index.js"(e,t){var r=uu(),n=mg(),a=bg(),u=yg(),o=gg();t.exports=function(l){if(l==null||typeof l!="object"&&typeof l!="function")return null;if(r(l))return"String";if(n(l))return"Number";if(a(l))return"Boolean";if(u(l))return"Symbol";if(o(l))return"BigInt"}}}),_g=E({"../../node_modules/is-weakmap/index.js"(e,t){var r=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,n=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,a;r||(a=function(l){return!1});var u=r?r.prototype.has:null,o=n?n.prototype.has:null;!a&&!u&&(a=function(l){return!1}),t.exports=a||function(l){if(!l||typeof l!="object")return!1;try{if(u.call(l,u),o)try{o.call(l,o)}catch{return!0}return l instanceof r}catch{}return!1}}}),wg=E({"../../node_modules/is-weakset/index.js"(e,t){var r=dt(),n=rt(),a=r("%WeakSet%",!0),u=n("WeakSet.prototype.has",!0);u?(o=n("WeakMap.prototype.has",!0),t.exports=function(l){if(!l||typeof l!="object")return!1;try{if(u(l,u),o)try{o(l,o)}catch{return!0}return l instanceof a}catch{}return!1}):t.exports=function(l){return!1};var o}}),Eg=E({"../../node_modules/which-collection/index.js"(e,t){var r=cu(),n=du(),a=_g(),u=wg();t.exports=function(o){if(o&&typeof o=="object"){if(r(o))return"Map";if(n(o))return"Set";if(a(o))return"WeakMap";if(u(o))return"WeakSet"}return!1}}}),Rg=E({"../../node_modules/is-callable/index.js"(e,t){var r=Function.prototype.toString,n=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,a,u;if(typeof n=="function"&&typeof Object.defineProperty=="function")try{a=Object.defineProperty({},"length",{get:function(){throw u}}),u={},n(function(){throw 42},null,a)}catch(w){w!==u&&(n=null)}else n=null;var o=/^\s*class\b/,l=function(w){try{var P=r.call(w);return o.test(P)}catch{return!1}},i=function(w){try{return l(w)?!1:(r.call(w),!0)}catch{return!1}},s=Object.prototype.toString,f="[object Object]",d="[object Function]",c="[object GeneratorFunction]",p="[object HTMLAllCollection]",m="[object HTML document.all class]",b="[object HTMLCollection]",g=typeof Symbol=="function"&&!!Symbol.toStringTag,y=!(0 in[,]),v=function(){return!1};typeof document=="object"&&(R=document.all,s.call(R)===s.call(document.all)&&(v=function(w){if((y||!w)&&(typeof w>"u"||typeof w=="object"))try{var P=s.call(w);return(P===p||P===m||P===b||P===f)&&w("")==null}catch{}return!1}));var R;t.exports=n?function(w){if(v(w))return!0;if(!w||typeof w!="function"&&typeof w!="object")return!1;try{n(w,null,a)}catch(P){if(P!==u)return!1}return!l(w)&&i(w)}:function(w){if(v(w))return!0;if(!w||typeof w!="function"&&typeof w!="object")return!1;if(g)return i(w);if(l(w))return!1;var P=s.call(w);return P!==d&&P!==c&&!/^\[object HTML/.test(P)?!1:i(w)}}}),Cg=E({"../../node_modules/for-each/index.js"(e,t){var r=Rg(),n=Object.prototype.toString,a=Object.prototype.hasOwnProperty,u=function(s,f,d){for(var c=0,p=s.length;c=3&&(c=d),n.call(s)==="[object Array]"?u(s,f,c):typeof s=="string"?o(s,f,c):l(s,f,c)};t.exports=i}}),qg=E({"../../node_modules/possible-typed-array-names/index.js"(e,t){t.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]}}),Pg=E({"../../node_modules/available-typed-arrays/index.js"(e,t){var r=qg(),n=typeof globalThis>"u"?global:globalThis;t.exports=function(){for(var a=[],u=0;u"u"?global:globalThis,f=n(),d=u("String.prototype.slice"),c=Object.getPrototypeOf,p=u("Array.prototype.indexOf",!0)||function(y,v){for(var R=0;R-1?v:v!=="Object"?!1:g(y)}return o?b(y):null}}}),Sg=E({"../../node_modules/array-buffer-byte-length/index.js"(e,t){var r=rt(),n=r("ArrayBuffer.prototype.byteLength",!0),a=mu();t.exports=function(u){return a(u)?n?n(u):u.byteLength:NaN}}}),Tg=E({"../../node_modules/deep-equal/index.js"(e,t){var r=Zh(),n=rt(),a=ng(),u=dt(),o=sg(),l=iu(),i=cg(),s=lu(),f=su(),d=mu(),c=dg(),p=fg(),m=pg(),b=$a(),g=vg(),y=Eg(),v=Og(),R=Sg(),w=n("SharedArrayBuffer.prototype.byteLength",!0),P=n("Date.prototype.getTime"),S=Object.getPrototypeOf,q=n("Object.prototype.toString"),h=u("%Set%",!0),C=n("Map.prototype.has",!0),j=n("Map.prototype.get",!0),M=n("Map.prototype.size",!0),F=n("Set.prototype.add",!0),U=n("Set.prototype.delete",!0),H=n("Set.prototype.has",!0),ee=n("Set.prototype.size",!0);function J(B,k,z,Q){for(var _=o(B),I;(I=_.next())&&!I.done;)if(A(k,I.value,z,Q))return U(B,I.value),!0;return!1}function oe(B){if(typeof B>"u")return null;if(typeof B!="object")return typeof B=="symbol"?!1:typeof B=="string"||typeof B=="number"?+B==+B:!0}function ae(B,k,z,Q,_,I){var D=oe(z);if(D!=null)return D;var K=j(k,D),W=r({},_,{strict:!1});return typeof K>"u"&&!C(k,D)||!A(Q,K,W,I)?!1:!C(B,D)&&A(Q,K,W,I)}function ue(B,k,z){var Q=oe(z);return Q??(H(k,Q)&&!H(B,Q))}function ce(B,k,z,Q,_,I){for(var D=o(B),K,W;(K=D.next())&&!K.done;)if(W=K.value,A(z,W,_,I)&&A(Q,j(k,W),_,I))return U(B,W),!0;return!1}function A(B,k,z,Q){var _=z||{};if(_.strict?i(B,k):B===k)return!0;var I=g(B),D=g(k);if(I!==D)return!1;if(!B||!k||typeof B!="object"&&typeof k!="object")return _.strict?i(B,k):B==k;var K=Q.has(B),W=Q.has(k),V;if(K&&W){if(Q.get(B)===Q.get(k))return!0}else V={};return K||Q.set(B,V),W||Q.set(k,V),G(B,k,_,Q)}function x(B){return!B||typeof B!="object"||typeof B.length!="number"||typeof B.copy!="function"||typeof B.slice!="function"||B.length>0&&typeof B[0]!="number"?!1:!!(B.constructor&&B.constructor.isBuffer&&B.constructor.isBuffer(B))}function L(B,k,z,Q){if(ee(B)!==ee(k))return!1;for(var _=o(B),I=o(k),D,K,W;(D=_.next())&&!D.done;)if(D.value&&typeof D.value=="object")W||(W=new h),F(W,D.value);else if(!H(k,D.value)){if(z.strict||!ue(B,k,D.value))return!1;W||(W=new h),F(W,D.value)}if(W){for(;(K=I.next())&&!K.done;)if(K.value&&typeof K.value=="object"){if(!J(W,K.value,z.strict,Q))return!1}else if(!z.strict&&!H(B,K.value)&&!J(W,K.value,z.strict,Q))return!1;return ee(W)===0}return!0}function N(B,k,z,Q){if(M(B)!==M(k))return!1;for(var _=o(B),I=o(k),D,K,W,V,le,ie;(D=_.next())&&!D.done;)if(V=D.value[0],le=D.value[1],V&&typeof V=="object")W||(W=new h),F(W,V);else if(ie=j(k,V),typeof ie>"u"&&!C(k,V)||!A(le,ie,z,Q)){if(z.strict||!ae(B,k,V,le,z,Q))return!1;W||(W=new h),F(W,V)}if(W){for(;(K=I.next())&&!K.done;)if(V=K.value[0],ie=K.value[1],V&&typeof V=="object"){if(!ce(W,B,V,ie,z,Q))return!1}else if(!z.strict&&(!B.has(V)||!A(j(B,V),ie,z,Q))&&!ce(W,B,V,ie,r({},z,{strict:!1}),Q))return!1;return ee(W)===0}return!0}function G(B,k,z,Q){var _,I;if(typeof B!=typeof k||B==null||k==null||q(B)!==q(k)||s(B)!==s(k))return!1;var D=f(B),K=f(k);if(D!==K)return!1;var W=B instanceof Error,V=k instanceof Error;if(W!==V||(W||V)&&(B.name!==k.name||B.message!==k.message))return!1;var le=p(B),ie=p(k);if(le!==ie||(le||ie)&&(B.source!==k.source||a(B)!==a(k)))return!1;var pe=c(B),_e=c(k);if(pe!==_e||(pe||_e)&&P(B)!==P(k)||z.strict&&S&&S(B)!==S(k))return!1;var Te=v(B),Xe=v(k);if(Te!==Xe)return!1;if(Te||Xe){if(B.length!==k.length)return!1;for(_=0;_=0;_--)if(qe[_]!=Se[_])return!1;for(_=qe.length-1;_>=0;_--)if(I=qe[_],!A(B[I],k[I],z,Q))return!1;var Ae=y(B),Ke=y(k);return Ae!==Ke?!1:Ae==="Set"||Ke==="Set"?L(B,k,z,Q):Ae==="Map"?N(B,k,z,Q):!0}t.exports=function(B,k,z){return A(B,k,z,l())}}}),Ag=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Tg()),r=a(an()),n=a(Ba());function a(q){return q&&q.__esModule?q:{default:q}}function u(q,h){return i(q)||l(q,h)||f(q,h)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(q,h){var C=q==null?null:typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(C!=null){var j=[],M=!0,F=!1,U,H;try{for(C=C.call(q);!(M=(U=C.next()).done)&&(j.push(U.value),!(h&&j.length===h));M=!0);}catch(ee){F=!0,H=ee}finally{try{!M&&C.return!=null&&C.return()}finally{if(F)throw H}}return j}}function i(q){if(Array.isArray(q))return q}function s(q,h){var C=typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(!C){if(Array.isArray(q)||(C=f(q))||h&&q&&typeof q.length=="number"){C&&(q=C);var j=0,M=function(){};return{s:M,n:function(){return j>=q.length?{done:!0}:{done:!1,value:q[j++]}},e:function(ee){throw ee},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F=!0,U=!1,H;return{s:function(){C=C.call(q)},n:function(){var ee=C.next();return F=ee.done,ee},e:function(ee){U=!0,H=ee},f:function(){try{!F&&C.return!=null&&C.return()}finally{if(U)throw H}}}}function f(q,h){if(q){if(typeof q=="string")return d(q,h);var C=Object.prototype.toString.call(q).slice(8,-1);if(C==="Object"&&q.constructor&&(C=q.constructor.name),C==="Map"||C==="Set")return Array.from(q);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return d(q,h)}}function d(q,h){(h==null||h>q.length)&&(h=q.length);for(var C=0,j=new Array(h);C1&&arguments[1]!==void 0?arguments[1]:null,C=s(c),j;try{for(C.s();!(j=C.n()).done;){var M=u(j.value,2),F=M[0],U=M[1];q.call(h,U,F,c)}}catch(H){C.e(H)}finally{C.f()}},get:function(q){var h=c.find(function(C){return(0,t.default)(q,C[0])});return h&&h[1]},has:function(q){return!!P.get(q)},keys:function(){return c.map(function(q){var h=u(q,1),C=h[0];return C})},values:function(){return c.map(function(q){var h=u(q,2),C=h[1];return C})}},S=(0,r.default)(P,P.entries());e.default=S}}),jg=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(an()),r=n(Ba());function n(y){return y&&y.__esModule?y:{default:y}}function a(y,v){return l(y)||o(y,v)||s(y,v)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(y,v){var R=y==null?null:typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(R!=null){var w=[],P=!0,S=!1,q,h;try{for(R=R.call(y);!(P=(q=R.next()).done)&&(w.push(q.value),!(v&&w.length===v));P=!0);}catch(C){S=!0,h=C}finally{try{!P&&R.return!=null&&R.return()}finally{if(S)throw h}}return w}}function l(y){if(Array.isArray(y))return y}function i(y,v){var R=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!R){if(Array.isArray(y)||(R=s(y))||v&&y&&typeof y.length=="number"){R&&(y=R);var w=0,P=function(){};return{s:P,n:function(){return w>=y.length?{done:!0}:{done:!1,value:y[w++]}},e:function(C){throw C},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S=!0,q=!1,h;return{s:function(){R=R.call(y)},n:function(){var C=R.next();return S=C.done,C},e:function(C){q=!0,h=C},f:function(){try{!S&&R.return!=null&&R.return()}finally{if(q)throw h}}}}function s(y,v){if(y){if(typeof y=="string")return f(y,v);var R=Object.prototype.toString.call(y).slice(8,-1);if(R==="Object"&&y.constructor&&(R=y.constructor.name),R==="Map"||R==="Set")return Array.from(y);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return f(y,v)}}function f(y,v){(v==null||v>y.length)&&(v=y.length);for(var R=0,w=new Array(v);R1&&arguments[1]!==void 0?arguments[1]:null,R=i(d),w;try{for(R.s();!(w=R.n()).done;){var P=a(w.value,2),S=P[0],q=P[1];y.call(v,q,S,d)}}catch(h){R.e(h)}finally{R.f()}},get:function(y){var v=d.find(function(R){return R[0]===y});return v&&v[1]},has:function(y){return!!b.get(y)},keys:function(){return d.map(function(y){var v=a(y,1),R=v[0];return R})},values:function(){return d.map(function(y){var v=a(y,2),R=v[1];return R})}},g=(0,t.default)(b,b.entries());e.default=g}}),bu=E({"../../node_modules/@testing-library/jest-dom/node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=o(ub()),r=o(cb()),n=o(Ba()),a=o(Ag()),u=o(jg());function o(c){return c&&c.__esModule?c:{default:c}}var l=t.default;e.aria=l;var i=r.default;e.dom=i;var s=n.default;e.roles=s;var f=a.default;e.elementRoles=f;var d=u.default;e.roleElements=d}}),xg=E({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),yu=E({"../../node_modules/color-convert/conversions.js"(e,t){var r=xg(),n={};for(let o of Object.keys(r))n[r[o]]=o;var a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=a;for(let o of Object.keys(a)){if(!("channels"in a[o]))throw new Error("missing channels property: "+o);if(!("labels"in a[o]))throw new Error("missing channel labels property: "+o);if(a[o].labels.length!==a[o].channels)throw new Error("channel and label counts mismatch: "+o);let{channels:l,labels:i}=a[o];delete a[o].channels,delete a[o].labels,Object.defineProperty(a[o],"channels",{value:l}),Object.defineProperty(a[o],"labels",{value:i})}a.rgb.hsl=function(o){let l=o[0]/255,i=o[1]/255,s=o[2]/255,f=Math.min(l,i,s),d=Math.max(l,i,s),c=d-f,p,m;d===f?p=0:l===d?p=(i-s)/c:i===d?p=2+(s-l)/c:s===d&&(p=4+(l-i)/c),p=Math.min(p*60,360),p<0&&(p+=360);let b=(f+d)/2;return d===f?m=0:b<=.5?m=c/(d+f):m=c/(2-d-f),[p,m*100,b*100]},a.rgb.hsv=function(o){let l,i,s,f,d,c=o[0]/255,p=o[1]/255,m=o[2]/255,b=Math.max(c,p,m),g=b-Math.min(c,p,m),y=function(v){return(b-v)/6/g+1/2};return g===0?(f=0,d=0):(d=g/b,l=y(c),i=y(p),s=y(m),c===b?f=s-i:p===b?f=1/3+l-s:m===b&&(f=2/3+i-l),f<0?f+=1:f>1&&(f-=1)),[f*360,d*100,b*100]},a.rgb.hwb=function(o){let l=o[0],i=o[1],s=o[2],f=a.rgb.hsl(o)[0],d=1/255*Math.min(l,Math.min(i,s));return s=1-1/255*Math.max(l,Math.max(i,s)),[f,d*100,s*100]},a.rgb.cmyk=function(o){let l=o[0]/255,i=o[1]/255,s=o[2]/255,f=Math.min(1-l,1-i,1-s),d=(1-l-f)/(1-f)||0,c=(1-i-f)/(1-f)||0,p=(1-s-f)/(1-f)||0;return[d*100,c*100,p*100,f*100]};function u(o,l){return(o[0]-l[0])**2+(o[1]-l[1])**2+(o[2]-l[2])**2}a.rgb.keyword=function(o){let l=n[o];if(l)return l;let i=1/0,s;for(let f of Object.keys(r)){let d=r[f],c=u(o,d);c.04045?((l+.055)/1.055)**2.4:l/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;let f=l*.4124+i*.3576+s*.1805,d=l*.2126+i*.7152+s*.0722,c=l*.0193+i*.1192+s*.9505;return[f*100,d*100,c*100]},a.rgb.lab=function(o){let l=a.rgb.xyz(o),i=l[0],s=l[1],f=l[2];i/=95.047,s/=100,f/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,f=f>.008856?f**(1/3):7.787*f+16/116;let d=116*s-16,c=500*(i-s),p=200*(s-f);return[d,c,p]},a.hsl.rgb=function(o){let l=o[0]/360,i=o[1]/100,s=o[2]/100,f,d,c;if(i===0)return c=s*255,[c,c,c];s<.5?f=s*(1+i):f=s+i-s*i;let p=2*s-f,m=[0,0,0];for(let b=0;b<3;b++)d=l+1/3*-(b-1),d<0&&d++,d>1&&d--,6*d<1?c=p+(f-p)*6*d:2*d<1?c=f:3*d<2?c=p+(f-p)*(2/3-d)*6:c=p,m[b]=c*255;return m},a.hsl.hsv=function(o){let l=o[0],i=o[1]/100,s=o[2]/100,f=i,d=Math.max(s,.01);s*=2,i*=s<=1?s:2-s,f*=d<=1?d:2-d;let c=(s+i)/2,p=s===0?2*f/(d+f):2*i/(s+i);return[l,p*100,c*100]},a.hsv.rgb=function(o){let l=o[0]/60,i=o[1]/100,s=o[2]/100,f=Math.floor(l)%6,d=l-Math.floor(l),c=255*s*(1-i),p=255*s*(1-i*d),m=255*s*(1-i*(1-d));switch(s*=255,f){case 0:return[s,m,c];case 1:return[p,s,c];case 2:return[c,s,m];case 3:return[c,p,s];case 4:return[m,c,s];case 5:return[s,c,p]}},a.hsv.hsl=function(o){let l=o[0],i=o[1]/100,s=o[2]/100,f=Math.max(s,.01),d,c;c=(2-i)*s;let p=(2-i)*f;return d=i*f,d/=p<=1?p:2-p,d=d||0,c/=2,[l,d*100,c*100]},a.hwb.rgb=function(o){let l=o[0]/360,i=o[1]/100,s=o[2]/100,f=i+s,d;f>1&&(i/=f,s/=f);let c=Math.floor(6*l),p=1-s;d=6*l-c,c&1&&(d=1-d);let m=i+d*(p-i),b,g,y;switch(c){default:case 6:case 0:b=p,g=m,y=i;break;case 1:b=m,g=p,y=i;break;case 2:b=i,g=p,y=m;break;case 3:b=i,g=m,y=p;break;case 4:b=m,g=i,y=p;break;case 5:b=p,g=i,y=m;break}return[b*255,g*255,y*255]},a.cmyk.rgb=function(o){let l=o[0]/100,i=o[1]/100,s=o[2]/100,f=o[3]/100,d=1-Math.min(1,l*(1-f)+f),c=1-Math.min(1,i*(1-f)+f),p=1-Math.min(1,s*(1-f)+f);return[d*255,c*255,p*255]},a.xyz.rgb=function(o){let l=o[0]/100,i=o[1]/100,s=o[2]/100,f,d,c;return f=l*3.2406+i*-1.5372+s*-.4986,d=l*-.9689+i*1.8758+s*.0415,c=l*.0557+i*-.204+s*1.057,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,f=Math.min(Math.max(0,f),1),d=Math.min(Math.max(0,d),1),c=Math.min(Math.max(0,c),1),[f*255,d*255,c*255]},a.xyz.lab=function(o){let l=o[0],i=o[1],s=o[2];l/=95.047,i/=100,s/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;let f=116*i-16,d=500*(l-i),c=200*(i-s);return[f,d,c]},a.lab.xyz=function(o){let l=o[0],i=o[1],s=o[2],f,d,c;d=(l+16)/116,f=i/500+d,c=d-s/200;let p=d**3,m=f**3,b=c**3;return d=p>.008856?p:(d-16/116)/7.787,f=m>.008856?m:(f-16/116)/7.787,c=b>.008856?b:(c-16/116)/7.787,f*=95.047,d*=100,c*=108.883,[f,d,c]},a.lab.lch=function(o){let l=o[0],i=o[1],s=o[2],f;f=Math.atan2(s,i)*360/2/Math.PI,f<0&&(f+=360);let d=Math.sqrt(i*i+s*s);return[l,d,f]},a.lch.lab=function(o){let l=o[0],i=o[1],s=o[2]/360*2*Math.PI,f=i*Math.cos(s),d=i*Math.sin(s);return[l,f,d]},a.rgb.ansi16=function(o,l=null){let[i,s,f]=o,d=l===null?a.rgb.hsv(o)[2]:l;if(d=Math.round(d/50),d===0)return 30;let c=30+(Math.round(f/255)<<2|Math.round(s/255)<<1|Math.round(i/255));return d===2&&(c+=60),c},a.hsv.ansi16=function(o){return a.rgb.ansi16(a.hsv.rgb(o),o[2])},a.rgb.ansi256=function(o){let l=o[0],i=o[1],s=o[2];return l===i&&i===s?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(i/255*5)+Math.round(s/255*5)},a.ansi16.rgb=function(o){let l=o%10;if(l===0||l===7)return o>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let i=(~~(o>50)+1)*.5,s=(l&1)*i*255,f=(l>>1&1)*i*255,d=(l>>2&1)*i*255;return[s,f,d]},a.ansi256.rgb=function(o){if(o>=232){let d=(o-232)*10+8;return[d,d,d]}o-=16;let l,i=Math.floor(o/36)/5*255,s=Math.floor((l=o%36)/6)/5*255,f=l%6/5*255;return[i,s,f]},a.rgb.hex=function(o){let l=(((Math.round(o[0])&255)<<16)+((Math.round(o[1])&255)<<8)+(Math.round(o[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.hex.rgb=function(o){let l=o.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let i=l[0];l[0].length===3&&(i=i.split("").map(p=>p+p).join(""));let s=parseInt(i,16),f=s>>16&255,d=s>>8&255,c=s&255;return[f,d,c]},a.rgb.hcg=function(o){let l=o[0]/255,i=o[1]/255,s=o[2]/255,f=Math.max(Math.max(l,i),s),d=Math.min(Math.min(l,i),s),c=f-d,p,m;return c<1?p=d/(1-c):p=0,c<=0?m=0:f===l?m=(i-s)/c%6:f===i?m=2+(s-l)/c:m=4+(l-i)/c,m/=6,m%=1,[m*360,c*100,p*100]},a.hsl.hcg=function(o){let l=o[1]/100,i=o[2]/100,s=i<.5?2*l*i:2*l*(1-i),f=0;return s<1&&(f=(i-.5*s)/(1-s)),[o[0],s*100,f*100]},a.hsv.hcg=function(o){let l=o[1]/100,i=o[2]/100,s=l*i,f=0;return s<1&&(f=(i-s)/(1-s)),[o[0],s*100,f*100]},a.hcg.rgb=function(o){let l=o[0]/360,i=o[1]/100,s=o[2]/100;if(i===0)return[s*255,s*255,s*255];let f=[0,0,0],d=l%1*6,c=d%1,p=1-c,m=0;switch(Math.floor(d)){case 0:f[0]=1,f[1]=c,f[2]=0;break;case 1:f[0]=p,f[1]=1,f[2]=0;break;case 2:f[0]=0,f[1]=1,f[2]=c;break;case 3:f[0]=0,f[1]=p,f[2]=1;break;case 4:f[0]=c,f[1]=0,f[2]=1;break;default:f[0]=1,f[1]=0,f[2]=p}return m=(1-i)*s,[(i*f[0]+m)*255,(i*f[1]+m)*255,(i*f[2]+m)*255]},a.hcg.hsv=function(o){let l=o[1]/100,i=o[2]/100,s=l+i*(1-l),f=0;return s>0&&(f=l/s),[o[0],f*100,s*100]},a.hcg.hsl=function(o){let l=o[1]/100,i=o[2]/100*(1-l)+.5*l,s=0;return i>0&&i<.5?s=l/(2*i):i>=.5&&i<1&&(s=l/(2*(1-i))),[o[0],s*100,i*100]},a.hcg.hwb=function(o){let l=o[1]/100,i=o[2]/100,s=l+i*(1-l);return[o[0],(s-l)*100,(1-s)*100]},a.hwb.hcg=function(o){let l=o[1]/100,i=1-o[2]/100,s=i-l,f=0;return s<1&&(f=(i-s)/(1-s)),[o[0],s*100,f*100]},a.apple.rgb=function(o){return[o[0]/65535*255,o[1]/65535*255,o[2]/65535*255]},a.rgb.apple=function(o){return[o[0]/255*65535,o[1]/255*65535,o[2]/255*65535]},a.gray.rgb=function(o){return[o[0]/100*255,o[0]/100*255,o[0]/100*255]},a.gray.hsl=function(o){return[0,0,o[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(o){return[0,100,o[0]]},a.gray.cmyk=function(o){return[0,0,0,o[0]]},a.gray.lab=function(o){return[o[0],0,0]},a.gray.hex=function(o){let l=Math.round(o[0]/100*255)&255,i=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(i.length)+i},a.rgb.gray=function(o){return[(o[0]+o[1]+o[2])/3/255*100]}}}),Mg=E({"../../node_modules/color-convert/route.js"(e,t){var r=yu();function n(){let l={},i=Object.keys(r);for(let s=i.length,f=0;f1&&(f=d),i(f))};return"conversion"in i&&(s.conversion=i.conversion),s}function l(i){let s=function(...f){let d=f[0];if(d==null)return d;d.length>1&&(f=d);let c=i(f);if(typeof c=="object")for(let p=c.length,m=0;m{a[i]={},Object.defineProperty(a[i],"channels",{value:r[i].channels}),Object.defineProperty(a[i],"labels",{value:r[i].labels});let s=n(i);Object.keys(s).forEach(f=>{let d=s[f];a[i][f]=l(d),a[i][f].raw=o(d)})}),t.exports=a}}),Ig=E({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,c)=>(...p)=>`\x1B[${d(...p)+c}m`,n=(d,c)=>(...p)=>{let m=d(...p);return`\x1B[${38+c};5;${m}m`},a=(d,c)=>(...p)=>{let m=d(...p);return`\x1B[${38+c};2;${m[0]};${m[1]};${m[2]}m`},u=d=>d,o=(d,c,p)=>[d,c,p],l=(d,c,p)=>{Object.defineProperty(d,c,{get:()=>{let m=p();return Object.defineProperty(d,c,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})},i,s=(d,c,p,m)=>{i===void 0&&(i=Ng());let b=m?10:0,g={};for(let[y,v]of Object.entries(i)){let R=y==="ansi16"?"ansi":y;y===c?g[R]=d(p,b):typeof v=="object"&&(g[R]=d(v[c],b))}return g};function f(){let d=new Map,c={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]}};c.color.gray=c.color.blackBright,c.bgColor.bgGray=c.bgColor.bgBlackBright,c.color.grey=c.color.blackBright,c.bgColor.bgGrey=c.bgColor.bgBlackBright;for(let[p,m]of Object.entries(c)){for(let[b,g]of Object.entries(m))c[b]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},m[b]=c[b],d.set(g[0],g[1]);Object.defineProperty(c,p,{value:m,enumerable:!1})}return Object.defineProperty(c,"codes",{value:d,enumerable:!1}),c.color.close="\x1B[39m",c.bgColor.close="\x1B[49m",l(c.color,"ansi",()=>s(r,"ansi16",u,!1)),l(c.color,"ansi256",()=>s(n,"ansi256",u,!1)),l(c.color,"ansi16m",()=>s(a,"rgb",o,!1)),l(c.bgColor,"ansi",()=>s(r,"ansi16",u,!0)),l(c.bgColor,"ansi256",()=>s(n,"ansi256",u,!0)),l(c.bgColor,"ansi16m",()=>s(a,"rgb",o,!0)),c}Object.defineProperty(t,"exports",{enumerable:!0,get:f})}}),Bg=E({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),$g=E({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(a,u,o)=>{let l=a.indexOf(u);if(l===-1)return a;let i=u.length,s=0,f="";do f+=a.substr(s,l-s)+u+o,s=l+i,l=a.indexOf(u,s);while(l!==-1);return f+=a.substr(s),f},n=(a,u,o,l)=>{let i=0,s="";do{let f=a[l-1]==="\r";s+=a.substr(i,(f?l-1:l)-i)+u+(f?`\r +`:` +`)+o,i=l+1,l=a.indexOf(` +`,i)}while(l!==-1);return s+=a.substr(i),s};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),kg=E({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,u=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let c=d[0]==="u",p=d[1]==="{";return c&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):c&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):o.get(d)||d}function i(d,c){let p=[],m=c.trim().split(/\s*,\s*/g),b;for(let g of m){let y=Number(g);if(!Number.isNaN(y))p.push(y);else if(b=g.match(a))p.push(b[2].replace(u,(v,R,w)=>R?l(R):w));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${d}')`)}return p}function s(d){n.lastIndex=0;let c=[],p;for(;(p=n.exec(d))!==null;){let m=p[1];if(p[2]){let b=i(m,p[2]);c.push([m].concat(b))}else c.push([m])}return c}function f(d,c){let p={};for(let b of c)for(let g of b.styles)p[g[0]]=b.inverse?null:g.slice(1);let m=d;for(let[b,g]of Object.entries(p))if(Array.isArray(g)){if(!(b in m))throw new Error(`Unknown Chalk style: ${b}`);m=g.length>0?m[b](...g):m[b]}return m}t.exports=(d,c)=>{let p=[],m=[],b=[];if(c.replace(r,(g,y,v,R,w,P)=>{if(y)b.push(l(y));else if(R){let S=b.join("");b=[],m.push(p.length===0?S:f(d,p)(S)),p.push({inverse:v,styles:s(R)})}else if(w){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(f(d,p)(b.join(""))),b=[],p.pop()}else b.push(P)}),m.push(b.join("")),p.length>0){let g=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return m.join("")}}}),hu=E({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=Ig(),{stdout:n,stderr:a}=Bg(),{stringReplaceAll:u,stringEncaseCRLFWithFirstIndex:o}=$g(),l=["ansi","ansi","ansi256","ansi16m"],i=Object.create(null),s=(P,S={})=>{if(S.level>3||S.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let q=n?n.level:0;P.level=S.level===void 0?q:S.level},f=class{constructor(P){return d(P)}},d=P=>{let S={};return s(S,P),S.template=(...q)=>R(S.template,...q),Object.setPrototypeOf(S,c.prototype),Object.setPrototypeOf(S.template,S),S.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},S.template.Instance=f,S.template};function c(P){return d(P)}for(let[P,S]of Object.entries(r))i[P]={get(){let q=g(this,b(S.open,S.close,this._styler),this._isEmpty);return Object.defineProperty(this,P,{value:q}),q}};i.visible={get(){let P=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:P}),P}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let P of p)i[P]={get(){let{level:S}=this;return function(...q){let h=b(r.color[l[S]][P](...q),r.color.close,this._styler);return g(this,h,this._isEmpty)}}};for(let P of p){let S="bg"+P[0].toUpperCase()+P.slice(1);i[S]={get(){let{level:q}=this;return function(...h){let C=b(r.bgColor[l[q]][P](...h),r.bgColor.close,this._styler);return g(this,C,this._isEmpty)}}}}var m=Object.defineProperties(()=>{},{...i,level:{enumerable:!0,get(){return this._generator.level},set(P){this._generator.level=P}}}),b=(P,S,q)=>{let h,C;return q===void 0?(h=P,C=S):(h=q.openAll+P,C=S+q.closeAll),{open:P,close:S,openAll:h,closeAll:C,parent:q}},g=(P,S,q)=>{let h=(...C)=>y(h,C.length===1?""+C[0]:C.join(" "));return h.__proto__=m,h._generator=P,h._styler=S,h._isEmpty=q,h},y=(P,S)=>{if(P.level<=0||!S)return P._isEmpty?"":S;let q=P._styler;if(q===void 0)return S;let{openAll:h,closeAll:C}=q;if(S.indexOf("\x1B")!==-1)for(;q!==void 0;)S=u(S,q.close,q.open),q=q.parent;let j=S.indexOf(` +`);return j!==-1&&(S=o(S,C,h,j)),h+S+C},v,R=(P,...S)=>{let[q]=S;if(!Array.isArray(q))return S.join(" ");let h=S.slice(1),C=[q.raw[0]];for(let j=1;j-1}t.exports=n}}),Hg=E({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=no();function n(a,u){var o=this.__data__,l=r(o,a);return l<0?(++this.size,o.push([a,u])):o[l][1]=u,this}t.exports=n}}),oo=E({"../../node_modules/lodash/_ListCache.js"(e,t){var r=Dg(),n=Lg(),a=Fg(),u=Ug(),o=Hg();function l(i){var s=-1,f=i==null?0:i.length;for(this.clear();++sb))return!1;var y=p.get(i),v=p.get(s);if(y&&v)return y==s&&v==i;var R=-1,w=!0,P=f&o?new r:void 0;for(p.set(i,s),p.set(s,i);++R-1&&u%1==0&&u-1&&a%1==0&&a<=r}t.exports=n}}),Mv=E({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=ao(),n=Pu(),a=so(),u="[object Arguments]",o="[object Array]",l="[object Boolean]",i="[object Date]",s="[object Error]",f="[object Function]",d="[object Map]",c="[object Number]",p="[object Object]",m="[object RegExp]",b="[object Set]",g="[object String]",y="[object WeakMap]",v="[object ArrayBuffer]",R="[object DataView]",w="[object Float32Array]",P="[object Float64Array]",S="[object Int8Array]",q="[object Int16Array]",h="[object Int32Array]",C="[object Uint8Array]",j="[object Uint8ClampedArray]",M="[object Uint16Array]",F="[object Uint32Array]",U={};U[w]=U[P]=U[S]=U[q]=U[h]=U[C]=U[j]=U[M]=U[F]=!0,U[u]=U[o]=U[v]=U[l]=U[R]=U[i]=U[s]=U[f]=U[d]=U[c]=U[p]=U[m]=U[b]=U[g]=U[y]=!1;function H(ee){return a(ee)&&n(ee.length)&&!!U[r(ee)]}t.exports=H}}),Nv=E({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(a){return n(a)}}t.exports=r}}),Iv=E({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=vu(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,u=a&&a.exports===n,o=u&&r.process,l=function(){try{var i=a&&a.require&&a.require("util").types;return i||o&&o.binding&&o.binding("util")}catch{}}();t.exports=l}}),Ou=E({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=Mv(),n=Nv(),a=Iv(),u=a&&a.isTypedArray,o=u?n(u):r;t.exports=o}}),Bv=E({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Sv(),n=Av(),a=Wa(),u=qu(),o=xv(),l=Ou(),i=Object.prototype,s=i.hasOwnProperty;function f(d,c){var p=a(d),m=!p&&n(d),b=!p&&!m&&u(d),g=!p&&!m&&!b&&l(d),y=p||m||b||g,v=y?r(d.length,String):[],R=v.length;for(var w in d)(c||s.call(d,w))&&!(y&&(w=="length"||b&&(w=="offset"||w=="parent")||g&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||o(w,R)))&&v.push(w);return v}t.exports=f}}),$v=E({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(a){var u=a&&a.constructor,o=typeof u=="function"&&u.prototype||r;return a===o}t.exports=n}}),kv=E({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,a){return function(u){return n(a(u))}}t.exports=r}}),Dv=E({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=kv(),n=r(Object.keys,Object);t.exports=n}}),Lv=E({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=$v(),n=Dv(),a=Object.prototype,u=a.hasOwnProperty;function o(l){if(!r(l))return n(l);var i=[];for(var s in Object(l))u.call(l,s)&&s!="constructor"&&i.push(s);return i}t.exports=o}}),Fv=E({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=wu(),n=Pu();function a(u){return u!=null&&n(u.length)&&!r(u)}t.exports=a}}),Uv=E({"../../node_modules/lodash/keys.js"(e,t){var r=Bv(),n=Lv(),a=Fv();function u(o){return a(o)?r(o):n(o)}t.exports=u}}),Hv=E({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=Cv(),n=Ov(),a=Uv();function u(o){return r(o,a,n)}t.exports=u}}),Vv=E({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=Hv(),n=1,a=Object.prototype,u=a.hasOwnProperty;function o(l,i,s,f,d,c){var p=s&n,m=r(l),b=m.length,g=r(i),y=g.length;if(b!=y&&!p)return!1;for(var v=b;v--;){var R=m[v];if(!(p?R in i:u.call(i,R)))return!1}var w=c.get(l),P=c.get(i);if(w&&P)return w==i&&P==l;var S=!0;c.set(l,i),c.set(i,l);for(var q=p;++v=1&&i<=31||i==127||l==0&&i>=48&&i<=57||l==1&&i>=48&&i<=57&&f==45){s+="\\"+i.toString(16)+" ";continue}if(l==0&&o==1&&i==45){s+="\\"+u.charAt(l);continue}if(i>=128||i==45||i==95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){s+=u.charAt(l);continue}s+="\\"+u.charAt(l)}return s};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Au=E({"node_modules/ansi-styles/index.js"(e,t){var r=(u=0)=>o=>`\x1B[${38+u};5;${o}m`,n=(u=0)=>(o,l,i)=>`\x1B[${38+u};2;${o};${l};${i}m`;function a(){let u=new Map,o={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};o.color.gray=o.color.blackBright,o.bgColor.bgGray=o.bgColor.bgBlackBright,o.color.grey=o.color.blackBright,o.bgColor.bgGrey=o.bgColor.bgBlackBright;for(let[l,i]of Object.entries(o)){for(let[s,f]of Object.entries(i))o[s]={open:`\x1B[${f[0]}m`,close:`\x1B[${f[1]}m`},i[s]=o[s],u.set(f[0],f[1]);Object.defineProperty(o,l,{value:i,enumerable:!1})}return Object.defineProperty(o,"codes",{value:u,enumerable:!1}),o.color.close="\x1B[39m",o.bgColor.close="\x1B[49m",o.color.ansi256=r(),o.color.ansi16m=n(),o.bgColor.ansi256=r(10),o.bgColor.ansi16m=n(10),Object.defineProperties(o,{rgbToAnsi256:{value:(l,i,s)=>l===i&&i===s?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(i/255*5)+Math.round(s/255*5),enumerable:!1},hexToRgb:{value:l=>{let i=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!i)return[0,0,0];let{colorString:s}=i.groups;s.length===3&&(s=s.split("").map(d=>d+d).join(""));let f=Number.parseInt(s,16);return[f>>16&255,f>>8&255,f&255]},enumerable:!1},hexToAnsi256:{value:l=>o.rgbToAnsi256(...o.hexToRgb(l)),enumerable:!1}}),o}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),uo=E({"node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=u;var t=(o,l)=>{let i=Object.keys(o).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(o).forEach(s=>{Object.getOwnPropertyDescriptor(o,s).enumerable&&i.push(s)}),i};function r(o,l,i,s,f,d,c=": "){let p="",m=o.next();if(!m.done){p+=l.spacingOuter;let b=i+l.indent;for(;!m.done;){let g=d(m.value[0],l,b,s,f),y=d(m.value[1],l,b,s,f);p+=b+g+c+y,m=o.next(),m.done?l.min||(p+=","):p+=","+l.spacingInner}p+=l.spacingOuter+i}return p}function n(o,l,i,s,f,d){let c="",p=o.next();if(!p.done){c+=l.spacingOuter;let m=i+l.indent;for(;!p.done;)c+=m+d(p.value,l,m,s,f),p=o.next(),p.done?l.min||(c+=","):c+=","+l.spacingInner;c+=l.spacingOuter+i}return c}function a(o,l,i,s,f,d){let c="";if(o.length){c+=l.spacingOuter;let p=i+l.indent;for(let m=0;m{let g=f.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++p>d.maxDepth?"["+g+"]":g+u+"["+(0,t.printListItems)(f.sample,d,c,p,m,b)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++p>d.maxDepth?"["+g+"]":g+u+"{"+(0,t.printObjectProperties)(f.sample,d,c,p,m,b)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+u+b(f.sample,d,c,p,m):f.toAsymmetricMatcher()};e.serialize=o;var l=f=>f&&f.$$typeof===a;e.test=l;var i={serialize:o,test:l},s=i;e.default=s}}),Zv=E({"../../node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),e_=E({"node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(Zv()),r=n(Au());function n(s){return s&&s.__esModule?s:{default:s}}var a=s=>s.replace((0,t.default)(),f=>{switch(f){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"";case r.default.green.open:return"";case r.default.cyan.open:return"";case r.default.gray.open:return"";case r.default.white.open:return"";case r.default.yellow.open:return"";case r.default.bgRed.open:return"";case r.default.bgGreen.open:return"";case r.default.bgYellow.open:return"";case r.default.inverse.open:return"";case r.default.dim.open:return"";case r.default.bold.open:return"";default:return""}}),u=s=>typeof s=="string"&&!!s.match((0,t.default)());e.test=u;var o=(s,f,d,c,p,m)=>m(a(s),f,d,c,p);e.serialize=o;var l={serialize:o,test:u},i=l;e.default=i}}),t_=E({"node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=uo(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,u=d=>n.indexOf(d)!==-1||a.test(d),o=d=>d&&d.constructor&&!!d.constructor.name&&u(d.constructor.name);e.test=o;var l=d=>d.constructor.name==="NamedNodeMap",i=(d,c,p,m,b,g)=>{let y=d.constructor.name;return++m>c.maxDepth?"["+y+"]":(c.min?"":y+r)+(n.indexOf(y)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((v,R)=>(v[R.name]=R.value,v),{}):{...d},c,p,m,b,g)+"}":"["+(0,t.printListItems)(Array.from(d),c,p,m,b,g)+"]")};e.serialize=i;var s={serialize:i,test:o},f=s;e.default=f}}),r_=E({"node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),Ga=E({"node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(r_());function r(s){return s&&s.__esModule?s:{default:s}}var n=(s,f,d,c,p,m,b)=>{let g=c+d.indent,y=d.colors;return s.map(v=>{let R=f[v],w=b(R,d,g,p,m);return typeof R!="string"&&(w.indexOf(` +`)!==-1&&(w=d.spacingOuter+g+w+d.spacingOuter+c),w="{"+w+"}"),d.spacingInner+c+y.prop.open+v+y.prop.close+"="+y.value.open+w+y.value.close}).join("")};e.printProps=n;var a=(s,f,d,c,p,m)=>s.map(b=>f.spacingOuter+d+(typeof b=="string"?u(b,f):m(b,f,d,c,p))).join("");e.printChildren=a;var u=(s,f)=>{let d=f.colors.content;return d.open+(0,t.default)(s)+d.close};e.printText=u;var o=(s,f)=>{let d=f.colors.comment;return d.open+""+d.close};e.printComment=o;var l=(s,f,d,c,p)=>{let m=c.colors.tag;return m.open+"<"+s+(f&&m.close+f+c.spacingOuter+p+m.open)+(d?">"+m.close+d+c.spacingOuter+p+m.open+""+m.close};e.printElement=l;var i=(s,f)=>{let d=f.colors.tag;return d.open+"<"+s+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=i}}),n_=E({"node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ga(),r=1,n=3,a=8,u=11,o=/^((HTML|SVG)\w*)?Element$/,l=g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},i=g=>{let y=g.constructor.name,{nodeType:v,tagName:R}=g,w=typeof R=="string"&&R.includes("-")||l(g);return v===r&&(o.test(y)||w)||v===n&&y==="Text"||v===a&&y==="Comment"||v===u&&y==="DocumentFragment"},s=g=>{var y;return(g==null||(y=g.constructor)===null||y===void 0?void 0:y.name)&&i(g)};e.test=s;function f(g){return g.nodeType===n}function d(g){return g.nodeType===a}function c(g){return g.nodeType===u}var p=(g,y,v,R,w,P)=>{if(f(g))return(0,t.printText)(g.data,y);if(d(g))return(0,t.printComment)(g.data,y);let S=c(g)?"DocumentFragment":g.tagName.toLowerCase();return++R>y.maxDepth?(0,t.printElementAsLeaf)(S,y):(0,t.printElement)(S,(0,t.printProps)(c(g)?[]:Array.from(g.attributes).map(q=>q.name).sort(),c(g)?{}:Array.from(g.attributes).reduce((q,h)=>(q[h.name]=h.value,q),{}),y,v+y.indent,R,w,P),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),y,v+y.indent,R,w,P),y,v)};e.serialize=p;var m={serialize:p,test:s},b=m;e.default=b}}),o_=E({"node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=uo(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",u="@@__IMMUTABLE_MAP__@@",o="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",i="@@__IMMUTABLE_SEQ__@@",s="@@__IMMUTABLE_SET__@@",f="@@__IMMUTABLE_STACK__@@",d=h=>"Immutable."+h,c=h=>"["+h+"]",p=" ",m="…",b=(h,C,j,M,F,U,H)=>++M>C.maxDepth?c(d(H)):d(H)+p+"{"+(0,t.printIteratorEntries)(h.entries(),C,j,M,F,U)+"}";function g(h){let C=0;return{next(){if(C{let H=d(h._name||"Record");return++M>C.maxDepth?c(H):H+p+"{"+(0,t.printIteratorEntries)(g(h),C,j,M,F,U)+"}"},v=(h,C,j,M,F,U)=>{let H=d("Seq");return++M>C.maxDepth?c(H):h[a]?H+p+"{"+(h._iter||h._object?(0,t.printIteratorEntries)(h.entries(),C,j,M,F,U):m)+"}":H+p+"["+(h._iter||h._array||h._collection||h._iterable?(0,t.printIteratorValues)(h.values(),C,j,M,F,U):m)+"]"},R=(h,C,j,M,F,U,H)=>++M>C.maxDepth?c(d(H)):d(H)+p+"["+(0,t.printIteratorValues)(h.values(),C,j,M,F,U)+"]",w=(h,C,j,M,F,U)=>h[u]?b(h,C,j,M,F,U,h[o]?"OrderedMap":"Map"):h[n]?R(h,C,j,M,F,U,"List"):h[s]?R(h,C,j,M,F,U,h[o]?"OrderedSet":"Set"):h[f]?R(h,C,j,M,F,U,"Stack"):h[i]?v(h,C,j,M,F,U):y(h,C,j,M,F,U);e.serialize=w;var P=h=>h&&(h[r]===!0||h[l]===!0);e.test=P;var S={serialize:w,test:P},q=S;e.default=q}}),a_=E({"node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=60103,r=60106,n=60107,a=60108,u=60114,o=60109,l=60110,i=60112,s=60113,f=60120,d=60115,c=60116,p=60121,m=60122,b=60117,g=60129,y=60131;if(typeof Symbol=="function"&&Symbol.for){var v=Symbol.for;t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),a=v("react.strict_mode"),u=v("react.profiler"),o=v("react.provider"),l=v("react.context"),i=v("react.forward_ref"),s=v("react.suspense"),f=v("react.suspense_list"),d=v("react.memo"),c=v("react.lazy"),p=v("react.block"),m=v("react.server.block"),b=v("react.fundamental"),v("react.scope"),v("react.opaque.id"),g=v("react.debug_trace_mode"),v("react.offscreen"),y=v("react.legacy_hidden")}var R=!1;function w(D){return!!(typeof D=="string"||typeof D=="function"||D===n||D===u||D===g||D===a||D===s||D===f||D===y||R||typeof D=="object"&&D!==null&&(D.$$typeof===c||D.$$typeof===d||D.$$typeof===o||D.$$typeof===l||D.$$typeof===i||D.$$typeof===b||D.$$typeof===p||D[0]===m))}function P(D){if(typeof D=="object"&&D!==null){var K=D.$$typeof;switch(K){case t:var W=D.type;switch(W){case n:case u:case a:case s:case f:return W;default:var V=W&&W.$$typeof;switch(V){case l:case i:case c:case d:case o:return V;default:return K}}case r:return K}}}var S=l,q=o,h=t,C=i,j=n,M=c,F=d,U=r,H=u,ee=a,J=s,oe=!1,ae=!1;function ue(D){return oe||(oe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ce(D){return ae||(ae=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function A(D){return P(D)===l}function x(D){return P(D)===o}function L(D){return typeof D=="object"&&D!==null&&D.$$typeof===t}function N(D){return P(D)===i}function G(D){return P(D)===n}function B(D){return P(D)===c}function k(D){return P(D)===d}function z(D){return P(D)===r}function Q(D){return P(D)===u}function _(D){return P(D)===a}function I(D){return P(D)===s}e.ContextConsumer=S,e.ContextProvider=q,e.Element=h,e.ForwardRef=C,e.Fragment=j,e.Lazy=M,e.Memo=F,e.Portal=U,e.Profiler=H,e.StrictMode=ee,e.Suspense=J,e.isAsyncMode=ue,e.isConcurrentMode=ce,e.isContextConsumer=A,e.isContextProvider=x,e.isElement=L,e.isForwardRef=N,e.isFragment=G,e.isLazy=B,e.isMemo=k,e.isPortal=z,e.isProfiler=Q,e.isStrictMode=_,e.isSuspense=I,e.isValidElementType=w,e.typeOf=P})()}}),l_=E({"node_modules/react-is/index.js"(e,t){t.exports=a_()}}),i_=E({"node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(l_()),r=Ga();function n(c){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:p})(c)}function a(c,p){if(!p&&c&&c.__esModule)return c;if(c===null||typeof c!="object"&&typeof c!="function")return{default:c};var m=n(p);if(m&&m.has(c))return m.get(c);var b={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in c)if(y!=="default"&&Object.prototype.hasOwnProperty.call(c,y)){var v=g?Object.getOwnPropertyDescriptor(c,y):null;v&&(v.get||v.set)?Object.defineProperty(b,y,v):b[y]=c[y]}return b.default=c,m&&m.set(c,b),b}var u=(c,p=[])=>(Array.isArray(c)?c.forEach(m=>{u(m,p)}):c!=null&&c!==!1&&p.push(c),p),o=c=>{let p=c.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(c))return"React.Fragment";if(t.isSuspense(c))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(c))return"Context.Provider";if(t.isContextConsumer(c))return"Context.Consumer";if(t.isForwardRef(c)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(c)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},l=c=>{let{props:p}=c;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},i=(c,p,m,b,g,y)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(o(c),p):(0,r.printElement)(o(c),(0,r.printProps)(l(c),c.props,p,m+p.indent,b,g,y),(0,r.printChildren)(u(c.props.children),p,m+p.indent,b,g,y),p,m);e.serialize=i;var s=c=>c!=null&&t.isElement(c);e.test=s;var f={serialize:i,test:s},d=f;e.default=d}}),s_=E({"node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Ga(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,u=f=>{let{props:d}=f;return d?Object.keys(d).filter(c=>d[c]!==void 0).sort():[]},o=(f,d,c,p,m,b)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(f.type,d):(0,t.printElement)(f.type,f.props?(0,t.printProps)(u(f),f.props,d,c+d.indent,p,m,b):"",f.children?(0,t.printChildren)(f.children,d,c+d.indent,p,m,b):"",d,c);e.serialize=o;var l=f=>f&&f.$$typeof===a;e.test=l;var i={serialize:o,test:l},s=i;e.default=s}}),u_=E({"node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=k,e.plugins=void 0;var t=f(Au()),r=uo(),n=f(Qv()),a=f(e_()),u=f(t_()),o=f(n_()),l=f(o_()),i=f(i_()),s=f(s_());function f(_){return _&&_.__esModule?_:{default:_}}var d=Object.prototype.toString,c=Date.prototype.toISOString,p=Error.prototype.toString,m=RegExp.prototype.toString,b=_=>typeof _.constructor=="function"&&_.constructor.name||"Object",g=_=>typeof window<"u"&&_===window,y=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,R=class extends Error{constructor(_,I){super(_),this.stack=I,this.name=this.constructor.name}};function w(_){return _==="[object Array]"||_==="[object ArrayBuffer]"||_==="[object DataView]"||_==="[object Float32Array]"||_==="[object Float64Array]"||_==="[object Int8Array]"||_==="[object Int16Array]"||_==="[object Int32Array]"||_==="[object Uint8Array]"||_==="[object Uint8ClampedArray]"||_==="[object Uint16Array]"||_==="[object Uint32Array]"}function P(_){return Object.is(_,-0)?"-0":String(_)}function S(_){return`${_}n`}function q(_,I){return I?"[Function "+(_.name||"anonymous")+"]":"[Function]"}function h(_){return String(_).replace(y,"Symbol($1)")}function C(_){return"["+p.call(_)+"]"}function j(_,I,D,K){if(_===!0||_===!1)return""+_;if(_===void 0)return"undefined";if(_===null)return"null";let W=typeof _;if(W==="number")return P(_);if(W==="bigint")return S(_);if(W==="string")return K?'"'+_.replace(/"|\\/g,"\\$&")+'"':'"'+_+'"';if(W==="function")return q(_,I);if(W==="symbol")return h(_);let V=d.call(_);return V==="[object WeakMap]"?"WeakMap {}":V==="[object WeakSet]"?"WeakSet {}":V==="[object Function]"||V==="[object GeneratorFunction]"?q(_,I):V==="[object Symbol]"?h(_):V==="[object Date]"?isNaN(+_)?"Date { NaN }":c.call(_):V==="[object Error]"?C(_):V==="[object RegExp]"?D?m.call(_).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(_):_ instanceof Error?C(_):null}function M(_,I,D,K,W,V){if(W.indexOf(_)!==-1)return"[Circular]";W=W.slice(),W.push(_);let le=++K>I.maxDepth,ie=I.min;if(I.callToJSON&&!le&&_.toJSON&&typeof _.toJSON=="function"&&!V)return ee(_.toJSON(),I,D,K,W,!0);let pe=d.call(_);return pe==="[object Arguments]"?le?"[Arguments]":(ie?"":"Arguments ")+"["+(0,r.printListItems)(_,I,D,K,W,ee)+"]":w(pe)?le?"["+_.constructor.name+"]":(ie||!I.printBasicPrototype&&_.constructor.name==="Array"?"":_.constructor.name+" ")+"["+(0,r.printListItems)(_,I,D,K,W,ee)+"]":pe==="[object Map]"?le?"[Map]":"Map {"+(0,r.printIteratorEntries)(_.entries(),I,D,K,W,ee," => ")+"}":pe==="[object Set]"?le?"[Set]":"Set {"+(0,r.printIteratorValues)(_.values(),I,D,K,W,ee)+"}":le||g(_)?"["+b(_)+"]":(ie||!I.printBasicPrototype&&b(_)==="Object"?"":b(_)+" ")+"{"+(0,r.printObjectProperties)(_,I,D,K,W,ee)+"}"}function F(_){return _.serialize!=null}function U(_,I,D,K,W,V){let le;try{le=F(_)?_.serialize(I,D,K,W,V,ee):_.print(I,ie=>ee(ie,D,K,W,V),ie=>{let pe=K+D.indent;return pe+ie.replace(v,` +`+pe)},{edgeSpacing:D.spacingOuter,min:D.min,spacing:D.spacingInner},D.colors)}catch(ie){throw new R(ie.message,ie.stack)}if(typeof le!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof le}".`);return le}function H(_,I){for(let D=0;D<_.length;D++)try{if(_[D].test(I))return _[D]}catch(K){throw new R(K.message,K.stack)}return null}function ee(_,I,D,K,W,V){let le=H(I.plugins,_);if(le!==null)return U(le,_,I,D,K,W);let ie=j(_,I.printFunctionName,I.escapeRegex,I.escapeString);return ie!==null?ie:M(_,I,D,K,W,V)}var J={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},oe=Object.keys(J),ae={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:J};e.DEFAULT_OPTIONS=ae;function ue(_){if(Object.keys(_).forEach(I=>{if(!ae.hasOwnProperty(I))throw new Error(`pretty-format: Unknown option "${I}".`)}),_.min&&_.indent!==void 0&&_.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(_.theme!==void 0){if(_.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof _.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof _.theme}".`)}}var ce=_=>oe.reduce((I,D)=>{let K=_.theme&&_.theme[D]!==void 0?_.theme[D]:J[D],W=K&&t.default[K];if(W&&typeof W.close=="string"&&typeof W.open=="string")I[D]=W;else throw new Error(`pretty-format: Option "theme" has a key "${D}" whose value "${K}" is undefined in ansi-styles.`);return I},Object.create(null)),A=()=>oe.reduce((_,I)=>(_[I]={close:"",open:""},_),Object.create(null)),x=_=>_&&_.printFunctionName!==void 0?_.printFunctionName:ae.printFunctionName,L=_=>_&&_.escapeRegex!==void 0?_.escapeRegex:ae.escapeRegex,N=_=>_&&_.escapeString!==void 0?_.escapeString:ae.escapeString,G=_=>{var I;return{callToJSON:_&&_.callToJSON!==void 0?_.callToJSON:ae.callToJSON,colors:_&&_.highlight?ce(_):A(),compareKeys:_&&typeof _.compareKeys=="function"?_.compareKeys:ae.compareKeys,escapeRegex:L(_),escapeString:N(_),indent:_&&_.min?"":B(_&&_.indent!==void 0?_.indent:ae.indent),maxDepth:_&&_.maxDepth!==void 0?_.maxDepth:ae.maxDepth,min:_&&_.min!==void 0?_.min:ae.min,plugins:_&&_.plugins!==void 0?_.plugins:ae.plugins,printBasicPrototype:(I=_==null?void 0:_.printBasicPrototype)!==null&&I!==void 0?I:!0,printFunctionName:x(_),spacingInner:_&&_.min?" ":` +`,spacingOuter:_&&_.min?"":` +`}};function B(_){return new Array(_+1).join(" ")}function k(_,I){if(I&&(ue(I),I.plugins)){let K=H(I.plugins,_);if(K!==null)return U(K,_,G(I),"",0,[])}let D=j(_,x(I),L(I),N(I));return D!==null?D:M(_,G(I),"",0,[])}var z={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:u.default,DOMElement:o.default,Immutable:l.default,ReactElement:i.default,ReactTestComponent:s.default};e.plugins=z;var Q=k;e.default=Q}}),c_=E({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,u={"@@iterator":function(){return u},next:function(){if(a=p.length?{done:!0}:{done:!1,value:p[g++]}},e:function(P){throw P},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,R=!1,w;return{s:function(){b=b.call(p)},n:function(){var P=b.next();return v=P.done,P},e:function(P){R=!0,w=P},f:function(){try{!v&&b.return!=null&&b.return()}finally{if(R)throw w}}}}function i(p,m){if(p){if(typeof p=="string")return s(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,g=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=l(f),g;try{for(b.s();!(g=b.n()).done;){var y=n(g.value,2),v=y[0],R=y[1];p.call(m,R,v,f)}}catch(w){b.e(w)}finally{b.f()}},get:function(p){var m=f.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return f.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return f.map(function(p){var m=n(p,2),b=m[1];return b})}},c=(0,t.default)(d,d.entries());e.default=c}}),f_=E({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(ln());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return o(p)||u(p,m)||i(p,m)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(p,m){var b=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(b!=null){var g=[],y=!0,v=!1,R,w;try{for(b=b.call(p);!(y=(R=b.next()).done)&&(g.push(R.value),!(m&&g.length===m));y=!0);}catch(P){v=!0,w=P}finally{try{!y&&b.return!=null&&b.return()}finally{if(v)throw w}}return g}}function o(p){if(Array.isArray(p))return p}function l(p,m){var b=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!b){if(Array.isArray(p)||(b=i(p))||m&&p&&typeof p.length=="number"){b&&(p=b);var g=0,y=function(){};return{s:y,n:function(){return g>=p.length?{done:!0}:{done:!1,value:p[g++]}},e:function(P){throw P},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,R=!1,w;return{s:function(){b=b.call(p)},n:function(){var P=b.next();return v=P.done,P},e:function(P){R=!0,w=P},f:function(){try{!v&&b.return!=null&&b.return()}finally{if(R)throw w}}}}function i(p,m){if(p){if(typeof p=="string")return s(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return s(p,m)}}function s(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,g=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=l(f),g;try{for(b.s();!(g=b.n()).done;){var y=n(g.value,2),v=y[0],R=y[1];p.call(m,R,v,f)}}catch(w){b.e(w)}finally{b.f()}},get:function(p){var m=f.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return f.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return f.map(function(p){var m=n(p,2),b=m[1];return b})}},c=(0,t.default)(d,d.entries());e.default=c}}),p_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),m_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),b_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),y_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),h_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),g_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),v_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),__=E({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),w_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),E_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),R_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),C_=E({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),q_=E({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(p_()),r=p(m_()),n=p(b_()),a=p(y_()),u=p(h_()),o=p(g_()),l=p(v_()),i=p(__()),s=p(w_()),f=p(E_()),d=p(R_()),c=p(C_());function p(g){return g&&g.__esModule?g:{default:g}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",u.default],["roletype",o.default],["section",l.default],["sectionhead",i.default],["select",s.default],["structure",f.default],["widget",d.default],["window",c.default]],b=m;e.default=b}}),P_=E({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),O_=E({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),S_=E({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),T_=E({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),A_=E({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),j_=E({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),x_=E({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),M_=E({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),N_=E({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),I_=E({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),B_=E({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),$_=E({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),k_=E({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),D_=E({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),L_=E({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),F_=E({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),U_=E({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),H_=E({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),V_=E({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),z_=E({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),W_=E({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),G_=E({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),K_=E({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Y_=E({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),J_=E({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),X_=E({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),Q_=E({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),Z_=E({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ew=E({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),tw=E({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),rw=E({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),nw=E({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),ow=E({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),aw=E({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),lw=E({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),iw=E({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),sw=E({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),uw=E({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),cw=E({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dw=E({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fw=E({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),pw=E({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),mw=E({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),bw=E({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),yw=E({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),hw=E({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),gw=E({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),vw=E({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),_w=E({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),ww=E({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Ew=E({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Rw=E({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Cw=E({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),qw=E({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Pw=E({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Ow=E({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Sw=E({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),Tw=E({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Aw=E({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),jw=E({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),xw=E({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Mw=E({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),Nw=E({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Iw=E({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),Bw=E({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),$w=E({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kw=E({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Dw=E({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Lw=E({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Fw=E({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),Uw=E({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),Hw=E({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Vw=E({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),zw=E({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Ww=E({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Gw=E({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Kw=E({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Yw=E({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),Jw=E({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),Xw=E({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Qw=E({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Zw=E({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),eE=E({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),tE=E({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ne(P_()),r=ne(O_()),n=ne(S_()),a=ne(T_()),u=ne(A_()),o=ne(j_()),l=ne(x_()),i=ne(M_()),s=ne(N_()),f=ne(I_()),d=ne(B_()),c=ne($_()),p=ne(k_()),m=ne(D_()),b=ne(L_()),g=ne(F_()),y=ne(U_()),v=ne(H_()),R=ne(V_()),w=ne(z_()),P=ne(W_()),S=ne(G_()),q=ne(K_()),h=ne(Y_()),C=ne(J_()),j=ne(X_()),M=ne(Q_()),F=ne(Z_()),U=ne(ew()),H=ne(tw()),ee=ne(rw()),J=ne(nw()),oe=ne(ow()),ae=ne(aw()),ue=ne(lw()),ce=ne(iw()),A=ne(sw()),x=ne(uw()),L=ne(cw()),N=ne(dw()),G=ne(fw()),B=ne(pw()),k=ne(mw()),z=ne(bw()),Q=ne(yw()),_=ne(hw()),I=ne(gw()),D=ne(vw()),K=ne(_w()),W=ne(ww()),V=ne(Ew()),le=ne(Rw()),ie=ne(Cw()),pe=ne(qw()),_e=ne(Pw()),Te=ne(Ow()),Xe=ne(Sw()),$e=ne(Tw()),We=ne(Aw()),Qe=ne(jw()),xe=ne(xw()),Re=ne(Mw()),Ge=ne(Nw()),qe=ne(Iw()),Se=ne(Bw()),Ae=ne($w()),Ke=ne(kw()),bt=ne(Dw()),nt=ne(Lw()),Me=ne(Fw()),Y=ne(Uw()),Z=ne(Hw()),be=ne(Vw()),O=ne(zw()),T=ne(Ww()),$=ne(Gw()),X=ne(Kw()),re=ne(Yw()),se=ne(Jw()),de=ne(Xw()),fe=ne(Qw()),me=ne(Zw()),te=ne(eE());function ne(Oe){return Oe&&Oe.__esModule?Oe:{default:Oe}}var Pe=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",u.default],["blockquote",o.default],["button",l.default],["caption",i.default],["cell",s.default],["checkbox",f.default],["code",d.default],["columnheader",c.default],["combobox",p.default],["complementary",m.default],["contentinfo",b.default],["definition",g.default],["deletion",y.default],["dialog",v.default],["directory",R.default],["document",w.default],["emphasis",P.default],["feed",S.default],["figure",q.default],["form",h.default],["generic",C.default],["grid",j.default],["gridcell",M.default],["group",F.default],["heading",U.default],["img",H.default],["insertion",ee.default],["link",J.default],["list",oe.default],["listbox",ae.default],["listitem",ue.default],["log",ce.default],["main",A.default],["mark",x.default],["marquee",L.default],["math",N.default],["menu",G.default],["menubar",B.default],["menuitem",k.default],["menuitemcheckbox",z.default],["menuitemradio",Q.default],["meter",_.default],["navigation",I.default],["none",D.default],["note",K.default],["option",W.default],["paragraph",V.default],["presentation",le.default],["progressbar",ie.default],["radio",pe.default],["radiogroup",_e.default],["region",Te.default],["row",Xe.default],["rowgroup",$e.default],["rowheader",We.default],["scrollbar",Qe.default],["search",xe.default],["searchbox",Re.default],["separator",Ge.default],["slider",qe.default],["spinbutton",Se.default],["status",Ae.default],["strong",Ke.default],["subscript",bt.default],["superscript",nt.default],["switch",Me.default],["tab",Y.default],["table",Z.default],["tablist",be.default],["tabpanel",O.default],["term",T.default],["textbox",$.default],["time",X.default],["timer",re.default],["toolbar",se.default],["tooltip",de.default],["tree",fe.default],["treegrid",me.default],["treeitem",te.default]],Ie=Pe;e.default=Ie}}),rE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),nE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),oE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),aE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),lE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),iE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),sE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),uE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),cE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),dE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),pE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),mE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),bE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),yE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),hE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),gE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),vE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_E=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),wE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),EE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),RE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),CE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),qE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),PE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),OE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),SE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),TE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),AE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),jE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),xE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),ME=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),NE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),IE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),BE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),$E=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),DE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),LE=E({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),FE=E({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=N(rE()),r=N(nE()),n=N(oE()),a=N(aE()),u=N(lE()),o=N(iE()),l=N(sE()),i=N(uE()),s=N(cE()),f=N(dE()),d=N(fE()),c=N(pE()),p=N(mE()),m=N(bE()),b=N(yE()),g=N(hE()),y=N(gE()),v=N(vE()),R=N(_E()),w=N(wE()),P=N(EE()),S=N(RE()),q=N(CE()),h=N(qE()),C=N(PE()),j=N(OE()),M=N(SE()),F=N(TE()),U=N(AE()),H=N(jE()),ee=N(xE()),J=N(ME()),oe=N(NE()),ae=N(IE()),ue=N(BE()),ce=N($E()),A=N(kE()),x=N(DE()),L=N(LE());function N(k){return k&&k.__esModule?k:{default:k}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",u.default],["doc-biblioentry",o.default],["doc-bibliography",l.default],["doc-biblioref",i.default],["doc-chapter",s.default],["doc-colophon",f.default],["doc-conclusion",d.default],["doc-cover",c.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",g.default],["doc-endnotes",y.default],["doc-epigraph",v.default],["doc-epilogue",R.default],["doc-errata",w.default],["doc-example",P.default],["doc-footnote",S.default],["doc-foreword",q.default],["doc-glossary",h.default],["doc-glossref",C.default],["doc-index",j.default],["doc-introduction",M.default],["doc-noteref",F.default],["doc-notice",U.default],["doc-pagebreak",H.default],["doc-pagelist",ee.default],["doc-part",J.default],["doc-preface",oe.default],["doc-prologue",ae.default],["doc-pullquote",ue.default],["doc-qna",ce.default],["doc-subtitle",A.default],["doc-tip",x.default],["doc-toc",L.default]],B=G;e.default=B}}),UE=E({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),HE=E({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),VE=E({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),zE=E({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(UE()),r=a(HE()),n=a(VE());function a(l){return l&&l.__esModule?l:{default:l}}var u=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],o=u;e.default=o}}),Ka=E({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(q_()),r=o(tE()),n=o(FE()),a=o(zE()),u=o(ln());function o(v){return v&&v.__esModule?v:{default:v}}function l(v,R,w){return R in v?Object.defineProperty(v,R,{value:w,enumerable:!0,configurable:!0,writable:!0}):v[R]=w,v}function i(v,R){var w=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!w){if(Array.isArray(v)||(w=d(v))||R&&v&&typeof v.length=="number"){w&&(v=w);var P=0,S=function(){};return{s:S,n:function(){return P>=v.length?{done:!0}:{done:!1,value:v[P++]}},e:function(j){throw j},f:S}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var q=!0,h=!1,C;return{s:function(){w=w.call(v)},n:function(){var j=w.next();return q=j.done,j},e:function(j){h=!0,C=j},f:function(){try{!q&&w.return!=null&&w.return()}finally{if(h)throw C}}}}function s(v,R){return m(v)||p(v,R)||d(v,R)||f()}function f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(v,R){if(v){if(typeof v=="string")return c(v,R);var w=Object.prototype.toString.call(v).slice(8,-1);if(w==="Object"&&v.constructor&&(w=v.constructor.name),w==="Map"||w==="Set")return Array.from(v);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return c(v,R)}}function c(v,R){(R==null||R>v.length)&&(R=v.length);for(var w=0,P=new Array(R);w1&&arguments[1]!==void 0?arguments[1]:null,w=i(b),P;try{for(w.s();!(P=w.n()).done;){var S=s(P.value,2),q=S[0],h=S[1];v.call(R,h,q,b)}}catch(C){w.e(C)}finally{w.f()}},get:function(v){var R=b.find(function(w){return w[0]===v});return R&&R[1]},has:function(v){return!!g.get(v)},keys:function(){return b.map(function(v){var R=s(v,1),w=R[0];return w})},values:function(){return b.map(function(v){var R=s(v,2),w=R[1];return w})}},y=(0,u.default)(g,g.entries());e.default=y}}),WE=E({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,a){var u,o;if(n===a)return!0;if(n&&a&&(u=n.constructor)===a.constructor){if(u===Date)return n.getTime()===a.getTime();if(u===RegExp)return n.toString()===a.toString();if(u===Array){if((o=n.length)===a.length)for(;o--&&r(n[o],a[o]););return o===-1}if(!u||typeof n=="object"){o=0;for(u in n)if(t.call(n,u)&&++o&&!t.call(a,u)||!(u in a)||!r(n[u],a[u]))return!1;return Object.keys(a).length===o}}return n!==n&&a!==a}e.dequal=r}}),GE=E({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=WE(),r=a(ln()),n=a(Ka());function a(S){return S&&S.__esModule?S:{default:S}}function u(S,q){return i(S)||l(S,q)||f(S,q)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(S,q){var h=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(h!=null){var C=[],j=!0,M=!1,F,U;try{for(h=h.call(S);!(j=(F=h.next()).done)&&(C.push(F.value),!(q&&C.length===q));j=!0);}catch(H){M=!0,U=H}finally{try{!j&&h.return!=null&&h.return()}finally{if(M)throw U}}return C}}function i(S){if(Array.isArray(S))return S}function s(S,q){var h=typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(!h){if(Array.isArray(S)||(h=f(S))||q&&S&&typeof S.length=="number"){h&&(S=h);var C=0,j=function(){};return{s:j,n:function(){return C>=S.length?{done:!0}:{done:!1,value:S[C++]}},e:function(H){throw H},f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var M=!0,F=!1,U;return{s:function(){h=h.call(S)},n:function(){var H=h.next();return M=H.done,H},e:function(H){F=!0,U=H},f:function(){try{!M&&h.return!=null&&h.return()}finally{if(F)throw U}}}}function f(S,q){if(S){if(typeof S=="string")return d(S,q);var h=Object.prototype.toString.call(S).slice(8,-1);if(h==="Object"&&S.constructor&&(h=S.constructor.name),h==="Map"||h==="Set")return Array.from(S);if(h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h))return d(S,q)}}function d(S,q){(q==null||q>S.length)&&(q=S.length);for(var h=0,C=new Array(q);h1&&arguments[1]!==void 0?arguments[1]:null,h=s(c),C;try{for(h.s();!(C=h.n()).done;){var j=u(C.value,2),M=j[0],F=j[1];S.call(q,F,M,c)}}catch(U){h.e(U)}finally{h.f()}},get:function(S){var q=c.find(function(h){return S.name===h[0].name&&(0,t.dequal)(S.attributes,h[0].attributes)});return q&&q[1]},has:function(S){return!!w.get(S)},keys:function(){return c.map(function(S){var q=u(S,1),h=q[0];return h})},values:function(){return c.map(function(S){var q=u(S,2),h=q[1];return h})}},P=(0,r.default)(w,w.entries());e.default=P}}),KE=E({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(ln()),r=n(Ka());function n(q){return q&&q.__esModule?q:{default:q}}function a(q,h){return l(q)||o(q,h)||s(q,h)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(q,h){var C=q==null?null:typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(C!=null){var j=[],M=!0,F=!1,U,H;try{for(C=C.call(q);!(M=(U=C.next()).done)&&(j.push(U.value),!(h&&j.length===h));M=!0);}catch(ee){F=!0,H=ee}finally{try{!M&&C.return!=null&&C.return()}finally{if(F)throw H}}return j}}function l(q){if(Array.isArray(q))return q}function i(q,h){var C=typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(!C){if(Array.isArray(q)||(C=s(q))||h&&q&&typeof q.length=="number"){C&&(q=C);var j=0,M=function(){};return{s:M,n:function(){return j>=q.length?{done:!0}:{done:!1,value:q[j++]}},e:function(ee){throw ee},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F=!0,U=!1,H;return{s:function(){C=C.call(q)},n:function(){var ee=C.next();return F=ee.done,ee},e:function(ee){U=!0,H=ee},f:function(){try{!F&&C.return!=null&&C.return()}finally{if(U)throw H}}}}function s(q,h){if(q){if(typeof q=="string")return f(q,h);var C=Object.prototype.toString.call(q).slice(8,-1);if(C==="Object"&&q.constructor&&(C=q.constructor.name),C==="Map"||C==="Set")return Array.from(q);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return f(q,h)}}function f(q,h){(h==null||h>q.length)&&(h=q.length);for(var C=0,j=new Array(h);C0&&d.push([p,b])}var p,m,b,g,y,v,R,w,P={entries:function(){return d},forEach:function(q){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=i(d),j;try{for(C.s();!(j=C.n()).done;){var M=a(j.value,2),F=M[0],U=M[1];q.call(h,U,F,d)}}catch(H){C.e(H)}finally{C.f()}},get:function(q){var h=d.find(function(C){return C[0]===q});return h&&h[1]},has:function(q){return!!P.get(q)},keys:function(){return d.map(function(q){var h=a(q,1),C=h[0];return C})},values:function(){return d.map(function(q){var h=a(q,2),C=h[1];return C})}},S=(0,t.default)(P,P.entries());e.default=S}}),YE=E({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=o(d_()),r=o(f_()),n=o(Ka()),a=o(GE()),u=o(KE());function o(c){return c&&c.__esModule?c:{default:c}}var l=t.default;e.aria=l;var i=r.default;e.dom=i;var s=n.default;e.roles=s;var f=a.default;e.elementRoles=f;var d=u.default;e.roleElements=d}}),JE=E({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",o={};function l(s,f){if(!o[s]){o[s]={};for(var d=0;d>>8,d[c*2+1]=m%256}return d},decompressFromUint8Array:function(s){if(s==null)return i.decompress(s);for(var f=new Array(s.length/2),d=0,c=f.length;d>1}else{for(p=1,c=0;c>1}R--,R==0&&(R=Math.pow(2,P),P++),delete b[v]}else for(p=m[v],c=0;c>1;R--,R==0&&(R=Math.pow(2,P),P++),m[y]=w++,v=String(g)}if(v!==""){if(Object.prototype.hasOwnProperty.call(b,v)){if(v.charCodeAt(0)<256){for(c=0;c>1}else{for(p=1,c=0;c>1}R--,R==0&&(R=Math.pow(2,P),P++),delete b[v]}else for(p=m[v],c=0;c>1;R--,R==0&&(R=Math.pow(2,P),P++)}for(p=2,c=0;c>1;for(;;)if(q=q<<1,h==f-1){S.push(d(q));break}else h++;return S.join("")},decompress:function(s){return s==null?"":s==""?null:i._decompress(s.length,32768,function(f){return s.charCodeAt(f)})},_decompress:function(s,f,d){var c=[],p=4,m=4,b=3,g="",y=[],v,R,w,P,S,q,h,C={val:d(0),position:f,index:1};for(v=0;v<3;v+=1)c[v]=v;for(w=0,S=Math.pow(2,2),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=f,C.val=d(C.index++)),w|=(P>0?1:0)*q,q<<=1;switch(w){case 0:for(w=0,S=Math.pow(2,8),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=f,C.val=d(C.index++)),w|=(P>0?1:0)*q,q<<=1;h=n(w);break;case 1:for(w=0,S=Math.pow(2,16),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=f,C.val=d(C.index++)),w|=(P>0?1:0)*q,q<<=1;h=n(w);break;case 2:return""}for(c[3]=h,R=h,y.push(h);;){if(C.index>s)return"";for(w=0,S=Math.pow(2,b),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=f,C.val=d(C.index++)),w|=(P>0?1:0)*q,q<<=1;switch(h=w){case 0:for(w=0,S=Math.pow(2,8),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=f,C.val=d(C.index++)),w|=(P>0?1:0)*q,q<<=1;c[m++]=n(w),h=m-1,p--;break;case 1:for(w=0,S=Math.pow(2,16),q=1;q!=S;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=f,C.val=d(C.index++)),w|=(P>0?1:0)*q,q<<=1;c[m++]=n(w),h=m-1,p--;break;case 2:return y.join("")}if(p==0&&(p=Math.pow(2,b),b++),c[h])g=c[h];else if(h===m)g=R+R.charAt(0);else return null;y.push(g),c[m++]=R+g.charAt(0),p--,R=g,p==0&&(p=Math.pow(2,b),b++)}}};return i}();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})}}),st=Ce(Km(),1),Co=st.default.expect;st.default.version;st.default.Assertion;st.default.AssertionError;var $n=st.default.util;st.default.config;var qo=st.default.use;st.default.should;var XE=st.default.assert;st.default.core;var QE=st.default,ju=(()=>{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})();function gt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Tn(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function ZE(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Vo(e){return Object.prototype.toString.apply(e).slice(8,-1)}function eR(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function xu(e){let t=new Set;return ZE(e)?[]:(eR(e,t),Array.from(t))}var Mu={forceWritable:!1};function kl(e,t=Mu){return zo(e,new WeakMap,t)}function zo(e,t,r=Mu){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(n=e.length),t.set(e,a);n--;)a[n]=zo(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let u=xu(e);for(let o of u){let l=Object.getOwnPropertyDescriptor(e,o);if(!l)continue;let i=zo(e[o],t,r);r.forceWritable?Object.defineProperty(a,o,{enumerable:l.enumerable,configurable:!0,writable:!0,value:i}):"get"in l?Object.defineProperty(a,o,{...l,get(){return i}}):Object.defineProperty(a,o,{...l,value:i})}return a}return e}var Wo=Ce(to(),1),tR=Ce(Jn(),1),{AsymmetricMatcher:rR,DOMCollection:nR,DOMElement:oR,Immutable:aR,ReactElement:lR,ReactTestComponent:iR}=Wo.plugins,Dl=[iR,lR,oR,nR,aR,rR];function ct(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,u;try{u=(0,Wo.format)(e,{maxDepth:t,escapeString:!1,plugins:Dl,...n})}catch{u=(0,Wo.format)(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Dl,...n})}return u.length>=a&&t>1?ct(e,Math.floor(t/2)):u}var sR=/%[sdjifoOcj%]/g;function uR(...e){if(typeof e[0]!="string"){let u=[];for(let o=0;o{if(u==="%%")return"%";if(r>=t)return u;switch(u){case"%s":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:typeof o=="number"&&o===0&&1/o<0?"-0":typeof o=="object"&&o!==null?Nr(o,{depth:0,colors:!1,compact:3}):String(o)}case"%d":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number(o).toString()}case"%i":{let o=e[r++];return typeof o=="bigint"?`${o.toString()}n`:Number.parseInt(String(o)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Nr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Nr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(o){let l=o.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw o}default:return u}});for(let u=e[r];r(e[t]=Ya,e),{isColorSupported:!1});function Ja(){return globalThis[cR]||pR}Ce(to(),1);Ce(Jn(),1);var Nu;Nu=/\r?\n|[\r\u2028\u2029]/y;RegExp(Nu.source);var Iu={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(Iu.keyword);new Set(Iu.strict);var _t=Ce(to(),1),Ll=Ce(Xs(),1);function Fl(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var hr=-1,gr=1,An=0,Ir=class{constructor(e,t){Vt(this,0);Vt(this,1);this[0]=e,this[1]=t}},Bu="Compared values have no visual difference.",mR="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.";function bR(e,t){return e.replace(/\s+$/,r=>t(r))}function Xa(e,t,r,n,a,u){return e.length!==0?r(`${n} ${bR(e,a)}`):n!==" "?r(n):t&&u.length!==0?r(`${n} ${u}`):""}function $u(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Xa(e,t,r,n,a,u)}function ku(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Xa(e,t,r,n,a,u)}function Du(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:u}){return Xa(e,t,r,n,a,u)}function Ul(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function yR(e,t){let r=e.length,n=t.contextLines,a=n+n,u=r,o=!1,l=0,i=0;for(;i!==r;){let w=i;for(;i!==r&&e[i][0]===An;)i+=1;if(w!==i)if(w===0)i>n&&(u-=i-n,o=!0);else if(i===r){let P=i-w;P>n&&(u-=P-n,o=!0)}else{let P=i-w;P>a&&(u-=P-a,l+=1)}for(;i!==r&&e[i][0]!==An;)i+=1}let s=l!==0||o;l!==0?u+=l+1:o&&(u+=1);let f=u-1,d=[],c=0;s&&d.push("");let p=0,m=0,b=0,g=0,y=w=>{let P=d.length;d.push(Du(w,P===0||P===f,t)),b+=1,g+=1},v=w=>{let P=d.length;d.push($u(w,P===0||P===f,t)),b+=1},R=w=>{let P=d.length;d.push(ku(w,P===0||P===f,t)),g+=1};for(i=0;i!==r;){let w=i;for(;i!==r&&e[i][0]===An;)i+=1;if(w!==i)if(w===0){i>n&&(w=i-n,p=w,m=w,b=p,g=m);for(let P=w;P!==i;P+=1)y(e[P][1])}else if(i===r){let P=i-w>n?w+n:i;for(let S=w;S!==P;S+=1)y(e[S][1])}else{let P=i-w;if(P>a){let S=w+n;for(let h=w;h!==S;h+=1)y(e[h][1]);d[c]=Ul(p,b,m,g,t),c=d.length,d.push("");let q=P-a;p=b+q,m=g+q,b=p,g=m;for(let h=i-n;h!==i;h+=1)y(e[h][1])}else for(let S=w;S!==i;S+=1)y(e[S][1])}for(;i!==r&&e[i][0]===hr;)v(e[i][1]),i+=1;for(;i!==r&&e[i][0]===gr;)R(e[i][1]),i+=1}return s&&(d[c]=Ul(p,b,m,g,t)),d.join(` +`)}function hR(e,t){return e.map((r,n,a)=>{let u=r[1],o=n===0||n===a.length-1;switch(r[0]){case hr:return $u(u,o,t);case gr:return ku(u,o,t);default:return Du(u,o,t)}}).join(` +`)}var Po=e=>e,Lu=5,gR=0;function vR(){let e=Ja();return{aAnnotation:"Expected",aColor:e.green,aIndicator:"-",bAnnotation:"Received",bColor:e.red,bIndicator:"+",changeColor:e.inverse,changeLineTrailingSpaceColor:Po,commonColor:e.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Po,compareKeys:void 0,contextLines:Lu,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:e.yellow,truncateThreshold:gR,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Po}}function _R(e){return e&&typeof e=="function"?e:void 0}function wR(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Lu}function sn(e={}){return{...vR(),...e,compareKeys:_R(e.compareKeys),contextLines:wR(e.contextLines)}}function ur(e){return e.length===1&&e[0].length===0}function ER(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case hr:t+=1;break;case gr:r+=1;break}}),{a:t,b:r}}function RR({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:u,includeChangeCounts:o,omitAnnotationLines:l},i){if(l)return"";let s="",f="";if(o){let p=String(i.a),m=String(i.b),b=n.length-e.length,g=" ".repeat(Math.max(0,b)),y=" ".repeat(Math.max(0,-b)),v=m.length-p.length,R=" ".repeat(Math.max(0,v)),w=" ".repeat(Math.max(0,-v));s=`${g} ${r} ${R}${p}`,f=`${y} ${u} ${w}${m}`}let d=`${r} ${e}${s}`,c=`${u} ${n}${f}`;return`${t(d)} +${a(c)} + +`}function Fu(e,t,r){return RR(r,ER(e))+(r.expand?hR(e,r):yR(e,r))+(t?r.truncateAnnotationColor(` +${r.truncateAnnotation}`):"")}function Qa(e,t,r){let n=sn(r),[a,u]=Uu(ur(e)?[]:e,ur(t)?[]:t,n);return Fu(a,u,n)}function CR(e,t,r,n,a){if(ur(e)&&ur(r)&&(e=[],r=[]),ur(t)&&ur(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Qa(e,t,a);let[u,o]=Uu(r,n,a),l=0,i=0;return u.forEach(s=>{switch(s[0]){case hr:s[1]=e[l],l+=1;break;case gr:s[1]=t[i],i+=1;break;default:s[1]=t[i],l+=1,i+=1}}),Fu(u,o,sn(a))}function Uu(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),u=n?Math.min(e.length,a):e.length,o=n?Math.min(t.length,a):t.length,l=u!==e.length||o!==t.length,i=(p,m)=>e[p]===t[m],s=[],f=0,d=0,c=(p,m,b)=>{for(;f!==m;f+=1)s.push(new Ir(hr,e[f]));for(;d!==b;d+=1)s.push(new Ir(gr,t[d]));for(;p!==0;p-=1,f+=1,d+=1)s.push(new Ir(An,t[d]))};for((Ll.default.default||Ll.default)(u,o,i,c);f!==u;f+=1)s.push(new Ir(hr,e[f]));for(;d!==o;d+=1)s.push(new Ir(gr,t[d]));return[s,l]}function Go(e,t){let{commonColor:r}=sn(t);return r(e)}var{AsymmetricMatcher:qR,DOMCollection:PR,DOMElement:OR,Immutable:SR,ReactElement:TR,ReactTestComponent:AR}=_t.plugins,Hu=[AR,TR,OR,PR,SR,qR],Ko={plugins:Hu},Vu={callToJSON:!1,maxDepth:10,plugins:Hu};function Vr(e,t,r){if(Object.is(e,t))return"";let n=Fl(e),a=n,u=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return null;a=e.getExpectedType(),u=a==="string"}if(a!==Fl(t)){let{aAnnotation:o,aColor:l,aIndicator:i,bAnnotation:s,bColor:f,bIndicator:d}=sn(r),c=Yo(Vu,r),p=(0,_t.format)(e,c),m=(0,_t.format)(t,c),b=`${l(`${i} ${o}:`)} +${p}`,g=`${f(`${d} ${s}:`)} +${m}`;return`${b} + +${g}`}if(u)return null;switch(n){case"string":return Qa(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return jR(e,t,r);case"map":return Oo(Hl(e),Hl(t),r);case"set":return Oo(Vl(e),Vl(t),r);default:return Oo(e,t,r)}}function jR(e,t,r){let n=(0,_t.format)(e,Ko),a=(0,_t.format)(t,Ko);return n===a?"":Qa(n.split(` +`),a.split(` +`),r)}function Hl(e){return new Map(Array.from(e.entries()).sort())}function Vl(e){return new Set(Array.from(e.values()).sort())}function Oo(e,t,r){let n,a=!1;try{let o=Yo(Ko,r);n=zl(e,t,o,r)}catch{a=!0}let u=Go(Bu,r);if(n===void 0||n===u){let o=Yo(Vu,r);n=zl(e,t,o,r),n!==u&&!a&&(n=`${Go(mR,r)} + +${n}`)}return n}function Yo(e,t){let{compareKeys:r}=sn(t);return{...e,compareKeys:r}}function zl(e,t,r,n){let a={...r,indent:0},u=(0,_t.format)(e,a),o=(0,_t.format)(t,a);if(u===o)return Go(Bu,n);{let l=(0,_t.format)(e,r),i=(0,_t.format)(t,r);return CR(l.split(` +`),i.split(` +`),u.split(` +`),o.split(` +`),n)}}function jn(e,t){if(!e)throw new Error(t)}function cr(e,t){return typeof t===e}function xR(e){return e instanceof Promise}function Jo(e,t,r){Object.defineProperty(e,t,r)}function fr(e,t,r){Object.defineProperty(e,t,{value:r})}var Fr=Symbol.for("tinyspy:spy"),MR=new Set,NR=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[]},IR=e=>(Jo(e,Fr,{value:{reset:()=>NR(e[Fr])}}),e[Fr]),kn=e=>e[Fr]||IR(e);function BR(e){jn(cr("function",e)||cr("undefined",e),"cannot spy on a non-function value");let t=function(...n){let a=kn(t);a.called=!0,a.callCount++,a.calls.push(n);let u=a.next.shift();if(u){a.results.push(u);let[s,f]=u;if(s==="ok")return f;throw f}let o,l="ok";if(a.impl)try{new.target?o=Reflect.construct(a.impl,n,new.target):o=a.impl.apply(this,n),l="ok"}catch(s){throw o=s,l="error",a.results.push([l,s]),s}let i=[l,o];if(xR(o)){let s=o.then(f=>i[1]=f).catch(f=>{throw i[0]="error",i[1]=f,f});Object.assign(s,o),o=s}return a.results.push(i),o};fr(t,"_isMockFunction",!0),fr(t,"length",e?e.length:0),fr(t,"name",e&&e.name||"spy");let r=kn(t);return r.reset(),r.impl=e,t}var Wl=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function $R(e,t,r){jn(!cr("undefined",e),"spyOn could not find an object to spy upon"),jn(cr("object",e)||cr("function",e),"cannot spyOn on a primitive value");let n=()=>{if(!cr("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")},[a,u]=n(),o=Wl(e,a),l=Object.getPrototypeOf(e),i=l&&Wl(l,a),s=o||i;jn(s||a in e,`${String(a)} does not exist`);let f=!1;u==="value"&&s&&!s.value&&s.get&&(u="get",f=!0,r=s.get());let d;s?d=s[u]:u!=="value"?d=()=>e[a]:d=e[a],r||(r=d);let c=BR(r),p=g=>{let{value:y,...v}=s||{configurable:!0,writable:!0};u!=="value"&&delete v.writable,v[u]=g,Jo(e,a,v)},m=()=>s?Jo(e,a,s):p(d),b=c[Fr];return fr(b,"restore",m),fr(b,"getOriginal",()=>f?d():d),fr(b,"willCall",g=>(b.impl=g,c)),p(f?()=>c:c),MR.add(c),c}var co=new Set;function zu(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var kR=0;function DR(e){let t=e,r,n=[],a=[],u=kn(e),o={get calls(){return u.calls},get instances(){return n},get invocationCallOrder(){return a},get results(){return u.results.map(([c,p])=>({type:c==="error"?"throw":"return",value:p}))},get lastCall(){return u.calls[u.calls.length-1]}},l=[],i=!1;function s(...c){return n.push(this),a.push(++kR),(i?r:l.shift()||r||u.getOriginal()||(()=>{})).apply(this,c)}let f=t.name;t.getMockName=()=>f||"vi.fn()",t.mockName=c=>(f=c,t),t.mockClear=()=>(u.reset(),n=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},l=[],t),t.mockRestore=()=>(t.mockReset(),u.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=c=>(r=c,u.willCall(s),t),t.mockImplementationOnce=c=>(l.push(c),t);function d(c,p){let m=r;r=c,u.willCall(s),i=!0;let b=()=>{r=m,i=!1},g=p();return g instanceof Promise?g.then(()=>(b(),t)):(b(),t)}return t.withImplementation=d,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=c=>t.mockImplementation(()=>c),t.mockReturnValueOnce=c=>t.mockImplementationOnce(()=>c),t.mockResolvedValue=c=>t.mockImplementation(()=>Promise.resolve(c)),t.mockResolvedValueOnce=c=>t.mockImplementationOnce(()=>Promise.resolve(c)),t.mockRejectedValue=c=>t.mockImplementation(()=>Promise.reject(c)),t.mockRejectedValueOnce=c=>t.mockImplementationOnce(()=>Promise.reject(c)),Object.defineProperty(t,"mock",{get:()=>o}),u.willCall(s),co.add(t),t}function Gl(e){let t=DR($R({spy:e||(()=>{})},"spy"));return e&&t.mockImplementation(e),t}Ce(to(),1);Ce(Xs(),1);Ce(Jn(),1);var LR="@@__IMMUTABLE_RECORD__@@",FR="@@__IMMUTABLE_ITERABLE__@@";function UR(e){return e&&(e[FR]||e[LR])}var HR=Object.getPrototypeOf({});function Kl(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function Ur(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(UR(e))return Ur(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()} ${uR(e.sample)}`;if(typeof e.toJSON=="function")return e.toJSON();if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=Ur(n,t)}catch(u){r[a]=Kl(u)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==HR;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=Ur(e[a],t)}catch(u){delete r[a],r[a]=Kl(u)}}),n=Object.getPrototypeOf(n);return r}}function Yl(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function VR(e,t){if(!e||typeof e!="object")return{message:e};if(e.stack&&(e.stackStr=String(e.stack)),e.name&&(e.nameStr=String(e.name)),e.showDiff||e.showDiff===void 0&&e.expected!==void 0&&e.actual!==void 0){let r=kl(e.actual,{forceWritable:!0}),n=kl(e.expected,{forceWritable:!0}),{replacedActual:a,replacedExpected:u}=Wu(r,n);e.diff=Vr(u,a,{...t,...e.diffOptions})}typeof e.expected!="string"&&(e.expected=ct(e.expected,10)),typeof e.actual!="string"&&(e.actual=ct(e.actual,10));try{typeof e.message=="string"&&(e.message=Yl(e.message)),typeof e.cause=="object"&&typeof e.cause.message=="string"&&(e.cause.message=Yl(e.cause.message))}catch{}try{return Ur(e)}catch(r){return Ur(new Error(`Failed to fully serialize error: ${r==null?void 0:r.message} +Inner error message: ${e==null?void 0:e.message}`))}}function Jl(e){return Vo(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Xl(e,t){let r=Vo(e),n=Vo(t);return r===n&&(r==="Object"||r==="Array")}function Wu(e,t,r=new WeakSet,n=new WeakSet){return Xl(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),xu(t).forEach(a=>{let u=t[a],o=e[a];if(Jl(u))u.asymmetricMatch(o)&&(e[a]=u);else if(Jl(o))o.asymmetricMatch(u)&&(t[a]=o);else if(Xl(o,u)){let l=Wu(o,u,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}var zr=Symbol.for("matchers-object"),Wr=Symbol.for("$$jest-matchers-object-storybook"),fo=Symbol.for("expect-global"),Xo=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,zr)){let e=new WeakMap;Object.defineProperty(globalThis,zr,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,Wr)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Wr,{configurable:!0,get:()=>({state:globalThis[zr].get(globalThis[fo]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Xo)){let e=Object.create(null);Object.defineProperty(globalThis,Xo,{get:()=>e})}function Gr(e){return globalThis[zr].get(e)}function So(e,t){let r=globalThis[zr],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}function Gu(){let e=()=>Ja(),t=e().green,r=e().red,n=e().inverse,a=e().bold,u=e().dim;function o(s,f="received",d="expected",c={}){let{comment:p="",isDirectExpectCall:m=!1,isNot:b=!1,promise:g="",secondArgument:y="",expectedColor:v=t,receivedColor:R=r,secondArgumentColor:w=t}=c,P="",S="expect";return!m&&f!==""&&(P+=u(`${S}(`)+R(f),S=")"),g!==""&&(P+=u(`${S}.`)+g,S=""),b&&(P+=`${u(`${S}.`)}not`,S=""),s.includes(".")?S+=s:(P+=u(`${S}.`)+s,S=""),d===""?S+="()":(P+=u(`${S}(`)+v(d),y&&(P+=u(", ")+w(y)),S=")"),p!==""&&(S+=` // ${p}`),S!==""&&(P+=u(S)),P}let l="·",i=s=>s.replace(/\s+$/gm,f=>l.repeat(f.length));return{EXPECTED_COLOR:t,RECEIVED_COLOR:r,INVERTED_COLOR:n,BOLD_WEIGHT:a,DIM_COLOR:u,matcherHint:o,printReceived:s=>r(i(ct(s))),printExpected:s=>t(i(ct(s)))}}function Za(){return globalThis[Wr].customEqualityTesters}function ge(e,t,r,n){return r=r||[],Ku(e,t,[],[],r,n?Yu:WR)}function Ql(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&<("Function",e.asymmetricMatch)}function zR(e,t){let r=Ql(e),n=Ql(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Ku(e,t,r,n,a,u){let o=!0,l=zR(e,t);if(l!==void 0)return l;let i={equals:ge};for(let m=0;mObject.getOwnPropertyDescriptor(e,n).enumerable))}function WR(e,t){return Yu(e,t)&&e[t]!==void 0}function Yu(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function lt(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function ei(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var GR="@@__IMMUTABLE_KEYED__@@",KR="@@__IMMUTABLE_SET__@@",Ju="@@__IMMUTABLE_ORDERED__@@";function YR(e){return!!(e&&e[GR]&&!e[Ju])}function JR(e){return!!(e&&e[KR]&&!e[Ju])}var Xu=Symbol.iterator;function ti(e){return!!(e!=null&&e[Xu])}function Je(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!ti(e)||!ti(t))return;if(e.constructor!==t.constructor)return!1;let u=n.length;for(;u--;)if(n[u]===e)return a[u]===t;n.push(e),a.push(t);let o=[...r.filter(d=>d!==Je),l];function l(d,c){return Je(d,c,[...r],[...n],[...a])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(lt("Set",e)||JR(e)){let d=!0;for(let c of e)if(!t.has(c)){let p=!1;for(let m of t)ge(c,m,o)===!0&&(p=!0);if(p===!1){d=!1;break}}return n.pop(),a.pop(),d}else if(lt("Map",e)||YR(e)){let d=!0;for(let c of e)if(!t.has(c[0])||!ge(c[1],t.get(c[0]),o)){let p=!1;for(let m of t){let b=ge(c[0],m[0],o),g=!1;b===!0&&(g=ge(c[1],m[1],o)),g===!0&&(p=!0)}if(p===!1){d=!1;break}}return n.pop(),a.pop(),d}}let i=t[Xu]();for(let d of e){let c=i.next();if(c.done||!ge(d,c.value,o))return!1}if(!i.next().done)return!1;let s=Object.entries(e),f=Object.entries(t);return ge(s,f)?(n.pop(),a.pop(),!0):!1}function el(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||el(Object.getPrototypeOf(e),t)}function XR(e){return Tn(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function un(e,t,r=[]){let n=r.filter(u=>u!==un),a=(u=new WeakMap)=>(o,l)=>{if(XR(l))return Object.keys(l).every(i=>{if(l[i]!=null&&typeof l[i]=="object"){if(u.has(l[i]))return ge(o[i],l[i],n);u.set(l[i],!0)}let s=o!=null&&el(o,i)&&ge(o[i],l[i],[...n,a(u)]);return u.delete(l[i]),s})};return a()(e,t)}function ri(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function ni(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let a=0;ao!==Qo);return ge(e,t,u,!0)&&ge(n,a)}function QR(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n} + +If it should pass with deep equality, replace "toBe" with "${e}" + +Expected: ${t} +Received: serializes to the same string +`:n}function ZR(e,t){return`${t} ${e}${t===1?"":"s"}`}function To(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function eC(e,t,r=[]){let n=0,a=(u=new WeakMap)=>(o,l)=>{if(Array.isArray(o)){if(Array.isArray(l)&&l.length===o.length)return l.map((i,s)=>a(u)(o[s],i))}else{if(o instanceof Date)return o;if(Tn(o)&&Tn(l)){if(ge(o,l,[...r,Je,un]))return l;let i={};u.set(o,i);for(let s of To(o))el(l,s)?i[s]=u.has(o[s])?u.get(o[s]):a(u)(o[s],l[s]):u.has(o[s])||(n+=1,Tn(o[s])&&(n+=To(o[s]).length),a(u)(o[s],l[s]));if(To(i).length>0)return i}}return o};return{subset:a()(e,t),stripped:n}}var Lt=class{constructor(e,t=!1){Vt(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Gr(e||globalThis[fo]),equals:ge,isNot:this.inverse,customTesters:Za(),utils:{...Gu(),diff:Vr,stringify:ct,iterableEquality:Je,subsetEquality:un}}}[Symbol.for("chai/inspect")](e){let t=ct(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`}},oi=class extends Lt{constructor(e,t=!1){if(!lt("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=lt("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},tC=class extends Lt{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},ai=class extends Lt{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!ge(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},li=class extends Lt{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(a=>ge(n,a,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},rC=class extends Lt{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*\*?\s*([\w$]+)\s*\(/);return t?t[1]:""}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},ii=class extends Lt{constructor(e,t=!1){if(!lt("String",e)&&!lt("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=lt("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},si=class extends Lt{constructor(t,r=2,n=!1){if(!lt("Number",t))throw new Error("Expected is not a Number");if(!lt("Number",r))throw new Error("Precision is not a Number");super(t);Vt(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!lt("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${ZR("digit",this.precision)})`].join(" ")}},nC=(e,t)=>{t.addMethod(e.expect,"anything",()=>new tC),t.addMethod(e.expect,"any",r=>new rC(r)),t.addMethod(e.expect,"stringContaining",r=>new oi(r)),t.addMethod(e.expect,"objectContaining",r=>new ai(r)),t.addMethod(e.expect,"arrayContaining",r=>new li(r)),t.addMethod(e.expect,"stringMatching",r=>new ii(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new si(r,n)),e.expect.not={stringContaining:r=>new oi(r,!0),objectContaining:r=>new ai(r,!0),arrayContaining:r=>new li(r,!0),stringMatching:r=>new ii(r,!0),closeTo:(r,n)=>new si(r,n,!0)}};function ui(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function Qu(e,t){return function(...r){var n;let a=e.flag(this,"vitest-test");if(!(a!=null&&a.context._local?a.context.expect.getState():Gr(globalThis[fo])).soft)return t.apply(this,r);if(!a)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(u){a.result||(a.result={state:"fail"}),a.result.state="fail",(n=a.result).errors||(n.errors=[]),a.result.errors.push(VR(u))}}}var oC=(e,t)=>{let{AssertionError:r}=e,n=()=>Ja(),a=Za();function u(d,c){let p=m=>{let b=Qu(t,c);t.addMethod(e.Assertion.prototype,m,b),t.addMethod(globalThis[Wr].matchers,m,b)};Array.isArray(d)?d.forEach(m=>p(m)):p(d)}["throw","throws","Throw"].forEach(d=>{t.overwriteMethod(e.Assertion.prototype,d,c=>function(...p){let m=t.flag(this,"promise"),b=t.flag(this,"object"),g=t.flag(this,"negate");if(m==="rejects")t.flag(this,"object",()=>{throw b});else if(m==="resolves"&&typeof b!="function"){if(g)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",v={showDiff:!1};throw new r(y,v,t.flag(this,"ssfi"))}}c.apply(this,p)})}),u("withTest",function(d){return t.flag(this,"vitest-test",d),this}),u("toEqual",function(d){let c=t.flag(this,"object"),p=ge(c,d,[...a,Je]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",d,c)}),u("toStrictEqual",function(d){let c=t.flag(this,"object"),p=ge(c,d,[...a,Je,ri,Qo,ni],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",d,c)}),u("toBe",function(d){let c=this._obj,p=Object.is(c,d),m="";return p||(ge(c,d,[...a,Je,ri,Qo,ni],!0)?m="toStrictEqual":ge(c,d,[...a,Je])&&(m="toEqual")),this.assert(p,QR(m),"expected #{this} not to be #{exp} // Object.is equality",d,c)}),u("toMatchObject",function(d){let c=this._obj,p=ge(c,d,[...a,Je,un]),m=t.flag(this,"negate"),{subset:b,stripped:g}=eC(c,d);if(p&&m||!p&&!m){let y=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",d,b,!1]),v=g===0?y:`${y} +(${g} matching ${g===1?"property":"properties"} omitted from actual)`;throw new r(v,{showDiff:!0,expected:d,actual:b})}}),u("toMatch",function(d){let c=this._obj;if(typeof c!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof c}`);return this.assert(typeof d=="string"?c.includes(d):c.match(d),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",d,c)}),u("toContain",function(d){let c=this._obj;if(typeof Node<"u"&&c instanceof Node){if(!(d instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof d}`);return this.assert(c.contains(d),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",d,c)}if(typeof DOMTokenList<"u"&&c instanceof DOMTokenList){gt(d,"class name",["string"]);let p=t.flag(this,"negate")?c.value.replace(d,"").trim():`${c.value} ${d}`;return this.assert(c.contains(d),`expected "${c.value}" to contain "${d}"`,`expected "${c.value}" not to contain "${d}"`,p,c.value)}return typeof c=="string"&&typeof d=="string"?this.assert(c.includes(d),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",d,c):(c!=null&&typeof c!="string"&&t.flag(this,"object",Array.from(c)),this.contain(d))}),u("toContainEqual",function(d){let c=t.flag(this,"object"),p=Array.from(c).findIndex(m=>ge(m,d,a));this.assert(p!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",d)}),u("toBeTruthy",function(){let d=t.flag(this,"object");this.assert(!!d,"expected #{this} to be truthy","expected #{this} to not be truthy",d,!1)}),u("toBeFalsy",function(){let d=t.flag(this,"object");this.assert(!d,"expected #{this} to be falsy","expected #{this} to not be falsy",d,!1)}),u("toBeGreaterThan",function(d){let c=this._obj;return gt(c,"actual",["number","bigint"]),gt(d,"expected",["number","bigint"]),this.assert(c>d,`expected ${c} to be greater than ${d}`,`expected ${c} to be not greater than ${d}`,c,d,!1)}),u("toBeGreaterThanOrEqual",function(d){let c=this._obj;return gt(c,"actual",["number","bigint"]),gt(d,"expected",["number","bigint"]),this.assert(c>=d,`expected ${c} to be greater than or equal to ${d}`,`expected ${c} to be not greater than or equal to ${d}`,c,d,!1)}),u("toBeLessThan",function(d){let c=this._obj;return gt(c,"actual",["number","bigint"]),gt(d,"expected",["number","bigint"]),this.assert(cString(w).replace(/([.[\]])/g,"\\$1")).join("."));let c=this._obj,[p,m]=d,b=()=>Object.prototype.hasOwnProperty.call(c,p)?{value:c[p],exists:!0}:t.getPathInfo(c,p),{value:g,exists:y}=b(),v=y&&(d.length===1||ge(m,g,a)),R=d.length===1?"":` with value ${t.objDisplay(m)}`;return this.assert(v,`expected #{this} to have property "${p}"${R}`,`expected #{this} to not have property "${p}"${R}`,m,y?g:void 0)}),u("toBeCloseTo",function(d,c=2){let p=this._obj,m=!1,b=0,g=0;return d===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||d===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?m=!0:(b=10**-c/2,g=Math.abs(p-d),m=g{if(!zu(d._obj))throw new TypeError(`${t.inspect(d._obj)} is not a spy or a call to a spy!`)},l=d=>(o(d),d._obj),i=d=>{let c=d%10,p=d%100;return c===1&&p!==11?`${d}st`:c===2&&p!==12?`${d}nd`:c===3&&p!==13?`${d}rd`:`${d}th`},s=(d,c,p)=>(d.mock.calls&&(c+=n().gray(` + +Received: + +${d.mock.calls.map((m,b)=>{let g=n().bold(` ${i(b+1)} ${d.getMockName()} call: + +`);return p?g+=Vr(p,m,{omitAnnotationLines:!0}):g+=ct(m).split(` +`).map(y=>` ${y}`).join(` +`),g+=` +`,g}).join(` +`)}`)),c+=n().gray(` + +Number of calls: ${n().bold(d.mock.calls.length)} +`),c),f=(d,c,p)=>(c+=n().gray(` + +Received: + +${d.mock.results.map((m,b)=>{let g=n().bold(` ${i(b+1)} ${d.getMockName()} call return: + +`);return p?g+=Vr(p,m.value,{omitAnnotationLines:!0}):g+=ct(m).split(` +`).map(y=>` ${y}`).join(` +`),g+=` +`,g}).join(` +`)}`),c+=n().gray(` + +Number of calls: ${n().bold(d.mock.calls.length)} +`),c);u(["toHaveBeenCalledTimes","toBeCalledTimes"],function(d){let c=l(this),p=c.getMockName(),m=c.mock.calls.length;return this.assert(m===d,`expected "${p}" to be called #{exp} times, but got ${m} times`,`expected "${p}" to not be called #{exp} times`,d,m,!1)}),u("toHaveBeenCalledOnce",function(){let d=l(this),c=d.getMockName(),p=d.mock.calls.length;return this.assert(p===1,`expected "${c}" to be called once, but got ${p} times`,`expected "${c}" to not be called once`,1,p,!1)}),u(["toHaveBeenCalled","toBeCalled"],function(){let d=l(this),c=d.getMockName(),p=d.mock.calls.length,m=p>0,b=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${c}" to be called at least once`,`expected "${c}" to not be called at all, but actually been called ${p} times`,!0,m]);if(m&&b&&(g=s(d,g)),m&&b||!m&&!b)throw new r(g)}),u(["toHaveBeenCalledWith","toBeCalledWith"],function(...d){let c=l(this),p=c.getMockName(),m=c.mock.calls.some(y=>ge(y,d,[...a,Je])),b=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,d]);if(m&&b||!m&&!b)throw new r(s(c,g,d))}),u(["toHaveBeenNthCalledWith","nthCalledWith"],function(d,...c){let p=l(this),m=p.getMockName(),b=p.mock.calls[d-1],g=p.mock.calls.length,y=d<=g;this.assert(ge(b,c,[...a,Je]),`expected ${i(d)} "${m}" call to have been called with #{exp}${y?"":`, but called only ${g} times`}`,`expected ${i(d)} "${m}" call to not have been called with #{exp}`,c,b,y)}),u(["toHaveBeenLastCalledWith","lastCalledWith"],function(...d){let c=l(this),p=c.getMockName(),m=c.mock.calls[c.mock.calls.length-1];this.assert(ge(m,d,[...a,Je]),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,d,m)}),u(["toThrow","toThrowError"],function(d){if(typeof d=="string"||typeof d>"u"||d instanceof RegExp)return this.throws(d);let c=this._obj,p=t.flag(this,"promise"),m=t.flag(this,"negate"),b=null;if(p==="rejects")b=c;else if(p==="resolves"&&typeof c!="function"){if(m)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(g,y,t.flag(this,"ssfi"))}}else{let g=!1;try{c()}catch(y){g=!0,b=y}if(!g&&!m){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",v={showDiff:!1};throw new r(y,v,t.flag(this,"ssfi"))}}if(typeof d=="function"){let g=d.name||d.prototype.constructor.name;return this.assert(b&&b instanceof d,`expected error to be instance of ${g}`,`expected error not to be instance of ${g}`,d,b)}if(d instanceof Error)return this.assert(b&&d.message===b.message,`expected error to have message: ${d.message}`,`expected error not to have message: ${d.message}`,d.message,b&&b.message);if(typeof d=="object"&&"asymmetricMatch"in d&&typeof d.asymmetricMatch=="function"){let g=d;return this.assert(b&&g.asymmetricMatch(b),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",g,b)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof d}"`)}),u(["toHaveReturned","toReturn"],function(){let d=l(this),c=d.getMockName(),p=d.mock.calls.length>0&&d.mock.results.some(({type:m})=>m!=="throw");this.assert(p,`expected "${c}" to be successfully called at least once`,`expected "${c}" to not be successfully called`,p,!p,!1)}),u(["toHaveReturnedTimes","toReturnTimes"],function(d){let c=l(this),p=c.getMockName(),m=c.mock.results.reduce((b,{type:g})=>g==="throw"?b:++b,0);this.assert(m===d,`expected "${p}" to be successfully called ${d} times`,`expected "${p}" to not be successfully called ${d} times`,`expected number of returns: ${d}`,`received number of returns: ${m}`,!1)}),u(["toHaveReturnedWith","toReturnWith"],function(d){let c=l(this),p=c.getMockName(),m=c.mock.results.some(({type:y,value:v})=>y==="return"&&ge(d,v)),b=t.flag(this,"negate"),g=t.getMessage(this,[m,`expected "${p}" to return with: #{exp} at least once`,`expected "${p}" to not return with: #{exp}`,d]);if(m&&b||!m&&!b)throw new r(f(c,g,d))}),u(["toHaveLastReturnedWith","lastReturnedWith"],function(d){let c=l(this),p=c.getMockName(),{value:m}=c.mock.results[c.mock.results.length-1],b=ge(m,d);this.assert(b,`expected last "${p}" call to return #{exp}`,`expected last "${p}" call to not return #{exp}`,d,m)}),u(["toHaveNthReturnedWith","nthReturnedWith"],function(d,c){let p=l(this),m=p.getMockName(),b=t.flag(this,"negate"),{type:g,value:y}=p.mock.results[d-1],v=`${i(d)} call`;!b&&g==="throw"&&e.assert.fail(`expected ${v} to return #{exp}, but instead it threw an error`);let R=ge(y,c);this.assert(R,`expected ${v} "${m}" call to return #{exp}`,`expected ${v} "${m}" call to not return #{exp}`,c,y)}),u("toSatisfy",function(d,c){return this.be.satisfy(d,c)}),t.addProperty(e.Assertion.prototype,"resolves",function(){let d=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",d);let c=t.flag(this,"vitest-test"),p=t.flag(this,"object");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 m=new Proxy(this,{get:(b,g,y)=>{let v=Reflect.get(b,g,y);return typeof v!="function"?v instanceof e.Assertion?m:v:async(...R)=>{let w=p.then(P=>(t.flag(this,"object",P),v.call(this,...R)),P=>{let S=new r(`promise rejected "${t.inspect(P)}" instead of resolving`,{showDiff:!1});throw S.cause=P,S.stack=d.stack.replace(d.message,S.message),S});return ui(c,w)}}});return m}),t.addProperty(e.Assertion.prototype,"rejects",function(){let d=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",d);let c=t.flag(this,"vitest-test"),p=t.flag(this,"object"),m=typeof p=="function"?p():p;if(typeof(m==null?void 0:m.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);let b=new Proxy(this,{get:(g,y,v)=>{let R=Reflect.get(g,y,v);return typeof R!="function"?R instanceof e.Assertion?b:R:async(...w)=>{let P=m.then(S=>{let q=new r(`promise resolved "${t.inspect(S)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:S});throw q.stack=d.stack.replace(d.message,q.message),q},S=>(t.flag(this,"object",S),R.call(this,...w)));return ui(c,P)}}});return b})};function aC(e,t){let r=e._obj,n=$n.flag(e,"negate"),a=$n.flag(e,"promise")||"",u={...Gu(),diff:Vr,stringify:ct,iterableEquality:Je,subsetEquality:un};return{state:{...Gr(t),customTesters:Za(),isNot:n,utils:u,promise:a,equals:ge,suppressedErrors:[]},isNot:n,obj:r}}var ci=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function lC(e,t){return(r,n)=>{Object.entries(t).forEach(([a,u])=>{function o(...f){let{state:d,isNot:c,obj:p}=aC(this,e),m=u.call(d,p,...f);if(m&&typeof m=="object"&&m instanceof Promise)return m.then(({pass:R,message:w,actual:P,expected:S})=>{if(R&&c||!R&&!c)throw new ci(w(),P,S)});let{pass:b,message:g,actual:y,expected:v}=m;if(b&&c||!b&&!c)throw new ci(g(),y,v)}let l=Qu(n,o);n.addMethod(globalThis[Wr].matchers,a,l),n.addMethod(r.Assertion.prototype,a,l);class i extends Lt{constructor(d=!1,...c){super(c,d)}asymmetricMatch(d){let{pass:c}=u.call(this.getMatcherContext(e),d,...this.sample);return this.inverse?!c:c}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...f)=>new i(!1,...f);Object.defineProperty(e,a,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(e.not,a,{configurable:!0,enumerable:!0,value:(...f)=>new i(!0,...f),writable:!0}),Object.defineProperty(globalThis[Xo],a,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var iC=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{e.use(lC(r,n))})},Zu={};xa(Zu,{toBeChecked:()=>Fc,toBeDisabled:()=>Mc,toBeEmpty:()=>gc,toBeEmptyDOMElement:()=>vc,toBeEnabled:()=>Nc,toBeInTheDOM:()=>ta,toBeInTheDocument:()=>hc,toBeInvalid:()=>$c,toBePartiallyChecked:()=>Hc,toBeRequired:()=>Ic,toBeValid:()=>kc,toBeVisible:()=>Sc,toContainElement:()=>ra,toContainHTML:()=>_c,toHaveAccessibleDescription:()=>na,toHaveAccessibleErrorMessage:()=>Ec,toHaveAccessibleName:()=>aa,toHaveAttribute:()=>Rc,toHaveClass:()=>Cc,toHaveDescription:()=>Vc,toHaveDisplayValue:()=>Lc,toHaveErrorMessage:()=>zc,toHaveFocus:()=>qc,toHaveFormValues:()=>Pc,toHaveRole:()=>oa,toHaveStyle:()=>la,toHaveTextContent:()=>wc,toHaveValue:()=>Dc});var di=Ce(Qs(),1);function ec(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function tl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var tc={};ec(tc);tl(tc,"default",()=>rc);var rc=class extends Error{constructor(e,t,r,n,a){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=a}},nc={};ec(nc);tl(nc,"default",()=>oc);var oc=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},sC={};tl(sC,"CssTypes",()=>je);var je;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.supports="supports"})(je||(je={}));var Ao=/\/\*[^]*?(?:\*\/|$)/g,uC=(e,t)=>{t=t||{};let r=1,n=1;function a(A){let x=A.match(/\n/g);x&&(r+=x.length);let L=A.lastIndexOf(` +`);n=~L?A.length-L:n+A.length}function u(){let A={line:r,column:n};return function(x){return x.position=new oc(A,{line:r,column:n},(t==null?void 0:t.source)||""),p(),x}}let o=[];function l(A){let x=new rc((t==null?void 0:t.source)||"",A,r,n,e);if(t!=null&&t.silent)o.push(x);else throw x}function i(){let A=d();return{type:je.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:A,parsingErrors:o}}}function s(){return c(/^{\s*/)}function f(){return c(/^}/)}function d(){let A,x=[];for(p(),m(x);e.length&&e.charAt(0)!=="}"&&(A=ue()||ce());)A&&(x.push(A),m(x));return x}function c(A){let x=A.exec(e);if(!x)return;let L=x[0];return a(L),e=e.slice(L.length),x}function p(){c(/^\s*/)}function m(A){let x;for(A=A||[];x=b();)x&&A.push(x);return A}function b(){let A=u();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let x=c(/^\/\*[^]*?\*\//);return x?A({type:je.comment,comment:x[0].slice(2,-2)}):l("End of comment missing")}function g(A,x,L){let N=x+1,G=!1,B=A.indexOf(")",N);for(;!G&&B!==-1;){let k=A.indexOf("(",N);k!==-1&&kG.replace(/,/g,"‌")),x.split(",").map(G=>Ze(G.replace(/\u200C/g,",")))}function v(){let A=u(),x=c(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!x)return;let L=Ze(x[0]);if(!c(/^:\s*/))return l("property missing ':'");let N=c(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),G=A({type:je.declaration,property:L.replace(Ao,""),value:N?Ze(N[0]).replace(Ao,""):""});return c(/^[;\s]*/),G}function R(){let A=[];if(!s())return l("missing '{'");m(A);let x;for(;x=v();)x&&(A.push(x),m(A));return f()?A:l("missing '}'")}function w(){let A,x=[],L=u();for(;A=c(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)x.push(A[1]),c(/^,\s*/);if(x.length)return L({type:je.keyframe,values:x,declarations:R()||[]})}function P(){let A=u(),x=c(/^@([-\w]+)?keyframes\s*/);if(!x)return;let L=x[1],N=c(/^([-\w]+)\s*/);if(!N)return l("@keyframes missing name");let G=N[1];if(!s())return l("@keyframes missing '{'");let B,k=m();for(;B=w();)k.push(B),k=k.concat(m());return f()?A({type:je.keyframes,name:G,vendor:L,keyframes:k}):l("@keyframes missing '}'")}function S(){let A=u(),x=c(/^@supports *([^{]+)/);if(!x)return;let L=Ze(x[1]);if(!s())return l("@supports missing '{'");let N=m().concat(d());return f()?A({type:je.supports,supports:L,rules:N}):l("@supports missing '}'")}function q(){let A=u();if(!c(/^@host\s*/))return;if(!s())return l("@host missing '{'");let x=m().concat(d());return f()?A({type:je.host,rules:x}):l("@host missing '}'")}function h(){let A=u(),x=c(/^@container *([^{]+)/);if(!x)return;let L=Ze(x[1]);if(!s())return l("@container missing '{'");let N=m().concat(d());return f()?A({type:je.container,container:L,rules:N}):l("@container missing '}'")}function C(){let A=u(),x=c(/^@layer *([^{;@]+)/);if(!x)return;let L=Ze(x[1]);if(!s())return c(/^[;\s]*/),A({type:je.layer,layer:L});let N=m().concat(d());return f()?A({type:je.layer,layer:L,rules:N}):l("@layer missing '}'")}function j(){let A=u(),x=c(/^@media *([^{]+)/);if(!x)return;let L=Ze(x[1]);if(!s())return l("@media missing '{'");let N=m().concat(d());return f()?A({type:je.media,media:L,rules:N}):l("@media missing '}'")}function M(){let A=u(),x=c(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(x)return A({type:je.customMedia,name:Ze(x[1]),media:Ze(x[2])})}function F(){let A=u();if(!c(/^@page */))return;let x=y()||[];if(!s())return l("@page missing '{'");let L=m(),N;for(;N=v();)L.push(N),L=L.concat(m());return f()?A({type:je.page,selectors:x,declarations:L}):l("@page missing '}'")}function U(){let A=u(),x=c(/^@([-\w]+)?document *([^{]+)/);if(!x)return;let L=Ze(x[1]),N=Ze(x[2]);if(!s())return l("@document missing '{'");let G=m().concat(d());return f()?A({type:je.document,document:N,vendor:L,rules:G}):l("@document missing '}'")}function H(){let A=u();if(!c(/^@font-face\s*/))return;if(!s())return l("@font-face missing '{'");let x=m(),L;for(;L=v();)x.push(L),x=x.concat(m());return f()?A({type:je.fontFace,declarations:x}):l("@font-face missing '}'")}let ee=ae("import"),J=ae("charset"),oe=ae("namespace");function ae(A){let x=new RegExp("^@"+A+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let L=u(),N=c(x);if(!N)return;let G={type:A};return G[A]=N[1].trim(),L(G)}}function ue(){if(e[0]==="@")return P()||j()||M()||S()||ee()||J()||oe()||U()||F()||q()||H()||h()||C()}function ce(){let A=u(),x=y();return x?(m(),A({type:je.rule,selectors:x,declarations:R()||[]})):l("selector missing")}return Zo(i())};function Ze(e){return e?e.trim():""}function Zo(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let u=e[a];Array.isArray(u)?u.forEach(o=>{Zo(o,n)}):u&&typeof u=="object"&&Zo(u,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var cC=uC,dC=cC,fC=Object.prototype.toString;function fi(e){return typeof e=="function"||fC.call(e)==="[object Function]"}function pC(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var mC=Math.pow(2,53)-1;function bC(e){var t=pC(e);return Math.min(Math.max(t,0),mC)}function ot(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"&&!fi(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=bC(n.length),u=fi(r)?Object(new r(a)):new Array(a),o=0,l;o0&&arguments[0]!==void 0?arguments[0]:[];yC(this,e),gC(this,"items",void 0),this.items=t}return hC(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),wC=typeof Set>"u"?Set:_C;function Le(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var EC={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"},RC={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 CC(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=RC[t])!==null&&n!==void 0&&n.has(r))})}function lc(e,t){return CC(e,t)}function qC(e){var t=OC(e);if(t===null||ea.indexOf(t)!==-1){var r=PC(e);if(ea.indexOf(t||"")===-1||lc(e,r||""))return r}return t}function PC(e){var t=EC[Le(e)];if(t!==void 0)return t;switch(Le(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!lc(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function OC(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var ea=["presentation","none"];function we(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function ic(e){return we(e)&&Le(e)==="caption"}function xn(e){return we(e)&&Le(e)==="input"}function SC(e){return we(e)&&Le(e)==="optgroup"}function TC(e){return we(e)&&Le(e)==="select"}function AC(e){return we(e)&&Le(e)==="table"}function jC(e){return we(e)&&Le(e)==="textarea"}function xC(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function MC(e){return we(e)&&Le(e)==="fieldset"}function NC(e){return we(e)&&Le(e)==="legend"}function IC(e){return we(e)&&Le(e)==="slot"}function BC(e){return we(e)&&e.ownerSVGElement!==void 0}function $C(e){return we(e)&&Le(e)==="svg"}function kC(e){return BC(e)&&Le(e)==="title"}function Dn(e,t){if(we(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function wt(e,t){return we(e)?t.indexOf(qC(e))!==-1:!1}function DC(e){return e.trim().replace(/\s\s+/g," ")}function LC(e,t){if(!we(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function FC(e){return wt(e,["button","combobox","listbox","textbox"])||sc(e,"range")}function sc(e,t){if(!we(e))return!1;switch(t){case"range":return wt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function mi(e,t){var r=ot(e.querySelectorAll(t));return Dn(e,"aria-owns").forEach(function(n){r.push.apply(r,ot(n.querySelectorAll(t)))}),r}function UC(e){return TC(e)?e.selectedOptions||mi(e,"[selected]"):mi(e,'[aria-selected="true"]')}function HC(e){return wt(e,ea)}function VC(e){return ic(e)}function zC(e){return wt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function WC(e){return!1}function GC(e){return xn(e)||jC(e)?e.value:e.textContent||""}function bi(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function uc(e){var t=Le(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function cc(e){if(uc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&we(r)){var n=cc(r);n!==null&&(t=n)}}),t}function KC(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):cc(e)}function YC(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return ot(t);if(!uc(e))return null;var r=e.ownerDocument;return ot(r.querySelectorAll("label")).filter(function(n){return KC(n)===e})}function JC(e){var t=e.assignedNodes();return t.length===0?ot(e.childNodes):t}function dc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new wC,n=xC(e),a=t.compute,u=a===void 0?"name":a,o=t.computedStyleSupportsPseudoElements,l=o===void 0?t.getComputedStyle!==void 0:o,i=t.getComputedStyle,s=i===void 0?n.getComputedStyle.bind(n):i,f=t.hidden,d=f===void 0?!1:f;function c(y,v){var R="";if(we(y)&&l){var w=s(y,"::before"),P=bi(w);R="".concat(P," ").concat(R)}var S=IC(y)?JC(y):ot(y.childNodes).concat(Dn(y,"aria-owns"));if(S.forEach(function(C){var j=g(C,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),M=we(C)?s(C).getPropertyValue("display"):"inline",F=M!=="inline"?" ":"";R+="".concat(F).concat(j).concat(F)}),we(y)&&l){var q=s(y,"::after"),h=bi(q);R="".concat(R," ").concat(h)}return R.trim()}function p(y,v){var R=y.getAttributeNode(v);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}function m(y){return we(y)?p(y,"title"):null}function b(y){if(!we(y))return null;if(MC(y)){r.add(y);for(var v=ot(y.childNodes),R=0;R0}).join(" ");if(xn(y)&&y.type==="image"){var ee=p(y,"alt");if(ee!==null)return ee;var J=p(y,"title");return J!==null?J:"Submit Query"}if(wt(y,["button"])){var oe=c(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(oe!=="")return oe}return null}function g(y,v){if(r.has(y))return"";if(!d&&LC(y,s)&&!v.isReferenced)return r.add(y),"";var R=we(y)?y.getAttributeNode("aria-labelledby"):null,w=R!==null&&!r.has(R)?Dn(y,"aria-labelledby"):[];if(u==="name"&&!v.isReferenced&&w.length>0)return r.add(R),w.map(function(M){return g(M,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&FC(y)&&u==="name";if(!P){var S=(we(y)&&y.getAttribute("aria-label")||"").trim();if(S!==""&&u==="name")return r.add(y),S;if(!HC(y)){var q=b(y);if(q!==null)return r.add(y),q}}if(wt(y,["menu"]))return r.add(y),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(wt(y,["combobox","listbox"])){r.add(y);var h=UC(y);return h.length===0?xn(y)?y.value:"":ot(h).map(function(M){return g(M,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(sc(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(wt(y,["textbox"]))return r.add(y),GC(y)}if(zC(y)||we(y)&&v.isReferenced||VC(y)||WC()){var C=c(y,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(C!=="")return r.add(y),C}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(v.recursion)return r.add(y),c(y,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var j=m(y);return j!==null?(r.add(y),j):(r.add(y),"")}return DC(g(e,{isEmbeddedInLabel:!1,isReferenced:u==="description",recursion:!1}))}function Yr(e){"@babel/helpers - typeof";return Yr=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},Yr(e)}function yi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function hi(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Dn(e,"aria-describedby").map(function(u){return dc(u,hi(hi({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}function tq(e){return wt(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function rq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return tq(e)?"":dc(e,t)}var rl=Ce(bu(),1),nq=Ce(hu(),1),fc=Ce(Su(),1),oq=Ce(Tu(),1),pc=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let a="";try{a=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,a].join(` +`)}},gi=class extends pc{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},vi=class extends pc{constructor(...e){super("be a Node",...e)}};function mc(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function aq(e,...t){mc(e,vi,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new vi(e,...t)}function ve(e,...t){mc(e,gi,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new gi(e,...t)}var lq=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(` +`)}};function iq(e,...t){let r=dC(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new lq({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:u})=>Object.assign(n,{[a]:u}),{})}function _i(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function De(e,t,r,n,a,u){return[`${t} +`,`${r}: +${e.utils.EXPECTED_COLOR((0,di.default)(_i(e,n),2))}`,`${a}: +${e.utils.RECEIVED_COLOR((0,di.default)(_i(e,u),2))}`].join(` +`)}function sq(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function po(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function mo(e){return e.replace(/\s+/g," ").trim()}function It(e){return e.tagName&&e.tagName.toLowerCase()}function uq({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function cq(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}function bc(e){if(e)switch(e.tagName.toLowerCase()){case"input":return cq(e);case"select":return uq(e);default:return e.value}}function dq(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function yc(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function ta(e,t){return po("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ve(e,ta,this),t&&ve(t,ta,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(` +`)}}function hc(e){(e!==null||!this.isNot)&&ve(e,hc,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(` +`)}}function gc(e){return po("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ve(e,gc,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function vc(e){return ve(e,vc,this),{pass:fq(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function fq(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function ra(e,t){return ve(e,ra,this),t!==null&&ve(t,ra,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))} + `)].join(` +`)}}function pq(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function _c(e,t){if(ve(e,_c,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(pq(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(` +`)}}function wc(e,t,r={normalizeWhitespace:!0}){aq(e,wc,this);let n=r.normalizeWhitespace?mo(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&sq(n,t),message:()=>{let u=this.isNot?"not to":"to";return De(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${u} have text content`,t,"Received",n)}}}function na(e,t){ve(e,na,this);let r=eq(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let u=this.isNot?"not to":"to";return De(this,this.utils.matcherHint(`${this.isNot?".not":""}.${na.name}`,"element",""),`Expected element ${u} have accessible description`,t,"Received",r)}}}var Br="aria-invalid",mq=["false"];function Ec(e,t){var l;ve(e,Ec,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:()=>De(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`)};let u=e.getAttribute(Br);if(!e.hasAttribute(Br)||mq.includes(u))return{pass:!1,message:()=>De(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Br}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Br}="${e.getAttribute(Br)}`:null)};let o=mo(((l=e.ownerDocument.getElementById(a))==null?void 0:l.textContent)??"");return{pass:t===void 0?!!o:t instanceof RegExp?t.test(o):this.equals(o,t),message:()=>De(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",o)}}var bq=gq(rl.elementRoles);function oa(e,t){ve(e,oa,this);let r=yq(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return De(this,this.utils.matcherHint(`${this.isNot?".not":""}.${oa.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function yq(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):hq(e)}function hq(e){for(let{match:t,roles:r}of bq)if(t(e))return[...r];return[]}function gq(e){function t({name:o,attributes:l}){return`${o}${l.map(({name:i,value:s,constraints:f=[]})=>f.indexOf("undefined")!==-1?`:not([${i}])`:s?`[${i}="${s}"]`:`[${i}]`).join("")}`}function r({attributes:o=[]}){return o.length}function n({specificity:o},{specificity:l}){return l-o}function a(o){let{attributes:l=[]}=o,i=l.findIndex(f=>f.value&&f.name==="type"&&f.value==="text");i>=0&&(l=[...l.slice(0,i),...l.slice(i+1)]);let s=t({...o,attributes:l});return f=>i>=0&&f.type!=="text"?!1:f.matches(s)}let u=[];for(let[o,l]of e.entries())u=[...u,{match:a(o),roles:Array.from(l),specificity:r(o)}];return u.sort(n)}function aa(e,t){ve(e,aa,this);let r=rq(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let u=this.isNot?"not to":"to";return De(this,this.utils.matcherHint(`${this.isNot?".not":""}.${aa.name}`,"element",""),`Expected element ${u} have accessible name`,t,"Received",r)}}}function wi(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function vq(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function Rc(e,t,r){ve(e,Rc,this);let n=r!==void 0,a=e.hasAttribute(t),u=e.getAttribute(t);return{pass:n?a&&this.equals(u,r):a,message:()=>{let o=this.isNot?"not to":"to",l=a?wi(this.utils.stringify,t,u):null,i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:vq(this.utils.stringify,t,r)});return De(this,i,`Expected the element ${o} have attribute`,wi(this.utils.stringify,t,r),"Received",l)}}}function _q(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function Ei(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Ri(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function Cc(e,...t){ve(e,Cc,this);let{expectedClassNames:r,options:n}=_q(t),a=Ei(e.getAttribute("class")),u=r.reduce((l,i)=>l.concat(typeof i=="string"||!i?Ei(i):i),[]),o=u.some(l=>l instanceof RegExp);if(n.exact&&o)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Ri(u,a)&&u.length===a.length,message:()=>{let l=this.isNot?"not to":"to";return De(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(u.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,u.join(" "),"Received",a.join(" "))}}:u.length>0?{pass:Ri(u,a),message:()=>{let l=this.isNot?"not to":"to";return De(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(u.join(" "))),`Expected the element ${l} have class`,u.join(" "),"Received",a.join(" "))}}:{pass:this.isNot?a.length>0:!1,message:()=>this.isNot?De(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(` +`)}}function wq(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}function Eq(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),u=[r];return a||u.push(r.toLowerCase()),u.some(o=>t[o]===n||t.getPropertyValue(o)===n)})}function Ci(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(` +`)}function Rq(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,u)=>Object.assign(a,{[u]:r.getPropertyValue(u)}),{});return e(Ci(t),Ci(n)).replace(`${nq.default.red("+ Received")} +`,"")}function la(e,t){ve(e,la,this);let r=typeof t=="object"?t:iq(t,la,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=wq(e.ownerDocument,r),u=n(e);return{pass:Eq(a,u),message:()=>{let o=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(o,"element",""),Rq(this.utils.diff,a,u)].join(` + +`)}}}function qc(e){return ve(e,qc,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(` +`)}}function Cq(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function qq(e,t){let r=[...e.querySelectorAll(`[name="${(0,oq.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return bc(r[0]);default:return Cq(r)}}function Pq(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function Oq(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[Pq(r)]:qq(e,r)}),{})}function Pc(e,t){if(ve(e,Pc,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=Oq(e);return{pass:Object.entries(t).every(([n,a])=>(0,fc.default)(r[n],a,yc)),message:()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,u=Object.keys(r).filter(o=>t.hasOwnProperty(o)).reduce((o,l)=>({...o,[l]:r[l]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,u)].join(` + +`)}}}function Sq(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}function Tq(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function Oc(e,t){return Sq(e)&&Tq(e,t)&&(!e.parentElement||Oc(e.parentElement,e))}function Sc(e){ve(e,Sc,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Oc(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var Aq=["fieldset","input","select","optgroup","option","button","textarea"];function jq(e,t){return It(e)==="legend"&&It(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>It(r)==="legend"))}function xq(e,t){return Ac(t)&&!jq(e,t)}function Mq(e){return e.includes("-")}function Tc(e){let t=It(e);return Aq.includes(t)||Mq(t)}function Ac(e){return Tc(e)&&e.hasAttribute("disabled")}function jc(e){let t=e.parentElement;return!!t&&(xq(e,t)||jc(t))}function xc(e){return Tc(e)&&(Ac(e)||jc(e))}function Mc(e){ve(e,Mc,this);let t=xc(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function Nc(e){ve(e,Nc,this);let t=!xc(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var Nq=["select","textarea"],Iq=["input","select","textarea"],Bq=["color","hidden","range","submit","image","reset"],$q=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function kq(e){return Nq.includes(It(e))&&e.hasAttribute("required")}function Dq(e){return It(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!Bq.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function Lq(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(Iq.includes(It(e))||e.hasAttribute("role")&&$q.includes(e.getAttribute("role")))}function Ic(e){ve(e,Ic,this);let t=kq(e)||Dq(e)||Lq(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var Fq=["form","input","select","textarea"];function Uq(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function Hq(e){return Fq.includes(It(e))}function Bc(e){let t=Uq(e);return Hq(e)?t||!e.checkValidity():t}function $c(e){ve(e,$c,this);let t=Bc(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function kc(e){ve(e,kc,this);let t=!Bc(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function Dc(e,t){if(ve(e,Dc,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=bc(e),n=t!==void 0,a=t,u=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,u=`${r} (${typeof r})`),{pass:n?(0,fc.default)(r,t,yc):!!r,message:()=>{let o=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return De(this,l,`Expected the element ${o} have value`,n?a:"(any)","Received",u)}}}function Lc(e,t){ve(e,Lc,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=Vq(r,e),a=zq(t),u=a.filter(i=>n.some(s=>i instanceof RegExp?i.test(s):this.equals(s,String(i)))).length,o=u===n.length,l=u===a.length;return{pass:o&&l,message:()=>De(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function Vq(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function zq(e){return e instanceof Array?e:[e]}function Fc(e){ve(e,Fc,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>Uc(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${Wq()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function Wq(){return dq(Gq().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function Gq(){return rl.roles.keys().filter(Uc)}function Uc(e){var t;return((t=rl.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function Hc(e){ve(e,Hc,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a};return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function Vc(e,t){po("toHaveDescription","Please use toHaveAccessibleDescription."),ve(e,Vc,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let u=e.ownerDocument,o=n.map(l=>u.getElementById(l)).filter(Boolean);a=mo(o.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let u=this.isNot?"not to":"to";return De(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${u} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}function zc(e,t){if(po("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ve(e,zc,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let u=this.isNot?".not":"";return{pass:!1,message:()=>De(this,this.utils.matcherHint(`${u}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let u=e.ownerDocument,o=n.map(l=>u.getElementById(l)).filter(Boolean);a=mo(o.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let u=this.isNot?"not to":"to";return De(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${u} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}Ce(Qs(),1);Ce(bu(),1);Ce(hu(),1);Ce(Su(),1);Ce(Tu(),1);function Kq(){qo(iC),qo(oC),qo(nC);let e=(n,a)=>{let{assertionCalls:u}=Gr(e);return So({assertionCalls:u+1,soft:!1},e),Co(n,a)};Object.assign(e,Co),e.getState=()=>Gr(e),e.setState=n=>So(n,e),e.extend=n=>Co.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.unreachable=n=>{XE.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return So({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),$n.addMethod(e,"assertions",t),$n.addMethod(e,"hasAssertions",r),e.extend(Zu),e}var Wc=Kq();Object.defineProperty(globalThis,fo,{value:Wc,writable:!0,configurable:!0});var ia=new Set;function Yq(e){return ia.add(e),()=>void ia.delete(e)}var cn=e=>{let t=e?Gl(e):Gl();return Jq(t)};function Jq(e){let t=qi(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>qi(r(n)),t}function qi(e){let t=kn(e),r=t.impl;return t.willCall(function(...n){return ia.forEach(a=>a(e,n)),r==null?void 0:r.apply(this,n)}),e}function Xq(){co.forEach(e=>e.mockClear())}function Qq(){co.forEach(e=>e.mockReset())}function Zq(){co.forEach(e=>e.mockRestore())}var Gc={};xa(Gc,{buildQueries:()=>St,configure:()=>cP,createEvent:()=>Nn,findAllByAltText:()=>Jd,findAllByDisplayValue:()=>Vd,findAllByLabelText:()=>Rd,findAllByPlaceholderText:()=>xd,findAllByRole:()=>cf,findAllByTestId:()=>yf,findAllByText:()=>kd,findAllByTitle:()=>rf,findByAltText:()=>Xd,findByDisplayValue:()=>zd,findByLabelText:()=>Cd,findByPlaceholderText:()=>Md,findByRole:()=>df,findByTestId:()=>hf,findByText:()=>Dd,findByTitle:()=>nf,fireEvent:()=>en,getAllByAltText:()=>Kd,getAllByDisplayValue:()=>Ud,getAllByLabelText:()=>qd,getAllByPlaceholderText:()=>Ad,getAllByRole:()=>sf,getAllByTestId:()=>mf,getAllByText:()=>Bd,getAllByTitle:()=>ef,getByAltText:()=>Yd,getByDisplayValue:()=>Hd,getByLabelText:()=>Pd,getByPlaceholderText:()=>jd,getByRole:()=>uf,getByTestId:()=>bf,getByText:()=>$d,getByTitle:()=>tf,getConfig:()=>he,getDefaultNormalizer:()=>sl,getElementError:()=>yo,getMultipleElementsFoundError:()=>ho,getNodeText:()=>dn,getQueriesForElement:()=>ha,getRoles:()=>yd,getSuggestedQuery:()=>Fn,isInaccessible:()=>bo,logDOM:()=>sa,logRoles:()=>bP,makeFindQuery:()=>_r,makeGetAllQuery:()=>dl,makeSingleQuery:()=>vr,prettyDOM:()=>Qr,prettyFormat:()=>nl,queries:()=>Un,queryAllByAltText:()=>Wd,queryAllByAttribute:()=>rr,queryAllByDisplayValue:()=>Ld,queryAllByLabelText:()=>Od,queryAllByPlaceholderText:()=>Sd,queryAllByRole:()=>af,queryAllByTestId:()=>ff,queryAllByText:()=>Nd,queryAllByTitle:()=>Qd,queryByAltText:()=>Gd,queryByAttribute:()=>gd,queryByDisplayValue:()=>Fd,queryByLabelText:()=>wd,queryByPlaceholderText:()=>Td,queryByRole:()=>lf,queryByTestId:()=>pf,queryByText:()=>Id,queryByTitle:()=>Zd,queryHelpers:()=>TP,screen:()=>nO,waitFor:()=>cl,waitForElementToBeRemoved:()=>JP,within:()=>ha,wrapAllByQueryWithSuggestion:()=>Ye,wrapSingleQueryWithSuggestion:()=>Bt});var nl=Ce(u_()),e0=Object.prototype.toString;function Pi(e){return typeof e=="function"||e0.call(e)==="[object Function]"}function t0(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var r0=Math.pow(2,53)-1;function n0(e){var t=t0(e);return Math.min(Math.max(t,0),r0)}function at(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"&&!Pi(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=n0(n.length),u=Pi(r)?Object(new r(a)):new Array(a),o=0,l;o0&&arguments[0]!==void 0?arguments[0]:[];o0(this,e),l0(this,"items",void 0),this.items=t}return a0(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),u0=typeof Set>"u"?Set:s0;function Fe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var c0={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"},d0={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 f0(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=d0[t])!==null&&n!==void 0&&n.has(r))})}function Yc(e,t){return f0(e,t)}function p0(e){var t=b0(e);if(t===null||t==="presentation"){var r=m0(e);if(t!=="presentation"||Yc(e,r||""))return r}return t}function m0(e){var t=c0[Fe(e)];if(t!==void 0)return t;switch(Fe(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Yc(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function b0(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Ee(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Jc(e){return Ee(e)&&Fe(e)==="caption"}function Mn(e){return Ee(e)&&Fe(e)==="input"}function y0(e){return Ee(e)&&Fe(e)==="optgroup"}function h0(e){return Ee(e)&&Fe(e)==="select"}function g0(e){return Ee(e)&&Fe(e)==="table"}function v0(e){return Ee(e)&&Fe(e)==="textarea"}function _0(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function w0(e){return Ee(e)&&Fe(e)==="fieldset"}function E0(e){return Ee(e)&&Fe(e)==="legend"}function R0(e){return Ee(e)&&Fe(e)==="slot"}function C0(e){return Ee(e)&&e.ownerSVGElement!==void 0}function q0(e){return Ee(e)&&Fe(e)==="svg"}function P0(e){return C0(e)&&Fe(e)==="title"}function Ln(e,t){if(Ee(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Et(e,t){return Ee(e)?t.indexOf(p0(e))!==-1:!1}function O0(e){return e.trim().replace(/\s\s+/g," ")}function S0(e,t){if(!Ee(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function T0(e){return Et(e,["button","combobox","listbox","textbox"])||Xc(e,"range")}function Xc(e,t){if(!Ee(e))return!1;switch(t){case"range":return Et(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Si(e,t){var r=at(e.querySelectorAll(t));return Ln(e,"aria-owns").forEach(function(n){r.push.apply(r,at(n.querySelectorAll(t)))}),r}function A0(e){return h0(e)?e.selectedOptions||Si(e,"[selected]"):Si(e,'[aria-selected="true"]')}function j0(e){return Et(e,["none","presentation"])}function x0(e){return Jc(e)}function M0(e){return Et(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function N0(e){return!1}function I0(e){return Mn(e)||v0(e)?e.value:e.textContent||""}function Ti(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Qc(e){var t=Fe(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Zc(e){if(Qc(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Ee(r)){var n=Zc(r);n!==null&&(t=n)}}),t}function B0(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Zc(e)}function $0(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return at(t);if(!Qc(e))return null;var r=e.ownerDocument;return at(r.querySelectorAll("label")).filter(function(n){return B0(n)===e})}function k0(e){var t=e.assignedNodes();return t.length===0?at(e.childNodes):t}function ed(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new u0,n=_0(e),a=t.compute,u=a===void 0?"name":a,o=t.computedStyleSupportsPseudoElements,l=o===void 0?t.getComputedStyle!==void 0:o,i=t.getComputedStyle,s=i===void 0?n.getComputedStyle.bind(n):i,f=t.hidden,d=f===void 0?!1:f;function c(y,v){var R="";if(Ee(y)&&l){var w=s(y,"::before"),P=Ti(w);R="".concat(P," ").concat(R)}var S=R0(y)?k0(y):at(y.childNodes).concat(Ln(y,"aria-owns"));if(S.forEach(function(C){var j=g(C,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),M=Ee(C)?s(C).getPropertyValue("display"):"inline",F=M!=="inline"?" ":"";R+="".concat(F).concat(j).concat(F)}),Ee(y)&&l){var q=s(y,"::after"),h=Ti(q);R="".concat(R," ").concat(h)}return R.trim()}function p(y,v){var R=y.getAttributeNode(v);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}function m(y){return Ee(y)?p(y,"title"):null}function b(y){if(!Ee(y))return null;if(w0(y)){r.add(y);for(var v=at(y.childNodes),R=0;R0}).join(" ");if(Mn(y)&&y.type==="image"){var ee=p(y,"alt");if(ee!==null)return ee;var J=p(y,"title");return J!==null?J:"Submit Query"}if(Et(y,["button"])){var oe=c(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(oe!=="")return oe}return null}function g(y,v){if(r.has(y))return"";if(!d&&S0(y,s)&&!v.isReferenced)return r.add(y),"";var R=Ee(y)?y.getAttributeNode("aria-labelledby"):null,w=R!==null&&!r.has(R)?Ln(y,"aria-labelledby"):[];if(u==="name"&&!v.isReferenced&&w.length>0)return r.add(R),w.map(function(M){return g(M,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&T0(y)&&u==="name";if(!P){var S=(Ee(y)&&y.getAttribute("aria-label")||"").trim();if(S!==""&&u==="name")return r.add(y),S;if(!j0(y)){var q=b(y);if(q!==null)return r.add(y),q}}if(Et(y,["menu"]))return r.add(y),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(Et(y,["combobox","listbox"])){r.add(y);var h=A0(y);return h.length===0?Mn(y)?y.value:"":at(h).map(function(M){return g(M,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Xc(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(Et(y,["textbox"]))return r.add(y),I0(y)}if(M0(y)||Ee(y)&&v.isReferenced||x0(y)||N0()){var C=c(y,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});if(C!=="")return r.add(y),C}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(v.recursion)return r.add(y),c(y,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1});var j=m(y);return j!==null?(r.add(y),j):(r.add(y),"")}return O0(g(e,{isEmbeddedInLabel:!1,isReferenced:u==="description",recursion:!1}))}function Xr(e){"@babel/helpers - typeof";return Xr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xr(e)}function Ai(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ji(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Ln(e,"aria-describedby").map(function(a){return ed(a,ji(ji({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function U0(e){return Et(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ol(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return U0(e)?"":ed(e,t)}var et=Ce(YE()),H0=Ce(JE());function rd(e){return e.replace(//g,">")}var V0=(e,t,r,n,a,u,o)=>{let l=n+r.indent,i=r.colors;return e.map(s=>{let f=t[s],d=o(f,r,l,a,u);return typeof f!="string"&&(d.indexOf(` +`)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+i.prop.open+s+i.prop.close+"="+i.value.open+d+i.value.close}).join("")},z0=3,W0=(e,t,r,n,a,u)=>e.map(o=>{let l=typeof o=="string"?nd(o,t):u(o,t,r,n,a);return l===""&&typeof o=="object"&&o!==null&&o.nodeType!==z0?"":t.spacingOuter+r+l}).join(""),nd=(e,t)=>{let r=t.colors.content;return r.open+rd(e)+r.close},G0=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},K0=(e,t,r,n,a)=>{let u=n.colors.tag;return u.open+"<"+e+(t&&u.close+t+n.spacingOuter+a+u.open)+(r?">"+u.close+r+n.spacingOuter+a+u.open+""+u.close},Y0=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},J0=1,od=3,ad=8,ld=11,X0=/^((HTML|SVG)\w*)?Element$/,Q0=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is");return r===J0&&(X0.test(t)||a)||r===od&&t==="Text"||r===ad&&t==="Comment"||r===ld&&t==="DocumentFragment"};function Z0(e){return e.nodeType===od}function eP(e){return e.nodeType===ad}function jo(e){return e.nodeType===ld}function tP(e){return{test:t=>{var r;return(t==null||(r=t.constructor)==null?void 0:r.name)&&Q0(t)},serialize:(t,r,n,a,u,o)=>{if(Z0(t))return nd(t.data,r);if(eP(t))return G0(t.data,r);let l=jo(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?Y0(l,r):K0(l,V0(jo(t)?[]:Array.from(t.attributes).map(i=>i.name).sort(),jo(t)?{}:Array.from(t.attributes).reduce((i,s)=>(i[s.name]=s.value,i),{}),r,n+r.indent,a,u,o),W0(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,u,o),r,n)}}}var id=null,al=null,ll=null;try{let e=module&&module.require;al=e.call(module,"fs").readFileSync,ll=e.call(module,"@babel/code-frame").codeFrameColumns,id=e.call(module,"chalk")}catch{}function rP(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[u,o,l]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],i="";try{i=al(u,"utf-8")}catch{return""}let s=ll(i,{start:{line:o,column:l}},{highlightCode:!0,linesBelow:0});return id.dim(n)+` +`+s+` +`}function nP(){if(!al||!ll)return"";let e=new Error().stack.split(` +`).slice(1).find(t=>!t.includes("node_modules/"));return rP(e)}var sd=3;function xo(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function il(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function ud(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Ot(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var oP=()=>{let e;try{var t;e=JSON.parse((t=process)==null||(t=t.env)==null?void 0:t.COLORS)}catch{}return typeof e=="boolean"?e:typeof process<"u"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:aP}=nl.plugins,lP=1,iP=8;function sP(e){return e.nodeType!==iP&&(e.nodeType!==lP||!e.matches(he().defaultIgnore))}function Qr(e,t,r){if(r===void 0&&(r={}),e||(e=il().body),typeof t!="number"&&(t=typeof process<"u"&&hm.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:a=sP,...u}=r,o=nl.format(e,{plugins:[tP(a),aP],printFunctionName:!1,highlight:oP(),...u});return t!==void 0&&e.outerHTML.length>t?o.slice(0,t)+"...":o}var sa=function(){let e=nP();console.log(e?Qr(...arguments)+` + +`+e:Qr(...arguments))},Wt={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Qr(t),n=new Error([e,"Ignored nodes: comments, "+Wt.defaultIgnore+` +`+r].filter(Boolean).join(` + +`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function uP(e){try{return Wt._disableExpensiveErrorDiagnostics=!0,e()}finally{Wt._disableExpensiveErrorDiagnostics=!1}}function cP(e){typeof e=="function"&&(e=e(Wt)),Wt={...Wt,...e}}function he(){return Wt}var dP=["button","meter","output","progress","select","textarea","input"];function cd(e){return dP.includes(e.nodeName.toLowerCase())?"":e.nodeType===sd?e.textContent:Array.from(e.childNodes).map(t=>cd(t)).join("")}function ua(e){let t;return e.tagName.toLowerCase()==="label"?t=cd(e):t=e.value||e.textContent,t}function dd(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!fP(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function fP(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function fd(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),u=a?a.split(" "):[];return u.length?u.map(o=>{let l=e.querySelector('[id="'+o+'"]');return l?{content:ua(l),formControl:null}:{content:"",formControl:null}}):Array.from(dd(t)).map(o=>{let l=ua(o),i=Array.from(o.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(s=>s.matches(n))[0];return{content:l,formControl:i}})}function pd(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Ar(e,t,r,n){if(typeof e!="string")return!1;pd(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):md(r,a)}function Ct(e,t,r,n){if(typeof e!="string")return!1;pd(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?md(r,a):a===String(r)}function sl(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function tr(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return sl({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function md(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function dn(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===sd&&!!t.textContent).map(t=>t.textContent).join("")}var pP=mP(et.elementRoles);function bd(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function bo(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=bd}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function ul(e){for(let{match:t,roles:r}of pP)if(t(e))return[...r];return[]}function mP(e){function t(o){let{name:l,attributes:i}=o;return""+l+i.map(s=>{let{name:f,value:d,constraints:c=[]}=s,p=c.indexOf("undefined")!==-1,m=c.indexOf("set")!==-1;return typeof d<"u"?"["+f+'="'+d+'"]':p?":not(["+f+"])":m?"["+f+"]:not(["+f+'=""])':"["+f+"]"}).join("")}function r(o){let{attributes:l=[]}=o;return l.length}function n(o,l){let{specificity:i}=o,{specificity:s}=l;return s-i}function a(o){let{attributes:l=[]}=o,i=l.findIndex(f=>f.value&&f.name==="type"&&f.value==="text");i>=0&&(l=[...l.slice(0,i),...l.slice(i+1)]);let s=t({...o,attributes:l});return f=>i>=0&&f.type!=="text"?!1:f.matches(s)}let u=[];for(let[o,l]of e.entries())u=[...u,{match:a(o),roles:Array.from(l),specificity:r(o)}];return u.sort(n)}function yd(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((u,o)=>[...u,...n(o)],[])]}return n(e).filter(a=>r===!1?bo(a)===!1:!0).reduce((a,u)=>{let o=[];return u.hasAttribute("role")?o=u.getAttribute("role").split(" ").slice(0,1):o=ul(u),o.reduce((l,i)=>Array.isArray(l[i])?{...l,[i]:[...l[i],u]}:{...l,[i]:[u]},a)},{})}function hd(e,t){let{hidden:r,includeDescription:n}=t,a=yd(e,{hidden:r});return Object.entries(a).filter(u=>{let[o]=u;return o!=="generic"}).map(u=>{let[o,l]=u,i="-".repeat(50),s=l.map(f=>{let d='Name "'+ol(f,{computedStyleSupportsPseudoElements:he().computedStyleSupportsPseudoElements})+`": +`,c=Qr(f.cloneNode(!1));if(n){let p='Description "'+td(f,{computedStyleSupportsPseudoElements:he().computedStyleSupportsPseudoElements})+`": +`;return""+d+p+c}return""+d+c}).join(` + +`);return o+`: + +`+s+` + +`+i}).join(` +`)}var bP=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(hd(e,{hidden:r}))};function yP(e){return e.tagName==="OPTION"?e.selected:fn(e,"aria-selected")}function hP(e){return e.getAttribute("aria-busy")==="true"}function gP(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:fn(e,"aria-checked")}function vP(e){return fn(e,"aria-pressed")}function _P(e){var t,r;return(t=(r=fn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function wP(e){return fn(e,"aria-expanded")}function fn(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function EP(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function RP(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function CP(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function qP(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function PP(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var xi=sl();function OP(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Mi(e){return new RegExp(OP(e.toLowerCase()),"i")}function At(e,t,r,n){let{variant:a,name:u}=n,o="",l={},i=[["Role","TestId"].includes(e)?r:Mi(r)];u&&(l.name=Mi(u)),e==="Role"&&bo(t)&&(l.hidden=!0,o=`Element is inaccessible. This means that the element and all its children are invisible to screen readers. + If you are using the aria-hidden prop, make sure this is the right choice for your case. + `),Object.keys(l).length>0&&i.push(l);let s=a+"By"+e;return{queryName:e,queryMethod:s,queryArgs:i,variant:a,warning:o,toString(){o&&console.warn(o);let[f,d]=i;return f=typeof f=="string"?"'"+f+"'":f,d=d?", { "+Object.entries(d).map(c=>{let[p,m]=c;return p+": "+m}).join(", ")+" }":"",s+"("+f+d+")"}}}function jt(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Fn(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(he().defaultIgnore))return;let u=(n=e.getAttribute("role"))!=null?n:(a=ul(e))==null?void 0:a[0];if(u!=="generic"&&jt("Role",r,u))return At("Role",e,u,{variant:t,name:ol(e,{computedStyleSupportsPseudoElements:he().computedStyleSupportsPseudoElements})});let o=fd(document,e).map(c=>c.content).join(" ");if(jt("LabelText",r,o))return At("LabelText",e,o,{variant:t});let l=e.getAttribute("placeholder");if(jt("PlaceholderText",r,l))return At("PlaceholderText",e,l,{variant:t});let i=xi(dn(e));if(jt("Text",r,i))return At("Text",e,i,{variant:t});if(jt("DisplayValue",r,e.value))return At("DisplayValue",e,xi(e.value),{variant:t});let s=e.getAttribute("alt");if(jt("AltText",r,s))return At("AltText",e,s,{variant:t});let f=e.getAttribute("title");if(jt("Title",r,f))return At("Title",e,f,{variant:t});let d=e.getAttribute(he().testIdAttribute);if(jt("TestId",r,d))return At("TestId",e,d,{variant:t})}function mn(e,t){e.stack=t.stack.replace(t.message,e.message)}function SP(e,t){let{container:r=il(),timeout:n=he().asyncUtilTimeout,showOriginalStackTrace:a=he().showOriginalStackTrace,stackTraceError:u,interval:o=50,onTimeout:l=s=>(Object.defineProperty(s,"message",{value:he().getElementError(s.message,r).message}),s),mutationObserverOptions:i={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(s,f)=>{let d,c,p,m=!1,b="idle",g=setTimeout(P,n),y=xo();if(y){let{unstable_advanceTimersWrapper:S}=he();for(w();!m;){if(!xo()){let q=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||mn(q,u),f(q);return}if(await S(async()=>{jest.advanceTimersByTime(o)}),m)break;w()}}else{try{Ot(r)}catch(q){f(q);return}c=setInterval(R,o);let{MutationObserver:S}=ud(r);p=new S(R),p.observe(r,i),w()}function v(S,q){m=!0,clearTimeout(g),y||(clearInterval(c),p.disconnect()),S?f(S):s(q)}function R(){if(xo()){let S=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||mn(S,u),f(S)}else return w()}function w(){if(b!=="pending")try{let S=uP(e);typeof(S==null?void 0:S.then)=="function"?(b="pending",S.then(q=>{b="resolved",v(null,q)},q=>{b="rejected",d=q})):v(null,S)}catch(S){d=S}}function P(){let S;d?(S=d,!a&&S.name==="TestingLibraryElementError"&&mn(S,u)):(S=new Error("Timed out in waitFor."),a||mn(S,u)),v(l(S),null)}})}function cl(e,t){let r=new Error("STACK_TRACE_MESSAGE");return he().asyncWrapper(()=>SP(e,{stackTraceError:r,...t}))}function yo(e,t){return he().getElementError(e,t)}function ho(e,t){return yo(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function rr(e,t,r,n){let{exact:a=!0,collapseWhitespace:u,trim:o,normalizer:l}=n===void 0?{}:n,i=a?Ct:Ar,s=tr({collapseWhitespace:u,trim:o,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(f=>i(f.getAttribute(e),f,r,s))}function gd(e,t,r,n){let a=rr(e,t,r,n);if(a.length>1)throw ho("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}function vr(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),u=1;u1){let l=o.map(i=>yo(null,i).message).join(` + +`);throw ho(t(r,...a)+` + +Here are the matching elements: + +`+l,r)}return o[0]||null}}function vd(e,t){return he().getElementError(`A better query is available, try this: +`+e.toString()+` +`,t)}function dl(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),u=1;ucl(()=>e(t,r,n),{container:t,...a})}var Bt=(e,t,r)=>function(n){for(var a=arguments.length,u=new Array(a>1?a-1:0),o=1;ofunction(n){for(var a=arguments.length,u=new Array(a>1?a-1:0),o=1;o{var d;return(d=Fn(f,r))==null?void 0:d.toString()}))];if(s.length===1&&!t.endsWith(Fn(l[0],r).queryName))throw vd(s[0],n)}return l};function St(e,t,r){let n=Bt(vr(e,t),e.name,"query"),a=dl(e,r),u=vr(a,t),o=Bt(u,e.name,"get"),l=Ye(a,e.name.replace("query","get"),"getAll"),i=_r(Ye(a,e.name,"findAll")),s=_r(Bt(u,e.name,"find"));return[n,l,o,i,s]}var TP=Object.freeze({__proto__:null,getElementError:yo,wrapAllByQueryWithSuggestion:Ye,wrapSingleQueryWithSuggestion:Bt,getMultipleElementsFoundError:ho,queryAllByAttribute:rr,queryByAttribute:gd,makeSingleQuery:vr,makeGetAllQuery:dl,makeFindQuery:_r,buildQueries:St});function AP(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:ua(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var jP=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:u,normalizer:o}=r===void 0?{}:r,l=n?Ct:Ar,i=tr({collapseWhitespace:u,trim:a,normalizer:o});return AP(e).filter(s=>{let{node:f,textToMatch:d}=s;return l(d,f,t,i)}).map(s=>{let{node:f}=s;return f})},Zr=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:u,trim:o,normalizer:l}=r===void 0?{}:r;Ot(e);let i=a?Ct:Ar,s=tr({collapseWhitespace:u,trim:o,normalizer:l}),f=Array.from(e.querySelectorAll("*")).filter(d=>dd(d).length||d.hasAttribute("aria-labelledby")).reduce((d,c)=>{let p=fd(e,c,{selector:n});p.filter(b=>!!b.formControl).forEach(b=>{i(b.content,b.formControl,t,s)&&b.formControl&&d.push(b.formControl)});let m=p.filter(b=>!!b.content).map(b=>b.content);return i(m.join(" "),c,t,s)&&d.push(c),m.length>1&&m.forEach((b,g)=>{i(b,c,t,s)&&d.push(c);let y=[...m];y.splice(g,1),y.length>1&&i(y.join(" "),c,t,s)&&d.push(c)}),d},[]).concat(rr("aria-label",e,t,{exact:a,normalizer:s}));return Array.from(new Set(f)).filter(d=>d.matches(n))},Gt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;axP(e,i)).filter(i=>!!i);throw l.length?he().getElementError(l.map(i=>"Found a label with the text of: "+t+", however the element associated with this label (<"+i+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+i+" />, you can use aria-label or aria-labelledby instead.").join(` + +`),e):he().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 he().getElementError("Unable to find a label with the text of: "+t,e)}return u};function xP(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var _d=(e,t)=>"Found multiple elements with the text of: "+t,wd=Bt(vr(Zr,_d),Zr.name,"query"),Ed=vr(Gt,_d),Rd=_r(Ye(Gt,Gt.name,"findAll")),Cd=_r(Bt(Ed,Gt.name,"find")),qd=Ye(Gt,Gt.name,"getAll"),Pd=Bt(Ed,Gt.name,"get"),Od=Ye(Zr,Zr.name,"queryAll"),ca=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements with the placeholder text of: "+t,NP=(e,t)=>"Unable to find an element with the placeholder text of: "+t,Sd=Ye(ca,ca.name,"queryAll"),[Td,Ad,jd,xd,Md]=St(ca,MP,NP),da=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:u,trim:o,ignore:l=he().defaultIgnore,normalizer:i}=r===void 0?{}:r;Ot(e);let s=a?Ct:Ar,f=tr({collapseWhitespace:u,trim:o,normalizer:i}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(c=>!l||!c.matches(l)).filter(c=>s(dn(c),c,t,f))},IP=(e,t)=>"Found multiple elements with the text: "+t,BP=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:u,selector:o}=r,l=tr({collapseWhitespace:n,trim:a,normalizer:u})(t.toString()),i=l!==t.toString(),s=(o??"*")!=="*";return"Unable to find an element with the text: "+(i?l+" (normalized from '"+t+"')":t)+(s?", which matches selector '"+o+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},Nd=Ye(da,da.name,"queryAll"),[Id,Bd,$d,kd,Dd]=St(da,IP,BP),fa=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:u,normalizer:o}=r===void 0?{}:r;Ot(e);let l=n?Ct:Ar,i=tr({collapseWhitespace:a,trim:u,normalizer:o});return Array.from(e.querySelectorAll("input,textarea,select")).filter(s=>s.tagName==="SELECT"?Array.from(s.options).filter(f=>f.selected).some(f=>l(dn(f),f,t,i)):l(s.value,s,t,i))},$P=(e,t)=>"Found multiple elements with the display value: "+t+".",kP=(e,t)=>"Unable to find an element with the display value: "+t+".",Ld=Ye(fa,fa.name,"queryAll"),[Fd,Ud,Hd,Vd,zd]=St(fa,$P,kP),DP=/^(img|input|area|.+-.+)$/i,pa=function(e,t,r){return r===void 0&&(r={}),Ot(e),rr("alt",e,t,r).filter(n=>DP.test(n.tagName))},LP=(e,t)=>"Found multiple elements with the alt text: "+t,FP=(e,t)=>"Unable to find an element with the alt text: "+t,Wd=Ye(pa,pa.name,"queryAll"),[Gd,Kd,Yd,Jd,Xd]=St(pa,LP,FP),UP=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},ma=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:u,normalizer:o}=r===void 0?{}:r;Ot(e);let l=n?Ct:Ar,i=tr({collapseWhitespace:a,trim:u,normalizer:o});return Array.from(e.querySelectorAll("[title], svg > title")).filter(s=>l(s.getAttribute("title"),s,t,i)||UP(s)&&l(dn(s),s,t,i))},HP=(e,t)=>"Found multiple elements with the title: "+t+".",VP=(e,t)=>"Unable to find an element with the title: "+t+".",Qd=Ye(ma,ma.name,"queryAll"),[Zd,ef,tf,rf,nf]=St(ma,HP,VP),ba=function(e,t,r){let{hidden:n=he().defaultHidden,name:a,description:u,queryFallbacks:o=!1,selected:l,busy:i,checked:s,pressed:f,current:d,level:c,expanded:p,value:{now:m,min:b,max:g,text:y}={}}=r===void 0?{}:r;if(Ot(e),l!==void 0){var v;if(((v=et.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(i!==void 0){var R;if(((R=et.roles.get(t))==null?void 0:R.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(s!==void 0){var w;if(((w=et.roles.get(t))==null?void 0:w.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(f!==void 0){var P;if(((P=et.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var S;if(((S=et.roles.get(t))==null?void 0:S.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(c!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var q;if(((q=et.roles.get(t))==null?void 0:q.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var h;if(((h=et.roles.get(t))==null?void 0:h.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var C;if(((C=et.roles.get(t))==null?void 0:C.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var j;if(((j=et.roles.get(t))==null?void 0:j.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var M;if(((M=et.roles.get(t))==null?void 0:M.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let F=new WeakMap;function U(H){return F.has(H)||F.set(H,bd(H)),F.get(H)}return Array.from(e.querySelectorAll(zP(t))).filter(H=>{if(H.hasAttribute("role")){let ee=H.getAttribute("role");if(o)return ee.split(" ").filter(Boolean).some(oe=>oe===t);let[J]=ee.split(" ");return J===t}return ul(H).some(ee=>ee===t)}).filter(H=>{if(l!==void 0)return l===yP(H);if(i!==void 0)return i===hP(H);if(s!==void 0)return s===gP(H);if(f!==void 0)return f===vP(H);if(d!==void 0)return d===_P(H);if(p!==void 0)return p===wP(H);if(c!==void 0)return c===EP(H);if(m!==void 0||g!==void 0||b!==void 0||y!==void 0){let J=!0;if(m!==void 0&&J&&(J=m===RP(H)),g!==void 0&&J&&(J=g===CP(H)),b!==void 0&&J&&(J=b===qP(H)),y!==void 0){var ee;J&&(J=Ct((ee=PP(H))!=null?ee:null,H,y,oe=>oe))}return J}return!0}).filter(H=>a===void 0?!0:Ct(ol(H,{computedStyleSupportsPseudoElements:he().computedStyleSupportsPseudoElements}),H,a,ee=>ee)).filter(H=>u===void 0?!0:Ct(td(H,{computedStyleSupportsPseudoElements:he().computedStyleSupportsPseudoElements}),H,u,ee=>ee)).filter(H=>n===!1?bo(H,{isSubtreeInaccessible:U})===!1:!0)};function zP(e){var t;let r='*[role~="'+e+'"]',n=(t=et.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(u=>{let{name:o}=u;return o}));return[r].concat(Array.from(a)).join(",")}var of=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},WP=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+of(n)},GP=function(e,t,r){let{hidden:n=he().defaultHidden,name:a,description:u}=r===void 0?{}:r;if(he()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+of(a);let o="";Array.from(e.children).forEach(f=>{o+=hd(f,{hidden:n,includeDescription:u!==void 0})});let l;o.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(` +Here are the `+(n===!1?"accessible":"available")+` roles: + + `+o.replace(/\n/g,` + `).replace(/\n\s\s\n/g,` + +`)+` +`).trim();let i="";a===void 0?i="":typeof a=="string"?i=' and name "'+a+'"':i=" and name `"+a+"`";let s="";return u===void 0?s="":typeof u=="string"?s=' and description "'+u+'"':s=" and description `"+u+"`",(` +Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+i+s+` + +`+l).trim()},af=Ye(ba,ba.name,"queryAll"),[lf,sf,uf,cf,df]=St(ba,WP,GP),fl=()=>he().testIdAttribute,ya=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements by: ["+fl()+'="'+t+'"]',YP=(e,t)=>"Unable to find an element by: ["+fl()+'="'+t+'"]',ff=Ye(ya,ya.name,"queryAll"),[pf,mf,bf,yf,hf]=St(ya,KP,YP),Un=Object.freeze({__proto__:null,queryAllByLabelText:Od,queryByLabelText:wd,getAllByLabelText:qd,getByLabelText:Pd,findAllByLabelText:Rd,findByLabelText:Cd,queryByPlaceholderText:Td,queryAllByPlaceholderText:Sd,getByPlaceholderText:jd,getAllByPlaceholderText:Ad,findAllByPlaceholderText:xd,findByPlaceholderText:Md,queryByText:Id,queryAllByText:Nd,getByText:$d,getAllByText:Bd,findAllByText:kd,findByText:Dd,queryByDisplayValue:Fd,queryAllByDisplayValue:Ld,getByDisplayValue:Hd,getAllByDisplayValue:Ud,findAllByDisplayValue:Vd,findByDisplayValue:zd,queryByAltText:Gd,queryAllByAltText:Wd,getByAltText:Yd,getAllByAltText:Kd,findAllByAltText:Jd,findByAltText:Xd,queryByTitle:Zd,queryAllByTitle:Qd,getByTitle:tf,getAllByTitle:ef,findAllByTitle:rf,findByTitle:nf,queryByRole:lf,queryAllByRole:af,getAllByRole:sf,getByRole:uf,findAllByRole:cf,findByRole:df,queryByTestId:pf,queryAllByTestId:ff,getByTestId:bf,getAllByTestId:mf,findAllByTestId:yf,findByTestId:hf});function ha(e,t,r){return t===void 0&&(t=Un),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let u=t[a];return n[a]=u.bind(null,e),n},r)}var gf=e=>!e||Array.isArray(e)&&!e.length;function Ni(e){if(gf(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function JP(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Ni(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let u=a.parentElement;if(u===null)return()=>null;for(;u.parentElement;)u=u.parentElement;return()=>u.contains(a)?a:null});e=()=>n.map(a=>a()).filter(Boolean)}return Ni(e()),cl(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!gf(n))throw r},t)}var Ii={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}}},Bi={doubleClick:"dblClick"};function en(e,t){return he().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Nn(e,t,r,n){let{EventType:a="Event",defaultInit:u={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let o={...u,...r},{target:{value:l,files:i,...s}={}}=o;l!==void 0&&XP(t,l),i!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:i}),Object.assign(t,s);let f=ud(t),d=f[a]||f.Event,c;if(typeof d=="function")c=new d(e,o);else{c=f.document.createEvent(a);let{bubbles:p,cancelable:m,detail:b,...g}=o;c.initEvent(e,p,m,b),Object.keys(g).forEach(y=>{c[y]=g[y]})}return["dataTransfer","clipboardData"].forEach(p=>{let m=o[p];typeof m=="object"&&(typeof f.DataTransfer=="function"?Object.defineProperty(c,p,{value:Object.getOwnPropertyNames(m).reduce((b,g)=>(Object.defineProperty(b,g,{value:m[g]}),b),new f.DataTransfer)}):Object.defineProperty(c,p,{value:m}))}),c}Object.keys(Ii).forEach(e=>{let{EventType:t,defaultInit:r}=Ii[e],n=e.toLowerCase();Nn[e]=(a,u)=>Nn(n,a,u,{EventType:t,defaultInit:r}),en[e]=(a,u)=>en(a,Nn[e](a,u))});function XP(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Bi).forEach(e=>{let t=Bi[e];en[e]=function(){return en[t](...arguments)}});function QP(e){return e.replace(/[ \t]*[\n][ \t]*/g,` +`)}function ZP(e){return H0.default.compressToEncodedURIComponent(QP(e))}function eO(e){return"https://testing-playground.com/#markup="+ZP(e)}var tO=(e,t,r)=>Array.isArray(e)?e.forEach(n=>sa(n,t,r)):sa(e,t,r),rO=function(e){if(e===void 0&&(e=il().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=eO(e.innerHTML);return console.log(`Open this URL in your browser + +`+t),t},$i={debug:tO,logTestingPlaygroundURL:rO},nO=typeof document<"u"&&document.body?ha(document.body,Un,$i):Object.keys(Un).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),$i);function ye(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,a])=>e[n]===a):!0}var ga;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(ga||(ga={}));function vf(e){return ye(e,"button")||ye(e,"input")&&e.type in ga}function ft(e){var t;if(oO(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 ${aO(e)}`)}function oO(e){return e.nodeType===9}function aO(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function _f(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function pl(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;nt?u.type===(a?r:e):a?u.type.startsWith(`${r}/`):u.type===r}function iO(e){return new class{getData(t){var r;let n=(r=this.items.find(bn(t,!0)))!==null&&r!==void 0?r:this.items.find(bn(t,!1)),a="";return n==null||n.getAsString(u=>{a=u}),a}setData(t,r){let n=this.items.findIndex(bn(t,!0)),a=new wf(r,t);n>=0?this.items.splice(n,1,a):this.items.push(a)}clearData(t){if(t){let r=this.items.findIndex(bn(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Nt(this,"dropEffect","none"),Nt(this,"effectAllowed","uninitialized"),Nt(this,"items",new lO),Nt(this,"files",pl(e,[]))}}}function ml(e,t=[]){let r=typeof e.DataTransfer>"u"?iO(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>pl(e,t)}),r}function sO(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function Ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rf(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let a=await this.data[n];if(!a)throw new Error(`${n} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:n})}constructor(n){Ef(this,"data",void 0),this.data=n}}(r)}var wr=Symbol("Manage ClipboardSub");function ki(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let a=n.types.includes("text/plain")?"text/plain":n.types.find(u=>u.startsWith("text/"));a&&(r+=await n.getType(a).then(u=>_f(u,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[Rf(e,r)]}constructor(...r){super(...r),Ef(this,"items",[])}},{[wr]:t})}function bl(e){return!!(e!=null&&e[wr])}function uO(e){if(bl(e.navigator.clipboard))return e.navigator.clipboard[wr];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=ki(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=ki(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[wr]}function cO(e){bl(e.navigator.clipboard)&&e.navigator.clipboard[wr].resetClipboardStub()}function dO(e){bl(e.navigator.clipboard)&&e.navigator.clipboard[wr].detachClipboardStub()}async function fO(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let a=ml(t);for(let u of n)for(let o of u.types)a.setData(o,await u.getType(o).then(l=>_f(l,t.FileReader)));return a}async function Cf(e,t){let r=ft(e),n=r.navigator.clipboard,a=[];for(let u=0;u!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Hn=globalThis;typeof Hn.afterEach=="function"&&Hn.afterEach(()=>cO(globalThis.window));typeof Hn.afterAll=="function"&&Hn.afterAll(()=>dO(globalThis.window));function Kt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function tn(e){let t=pO(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function pO(e){return e.nodeType===1?e:e.parentElement}function Er(e){return qf(e)&&!e.readOnly||Kt(e)}var va;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(va||(va={}));function qf(e){return ye(e,"textarea")||ye(e,"input")&&e.type in va}var _a;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(_a||(_a={}));function mO(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function bO(e){return ye(e,"textarea")||ye(e,"input")&&e.type in _a}var Pf=["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 yl(e){return e.matches(Pf)}var Vn;(function(e){e["{"]="}",e["["]="]"})(Vn||(Vn={}));function Of(e,t){let r=0,n=e[r]in Vn?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?yO(e,r,t):hO(e,r,a,t)}}function yO(e,t,r){let n=e[t];return Sf(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function hO(e,t,r,n){var a,u;let o=e[t]==="/"?"/":"";t+=o.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let i=l?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];Sf(i,e,t,n),t+=i.length;var s;let f=(s=(u=e.slice(t).match(/^>\d+/))===null||u===void 0?void 0:u[0])!==null&&s!==void 0?s:"";t+=f.length;let d=e[t]==="/"||!f&&e[t]===">"?e[t]:"";t+=d.length;let c=Vn[r],p=e[t]===c?c:"";if(!p)throw new Error(Tf([!f&&"repeat modifier",!d&&"release modifier",`"${c}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:i,releasePrevious:!!o,repeat:f?Math.max(Number(f.substr(1)),1):1,releaseSelf:gO(d,f)}}function Sf(e,t,r,n){if(!e)throw new Error(Tf("key descriptor",t[r],t,n))}function gO(e,t){if(e)return e==="/";if(t)return!1}function Tf(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}" + 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"} + for more information about how userEvent parses your input.`}function vO(e){return new e.constructor(e.type,e)}var Ve;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Ve||(Ve={}));function $r(e,t){e.levelRefs[t]={}}function yn(e,t){return e.levelRefs[t]}var pr;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(pr||(pr={}));function qt(e){for(let r=e;r;r=r.parentElement)if(ye(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(ye(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function go(e){let t=e.activeElement;return t!=null&&t.shadowRoot?go(t.shadowRoot):qt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Mo(e){var t;return(t=go(e))!==null&&t!==void 0?t:e.body}function _O(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function pt(e){return Af(e)&&qf(e)}function wO(e){return Af(e)&&vf(e)}function Af(e){return e.nodeType===1}function EO(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&pt(e)){let n=tn(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Rr(e,t){return he().eventWrapper(e)}function $t(e){let t=_O(e,yl),r=go(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Rr(t?()=>t.focus():()=>r==null?void 0:r.blur()),EO(t??e.ownerDocument.body))}function RO(e){!yl(e)||go(e.ownerDocument)!==e||Rr(()=>e.blur())}var kt={};kt.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&ye(n,"label")&&n.control;if(a)return()=>{yl(a)&&$t(a),r.dispatchEvent(a,vO(e))};if(ye(t,"input",{type:"file"}))return()=>{RO(t),t.dispatchEvent(new(ft(t)).Event("fileDialog")),$t(t)}};var Cr=Symbol("Displayed value in UI"),Rt=Symbol("Displayed selection in UI"),zn=Symbol("Initial value to compare on blur");function CO(e){return typeof e=="object"&&Cr in e}function qO(e){return!!e&&typeof e=="object"&&Rt in e}function PO(e,t){e[zn]===void 0&&(e[zn]=e.value),e[Cr]=t,e.value=Object.assign(new String(t),{[Cr]:!0})}function mt(e){return e[Cr]===void 0?e.value:String(e[Cr])}function hl(e){e[Cr]=void 0}function jf(e){e[zn]=void 0}function OO(e){return e[zn]}function SO(e,t){e[Rt]=t}function jr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=mt(e).length,u=d=>Math.max(0,Math.min(a,d)),o=n==="replace"||e[Rt]===void 0?u(r):e[Rt].anchorOffset,l=u(t),i=Math.min(o,l),s=Math.max(o,l);if(e[Rt]={anchorOffset:o,focusOffset:l},e.selectionStart===i&&e.selectionEnd===s)return;let f=Object.assign(new Number(i),{[Rt]:!0});try{e.setSelectionRange(f,s)}catch{}}function rn(e){var t,r,n;let a=(n=e[Rt])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function TO(e){return!!e[Rt]}function In(e){e[Rt]=void 0}var Wn=globalThis.parseInt;function AO(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Wn(t[0],10),n=Wn(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,Di(t,a)}return e.length===2?e:Di(t,2)}function Di(e,t){let r=e.slice(0,t),n=Math.min(Wn(r,10),23),a=e.slice(t),u=Wn(a,10),o=Math.min(u,59);return`${n.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function xf(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function Mf(e,t,r,n){if(Bn(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=Li(e,t,r);if(a){if(Bn(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(ye(a,"br")){let u=Li(a,void 0,r);return u?Bn(u)?{node:u,offset:r>0?0:u.nodeValue.length}:r<0&&ye(u,"br")?{node:a.parentNode,offset:hn(a)}:{node:u.parentNode,offset:hn(u)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:hn(a)}:void 0}else return{node:a.parentNode,offset:hn(a)+(r>0?1:0)}}}function Li(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&gl(e)&&n>=0&&nt.startsWith("__react"))&&ft(e).REACT_VERSION===17}function IO(e){NO(e)&&(e[nn]={previousValue:String(e.value),tracked:[]})}function BO(e,t){var r,n;(n=e[nn])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[nn]||(hl(e),jr(e,{focusOffset:t.length}))}function $O(e,t){var r;let n=e[nn];if(e[nn]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||hl(e),TO(e)&&jr(e,{focusOffset:a?t:e.value.length})}function Nf(e){let t=kO(e);if(t&&pt(t))return{type:"input",selection:rn(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:tn(e)&&(r!=null&&r.anchorNode)&&tn(r.anchorNode)?"contenteditable":"default",selection:r}}function kO(e){return e.nodeType===1?e:e.parentElement}function DO(e){let t=Nf(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Yt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,u;if(Nf(e).type==="input")return jr(e,{anchorOffset:n,focusOffset:t});(u=r.ownerDocument)===null||u===void 0||(a=u.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}function If(e){return ye(e,"input")&&["date","time"].includes(e.type)}function qr(e,t,r,n="insertText"){let a=DO(t);a&&(!If(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?LO(e,t,a,r,n):FO(e,t,a,r,n)))}function LO(e,t,r,n,a){let u=!1;if(!r.collapsed)u=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let o=Mf(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(o){u=!0;let l=r.cloneRange();l.comparePoint(o.node,o.offset)<0?l.setStart(o.node,o.offset):l.setEnd(o.node,o.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let o=r.endOffset;r.endContainer.insertData(o,n),r.setStart(r.endContainer,o+n.length),r.setEnd(r.endContainer,o+n.length)}else{let o=t.ownerDocument.createTextNode(n);r.insertNode(o),r.setStart(o,n.length),r.setEnd(o,n.length)}(u||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function FO(e,t,r,n,a){let u=n;if(bO(t)){let s=mO(t);if(s!==void 0&&n.length>0){let f=s-t.value.length;if(f>0)u=n.substring(0,f);else return}}let{newValue:o,newOffset:l,oldValue:i}=UO(u,t,r,a);o===i&&l===r.startOffset&&l===r.endOffset||ye(t,"input",{type:"number"})&&!HO(o)||(PO(t,o),Yt({focusNode:t,anchorOffset:l,focusOffset:l}),If(t)?xf(t,o)&&(Fi(e,t,l,{}),e.dispatchUIEvent(t,"change"),jf(t)):Fi(e,t,l,{data:n,inputType:a}))}function UO(e,t,{startOffset:r,endOffset:n},a){let u=mt(t),o=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),l=u.substring(0,o),i=Math.min(u.length,r===n&&a==="deleteContentForward"?r+1:n),s=u.substring(i,u.length),f=`${l}${e}${s}`,d=o+e.length;if(ye(t,"input",{type:"time"})){let c=AO(f);c!==""&&xf(t,c)&&(f=c,d=c.length)}return{oldValue:u,newValue:f,newOffset:d}}function Fi(e,t,r,n){e.dispatchUIEvent(t,"input",n),$O(t,r)}function HO(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]))}kt.cut=(e,t,r)=>()=>{Er(t)&&qr(r,t,"","deleteByCut")};function VO(e){return e?Kt(e)?e.textContent:mt(e):null}function zO(e){let t=ft(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function WO(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Pf),a=Array.from(n).filter(i=>i===e||!(Number(i.getAttribute("tabindex"))<0||qt(i)));Number(e.getAttribute("tabindex"))>=0&&a.sort((i,s)=>{let f=Number(i.getAttribute("tabindex")),d=Number(s.getAttribute("tabindex"));return f===d?0:f===0?1:d===0?-1:f-d});let u={},o=[r.body],l=ye(e,"input",{type:"radio"})?e.name:void 0;a.forEach(i=>{let s=i;if(ye(s,"input",{type:"radio"})&&s.name){if(s===e){o.push(s);return}else if(s.name===l)return;if(s.checked){o=o.filter(f=>!ye(f,"input",{type:"radio",name:s.name})),o.push(s),u[s.name]=s;return}if(typeof u[s.name]<"u")return}o.push(s)});for(let i=o.findIndex(s=>s===e);;)if(i+=t?-1:1,i===o.length?i=0:i===-1&&(i=o.length-1),o[i]===e||o[i]===r.body||zO(o[i]))return o[i]}function Ui(e,t){if(pt(e)){let r=rn(e);Yt({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=Mf(r.focusNode,r.focusOffset,t);n&&Yt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Bf(e){if(pt(e))return Yt({focusNode:e,anchorOffset:0,focusOffset:mt(e).length});var t;let r=(t=tn(e))!==null&&t!==void 0?t:e.ownerDocument.body;Yt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function GO(e){if(pt(e))return rn(e).startOffset===0&&rn(e).endOffset===mt(e).length;var t;let r=(t=tn(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function kr(e,t,r){var n;if(pt(e))return Yt({focusNode:e,anchorOffset:t,focusOffset:r});if(Kt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Yt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function gn(e,t,r){let n=ft(t),a=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let u=a.findIndex(o=>o===t)+r;;u+=r){if(a[u]||(u=r>0?0:a.length-1),a[u]===t)return;qt(a[u])||($t(a[u]),e.dispatchUIEvent(a[u],"click"))}}kt.keydown=(e,t,r)=>{var n,a;return(a=(n=Hi[e.key])===null||n===void 0?void 0:n.call(Hi,e,t,r))!==null&&a!==void 0?a:KO(e,t,r)};var Hi={ArrowDown:(e,t,r)=>{if(ye(t,"input",{type:"radio"}))return()=>gn(r,t,-1)},ArrowLeft:(e,t,r)=>ye(t,"input",{type:"radio"})?()=>gn(r,t,-1):()=>Ui(t,-1),ArrowRight:(e,t,r)=>ye(t,"input",{type:"radio"})?()=>gn(r,t,1):()=>Ui(t,1),ArrowUp:(e,t,r)=>{if(ye(t,"input",{type:"radio"}))return()=>gn(r,t,1)},Backspace:(e,t,r)=>{if(Er(t))return()=>{qr(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Er(t))return()=>{qr(r,t,"","deleteContentForward")}},End:(e,t)=>{if(ye(t,["input","textarea"])||Kt(t))return()=>{var r,n;let a=(n=(r=VO(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;kr(t,a,a)}},Home:(e,t)=>{if(ye(t,["input","textarea"])||Kt(t))return()=>{kr(t,0,0)}},PageDown:(e,t)=>{if(ye(t,["input"]))return()=>{let r=mt(t).length;kr(t,r,r)}},PageUp:(e,t)=>{if(ye(t,["input"]))return()=>{kr(t,0,0)}},Tab:(e,t,r)=>()=>{let n=WO(t,r.system.keyboard.modifiers.Shift);$t(n),pt(n)&&jr(n,{anchorOffset:0,focusOffset:n.value.length})}},KO=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Bf(t)};kt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(ye(t,"button")||ye(t,"input")&&YO.includes(t.type)||ye(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(ye(t,"input")){let n=t.form,a=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&JO.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Er(t)){let n=e.key==="Enter"?Kt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?` +`:e.key;return()=>qr(r,t,a,n)}};var YO=["button","color","file","image","reset","submit"],JO=["email","month","password","search","tel","text","url","week"];kt.keyup=(e,t,r)=>{var n;return(n=Vi[e.key])===null||n===void 0?void 0:n.call(Vi,e,t,r)};var Vi={" ":(e,t,r)=>{if(vf(t))return()=>r.dispatchUIEvent(t,"click")}};kt.paste=(e,t,r)=>{if(Er(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&qr(r,t,a,"insertFromPaste")}};var $f={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function kf(e){return $f[e].EventType}var XO=["MouseEvent","PointerEvent"];function QO(e){return XO.includes(kf(e))}function ZO(e){return kf(e)==="KeyboardEvent"}var eS={ClipboardEvent:[rS],Event:[],InputEvent:[vn,nS],MouseEvent:[vn,No,zi],PointerEvent:[vn,No,zi,aS],KeyboardEvent:[vn,No,oS]};function Df(e,t,r){let n=ft(t),{EventType:a,defaultInit:u}=$f[e],o=new(tS(n))[a](e,u);return eS[a].forEach(l=>l(o,r??{})),o}function tS(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var u;let o=(u=e.ClipboardEvent)!==null&&u!==void 0?u:class extends r{};var l;let i=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var s;let f=(s=e.ProgressEvent)!==null&&s!==void 0?s:class extends r{};var d;let c=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let m=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var b;let g=(b=e.CompositionEvent)!==null&&b!==void 0?b:class extends m{};var y;let v=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends m{};var R;let w=(R=e.InputEvent)!==null&&R!==void 0?R:class extends m{};var P;let S=(P=e.KeyboardEvent)!==null&&P!==void 0?P:class extends m{};var q;let h=(q=e.MouseEvent)!==null&&q!==void 0?q:class extends m{};var C;let j=(C=e.DragEvent)!==null&&C!==void 0?C:class extends h{};var M;let F=(M=e.PointerEvent)!==null&&M!==void 0?M:class extends h{};var U;let H=(U=e.TouchEvent)!==null&&U!==void 0?U:class extends m{};return{Event:r,AnimationEvent:a,ClipboardEvent:o,PopStateEvent:i,ProgressEvent:f,TransitionEvent:c,UIEvent:m,CompositionEvent:g,FocusEvent:v,InputEvent:w,KeyboardEvent:S,MouseEvent:h,DragEvent:j,PointerEvent:F,TouchEvent:H}}function nr(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ne(e){return Number(e??0)}function rS(e,{clipboardData:t}){nr(e,{clipboardData:t})}function nS(e,{data:t,inputType:r,isComposing:n}){nr(e,{data:t,isComposing:!!n,inputType:String(r)})}function vn(e,{view:t,detail:r}){nr(e,{view:t,detail:Ne(r??0)})}function No(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:u,modifierCapsLock:o,modifierFn:l,modifierFnLock:i,modifierNumLock:s,modifierScrollLock:f,modifierSymbol:d,modifierSymbolLock:c}){nr(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(p){return!!{Alt:t,AltGraph:u,CapsLock:o,Control:r,Fn:l,FnLock:i,Meta:n,NumLock:s,ScrollLock:f,Shift:a,Symbol:d,SymbolLock:c}[p]}})}function oS(e,{key:t,code:r,location:n,repeat:a,isComposing:u,charCode:o}){nr(e,{key:String(t),code:String(r),location:Ne(n),repeat:!!a,isComposing:!!u,charCode:o})}function zi(e,{x:t,y:r,screenX:n,screenY:a,clientX:u=t,clientY:o=r,button:l,buttons:i,relatedTarget:s}){nr(e,{screenX:Ne(n),screenY:Ne(a),clientX:Ne(u),x:Ne(u),clientY:Ne(o),y:Ne(o),button:Ne(l),buttons:Ne(i),relatedTarget:s})}function aS(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:u,tiltX:o,tiltY:l,twist:i,pointerType:s,isPrimary:f}){nr(e,{pointerId:Ne(t),width:Ne(r),height:Ne(n),pressure:Ne(a),tangentialPressure:Ne(u),tiltX:Ne(o),tiltY:Ne(l),twist:Ne(i),pointerType:String(s),isPrimary:!!f})}function lS(e,t,r,n=!1){(QO(t)||ZO(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=Df(t,e,r);return Lf.call(this,e,a,n)}function Lf(e,t,r=!1){var n;let a=t.type,u=r?()=>{}:(n=kt[a])===null||n===void 0?void 0:n.call(kt,t,e,this);if(u){t.preventDefault();let o=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>o}),Object.defineProperty(t,"preventDefault",{value:()=>{o=t.cancelable}}),Rr(()=>e.dispatchEvent(t)),o||u(),!o}return Rr(()=>e.dispatchEvent(t))}function iS(e,t,r){let n=Df(t,e,r);Rr(()=>e.dispatchEvent(n))}var Io=Symbol("Interceptor for programmatical calls");function dr(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),u=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[u])!="function"||n[u][Io])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function o(...l){let{applyNative:i=!1,realArgs:s,then:f}=r.call(this,...l),d=(!i&&a||n)[u];u==="set"?d.call(this,s):d.call(this,...s),f==null||f()}o[Io]=Io,Object.defineProperty(e,t,{...a??n,[u]:o})}function sS(e){dr(e,"value",function(t){let r=CO(t);return r&&IO(this),{applyNative:!!r,realArgs:uS(this,t),then:r?void 0:()=>BO(this,String(t))}})}function uS(e,t){return ye(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function cS(e){dr(e,"setSelectionRange",function(t,...r){let n=qO(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:In(e)}}),dr(e,"selectionStart",function(t){return{realArgs:t,then:()=>In(e)}}),dr(e,"selectionEnd",function(t){return{realArgs:t,then:()=>In(e)}}),dr(e,"select",function(){return{realArgs:[],then:()=>SO(e,{anchorOffset:0,focusOffset:mt(e).length})}})}function dS(e){dr(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{hl(e),In(e)}}})}var mr=Symbol("Node prepared with document state workarounds");function Ff(e){e[mr]||(e.addEventListener("focus",t=>{let r=t.target;Wi(r)},{capture:!0,passive:!0}),e.activeElement&&Wi(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=OO(r);n!==void 0&&(r.value!==n&&iS(r,"change"),jf(r))},{capture:!0,passive:!0}),e[mr]=mr)}function Wi(e){e[mr]||(ye(e,["input","textarea"])&&(sS(e),cS(e),dS(e)),e[mr]=mr)}function fS(e){return pS(e)?e:e.ownerDocument}function pS(e){return e.nodeType===9}function Pr(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var tt;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(tt||(tt={}));var mS=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Gi(e){return mS.includes(e)}var bS=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Ki(e){return bS.includes(e)}var yS=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,a;let u=String(t.key),o=String(t.code),l=Mo(e.config.document);this.setKeydownTarget(l);var i;(i=(r=this.pressed)[n=o])!==null&&i!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),Gi(u)&&(this.modifiers[u]=!0);let s=e.dispatchUIEvent(l,"keydown",{key:u,code:o});Ki(u)&&!this.modifiers[u]&&(this.modifiers[u]=!0,this.modifierLockStart[u]=!0),(a=this.pressed[o]).unpreventedDefault||(a.unpreventedDefault=s),s&&this.hasKeyPress(u)&&e.dispatchUIEvent(Mo(e.config.document),"keypress",{key:u,code:o,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),a=this.pressed[n].unpreventedDefault;delete this.pressed[n],Gi(r)&&!Object.values(this.pressed).find(u=>u.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Mo(e.config.document),"keyup",{key:r,code:n},!a),Ki(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){ir(this,"system",void 0),ir(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}),ir(this,"pressed",{}),ir(this,"carryChar",""),ir(this,"lastKeydownTarget",void 0),ir(this,"modifierLockStart",{}),this.system=e}},hS=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:tt.LEFT},{code:"AltRight",key:"Alt",location:tt.RIGHT},{code:"ShiftLeft",key:"Shift",location:tt.LEFT},{code:"ShiftRight",key:"Shift",location:tt.RIGHT},{code:"ControlLeft",key:"Control",location:tt.LEFT},{code:"ControlRight",key:"Control",location:tt.RIGHT},{code:"MetaLeft",key:"Meta",location:tt.LEFT},{code:"MetaRight",key:"Meta",location:tt.RIGHT},{code:"OSLeft",key:"OS",location:tt.LEFT},{code:"OSRight",key:"OS",location:tt.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],gS=[{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 vS(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Uf=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=wa(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=wa(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){vS(this,"pressed",{})}},Yi={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function wa(e=0){return e in Yi?Yi[e]:Number(e)}var Ji={1:2,2:1};function Xi(e){return e=wa(e),e in Ji?Ji[e]:e}function _S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wS=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){_S(this,"pressedKeys",new Set)}};function Hr(e,t){let r=[];for(let u=e;u;u=u.parentElement)r.push(u);let n=[];for(let u=t;u;u=u.parentElement)n.push(u);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function Ea({target:e,node:t,offset:r}){return pt(e)?{node:e,offset:r??mt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Hf(e,r)}function Hf(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let u=e.childNodes.item(n),o=String(u.textContent);if(o.length)if(t!==void 0&&o.lengthe.end||u.offset0&&o.setEnd(u.node,u.offset);let i=t.getSelection();i==null||i.removeAllRanges(),i==null||i.addRange(o.cloneRange())}}function Vf(e,t){var r,n,a,u,o,l,i,s;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((u=t.coords)===null||u===void 0?void 0:u.y)||((o=e.caret)===null||o===void 0?void 0:o.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((i=e.caret)===null||i===void 0?void 0:i.offset)!==((s=t.caret)===null||s===void 0?void 0:s.offset)}function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qS=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Vf(r,t))return;let a=this.getTarget(e),u=this.getEventInit("mousemove"),[o,l]=Hr(n,a);return{leave:()=>{n!==a&&(e.dispatchUIEvent(n,"mouseout",u),o.forEach(i=>e.dispatchUIEvent(i,"mouseleave",u)))},enter:()=>{n!==a&&(e.dispatchUIEvent(a,"mouseover",u),l.forEach(i=>e.dispatchUIEvent(i,"mouseenter",u)))},move:()=>{e.dispatchUIEvent(a,"mousemove",u),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let a=this.getTarget(e);this.buttonDownTarget[n]=a;let u=qt(a),o=this.getEventInit("mousedown",t.button);(u||e.dispatchUIEvent(a,"mousedown",o))&&(this.startSelecting(e,o.detail),$t(a)),!u&&Xi(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let a=this.getTarget(e);if(!qt(a)){e.dispatchUIEvent(a,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let u=Hr(this.buttonDownTarget[n],a)[2][0];if(u){let o=this.getEventInit("click",t.button,r);o.detail&&(e.dispatchUIEvent(u,o.button===0?"click":"auxclick",o),o.button===0&&o.detail===2&&e.dispatchUIEvent(u,"dblclick",{...this.getEventInit("dblclick",t.button),detail:o.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=Xi(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=ES({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&CS(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){zt(this,"position",{}),zt(this,"buttons",new Uf),zt(this,"selecting",void 0),zt(this,"buttonDownTarget",{}),zt(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){zt(this,"down",{}),zt(this,"count",{})}})}};function Gn(e,t){var r;return((r=zf(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function PS(e){let t=ft(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var Qi=Symbol("Last check for pointer-events");function zf(e,t){let r=t[Qi];if(!(e.config.pointerEventsCheck!==pr.Never&&(!r||Zi(e.config.pointerEventsCheck,pr.EachApiCall)&&r[Ve.Call]!==yn(e,Ve.Call)||Zi(e.config.pointerEventsCheck,pr.EachTrigger)&&r[Ve.Trigger]!==yn(e,Ve.Trigger))))return r==null?void 0:r.result;let n=PS(t);return t[Qi]={[Ve.Call]:yn(e,Ve.Call),[Ve.Trigger]:yn(e,Ve.Trigger),result:n},n}function Dr(e,t){let r=zf(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\`:`,"",OS(r.tree)].join(` +`))}function OS(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,SS(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(` +`)}function SS(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(ye(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(o=>{var l;return(l=o.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(ye(e,"button")){var u;r=(u=e.textContent)===null||u===void 0?void 0:u.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function Zi(e,t){return(e&t)>0}function xt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var es=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=Hr(null,r),a=this.getEventInit();return Dr(e,r),e.dispatchUIEvent(r,"pointerover",a),n.forEach(u=>e.dispatchUIEvent(u,"pointerenter",a)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Vf(r,t))return;let a=this.getTarget(e),u=this.getEventInit(),[o,l]=Hr(n,a);return{leave:()=>{Gn(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",u),o.forEach(i=>e.dispatchUIEvent(i,"pointerleave",u)))},enter:()=>{Dr(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",u),l.forEach(i=>e.dispatchUIEvent(i,"pointerenter",u)))},move:()=>{e.dispatchUIEvent(a,"pointermove",u)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Dr(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Dr(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=Hr(t,null),n=this.getEventInit();Gn(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){xt(this,"pointerId",void 0),xt(this,"pointerType",void 0),xt(this,"isPrimary",void 0),xt(this,"isMultitouch",!1),xt(this,"isCancelled",!1),xt(this,"isDown",!1),xt(this,"isPrevented",!1),xt(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var TS=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),a.down(e,t),a.pointerType!=="touch"&&!a.isPrevented&&this.mouse.down(e,t,a)}async move(e,t,r){let n=this.pointers.get(t),a=n.move(e,r),u=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);a==null||a.leave(),u==null||u.leave(),a==null||a.enter(),u==null||u.enter(),a==null||a.move(),u==null||u.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let a=this.pointers.get(this.getPointerName(t));if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t),a.pointerType==="touch"&&a.release(e),!a.isPrevented){if(a.pointerType==="touch"&&!a.isMultitouch){let u=this.mouse.move(e,a.position);u==null||u.leave(),u==null||u.enter(),u==null||u.move(),this.mouse.down(e,t,a)}if(!a.isMultitouch){let u=this.mouse.move(e,a.position);u==null||u.leave(),u==null||u.enter(),u==null||u.move(),this.mouse.up(e,t,a)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){Mt(this,"system",void 0),Mt(this,"mouse",void 0),Mt(this,"buttons",void 0),Mt(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0||(r[n]=new wS),this.registry[t]}constructor(){Mt(this,"registry",{})}}),Mt(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return n||Object.values(this.registry).forEach(a=>{a.pointerType===r.pointerType&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new es({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){Mt(this,"registry",{mouse:new es({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Mt(this,"nextId",2)}}),this.system=e,this.buttons=new Uf,this.mouse=new qS}};function ts(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Wf=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(){ts(this,"keyboard",new yS(this)),ts(this,"pointer",new TS(this))}};async function AS(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function jS(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function xS(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function MS(e){return this.pointer({target:e})}async function NS(e){return Dr(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function IS({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function BS(e,t){let r=[];do{let{type:a,descriptor:u,consumedLength:o,releasePrevious:l,releaseSelf:i=!0,repeat:s}=Of(t,"keyboard");var n;let f=(n=e.find(d=>{if(a==="["){var c;return((c=d.code)===null||c===void 0?void 0:c.toLowerCase())===u.toLowerCase()}else if(a==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===u.toLowerCase()}return d.key===u}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:u};r.push({keyDef:f,releasePrevious:l,releaseSelf:i,repeat:s}),t=t.slice(o)}while(t);return r}async function $S(e){let t=BS(this.config.keyboardMap,e);for(let r=0;r{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:u})}function VS(e,t){let r=ml(ft(e));return r.setData("text",t),r}function rs(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:u,releaseSelf:o=!0}=Of(t,"pointer"),l=e.find(i=>i.name===n);l&&r.push({keyDef:l,releasePrevious:u,releaseSelf:o}),t=t.slice(a)}while(t);return r}async function zS(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...rs(t,n)):"keys"in n?r.push(...rs(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n{if(typeof l!="string"&&a.includes(l))return l;{let i=a.find(s=>s.value===l||s.innerHTML===l);if(i)return i;throw he().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!qt(l));if(qt(t)||!u.length)return;let o=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(ye(t,"select"))if(t.multiple)for(let l of u){let i=this.config.pointerEventsCheck===0?!0:Gn(this,l);i&&(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")),$t(t),i&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),o(l),i&&this.dispatchUIEvent(l,"click"),await Pr(this.config)}else if(u.length===1){let l=this.config.pointerEventsCheck===0?!0:Gn(this,t);l?await this.click(t):$t(t),o(u[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 Pr(this.config)}else throw he().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of u)await this.click(l),await this.unhover(l);else throw he().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function XS(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:u}={}){e.disabled||(r||await this.click(e),a!==void 0&&kr(e,a,u??a),await this.keyboard(t),n||await DS(this))}var os=Symbol("files and value properties are mocked");function Bo(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function QS(e,t){var r;(r=e[os])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),u=Object.getOwnPropertyDescriptor(e,"files");function o(){Bo(e,"type",n),Bo(e,"value",a),Bo(e,"files",u)}e[os]={restore:o},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")o();else{var i;a==null||(i=a.set)===null||i===void 0||i.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(o(),e.type=l)}}})}async function ZS(e,t){let r=ye(e,"label")?e.control:e;if(!r||!ye(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(qt(e))return;let n=(Array.isArray(t)?t:[t]).filter(u=>!this.config.applyAccept||e1(u,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var u;n.length===((u=r.files)===null||u===void 0?void 0:u.length)&&n.every((o,l)=>{var i;return o===((i=r.files)===null||i===void 0?void 0:i.item(l))})||(QS(r,pl(ft(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function e1(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var as={click:AS,dblClick:jS,tripleClick:xS,hover:MS,unhover:NS,tab:IS,keyboard:$S,copy:FS,cut:US,paste:HS,pointer:zS,clear:KS,deselectOptions:JS,selectOptions:YS,type:XS,upload:ZS};function t1(e){return he().asyncWrapper(e)}var Yf={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:hS,pointerMap:gS,pointerEventsCheck:pr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},r1={...Yf,writeToClipboard:!0};function Jf(e={},t=r1,r){let n=l1(e,r,t);return{...t,...e,document:n}}function n1(e={}){let t=Jf(e);Ff(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return uO(n),vl(t).api}function Ue({keyboardState:e,pointerState:t,...r}={},n){let a=Jf(r,Yf,n);Ff(a.document);var u;let o=(u=t??e)!==null&&u!==void 0?u:new Wf;return{api:vl(a,o).api,system:o}}function o1(e){return vl({...this.config,...e},this.system).api}function a1(e,t){function r(...n){return $r(e,Ve.Call),t1(()=>t.apply(e,n).then(async a=>(await Pr(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function vl(e,t=new Wf){let r={};return Object.assign(r,{config:e,dispatchEvent:Lf.bind(r),dispatchUIEvent:lS.bind(r),system:t,levelRefs:{},...as}),{instance:r,api:{...Object.fromEntries(Object.entries(as).map(([n,a])=>[n,a1(r,a)])),setup:o1.bind(r)}}}function l1(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&fS(t))!==null&&a!==void 0?a:r.document}var Xf={};xa(Xf,{clear:()=>i1,click:()=>s1,copy:()=>u1,cut:()=>c1,dblClick:()=>d1,deselectOptions:()=>f1,hover:()=>p1,keyboard:()=>m1,paste:()=>y1,pointer:()=>b1,selectOptions:()=>h1,tab:()=>E1,tripleClick:()=>g1,type:()=>v1,unhover:()=>_1,upload:()=>w1});function i1(e){return Ue().api.clear(e)}function s1(e,t={}){return Ue(t,e).api.click(e)}function u1(e={}){return Ue(e).api.copy()}function c1(e={}){return Ue(e).api.cut()}function d1(e,t={}){return Ue(t).api.dblClick(e)}function f1(e,t,r={}){return Ue(r).api.deselectOptions(e,t)}function p1(e,t={}){return Ue(t).api.hover(e)}async function m1(e,t={}){let{api:r,system:n}=Ue(t);return r.keyboard(e).then(()=>n)}async function b1(e,t={}){let{api:r,system:n}=Ue(t);return r.pointer(e).then(()=>n)}function y1(e,t){return Ue(t).api.paste(e)}function h1(e,t,r={}){return Ue(r).api.selectOptions(e,t)}function g1(e,t={}){return Ue(t).api.tripleClick(e)}function v1(e,t,r={}){return Ue(r,e).api.type(e,t,r)}function _1(e,t={}){let{api:r,system:n}=Ue(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function w1(e,t,r={}){return Ue(r).api.upload(e,t)}function E1(e={}){return Ue().api.tab(e)}var R1={...Xf,setup:n1};function C1(e){for(var t=[],r=1;rt[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Ra.screen=new Proxy(Ra.screen,{get(e,t,r){return gm.warn(q1` + You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. + More info: https://storybook.js.org/docs/react/essentials/interactions + `),Reflect.get(e,t,r)}});var{buildQueries:V1,configure:z1,createEvent:W1,fireEvent:G1,findAllByAltText:K1,findAllByDisplayValue:Y1,findAllByLabelText:J1,findAllByPlaceholderText:X1,findAllByRole:Q1,findAllByTestId:Z1,findAllByText:eT,findAllByTitle:tT,findByAltText:rT,findByDisplayValue:nT,findByLabelText:oT,findByPlaceholderText:aT,findByRole:lT,findByTestId:iT,findByText:sT,findByTitle:uT,getAllByAltText:cT,getAllByDisplayValue:dT,getAllByLabelText:fT,getAllByPlaceholderText:pT,getAllByRole:mT,getAllByTestId:bT,getAllByText:yT,getAllByTitle:hT,getByAltText:gT,getByDisplayValue:vT,getByLabelText:_T,getByPlaceholderText:wT,getByRole:ET,getByTestId:RT,getByText:CT,getByTitle:qT,getConfig:PT,getDefaultNormalizer:OT,getElementError:ST,getNodeText:TT,getQueriesForElement:AT,getRoles:jT,getSuggestedQuery:xT,isInaccessible:MT,logDOM:NT,logRoles:IT,prettyDOM:BT,queries:$T,queryAllByAltText:kT,queryAllByAttribute:DT,queryAllByDisplayValue:LT,queryAllByLabelText:FT,queryAllByPlaceholderText:UT,queryAllByRole:HT,queryAllByTestId:VT,queryAllByText:zT,queryAllByTitle:WT,queryByAltText:GT,queryByAttribute:KT,queryByDisplayValue:YT,queryByLabelText:JT,queryByPlaceholderText:XT,queryByRole:QT,queryByTestId:ZT,queryByText:eA,queryByTitle:tA,queryHelpers:rA,screen:nA,waitFor:oA,waitForElementToBeRemoved:aA,within:P1,prettyFormat:lA}=Ra;Aa({userEvent:R1},{intercept:!0});Aa({expect:Wc},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===QE.Assertion){let n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"});var O1=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?Qq():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?Xq():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&Zq()},Ca=(e,t=0,r)=>{var n;if(t>5||e==null)return e;if(zu(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=cn(e);return r&&a.mockName(r),a}if(Array.isArray(e))return t++,e.map(a=>Ca(a,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[a,u]of Object.entries(e))(n=Object.getOwnPropertyDescriptor(e,a))!=null&&n.writable&&(e[a]=Ca(u,t,a));return e}return e},S1=({initialArgs:e})=>{Ca(e)},T1=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=P1(e.canvasElement))};ju.__STORYBOOK_TEST_LOADERS__=[O1,S1,T1];ju.__STORYBOOK_TEST_ON_MOCK_CALL__=Yq;const iA={title:"Components/Button",component:rp,argTypes:{label:{disable:!0},color:{control:"select",options:Object.keys(np)}},args:{label:"Button",onClick:cn()}},Ft={onClick:cn()},or={parameters:{controls:{disable:!0},actions:{disable:!0}}},_n={args:{label:"Button",...Ft},tags:["excludeFromSidebar"]},wn={args:{...Ft,color:"primary",label:"Default button"},...or},En={args:{...Ft,color:"primary",label:"Primary button",onClick:cn()},...or},Rn={args:{...Ft,color:"secondary",label:"Secondary button",onClick:cn()},...or},Cn={args:{...Ft,color:"primary",label:"Outline button (primary)",appearance:"outline"},...or},qn={args:{...Ft,color:"secondary",label:"Outline button (secondary)",appearance:"outline"},...or},Pn={args:{...Ft,color:"primary",label:"Small button",size:"sm"},...or},On={args:{...Ft,color:"primary",label:"Large button",size:"lg"},...or};var ls,is,ss;_n.parameters={..._n.parameters,docs:{...(ls=_n.parameters)==null?void 0:ls.docs,source:{originalSource:`{ + args: { + label: 'Button', + ...defaultProps + }, + tags: ['excludeFromSidebar'] +}`,...(ss=(is=_n.parameters)==null?void 0:is.docs)==null?void 0:ss.source}}};var us,cs,ds;wn.parameters={...wn.parameters,docs:{...(us=wn.parameters)==null?void 0:us.docs,source:{originalSource:`{ + args: { + ...defaultProps, + color: 'primary', + label: 'Default button' + }, + ...disableControls +}`,...(ds=(cs=wn.parameters)==null?void 0:cs.docs)==null?void 0:ds.source}}};var fs,ps,ms;En.parameters={...En.parameters,docs:{...(fs=En.parameters)==null?void 0:fs.docs,source:{originalSource:`{ + args: { + ...defaultProps, + color: 'primary', + label: 'Primary button', + onClick: fn() + }, + ...disableControls +}`,...(ms=(ps=En.parameters)==null?void 0:ps.docs)==null?void 0:ms.source}}};var bs,ys,hs;Rn.parameters={...Rn.parameters,docs:{...(bs=Rn.parameters)==null?void 0:bs.docs,source:{originalSource:`{ + args: { + ...defaultProps, + color: 'secondary', + label: 'Secondary button', + onClick: fn() + }, + ...disableControls +}`,...(hs=(ys=Rn.parameters)==null?void 0:ys.docs)==null?void 0:hs.source}}};var gs,vs,_s;Cn.parameters={...Cn.parameters,docs:{...(gs=Cn.parameters)==null?void 0:gs.docs,source:{originalSource:`{ + args: { + ...defaultProps, + color: 'primary', + label: 'Outline button (primary)', + appearance: 'outline' + }, + ...disableControls +}`,...(_s=(vs=Cn.parameters)==null?void 0:vs.docs)==null?void 0:_s.source}}};var ws,Es,Rs;qn.parameters={...qn.parameters,docs:{...(ws=qn.parameters)==null?void 0:ws.docs,source:{originalSource:`{ + args: { + ...defaultProps, + color: 'secondary', + label: 'Outline button (secondary)', + appearance: 'outline' + }, + ...disableControls +}`,...(Rs=(Es=qn.parameters)==null?void 0:Es.docs)==null?void 0:Rs.source}}};var Cs,qs,Ps;Pn.parameters={...Pn.parameters,docs:{...(Cs=Pn.parameters)==null?void 0:Cs.docs,source:{originalSource:`{ + args: { + ...defaultProps, + color: 'primary', + label: 'Small button', + size: 'sm' + }, + ...disableControls +}`,...(Ps=(qs=Pn.parameters)==null?void 0:qs.docs)==null?void 0:Ps.source}}};var Os,Ss,Ts;On.parameters={...On.parameters,docs:{...(Os=On.parameters)==null?void 0:Os.docs,source:{originalSource:`{ + args: { + ...defaultProps, + color: 'primary', + label: 'Large button', + size: 'lg' + }, + ...disableControls +}`,...(Ts=(Ss=On.parameters)==null?void 0:Ss.docs)==null?void 0:Ts.source}}};const sA=["Demo","Default","Primary","Secondary","PrimaryOutline","SecondaryOutline","Small","Large"];export{wn as Default,_n as Demo,On as Large,En as Primary,Cn as PrimaryOutline,Rn as Secondary,qn as SecondaryOutline,Pn as Small,sA as __namedExportsOrder,iA as default}; diff --git a/assets/Button.style-BuRJTyuz.js b/assets/Button.style-BuRJTyuz.js new file mode 100644 index 0000000..459d687 --- /dev/null +++ b/assets/Button.style-BuRJTyuz.js @@ -0,0 +1,43 @@ +import{c,a as t,r}from"./polished.esm-B9vzHjoG.js";import{u as i}from"./styled-components.browser.esm-DnUtS8XV.js";const a=1.25,o={colors:{primary:"#e97462",secondary:"#370e4a",subtle:"#b3a7b7",light:"#f8f9fa",dark:"#0e080e",success:"#00b285",error:"#84213A",warning:"#e97462",info:"#00aeb2",background:"#f8f9fa"},spacing:{xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"3rem"},typeScale:a,fontFamily:{body:"'Inter Tight', sans-serif",heading:"'Inter Tight', sans-serif"},fontWeights:{light:300,normal:400,semibold:600,bold:700},fontSizes:["md","lg","xl","xxl","display"].reduce((e,n)=>{const s=Object.values(e).pop();return e[n]=`${parseFloat(s.replace("rem",""))*a}rem`,e},{sm:"0.8rem",default:"1rem"})},m={...o,colors:{...o.colors,primary:"#fbb653",secondary:"#e97462",success:"#599d62",info:"#5d8de8",background:"#f8f9fa",dark:"#370e4a"}},f={...o,colors:{...o.colors,primary:"#370e4a",secondary:"#5680a6",info:"#5680a6",success:"#00776d",background:"#f8f9fa",dark:"#0B0E10",subtle:"#e8d5b5"}},u={...o,colors:{...o.colors,primary:"#84213A",secondary:"#FF3465",info:"#54bac1",background:"#0B0E10",dark:c(.05,"#0B0E10"),subtle:t(.65,o.colors.subtle)}},$=i.button` + display: inline-block; + font-family: ${e=>e.theme.fontFamily.body}; + font-weight: ${e=>e.theme.fontWeights.normal}; + background: ${e=>e.theme.colors[e.$color]}; + color: ${e=>r(e.theme.colors[e.$color])}; + text-decoration: underline; + text-decoration-color: transparent; + appearance: none; + border: 0; + border-radius: 3rem; + cursor: pointer; + transition: all 0.3s ease; + font-size: ${e=>e.theme.fontSizes.sm}; + // Handle appearance + ${e=>{if(e.$appearance==="outline")return` + background: transparent; + color: ${e.theme.colors[e.$color]}; + border: 1px solid ${e.theme.colors[e.$color]}; + `}}; + // Handle sizes + ${e=>e.$size==="sm"?` + padding: ${e.theme.spacing.xs} ${e.theme.spacing.md}; + font-size: ${e.theme.fontSizes.xs}; + `:e.$size==="lg"?` + padding: ${e.theme.spacing.sm} ${e.theme.spacing.xxl}; + font-size: ${e.theme.fontSizes.default}; + `:` + padding: ${e.theme.spacing.sm} ${e.theme.spacing.lg}; + font-size: 0.875rem; // in between sm (0.75rem) and default (1rem) + `}; + + &:hover, &:focus, &:active { + text-decoration-color: currentColor; + color: ${e=>r(e.theme.colors[e.$color])}; + + ${e=>e.$appearance==="outline"?` + background: ${e.theme.colors[e.$color]}; + `:` + background: ${t(.15,e.theme.colors[e.$color])}; + `}}; + } +`;export{$ as S,f as a,u as b,o as d,m as s}; diff --git a/assets/Button.style-DhS0uTNt.js b/assets/Button.style-DhS0uTNt.js deleted file mode 100644 index 695cd89..0000000 --- a/assets/Button.style-DhS0uTNt.js +++ /dev/null @@ -1,43 +0,0 @@ -import{u as o}from"./styled-components.browser.esm-CoKU8m7y.js";import{r as t,c as n}from"./polished.esm-DHPXM_EY.js";const i=o.button` - display: inline-block; - font-family: ${e=>e.theme.fontFamily.body}; - font-weight: ${e=>e.theme.fontWeights.normal}; - background: ${e=>e.theme.colors[e.$color]}; - color: ${e=>t(e.theme.colors[e.$color])}; - text-decoration: underline; - text-decoration-color: transparent; - appearance: none; - border: 0; - border-radius: 3rem; - cursor: pointer; - transition: all 0.3s ease; - font-size: ${e=>e.theme.fontSizes.sm}; - // Handle appearance - ${e=>{if(e.$appearance==="outline")return` - background: transparent; - color: ${e.theme.colors[e.$color]}; - border: 1px solid ${e.theme.colors[e.$color]}; - `}}; - // Handle sizes - ${e=>e.$size==="sm"?` - padding: ${e.theme.spacing.xs} ${e.theme.spacing.md}; - font-size: ${e.theme.fontSizes.xs}; - `:e.$size==="lg"?` - padding: ${e.theme.spacing.sm} ${e.theme.spacing.xxl}; - font-size: ${e.theme.fontSizes.default}; - `:` - padding: ${e.theme.spacing.sm} ${e.theme.spacing.lg}; - font-size: 0.875rem; // in between sm (0.75rem) and default (1rem) - `}; - - &:hover, &:focus, &:active { - text-decoration-color: currentColor; - color: ${e=>t(e.theme.colors[e.$color])}; - - ${e=>e.$appearance==="outline"?` - background: ${e.theme.colors[e.$color]}; - `:` - background: ${n(.15,e.theme.colors[e.$color])}; - `}}; - } -`;export{i as S}; diff --git a/assets/Color-KGDBMAHA-BuzA3PA2.js b/assets/Color-KGDBMAHA-BuzA3PA2.js new file mode 100644 index 0000000..f51d6fd --- /dev/null +++ b/assets/Color-KGDBMAHA-BuzA3PA2.js @@ -0,0 +1 @@ +import{aq as $,a2 as ie,a0 as Me,w as Ce,ar as $e,as as Oe}from"./index-Dq2117Lx.js";import{R as h,r as m}from"./index-mfbfsM12.js";import{g as ue}from"./_commonjsHelpers-BosuxZz1.js";import{b as Ie,c as fe}from"./_getPrototype-DHgE_lbf.js";import{i as Ne}from"./hasIn-CZcrsiw3.js";import"./iframe-2aMlpebJ.js";import"../sb-preview/runtime.js";import"./index-CnQXyiSh.js";import"./polished.esm-B9vzHjoG.js";import"./index-uexYa9xf.js";import"./index-DrFu-skq.js";function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(te(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=V(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ne(b),!function(k,O){return O&&!F(k)}(b,c.current)&&w)){if(F(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(te(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},je=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},ze=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:je(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},He=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},Te=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ve(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var qe=typeof window<"u"?m.useLayoutEffect:m.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},re=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!re.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,re.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Xe=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(be,{hsva:i,onChange:d}),h.createElement(me,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},De={defaultColor:"000",toHsva:Re,fromHsva:function(e){return He({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},We=function(e){return h.createElement(Xe,I({},e,{colorModel:De}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(be,{hsva:i,onChange:d}),h.createElement(me,{hue:i.h,onChange:d}),h.createElement(Ke,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ze,fromHsva:B,equal:pe},Ae=function(e){return h.createElement(we,I({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Te,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,I({},e,{colorModel:Ge}))},Ye={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]};const H=Ye,ke={};for(const e of Object.keys(H))ke[H[e]]=e;const u={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"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,c;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(H)){const a=H[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,c[i]=s*255;return c};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let c=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const X=_e;function Qe(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{N[e]={},Object.defineProperty(N[e],"channels",{value:U[e].channels}),Object.defineProperty(N[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=st(o),N[e][r].raw=at(o)})});var lt=N;const _=ue(lt);var ct=Ie,it=function(){return ct.Date.now()},ut=it,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,oe=fe,yt=Ne,ae=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return ae;if(oe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=oe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?ae:+e}var Mt=Et,Ct=fe,W=ut,se=Mt,$t="Expected a function",Ot=Math.max,It=Math.min;function Nt(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=se(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Ot(se(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,z=o;return r=o=void 0,i=v,s=e.apply(z,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,z=v-i,ee=t-C;return f?It(ee,a-z):ee}function p(v){var C=v-c,z=v-i;return c===void 0||C>=t||C<0||f&&z>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function O(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return O.cancel=E,O.flush=k,O}var St=Nt;const Rt=ue(St);var jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),zt=$(ie)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ft=$.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ht=$(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$(Ce.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:We,rgb:Ue,hsl:Ae},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(Rt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(zt,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(Ft,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,O)=>h.createElement(ie,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Ht,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Oe(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},cn=Yt;export{Yt as ColorControl,cn as default}; diff --git a/assets/Color-RQJUDNI5-Dda8DJ4T.js b/assets/Color-RQJUDNI5-Dda8DJ4T.js deleted file mode 100644 index 853bcee..0000000 --- a/assets/Color-RQJUDNI5-Dda8DJ4T.js +++ /dev/null @@ -1 +0,0 @@ -import{n as M,i as ue,j as Me,F as Ce,M as $e,k as Ne}from"./index--E9T9ciX.js";import{R as h,r as b,g as fe}from"./index-BBkUAzwr.js";import{b as Oe,c as J,d as Ie}from"./hasIn-_03O251r.js";import"./iframe-D-7mEJVP.js";import"../sb-preview/runtime.js";import"./index-PqR-_bA4.js";import"./polished.esm-DHPXM_EY.js";import"./index-Bef7SKb3.js";import"./_basePickBy-Cbg7v0UG.js";import"./index-DrFu-skq.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={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]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={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"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{onClick:k}):null)},dn=tn;export{tn as ColorControl,dn as default}; diff --git a/assets/Colours-CjXKP4th.js b/assets/Colours-CjXKP4th.js deleted file mode 100644 index cb83099..0000000 --- a/assets/Colours-CjXKP4th.js +++ /dev/null @@ -1,26 +0,0 @@ -import{j as o}from"./jsx-runtime-DRTy3Uxn.js";import{useMDXComponents as c}from"./index-z5U8iC57.js";import"./index-BBkUAzwr.js";import{u as n}from"./styled-components.browser.esm-CoKU8m7y.js";import{g as l,a as m,c as d}from"./polished.esm-DHPXM_EY.js";import{R as h}from"./RedbackUiThemeProvider-Co3QCjBu.js";import{t as u}from"./index-V0zlLCsl.js";import{A as g}from"./Alert-70_fx8x3.js";import"./Button-CjAWrQ4F.js";import"./Label-lwa5kVBA.js";import"./LinkButton-zDjC6fZ_.js";import"./Table-Dh1fEt5Y.js";import"./TruncatedText-Dr-qNbjw.js";import"./smartrack-Ddg4N9PD.js";import"./Button.style-DhS0uTNt.js";const x=n.div` - background: ${e=>e.theme.colors.background}; - margin-bottom: ${e=>e.theme.spacing.xl}; -`,$=n.div` - display: grid; - grid-template-columns: repeat(12, 1fr); - grid-gap: ${e=>e.theme.spacing.md}; -`,f=n.div` - grid-column: ${e=>{switch(e.$color){case"background":return"span 12";case"primary":case"secondary":return"span 6";case"subtle":case"light":case"dark":return"span 4";default:return"span 3"}}}; - - > div { - background: ${e=>e.theme.colors[e.$color]}; - height: ${e=>{if(e.$color==="primary"||e.$color==="secondary")return"6rem";if(e.$color!=="background")return"4rem"}}; - /* eslint-enable indent */ - border: ${e=>{const t=l(e.theme.colors[e.$color])<.5;return e.theme.colors[e.$color]===e.theme.colors.background&&e.$color!=="background"?`1px solid ${t?m(.3,e.theme.colors[e.$color]):d(.2,e.theme.colors[e.$color])}`:"1px solid transparent"}}; - /* eslint-enable indent */ - } - - > span { - display: block; - text-align: right; - font-size: ${e=>e.theme.fontSizes.default}; - padding-top: ${e=>e.theme.spacing.xs}; - } -`,i=()=>{const e=localStorage.getItem("ui-theme"),t=u[e];return o.jsxs(h,{theme:t,children:[o.jsxs(g,{type:"info",children:[o.jsxs("p",{children:["You are currently viewing these docs with Redback's ",o.jsx("strong",{children:e})," theme."]}),o.jsx("p",{children:"You can select a different theme in the toolbar at the top of the page."})]}),o.jsx(x,{"data-testid":"Colour Docs",children:o.jsx($,{children:Object.entries(t.colors).map(([r,a])=>o.jsxs(f,{$color:r,children:[o.jsx("div",{}),o.jsxs("span",{children:[r," ",o.jsx("strong",{children:a})]})]},r))})})]})};i.__docgenInfo={description:"",methods:[],displayName:"ColourDemo"};function s(e){const t={h1:"h1",...c(),...e.components};return o.jsxs(o.Fragment,{children:[o.jsx(t.h1,{id:"colours",children:"Colours"}),` -`,o.jsx(i,{})]})}function A(e={}){const{wrapper:t}={...c(),...e.components};return t?o.jsx(t,{...e,children:o.jsx(s,{...e})}):s(e)}export{A as default}; diff --git a/assets/Colours-tpuDW0YF.js b/assets/Colours-tpuDW0YF.js new file mode 100644 index 0000000..ff409d9 --- /dev/null +++ b/assets/Colours-tpuDW0YF.js @@ -0,0 +1,26 @@ +import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{useMDXComponents as i}from"./index-EeWIkZEf.js";import"./index-mfbfsM12.js";import{u as c}from"./styled-components.browser.esm-DnUtS8XV.js";import{g as l,c as m,a as d}from"./polished.esm-B9vzHjoG.js";import{R as h}from"./RedbackUiThemeProvider-92619l97.js";import{t as u}from"./index-82mlukfQ.js";import{A as g}from"./Alert-CRCkG8cY.js";import"./Button-BtzO9Cgo.js";import"./Label-DTqbhiXx.js";import"./LinkButton-BrwIWpTO.js";import"./Table-CTfJIhs4.js";import"./TruncatedText-dI59SCl1.js";import"./_commonjsHelpers-BosuxZz1.js";import"./Button.style-BuRJTyuz.js";const p=c.div` + background: ${e=>e.theme.colors.background}; + margin-bottom: ${e=>e.theme.spacing.xl}; +`,x=c.div` + display: grid; + grid-template-columns: repeat(12, 1fr); + grid-gap: ${e=>e.theme.spacing.md}; +`,$=c.div` + grid-column: ${e=>{switch(e.$color){case"background":return"span 12";case"primary":case"secondary":return"span 6";case"subtle":case"light":case"dark":return"span 4";default:return"span 3"}}}; + + > div { + background: ${e=>e.theme.colors[e.$color]}; + height: ${e=>{if(e.$color==="primary"||e.$color==="secondary")return"6rem";if(e.$color!=="background")return"4rem"}}; + /* eslint-enable indent */ + border: ${e=>{const r=l(e.theme.colors[e.$color])<.5;return e.theme.colors[e.$color]===e.theme.colors.background&&e.$color!=="background"?`1px solid ${r?m(.3,e.theme.colors[e.$color]):d(.2,e.theme.colors[e.$color])}`:"1px solid transparent"}}; + /* eslint-enable indent */ + } + + > span { + display: block; + text-align: right; + font-size: ${e=>e.theme.fontSizes.default}; + padding-top: ${e=>e.theme.spacing.xs}; + } +`,n=()=>{const e=localStorage.getItem("ui-theme"),r=u[e];return o.jsxs(h,{theme:r,children:[o.jsxs(g,{type:"info",children:[o.jsxs("p",{children:["You are currently viewing these docs with Redback's ",o.jsx("strong",{children:e})," theme."]}),o.jsx("p",{children:"You can select a different theme in the toolbar at the top of the page."})]}),o.jsx(p,{"data-testid":"Colour Docs",children:o.jsx(x,{children:Object.entries(r.colors).map(([t,a])=>o.jsxs($,{$color:t,children:[o.jsx("div",{}),o.jsxs("span",{children:[t," ",o.jsx("strong",{children:a})]})]},t))})})]})};try{n.displayName="ColourDemo",n.__docgenInfo={description:"",displayName:"ColourDemo",props:{}}}catch{}function s(e){const r={h1:"h1",...i(),...e.components};return o.jsxs(o.Fragment,{children:[o.jsx(r.h1,{id:"colours",children:"Colours"}),` +`,o.jsx(n,{})]})}function z(e={}){const{wrapper:r}={...i(),...e.components};return r?o.jsx(r,{...e,children:o.jsx(s,{...e})}):s(e)}export{z as default}; diff --git a/assets/Contributing-Dhteop0x.js b/assets/Contributing-CAzDvqcq.js similarity index 96% rename from assets/Contributing-Dhteop0x.js rename to assets/Contributing-CAzDvqcq.js index 64fb2ae..5f15683 100644 --- a/assets/Contributing-Dhteop0x.js +++ b/assets/Contributing-CAzDvqcq.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DRTy3Uxn.js";import{useMDXComponents as o}from"./index-z5U8iC57.js";import"./index-BBkUAzwr.js";function r(s){const n={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",hr:"hr",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...o(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.h1,{id:"contributing-to-redback-ui",children:"Contributing to Redback UI"}),` +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{useMDXComponents as o}from"./index-EeWIkZEf.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";function r(s){const n={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",hr:"hr",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...o(),...s.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.h1,{id:"contributing-to-redback-ui",children:"Contributing to Redback UI"}),` `,e.jsxs(n.ol,{children:[` `,e.jsx(n.li,{children:e.jsx(n.a,{href:"#prerequisites",children:"Prerequisites"})}),` `,e.jsx(n.li,{children:e.jsx(n.a,{href:"#getting-started",children:"Getting started"})}),` @@ -177,4 +177,4 @@ import{j as e}from"./jsx-runtime-DRTy3Uxn.js";import{useMDXComponents as o}from" `,e.jsx(n.li,{children:e.jsx(n.a,{href:"https://www.w3.org/WAI/WCAG22/quickref/?versions=2.1#principle2",rel:"nofollow",children:"2.x: Operable"})}),` `]}),` `]}),` -`]})]})}function c(s={}){const{wrapper:n}={...o(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{c as default}; +`]})]})}function a(s={}){const{wrapper:n}={...o(),...s.components};return n?e.jsx(n,{...s,children:e.jsx(r,{...s})}):r(s)}export{a as default}; diff --git a/assets/DocsRenderer-K4EAMTCU-BKSqhu2m.js b/assets/DocsRenderer-K4EAMTCU-BKSqhu2m.js deleted file mode 100644 index 9ecfa02..0000000 --- a/assets/DocsRenderer-K4EAMTCU-BKSqhu2m.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./index-z5U8iC57.js","./index-BBkUAzwr.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as p}from"./iframe-D-7mEJVP.js";import{R as e,r as c}from"./index-BBkUAzwr.js";import{r as l,u}from"./react-18-B-OKcmzb.js";import{g as h,A as E,H as d,h as x}from"./index--E9T9ciX.js";import"../sb-preview/runtime.js";import"./index-PqR-_bA4.js";import"./polished.esm-DHPXM_EY.js";import"./hasIn-_03O251r.js";import"./index-Bef7SKb3.js";import"./_basePickBy-Cbg7v0UG.js";import"./index-DrFu-skq.js";var _={code:h,a:E,...d},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},O=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((m,i)=>{p(()=>import("./index-z5U8iC57.js"),__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:a})=>l(e.createElement(D,{showException:i,key:Math.random()},e.createElement(a,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>m())})},this.unmount=t=>{u(t)}}};export{O as DocsRenderer,_ as defaultComponents}; diff --git a/assets/DocsRenderer-PKQXORMH-D00HvvjW.js b/assets/DocsRenderer-PKQXORMH-D00HvvjW.js new file mode 100644 index 0000000..dec71c3 --- /dev/null +++ b/assets/DocsRenderer-PKQXORMH-D00HvvjW.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index-EeWIkZEf.js","./index-mfbfsM12.js","./_commonjsHelpers-BosuxZz1.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as p}from"./iframe-2aMlpebJ.js";import{R as e,r as c}from"./index-mfbfsM12.js";import{r as l,u}from"./react-18-B0zmDqTm.js";import{ae as h,af as E,ag as d,ah as x}from"./index-Dq2117Lx.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-BosuxZz1.js";import"./index-CnQXyiSh.js";import"./polished.esm-B9vzHjoG.js";import"./hasIn-CZcrsiw3.js";import"./_getPrototype-DHgE_lbf.js";import"./index-uexYa9xf.js";import"./index-DrFu-skq.js";var _={code:h,a:E,...d},f=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},T=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((m,a)=>{p(()=>import("./index-EeWIkZEf.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(({MDXProvider:i})=>l(e.createElement(f,{showException:a,key:Math.random()},e.createElement(i,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>m())})},this.unmount=t=>{u(t)}}};export{T as DocsRenderer,_ as defaultComponents}; diff --git a/assets/ImageSlider.stories-Cv8LasA6.js b/assets/ImageSlider.stories-BRfP_PPi.js similarity index 51% rename from assets/ImageSlider.stories-Cv8LasA6.js rename to assets/ImageSlider.stories-BRfP_PPi.js index c092788..c7b8d63 100644 --- a/assets/ImageSlider.stories-Cv8LasA6.js +++ b/assets/ImageSlider.stories-BRfP_PPi.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-DRTy3Uxn.js";import{r as l}from"./index-BBkUAzwr.js";import{u as P}from"./styled-components.browser.esm-CoKU8m7y.js";const R=P.div` +import{j as s}from"./jsx-runtime-Bxcv0yjW.js";import{r as n}from"./index-mfbfsM12.js";import{u as E}from"./styled-components.browser.esm-DnUtS8XV.js";import"./_commonjsHelpers-BosuxZz1.js";const P=E.div` .slider-container { position: relative; width: 100%; @@ -70,22 +70,22 @@ import{j as r}from"./jsx-runtime-DRTy3Uxn.js";import{r as l}from"./index-BBkUAzw * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),A=(...e)=>e.filter((t,s,o)=>!!t&&o.indexOf(t)===s).join(" ");/** + */const R=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),A=(...e)=>e.filter((t,r,o)=>!!t&&o.indexOf(t)===r).join(" ");/** * @license lucide-react v0.378.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */var T={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + */var V={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.378.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const q=l.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:c="",children:i,iconNode:a,...n},B)=>l.createElement("svg",{ref:B,...T,width:t,height:t,stroke:e,strokeWidth:o?Number(s)*24/Number(t):s,className:A("lucide",c),...n},[...a.map(([D,E])=>l.createElement(D,E)),...Array.isArray(i)?i:[i]]));/** + */const q=n.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:c="",children:i,iconNode:a,...l},L)=>n.createElement("svg",{ref:L,...V,width:t,height:t,stroke:e,strokeWidth:o?Number(r)*24/Number(t):r,className:A("lucide",c),...l},[...a.map(([B,D])=>n.createElement(B,D)),...Array.isArray(i)?i:[i]]));/** * @license lucide-react v0.378.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const u=(e,t)=>{const s=l.forwardRef(({className:o,...c},i)=>l.createElement(q,{ref:i,iconNode:t,className:A(`lucide-${_(e)}`,o),...c}));return s.displayName=`${e}`,s};/** + */const u=(e,t)=>{const r=n.forwardRef(({className:o,...c},i)=>n.createElement(q,{ref:i,iconNode:t,className:A(`lucide-${R(e)}`,o),...c}));return r.displayName=`${e}`,r};/** * @license lucide-react v0.378.0 - ISC * * This source code is licensed under the ISC license. @@ -105,32 +105,32 @@ import{j as r}from"./jsx-runtime-DRTy3Uxn.js";import{r as l}from"./index-BBkUAzw * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const V=u("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),L=({images:e,size:t})=>{const[s,o]=l.useState(0),c=()=>{const a=(s-1+e.length)%e.length;o(a)},i=()=>{const a=(s+1)%e.length;o(a)};return r.jsx(R,{"data-testid":"ImageSlider",size:t,children:r.jsxs("div",{className:"slider-container",children:[r.jsx("div",{className:"turn-horizontal",style:{width:`${100*e.length}%`,transform:`translateX(-${s*(100/e.length)}%)`},children:e.map((a,n)=>r.jsx("img",{src:a,alt:`Slide ${n}`,className:"slider-image",style:{width:`${100/e.length}%`}},n))}),r.jsx("button",{onClick:c,className:"slider-button",style:{left:0},children:r.jsx(F,{})}),r.jsx("button",{onClick:i,className:"slider-button",style:{right:0},children:r.jsx(M,{})}),r.jsx("div",{style:{position:"absolute",bottom:"1.5rem",left:"50%",translate:"-50%",display:"flex",gap:".25rem"},children:e.map((a,n)=>r.jsxs("button",{className:"slider-index-button",onClick:()=>o(n),children:[" ",n===s?r.jsx(O,{}):r.jsx(V,{})," "]},n))})]})})};L.__docgenInfo={description:"",methods:[],displayName:"ImageSlider",props:{images:{required:!0,tsType:{name:"Array",elements:[{name:"string"}],raw:"string[]"},description:""},size:{required:!0,tsType:{name:"union",raw:"'small' | 'large'",elements:[{name:"literal",value:"'small'"},{name:"literal",value:"'large'"}]},description:""}}};const h=["https://images.pexels.com/photos/248547/pexels-photo-248547.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","https://images.pexels.com/photos/12838/pexels-photo-12838.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","https://images.pexels.com/photos/161172/cycling-bike-trail-sport-161172.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"],X={title:"Components/ImageSlider",component:L},x={},b={parameters:{controls:{disable:!0},actions:{disable:!0}}},d={args:{...x,images:h,size:"large"},tags:["excludeFromSidebar"]},m={args:{...x,images:h,size:"large"},...b},p={args:{...x,images:h,size:"large"},...b},g={args:{...x,images:h,size:"small"},...b};var f,w,y;d.parameters={...d.parameters,docs:{...(f=d.parameters)==null?void 0:f.docs,source:{originalSource:`{ + */const T=u("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),b=({images:e,size:t})=>{const[r,o]=n.useState(0),c=()=>{const a=(r-1+e.length)%e.length;o(a)},i=()=>{const a=(r+1)%e.length;o(a)};return s.jsx(P,{"data-testid":"ImageSlider",size:t,children:s.jsxs("div",{className:"slider-container",children:[s.jsx("div",{className:"turn-horizontal",style:{width:`${100*e.length}%`,transform:`translateX(-${r*(100/e.length)}%)`},children:e.map((a,l)=>s.jsx("img",{src:a,alt:`Slide ${l}`,className:"slider-image",style:{width:`${100/e.length}%`}},l))}),s.jsx("button",{onClick:c,className:"slider-button",style:{left:0},children:s.jsx(F,{})}),s.jsx("button",{onClick:i,className:"slider-button",style:{right:0},children:s.jsx(M,{})}),s.jsx("div",{style:{position:"absolute",bottom:"1.5rem",left:"50%",translate:"-50%",display:"flex",gap:".25rem"},children:e.map((a,l)=>s.jsxs("button",{className:"slider-index-button",onClick:()=>o(l),children:[" ",l===r?s.jsx(O,{}):s.jsx(T,{})," "]},l))})]})})};try{b.displayName="ImageSlider",b.__docgenInfo={description:"",displayName:"ImageSlider",props:{images:{defaultValue:null,description:"",name:"images",required:!0,type:{name:"string[]"}},size:{defaultValue:null,description:"",name:"size",required:!0,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'}]}}}}}catch{}const h=["https://images.pexels.com/photos/248547/pexels-photo-248547.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","https://images.pexels.com/photos/12838/pexels-photo-12838.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1","https://images.pexels.com/photos/161172/cycling-bike-trail-sport-161172.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"],Z={title:"Components/ImageSlider",component:b},x={},f={parameters:{controls:{disable:!0},actions:{disable:!0}}},d={args:{...x,images:h,size:"large"},tags:["excludeFromSidebar"]},m={args:{...x,images:h,size:"large"},...f},p={args:{...x,images:h,size:"large"},...f},g={args:{...x,images:h,size:"small"},...f};var y,w,k;d.parameters={...d.parameters,docs:{...(y=d.parameters)==null?void 0:y.docs,source:{originalSource:`{ args: { ...defaultProps, images: images, size: 'large' }, tags: ['excludeFromSidebar'] -}`,...(y=(w=d.parameters)==null?void 0:w.docs)==null?void 0:y.source}}};var k,v,j;m.parameters={...m.parameters,docs:{...(k=m.parameters)==null?void 0:k.docs,source:{originalSource:`{ +}`,...(k=(w=d.parameters)==null?void 0:w.docs)==null?void 0:k.source}}};var v,S,j;m.parameters={...m.parameters,docs:{...(v=m.parameters)==null?void 0:v.docs,source:{originalSource:`{ args: { ...defaultProps, images: images, size: 'large' }, ...disableControls -}`,...(j=(v=m.parameters)==null?void 0:v.docs)==null?void 0:j.source}}};var S,z,C;p.parameters={...p.parameters,docs:{...(S=p.parameters)==null?void 0:S.docs,source:{originalSource:`{ +}`,...(j=(S=m.parameters)==null?void 0:S.docs)==null?void 0:j.source}}};var z,C,I;p.parameters={...p.parameters,docs:{...(z=p.parameters)==null?void 0:z.docs,source:{originalSource:`{ args: { ...defaultProps, images: images, size: 'large' }, ...disableControls -}`,...(C=(z=p.parameters)==null?void 0:z.docs)==null?void 0:C.source}}};var I,$,N;g.parameters={...g.parameters,docs:{...(I=g.parameters)==null?void 0:I.docs,source:{originalSource:`{ +}`,...(I=(C=p.parameters)==null?void 0:C.docs)==null?void 0:I.source}}};var $,N,_;g.parameters={...g.parameters,docs:{...($=g.parameters)==null?void 0:$.docs,source:{originalSource:`{ args: { ...defaultProps, images: images, size: 'small' }, ...disableControls -}`,...(N=($=g.parameters)==null?void 0:$.docs)==null?void 0:N.source}}};const Z=["Demo","Default","Large","Small"];export{m as Default,d as Demo,p as Large,g as Small,Z as __namedExportsOrder,X as default}; +}`,...(_=(N=g.parameters)==null?void 0:N.docs)==null?void 0:_.source}}};const G=["Demo","Default","Large","Small"];export{m as Default,d as Demo,p as Large,g as Small,G as __namedExportsOrder,Z as default}; diff --git a/assets/Label-DTqbhiXx.js b/assets/Label-DTqbhiXx.js new file mode 100644 index 0000000..82d3576 --- /dev/null +++ b/assets/Label-DTqbhiXx.js @@ -0,0 +1,10 @@ +import{j as r}from"./jsx-runtime-Bxcv0yjW.js";import{u as n}from"./styled-components.browser.esm-DnUtS8XV.js";import{r as o}from"./polished.esm-B9vzHjoG.js";const s=n.span` + display: inline-block; + background: ${e=>e.theme.colors[e.type]}; + color: ${e=>o(e.theme.colors[e.type])}; + font-size: ${e=>e.theme.fontSizes.sm}; + padding: ${e=>e.theme.spacing.xs} ${e=>e.theme.spacing.sm}; + line-height: 1; + text-transform: uppercase; + font-weight: ${e=>e.theme.fontWeights.semibold}; +`,t=({type:e,text:a})=>r.jsx(s,{"data-testid":"Label",type:e,children:a});try{t.displayName="Label",t.__docgenInfo={description:"",displayName:"Label",props:{type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"success"'},{value:'"info"'},{value:'"warning"'},{value:'"error"'}]}},text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}}}}}catch{}export{t as L}; diff --git a/assets/Label-lwa5kVBA.js b/assets/Label-lwa5kVBA.js deleted file mode 100644 index 777fda1..0000000 --- a/assets/Label-lwa5kVBA.js +++ /dev/null @@ -1,10 +0,0 @@ -import{j as r}from"./jsx-runtime-DRTy3Uxn.js";import{u as a}from"./styled-components.browser.esm-CoKU8m7y.js";import{r as n}from"./polished.esm-DHPXM_EY.js";const s=a.span` - display: inline-block; - background: ${e=>e.theme.colors[e.type]}; - color: ${e=>n(e.theme.colors[e.type])}; - font-size: ${e=>e.theme.fontSizes.sm}; - padding: ${e=>e.theme.spacing.xs} ${e=>e.theme.spacing.sm}; - line-height: 1; - text-transform: uppercase; - font-weight: ${e=>e.theme.fontWeights.semibold}; -`,i=({type:e,text:t})=>r.jsx(s,{"data-testid":"Label",type:e,children:t});i.__docgenInfo={description:"",methods:[],displayName:"Label",props:{type:{required:!0,tsType:{name:"union",raw:"'info' | 'warning' | 'success' | 'error'",elements:[{name:"literal",value:"'info'"},{name:"literal",value:"'warning'"},{name:"literal",value:"'success'"},{name:"literal",value:"'error'"}]},description:""},text:{required:!0,tsType:{name:"string"},description:""}}};export{i as L}; diff --git a/assets/Label.stories-B5gZqg60.js b/assets/Label.stories-B5gZqg60.js deleted file mode 100644 index 5caf90f..0000000 --- a/assets/Label.stories-B5gZqg60.js +++ /dev/null @@ -1,31 +0,0 @@ -import{L}from"./Label-lwa5kVBA.js";import"./jsx-runtime-DRTy3Uxn.js";import"./index-BBkUAzwr.js";import"./styled-components.browser.esm-CoKU8m7y.js";import"./polished.esm-DHPXM_EY.js";const W={title:"Components/Label",component:L},r={type:"info",text:"Label"},n={parameters:{controls:{disable:!0},actions:{disable:!0}}},e={args:{...r,type:"info"},tags:["excludeFromSidebar"]},s={args:{...r,type:"info"},...n},o={args:{...r,type:"warning"},...n},a={args:{...r,type:"success"},...n},t={args:{...r,type:"error"},...n};var c,p,d;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{ - args: { - ...defaultProps, - type: 'info' - }, - tags: ['excludeFromSidebar'] -}`,...(d=(p=e.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};var i,m,l;s.parameters={...s.parameters,docs:{...(i=s.parameters)==null?void 0:i.docs,source:{originalSource:`{ - args: { - ...defaultProps, - type: 'info' - }, - ...disableControls -}`,...(l=(m=s.parameters)==null?void 0:m.docs)==null?void 0:l.source}}};var u,g,f;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ - args: { - ...defaultProps, - type: 'warning' - }, - ...disableControls -}`,...(f=(g=o.parameters)==null?void 0:g.docs)==null?void 0:f.source}}};var b,y,S;a.parameters={...a.parameters,docs:{...(b=a.parameters)==null?void 0:b.docs,source:{originalSource:`{ - args: { - ...defaultProps, - type: 'success' - }, - ...disableControls -}`,...(S=(y=a.parameters)==null?void 0:y.docs)==null?void 0:S.source}}};var C,P,x;t.parameters={...t.parameters,docs:{...(C=t.parameters)==null?void 0:C.docs,source:{originalSource:`{ - args: { - ...defaultProps, - type: 'error' - }, - ...disableControls -}`,...(x=(P=t.parameters)==null?void 0:P.docs)==null?void 0:x.source}}};const _=["Demo","Info","Warning","Success","Error"];export{e as Demo,t as Error,s as Info,a as Success,o as Warning,_ as __namedExportsOrder,W as default}; diff --git a/assets/Label.stories-DOTqPz82.js b/assets/Label.stories-DOTqPz82.js new file mode 100644 index 0000000..3754dee --- /dev/null +++ b/assets/Label.stories-DOTqPz82.js @@ -0,0 +1,31 @@ +import{L}from"./Label-DTqbhiXx.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./styled-components.browser.esm-DnUtS8XV.js";import"./polished.esm-B9vzHjoG.js";const _={title:"Components/Label",component:L},r={type:"info",text:"Label"},n={parameters:{controls:{disable:!0},actions:{disable:!0}}},e={args:{...r,type:"info"},tags:["excludeFromSidebar"]},s={args:{...r,type:"info"},...n},o={args:{...r,type:"warning"},...n},a={args:{...r,type:"success"},...n},t={args:{...r,type:"error"},...n};var c,p,i;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{ + args: { + ...defaultProps, + type: 'info' + }, + tags: ['excludeFromSidebar'] +}`,...(i=(p=e.parameters)==null?void 0:p.docs)==null?void 0:i.source}}};var m,d,l;s.parameters={...s.parameters,docs:{...(m=s.parameters)==null?void 0:m.docs,source:{originalSource:`{ + args: { + ...defaultProps, + type: 'info' + }, + ...disableControls +}`,...(l=(d=s.parameters)==null?void 0:d.docs)==null?void 0:l.source}}};var u,g,f;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ + args: { + ...defaultProps, + type: 'warning' + }, + ...disableControls +}`,...(f=(g=o.parameters)==null?void 0:g.docs)==null?void 0:f.source}}};var b,y,S;a.parameters={...a.parameters,docs:{...(b=a.parameters)==null?void 0:b.docs,source:{originalSource:`{ + args: { + ...defaultProps, + type: 'success' + }, + ...disableControls +}`,...(S=(y=a.parameters)==null?void 0:y.docs)==null?void 0:S.source}}};var C,P,x;t.parameters={...t.parameters,docs:{...(C=t.parameters)==null?void 0:C.docs,source:{originalSource:`{ + args: { + ...defaultProps, + type: 'error' + }, + ...disableControls +}`,...(x=(P=t.parameters)==null?void 0:P.docs)==null?void 0:x.source}}};const O=["Demo","Info","Warning","Success","Error"];export{e as Demo,t as Error,s as Info,a as Success,o as Warning,O as __namedExportsOrder,_ as default}; diff --git a/assets/LinkButton-BrwIWpTO.js b/assets/LinkButton-BrwIWpTO.js new file mode 100644 index 0000000..0d24351 --- /dev/null +++ b/assets/LinkButton-BrwIWpTO.js @@ -0,0 +1 @@ +import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{u as o}from"./styled-components.browser.esm-DnUtS8XV.js";import{S as s}from"./Button.style-BuRJTyuz.js";const d=o(s).attrs({as:"a"})``,a=({label:e,color:t="primary",href:r="#",target:l=void 0,appearance:n="solid",size:u="md"})=>i.jsx(d,{"data-testid":"LinkButton",href:r,target:l,$color:t,$appearance:n,$size:u,children:e});try{a.displayName="LinkButton",a.__docgenInfo={description:"",displayName:"LinkButton",props:{label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},color:{defaultValue:{value:"primary"},description:"",name:"color",required:!1,type:{name:"string | number | symbol"}},href:{defaultValue:{value:"#"},description:"",name:"href",required:!1,type:{name:"string"}},appearance:{defaultValue:{value:"solid"},description:"",name:"appearance",required:!1,type:{name:"enum",value:[{value:'"solid"'},{value:'"outline"'}]}},size:{defaultValue:{value:"md"},description:"",name:"size",required:!1,type:{name:"enum",value:[{value:'"sm"'},{value:'"md"'},{value:'"lg"'}]}},target:{defaultValue:{value:"undefined"},description:"",name:"target",required:!1,type:{name:"enum",value:[{value:'"_blank"'}]}}}}}catch{}export{a as L}; diff --git a/assets/LinkButton-zDjC6fZ_.js b/assets/LinkButton-zDjC6fZ_.js deleted file mode 100644 index 4468041..0000000 --- a/assets/LinkButton-zDjC6fZ_.js +++ /dev/null @@ -1 +0,0 @@ -import{j as n}from"./jsx-runtime-DRTy3Uxn.js";import{u as s}from"./styled-components.browser.esm-CoKU8m7y.js";import{S as u}from"./Button.style-DhS0uTNt.js";const o=s(u).attrs({as:"a"})``,d=({label:e,color:a="primary",href:t="#",target:l=void 0,appearance:r="solid",size:i="md"})=>n.jsx(o,{"data-testid":"LinkButton",href:t,target:l,$color:a,$appearance:r,$size:i,children:e});d.__docgenInfo={description:"",methods:[],displayName:"LinkButton",props:{label:{required:!0,tsType:{name:"string"},description:""},color:{required:!1,tsType:{name:"unknown"},description:"",defaultValue:{value:"'primary'",computed:!1}},href:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"'#'",computed:!1}},appearance:{required:!1,tsType:{name:"union",raw:"'solid' | 'outline'",elements:[{name:"literal",value:"'solid'"},{name:"literal",value:"'outline'"}]},description:"",defaultValue:{value:"'solid'",computed:!1}},size:{required:!1,tsType:{name:"union",raw:"'sm' | 'md' | 'lg'",elements:[{name:"literal",value:"'sm'"},{name:"literal",value:"'md'"},{name:"literal",value:"'lg'"}]},description:"",defaultValue:{value:"'md'",computed:!1}},target:{required:!1,tsType:{name:"literal",value:"'_blank'"},description:"",defaultValue:{value:"undefined",computed:!0}}}};export{d as L}; diff --git a/assets/LinkButton.stories-DD1YOaXZ.js b/assets/LinkButton.stories-DD1YOaXZ.js deleted file mode 100644 index aa00404..0000000 --- a/assets/LinkButton.stories-DD1YOaXZ.js +++ /dev/null @@ -1,11 +0,0 @@ -import{L as l}from"./LinkButton-zDjC6fZ_.js";import{t as m}from"./types-CBrWhbf3.js";import"./jsx-runtime-DRTy3Uxn.js";import"./index-BBkUAzwr.js";import"./styled-components.browser.esm-CoKU8m7y.js";import"./Button.style-DhS0uTNt.js";import"./polished.esm-DHPXM_EY.js";import"./index-V0zlLCsl.js";import"./smartrack-Ddg4N9PD.js";import"./hasIn-_03O251r.js";import"./_basePickBy-Cbg7v0UG.js";import"./isPlainObject-jh_HCFe2.js";const C={title:"Components/LinkButton",component:l,parameters:{componentSubtitle:"Like a Button, but rendered as an .",docs:{description:{component:"All props and variations of Button are also available for LinkButton."}}},argTypes:{label:{disable:!0},color:{control:"select",options:Object.keys(m)},target:{control:"radio",options:["_blank",void 0]}}},p={parameters:{controls:{disable:!0},actions:{disable:!0}}},o={args:{label:"LinkButton"},tags:["excludeFromSidebar"]},t={args:{label:"Default LinkButton"},...p};var e,r,a;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{ - args: { - label: 'LinkButton' - }, - tags: ['excludeFromSidebar'] -}`,...(a=(r=o.parameters)==null?void 0:r.docs)==null?void 0:a.source}}};var s,n,i;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ - args: { - label: 'Default LinkButton' - }, - ...disableControls -}`,...(i=(n=t.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};const v=["Demo","Default"];export{t as Default,o as Demo,v as __namedExportsOrder,C as default}; diff --git a/assets/LinkButton.stories-OzUq-ZxJ.js b/assets/LinkButton.stories-OzUq-ZxJ.js new file mode 100644 index 0000000..5674993 --- /dev/null +++ b/assets/LinkButton.stories-OzUq-ZxJ.js @@ -0,0 +1,11 @@ +import{L as l}from"./LinkButton-BrwIWpTO.js";import{t as m}from"./types-CApYt8L9.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./styled-components.browser.esm-DnUtS8XV.js";import"./Button.style-BuRJTyuz.js";import"./polished.esm-B9vzHjoG.js";import"./index-82mlukfQ.js";import"./hasIn-CZcrsiw3.js";import"./_getPrototype-DHgE_lbf.js";import"./isPlainObject-BhR8C-EB.js";const C={title:"Components/LinkButton",component:l,parameters:{componentSubtitle:"Like a Button, but rendered as an .",docs:{description:{component:"All props and variations of Button are also available for LinkButton."}}},argTypes:{label:{disable:!0},color:{control:"select",options:Object.keys(m)},target:{control:"radio",options:["_blank",void 0]}}},p={parameters:{controls:{disable:!0},actions:{disable:!0}}},o={args:{label:"LinkButton"},tags:["excludeFromSidebar"]},t={args:{label:"Default LinkButton"},...p};var e,r,a;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`{ + args: { + label: 'LinkButton' + }, + tags: ['excludeFromSidebar'] +}`,...(a=(r=o.parameters)==null?void 0:r.docs)==null?void 0:a.source}}};var s,n,i;t.parameters={...t.parameters,docs:{...(s=t.parameters)==null?void 0:s.docs,source:{originalSource:`{ + args: { + label: 'Default LinkButton' + }, + ...disableControls +}`,...(i=(n=t.parameters)==null?void 0:n.docs)==null?void 0:i.source}}};const v=["Demo","Default"];export{t as Default,o as Demo,v as __namedExportsOrder,C as default}; diff --git a/assets/RedbackUiThemeProvider-92619l97.js b/assets/RedbackUiThemeProvider-92619l97.js new file mode 100644 index 0000000..124fd44 --- /dev/null +++ b/assets/RedbackUiThemeProvider-92619l97.js @@ -0,0 +1,47 @@ +import{j as t}from"./jsx-runtime-Bxcv0yjW.js";import{u as n,d as i,t as d}from"./styled-components.browser.esm-DnUtS8XV.js";import{r as l,d as s}from"./polished.esm-B9vzHjoG.js";const h=n.div` + width: 100%; + height: 100%; + background: ${e=>e.theme.colors.background}; + color: ${e=>l(e.theme.colors.background)}; +`,o=i` + @import 'https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap'; + + body { + margin: 0; + padding: 0; + font-family: ${e=>e.theme.fontFamily.body}; + font-size: ${e=>e.theme.fontSizes.default}; + font-weight: ${e=>e.theme.fontWeights.light}; + line-height: 1.4; + } + + h1, h2, h3, h4, h5, h6 { + line-height: 1.2; + + &:first-child { + margin-top: 0; + } + } + + h1 { + font-size: ${e=>e.theme.fontSizes.xl}; + } + + h2 { + font-size: ${e=>e.theme.fontSizes.lg}; + } + + h3 { + font-size: ${e=>e.theme.fontSizes.md}; + } + + strong { + font-weight: ${e=>e.theme.fontWeights.semibold}; + } + + a { + color: ${e=>e.theme.colors.dark}; + text-decoration: underline; + text-decoration-color: ${e=>s(e.theme.colors.subtle,.65)}; + } +`;try{o.displayName="GlobalStyle",o.__docgenInfo={description:"",displayName:"GlobalStyle",props:{as:{defaultValue:null,description:'Dynamically adjust the rendered component or HTML tag, e.g.\n```\nconst StyledButton = styled.button``\n\n\n I\'m an anchor now\n\n```',name:"as",required:!1,type:{name:"KnownTarget"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"KnownTarget"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme"}}}}}catch{}const a=({theme:e,children:r})=>t.jsxs(d,{theme:e,children:[t.jsx(o,{}),t.jsx(h,{id:"redback-ui","data-testid":"redback-ui.wrapper",children:r})]});try{a.displayName="RedbackUiThemeProvider",a.__docgenInfo={description:"",displayName:"RedbackUiThemeProvider",props:{theme:{defaultValue:null,description:"",name:"theme",required:!0,type:{name:"any"}}}}}catch{}export{a as R}; diff --git a/assets/RedbackUiThemeProvider-Co3QCjBu.js b/assets/RedbackUiThemeProvider-Co3QCjBu.js deleted file mode 100644 index 213b2a2..0000000 --- a/assets/RedbackUiThemeProvider-Co3QCjBu.js +++ /dev/null @@ -1,47 +0,0 @@ -import{j as t}from"./jsx-runtime-DRTy3Uxn.js";import{u as i,d as r,t as s}from"./styled-components.browser.esm-CoKU8m7y.js";import{r as a,d}from"./polished.esm-DHPXM_EY.js";const h=i.div` - width: 100%; - height: 100%; - background: ${e=>e.theme.colors.background}; - color: ${e=>a(e.theme.colors.background)}; -`,n=r` - @import 'https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&display=swap'; - - body { - margin: 0; - padding: 0; - font-family: ${e=>e.theme.fontFamily.body}; - font-size: ${e=>e.theme.fontSizes.default}; - font-weight: ${e=>e.theme.fontWeights.light}; - line-height: 1.4; - } - - h1, h2, h3, h4, h5, h6 { - line-height: 1.2; - - &:first-child { - margin-top: 0; - } - } - - h1 { - font-size: ${e=>e.theme.fontSizes.xl}; - } - - h2 { - font-size: ${e=>e.theme.fontSizes.lg}; - } - - h3 { - font-size: ${e=>e.theme.fontSizes.md}; - } - - strong { - font-weight: ${e=>e.theme.fontWeights.semibold}; - } - - a { - color: ${e=>e.theme.colors.dark}; - text-decoration: underline; - text-decoration-color: ${e=>d(e.theme.colors.subtle,.65)}; - } -`,m=({theme:e,children:o})=>t.jsxs(s,{theme:e,children:[t.jsx(n,{}),t.jsx(h,{id:"redback-ui","data-testid":"redback-ui.wrapper",children:o})]});m.__docgenInfo={description:"",methods:[],displayName:"RedbackUiThemeProvider",props:{theme:{required:!0,tsType:{name:"themes.default"},description:""},children:{required:!0,tsType:{name:"ReactNode"},description:""}}};export{m as R}; diff --git a/assets/Table-CTfJIhs4.js b/assets/Table-CTfJIhs4.js new file mode 100644 index 0000000..7da2029 --- /dev/null +++ b/assets/Table-CTfJIhs4.js @@ -0,0 +1,18 @@ +import{j as o}from"./jsx-runtime-Bxcv0yjW.js";import{u as a}from"./styled-components.browser.esm-DnUtS8XV.js";import{g as s,c,b as t}from"./polished.esm-B9vzHjoG.js";const i=a.table` + width: 100%; + background: ${e=>s(e.theme.colors.background)<.5?c(.1,e.theme.colors.background):"white"}; + box-shadow: 0 0 0.5rem 0 ${e=>t(.25,e.theme.colors.subtle)}; + border-collapse: collapse; + margin-bottom: ${e=>e.theme.spacing.lg}; + + th, td { + border-bottom: 1px solid ${e=>t(.75,e.theme.colors.subtle)}; + padding: ${e=>e.theme.spacing.sm}; + } + + th { + &[scope="row"] { + text-align: left; + } + } +`,r=({children:e})=>o.jsx(i,{"data-testid":"Table",children:e});try{r.displayName="Table",r.__docgenInfo={description:"",displayName:"Table",props:{}}}catch{}export{r as T}; diff --git a/assets/Table-Dh1fEt5Y.js b/assets/Table-Dh1fEt5Y.js deleted file mode 100644 index ecdeaa9..0000000 --- a/assets/Table-Dh1fEt5Y.js +++ /dev/null @@ -1,18 +0,0 @@ -import{j as o}from"./jsx-runtime-DRTy3Uxn.js";import{u as r}from"./styled-components.browser.esm-CoKU8m7y.js";import{g as a,a as s,b as t}from"./polished.esm-DHPXM_EY.js";const i=r.table` - width: 100%; - background: ${e=>a(e.theme.colors.background)<.5?s(.1,e.theme.colors.background):"white"}; - box-shadow: 0 0 0.5rem 0 ${e=>t(.25,e.theme.colors.subtle)}; - border-collapse: collapse; - margin-bottom: ${e=>e.theme.spacing.lg}; - - th, td { - border-bottom: 1px solid ${e=>t(.75,e.theme.colors.subtle)}; - padding: ${e=>e.theme.spacing.sm}; - } - - th { - &[scope="row"] { - text-align: left; - } - } -`,n=({children:e})=>o.jsx(i,{"data-testid":"Table",children:e});n.__docgenInfo={description:"",methods:[],displayName:"Table"};export{n as T}; diff --git a/assets/Table.stories-BEmhA32M.js b/assets/Table.stories-BEmhA32M.js new file mode 100644 index 0000000..cd18ce1 --- /dev/null +++ b/assets/Table.stories-BEmhA32M.js @@ -0,0 +1,11 @@ +import{T as p}from"./Table-CTfJIhs4.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./styled-components.browser.esm-DnUtS8XV.js";import"./polished.esm-B9vzHjoG.js";const x={title:"Components/Table",component:p},c={},d={parameters:{controls:{disable:!0},actions:{disable:!0}}},e={args:{...c},tags:["excludeFromSidebar"]},r={args:{...c},...d};var o,s,a;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ + args: { + ...defaultProps + }, + tags: ['excludeFromSidebar'] +}`,...(a=(s=e.parameters)==null?void 0:s.docs)==null?void 0:a.source}}};var t,n,m;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ + args: { + ...defaultProps + }, + ...disableControls +}`,...(m=(n=r.parameters)==null?void 0:n.docs)==null?void 0:m.source}}};const D=["Demo","Default"];export{r as Default,e as Demo,D as __namedExportsOrder,x as default}; diff --git a/assets/Table.stories-BV1ddZ96.js b/assets/Table.stories-BV1ddZ96.js deleted file mode 100644 index 68f54da..0000000 --- a/assets/Table.stories-BV1ddZ96.js +++ /dev/null @@ -1,11 +0,0 @@ -import{T as p}from"./Table-Dh1fEt5Y.js";import"./jsx-runtime-DRTy3Uxn.js";import"./index-BBkUAzwr.js";import"./styled-components.browser.esm-CoKU8m7y.js";import"./polished.esm-DHPXM_EY.js";const f={title:"Components/Table",component:p},m={},d={parameters:{controls:{disable:!0},actions:{disable:!0}}},e={args:{...m},tags:["excludeFromSidebar"]},r={args:{...m},...d};var o,s,a;e.parameters={...e.parameters,docs:{...(o=e.parameters)==null?void 0:o.docs,source:{originalSource:`{ - args: { - ...defaultProps - }, - tags: ['excludeFromSidebar'] -}`,...(a=(s=e.parameters)==null?void 0:s.docs)==null?void 0:a.source}}};var t,n,c;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:`{ - args: { - ...defaultProps - }, - ...disableControls -}`,...(c=(n=r.parameters)==null?void 0:n.docs)==null?void 0:c.source}}};const x=["Demo","Default"];export{r as Default,e as Demo,x as __namedExportsOrder,f as default}; diff --git a/assets/TruncatedText-Dr-qNbjw.js b/assets/TruncatedText-Dr-qNbjw.js deleted file mode 100644 index b97b877..0000000 --- a/assets/TruncatedText-Dr-qNbjw.js +++ /dev/null @@ -1,7 +0,0 @@ -import{j as r}from"./jsx-runtime-DRTy3Uxn.js";import{u as i}from"./styled-components.browser.esm-CoKU8m7y.js";const n=i.span` - display: -webkit-box; // required for line clamping to work - -webkit-box-orient: vertical; // required for line clamping to work - -webkit-line-clamp: ${e=>e.lines}; - overflow: hidden; - text-overflow: ellipsis; -`,o=({lines:e,text:t})=>r.jsx(n,{"data-testid":"TruncatedText",lines:e,children:t});o.__docgenInfo={description:"",methods:[],displayName:"TruncatedText",props:{text:{required:!0,tsType:{name:"string"},description:""},lines:{required:!0,tsType:{name:"number"},description:""}}};export{o as T}; diff --git a/assets/TruncatedText-dI59SCl1.js b/assets/TruncatedText-dI59SCl1.js new file mode 100644 index 0000000..09c4bfe --- /dev/null +++ b/assets/TruncatedText-dI59SCl1.js @@ -0,0 +1,7 @@ +import{j as i}from"./jsx-runtime-Bxcv0yjW.js";import{u as n}from"./styled-components.browser.esm-DnUtS8XV.js";const a=n.span` + display: -webkit-box; // required for line clamping to work + -webkit-box-orient: vertical; // required for line clamping to work + -webkit-line-clamp: ${e=>e.lines}; + overflow: hidden; + text-overflow: ellipsis; +`,t=({lines:e,text:r})=>i.jsx(a,{"data-testid":"TruncatedText",lines:e,children:r});try{t.displayName="TruncatedText",t.__docgenInfo={description:"",displayName:"TruncatedText",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},lines:{defaultValue:null,description:"",name:"lines",required:!0,type:{name:"number"}}}}}catch{}export{t as T}; diff --git a/assets/TruncatedText.stories-Cr_UrDA_.js b/assets/TruncatedText.stories-Cr_UrDA_.js deleted file mode 100644 index f17bddc..0000000 --- a/assets/TruncatedText.stories-Cr_UrDA_.js +++ /dev/null @@ -1,11 +0,0 @@ -import{T as m}from"./TruncatedText-Dr-qNbjw.js";import"./jsx-runtime-DRTy3Uxn.js";import"./index-BBkUAzwr.js";import"./styled-components.browser.esm-CoKU8m7y.js";const b={title:"Components/TruncatedText",component:m},i={text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis faucibus mattis. Sed eget magna urna. Quisque posuere vehicula pharetra. Pellentesque bibendum condimentum lacus, at elementum justo ultrices ut. Ut at ipsum vel metus condimentum venenatis. Ut varius nisi in massa porttitor mollis. Pellentesque ac auctor quam.",lines:2},c={parameters:{controls:{disable:!0},actions:{disable:!0}}},e={args:{...i},tags:["excludeFromSidebar"]},t={args:{...i},...c};var s,a,r;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{ - args: { - ...defaultProps - }, - tags: ['excludeFromSidebar'] -}`,...(r=(a=e.parameters)==null?void 0:a.docs)==null?void 0:r.source}}};var o,n,u;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ - args: { - ...defaultProps - }, - ...disableControls -}`,...(u=(n=t.parameters)==null?void 0:n.docs)==null?void 0:u.source}}};const f=["Demo","Default"];export{t as Default,e as Demo,f as __namedExportsOrder,b as default}; diff --git a/assets/TruncatedText.stories-DlvDhK2H.js b/assets/TruncatedText.stories-DlvDhK2H.js new file mode 100644 index 0000000..1942557 --- /dev/null +++ b/assets/TruncatedText.stories-DlvDhK2H.js @@ -0,0 +1,11 @@ +import{T as m}from"./TruncatedText-dI59SCl1.js";import"./jsx-runtime-Bxcv0yjW.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";import"./styled-components.browser.esm-DnUtS8XV.js";const f={title:"Components/TruncatedText",component:m},i={text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis faucibus mattis. Sed eget magna urna. Quisque posuere vehicula pharetra. Pellentesque bibendum condimentum lacus, at elementum justo ultrices ut. Ut at ipsum vel metus condimentum venenatis. Ut varius nisi in massa porttitor mollis. Pellentesque ac auctor quam.",lines:2},c={parameters:{controls:{disable:!0},actions:{disable:!0}}},e={args:{...i},tags:["excludeFromSidebar"]},t={args:{...i},...c};var s,a,r;e.parameters={...e.parameters,docs:{...(s=e.parameters)==null?void 0:s.docs,source:{originalSource:`{ + args: { + ...defaultProps + }, + tags: ['excludeFromSidebar'] +}`,...(r=(a=e.parameters)==null?void 0:a.docs)==null?void 0:r.source}}};var o,n,u;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ + args: { + ...defaultProps + }, + ...disableControls +}`,...(u=(n=t.parameters)==null?void 0:n.docs)==null?void 0:u.source}}};const x=["Demo","Default"];export{t as Default,e as Demo,x as __namedExportsOrder,f as default}; diff --git a/assets/Typography-Bw5mjZYa.js b/assets/Typography-Bw5mjZYa.js new file mode 100644 index 0000000..5684a83 --- /dev/null +++ b/assets/Typography-Bw5mjZYa.js @@ -0,0 +1,8 @@ +import{j as e}from"./jsx-runtime-Bxcv0yjW.js";import{useMDXComponents as c}from"./index-EeWIkZEf.js";import"./index-mfbfsM12.js";import{u as l}from"./styled-components.browser.esm-DnUtS8XV.js";import{R as p}from"./RedbackUiThemeProvider-92619l97.js";import{t as a}from"./index-82mlukfQ.js";import{A as m}from"./Alert-CRCkG8cY.js";import"./Button-BtzO9Cgo.js";import"./Label-DTqbhiXx.js";import"./LinkButton-BrwIWpTO.js";import{T as o}from"./Table-CTfJIhs4.js";import{T as i}from"./TruncatedText-dI59SCl1.js";import"./_commonjsHelpers-BosuxZz1.js";import"./polished.esm-B9vzHjoG.js";import"./Button.style-BuRJTyuz.js";const x=l.div` + + > p { + text-align: right; + margin-top: -1rem; + } +`,h=()=>{const t=localStorage.getItem("ui-theme"),r=a[t];return e.jsxs(p,{theme:r,children:[e.jsxs(m,{type:"info",children:[e.jsxs("p",{children:["You are currently viewing these docs with Redback's ",e.jsx("strong",{children:t})," theme."]}),e.jsx("p",{children:"You can select a different theme in the toolbar at the top of the page."})]}),e.jsxs(x,{"data-testid":"TypographyDemo",children:[e.jsx("h2",{children:"Font families"}),e.jsx(o,{children:Object.entries(r.fontFamily).map(([s,n])=>e.jsxs("tr",{children:[e.jsx("th",{scope:"row",style:{width:"85px"},children:e.jsx("strong",{children:s})}),e.jsx("td",{style:{width:"225px"},children:n}),e.jsx("td",{style:{fontFamily:n},children:e.jsx(i,{text:"The quick brown fox jumped over the lazy dog",lines:1})})]},s))}),e.jsx("hr",{}),e.jsx("h2",{children:"Font sizes"}),e.jsx(o,{children:Object.entries(r.fontSizes).map(([s,n])=>e.jsxs("tr",{children:[e.jsx("th",{scope:"row",style:{width:"85px"},children:e.jsx("strong",{children:s})}),e.jsxs("td",{style:{width:"85px"},children:[parseFloat(n).toFixed(2),"rem"]}),e.jsx("td",{style:{fontSize:n},children:e.jsx(i,{text:"The quick brown fox jumped over the lazy dog",lines:1})})]},s))}),e.jsxs("p",{children:["Type scale: ",e.jsx("strong",{children:r.typeScale})]}),e.jsx("hr",{}),e.jsx("h2",{children:"Font weights"}),e.jsx(o,{children:Object.entries(r.fontWeights).map(([s,n])=>e.jsxs("tr",{children:[e.jsx("th",{scope:"row",style:{width:"85px"},children:e.jsx("strong",{children:s})}),e.jsx("td",{style:{width:"85px"},children:n}),e.jsx("td",{style:{fontWeight:n},children:e.jsx(i,{text:"The quick brown fox jumped over the lazy dog",lines:1})})]},s))})]})]})};try{h.displayName="TypographyDemo",h.__docgenInfo={description:"",displayName:"TypographyDemo",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string"}},theme:{defaultValue:null,description:"",name:"theme",required:!0,type:{name:"any"}}}}}catch{}function d(t){const r={h1:"h1",...c(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(r.h1,{id:"typography",children:"Typography"}),` +`,e.jsx(h,{})]})}function R(t={}){const{wrapper:r}={...c(),...t.components};return r?e.jsx(r,{...t,children:e.jsx(d,{...t})}):d(t)}export{R as default}; diff --git a/assets/Typography-D_DIdgG7.js b/assets/Typography-D_DIdgG7.js deleted file mode 100644 index 82637c2..0000000 --- a/assets/Typography-D_DIdgG7.js +++ /dev/null @@ -1,8 +0,0 @@ -import{j as e}from"./jsx-runtime-DRTy3Uxn.js";import{useMDXComponents as d}from"./index-z5U8iC57.js";import"./index-BBkUAzwr.js";import{u as p}from"./styled-components.browser.esm-CoKU8m7y.js";import{R as l}from"./RedbackUiThemeProvider-Co3QCjBu.js";import{t as m}from"./index-V0zlLCsl.js";import{A as x}from"./Alert-70_fx8x3.js";import"./Button-CjAWrQ4F.js";import"./Label-lwa5kVBA.js";import"./LinkButton-zDjC6fZ_.js";import{T as o}from"./Table-Dh1fEt5Y.js";import{T as i}from"./TruncatedText-Dr-qNbjw.js";import"./polished.esm-DHPXM_EY.js";import"./smartrack-Ddg4N9PD.js";import"./Button.style-DhS0uTNt.js";const a=p.div` - - > p { - text-align: right; - margin-top: -1rem; - } -`,c=()=>{const r=localStorage.getItem("ui-theme"),t=m[r];return e.jsxs(l,{theme:t,children:[e.jsxs(x,{type:"info",children:[e.jsxs("p",{children:["You are currently viewing these docs with Redback's ",e.jsx("strong",{children:r})," theme."]}),e.jsx("p",{children:"You can select a different theme in the toolbar at the top of the page."})]}),e.jsxs(a,{"data-testid":"TypographyDemo",children:[e.jsx("h2",{children:"Font families"}),e.jsx(o,{children:Object.entries(t.fontFamily).map(([s,n])=>e.jsxs("tr",{children:[e.jsx("th",{scope:"row",style:{width:"85px"},children:e.jsx("strong",{children:s})}),e.jsx("td",{style:{width:"225px"},children:n}),e.jsx("td",{style:{fontFamily:n},children:e.jsx(i,{text:"The quick brown fox jumped over the lazy dog",lines:1})})]},s))}),e.jsx("hr",{}),e.jsx("h2",{children:"Font sizes"}),e.jsx(o,{children:Object.entries(t.fontSizes).map(([s,n])=>e.jsxs("tr",{children:[e.jsx("th",{scope:"row",style:{width:"85px"},children:e.jsx("strong",{children:s})}),e.jsxs("td",{style:{width:"85px"},children:[parseFloat(n).toFixed(2),"rem"]}),e.jsx("td",{style:{fontSize:n},children:e.jsx(i,{text:"The quick brown fox jumped over the lazy dog",lines:1})})]},s))}),e.jsxs("p",{children:["Type scale: ",e.jsx("strong",{children:t.typeScale})]}),e.jsx("hr",{}),e.jsx("h2",{children:"Font weights"}),e.jsx(o,{children:Object.entries(t.fontWeights).map(([s,n])=>e.jsxs("tr",{children:[e.jsx("th",{scope:"row",style:{width:"85px"},children:e.jsx("strong",{children:s})}),e.jsx("td",{style:{width:"85px"},children:n}),e.jsx("td",{style:{fontWeight:n},children:e.jsx(i,{text:"The quick brown fox jumped over the lazy dog",lines:1})})]},s))})]})]})};c.__docgenInfo={description:"",methods:[],displayName:"TypographyDemo",props:{name:{required:!0,tsType:{name:"string"},description:""},theme:{required:!0,tsType:{name:"themes.default"},description:""}}};function h(r){const t={h1:"h1",...d(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(t.h1,{id:"typography",children:"Typography"}),` -`,e.jsx(c,{})]})}function _(r={}){const{wrapper:t}={...d(),...r.components};return t?e.jsx(t,{...r,children:e.jsx(h,{...r})}):h(r)}export{_ as default}; diff --git a/assets/Usage-C6pPf2II.js b/assets/Usage-C6pPf2II.js deleted file mode 100644 index 5e8e627..0000000 --- a/assets/Usage-C6pPf2II.js +++ /dev/null @@ -1,2 +0,0 @@ -import{j as n}from"./jsx-runtime-DRTy3Uxn.js";import{useMDXComponents as r}from"./index-z5U8iC57.js";import"./index-BBkUAzwr.js";function e(o){const t={h1:"h1",p:"p",strong:"strong",...r(),...o.components};return n.jsxs(n.Fragment,{children:[n.jsx(t.h1,{id:"how-to-use-redback-ui",children:"How to use Redback UI"}),` -`,n.jsx(t.p,{children:n.jsx(t.strong,{children:"Coming soon."})})]})}function m(o={}){const{wrapper:t}={...r(),...o.components};return t?n.jsx(t,{...o,children:n.jsx(e,{...o})}):e(o)}export{m as default}; diff --git a/assets/Usage-DAp0ldYG.js b/assets/Usage-DAp0ldYG.js new file mode 100644 index 0000000..6333a1f --- /dev/null +++ b/assets/Usage-DAp0ldYG.js @@ -0,0 +1,2 @@ +import{j as n}from"./jsx-runtime-Bxcv0yjW.js";import{useMDXComponents as r}from"./index-EeWIkZEf.js";import"./index-mfbfsM12.js";import"./_commonjsHelpers-BosuxZz1.js";function e(o){const t={h1:"h1",p:"p",strong:"strong",...r(),...o.components};return n.jsxs(n.Fragment,{children:[n.jsx(t.h1,{id:"how-to-use-redback-ui",children:"How to use Redback UI"}),` +`,n.jsx(t.p,{children:n.jsx(t.strong,{children:"Coming soon."})})]})}function u(o={}){const{wrapper:t}={...r(),...o.components};return t?n.jsx(t,{...o,children:n.jsx(e,{...o})}):e(o)}export{u as default}; diff --git a/assets/WithTooltip-Y7J54OF7-CK11rRrv.js b/assets/WithTooltip-Y7J54OF7-CK11rRrv.js deleted file mode 100644 index e54249f..0000000 --- a/assets/WithTooltip-Y7J54OF7-CK11rRrv.js +++ /dev/null @@ -1 +0,0 @@ -import{W as l,W as s,b}from"./index--E9T9ciX.js";import"./iframe-D-7mEJVP.js";import"../sb-preview/runtime.js";import"./index-BBkUAzwr.js";import"./index-PqR-_bA4.js";import"./polished.esm-DHPXM_EY.js";import"./hasIn-_03O251r.js";import"./index-Bef7SKb3.js";import"./_basePickBy-Cbg7v0UG.js";import"./index-DrFu-skq.js";export{l as WithToolTipState,s as WithTooltip,b as WithTooltipPure}; diff --git a/assets/_basePickBy-Cbg7v0UG.js b/assets/_basePickBy-Cbg7v0UG.js deleted file mode 100644 index b9b8bd9..0000000 --- a/assets/_basePickBy-Cbg7v0UG.js +++ /dev/null @@ -1 +0,0 @@ -import{q as L,r as X,s as M,c as _,t as F,u as Z,v as z,b as k,w as G,l as rr,a as D,x as er,y as nr,z as tr,h as ar,A as T,i as N,B as R,C as q,D as sr,E as or,F as ir,k as cr,f as V,G as fr,g as lr,e as yr}from"./hasIn-_03O251r.js";function gr(r,e){for(var n=-1,t=r==null?0:r.length;++net[M]})}}}return Object.freeze(Object.defineProperty(sr,Symbol.toStringTag,{value:"Module"}))}var Xu={exports:{}};/*! axe v4.10.0 + * Copyright (c) 2015 - 2024 Deque Systems, Inc. + * + * Your use of this Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This entire copyright notice must appear in every copy of this file you + * distribute or in any file that contains substantial portions of this source + * code. + */Xu.exports;(function(sr){(function Zr(E){var et=E,M=E.document,_=_||{};_.version="4.10.0",O(sr)==="object"&&sr.exports&&typeof Zr.toString=="function"&&(_.source="("+Zr.toString()+')(typeof window === "object" ? window : this);',sr.exports=_),typeof E.getComputedStyle=="function"&&(E.axe=_);function Jr(C){this.name="SupportError",this.cause=C.cause,this.message="`".concat(C.cause,"` - feature unsupported in your environment."),C.ruleId&&(this.ruleId=C.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=new Error().stack}Jr.prototype=Object.create(Error.prototype),Jr.prototype.constructor=Jr;var _p=["node"],xp=["relatedNodes"],Ep=["node"],Ap=["variant"],Cp=["matches"],Fp=["chromium"],Tp=["noImplicit"],Rp=["noPresentational"],kp=["precision","format","inGamut"],Sp=["space"],Op=["algorithm"],Mp=["method"],Ip=["maxDeltaE","deltaEMethod","steps","maxSteps"],Pp=["node"],Np=["environmentData"],Lp=["environmentData"],Bp=["environmentData"],qp=["environmentData"],jp=["environmentData"];function zp(C){return ts(C)||Qu(C)||Va(C)||es()}function Vp(C,S,j){return(S=as(S))in C?Object.defineProperty(C,S,{value:j,enumerable:!0,configurable:!0,writable:!0}):C[S]=j,C}function Hp(C,S,j){if(hi())return Reflect.construct.apply(null,arguments);var J=[null];J.push.apply(J,S);var Ae=new(C.bind.apply(C,J));return j&&za(Ae,j.prototype),Ae}function mi(C,S,j){return S=ja(S),$p(C,hi()?Reflect.construct(S,j||[],ja(C).constructor):S.apply(C,j))}function $p(C,S){if(S&&(O(S)=="object"||typeof S=="function"))return S;if(S!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Up(C)}function Up(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function hi(){try{var C=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(hi=function(){return!!C})()}function ja(C){return ja=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(S){return S.__proto__||Object.getPrototypeOf(S)},ja(C)}function vi(C,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");C.prototype=Object.create(S&&S.prototype,{constructor:{value:C,writable:!0,configurable:!0}}),Object.defineProperty(C,"prototype",{writable:!1}),S&&za(C,S)}function za(C,S){return za=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,J){return j.__proto__=J,j},za(C,S)}function Yt(C,S,j){Ju(C,S),S.set(C,j)}function Zu(C,S){Ju(C,S),S.add(C)}function Ju(C,S){if(S.has(C))throw new TypeError("Cannot initialize the same private elements twice on an object")}function wt(C,S){return C.get(Fr(C,S))}function at(C,S,j){return C.set(Fr(C,S),j),j}function Fr(C,S,j){if(typeof C=="function"?C===S:C.has(S))return arguments.length<3?S:j;throw new TypeError("Private element is not present on this object")}function Le(C,S){if(C==null)return{};var j,J,Ae=Gp(C,S);if(Object.getOwnPropertySymbols){var Ie=Object.getOwnPropertySymbols(C);for(J=0;J=0||{}.propertyIsEnumerable.call(C,j)&&(Ae[j]=C[j])}return Ae}function Gp(C,S){if(C==null)return{};var j={};for(var J in C)if({}.hasOwnProperty.call(C,J)){if(S.indexOf(J)>=0)continue;j[J]=C[J]}return j}function ne(C){return Yp(C)||Qu(C)||Va(C)||Wp()}function Wp(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qu(C){if(typeof Symbol<"u"&&C[Symbol.iterator]!=null||C["@@iterator"]!=null)return Array.from(C)}function Yp(C){if(Array.isArray(C))return gi(C)}function de(){return de=Object.assign?Object.assign.bind():function(C){for(var S=1;S=C.length?{done:!0}:{done:!1,value:C[J++]}},e:function(tt){throw tt},f:Ae}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ie,Ye=!0,mt=!1;return{s:function(){j=j.call(C)},n:function(){var tt=j.next();return Ye=tt.done,tt},e:function(tt){mt=!0,Ie=tt},f:function(){try{Ye||j.return==null||j.return()}finally{if(mt)throw Ie}}}}function Va(C,S){if(C){if(typeof C=="string")return gi(C,S);var j={}.toString.call(C).slice(8,-1);return j==="Object"&&C.constructor&&(j=C.constructor.name),j==="Map"||j==="Set"?Array.from(C):j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j)?gi(C,S):void 0}}function gi(C,S){(S==null||S>C.length)&&(S=C.length);for(var j=0,J=Array(S);j0?1:-1}}),sm=y(function(e,t){t.exports=om()()?Math.sign:um()}),lm=y(function(e,t){var r=sm(),a=Math.abs,n=Math.floor;t.exports=function(i){return isNaN(i)?0:(i=Number(i),i===0||!isFinite(i)?i:r(i)*n(a(i)))}}),cr=y(function(e,t){var r=lm(),a=Math.max;t.exports=function(n){return a(0,r(n))}}),os=y(function(e,t){var r=cr();t.exports=function(a,n,i){var o;return isNaN(a)?(o=n,o>=0?i&&o?o-1:o:1):a===!1?!1:r(a)}}),Kt=y(function(e,t){t.exports=function(r){if(typeof r!="function")throw new TypeError(r+" is not a function");return r}}),Tr=y(function(e,t){var r=lr();t.exports=function(a){if(!r(a))throw new TypeError("Cannot use null or undefined");return a}}),cm=y(function(e,t){var r=Kt(),a=Tr(),n=Function.prototype.bind,i=Function.prototype.call,o=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(s,l){return function(c,d){var f,p=arguments[2],m=arguments[3];return c=Object(a(c)),r(d),f=o(c),m&&f.sort(typeof m=="function"?n.call(m,c):void 0),typeof s!="function"&&(s=f[s]),i.call(s,f,function(h,v){return u.call(c,h)?i.call(d,p,c[h],h,c,v):l})}}}),Ha=y(function(e,t){t.exports=cm()("forEach")}),dr=y(function(){}),dm=y(function(e,t){t.exports=function(){var r=Object.assign,a;return typeof r!="function"?!1:(a={foo:"raz"},r(a,{bar:"dwa"},{trzy:"trzy"}),a.foo+a.bar+a.trzy==="razdwatrzy")}}),fm=y(function(e,t){t.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}}),pm=y(function(e,t){var r=lr(),a=Object.keys;t.exports=function(n){return a(r(n)?Object(n):n)}}),mm=y(function(e,t){t.exports=fm()()?Object.keys:pm()}),hm=y(function(e,t){var r=mm(),a=Tr(),n=Math.max;t.exports=function(i,o){var u,s,l=n(arguments.length,2),c;for(i=Object(a(i)),c=function(f){try{i[f]=o[f]}catch(p){u||(u=p)}},s=1;s-1}}),Em=y(function(e,t){t.exports=_m()()?String.prototype.contains:xm()}),fr=y(function(e,t){var r=cs(),a=Dm(),n=us(),i=is(),o=Em(),u=t.exports=function(s,l){var c,d,f,p,m;return arguments.length<2||typeof s!="string"?(p=l,l=s,s=null):p=arguments[2],r(s)?(c=o.call(s,"c"),d=o.call(s,"e"),f=o.call(s,"w")):(c=f=!0,d=!1),m={value:l,configurable:c,enumerable:d,writable:f},p?n(i(p),m):m};u.gs=function(s,l,c){var d,f,p,m;return typeof s!="string"?(p=c,c=l,l=s,s=null):p=arguments[3],r(l)?a(l)?r(c)?a(c)||(p=c,c=void 0):c=void 0:(p=l,l=c=void 0):l=void 0,r(s)?(d=o.call(s,"c"),f=o.call(s,"e")):(d=!0,f=!1),m={get:l,set:c,configurable:d,enumerable:f},p?n(i(p),m):m}}),Am=y(function(e,t){var r=fr(),a=Kt(),n=Function.prototype.apply,i=Function.prototype.call,o=Object.create,u=Object.defineProperty,s=Object.defineProperties,l=Object.prototype.hasOwnProperty,c={configurable:!0,enumerable:!1,writable:!0},d,f,p,m,h,v,g;d=function(D,w){var x;return a(w),l.call(this,"__ee__")?x=this.__ee__:(x=c.value=o(null),u(this,"__ee__",c),c.value=null),x[D]?O(x[D])==="object"?x[D].push(w):x[D]=[x[D],w]:x[D]=w,this},f=function(D,w){var x,F;return a(w),F=this,d.call(this,D,x=function(){p.call(F,D,x),n.call(w,this,arguments)}),x.__eeOnceListener__=w,this},p=function(D,w){var x,F,R,P;if(a(w),!l.call(this,"__ee__"))return this;if(x=this.__ee__,!x[D])return this;if(F=x[D],O(F)==="object")for(P=0;R=F[P];++P)(R===w||R.__eeOnceListener__===w)&&(F.length===2?x[D]=F[P?0:1]:F.splice(P,1));else(F===w||F.__eeOnceListener__===w)&&delete x[D];return this},m=function(D){var w,x,F,R,P;if(l.call(this,"__ee__")&&(R=this.__ee__[D],!!R))if(O(R)==="object"){for(x=arguments.length,P=new Array(x-1),w=1;w"u"?"undefined":O(globalThis))!=="object"||!globalThis?!1:globalThis.Array===Array}}),Tm=y(function(e,t){var r=function(){if((typeof self>"u"?"undefined":O(self))==="object"&&self)return self;if((typeof E>"u"?"undefined":O(E))==="object"&&E)return E;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()}),$a=y(function(e,t){t.exports=Fm()()?globalThis:Tm()}),Rm=y(function(e,t){var r=$a(),a={object:!0,symbol:!0};t.exports=function(){var n=r.Symbol,i;if(typeof n!="function")return!1;i=n("test symbol");try{String(i)}catch{return!1}return!(!a[O(n.iterator)]||!a[O(n.toPrimitive)]||!a[O(n.toStringTag)])}}),km=y(function(e,t){t.exports=function(r){return r?O(r)==="symbol"?!0:!r.constructor||r.constructor.name!=="Symbol"?!1:r[r.constructor.toStringTag]==="Symbol":!1}}),ds=y(function(e,t){var r=km();t.exports=function(a){if(!r(a))throw new TypeError(a+" is not a symbol");return a}}),Sm=y(function(e,t){var r=fr(),a=Object.create,n=Object.defineProperty,i=Object.prototype,o=a(null);t.exports=function(u){for(var s=0,l,c;o[u+(s||"")];)++s;return u+=s||"",o[u]=!0,l="@@"+u,n(i,l,r.gs(null,function(d){c||(c=!0,n(this,l,r(d)),c=!1)})),l}}),Om=y(function(e,t){var r=fr(),a=$a().Symbol;t.exports=function(n){return Object.defineProperties(n,{hasInstance:r("",a&&a.hasInstance||n("hasInstance")),isConcatSpreadable:r("",a&&a.isConcatSpreadable||n("isConcatSpreadable")),iterator:r("",a&&a.iterator||n("iterator")),match:r("",a&&a.match||n("match")),replace:r("",a&&a.replace||n("replace")),search:r("",a&&a.search||n("search")),species:r("",a&&a.species||n("species")),split:r("",a&&a.split||n("split")),toPrimitive:r("",a&&a.toPrimitive||n("toPrimitive")),toStringTag:r("",a&&a.toStringTag||n("toStringTag")),unscopables:r("",a&&a.unscopables||n("unscopables"))})}}),Mm=y(function(e,t){var r=fr(),a=ds(),n=Object.create(null);t.exports=function(i){return Object.defineProperties(i,{for:r(function(o){return n[o]?n[o]:n[o]=i(String(o))}),keyFor:r(function(o){var u;a(o);for(u in n)if(n[u]===o)return u})})}}),Im=y(function(e,t){var r=fr(),a=ds(),n=$a().Symbol,i=Sm(),o=Om(),u=Mm(),s=Object.create,l=Object.defineProperties,c=Object.defineProperty,d,f,p;if(typeof n=="function")try{String(n()),p=!0}catch{}else n=null;f=function(h){if(this instanceof f)throw new TypeError("Symbol is not a constructor");return d(h)},t.exports=d=function m(h){var v;if(this instanceof m)throw new TypeError("Symbol is not a constructor");return p?n(h):(v=s(f.prototype),h=h===void 0?"":String(h),l(v,{__description__:r("",h),__name__:r("",i(h))}))},o(d),u(d),l(f.prototype,{constructor:r(d),toString:r("",function(){return this.__name__})}),l(d.prototype,{toString:r(function(){return"Symbol ("+a(this).__description__+")"}),valueOf:r(function(){return a(this)})}),c(d.prototype,d.toPrimitive,r("",function(){var m=a(this);return O(m)==="symbol"?m:m.toString()})),c(d.prototype,d.toStringTag,r("c","Symbol")),c(f.prototype,d.toStringTag,r("c",d.prototype[d.toStringTag])),c(f.prototype,d.toPrimitive,r("c",d.prototype[d.toPrimitive]))}),Pm=y(function(e,t){t.exports=Rm()()?$a().Symbol:Im()}),Nm=y(function(e,t){var r=Object.prototype.toString,a=r.call(function(){return arguments}());t.exports=function(n){return r.call(n)===a}}),Lm=y(function(e,t){var r=Object.prototype.toString,a=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(n){return typeof n=="function"&&a(r.call(n))}}),Bm=y(function(e,t){var r=Object.prototype.toString,a=r.call("");t.exports=function(n){return typeof n=="string"||n&&O(n)==="object"&&(n instanceof String||r.call(n)===a)||!1}}),qm=y(function(e,t){var r=Pm().iterator,a=Nm(),n=Lm(),i=cr(),o=Kt(),u=Tr(),s=lr(),l=Bm(),c=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},p=Object.defineProperty;t.exports=function(m){var h=arguments[1],v=arguments[2],g,b,D,w,x,F,R,P,V,k;if(m=Object(u(m)),s(h)&&o(h),!this||this===Array||!n(this)){if(!h){if(a(m))return x=m.length,x!==1?Array.apply(null,m):(w=new Array(1),w[0]=m[0],w);if(c(m)){for(w=new Array(x=m.length),b=0;b=55296&&F<=56319&&(k+=m[++b])),k=h?d.call(h,v,k,D):k,g?(f.value=k,p(w,D,f)):w[D]=k,++D;x=D}}if(x===void 0)for(x=i(m.length),g&&(w=new g(x)),b=0;b=0?f=s(f):f=a(this.length)-s(u(f)),c=f;c"u"?"undefined":O(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(n){queueMicrotask(r(n))};if((typeof M>"u"?"undefined":O(M))==="object"&&M){if(typeof MutationObserver=="function")return a(MutationObserver);if(typeof WebKitMutationObserver=="function")return a(WebKitMutationObserver)}return typeof setImmediate=="function"?function(n){setImmediate(r(n))}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":O(setTimeout))==="object"?function(n){setTimeout(r(n),0)}:null}()}),Qm=y(function(){var e=bi(),t=fs(),r=ss(),a=ls(),n=wi(),i=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;dr().async=function(s,l){var c=u(null),d=u(null),f=l.memoized,p=l.original,m,h,v;l.memoized=a(function(g){var b=arguments,D=b[b.length-1];return typeof D=="function"&&(m=D,b=i.call(b,0,-1)),f.apply(h=this,v=b)},f);try{r(l.memoized,f)}catch{}l.on("get",function(g){var b,D,w;if(m){if(c[g]){typeof c[g]=="function"?c[g]=[c[g],m]:c[g].push(m),m=null;return}b=m,D=h,w=v,m=h=v=null,n(function(){var x;hasOwnProperty.call(d,g)?(x=d[g],l.emit("getasync",g,w,D),o.call(b,x.context,x.args)):(m=b,h=D,v=w,f.apply(D,w))})}}),l.original=function(){var g,b,D,w;return m?(g=e(arguments),b=function x(F){var R,P,V=x.id;if(V==null){n(o.bind(x,this,arguments));return}if(delete x.id,R=c[V],delete c[V],!!R)return P=e(arguments),l.has(V)&&(F?l.delete(V):(d[V]={context:this,args:P},l.emit("setasync",V,typeof R=="function"?1:R.length))),typeof R=="function"?w=o.call(R,this,P):R.forEach(function(k){w=o.call(k,this,P)},this),w},D=m,m=h=v=null,g.push(b),w=o.call(p,this,g),b.cb=D,m=b,w):o.call(p,this,arguments)},l.on("set",function(g){if(!m){l.delete(g);return}c[g]?typeof c[g]=="function"?c[g]=[c[g],m.cb]:c[g].push(m.cb):c[g]=m.cb,delete m.cb,m.id=g,m=null}),l.on("delete",function(g){var b;hasOwnProperty.call(c,g)||d[g]&&(b=d[g],delete d[g],l.emit("deleteasync",g,i.call(b.args,1)))}),l.on("clear",function(){var g=d;d=u(null),l.emit("clearasync",t(g,function(b){return i.call(b.args,1)}))})}}),eh=y(function(e,t){var r=Array.prototype.forEach,a=Object.create;t.exports=function(n){var i=a(null);return r.call(arguments,function(o){i[o]=!0}),i}}),ps=y(function(e,t){t.exports=function(r){return typeof r=="function"}}),th=y(function(e,t){var r=ps();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{throw new TypeError("Passed argument cannot be stringifed")}}}),rh=y(function(e,t){var r=Tr(),a=th();t.exports=function(n){return a(r(n))}}),ah=y(function(e,t){var r=ps();t.exports=function(a){try{return a&&r(a.toString)?a.toString():String(a)}catch{return""}}}),nh=y(function(e,t){var r=ah(),a=/[\n\r\u2028\u2029]/g;t.exports=function(n){var i=r(n);return i.length>100&&(i=i.slice(0,99)+"…"),i=i.replace(a,function(o){return JSON.stringify(o).slice(1,-1)}),i}}),ms=y(function(e,t){t.exports=r,t.exports.default=r;function r(a){return!!a&&(O(a)==="object"||typeof a=="function")&&typeof a.then=="function"}}),ih=y(function(){var e=fs(),t=eh(),r=rh(),a=nh(),n=ms(),i=wi(),o=Object.create,u=t("then","then:finally","done","done:finally");dr().promise=function(s,l){var c=o(null),d=o(null),f=o(null);if(s===!0)s=null;else if(s=r(s),!u[s])throw new TypeError("'"+a(s)+"' is not valid promise mode");l.on("set",function(p,m,h){var v=!1;if(!n(h)){d[p]=h,l.emit("setasync",p,1);return}c[p]=1,f[p]=h;var g=function(F){var R=c[p];if(v)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode) +Consider to rely on 'then' or 'done' mode instead.`);R&&(delete c[p],d[p]=F,l.emit("setasync",p,R))},b=function(){v=!0,c[p]&&(delete c[p],delete f[p],l.delete(p))},D=s;if(D||(D="then"),D==="then"){var w=function(){i(b)};h=h.then(function(x){i(g.bind(this,x))},w),typeof h.finally=="function"&&h.finally(w)}else if(D==="done"){if(typeof h.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");h.done(g,b)}else if(D==="done:finally"){if(typeof h.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof h.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");h.done(g),h.finally(b)}}),l.on("get",function(p,m,h){var v;if(c[p]){++c[p];return}v=f[p];var g=function(){l.emit("getasync",p,m,h)};n(v)?typeof v.done=="function"?v.done(g):v.then(function(){i(g)}):g()}),l.on("delete",function(p){if(delete f[p],c[p]){delete c[p];return}if(hasOwnProperty.call(d,p)){var m=d[p];delete d[p],l.emit("deleteasync",p,[m])}}),l.on("clear",function(){var p=d;d=o(null),c=o(null),f=o(null),l.emit("clearasync",e(p,function(m){return[m]}))})}}),oh=y(function(){var e=Kt(),t=Ha(),r=dr(),a=Function.prototype.apply;r.dispose=function(n,i,o){var u;if(e(n),o.async&&r.async||o.promise&&r.promise){i.on("deleteasync",u=function(l,c){a.call(n,null,c)}),i.on("clearasync",function(s){t(s,function(l,c){u(c,l)})});return}i.on("delete",u=function(l,c){n(c)}),i.on("clear",function(s){t(s,function(l,c){u(c,l)})})}}),uh=y(function(e,t){t.exports=2147483647}),sh=y(function(e,t){var r=cr(),a=uh();t.exports=function(n){if(n=r(n),n>a)throw new TypeError(n+" exceeds maximum possible timeout");return n}}),lh=y(function(){var e=bi(),t=Ha(),r=wi(),a=ms(),n=sh(),i=dr(),o=Function.prototype,u=Math.max,s=Math.min,l=Object.create;i.maxAge=function(c,d,f){var p,m,h,v;c=n(c),c&&(p=l(null),m=f.async&&i.async||f.promise&&i.promise?"async":"",d.on("set"+m,function(g){p[g]=setTimeout(function(){d.delete(g)},c),typeof p[g].unref=="function"&&p[g].unref(),v&&(v[g]&&v[g]!=="nextTick"&&clearTimeout(v[g]),v[g]=setTimeout(function(){delete v[g]},h),typeof v[g].unref=="function"&&v[g].unref())}),d.on("delete"+m,function(g){clearTimeout(p[g]),delete p[g],v&&(v[g]!=="nextTick"&&clearTimeout(v[g]),delete v[g])}),f.preFetch&&(f.preFetch===!0||isNaN(f.preFetch)?h=.333:h=u(s(Number(f.preFetch),1),0),h&&(v={},h=(1-h)*c,d.on("get"+m,function(g,b,D){v[g]||(v[g]="nextTick",r(function(){var w;v[g]==="nextTick"&&(delete v[g],d.delete(g),f.async&&(b=e(b),b.push(o)),w=d.memoized.apply(D,b),f.promise&&a(w)&&(typeof w.done=="function"?w.done(o,o):w.then(o,o)))}))}))),d.on("clear"+m,function(){t(p,function(g){clearTimeout(g)}),p={},v&&(t(v,function(g){g!=="nextTick"&&clearTimeout(g)}),v={})}))}}),ch=y(function(e,t){var r=cr(),a=Object.create,n=Object.prototype.hasOwnProperty;t.exports=function(i){var o=0,u=1,s=a(null),l=a(null),c=0,d;return i=r(i),{hit:function(p){var m=l[p],h=++c;if(s[h]=p,l[p]=h,!m)return++o,o<=i?void 0:(p=s[u],d(p),p);if(delete s[m],u===m)for(;!n.call(s,++u););},delete:d=function(p){var m=l[p];if(m&&(delete s[m],delete l[p],--o,u===m)){if(!o){c=0,u=1;return}for(;!n.call(s,++u););}},clear:function(){o=0,u=1,s=a(null),l=a(null),c=0}}}}),dh=y(function(){var e=cr(),t=ch(),r=dr();r.max=function(a,n,i){var o,u,s;a=e(a),a&&(u=t(a),o=i.async&&r.async||i.promise&&r.promise?"async":"",n.on("set"+o,s=function(c){c=u.hit(c),c!==void 0&&n.delete(c)}),n.on("get"+o,s),n.on("delete"+o,u.delete),n.on("clear"+o,u.clear))}}),fh=y(function(){var e=fr(),t=dr(),r=Object.create,a=Object.defineProperties;t.refCounter=function(n,i,o){var u,s;u=r(null),s=o.async&&t.async||o.promise&&t.promise?"async":"",i.on("set"+s,function(l,c){u[l]=c||1}),i.on("get"+s,function(l){++u[l]}),i.on("delete"+s,function(l){delete u[l]}),i.on("clear"+s,function(){u={}}),a(i.memoized,{deleteRef:e(function(){var l=i.get(arguments);return l===null||!u[l]?null:--u[l]?!1:(i.delete(l),!0)}),getRefCount:e(function(){var l=i.get(arguments);return l===null||!u[l]?0:u[l]})})}}),hs=y(function(e,t){var r=is(),a=os(),n=$m();t.exports=function(i){var o=r(arguments[1]),u;return o.normalizer||(u=o.length=a(o.length,i.length,o.async),u!==0&&(o.primitive?u===!1?o.normalizer=Um():u>1&&(o.normalizer=Gm()(u)):u===!1?o.normalizer=Xm()():u===1?o.normalizer=Zm()():o.normalizer=Jm()(u))),o.async&&Qm(),o.promise&&ih(),o.dispose&&oh(),o.maxAge&&lh(),o.max&&dh(),o.refCounter&&fh(),n(i,o)}}),vs=y(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o==="-"||o==="_"}e.isIdentStart=t;function r(o){return o>="a"&&o<="z"||o>="A"&&o<="Z"||o>="0"&&o<="9"||o==="-"||o==="_"}e.isIdent=r;function a(o){return o>="a"&&o<="f"||o>="A"&&o<="F"||o>="0"&&o<="9"}e.isHex=a;function n(o){for(var u=o.length,s="",l=0;l="A"&&c<="Z"||c>="a"&&c<="z"||l!==0&&c>="0"&&c<="9")s+=c;else{var d=c.charCodeAt(0);if((d&63488)===55296){var f=o.charCodeAt(l++);if((d&64512)!==55296||(f&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");d=((d&1023)<<10)+(f&1023)+65536}s+="\\"+d.toString(16)+" "}l++}return s}e.escapeIdentifier=n;function i(o){for(var u=o.length,s="",l=0,c;l":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:` +`,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:` +`,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'}}),ph=y(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=vs();function r(a,n,i,o,u,s){var l=a.length,c="";function d(b,D){var w="";for(n++,c=a.charAt(n);n=l)throw Error("Expected symbol but end of file reached.");if(c=a.charAt(n),t.identSpecialChars[c])b+=c;else if(t.isHex(c)){var D=c;for(n++,c=a.charAt(n);t.isHex(c);)D+=c,n++,c=a.charAt(n);c===" "&&(n++,c=a.charAt(n)),b+=String.fromCharCode(parseInt(D,16));continue}else b+=c}else return b;n++,c=a.charAt(n)}return b}function p(){c=a.charAt(n);for(var b=!1;c===" "||c===" "||c===` +`||c==="\r"||c==="\f";)b=!0,n++,c=a.charAt(n);return b}function m(){var b=h();if(n=l||c===","||c===")"));)if(u[c]){var x=c;if(n++,p(),D=g(),!D)throw Error('Rule expected after "'+x+'".');D.nestingOperator=x}else D=g(),D&&(D.nestingOperator=null);return b}function g(){for(var b=null;n=l)throw Error('Expected "=" but end of file reached.');if(c!=="=")throw Error('Expected "=" but "'+c+'" found.');D.operator=w+"=",n++,p();var x="";if(D.valueType="string",c==='"')x=d('"',t.doubleQuotesEscapeChars);else if(c==="'")x=d("'",t.singleQuoteEscapeChars);else if(s&&c==="$")n++,x=f(),D.valueType="substitute";else{for(;n=l)throw Error('Expected "]" but end of file reached.');if(c!=="]")throw Error('Expected "]" but "'+c+'" found.');n++,D.value=x}b=b||{},(b.attrs=b.attrs||[]).push(D)}else if(c===":"){n++;var F=f(),R={name:F};if(c==="("){n++;var P="";if(p(),i[F]==="selector")R.valueType="selector",P=h();else{if(R.valueType=i[F]||"string",c==='"')P=d('"',t.doubleQuotesEscapeChars);else if(c==="'")P=d("'",t.singleQuoteEscapeChars);else if(s&&c==="$")n++,P=f(),R.valueType="substitute";else{for(;n=l)throw Error('Expected ")" but end of file reached.');if(c!==")")throw Error('Expected ")" but "'+c+'" found.');n++,R.value=P}b=b||{},(b.pseudos=b.pseudos||[]).push(R)}else break;return b}return m()}e.parseCssSelector=r}),mh=y(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=vs();function r(a){var n="";switch(a.type){case"ruleSet":for(var i=a.rule,o=[];i;)i.nestingOperator&&o.push(i.nestingOperator),o.push(r(i)),i=i.rule;n=o.join(" ");break;case"selectors":n=a.selectors.map(r).join(", ");break;case"rule":a.tagName&&(a.tagName==="*"?n="*":n=t.escapeIdentifier(a.tagName)),a.id&&(n+="#"+t.escapeIdentifier(a.id)),a.classNames&&(n+=a.classNames.map(function(u){return"."+t.escapeIdentifier(u)}).join("")),a.attrs&&(n+=a.attrs.map(function(u){return"operator"in u?u.valueType==="substitute"?"["+t.escapeIdentifier(u.name)+u.operator+"$"+u.value+"]":"["+t.escapeIdentifier(u.name)+u.operator+t.escapeStr(u.value)+"]":"["+t.escapeIdentifier(u.name)+"]"}).join("")),a.pseudos&&(n+=a.pseudos.map(function(u){return u.valueType?u.valueType==="selector"?":"+t.escapeIdentifier(u.name)+"("+r(u.value)+")":u.valueType==="substitute"?":"+t.escapeIdentifier(u.name)+"($"+u.value+")":u.valueType==="numeric"?":"+t.escapeIdentifier(u.name)+"("+u.value+")":":"+t.escapeIdentifier(u.name)+"("+t.escapeIdentifier(u.value)+")":":"+t.escapeIdentifier(u.name)}).join(""));break;default:throw Error('Unknown entity type: "'+a.type+'".')}return n}e.renderEntity=r}),gs=y(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=ph(),r=mh(),a=function(){function n(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return n.prototype.registerSelectorPseudos=function(){for(var i=[],o=0;o"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",v=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function g(){return function(){return process.nextTick(R)}}function b(){return typeof u<"u"?function(){u(R)}:x()}function D(){var T=0,I=new m(R),q=M.createTextNode("");return I.observe(q,{characterData:!0}),function(){q.data=T=++T%2}}function w(){var T=new MessageChannel;return T.port1.onmessage=R,function(){return T.port2.postMessage(0)}}function x(){var T=setTimeout;return function(){return T(R,1)}}var F=new Array(1e3);function R(){for(var T=0;T>0},ToUint32:function(G){return G>>>0}}}(),a=Math.LN2,n=Math.abs,i=Math.floor,o=Math.log,u=Math.min,s=Math.pow,l=Math.round;function c(A,U,N){return AN?N:A}var d=Object.getOwnPropertyNames||function(A){if(A!==Object(A))throw new TypeError("Object.getOwnPropertyNames called on non-object");var U=[],N;for(N in A)r.HasOwnProperty(A,N)&&U.push(N);return U},f;Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch{return!1}}()?f=Object.defineProperty:f=function(U,N,G){if(!U===Object(U))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(G,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(U,N,G.get),r.HasProperty(G,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(U,N,G.set),r.HasProperty(G,"value")&&(U[N]=G.value),U};function p(A){if(d&&f){var U=d(A),N;for(N=0;Nt)throw new RangeError("Array too large for polyfill");function U(G){f(A,G,{get:function(){return A._getter(G)},set:function(W){A._setter(G,W)},enumerable:!0,configurable:!1})}var N;for(N=0;N>N}function v(A,U){var N=32-U;return A<>>N}function g(A){return[A&255]}function b(A){return h(A[0],8)}function D(A){return[A&255]}function w(A){return v(A[0],8)}function x(A){return A=l(Number(A)),[A<0?0:A>255?255:A&255]}function F(A){return[A>>8&255,A&255]}function R(A){return h(A[0]<<8|A[1],16)}function P(A){return[A>>8&255,A&255]}function V(A){return v(A[0]<<8|A[1],16)}function k(A){return[A>>24&255,A>>16&255,A>>8&255,A&255]}function L(A){return h(A[0]<<24|A[1]<<16|A[2]<<8|A[3],32)}function z(A){return[A>>24&255,A>>16&255,A>>8&255,A&255]}function H(A){return v(A[0]<<24|A[1]<<16|A[2]<<8|A[3],32)}function Q(A,U,N){var G=(1<.5||_e%2?_e+1:_e}for(A!==A?(W=(1<=s(2,1-G)?(W=u(i(o(A)/a),1023),X=qe(A/s(2,W)*s(2,N)),X/s(2,N)>=2&&(W=W+1,X=1),W>G?(W=(1<>1;return G.reverse(),pe=G.join(""),ge=(1<0?De*s(2,Oe-ge)*(1+qe/s(2,N)):qe!==0?De*s(2,-(ge-1))*(qe/s(2,N)):De<0?-0:0}function Y(A){return ie(A,11,52)}function te(A){return Q(A,11,52)}function B(A){return ie(A,8,23)}function Z(A){return Q(A,8,23)}(function(){function A(Ne){if(Ne=r.ToInt32(Ne),Ne<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=Ne,this._bytes=[],this._bytes.length=Ne;var _e;for(_e=0;_ethis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=r.ToUint32(Je),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=We,p(this),m(this)},We.prototype=new U,We.prototype.BYTES_PER_ELEMENT=Ne,We.prototype._pack=_e,We.prototype._unpack=Kr,We.BYTES_PER_ELEMENT=Ne,We.prototype._getter=function(xe){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(xe=r.ToUint32(xe),!(xe>=this.length)){for(var je=[],Me=0,Je=this.byteOffset+xe*this.BYTES_PER_ELEMENT;Methis.length)throw new RangeError("Offset plus length of array is out of range");if(q=this.byteOffset+Qe*this.BYTES_PER_ELEMENT,K=Me.length*this.BYTES_PER_ELEMENT,Me.buffer===this.buffer){for(oe=[],be=0,T=Me.byteOffset;bethis.length)throw new RangeError("Offset plus length of array is out of range");for(be=0;bethis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=r.ToUint32(pe),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");p(this)}function G(W){return function(X,pe){if(X=r.ToUint32(X),X+W.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");X+=this.byteOffset;var ge=new e.Uint8Array(this.buffer,X,W.BYTES_PER_ELEMENT),De=[],Oe;for(Oe=0;Oethis.byteLength)throw new RangeError("Array index out of range");var De=new W([pe]),Oe=new e.Uint8Array(De.buffer),qe=[],Ne,_e;for(Ne=0;Ne0)throw new TypeError("WeakMap iterable is not supported")}n(o.prototype,"delete",function(c){if(u(this,"delete"),!i(c))return!1;var d=c[this._id];return d&&d[0]===c?(delete c[this._id],!0):!1}),n(o.prototype,"get",function(c){if(u(this,"get"),!!i(c)){var d=c[this._id];if(d&&d[0]===c)return d[1]}}),n(o.prototype,"has",function(c){if(u(this,"has"),!i(c))return!1;var d=c[this._id];return!!(d&&d[0]===c)}),n(o.prototype,"set",function(c,d){if(u(this,"set"),!i(c))throw new TypeError("Invalid value used as weak map key");var f=c[this._id];return f&&f[0]===c?(f[1]=d,this):(n(c,this._id,[c,d]),this)});function u(c,d){if(!i(c)||!r.call(c,"_id"))throw new TypeError(d+" method called on incompatible receiver "+O(c))}function s(c){return c+"_"+l()+"."+l()}function l(){return Math.random().toString().substring(2)}return n(o,"_polyfill",!0),o}();function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof E<"u"?E:typeof et<"u"?et:e)}),kt=y(function(e,t){var r=function(n){return n&&n.Math===Math&&n};t.exports=r((typeof globalThis>"u"?"undefined":O(globalThis))=="object"&&globalThis)||r((typeof E>"u"?"undefined":O(E))=="object"&&E)||r((typeof self>"u"?"undefined":O(self))=="object"&&self)||r((typeof et>"u"?"undefined":O(et))=="object"&&et)||function(){return this}()||e||Function("return this")()}),_t=y(function(e,t){t.exports=function(r){try{return!!r()}catch{return!0}}}),Ua=y(function(e,t){var r=_t();t.exports=!r(function(){var a=(function(){}).bind();return typeof a!="function"||a.hasOwnProperty("prototype")})}),bh=y(function(e,t){var r=Ua(),a=Function.prototype,n=a.apply,i=a.call;t.exports=(typeof Reflect>"u"?"undefined":O(Reflect))=="object"&&Reflect.apply||(r?i.bind(n):function(){return i.apply(n,arguments)})}),ht=y(function(e,t){var r=Ua(),a=Function.prototype,n=a.call,i=r&&a.bind.bind(n,n);t.exports=r?i:function(o){return function(){return n.apply(o,arguments)}}}),Di=y(function(e,t){var r=ht(),a=r({}.toString),n=r("".slice);t.exports=function(i){return n(a(i),8,-1)}}),bs=y(function(e,t){var r=Di(),a=ht();t.exports=function(n){if(r(n)==="Function")return a(n)}}),ys=y(function(e,t){var r=(typeof M>"u"?"undefined":O(M))=="object"&&M.all,a=typeof r>"u"&&r!==void 0;t.exports={all:r,IS_HTMLDDA:a}}),rt=y(function(e,t){var r=ys(),a=r.all;t.exports=r.IS_HTMLDDA?function(n){return typeof n=="function"||n===a}:function(n){return typeof n=="function"}}),Xt=y(function(e,t){var r=_t();t.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}),pr=y(function(e,t){var r=Ua(),a=Function.prototype.call;t.exports=r?a.bind(a):function(){return a.apply(a,arguments)}}),ws=y(function(e){var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!t.call({1:2},1);e.f=a?function(i){var o=r(this,i);return!!o&&o.enumerable}:t}),Ga=y(function(e,t){t.exports=function(r,a){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}}}),yh=y(function(e,t){var r=ht(),a=_t(),n=Di(),i=Object,o=r("".split);t.exports=a(function(){return!i("z").propertyIsEnumerable(0)})?function(u){return n(u)==="String"?o(u,""):i(u)}:i}),_i=y(function(e,t){t.exports=function(r){return r==null}}),xi=y(function(e,t){var r=_i(),a=TypeError;t.exports=function(n){if(r(n))throw new a("Can't call method on "+n);return n}}),ta=y(function(e,t){var r=yh(),a=xi();t.exports=function(n){return r(a(n))}}),Rr=y(function(e,t){var r=rt(),a=ys(),n=a.all;t.exports=a.IS_HTMLDDA?function(i){return O(i)=="object"?i!==null:r(i)||i===n}:function(i){return O(i)=="object"?i!==null:r(i)}}),ra=y(function(e,t){t.exports={}}),Ei=y(function(e,t){var r=ra(),a=kt(),n=rt(),i=function(u){return n(u)?u:void 0};t.exports=function(o,u){return arguments.length<2?i(r[o])||i(a[o]):r[o]&&r[o][u]||a[o]&&a[o][u]}}),wh=y(function(e,t){var r=ht();t.exports=r({}.isPrototypeOf)}),Dh=y(function(e,t){t.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}),_h=y(function(e,t){var r=kt(),a=Dh(),n=r.process,i=r.Deno,o=n&&n.versions||i&&i.version,u=o&&o.v8,s,l;u&&(s=u.split("."),l=s[0]>0&&s[0]<4?1:+(s[0]+s[1])),!l&&a&&(s=a.match(/Edge\/(\d+)/),(!s||s[1]>=74)&&(s=a.match(/Chrome\/(\d+)/),s&&(l=+s[1]))),t.exports=l}),Ds=y(function(e,t){var r=_h(),a=_t(),n=kt(),i=n.String;t.exports=!!Object.getOwnPropertySymbols&&!a(function(){var o=Symbol("symbol detection");return!i(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&r&&r<41})}),_s=y(function(e,t){var r=Ds();t.exports=r&&!Symbol.sham&&O(Symbol.iterator)=="symbol"}),xs=y(function(e,t){var r=Ei(),a=rt(),n=wh(),i=_s(),o=Object;t.exports=i?function(u){return O(u)=="symbol"}:function(u){var s=r("Symbol");return a(s)&&n(s.prototype,o(u))}}),Es=y(function(e,t){var r=String;t.exports=function(a){try{return r(a)}catch{return"Object"}}}),Wa=y(function(e,t){var r=rt(),a=Es(),n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not a function")}}),Ai=y(function(e,t){var r=Wa(),a=_i();t.exports=function(n,i){var o=n[i];return a(o)?void 0:r(o)}}),xh=y(function(e,t){var r=pr(),a=rt(),n=Rr(),i=TypeError;t.exports=function(o,u){var s,l;if(u==="string"&&a(s=o.toString)&&!n(l=r(s,o))||a(s=o.valueOf)&&!n(l=r(s,o))||u!=="string"&&a(s=o.toString)&&!n(l=r(s,o)))return l;throw new i("Can't convert object to primitive value")}}),Ci=y(function(e,t){t.exports=!0}),Eh=y(function(e,t){var r=kt(),a=Object.defineProperty;t.exports=function(n,i){try{a(r,n,{value:i,configurable:!0,writable:!0})}catch{r[n]=i}return i}}),Fi=y(function(e,t){var r=kt(),a=Eh(),n="__core-js_shared__",i=r[n]||a(n,{});t.exports=i}),As=y(function(e,t){var r=Ci(),a=Fi();(t.exports=function(n,i){return a[n]||(a[n]=i!==void 0?i:{})})("versions",[]).push({version:"3.33.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Ti=y(function(e,t){var r=xi(),a=Object;t.exports=function(n){return a(r(n))}}),qt=y(function(e,t){var r=ht(),a=Ti(),n=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(o,u){return n(a(o),u)}}),Cs=y(function(e,t){var r=ht(),a=0,n=Math.random(),i=r(1 .toString);t.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+i(++a+n,36)}}),jt=y(function(e,t){var r=kt(),a=As(),n=qt(),i=Cs(),o=Ds(),u=_s(),s=r.Symbol,l=a("wks"),c=u?s.for||s:s&&s.withoutSetter||i;t.exports=function(d){return n(l,d)||(l[d]=o&&n(s,d)?s[d]:c("Symbol."+d)),l[d]}}),Ah=y(function(e,t){var r=pr(),a=Rr(),n=xs(),i=Ai(),o=xh(),u=jt(),s=TypeError,l=u("toPrimitive");t.exports=function(c,d){if(!a(c)||n(c))return c;var f=i(c,l),p;if(f){if(d===void 0&&(d="default"),p=r(f,c,d),!a(p)||n(p))return p;throw new s("Can't convert object to primitive value")}return d===void 0&&(d="number"),o(c,d)}}),Ri=y(function(e,t){var r=Ah(),a=xs();t.exports=function(n){var i=r(n,"string");return a(i)?i:i+""}}),Fs=y(function(e,t){var r=kt(),a=Rr(),n=r.document,i=a(n)&&a(n.createElement);t.exports=function(o){return i?n.createElement(o):{}}}),Ts=y(function(e,t){var r=Xt(),a=_t(),n=Fs();t.exports=!r&&!a(function(){return Object.defineProperty(n("div"),"a",{get:function(){return 7}}).a!==7})}),Ch=y(function(e){var t=Xt(),r=pr(),a=ws(),n=Ga(),i=ta(),o=Ri(),u=qt(),s=Ts(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(d,f){if(d=i(d),f=o(f),s)try{return l(d,f)}catch{}if(u(d,f))return n(!r(a.f,d,f),d[f])}}),Fh=y(function(e,t){var r=_t(),a=rt(),n=/#|\.prototype\./,i=function(d,f){var p=u[o(d)];return p===l?!0:p===s?!1:a(f)?r(f):!!f},o=i.normalize=function(c){return String(c).replace(n,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i}),Rs=y(function(e,t){var r=bs(),a=Wa(),n=Ua(),i=r(r.bind);t.exports=function(o,u){return a(o),u===void 0?o:n?i(o,u):function(){return o.apply(u,arguments)}}}),ks=y(function(e,t){var r=Xt(),a=_t();t.exports=r&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}),mr=y(function(e,t){var r=Rr(),a=String,n=TypeError;t.exports=function(i){if(r(i))return i;throw new n(a(i)+" is not an object")}}),Ya=y(function(e){var t=Xt(),r=Ts(),a=ks(),n=mr(),i=Ri(),o=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?a?function(p,m,h){if(n(p),m=i(m),n(h),typeof p=="function"&&m==="prototype"&&"value"in h&&d in h&&!h[d]){var v=s(p,m);v&&v[d]&&(p[m]=h.value,h={configurable:c in h?h[c]:v[c],enumerable:l in h?h[l]:v[l],writable:!1})}return u(p,m,h)}:u:function(p,m,h){if(n(p),m=i(m),n(h),r)try{return u(p,m,h)}catch{}if("get"in h||"set"in h)throw new o("Accessors not supported");return"value"in h&&(p[m]=h.value),p}}),aa=y(function(e,t){var r=Xt(),a=Ya(),n=Ga();t.exports=r?function(i,o,u){return a.f(i,o,n(1,u))}:function(i,o,u){return i[o]=u,i}}),Ka=y(function(e,t){var r=kt(),a=bh(),n=bs(),i=rt(),o=Ch().f,u=Fh(),s=ra(),l=Rs(),c=aa(),d=qt(),f=function(m){var h=function v(g,b,D){if(this instanceof v){switch(arguments.length){case 0:return new m;case 1:return new m(g);case 2:return new m(g,b)}return new m(g,b,D)}return a(m,this,arguments)};return h.prototype=m.prototype,h};t.exports=function(p,m){var h=p.target,v=p.global,g=p.stat,b=p.proto,D=v?r:g?r[h]:(r[h]||{}).prototype,w=v?s:s[h]||c(s,h,{})[h],x=w.prototype,F,R,P,V,k,L,z,H,Q;for(V in m)F=u(v?V:h+(g?".":"#")+V,p.forced),R=!F&&D&&d(D,V),L=w[V],R&&(p.dontCallGetSet?(Q=o(D,V),z=Q&&Q.value):z=D[V]),k=R&&z?z:m[V],!(R&&O(L)==O(k))&&(p.bind&&R?H=l(k,r):p.wrap&&R?H=f(k):b&&i(k)?H=n(k):H=k,(p.sham||k&&k.sham||L&&L.sham)&&c(H,"sham",!0),c(w,V,H),b&&(P=h+"Prototype",d(s,P)||c(s,P,{}),c(s[P],V,k),p.real&&x&&(F||!x[V])&&c(x,V,k)))}}),Th=y(function(){var e=Ka(),t=qt();e({target:"Object",stat:!0},{hasOwn:t})}),Rh=y(function(e,t){Th();var r=ra();t.exports=r.Object.hasOwn}),kh=y(function(e,t){var r=Rh();t.exports=r}),Sh=y(function(e,t){var r=kh();t.exports=r}),ki=y(function(e,t){var r=As(),a=Cs(),n=r("keys");t.exports=function(i){return n[i]||(n[i]=a(i))}}),Oh=y(function(e,t){var r=_t();t.exports=!r(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})}),Si=y(function(e,t){var r=qt(),a=rt(),n=Ti(),i=ki(),o=Oh(),u=i("IE_PROTO"),s=Object,l=s.prototype;t.exports=o?s.getPrototypeOf:function(c){var d=n(c);if(r(d,u))return d[u];var f=d.constructor;return a(f)&&d instanceof f?f.prototype:d instanceof s?l:null}}),Mh=y(function(e,t){var r=Math.ceil,a=Math.floor;t.exports=Math.trunc||function(i){var o=+i;return(o>0?a:r)(o)}}),Oi=y(function(e,t){var r=Mh();t.exports=function(a){var n=+a;return n!==n||n===0?0:r(n)}}),Ih=y(function(e,t){var r=Oi(),a=Math.max,n=Math.min;t.exports=function(i,o){var u=r(i);return u<0?a(u+o,0):n(u,o)}}),Ph=y(function(e,t){var r=Oi(),a=Math.min;t.exports=function(n){return n>0?a(r(n),9007199254740991):0}}),Ss=y(function(e,t){var r=Ph();t.exports=function(a){return r(a.length)}}),Nh=y(function(e,t){var r=ta(),a=Ih(),n=Ss(),i=function(u){return function(s,l,c){var d=r(s),f=n(d),p=a(c,f),m;if(u&&l!==l){for(;f>p;)if(m=d[p++],m!==m)return!0}else for(;f>p;p++)if((u||p in d)&&d[p]===l)return u||p||0;return!u&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}}),Mi=y(function(e,t){t.exports={}}),Lh=y(function(e,t){var r=ht(),a=qt(),n=ta(),i=Nh().indexOf,o=Mi(),u=r([].push);t.exports=function(s,l){var c=n(s),d=0,f=[],p;for(p in c)!a(o,p)&&a(c,p)&&u(f,p);for(;l.length>d;)a(c,p=l[d++])&&(~i(f,p)||u(f,p));return f}}),Os=y(function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Ms=y(function(e,t){var r=Lh(),a=Os();t.exports=Object.keys||function(i){return r(i,a)}}),Bh=y(function(e,t){var r=Xt(),a=_t(),n=ht(),i=Si(),o=Ms(),u=ta(),s=ws().f,l=n(s),c=n([].push),d=r&&a(function(){var p=Object.create(null);return p[2]=2,!l(p,2)}),f=function(m){return function(h){for(var v=u(h),g=o(v),b=d&&i(v)===null,D=g.length,w=0,x=[],F;D>w;)F=g[w++],(!r||(b?F in v:l(v,F)))&&c(x,m?[F,v[F]]:v[F]);return x}};t.exports={entries:f(!0),values:f(!1)}}),qh=y(function(){var e=Ka(),t=Bh().values;e({target:"Object",stat:!0},{values:function(a){return t(a)}})}),jh=y(function(e,t){qh();var r=ra();t.exports=r.Object.values}),zh=y(function(e,t){var r=jh();t.exports=r}),Vh=y(function(e,t){var r=zh();t.exports=r}),Ii=y(function(e,t){var r=jt(),a=r("toStringTag"),n={};n[a]="z",t.exports=String(n)==="[object z]"}),Xa=y(function(e,t){var r=Ii(),a=rt(),n=Di(),i=jt(),o=i("toStringTag"),u=Object,s=n(function(){return arguments}())==="Arguments",l=function(d,f){try{return d[f]}catch{}};t.exports=r?n:function(c){var d,f,p;return c===void 0?"Undefined":c===null?"Null":typeof(f=l(d=u(c),o))=="string"?f:s?n(d):(p=n(d))==="Object"&&a(d.callee)?"Arguments":p}}),Is=y(function(e,t){var r=Xa(),a=String;t.exports=function(n){if(r(n)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(n)}}),Hh=y(function(e,t){var r=ht(),a=Oi(),n=Is(),i=xi(),o=r("".charAt),u=r("".charCodeAt),s=r("".slice),l=function(d){return function(f,p){var m=n(i(f)),h=a(p),v=m.length,g,b;return h<0||h>=v?d?"":void 0:(g=u(m,h),g<55296||g>56319||h+1===v||(b=u(m,h+1))<56320||b>57343?d?o(m,h):g:d?s(m,h,h+2):(g-55296<<10)+(b-56320)+65536)}};t.exports={codeAt:l(!1),charAt:l(!0)}}),$h=y(function(e,t){var r=kt(),a=rt(),n=r.WeakMap;t.exports=a(n)&&/native code/.test(String(n))}),Uh=y(function(e,t){var r=$h(),a=kt(),n=Rr(),i=aa(),o=qt(),u=Fi(),s=ki(),l=Mi(),c="Object already initialized",d=a.TypeError,f=a.WeakMap,p,m,h,v=function(x){return h(x)?m(x):p(x,{})},g=function(x){return function(F){var R;if(!n(F)||(R=m(F)).type!==x)throw new d("Incompatible receiver, "+x+" required");return R}};r||u.state?(b=u.state||(u.state=new f),b.get=b.get,b.has=b.has,b.set=b.set,p=function(x,F){if(b.has(x))throw new d(c);return F.facade=x,b.set(x,F),F},m=function(x){return b.get(x)||{}},h=function(x){return b.has(x)}):(D=s("state"),l[D]=!0,p=function(x,F){if(o(x,D))throw new d(c);return F.facade=x,i(x,D,F),F},m=function(x){return o(x,D)?x[D]:{}},h=function(x){return o(x,D)});var b,D;t.exports={set:p,get:m,has:h,enforce:v,getterFor:g}}),Gh=y(function(e,t){var r=Xt(),a=qt(),n=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,o=a(n,"name"),u=o&&(function(){}).name==="something",s=o&&(!r||r&&i(n,"name").configurable);t.exports={EXISTS:o,PROPER:u,CONFIGURABLE:s}}),Wh=y(function(e){var t=Xt(),r=ks(),a=Ya(),n=mr(),i=ta(),o=Ms();e.f=t&&!r?Object.defineProperties:function(s,l){n(s);for(var c=i(l),d=o(l),f=d.length,p=0,m;f>p;)a.f(s,m=d[p++],c[m]);return s}}),Yh=y(function(e,t){var r=Ei();t.exports=r("document","documentElement")}),Ps=y(function(e,t){var r=mr(),a=Wh(),n=Os(),i=Mi(),o=Yh(),u=Fs(),s=ki(),l=">",c="<",d="prototype",f="script",p=s("IE_PROTO"),m=function(){},h=function(x){return c+f+l+x+c+"/"+f+l},v=function(x){x.write(h("")),x.close();var F=x.parentWindow.Object;return x=null,F},g=function(){var x=u("iframe"),F="java"+f+":",R;return x.style.display="none",o.appendChild(x),x.src=String(F),R=x.contentWindow.document,R.open(),R.write(h("document.F=Object")),R.close(),R.F},b,D=function(){try{b=new ActiveXObject("htmlfile")}catch{}D=typeof M<"u"?M.domain&&b?v(b):g():v(b);for(var x=n.length;x--;)delete D[d][n[x]];return D()};i[p]=!0,t.exports=Object.create||function(x,F){var R;return x!==null?(m[d]=r(x),R=new m,m[d]=null,R[p]=x):R=D(),F===void 0?R:a.f(R,F)}}),Ns=y(function(e,t){var r=aa();t.exports=function(a,n,i,o){return o&&o.enumerable?a[n]=i:r(a,n,i),a}}),Ls=y(function(e,t){var r=_t(),a=rt(),n=Rr(),i=Ps(),o=Si(),u=Ns(),s=jt(),l=Ci(),c=s("iterator"),d=!1,f,p,m;[].keys&&(m=[].keys(),"next"in m?(p=o(o(m)),p!==Object.prototype&&(f=p)):d=!0);var h=!n(f)||r(function(){var v={};return f[c].call(v)!==v});h?f={}:l&&(f=i(f)),a(f[c])||u(f,c,function(){return this}),t.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:d}}),Kh=y(function(e,t){var r=Ii(),a=Xa();t.exports=r?{}.toString:function(){return"[object "+a(this)+"]"}}),Bs=y(function(e,t){var r=Ii(),a=Ya().f,n=aa(),i=qt(),o=Kh(),u=jt(),s=u("toStringTag");t.exports=function(l,c,d,f){if(l){var p=d?l:l.prototype;i(p,s)||a(p,s,{configurable:!0,value:c}),f&&!r&&n(p,"toString",o)}}}),Za=y(function(e,t){t.exports={}}),Xh=y(function(e,t){var r=Ls().IteratorPrototype,a=Ps(),n=Ga(),i=Bs(),o=Za(),u=function(){return this};t.exports=function(s,l,c,d){var f=l+" Iterator";return s.prototype=a(r,{next:n(+!d,c)}),i(s,f,!1,!0),o[f]=u,s}}),Zh=y(function(e,t){var r=ht(),a=Wa();t.exports=function(n,i,o){try{return r(a(Object.getOwnPropertyDescriptor(n,i)[o]))}catch{}}}),Jh=y(function(e,t){var r=rt(),a=String,n=TypeError;t.exports=function(i){if(O(i)=="object"||r(i))return i;throw new n("Can't set "+a(i)+" as a prototype")}}),Qh=y(function(e,t){var r=Zh(),a=mr(),n=Jh();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,o={},u;try{u=r(Object.prototype,"__proto__","set"),u(o,[]),i=o instanceof Array}catch{}return function(l,c){return a(l),n(c),i?u(l,c):l.__proto__=c,l}}():void 0)}),ev=y(function(e,t){var r=Ka(),a=pr(),n=Ci(),i=Gh(),o=rt(),u=Xh(),s=Si(),l=Qh(),c=Bs(),d=aa(),f=Ns(),p=jt(),m=Za(),h=Ls(),v=i.PROPER,g=i.CONFIGURABLE,b=h.IteratorPrototype,D=h.BUGGY_SAFARI_ITERATORS,w=p("iterator"),x="keys",F="values",R="entries",P=function(){return this};t.exports=function(V,k,L,z,H,Q,ie){u(L,k,z);var Y=function(pe){if(pe===H&&U)return U;if(!D&&pe&&pe in Z)return Z[pe];switch(pe){case x:return function(){return new L(this,pe)};case F:return function(){return new L(this,pe)};case R:return function(){return new L(this,pe)}}return function(){return new L(this)}},te=k+" Iterator",B=!1,Z=V.prototype,A=Z[w]||Z["@@iterator"]||H&&Z[H],U=!D&&A||Y(H),N=k==="Array"&&Z.entries||A,G,ae,W;if(N&&(G=s(N.call(new V)),G!==Object.prototype&&G.next&&(!n&&s(G)!==b&&(l?l(G,b):o(G[w])||f(G,w,P)),c(G,te,!0,!0),n&&(m[te]=P))),v&&H===F&&A&&A.name!==F&&(!n&&g?d(Z,"name",F):(B=!0,U=function(){return a(A,this)})),H)if(ae={values:Y(F),keys:Q?U:Y(x),entries:Y(R)},ie)for(W in ae)(D||B||!(W in Z))&&f(Z,W,ae[W]);else r({target:k,proto:!0,forced:D||B},ae);return(!n||ie)&&Z[w]!==U&&f(Z,w,U,{name:H}),m[k]=U,ae}}),tv=y(function(e,t){t.exports=function(r,a){return{value:r,done:a}}}),rv=y(function(){var e=Hh().charAt,t=Is(),r=Uh(),a=ev(),n=tv(),i="String Iterator",o=r.set,u=r.getterFor(i);a(String,"String",function(s){o(this,{type:i,string:t(s),index:0})},function(){var l=u(this),c=l.string,d=l.index,f;return d>=c.length?n(void 0,!0):(f=e(c,d),l.index+=f.length,n(f,!1))})}),av=y(function(e,t){var r=pr(),a=mr(),n=Ai();t.exports=function(i,o,u){var s,l;a(i);try{if(s=n(i,"return"),!s){if(o==="throw")throw u;return u}s=r(s,i)}catch(c){l=!0,s=c}if(o==="throw")throw u;if(l)throw s;return a(s),u}}),nv=y(function(e,t){var r=mr(),a=av();t.exports=function(n,i,o,u){try{return u?i(r(o)[0],o[1]):i(o)}catch(s){a(n,"throw",s)}}}),iv=y(function(e,t){var r=jt(),a=Za(),n=r("iterator"),i=Array.prototype;t.exports=function(o){return o!==void 0&&(a.Array===o||i[n]===o)}}),ov=y(function(e,t){var r=ht(),a=rt(),n=Fi(),i=r(Function.toString);a(n.inspectSource)||(n.inspectSource=function(o){return i(o)}),t.exports=n.inspectSource}),uv=y(function(e,t){var r=ht(),a=_t(),n=rt(),i=Xa(),o=Ei(),u=ov(),s=function(){},l=[],c=o("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),p=!d.test(s),m=function(g){if(!n(g))return!1;try{return c(s,l,g),!0}catch{return!1}},h=function(g){if(!n(g))return!1;switch(i(g)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(d,u(g))}catch{return!0}};h.sham=!0,t.exports=!c||a(function(){var v;return m(m.call)||!m(Object)||!m(function(){v=!0})||v})?h:m}),sv=y(function(e,t){var r=Ri(),a=Ya(),n=Ga();t.exports=function(i,o,u){var s=r(o);s in i?a.f(i,s,n(0,u)):i[s]=u}}),qs=y(function(e,t){var r=Xa(),a=Ai(),n=_i(),i=Za(),o=jt(),u=o("iterator");t.exports=function(s){if(!n(s))return a(s,u)||a(s,"@@iterator")||i[r(s)]}}),lv=y(function(e,t){var r=pr(),a=Wa(),n=mr(),i=Es(),o=qs(),u=TypeError;t.exports=function(s,l){var c=arguments.length<2?o(s):l;if(a(c))return n(r(c,s));throw new u(i(s)+" is not iterable")}}),cv=y(function(e,t){var r=Rs(),a=pr(),n=Ti(),i=nv(),o=iv(),u=uv(),s=Ss(),l=sv(),c=lv(),d=qs(),f=Array;t.exports=function(m){var h=n(m),v=u(this),g=arguments.length,b=g>1?arguments[1]:void 0,D=b!==void 0;D&&(b=r(b,g>2?arguments[2]:void 0));var w=d(h),x=0,F,R,P,V,k,L;if(w&&!(this===f&&o(w)))for(V=c(h,w),k=V.next,R=v?new this:[];!(P=a(k,V)).done;x++)L=D?i(V,b,[P.value,x],!0):P.value,l(R,x,L);else for(F=s(h),R=v?new this(F):f(F);F>x;x++)L=D?b(h[x],x):h[x],l(R,x,L);return R.length=x,R}}),dv=y(function(e,t){var r=jt(),a=r("iterator"),n=!1;try{i=0,o={next:function(){return{done:!!i++}},return:function(){n=!0}},o[a]=function(){return this},Array.from(o,function(){throw 2})}catch{}var i,o;t.exports=function(u,s){try{if(!s&&!n)return!1}catch{return!1}var l=!1;try{var c={};c[a]=function(){return{next:function(){return{done:l=!0}}}},u(c)}catch{}return l}}),fv=y(function(){var e=Ka(),t=cv(),r=dv(),a=!r(function(n){Array.from(n)});e({target:"Array",stat:!0,forced:a},{from:t})}),pv=y(function(e,t){rv(),fv();var r=ra();t.exports=r.Array.from}),mv=y(function(e,t){var r=pv();t.exports=r}),js=y(function(e,t){var r=mv();t.exports=r}),zs=y(function(e,t){(function(){var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};(function(){if((typeof globalThis>"u"?"undefined":O(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{E.globalThis=function(){if(typeof self<"u")return self;if(typeof E<"u")return E;if(typeof et<"u")return et;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")}()}})(),r.encodeHTMLSource=function(u){var s={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},l=u?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(c){return c?c.toString().replace(l,function(d){return s[d]||d}):""}},typeof t<"u"&&t.exports?t.exports=r:globalThis.doT=r;var a={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},n=/$^/;function i(u,s,l){return(typeof s=="string"?s:s.toString()).replace(u.define||n,function(c,d,f,p){return d.indexOf("def.")===0&&(d=d.substring(4)),d in l||(f===":"?(u.defineParams&&p.replace(u.defineParams,function(m,h,v){l[d]={arg:h,text:v}}),d in l||(l[d]=p)):new Function("def","def['"+d+"']="+p)(l)),""}).replace(u.use||n,function(c,d){u.useParams&&(d=d.replace(u.useParams,function(p,m,h,v){if(l[h]&&l[h].arg&&v){var g=(h+":"+v).replace(/'|\\/g,"_");return l.__exp=l.__exp||{},l.__exp[g]=l[h].text.replace(new RegExp("(^|[^\\w$])"+l[h].arg+"([^\\w$])","g"),"$1"+v+"$2"),m+"def.__exp['"+g+"']"}}));var f=new Function("def","return "+d)(l);return f&&i(u,f,l)})}function o(u){return u.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(u,s,l){s=s||r.templateSettings;var c=s.append?a.append:a.split,d,f=0,p,m=s.use||s.define?i(s,u,l||{}):u;m=("var out='"+(s.strip?m.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):m).replace(/'|\\/g,"\\$&").replace(s.interpolate||n,function(h,v){return c.start+o(v)+c.end}).replace(s.encode||n,function(h,v){return d=!0,c.startencode+o(v)+c.end}).replace(s.conditional||n,function(h,v,g){return v?g?"';}else if("+o(g)+"){out+='":"';}else{out+='":g?"';if("+o(g)+"){out+='":"';}out+='"}).replace(s.iterate||n,function(h,v,g,b){return v?(f+=1,p=b||"i"+f,v=o(v),"';var arr"+f+"="+v+";if(arr"+f+"){var "+g+","+p+"=-1,l"+f+"=arr"+f+".length-1;while("+p+"",sameOrigin:""};hv.forEach(function(e){var t=e.name,r=e.value,a=e.priority,n=e.group;xt[t]=r,xt[t+"_PRIO"]=a,xt[t+"_GROUP"]=n,xt.results[a]=r,xt.resultGroups[a]=n,xt.resultGroupMap[r]=n}),Object.freeze(xt.results),Object.freeze(xt.resultGroups),Object.freeze(xt.resultGroupMap),Object.freeze(xt);var ce=xt;function vv(){(typeof console>"u"?"undefined":O(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}var hr=vv,gv=/[\t\r\n\f]/g,bv=function(){function e(){Tt(this,e),this.parent=void 0}return Rt(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(r){var a=this.attr("class");if(!a)return!1;var n=" "+r+" ";return(" "+a+" ").replace(gv," ").indexOf(n)>=0}}])}(),He=bv,Pi={};Dt(Pi,{DqElement:function(){return zt},aggregate:function(){return Ja},aggregateChecks:function(){return $s},aggregateNodeResults:function(){return Us},aggregateResult:function(){return Gs},areStylesSet:function(){return Av},assert:function(){return me},checkHelper:function(){return zi},clone:function(){return Vt},closest:function(){return ut},collectResultsFromFrames:function(){return xl},contains:function(){return Ht},convertSelector:function(){return nn},cssParser:function(){return al},deepMerge:function(){return to},escapeSelector:function(){return Re},extendMetaData:function(){return ro},filterHtmlAttrs:function(){return Y1},finalizeRuleResult:function(){return na},findBy:function(){return fa},getAllChecks:function(){return cn},getAncestry:function(){return an},getBaseLang:function(){return Cr},getCheckMessage:function(){return Uw},getCheckOption:function(){return Xn},getEnvironmentData:function(){return ir},getFlattenedTree:function(){return fu},getFrameContexts:function(){return sD},getFriendlyUriEnd:function(){return Ks},getNodeAttributes:function(){return en},getNodeFromTree:function(){return se},getPreloadConfig:function(){return $1},getRootNode:function(){return pa},getRule:function(){return T1},getScroll:function(){return Gt},getScrollState:function(){return dD},getSelector:function(){return ji},getSelectorData:function(){return rn},getShadowSelector:function(){return Li},getStandards:function(){return fD},getStyleSheetFactory:function(){return S1},getXpath:function(){return tl},injectStyle:function(){return hD},isArrayLike:function(){return gu},isContextObject:function(){return bu},isContextProp:function(){return Jn},isContextSpec:function(){return O1},isHidden:function(){return vD},isHtmlElement:function(){return wu},isLabelledFramesSelector:function(){return yu},isLabelledShadowDomSelector:function(){return Qn},isNodeInContext:function(){return Du},isShadowRoot:function(){return fn},isValidLang:function(){return ri},isXHTML:function(){return tn},matchAncestry:function(){return _u},matches:function(){return Hi},matchesExpression:function(){return Sr},matchesSelector:function(){return kr},memoize:function(){return ke},mergeResults:function(){return dn},nodeLookup:function(){return ye},nodeSerializer:function(){return vt},nodeSorter:function(){return xu},objectHasOwn:function(){return Nt},parseCrossOriginStylesheet:function(){return Au},parseSameOriginStylesheet:function(){return P1},parseStylesheet:function(){return Eu},performanceTimer:function(){return Be},pollyfillElementsFromPoint:function(){return N1},preload:function(){return V1},preloadCssom:function(){return B1},preloadMedia:function(){return z1},processMessage:function(){return vu},publishMetaData:function(){return ei},querySelectorAll:function(){return pt},querySelectorAllFilter:function(){return Lt},queue:function(){return St},respondable:function(){return Et},ruleShouldRun:function(){return W1},select:function(){return Cu},sendCommandToFrame:function(){return yl},setScrollState:function(){return WD},shadowSelect:function(){return YD},shadowSelectAll:function(){return Fu},shouldPreload:function(){return H1},toArray:function(){return Ys},tokenList:function(){return Xe},uniqueArray:function(){return Ma},uuid:function(){return hg},validInputTypes:function(){return ti},validLangs:function(){return Q1}});function yv(e,t,r){t=t.slice(),r&&t.push(r);var a=t.map(function(n){return e.indexOf(n)}).sort();return e[a.pop()]}var Ja=yv,wv=ce.CANTTELL_PRIO,Dv=ce.FAIL_PRIO,Qa=[];Qa[ce.PASS_PRIO]=!0,Qa[ce.CANTTELL_PRIO]=null,Qa[ce.FAIL_PRIO]=!1;var Vs=["any","all","none"];function Hs(e,t){return Vs.reduce(function(r,a){return r[a]=(e[a]||[]).map(function(n){return t(n,a)}),r},{})}function _v(e){var t=Object.assign({},e);Hs(t,function(n,i){var o=typeof n.result>"u"?-1:Qa.indexOf(n.result);n.priority=o!==-1?o:ce.CANTTELL_PRIO,i==="none"&&(n.priority===ce.PASS_PRIO?n.priority=ce.FAIL_PRIO:n.priority===ce.FAIL_PRIO&&(n.priority=ce.PASS_PRIO))});var r={all:t.all.reduce(function(n,i){return Math.max(n,i.priority)},0),none:t.none.reduce(function(n,i){return Math.max(n,i.priority)},0),any:t.any.reduce(function(n,i){return Math.min(n,i.priority)},4)%4};t.priority=Math.max(r.all,r.none,r.any);var a=[];return Vs.forEach(function(n){t[n]=t[n].filter(function(i){return i.priority===t.priority&&i.priority===r[n]}),t[n].forEach(function(i){return a.push(i.impact)})}),[wv,Dv].includes(t.priority)?t.impact=Ja(ce.impact,a):t.impact=null,Hs(t,function(n){delete n.result,delete n.priority}),t.result=ce.results[t.priority],delete t.priority,t}var $s=_v;function na(e){var t=_._audit.rules.find(function(r){var a=r.id;return a===e.id});return t&&t.impact&&e.nodes.forEach(function(r){["any","all","none"].forEach(function(a){(r[a]||[]).forEach(function(n){n.impact=t.impact})})}),Object.assign(e,Us(e.nodes)),delete e.nodes,e}function xv(e){var t={};if(e=e.map(function(i){if(i.any&&i.all&&i.none)return $s(i);if(Array.isArray(i.node))return na(i);throw new TypeError("Invalid Result type")}),e&&e.length){var r=e.map(function(i){return i.result});t.result=Ja(ce.results,r,t.result)}else t.result="inapplicable";ce.resultGroups.forEach(function(i){return t[i]=[]}),e.forEach(function(i){var o=ce.resultGroupMap[i.result];t[o].push(i)});var a=ce.FAIL_GROUP;if(t[a].length===0&&(a=ce.CANTTELL_GROUP),t[a].length>0){var n=t[a].map(function(i){return i.impact});t.impact=Ja(ce.impact,n)||null}else t.impact=null;return t}var Us=xv;function Ni(e,t,r){var a=Object.assign({},t);a.nodes=(a[r]||[]).concat(),ce.resultGroups.forEach(function(n){delete a[n]}),e[r].push(a)}function Ev(e){var t={};return ce.resultGroups.forEach(function(r){return t[r]=[]}),e.forEach(function(r){r.error?Ni(t,r,ce.CANTTELL_GROUP):r.result===ce.NA?Ni(t,r,ce.NA_GROUP):ce.resultGroups.forEach(function(a){Array.isArray(r[a])&&r[a].length>0&&Ni(t,r,a)})}),t}var Gs=Ev;function Ws(e,t,r){var a=E.getComputedStyle(e,null);if(!a)return!1;for(var n=0;n=1&&n<=31||n==127||a==0&&n>=48&&n<=57||a==1&&n>=48&&n<=57&&o==45){i+="\\"+n.toString(16)+" ";continue}if(a==0&&r==1&&n==45){i+="\\"+t.charAt(a);continue}if(n>=128||n==45||n==95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(a);continue}i+="\\"+t.charAt(a)}return i}var Re=Tv;function Rv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e.length!==0&&(e.match(/[0-9]/g)||"").length>=e.length/2}function ia(e,t){return[e.substring(0,t),e.substring(t)]}function oa(e){return e.replace(/\s+$/,"")}function kv(e){var t=e,r="",a="",n="",i="",o="",u="";if(e.includes("#")){var s=ia(e,e.indexOf("#")),l=$(s,2);e=l[0],u=l[1]}if(e.includes("?")){var c=ia(e,e.indexOf("?")),d=$(c,2);e=d[0],o=d[1]}if(e.includes("://")){var f=e.split("://"),p=$(f,2);r=p[0],e=p[1];var m=ia(e,e.indexOf("/")),h=$(m,2);a=h[0],e=h[1]}else if(e.substr(0,2)==="//"){e=e.substr(2);var v=ia(e,e.indexOf("/")),g=$(v,2);a=g[0],e=g[1]}if(a.substr(0,4)==="www."&&(a=a.substr(4)),a&&a.includes(":")){var b=ia(a,a.indexOf(":")),D=$(b,2);a=D[0],n=D[1]}return i=e,{original:t,protocol:r,domain:a,port:n,path:i,query:o,hash:u}}function Sv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(e.length<=1||e.substr(0,5)==="data:"||e.substr(0,11)==="javascript:"||e.includes("?"))){var r=t.currentDomain,a=t.maxLength,n=a===void 0?25:a,i=kv(e),o=i.path,u=i.domain,s=i.hash,l=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=n?oa(l+s):l.length<2&&s.length>2&&s.length<=n?oa(s):void 0;if(u&&u.length1)&&(c!==-1||l.length>2)&&l.length<=n&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!Rv(l))return oa(l)}}var Ks=Sv;function Ov(e){return e.attributes instanceof E.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes}var en=Ov,Mv=function(){var e;function t(r){var a=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],n=a.length,i,o;for(i=0;i2&&arguments[2]!==void 0?arguments[2]:{};if(!t)return"";var a=t.getRootNode&&t.getRootNode()||M;if(a.nodeType!==11)return e(t,r,a);for(var n=[];a.nodeType===11;){if(!a.host)return"";n.unshift({elm:t,doc:a}),t=a.host,a=t.getRootNode()}return n.unshift({elm:t,doc:a}),n.map(function(i){return e(i.elm,r,i.doc)})}var Lv=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],Bv=31,qv=/([\\"])/g,jv=/(\r\n|\r|\n)/g;function Bi(e){return e.replace(qv,"\\$1").replace(jv,"\\a ")}function Xs(e,t){var r=t.name,a;if(r.indexOf("href")!==-1||r.indexOf("src")!==-1){var n=Ks(e.getAttribute(r));n?a=Re(t.name)+'$="'+Bi(n)+'"':a=Re(t.name)+'="'+Bi(e.getAttribute(r))+'"'}else a=Re(r)+'="'+Bi(t.value)+'"';return a}function qi(e,t){return e.count "+i:i=u,o?o=o.filter(function(s){return kr(s,i)}):o=Array.from(r.querySelectorAll(i)),e=e.parentElement}while((o.length>1||n)&&e&&e.nodeType!==11);return o.length===1?i:i.indexOf(" > ")!==-1?":root"+i.substring(i.indexOf(" > ")):":root"}function ji(e,t){return Li(Gv,e,t)}function Qs(e){var t=e.nodeName.toLowerCase(),r=e.parentElement;if(!r)return t;var a="";if(t!=="head"&&t!=="body"&&r.children.length>1){var n=Array.prototype.indexOf.call(r.children,e)+1;a=":nth-child(".concat(n,")")}return Qs(r)+" > "+t+a}function an(e,t){return Li(Qs,e,t)}function el(e,t){var r,a;if(!e)return[];if(!t&&e.nodeType===9)return t=[{str:"html"}],t;if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=el(e.parentNode,t)),e.previousSibling){a=1,r=e.previousSibling;do r.nodeType===1&&r.nodeName===e.nodeName&&a++,r=r.previousSibling;while(r);a===1&&(a=null)}else if(e.nextSibling){r=e.nextSibling;do r.nodeType===1&&r.nodeName===e.nodeName?(a=1,r=null):(a=null,r=r.previousSibling);while(r)}if(e.nodeType===1){var n={};n.str=e.nodeName.toLowerCase();var i=e.getAttribute&&Re(e.getAttribute("id"));i&&e.ownerDocument.querySelectorAll("#"+i).length===1&&(n.id=e.getAttribute("id")),a>1&&(n.count=a),t.push(n)}return t}function Wv(e){return e.reduce(function(t,r){return r.id?"/".concat(r.str,"[@id='").concat(r.id,"']"):t+"/".concat(r.str)+(r.count>0?"[".concat(r.count,"]"):"")},"")}function Yv(e){var t=el(e);return Wv(t)}var tl=Yv,ua={},Kv={set:function(t,r){Xv(t),ua[t]=r},get:function(t,r){if(Zv(r),t in ua)return ua[t];if(typeof r=="function"){var a=r();return me(a!==void 0,"Cache creator function should not return undefined"),this.set(t,a),ua[t]}},clear:function(){ua={}}};function Xv(e){me(typeof e=="string","key must be a string, "+O(e)+" given"),me(e!=="","key must not be empty")}function Zv(e){me(typeof e=="function"||typeof e>"u","creator must be a function or undefined, "+O(e)+" given")}var ue=Kv;function Jv(e,t){var r=t||e;return ue.get("nodeMap")?ue.get("nodeMap").get(r):null}var se=Jv,rl="DqElm.RunOptions";function Qv(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}function eg(e){if(!(e!=null&&e.outerHTML))return"";var t=e.outerHTML;return!t&&typeof E.XMLSerializer=="function"&&(t=new E.XMLSerializer().serializeToString(e)),Qv(t||"")}var vr=ke(function(t,r,a){var n,i,o,u;if((n=r)!==null&&n!==void 0||(r=null),(i=a)!==null&&i!==void 0||(a={}),!r){var s;r=(s=ue.get(rl))!==null&&s!==void 0?s:{}}if(this.spec=a,t instanceof He?(this._virtualNode=t,this._element=t.actualNode):(this._element=t,this._virtualNode=se(t)),this.fromFrame=((o=this.spec.selector)===null||o===void 0?void 0:o.length)>1,this._includeElementInJson=r.elementRef,r.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((u=this._virtualNode)===null||u===void 0?void 0:u.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!_._audit.noHtml){var l;this.source=(l=this.spec.source)!==null&&l!==void 0?l:eg(this._element)}return this});vr.prototype={get selector(){return this.spec.selector||[ji(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[an(this.element)]},get xpath(){return this.spec.xpath||[tl(this.element)]},get element(){return this._element},toJSON:function(){var t={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(t.element=this._element),t}},vr.fromFrame=function(t,r,a){var n=vr.mergeSpecs(t,a);return new vr(a.element,r,n)},vr.mergeSpecs=function(t,r){return de({},t,{selector:[].concat(ne(r.selector),ne(t.selector)),ancestry:[].concat(ne(r.ancestry),ne(t.ancestry)),xpath:[].concat(ne(r.xpath),ne(t.xpath)),nodeIndexes:[].concat(ne(r.nodeIndexes),ne(t.nodeIndexes)),fromFrame:!0})},vr.setRunOptions=function(t){var r=t.elementRef,a=t.absolutePaths;ue.set(rl,{elementRef:r,absolutePaths:a})};var zt=vr;function tg(e,t,r,a){return{isAsync:!1,async:function(){return this.isAsync=!0,function(i){i instanceof Error?a(i):(e.result=i,r(e))}},data:function(i){e.data=i},relatedNodes:function(i){E.Node&&(i instanceof E.Node||i instanceof He?i=[i]:i=Ys(i),e.relatedNodes=[],i.forEach(function(o){if(o instanceof He&&(o=o.actualNode),o instanceof E.Node){var u=new zt(o);e.relatedNodes.push(u)}}))}}}var zi=tg;function Vt(e){return Vi(e,new Map)}function Vi(e,t){var r,a;if(e===null||O(e)!=="object"||(r=E)!==null&&r!==void 0&&r.Node&&e instanceof E.Node||(a=E)!==null&&a!==void 0&&a.HTMLCollection&&e instanceof E.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var n=[];return t.set(e,n),e.forEach(function(u){n.push(Vi(u,t))}),n}var i={};t.set(e,i);for(var o in e)i[o]=Vi(e[o],t);return i}var rg=ot(gs()),sa=new rg.CssSelectorParser;sa.registerSelectorPseudos("not"),sa.registerSelectorPseudos("is"),sa.registerNestingOperators(">"),sa.registerAttrEqualityMods("^","$","*","~");var al=sa;function Hi(e,t){var r=nn(t);return r.some(function(a){return Sr(e,a)})}function ag(e,t){return e.props.nodeType===1&&(t.tag==="*"||e.props.nodeName===t.tag)}function ng(e,t){return!t.classes||t.classes.every(function(r){return e.hasClass(r.value)})}function ig(e,t){return!t.attributes||t.attributes.every(function(r){var a=e.attr(r.key);return a!==null&&r.test(a)})}function og(e,t){return!t.id||e.props.id===t.id}function ug(e,t){return!!(!t.pseudos||t.pseudos.every(function(r){if(r.name==="not")return!r.expressions.some(function(a){return Sr(e,a)});if(r.name==="is")return r.expressions.some(function(a){return Sr(e,a)});throw new Error("the pseudo selector "+r.name+" has not yet been implemented")}))}function nl(e,t){return ag(e,t)&&ng(e,t)&&ig(e,t)&&og(e,t)&&ug(e,t)}var la=function(){var e=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,t="\\";return function(r){return r.replace(e,t)}}(),$i=/\\/g;function sg(e){if(e)return e.map(function(t){var r=t.name.replace($i,""),a=(t.value||"").replace($i,""),n,i;switch(t.operator){case"^=":i=new RegExp("^"+la(a));break;case"$=":i=new RegExp(la(a)+"$");break;case"~=":i=new RegExp("(^|\\s)"+la(a)+"(\\s|$)");break;case"|=":i=new RegExp("^"+la(a)+"(-|$)");break;case"=":n=function(u){return a===u};break;case"*=":n=function(u){return u&&u.includes(a)};break;case"!=":n=function(u){return a!==u};break;default:n=function(u){return u!==null}}return a===""&&/^[*$^]=$/.test(t.operator)&&(n=function(){return!1}),n||(n=function(u){return u&&i.test(u)}),{key:r,value:a,type:typeof t.value>"u"?"attrExist":"attrValue",test:n}})}function lg(e){if(e)return e.map(function(t){return t=t.replace($i,""),{value:t,regexp:new RegExp("(^|\\s)"+la(t)+"(\\s|$)")}})}function cg(e){if(e)return e.map(function(t){var r;return["is","not"].includes(t.name)&&(r=t.value,r=r.selectors?r.selectors:[r],r=il(r)),{name:t.name,expressions:r,value:t.value}})}function il(e){return e.map(function(t){for(var r=[],a=t.rule;a;)r.push({tag:a.tagName?a.tagName.toLowerCase():"*",combinator:a.nestingOperator?a.nestingOperator:" ",id:a.id,attributes:sg(a.attrs),classes:lg(a.classNames),pseudos:cg(a.pseudos)}),a=a.rule;return r})}function nn(e){var t=al.parse(e);return t=t.selectors?t.selectors:[t],il(t)}function ol(e,t,r,a){if(!e)return!1;for(var n=Array.isArray(t),i=n?t[r]:t,o=nl(e,i);!o&&a&&e.parent;)e=e.parent,o=nl(e,i);if(r>0){if([" ",">"].includes(i.combinator)===!1)throw new Error("axe.utils.matchesExpression does not support the combinator: "+i.combinator);o=o&&ol(e.parent,t,r-1,i.combinator===" ")}return o}function Sr(e,t,r){return ol(e,t,t.length-1,r)}function dg(e,t){for(;e;){if(Hi(e,t))return e;if(typeof e.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null}var ut=dg;function on(){}function Ui(e){if(typeof e!="function")throw new TypeError("Queue methods require functions as arguments")}function fg(){var e=[],t=0,r=0,a=on,n=!1,i,o=function(p){i=p,setTimeout(function(){i!=null&&hr("Uncaught error (of queue)",i)},1)},u=o;function s(f){return function(p){e[f]=p,r-=1,!r&&a!==on&&(n=!0,a(e))}}function l(f){return a=on,u(f),e}function c(){for(var f=e.length;t>>((t&3)<<3)&255;return sl}}for(var ll=typeof E.Buffer=="function"?E.Buffer:Array,Wi=[],cl={},Ir=0;Ir<256;Ir++)Wi[Ir]=(Ir+256).toString(16).substr(1),cl[Wi[Ir]]=Ir;function pg(e,t,r){var a=t&&r||0,n=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,function(i){n<16&&(t[a+n++]=cl[i])});n<16;)t[a+n++]=0;return t}function Yi(e,t){var r=t||0,a=Wi;return a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+"-"+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]+a[e[r++]]}var Zt=Mr(),mg=[Zt[0]|1,Zt[1],Zt[2],Zt[3],Zt[4],Zt[5]],dl=(Zt[6]<<8|Zt[7])&16383,Ki=0,Xi=0;function fl(e,t,r){var a=t&&r||0,n=t||[];e=e||{};var i=e.clockseq!=null?e.clockseq:dl,o=e.msecs!=null?e.msecs:new Date().getTime(),u=e.nsecs!=null?e.nsecs:Xi+1,s=o-Ki+(u-Xi)/1e4;if(s<0&&e.clockseq==null&&(i=i+1&16383),(s<0||o>Ki)&&e.nsecs==null&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ki=o,Xi=u,dl=i,o+=122192928e5;var l=((o&268435455)*1e4+u)%4294967296;n[a++]=l>>>24&255,n[a++]=l>>>16&255,n[a++]=l>>>8&255,n[a++]=l&255;var c=o/4294967296*1e4&268435455;n[a++]=c>>>8&255,n[a++]=c&255,n[a++]=c>>>24&15|16,n[a++]=c>>>16&255,n[a++]=i>>>8|128,n[a++]=i&255;for(var d=e.node||mg,f=0;f<6;f++)n[a+f]=d[f];return t||Yi(n)}function gr(e,t,r){var a=t&&r||0;typeof e=="string"&&(t=e=="binary"?new ll(16):null,e=null),e=e||{};var n=e.random||(e.rng||Mr)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t)for(var i=0;i<16;i++)t[a+i]=n[i];return t||Yi(n)}Or=gr,Or.v1=fl,Or.v4=gr,Or.parse=pg,Or.unparse=Yi,Or.BufferClass=ll,_._uuid=fl();var hg=gr,vg=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function gg(e){var t=e.topic,r=e.channelId,a=e.message,n=e.messageId,i=e.keepalive,o={channelId:r,topic:t,messageId:n,keepalive:!!i,source:pl()};return a instanceof Error?o.error={name:a.name,message:a.message,stack:a.stack}:o.payload=a,JSON.stringify(o)}function bg(e){var t;try{t=JSON.parse(e)}catch{return}if(yg(t)){var r=t,a=r.topic,n=r.channelId,i=r.messageId,o=r.keepalive,u=O(t.error)==="object"?wg(t.error):t.payload;return{topic:a,message:u,messageId:i,channelId:n,keepalive:!!o}}}function yg(e){return e!==null&&O(e)==="object"&&typeof e.channelId=="string"&&e.source===pl()}function wg(e){var t=e.message||"Unknown error occurred",r=vg.includes(e.name)?e.name:"Error",a=E[r]||Error;return e.stack&&(t+=` +`+e.stack.replace(e.message,"")),new a(t)}function pl(){var e="axeAPI",t="";return typeof _<"u"&&_._audit&&_._audit.application&&(e=_._audit.application),typeof _<"u"&&(t=_.version),e+"."+t}function Zi(e){hl(e),me(E.parent===e,"Source of the response must be the parent window.")}function ml(e){hl(e),me(e.parent===E,"Respondable target must be a frame in the current window")}function hl(e){me(E!==e,"Messages can not be sent to the same window.")}var un={};function Dg(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;me(!un[e],"A replyHandler already exists for this message channel."),un[e]={replyHandler:t,sendToParent:r}}function _g(e){return un[e]}function xg(e){delete un[e]}var sn=[];function Ji(){var e="".concat(gr(),":").concat(gr());return sn.includes(e)?Ji():(sn.push(e),e)}function Eg(e){return sn.includes(e)?!1:(sn.push(e),!0)}function Qi(e,t,r,a){if(r?Zi(e):ml(e),t.message instanceof Error&&!r)return _.log(t.message),!1;var n=gg(de({messageId:Ji()},t)),i=_._audit.allowedOrigins;return!i||!i.length?!1:(typeof a=="function"&&Dg(t.channelId,a,r),i.forEach(function(o){try{e.postMessage(n,o)}catch(u){throw u instanceof e.DOMException?new Error('allowedOrigins value "'.concat(o,'" is not a valid origin')):u}}),!0)}function Ag(e,t,r){if(!e.parent!==E)return _.log(t);try{Qi(e,{topic:null,channelId:r,message:t,messageId:Ji(),keepalive:!0},!0)}catch(a){return _.log(a)}}function vl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return function(n,i,o){var u={channelId:t,message:n,keepalive:i};Qi(e,u,r,o)}}function Cg(e){var t=_._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}function Fg(e,t){var r=e.origin,a=e.data,n=e.source;try{var i=bg(a)||{},o=i.channelId,u=i.message,s=i.messageId;if(!Cg(r)||!Eg(s))return;if(u instanceof Error&&n.parent!==E)return _.log(u),!1;try{if(i.topic){var l=vl(n,o);Zi(n),t(i,l)}else Tg(n,i)}catch(c){Ag(n,c,o)}}catch(c){return _.log(c),!1}}function Tg(e,t){var r=t.channelId,a=t.message,n=t.keepalive,i=_g(r)||{},o=i.replyHandler,u=i.sendToParent;if(o){u?Zi(e):ml(e);var s=vl(e,r,u);!n&&r&&xg(r);try{o(a,n,s)}catch(l){_.log(l),s(l,n)}}}var Rg={open:function(t){if(typeof E.addEventListener=="function"){var r=function(n){Fg(n,t)};return E.addEventListener("message",r,!1),function(){E.removeEventListener("message",r,!1)}}},post:function(t,r,a){return typeof E.addEventListener!="function"?!1:Qi(t,r,!1,a)}};function gl(e){e.updateMessenger(Rg)}var ln,bl,eo={};function Et(e,t,r,a,n){var i={topic:t,message:r,channelId:"".concat(gr(),":").concat(gr()),keepalive:a};return bl(e,i,n)}function kg(e,t){var r=e.topic,a=e.message,n=e.keepalive,i=eo[r];if(i)try{i(a,n,t)}catch(o){_.log(o),t(o,n)}}Et.updateMessenger=function(t){var r=t.open,a=t.post;me(typeof r=="function","open callback must be a function"),me(typeof a=="function","post callback must be a function"),ln&&ln();var n=r(kg);n?(me(typeof n=="function","open callback must return a cleanup function"),ln=n):ln=null,bl=a},Et.subscribe=function(t,r){me(typeof r=="function","Subscriber callback must be a function"),me(!eo[t],"Topic ".concat(t," is already registered to.")),eo[t]=r},Et.isInFrame=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E;return!!t.frameElement},gl(Et);function yl(e,t,r,a){var n,i,o=e.contentWindow,u=(n=(i=t.options)===null||i===void 0?void 0:i.pingWaitTime)!==null&&n!==void 0?n:500;if(!o){hr("Frame does not have a content window",e),r(null);return}if(u===0){wl(e,t,r,a);return}var s=setTimeout(function(){s=setTimeout(function(){t.debug?a(Dl("No response from frame",e)):r(null)},0)},u);Et(o,"axe.ping",null,void 0,function(){clearTimeout(s),wl(e,t,r,a)})}function wl(e,t,r,a){var n,i,o=(n=(i=t.options)===null||i===void 0?void 0:i.frameWaitTime)!==null&&n!==void 0?n:6e4,u=e.contentWindow,s=setTimeout(function(){a(Dl("Axe in frame timed out",e))},o);Et(u,"axe.start",t,void 0,function(l){clearTimeout(s),l instanceof Error?a(l):r(l)})}function Dl(e,t){var r;return _._tree&&(r=ji(t)),new Error(e+": "+(r||t))}var ca=null,da={update:function(t){me(O(t)==="object","serializer must be an object"),ca=t},toSpec:function(t){return da.dqElmToSpec(new zt(t))},dqElmToSpec:function(t,r){var a;return t instanceof zt?(r&&(t=Sg(t,r)),typeof((a=ca)===null||a===void 0?void 0:a.toSpec)=="function"?ca.toSpec(t):t.toJSON()):t},mergeSpecs:function(t,r){var a;return typeof((a=ca)===null||a===void 0?void 0:a.mergeSpecs)=="function"?ca.mergeSpecs(t,r):zt.mergeSpecs(t,r)},mapRawResults:function(t){return t.map(function(r){return de({},r,{nodes:da.mapRawNodeResults(r.nodes)})})},mapRawNodeResults:function(t){return t==null?void 0:t.map(function(r){var a=r.node,n=Le(r,_p);n.node=da.dqElmToSpec(a);for(var i=0,o=["any","all","none"];i0||i===0&&r.selector.length0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=Math.max(e==null?void 0:e.length,t==null?void 0:t.length),a=0;a(t.left|0)&&(e.top|0)<(t.bottom|0)&&(e.bottom|0)>(t.top|0)}var Cl=ke(function(t){var r=[];if(!t)return r;var a=t.getComputedStylePropertyValue("overflow");return a==="hidden"&&r.push(t),r.concat(Cl(t.parent))}),ma=Cl,Gg=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Wg=/(\w+)\((\d+)/;function Fl(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Tl(e){return e.props.nodeName==="area"?!1:e.getComputedStylePropertyValue("display")==="none"}function Rl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return!r&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function kl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;return!!r&&e.getComputedStylePropertyValue("content-visibility")==="hidden"}function Sl(e){return e.attr("aria-hidden")==="true"}function Ol(e){return e.getComputedStylePropertyValue("opacity")==="0"}function Ml(e){var t=Gt(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),a=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(r===0||a===0)}function Il(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return!1;var a=e.getComputedStylePropertyValue("position");if(a==="fixed")return!1;var n=ma(e);if(!n.length)return!1;var i=e.boundingClientRect;return n.some(function(o){if(a==="absolute"&&!Yg(e,o)&&o.getComputedStylePropertyValue("position")==="static")return!1;var u=o.boundingClientRect;return u.width<2||u.height<2?!0:!no(i,u)})}function Pl(e){var t=e.getComputedStylePropertyValue("clip").match(Gg),r=e.getComputedStylePropertyValue("clip-path").match(Wg);if(t&&t.length===5){var a=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case"inset":return i>=50;case"circle":return i===0}}return!1}function io(e,t){var r=ut(e,"map");if(!r)return!0;var a=r.attr("name");if(!a)return!0;var n=pa(e.actualNode);if(!n||n.nodeType!==9)return!0;var i=pt(_._tree,'img[usemap="#'.concat(Re(a),'"]'));return!i||!i.length?!0:i.some(function(o){return!t(o)})}function Nl(e){var t;if(((t=e.parent)===null||t===void 0?void 0:t.props.nodeName)!=="details")return!1;if(e.props.nodeName==="summary"){var r=e.parent.children.find(function(a){return a.props.nodeName==="summary"});if(r===e)return!1}return!e.parent.hasAttr("open")}function Yg(e,t){for(var r=e.parent;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return!0;r=r.parent}return!1}var Kg=[Tl,Rl,kl,Nl];function Jt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor,n=a===void 0?!1:a;return e=ye(e).vNode,r?Ll(e,n):Bl(e,n)}var Ll=ke(function(t,r){return Fl(t)?!0:t.actualNode?!!(Kg.some(function(a){return a(t,{isAncestor:r})})||!t.actualNode.isConnected):!1}),Bl=ke(function(t,r){return Ll(t,r)?!0:t.parent?Bl(t.parent,!0):!1});function ql(e){if(e.assignedSlot)return ql(e.assignedSlot);if(e.parentNode){var t=e.parentNode;if(t.nodeType===1)return t;if(t.host)return t.host}return null}var $e=ql;function Xg(e){if(!e.nodeType&&e.document&&(e=e.document),e.nodeType===9){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}}var jl=Xg;function Zg(e){var t=jl(M),r=t.left,a=t.top,n=e.getBoundingClientRect();return{top:n.top+a,right:n.right+r,bottom:n.bottom+a,left:n.left+r,width:n.right-n.left,height:n.bottom-n.top}}var oo=Zg;function Jg(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var a=t.body;return{width:a.clientWidth,height:a.clientHeight}}var pn=Jg;function Qg(e,t){for(e=$e(e);e&&e.nodeName.toLowerCase()!=="html";){if(e.scrollTop&&(t+=e.scrollTop,t>=0))return!1;e=$e(e)}return!0}function eb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.isAncestor;if(r)return!1;var a=ye(e),n=a.domNode;if(n){var i,o=M.documentElement,u=E.getComputedStyle(n),s=E.getComputedStyle(M.body||o).getPropertyValue("direction"),l=oo(n);if(l.bottom<0&&(Qg(n,l.bottom)||u.position==="absolute"))return!0;if(l.left===0&&l.right===0)return!1;if(s==="ltr"){if(l.right<=0)return!0}else if(i=Math.max(o.scrollWidth,pn(E).width),l.left>=i)return!0;return!1}}var mn=eb,tb=[Ol,Ml,Il,Pl,mn];function st(e){return e=ye(e).vNode,uo(e)}var uo=ke(function(t,r){return t.actualNode&&t.props.nodeName==="area"?!io(t,uo):Jt(t,{skipAncestors:!0,isAncestor:r})||t.actualNode&&tb.some(function(a){return a(t,{isAncestor:r})})?!1:t.parent?uo(t.parent,!0):!0});function hn(e,t){var r=Math.min(e.top,t.top),a=Math.max(e.right,t.right),n=Math.max(e.bottom,t.bottom),i=Math.min(e.left,t.left);return new E.DOMRect(i,r,a-i,n-r)}function vn(e,t){var r=e.x,a=e.y,n=t.top,i=t.right,o=t.bottom,u=t.left;return a>=n&&r<=i&&a<=o&&r>=u}var zl={};Dt(zl,{getBoundingRect:function(){return hn},getIntersectionRect:function(){return gn},getOffset:function(){return Hl},getRectCenter:function(){return ha},hasVisualOverlap:function(){return so},isPointInRect:function(){return vn},rectHasMinimumSize:function(){return $t},rectsOverlap:function(){return no},splitRects:function(){return lo}});function gn(e,t){var r=Math.max(e.left,t.left),a=Math.min(e.right,t.right),n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom);return r>=a||n>=i?null:new E.DOMRect(r,n,a-r,i-n)}function ha(e){var t=e.left,r=e.top,a=e.width,n=e.height;return new E.DOMPoint(t+a/2,r+n/2)}var Vl=.05;function $t(e,t){var r=t.width,a=t.height;return r+Vl>=e&&a+Vl>=e}function Hl(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,a=Dn(e),n=Dn(t);if(!a.length||!n.length)return null;var i=a.reduce(hn),o=ha(i),u=1/0,s=Ee(n),l;try{for(s.s();!(l=s.n()).done;){var c=l.value;if(vn(o,c))return 0;var d=rb(o,c),f=$l(o,d);u=Math.min(u,f)}}catch(g){s.e(g)}finally{s.f()}var p=oc(t);if($t(r*2,p))return u;var m=n.reduce(hn),h=ha(m),v=$l(o,h)-r;return Math.max(0,Math.min(u,v))}function rb(e,t){var r,a;return e.xt.right?r=t.right:r=e.x,e.yt.bottom?a=t.bottom:a=e.y,{x:r,y:a}}function $l(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function so(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.left>=a.right||r.right<=a.left||r.top>=a.bottom||r.bottom<=a.top?!1:go(e,t)>0}function lo(e,t){var r=[e],a=Ee(t),n;try{var i=function(){var u=n.value;if(r=r.reduce(function(s,l){return s.concat(ab(l,u))},[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i()}catch(o){a.e(o)}finally{a.f()}return r}function ab(e,t){var r=e.top,a=e.left,n=e.bottom,i=e.right,o=rt.top,u=at.left,s=[];if(bn(t.top,r,n)&&u&&s.push({top:r,left:a,bottom:t.top,right:i}),bn(t.right,a,i)&&o&&s.push({top:r,left:t.right,bottom:n,right:i}),bn(t.bottom,r,n)&&u&&s.push({top:t.bottom,right:i,bottom:n,left:a}),bn(t.left,a,i)&&o&&s.push({top:r,left:a,bottom:n,right:t.left}),s.length===0){if(ib(e,t))return[];s.push(e)}return s.map(nb)}var bn=function(t,r,a){return t>r&&t=t.top&&e.left>=t.left&&e.bottom<=t.bottom&&e.right<=t.right}var Ul=0,ob=.1,Gl=.2,Wl=.3,co=0;function br(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:M.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(ue.get("gridCreated")&&!r)return ce.gridSize;if(ue.set("gridCreated",!0),!r){var a,n=se(M.documentElement);if(n||(n=new lu(M.documentElement)),co=0,n._stackingOrder=[Xl(Ul,co++,null)],(a=t)!==null&&a!==void 0||(t=new fo),Zl(t,n),Gt(n.actualNode)){var i=new fo(n);n._subGrid=i}}for(var o=M.createTreeWalker(e,E.NodeFilter.SHOW_ELEMENT,null,!1),u=r?o.nextNode():o.currentNode;u;){var s=se(u);s&&s.parent?r=s.parent:u.assignedSlot?r=se(u.assignedSlot):u.parentElement?r=se(u.parentElement):u.parentNode&&se(u.parentNode)&&(r=se(u.parentNode)),s||(s=new _.VirtualNode(u,r)),s._stackingOrder=ub(s,r,co++);var l=cb(s,r),c=l?l._subGrid:t;if(Gt(s.actualNode)){var d=new fo(s);s._subGrid=d}var f=s.boundingClientRect;f.width!==0&&f.height!==0&&st(u)&&Zl(c,s),fn(u)&&br(u.shadowRoot,c,s),u=o.nextNode()}return ce.gridSize}function Yl(e,t){var r=e.getComputedStylePropertyValue("position"),a=e.getComputedStylePropertyValue("z-index");if(r==="fixed"||r==="sticky"||a!=="auto"&&r!=="static"||e.getComputedStylePropertyValue("opacity")!=="1")return!0;var n=e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none";if(n!=="none")return!0;var i=e.getComputedStylePropertyValue("mix-blend-mode");if(i&&i!=="normal")return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&o!=="none")return!0;var u=e.getComputedStylePropertyValue("perspective");if(u&&u!=="none")return!0;var s=e.getComputedStylePropertyValue("clip-path");if(s&&s!=="none")return!0;var l=e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none";if(l!=="none")return!0;var c=e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none";if(c!=="none")return!0;var d=e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none";if(d!=="none"||e.getComputedStylePropertyValue("isolation")==="isolate")return!0;var f=e.getComputedStylePropertyValue("will-change");if(f==="transform"||f==="opacity"||e.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return!0;var p=e.getComputedStylePropertyValue("contain");return!!(["layout","paint","strict","content"].includes(p)||a!=="auto"&&Kl(t))}function Kl(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function ub(e,t,r){var a=t._stackingOrder.slice();if(Yl(e,t)){var n=a.findIndex(function(o){var u=o.stackLevel;return[Ul,Gl,Wl].includes(u)});n!==-1&&a.splice(n,a.length-n)}var i=sb(e,t);return i!==null&&a.push(Xl(i,r,e)),a}function Xl(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function sb(e,t){var r=lb(e,t);return["auto","0"].includes(r)?e.getComputedStylePropertyValue("position")!=="static"?Wl:e.getComputedStylePropertyValue("float")!=="none"?Gl:Yl(e,t)?ob:null:parseInt(r)}function lb(e,t){var r=e.getComputedStylePropertyValue("position");return r==="static"&&!Kl(t)?"auto":e.getComputedStylePropertyValue("z-index")}function cb(e,t){for(var r=null,a=[e];t;){if(Gt(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}a.push(t),t=se(t.actualNode.parentElement||t.actualNode.parentNode)}return a.forEach(function(n){return n._scrollRegionParent=r}),r}function Zl(e,t){var r=ma(t);t.clientRects.forEach(function(a){var n,i=r.reduce(function(u,s){return u&&gn(u,s.boundingClientRect)},a);if(i){(n=t._grid)!==null&&n!==void 0||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,function(u){u.includes(t)||u.push(t)})}})}var fo=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;Tt(this,e),this.container=t,this.cells=[]}return Rt(e,[{key:"toGridIndex",value:function(r){return Math.floor(r/ce.gridSize)}},{key:"getCellFromPoint",value:function(r){var a,n,i=r.x,o=r.y;me(this.boundaries,"Grid does not have cells added");var u=this.toGridIndex(o),s=this.toGridIndex(i);me(vn({y:u,x:s},this.boundaries),"Element midpoint exceeds the grid bounds");var l=(a=this.cells[u-this.cells._negativeIndex])!==null&&a!==void 0?a:[];return(n=l[s-l._negativeIndex])!==null&&n!==void 0?n:[]}},{key:"loopGridPosition",value:function(r,a){var n=r,i=n.left,o=n.right,u=n.top,s=n.bottom;this.boundaries&&(r=hn(this.boundaries,r)),this.boundaries=r,Jl(this.cells,u,s,function(l,c){Jl(l,i,o,function(d,f){a(d,{row:c,col:f})})})}},{key:"getGridPositionOfRect",value:function(r){var a=r.top,n=r.right,i=r.bottom,o=r.left,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return a=this.toGridIndex(a-u),n=this.toGridIndex(n+u-1),i=this.toGridIndex(i+u-1),o=this.toGridIndex(o-u),new E.DOMRect(o,a,n-o,i-a)}}])}();function Jl(e,t,r,a){var n;if((n=e._negativeIndex)!==null&&n!==void 0||(e._negativeIndex=0),t1&&arguments[1]!==void 0?arguments[1]:0;if(br(),!((t=e._grid)!==null&&t!==void 0&&(t=t.cells)!==null&&t!==void 0&&t.length))return[];var a=e.boundingClientRect,n=e._grid,i=po(e),o=n.getGridPositionOfRect(a,r),u=[];return n.loopGridPosition(o,function(s){var l=Ee(s),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;d&&d!==e&&!u.includes(d)&&i===po(d)&&u.push(d)}}catch(f){l.e(f)}finally{l.f()}}),u}var po=ke(function(e){return e?e.getComputedStylePropertyValue("position")==="fixed"?!0:po(e.parent):!1}),db=ke(function(){var t;if(!_._tree)return null;var r=Lt(_._tree[0],"dialog[open]",function(n){var i=n.boundingClientRect,o=M.elementsFromPoint(i.left+1,i.top+1);return o.includes(n.actualNode)&&st(n)});if(!r.length)return null;var a=r.find(function(n){var i=n.boundingClientRect,o=M.elementsFromPoint(i.left-10,i.top-10);return o.includes(n.actualNode)});return a||((t=r.find(function(n){var i,o=(i=fb(n))!==null&&i!==void 0?i:{},u=o.vNode,s=o.rect;if(!u)return!1;var l=M.elementsFromPoint(s.left+1,s.top+1);return!l.includes(u.actualNode)}))!==null&&t!==void 0?t:null)}),Ql=db;function fb(e){br();var t=_._tree[0]._grid,r=new E.DOMRect(0,0,E.innerWidth,E.innerHeight);if(t)for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:{},r=t.skipAncestors,a=t.isAncestor;return r?ec(e,a):tc(e,a)}var ec=ke(function(t,r){if(t.hasAttr("inert"))return!0;if(!r&&t.actualNode){var a=Ql();if(a&&!Ht(a,t))return!0}return!1}),tc=ke(function(t,r){return ec(t,r)?!0:t.parent?tc(t.parent,!0):!1}),pb=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function mb(e){return pb.includes(e)}function hb(e){var t=ye(e),r=t.vNode;if(mb(r.props.nodeName)&&r.hasAttr("disabled")||wn(r))return!0;for(var a=r.parent,n=[],i=!1;a&&a.shadowId===r.shadowId&&!i&&(n.push(a),a.props.nodeName!=="legend");){if(a._inDisabledFieldset!==void 0){i=a._inDisabledFieldset;break}a.props.nodeName==="fieldset"&&a.hasAttr("disabled")&&(i=!0),a=a.parent}return n.forEach(function(o){return o._inDisabledFieldset=i}),i?!0:r.props.nodeName!=="area"&&r.actualNode?Jt(r):!1}var mo=hb,vb=/^\/\#/,gb=/^#[!/]/;function ho(e){var t,r=e.getAttribute("href");if(!r||r==="#")return!1;if(vb.test(r))return!0;var a=e.hash,n=e.protocol,i=e.hostname,o=e.port,u=e.pathname;if(gb.test(a))return!1;if(r.charAt(0)==="#")return!0;if(typeof((t=E.location)===null||t===void 0?void 0:t.origin)!="string"||E.location.origin.indexOf("://")===-1)return null;var s=E.location.origin+E.location.pathname,l;return i?l="".concat(n,"//").concat(i).concat(o?":".concat(o):""):l=E.location.origin,u?l+=(u[0]!=="/"?"/":"")+u:l+=E.location.pathname,l===s}function bb(e,t){var r=e.getAttribute(t);if(!r||t==="href"&&!ho(e))return null;r.indexOf("#")!==-1&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var a=M.getElementById(r);return a||(a=M.getElementsByName(r),a.length?a[0]:null)}var vo=bb;function go(e,t){br();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),a=0;a"u")return-1;if(typeof e._stackingOrder[a]>"u"||t._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(t._stackingOrder[a].stackLevel2&&arguments[2]!==void 0?arguments[2]:!1,a=ha(t),n=e.getCellFromPoint(a)||[],i=Math.floor(a.x),o=Math.floor(a.y),u=n.filter(function(l){return l.clientRects.some(function(c){var d=c.left,f=c.top;return i=Math.floor(d)&&o=Math.floor(f)})}),s=e.container;return s&&(u=bo(s._grid,s.boundingClientRect,!0).concat(u)),r||(u=u.sort(go).map(function(l){return l.actualNode}).concat(M.documentElement).filter(function(l,c,d){return d.indexOf(l)===c})),u}function yb(e){br();var t=se(e),r=t._grid;return r?bo(r,t.boundingClientRect):[]}var nc=yb;function wb(e){var t=pt(e,"*"),r=t.filter(function(a){var n=a.isFocusable,i=a.actualNode.getAttribute("tabindex");return i=i&&!isNaN(parseInt(i,10))?parseInt(i):null,i?n&&i>=0:n});return r}var ic=wb;function Db(e){var t=ye(e),r=t.vNode;if(!r||mo(r))return!1;switch(r.props.nodeName){case"a":case"area":if(r.hasAttr("href"))return!0;break;case"input":return r.props.type!=="hidden";case"textarea":case"select":case"summary":case"button":return!0;case"details":return!pt(r,"summary").length}return!1}var yo=Db;function Se(e){var t=ye(e),r=t.vNode;if(r.props.nodeType!==1||mo(r))return!1;if(yo(r))return!0;var a=r.attr("tabindex");return!!(a&&!isNaN(parseInt(a,10)))}function At(e){var t=ye(e),r=t.vNode;if(r.props.nodeType!==1)return!1;var a=parseInt(r.attr("tabindex",10));return a<=-1?!1:Se(r)}var Dn=ke(_b);function _b(e){var t=e.boundingClientRect,r=yn(e).filter(function(n){return so(e,n)&&n.getComputedStylePropertyValue("pointer-events")!=="none"&&!xb(e,n)});if(!r.length)return[t];var a=r.map(function(n){var i=n.boundingClientRect;return i});return lo(t,a)}function xb(e,t){return Ht(e,t)&&!At(t)}var oc=ke(Eb);function Eb(e,t){var r=Dn(e);return Ab(r,t)}function Ab(e,t){return e.reduce(function(r,a){var n=$t(t,r),i=$t(t,a);if(n!==i)return n?r:a;var o=r.width*r.height,u=a.width*a.height;return o>u?r:a})}var va={};Dt(va,{accessibleText:function(){return yr},accessibleTextVirtual:function(){return Ue},autocomplete:function(){return xr},formControlValue:function(){return Lc},formControlValueMethods:function(){return Fo},hasUnicode:function(){return So},isHumanInterpretable:function(){return Mo},isIconLigature:function(){return Oo},isValidAutocomplete:function(){return $c},label:function(){return t0},labelText:function(){return To},labelVirtual:function(){return Cn},nativeElementType:function(){return a0},nativeTextAlternative:function(){return qc},nativeTextMethods:function(){return Bc},removeUnicode:function(){return Da},sanitize:function(){return re},subtreeText:function(){return Qt},titleText:function(){return xn},unsupported:function(){return Fc},visible:function(){return Uc},visibleTextNodes:function(){return n0},visibleVirtual:function(){return It}});function Cb(e,t){e=e.actualNode||e;try{var r=Ke(e),a=[],n=e.getAttribute(t);if(n){n=Xe(n);for(var i=0;i1&&arguments[1]!==void 0?arguments[1]:{},r=ye(e),a=r.vNode;if((a==null?void 0:a.props.nodeType)!==1||a.props.nodeType!==1||t.inLabelledByContext||t.inControlContext||!a.attr("aria-labelledby"))return"";var n=Ot(a,"aria-labelledby").filter(function(i){return i});return n.reduce(function(i,o){var u=yr(o,de({inLabelledByContext:!0,startNode:t.startNode||a},t));return i?"".concat(i," ").concat(u):u},"")}var ga=Tb;function ba(e){var t=ye(e),r=t.vNode;return(r==null?void 0:r.props.nodeType)!==1?"":r.attr("aria-label")||""}var Rb={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},uc=Rb,kb={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},sc=kb,Sb={"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},Ob=Sb,Mb={"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}},Ib=Mb,Pb={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},Nb=Pb,Lb={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]},Bb=Lb,lc={ariaAttrs:uc,ariaRoles:de({},sc,Ob,Ib),htmlElms:Nb,cssColors:Bb},Lr=de({},lc);function qb(e){Object.keys(Lr).forEach(function(t){e[t]&&(Lr[t]=to(Lr[t],e[t]))})}function jb(){Object.keys(Lr).forEach(function(e){Lr[e]=lc[e]})}var he=Lr;function zb(e){var t=he.ariaRoles[e];return t?!!t.unsupported:!1}var wo=zb;function Vb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.allowAbstract,a=t.flagUnsupported,n=a===void 0?!1:a,i=he.ariaRoles[e],o=wo(e);return!i||n&&o?!1:r?!0:i.type!=="abstract"}var Br=Vb;function Hb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.fallback,a=t.abstracts,n=t.dpub;if(e=e instanceof He?e:se(e),e.props.nodeType!==1)return null;var i=(e.attr("role")||"").trim().toLowerCase(),o=r?Xe(i):[i],u=o.find(function(s){return!n&&s.substr(0,4)==="doc-"?!1:Br(s,{allowAbstract:a})});return u||null}var we=Hb;function $b(e){return Object.keys(he.htmlElms).filter(function(t){var r=he.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):r.variant&&r.variant.default&&r.variant.default.contentTypes?r.variant.default.contentTypes.includes(e):!1})}var Do=$b;function Ub(){return ue.get("globalAriaAttrs",function(){return Object.keys(he.ariaAttrs).filter(function(e){return he.ariaAttrs[e].global})})}var wr=Ub;function Gb(e){for(var t=[],r=e.rows,a=0,n=r.length;a1&&arguments[1]!==void 0?arguments[1]:{},r=t.checkTitle,a=r===void 0?!1:r;return!!(re(ga(e))||re(ba(e))||a&&(e==null?void 0:e.props.nodeType)===1&&re(e.attr("title")))}var Zb={a:function(t){return t.hasAttr("href")?"link":null},area:function(t){return t.hasAttr("href")?"link":null},article:"article",aside:function(t){return ut(t.parent,cc())&&!xo(t,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(t){var r=ut(t,dc());return r?null:"contentinfo"},form:function(t){return xo(t)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(t){var r=ut(t,dc());return r?null:"banner"},hr:"separator",img:function(t){var r=t.hasAttr("alt")&&!t.attr("alt"),a=wr().find(function(n){return t.hasAttr(n)});return r&&!a&&!Se(t)?"presentation":"img"},input:function(t){var r;if(t.hasAttr("list")){var a=Ot(t.actualNode,"list").filter(function(n){return!!n})[0];r=a&&a.nodeName.toLowerCase()==="datalist"}switch(t.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return r?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return r?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(t){return xo(t)?"region":null},select:function(t){return t.hasAttr("multiple")||parseInt(t.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(t){var r=ut(t,"table"),a=we(r);return["grid","treegrid"].includes(a)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(t){if(qr(t))return"columnheader";if(jr(t))return"rowheader"},thead:"rowgroup",tr:"row",ul:"list"},Eo=Zb;function Jb(e,t){var r=O(t);if(Array.isArray(t)&&typeof e<"u")return t.includes(e);if(r==="function")return!!t(e);if(e!=null){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var a=t.substring(1,t.length-1);return new RegExp(a).test(e)}}return t===e}var Dr=Jb;function Qb(e,t){return Dr(!!Ue(e),t)}var fc=Qb;function ey(e,t){var r=O(t);if(r!=="object"||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every(function(a){return Dr(e(a),t[a])})}var Ao=ey;function ty(e,t){return e=ye(e).vNode,Ao(function(r){return e.attr(r)},t)}var pc=ty;function mc(e,t){return!!t(e)}function ry(e,t){return Dr(we(e),t)}var hc=ry;function ay(e,t){return Dr(Mt(e),t)}var vc=ay;function ny(e,t){return e=ye(e).vNode,Dr(e.props.nodeName,t)}var gc=ny;function iy(e,t){return e=ye(e).vNode,Ao(function(r){return e.props[r]},t)}var bc=iy;function oy(e,t){return Dr(le(e),t)}var yc=oy,wc={hasAccessibleName:fc,attributes:pc,condition:mc,explicitRole:hc,implicitRole:vc,nodeName:gc,properties:bc,semanticRole:yc};function Dc(e,t){return e=ye(e).vNode,Array.isArray(t)?t.some(function(r){return Dc(e,r)}):typeof t=="string"?Hi(e,t):Object.keys(t).every(function(r){if(!wc[r])throw new Error('Unknown matcher type "'.concat(r,'"'));var a=wc[r],n=t[r];return a(e,n)})}var _c=Dc;function uy(e,t){return _c(e,t)}var lt=uy;lt.hasAccessibleName=fc,lt.attributes=pc,lt.condition=mc,lt.explicitRole=hc,lt.fromDefinition=_c,lt.fromFunction=Ao,lt.fromPrimative=Dr,lt.implicitRole=vc,lt.nodeName=gc,lt.properties=bc,lt.semanticRole=yc;var ya=lt;function sy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noMatchAccessibleName,a=r===void 0?!1:r,n=he.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var i=n.variant,o=Le(n,Ap);for(var u in i)if(!(!i.hasOwnProperty(u)||u==="default")){for(var s=i[u],l=s.matches,c=Le(s,Cp),d=Array.isArray(l)?l:[l],f=0;f"u"&&(o[m]=i.default[m]);return o}var _r=sy;function ly(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.chromium,a=e instanceof He?e:se(e);if(e=a.actualNode,!a)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=a.props.nodeName,i=Eo[n];if(!i&&r){var o=_r(a),u=o.chromiumRole;return u||null}return typeof i=="function"?i(a):i||null}var Mt=ly,cy={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function xc(e,t){var r=cy[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var a=we(e.parent,t);return["none","presentation"].includes(a)&&!Ac(e.parent)?a:a?null:xc(e.parent,t)}function Ec(e,t){var r=t.chromium,a=Le(t,Fp),n=Mt(e,{chromium:r});if(!n)return null;var i=xc(e,a);return i||n}function Ac(e){var t=wr().some(function(r){return e.hasAttr(r)});return t||Se(e)}function dy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noImplicit,a=Le(t,Tp),n=ye(e),i=n.vNode;if(i.props.nodeType!==1)return null;var o=we(i,a);return o?["presentation","none"].includes(o)&&Ac(i)?r?null:Ec(i,a):o:r?null:Ec(i,a)}function fy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.noPresentational,a=Le(t,Rp),n=dy(e,a);return r&&["presentation","none"].includes(n)?null:n}var le=fy,py=["iframe"];function my(e){var t=ye(e),r=t.vNode;return r.props.nodeType!==1||!e.hasAttr("title")||!lt(r,py)&&["none","presentation"].includes(le(r))?"":r.attr("title")}var xn=my;function hy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.strict;if(e=e instanceof He?e:se(e),e.props.nodeType!==1)return!1;var a=le(e),n=he.ariaRoles[a];return n&&n.nameFromContent?!0:r?!1:!n||["presentation","none"].includes(a)}var Cc=hy;function vy(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var a=Ot(t,"aria-owns").filter(function(n){return!!n}).map(function(n){return _.utils.getNodeFromTree(n)});return[].concat(ne(r),ne(a))}return ne(r)}var wa=vy,Fc={accessibleNameFromFieldValue:["progressbar"]};function Ce(e){return e=ye(e).vNode,Co(e)}var Co=ke(function(t,r){return Sl(t)||wn(t,{skipAncestors:!0,isAncestor:r})?!1:t.actualNode&&t.props.nodeName==="area"?!io(t,Co):Jt(t,{skipAncestors:!0,isAncestor:r})?!1:t.parent?Co(t.parent,!0):!0});function Tc(e,t,r){var a=ye(e),n=a.vNode,i=t?Ce:st,o=!e.actualNode||e.actualNode&&i(e),u=n.children.map(function(s){var l=s.props,c=l.nodeType,d=l.nodeValue;if(c===3){if(d&&o)return d}else if(!r)return Tc(s,t)}).join("");return re(u)}var It=Tc,gy=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function by(e){e=e instanceof He?e:se(e);var t=e.props.nodeName;return t==="textarea"||t==="input"&&!gy.includes((e.attr("type")||"").toLowerCase())}var Rc=by;function yy(e){e=e instanceof He?e:se(e);var t=e.props.nodeName;return t==="select"}var kc=yy;function wy(e){var t=we(e);return t==="textbox"}var Sc=wy;function Dy(e){var t=we(e);return t==="listbox"}var Oc=Dy;function _y(e){var t=we(e);return t==="combobox"}var Mc=_y,xy=["progressbar","scrollbar","slider","spinbutton"];function Ey(e){var t=we(e);return xy.includes(t)}var Ic=Ey,Pc=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Fo={nativeTextboxValue:Cy,nativeSelectValue:Fy,ariaTextboxValue:Ty,ariaListboxValue:Nc,ariaComboboxValue:Ry,ariaRangeValue:ky};function Ay(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode,a=Fc.accessibleNameFromFieldValue||[],n=le(e);if(t.startNode===e||!Pc.includes(n)||a.includes(n))return"";var i=Object.keys(Fo).map(function(u){return Fo[u]}),o=i.reduce(function(u,s){return u||s(e,t)},"");return t.debug&&hr(o||"{empty-value}",r,t),o}function Cy(e){var t=ye(e),r=t.vNode;return Rc(r)&&r.props.value||""}function Fy(e){var t=ye(e),r=t.vNode;if(!kc(r))return"";var a=pt(r,"option"),n=a.filter(function(i){return i.props.selected});return n.length||n.push(a[0]),n.map(function(i){return It(i)}).join(" ")||""}function Ty(e){var t=ye(e),r=t.vNode,a=t.domNode;return Sc(r)?!a||a&&!Jt(a)?It(r,!0):a.textContent:""}function Nc(e,t){var r=ye(e),a=r.vNode;if(!Oc(a))return"";var n=wa(a).filter(function(i){return le(i)==="option"&&i.attr("aria-selected")==="true"});return n.length===0?"":Ue(n[0],t)}function Ry(e,t){var r=ye(e),a=r.vNode;if(!Mc(a))return"";var n=wa(a).filter(function(i){return le(i)==="listbox"})[0];return n?Nc(n,t):""}function ky(e){var t=ye(e),r=t.vNode;if(!Ic(r)||!r.hasAttr("aria-valuenow"))return"";var a=+r.attr("aria-valuenow");return isNaN(a)?"0":String(a)}var Lc=Ay;function Sy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ue.alreadyProcessed;t.startNode=t.startNode||e;var a=t,n=a.strict,i=a.inControlContext,o=a.inLabelledByContext,u=le(e),s=_r(e,{noMatchAccessibleName:!0}),l=s.contentTypes;if(r(e,t)||e.props.nodeType!==1||l!=null&&l.includes("embedded")||Pc.includes(u)||!t.subtreeDescendant&&!t.inLabelledByContext&&!Cc(e,{strict:n}))return"";if(!n){var c=!i&&!o;t=de({subtreeDescendant:c},t)}return wa(e).reduce(function(d,f){return My(d,f,t)},"")}var Oy=Do("phrasing").concat(["#text"]);function My(e,t,r){var a=t.props.nodeName,n=Ue(t,r);return n?(Oy.includes(a)||(n[0]!==" "&&(n+=" "),e&&e[e.length-1]!==" "&&(n=" "+n)),e+n):e}var Qt=Sy;function Iy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ue.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var a=de({inControlContext:!0},t),n=Py(e),i=ut(e,"label"),o;return i?(o=[].concat(ne(n),[i.actualNode]),o.sort(xu)):o=n,o.map(function(u){return yr(u,a)}).filter(function(u){return u!==""}).join(" ")}function Py(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Al({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}var To=Iy,Ny={submit:"Submit",image:"Submit",reset:"Reset",button:""},Ly={valueText:function(t){var r=t.actualNode;return r.value||""},buttonDefaultText:function(t){var r=t.actualNode;return Ny[r.type]||""},tableCaptionText:En.bind(null,"caption"),figureText:En.bind(null,"figcaption"),svgTitleText:En.bind(null,"title"),fieldsetLegendText:En.bind(null,"legend"),altText:Ro.bind(null,"alt"),tableSummaryText:Ro.bind(null,"summary"),titleText:xn,subtreeText:Qt,labelText:To,singleSpace:function(){return" "},placeholderText:Ro.bind(null,"placeholder")};function Ro(e,t){return t.attr(e)||""}function En(e,t,r){var a=t.actualNode;e=e.toLowerCase();var n=[e,a.nodeName.toLowerCase()].join(","),i=a.querySelector(n);return!i||i.nodeName.toLowerCase()!==e?"":yr(i,r)}var Bc=Ly;function qc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.actualNode;if(e.props.nodeType!==1||["presentation","none"].includes(le(e)))return"";var a=By(e),n=a.reduce(function(i,o){return i||o(e,t)},"");return t.debug&&_.log(n||"{empty-value}",r,t),n}function By(e){var t=_r(e,{noMatchAccessibleName:!0}),r=t.namingMethods||[];return r.map(function(a){return Bc[a]})}function jc(){return/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g}function zc(){return/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function Vc(){return/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function Hc(){return/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}var ko=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g};function qy(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations,i=!1;return r&&(i||(i=ko().test(e))),a&&(i||(i=jc().test(e)||Vc().test(e)||Hc().test(e))),n&&(i||(i=zc().test(e))),i}var So=qy;function Oo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,a=e.actualNode.nodeValue.trim();if(!re(a)||So(a,{emoji:!0,nonBmp:!0}))return!1;var n=ue.get("canvasContext",function(){return M.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),i=n.canvas,o=ue.get("fonts",function(){return{}}),u=E.getComputedStyle(e.parent.actualNode),s=u.getPropertyValue("font-family");o[s]||(o[s]={occurrences:0,numLigatures:0});var l=o[s];if(l.occurrences>=r){if(l.numLigatures/l.occurrences===1)return!0;if(l.numLigatures===0)return!1}l.occurrences++;var c=30,d="".concat(c,"px ").concat(s);n.font=d;var f=a.charAt(0),p=n.measureText(f).width;if(p===0)return l.numLigatures++,!0;if(p<30){var m=30/p;p*=m,c*=m,d="".concat(c,"px ").concat(s)}i.width=p,i.height=c,n.font=d,n.textAlign="left",n.textBaseline="top",n.fillText(f,0,0);var h=new Uint32Array(n.getImageData(0,0,p,c).data.buffer);if(!h.some(function(F){return F}))return l.numLigatures++,!0;n.clearRect(0,0,p,c),n.fillText(a,0,0);var v=new Uint32Array(n.getImageData(0,0,p,c).data.buffer),g=h.reduce(function(F,R,P){return R===0&&v[P]===0||R!==0&&v[P]!==0?F:++F},0),b=a.split("").reduce(function(F,R){return F+n.measureText(R).width},0),D=n.measureText(a).width,w=g/h.length,x=1-D/b;return w>=t&&x>=t?(l.numLigatures++,!0):!1}function Ue(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t=Hy(e,t),zy(e,t)||Vy(e,t))return"";var r=[ga,ba,qc,Lc,Qt,jy,xn],a=r.reduce(function(n,i){return t.startNode===e&&(n=re(n)),n!==""?n:i(e,t)},"");return t.debug&&_.log(a||"{empty-value}",e.actualNode,t),a}function jy(e){return e.props.nodeType!==3?"":e.props.nodeValue}function zy(e,t){return!e||e.props.nodeType!==1||t.includeHidden?!1:!Ce(e)}function Vy(e,t){var r,a=t.ignoreIconLigature,n=t.pixelThreshold,i=(r=t.occurrenceThreshold)!==null&&r!==void 0?r:t.occuranceThreshold;return e.props.nodeType!==3||!a?!1:Oo(e,n,i)}function Hy(e,t){return t.startNode||(t=de({startNode:e},t)),e.props.nodeType===1&&t.inLabelledByContext&&t.includeHidden===void 0&&(t=de({includeHidden:!Ce(e)},t)),t}Ue.alreadyProcessed=function(t,r){return r.processed=r.processed||[],r.processed.includes(t)?!0:(r.processed.push(t),!1)};function $y(e,t){var r=t.emoji,a=t.nonBmp,n=t.punctuations;return r&&(e=e.replace(ko(),"")),a&&(e=e.replace(jc(),"").replace(Vc(),"").replace(Hc(),"")),n&&(e=e.replace(zc(),"")),e}var Da=$y;function Uy(e){return Gy(e)||Wy(e)||Yy(e)||Ky(e)?0:1}function Gy(e){return re(e).length===0}function Wy(e){return e.length===1&&e.match(/\D/)}function Yy(e){var t=["aa","abc"];return t.includes(e.toLowerCase())}function Ky(e){var t=Da(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!re(t)}var Mo=Uy,xr={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function Xy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.looseTyped,a=r===void 0?!1:r,n=t.stateTerms,i=n===void 0?[]:n,o=t.locations,u=o===void 0?[]:o,s=t.qualifiers,l=s===void 0?[]:s,c=t.standaloneTerms,d=c===void 0?[]:c,f=t.qualifiedTerms,p=f===void 0?[]:f,m=t.ignoredValues,h=m===void 0?[]:m;if(e=e.toLowerCase().trim(),i=i.concat(xr.stateTerms),i.includes(e)||e==="")return!0;l=l.concat(xr.qualifiers),u=u.concat(xr.locations),d=d.concat(xr.standaloneTerms),p=p.concat(xr.qualifiedTerms);var v=e.split(/\s+/g);if(v[v.length-1]==="webauthn"&&(v.pop(),v.length===0)||!a&&(v[0].length>8&&v[0].substr(0,8)==="section-"&&v.shift(),u.includes(v[0])&&v.shift(),l.includes(v[0])&&(v.shift(),d=[]),v.length!==1))return!1;var g=v[v.length-1];if(!h.includes(g))return d.includes(g)||p.includes(g)}var $c=Xy;function Zy(e){var t,r;return e.attr("aria-labelledby")&&(t=Ot(e.actualNode,"aria-labelledby"),r=t.map(function(a){var n=se(a);return n?It(n):""}).join(" ").trim(),r)||(r=e.attr("aria-label"),r&&(r=re(r),r))?r:null}var An=Zy;function Jy(e,t,r){return e=se(e),It(e,t,r)}var Uc=Jy;function Qy(e){var t,r,a;if(r=An(e),r)return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=Re(e.attr("id"));if(a=Ke(e.actualNode),t=a.querySelector('label[for="'+n+'"]'),r=t&&Uc(t,!0),r)return r}return t=ut(e,"label"),r=t&&It(t,!0),r||null}var Cn=Qy;function e0(e){return e=se(e),Cn(e)}var t0=e0,r0=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],a0=r0;function Gc(e){var t=st(e),r=[];return e.children.forEach(function(a){a.actualNode.nodeType===3?t&&r.push(a):r=r.concat(Gc(a))}),r}var n0=Gc,i0=ke(function(t){var r=se(t),a=r.boundingClientRect,n=[],i=ma(r);return t.childNodes.forEach(function(o){if(!(o.nodeType!==3||re(o.nodeValue)==="")){var u=o0(o);u0(u,a)||n.push.apply(n,ne(Wc(u,i)))}}),n.length?n:Wc([a],i)}),Io=i0;function o0(e){var t=M.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}function u0(e,t){return e.some(function(r){var a=ha(r);return!vn(a,t)})}function Wc(e,t){var r=[];return e.forEach(function(a){if(!(a.width<1||a.height<1)){var n=t.reduce(function(i,o){return i&&gn(i,o.boundingClientRect)},a);n&&r.push(n)}}),r}function s0(e){br();var t=se(e),r=t._grid;if(!r)return[];var a=Io(e);return a.map(function(n){return bo(r,n)})}var Po=s0,l0=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function c0(e){var t=ye(e),r=t.vNode,a=_.commons.aria.getExplicitRole(r);if(a)return l0.indexOf(a)!==-1;switch(r.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return r.props.type!=="hidden";default:return!1}}var No=c0,d0=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Lo(e){return d0.includes(e.props.nodeName)?!1:e.children.some(function(t){var r=t.props;return r.nodeType===3&&r.nodeValue.trim()})}function Yc(e,t,r){return Lo(e)||No(e.actualNode)||!r&&!!An(e)||!t&&e.children.some(function(a){return a.actualNode.nodeType===1&&Yc(a)})}var _a=Yc;function f0(e,t,r){return e=se(e),_a(e,t,r)}var Fn=f0;function Bo(e){return typeof e.children>"u"||Lo(e)?!0:e.props.nodeType===1&&No(e)?!!_.commons.text.accessibleTextVirtual(e):e.children.some(function(t){return!t.attr("lang")&&Bo(t)&&!Jt(t)})}function p0(e){var t=parseInt(e.getAttribute("tabindex"),10);return t>-1&&Se(e)&&!yo(e)}var Kc=p0;function Xc(e,t){var r=ye(e),a=r.vNode,n=r.domNode;return a?(a._isHiddenWithCSS===void 0&&(a._isHiddenWithCSS=Zc(n,t)),a._isHiddenWithCSS):Zc(n,t)}function Zc(e,t){if(e.nodeType===9||(e.nodeType===11&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase())))return!1;var r=E.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");var a=r.getPropertyValue("display");if(a==="none")return!0;var n=["hidden","collapse"],i=r.getPropertyValue("visibility");if(n.includes(i)&&!t||n.includes(i)&&t&&n.includes(t))return!0;var o=$e(e);return o&&!n.includes(i)?Xc(o,i):!1}var m0=Xc;function h0(e){var t=e.doctype;return t===null?!1:t.name==="html"&&!t.publicId&&!t.systemId}var Jc=h0;function v0(e){var t;(e instanceof He||(t=E)!==null&&t!==void 0&&t.Node&&e instanceof E.Node)&&(e=_.commons.aria.getRole(e));var r=he.ariaRoles[e];return(r==null?void 0:r.type)||null}var Ct=v0;function Qc(e,t){t(e.actualNode)!==!1&&e.children.forEach(function(r){return Qc(r,t)})}var g0=["block","list-item","table","flex","grid","inline-block"];function ed(e){var t=E.getComputedStyle(e).getPropertyValue("display");return g0.includes(t)||t.substr(0,6)==="table-"}function b0(e){for(var t=$e(e);t&&!ed(t);)t=$e(t);return se(t)}function y0(e,t){if(ed(e))return!1;var r=b0(e),a="",n="",i=0;return Qc(r,function(o){if(i===2)return!1;if(o.nodeType===3&&(a+=o.nodeValue),o.nodeType===1){var u=(o.nodeName||"").toUpperCase();if(o===e&&(i=1),["BR","HR"].includes(u))i===0?(a="",n=""):i=2;else{if(o.style.display==="none"||o.style.overflow==="hidden"||!["",null,"none"].includes(o.style.float)||!["",null,"relative"].includes(o.style.position))return!1;if(Ct(o)==="widget")return n+=o.textContent,!1}}}),a=re(a),t!=null&&t.noLengthCompare?a.length!==0:(n=re(n),a.length>n.length)}var qo=y0;function w0(e){e=e||{};var t=e.modalPercent||.75;if(ue.get("isModalOpen"))return ue.get("isModalOpen");var r=Lt(_._tree[0],"dialog, [role=dialog], [aria-modal=true]",st);if(r.length)return ue.set("isModalOpen",!0),!0;for(var a=pn(E),n=a.width*t,i=a.height*t,o=(a.width-n)/2,u=(a.height-i)/2,s=[{x:o,y:u},{x:a.width-o,y:u},{x:a.width/2,y:a.height/2},{x:o,y:a.height-u},{x:a.width-o,y:a.height-u}],l=s.map(function(p){return Array.from(M.elementsFromPoint(p.x,p.y))}),c=function(){var m=l[f].find(function(h){var v=E.getComputedStyle(h);return parseInt(v.width,10)>=n&&parseInt(v.height,10)>=i&&v.getPropertyValue("pointer-events")!=="none"&&(v.position==="absolute"||v.position==="fixed")});if(m&&l.every(function(h){return h.includes(m)}))return ue.set("isModalOpen",!0),{v:!0}},d,f=0;f1&&arguments[1]!==void 0?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var a=0,n=0,i=Ee(r.getClientRects()),o;try{for(i.s();!(o=i.n()).done;){var u=o.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else if(n===0)a=u.bottom,n++;else return!0}}catch(s){i.e(s)}finally{i.f()}return!1}function D0(e){return e instanceof E.Node}var _0=D0,jo="color.incompleteData",x0={set:function(t,r){if(typeof t!="string")throw new Error("Incomplete data: key must be a string");var a=ue.get(jo,function(){return{}});return r&&(a[t]=r),a[t]},get:function(t){var r=ue.get(jo);return r==null?void 0:r[t]},clear:function(){ue.set(jo,{})}},Ge=x0;function E0(e,t){var r=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],a=e.nodeName.toUpperCase();if(r.includes(a))return Ge.set("bgColor","imgNode"),!0;t=t||E.getComputedStyle(e);var n=t.getPropertyValue("background-image"),i=n!=="none";if(i){var o=/gradient/.test(n);Ge.set("bgColor",o?"bgGradient":"bgImage")}return i}var Tn=E0,rd={};Dt(rd,{ArrayFrom:function(){return d1.default},Colorjs:function(){return dt},CssSelectorParser:function(){return k0.CssSelectorParser},doT:function(){return ad.default},emojiRegexText:function(){return ko},memoize:function(){return S0.default}});var A0=ot(hh()),C0=ot(vh());ot(gh());var F0=ot(Sh()),T0=ot(Vh()),R0=ot(js());"hasOwn"in Object||(Object.hasOwn=F0.default),"values"in Object||(Object.values=T0.default),"Promise"in E||A0.default.polyfill(),"Uint32Array"in E||(E.Uint32Array=C0.Uint32Array),E.Uint32Array&&("some"in E.Uint32Array.prototype||Object.defineProperty(E.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in E.Uint32Array.prototype||Object.defineProperty(E.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&function(){Object.assign=function(e){if(e==null)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r>>0,n=arguments[1],i,o=0;o>>0,i,o=0;o=0?i=n:(i=a+n,i<0&&(i=0));for(var o;i>>0,n=arguments.length>=2?arguments[1]:void 0,i=0;ithis.length?!1:this.indexOf(e,t)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(r,a){return Array.isArray(a)?r.push.apply(r,e.call(a,t-1)):r.push(a),r},[]):Array.prototype.slice.call(this)},writable:!0}),E.Node&&!("isConnected"in E.Node.prototype)&&Object.defineProperty(E.Node.prototype,"isConnected",{get:function(){return!this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var k0=ot(gs()),ad=ot(zs()),S0=ot(hs());function Pe(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map(function(o){return[o]}));var a=t[0].length,n=t[0].map(function(o,u){return t.map(function(s){return s[u]})}),i=e.map(function(o){return n.map(function(u){var s=0;if(!Array.isArray(o)){var l=Ee(u),c;try{for(l.s();!(c=l.n()).done;){var d=c.value;s+=o*d}}catch(p){l.e(p)}finally{l.f()}return s}for(var f=0;fr)return+e.toFixed(t-r);var a=Math.pow(10,r-t);return Math.round(e/a)*a}function nd(e){if(e){e=e.trim();var t=/^([a-z]+)\((.+?)\)$/i,r=/^-?[\d.]+$/,a=e.match(t);if(a){var n=[];return a[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(i,o){/%$/.test(o)?(o=new Number(o.slice(0,-1)/100),o.type=""):/deg$/.test(o)?(o=new Number(+o.slice(0,-3)),o.type="",o.unit="deg"):r.test(o)&&(o=new Number(o),o.type=""),i.startsWith("/")&&(o=o instanceof Number?o:new Number(o),o.alpha=!0),n.push(o)}),{name:a[1].toLowerCase(),rawName:a[1],rawArgs:a[2],args:n}}}}function id(e){return e[e.length-1]}function kn(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function od(e,t,r){return(r-e)/(t-e)}function zo(e,t,r){return kn(t[0],t[1],od(e[0],e[1],r))}function ud(e){return e.map(function(t){return t.split("|").map(function(r){r=r.trim();var a=r.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(a){var n=new String(a[1]);return n.range=[+a[2],+a[3]],n}return r})})}var O0=Object.freeze({__proto__:null,isString:Ea,type:er,toPrecision:Rn,parseFunction:nd,last:id,interpolate:kn,interpolateInv:od,mapRange:zo,parseCoordGrammar:ud,multiplyMatrices:Pe}),M0=function(){function e(){Tt(this,e)}return Rt(e,[{key:"add",value:function(r,a,n){if(typeof arguments[0]!="string"){for(var r in arguments[0])this.add(r,arguments[0][r],arguments[1]);return}(Array.isArray(r)?r:[r]).forEach(function(i){this[i]=this[i]||[],a&&this[i][n?"unshift":"push"](a)},this)}},{key:"run",value:function(r,a){this[r]=this[r]||[],this[r].forEach(function(n){n.call(a&&a.context?a.context:a,a)})}}])}(),tr=new M0,Pt={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Ft={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function Vo(e){return Array.isArray(e)?e:Ft[e]}function Sn(e,t,r){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(e=Vo(e),t=Vo(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(!e&&!t?"/":"").concat(t?"":"to"));if(e===t)return r;var n={W1:e,W2:t,XYZ:r,options:a};if(tr.run("chromatic-adaptation-start",n),n.M||(n.W1===Ft.D65&&n.W2===Ft.D50?n.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:n.W1===Ft.D50&&n.W2===Ft.D65&&(n.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),tr.run("chromatic-adaptation-end",n),n.M)return Pe(n.M,n.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var I0=75e-6,P0=(C=new WeakSet,S=new WeakMap,function(){function e(t){var r,a,n,i,o,u,s;Tt(this,e),Zu(this,C),Yt(this,S,void 0),this.id=t.id,this.name=t.name,this.base=t.base?e.get(t.base):null,this.aliases=t.aliases,this.base&&(this.fromBase=t.fromBase,this.toBase=t.toBase);var l=(r=t.coords)!==null&&r!==void 0?r:this.base.coords;this.coords=l;var c=(a=(n=t.white)!==null&&n!==void 0?n:this.base.white)!==null&&a!==void 0?a:"D65";this.white=Vo(c),this.formats=(i=t.formats)!==null&&i!==void 0?i:{};for(var d in this.formats){var f=this.formats[d];f.type||(f.type="function"),f.name||(f.name=d)}t.cssId&&!((o=this.formats.functions)!==null&&o!==void 0&&o.color)?(this.formats.color={id:t.cssId},Object.defineProperty(this,"cssId",{value:t.cssId})):(u=this.formats)!==null&&u!==void 0&&u.color&&!((s=this.formats)!==null&&s!==void 0&&s.color.id)&&(this.formats.color.id=this.id),this.referred=t.referred,at(S,this,Fr(C,this,N0).call(this).reverse()),tr.run("colorspace-init-end",this)}return Rt(e,[{key:"inGamut",value:function(r){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.epsilon,i=n===void 0?I0:n;if(this.isPolar)return r=this.toBase(r),this.base.inGamut(r,{epsilon:i});var o=Object.values(this.coords);return r.every(function(u,s){var l=o[s];if(l.type!=="angle"&&l.range){if(Number.isNaN(u))return!0;var c=$(l.range,2),d=c[0],f=c[1];return(d===void 0||u>=d-i)&&(f===void 0||u<=f+i)}return!0})}},{key:"cssId",get:function(){var r;return((r=this.formats.functions)===null||r===void 0||(r=r.color)===null||r===void 0?void 0:r.id)||this.id}},{key:"isPolar",get:function(){for(var r in this.coords)if(this.coords[r].type==="angle")return!0;return!1}},{key:"getFormat",value:function(r){if(O(r)==="object")return r=Fr(C,this,sd).call(this,r),r;var a;return r==="default"?a=Object.values(this.formats)[0]:a=this.formats[r],a?(a=Fr(C,this,sd).call(this,a),a):null}},{key:"to",value:function(r,a){if(arguments.length===1){var n=[r.space,r.coords];r=n[0],a=n[1]}if(r=e.get(r),this===r)return a;a=a.map(function(f){return Number.isNaN(f)?0:f});for(var i=wt(S,this),o=wt(S,r),u,s,l=0;ls;c--)a=i[c].toBase(a);for(var d=s+1;d1?i-1:0),u=1;u=0){var c=Object.entries(i.coords)[o];if(c)return de({space:i,id:c[0],index:o},c[1])}i=e.get(i);var d=o.toLowerCase(),f=0;for(var p in i.coords){var m,h=i.coords[p];if(p.toLowerCase()===d||((m=h.name)===null||m===void 0?void 0:m.toLowerCase())===d)return de({space:i,id:p,index:f},h);f++}throw new TypeError('No "'.concat(o,'" coordinate found in ').concat(i.name,". Its coordinates are: ").concat(Object.keys(i.coords).join(", ")))}}])}());function sd(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=ud(e.coords);var t=Object.entries(this.coords).map(function(r,a){var n=$(r,2);n[0];var i=n[1],o=e.coordGrammar[a][0],u=i.range||i.refRange,s=o.range,l="";return o==""?(s=[0,100],l="%"):o==""&&(l="deg"),{fromRange:u,toRange:s,suffix:l}});e.serializeCoords=function(r,a){return r.map(function(n,i){var o=t[i],u=o.fromRange,s=o.toRange,l=o.suffix;return u&&s&&(n=zo(u,s,n)),n=Rn(n,a),l&&(n+=l),n})}}return e}function N0(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var ee=P0;ns(ee,"registry",{}),ns(ee,"DEFAULT_FORMAT",{type:"functions",name:"color"});var gt=new ee({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),nt=function(e){function t(r){var a,n;if(Tt(this,t),r.coords||(r.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),r.base||(r.base=gt),r.toXYZ_M&&r.fromXYZ_M){var i,o;(i=r.toBase)!==null&&i!==void 0||(r.toBase=function(u){var s=Pe(r.toXYZ_M,u);return n.white!==n.base.white&&(s=Sn(n.white,n.base.white,s)),s}),(o=r.fromBase)!==null&&o!==void 0||(r.fromBase=function(u){return u=Sn(n.base.white,n.white,u),Pe(r.fromXYZ_M,u)})}return(a=r.referred)!==null&&a!==void 0||(r.referred="display"),n=mi(this,t,[r])}return vi(t,e),Rt(t)}(ee);function ld(e){var t,r={str:(t=String(e))===null||t===void 0?void 0:t.trim()};if(tr.run("parse-start",r),r.color)return r.color;if(r.parsed=nd(r.str),r.parsed){var a=r.parsed.name;if(a==="color"){var n=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=Ee(ee.all),u;try{var s=function(){var V=u.value,k=V.getFormat("color");if(k){var L;if(n===k.id||(L=k.ids)!==null&&L!==void 0&&L.includes(n)){var z=Object.keys(V.coords).length,H=Array(z).fill(0);return H.forEach(function(Q,ie){return H[ie]=r.parsed.args[ie]||0}),{v:{spaceId:V.id,coords:H,alpha:i}}}}},l;for(o.s();!(u=o.n()).done;)if(l=s(),l)return l.v}catch(P){o.e(P)}finally{o.f()}var c="";if(n in ee.registry){var d,f=(d=ee.registry[n].formats)===null||d===void 0||(d=d.functions)===null||d===void 0||(d=d.color)===null||d===void 0?void 0:d.id;f&&(c="Did you mean color(".concat(f,")?"))}throw new TypeError("Cannot parse color(".concat(n,"). ")+(c||"Missing a plugin?"))}else{var p=Ee(ee.all),m;try{var h=function(){var V=m.value,k=V.getFormat(a);if(k&&k.type==="function"){var L=1;(k.lastAlpha||id(r.parsed.args).alpha)&&(L=r.parsed.args.pop());var z=r.parsed.args;return k.coordGrammar&&Object.entries(V.coords).forEach(function(H,Q){var ie,Y=$(H,2),te=Y[0],B=Y[1],Z=k.coordGrammar[Q],A=(ie=z[Q])===null||ie===void 0?void 0:ie.type;if(Z=Z.find(function(ae){return ae==A}),!Z){var U=B.name||te;throw new TypeError("".concat(A," not allowed for ").concat(U," in ").concat(a,"()"))}var N=Z.range;A===""&&(N||(N=[0,1]));var G=B.range||B.refRange;N&&G&&(z[Q]=zo(N,G,z[Q]))}),{v:{spaceId:V.id,coords:z,alpha:L}}}},v;for(p.s();!(m=p.n()).done;)if(v=h(),v)return v.v}catch(P){p.e(P)}finally{p.f()}}}else{var g=Ee(ee.all),b;try{for(g.s();!(b=g.n()).done;){var D=b.value;for(var w in D.formats){var x=D.formats[w];if(x.type==="custom"&&!(x.test&&!x.test(r.str))){var F=x.parse(r.str);if(F){var R;return(R=F.alpha)!==null&&R!==void 0||(F.alpha=1),F}}}}}catch(P){g.e(P)}finally{g.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function ve(e){if(!e)throw new TypeError("Empty color reference");Ea(e)&&(e=ld(e));var t=e.space||e.spaceId;return t instanceof ee||(e.space=ee.get(t)),e.alpha===void 0&&(e.alpha=1),e}function Aa(e,t){return t=ee.get(t),t.from(e)}function bt(e,t){var r=ee.resolveCoord(t,e.space),a=r.space,n=r.index,i=Aa(e,a);return i[n]}function cd(e,t,r){return t=ee.get(t),e.coords=t.to(e.space,r),e}function rr(e,t,r){if(e=ve(e),arguments.length===2&&er(arguments[1])==="object"){var a=arguments[1];for(var n in a)rr(e,n,a[n])}else{typeof r=="function"&&(r=r(bt(e,t)));var i=ee.resolveCoord(t,e.space),o=i.space,u=i.index,s=Aa(e,o);s[u]=r,cd(e,o,s)}return e}var Ho=new ee({id:"xyz-d50",name:"XYZ D50",white:"D50",base:gt,fromBase:function(t){return Sn(gt.white,"D50",t)},toBase:function(t){return Sn("D50",gt.white,t)},formats:{color:{}}}),L0=216/24389,dd=24/116,On=24389/27,$o=Ft.D50,ct=new ee({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:$o,base:Ho,fromBase:function(t){var r=t.map(function(n,i){return n/$o[i]}),a=r.map(function(n){return n>L0?Math.cbrt(n):(On*n+16)/116});return[116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>dd?Math.pow(r[0],3):(116*r[0]-16)/On,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/On,r[2]>dd?Math.pow(r[2],3):(116*r[2]-16)/On];return a.map(function(n,i){return n*$o[i]})},formats:{lab:{coords:[" | ","",""]}}});function Mn(e){return(e%360+360)%360}function B0(e,t){if(e==="raw")return t;var r=t.map(Mn),a=$(r,2),n=a[0],i=a[1],o=i-n;return e==="increasing"?o<0&&(i+=360):e==="decreasing"?o>0&&(n+=360):e==="longer"?-1800?i+=360:n+=360):e==="shorter"&&(o>180?n+=360:o<-180&&(i+=360)),[n,i]}var Ca=new ee({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:ct,fromBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2],o,u=.02;return Math.abs(n) | ",""," | "]}}}),fd=Math.pow(25,7),In=Math.PI,pd=180/In,zr=In/180;function Uo(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.kL,n=a===void 0?1:a,i=r.kC,o=i===void 0?1:i,u=r.kH,s=u===void 0?1:u,l=ct.from(e),c=$(l,3),d=c[0],f=c[1],p=c[2],m=Ca.from(ct,[d,f,p])[1],h=ct.from(t),v=$(h,3),g=v[0],b=v[1],D=v[2],w=Ca.from(ct,[g,b,D])[1];m<0&&(m=0),w<0&&(w=0);var x=(m+w)/2,F=Math.pow(x,7),R=.5*(1-Math.sqrt(F/(F+fd))),P=(1+R)*f,V=(1+R)*b,k=Math.sqrt(Math.pow(P,2)+Math.pow(p,2)),L=Math.sqrt(Math.pow(V,2)+Math.pow(D,2)),z=P===0&&p===0?0:Math.atan2(p,P),H=V===0&&D===0?0:Math.atan2(D,V);z<0&&(z+=2*In),H<0&&(H+=2*In),z*=pd,H*=pd;var Q=g-d,ie=L-k,Y=H-z,te=z+H,B=Math.abs(Y),Z;k*L===0?Z=0:B<=180?Z=Y:Y>180?Z=Y-360:Y<-180?Z=Y+360:console.log("the unthinkable has happened");var A=2*Math.sqrt(L*k)*Math.sin(Z*zr/2),U=(d+g)/2,N=(k+L)/2,G=Math.pow(N,7),ae;k*L===0?ae=te:B<=180?ae=te/2:te<360?ae=(te+360)/2:ae=(te-360)/2;var W=Math.pow(U-50,2),X=1+.015*W/Math.sqrt(20+W),pe=1+.045*N,ge=1;ge-=.17*Math.cos((ae-30)*zr),ge+=.24*Math.cos(2*ae*zr),ge+=.32*Math.cos((3*ae+6)*zr),ge-=.2*Math.cos((4*ae-63)*zr);var De=1+.015*N*ge,Oe=30*Math.exp(-1*Math.pow((ae-275)/25,2)),qe=2*Math.sqrt(G/(G+fd)),Ne=-1*Math.sin(2*Oe*zr)*qe,_e=Math.pow(Q/(n*X),2);return _e+=Math.pow(ie/(o*pe),2),_e+=Math.pow(A/(s*De),2),_e+=Ne*(ie/(o*pe))*(A/(s*De)),Math.sqrt(_e)}var q0=75e-6;function Fa(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.space,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.epsilon,n=a===void 0?q0:a;e=ve(e),t=ee.get(t);var i=e.coords;return t!==e.space&&(i=t.from(e)),t.inGamut(i,{epsilon:n})}function Ta(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function ar(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.method,a=r===void 0?Pt.gamut_mapping:r,n=t.space,i=n===void 0?e.space:n;if(Ea(arguments[1])&&(i=arguments[1]),i=ee.get(i),Fa(e,i,{epsilon:0}))return e;var o=yt(e,i);if(a!=="clip"&&!Fa(e,i)){var u=ar(Ta(o),{method:"clip",space:i});if(Uo(e,u)>2){for(var s=ee.resolveCoord(a),l=s.space,c=s.id,d=yt(o,l),f=s.range||s.refRange,p=f[0],m=.01,h=p,v=bt(d,c);v-h>m;){var g=Ta(d);g=ar(g,{space:i,method:"clip"});var b=Uo(d,g);b-22&&arguments[2]!==void 0?arguments[2]:{},a=r.inGamut;e=ve(e),t=ee.get(t);var n=t.from(e),i={space:t,coords:n,alpha:e.alpha};return a&&(i=ar(i)),i}yt.returns="color";function Pn(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.precision,i=n===void 0?Pt.precision:n,o=a.format,u=o===void 0?"default":o,s=a.inGamut,l=s===void 0?!0:s,c=Le(a,kp),d;e=ve(e);var f=u;u=(t=(r=e.space.getFormat(u))!==null&&r!==void 0?r:e.space.getFormat("default"))!==null&&t!==void 0?t:ee.DEFAULT_FORMAT,l||(l=u.toGamut);var p=e.coords;if(p=p.map(function(w){return w||0}),l&&!Fa(e)&&(p=ar(Ta(e),l===!0?void 0:l).coords),u.type==="custom")if(c.precision=i,u.serialize)d=u.serialize(p,e.alpha,c);else throw new TypeError("format ".concat(f," can only be used to parse colors, not for serialization"));else{var m=u.name||"color";u.serializeCoords?p=u.serializeCoords(p,i):i!==null&&(p=p.map(function(w){return Rn(w,i)}));var h=ne(p);if(m==="color"){var v,g=u.id||((v=u.ids)===null||v===void 0?void 0:v[0])||e.space.id;h.unshift(g)}var b=e.alpha;i!==null&&(b=Rn(b,i));var D=e.alpha<1&&!u.noAlpha?"".concat(u.commas?",":" /"," ").concat(b):"";d="".concat(m,"(").concat(h.join(u.commas?", ":" ")).concat(D,")")}return d}var j0=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],z0=[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],Nn=new nt({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:j0,fromXYZ_M:z0,formats:{color:{}}}),Ln=1.09929682680944,md=.018053968510807,hd=new nt({id:"rec2020",name:"REC.2020",base:Nn,toBase:function(t){return t.map(function(r){return r=md?Ln*Math.pow(r,.45)-(Ln-1):4.5*r})},formats:{color:{}}}),V0=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],H0=[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]],vd=new nt({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:V0,fromXYZ_M:H0}),$0=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],U0=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],gd=new nt({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:$0,fromXYZ_M:U0,formats:{color:{}}}),bd={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},yd=Array(3).fill(" | [0, 255]"),wd=Array(3).fill("[0, 255]"),Ra=new nt({id:"srgb",name:"sRGB",base:gd,fromBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n>.0031308?a*(1.055*Math.pow(n,1/2.4)-.055):12.92*r})},toBase:function(t){return t.map(function(r){var a=r<0?-1:1,n=r*a;return n<.04045?r/12.92:a*Math.pow((n+.055)/1.055,2.4)})},formats:{rgb:{coords:yd},rgb_number:{name:"rgb",commas:!0,coords:wd,noAlpha:!0},color:{},rgba:{coords:yd,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:wd},hex:{type:"custom",toGamut:!0,test:function(t){return/^#([a-f0-9]{3,4}){1,2}$/i.test(t)},parse:function(t){t.length<=5&&(t=t.replace(/[a-f0-9]/gi,"$&$&"));var r=[];return t.replace(/[a-f0-9]{2}/gi,function(a){r.push(parseInt(a,16)/255)}),{spaceId:"srgb",coords:r.slice(0,3),alpha:r.slice(3)[0]}},serialize:function(t,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=a.collapse,i=n===void 0?!0:n;r<1&&t.push(r),t=t.map(function(s){return Math.round(s*255)});var o=i&&t.every(function(s){return s%17===0}),u=t.map(function(s){return o?(s/17).toString(16):s.toString(16).padStart(2,"0")}).join("");return"#"+u}},keyword:{type:"custom",test:function(t){return/^[a-z]+$/i.test(t)},parse:function(t){t=t.toLowerCase();var r={spaceId:"srgb",coords:null,alpha:1};if(t==="transparent"?(r.coords=bd.black,r.alpha=0):r.coords=bd[t],r.coords)return r}}}}),Dd=new nt({id:"p3",name:"P3",base:vd,fromBase:Ra.fromBase,toBase:Ra.toBase,formats:{color:{id:"display-p3"}}});if(Pt.display_space=Ra,typeof CSS<"u"&&(j=CSS)!==null&&j!==void 0&&j.supports)for(var Go=0,_d=[ct,hd,Dd];Go<_d.length;Go++){var Wo=_d[Go],G0=Wo.getMinCoords(),W0={space:Wo,coords:G0,alpha:1},Y0=Pn(W0);if(CSS.supports("color",Y0)){Pt.display_space=Wo;break}}function K0(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.space,n=a===void 0?Pt.display_space:a,i=Le(r,Sp),o=Pn(e,i);if(typeof CSS>"u"||(t=CSS)!==null&&t!==void 0&&t.supports("color",o)||!Pt.display_space)o=new String(o),o.color=e;else{var u=yt(e,n);o=new String(Pn(u,i)),o.color=u}return o}function xd(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";r=ee.get(r);var a=r.from(e),n=r.from(t);return Math.sqrt(a.reduce(function(i,o,u){var s=n[u];return isNaN(o)||isNaN(s)?i:i+Math.pow(s-o,2)},0))}function X0(e,t){return e=ve(e),t=ve(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every(function(r,a){return r===t.coords[a]})}function nr(e){return bt(e,[gt,"y"])}function Ed(e,t){rr(e,[gt,"y"],t)}function Z0(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return nr(this)},set:function(r){Ed(this,r)}})}var J0=Object.freeze({__proto__:null,getLuminance:nr,setLuminance:Ed,register:Z0});function Q0(e,t){e=ve(e),t=ve(t);var r=Math.max(nr(e),0),a=Math.max(nr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}return(r+.05)/(a+.05)}var e2=.56,t2=.57,r2=.62,a2=.65,Ad=.022,n2=1.414,i2=.1,o2=5e-4,u2=1.14,Cd=.027,s2=1.14;function Fd(e){return e>=Ad?e:e+Math.pow(Ad-e,n2)}function Vr(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}function l2(e,t){t=ve(t),e=ve(e);var r,a,n,i,o,u;t=yt(t,"srgb");var s=$(t.coords,3);i=s[0],o=s[1],u=s[2];var l=Vr(i)*.2126729+Vr(o)*.7151522+Vr(u)*.072175;e=yt(e,"srgb");var c=$(e.coords,3);i=c[0],o=c[1],u=c[2];var d=Vr(i)*.2126729+Vr(o)*.7151522+Vr(u)*.072175,f=Fd(l),p=Fd(d),m=p>f;return Math.abs(p-f)0?n=a-Cd:n=a+Cd,n*100}function c2(e,t){e=ve(e),t=ve(t);var r=Math.max(nr(e),0),a=Math.max(nr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}var i=r+a;return i===0?0:(r-a)/i}var d2=5e4;function f2(e,t){e=ve(e),t=ve(t);var r=Math.max(nr(e),0),a=Math.max(nr(t),0);if(a>r){var n=[a,r];r=n[0],a=n[1]}return a===0?d2:(r-a)/a}function p2(e,t){e=ve(e),t=ve(t);var r=bt(e,[ct,"l"]),a=bt(t,[ct,"l"]);return Math.abs(r-a)}var m2=216/24389,Td=24/116,Bn=24389/27,Yo=Ft.D65,Ko=new ee({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Yo,base:gt,fromBase:function(t){var r=t.map(function(n,i){return n/Yo[i]}),a=r.map(function(n){return n>m2?Math.cbrt(n):(Bn*n+16)/116});return[116*a[1]-16,500*(a[0]-a[1]),200*(a[1]-a[2])]},toBase:function(t){var r=[];r[1]=(t[0]+16)/116,r[0]=t[1]/500+r[1],r[2]=r[1]-t[2]/200;var a=[r[0]>Td?Math.pow(r[0],3):(116*r[0]-16)/Bn,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/Bn,r[2]>Td?Math.pow(r[2],3):(116*r[2]-16)/Bn];return a.map(function(n,i){return n*Yo[i]})},formats:{"lab-d65":{coords:[" | ","",""]}}}),Xo=Math.pow(5,.5)*.5+.5;function h2(e,t){e=ve(e),t=ve(t);var r=bt(e,[Ko,"l"]),a=bt(t,[Ko,"l"]),n=Math.abs(Math.pow(r,Xo)-Math.pow(a,Xo)),i=Math.pow(n,1/Xo)*Math.SQRT2-40;return i<7.5?0:i}var qn=Object.freeze({__proto__:null,contrastWCAG21:Q0,contrastAPCA:l2,contrastMichelson:c2,contrastWeber:f2,contrastLstar:p2,contrastDeltaPhi:h2});function v2(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Ea(r)&&(r={algorithm:r});var a=r,n=a.algorithm,i=Le(a,Op);if(!n){var o=Object.keys(qn).map(function(s){return s.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(o))}e=ve(e),t=ve(t);for(var u in qn)if("contrast"+n.toLowerCase()===u.toLowerCase())return qn[u](e,t,i);throw new TypeError("Unknown contrast algorithm: ".concat(n))}function Rd(e){var t=Aa(e,gt),r=$(t,3),a=r[0],n=r[1],i=r[2],o=a+15*n+3*i;return[4*a/o,9*n/o]}function kd(e){var t=Aa(e,gt),r=$(t,3),a=r[0],n=r[1],i=r[2],o=a+n+i;return[a/o,n/o]}function g2(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Rd(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return kd(this)}})}var b2=Object.freeze({__proto__:null,uv:Rd,xy:kd,register:g2});function y2(e,t){return xd(e,t,"lab")}var w2=Math.PI,Sd=w2/180;function D2(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=r.l,n=a===void 0?2:a,i=r.c,o=i===void 0?1:i,u=ct.from(e),s=$(u,3),l=s[0],c=s[1],d=s[2],f=Ca.from(ct,[l,c,d]),p=$(f,3),m=p[1],h=p[2],v=ct.from(t),g=$(v,3),b=g[0],D=g[1],w=g[2],x=Ca.from(ct,[b,D,w])[1];m<0&&(m=0),x<0&&(x=0);var F=l-b,R=m-x,P=c-D,V=d-w,k=Math.pow(P,2)+Math.pow(V,2)-Math.pow(R,2),L=.511;l>=16&&(L=.040975*l/(1+.01765*l));var z=.0638*m/(1+.0131*m)+.638,H;Number.isNaN(h)&&(h=0),h>=164&&h<=345?H=.56+Math.abs(.2*Math.cos((h+168)*Sd)):H=.36+Math.abs(.4*Math.cos((h+35)*Sd));var Q=Math.pow(m,4),ie=Math.sqrt(Q/(Q+1900)),Y=z*(ie*H+1-ie),te=Math.pow(F/(n*L),2);return te+=Math.pow(R/(o*z),2),te+=k/Math.pow(Y,2),Math.sqrt(te)}var Od=203,Zo=new ee({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:gt,fromBase:function(t){return t.map(function(r){return Math.max(r*Od,0)})},toBase:function(t){return t.map(function(r){return Math.max(r/Od,0)})}}),jn=1.15,zn=.66,Md=2610/Math.pow(2,14),_2=Math.pow(2,14)/2610,Id=3424/Math.pow(2,12),Pd=2413/Math.pow(2,7),Nd=2392/Math.pow(2,7),x2=1.7*2523/Math.pow(2,5),Ld=Math.pow(2,5)/(1.7*2523),Vn=-.56,Jo=16295499532821565e-27,E2=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],A2=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],C2=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],F2=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Bd=new ee({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Zo,fromBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2],o=jn*a-(jn-1)*i,u=zn*n-(zn-1)*a,s=Pe(E2,[o,u,i]),l=s.map(function(v){var g=Id+Pd*Math.pow(v/1e4,Md),b=1+Nd*Math.pow(v/1e4,Md);return Math.pow(g/b,x2)}),c=Pe(C2,l),d=$(c,3),f=d[0],p=d[1],m=d[2],h=(1+Vn)*f/(1+Vn*f)-Jo;return[h,p,m]},toBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2],o=(a+Jo)/(1+Vn-Vn*(a+Jo)),u=Pe(F2,[o,n,i]),s=u.map(function(v){var g=Id-Math.pow(v,Ld),b=Nd*Math.pow(v,Ld)-Pd,D=1e4*Math.pow(g/b,_2);return D}),l=Pe(A2,s),c=$(l,3),d=c[0],f=c[1],p=c[2],m=(d+(jn-1)*p)/jn,h=(f+(zn-1)*m)/zn;return[m,h,p]},formats:{color:{}}}),Qo=new ee({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Bd,fromBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2],o,u=2e-4;return Math.abs(n) | ","",""]}}});function V2(e,t){var r=Hn.from(e),a=$(r,3),n=a[0],i=a[1],o=a[2],u=Hn.from(t),s=$(u,3),l=s[0],c=s[1],d=s[2],f=n-l,p=i-c,m=o-d;return Math.sqrt(Math.pow(f,2)+Math.pow(p,2)+Math.pow(m,2))}var tu=Object.freeze({__proto__:null,deltaE76:y2,deltaECMC:D2,deltaE2000:Uo,deltaEJz:T2,deltaEITP:L2,deltaEOK:V2});function ka(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Ea(r)&&(r={method:r});var a=r,n=a.method,i=n===void 0?Pt.deltaE:n,o=Le(a,Mp);e=ve(e),t=ve(t);for(var u in tu)if("deltae"+i.toLowerCase()===u.toLowerCase())return tu[u](e,t,o);throw new TypeError("Unknown deltaE method: ".concat(i))}function H2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ee.get("oklch","lch"),a=[r,"l"];return rr(e,a,function(n){return n*(1+t)})}function $2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,r=ee.get("oklch","lch"),a=[r,"l"];return rr(e,a,function(n){return n*(1-t)})}var U2=Object.freeze({__proto__:null,lighten:H2,darken:$2});function $d(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},n=[ve(e),ve(t)];if(e=n[0],t=n[1],er(r)==="object"){var i=[.5,r];r=i[0],a=i[1]}var o=a,u=o.space,s=o.outputSpace,l=o.premultiplied,c=Sa(e,t,{space:u,outputSpace:s,premultiplied:l});return c(r)}function Ud(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a;if(ru(e)){a=e,r=t;var n=$(a.rangeArgs.colors,2);e=n[0],t=n[1]}var i=r,o=i.maxDeltaE,u=i.deltaEMethod,s=i.steps,l=s===void 0?2:s,c=i.maxSteps,d=c===void 0?1e3:c,f=Le(i,Ip);if(!a){var p=[ve(e),ve(t)];e=p[0],t=p[1],a=Sa(e,t,f)}var m=ka(e,t),h=o>0?Math.max(l,Math.ceil(m/o)+1):l,v=[];if(d!==void 0&&(h=Math.min(h,d)),h===1)v=[{p:.5,color:a(.5)}];else{var g=1/(h-1);v=Array.from({length:h},function(P,V){var k=V*g;return{p:k,color:a(k)}})}if(o>0)for(var b=v.reduce(function(P,V,k){if(k===0)return 0;var L=ka(V.color,v[k-1].color,u);return Math.max(P,L)},0);b>o;){b=0;for(var D=1;D2&&arguments[2]!==void 0?arguments[2]:{};if(ru(e)){var a=e,n=t;return Sa.apply(void 0,ne(a.rangeArgs.colors).concat([de({},a.rangeArgs.options,n)]))}var i=r.space,o=r.outputSpace,u=r.progression,s=r.premultiplied;e=ve(e),t=ve(t),e=Ta(e),t=Ta(t);var l={colors:[e,t],options:r};if(i?i=ee.get(i):i=ee.registry[Pt.interpolationSpace]||e.space,o=o?ee.get(o):i,e=yt(e,i),t=yt(t,i),e=ar(e),t=ar(t),i.coords.h&&i.coords.h.type==="angle"){var c=r.hue=r.hue||"shorter",d=[i,"h"],f=[bt(e,d),bt(t,d)],p=f[0],m=f[1],h=B0(c,[p,m]),v=$(h,2);p=v[0],m=v[1],rr(e,d,p),rr(t,d,m)}return s&&(e.coords=e.coords.map(function(g){return g*e.alpha}),t.coords=t.coords.map(function(g){return g*t.alpha})),Object.assign(function(g){g=u?u(g):g;var b=e.coords.map(function(x,F){var R=t.coords[F];return kn(x,R,g)}),D=kn(e.alpha,t.alpha,g),w={space:i,coords:b,alpha:D};return s&&(w.coords=w.coords.map(function(x){return x/D})),o!==i&&(w=yt(w,o)),w},{rangeArgs:l})}function ru(e){return er(e)==="function"&&!!e.rangeArgs}Pt.interpolationSpace="lab";function G2(e){e.defineFunction("mix",$d,{returns:"color"}),e.defineFunction("range",Sa,{returns:"function"}),e.defineFunction("steps",Ud,{returns:"array"})}var W2=Object.freeze({__proto__:null,mix:$d,steps:Ud,range:Sa,isRange:ru,register:G2}),Gd=new ee({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Ra,fromBase:function(t){var r=Math.max.apply(Math,ne(t)),a=Math.min.apply(Math,ne(t)),n=$(t,3),i=n[0],o=n[1],u=n[2],s=NaN,l=0,c=(a+r)/2,d=r-a;if(d!==0){switch(l=c===0||c===1?0:(r-c)/Math.min(c,1-c),r){case i:s=(o-u)/d+(o | ","",""]},hsla:{coords:[" | ","",""],commas:!0,lastAlpha:!0}}}),Wd=new ee({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:Gd,fromBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i+n*Math.min(i,1-i);return[a,o===0?0:200*(1-i/o),100*o]},toBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=i*(1-n/2);return[a,o===0||o===1?0:(i-o)/Math.min(o,1-o)*100,o*100]},formats:{color:{toGamut:!0}}}),Y2=new ee({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:Wd,fromBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2];return[a,i*(100-n)/100,100-i]},toBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2];n/=100,i/=100;var o=n+i;if(o>=1){var u=n/o;return[a,0,u*100]}var s=1-i,l=s===0?0:1-n/s;return[a,l*100,s*100]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),K2=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],X2=[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]],Yd=new nt({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:K2,fromXYZ_M:X2}),Z2=new nt({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:Yd,toBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),563/256)*Math.sign(r)})},fromBase:function(t){return t.map(function(r){return Math.pow(Math.abs(r),256/563)*Math.sign(r)})},formats:{color:{id:"a98-rgb"}}}),J2=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],Q2=[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Kd=new nt({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Ho,toXYZ_M:J2,fromXYZ_M:Q2}),ew=1/512,tw=16/512,rw=new nt({id:"prophoto",name:"ProPhoto",base:Kd,toBase:function(t){return t.map(function(r){return r=ew?Math.pow(r,1/1.8):16*r})},formats:{color:{id:"prophoto-rgb"}}}),aw=new ee({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Hn,fromBase:function(t){var r=$(t,3),a=r[0],n=r[1],i=r[2],o,u=2e-4;return Math.abs(n) | ",""," | "]}}}),Xd=203,Zd=2610/Math.pow(2,14),nw=Math.pow(2,14)/2610,iw=2523/Math.pow(2,5),Jd=Math.pow(2,5)/2523,Qd=3424/Math.pow(2,12),e1=2413/Math.pow(2,7),t1=2392/Math.pow(2,7),ow=new nt({id:"rec2100pq",name:"REC.2100-PQ",base:Nn,toBase:function(t){return t.map(function(r){var a=Math.pow(Math.max(Math.pow(r,Jd)-Qd,0)/(e1-t1*Math.pow(r,Jd)),nw);return a*1e4/Xd})},fromBase:function(t){return t.map(function(r){var a=Math.max(r*Xd/1e4,0),n=Qd+e1*Math.pow(a,Zd),i=1+t1*Math.pow(a,Zd);return Math.pow(n/i,iw)})},formats:{color:{id:"rec2100-pq"}}}),r1=.17883277,a1=.28466892,n1=.55991073,au=3.7743,uw=new nt({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Nn,toBase:function(t){return t.map(function(r){return r<=.5?Math.pow(r,2)/3*au:Math.exp((r-n1)/r1+a1)/12*au})},fromBase:function(t){return t.map(function(r){return r/=au,r<=1/12?Math.sqrt(3*r):r1*Math.log(12*r-a1)+n1})},formats:{color:{id:"rec2100-hlg"}}}),i1={};tr.add("chromatic-adaptation-start",function(e){e.options.method&&(e.M=o1(e.W1,e.W2,e.options.method))}),tr.add("chromatic-adaptation-end",function(e){e.M||(e.M=o1(e.W1,e.W2,e.options.method))});function $n(e){var t=e.id;e.toCone_M,e.fromCone_M,i1[t]=arguments[0]}function o1(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",a=i1[r],n=Pe(a.toCone_M,e),i=$(n,3),o=i[0],u=i[1],s=i[2],l=Pe(a.toCone_M,t),c=$(l,3),d=c[0],f=c[1],p=c[2],m=[[d/o,0,0],[0,f/u,0],[0,0,p/s]],h=Pe(m,a.toCone_M),v=Pe(a.fromCone_M,h);return v}$n({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),$n({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),$n({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),$n({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Ft,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Ft.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var sw=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],lw=[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],u1=new nt({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Ft.ACES,toXYZ_M:sw,fromXYZ_M:lw,formats:{color:{}}}),Un=Math.pow(2,-16),nu=-.35828683,Gn=(Math.log2(65504)+9.72)/17.52,cw=new nt({id:"acescc",name:"ACEScc",coords:{r:{range:[nu,Gn],name:"Red"},g:{range:[nu,Gn],name:"Green"},b:{range:[nu,Gn],name:"Blue"}},referred:"scene",base:u1,toBase:function(t){var r=-.3013698630136986;return t.map(function(a){return a<=r?(Math.pow(2,a*17.52-9.72)-Un)*2:a1?a-1:0),i=1;i2&&arguments[2]!==void 0?arguments[2]:a,i=n.instance,o=i===void 0?!0:i,u=n.returns,s=function(){var c=a.apply(void 0,arguments);if(u==="color")c=e.get(c);else if(u==="function"){var d=c;c=function(){var p=d.apply(void 0,arguments);return e.get(p)},Object.assign(c,d)}else u==="array"&&(c=c.map(function(f){return e.get(f)}));return c};r in e||(e[r]=s),o&&(e.prototype[r]=function(){for(var l=arguments.length,c=new Array(l),d=0;d"u"?i:new Proxy(i,{has:function(u,s){try{return ee.resolveCoord([t,s]),!0}catch{}return Reflect.has(u,s)},get:function(u,s,l){if(s&&O(s)!=="symbol"&&!(s in u)){var c=ee.resolveCoord([t,s]),d=c.index;if(d>=0)return u[d]}return Reflect.get(u,s,l)},set:function(u,s,l,c){if(s&&O(s)!=="symbol"&&!(s in u)||s>=0){var d=ee.resolveCoord([t,s]),f=d.index;if(f>=0)return u[f]=l,n.setAll(e,u),!0}return Reflect.set(u,s,l,c)}})},set:function(n){this.setAll(e,n)},configurable:!0,enumerable:!0})}dt.extend(tu),dt.extend({deltaE:ka}),dt.extend(U2),dt.extend({contrast:v2}),dt.extend(b2),dt.extend(J0),dt.extend(W2),dt.extend(qn);var d1=ot(js());ad.default.templateSettings.strip=!1;var fw=/^#[0-9a-f]{3,8}$/i,pw=/hsl\(\s*([-\d.]+)(rad|turn)/,f1=(Ae=new WeakMap,Ie=new WeakMap,Ye=new WeakMap,mt=new WeakMap,Ve=new WeakMap,tt=new WeakMap,Qr=new WeakSet,function(){function e(t,r,a){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(Tt(this,e),Zu(this,Qr),Yt(this,Ae,void 0),Yt(this,Ie,void 0),Yt(this,Ye,void 0),Yt(this,mt,void 0),Yt(this,Ve,void 0),Yt(this,tt,void 0),t instanceof e){var i=t.r,o=t.g,u=t.b;this.r=i,this.g=o,this.b=u,this.alpha=t.alpha;return}this.red=t,this.green=r,this.blue=a,this.alpha=n}return Rt(e,[{key:"r",get:function(){return wt(Ae,this)},set:function(r){at(Ae,this,r),at(mt,this,Math.round(Hr(r,0,1)*255))}},{key:"g",get:function(){return wt(Ie,this)},set:function(r){at(Ie,this,r),at(Ve,this,Math.round(Hr(r,0,1)*255))}},{key:"b",get:function(){return wt(Ye,this)},set:function(r){at(Ye,this,r),at(tt,this,Math.round(Hr(r,0,1)*255))}},{key:"red",get:function(){return wt(mt,this)},set:function(r){at(Ae,this,r/255),at(mt,this,Hr(r,0,255))}},{key:"green",get:function(){return wt(Ve,this)},set:function(r){at(Ie,this,r/255),at(Ve,this,Hr(r,0,255))}},{key:"blue",get:function(){return wt(tt,this)},set:function(r){at(Ye,this,r/255),at(tt,this,Hr(r,0,255))}},{key:"toHexString",value:function(){var r=Math.round(this.red).toString(16),a=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?r:"0"+r)+(this.green>15.5?a:"0"+a)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){var r=this.red,a=this.green,n=this.blue,i=this.alpha;return{red:r,green:a,blue:n,alpha:i}}},{key:"parseString",value:function(r){r=r.replace(pw,function(i,o,u){var s=o+u;switch(u){case"rad":return i.replace(s,hw(o));case"turn":return i.replace(s,vw(o))}});try{var a;"Prototype"in E&&"Version"in E.Prototype&&(a=Array.from,Array.from=d1.default);var n=new dt(r).to("srgb");a&&(Array.from=a,a=null),this.r=n.r,this.g=n.g,this.b=n.b,this.alpha=+n.alpha}catch{throw new Error('Unable to parse color "'.concat(r,'"'))}return this}},{key:"parseRgbString",value:function(r){this.parseString(r)}},{key:"parseHexString",value:function(r){!r.match(fw)||[6,8].includes(r.length)||this.parseString(r)}},{key:"parseColorFnString",value:function(r){this.parseString(r)}},{key:"getRelativeLuminance",value:function(){var r=this.r,a=this.g,n=this.b,i=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4),o=a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4),u=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4);return .2126*i+.7152*o+.0722*u}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(r){var a=r-this.getLuminosity();return Fr(Qr,this,mw).call(this,a).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(r){var a=new e(this),n=[{name:"r",value:a.r},{name:"g",value:a.g},{name:"b",value:a.b}],i=n.sort(function(c,d){return c.value-d.value}),o=$(i,3),u=o[0],s=o[1],l=o[2];return l.value>u.value?(s.value=(s.value-u.value)*r/(l.value-u.value),l.value=r):s.value=l.value=0,u.value=0,a[l.name]=l.value,a[u.name]=u.value,a[s.name]=s.value,a}},{key:"clip",value:function(){var r=new e(this),a=r.getLuminosity(),n=Math.min(r.r,r.g,r.b),i=Math.max(r.r,r.g,r.b);return n<0&&(r.r=a+(r.r-a)*a/(a-n),r.g=a+(r.g-a)*a/(a-n),r.b=a+(r.b-a)*a/(a-n)),i>1&&(r.r=a+(r.r-a)*(1-a)/(i-a),r.g=a+(r.g-a)*(1-a)/(i-a),r.b=a+(r.b-a)*(1-a)/(i-a)),r}}])}());function mw(e){var t=new f1(this);return t.r+=e,t.g+=e,t.b+=e,t}var Fe=f1;function Hr(e,t,r){return Math.min(Math.max(t,e),r)}function hw(e){return e*180/Math.PI}function vw(e){return e*360}function gw(e){var t=new Fe;if(t.parseString(e.getPropertyValue("background-color")),t.alpha!==0){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t}var Er=gw;function bw(e){var t=E.getComputedStyle(e);return Tn(e,t)||Er(t).alpha===1}var yw=bw;function uu(e){if(!e.href)return!1;var t=ue.get("firstPageLink",ww);return t?e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING:!0}function ww(){var e;return E.location.origin?e=pt(_._tree,'a[href]:not([href^="javascript:"])').find(function(t){return!ho(t.actualNode)}):e=pt(_._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],e||null}var Dw=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,_w=/(\w+)\((\d+)/;function xw(e){var t=e.getPropertyValue("clip").match(Dw),r=e.getPropertyValue("clip-path").match(_w);if(t&&t.length===5){var a=e.getPropertyValue("position");if(["fixed","absolute"].includes(a))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var n=r[1],i=parseInt(r[2],10);switch(n){case"inset":return i>=50;case"circle":return i===0}}return!1}function Ew(e,t,r){var a=Nr(e,"map");if(!a)return!1;var n=a.getAttribute("name");if(!n)return!1;var i=Ke(e);if(!i||i.nodeType!==9)return!1;var o=pt(_._tree,'img[usemap="#'.concat(Re(n),'"]'));return!o||!o.length?!1:o.some(function(u){var s=u.actualNode;return Wn(s,t,r)})}function Wn(e,t,r){var a;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var n=e instanceof He?e:se(e);e=n?n.actualNode:e;var i="_isVisible"+(t?"ScreenReader":""),o=(a=E.Node)!==null&&a!==void 0?a:{},u=o.DOCUMENT_NODE,s=o.DOCUMENT_FRAGMENT_NODE,l=n?n.props.nodeType:e.nodeType,c=n?n.props.nodeName:e.nodeName.toLowerCase();if(n&&typeof n[i]<"u")return n[i];if(l===u)return!0;if(["style","script","noscript","template"].includes(c))return!1;if(e&&l===s&&(e=e.host),t){var d=n?n.attr("aria-hidden"):e.getAttribute("aria-hidden");if(d==="true")return!1}if(!e){var f=n.parent,p=!0;return f&&(p=Wn(f,t,!0)),n&&(n[i]=p),p}var m=E.getComputedStyle(e,null);if(m===null)return!1;if(c==="area")return Ew(e,t,r);if(m.getPropertyValue("display")==="none")return!1;var h=parseInt(m.getPropertyValue("height")),v=parseInt(m.getPropertyValue("width")),g=Gt(e),b=g&&h===0,D=g&&v===0,w=m.getPropertyValue("position")==="absolute"&&(h<2||v<2)&&m.getPropertyValue("overflow")==="hidden";if(!t&&(xw(m)||m.getPropertyValue("opacity")==="0"||b||D||w)||!r&&(m.getPropertyValue("visibility")==="hidden"||!t&&mn(e)))return!1;var x=e.assignedSlot?e.assignedSlot:e.parentNode,F=!1;return x&&(F=Wn(x,t,!0)),n&&(n[i]=F),F}var Aw=Wn;function Cw(e,t){for(var r=["fixed","sticky"],a=[],n=!1,i=0;iMath.ceil(o.left+o.width)||Math.floor(u.top+u.height)>Math.ceil(o.top+o.height))})}function v1(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:M,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(e,t)||[]).filter(function(n){return Ke(n)===r}).reduce(function(n,i){if(fn(i)){var o=v1(e,t,i.shadowRoot,a+1);n=n.concat(o),n.length&&m1(n[0],i)&&n.push(i)}else n.push(i);return n},[])}var Tw=v1;function Rw(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),a=e;(!["A","AREA"].includes(r)||e.ownerSVGElement)&&(a=M.createElement("a"),a.href=e.getAttribute(t));var n=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,i=/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname),o=Sw(i),u=o.pathname,s=o.filename;return{protocol:n,hostname:a.hostname,port:kw(a.port),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:Ow(a.search),hash:Mw(a.hash),filename:s}}}function kw(e){var t=["443","80"];return t.includes(e)?"":e}function Sw(e){var t=e.split("/").pop();return!t||t.indexOf(".")===-1?{pathname:e,filename:""}:{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}function Ow(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var a=0;ai.right&&e.left>r.right||e.top>i.bottom&&e.top>r.bottom||e.rightr.right||e.top>r.bottom?o.overflow==="scroll"||o.overflow==="auto"||t instanceof E.HTMLBodyElement||t instanceof E.HTMLHtmlElement:!0}var su=Pw,g1=0,Nw=function(e){function t(r,a,n){var i;if(Tt(this,t),i=mi(this,t),i.shadowId=n,i.children=[],i.actualNode=r,i.parent=a,a||(g1=0),i.nodeIndex=g1++,i._isHidden=null,i._cache={},i._isXHTML=tn(r.ownerDocument),r.nodeName.toLowerCase()==="input"){var o=r.getAttribute("type");o=i._isXHTML?o:(o||"").toLowerCase(),ti().includes(o)||(o="text"),i._type=o}return ue.get("nodeMap")&&ue.get("nodeMap").set(r,i),i}return vi(t,e),Rt(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var a=this.actualNode,n=a.nodeType,i=a.nodeName,o=a.id,u=a.nodeValue;this._cache.props={nodeType:n,nodeName:this._isXHTML?i:i.toLowerCase(),id:o,type:this._type,nodeValue:u},n===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(a){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(a)}},{key:"hasAttr",value:function(a){return typeof this.actualNode.hasAttribute!="function"?!1:this.actualNode.hasAttribute(a)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var a;this.actualNode.attributes instanceof E.NamedNodeMap?a=this.actualNode.attributes:a=this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(a).map(function(n){return n.name})}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(a){var n="computedStyle_"+a;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=E.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(a)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Se(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=ic(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(a){return a.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])}(He),lu=Nw;function Lw(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")}var Xe=Lw,Ar=" [idsMap]";function b1(e,t,r){var a=e[0]._selectorMap;if(a){for(var n=e[0].shadowId,i=0;i1&&t[i].some(function(s){return y1(s)}))return;var o=new Set;t.forEach(function(s){var l,c=Bw(s,a,n);c==null||(l=c.nodes)===null||l===void 0||l.forEach(function(d){c.isComplexSelector&&!Sr(d,s)||o.add(d)})});var u=[];return o.forEach(function(s){return u.push(s)}),r&&(u=u.filter(r)),u.sort(function(s,l){return s.nodeIndex-l.nodeIndex})}}function Bw(e,t,r){var a=e[e.length-1],n=null,i=e.length>1||!!a.pseudos||!!a.classes;if(y1(a))n=t["*"];else{if(a.id){var o;if(!t[Ar]||!Object.hasOwn(t[Ar],a.id)||!((o=t[Ar][a.id])!==null&&o!==void 0&&o.length))return;n=t[Ar][a.id].filter(function(h){return h.shadowId===r})}if(a.tag&&a.tag!=="*"){var u;if(!((u=t[a.tag])!==null&&u!==void 0&&u.length))return;var s=t[a.tag];n=n?cu(s,n):s}if(a.classes){var l;if(!((l=t["[class]"])!==null&&l!==void 0&&l.length))return;var c=t["[class]"];n=n?cu(c,n):c}if(a.attributes)for(var d=0;d0&&arguments[0]!==void 0?arguments[0]:M.documentElement,t=arguments.length>1?arguments[1]:void 0;du=!1;var r={};ue.set("nodeMap",new WeakMap),ue.set("selectorMap",r);var a=D1(e,t,null);return a[0]._selectorMap=r,a[0]._hasShadowRoot=du,a}function qw(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}function pu(e,t,r){var a=new lu(e,t,r);return w1(a,ue.get("selectorMap")),a}function D1(e,t,r){var a,n;function i(u,s,l){var c=D1(s,t,l);return c&&(u=u.concat(c)),u}e.documentElement&&(e=e.documentElement);var o=e.nodeName.toLowerCase();return fn(e)?(du=!0,a=pu(e,r,t),t="a"+Math.random().toString().substring(2),n=Array.from(e.shadowRoot.childNodes),a.children=n.reduce(function(u,s){return i(u,s,a)},[]),[a]):o==="content"&&typeof e.getDistributedNodes=="function"?(n=Array.from(e.getDistributedNodes()),n.reduce(function(u,s){return i(u,s,r)},[])):o==="slot"&&typeof e.assignedNodes=="function"?(n=Array.from(e.assignedNodes()),n.length||(n=qw(e)),E.getComputedStyle(e),n.reduce(function(u,s){return i(u,s,r)},[])):e.nodeType===1?(a=pu(e,r,t),n=Array.from(e.childNodes),a.children=n.reduce(function(u,s){return i(u,s,a)},[]),[a]):e.nodeType===3?[pu(e,r)]:void 0}function jw(e){return e?e.trim().split("-")[0].toLowerCase():""}var Cr=jw;function zw(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map(function(r){if(t[r].length){var a=_._audit.data.failureSummaries[r];if(a&&typeof a.failureMessage=="function")return a.failureMessage(t[r].map(function(n){return n.message||""}))}}).filter(function(r){return r!==void 0}).join(` + +`)}var mu=zw;function hu(){var e=_._audit.data.incompleteFallbackMessage;return typeof e=="function"&&(e=e()),typeof e!="string"?"":e}var _1=ce.resultGroups;function Oa(e,t){var r=_.utils.aggregateResult(e);return _1.forEach(function(a){t.resultTypes&&!t.resultTypes.includes(a)&&(r[a]||[]).forEach(function(n){Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=[n.nodes[0]])}),r[a]=(r[a]||[]).map(function(n){return n=Object.assign({},n),Array.isArray(n.nodes)&&n.nodes.length>0&&(n.nodes=n.nodes.map(function(i){if(O(i.node)==="object"){var o=x1(i.node,t);Object.assign(i,o)}return delete i.result,delete i.node,Vw(i,t),i})),_1.forEach(function(i){return delete n[i]}),delete n.pageLevel,delete n.result,n})}),r}function Vw(e,t){["any","all","none"].forEach(function(r){Array.isArray(e[r])&&e[r].filter(function(a){return Array.isArray(a.relatedNodes)}).forEach(function(a){a.relatedNodes=a.relatedNodes.map(function(n){return x1(n,t)})})})}function x1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=vt.dqElmToSpec(e,t);var r={};if(_._audit.noHtml)r.html=null;else{var a;r.html=(a=e.source)!==null&&a!==void 0?a:"Undefined"}if(t.elementRef&&!e.fromFrame){var n;r.element=(n=e.element)!==null&&n!==void 0?n:null}if(t.selectors!==!1||e.fromFrame){var i;r.target=(i=e.selector)!==null&&i!==void 0?i:[":root"]}if(t.ancestry){var o;r.ancestry=(o=e.ancestry)!==null&&o!==void 0?o:[":root"]}if(t.xpath){var u;r.xpath=(u=e.xpath)!==null&&u!==void 0?u:["/"]}return r}var Hw=/\$\{\s?data\s?\}/g;function Kn(e,t){if(typeof t=="string")return e.replace(Hw,t);for(var r in t)if(t.hasOwnProperty(r)){var a=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),n=typeof t[r]>"u"?"":String(t[r]);e=e.replace(a,n)}return e}function E1(e,t){if(e){if(Array.isArray(t)){if(t.values=t.join(", "),typeof e.singular=="string"&&typeof e.plural=="string"){var r=t.length===1?e.singular:e.plural;return Kn(r,t)}return Kn(e,t)}if(typeof e=="string")return Kn(e,t);if(typeof t=="string"){var a=e[t];return Kn(a,t)}var n=e.default||hu();return t&&t.messageKey&&e[t.messageKey]&&(n=e[t.messageKey]),E1(n,t)}}var vu=E1;function $w(e,t,r){var a=_._audit.data.checks[e];if(!a)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!a.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return vu(a.messages[t],r)}var Uw=$w;function Gw(e,t,r){var a=((r.rules&&r.rules[t]||{}).checks||{})[e.id],n=(r.checks||{})[e.id],i=e.enabled,o=e.options;return n&&(n.hasOwnProperty("enabled")&&(i=n.enabled),n.hasOwnProperty("options")&&(o=n.options)),a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),{enabled:i,options:o,absolutePaths:r.absolutePaths}}var Xn=Gw;function ir(){var e,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:E;return t&&O(t)==="object"?t:O(r)!=="object"?{}:{testEngine:{name:"axe-core",version:_.version},testRunner:{name:_._audit.brand},testEnvironment:Ww(r),timestamp:new Date().toISOString(),url:(e=r.location)===null||e===void 0?void 0:e.href}}function Ww(e){if(!e.navigator||O(e.navigator)!=="object")return{};var t=e.navigator,r=e.innerHeight,a=e.innerWidth,n=Yw(e)||{},i=n.angle,o=n.type;return{userAgent:t.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:o}}function Yw(e){var t=e.screen;return t.orientation||t.msOrientation||t.mozOrientation}function A1(e,t){var r=t.focusable,a=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&Kw(e),size:Xw(e),page:a}}function Kw(e){var t=e.getAttribute("tabindex");if(!t)return!0;var r=parseInt(t,10);return isNaN(r)||r>=0}function Xw(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var a=e.getBoundingClientRect();t=isNaN(t)?a.width:t,r=isNaN(r)?a.height:r}return{width:t,height:r}}function Zw(e){if(bu(e)){var t=" must be used inside include or exclude. It should not be on the same object.";or(!Nt(e,"fromFrames"),"fromFrames"+t),or(!Nt(e,"fromShadowDom"),"fromShadowDom"+t)}else if(Jn(e))e={include:e,exclude:[]};else return{include:[M],exclude:[]};var r=C1(e.include);r.length===0&&r.push(M);var a=C1(e.exclude);return{include:r,exclude:a}}function C1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];gu(e)||(e=[e]);for(var r=0;r1)aD(e,t,i);else{var o=Fu(i[0]);r.push.apply(r,ne(o.map(function(u){return se(u)})))}}return r.filter(function(u){return u})}function aD(e,t,r){e.frames=e.frames||[];var a=r.shift(),n=Fu(a);n.forEach(function(i){var o=e.frames.find(function(u){return u.node===i});o||(o=A1(i,e),e.frames.push(o)),o[t].push(r)})}function Zn(e,t){var r,a,n,i,o=this;e=Vt(e),this.frames=[],this.page=typeof((r=e)===null||r===void 0?void 0:r.page)=="boolean"?e.page:void 0,this.initiator=typeof((a=e)===null||a===void 0?void 0:a.initiator)=="boolean"?e.initiator:!0,this.focusable=typeof((n=e)===null||n===void 0?void 0:n.focusable)=="boolean"?e.focusable:!0,this.size=O((i=e)===null||i===void 0?void 0:i.size)==="object"?e.size:{},e=Zw(e),this.flatTree=t??fu(uD(e)),this.exclude=e.exclude,this.include=e.include,this.include=F1(this,"include"),this.exclude=F1(this,"exclude"),Cu("frame, iframe",this).forEach(function(u){Du(u,o)&&nD(o,u.actualNode)}),typeof this.page>"u"&&(this.page=iD(this),this.frames.forEach(function(u){u.page=o.page})),oD(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(xu)}function nD(e,t){!Ce(t)||fa(e.frames,"node",t)||e.frames.push(A1(t,e))}function iD(e){var t=e.include;return t.length===1&&t[0].actualNode===M.documentElement}function oD(e){if(e.include.length===0&&e.frames.length===0){var t=Et.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}function uD(e){for(var t=e.include,r=e.exclude,a=Array.from(t).concat(Array.from(r)),n=0;n1&&arguments[1]!==void 0?arguments[1]:{};if(t.iframes===!1)return[];var r=new Zn(e),a=r.frames;return a.map(function(n){var i=n.node,o=Le(n,Pp);o.initiator=!1;var u=an(i);return{frameSelector:u,frameContext:o}})}function T1(e){var t=_._audit.rules.find(function(r){var a=r.id;return a===e});if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function lD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,a=e.scrollHeight>e.clientHeight+t;if(r||a){var n=E.getComputedStyle(e),i=R1(n,"overflow-x"),o=R1(n,"overflow-y");if(r&&i||a&&o)return{elm:e,top:e.scrollTop,left:e.scrollLeft}}}function R1(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var Gt=ke(lD);function k1(e){return Array.from(e.children||e.childNodes||[]).reduce(function(t,r){var a=Gt(r);return a&&t.push(a),t.concat(k1(r))},[])}function cD(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:E,t=e.document.documentElement,r=[e.pageXOffset!==void 0?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}];return r.concat(k1(M.body))}var dD=cD;function fD(){return Vt(he)}function pD(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,a=t.isCrossOrigin,n=a===void 0?!1:a,i=t.shadowId,o=t.root,u=t.priority,s=t.isLink,l=s===void 0?!1:s,c=e.createElement("style");if(l){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:n,shadowId:i,root:o,priority:u}}}var S1=pD,ft;function mD(e){if(ft&&ft.parentNode)return ft.styleSheet===void 0?ft.appendChild(M.createTextNode(e)):ft.styleSheet.cssText+=e,ft;if(e){var t=M.head||M.getElementsByTagName("head")[0];return ft=M.createElement("style"),ft.type="text/css",ft.styleSheet===void 0?ft.appendChild(M.createTextNode(e)):ft.styleSheet.cssText=e,t.appendChild(ft),ft}}var hD=mD;function gu(e){return!!e&&O(e)==="object"&&typeof e.length=="number"&&!(e instanceof E.Node)}function Nt(e,t){return!e||O(e)!=="object"?!1:Object.prototype.hasOwnProperty.call(e,t)}function O1(e){return bu(e)||Jn(e)}function bu(e){return["include","exclude"].some(function(t){return Nt(e,t)&&Jn(e[t])})}function Jn(e){return typeof e=="string"||e instanceof E.Node||yu(e)||Qn(e)||gu(e)}function yu(e){return Nt(e,"fromFrames")}function Qn(e){return Nt(e,"fromShadowDom")}function M1(e,t){var r=se(e);if(e.nodeType===9)return!1;if(e.nodeType===11&&(e=e.host),r&&r._isHidden!==null)return r._isHidden;var a=E.getComputedStyle(e,null);if(!a||!e.parentNode||a.getPropertyValue("display")==="none"||!t&&a.getPropertyValue("visibility")==="hidden"||e.getAttribute("aria-hidden")==="true")return!0;var n=e.assignedSlot?e.assignedSlot:e.parentNode,i=M1(n,!0);return r&&(r._isHidden=i),i}var vD=M1;function gD(e){var t,r,a=(t=(r=e.props)===null||r===void 0?void 0:r.nodeName)!==null&&t!==void 0?t:e.nodeName.toLowerCase();return e.namespaceURI==="http://www.w3.org/2000/svg"?!1:!!he.htmlElms[a]}var wu=gD;function Du(e,t){var r=t.include,a=r===void 0?[]:r,n=t.exclude,i=n===void 0?[]:n,o=a.filter(function(c){return Ht(c,e)});if(o.length===0)return!1;var u=i.filter(function(c){return Ht(c,e)});if(u.length===0)return!0;var s=I1(o),l=I1(u);return Ht(l,s)}function I1(e){var t,r=Ee(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value;(!t||!Ht(n,t))&&(t=n)}}catch(i){r.e(i)}finally{r.f()}return t}function _u(e,t){return e.length!==t.length?!1:e.every(function(r,a){var n=t[a];return Array.isArray(r)?r.length!==n.length?!1:r.every(function(i,o){return n[o]===i}):r===n})}function bD(e,t){return e=e.actualNode||e,t=t.actualNode||t,e===t?0:e.compareDocumentPosition(t)&4?-1:1}var xu=bD;function ye(e){return e instanceof He?{vNode:e,domNode:e.actualNode}:{vNode:se(e),domNode:e}}function yD(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter(function(c){return c.type===3});if(!o.length)return Promise.resolve({isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=o.filter(function(c){return c.href}).map(function(c){return c.href}).filter(function(c){return!a.includes(c)}),s=u.map(function(c,d){var f=[].concat(ne(r),[d]),p=/^https?:\/\/|^\/\//i.test(c);return Au(c,t,f,a,p)}),l=i.filter(function(c){return c.type!==3});return l.length&&s.push(Promise.resolve(t.convertDataToStylesheet({data:l.map(function(c){return c.cssText}).join(),isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(s)}var P1=yD;function wD(e,t,r,a){var n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i=DD(e);return i?P1(e,t,r,a,n):Au(e.href,t,r,a,!0)}function DD(e){try{var t=e.cssRules;return!(!t&&e.href)}catch{return!1}}var Eu=wD;function _D(e,t,r,a,n){return a.push(e),new Promise(function(i,o){var u=new E.XMLHttpRequest;u.open("GET",e),u.timeout=ce.preload.timeout,u.addEventListener("error",o),u.addEventListener("timeout",o),u.addEventListener("loadend",function(s){if(s.loaded&&u.responseText)return i(u.responseText);o(u.responseText)}),u.send()}).then(function(i){var o=t.convertDataToStylesheet({data:i,isCrossOrigin:n,priority:r,root:t.rootNode,shadowId:t.shadowId});return Eu(o.sheet,t,r,a,o.isCrossOrigin)})}var Au=_D,xD=function(){function e(){if(E.performance&&E.performance)return E.performance.now()}var t=null,r=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(n){E.performance&&E.performance.mark!==void 0&&E.performance.mark(n)},measure:function(n,i,o){E.performance&&E.performance.measure!==void 0&&E.performance.measure(n,i,o)},logMeasures:function(n){function i(c){hr("Measure "+c.name+" took "+c.duration+"ms")}if(E.performance&&E.performance.getEntriesByType!==void 0)for(var o=E.performance.getEntriesByName("mark_axe_start")[0],u=E.performance.getEntriesByType("measure").filter(function(c){return c.startTime>=o.startTime}),s=0;s"].includes(w[0].combinator)===!1)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+D[1].combinator);w[0].combinator===">"?(d=d||[]).push(w):(f=f||[]).push(w)}(!D[0].id||c.shadowId===o.parentShadowId)&&(b=o.anyLevel)!==null&&b!==void 0&&b.includes(D)&&(f=f||[]).push(D)}for(c.children&&c.children.length&&(n.push(o),o=L1(c.children,f,d,c.shadowId,a.pop()));o.vNodesIndex===o.vNodes.length&&n.length;)a.push(o),o=n.pop()}return u}function CD(e,t,r){e=Array.isArray(e)?e:[e];var a=nn(t),n=b1(e,a,r);return n||AD(e,a,r)}var Lt=CD;function FD(e){var t=e.treeRoot,r=t===void 0?_._tree[0]:t,a=TD(r);if(!a.length)return Promise.resolve();var n=M.implementation.createHTMLDocument("Dynamic document for loading cssom"),i=S1(n);return RD(a,i).then(function(o){return q1(o)})}var B1=FD;function TD(e){var t=[],r=Lt(e,"*",function(a){return t.includes(a.shadowId)?!1:(t.push(a.shadowId),!0)}).map(function(a){return{shadowId:a.shadowId,rootNode:pa(a.actualNode)}});return Ma(r,[])}function RD(e,t){var r=[];return e.forEach(function(a,n){var i=a.rootNode,o=a.shadowId,u=kD(i,o,t);if(!u)return Promise.all(r);var s=n+1,l={rootNode:i,shadowId:o,convertDataToStylesheet:t,rootIndex:s},c=[],d=Promise.all(u.map(function(f,p){var m=[s,p];return Eu(f,l,m,c)}));r.push(d)}),Promise.all(r)}function q1(e){return e.reduce(function(t,r){return Array.isArray(r)?t.concat(q1(r)):t.concat(r)},[])}function kD(e,t,r){var a;return e.nodeType===11&&t?a=SD(e,r):a=OD(e),ID(a)}function SD(e,t){return Array.from(e.children).filter(MD).reduce(function(r,a){var n=a.nodeName.toUpperCase(),i=n==="STYLE"?a.textContent:a,o=n==="LINK",u=t({data:i,isLink:o,root:e});return u.sheet&&r.push(u.sheet),r},[])}function OD(e){return Array.from(e.styleSheets).filter(function(t){return t.media?j1(t.media.mediaText):!1})}function MD(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),a=e.getAttribute("rel"),n=t==="LINK"&&r&&a&&e.rel.toUpperCase().includes("STYLESHEET"),i=t==="STYLE";return i||n&&j1(e.media)}function j1(e){return e?!e.toUpperCase().includes("PRINT"):!0}function ID(e){var t=[];return e.filter(function(r){return r.href?t.includes(r.href)?!1:(t.push(r.href),!0):!0})}function PD(e){var t=e.treeRoot,r=t===void 0?_._tree[0]:t,a=Lt(r,"video, audio",function(n){var i=n.actualNode;if(i.hasAttribute("src"))return!!i.getAttribute("src");var o=Array.from(i.getElementsByTagName("source")).filter(function(u){return!!u.getAttribute("src")});return!(o.length<=0)});return Promise.all(a.map(function(n){var i=n.actualNode;return ND(i)}))}var z1=PD;function ND(e){return new Promise(function(t){e.readyState>0&&t(e);function r(){e.removeEventListener("loadedmetadata",r),t(e)}e.addEventListener("loadedmetadata",r)})}function V1(e){var t={cssom:B1,media:z1};return H1(e)?new Promise(function(r,a){var n=$1(e),i=n.assets,o=n.timeout,u=setTimeout(function(){return a(new Error("Preload assets timed out."))},o);Promise.all(i.map(function(s){return t[s](e).then(function(l){return Vp({},s,l)})})).then(function(s){var l=s.reduce(function(c,d){return de({},c,d)},{});clearTimeout(u),r(l)}).catch(function(s){clearTimeout(u),a(s)})}):Promise.resolve()}function LD(e){return O(e)==="object"&&Array.isArray(e.assets)}function H1(e){return!e||e.preload===void 0||e.preload===null?!0:typeof e.preload=="boolean"?e.preload:LD(e.preload)}function $1(e){var t=ce.preload,r=t.assets,a=t.timeout,n={assets:r,timeout:a};if(!e.preload||typeof e.preload=="boolean")return n;var i=e.preload.assets.every(function(o){return r.includes(o.toLowerCase())});if(!i)throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return n.assets=Ma(e.preload.assets.map(function(o){return o.toLowerCase()}),[]),e.preload.timeout&&typeof e.preload.timeout=="number"&&!isNaN(e.preload.timeout)&&(n.timeout=e.preload.timeout),n}function ei(e){var t=_._audit.data.checks||{},r=_._audit.data.rules||{},a=fa(_._audit.rules,"id",e.id)||{};e.tags=Vt(a.tags||[]);var n=U1(t,!0,a),i=U1(t,!1,a);e.nodes.forEach(function(o){o.any.forEach(n),o.all.forEach(n),o.none.forEach(i)}),ro(e,Vt(r[e.id]||{}))}function BD(e,t){function r(n){return n.incomplete&&n.incomplete.default?n.incomplete.default:hu()}if(e&&e.missingData)try{var a=t.incomplete[e.missingData[0].reason];if(!a)throw new Error;return a}catch{return typeof e.missingData=="string"?t.incomplete[e.missingData]:r(t)}else return e&&e.messageKey?t.incomplete[e.messageKey]:r(t)}function U1(e,t,r){return function(a){var n=e[a.id]||{},i=n.messages||{},o=Object.assign({},n);delete o.messages,!r.reviewOnFail&&a.result===void 0?(O(i.incomplete)==="object"&&!Array.isArray(a.data)&&(o.message=BD(a.data,i)),o.message||(o.message=i.incomplete)):o.message=a.result===t?i.pass:i.fail,typeof o.message!="function"&&(o.message=vu(o.message,a.data)),ro(a,o)}}function qD(e,t){return Lt(e,t)}var pt=qD;function G1(e,t){var r,a,n=_._audit&&_._audit.tagExclude?_._audit.tagExclude:[];t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],a=t.exclude||[],a=Array.isArray(a)?a:[a],a=a.concat(n.filter(function(o){return r.indexOf(o)===-1}))):(r=Array.isArray(t)?t:[t],a=n.filter(function(o){return r.indexOf(o)===-1}));var i=r.some(function(o){return e.tags.indexOf(o)!==-1});return i||r.length===0&&e.enabled!==!1?a.every(function(o){return e.tags.indexOf(o)===-1}):!1}function jD(e,t,r){var a=r.runOnly||{},n=(r.rules||{})[e.id];return e.pageLevel&&!t.page?!1:a.type==="rule"?a.values.indexOf(e.id)!==-1:n&&typeof n.enabled=="boolean"?n.enabled:a.type==="tag"&&a.values?G1(e,a.values):G1(e,[])}var W1=jD;function Y1(e,t){if(!t)return e;var r=e.cloneNode(!1),a=en(r);if(r.nodeType===1){var n=r.outerHTML;r=ue.get(n,function(){return K1(r,a,e,t)})}else r=K1(r,a,e,t);return Array.from(e.childNodes).forEach(function(i){r.appendChild(Y1(i,t))}),r}function K1(e,t,r,a){return t&&(e=M.createElement(e.nodeName),Array.from(t).forEach(function(n){zD(r,n.name,a)||e.setAttribute(n.name,n.value)})),e}function zD(e,t,r){return typeof r[t]>"u"?!1:r[t]===!0?!0:kr(e,r[t])}function Cu(e,t){var r=[],a;if(_._selectCache)for(var n=0,i=_._selectCache.length;n1&&arguments[1]!==void 0?arguments[1]:M,r=Array.isArray(e)?ne(e):[e];return e.length===0?[]:Z1(r,t)}function Z1(e,t){var r=zp(e),a=r[0],n=r.slice(1),i=t.querySelectorAll(a);if(n.length===0)return Array.from(i);var o=[],u=Ee(i),s;try{for(u.s();!(s=u.n()).done;){var l=s.value;l!=null&&l.shadowRoot&&o.push.apply(o,ne(Z1(n,l.shadowRoot)))}}catch(c){u.e(c)}finally{u.f()}return o}function KD(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var ti=KD,J1=[,[,[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,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,,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,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,,,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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],[,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,,,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,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,,,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,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,,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,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,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,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,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,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]],[,[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,,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,,,,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,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,,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,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,,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,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,,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,,,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,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,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,,,,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,,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,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],,[,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,,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,,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,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,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,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,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,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,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,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,,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,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,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,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,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],[,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,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,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,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,,,,,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],[,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,,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,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,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,,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,,,,,,,,,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,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,,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,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,,,,,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,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,,,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,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,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,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,,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,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,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],[,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,,,,,,,,,,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,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,,,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,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,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,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,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,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,,,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,,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,,,,,,,,,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,,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,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,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,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,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,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,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],[,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],[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,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,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,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],[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],[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,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,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,,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,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,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,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,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,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,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,,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,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,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,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,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,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,,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,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,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,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,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,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,,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,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,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,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,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,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,,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,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,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,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,,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,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,,,,,,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,,,,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,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,,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,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,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,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,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,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,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,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,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,,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,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,,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,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,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,,,,,,,,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],[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,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,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,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,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,,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,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,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,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,,,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],[,,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,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,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,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,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,,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,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,,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,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,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,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,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,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,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,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,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,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,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,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,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,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,,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,,,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,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,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,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,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],[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,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,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,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],[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,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,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,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,,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,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,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,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,,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],[,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,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,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,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,,,,,,,,,,,,,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,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,,,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,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],[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,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],[,,,,,,,,,,,,,,,,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,,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,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,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,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,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,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],[,,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,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],[,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,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,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],[,,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,,,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,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,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,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,,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,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,,,,,,,,,,,,,,,,,,,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,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,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,,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,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,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,,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,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,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,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,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,,,,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,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,,,,,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,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,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,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,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],[,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],[,,,,,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,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function XD(e){for(var t=J1;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){var a=e.charCodeAt(r)-96;if(t=t[a],!t)return!1}return!0}function Q1(e){e=Array.isArray(e)?e:J1;var t=[];return e.forEach(function(r,a){var n=String.fromCharCode(a+96).replace("`","");Array.isArray(r)?t=t.concat(Q1(r).map(function(i){return n+i})):t.push(n)}),t}var ri=XD,ZD=function(e){function t(r){var a;return Tt(this,t),a=mi(this,t),a._props=QD(r),a._attrs=e_(r),a}return vi(t,e),Rt(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(a){var n;return(n=this._attrs[a])!==null&&n!==void 0?n:null}},{key:"hasAttr",value:function(a){return this._attrs[a]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(He),Tu={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},ef={},JD=Object.keys(Tu);JD.forEach(function(e){ef[Tu[e]]=e});function QD(e){var t,r,a,n=(t=e.nodeName)!==null&&t!==void 0?t:ef[e.nodeType],i=(r=(a=e.nodeType)!==null&&a!==void 0?a:Tu[e.nodeName])!==null&&r!==void 0?r:1;me(typeof i=="number","nodeType has to be a number, got '".concat(i,"'")),me(typeof n=="string","nodeName has to be a string, got '".concat(n,"'")),n=n.toLowerCase();var o=null;n==="input"&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),ti().includes(o)||(o="text"));var u=de({},e,{nodeType:i,nodeName:n});return o&&(u.type=o),delete u.attributes,Object.freeze(u)}function e_(e){var t=e.attributes,r=t===void 0?{}:t,a={htmlFor:"for",className:"class"};return Object.keys(r).reduce(function(n,i){var o=r[i];if(me(O(o)!=="object"||o===null,"expects attributes not to be an object, '".concat(i,"' was")),o!==void 0){var u=a[i]||i;n[u]=o!==null?String(o):null}return n},{})}var tf=ZD;function t_(e,t){if(e=e||function(){},t=t||_.log,!_._audit)throw new Error("No audit configured");var r=_.utils.queue(),a=[];Object.keys(_.plugins).forEach(function(i){r.defer(function(o){var u=function(l){a.push(l),o()};try{_.plugins[i].cleanup(o,u)}catch(s){u(s)}})});var n=_.utils.getFlattenedTree(M.body);_.utils.querySelectorAll(n,"iframe, frame").forEach(function(i){r.defer(function(o,u){return _.utils.sendCommandToFrame(i.actualNode,{command:"cleanup-plugin"},o,u)})}),r.then(function(i){a.length===0?e(i):t(a)}).catch(t)}var rf=t_,Ia={},af;function nf(e){return Ia.hasOwnProperty(e)}function Ru(e){return typeof e=="string"&&Ia[e]?Ia[e]:typeof e=="function"?e:af}function r_(e,t,r){Ia[e]=t,r&&(af=t)}function a_(e){var t=_._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var a=r.split("-"),n=$(a,2),i=n[0],o=n[1],u=i.split(".").map(Number),s=$(u,3),l=s[0],c=s[1],d=s[2],f=_.version.split("-"),p=$(f,2),m=p[0],h=p[1],v=m.split(".").map(Number),g=$(v,3),b=g[0],D=g[1],w=g[2];if(l!==b||D=f&&!m;v--)for(var g=d;g>=p;g--){var b=r[v]?r[v][g]:void 0;if(b){var D=_.utils.getNodeFromTree(b);if(D[a]){m=D[a];break}h.push(b)}}return m=(m||[]).concat(h.filter(n)),h.forEach(function(w){var x=_.utils.getNodeFromTree(w);x[a]=m}),m}function d_(e,t){if(e.getAttribute("headers")){var r=Ot(e,"headers");if(r.filter(function(o){return o}).length)return r}t||(t=Ut(Nr(e,"table")));var a=_n(e,t),n=uf("row",a,t),i=uf("col",a,t);return[].concat(n,i).reverse()}var ai=d_;function f_(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return Br(t)?["cell","gridcell"].includes(t):e.nodeName.toUpperCase()==="TD"}var sf=f_;function p_(e){var t=(e.getAttribute("role")||"").toLowerCase();if((t==="presentation"||t==="none")&&!Se(e))return!1;if(e.getAttribute("contenteditable")==="true"||Nr(e,'[contenteditable="true"]')||t==="grid"||t==="treegrid"||t==="table"||Ct(t)==="landmark")return!0;if(e.getAttribute("datatable")==="0")return!1;if(e.getAttribute("summary")||e.tHead||e.tFoot||e.caption)return!0;for(var r=0,a=e.children.length;r=5||s)return!0;for(var p,m,h=0;h=20?!0:!(oo(e).width>pn(E).width*.95||n<10||e.querySelector("object, embed, iframe, applet"))}var ni=p_;function m_(e){if(qr(e)||jr(e))return!0;if(e.getAttribute("id")){var t=Re(e.getAttribute("id"));return!!M.querySelector('[headers~="'.concat(t,'"]'))}return!1}var h_=m_;function lf(e,t,r,a){var n,i=r[t.y]?r[t.y][t.x]:void 0;return i?typeof a=="function"&&(n=a(i,t,r),n===!0)?[i]:(n=lf(e,{x:t.x+e.x,y:t.y+e.y},r,a),n.unshift(i),n):[]}function v_(e,t,r,a){if(Array.isArray(t)&&(a=r,r=t,t={x:0,y:0}),typeof e=="string")switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1};break}return lf(e,{x:t.x+e.x,y:t.y+e.y},r,a)}var Su=v_;function g_(e){var t=ku(e),r=this,a=[];t.forEach(function(u){var s=u.getAttribute("headers");s&&(a=a.concat(s.split(/\s+/)));var l=u.getAttribute("aria-labelledby");l&&(a=a.concat(l.split(/\s+/)))});var n=t.filter(function(u){return re(u.textContent)===""?!1:u.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(u.getAttribute("role"))!==-1}),i=Ut(e),o=!0;return n.forEach(function(u){if(!(u.getAttribute("id")&&a.includes(u.getAttribute("id")))){var s=_n(u,i),l=!1;qr(u)&&(l=Su("down",s,i).find(function(c){return!qr(c)&&ai(c,i).includes(u)})),!l&&jr(u)&&(l=Su("right",s,i).find(function(c){return!jr(c)&&ai(c,i).includes(u)})),l||r.relatedNodes(u),o=o&&l}}),o?!0:void 0}var b_=g_;function y_(e){for(var t=[],r=[],a=[],n=0;n0)return this.relatedNodes(a),!1;if(r.length){this.relatedNodes(r);return}return!0}var cf={};Dt(cf,{allowedAttr:function(){return df},arialabelText:function(){return ba},arialabelledbyText:function(){return ga},getAccessibleRefs:function(){return Ou},getElementUnallowedRoles:function(){return mf},getExplicitRole:function(){return we},getImplicitRole:function(){return Mt},getOwnedVirtual:function(){return wa},getRole:function(){return le},getRoleType:function(){return Ct},getRolesByType:function(){return S_},getRolesWithNameFromContents:function(){return I_},implicitNodes:function(){return N_},implicitRole:function(){return Mt},isAccessibleRef:function(){return ii},isAriaRoleAllowedOnElement:function(){return pf},isComboboxPopup:function(){return Iu},isUnsupportedRole:function(){return wo},isValidRole:function(){return Br},label:function(){return bf},labelVirtual:function(){return An},lookupTable:function(){return vf},namedFromContents:function(){return Cc},requiredAttr:function(){return yf},requiredContext:function(){return Pu},requiredOwned:function(){return Nu},validateAttr:function(){return oi},validateAttrValue:function(){return wf}});function w_(e){var t=he.ariaRoles[e],r=ne(wr());return t&&(t.allowedAttrs&&r.push.apply(r,ne(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,ne(t.requiredAttrs))),r}var df=w_,D_=/^idrefs?$/;function ff(e,t,r){if(e.hasAttribute){if(e.nodeName.toUpperCase()==="LABEL"&&e.hasAttribute("for")){var a=e.getAttribute("for");t.has(a)?t.get(a).push(e):t.set(a,[e])}for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:!0,r=ye(e),a=r.vNode;if(!wu(a))return[];var n=a.props.nodeName,i=Mt(a)||A_[n],o=C_(a);return o.filter(function(u){return!T_(u,a,t,i)})}function T_(e,t,r,a){return r&&e===a?!0:E_.includes(e)&&Ct(e)!==a?!1:pf(t,e)}var mf=F_;function R_(e){return Object.keys(he.ariaRoles).filter(function(t){return he.ariaRoles[t].type===e})}var $r=R_;function k_(e){return $r(e)}var S_=k_;function O_(){return ue.get("ariaRolesNameFromContent",function(){return Object.keys(he.ariaRoles).filter(function(e){return he.ariaRoles[e].nameFromContent})})}var Mu=O_;function M_(){return Mu()}var I_=M_,hf=function(t){return t===null},Ze=function(t){return t!==null},Wt={};Wt.attributes={"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},Wt.globalAttributes=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"],Wt.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Ze}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Ze}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Ze}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Ze}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Ze}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Ze}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Ze}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Ze}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Ze}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Ze}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Ze}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Ze}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Ze}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:Ze}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Wt.implicitHtmlRole=Eo,Wt.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Ze}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Ze}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(t){return t instanceof _.AbstractVirtualNode||(t=_.utils.getNodeFromTree(t)),Number(t.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","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","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Wt.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:hf}},{nodeName:"img",attributes:{alt:hf}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Wt.evaluateRoleForElement={A:function(t){var r=t.node,a=t.out;return r.namespaceURI==="http://www.w3.org/2000/svg"?!0:r.href.length?a:!0},AREA:function(t){var r=t.node;return!r.href},BUTTON:function(t){var r=t.node,a=t.role,n=t.out;return r.getAttribute("type")==="menu"?a==="menuitem":n},IMG:function(t){var r=t.node,a=t.role,n=t.out;switch(r.alt){case null:return n;case"":return a==="presentation"||a==="none";default:return a!=="presentation"&&a!=="none"}},INPUT:function(t){var r=t.node,a=t.role,n=t.out;switch(r.type){case"button":case"image":return n;case"checkbox":return a==="button"&&r.hasAttribute("aria-pressed")?!0:n;case"radio":return a==="menuitemradio";case"text":return a==="combobox"||a==="searchbox"||a==="spinbutton";case"tel":return a==="combobox"||a==="spinbutton";case"url":case"search":case"email":return a==="combobox";default:return!1}},LI:function(t){var r=t.node,a=t.out,n=_.utils.matchesSelector(r,"ol li, ul li");return n?a:!0},MENU:function(t){var r=t.node;return r.getAttribute("type")!=="context"},OPTION:function(t){var r=t.node,a=_.utils.matchesSelector(r,"select > option, datalist > option, optgroup > option");return!a},SELECT:function(t){var r=t.node,a=t.role;return!r.multiple&&r.size<=1&&a==="menu"},SVG:function(t){var r=t.node,a=t.out;return r.parentNode&&r.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?!0:a}},Wt.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var vf=Wt;function P_(e){var t=null,r=vf.role[e];return r&&r.implicit&&(t=Vt(r.implicit)),t}var N_=P_;function L_(e){return!!Ou(e).length}var ii=L_;function Iu(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=r.popupRoles,n=le(e);if((t=a)!==null&&t!==void 0||(a=uc["aria-haspopup"].values),!a.includes(n))return!1;var i=B_(e);if(gf(i))return!0;var o=e.props.id;if(!o)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var u=pa(e.actualNode),s=u.querySelectorAll('[aria-owns~="'.concat(o,`"][role~="combobox"]:not(select), + [aria-controls~="`).concat(o,'"][role~="combobox"]:not(select)'));return Array.from(s).some(gf)}var gf=function(t){return t&&le(t)==="combobox"};function B_(e){for(;e=e.parent;)if(le(e,{noPresentational:!0})!==null)return e;return null}function q_(e){return e=se(e),An(e)}var bf=q_;function j_(e){var t=he.ariaRoles[e];return!t||!Array.isArray(t.requiredAttrs)?[]:ne(t.requiredAttrs)}var yf=j_;function z_(e){var t=he.ariaRoles[e];return!t||!Array.isArray(t.requiredContext)?null:ne(t.requiredContext)}var Pu=z_;function V_(e){var t=he.ariaRoles[e];return!t||!Array.isArray(t.requiredOwned)?null:ne(t.requiredOwned)}var Nu=V_;function H_(e,t){e=e instanceof He?e:se(e);var r,a,n=e.attr(t),i=he.ariaAttrs[t];if(!i||i.allowEmpty&&(!n||n.trim()===""))return!0;switch(i.type){case"boolean":return["true","false"].includes(n.toLowerCase());case"nmtoken":return typeof n=="string"&&i.values.includes(n.toLowerCase());case"nmtokens":return a=Xe(n),a.reduce(function(s,l){return s&&i.values.includes(l)},a.length!==0);case"idref":try{var o=Ke(e.actualNode);return!!(n&&o.getElementById(n))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Ot(e,t).some(function(s){return!!s});case"string":return n.trim()!=="";case"decimal":return r=n.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(r&&(r[1]||r[2]));case"int":var u=typeof i.minValue<"u"?i.minValue:-1/0;return/^[-+]?[0-9]+$/.test(n)&&parseInt(n)>=u}}var wf=H_;function $_(e){var t=he.ariaAttrs[e];return!!t}var oi=$_;function U_(e){var t=[],r=ku(e),a=Ut(e);return r.forEach(function(n){if(Fn(n)&&sf(n)&&!bf(n)){var i=ai(n,a).some(function(o){return o!==null&&!!Fn(o)});i||t.push(n)}}),t.length?(this.relatedNodes(t),!1):!0}var G_=U_;function W_(e,t){var r=e.getAttribute("scope").toLowerCase();return t.values.indexOf(r)!==-1}var Y_=W_,K_=X_;function X_(e,t,r){if(r.children!==void 0){var a=r.attr("summary"),n=r.children.find(Z_),i=n?re(Qt(n)):!1;return!i||!a?!1:re(a).toLowerCase()===re(i).toLowerCase()}}function Z_(e){return e.props.nodeName==="caption"}function J_(e){return Jc(M)?e.nodeName.toUpperCase()==="TH":!0}var Q_=J_;function ex(e){var t=Ut(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1?!0:r.reduce(function(a,n,i){return a||n!==r[i+1]&&r[i+1]!==void 0},!1)}var tx=ex;function rx(e,t,r){if(r.children){var a=r.children.find(function(i){var o=i.props;return o.nodeName==="title"});if(!a)return this.data({messageKey:"noTitle"}),!1;try{var n=Qt(a,{includeHidden:!0}).trim();if(n==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return!0}}var ax=rx,Df={};Dt(Df,{getAriaRolesByType:function(){return $r},getAriaRolesSupportingNameFromContent:function(){return Mu},getElementSpec:function(){return _r},getElementsByContentType:function(){return Do},getGlobalAriaAttrs:function(){return wr},implicitHtmlRoles:function(){return Eo}});function nx(e,t,r){var a=we(r);if(["presentation","none"].includes(a)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var n=le(r);if(["presentation","none"].includes(n))return this.data({role:n}),!0;if(!["presentation","none"].includes(a))return!1;var i=wr().some(function(s){return r.hasAttr(s)}),o=Se(r),u;return i&&!o?u="globalAria":!i&&o?u="focusable":u="both",this.data({messageKey:u,role:n}),!1}function ix(e,t,r){var a=r.props.nodeName,n=(r.attr("type")||"").toLowerCase(),i=r.attr("value");return i&&this.data({messageKey:"has-label"}),a==="input"&&["submit","reset"].includes(n)?i===null:!1}var ox=ix;function ux(e){return st(e)}var sx=ux;function lx(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.minValue,i=t.maxValue,o=t.normalValue,u=o===void 0?0:o,s=t.noImportant,l=t.multiLineOnly;if(!s&&e.style.getPropertyPriority(r)!=="important"||l&&!td(e))return!0;var c={};typeof n=="number"&&(c.minValue=n),typeof i=="number"&&(c.maxValue=i);var d=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(d))return this.data(de({value:d},c)),!0;var f=cx(e,{absoluteValues:a,cssProperty:r,normalValue:u});if(this.data(de({value:f},c)),typeof f=="number")return(typeof n!="number"||f>=n)&&(typeof i!="number"||f<=i)}function cx(e,t){var r=t.cssProperty,a=t.absoluteValues,n=t.normalValue,i=E.getComputedStyle(e),o=i.getPropertyValue(r);if(o==="normal")return n;var u=parseFloat(o);if(a)return u;var s=parseFloat(i.getPropertyValue("font-size")),l=Math.round(u/s*100)/100;return isNaN(l)?o:l}function dx(e,t,r){var a=r.props.nodeName;return["img","input","area"].includes(a)?r.hasAttr("alt"):!1}var fx=dx;function px(){}var mx=px;function hx(){var e=M.title;return!!re(e)}var vx=hx;function gx(e,t){var r=t.cssProperties.filter(function(a){if(e.style.getPropertyPriority(a)==="important")return a});return r.length>0?(this.data(r),!1):!0}var bx=gx;function yx(e,t,r){try{return!!re(ga(r))}catch{return}}var wx=yx;function Dx(e,t,r){return!!re(ba(r))}var _x=Dx;function xx(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=Ke(e),a=Array.from(r.querySelectorAll('[id="'.concat(Re(t),'"]'))).filter(function(n){return n!==e});return a.length&&this.relatedNodes(a),this.data(t),a.length===0}var Ex=xx;function Ax(e){var t=[];return e.filter(function(r){return t.indexOf(r.data)===-1?(t.push(r.data),!0):!1})}var Cx=Ax;function Fx(e,t,r){var a=re(r.attr("title")).toLowerCase();return this.data(a),!0}var Tx=Fx;function Rx(e){var t={};return e.forEach(function(r){t[r.data]=t[r.data]!==void 0?++t[r.data]:0}),e.forEach(function(r){r.result=!!t[r.data]}),e}var kx=Rx;function Sx(e){var t=vo(e,"href");return t?Ce(t)||void 0:!1}var Ox=Sx,Mx=["alert","log","status"];function Ix(e,t,r){this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)});var a=ue.get("regionlessNodes",function(){return Px(t)});return!a.includes(r)}function Px(e){var t=_f(_._tree[0],e).map(function(r){for(;r.parent&&!r.parent._hasRegionDescendant&&r.parent.actualNode!==M.body;)r=r.parent;return r}).filter(function(r,a,n){return n.indexOf(r)===a});return t}function _f(e,t){var r=e.actualNode;if(le(e)==="button"||Lx(e,t)||["iframe","frame"].includes(e.props.nodeName)||uu(e.actualNode)&&vo(e.actualNode,"href")||!Ce(r)){for(var a=e;a;)a._hasRegionDescendant=!0,a=a.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}else return r!==M.body&&Fn(r,!0)&&!Nx(e)?[e]:e.children.filter(function(n){var i=n.actualNode;return i.nodeType===1}).map(function(n){return _f(n,t)}).reduce(function(n,i){return n.concat(i)},[])}function Nx(e){return["none","presentation"].includes(le(e))&&!Lo(e)}function Lx(e,t){var r=e.actualNode,a=le(e),n=(r.getAttribute("aria-live")||"").toLowerCase().trim(),i=$r("landmark");return!!(["assertive","polite"].includes(n)||Mx.includes(a)||i.includes(a)||t.regionMatcher&&ya(e,t.regionMatcher))}function Bx(e){var t=e.filter(function(r){return r.data.isIframe});return e.forEach(function(r){if(!(r.result||r.node.ancestry.length===1)){var a=r.node.ancestry.slice(0,-1),n=Ee(t),i;try{for(n.s();!(i=n.n()).done;){var o=i.value;if(_u(a,o.node.ancestry)){r.result=o.result;break}}}catch(u){n.e(u)}finally{n.f()}}}),t.forEach(function(r){r.result||(r.result=!0)}),e}var qx=Bx;function jx(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function zx(e){for(var t=e,r=e.textContent.trim(),a=r;a===r&&t!==void 0;){var n=-1;if(e=t,e.children.length===0)return e;do n++,a=e.children[n].textContent.trim();while(a===""&&n+1t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)},!1)}function Vx(e,t,r){var a=Array.from(e.parentNode.children),n=a.indexOf(e);t=t||{};var i=t.margins||[],o=a.slice(n+1).find(function(v){return v.nodeName.toUpperCase()==="P"}),u=a.slice(0,n).reverse().find(function(v){return v.nodeName.toUpperCase()==="P"}),s=Lu(e),l=o?Lu(o):null,c=u?Lu(u):null,d=t.passLength,f=t.failLength,p=e.textContent.trim().length,m=o==null?void 0:o.textContent.trim().length;if(p>m*d||!l||!xf(s,l,i))return!0;var h=Pr(r,"blockquote");if(!(h&&h.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(c&&!xf(s,c,i))&&!(p>m*f))return!1}var Hx=Vx,$x=/[;,\s]/,Ux=/^[0-9.]+$/;function Gx(e,t,r){var a=t||{},n=a.minDelay,i=a.maxDelay,o=(r.attr("content")||"").trim(),u=o.split($x),s=$(u,1),l=s[0];if(!l.match(Ux))return!0;var c=parseFloat(l);return this.data({redirectDelay:c}),typeof n=="number"&&c<=t.minDelay||typeof i=="number"&&c>t.maxDelay}function Wx(e,t,r){var a=pt(r,"a[href]");return a.some(function(n){return/^#[^/!]/.test(n.attr("href"))})}var Yx=Wx,Ef={};Dt(Ef,{aria:function(){return cf},color:function(){return Af},dom:function(){return ao},forms:function(){return Lf},matches:function(){return ya},math:function(){return zl},standards:function(){return Df},table:function(){return of},text:function(){return va},utils:function(){return Pi}});var Af={};Dt(Af,{Color:function(){return Fe},centerPointOfRect:function(){return Xx},elementHasImage:function(){return Tn},elementIsDistinct:function(){return Ff},filteredRectStack:function(){return eE},flattenColors:function(){return Bt},flattenShadowColors:function(){return qu},getBackgroundColor:function(){return Na},getBackgroundStack:function(){return ju},getContrast:function(){return Ur},getForegroundColor:function(){return li},getOwnBackgroundColor:function(){return Er},getRectStack:function(){return Tf},getStackingContext:function(){return Vu},getStrokeColorsFromShadows:function(){return zu},getTextShadowColors:function(){return si},hasValidContrastRatio:function(){return _E},incompleteData:function(){return Ge},parseTextShadows:function(){return Sf},stackingContextToColor:function(){return Pa}});function Kx(e){if(!(e.left>E.innerWidth)&&!(e.top>E.innerHeight)){var t=Math.min(Math.ceil(e.left+e.width/2),E.innerWidth-1),r=Math.min(Math.ceil(e.top+e.height/2),E.innerHeight-1);return{x:t,y:r}}}var Xx=Kx;function Cf(e){return e.getPropertyValue("font-family").split(/[,;]/g).map(function(t){return t.trim().toLowerCase()})}function Zx(e,t){var r=E.getComputedStyle(e);if(r.getPropertyValue("background-image")!=="none")return!0;var a=["border-bottom","border-top","outline"].reduce(function(u,s){var l=new Fe;return l.parseString(r.getPropertyValue(s+"-color")),u||r.getPropertyValue(s+"-style")!=="none"&&parseFloat(r.getPropertyValue(s+"-width"))>0&&l.alpha!==0},!1);if(a)return!0;var n=E.getComputedStyle(t);if(Cf(r)[0]!==Cf(n)[0])return!0;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(u,s){return u||r.getPropertyValue(s)!==n.getPropertyValue(s)},!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==n.getPropertyValue("text-decoration")),i}var Ff=Zx;function Jx(e){var t=nc(e),r=Po(e);return!r||r.length<=1?[t]:r.some(function(a){return a===void 0})?null:(r.splice(0,0,t),r)}var Tf=Jx;function Qx(e){var t=Tf(e);if(t&&t.length===1)return t[0];if(t&&t.length>1){var r=t.shift(),a;return t.forEach(function(n,i){if(i!==0){var o=t[i-1],u=t[i];a=o.every(function(s,l){return s===u[l]})||r.includes(e)}}),a?t[0]:(Ge.set("bgColor","elmPartiallyObscuring"),null)}return Ge.set("bgColor","outsideViewport"),null}var eE=Qx,tE=["hue","saturation","color","luminosity"],Rf={normal:function(t,r){return r},multiply:function(t,r){return r*t},screen:function(t,r){return t+r-t*r},overlay:function(t,r){return this["hard-light"](r,t)},darken:function(t,r){return Math.min(t,r)},lighten:function(t,r){return Math.max(t,r)},"color-dodge":function(t,r){return t===0?0:r===1?1:Math.min(1,t/(1-r))},"color-burn":function(t,r){return t===1?1:r===0?0:1-Math.min(1,(1-t)/r)},"hard-light":function(t,r){return r<=.5?this.multiply(t,2*r):this.screen(t,2*r-1)},"soft-light":function(t,r){if(r<=.5)return t-(1-2*r)*t*(1-t);var a=t<=.25?((16*t-12)*t+4)*t:Math.sqrt(t);return t+(2*r-1)*(a-t)},difference:function(t,r){return Math.abs(t-r)},exclusion:function(t,r){return t+r-2*t*r},hue:function(t,r){return r.setSaturation(t.getSaturation()).setLuminosity(t.getLuminosity())},saturation:function(t,r){return t.setSaturation(r.getSaturation()).setLuminosity(t.getLuminosity())},color:function(t,r){return r.setLuminosity(t.getLuminosity())},luminosity:function(t,r){return t.setLuminosity(r.getLuminosity())}};function Bt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",a=aE(t,e,r),n=Bu(e.red,e.alpha,t.red,t.alpha,a.r*255),i=Bu(e.green,e.alpha,t.green,t.alpha,a.g*255),o=Bu(e.blue,e.alpha,t.blue,t.alpha,a.b*255),u=rE(e.alpha+t.alpha*(1-e.alpha),0,1);if(u===0)return new Fe(n,i,o,u);var s=Math.round(n/u),l=Math.round(i/u),c=Math.round(o/u);return new Fe(s,l,c,u)}function Bu(e,t,r,a,n){return t*(1-a)*e+t*a*n+(1-t)*a*r}function rE(e,t,r){return Math.min(Math.max(t,e),r)}function aE(e,t,r){if(tE.includes(r))return Rf[r](e,t);var a=new Fe;return["r","g","b"].forEach(function(n){a[n]=Rf[r](e[n],t[n])}),a}function qu(e,t){var r=e.alpha,a=(1-r)*t.red+r*e.red,n=(1-r)*t.green+r*e.green,i=(1-r)*t.blue+r*e.blue,o=e.alpha+t.alpha*(1-e.alpha);return new Fe(a,n,i,o)}function ju(e){for(var t=Po(e).map(function(n){return n=p1(n,e),n=nE(n),n}),r=0;r1&&a.alpha===0&&!Tn(M.documentElement)){t>1&&(r.splice(t,1),r.push(M.body));var n=r.indexOf(M.documentElement);n>0&&(r.splice(n,1),r.push(M.documentElement))}return r}function iE(e,t){if(e===t)return!0;if(e===null||t===null||e.length!==t.length)return!1;for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=t.ignoreEdgeCount,a=r===void 0?!1:r,n=sE(e),i=Object.entries(n).map(function(o){var u=$(o,2),s=u[0],l=u[1],c=kf.filter(function(d){return l[d].length!==0}).length;return{colorStr:s,sides:l,edgeCount:c}});return!a&&i.some(function(o){var u=o.edgeCount;return u>1&&u<4})?null:i.map(lE).filter(function(o){return o!==null})}function sE(e){var t={},r=Ee(e),a;try{for(r.s();!(a=r.n()).done;){var n,i=a.value,o=i.colorStr,u=i.pixels;(n=t[o])!==null&&n!==void 0||(t[o]={top:[],right:[],bottom:[],left:[]});var s=t[o],l=$(u,2),c=l[0],d=l[1];c>ui?s.right.push(c):-c>ui&&s.left.push(-c),d>ui?s.bottom.push(d):-d>ui&&s.top.push(-d)}}catch(f){r.e(f)}finally{r.f()}return t}function lE(e){var t=e.colorStr,r=e.sides,a=e.edgeCount;if(a!==4)return null;var n=new Fe;n.parseString(t);var i=0,o=!0;return kf.forEach(function(u){i+=r[u].length/4,o&&(o=r[u].every(function(s){return s>uE}))}),o||(n.alpha=1-Math.pow(oE,i)),n}function Sf(e){var t={pixels:[]},r=e.trim(),a=[t];if(!r)return[];for(;r;){var n=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),i=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(n)me(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(n[0],"").trim(),t.colorStr=n[0];else if(i){me(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(i[0],"").trim();var o=parseFloat((i[1][0]==="."?"0":"")+i[1]);t.pixels.push(o)}else if(r[0]===",")me(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},a.push(t),r=r.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(r))}return a.forEach(function(u){var s=u.pixels;s.length===2&&s.push(0)}),a}function si(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.minRatio,a=t.maxRatio,n=t.ignoreEdgeCount,i=[],o=E.getComputedStyle(e),u=o.getPropertyValue("text-shadow");if(u==="none")return i;var s=o.getPropertyValue("font-size"),l=parseInt(s);me(isNaN(l)===!1,"Unable to determine font-size value ".concat(s));var c=[],d=Sf(u),f=Ee(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value,h=m.colorStr||o.getPropertyValue("color"),v=$(m.pixels,3),g=v[0],b=v[1],D=v[2],w=D===void 0?0:D;if(!(a&&w>=l*a)){if(r&&w0){var x=zu(c,{ignoreEdgeCount:n});if(x===null)return null;i.push.apply(i,ne(x)),c.splice(0,c.length)}var F=cE({colorStr:h,offsetX:g,offsetY:b,blurRadius:w,fontSize:l});i.push(F)}}}catch(P){f.e(P)}finally{f.f()}if(c.length>0){var R=zu(c,{ignoreEdgeCount:n});if(R===null)return null;i.push.apply(i,ne(R))}return i}function cE(e){var t=e.colorStr,r=e.offsetX,a=e.offsetY,n=e.blurRadius,i=e.fontSize;if(r>n||a>n)return new Fe(0,0,0,0);var o=new Fe;return o.parseString(t),o.alpha*=dE(n,i),o}function dE(e,t){if(e===0)return 1;var r=e/t;return .185/(r+.4)}function Vu(e,t){var r,a=se(e);if(a._stackingContext)return a._stackingContext;var n=[],i=new Map;return t=(r=t)!==null&&r!==void 0?r:ju(e),t.forEach(function(o){var u,s=se(o),l=mE(s),c=s._stackingOrder.filter(function(p){var m=p.vNode;return!!m});c.forEach(function(p,m){var h,v=p.vNode,g=(h=c[m-1])===null||h===void 0?void 0:h.vNode,b=Mf(i,v,g);m===0&&!i.get(v)&&n.unshift(b),i.set(v,b)});var d=(u=c[c.length-1])===null||u===void 0?void 0:u.vNode,f=Mf(i,s,d);c.length||n.unshift(f),f.bgColor=l}),a._stackingContext=n,n}function Pa(e){var t;if(!((t=e.descendants)!==null&&t!==void 0&&t.length)){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var a=e.descendants.reduce(fE,Of()),n=Bt(a,e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function fE(e,t){var r;e instanceof Fe?r=e:r=Pa(e).color;var a=Pa(t).color;return Bt(a,r,t.blendMode)}function Of(e,t){var r;return{vNode:e,ancestor:t,opacity:parseFloat((r=e==null?void 0:e.getComputedStylePropertyValue("opacity"))!==null&&r!==void 0?r:1),bgColor:new Fe(0,0,0,0),blendMode:pE(e==null?void 0:e.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function pE(e){return e||void 0}function Mf(e,t,r){var a,n=e.get(r),i=(a=e.get(t))!==null&&a!==void 0?a:Of(t,n);return n&&r!==t&&!n.descendants.includes(i)&&n.descendants.unshift(i),i}function mE(e){var t=new Fe;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}function Na(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,a=se(e),n=a._cache.getBackgroundColor;if(n)return t.push.apply(t,ne(n.bgElms)),Ge.set("bgColor",n.incompleteData),n.bgColor;var i=hE(e,t,r);return a._cache.getBackgroundColor={bgColor:i,bgElms:t,incompleteData:Ge.get("bgColor")},i}function hE(e,t,r){var a,n,i=ju(e);if(!i)return null;var o=Io(e),u=(a=si(e,{minRatio:r,ignoreEdgeCount:!0}))!==null&&a!==void 0?a:[];u.length&&(u=[{color:u.reduce(qu)}]);for(var s=0;s=r.top&&u.bottom<=n&&u.left>=r.left&&u.right<=a})}function Pf(e){return e||void 0}function vE(e,t){var r=[];if(!t){var a=M.documentElement,n=M.body,i=E.getComputedStyle(a),o=E.getComputedStyle(n),u=Er(i),s=Er(o),l=s.alpha!==0&&If(n,e.getBoundingClientRect());(s.alpha!==0&&u.alpha===0||l&&s.alpha!==1)&&r.unshift({color:s,blendMode:Pf(o.getPropertyValue("mix-blend-mode"))}),u.alpha!==0&&(!l||l&&s.alpha!==1)&&r.unshift({color:u,blendMode:Pf(i.getPropertyValue("mix-blend-mode"))})}return r}function gE(e,t){if(!t||!e)return null;t.alpha<1&&(t=Bt(t,e));var r=e.getRelativeLuminance(),a=t.getRelativeLuminance();return(Math.max(a,r)+.05)/(Math.min(a,r)+.05)}var Ur=gE;function li(e,t,r){for(var a,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},i=E.getComputedStyle(e),o=[function(){return yE(i,n)},function(){return bE(i)},function(){return si(e,{minRatio:0})}],u=[],s=0,l=o;so,contrastRatio:n,expectedContrastRatio:o}}var _E=DE,Lf={};Dt(Lf,{isAriaCombobox:function(){return Mc},isAriaListbox:function(){return Oc},isAriaRange:function(){return Ic},isAriaTextbox:function(){return Sc},isDisabled:function(){return La},isNativeSelect:function(){return kc},isNativeTextbox:function(){return Rc}});var xE=["fieldset","button","select","input","textarea"];function Bf(e){var t=e._isDisabled;if(typeof t=="boolean")return t;var r=e.props.nodeName,a=e.attr("aria-disabled");return xE.includes(r)&&e.hasAttr("disabled")?t=!0:a?t=a.toLowerCase()==="true":e.parent?t=Bf(e.parent):t=!1,e._isDisabled=t,t}var La=Bf;function EE(e,t,r){var a=va.accessibleTextVirtual(r),n=va.sanitize(va.removeUnicode(a,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(n){var i={name:n,urlProps:ao.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),!0}}var AE=EE;function qf(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),a=Object.getOwnPropertyNames(t);if(r.length!==a.length)return!1;var n=r.every(function(i){var o=e[i],u=t[i];return O(o)!==O(u)?!1:O(o)==="object"||O(u)==="object"?qf(o,u):o===u});return n}function CE(e){if(e.length<2)return e;for(var t=e.filter(function(o){var u=o.result;return u!==void 0}),r=[],a={},n=function(u){var s,l=t[u],c=l.data,d=c.name,f=c.urlProps;if(a[d])return 1;var p=t.filter(function(h,v){var g=h.data;return g.name===d&&v!==u}),m=p.every(function(h){var v=h.data;return qf(v.urlProps,f)});p.length&&!m&&(l.result=void 0),l.relatedNodes=[],(s=l.relatedNodes).push.apply(s,ne(p.map(function(h){return h.relatedNodes[0]}))),a[d]=p,r.push(l)},i=0;iu?r:a})}function VE(e){return e.filter(function(t){return Ct(t)==="widget"&&Se(t)})}function Vf(e,t){var r=e.boundingClientRect,a=t.boundingClientRect;return r.top>=a.top&&r.left>=a.left&&r.bottom<=a.bottom&&r.right<=a.right}function HE(e){return e.getComputedStylePropertyValue("pointer-events")}function ci(e){return{width:Math.round(e.width*10)/10,height:Math.round(e.height*10)/10}}function Hf(e,t){return Ht(e,t)&&!At(t)}function Ba(e){return e.map(function(t){var r=t.actualNode;return r})}var $E=.05;function UE(e,t,r){var a=(t==null?void 0:t.minOffset)||24;if($t(a*10,r.boundingClientRect))return this.data({messageKey:"large",minOffset:a}),!0;var n=[],i=a,o=Ee(yn(r,a)),u;try{for(o.s();!(u=o.n()).done;){var s=u.value;if(!(Ct(s)!=="widget"||!Se(s))){var l=null;try{l=Hl(r,s,a/2)}catch(c){if(c.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:a});return}throw c}l!==null&&(l=GE(l)*2,!(l+$E>=a)&&(i=Math.min(i,l),n.push(s)))}}}catch(c){o.e(c)}finally{o.f()}if(n.length===0)return this.data({closestOffset:i,minOffset:a}),!0;if(this.relatedNodes(n.map(function(c){var d=c.actualNode;return d})),!n.some(At)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:i,minOffset:a});return}return this.data({closestOffset:i,minOffset:a}),At(r)?!1:void 0}function GE(e){return Math.round(e*10)/10}function WE(e,t,r){var a=t||{},n=a.scaleMinimum,i=n===void 0?2:n,o=a.lowerBound,u=o===void 0?!1:o,s=r.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce(function(d,f){var p=f.trim();if(!p)return d;var m=p.split("="),h=$(m,2),v=h[0],g=h[1];if(!v||!g)return d;var b=v.toLowerCase().trim(),D=g.toLowerCase().trim();return b==="maximum-scale"&&D==="yes"&&(D=1),b==="maximum-scale"&&parseFloat(D)<0||(d[b]=D),d},{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])-1&&c<1?(this.data("user-scalable"),!1):l["maximum-scale"]&&parseFloat(l["maximum-scale"])0;)c+=d*parseInt(l.pop(),10),d*=60;return parseFloat(c)}}var JE=ZE;function QE(e,t){return t.isViolation?!1:void 0}var e5=QE,$f=" > ";function t5(e){var t={};return e.filter(function(r){var a=r.node.ancestry[r.node.ancestry.length-1]!=="html";if(a){var n=r.node.ancestry.flat(1/0).join($f);return t[n]=r,!0}var i=r.node.ancestry.slice(0,r.node.ancestry.length-1).flat(1/0).join($f);return t[i]&&(t[i].result=!0),!1})}var r5=t5;function a5(e,t,r){var a=pt(r,"track"),n=a.some(function(i){return(i.attr("kind")||"").toLowerCase()==="captions"});return n?!1:void 0}var n5=a5;function i5(e,t,r){var a=r.children;if(!a||!a.length)return!1;for(var n=!1,i=!1,o,u=0;u1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=[],n=[];if(r.children){for(var i=Uf(r.children);i.length;){var o,u=i.shift(),s=u.vChild,l=u.nested;if(t.divGroups&&!l&&p5(s)){if(!s.children)return;var c=Uf(s.children,!0);i.push.apply(i,ne(c));continue}var d=f5(s,l,t);d&&(n.includes(d)||n.push(d),(s==null||(o=s.actualNode)===null||o===void 0?void 0:o.nodeType)===1&&a.push(s.actualNode))}return n.length===0?!1:(this.data({values:n.join(", ")}),this.relatedNodes(a),!0)}}function f5(e,t,r){var a=r.validRoles,n=a===void 0?[]:a,i=r.validNodeNames,o=i===void 0?[]:i,u=e.props,s=u.nodeName,l=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(l===3&&c.trim()!=="")return d+"#text";if(l!==1||!Ce(e))return!1;var f=we(e);return f?n.includes(f)?!1:d+"[role=".concat(f,"]"):o.includes(s)?!1:d+s}function p5(e){return e.props.nodeName==="div"&&we(e)===null}function Uf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return e.map(function(r){return{vChild:r,nested:t}})}function m5(e){var t=$e(e),r=t.nodeName.toUpperCase(),a=we(t);return r==="DIV"&&["presentation","none",null].includes(a)&&(t=$e(t),r=t.nodeName.toUpperCase(),a=we(t)),r!=="DL"?!1:!!(!a||["presentation","none","list"].includes(a))}var h5=m5;function v5(e,t,r){var a=Cr(r.attr("lang")),n=Cr(r.attr("xml:lang"));return a===n}var g5=v5;function b5(e,t,r){var a=[];return t.attributes.forEach(function(n){var i=r.attr(n);if(typeof i=="string"){var o=Cr(i),u=t.value?!t.value.map(Cr).includes(o):!ri(o);(o!==""&&u||i!==""&&!re(i))&&a.push(n+'="'+r.attr(n)+'"')}}),!a.length||r.props.nodeName!=="html"&&!Bo(r)?!1:(this.data(a),!0)}var y5=b5;function Hu(e){return(e||"").trim()!==""}function w5(e,t,r){var a=typeof M<"u"?tn(M):!1;if(t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Hu(r.attr("xml:lang"))&&!Hu(r.attr("lang"))&&!a)return this.data({messageKey:"noXHTML"}),!1;var n=t.attributes.some(function(i){return Hu(r.attr(i))});return n?!0:(this.data({messageKey:"noLang"}),!1)}var D5=w5;function _5(e,t,r){var a=le(e),n=Ue(r);return n=n?n.toLowerCase():null,this.data({role:a,accessibleText:n}),this.relatedNodes([e]),!0}var x5=_5;function E5(e){var t=[];return e.filter(function(r){var a=function(o){return r.data.role===o.data.role&&r.data.accessibleText===o.data.accessibleText},n=t.find(a);return n?(n.result=!1,n.relatedNodes.push(r.relatedNodes[0]),!1):(t.push(r),r.relatedNodes=[],!0)})}var A5=E5;function C5(e,t,r){var a=Cn(r),n=xn(r),i=r.attr("aria-describedby");return!a&&!!(n||i)}var F5=C5;function T5(e){var t=Re(e.getAttribute("id")),r=e.parentNode,a=Ke(e);a=a.documentElement||a;var n=Array.from(a.querySelectorAll('label[for="'.concat(t,'"]')));for(n.length&&(n=n.filter(function(u){return!Jt(u)}));r;)r.nodeName.toUpperCase()==="LABEL"&&n.indexOf(r)===-1&&n.push(r),r=r.parentNode;if(this.relatedNodes(n),n.length>1){var i=n.filter(function(u){return Ce(u)});if(i.length>1)return;var o=Ot(e,"aria-labelledby");return o.includes(i[0])?!1:void 0}return!1}var R5=T5;function k5(e,t){var r=Gf(t),a=Gf(e);return!r||!a?!1:r.includes(a)}function Gf(e){var t=Da(e,{emoji:!0,nonBmp:!0,punctuations:!0});return re(t)}function S5(e,t,r){var a,n=t==null?void 0:t.pixelThreshold,i=(a=t==null?void 0:t.occurrenceThreshold)!==null&&a!==void 0?a:t==null?void 0:t.occuranceThreshold,o=yr(e).toLowerCase(),u=re(Qt(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:n,occurrenceThreshold:i})).toLowerCase();if(!u)return!0;if(!(Mo(o)<1||Mo(u)<1))return k5(u,o)}var O5=S5;function M5(e,t,r){try{var a=ut(r,"label");if(a){var n=re(Ue(a,{inControlContext:!0,startNode:r}));return a.actualNode&&this.relatedNodes([a.actualNode]),this.data({implicitLabel:n}),!!n}return!1}catch{return}}var I5=M5;function P5(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var a=Ke(e),n=Re(e.getAttribute("id")),i=a.querySelector('label[for="'.concat(n,'"]'));if(i&&!Ce(i)){var o;try{o=Ue(r).trim()}catch{return}var u=o==="";return u}}return!1}var N5=P5;function L5(e,t,r){var a=Cn(r),n=e.getAttribute("title");if(!a)return!1;if(!n&&(n="",e.getAttribute("aria-describedby"))){var i=Ot(e,"aria-describedby");n=i.map(function(o){return o?yr(o):""}).join("")}return re(n)===re(a)}var B5=L5;function q5(e,t,r){var a=this;if(!r.attr("id"))return!1;if(r.actualNode){var n=Ke(r.actualNode),i=Re(r.attr("id")),o=Array.from(n.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return!1;try{return o.some(function(u){if(st(u)){var s=re(yr(u,{inControlContext:!0,startNode:r}));return a.data({explicitLabel:s}),!!s}else return!0})}catch{return}}}var j5=q5;function z5(e,t,r){if(["none","presentation"].includes(le(r)))return!1;var a=ut(r,t.parentSelector);if(!a)return!1;var n=It(a,!0).toLowerCase();return n===""?!1:n===Ue(r).toLowerCase()}var V5=z5;function H5(e,t,r){var a=r.attr("alt"),n=/^\s+$/;return typeof a=="string"&&n.test(a)}var $5=H5;function U5(e,t,r){var a=parseInt(r.attr("tabindex"),10);return isNaN(a)?!0:a<=0}var G5=U5;function W5(e,t,r){if(r.children)try{var a=Wf(r);if(!a.length)return!0;var n=a.filter(Y5);return n.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(n)):this.relatedNodes(a),!1}catch{return}}function Wf(e){if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach(function(r){Ct(r)==="widget"&&Se(r)?t.push(r):t.push.apply(t,ne(Wf(r)))}),t}function Y5(e){var t=parseInt(e.attr("tabindex"),10);return!isNaN(t)&&t<0}function K5(e){var t=$r("landmark"),r=$e(e),a=le(e);for(this.data({role:a});r;){var n=r.getAttribute("role");if(!n&&r.nodeName.toUpperCase()!=="FORM"&&(n=Mt(r)),n&&t.includes(n)&&!(n==="main"&&a==="complementary"))return!1;r=$e(r)}return!0}var X5=K5;function Z5(e,t,r){if(r.children)try{return!r.children.some(function(a){return Yf(a)})}catch{return}}function Yf(e){if(At(e))return!0;if(!e.children){if(e.props.nodeType===1)throw new Error("Cannot determine children");return!1}return e.children.some(function(t){return Yf(t)})}function J5(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return!0;var i=n.filter(function(o){return!a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||xa()?!0:i.every(function(o){var u=o.getComputedStylePropertyValue("pointer-events"),s=parseInt(o.getComputedStylePropertyValue("width")),l=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(s===0||l===0)&&u==="none"})?void 0:!1}var Q5=J5;function eA(e,t,r){var a=r.attr("tabindex"),n=Se(r)&&a>-1;if(!n)return!1;try{return!Ue(r)}catch{return}}var tA=eA;function rA(e,t,r){var a=r.tabbableElements.map(function(n){var i=n.actualNode;return i});if(!a||!a.length)return!0;if(xa()){this.relatedNodes(a);return}return!0}var aA=rA;function nA(e,t,r){if(r.hasAttr("contenteditable")&&a(r))return!0;return At(r);function a(n){var i=n.attr("contenteditable");if(i==="true"||i==="")return!0;if(i==="false")return!1;var o=ut(r.parent,"[contenteditable]");return o?a(o):!1}}var iA=nA;function oA(e,t,r){var a=["button","fieldset","input","select","textarea"],n=r.tabbableElements;if(!n||!n.length)return!0;var i=n.filter(function(o){return a.includes(o.props.nodeName)});return this.relatedNodes(i.map(function(o){return o.actualNode})),i.length===0||xa()?!0:i.every(function(o){var u=o.getComputedStylePropertyValue("pointer-events"),s=parseInt(o.getComputedStylePropertyValue("width")),l=parseInt(o.getComputedStylePropertyValue("height"));return o.actualNode.onfocus||(s===0||l===0)&&u==="none"})?void 0:!1}var uA=oA;function sA(e,t,r){var a=r.tabbableElements;if(!a)return!1;var n=a.filter(function(i){return i!==r});return n.length>0}var lA=sA;function cA(e,t,r){return Jt(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0}var dA=cA;function fA(e){var t={};return e.filter(function(r){if(!r.data)return!1;var a=r.data.toUpperCase();return t[a]?(t[a].relatedNodes.push(r.relatedNodes[0]),!1):(t[a]=r,r.relatedNodes=[],!0)}).map(function(r){return r.result=!!r.relatedNodes.length,r})}var pA=fA;function mA(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var a="page-no-duplicate;"+t.selector;if(ue.get(a)){this.data("ignored");return}ue.set(a,!0);var n=Lt(_._tree[0],t.selector,function(i){return Ce(i)});return typeof t.nativeScopeFilter=="string"&&(n=n.filter(function(i){return i.actualNode.hasAttribute("role")||!Pr(i,t.nativeScopeFilter)})),typeof t.role=="string"&&(n=n.filter(function(i){return le(i)===t.role})),this.relatedNodes(n.filter(function(i){return i!==r}).map(function(i){return i.actualNode})),n.length<=1}var hA=mA;function vA(e){return e.filter(function(t){return t.data!=="ignored"})}var gA=vA;function bA(e,t,r){return ya(r,t.matcher)}var yA=bA;function wA(e,t,r){try{return re(Qt(r))!==""}catch{return}}function DA(e,t,r){if(!t||!t.selector||typeof t.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&xa())return!0;var a=Lt(r,t.selector,function(n){return Ce(n)});return this.relatedNodes(a.map(function(n){return n.actualNode})),a.length>0}var _A=DA;function xA(e){var t=e.some(function(r){return r.result===!0});return t&&e.forEach(function(r){r.result=!0}),e}var EA=xA;function AA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||typeof t.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var a=r.attr(t.attribute),n=!re(a);return n?(this.data({messageKey:"emptyAttr"}),!1):!0}var CA=AA;function FA(e,t,r){var a=r.attr("autocomplete")||"";return $c(a,t)}var TA=FA;function RA(e,t,r){if(r.props.nodeName!=="input")return!0;var a=["text","search","number","tel"],n=["text","search","url"],i={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":a,"cc-exp":["text","search","month","tel"],"cc-exp-month":a,"cc-exp-year":a,"cc-csc":a,"transaction-amount":a,"bday-day":a,"bday-month":a,"bday-year":a,"new-password":["text","search","password"],"current-password":["text","search","password"],url:n,photo:n,impp:n};O(t)==="object"&&Object.keys(t).forEach(function(d){i[d]||(i[d]=[]),i[d]=i[d].concat(t[d])});var o=r.attr("autocomplete"),u=o.split(/\s+/g).map(function(d){return d.toLowerCase()}),s=u[u.length-1];if(xr.stateTerms.includes(s))return!0;var l=i[s],c=r.hasAttr("type")?re(r.attr("type")).toLowerCase():"text";return c=ti().includes(c)?c:"text",typeof l>"u"?c==="text":l.includes(c)}var kA=RA,SA=["block","list-item","table","flex","grid","inline-block"];function OA(e){if(Kf(e))return!1;for(var t=$e(e);t&&t.nodeType===1&&!Kf(t);)t=$e(t);if(t){if(this.relatedNodes([t]),Ff(e,t))return!0;if(MA(e)){this.data({messageKey:"pseudoContent"});return}return!1}}function Kf(e){var t=E.getComputedStyle(e).getPropertyValue("display");return SA.indexOf(t)!==-1||t.substr(0,6)==="table-"}function MA(e){for(var t=0,r=["before","after"];t=r)return!0;var c=u&&s?Xf(u,s):void 0;if(c&&(c=Math.floor(c*100)/100),c&&c>=r)return!0;if(!c){var d,f=(d=Ge.get("bgColor"))!==null&&d!==void 0?d:"bgContrast";this.data({messageKey:f}),Ge.clear();return}if(l)return a&&l===1&&c===1?!0:l===1&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:r,nodeColor:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),!1)}}var NA=PA;function LA(e,t,r){var a=t.ignoreUnicode,n=t.ignoreLength,i=t.ignorePseudo,o=t.boldValue,u=t.boldTextPt,s=t.largeTextPt,l=t.contrastRatio,c=t.shadowOutlineEmMax,d=t.pseudoSizeThreshold;if(!st(e))return this.data({messageKey:"hidden"}),!0;var f=It(r,!1,!0);if(a&&qA(f)){this.data({messageKey:"nonBmp"});return}var p=E.getComputedStyle(e),m=parseFloat(p.getPropertyValue("font-size")),h=p.getPropertyValue("font-weight"),v=parseFloat(h)>=o||h==="bold",g=Math.ceil(m*72)/96,b=v&&gte?"shadowOnBgColor":"fgOnShadowColor")}var B=z>w;if(typeof x=="number"&&(typeof z!="number"||zF))return this.data({contrastRatio:z}),!0;var Z=Math.floor(z*100)/100,A;k===null?A=Ge.get("bgColor"):B||(A=H);var U=Z===1,N=f.length===1;if(U?A=Ge.set("bgColor","equalRatio"):!B&&N&&!n&&(A="shortTextContent"),this.data({fgColor:L?L.toHexString():void 0,bgColor:k?k.toHexString():void 0,contrastRatio:Z,fontSize:"".concat((m*72/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:v?"bold":"normal",messageKey:A,expectedContrastRatio:w+":1",shadowColor:Q?Q.toHexString():void 0}),L===null||k===null||U||N&&!n&&!B){A=null,Ge.clear(),this.relatedNodes(V);return}return B||this.relatedNodes(V),B}function BA(e,t){var r=t.pseudoSizeThreshold,a=r===void 0?.25:r,n=t.ignorePseudo,i=n===void 0?!1:n;if(!i){var o=e.boundingClientRect,u=o.width*o.height*a;do{var s=Jf(e.actualNode,":before"),l=Jf(e.actualNode,":after");if(s+l>u)return e}while(e=e.parent)}}var Jf=ke(function(t,r){var a=E.getComputedStyle(t,r),n=function(s,l){return a.getPropertyValue(s)===l};if(n("content","none")||n("display","none")||n("visibility","hidden")||n("position","absolute")===!1||Er(a).alpha===0&&n("background-image","none"))return 0;var i=Qf(a.getPropertyValue("width")),o=Qf(a.getPropertyValue("height"));return i.unit!=="px"||o.unit!=="px"?i.value===0||o.value===0?0:1/0:i.value*o.value});function qA(e){var t={nonBmp:!0},r=So(e,t),a=re(Da(e,t))==="";return r&&a}function Qf(e){var t=/^([0-9.]+)([a-z]+)$/i,r=e.match(t)||[],a=$(r,3),n=a[1],i=n===void 0?"":n,o=a[2],u=o===void 0?"":o;return{value:parseFloat(i),unit:u.toLowerCase()}}var jA={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},zA={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0};function VA(e){var t=e.nodeName.toUpperCase();return jA[t]||!1}function HA(e,t){var r=we(e);return r&&(zA[r]||t.roles.includes(r))||!1}function $A(e,t){return HA(e,t)||VA(e)}var UA=$A;function GA(e,t,r){var a=le(r,{dpub:!0,fallback:!0}),n=wo(a);return n&&this.data(a),n}var WA=GA;function YA(e,t,r){var a=le(r,{noImplicit:!0});this.data(a);var n,i;try{n=re(To(r)).toLowerCase(),i=re(Ue(r)).toLowerCase()}catch{return}if(!i&&!n)return!1;if(!(!i&&n)&&i.includes(n))return!1}var KA=YA;function XA(e,t,r){return Se(r)}var ZA=XA;function JA(e,t,r){var a=Xe(r.attr("role")),n=a.every(function(i){return!Br(i.toLowerCase(),{allowAbstract:!0})});return n?(this.data(a),!0):!1}var QA=JA;function eC(e){var t=e.getAttribute("role");if(t===null)return!1;var r=Ct(t);return r==="widget"||r==="composite"}var tC=eC;function rC(e,t,r){var a=wr().filter(function(n){return r.hasAttr(n)});return this.data(a),a.length>0}var aC=rC;function nC(e,t){var r=Mt(e);return!r&&t.length===2&&t.includes("none")&&t.includes("presentation")}function iC(e,t,r){var a=Xe(r.attr("role"));return a.length<=1?!1:nC(r,a)?void 0:!0}var oC=iC;function uC(e,t,r){var a=le(r,{dpub:!0,fallback:!0}),n=he.ariaRoles[a];return n!=null&&n.deprecated?(this.data(a),!0):!1}function sC(e,t,r){var a,n=(a=r.attr("aria-brailleroledescription"))!==null&&a!==void 0?a:"";if(re(n)==="")return!0;var i=r.attr("aria-roledescription");return typeof i!="string"?(this.data({messageKey:"noRoleDescription"}),!1):re(i)===""?(this.data({messageKey:"emptyRoleDescription"}),!1):!0}function lC(e,t,r){var a,n=(a=r.attr("aria-braillelabel"))!==null&&a!==void 0?a:"";if(!n.trim())return!0;try{return re(Ue(r))!==""}catch{return}}function cC(e,t,r){t=Array.isArray(t.value)?t.value:[];var a="",n="",i=[],o=/^aria-/,u=["aria-errormessage"],s={"aria-controls":function(){var c=["false",null].includes(r.attr("aria-haspopup"))===!1;return c&&(a='aria-controls="'.concat(r.attr("aria-controls"),'"'),n="controlsWithinPopup"),r.attr("aria-expanded")!=="false"&&r.attr("aria-selected")!=="false"&&c===!1},"aria-current":function(c){c||(a='aria-current="'.concat(r.attr("aria-current"),'"'),n="ariaCurrent")},"aria-owns":function(){return r.attr("aria-expanded")!=="false"},"aria-describedby":function(c){c||(a='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),n=_._tree&&_._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(c){c||(a='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),n=_._tree&&_._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};if(r.attrNames.forEach(function(l){if(!(u.includes(l)||t.includes(l)||!o.test(l))){var c,d=r.attr(l);try{c=wf(r,l)}catch{a="".concat(l,'="').concat(d,'"'),n="idrefs";return}(!s[l]||s[l](c))&&!c&&(d===""&&!dC(l)?(a=l,n="empty"):i.push("".concat(l,'="').concat(d,'"')))}}),i.length)return this.data(i),!1;if(a){this.data({messageKey:n,needsReview:a});return}return!0}function dC(e){var t;return((t=he.ariaAttrs[e])===null||t===void 0?void 0:t.type)==="string"}function fC(e,t,r){t=Array.isArray(t.value)?t.value:[];var a=[],n=/^aria-/;return r.attrNames.forEach(function(i){t.indexOf(i)===-1&&n.test(i)&&!oi(i)&&a.push(i)}),a.length?(this.data(a),!1):!0}var pC=fC;function mC(e,t,r){var a=r.attrNames.filter(function(n){var i=he.ariaAttrs[n];if(!oi(n))return!1;var o=i.unsupported;return O(o)!=="object"?!!o:!ya(e,o.exceptions)});return a.length?(this.data(a),!0):!1}var hC=mC;function vC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=le(r),n=t.supportedRoles||[];if(n.includes(a))return!0;if(!(a&&a!=="presentation"&&a!=="none"))return!1}var gC=vC;function ep(e,t,r,a){var n=we(e);if(r||(r=Pu(n)),!r)return null;for(var i=r.includes("group"),o=a?e:e.parent;o;){var u=le(o,{noPresentational:!0});if(!u)o=o.parent;else if(u==="group"&&i)t.includes(n)&&r.push(n),r=r.filter(function(s){return s!=="group"}),o=o.parent;else return r.includes(u)?null:r}return r}function bC(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var a=Re(e.getAttribute("id")),n=Ke(e);r=n.querySelector("[aria-owns~=".concat(a,"]")),r&&t.push(r)}e=e.parentElement}return t.length?t:null}function yC(e,t,r){var a=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],n=ep(r,a);if(!n)return!0;var i=bC(e);if(i){for(var o=0,u=i.length;o0:_a(t,!1,!0)}function FC(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,n=we(a),i=a.attrNames,o=yf(n);if(Array.isArray(r[n])&&(o=Ma(r[n],o)),!n||!i.length||!o.length||TC(a,n)||kC(a,n)||n==="slider"&&(t=a.attr("aria-valuetext"))!==null&&t!==void 0&&t.trim())return!0;var u=_r(a),s=o.filter(function(l){return!a.attr(l)&&!RC(u,l)});return s.length?(this.data(s),!1):!0}function TC(e,t){return t==="separator"&&!Se(e)}function RC(e,t){var r;return((r=e.implicitAttrs)===null||r===void 0?void 0:r[t])!==void 0}function kC(e,t){return t==="combobox"&&e.attr("aria-expanded")==="false"}function SC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=(t==null?void 0:t.elementsAllowedAriaLabel)||[],n=r.props.nodeName,i=le(r,{chromium:!0}),o=OC(r,i,n,a),u=o.filter(function(c){return r.attrNames.includes(c)?re(r.attr(c))!=="":!1});if(u.length===0)return!1;var s=r.hasAttr("role")?"hasRole":"noRole";s+=u.length>1?"Plural":"Singular",this.data({role:i,nodeName:n,messageKey:s,prohibited:u});var l=Qt(r,{subtreeDescendant:!0});if(re(l)==="")return!0}function OC(e,t,r,a){var n=he.ariaRoles[t];return n?n.prohibitedAttrs||[]:t||a.includes(r)||tp(e)==="widget"?[]:["aria-label","aria-labelledby"]}var tp=ke(function(t){if(t){var r=le(t,{noPresentational:!0,chromium:!0});return r?Ct(r):tp(t.parent)}});function MC(e,t,r){var a=r.attr("aria-level"),n=parseInt(a,10);if(!(n>6))return!0}var IC=MC;function PC(e,t,r){return r.attr("aria-hidden")!=="true"}var NC=PC;function LC(e,t,r){t=Array.isArray(t)?t:[];var a=r.attr("aria-errormessage"),n=r.hasAttr("aria-errormessage"),i=r.attr("aria-invalid"),o=r.hasAttr("aria-invalid");if(!o||i==="false")return!0;function u(s){if(s.trim()==="")return he.ariaAttrs["aria-errormessage"].allowEmpty;var l;try{l=s&&Ot(r,"aria-errormessage")[0]}catch{this.data({messageKey:"idrefs",values:Xe(s)});return}if(l)return Ce(l)?l.getAttribute("role")==="alert"||l.getAttribute("aria-live")==="assertive"||l.getAttribute("aria-live")==="polite"||Xe(r.attr("aria-describedby")).indexOf(s)>-1:(this.data({messageKey:"hidden",values:Xe(s)}),!1)}return t.indexOf(a)===-1&&n?(this.data(Xe(a)),u.call(this,a)):!0}function rp(e){var t,r,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=a.invalidTableRowAttrs,i=arguments.length>2?arguments[2]:void 0,o=(t=n==null||(r=n.filter)===null||r===void 0?void 0:r.call(n,function(c){return i.hasAttr(c)}))!==null&&t!==void 0?t:[];if(o.length===0)return!0;var u=BC(i),s=u&&le(u);if(!s||s==="treegrid")return!0;var l="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:l,invalidAttrs:o,ownerRole:s}),!1}function BC(e){if(e.parent){var t='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return ut(e,t)}}function ap(e,t,r){var a=r.props,n=a.nodeName,i=a.type,o=jC(r.attr("aria-checked"));if(n!=="input"||i!=="checkbox"||!o)return!0;var u=qC(r);return o===u?!0:(this.data({messageKey:"checkbox",checkState:u}),!1)}function qC(e){return e.props.indeterminate?"mixed":e.props.checked?"true":"false"}function jC(e){return e?(e=e.toLowerCase(),["mixed","true"].includes(e)?e:"false"):""}var np={row:rp,checkbox:ap};function zC(e,t,r){var a=le(r);return np[a]?np[a].call(this,e,t,r):!0}function VC(e,t,r){return r.attr("aria-busy")==="true"}function HC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=t.allowImplicit,n=a===void 0?!0:a,i=t.ignoredTags,o=i===void 0?[]:i,u=r.props.nodeName;if(o.map(function(l){return l.toLowerCase()}).includes(u))return!0;var s=mf(r,n);return s.length?(this.data(s),Ce(r)?!1:void 0):!0}var $C=HC;function UC(e,t,r){var a=[],n=le(r),i=df(n);Array.isArray(t[n])&&(i=Ma(t[n].concat(i)));var o=Ee(r.attrNames),u;try{for(o.s();!(u=o.n()).done;){var s=u.value;oi(s)&&!i.includes(s)&&!GC(s,r.attr(s),r)&&a.push(s)}}catch(l){o.e(l)}finally{o.f()}if(!a.length)return!0;if(this.data(a.map(function(l){return l+'="'+r.attr(l)+'"'})),!(!n&&!wu(r)&&!Se(r)))return!1}function GC(e,t,r){return!!(e==="aria-required"&&t==="false"||e==="aria-multiline"&&t==="false"&&r.hasAttr("contenteditable"))}function WC(e,t,r){var a=Xe(r.attr("role")).filter(function(n){return Ct(n)==="abstract"});return a.length>0?(this.data(a),!0):!1}var YC=WC;function KC(e){var t=Cr(e.getAttribute("lang")),r=Cr(e.getAttribute("xml:lang"));return ri(t)&&ri(r)}var XC=KC;function ZC(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top}var JC=ZC;function QC(e,t){try{var r=t.props.nodeName;return r==="svg"?!0:!!ut(t,"svg")}catch{return!1}}var $u=QC;function eF(e,t){return tF.every(function(r){return r(e,t)})}var tF=[function(e,t){return ip(t)},function(e,t){return rF(t)},function(e,t){return!$u(e,t)},function(e,t){return Se(t)},function(e,t){return At(t)||!aF(t)},function(e){return!qo(e,{noLengthCompare:!0})}];function ip(e){return Ct(e)==="widget"}function rF(e){return e.props.nodeName!=="area"}var aF=ke(function e(t){return t!=null&&t.parent?ip(t.parent)&&At(t.parent)?!0:e(t.parent):!1});function nF(e,t){var r=le(t);return["treegrid","grid","table"].includes(r)}function iF(e,t){var r=t.parent;if(r.props.nodeName!=="details"||oF(t))return!1;var a=r.children.find(function(n){return n.props.nodeName==="summary"});return a===t}function oF(e){var t,r=(t=e.actualNode)===null||t===void 0?void 0:t.parentElement;return r&&r!==e.parent.actualNode}function uF(e){return uu(e)&&mn(e)}var sF=uF;function lF(e,t){return Gt(e,13)!==void 0&&Iu(t)===!1&&cF(t)}function cF(e){return pt(e,"*").some(function(t){return _a(t,!0,!0)})}function dF(e,t){return Mt(t,{chromiumRoles:!0})!==null}var fF=dF;function pF(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim(),a=/[.!?:;](?![.!?:;])/g;if(r.length===0||(r.match(a)||[]).length>=2)return!1;var n=t.slice(t.indexOf(e)+1).filter(function(i){return i.nodeName.toUpperCase()==="P"&&i.textContent.trim()!==""});return n.length!==0}var mF=pF;function hF(e,t){var r=we(t);if(!r||["none","presentation"].includes(r))return!0;var a=sc[r]||{},n=a.accessibleNameRequired;return!!(n||Se(t))}var op=hF,vF=function(t,r){return[op,gF].every(function(a){return a(t,r)})};function gF(e){var t;if(!(e!=null&&(t=e.ownerDocument)!==null&&t!==void 0&&t.createRange))return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),r.getClientRects().length===0}function bF(e,t){return t.props.nodeName!=="html"}var yF=bF;function wF(e,t){return!t.attr("role")}var DF=wF;function _F(e,t){var r=parseInt(t.attr("tabindex"),10);return isNaN(r)||r>=0}var xF=_F;function EF(e,t){var r=_r(t),a=r.namingMethods;return!(a&&a.length!==0||we(t)==="combobox"&&pt(t,'input:not([type="hidden"])').length||Iu(t,{popupRoles:["listbox"]}))}var AF=EF;function CF(e,t){return!(!t.hasAttr("role")||!t.attr("role").trim())}var FF=CF;function TF(e){return!(!e.currentSrc||e.hasAttribute("paused")||e.hasAttribute("muted"))}var RF=TF;function kF(e,t){var r=le(t);return r?!!he.ariaRoles[r].childrenPresentational:!1}var SF=kF;function OF(e){var t=re(e.innerText),r=e.getAttribute("role");return r&&r!=="link"||!t||!st(e)?!1:qo(e)}var MF=OF;function IF(e){return!ni(e)&&!Se(e)}var PF=IF;function NF(e,t){return LF(t)&&Ce(t)}function LF(e){var t=$r("landmark"),r=le(e);if(!r)return!1;var a=e.props.nodeName;if(a==="section"||a==="form"){var n=Ue(e);return!!n}return t.indexOf(r)>=0||r==="region"}function BF(e,t){var r="article, aside, main, nav, section";return e.hasAttribute("role")||!Pr(t,r)}var qF=BF;function jF(e,t){if(t.props.nodeName!=="input"||t.hasAttr("type")===!1)return!0;var r=t.attr("type").toLowerCase();return["hidden","image","button","submit","reset"].includes(r)===!1}var zF=jF;function VF(e,t){var r=le(e);if(!r)return!1;var a=$r("widget"),n=a.includes(r);if(!n)return!1;var i=Mu();return!(!i.includes(r)||!re(ba(t))&&!re(ga(e))||!re(It(t)))}var HF=VF;function $F(e,t){return st(t)}function UF(e){return st(e)}function GF(e,t,r){return r.initiator}var up=GF;function WF(e){return Kc(e)}var YF=WF;function KF(e,t){var r=!!Ue(t);if(!r)return!1;var a=le(e);return!(a&&a!=="link")}var XF=KF;function ZF(e,t){return!$u(e,t)}var JF=ZF;function QF(e,t){return le(t)==="heading"}function e3(e,t){return Mt(t,{chromium:!0})!==null}var t3=e3;function r3(e){var t=e.getAttribute("title");return!!re(t)}var a3=r3;function n3(e,t,r){var a,n;return!r.initiator&&!r.focusable&&((a=r.size)===null||a===void 0?void 0:a.width)*((n=r.size)===null||n===void 0?void 0:n.height)>1}var i3=n3;function o3(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Re(t),'"]'),a=Array.from(Ke(e).querySelectorAll(r));return!ii(e)&&a.every(function(n){return!Se(n)})}var u3=o3;function s3(e){return ii(e)}var l3=s3;function c3(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(Re(t),'"]'),a=Array.from(Ke(e).querySelectorAll(r));return!ii(e)&&a.some(Se)}var d3=c3;function f3(e){return ni(e)}var p3=f3;function m3(e){if(ni(e)){var t=Ut(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1}var h3=m3;function v3(e,t){var r=t.props,a=r.nodeName,n=r.type;if(a==="option"||a==="select"&&!e.options.length)return!1;var i=["hidden","range","color","checkbox","radio","image"];if(a==="input"&&i.includes(n)||La(t)||wn(t))return!1;var o=["input","select","textarea"];if(o.includes(a)){var u=E.getComputedStyle(e),s=parseInt(u.getPropertyValue("text-indent"),10);if(s){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+s,right:l.right+s},!su(l,e))return!1}return!0}var c=Pr(t,"label");if(a==="label"||c){var d=c||e,f=c?se(c):t;if(d.htmlFor){var p=Ke(d),m=p.getElementById(d.htmlFor),h=m&&se(m);if(h&&La(h))return!1}var v='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',g=pt(f,v)[0];if(g&&La(g))return!1}for(var b=[],D=t;D;){if(D.props.id){var w=Ou(D).filter(function(L){return Xe(L.getAttribute("aria-labelledby")||"").includes(D.props.id)}).map(function(L){return se(L)});b.push.apply(b,ne(w))}D=D.parent}if(b.length>0&&b.every(La)||!y3(t))return!1;for(var x=M.createRange(),F=t.children,R=0;R0&&arguments[0]!==void 0?arguments[0]:{};return(Array.isArray(e)||O(e)!=="object")&&(e={value:e}),e}function Gr(e){e&&(this.id=e.id,this.configure(e))}Gr.prototype.enabled=!0,Gr.prototype.run=function(t,r,a,n,i){r=r||{};var o=r.hasOwnProperty("enabled")?r.enabled:this.enabled,u=this.getOptions(r.options);if(o){var s=new Uu(this),l=zi(s,r,n,i),c;try{c=this.evaluate.call(l,t.actualNode,u,t,a)}catch(d){t&&t.actualNode&&(d.errorNode=vt.toSpec(t)),i(d);return}l.isAsync||(s.result=c,n(s))}else n(null)},Gr.prototype.runSync=function(t,r,a){r=r||{};var n=r,i=n.enabled,o=i===void 0?this.enabled:i;if(!o)return null;var u=this.getOptions(r.options),s=new Uu(this),l=zi(s);l.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var c;try{c=this.evaluate.call(l,t.actualNode,u,t,a)}catch(d){throw t&&t.actualNode&&(d.errorNode=vt.toSpec(t)),d}return s.result=c,s},Gr.prototype.configure=function(t){var r=this;(!t.evaluate||di[t.evaluate])&&(this._internalCheck=!0),t.hasOwnProperty("enabled")&&(this.enabled=t.enabled),t.hasOwnProperty("options")&&(this._internalCheck?this.options=lp(t.options):this.options=t.options),["evaluate","after"].filter(function(a){return t.hasOwnProperty(a)}).forEach(function(a){return r[a]=Gu(t[a])})},Gr.prototype.getOptions=function(t){return this._internalCheck?to(this.options,lp(t||{})):t||this.options};var cp=Gr;function B3(e){this.id=e.id,this.result=ce.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]}var fi=B3;function it(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(me(ce.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden=typeof e.excludeHidden=="boolean"?e.excludeHidden:!0,this.enabled=typeof e.enabled=="boolean"?e.enabled:!0,this.pageLevel=typeof e.pageLevel=="boolean"?e.pageLevel:!1,this.reviewOnFail=typeof e.reviewOnFail=="boolean"?e.reviewOnFail:!1,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=Gu(e.matches))}it.prototype.matches=function(){return!0},it.prototype.gather=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,i="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;r.performanceTimer&&Be.mark(a);var u=Cu(this.selector,t);return this.excludeHidden&&(r.performanceTimer&&Be.mark(i),u=u.filter(function(s){return Ce(s)}),r.performanceTimer&&(Be.mark(o),Be.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",i,o))),r.performanceTimer&&(Be.mark(n),Be.measure("rule_"+this.id+"#gather",a,n)),u},it.prototype.runChecks=function(t,r,a,n,i,o){var u=this,s=St();this[t].forEach(function(l){var c=u._audit.checks[l.id||l],d=Xn(c,u.id,a);s.defer(function(f,p){c.run(r,d,n,f,p)})}),s.then(function(l){l=l.filter(function(c){return c}),i({type:t,results:l})}).catch(o)},it.prototype.runChecksSync=function(t,r,a,n){var i=this,o=[];return this[t].forEach(function(u){var s=i._audit.checks[u.id||u],l=Xn(s,i.id,a);o.push(s.runSync(r,l,n))}),o=o.filter(function(u){return u}),{type:t,results:o}},it.prototype.run=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;a.performanceTimer&&this._trackPerformance();var o=St(),u=new fi(this),s;try{s=this.gatherAndMatchNodes(t,a)}catch(l){i(new Jr({cause:l,ruleId:this.id}));return}a.performanceTimer&&this._logGatherPerformance(s),s.forEach(function(l){o.defer(function(c,d){var f=St();["any","all","none"].forEach(function(p){f.defer(function(m,h){r.runChecks(p,l,a,t,m,h)})}),f.then(function(p){var m=dp(p);m&&(m.node=new zt(l),u.nodes.push(m),r.reviewOnFail&&(["any","all"].forEach(function(h){m[h].forEach(function(v){v.result===!1&&(v.result=void 0)})}),m.none.forEach(function(h){h.result===!0&&(h.result=void 0)}))),c()}).catch(function(p){return d(p)})})}),o.defer(function(l){return setTimeout(l,0)}),a.performanceTimer&&this._logRulePerformance(),o.then(function(){return n(u)}).catch(function(l){return i(l)})},it.prototype.runSync=function(t){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};a.performanceTimer&&this._trackPerformance();var n=new fi(this),i;try{i=this.gatherAndMatchNodes(t,a)}catch(o){throw new Jr({cause:o,ruleId:this.id})}return a.performanceTimer&&this._logGatherPerformance(i),i.forEach(function(o){var u=[];["any","all","none"].forEach(function(l){u.push(r.runChecksSync(l,o,a,t))});var s=dp(u);s&&(s.node=o.actualNode?new zt(o):null,n.nodes.push(s),r.reviewOnFail&&(["any","all"].forEach(function(l){s[l].forEach(function(c){c.result===!1&&(c.result=void 0)})}),s.none.forEach(function(l){l.result===!0&&(l.result=void 0)})))}),a.performanceTimer&&this._logRulePerformance(),n},it.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},it.prototype._logGatherPerformance=function(t){hr("gather (",t.length,"):",Be.timeElapsed()+"ms"),Be.mark(this._markChecksStart)},it.prototype._logRulePerformance=function(){Be.mark(this._markChecksEnd),Be.mark(this._markEnd),Be.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Be.measure("rule_"+this.id,this._markStart,this._markEnd)};function dp(e){if(e.length){var t=!1,r={};return e.forEach(function(a){var n=a.results.filter(function(i){return i});r[a.type]=n,n.length&&(t=!0)}),t?r:null}}it.prototype.gatherAndMatchNodes=function(t,r){var a=this,n="mark_matches_start_"+this.id,i="mark_matches_end_"+this.id,o=this.gather(t,r);return r.performanceTimer&&Be.mark(n),o=o.filter(function(u){return a.matches(u.actualNode,u,t)}),r.performanceTimer&&(Be.mark(i),Be.measure("rule_"+this.id+"#matches",n,i)),o};function q3(e){return cn(e).map(function(t){var r=e._audit.checks[t.id||t];return r&&typeof r.after=="function"?r:null}).filter(Boolean)}function j3(e,t){var r=[];return e.forEach(function(a){var n=cn(a);n.forEach(function(i){i.id===t&&(i.node=a.node,r.push(i))})}),r}function z3(e){return e.filter(function(t){return t.filtered!==!0})}function V3(e){var t=["any","all","none"],r=e.nodes.filter(function(a){var n=0;return t.forEach(function(i){a[i]=z3(a[i]),n+=a[i].length}),n>0});return e.pageLevel&&r.length&&(r=[r.reduce(function(a,n){if(a)return t.forEach(function(i){a[i].push.apply(a[i],n[i])}),a})]),r}it.prototype.after=function(t,r){var a=this,n=q3(this),i=this.id;return n.forEach(function(o){var u=j3(t.nodes,o.id),s=Xn(o,i,r),l=o.after(u,s.options);a.reviewOnFail&&l.forEach(function(c){var d=(a.any.includes(c.id)||a.all.includes(c.id))&&c.result===!1,f=a.none.includes(c.id)&&c.result===!0;(d||f)&&(c.result=void 0)}),u.forEach(function(c){delete c.node,l.indexOf(c)===-1&&(c.filtered=!0)})}),t.nodes=V3(t),t},it.prototype.configure=function(t){t.hasOwnProperty("selector")&&(this.selector=t.selector),t.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof t.excludeHidden=="boolean"?t.excludeHidden:!0),t.hasOwnProperty("enabled")&&(this.enabled=typeof t.enabled=="boolean"?t.enabled:!0),t.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof t.pageLevel=="boolean"?t.pageLevel:!1),t.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof t.reviewOnFail=="boolean"?t.reviewOnFail:!1),t.hasOwnProperty("any")&&(this.any=t.any),t.hasOwnProperty("all")&&(this.all=t.all),t.hasOwnProperty("none")&&(this.none=t.none),t.hasOwnProperty("tags")&&(this.tags=t.tags),t.hasOwnProperty("actIds")&&(this.actIds=t.actIds),t.hasOwnProperty("matches")&&(this.matches=Gu(t.matches)),t.impact&&(me(ce.impact.includes(t.impact),"Impact ".concat(t.impact," is not a valid impact")),this.impact=t.impact)};var Wr=ot(zs()),Yr=/\{\{.+?\}\}/g,H3=function(){function e(t){Tt(this,e),this.lang="en",this.defaultConfig=t,this.standards=he,this._init(),this._defaultLocale=null}return Rt(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var r={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},a=Object.keys(this.data.checks),n=0;n0&&arguments[0]!==void 0?arguments[0]:null,n=(_.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(i){r.data.rules[i.id]||(r.data.rules[i.id]={});var o=r.data.rules[i.id];(typeof o.helpUrl!="string"||a&&o.helpUrl===vp(a,i.id,n))&&(o.helpUrl=vp(r,i.id,n))})}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}])}(),fp=H3;function pp(){if(E.origin&&E.origin!=="null")return E.origin;if(E.location&&E.location.origin&&E.location.origin!=="null")return E.location.origin}function $3(e){var t;if(e?(t=Vt(e),t.commons=e.commons):t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var r=pp();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=de({checks:{},rules:{}},t.data),t}function mp(e,t,r){var a,n;for(a=0,n=e.length;a2&&arguments[2]!==void 0?arguments[2]:{};r.reporter=r.reporter||_._audit.reporter||"v1",_._selectorData={},t instanceof He||(t=new tf(t));var a=T1(e);if(!a)throw new Error("unknown rule `"+e+"`");a=Object.create(a,{excludeHidden:{value:!1}});var n={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},i=a.runSync(n,r);ei(i),na(i);var o=Gs([i]);return o.violations.forEach(function(u){return u.nodes.forEach(function(s){s.failureSummary=mu(s)})}),de({},ir(),o,{toolOptions:r})}function yp(e){var t,r,a,n=$(e,3),i=n[0],o=n[1],u=n[2],s=new TypeError("axe.run arguments are invalid");if(!O1(i)){if(u!==void 0)throw s;u=o,o=i,i=M}if(O(o)!=="object"){if(u!==void 0)throw s;u=o,o={}}if(typeof u!="function"&&u!==void 0)throw s;return o=Vt(o),o.reporter=(t=(r=o.reporter)!==null&&r!==void 0?r:(a=_._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",{context:i,options:o,callback:u}}var Wu=function(){};function iT(){for(var e=arguments.length,t=new Array(e),r=0;r1&&arguments[1]!==void 0?arguments[1]:{};n=Vt(n);var i=e.find(function(s){return s.environmentData})||{},o=i.environmentData;_._audit.normalizeOptions(n),n.reporter=(t=(r=n.reporter)!==null&&r!==void 0?r:(a=_._audit)===null||a===void 0?void 0:a.reporter)!==null&&t!==void 0?t:"v1",dT(e);var u=dn(e);return u=_._audit.after(u,n),u.forEach(ei),u=u.map(na),pT(u,de({environmentData:o},n))}function dT(e){var t=[],r=Ee(e),a;try{for(r.s();!(a=r.n()).done;){var n=a.value,i=t.shift();if(n){n.frameSpec=i??null;var o=fT(n);t.unshift.apply(t,ne(o))}}}catch(u){r.e(u)}finally{r.f()}}function fT(e){var t=e.frames,r=e.frameSpec;return r?t.map(function(a){return vt.mergeSpecs(a,r)}):t}function pT(e,t){return new Promise(function(r,a){var n=Ru(t.reporter);n(e,t,r,a)})}function mT(e){if(_._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&O(e.documentElement)==="object"&&O(e.defaultView)==="object"&&(e=e.documentElement),gp(e),_._tree=fu(e),_._selectorData=rn(_._tree),_._tree[0]}var hT=mT,vT=function(t,r,a){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Le(n,Np);a(de({},ir(i),{toolOptions:o},Oa(t,r)))},gT=vT,bT=function(t,r,a){typeof r=="function"&&(a=r,r={});var n=r,i=n.environmentData,o=Le(n,Lp);r.resultTypes=["violations"];var u=Oa(t,r),s=u.violations;a(de({},ir(i),{toolOptions:o,violations:s}))},yT=bT,wT=function(t,r,a){if(typeof r=="function"&&(a=r,r={}),!t||!Array.isArray(t))return a(t);var n=t.map(function(i){for(var o=de({},i),u=["passes","violations","incomplete","inapplicable"],s=0,l=u;s elements of image maps have alternate text",help:"Active elements must have alternate text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure
elements are structured correctly",help:"
elements must only directly contain properly-ordered
and
groups, + @@ -593,8 +708,40 @@

No Preview

-

-  
+
+

+

+ The component failed to render properly, likely due to a configuration issue in Storybook. + Here are some common causes and how you can address them: +

+
    +
  1. + Missing Context/Providers: You can use decorators to supply specific + contexts or providers, which are sometimes necessary for components to render correctly. For + detailed instructions on using decorators, please visit the + Decorators documentation. +
  2. +
  3. + Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary + settings for loaders, plugins, and other relevant parameters. You can find step-by-step + guides for configuring + Webpack or + Vite + with Storybook. +
  4. +
  5. + Missing Environment Variables: Your Storybook may require specific + environment variables to function as intended. You can set up custom environment variables + as outlined in the + Environment Variables documentation. +
  6. +
+
+
diff --git a/index.html b/index.html index e18f0f2..1e978a0 100644 --- a/index.html +++ b/index.html @@ -3,32 +3,50 @@ - @storybook/cli - Storybook + storybook - Storybook - - - + - + @@ -44,9 +62,11 @@ - + - + + + @@ -89,7 +109,7 @@ window['DOCS_OPTIONS'] = { "defaultName": "Docs", - "autodocs": true + "autodocs": "tag" }; @@ -117,7 +137,7 @@ - window['STORYBOOK_RENDERER'] = "@storybook/react"; + window['STORYBOOK_RENDERER'] = "react"; @@ -135,7 +155,7 @@ import './sb-manager/globals-runtime.js'; - import './sb-addons/storybook-core-server-presets-0/common-manager-bundle.js'; + import './sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js'; import './sb-addons/essentials-controls-1/manager-bundle.js'; @@ -151,9 +171,11 @@ import './sb-addons/essentials-outline-7/manager-bundle.js'; - import './sb-addons/storybook-dark-mode-esm-preset-8/manager-bundle.js'; + import './sb-addons/a11y-8/manager-bundle.js'; + + import './sb-addons/storybook-dark-mode-esm-preset-9/manager-bundle.js'; - import './sb-addons/storybook-9/manager-bundle.js'; + import './sb-addons/storybook-10/manager-bundle.js'; import './sb-manager/runtime.js'; diff --git a/index.json b/index.json index 618c539..0cdedf3 100644 --- a/index.json +++ b/index.json @@ -1 +1 @@ -{"v":4,"entries":{"about--docs":{"id":"about--docs","title":"About","name":"Docs","importPath":"./docs/About.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]},"design-tokens-colours--docs":{"id":"design-tokens-colours--docs","title":"Design Tokens/Colours","name":"Docs","importPath":"./docs/Design Tokens/Colours.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]},"design-tokens-typography--docs":{"id":"design-tokens-typography--docs","title":"Design Tokens/Typography","name":"Docs","importPath":"./docs/Design Tokens/Typography.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]},"components-alert--docs":{"id":"components-alert--docs","title":"Components/Alert","name":"Docs","importPath":"./src/components/Alert/Alert.stories.ts","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"components-alert--demo":{"type":"story","id":"components-alert--demo","name":"Demo","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","tags":["excludeFromSidebar","story"]},"components-alert--default":{"type":"story","id":"components-alert--default","name":"Default","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","tags":["story"]},"components-alert--success":{"type":"story","id":"components-alert--success","name":"Success","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","tags":["story"]},"components-alert--info":{"type":"story","id":"components-alert--info","name":"Info","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","tags":["story"]},"components-alert--warning":{"type":"story","id":"components-alert--warning","name":"Warning","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","tags":["story"]},"components-alert--error":{"type":"story","id":"components-alert--error","name":"Error","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","tags":["story"]},"components-button--docs":{"id":"components-button--docs","title":"Components/Button","name":"Docs","importPath":"./src/components/Button/Button.stories.ts","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"components-button--demo":{"type":"story","id":"components-button--demo","name":"Demo","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","tags":["excludeFromSidebar","story"]},"components-button--default":{"type":"story","id":"components-button--default","name":"Default","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","tags":["story"]},"components-button--primary":{"type":"story","id":"components-button--primary","name":"Primary","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","tags":["story"]},"components-button--secondary":{"type":"story","id":"components-button--secondary","name":"Secondary","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","tags":["story"]},"components-button--primary-outline":{"type":"story","id":"components-button--primary-outline","name":"Primary Outline","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","tags":["story"]},"components-button--secondary-outline":{"type":"story","id":"components-button--secondary-outline","name":"Secondary Outline","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","tags":["story"]},"components-button--small":{"type":"story","id":"components-button--small","name":"Small","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","tags":["story"]},"components-button--large":{"type":"story","id":"components-button--large","name":"Large","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","tags":["story"]},"components-imageslider--docs":{"id":"components-imageslider--docs","title":"Components/ImageSlider","name":"Docs","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"components-imageslider--demo":{"type":"story","id":"components-imageslider--demo","name":"Demo","title":"Components/ImageSlider","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","tags":["excludeFromSidebar","story"]},"components-imageslider--default":{"type":"story","id":"components-imageslider--default","name":"Default","title":"Components/ImageSlider","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","tags":["story"]},"components-imageslider--large":{"type":"story","id":"components-imageslider--large","name":"Large","title":"Components/ImageSlider","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","tags":["story"]},"components-imageslider--small":{"type":"story","id":"components-imageslider--small","name":"Small","title":"Components/ImageSlider","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","tags":["story"]},"components-label--docs":{"id":"components-label--docs","title":"Components/Label","name":"Docs","importPath":"./src/components/Label/Label.stories.ts","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"components-label--demo":{"type":"story","id":"components-label--demo","name":"Demo","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","tags":["excludeFromSidebar","story"]},"components-label--info":{"type":"story","id":"components-label--info","name":"Info","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","tags":["story"]},"components-label--warning":{"type":"story","id":"components-label--warning","name":"Warning","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","tags":["story"]},"components-label--success":{"type":"story","id":"components-label--success","name":"Success","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","tags":["story"]},"components-label--error":{"type":"story","id":"components-label--error","name":"Error","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","tags":["story"]},"components-linkbutton--docs":{"id":"components-linkbutton--docs","title":"Components/LinkButton","name":"Docs","importPath":"./src/components/LinkButton/LinkButton.stories.ts","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"components-linkbutton--demo":{"type":"story","id":"components-linkbutton--demo","name":"Demo","title":"Components/LinkButton","importPath":"./src/components/LinkButton/LinkButton.stories.ts","tags":["excludeFromSidebar","story"]},"components-linkbutton--default":{"type":"story","id":"components-linkbutton--default","name":"Default","title":"Components/LinkButton","importPath":"./src/components/LinkButton/LinkButton.stories.ts","tags":["story"]},"components-table--docs":{"id":"components-table--docs","title":"Components/Table","name":"Docs","importPath":"./src/components/Table/Table.stories.ts","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"components-table--demo":{"type":"story","id":"components-table--demo","name":"Demo","title":"Components/Table","importPath":"./src/components/Table/Table.stories.ts","tags":["excludeFromSidebar","story"]},"components-table--default":{"type":"story","id":"components-table--default","name":"Default","title":"Components/Table","importPath":"./src/components/Table/Table.stories.ts","tags":["story"]},"components-truncatedtext--docs":{"id":"components-truncatedtext--docs","title":"Components/TruncatedText","name":"Docs","importPath":"./src/components/TruncatedText/TruncatedText.stories.ts","type":"docs","tags":["docs","autodocs"],"storiesImports":[]},"components-truncatedtext--demo":{"type":"story","id":"components-truncatedtext--demo","name":"Demo","title":"Components/TruncatedText","importPath":"./src/components/TruncatedText/TruncatedText.stories.ts","tags":["excludeFromSidebar","story"]},"components-truncatedtext--default":{"type":"story","id":"components-truncatedtext--default","name":"Default","title":"Components/TruncatedText","importPath":"./src/components/TruncatedText/TruncatedText.stories.ts","tags":["story"]},"usage--docs":{"id":"usage--docs","title":"Usage","name":"Docs","importPath":"./docs/Usage.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]},"contributing--docs":{"id":"contributing--docs","title":"Contributing","name":"Docs","importPath":"./docs/Contributing.mdx","storiesImports":[],"type":"docs","tags":["unattached-mdx","docs"]}}} +{"v":5,"entries":{"about--docs":{"id":"about--docs","title":"About","name":"Docs","importPath":"./docs/About.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"design-tokens-colours--docs":{"id":"design-tokens-colours--docs","title":"Design Tokens/Colours","name":"Docs","importPath":"./docs/Design Tokens/Colours.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"design-tokens-typography--docs":{"id":"design-tokens-typography--docs","title":"Design Tokens/Typography","name":"Docs","importPath":"./docs/Design Tokens/Typography.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"components-alert--docs":{"id":"components-alert--docs","title":"Components/Alert","name":"Docs","importPath":"./src/components/Alert/Alert.stories.ts","type":"docs","tags":["dev","test","autodocs","excludeFromSidebar"],"storiesImports":[]},"components-alert--demo":{"type":"story","id":"components-alert--demo","name":"Demo","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","componentPath":"./src/components/Alert/Alert.tsx","tags":["dev","test","autodocs","excludeFromSidebar"]},"components-alert--default":{"type":"story","id":"components-alert--default","name":"Default","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","componentPath":"./src/components/Alert/Alert.tsx","tags":["dev","test","autodocs"]},"components-alert--success":{"type":"story","id":"components-alert--success","name":"Success","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","componentPath":"./src/components/Alert/Alert.tsx","tags":["dev","test","autodocs"]},"components-alert--info":{"type":"story","id":"components-alert--info","name":"Info","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","componentPath":"./src/components/Alert/Alert.tsx","tags":["dev","test","autodocs"]},"components-alert--warning":{"type":"story","id":"components-alert--warning","name":"Warning","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","componentPath":"./src/components/Alert/Alert.tsx","tags":["dev","test","autodocs"]},"components-alert--error":{"type":"story","id":"components-alert--error","name":"Error","title":"Components/Alert","importPath":"./src/components/Alert/Alert.stories.ts","componentPath":"./src/components/Alert/Alert.tsx","tags":["dev","test","autodocs"]},"components-button--docs":{"id":"components-button--docs","title":"Components/Button","name":"Docs","importPath":"./src/components/Button/Button.stories.ts","type":"docs","tags":["dev","test","autodocs","excludeFromSidebar"],"storiesImports":[]},"components-button--demo":{"type":"story","id":"components-button--demo","name":"Demo","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","componentPath":"./src/components/Button/Button.tsx","tags":["dev","test","autodocs","excludeFromSidebar"]},"components-button--default":{"type":"story","id":"components-button--default","name":"Default","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","componentPath":"./src/components/Button/Button.tsx","tags":["dev","test","autodocs"]},"components-button--primary":{"type":"story","id":"components-button--primary","name":"Primary","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","componentPath":"./src/components/Button/Button.tsx","tags":["dev","test","autodocs"]},"components-button--secondary":{"type":"story","id":"components-button--secondary","name":"Secondary","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","componentPath":"./src/components/Button/Button.tsx","tags":["dev","test","autodocs"]},"components-button--primary-outline":{"type":"story","id":"components-button--primary-outline","name":"Primary Outline","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","componentPath":"./src/components/Button/Button.tsx","tags":["dev","test","autodocs"]},"components-button--secondary-outline":{"type":"story","id":"components-button--secondary-outline","name":"Secondary Outline","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","componentPath":"./src/components/Button/Button.tsx","tags":["dev","test","autodocs"]},"components-button--small":{"type":"story","id":"components-button--small","name":"Small","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","componentPath":"./src/components/Button/Button.tsx","tags":["dev","test","autodocs"]},"components-button--large":{"type":"story","id":"components-button--large","name":"Large","title":"Components/Button","importPath":"./src/components/Button/Button.stories.ts","componentPath":"./src/components/Button/Button.tsx","tags":["dev","test","autodocs"]},"components-imageslider--docs":{"id":"components-imageslider--docs","title":"Components/ImageSlider","name":"Docs","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","type":"docs","tags":["dev","test","autodocs","excludeFromSidebar"],"storiesImports":[]},"components-imageslider--demo":{"type":"story","id":"components-imageslider--demo","name":"Demo","title":"Components/ImageSlider","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","componentPath":"./src/components/ImageSlider/ImageSlider.tsx","tags":["dev","test","autodocs","excludeFromSidebar"]},"components-imageslider--default":{"type":"story","id":"components-imageslider--default","name":"Default","title":"Components/ImageSlider","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","componentPath":"./src/components/ImageSlider/ImageSlider.tsx","tags":["dev","test","autodocs"]},"components-imageslider--large":{"type":"story","id":"components-imageslider--large","name":"Large","title":"Components/ImageSlider","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","componentPath":"./src/components/ImageSlider/ImageSlider.tsx","tags":["dev","test","autodocs"]},"components-imageslider--small":{"type":"story","id":"components-imageslider--small","name":"Small","title":"Components/ImageSlider","importPath":"./src/components/ImageSlider/ImageSlider.stories.ts","componentPath":"./src/components/ImageSlider/ImageSlider.tsx","tags":["dev","test","autodocs"]},"components-label--docs":{"id":"components-label--docs","title":"Components/Label","name":"Docs","importPath":"./src/components/Label/Label.stories.ts","type":"docs","tags":["dev","test","autodocs","excludeFromSidebar"],"storiesImports":[]},"components-label--demo":{"type":"story","id":"components-label--demo","name":"Demo","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","componentPath":"./src/components/Label/Label.tsx","tags":["dev","test","autodocs","excludeFromSidebar"]},"components-label--info":{"type":"story","id":"components-label--info","name":"Info","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","componentPath":"./src/components/Label/Label.tsx","tags":["dev","test","autodocs"]},"components-label--warning":{"type":"story","id":"components-label--warning","name":"Warning","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","componentPath":"./src/components/Label/Label.tsx","tags":["dev","test","autodocs"]},"components-label--success":{"type":"story","id":"components-label--success","name":"Success","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","componentPath":"./src/components/Label/Label.tsx","tags":["dev","test","autodocs"]},"components-label--error":{"type":"story","id":"components-label--error","name":"Error","title":"Components/Label","importPath":"./src/components/Label/Label.stories.ts","componentPath":"./src/components/Label/Label.tsx","tags":["dev","test","autodocs"]},"components-linkbutton--docs":{"id":"components-linkbutton--docs","title":"Components/LinkButton","name":"Docs","importPath":"./src/components/LinkButton/LinkButton.stories.ts","type":"docs","tags":["dev","test","autodocs","excludeFromSidebar"],"storiesImports":[]},"components-linkbutton--demo":{"type":"story","id":"components-linkbutton--demo","name":"Demo","title":"Components/LinkButton","importPath":"./src/components/LinkButton/LinkButton.stories.ts","componentPath":"./src/components/LinkButton/LinkButton.tsx","tags":["dev","test","autodocs","excludeFromSidebar"]},"components-linkbutton--default":{"type":"story","id":"components-linkbutton--default","name":"Default","title":"Components/LinkButton","importPath":"./src/components/LinkButton/LinkButton.stories.ts","componentPath":"./src/components/LinkButton/LinkButton.tsx","tags":["dev","test","autodocs"]},"components-table--docs":{"id":"components-table--docs","title":"Components/Table","name":"Docs","importPath":"./src/components/Table/Table.stories.ts","type":"docs","tags":["dev","test","autodocs","excludeFromSidebar"],"storiesImports":[]},"components-table--demo":{"type":"story","id":"components-table--demo","name":"Demo","title":"Components/Table","importPath":"./src/components/Table/Table.stories.ts","componentPath":"./src/components/Table/Table.tsx","tags":["dev","test","autodocs","excludeFromSidebar"]},"components-table--default":{"type":"story","id":"components-table--default","name":"Default","title":"Components/Table","importPath":"./src/components/Table/Table.stories.ts","componentPath":"./src/components/Table/Table.tsx","tags":["dev","test","autodocs"]},"components-truncatedtext--docs":{"id":"components-truncatedtext--docs","title":"Components/TruncatedText","name":"Docs","importPath":"./src/components/TruncatedText/TruncatedText.stories.ts","type":"docs","tags":["dev","test","autodocs","excludeFromSidebar"],"storiesImports":[]},"components-truncatedtext--demo":{"type":"story","id":"components-truncatedtext--demo","name":"Demo","title":"Components/TruncatedText","importPath":"./src/components/TruncatedText/TruncatedText.stories.ts","componentPath":"./src/components/TruncatedText/TruncatedText.tsx","tags":["dev","test","autodocs","excludeFromSidebar"]},"components-truncatedtext--default":{"type":"story","id":"components-truncatedtext--default","name":"Default","title":"Components/TruncatedText","importPath":"./src/components/TruncatedText/TruncatedText.stories.ts","componentPath":"./src/components/TruncatedText/TruncatedText.tsx","tags":["dev","test","autodocs"]},"usage--docs":{"id":"usage--docs","title":"Usage","name":"Docs","importPath":"./docs/Usage.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"contributing--docs":{"id":"contributing--docs","title":"Contributing","name":"Docs","importPath":"./docs/Contributing.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]}}} diff --git a/nunito-sans-bold-italic.woff2 b/nunito-sans-bold-italic.woff2 new file mode 100644 index 0000000..33563d8 Binary files /dev/null and b/nunito-sans-bold-italic.woff2 differ diff --git a/nunito-sans-bold.woff2 b/nunito-sans-bold.woff2 new file mode 100644 index 0000000..19fcc94 Binary files /dev/null and b/nunito-sans-bold.woff2 differ diff --git a/nunito-sans-italic.woff2 b/nunito-sans-italic.woff2 new file mode 100644 index 0000000..827096d Binary files /dev/null and b/nunito-sans-italic.woff2 differ diff --git a/nunito-sans-regular.woff2 b/nunito-sans-regular.woff2 new file mode 100644 index 0000000..c527ba4 Binary files /dev/null and b/nunito-sans-regular.woff2 differ diff --git a/project.json b/project.json index 6535d46..f630b3a 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1724564043570,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"packageManager":{"type":"npm","version":"10.8.1"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"8.0.5","storybookVersionSpecifier":"^8.0.5","language":"typescript","storybookPackages":{"@storybook/manager-api":{"version":"8.0.5"},"@storybook/theming":{"version":"8.0.5"},"@chromatic-com/storybook":{"version":"1.2.25"},"@storybook/addon-interactions":{"version":"8.0.5"},"@storybook/addon-links":{"version":"8.0.5"},"@storybook/blocks":{"version":"8.0.5"},"@storybook/builder-vite":{"version":"8.0.5"},"@storybook/react":{"version":"8.0.5"},"@storybook/react-vite":{"version":"8.0.5"},"@storybook/test":{"version":"8.0.5"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.0.5"}},"addons":{"@storybook/addon-essentials":{"version":"8.0.5"},"@storybook/addon-docs":{"version":"8.0.5"},"storybook-dark-mode":{"version":"4.0.1"}}} +{"generatedAt":1724564317364,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@testing-library/jest-dom":"6.4.5","@testing-library/react":"14.2.2","@types/jest":"29.5.12","babel-jest":"29.7.0","jest":"29.7.0","jest-environment-jsdom":"29.7.0"},"packageManager":{"type":"npm","version":"10.8.1"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","storybookVersion":"8.2.9","storybookVersionSpecifier":"^8.2.9","language":"typescript","storybookPackages":{"@storybook/addons":{"version":"7.6.17"},"@storybook/manager-api":{"version":"8.2.9"},"@storybook/theming":{"version":"8.2.9"},"@chromatic-com/storybook":{"version":"1.6.1"},"@storybook/addon-interactions":{"version":"8.2.9"},"@storybook/addon-links":{"version":"8.2.9"},"@storybook/blocks":{"version":"8.2.9"},"@storybook/react":{"version":"8.2.9"},"@storybook/react-vite":{"version":"8.2.9"},"@storybook/test":{"version":"8.2.9"},"@storybook/types":{"version":"8.2.9"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.2.9"}},"addons":{"@storybook/addon-essentials":{"version":"8.2.9"},"@storybook/addon-docs":{"version":"8.2.9"},"@storybook/addon-a11y":{"version":"8.2.9"},"storybook-dark-mode":{"version":"4.0.2"},"@storybook/addon-mdx-gfm":{"version":"8.2.9"}}} diff --git a/sb-addons/a11y-8/manager-bundle.js b/sb-addons/a11y-8/manager-bundle.js new file mode 100644 index 0000000..8bd921b --- /dev/null +++ b/sb-addons/a11y-8/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var o=__REACT__,{Children:Sr,Component:_r,Fragment:G,Profiler:Tr,PureComponent:se,StrictMode:br,Suspense:yr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Or,cloneElement:U,createContext:ue,createElement:h,createFactory:Cr,createRef:de,forwardRef:vr,isValidElement:me,lazy:Ar,memo:xr,startTransition:kr,unstable_act:Nr,useCallback:x,useContext:pe,useDebugValue:Dr,useDeferredValue:wr,useEffect:H,useId:Lr,useImperativeHandle:Pr,useInsertionEffect:Hr,useLayoutEffect:ge,useMemo:F,useReducer:Br,useRef:W,useState:N,useSyncExternalStore:Mr,useTransition:Gr,version:Ur}=__REACT__;var Yr=__STORYBOOK_API__,{ActiveTabs:jr,Consumer:zr,ManagerContext:Vr,Provider:Kr,RequestResponseError:qr,addons:$,combineParameters:Qr,controlOrMetaKey:Xr,controlOrMetaSymbol:Zr,eventMatchesShortcut:Jr,eventToShortcut:eo,experimental_requestResponse:to,isMacLike:no,isShortcutTaken:ro,keyToSymbol:oo,merge:ao,mockChannel:io,optionOrAltSymbol:co,shortcutMatchesShortcut:lo,shortcutToHumanString:so,types:K,useAddonState:q,useArgTypes:uo,useArgs:mo,useChannel:Q,useGlobalTypes:po,useGlobals:go,useParameter:he,useSharedState:ho,useStoryPrepared:Io,useStorybookApi:X,useStorybookState:Ie}=__STORYBOOK_API__;var _o=__STORYBOOK_COMPONENTS__,{A:To,ActionBar:Z,AddonPanel:bo,Badge:J,Bar:yo,Blockquote:Oo,Button:Co,ClipboardCode:vo,Code:Ao,DL:xo,Div:ko,DocumentWrapper:No,EmptyTabContent:Ee,ErrorFormatter:Do,FlexBar:wo,Form:Lo,H1:Po,H2:Ho,H3:Bo,H4:Mo,H5:Go,H6:Uo,HR:Fo,IconButton:fe,IconButtonSkeleton:Wo,Icons:$o,Img:Yo,LI:jo,Link:zo,ListItem:Vo,Loader:Ko,Modal:qo,OL:Qo,P:Xo,Placeholder:Zo,Pre:Jo,ResetWrapper:ea,ScrollArea:Re,Separator:ta,Spaced:Se,Span:na,StorybookIcon:ra,StorybookLogo:oa,Symbols:aa,SyntaxHighlighter:ia,TT:ca,TabBar:la,TabButton:sa,TabWrapper:ua,Table:da,Tabs:ma,TabsState:pa,TooltipLinkList:_e,TooltipMessage:ga,TooltipNote:ha,UL:Ia,WithTooltip:Te,WithTooltipPure:Ea,Zoom:fa,codeCommon:Ra,components:Sa,createCopyToClipboardFunction:_a,getStoryHref:Ta,icons:ba,interleaveSeparators:ya,nameSpaceClassNames:Oa,resetComponents:Ca,withReset:va}=__STORYBOOK_COMPONENTS__;var Da=__STORYBOOK_THEMING__,{CacheProvider:wa,ClassNames:La,Global:be,ThemeProvider:Pa,background:Ha,color:Ba,convert:Y,create:Ma,createCache:Ga,createGlobal:Ua,createReset:Fa,css:Wa,darken:$a,ensure:Ya,ignoreSsrWarning:ja,isPropValid:za,jsx:Va,keyframes:Ka,lighten:qa,styled:l,themes:j,typography:Qa,useTheme:Xa,withTheme:Za}=__STORYBOOK_THEMING__;var ri=__STORYBOOK_ICONS__,{AccessibilityAltIcon:oi,AccessibilityIcon:ye,AddIcon:ai,AdminIcon:ii,AlertAltIcon:ci,AlertIcon:li,AlignLeftIcon:si,AlignRightIcon:ui,AppleIcon:di,ArrowDownIcon:mi,ArrowLeftIcon:pi,ArrowRightIcon:gi,ArrowSolidDownIcon:hi,ArrowSolidLeftIcon:Ii,ArrowSolidRightIcon:Ei,ArrowSolidUpIcon:fi,ArrowUpIcon:Ri,AzureDevOpsIcon:Si,BackIcon:_i,BasketIcon:Ti,BatchAcceptIcon:bi,BatchDenyIcon:yi,BeakerIcon:Oi,BellIcon:Ci,BitbucketIcon:vi,BoldIcon:Ai,BookIcon:xi,BookmarkHollowIcon:ki,BookmarkIcon:Ni,BottomBarIcon:Di,BottomBarToggleIcon:wi,BoxIcon:Li,BranchIcon:Pi,BrowserIcon:Hi,ButtonIcon:Bi,CPUIcon:Mi,CalendarIcon:Gi,CameraIcon:Ui,CategoryIcon:Fi,CertificateIcon:Wi,ChangedIcon:$i,ChatIcon:Yi,CheckIcon:Oe,ChevronDownIcon:ji,ChevronLeftIcon:zi,ChevronRightIcon:Vi,ChevronSmallDownIcon:Ce,ChevronSmallLeftIcon:Ki,ChevronSmallRightIcon:qi,ChevronSmallUpIcon:Qi,ChevronUpIcon:Xi,ChromaticIcon:Zi,ChromeIcon:Ji,CircleHollowIcon:ec,CircleIcon:tc,ClearIcon:nc,CloseAltIcon:rc,CloseIcon:oc,CloudHollowIcon:ac,CloudIcon:ic,CogIcon:cc,CollapseIcon:lc,CommandIcon:sc,CommentAddIcon:uc,CommentIcon:dc,CommentsIcon:mc,CommitIcon:pc,CompassIcon:gc,ComponentDrivenIcon:hc,ComponentIcon:Ic,ContrastIcon:Ec,ControlsIcon:fc,CopyIcon:Rc,CreditIcon:Sc,CrossIcon:_c,DashboardIcon:Tc,DatabaseIcon:bc,DeleteIcon:yc,DiamondIcon:Oc,DirectionIcon:Cc,DiscordIcon:vc,DocChartIcon:Ac,DocListIcon:xc,DocumentIcon:kc,DownloadIcon:Nc,DragIcon:Dc,EditIcon:wc,EllipsisIcon:Lc,EmailIcon:Pc,ExpandAltIcon:Hc,ExpandIcon:Bc,EyeCloseIcon:Mc,EyeIcon:Gc,FaceHappyIcon:Uc,FaceNeutralIcon:Fc,FaceSadIcon:Wc,FacebookIcon:$c,FailedIcon:Yc,FastForwardIcon:jc,FigmaIcon:zc,FilterIcon:Vc,FlagIcon:Kc,FolderIcon:qc,FormIcon:Qc,GDriveIcon:Xc,GithubIcon:Zc,GitlabIcon:Jc,GlobeIcon:el,GoogleIcon:tl,GraphBarIcon:nl,GraphLineIcon:rl,GraphqlIcon:ol,GridAltIcon:al,GridIcon:il,GrowIcon:cl,HeartHollowIcon:ll,HeartIcon:sl,HomeIcon:ul,HourglassIcon:dl,InfoIcon:ml,ItalicIcon:pl,JumpToIcon:gl,KeyIcon:hl,LightningIcon:Il,LightningOffIcon:El,LinkBrokenIcon:fl,LinkIcon:Rl,LinkedinIcon:Sl,LinuxIcon:_l,ListOrderedIcon:Tl,ListUnorderedIcon:bl,LocationIcon:yl,LockIcon:Ol,MarkdownIcon:Cl,MarkupIcon:vl,MediumIcon:Al,MemoryIcon:xl,MenuIcon:kl,MergeIcon:Nl,MirrorIcon:Dl,MobileIcon:wl,MoonIcon:Ll,NutIcon:Pl,OutboxIcon:Hl,OutlineIcon:Bl,PaintBrushIcon:Ml,PaperClipIcon:Gl,ParagraphIcon:Ul,PassedIcon:Fl,PhoneIcon:Wl,PhotoDragIcon:$l,PhotoIcon:Yl,PinAltIcon:jl,PinIcon:zl,PlayBackIcon:Vl,PlayIcon:Kl,PlayNextIcon:ql,PlusIcon:Ql,PointerDefaultIcon:Xl,PointerHandIcon:Zl,PowerIcon:Jl,PrintIcon:es,ProceedIcon:ts,ProfileIcon:ns,PullRequestIcon:rs,QuestionIcon:os,RSSIcon:as,RedirectIcon:is,ReduxIcon:cs,RefreshIcon:ls,ReplyIcon:ss,RepoIcon:us,RequestChangeIcon:ds,RewindIcon:ms,RulerIcon:ps,SearchIcon:gs,ShareAltIcon:hs,ShareIcon:Is,ShieldIcon:Es,SideBySideIcon:fs,SidebarAltIcon:Rs,SidebarAltToggleIcon:Ss,SidebarIcon:_s,SidebarToggleIcon:Ts,SpeakerIcon:bs,StackedIcon:ys,StarHollowIcon:Os,StarIcon:Cs,StickerIcon:vs,StopAltIcon:As,StopIcon:xs,StorybookIcon:ks,StructureIcon:Ns,SubtractIcon:Ds,SunIcon:ws,SupportIcon:Ls,SwitchAltIcon:Ps,SyncIcon:ve,TabletIcon:Hs,ThumbsUpIcon:Bs,TimeIcon:Ms,TimerIcon:Gs,TransferIcon:Us,TrashIcon:Fs,TwitterIcon:Ws,TypeIcon:$s,UbuntuIcon:Ys,UndoIcon:js,UnfoldIcon:zs,UnlockIcon:Vs,UnpinIcon:Ks,UploadIcon:qs,UserAddIcon:Qs,UserAltIcon:Xs,UserIcon:Zs,UsersIcon:Js,VSCodeIcon:eu,VerifiedIcon:tu,VideoIcon:nu,WandIcon:ru,WatchIcon:ou,WindowsIcon:au,WrenchIcon:iu,YoutubeIcon:cu,ZoomIcon:lu,ZoomOutIcon:su,ZoomResetIcon:uu,iconList:du}=__STORYBOOK_ICONS__;var Iu=__REACT_DOM__,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Eu,createPortal:fu,createRoot:Ru,findDOMNode:Ae,flushSync:Su,hydrate:_u,hydrateRoot:Tu,render:bu,unmountComponentAtNode:yu,unstable_batchedUpdates:Ou,unstable_renderSubtreeIntoContainer:Cu,version:vu}=__REACT_DOM__;var Du=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:wu,ARGTYPES_INFO_RESPONSE:Lu,CHANNEL_CREATED:Pu,CHANNEL_WS_DISCONNECT:Hu,CONFIG_ERROR:Bu,CREATE_NEW_STORYFILE_REQUEST:Mu,CREATE_NEW_STORYFILE_RESPONSE:Gu,CURRENT_STORY_WAS_SET:Uu,DOCS_PREPARED:Fu,DOCS_RENDERED:Wu,FILE_COMPONENT_SEARCH_REQUEST:$u,FILE_COMPONENT_SEARCH_RESPONSE:Yu,FORCE_REMOUNT:ju,FORCE_RE_RENDER:zu,GLOBALS_UPDATED:Vu,NAVIGATE_URL:Ku,PLAY_FUNCTION_THREW_EXCEPTION:qu,PRELOAD_ENTRIES:Qu,PREVIEW_BUILDER_PROGRESS:Xu,PREVIEW_KEYDOWN:Zu,REGISTER_SUBSCRIPTION:Ju,REQUEST_WHATS_NEW_DATA:ed,RESET_STORY_ARGS:td,RESULT_WHATS_NEW_DATA:nd,SAVE_STORY_REQUEST:rd,SAVE_STORY_RESPONSE:od,SELECT_STORY:ad,SET_CONFIG:id,SET_CURRENT_STORY:cd,SET_GLOBALS:ld,SET_INDEX:sd,SET_STORIES:ud,SET_WHATS_NEW_CACHE:dd,SHARED_STATE_CHANGED:md,SHARED_STATE_SET:pd,STORIES_COLLAPSE_ALL:gd,STORIES_EXPAND_ALL:hd,STORY_ARGS_UPDATED:Id,STORY_CHANGED:xe,STORY_ERRORED:Ed,STORY_INDEX_INVALIDATED:fd,STORY_MISSING:Rd,STORY_PREPARED:Sd,STORY_RENDERED:ke,STORY_RENDER_PHASE_CHANGED:_d,STORY_SPECIFIED:Td,STORY_THREW_EXCEPTION:bd,STORY_UNCHANGED:yd,TELEMETRY_ERROR:Od,TOGGLE_WHATS_NEW_NOTIFICATIONS:Cd,UNHANDLED_ERRORS_WHILE_PLAYING:vd,UPDATE_GLOBALS:Ad,UPDATE_QUERY_PARAMS:xd,UPDATE_STORY_ARGS:kd}=__STORYBOOK_CORE_EVENTS__;var Ne="storybook/highlight",De=`${Ne}/add`,Ud=`${Ne}/reset`;var k="storybook/a11y",we=`${k}/panel`,nt="a11y",rt=`${k}/result`,ot=`${k}/request`,at=`${k}/running`,it=`${k}/error`,ct=`${k}/manual`,M={RESULT:rt,REQUEST:ot,RUNNING:at,ERROR:it,MANUAL:ct},lt=e=>h("svg",{...e},h("defs",null,h("filter",{id:"protanopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.567, 0.433, 0, 0, 0 0.558, 0.442, 0, 0, 0 0, 0.242, 0.758, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"protanomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.817, 0.183, 0, 0, 0 0.333, 0.667, 0, 0, 0 0, 0.125, 0.875, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"deuteranopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.625, 0.375, 0, 0, 0 0.7, 0.3, 0, 0, 0 0, 0.3, 0.7, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"deuteranomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.8, 0.2, 0, 0, 0 0.258, 0.742, 0, 0, 0 0, 0.142, 0.858, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"tritanopia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.95, 0.05, 0, 0, 0 0, 0.433, 0.567, 0, 0 0, 0.475, 0.525, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"tritanomaly"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.967, 0.033, 0, 0, 0 0, 0.733, 0.267, 0, 0 0, 0.183, 0.817, 0, 0 0, 0, 0, 1, 0"})),h("filter",{id:"achromatopsia"},h("feColorMatrix",{in:"SourceGraphic",type:"matrix",values:"0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0, 0, 0, 1, 0"})))),st="storybook-preview-iframe",ut=[{name:"blurred vision",percentage:22.9},{name:"deuteranomaly",percentage:2.7},{name:"deuteranopia",percentage:.56},{name:"protanomaly",percentage:.66},{name:"protanopia",percentage:.59},{name:"tritanomaly",percentage:.01},{name:"tritanopia",percentage:.016},{name:"achromatopsia",percentage:1e-4},{name:"grayscale"}],$e=e=>e?e==="blurred vision"?"blur(2px)":e==="grayscale"?"grayscale(100%)":`url('#${e}')`:"none",dt=l.div(()=>({"&, & svg":{position:"absolute",width:0,height:0}})),mt=l.span({background:"linear-gradient(to right, #F44336, #FF9800, #FFEB3B, #8BC34A, #2196F3, #9C27B0)",borderRadius:"1rem",display:"block",height:"1rem",width:"1rem"},({filter:e})=>({filter:$e(e)}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),pt=l.span({display:"flex",flexDirection:"column"}),gt=l.span({textTransform:"capitalize"}),ht=l.span(({theme:e})=>({fontSize:11,color:e.textMutedColor})),It=(e,n)=>[...e!==null?[{id:"reset",title:"Reset color filter",onClick:()=>{n(null)},right:void 0,active:!1}]:[],...ut.map(r=>{let t=r.percentage!==void 0?`${r.percentage}% of users`:void 0;return{id:r.name,title:o.createElement(pt,null,o.createElement(gt,null,r.name),t&&o.createElement(ht,null,t)),onClick:()=>{n(r)},right:o.createElement(mt,{filter:r.name}),active:e===r}})],Et=()=>{let[e,n]=N(null);return o.createElement(o.Fragment,null,e&&o.createElement(be,{styles:{[`#${st}`]:{filter:$e(e.name)}}}),o.createElement(Te,{placement:"top",tooltip:({onHide:r})=>{let t=It(e,a=>{n(a),r()});return o.createElement(_e,{links:t})},closeOnOutsideClick:!0,onDoubleClick:()=>n(null)},o.createElement(fe,{key:"filter",active:!!e,title:"Vision simulator"},o.createElement(ye,null))),o.createElement(dt,null,o.createElement(lt,null)))},ft=l.div({padding:12,marginBottom:10}),Rt=l.p({margin:"0 0 12px"}),St=l.a({marginTop:12,textDecoration:"underline",color:"inherit",display:"block"}),_t=({item:e})=>o.createElement(ft,null,o.createElement(Rt,null,e.description),o.createElement(St,{href:e.helpUrl,target:"_blank"},"More info...")),ne=function(e,n){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])},ne(e,n)};function Tt(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");ne(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}var re=function(){return re=Object.assign||function(e){for(var n,r=1,t=arguments.length;r=n||y<0||g&&O>=u}function I(){var E=ee();if(R(E))return S(E);i=setTimeout(I,T(E))}function S(E){return i=void 0,c&&t?f(E):(t=a=void 0,s)}function b(){i!==void 0&&clearTimeout(i),p=0,t=m=a=i=void 0}function L(){return i===void 0?s:S(ee())}function w(){var E=ee(),y=R(E);if(t=arguments,a=this,m=E,y){if(i===void 0)return _(m);if(g)return clearTimeout(i),i=setTimeout(I,n),f(m)}return i===void 0&&(i=setTimeout(I,n)),s}return w.cancel=b,w.flush=L,w}var Ve=Tn,bn=Ve,yn=ae,On="Expected a function";function Cn(e,n,r){var t=!0,a=!0;if(typeof e!="function")throw new TypeError(On);return yn(r)&&(t="leading"in r?!!r.leading:t,a="trailing"in r?!!r.trailing:a),bn(e,n,{leading:t,maxWait:n,trailing:a})}var vn=Cn,Ke=function(e,n,r,t){switch(n){case"debounce":return Ve(e,r,t);case"throttle":return vn(e,r,t);default:return e}},oe=function(e){return typeof e=="function"},D=function(){return typeof window>"u"},Ue=function(e){return e instanceof Element||e instanceof HTMLDocument},qe=function(e,n,r,t){return function(a){var u=a.width,s=a.height;n(function(i){return i.width===u&&i.height===s||i.width===u&&!t||i.height===s&&!r?i:(e&&oe(e)&&e(u,s),{width:u,height:s})})}};(function(e){Tt(n,e);function n(r){var t=e.call(this,r)||this;t.cancelHandler=function(){t.resizeHandler&&t.resizeHandler.cancel&&(t.resizeHandler.cancel(),t.resizeHandler=null)},t.attachObserver=function(){var p=t.props,d=p.targetRef,g=p.observerOptions;if(!D()){d&&d.current&&(t.targetRef.current=d.current);var c=t.getElement();c&&(t.observableElement&&t.observableElement===c||(t.observableElement=c,t.resizeObserver.observe(c,g)))}},t.getElement=function(){var p=t.props,d=p.querySelector,g=p.targetDomEl;if(D())return null;if(d)return document.querySelector(d);if(g&&Ue(g))return g;if(t.targetRef&&Ue(t.targetRef.current))return t.targetRef.current;var c=Ae(t);if(!c)return null;var f=t.getRenderType();switch(f){case"renderProp":return c;case"childFunction":return c;case"child":return c;case"childArray":return c;default:return c.parentElement}},t.createResizeHandler=function(p){var d=t.props,g=d.handleWidth,c=g===void 0?!0:g,f=d.handleHeight,_=f===void 0?!0:f,T=d.onResize;if(!(!c&&!_)){var R=qe(T,t.setState.bind(t),c,_);p.forEach(function(I){var S=I&&I.contentRect||{},b=S.width,L=S.height,w=!t.skipOnMount&&!D();w&&R({width:b,height:L}),t.skipOnMount=!1})}},t.getRenderType=function(){var p=t.props,d=p.render,g=p.children;return oe(d)?"renderProp":oe(g)?"childFunction":me(g)?"child":Array.isArray(g)?"childArray":"parent"};var a=r.skipOnMount,u=r.refreshMode,s=r.refreshRate,i=s===void 0?1e3:s,m=r.refreshOptions;return t.state={width:void 0,height:void 0},t.skipOnMount=a,t.targetRef=de(),t.observableElement=null,D()||(t.resizeHandler=Ke(t.createResizeHandler,u,i,m),t.resizeObserver=new window.ResizeObserver(t.resizeHandler)),t}return n.prototype.componentDidMount=function(){this.attachObserver()},n.prototype.componentDidUpdate=function(){this.attachObserver()},n.prototype.componentWillUnmount=function(){D()||(this.observableElement=null,this.resizeObserver.disconnect(),this.cancelHandler())},n.prototype.render=function(){var r=this.props,t=r.render,a=r.children,u=r.nodeType,s=u===void 0?"div":u,i=this.state,m=i.width,p=i.height,d={width:m,height:p,targetRef:this.targetRef},g=this.getRenderType(),c;switch(g){case"renderProp":return t&&t(d);case"childFunction":return c=a,c(d);case"child":if(c=a,c.type&&typeof c.type=="string"){d.targetRef;var f=bt(d,["targetRef"]);return U(c,f)}return U(c,d);case"childArray":return c=a,c.map(function(_){return!!_&&U(_,d)});default:return h(s,null)}},n})(se);var An=D()?H:ge;function Qe(e){e===void 0&&(e={});var n=e.skipOnMount,r=n===void 0?!1:n,t=e.refreshMode,a=e.refreshRate,u=a===void 0?1e3:a,s=e.refreshOptions,i=e.handleWidth,m=i===void 0?!0:i,p=e.handleHeight,d=p===void 0?!0:p,g=e.targetRef,c=e.observerOptions,f=e.onResize,_=W(r),T=W(null),R=g??T,I=W(),S=N({width:void 0,height:void 0}),b=S[0],L=S[1];return An(function(){if(!D()){var w=qe(f,L,m,d),E=function(O){!m&&!d||O.forEach(function(P){var le=P&&P.contentRect||{},Ze=le.width,Je=le.height,et=!_.current&&!D();et&&w({width:Ze,height:Je}),_.current=!1})};I.current=Ke(E,t,u,s);var y=new window.ResizeObserver(I.current);return R.current&&y.observe(R.current,c),function(){y.disconnect();var O=I.current;O&&O.cancel&&O.cancel()}}},[t,u,s,m,d,f,c,R.current]),re({ref:R},b)}var xn=l.div({display:"flex",flexDirection:"column",paddingBottom:4,paddingRight:4,paddingTop:4,fontWeight:400}),kn=l.div(({elementWidth:e})=>({flexDirection:e>407?"row":"inherit",marginBottom:e>407?6:12,display:e>407?"flex":"block"})),Nn=l(J)({padding:"2px 8px",marginBottom:3,minWidth:65,maxWidth:"fit-content",width:"100%",textAlign:"center"}),Dn=l.div({paddingLeft:6,paddingRight:23}),wn=e=>e.charAt(0).toUpperCase().concat(e.slice(1)),Ln=({rule:e})=>{let{ref:n,width:r}=Qe({refreshMode:"debounce",handleHeight:!1,handleWidth:!0}),t=null;switch(e.impact){case"critical":t="critical";break;case"serious":t="negative";break;case"moderate":t="warning";break;case"minor":t="neutral";break}return o.createElement(kn,{ref:n,elementWidth:r||0},o.createElement(Nn,{status:t},wn(e.impact)),o.createElement(Dn,null,e.message))},Pn=({rules:e})=>o.createElement(xn,null,e.map((n,r)=>o.createElement(Ln,{rule:n,key:r}))),Hn=[Y(j.light).color.negative,Y(j.light).color.positive,Y(j.light).color.warning],Xe=ue({results:{passes:[],incomplete:[],violations:[]},setResults:()=>{},highlighted:[],toggleHighlight:()=>{},clearHighlights:()=>{},tab:0,setTab:()=>{}}),Fe={passes:[],incomplete:[],violations:[]},Bn=({active:e,...n})=>{let[r,t]=q(k,Fe),[a,u]=N(0),[s,i]=N([]),m=X(),p=m.getCurrentStoryData(),d=x((R,I)=>{i(S=>I?[...S,...R]:S.filter(b=>!R.includes(b)))},[]),g=R=>{T(M.REQUEST,R,m.getParameters(R,"a11y"))},c=x(()=>i([]),[]),f=x(R=>{c(),u(R)},[]),_=x(()=>{u(0),t(Fe)},[]),T=Q({[ke]:g,[xe]:_});return H(()=>{T(De,{elements:s,color:Hn[a]})},[s,a]),H(()=>{e&&p?.type==="story"?g(p.id):c()},[e,c,T,p]),e?h(Xe.Provider,{value:{results:r,setResults:t,highlighted:s,toggleHighlight:d,clearHighlights:c,tab:a,setTab:f},...n}):null},ie=()=>pe(Xe),Mn=l.input(({disabled:e})=>({cursor:e?"not-allowed":"pointer"}));function We(e,n){let r=e.filter(t=>n.includes(t.target[0])).length;return r===0?1:r===e.length?0:2}var Gn=({toggleId:e,elementsToHighlight:n=[]})=>{let{toggleHighlight:r,highlighted:t}=ie(),a=o.useRef(null),[u,s]=o.useState(We(n,t));o.useEffect(()=>{let m=We(n,t);a.current&&(a.current.indeterminate=m===2),s(m)},[n,t]);let i=o.useCallback(()=>{r(n.map(m=>m.target[0]),u!==0)},[n,u,r]);return o.createElement(Mn,{ref:a,id:e,type:"checkbox","aria-label":"Highlight result",disabled:!n.length,onChange:i,checked:u===0})},ce=Gn,Un=l.li({fontWeight:600}),Fn=l.span(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,width:"100%",display:"flex",paddingBottom:6,marginBottom:6,justifyContent:"space-between"})),Wn=l.span({fontWeight:"normal",alignSelf:"center",paddingRight:15,input:{margin:0,display:"block"}}),$n=({element:e,type:n})=>{let{any:r,all:t,none:a}=e,u=[...r,...t,...a],s=`${n}-${e.target[0]}`;return o.createElement(Un,null,o.createElement(Fn,null,e.target[0],o.createElement(Wn,null,o.createElement(ce,{toggleId:s,elementsToHighlight:[e]}))),o.createElement(Pn,{rules:u}))},Yn=({elements:e,type:n})=>o.createElement("ol",null,e.map((r,t)=>o.createElement($n,{element:r,key:t,type:n}))),jn=l.div({display:"flex",flexWrap:"wrap",margin:"12px 0"}),zn=l.div(({theme:e})=>({margin:"0 6px",padding:5,border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius})),Vn=({tags:e})=>o.createElement(jn,null,e.map(n=>o.createElement(zn,{key:n},n))),Kn=l.div(({theme:e})=>({display:"flex",width:"100%",borderBottom:`1px solid ${e.appBorderColor}`,"&:hover":{background:e.background.hoverable}})),qn=l(Ce)({marginRight:10,transition:"transform 0.1s ease-in-out",verticalAlign:"inherit"}),Qn=l.div(({theme:e})=>({padding:e.layoutMargin,paddingLeft:e.layoutMargin-3,lineHeight:"20px",background:"none",color:"inherit",textAlign:"left",cursor:"pointer",borderLeft:"3px solid transparent",width:"100%","&:focus":{outline:"0 none",borderLeft:`3px solid ${e.color.secondary}`}})),Xn=l.span({fontWeight:"normal",float:"right",marginRight:15,alignSelf:"center",input:{margin:0,display:"block"}}),Zn=e=>{let[n,r]=N(!1),{item:t,type:a}=e,u=`${a}-${t.id}`;return o.createElement(G,null,o.createElement(Kn,null,o.createElement(Qn,{onClick:()=>r(!n),role:"button"},o.createElement(qn,{style:{transform:`rotate(${n?0:-90}deg)`}}),t.help),o.createElement(Xn,null,o.createElement(ce,{toggleId:u,elementsToHighlight:t.nodes}))),n?o.createElement(G,null,o.createElement(_t,{item:t,key:"info"}),o.createElement(Yn,{elements:t.nodes,type:a,key:"elements"}),o.createElement(Vn,{tags:t.tags,key:"tags"})):null)},te=({items:e,empty:n,type:r})=>o.createElement(G,null,e&&e.length?e.map(t=>o.createElement(Zn,{item:t,key:`${r}:${t.id}`,type:r})):o.createElement(Ee,{title:n})),Jn=l.div({width:"100%",position:"relative",minHeight:"100%"}),er=l.label(({theme:e})=>({cursor:"pointer",userSelect:"none",color:e.color.dark})),tr=l.div(({elementWidth:e,theme:n})=>({cursor:"pointer",fontSize:13,lineHeight:"20px",padding:e>450?"10px 15px 10px 0":"10px 0px 10px 15px",height:"40px",border:"none",marginTop:e>450?-40:0,float:e>450?"right":"left",display:"flex",alignItems:"center",width:e>450?"auto":"100%",borderBottom:e>450?"none":`1px solid ${n.appBorderColor}`,input:{marginLeft:10,marginRight:0,marginTop:-1,marginBottom:0}})),nr=l.button(({theme:e})=>({textDecoration:"none",padding:"10px 15px",cursor:"pointer",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:1,height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent","&:focus":{outline:"0 none",borderBottom:`3px solid ${e.color.secondary}`}}),({active:e,theme:n})=>e?{opacity:1,borderBottom:`3px solid ${n.color.secondary}`}:{}),rr=l.div({}),or=l.div(({theme:e})=>({boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.background.app,display:"flex",justifyContent:"space-between",whiteSpace:"nowrap"}));function ar(e){return e.reduce((n,r)=>n.concat(r.nodes),[])}var ir=({tabs:e})=>{let{ref:n,width:r}=Qe({refreshMode:"debounce",handleHeight:!1,handleWidth:!0}),{tab:t,setTab:a}=ie(),u=x(i=>{a(parseInt(i.currentTarget.getAttribute("data-index")||"",10))},[a]),s=`${e[t].type}-global-checkbox`;return h(Jn,{ref:n},h(or,null,h(rr,null,e.map((i,m)=>h(nr,{key:m,"data-index":m,active:t===m,onClick:u},i.label)))),e[t].items.length>0?h(tr,{elementWidth:r||0},h(er,{htmlFor:s},"Highlight results"),h(ce,{toggleId:s,elementsToHighlight:ar(e[t].items)})):null,e[t].panel)},cr=l(ve)({marginRight:4}),lr=l(cr)(({theme:e})=>({animation:`${e.animation.rotate360} 1s linear infinite;`})),sr=l.span(({theme:e})=>({color:e.color.positiveText})),ur=l.span(({theme:e})=>({color:e.color.negativeText})),dr=l.span(({theme:e})=>({color:e.color.warningText})),V=l.span({display:"flex",alignItems:"center",justifyContent:"center",height:"100%"}),mr=()=>{let{manual:e}=he("a11y",{manual:!1}),[n,r]=N(e?"manual":"initial"),[t,a]=o.useState(void 0),{setResults:u,results:s}=ie(),{storyId:i}=Ie(),m=X();o.useEffect(()=>{r(e?"manual":"initial")},[e]);let p=I=>{r("ran"),u(I),setTimeout(()=>{n==="ran"&&r("ready")},900)},d=x(()=>{r("running")},[]),g=x(I=>{r("error"),a(I)},[]),c=Q({[M.RUNNING]:d,[M.RESULT]:p,[M.ERROR]:g}),f=x(()=>{r("running"),c(M.MANUAL,i,m.getParameters(i,"a11y"))},[i]),_=F(()=>[{title:"Run test",onClick:f}],[f]),T=F(()=>[{title:n==="ready"?"Rerun tests":o.createElement(o.Fragment,null,o.createElement(Oe,null)," Tests completed"),onClick:f}],[n,f]),R=F(()=>{let{passes:I,incomplete:S,violations:b}=s;return[{label:o.createElement(ur,null,b.length," Violations"),panel:o.createElement(te,{items:b,type:0,empty:"No accessibility violations found."}),items:b,type:0},{label:o.createElement(sr,null,I.length," Passes"),panel:o.createElement(te,{items:I,type:1,empty:"No accessibility checks passed."}),items:I,type:1},{label:o.createElement(dr,null,S.length," Incomplete"),panel:o.createElement(te,{items:S,type:2,empty:"No accessibility checks incomplete."}),items:S,type:2}]},[s]);return o.createElement(o.Fragment,null,n==="initial"&&o.createElement(V,null,"Initializing..."),n==="manual"&&o.createElement(o.Fragment,null,o.createElement(V,null,"Manually run the accessibility scan."),o.createElement(Z,{key:"actionbar",actionItems:_})),n==="running"&&o.createElement(V,null,o.createElement(lr,{size:12})," Please wait while the accessibility scan is running ..."),(n==="ready"||n==="ran")&&o.createElement(o.Fragment,null,o.createElement(Re,{vertical:!0,horizontal:!0},o.createElement(ir,{key:"tabs",tabs:R})),o.createElement(Z,{key:"actionbar",actionItems:T})),n==="error"&&o.createElement(V,null,"The accessibility scan encountered an error.",o.createElement("br",null),typeof t=="string"?t:JSON.stringify(t)))},pr=()=>{let[e]=q(k),n=e?.violations?.length||0,r=e?.incomplete?.length||0,t=n+r;return o.createElement("div",null,o.createElement(Se,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Accessibility"),t===0?"":o.createElement(J,{status:"neutral"},t)))};$.register(k,e=>{$.add(we,{title:"",type:K.TOOL,match:({viewMode:n,tabId:r})=>n==="story"&&!r,render:()=>o.createElement(Et,null)}),$.add(we,{title:pr,type:K.PANEL,render:({active:n=!0})=>o.createElement(Bn,{active:n},o.createElement(mr,null)),paramKey:nt})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/storybook-9/manager-bundle.js.LEGAL.txt b/sb-addons/a11y-8/manager-bundle.js.LEGAL.txt similarity index 100% rename from sb-addons/storybook-9/manager-bundle.js.LEGAL.txt rename to sb-addons/a11y-8/manager-bundle.js.LEGAL.txt diff --git a/sb-addons/essentials-actions-2/manager-bundle.js b/sb-addons/essentials-actions-2/manager-bundle.js index 7f1eb65..b2cc410 100644 --- a/sb-addons/essentials-actions-2/manager-bundle.js +++ b/sb-addons/essentials-actions-2/manager-bundle.js @@ -1,3 +1,3 @@ try{ -(()=>{var o=__REACT__,{Children:Ae,Component:Re,Fragment:Ce,Profiler:Vr,PureComponent:$r,StrictMode:Yr,Suspense:Jr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:qr,cloneElement:Xr,createContext:K,createElement:Zr,createFactory:Kr,createRef:Qr,forwardRef:en,isValidElement:tn,lazy:rn,memo:k,startTransition:nn,unstable_act:an,useCallback:N,useContext:Q,useDebugValue:on,useDeferredValue:sn,useEffect:ln,useId:un,useImperativeHandle:cn,useInsertionEffect:pn,useLayoutEffect:we,useMemo:xe,useReducer:fn,useRef:dn,useState:G,useSyncExternalStore:mn,useTransition:bn,version:gn}=__REACT__;var Tn=__STORYBOOK_API__,{ActiveTabs:vn,Consumer:_n,ManagerContext:Sn,Provider:An,addons:ee,combineParameters:Rn,controlOrMetaKey:Cn,controlOrMetaSymbol:wn,eventMatchesShortcut:xn,eventToShortcut:Nn,isMacLike:Ln,isShortcutTaken:In,keyToSymbol:Dn,merge:Mn,mockChannel:Pn,optionOrAltSymbol:Bn,shortcutMatchesShortcut:Fn,shortcutToHumanString:zn,types:Ne,useAddonState:Le,useArgTypes:Hn,useArgs:jn,useChannel:Ie,useGlobalTypes:Un,useGlobals:kn,useParameter:Gn,useSharedState:Wn,useStoryPrepared:Vn,useStorybookApi:$n,useStorybookState:Yn}=__STORYBOOK_API__;var Kn=__STORYBOOK_CORE_EVENTS__,{CHANNEL_CREATED:Qn,CHANNEL_WS_DISCONNECT:ea,CONFIG_ERROR:ta,CURRENT_STORY_WAS_SET:ra,DOCS_PREPARED:na,DOCS_RENDERED:aa,FORCE_REMOUNT:oa,FORCE_RE_RENDER:ia,GLOBALS_UPDATED:sa,NAVIGATE_URL:la,PLAY_FUNCTION_THREW_EXCEPTION:ua,PRELOAD_ENTRIES:ca,PREVIEW_BUILDER_PROGRESS:pa,PREVIEW_KEYDOWN:fa,REGISTER_SUBSCRIPTION:da,REQUEST_WHATS_NEW_DATA:ma,RESET_STORY_ARGS:ba,RESULT_WHATS_NEW_DATA:ga,SELECT_STORY:ha,SET_CONFIG:Ea,SET_CURRENT_STORY:ya,SET_GLOBALS:Oa,SET_INDEX:Ta,SET_STORIES:va,SET_WHATS_NEW_CACHE:_a,SHARED_STATE_CHANGED:Sa,SHARED_STATE_SET:Aa,STORIES_COLLAPSE_ALL:Ra,STORIES_EXPAND_ALL:Ca,STORY_ARGS_UPDATED:wa,STORY_CHANGED:W,STORY_ERRORED:xa,STORY_INDEX_INVALIDATED:Na,STORY_MISSING:La,STORY_PREPARED:Ia,STORY_RENDERED:Da,STORY_RENDER_PHASE_CHANGED:Ma,STORY_SPECIFIED:Pa,STORY_THREW_EXCEPTION:Ba,STORY_UNCHANGED:Fa,TELEMETRY_ERROR:za,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ha,UNHANDLED_ERRORS_WHILE_PLAYING:ja,UPDATE_GLOBALS:Ua,UPDATE_QUERY_PARAMS:ka,UPDATE_STORY_ARGS:Ga}=__STORYBOOK_CORE_EVENTS__;var Ja=__STORYBOOK_COMPONENTS__,{A:qa,ActionBar:De,AddonPanel:Xa,Badge:Me,Bar:Za,Blockquote:Ka,Button:Qa,ClipboardCode:eo,Code:to,DL:ro,Div:no,DocumentWrapper:ao,EmptyTabContent:oo,ErrorFormatter:io,FlexBar:so,Form:lo,H1:uo,H2:co,H3:po,H4:fo,H5:mo,H6:bo,HR:go,IconButton:ho,IconButtonSkeleton:Eo,Icons:yo,Img:Oo,LI:To,Link:vo,ListItem:_o,Loader:So,OL:Ao,P:Ro,Placeholder:Co,Pre:wo,ResetWrapper:xo,ScrollArea:Pe,Separator:No,Spaced:Be,Span:Lo,StorybookIcon:Io,StorybookLogo:Do,Symbols:Mo,SyntaxHighlighter:Po,TT:Bo,TabBar:Fo,TabButton:zo,TabWrapper:Ho,Table:jo,Tabs:Uo,TabsState:ko,TooltipLinkList:Go,TooltipMessage:Wo,TooltipNote:Vo,UL:$o,WithTooltip:Yo,WithTooltipPure:Jo,Zoom:qo,codeCommon:Xo,components:Zo,createCopyToClipboardFunction:Ko,getStoryHref:Qo,icons:ei,interleaveSeparators:ti,nameSpaceClassNames:ri,resetComponents:ni,withReset:ai}=__STORYBOOK_COMPONENTS__;var Fe=Object.prototype.hasOwnProperty;function ze(e,t,r){for(r of e.keys())if(L(r,t))return r}function L(e,t){var r,n,a;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--&&L(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(a=n,a&&typeof a=="object"&&(a=ze(t,a),!a)||!t.has(a))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(a=n[0],a&&typeof a=="object"&&(a=ze(t,a),!a)||!L(n[1],t.get(a)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Fe.call(e,r)&&++n&&!Fe.call(t,r)||!(r in t)||!L(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var di=__STORYBOOK_THEMING__,{CacheProvider:mi,ClassNames:bi,Global:gi,ThemeProvider:hi,background:Ei,color:yi,convert:Oi,create:Ti,createCache:vi,createGlobal:_i,createReset:Si,css:Ai,darken:Ri,ensure:Ci,ignoreSsrWarning:wi,isPropValid:xi,jsx:Ni,keyframes:Li,lighten:Ii,styled:B,themes:Di,typography:Mi,useTheme:Pi,withTheme:He}=__STORYBOOK_THEMING__;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(l=i,u=s):a>=1&&a<2?(l=s,u=i):a>=2&&a<3?(u=i,c=s):a>=3&&a<4?(u=s,c=i):a>=4&&a<5?(l=s,c=i):a>=5&&a<6&&(l=i,c=s);var p=r-i/2,d=l+p,f=u+p,E=c+p;return n(d,f,E)}var ke={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function ct(e){if(typeof e!="string")return e;var t=e.toLowerCase();return ke[t]?"#"+ke[t]:e}var pt=/^#[a-fA-F0-9]{6}$/,ft=/^#[a-fA-F0-9]{8}$/,dt=/^#[a-fA-F0-9]{3}$/,mt=/^#[a-fA-F0-9]{4}$/,ie=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,bt=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,gt=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ht=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I(e){if(typeof e!="string")throw new v(3);var t=ct(e);if(t.match(pt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(ft)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(dt))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(mt)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=ie.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var i=bt.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=gt.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+H(l,u,c)+")",d=ie.exec(p);if(!d)throw new v(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=ht.exec(t.substring(0,50));if(f){var E=parseInt(""+f[1],10),m=parseInt(""+f[2],10)/100,y=parseInt(""+f[3],10)/100,T="rgb("+H(E,m,y)+")",x=ie.exec(T);if(!x)throw new v(4,t,T);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new v(5)}function Et(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=(a+i)/2;if(a===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=a-i,c=s>.5?u/(2-a-i):u/(a+i);switch(a){case t:l=(r-n)/u+(r=1?$(e,t,r):"rgba("+H(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?$(e.hue,e.saturation,e.lightness):"rgba("+H(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new v(2)}function ue(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return le("#"+w(e)+w(t)+w(r));if(typeof e=="object"&&t===void 0&&r===void 0)return le("#"+w(e.red)+w(e.green)+w(e.blue));throw new v(6)}function Y(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=I(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?ue(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ue(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new v(7)}var _t=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},St=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},At=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Rt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function C(e){if(typeof e!="object")throw new v(8);if(St(e))return Y(e);if(_t(e))return ue(e);if(Rt(e))return vt(e);if(At(e))return Tt(e);throw new v(8)}function We(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):We(e,t,a)}}function _(e){return We(e,e.length,[])}function Ct(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{hue:r.hue+parseFloat(e)}))}var Us=_(Ct);function D(e,t,r){return Math.max(e,Math.min(t,r))}function wt(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var ks=_(wt);function xt(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var Gs=_(xt);function Nt(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var Ws=_(Nt);function Lt(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=I(t),a=O({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=I(r),s=O({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),l=a.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,f=1-d,E={red:Math.floor(a.red*d+s.red*f),green:Math.floor(a.green*d+s.green*f),blue:Math.floor(a.blue*d+s.blue*f),alpha:a.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return Y(E)}var It=_(Lt),Ve=It;function Dt(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=O({},r,{alpha:D(0,1,(n*100+parseFloat(e)*100)/100)});return Y(a)}var Mt=_(Dt),$e=Mt;function Pt(e,t){if(t==="transparent")return t;var r=R(t);return C(O({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var Vs=_(Pt);function Bt(e,t){return t==="transparent"?t:C(O({},R(t),{hue:parseFloat(e)}))}var $s=_(Bt);function Ft(e,t){return t==="transparent"?t:C(O({},R(t),{lightness:parseFloat(e)}))}var Ys=_(Ft);function zt(e,t){return t==="transparent"?t:C(O({},R(t),{saturation:parseFloat(e)}))}var Js=_(zt);function Ht(e,t){return t==="transparent"?t:Ve(parseFloat(e),"rgb(0, 0, 0)",t)}var qs=_(Ht);function jt(e,t){return t==="transparent"?t:Ve(parseFloat(e),"rgb(255, 255, 255)",t)}var Xs=_(jt);function Ut(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=O({},r,{alpha:D(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Y(a)}var Zs=_(Ut);var kt=Object.create,be=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Ze=Object.getOwnPropertyNames,Wt=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty,ge=(e,t)=>function(){return t||(0,e[Ze(e)[0]])((t={exports:{}}).exports,t),t.exports},$t=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},Yt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ze(t))!Vt.call(e,a)&&a!==r&&be(e,a,{get:()=>t[a],enumerable:!(n=Gt(t,a))||n.enumerable});return e},Jt=(e,t,r)=>(r=e!=null?kt(Wt(e)):{},Yt(t||!e||!e.__esModule?be(r,"default",{value:e,enumerable:!0}):r,e)),qt=ge({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),Xt=ge({"node_modules/is-window/index.js"(e,t){t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),Zt=ge({"node_modules/is-dom/index.js"(e,t){var r=qt(),n=Xt();function a(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=a}}),X={};$t(X,{chromeDark:()=>Kt,chromeLight:()=>Qt});var Kt={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Qt={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Ke=K([{},()=>{}]),ce={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},J=e=>({DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:{whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...ce},treeNodeArrow:{base:{color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:`transform ${e.ARROW_ANIMATION_DURATION} ease 0s`}:{},...ce},expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:`1px solid ${e.TABLE_BORDER_COLOR}`,fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:`1px solid ${e.TABLE_BORDER_COLOR}`,fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:`1px solid ${e.TABLE_BORDER_COLOR}`}},TableInspectorSortIcon:{display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12,...ce}}),pe="chromeLight",Qe=K(J(X[pe])),S=e=>Q(Qe)[e],he=e=>({theme:t=pe,...r})=>{let n=xe(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return J(X[t]);case"[object Object]":return J(t);default:return J(X[pe])}},[t]);return o.createElement(Qe.Provider,{value:n},o.createElement(e,{...r}))},er=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),tr=k(e=>{e={expanded:!0,nodeRenderer:({name:p})=>o.createElement("span",null,p),onClick:()=>{},shouldShowArrow:!1,shouldShowPlaceholder:!0,...e};let{expanded:t,onClick:r,children:n,nodeRenderer:a,title:i,shouldShowArrow:s,shouldShowPlaceholder:l}=e,u=S("TreeNode"),c=a;return o.createElement("li",{"aria-expanded":t,role:"treeitem",style:u.treeNodeBase,title:i},o.createElement("div",{style:u.treeNodePreviewContainer,onClick:r},s||Ae.count(n)>0?o.createElement(er,{expanded:t,styles:u.treeNodeArrow}):l&&o.createElement("span",{style:u.treeNodePlaceholder},"\xA0"),o.createElement(c,{...e})),o.createElement("ol",{role:"group",style:u.treeNodeChildNodesContainer},t?n:void 0))}),Z="$",Ye="*";function q(e,t){return!t(e).next().done}var rr=e=>Array.from({length:e},(t,r)=>[Z].concat(Array.from({length:r},()=>"*")).join(".")),nr=(e,t,r,n,a)=>{let i=[].concat(rr(n)).concat(r).filter(l=>typeof l=="string"),s=[];return i.forEach(l=>{let u=l.split("."),c=(p,d,f)=>{if(f===u.length){s.push(d);return}let E=u[f];if(f===0)q(p,t)&&(E===Z||E===Ye)&&c(p,Z,f+1);else if(E===Ye)for(let{name:m,data:y}of t(p))q(y,t)&&c(y,`${d}.${m}`,f+1);else{let m=p[E];q(m,t)&&c(m,`${d}.${E}`,f+1)}};c(e,"",0)}),s.reduce((l,u)=>(l[u]=!0,l),{...a})},et=k(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=Q(Ke),u=q(t,r),c=!!s[n],p=N(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(tr,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(et,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),tt=k(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=S("TreeView"),l=G({}),[,u]=l;return we(()=>u(c=>nr(t,r,a,i,c)),[t,r,a,i]),o.createElement(Ke.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(et,{name:e,data:t,dataIterator:r,depth:0,path:Z,nodeRenderer:n})))}),Ee=({name:e,dimmed:t=!1,styles:r={}})=>{let n=S("ObjectName"),a={...n.base,...t?n.dimmed:{},...r};return o.createElement("span",{style:a},e)},j=({object:e,styles:t})=>{let r=S("ObjectValue"),n=a=>({...r[a],...t});switch(typeof e){case"bigint":return o.createElement("span",{style:n("objectValueNumber")},String(e),"n");case"number":return o.createElement("span",{style:n("objectValueNumber")},String(e));case"string":return o.createElement("span",{style:n("objectValueString")},'"',e,'"');case"boolean":return o.createElement("span",{style:n("objectValueBoolean")},String(e));case"undefined":return o.createElement("span",{style:n("objectValueUndefined")},"undefined");case"object":return e===null?o.createElement("span",{style:n("objectValueNull")},"null"):e instanceof Date?o.createElement("span",null,e.toString()):e instanceof RegExp?o.createElement("span",{style:n("objectValueRegExp")},e.toString()):Array.isArray(e)?o.createElement("span",null,`Array(${e.length})`):e.constructor?typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)?o.createElement("span",null,`Buffer[${e.length}]`):o.createElement("span",null,e.constructor.name):o.createElement("span",null,"Object");case"function":return o.createElement("span",null,o.createElement("span",{style:n("objectValueFunctionPrefix")},"\u0192\xA0"),o.createElement("span",{style:n("objectValueFunctionName")},e.name,"()"));case"symbol":return o.createElement("span",{style:n("objectValueSymbol")},e.toString());default:return o.createElement("span",null)}},rt=Object.prototype.hasOwnProperty,ar=Object.prototype.propertyIsEnumerable;function fe(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function Je(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var de=({data:e})=>{let t=S("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(j,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(j,{key:l,object:s}));r.length>n&&a.push(o.createElement("span",{key:"ellipsis"},"\u2026"));let i=r.length;return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i===0?"":`(${i})\xA0`),o.createElement("span",{style:t.preview},"[",Je(a,", "),"]"))}else{let n=t.objectMaxProperties,a=[];for(let s in r)if(rt.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=fe(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(Ee,{name:s||'""'}),":\xA0",o.createElement(j,{object:u}),l)),l)break}let i=r.constructor?r.constructor.name:"Object";return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i==="Object"?"":`${i} `),o.createElement("span",{style:t.preview},"{",Je(a,", "),"}"))}},or=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(Ee,{name:e}),o.createElement("span",null,": "),o.createElement(de,{data:t})):o.createElement(de,{data:t}),ir=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return o.createElement("span",null,typeof e=="string"?o.createElement(Ee,{name:e,dimmed:r}):o.createElement(de,{data:e}),o.createElement("span",null,": "),o.createElement(j,{object:n}))},sr=(e,t)=>function*(r){if(!(typeof r=="object"&&r!==null||typeof r=="function"))return;let n=Array.isArray(r);if(!n&&r[Symbol.iterator]){let a=0;for(let i of r){if(Array.isArray(i)&&i.length===2){let[s,l]=i;yield{name:s,data:l}}else yield{name:a.toString(),data:i};a++}}else{let a=Object.getOwnPropertyNames(r);t===!0&&!n?a.sort():typeof t=="function"&&a.sort(t);for(let i of a)if(ar.call(r,i)){let s=fe(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=fe(r,i)}catch{}s!==void 0&&(yield{name:i,data:s,isNonenumerable:!0})}e&&r!==Object.prototype&&(yield{name:"__proto__",data:Object.getPrototypeOf(r),isNonenumerable:!0})}},lr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(or,{name:t,data:r}):o.createElement(ir,{name:t,data:r,isNonenumerable:n}),ur=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=sr(e,t),i=r||lr;return o.createElement(tt,{nodeRenderer:i,dataIterator:a,...n})},cr=he(ur);function pr(e){if(typeof e=="object"){let t=[];if(Array.isArray(e)){let n=e.length;t=[...Array(n).keys()]}else e!==null&&(t=Object.keys(e));let r=t.reduce((n,a)=>{let i=e[a];return typeof i=="object"&&i!==null&&Object.keys(i).reduce((s,l)=>(s.includes(l)||s.push(l),s),n),n},[]);return{rowHeaders:t,colHeaders:r}}}var fr=({rows:e,columns:t,rowsData:r})=>{let n=S("TableInspectorDataContainer"),a=S("TableInspectorLeftBorder");return o.createElement("div",{style:n.div},o.createElement("table",{style:n.table},o.createElement("colgroup",null),o.createElement("tbody",null,e.map((i,s)=>o.createElement("tr",{key:i,style:n.tr},o.createElement("td",{style:{...n.td,...a.none}},i),t.map(l=>{let u=r[s];return typeof u=="object"&&u!==null&&rt.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(j,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},dr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),mr=({sortAscending:e})=>{let t=S("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return o.createElement("div",{style:t},r)},qe=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:a,...i})=>{let s=S("TableInspectorTH"),[l,u]=G(!1),c=N(()=>u(!0),[]),p=N(()=>u(!1),[]);return o.createElement("th",{...i,style:{...s.base,...n,...l?s.base[":hover"]:{}},onMouseEnter:c,onMouseLeave:p,onClick:r},o.createElement("div",{style:s.div},a),t&&o.createElement(dr,null,o.createElement(mr,{sortAscending:e})))},br=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:a,sortAscending:i,onTHClick:s,onIndexTHClick:l})=>{let u=S("TableInspectorHeaderContainer"),c=S("TableInspectorLeftBorder");return o.createElement("div",{style:u.base},o.createElement("table",{style:u.table},o.createElement("tbody",null,o.createElement("tr",null,o.createElement(qe,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:l},e),t.map(p=>o.createElement(qe,{borderStyle:c.solid,key:p,sorted:r&&a===p,sortAscending:i,onClick:s.bind(null,p)},p))))))},gr=({data:e,columns:t})=>{let r=S("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=G({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),u=N(()=>{l(({sortIndexColumn:m,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:m?!y:!0}))},[]),c=N(m=>{l(({sortColumn:y,sortAscending:T})=>({sorted:!0,sortIndexColumn:!1,sortColumn:m,sortAscending:m===y?!T:!0}))},[]);if(typeof e!="object"||e===null)return o.createElement("div",null);let{rowHeaders:p,colHeaders:d}=pr(e);t!==void 0&&(d=t);let f=p.map(m=>e[m]),E;if(i!==void 0?E=f.map((m,y)=>typeof m=="object"&&m!==null?[m[i],y]:[void 0,y]):a&&(E=p.map((m,y)=>[p[y],y])),E!==void 0){let m=(T,x)=>(ot,it)=>{let ye=T(ot),Oe=T(it),Te=typeof ye,ve=typeof Oe,_e=(P,Se)=>PSe?1:0,M;if(Te===ve)M=_e(ye,Oe);else{let P={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=_e(P[Te],P[ve])}return x||(M=-M),M},y=E.sort(m(T=>T[0],s)).map(T=>T[1]);p=y.map(T=>p[T]),f=y.map(T=>f[T])}return o.createElement("div",{style:r.base},o.createElement(br,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(fr,{rows:p,columns:d,rowsData:f}))},hr=he(gr),Er=80,nt=e=>e.childNodes.length===0||e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.lengtho.createElement("span",{style:r.base},"<",o.createElement("span",{style:r.tagName},e),(()=>{if(t){let n=[];for(let a=0;a"),Xe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Or={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Tr=({isCloseTag:e,data:t,expanded:r})=>{let n=S("DOMNodePreview");if(e)return o.createElement(Xe,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return o.createElement("span",null,o.createElement(yr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),nt(t)?t.textContent:!r&&"\u2026",!r&&o.createElement(Xe,{tagName:t.tagName,styles:n.htmlCloseTag}));case Node.TEXT_NODE:return o.createElement("span",null,t.textContent);case Node.CDATA_SECTION_NODE:return o.createElement("span",null,"");case Node.COMMENT_NODE:return o.createElement("span",{style:n.htmlComment},"");case Node.PROCESSING_INSTRUCTION_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_TYPE_NODE:return o.createElement("span",{style:n.htmlDoctype},"");case Node.DOCUMENT_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_FRAGMENT_NODE:return o.createElement("span",null,t.nodeName);default:return o.createElement("span",null,Or[t.nodeType])}},vr=function*(e){if(e&&e.childNodes){if(nt(e))return;for(let t=0;to.createElement(tt,{nodeRenderer:Tr,dataIterator:vr,...e}),Sr=he(_r),Ar=Jt(Zt()),Rr=({table:e=!1,data:t,...r})=>e?o.createElement(hr,{data:t,...r}):(0,Ar.default)(t)?o.createElement(Sr,{data:t,...r}):o.createElement(cr,{data:t,...r}),Cr=B.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),wr=B.div(({theme:e})=>({backgroundColor:$e(.5,e.appBorderColor),color:e.color.inverseText,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:1,padding:"1px 5px",borderRadius:20,margin:"2px 0px"})),xr=B.div({flex:1,padding:"0 0 0 5px"}),Nr=({children:e,className:t})=>o.createElement(Pe,{horizontal:!0,vertical:!0,className:t},e),Lr=B(Nr)({margin:0,padding:"10px 5px 20px"}),Ir=He(({theme:e,...t})=>o.createElement(Rr,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Dr=({actions:e,onClear:t})=>o.createElement(Ce,null,o.createElement(Lr,null,e.map(r=>o.createElement(Cr,{key:r.id},r.count>1&&o.createElement(wr,null,r.count),o.createElement(xr,null,o.createElement(Ir,{sortObjectKeys:!0,showNonenumerable:!1,name:r.data.name,data:r.data.args||r.data}))))),o.createElement(De,{actionItems:[{title:"Clear",onClick:t}]})),Mr="actions",U="storybook/actions",Pr=`${U}/panel`,me=`${U}/action-event`,at=`${U}/action-clear`,Br=(e,t)=>{try{return L(e,t)}catch{return!1}},Fr=class extends Re{constructor(e){super(e),this.handleStoryChange=()=>{let{actions:t}=this.state;t.length>0&&t[0].options.clearOnStoryChange&&this.clearActions()},this.addAction=t=>{this.setState(r=>{let n=[...r.actions],a=n.length&&n[0];return a&&Br(a.data,t.data)?a.count++:(t.count=1,n.unshift(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(at),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(me,this.addAction),e.on(W,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(W,this.handleStoryChange),e.off(me,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(Dr,{...r}):null}};function zr(){let[{count:e},t]=Le(U,{count:0});return Ie({[me]:()=>{t(r=>({...r,count:r.count+1}))},[W]:()=>{t(r=>({...r,count:0}))},[at]:()=>{t(r=>({...r,count:0}))}}),o.createElement("div",null,o.createElement(Be,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":o.createElement(Me,{status:"neutral"},e)))}ee.register(U,e=>{ee.add(Pr,{title:zr,type:Ne.PANEL,render:({active:t})=>o.createElement(Fr,{api:e,active:!!t}),paramKey:Mr})});})(); +(()=>{var o=__REACT__,{Children:Re,Component:Ae,Fragment:Ce,Profiler:Jr,PureComponent:qr,StrictMode:Xr,Suspense:Zr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kr,cloneElement:Qr,createContext:K,createElement:en,createFactory:tn,createRef:rn,forwardRef:we,isValidElement:nn,lazy:an,memo:k,startTransition:on,unstable_act:sn,useCallback:x,useContext:Q,useDebugValue:ln,useDeferredValue:un,useEffect:Ne,useId:cn,useImperativeHandle:pn,useInsertionEffect:fn,useLayoutEffect:xe,useMemo:Le,useReducer:dn,useRef:Ie,useState:G,useSyncExternalStore:mn,useTransition:gn,version:bn}=__REACT__;var Tn=__STORYBOOK_API__,{ActiveTabs:_n,Consumer:vn,ManagerContext:Sn,Provider:Rn,RequestResponseError:An,addons:ee,combineParameters:Cn,controlOrMetaKey:wn,controlOrMetaSymbol:Nn,eventMatchesShortcut:xn,eventToShortcut:Ln,experimental_requestResponse:In,isMacLike:Dn,isShortcutTaken:Mn,keyToSymbol:Pn,merge:Bn,mockChannel:Fn,optionOrAltSymbol:zn,shortcutMatchesShortcut:Hn,shortcutToHumanString:jn,types:De,useAddonState:Me,useArgTypes:Un,useArgs:kn,useChannel:Pe,useGlobalTypes:Gn,useGlobals:Wn,useParameter:Vn,useSharedState:$n,useStoryPrepared:Yn,useStorybookApi:Jn,useStorybookState:qn}=__STORYBOOK_API__;var ea=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:ta,ARGTYPES_INFO_RESPONSE:ra,CHANNEL_CREATED:na,CHANNEL_WS_DISCONNECT:aa,CONFIG_ERROR:oa,CREATE_NEW_STORYFILE_REQUEST:ia,CREATE_NEW_STORYFILE_RESPONSE:sa,CURRENT_STORY_WAS_SET:la,DOCS_PREPARED:ua,DOCS_RENDERED:ca,FILE_COMPONENT_SEARCH_REQUEST:pa,FILE_COMPONENT_SEARCH_RESPONSE:fa,FORCE_REMOUNT:da,FORCE_RE_RENDER:ma,GLOBALS_UPDATED:ga,NAVIGATE_URL:ba,PLAY_FUNCTION_THREW_EXCEPTION:ha,PRELOAD_ENTRIES:Ea,PREVIEW_BUILDER_PROGRESS:ya,PREVIEW_KEYDOWN:Oa,REGISTER_SUBSCRIPTION:Ta,REQUEST_WHATS_NEW_DATA:_a,RESET_STORY_ARGS:va,RESULT_WHATS_NEW_DATA:Sa,SAVE_STORY_REQUEST:Ra,SAVE_STORY_RESPONSE:Aa,SELECT_STORY:Ca,SET_CONFIG:wa,SET_CURRENT_STORY:Na,SET_GLOBALS:xa,SET_INDEX:La,SET_STORIES:Ia,SET_WHATS_NEW_CACHE:Da,SHARED_STATE_CHANGED:Ma,SHARED_STATE_SET:Pa,STORIES_COLLAPSE_ALL:Ba,STORIES_EXPAND_ALL:Fa,STORY_ARGS_UPDATED:za,STORY_CHANGED:W,STORY_ERRORED:Ha,STORY_INDEX_INVALIDATED:ja,STORY_MISSING:Ua,STORY_PREPARED:ka,STORY_RENDERED:Ga,STORY_RENDER_PHASE_CHANGED:Wa,STORY_SPECIFIED:Va,STORY_THREW_EXCEPTION:$a,STORY_UNCHANGED:Ya,TELEMETRY_ERROR:Ja,TOGGLE_WHATS_NEW_NOTIFICATIONS:qa,UNHANDLED_ERRORS_WHILE_PLAYING:Xa,UPDATE_GLOBALS:Za,UPDATE_QUERY_PARAMS:Ka,UPDATE_STORY_ARGS:Qa}=__STORYBOOK_CORE_EVENTS__;var uo=__STORYBOOK_COMPONENTS__,{A:co,ActionBar:Be,AddonPanel:po,Badge:Fe,Bar:fo,Blockquote:mo,Button:go,ClipboardCode:bo,Code:ho,DL:Eo,Div:yo,DocumentWrapper:Oo,EmptyTabContent:To,ErrorFormatter:_o,FlexBar:vo,Form:So,H1:Ro,H2:Ao,H3:Co,H4:wo,H5:No,H6:xo,HR:Lo,IconButton:Io,IconButtonSkeleton:Do,Icons:Mo,Img:Po,LI:Bo,Link:Fo,ListItem:zo,Loader:Ho,Modal:jo,OL:Uo,P:ko,Placeholder:Go,Pre:Wo,ResetWrapper:Vo,ScrollArea:ze,Separator:$o,Spaced:He,Span:Yo,StorybookIcon:Jo,StorybookLogo:qo,Symbols:Xo,SyntaxHighlighter:Zo,TT:Ko,TabBar:Qo,TabButton:ei,TabWrapper:ti,Table:ri,Tabs:ni,TabsState:ai,TooltipLinkList:oi,TooltipMessage:ii,TooltipNote:si,UL:li,WithTooltip:ui,WithTooltipPure:ci,Zoom:pi,codeCommon:fi,components:di,createCopyToClipboardFunction:mi,getStoryHref:gi,icons:bi,interleaveSeparators:hi,nameSpaceClassNames:Ei,resetComponents:yi,withReset:Oi}=__STORYBOOK_COMPONENTS__;var je=Object.prototype.hasOwnProperty;function Ue(e,t,r){for(r of e.keys())if(L(r,t))return r}function L(e,t){var r,n,a;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--&&L(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(a=n,a&&typeof a=="object"&&(a=Ue(t,a),!a)||!t.has(a))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(a=n[0],a&&typeof a=="object"&&(a=Ue(t,a),!a)||!L(n[1],t.get(a)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(je.call(e,r)&&++n&&!je.call(t,r)||!(r in t)||!L(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var Ni=__STORYBOOK_THEMING__,{CacheProvider:xi,ClassNames:Li,Global:Ii,ThemeProvider:Di,background:Mi,color:Pi,convert:Bi,create:Fi,createCache:zi,createGlobal:Hi,createReset:ji,css:Ui,darken:ki,ensure:Gi,ignoreSsrWarning:Wi,isPropValid:Vi,jsx:$i,keyframes:Yi,lighten:Ji,styled:B,themes:qi,typography:Xi,useTheme:Zi,withTheme:ke}=__STORYBOOK_THEMING__;function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(l=i,u=s):a>=1&&a<2?(l=s,u=i):a>=2&&a<3?(u=i,c=s):a>=3&&a<4?(u=s,c=i):a>=4&&a<5?(l=s,c=i):a>=5&&a<6&&(l=i,c=s);var p=r-i/2,d=l+p,f=u+p,E=c+p;return n(d,f,E)}var Ve={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function mt(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ve[t]?"#"+Ve[t]:e}var gt=/^#[a-fA-F0-9]{6}$/,bt=/^#[a-fA-F0-9]{8}$/,ht=/^#[a-fA-F0-9]{3}$/,Et=/^#[a-fA-F0-9]{4}$/,ie=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,yt=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ot=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Tt=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I(e){if(typeof e!="string")throw new _(3);var t=mt(e);if(t.match(gt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(bt)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(ht))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Et)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=ie.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var i=yt.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=Ot.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+H(l,u,c)+")",d=ie.exec(p);if(!d)throw new _(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=Tt.exec(t.substring(0,50));if(f){var E=parseInt(""+f[1],10),m=parseInt(""+f[2],10)/100,y=parseInt(""+f[3],10)/100,T="rgb("+H(E,m,y)+")",N=ie.exec(T);if(!N)throw new _(4,t,T);return{red:parseInt(""+N[1],10),green:parseInt(""+N[2],10),blue:parseInt(""+N[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new _(5)}function _t(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=(a+i)/2;if(a===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=a-i,c=s>.5?u/(2-a-i):u/(a+i);switch(a){case t:l=(r-n)/u+(r=1?$(e,t,r):"rgba("+H(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?$(e.hue,e.saturation,e.lightness):"rgba("+H(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new _(2)}function ue(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return le("#"+w(e)+w(t)+w(r));if(typeof e=="object"&&t===void 0&&r===void 0)return le("#"+w(e.red)+w(e.green)+w(e.blue));throw new _(6)}function Y(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=I(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?ue(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ue(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new _(7)}var Ct=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},wt=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Nt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},xt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function C(e){if(typeof e!="object")throw new _(8);if(wt(e))return Y(e);if(Ct(e))return ue(e);if(xt(e))return At(e);if(Nt(e))return Rt(e);throw new _(8)}function Ye(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Ye(e,t,a)}}function v(e){return Ye(e,e.length,[])}function Lt(e,t){if(t==="transparent")return t;var r=A(t);return C(O({},r,{hue:r.hue+parseFloat(e)}))}var nl=v(Lt);function D(e,t,r){return Math.max(e,Math.min(t,r))}function It(e,t){if(t==="transparent")return t;var r=A(t);return C(O({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var al=v(It);function Dt(e,t){if(t==="transparent")return t;var r=A(t);return C(O({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var ol=v(Dt);function Mt(e,t){if(t==="transparent")return t;var r=A(t);return C(O({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var il=v(Mt);function Pt(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=I(t),a=O({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=I(r),s=O({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),l=a.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,f=1-d,E={red:Math.floor(a.red*d+s.red*f),green:Math.floor(a.green*d+s.green*f),blue:Math.floor(a.blue*d+s.blue*f),alpha:a.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return Y(E)}var Bt=v(Pt),Je=Bt;function Ft(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=O({},r,{alpha:D(0,1,(n*100+parseFloat(e)*100)/100)});return Y(a)}var zt=v(Ft),qe=zt;function Ht(e,t){if(t==="transparent")return t;var r=A(t);return C(O({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var sl=v(Ht);function jt(e,t){return t==="transparent"?t:C(O({},A(t),{hue:parseFloat(e)}))}var ll=v(jt);function Ut(e,t){return t==="transparent"?t:C(O({},A(t),{lightness:parseFloat(e)}))}var ul=v(Ut);function kt(e,t){return t==="transparent"?t:C(O({},A(t),{saturation:parseFloat(e)}))}var cl=v(kt);function Gt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(0, 0, 0)",t)}var pl=v(Gt);function Wt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(255, 255, 255)",t)}var fl=v(Wt);function Vt(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=O({},r,{alpha:D(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Y(a)}var dl=v(Vt);var $t=Object.create,ge=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,et=Object.getOwnPropertyNames,Jt=Object.getPrototypeOf,qt=Object.prototype.hasOwnProperty,be=(e,t)=>function(){return t||(0,e[et(e)[0]])((t={exports:{}}).exports,t),t.exports},Xt=(e,t)=>{for(var r in t)ge(e,r,{get:t[r],enumerable:!0})},Zt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of et(t))!qt.call(e,a)&&a!==r&&ge(e,a,{get:()=>t[a],enumerable:!(n=Yt(t,a))||n.enumerable});return e},Kt=(e,t,r)=>(r=e!=null?$t(Jt(e)):{},Zt(t||!e||!e.__esModule?ge(r,"default",{value:e,enumerable:!0}):r,e)),Qt=be({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),er=be({"node_modules/is-window/index.js"(e,t){t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),tr=be({"node_modules/is-dom/index.js"(e,t){var r=Qt(),n=er();function a(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=a}}),X={};Xt(X,{chromeDark:()=>rr,chromeLight:()=>nr});var rr={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},nr={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},tt=K([{},()=>{}]),ce={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},J=e=>({DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:{whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...ce},treeNodeArrow:{base:{color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:`transform ${e.ARROW_ANIMATION_DURATION} ease 0s`}:{},...ce},expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:`1px solid ${e.TABLE_BORDER_COLOR}`,fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:`1px solid ${e.TABLE_BORDER_COLOR}`,fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:`1px solid ${e.TABLE_BORDER_COLOR}`}},TableInspectorSortIcon:{display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12,...ce}}),pe="chromeLight",rt=K(J(X[pe])),S=e=>Q(rt)[e],he=e=>({theme:t=pe,...r})=>{let n=Le(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return J(X[t]);case"[object Object]":return J(t);default:return J(X[pe])}},[t]);return o.createElement(rt.Provider,{value:n},o.createElement(e,{...r}))},ar=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),or=k(e=>{e={expanded:!0,nodeRenderer:({name:p})=>o.createElement("span",null,p),onClick:()=>{},shouldShowArrow:!1,shouldShowPlaceholder:!0,...e};let{expanded:t,onClick:r,children:n,nodeRenderer:a,title:i,shouldShowArrow:s,shouldShowPlaceholder:l}=e,u=S("TreeNode"),c=a;return o.createElement("li",{"aria-expanded":t,role:"treeitem",style:u.treeNodeBase,title:i},o.createElement("div",{style:u.treeNodePreviewContainer,onClick:r},s||Re.count(n)>0?o.createElement(ar,{expanded:t,styles:u.treeNodeArrow}):l&&o.createElement("span",{style:u.treeNodePlaceholder},"\xA0"),o.createElement(c,{...e})),o.createElement("ol",{role:"group",style:u.treeNodeChildNodesContainer},t?n:void 0))}),Z="$",Xe="*";function q(e,t){return!t(e).next().done}var ir=e=>Array.from({length:e},(t,r)=>[Z].concat(Array.from({length:r},()=>"*")).join(".")),sr=(e,t,r,n,a)=>{let i=[].concat(ir(n)).concat(r).filter(l=>typeof l=="string"),s=[];return i.forEach(l=>{let u=l.split("."),c=(p,d,f)=>{if(f===u.length){s.push(d);return}let E=u[f];if(f===0)q(p,t)&&(E===Z||E===Xe)&&c(p,Z,f+1);else if(E===Xe)for(let{name:m,data:y}of t(p))q(y,t)&&c(y,`${d}.${m}`,f+1);else{let m=p[E];q(m,t)&&c(m,`${d}.${E}`,f+1)}};c(e,"",0)}),s.reduce((l,u)=>(l[u]=!0,l),{...a})},nt=k(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=Q(tt),u=q(t,r),c=!!s[n],p=x(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(or,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(nt,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),at=k(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=S("TreeView"),l=G({}),[,u]=l;return xe(()=>u(c=>sr(t,r,a,i,c)),[t,r,a,i]),o.createElement(tt.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(nt,{name:e,data:t,dataIterator:r,depth:0,path:Z,nodeRenderer:n})))}),Ee=({name:e,dimmed:t=!1,styles:r={}})=>{let n=S("ObjectName"),a={...n.base,...t?n.dimmed:{},...r};return o.createElement("span",{style:a},e)},j=({object:e,styles:t})=>{let r=S("ObjectValue"),n=a=>({...r[a],...t});switch(typeof e){case"bigint":return o.createElement("span",{style:n("objectValueNumber")},String(e),"n");case"number":return o.createElement("span",{style:n("objectValueNumber")},String(e));case"string":return o.createElement("span",{style:n("objectValueString")},'"',e,'"');case"boolean":return o.createElement("span",{style:n("objectValueBoolean")},String(e));case"undefined":return o.createElement("span",{style:n("objectValueUndefined")},"undefined");case"object":return e===null?o.createElement("span",{style:n("objectValueNull")},"null"):e instanceof Date?o.createElement("span",null,e.toString()):e instanceof RegExp?o.createElement("span",{style:n("objectValueRegExp")},e.toString()):Array.isArray(e)?o.createElement("span",null,`Array(${e.length})`):e.constructor?typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)?o.createElement("span",null,`Buffer[${e.length}]`):o.createElement("span",null,e.constructor.name):o.createElement("span",null,"Object");case"function":return o.createElement("span",null,o.createElement("span",{style:n("objectValueFunctionPrefix")},"\u0192\xA0"),o.createElement("span",{style:n("objectValueFunctionName")},e.name,"()"));case"symbol":return o.createElement("span",{style:n("objectValueSymbol")},e.toString());default:return o.createElement("span",null)}},ot=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable;function fe(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function Ze(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var de=({data:e})=>{let t=S("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(j,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(j,{key:l,object:s}));r.length>n&&a.push(o.createElement("span",{key:"ellipsis"},"\u2026"));let i=r.length;return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i===0?"":`(${i})\xA0`),o.createElement("span",{style:t.preview},"[",Ze(a,", "),"]"))}else{let n=t.objectMaxProperties,a=[];for(let s in r)if(ot.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=fe(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(Ee,{name:s||'""'}),":\xA0",o.createElement(j,{object:u}),l)),l)break}let i=r.constructor?r.constructor.name:"Object";return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i==="Object"?"":`${i} `),o.createElement("span",{style:t.preview},"{",Ze(a,", "),"}"))}},ur=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(Ee,{name:e}),o.createElement("span",null,": "),o.createElement(de,{data:t})):o.createElement(de,{data:t}),cr=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return o.createElement("span",null,typeof e=="string"?o.createElement(Ee,{name:e,dimmed:r}):o.createElement(de,{data:e}),o.createElement("span",null,": "),o.createElement(j,{object:n}))},pr=(e,t)=>function*(r){if(!(typeof r=="object"&&r!==null||typeof r=="function"))return;let n=Array.isArray(r);if(!n&&r[Symbol.iterator]){let a=0;for(let i of r){if(Array.isArray(i)&&i.length===2){let[s,l]=i;yield{name:s,data:l}}else yield{name:a.toString(),data:i};a++}}else{let a=Object.getOwnPropertyNames(r);t===!0&&!n?a.sort():typeof t=="function"&&a.sort(t);for(let i of a)if(lr.call(r,i)){let s=fe(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=fe(r,i)}catch{}s!==void 0&&(yield{name:i,data:s,isNonenumerable:!0})}e&&r!==Object.prototype&&(yield{name:"__proto__",data:Object.getPrototypeOf(r),isNonenumerable:!0})}},fr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(ur,{name:t,data:r}):o.createElement(cr,{name:t,data:r,isNonenumerable:n}),dr=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=pr(e,t),i=r||fr;return o.createElement(at,{nodeRenderer:i,dataIterator:a,...n})},mr=he(dr);function gr(e){if(typeof e=="object"){let t=[];if(Array.isArray(e)){let n=e.length;t=[...Array(n).keys()]}else e!==null&&(t=Object.keys(e));let r=t.reduce((n,a)=>{let i=e[a];return typeof i=="object"&&i!==null&&Object.keys(i).reduce((s,l)=>(s.includes(l)||s.push(l),s),n),n},[]);return{rowHeaders:t,colHeaders:r}}}var br=({rows:e,columns:t,rowsData:r})=>{let n=S("TableInspectorDataContainer"),a=S("TableInspectorLeftBorder");return o.createElement("div",{style:n.div},o.createElement("table",{style:n.table},o.createElement("colgroup",null),o.createElement("tbody",null,e.map((i,s)=>o.createElement("tr",{key:i,style:n.tr},o.createElement("td",{style:{...n.td,...a.none}},i),t.map(l=>{let u=r[s];return typeof u=="object"&&u!==null&&ot.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(j,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},hr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),Er=({sortAscending:e})=>{let t=S("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return o.createElement("div",{style:t},r)},Ke=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:a,...i})=>{let s=S("TableInspectorTH"),[l,u]=G(!1),c=x(()=>u(!0),[]),p=x(()=>u(!1),[]);return o.createElement("th",{...i,style:{...s.base,...n,...l?s.base[":hover"]:{}},onMouseEnter:c,onMouseLeave:p,onClick:r},o.createElement("div",{style:s.div},a),t&&o.createElement(hr,null,o.createElement(Er,{sortAscending:e})))},yr=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:a,sortAscending:i,onTHClick:s,onIndexTHClick:l})=>{let u=S("TableInspectorHeaderContainer"),c=S("TableInspectorLeftBorder");return o.createElement("div",{style:u.base},o.createElement("table",{style:u.table},o.createElement("tbody",null,o.createElement("tr",null,o.createElement(Ke,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:l},e),t.map(p=>o.createElement(Ke,{borderStyle:c.solid,key:p,sorted:r&&a===p,sortAscending:i,onClick:s.bind(null,p)},p))))))},Or=({data:e,columns:t})=>{let r=S("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=G({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),u=x(()=>{l(({sortIndexColumn:m,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:m?!y:!0}))},[]),c=x(m=>{l(({sortColumn:y,sortAscending:T})=>({sorted:!0,sortIndexColumn:!1,sortColumn:m,sortAscending:m===y?!T:!0}))},[]);if(typeof e!="object"||e===null)return o.createElement("div",null);let{rowHeaders:p,colHeaders:d}=gr(e);t!==void 0&&(d=t);let f=p.map(m=>e[m]),E;if(i!==void 0?E=f.map((m,y)=>typeof m=="object"&&m!==null?[m[i],y]:[void 0,y]):a&&(E=p.map((m,y)=>[p[y],y])),E!==void 0){let m=(T,N)=>(ut,ct)=>{let ye=T(ut),Oe=T(ct),Te=typeof ye,_e=typeof Oe,ve=(P,Se)=>PSe?1:0,M;if(Te===_e)M=ve(ye,Oe);else{let P={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=ve(P[Te],P[_e])}return N||(M=-M),M},y=E.sort(m(T=>T[0],s)).map(T=>T[1]);p=y.map(T=>p[T]),f=y.map(T=>f[T])}return o.createElement("div",{style:r.base},o.createElement(yr,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(br,{rows:p,columns:d,rowsData:f}))},Tr=he(Or),_r=80,it=e=>e.childNodes.length===0||e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.length<_r,vr=({tagName:e,attributes:t,styles:r})=>o.createElement("span",{style:r.base},"<",o.createElement("span",{style:r.tagName},e),(()=>{if(t){let n=[];for(let a=0;a"),Qe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Sr={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Rr=({isCloseTag:e,data:t,expanded:r})=>{let n=S("DOMNodePreview");if(e)return o.createElement(Qe,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return o.createElement("span",null,o.createElement(vr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),it(t)?t.textContent:!r&&"\u2026",!r&&o.createElement(Qe,{tagName:t.tagName,styles:n.htmlCloseTag}));case Node.TEXT_NODE:return o.createElement("span",null,t.textContent);case Node.CDATA_SECTION_NODE:return o.createElement("span",null,"");case Node.COMMENT_NODE:return o.createElement("span",{style:n.htmlComment},"");case Node.PROCESSING_INSTRUCTION_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_TYPE_NODE:return o.createElement("span",{style:n.htmlDoctype},"");case Node.DOCUMENT_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_FRAGMENT_NODE:return o.createElement("span",null,t.nodeName);default:return o.createElement("span",null,Sr[t.nodeType])}},Ar=function*(e){if(e&&e.childNodes){if(it(e))return;for(let t=0;to.createElement(at,{nodeRenderer:Rr,dataIterator:Ar,...e}),wr=he(Cr),Nr=Kt(tr()),xr=({table:e=!1,data:t,...r})=>e?o.createElement(Tr,{data:t,...r}):(0,Nr.default)(t)?o.createElement(wr,{data:t,...r}):o.createElement(mr,{data:t,...r}),Lr=B.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),Ir=B.div(({theme:e})=>({backgroundColor:qe(.5,e.appBorderColor),color:e.color.inverseText,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:1,padding:"1px 5px",borderRadius:20,margin:"2px 0px"})),Dr=B.div({flex:1,padding:"0 0 0 5px"}),st=we(({children:e,className:t},r)=>o.createElement(ze,{ref:r,horizontal:!0,vertical:!0,className:t},e));st.displayName="UnstyledWrapped";var Mr=B(st)({margin:0,padding:"10px 5px 20px"}),Pr=ke(({theme:e,...t})=>o.createElement(xr,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Br=({actions:e,onClear:t})=>{let r=Ie(null),n=r.current,a=n&&n.scrollHeight-n.scrollTop===n.clientHeight;return Ne(()=>{a&&(r.current.scrollTop=r.current.scrollHeight)},[a,e.length]),o.createElement(Ce,null,o.createElement(Mr,{ref:r},e.map(i=>o.createElement(Lr,{key:i.id},i.count>1&&o.createElement(Ir,null,i.count),o.createElement(Dr,null,o.createElement(Pr,{sortObjectKeys:!0,showNonenumerable:!1,name:i.data.name,data:i.data.args??i.data}))))),o.createElement(Be,{actionItems:[{title:"Clear",onClick:t}]}))},Fr="actions",U="storybook/actions",zr=`${U}/panel`,me=`${U}/action-event`,lt=`${U}/action-clear`,Hr=(e,t)=>{try{return L(e,t)}catch{return!1}},jr=class extends Ae{constructor(e){super(e),this.handleStoryChange=()=>{let{actions:t}=this.state;t.length>0&&t[0].options.clearOnStoryChange&&this.clearActions()},this.addAction=t=>{this.setState(r=>{let n=[...r.actions],a=n.length&&n[n.length-1];return a&&Hr(a.data,t.data)?a.count++:(t.count=1,n.push(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(lt),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(me,this.addAction),e.on(W,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(W,this.handleStoryChange),e.off(me,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(Br,{...r}):null}};function Ur(){let[{count:e},t]=Me(U,{count:0});return Pe({[me]:()=>{t(r=>({...r,count:r.count+1}))},[W]:()=>{t(r=>({...r,count:0}))},[lt]:()=>{t(r=>({...r,count:0}))}}),o.createElement("div",null,o.createElement(He,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":o.createElement(Fe,{status:"neutral"},e)))}ee.register(U,e=>{ee.add(zr,{title:Ur,type:De.PANEL,render:({active:t})=>o.createElement(jr,{api:e,active:!!t}),paramKey:Fr})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-backgrounds-3/manager-bundle.js b/sb-addons/essentials-backgrounds-3/manager-bundle.js index 88e6b2e..5b0b898 100644 --- a/sb-addons/essentials-backgrounds-3/manager-bundle.js +++ b/sb-addons/essentials-backgrounds-3/manager-bundle.js @@ -1,12 +1,12 @@ try{ -(()=>{var ne=Object.create;var F=Object.defineProperty;var te=Object.getOwnPropertyDescriptor;var re=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,ie=Object.prototype.hasOwnProperty;var w=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,a)=>(typeof require<"u"?require:o)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var x=(e,o)=>()=>(e&&(o=e(e=0)),o);var ae=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var se=(e,o,a,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of re(o))!ie.call(e,c)&&c!==a&&F(e,c,{get:()=>o[c],enumerable:!(r=te(o,c))||r.enumerable});return e};var le=(e,o,a)=>(a=e!=null?ne(ce(e)):{},se(o||!e||!e.__esModule?F(a,"default",{value:e,enumerable:!0}):a,e));var I=x(()=>{});var d=x(()=>{});var m=x(()=>{});var V=ae((W,G)=>{I();d();m();(function(e){if(typeof W=="object"&&typeof G<"u")G.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var o;typeof window<"u"||typeof window<"u"?o=window:typeof self<"u"?o=self:o=this,o.memoizerific=e()}})(function(){var e,o,a;return function r(c,h,s){function t(i,p){if(!h[i]){if(!c[i]){var u=typeof w=="function"&&w;if(!p&&u)return u(i,!0);if(n)return n(i,!0);var b=new Error("Cannot find module '"+i+"'");throw b.code="MODULE_NOT_FOUND",b}var f=h[i]={exports:{}};c[i][0].call(f.exports,function(g){var S=c[i][1][g];return t(S||g)},f,f.exports,r,c,h,s)}return h[i].exports}for(var n=typeof w=="function"&&w,l=0;l=0)return this.lastItem=this.list[n],this.list[n].val},s.prototype.set=function(t,n){var l;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(l=this.indexOf(t),l>=0?(this.lastItem=this.list[l],this.list[l].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t)&&(this.lastItem=void 0),n=this.indexOf(t),n>=0)return this.size--,this.list.splice(n,1)[0]},s.prototype.has=function(t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,t)?!0:(n=this.indexOf(t),n>=0?(this.lastItem=this.list[n],!0):!1)},s.prototype.forEach=function(t,n){var l;for(l=0;l0&&(E[T]={cacheItem:g,arg:arguments[T]},A?t(u,E):u.push(E),u.length>i&&n(u.shift())),f.wasMemoized=A,f.numArgs=T+1,B};return f.limit=i,f.wasMemoized=!1,f.cache=p,f.lru=u,f}};function t(i,p){var u=i.length,b=p.length,f,g,S;for(g=0;g=0&&(u=i[f],b=u.cacheItem.get(u.arg),!b||!b.size);f--)u.cacheItem.delete(u.arg)}function l(i,p){return i===p||i!==i&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})});I();d();m();I();d();m();I();d();m();I();d();m();var C=__REACT__,{Children:ke,Component:Te,Fragment:R,Profiler:Oe,PureComponent:ve,StrictMode:Ae,Suspense:we,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Be,cloneElement:Ee,createContext:xe,createElement:Re,createFactory:Le,createRef:Pe,forwardRef:Me,isValidElement:De,lazy:Ge,memo:L,startTransition:He,unstable_act:Ne,useCallback:q,useContext:Ue,useDebugValue:Fe,useDeferredValue:qe,useEffect:ze,useId:Ke,useImperativeHandle:Ye,useInsertionEffect:We,useLayoutEffect:Ve,useMemo:z,useReducer:$e,useRef:je,useState:K,useSyncExternalStore:Ze,useTransition:Je,version:Qe}=__REACT__;I();d();m();var to=__STORYBOOK_API__,{ActiveTabs:ro,Consumer:co,ManagerContext:io,Provider:ao,addons:P,combineParameters:so,controlOrMetaKey:lo,controlOrMetaSymbol:uo,eventMatchesShortcut:Io,eventToShortcut:mo,isMacLike:fo,isShortcutTaken:po,keyToSymbol:ho,merge:go,mockChannel:bo,optionOrAltSymbol:So,shortcutMatchesShortcut:Co,shortcutToHumanString:yo,types:Y,useAddonState:_o,useArgTypes:ko,useArgs:To,useChannel:Oo,useGlobalTypes:vo,useGlobals:M,useParameter:D,useSharedState:Ao,useStoryPrepared:wo,useStorybookApi:Bo,useStorybookState:Eo}=__STORYBOOK_API__;var U=le(V());I();d();m();var No=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Uo,logger:H,once:Fo,pretty:qo}=__STORYBOOK_CLIENT_LOGGER__;I();d();m();var Vo=__STORYBOOK_COMPONENTS__,{A:$o,ActionBar:jo,AddonPanel:Zo,Badge:Jo,Bar:Qo,Blockquote:Xo,Button:en,ClipboardCode:on,Code:nn,DL:tn,Div:rn,DocumentWrapper:cn,EmptyTabContent:an,ErrorFormatter:sn,FlexBar:ln,Form:un,H1:In,H2:dn,H3:mn,H4:fn,H5:pn,H6:hn,HR:gn,IconButton:N,IconButtonSkeleton:bn,Icons:Sn,Img:Cn,LI:yn,Link:_n,ListItem:kn,Loader:Tn,OL:On,P:vn,Placeholder:An,Pre:wn,ResetWrapper:Bn,ScrollArea:En,Separator:xn,Spaced:Rn,Span:Ln,StorybookIcon:Pn,StorybookLogo:Mn,Symbols:Dn,SyntaxHighlighter:Gn,TT:Hn,TabBar:Nn,TabButton:Un,TabWrapper:Fn,Table:qn,Tabs:zn,TabsState:Kn,TooltipLinkList:$,TooltipMessage:Yn,TooltipNote:Wn,UL:Vn,WithTooltip:j,WithTooltipPure:$n,Zoom:jn,codeCommon:Zn,components:Jn,createCopyToClipboardFunction:Qn,getStoryHref:Xn,icons:et,interleaveSeparators:ot,nameSpaceClassNames:nt,resetComponents:tt,withReset:rt}=__STORYBOOK_COMPONENTS__;I();d();m();var lt=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ut,AccessibilityIcon:It,AddIcon:dt,AdminIcon:mt,AlertAltIcon:ft,AlertIcon:pt,AlignLeftIcon:ht,AlignRightIcon:gt,AppleIcon:bt,ArrowDownIcon:St,ArrowLeftIcon:Ct,ArrowRightIcon:yt,ArrowSolidDownIcon:_t,ArrowSolidLeftIcon:kt,ArrowSolidRightIcon:Tt,ArrowSolidUpIcon:Ot,ArrowUpIcon:vt,AzureDevOpsIcon:At,BackIcon:wt,BasketIcon:Bt,BatchAcceptIcon:Et,BatchDenyIcon:xt,BeakerIcon:Rt,BellIcon:Lt,BitbucketIcon:Pt,BoldIcon:Mt,BookIcon:Dt,BookmarkHollowIcon:Gt,BookmarkIcon:Ht,BottomBarIcon:Nt,BottomBarToggleIcon:Ut,BoxIcon:Ft,BranchIcon:qt,BrowserIcon:zt,ButtonIcon:Kt,CPUIcon:Yt,CalendarIcon:Wt,CameraIcon:Vt,CategoryIcon:$t,CertificateIcon:jt,ChangedIcon:Zt,ChatIcon:Jt,CheckIcon:Qt,ChevronDownIcon:Xt,ChevronLeftIcon:er,ChevronRightIcon:or,ChevronSmallDownIcon:nr,ChevronSmallLeftIcon:tr,ChevronSmallRightIcon:rr,ChevronSmallUpIcon:cr,ChevronUpIcon:ir,ChromaticIcon:ar,ChromeIcon:sr,CircleHollowIcon:lr,CircleIcon:ur,ClearIcon:Ir,CloseAltIcon:dr,CloseIcon:mr,CloudHollowIcon:fr,CloudIcon:pr,CogIcon:hr,CollapseIcon:gr,CommandIcon:br,CommentAddIcon:Sr,CommentIcon:Cr,CommentsIcon:yr,CommitIcon:_r,CompassIcon:kr,ComponentDrivenIcon:Tr,ComponentIcon:Or,ContrastIcon:vr,ControlsIcon:Ar,CopyIcon:wr,CreditIcon:Br,CrossIcon:Er,DashboardIcon:xr,DatabaseIcon:Rr,DeleteIcon:Lr,DiamondIcon:Pr,DirectionIcon:Mr,DiscordIcon:Dr,DocChartIcon:Gr,DocListIcon:Hr,DocumentIcon:Nr,DownloadIcon:Ur,DragIcon:Fr,EditIcon:qr,EllipsisIcon:zr,EmailIcon:Kr,ExpandAltIcon:Yr,ExpandIcon:Wr,EyeCloseIcon:Vr,EyeIcon:$r,FaceHappyIcon:jr,FaceNeutralIcon:Zr,FaceSadIcon:Jr,FacebookIcon:Qr,FailedIcon:Xr,FastForwardIcon:ec,FigmaIcon:oc,FilterIcon:nc,FlagIcon:tc,FolderIcon:rc,FormIcon:cc,GDriveIcon:ic,GithubIcon:ac,GitlabIcon:sc,GlobeIcon:lc,GoogleIcon:uc,GraphBarIcon:Ic,GraphLineIcon:dc,GraphqlIcon:mc,GridAltIcon:fc,GridIcon:Z,GrowIcon:pc,HeartHollowIcon:hc,HeartIcon:gc,HomeIcon:bc,HourglassIcon:Sc,InfoIcon:Cc,ItalicIcon:yc,JumpToIcon:_c,KeyIcon:kc,LightningIcon:Tc,LightningOffIcon:Oc,LinkBrokenIcon:vc,LinkIcon:Ac,LinkedinIcon:wc,LinuxIcon:Bc,ListOrderedIcon:Ec,ListUnorderedIcon:xc,LocationIcon:Rc,LockIcon:Lc,MarkdownIcon:Pc,MarkupIcon:Mc,MediumIcon:Dc,MemoryIcon:Gc,MenuIcon:Hc,MergeIcon:Nc,MirrorIcon:Uc,MobileIcon:Fc,MoonIcon:qc,NutIcon:zc,OutboxIcon:Kc,OutlineIcon:Yc,PaintBrushIcon:Wc,PaperClipIcon:Vc,ParagraphIcon:$c,PassedIcon:jc,PhoneIcon:Zc,PhotoDragIcon:Jc,PhotoIcon:J,PinAltIcon:Qc,PinIcon:Xc,PlayBackIcon:ei,PlayIcon:oi,PlayNextIcon:ni,PlusIcon:ti,PointerDefaultIcon:ri,PointerHandIcon:ci,PowerIcon:ii,PrintIcon:ai,ProceedIcon:si,ProfileIcon:li,PullRequestIcon:ui,QuestionIcon:Ii,RSSIcon:di,RedirectIcon:mi,ReduxIcon:fi,RefreshIcon:pi,ReplyIcon:hi,RepoIcon:gi,RequestChangeIcon:bi,RewindIcon:Si,RulerIcon:Ci,SearchIcon:yi,ShareAltIcon:_i,ShareIcon:ki,ShieldIcon:Ti,SideBySideIcon:Oi,SidebarAltIcon:vi,SidebarAltToggleIcon:Ai,SidebarIcon:wi,SidebarToggleIcon:Bi,SpeakerIcon:Ei,StackedIcon:xi,StarHollowIcon:Ri,StarIcon:Li,StickerIcon:Pi,StopAltIcon:Mi,StopIcon:Di,StorybookIcon:Gi,StructureIcon:Hi,SubtractIcon:Ni,SunIcon:Ui,SupportIcon:Fi,SwitchAltIcon:qi,SyncIcon:zi,TabletIcon:Ki,ThumbsUpIcon:Yi,TimeIcon:Wi,TimerIcon:Vi,TransferIcon:$i,TrashIcon:ji,TwitterIcon:Zi,TypeIcon:Ji,UbuntuIcon:Qi,UndoIcon:Xi,UnfoldIcon:ea,UnlockIcon:oa,UnpinIcon:na,UploadIcon:ta,UserAddIcon:ra,UserAltIcon:ca,UserIcon:ia,UsersIcon:aa,VSCodeIcon:sa,VerifiedIcon:la,VideoIcon:ua,WandIcon:Ia,WatchIcon:da,WindowsIcon:ma,WrenchIcon:fa,YoutubeIcon:pa,ZoomIcon:ha,ZoomOutIcon:ga,ZoomResetIcon:ba,iconList:Sa}=__STORYBOOK_ICONS__;I();d();m();var Ta=__STORYBOOK_THEMING__,{CacheProvider:Oa,ClassNames:va,Global:Aa,ThemeProvider:wa,background:Ba,color:Ea,convert:xa,create:Ra,createCache:La,createGlobal:Pa,createReset:Ma,css:Da,darken:Ga,ensure:Ha,ignoreSsrWarning:Na,isPropValid:Ua,jsx:Fa,keyframes:qa,lighten:za,styled:Q,themes:Ka,typography:Ya,useTheme:Wa,withTheme:Va}=__STORYBOOK_THEMING__;I();d();m();var Qa=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();I();d();m();function X(e){for(var o=[],a=1;a{var ne=Object.create;var F=Object.defineProperty;var te=Object.getOwnPropertyDescriptor;var re=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,ie=Object.prototype.hasOwnProperty;var E=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,a)=>(typeof require<"u"?require:o)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var x=(e,o)=>()=>(e&&(o=e(e=0)),o);var ae=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var se=(e,o,a,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of re(o))!ie.call(e,c)&&c!==a&&F(e,c,{get:()=>o[c],enumerable:!(r=te(o,c))||r.enumerable});return e};var le=(e,o,a)=>(a=e!=null?ne(ce(e)):{},se(o||!e||!e.__esModule?F(a,"default",{value:e,enumerable:!0}):a,e));var I=x(()=>{});var d=x(()=>{});var m=x(()=>{});var V=ae((W,G)=>{I();d();m();(function(e){if(typeof W=="object"&&typeof G<"u")G.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var o;typeof window<"u"||typeof window<"u"?o=window:typeof self<"u"?o=self:o=this,o.memoizerific=e()}})(function(){var e,o,a;return function r(c,h,s){function t(i,f){if(!h[i]){if(!c[i]){var u=typeof E=="function"&&E;if(!f&&u)return u(i,!0);if(n)return n(i,!0);var b=new Error("Cannot find module '"+i+"'");throw b.code="MODULE_NOT_FOUND",b}var p=h[i]={exports:{}};c[i][0].call(p.exports,function(g){var S=c[i][1][g];return t(S||g)},p,p.exports,r,c,h,s)}return h[i].exports}for(var n=typeof E=="function"&&E,l=0;l=0)return this.lastItem=this.list[n],this.list[n].val},s.prototype.set=function(t,n){var l;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(l=this.indexOf(t),l>=0?(this.lastItem=this.list[l],this.list[l].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t)&&(this.lastItem=void 0),n=this.indexOf(t),n>=0)return this.size--,this.list.splice(n,1)[0]},s.prototype.has=function(t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,t)?!0:(n=this.indexOf(t),n>=0?(this.lastItem=this.list[n],!0):!1)},s.prototype.forEach=function(t,n){var l;for(l=0;l0&&(B[T]={cacheItem:g,arg:arguments[T]},A?t(u,B):u.push(B),u.length>i&&n(u.shift())),p.wasMemoized=A,p.numArgs=T+1,w};return p.limit=i,p.wasMemoized=!1,p.cache=f,p.lru=u,p}};function t(i,f){var u=i.length,b=f.length,p,g,S;for(g=0;g=0&&(u=i[p],b=u.cacheItem.get(u.arg),!b||!b.size);p--)u.cacheItem.delete(u.arg)}function l(i,f){return i===f||i!==i&&f!==f}},{"map-or-similar":1}]},{},[3])(3)})});I();d();m();I();d();m();I();d();m();I();d();m();var C=__REACT__,{Children:ke,Component:Te,Fragment:R,Profiler:Oe,PureComponent:ve,StrictMode:Ae,Suspense:Ee,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:we,cloneElement:Be,createContext:xe,createElement:Re,createFactory:Le,createRef:Pe,forwardRef:Me,isValidElement:De,lazy:Ge,memo:L,startTransition:He,unstable_act:Ne,useCallback:q,useContext:Ue,useDebugValue:Fe,useDeferredValue:qe,useEffect:ze,useId:Ke,useImperativeHandle:Ye,useInsertionEffect:We,useLayoutEffect:Ve,useMemo:z,useReducer:$e,useRef:je,useState:K,useSyncExternalStore:Ze,useTransition:Je,version:Qe}=__REACT__;I();d();m();var to=__STORYBOOK_API__,{ActiveTabs:ro,Consumer:co,ManagerContext:io,Provider:ao,RequestResponseError:so,addons:P,combineParameters:lo,controlOrMetaKey:uo,controlOrMetaSymbol:Io,eventMatchesShortcut:mo,eventToShortcut:po,experimental_requestResponse:fo,isMacLike:ho,isShortcutTaken:go,keyToSymbol:bo,merge:So,mockChannel:Co,optionOrAltSymbol:yo,shortcutMatchesShortcut:_o,shortcutToHumanString:ko,types:Y,useAddonState:To,useArgTypes:Oo,useArgs:vo,useChannel:Ao,useGlobalTypes:Eo,useGlobals:M,useParameter:D,useSharedState:wo,useStoryPrepared:Bo,useStorybookApi:xo,useStorybookState:Ro}=__STORYBOOK_API__;var U=le(V());I();d();m();var Fo=__STORYBOOK_CLIENT_LOGGER__,{deprecate:qo,logger:H,once:zo,pretty:Ko}=__STORYBOOK_CLIENT_LOGGER__;I();d();m();var jo=__STORYBOOK_COMPONENTS__,{A:Zo,ActionBar:Jo,AddonPanel:Qo,Badge:Xo,Bar:en,Blockquote:on,Button:nn,ClipboardCode:tn,Code:rn,DL:cn,Div:an,DocumentWrapper:sn,EmptyTabContent:ln,ErrorFormatter:un,FlexBar:In,Form:dn,H1:mn,H2:pn,H3:fn,H4:hn,H5:gn,H6:bn,HR:Sn,IconButton:N,IconButtonSkeleton:Cn,Icons:yn,Img:_n,LI:kn,Link:Tn,ListItem:On,Loader:vn,Modal:An,OL:En,P:wn,Placeholder:Bn,Pre:xn,ResetWrapper:Rn,ScrollArea:Ln,Separator:Pn,Spaced:Mn,Span:Dn,StorybookIcon:Gn,StorybookLogo:Hn,Symbols:Nn,SyntaxHighlighter:Un,TT:Fn,TabBar:qn,TabButton:zn,TabWrapper:Kn,Table:Yn,Tabs:Wn,TabsState:Vn,TooltipLinkList:$,TooltipMessage:$n,TooltipNote:jn,UL:Zn,WithTooltip:j,WithTooltipPure:Jn,Zoom:Qn,codeCommon:Xn,components:et,createCopyToClipboardFunction:ot,getStoryHref:nt,icons:tt,interleaveSeparators:rt,nameSpaceClassNames:ct,resetComponents:it,withReset:at}=__STORYBOOK_COMPONENTS__;I();d();m();var dt=__STORYBOOK_ICONS__,{AccessibilityAltIcon:mt,AccessibilityIcon:pt,AddIcon:ft,AdminIcon:ht,AlertAltIcon:gt,AlertIcon:bt,AlignLeftIcon:St,AlignRightIcon:Ct,AppleIcon:yt,ArrowDownIcon:_t,ArrowLeftIcon:kt,ArrowRightIcon:Tt,ArrowSolidDownIcon:Ot,ArrowSolidLeftIcon:vt,ArrowSolidRightIcon:At,ArrowSolidUpIcon:Et,ArrowUpIcon:wt,AzureDevOpsIcon:Bt,BackIcon:xt,BasketIcon:Rt,BatchAcceptIcon:Lt,BatchDenyIcon:Pt,BeakerIcon:Mt,BellIcon:Dt,BitbucketIcon:Gt,BoldIcon:Ht,BookIcon:Nt,BookmarkHollowIcon:Ut,BookmarkIcon:Ft,BottomBarIcon:qt,BottomBarToggleIcon:zt,BoxIcon:Kt,BranchIcon:Yt,BrowserIcon:Wt,ButtonIcon:Vt,CPUIcon:$t,CalendarIcon:jt,CameraIcon:Zt,CategoryIcon:Jt,CertificateIcon:Qt,ChangedIcon:Xt,ChatIcon:er,CheckIcon:or,ChevronDownIcon:nr,ChevronLeftIcon:tr,ChevronRightIcon:rr,ChevronSmallDownIcon:cr,ChevronSmallLeftIcon:ir,ChevronSmallRightIcon:ar,ChevronSmallUpIcon:sr,ChevronUpIcon:lr,ChromaticIcon:ur,ChromeIcon:Ir,CircleHollowIcon:dr,CircleIcon:mr,ClearIcon:pr,CloseAltIcon:fr,CloseIcon:hr,CloudHollowIcon:gr,CloudIcon:br,CogIcon:Sr,CollapseIcon:Cr,CommandIcon:yr,CommentAddIcon:_r,CommentIcon:kr,CommentsIcon:Tr,CommitIcon:Or,CompassIcon:vr,ComponentDrivenIcon:Ar,ComponentIcon:Er,ContrastIcon:wr,ControlsIcon:Br,CopyIcon:xr,CreditIcon:Rr,CrossIcon:Lr,DashboardIcon:Pr,DatabaseIcon:Mr,DeleteIcon:Dr,DiamondIcon:Gr,DirectionIcon:Hr,DiscordIcon:Nr,DocChartIcon:Ur,DocListIcon:Fr,DocumentIcon:qr,DownloadIcon:zr,DragIcon:Kr,EditIcon:Yr,EllipsisIcon:Wr,EmailIcon:Vr,ExpandAltIcon:$r,ExpandIcon:jr,EyeCloseIcon:Zr,EyeIcon:Jr,FaceHappyIcon:Qr,FaceNeutralIcon:Xr,FaceSadIcon:ec,FacebookIcon:oc,FailedIcon:nc,FastForwardIcon:tc,FigmaIcon:rc,FilterIcon:cc,FlagIcon:ic,FolderIcon:ac,FormIcon:sc,GDriveIcon:lc,GithubIcon:uc,GitlabIcon:Ic,GlobeIcon:dc,GoogleIcon:mc,GraphBarIcon:pc,GraphLineIcon:fc,GraphqlIcon:hc,GridAltIcon:gc,GridIcon:Z,GrowIcon:bc,HeartHollowIcon:Sc,HeartIcon:Cc,HomeIcon:yc,HourglassIcon:_c,InfoIcon:kc,ItalicIcon:Tc,JumpToIcon:Oc,KeyIcon:vc,LightningIcon:Ac,LightningOffIcon:Ec,LinkBrokenIcon:wc,LinkIcon:Bc,LinkedinIcon:xc,LinuxIcon:Rc,ListOrderedIcon:Lc,ListUnorderedIcon:Pc,LocationIcon:Mc,LockIcon:Dc,MarkdownIcon:Gc,MarkupIcon:Hc,MediumIcon:Nc,MemoryIcon:Uc,MenuIcon:Fc,MergeIcon:qc,MirrorIcon:zc,MobileIcon:Kc,MoonIcon:Yc,NutIcon:Wc,OutboxIcon:Vc,OutlineIcon:$c,PaintBrushIcon:jc,PaperClipIcon:Zc,ParagraphIcon:Jc,PassedIcon:Qc,PhoneIcon:Xc,PhotoDragIcon:ei,PhotoIcon:J,PinAltIcon:oi,PinIcon:ni,PlayBackIcon:ti,PlayIcon:ri,PlayNextIcon:ci,PlusIcon:ii,PointerDefaultIcon:ai,PointerHandIcon:si,PowerIcon:li,PrintIcon:ui,ProceedIcon:Ii,ProfileIcon:di,PullRequestIcon:mi,QuestionIcon:pi,RSSIcon:fi,RedirectIcon:hi,ReduxIcon:gi,RefreshIcon:bi,ReplyIcon:Si,RepoIcon:Ci,RequestChangeIcon:yi,RewindIcon:_i,RulerIcon:ki,SearchIcon:Ti,ShareAltIcon:Oi,ShareIcon:vi,ShieldIcon:Ai,SideBySideIcon:Ei,SidebarAltIcon:wi,SidebarAltToggleIcon:Bi,SidebarIcon:xi,SidebarToggleIcon:Ri,SpeakerIcon:Li,StackedIcon:Pi,StarHollowIcon:Mi,StarIcon:Di,StickerIcon:Gi,StopAltIcon:Hi,StopIcon:Ni,StorybookIcon:Ui,StructureIcon:Fi,SubtractIcon:qi,SunIcon:zi,SupportIcon:Ki,SwitchAltIcon:Yi,SyncIcon:Wi,TabletIcon:Vi,ThumbsUpIcon:$i,TimeIcon:ji,TimerIcon:Zi,TransferIcon:Ji,TrashIcon:Qi,TwitterIcon:Xi,TypeIcon:ea,UbuntuIcon:oa,UndoIcon:na,UnfoldIcon:ta,UnlockIcon:ra,UnpinIcon:ca,UploadIcon:ia,UserAddIcon:aa,UserAltIcon:sa,UserIcon:la,UsersIcon:ua,VSCodeIcon:Ia,VerifiedIcon:da,VideoIcon:ma,WandIcon:pa,WatchIcon:fa,WindowsIcon:ha,WrenchIcon:ga,YoutubeIcon:ba,ZoomIcon:Sa,ZoomOutIcon:Ca,ZoomResetIcon:ya,iconList:_a}=__STORYBOOK_ICONS__;I();d();m();var Aa=__STORYBOOK_THEMING__,{CacheProvider:Ea,ClassNames:wa,Global:Ba,ThemeProvider:xa,background:Ra,color:La,convert:Pa,create:Ma,createCache:Da,createGlobal:Ga,createReset:Ha,css:Na,darken:Ua,ensure:Fa,ignoreSsrWarning:qa,isPropValid:za,jsx:Ka,keyframes:Ya,lighten:Wa,styled:Q,themes:Va,typography:$a,useTheme:ja,withTheme:Za}=__STORYBOOK_THEMING__;I();d();m();var os=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();I();d();m();function X(e){for(var o=[],a=1;a({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),Ie=(e,o=[],a)=>{if(e==="transparent")return"transparent";if(o.find(c=>c.value===e))return e;let r=o.find(c=>c.name===a);if(r)return r.value;if(a){let c=o.map(h=>h.name).join(", ");H.warn(X` +`)),s+=f+r[n+1]}),s}var ee="storybook/background",v="backgrounds",ue=Q.span(({background:e})=>({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),Ie=(e,o=[],a)=>{if(e==="transparent")return"transparent";if(o.find(c=>c.value===e))return e;let r=o.find(c=>c.name===a);if(r)return r.value;if(a){let c=o.map(h=>h.name).join(", ");H.warn(X` Backgrounds Addon: could not find the default color "${a}". These are the available colors for your story based on your configuration: ${c}. - `)}return"transparent"},oe=(0,U.default)(1e3)((e,o,a,r,c,h)=>({id:e||o,title:o,onClick:()=>{c({selected:a,name:o})},value:a,right:r?C.createElement(ue,{background:a}):void 0,active:h})),de=(0,U.default)(10)((e,o,a)=>{let r=e.map(({name:c,value:h})=>oe(null,c,h,!0,a,h===o));return o!=="transparent"?[oe("reset","Clear background","transparent",null,a,!1),...r]:r}),me={default:null,disable:!0,values:[]},fe=L(function(){let e=D(v,me),[o,a]=K(!1),[r,c]=M(),h=r[v]?.value,s=z(()=>Ie(h,e.values,e.default),[e,h]);Array.isArray(e)&&H.warn("Addon Backgrounds api has changed in Storybook 6.0. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md");let t=q(n=>{c({[v]:{...r[v],value:n}})},[e,r,c]);return e.disable?null:C.createElement(R,null,C.createElement(j,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:n})=>C.createElement($,{links:de(e.values,s,({selected:l})=>{s!==l&&t(l),n()})}),onVisibleChange:a},C.createElement(N,{key:"background",title:"Change the background of the preview",active:s!=="transparent"||o},C.createElement(J,null))))}),pe=L(function(){let[e,o]=M(),{grid:a}=D(v,{grid:{disable:!1}});if(a?.disable)return null;let r=e[v]?.grid||!1;return C.createElement(N,{key:"background",active:r,title:"Apply a grid to the preview",onClick:()=>o({[v]:{...e[v],grid:!r}})},C.createElement(Z,null))});P.register(ee,()=>{P.add(ee,{title:"Backgrounds",type:Y.TOOL,match:({viewMode:e,tabId:o})=>!!(e&&e.match(/^(story|docs)$/))&&!o,render:()=>C.createElement(R,null,C.createElement(fe,null),C.createElement(pe,null))})});})(); + `)}return"transparent"},oe=(0,U.default)(1e3)((e,o,a,r,c,h)=>({id:e||o,title:o,onClick:()=>{c({selected:a,name:o})},value:a,right:r?C.createElement(ue,{background:a}):void 0,active:h})),de=(0,U.default)(10)((e,o,a)=>{let r=e.map(({name:c,value:h})=>oe(null,c,h,!0,a,h===o));return o!=="transparent"?[oe("reset","Clear background","transparent",null,a,!1),...r]:r}),me={default:null,disable:!0,values:[]},pe=L(function(){let e=D(v,me),[o,a]=K(!1),[r,c]=M(),h=r[v]?.value,s=z(()=>Ie(h,e.values,e.default),[e,h]);Array.isArray(e)&&H.warn("Addon Backgrounds api has changed in Storybook 6.0. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md");let t=q(n=>{c({[v]:{...r[v],value:n}})},[e,r,c]);return e.disable?null:C.createElement(R,null,C.createElement(j,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:n})=>C.createElement($,{links:de(e.values,s,({selected:l})=>{s!==l&&t(l),n()})}),onVisibleChange:a},C.createElement(N,{key:"background",title:"Change the background of the preview",active:s!=="transparent"||o},C.createElement(J,null))))}),fe=L(function(){let[e,o]=M(),{grid:a}=D(v,{grid:{disable:!1}});if(a?.disable)return null;let r=e[v]?.grid||!1;return C.createElement(N,{key:"background",active:r,title:"Apply a grid to the preview",onClick:()=>o({[v]:{...e[v],grid:!r}})},C.createElement(Z,null))});P.register(ee,()=>{P.add(ee,{title:"Backgrounds",type:Y.TOOL,match:({viewMode:e,tabId:o})=>!!(e&&e.match(/^(story|docs)$/))&&!o,render:()=>C.createElement(R,null,C.createElement(pe,null),C.createElement(fe,null))})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-controls-1/manager-bundle.js b/sb-addons/essentials-controls-1/manager-bundle.js index 226e7ef..67e3b4c 100644 --- a/sb-addons/essentials-controls-1/manager-bundle.js +++ b/sb-addons/essentials-controls-1/manager-bundle.js @@ -1,60 +1,412 @@ try{ -(()=>{var Uy=Object.create;var Xn=Object.defineProperty;var zy=Object.getOwnPropertyDescriptor;var Gy=Object.getOwnPropertyNames;var Vy=Object.getPrototypeOf,Wy=Object.prototype.hasOwnProperty;var nr=(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')});var $e=(e,t)=>()=>(e&&(t=e(e=0)),t);var F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),_u=(e,t)=>{for(var r in t)Xn(e,r,{get:t[r],enumerable:!0})},Ky=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Gy(t))!Wy.call(e,a)&&a!==r&&Xn(e,a,{get:()=>t[a],enumerable:!(n=zy(t,a))||n.enumerable});return e};var De=(e,t,r)=>(r=e!=null?Uy(Vy(e)):{},Ky(t||!e||!e.__esModule?Xn(r,"default",{value:e,enumerable:!0}):r,e));var l=$e(()=>{});var c=$e(()=>{});var d=$e(()=>{});var m,Ou,Je,$R,HR,UR,zR,Ru,GR,de,ar,Jn,VR,WR,KR,YR,Pu,XR,JR,QR,Ee,ku,ZR,eP,he,tP,rP,nP,Nu,Qe,aP,we,ne,oP,uP,iP,Ct=$e(()=>{l();c();d();m=__REACT__,{Children:Ou,Component:Je,Fragment:$R,Profiler:HR,PureComponent:UR,StrictMode:zR,Suspense:Ru,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:GR,cloneElement:de,createContext:ar,createElement:Jn,createFactory:VR,createRef:WR,forwardRef:KR,isValidElement:YR,lazy:Pu,memo:XR,startTransition:JR,unstable_act:QR,useCallback:Ee,useContext:ku,useDebugValue:ZR,useDeferredValue:eP,useEffect:he,useId:tP,useImperativeHandle:rP,useInsertionEffect:nP,useLayoutEffect:Nu,useMemo:Qe,useReducer:aP,useRef:we,useState:ne,useSyncExternalStore:oP,useTransition:uP,version:iP}=__REACT__});var Ku={};_u(Ku,{A:()=>Jy,ActionBar:()=>ea,AddonPanel:()=>ta,Badge:()=>ra,Bar:()=>Qy,Blockquote:()=>Zy,Button:()=>xt,ClipboardCode:()=>e2,Code:()=>Hu,DL:()=>t2,Div:()=>r2,DocumentWrapper:()=>n2,EmptyTabContent:()=>na,ErrorFormatter:()=>Uu,FlexBar:()=>aa,Form:()=>He,H1:()=>a2,H2:()=>oa,H3:()=>zu,H4:()=>o2,H5:()=>u2,H6:()=>i2,HR:()=>s2,IconButton:()=>lt,IconButtonSkeleton:()=>l2,Icons:()=>c2,Img:()=>d2,LI:()=>p2,Link:()=>ct,ListItem:()=>f2,Loader:()=>Gu,OL:()=>h2,P:()=>m2,Placeholder:()=>g2,Pre:()=>y2,ResetWrapper:()=>ua,ScrollArea:()=>b2,Separator:()=>E2,Spaced:()=>ia,Span:()=>A2,StorybookIcon:()=>v2,StorybookLogo:()=>D2,Symbols:()=>C2,SyntaxHighlighter:()=>Mr,TT:()=>x2,TabBar:()=>F2,TabButton:()=>S2,TabWrapper:()=>w2,Table:()=>B2,Tabs:()=>T2,TabsState:()=>Vu,TooltipLinkList:()=>I2,TooltipMessage:()=>_2,TooltipNote:()=>sa,UL:()=>O2,WithTooltip:()=>jr,WithTooltipPure:()=>la,Zoom:()=>ca,codeCommon:()=>Ft,components:()=>da,createCopyToClipboardFunction:()=>R2,default:()=>Xy,getStoryHref:()=>Wu,icons:()=>P2,interleaveSeparators:()=>k2,nameSpaceClassNames:()=>pa,resetComponents:()=>N2,withReset:()=>St});var Xy,Jy,ea,ta,ra,Qy,Zy,xt,e2,Hu,t2,r2,n2,na,Uu,aa,He,a2,oa,zu,o2,u2,i2,s2,lt,l2,c2,d2,p2,ct,f2,Gu,h2,m2,g2,y2,ua,b2,E2,ia,A2,v2,D2,C2,Mr,x2,F2,S2,w2,B2,T2,Vu,I2,_2,sa,O2,jr,la,ca,Ft,da,R2,Wu,P2,k2,pa,N2,St,or=$e(()=>{l();c();d();Xy=__STORYBOOK_COMPONENTS__,{A:Jy,ActionBar:ea,AddonPanel:ta,Badge:ra,Bar:Qy,Blockquote:Zy,Button:xt,ClipboardCode:e2,Code:Hu,DL:t2,Div:r2,DocumentWrapper:n2,EmptyTabContent:na,ErrorFormatter:Uu,FlexBar:aa,Form:He,H1:a2,H2:oa,H3:zu,H4:o2,H5:u2,H6:i2,HR:s2,IconButton:lt,IconButtonSkeleton:l2,Icons:c2,Img:d2,LI:p2,Link:ct,ListItem:f2,Loader:Gu,OL:h2,P:m2,Placeholder:g2,Pre:y2,ResetWrapper:ua,ScrollArea:b2,Separator:E2,Spaced:ia,Span:A2,StorybookIcon:v2,StorybookLogo:D2,Symbols:C2,SyntaxHighlighter:Mr,TT:x2,TabBar:F2,TabButton:S2,TabWrapper:w2,Table:B2,Tabs:T2,TabsState:Vu,TooltipLinkList:I2,TooltipMessage:_2,TooltipNote:sa,UL:O2,WithTooltip:jr,WithTooltipPure:la,Zoom:ca,codeCommon:Ft,components:da,createCopyToClipboardFunction:R2,getStoryHref:Wu,icons:P2,interleaveSeparators:k2,nameSpaceClassNames:pa,resetComponents:N2,withReset:St}=__STORYBOOK_COMPONENTS__});var Be,ur,fa=$e(()=>{l();c();d();Be=e=>`control-${e.replace(/\s+/g,"-")}`,ur=e=>`set-${e.replace(/\s+/g,"-")}`});var VP,WP,KP,YP,Yu,XP,JP,Xu,QP,ZP,e7,t7,r7,n7,L2,Ju,a7,o7,u7,i7,M,ha,s7,ma,l7,ga=$e(()=>{l();c();d();VP=__STORYBOOK_THEMING__,{CacheProvider:WP,ClassNames:KP,Global:YP,ThemeProvider:Yu,background:XP,color:JP,convert:Xu,create:QP,createCache:ZP,createGlobal:e7,createReset:t7,css:r7,darken:n7,ensure:L2,ignoreSsrWarning:Ju,isPropValid:a7,jsx:o7,keyframes:u7,lighten:i7,styled:M,themes:ha,typography:s7,useTheme:ma,withTheme:l7}=__STORYBOOK_THEMING__});var _k,Ok,Rk,ai,Pk,kk,Nk,Lk,qk,Mk,jk,$k,Hk,Uk,zk,Gk,Vk,Wk,Kk,Yk,Xk,Jk,Qk,Zk,eN,tN,rN,nN,aN,oN,uN,iN,sN,lN,cN,dN,pN,fN,hN,mN,gN,yN,bN,EN,oi,AN,ui,Sa,vN,DN,ii,CN,xN,FN,SN,wN,BN,TN,IN,_N,ON,RN,PN,kN,NN,LN,qN,MN,jN,$N,HN,UN,zN,GN,VN,WN,KN,YN,XN,JN,QN,ZN,eL,tL,Ur,rL,nL,aL,oL,uL,iL,sL,si,li,lL,cL,dL,pL,fL,hL,mL,gL,yL,bL,EL,AL,vL,DL,CL,xL,FL,SL,wL,BL,TL,IL,_L,OL,RL,PL,kL,NL,LL,qL,ML,jL,$L,ci,HL,UL,zL,GL,VL,WL,KL,di,YL,XL,JL,QL,ZL,eq,tq,rq,nq,aq,oq,uq,iq,sq,lq,cq,dq,pq,fq,hq,mq,gq,yq,bq,Eq,Aq,vq,Dq,Cq,xq,Fq,Sq,wq,Bq,Tq,Iq,_q,Oq,Rq,Pq,kq,Nq,Lq,qq,Mq,jq,$q,Hq,Uq,zq,Gq,Vq,Wq,Kq,Yq,Xq,Jq,Qq,pi,Zq,eM,tM,rM,nM,aM,oM,uM,iM,sM,lM,cM,dM,fi,pM,fM,hM,mM,gM,yM,bM,EM,AM,vM,hi,DM,CM,xM,FM,SM,mi,gi,yi,wM,wa=$e(()=>{l();c();d();_k=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Ok,AccessibilityIcon:Rk,AddIcon:ai,AdminIcon:Pk,AlertAltIcon:kk,AlertIcon:Nk,AlignLeftIcon:Lk,AlignRightIcon:qk,AppleIcon:Mk,ArrowDownIcon:jk,ArrowLeftIcon:$k,ArrowRightIcon:Hk,ArrowSolidDownIcon:Uk,ArrowSolidLeftIcon:zk,ArrowSolidRightIcon:Gk,ArrowSolidUpIcon:Vk,ArrowUpIcon:Wk,AzureDevOpsIcon:Kk,BackIcon:Yk,BasketIcon:Xk,BatchAcceptIcon:Jk,BatchDenyIcon:Qk,BeakerIcon:Zk,BellIcon:eN,BitbucketIcon:tN,BoldIcon:rN,BookIcon:nN,BookmarkHollowIcon:aN,BookmarkIcon:oN,BottomBarIcon:uN,BottomBarToggleIcon:iN,BoxIcon:sN,BranchIcon:lN,BrowserIcon:cN,ButtonIcon:dN,CPUIcon:pN,CalendarIcon:fN,CameraIcon:hN,CategoryIcon:mN,CertificateIcon:gN,ChangedIcon:yN,ChatIcon:bN,CheckIcon:EN,ChevronDownIcon:oi,ChevronLeftIcon:AN,ChevronRightIcon:ui,ChevronSmallDownIcon:Sa,ChevronSmallLeftIcon:vN,ChevronSmallRightIcon:DN,ChevronSmallUpIcon:ii,ChevronUpIcon:CN,ChromaticIcon:xN,ChromeIcon:FN,CircleHollowIcon:SN,CircleIcon:wN,ClearIcon:BN,CloseAltIcon:TN,CloseIcon:IN,CloudHollowIcon:_N,CloudIcon:ON,CogIcon:RN,CollapseIcon:PN,CommandIcon:kN,CommentAddIcon:NN,CommentIcon:LN,CommentsIcon:qN,CommitIcon:MN,CompassIcon:jN,ComponentDrivenIcon:$N,ComponentIcon:HN,ContrastIcon:UN,ControlsIcon:zN,CopyIcon:GN,CreditIcon:VN,CrossIcon:WN,DashboardIcon:KN,DatabaseIcon:YN,DeleteIcon:XN,DiamondIcon:JN,DirectionIcon:QN,DiscordIcon:ZN,DocChartIcon:eL,DocListIcon:tL,DocumentIcon:Ur,DownloadIcon:rL,DragIcon:nL,EditIcon:aL,EllipsisIcon:oL,EmailIcon:uL,ExpandAltIcon:iL,ExpandIcon:sL,EyeCloseIcon:si,EyeIcon:li,FaceHappyIcon:lL,FaceNeutralIcon:cL,FaceSadIcon:dL,FacebookIcon:pL,FailedIcon:fL,FastForwardIcon:hL,FigmaIcon:mL,FilterIcon:gL,FlagIcon:yL,FolderIcon:bL,FormIcon:EL,GDriveIcon:AL,GithubIcon:vL,GitlabIcon:DL,GlobeIcon:CL,GoogleIcon:xL,GraphBarIcon:FL,GraphLineIcon:SL,GraphqlIcon:wL,GridAltIcon:BL,GridIcon:TL,GrowIcon:IL,HeartHollowIcon:_L,HeartIcon:OL,HomeIcon:RL,HourglassIcon:PL,InfoIcon:kL,ItalicIcon:NL,JumpToIcon:LL,KeyIcon:qL,LightningIcon:ML,LightningOffIcon:jL,LinkBrokenIcon:$L,LinkIcon:ci,LinkedinIcon:HL,LinuxIcon:UL,ListOrderedIcon:zL,ListUnorderedIcon:GL,LocationIcon:VL,LockIcon:WL,MarkdownIcon:KL,MarkupIcon:di,MediumIcon:YL,MemoryIcon:XL,MenuIcon:JL,MergeIcon:QL,MirrorIcon:ZL,MobileIcon:eq,MoonIcon:tq,NutIcon:rq,OutboxIcon:nq,OutlineIcon:aq,PaintBrushIcon:oq,PaperClipIcon:uq,ParagraphIcon:iq,PassedIcon:sq,PhoneIcon:lq,PhotoDragIcon:cq,PhotoIcon:dq,PinAltIcon:pq,PinIcon:fq,PlayBackIcon:hq,PlayIcon:mq,PlayNextIcon:gq,PlusIcon:yq,PointerDefaultIcon:bq,PointerHandIcon:Eq,PowerIcon:Aq,PrintIcon:vq,ProceedIcon:Dq,ProfileIcon:Cq,PullRequestIcon:xq,QuestionIcon:Fq,RSSIcon:Sq,RedirectIcon:wq,ReduxIcon:Bq,RefreshIcon:Tq,ReplyIcon:Iq,RepoIcon:_q,RequestChangeIcon:Oq,RewindIcon:Rq,RulerIcon:Pq,SearchIcon:kq,ShareAltIcon:Nq,ShareIcon:Lq,ShieldIcon:qq,SideBySideIcon:Mq,SidebarAltIcon:jq,SidebarAltToggleIcon:$q,SidebarIcon:Hq,SidebarToggleIcon:Uq,SpeakerIcon:zq,StackedIcon:Gq,StarHollowIcon:Vq,StarIcon:Wq,StickerIcon:Kq,StopAltIcon:Yq,StopIcon:Xq,StorybookIcon:Jq,StructureIcon:Qq,SubtractIcon:pi,SunIcon:Zq,SupportIcon:eM,SwitchAltIcon:tM,SyncIcon:rM,TabletIcon:nM,ThumbsUpIcon:aM,TimeIcon:oM,TimerIcon:uM,TransferIcon:iM,TrashIcon:sM,TwitterIcon:lM,TypeIcon:cM,UbuntuIcon:dM,UndoIcon:fi,UnfoldIcon:pM,UnlockIcon:fM,UnpinIcon:hM,UploadIcon:mM,UserAddIcon:gM,UserAltIcon:yM,UserIcon:bM,UsersIcon:EM,VSCodeIcon:AM,VerifiedIcon:vM,VideoIcon:hi,WandIcon:DM,WatchIcon:CM,WindowsIcon:xM,WrenchIcon:FM,YoutubeIcon:SM,ZoomIcon:mi,ZoomOutIcon:gi,ZoomResetIcon:yi,iconList:wM}=__STORYBOOK_ICONS__});var Ba=F((OM,bi)=>{l();c();d();function D1(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r{l();c();d();function C1(){this.__data__=[],this.size=0}Ei.exports=C1});var zr=F((jM,vi)=>{l();c();d();function x1(e,t){return e===t||e!==e&&t!==t}vi.exports=x1});var dr=F((zM,Di)=>{l();c();d();var F1=zr();function S1(e,t){for(var r=e.length;r--;)if(F1(e[r][0],t))return r;return-1}Di.exports=S1});var xi=F((KM,Ci)=>{l();c();d();var w1=dr(),B1=Array.prototype,T1=B1.splice;function I1(e){var t=this.__data__,r=w1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():T1.call(t,r,1),--this.size,!0}Ci.exports=I1});var Si=F((QM,Fi)=>{l();c();d();var _1=dr();function O1(e){var t=this.__data__,r=_1(t,e);return r<0?void 0:t[r][1]}Fi.exports=O1});var Bi=F((rj,wi)=>{l();c();d();var R1=dr();function P1(e){return R1(this.__data__,e)>-1}wi.exports=P1});var Ii=F((uj,Ti)=>{l();c();d();var k1=dr();function N1(e,t){var r=this.__data__,n=k1(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Ti.exports=N1});var pr=F((cj,_i)=>{l();c();d();var L1=Ai(),q1=xi(),M1=Si(),j1=Bi(),$1=Ii();function Tt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var H1=pr();function U1(){this.__data__=new H1,this.size=0}Oi.exports=U1});var ki=F((bj,Pi)=>{l();c();d();function z1(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}Pi.exports=z1});var Li=F((Dj,Ni)=>{l();c();d();function G1(e){return this.__data__.get(e)}Ni.exports=G1});var Mi=F((Sj,qi)=>{l();c();d();function V1(e){return this.__data__.has(e)}qi.exports=V1});var Ta=F((Ij,ji)=>{l();c();d();var W1=typeof window=="object"&&window&&window.Object===Object&&window;ji.exports=W1});var ke=F((Pj,$i)=>{l();c();d();var K1=Ta(),Y1=typeof self=="object"&&self&&self.Object===Object&&self,X1=K1||Y1||Function("return this")();$i.exports=X1});var pt=F((qj,Hi)=>{l();c();d();var J1=ke(),Q1=J1.Symbol;Hi.exports=Q1});var Vi=F((Hj,Gi)=>{l();c();d();var Ui=pt(),zi=Object.prototype,Z1=zi.hasOwnProperty,eb=zi.toString,fr=Ui?Ui.toStringTag:void 0;function tb(e){var t=Z1.call(e,fr),r=e[fr];try{e[fr]=void 0;var n=!0}catch{}var a=eb.call(e);return n&&(t?e[fr]=r:delete e[fr]),a}Gi.exports=tb});var Ki=F((Vj,Wi)=>{l();c();d();var rb=Object.prototype,nb=rb.toString;function ab(e){return nb.call(e)}Wi.exports=ab});var ft=F((Xj,Ji)=>{l();c();d();var Yi=pt(),ob=Vi(),ub=Ki(),ib="[object Null]",sb="[object Undefined]",Xi=Yi?Yi.toStringTag:void 0;function lb(e){return e==null?e===void 0?sb:ib:Xi&&Xi in Object(e)?ob(e):ub(e)}Ji.exports=lb});var Me=F((e$,Qi)=>{l();c();d();function cb(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Qi.exports=cb});var Ia=F((a$,Zi)=>{l();c();d();var db=ft(),pb=Me(),fb="[object AsyncFunction]",hb="[object Function]",mb="[object GeneratorFunction]",gb="[object Proxy]";function yb(e){if(!pb(e))return!1;var t=db(e);return t==hb||t==mb||t==fb||t==gb}Zi.exports=yb});var ts=F((s$,es)=>{l();c();d();var bb=ke(),Eb=bb["__core-js_shared__"];es.exports=Eb});var as=F((p$,ns)=>{l();c();d();var _a=ts(),rs=function(){var e=/[^.]+$/.exec(_a&&_a.keys&&_a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ab(e){return!!rs&&rs in e}ns.exports=Ab});var Oa=F((g$,os)=>{l();c();d();var vb=Function.prototype,Db=vb.toString;function Cb(e){if(e!=null){try{return Db.call(e)}catch{}try{return e+""}catch{}}return""}os.exports=Cb});var is=F((A$,us)=>{l();c();d();var xb=Ia(),Fb=as(),Sb=Me(),wb=Oa(),Bb=/[\\^$.*+?()[\]{}|]/g,Tb=/^\[object .+?Constructor\]$/,Ib=Function.prototype,_b=Object.prototype,Ob=Ib.toString,Rb=_b.hasOwnProperty,Pb=RegExp("^"+Ob.call(Rb).replace(Bb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kb(e){if(!Sb(e)||Fb(e))return!1;var t=xb(e)?Pb:Tb;return t.test(wb(e))}us.exports=kb});var ls=F((x$,ss)=>{l();c();d();function Nb(e,t){return e?.[t]}ss.exports=Nb});var rt=F((B$,cs)=>{l();c();d();var Lb=is(),qb=ls();function Mb(e,t){var r=qb(e,t);return Lb(r)?r:void 0}cs.exports=Mb});var Gr=F((O$,ds)=>{l();c();d();var jb=rt(),$b=ke(),Hb=jb($b,"Map");ds.exports=Hb});var hr=F((N$,ps)=>{l();c();d();var Ub=rt(),zb=Ub(Object,"create");ps.exports=zb});var ms=F((j$,hs)=>{l();c();d();var fs=hr();function Gb(){this.__data__=fs?fs(null):{},this.size=0}hs.exports=Gb});var ys=F((z$,gs)=>{l();c();d();function Vb(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}gs.exports=Vb});var Es=F((K$,bs)=>{l();c();d();var Wb=hr(),Kb="__lodash_hash_undefined__",Yb=Object.prototype,Xb=Yb.hasOwnProperty;function Jb(e){var t=this.__data__;if(Wb){var r=t[e];return r===Kb?void 0:r}return Xb.call(t,e)?t[e]:void 0}bs.exports=Jb});var vs=F((Q$,As)=>{l();c();d();var Qb=hr(),Zb=Object.prototype,eE=Zb.hasOwnProperty;function tE(e){var t=this.__data__;return Qb?t[e]!==void 0:eE.call(t,e)}As.exports=tE});var Cs=F((rH,Ds)=>{l();c();d();var rE=hr(),nE="__lodash_hash_undefined__";function aE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=rE&&t===void 0?nE:t,this}Ds.exports=aE});var Fs=F((uH,xs)=>{l();c();d();var oE=ms(),uE=ys(),iE=Es(),sE=vs(),lE=Cs();function It(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var Ss=Fs(),cE=pr(),dE=Gr();function pE(){this.size=0,this.__data__={hash:new Ss,map:new(dE||cE),string:new Ss}}ws.exports=pE});var Is=F((hH,Ts)=>{l();c();d();function fE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}Ts.exports=fE});var mr=F((bH,_s)=>{l();c();d();var hE=Is();function mE(e,t){var r=e.__data__;return hE(t)?r[typeof t=="string"?"string":"hash"]:r.map}_s.exports=mE});var Rs=F((DH,Os)=>{l();c();d();var gE=mr();function yE(e){var t=gE(this,e).delete(e);return this.size-=t?1:0,t}Os.exports=yE});var ks=F((SH,Ps)=>{l();c();d();var bE=mr();function EE(e){return bE(this,e).get(e)}Ps.exports=EE});var Ls=F((IH,Ns)=>{l();c();d();var AE=mr();function vE(e){return AE(this,e).has(e)}Ns.exports=vE});var Ms=F((PH,qs)=>{l();c();d();var DE=mr();function CE(e,t){var r=DE(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}qs.exports=CE});var Vr=F((qH,js)=>{l();c();d();var xE=Bs(),FE=Rs(),SE=ks(),wE=Ls(),BE=Ms();function _t(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{l();c();d();var TE=pr(),IE=Gr(),_E=Vr(),OE=200;function RE(e,t){var r=this.__data__;if(r instanceof TE){var n=r.__data__;if(!IE||n.length{l();c();d();var PE=pr(),kE=Ri(),NE=ki(),LE=Li(),qE=Mi(),ME=Hs();function Ot(e){var t=this.__data__=new PE(e);this.size=t.size}Ot.prototype.clear=kE;Ot.prototype.delete=NE;Ot.prototype.get=LE;Ot.prototype.has=qE;Ot.prototype.set=ME;Us.exports=Ot});var Gs=F((XH,zs)=>{l();c();d();var jE="__lodash_hash_undefined__";function $E(e){return this.__data__.set(e,jE),this}zs.exports=$E});var Ws=F((eU,Vs)=>{l();c();d();function HE(e){return this.__data__.has(e)}Vs.exports=HE});var Ra=F((aU,Ks)=>{l();c();d();var UE=Vr(),zE=Gs(),GE=Ws();function Kr(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new UE;++t{l();c();d();function VE(e,t){for(var r=-1,n=e==null?0:e.length;++r{l();c();d();function WE(e,t){return e.has(t)}Js.exports=WE});var ka=F((gU,Qs)=>{l();c();d();var KE=Ra(),YE=Xs(),XE=Pa(),JE=1,QE=2;function ZE(e,t,r,n,a,o){var u=r&JE,i=e.length,s=t.length;if(i!=s&&!(u&&s>i))return!1;var p=o.get(e),y=o.get(t);if(p&&y)return p==t&&y==e;var A=-1,g=!0,h=r&QE?new KE:void 0;for(o.set(e,t),o.set(t,e);++A{l();c();d();var eA=ke(),tA=eA.Uint8Array;Zs.exports=tA});var tl=F((xU,el)=>{l();c();d();function rA(e){var t=-1,r=Array(e.size);return e.forEach(function(n,a){r[++t]=[a,n]}),r}el.exports=rA});var Yr=F((BU,rl)=>{l();c();d();function nA(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}rl.exports=nA});var il=F((OU,ul)=>{l();c();d();var nl=pt(),al=Na(),aA=zr(),oA=ka(),uA=tl(),iA=Yr(),sA=1,lA=2,cA="[object Boolean]",dA="[object Date]",pA="[object Error]",fA="[object Map]",hA="[object Number]",mA="[object RegExp]",gA="[object Set]",yA="[object String]",bA="[object Symbol]",EA="[object ArrayBuffer]",AA="[object DataView]",ol=nl?nl.prototype:void 0,La=ol?ol.valueOf:void 0;function vA(e,t,r,n,a,o,u){switch(r){case AA:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case EA:return!(e.byteLength!=t.byteLength||!o(new al(e),new al(t)));case cA:case dA:case hA:return aA(+e,+t);case pA:return e.name==t.name&&e.message==t.message;case mA:case yA:return e==t+"";case fA:var i=uA;case gA:var s=n&sA;if(i||(i=iA),e.size!=t.size&&!s)return!1;var p=u.get(e);if(p)return p==t;n|=lA,u.set(e,t);var y=oA(i(e),i(t),n,a,o,u);return u.delete(e),y;case bA:if(La)return La.call(e)==La.call(t)}return!1}ul.exports=vA});var Xr=F((NU,sl)=>{l();c();d();function DA(e,t){for(var r=-1,n=t.length,a=e.length;++r{l();c();d();var CA=Array.isArray;ll.exports=CA});var qa=F((zU,cl)=>{l();c();d();var xA=Xr(),FA=je();function SA(e,t,r){var n=t(e);return FA(e)?n:xA(n,r(e))}cl.exports=SA});var pl=F((KU,dl)=>{l();c();d();function wA(e,t){for(var r=-1,n=e==null?0:e.length,a=0,o=[];++r{l();c();d();function BA(){return[]}fl.exports=BA});var Jr=F((rz,ml)=>{l();c();d();var TA=pl(),IA=Ma(),_A=Object.prototype,OA=_A.propertyIsEnumerable,hl=Object.getOwnPropertySymbols,RA=hl?function(e){return e==null?[]:(e=Object(e),TA(hl(e),function(t){return OA.call(e,t)}))}:IA;ml.exports=RA});var yl=F((uz,gl)=>{l();c();d();function PA(e,t){for(var r=-1,n=Array(e);++r{l();c();d();function kA(e){return e!=null&&typeof e=="object"}bl.exports=kA});var Al=F((hz,El)=>{l();c();d();var NA=ft(),LA=Ke(),qA="[object Arguments]";function MA(e){return LA(e)&&NA(e)==qA}El.exports=MA});var Qr=F((bz,Cl)=>{l();c();d();var vl=Al(),jA=Ke(),Dl=Object.prototype,$A=Dl.hasOwnProperty,HA=Dl.propertyIsEnumerable,UA=vl(function(){return arguments}())?vl:function(e){return jA(e)&&$A.call(e,"callee")&&!HA.call(e,"callee")};Cl.exports=UA});var Fl=F((Dz,xl)=>{l();c();d();function zA(){return!1}xl.exports=zA});var Zr=F((gr,Rt)=>{l();c();d();var GA=ke(),VA=Fl(),Bl=typeof gr=="object"&&gr&&!gr.nodeType&&gr,Sl=Bl&&typeof Rt=="object"&&Rt&&!Rt.nodeType&&Rt,WA=Sl&&Sl.exports===Bl,wl=WA?GA.Buffer:void 0,KA=wl?wl.isBuffer:void 0,YA=KA||VA;Rt.exports=YA});var en=F((Tz,Tl)=>{l();c();d();var XA=9007199254740991,JA=/^(?:0|[1-9]\d*)$/;function QA(e,t){var r=typeof e;return t=t??XA,!!t&&(r=="number"||r!="symbol"&&JA.test(e))&&e>-1&&e%1==0&&e{l();c();d();var ZA=9007199254740991;function ev(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ZA}Il.exports=ev});var Ol=F((Lz,_l)=>{l();c();d();var tv=ft(),rv=tn(),nv=Ke(),av="[object Arguments]",ov="[object Array]",uv="[object Boolean]",iv="[object Date]",sv="[object Error]",lv="[object Function]",cv="[object Map]",dv="[object Number]",pv="[object Object]",fv="[object RegExp]",hv="[object Set]",mv="[object String]",gv="[object WeakMap]",yv="[object ArrayBuffer]",bv="[object DataView]",Ev="[object Float32Array]",Av="[object Float64Array]",vv="[object Int8Array]",Dv="[object Int16Array]",Cv="[object Int32Array]",xv="[object Uint8Array]",Fv="[object Uint8ClampedArray]",Sv="[object Uint16Array]",wv="[object Uint32Array]",le={};le[Ev]=le[Av]=le[vv]=le[Dv]=le[Cv]=le[xv]=le[Fv]=le[Sv]=le[wv]=!0;le[av]=le[ov]=le[yv]=le[uv]=le[bv]=le[iv]=le[sv]=le[lv]=le[cv]=le[dv]=le[pv]=le[fv]=le[hv]=le[mv]=le[gv]=!1;function Bv(e){return nv(e)&&rv(e.length)&&!!le[tv(e)]}_l.exports=Bv});var rn=F(($z,Rl)=>{l();c();d();function Tv(e){return function(t){return e(t)}}Rl.exports=Tv});var nn=F((yr,Pt)=>{l();c();d();var Iv=Ta(),Pl=typeof yr=="object"&&yr&&!yr.nodeType&&yr,br=Pl&&typeof Pt=="object"&&Pt&&!Pt.nodeType&&Pt,_v=br&&br.exports===Pl,ja=_v&&Iv.process,Ov=function(){try{var e=br&&br.require&&br.require("util").types;return e||ja&&ja.binding&&ja.binding("util")}catch{}}();Pt.exports=Ov});var $a=F((Kz,Ll)=>{l();c();d();var Rv=Ol(),Pv=rn(),kl=nn(),Nl=kl&&kl.isTypedArray,kv=Nl?Pv(Nl):Rv;Ll.exports=kv});var Ha=F((Qz,ql)=>{l();c();d();var Nv=yl(),Lv=Qr(),qv=je(),Mv=Zr(),jv=en(),$v=$a(),Hv=Object.prototype,Uv=Hv.hasOwnProperty;function zv(e,t){var r=qv(e),n=!r&&Lv(e),a=!r&&!n&&Mv(e),o=!r&&!n&&!a&&$v(e),u=r||n||a||o,i=u?Nv(e.length,String):[],s=i.length;for(var p in e)(t||Uv.call(e,p))&&!(u&&(p=="length"||a&&(p=="offset"||p=="parent")||o&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||jv(p,s)))&&i.push(p);return i}ql.exports=zv});var an=F((rG,Ml)=>{l();c();d();var Gv=Object.prototype;function Vv(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Gv;return e===r}Ml.exports=Vv});var Ua=F((uG,jl)=>{l();c();d();function Wv(e,t){return function(r){return e(t(r))}}jl.exports=Wv});var Hl=F((cG,$l)=>{l();c();d();var Kv=Ua(),Yv=Kv(Object.keys,Object);$l.exports=Yv});var zl=F((hG,Ul)=>{l();c();d();var Xv=an(),Jv=Hl(),Qv=Object.prototype,Zv=Qv.hasOwnProperty;function eD(e){if(!Xv(e))return Jv(e);var t=[];for(var r in Object(e))Zv.call(e,r)&&r!="constructor"&&t.push(r);return t}Ul.exports=eD});var za=F((bG,Gl)=>{l();c();d();var tD=Ia(),rD=tn();function nD(e){return e!=null&&rD(e.length)&&!tD(e)}Gl.exports=nD});var kt=F((DG,Vl)=>{l();c();d();var aD=Ha(),oD=zl(),uD=za();function iD(e){return uD(e)?aD(e):oD(e)}Vl.exports=iD});var Ga=F((SG,Wl)=>{l();c();d();var sD=qa(),lD=Jr(),cD=kt();function dD(e){return sD(e,cD,lD)}Wl.exports=dD});var Xl=F((IG,Yl)=>{l();c();d();var Kl=Ga(),pD=1,fD=Object.prototype,hD=fD.hasOwnProperty;function mD(e,t,r,n,a,o){var u=r&pD,i=Kl(e),s=i.length,p=Kl(t),y=p.length;if(s!=y&&!u)return!1;for(var A=s;A--;){var g=i[A];if(!(u?g in t:hD.call(t,g)))return!1}var h=o.get(e),E=o.get(t);if(h&&E)return h==t&&E==e;var b=!0;o.set(e,t),o.set(t,e);for(var x=u;++A{l();c();d();var gD=rt(),yD=ke(),bD=gD(yD,"DataView");Jl.exports=bD});var ec=F((qG,Zl)=>{l();c();d();var ED=rt(),AD=ke(),vD=ED(AD,"Promise");Zl.exports=vD});var Va=F((HG,tc)=>{l();c();d();var DD=rt(),CD=ke(),xD=DD(CD,"Set");tc.exports=xD});var nc=F((VG,rc)=>{l();c();d();var FD=rt(),SD=ke(),wD=FD(SD,"WeakMap");rc.exports=wD});var Er=F((XG,cc)=>{l();c();d();var Wa=Ql(),Ka=Gr(),Ya=ec(),Xa=Va(),Ja=nc(),lc=ft(),Nt=Oa(),ac="[object Map]",BD="[object Object]",oc="[object Promise]",uc="[object Set]",ic="[object WeakMap]",sc="[object DataView]",TD=Nt(Wa),ID=Nt(Ka),_D=Nt(Ya),OD=Nt(Xa),RD=Nt(Ja),ht=lc;(Wa&&ht(new Wa(new ArrayBuffer(1)))!=sc||Ka&&ht(new Ka)!=ac||Ya&&ht(Ya.resolve())!=oc||Xa&&ht(new Xa)!=uc||Ja&&ht(new Ja)!=ic)&&(ht=function(e){var t=lc(e),r=t==BD?e.constructor:void 0,n=r?Nt(r):"";if(n)switch(n){case TD:return sc;case ID:return ac;case _D:return oc;case OD:return uc;case RD:return ic}return t});cc.exports=ht});var bc=F((eV,yc)=>{l();c();d();var Qa=Wr(),PD=ka(),kD=il(),ND=Xl(),dc=Er(),pc=je(),fc=Zr(),LD=$a(),qD=1,hc="[object Arguments]",mc="[object Array]",on="[object Object]",MD=Object.prototype,gc=MD.hasOwnProperty;function jD(e,t,r,n,a,o){var u=pc(e),i=pc(t),s=u?mc:dc(e),p=i?mc:dc(t);s=s==hc?on:s,p=p==hc?on:p;var y=s==on,A=p==on,g=s==p;if(g&&fc(e)){if(!fc(t))return!1;u=!0,y=!1}if(g&&!y)return o||(o=new Qa),u||LD(e)?PD(e,t,r,n,a,o):kD(e,t,s,r,n,a,o);if(!(r&qD)){var h=y&&gc.call(e,"__wrapped__"),E=A&&gc.call(t,"__wrapped__");if(h||E){var b=h?e.value():e,x=E?t.value():t;return o||(o=new Qa),a(b,x,r,n,o)}}return g?(o||(o=new Qa),ND(e,t,r,n,a,o)):!1}yc.exports=jD});var Za=F((aV,vc)=>{l();c();d();var $D=bc(),Ec=Ke();function Ac(e,t,r,n,a){return e===t?!0:e==null||t==null||!Ec(e)&&!Ec(t)?e!==e&&t!==t:$D(e,t,r,n,Ac,a)}vc.exports=Ac});var Cc=F((sV,Dc)=>{l();c();d();var HD=Wr(),UD=Za(),zD=1,GD=2;function VD(e,t,r,n){var a=r.length,o=a,u=!n;if(e==null)return!o;for(e=Object(e);a--;){var i=r[a];if(u&&i[2]?i[1]!==e[i[0]]:!(i[0]in e))return!1}for(;++a{l();c();d();var WD=Me();function KD(e){return e===e&&!WD(e)}xc.exports=KD});var Sc=F((gV,Fc)=>{l();c();d();var YD=eo(),XD=kt();function JD(e){for(var t=XD(e),r=t.length;r--;){var n=t[r],a=e[n];t[r]=[n,a,YD(a)]}return t}Fc.exports=JD});var to=F((AV,wc)=>{l();c();d();function QD(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}wc.exports=QD});var Tc=F((xV,Bc)=>{l();c();d();var ZD=Cc(),eC=Sc(),tC=to();function rC(e){var t=eC(e);return t.length==1&&t[0][2]?tC(t[0][0],t[0][1]):function(r){return r===e||ZD(r,e,t)}}Bc.exports=rC});var Ar=F((BV,Ic)=>{l();c();d();var nC=ft(),aC=Ke(),oC="[object Symbol]";function uC(e){return typeof e=="symbol"||aC(e)&&nC(e)==oC}Ic.exports=uC});var un=F((OV,_c)=>{l();c();d();var iC=je(),sC=Ar(),lC=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,cC=/^\w*$/;function dC(e,t){if(iC(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||sC(e)?!0:cC.test(e)||!lC.test(e)||t!=null&&e in Object(t)}_c.exports=dC});var Pc=F((NV,Rc)=>{l();c();d();var Oc=Vr(),pC="Expected a function";function ro(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(pC);var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var u=e.apply(this,n);return r.cache=o.set(a,u)||o,u};return r.cache=new(ro.Cache||Oc),r}ro.Cache=Oc;Rc.exports=ro});var Nc=F((jV,kc)=>{l();c();d();var fC=Pc(),hC=500;function mC(e){var t=fC(e,function(n){return r.size===hC&&r.clear(),n}),r=t.cache;return t}kc.exports=mC});var qc=F((zV,Lc)=>{l();c();d();var gC=Nc(),yC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,bC=/\\(\\)?/g,EC=gC(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(yC,function(r,n,a,o){t.push(a?o.replace(bC,"$1"):n||r)}),t});Lc.exports=EC});var zc=F((KV,Uc)=>{l();c();d();var Mc=pt(),AC=Ba(),vC=je(),DC=Ar(),CC=1/0,jc=Mc?Mc.prototype:void 0,$c=jc?jc.toString:void 0;function Hc(e){if(typeof e=="string")return e;if(vC(e))return AC(e,Hc)+"";if(DC(e))return $c?$c.call(e):"";var t=e+"";return t=="0"&&1/e==-CC?"-0":t}Uc.exports=Hc});var Vc=F((QV,Gc)=>{l();c();d();var xC=zc();function FC(e){return e==null?"":xC(e)}Gc.exports=FC});var vr=F((rW,Wc)=>{l();c();d();var SC=je(),wC=un(),BC=qc(),TC=Vc();function IC(e,t){return SC(e)?e:wC(e,t)?[e]:BC(TC(e))}Wc.exports=IC});var Lt=F((uW,Kc)=>{l();c();d();var _C=Ar(),OC=1/0;function RC(e){if(typeof e=="string"||_C(e))return e;var t=e+"";return t=="0"&&1/e==-OC?"-0":t}Kc.exports=RC});var sn=F((cW,Yc)=>{l();c();d();var PC=vr(),kC=Lt();function NC(e,t){t=PC(t,e);for(var r=0,n=t.length;e!=null&&r{l();c();d();var LC=sn();function qC(e,t,r){var n=e==null?void 0:LC(e,t);return n===void 0?r:n}Xc.exports=qC});var Zc=F((bW,Qc)=>{l();c();d();function MC(e,t){return e!=null&&t in Object(e)}Qc.exports=MC});var td=F((DW,ed)=>{l();c();d();var jC=vr(),$C=Qr(),HC=je(),UC=en(),zC=tn(),GC=Lt();function VC(e,t,r){t=jC(t,e);for(var n=-1,a=t.length,o=!1;++n{l();c();d();var WC=Zc(),KC=td();function YC(e,t){return e!=null&&KC(e,t,WC)}rd.exports=YC});var ad=F((IW,nd)=>{l();c();d();var XC=Za(),JC=Jc(),QC=no(),ZC=un(),ex=eo(),tx=to(),rx=Lt(),nx=1,ax=2;function ox(e,t){return ZC(e)&&ex(t)?tx(rx(e),t):function(r){var n=JC(r,e);return n===void 0&&n===t?QC(r,e):XC(t,n,nx|ax)}}nd.exports=ox});var ao=F((PW,od)=>{l();c();d();function ux(e){return e}od.exports=ux});var id=F((qW,ud)=>{l();c();d();function ix(e){return function(t){return t?.[e]}}ud.exports=ix});var ld=F((HW,sd)=>{l();c();d();var sx=sn();function lx(e){return function(t){return sx(t,e)}}sd.exports=lx});var dd=F((VW,cd)=>{l();c();d();var cx=id(),dx=ld(),px=un(),fx=Lt();function hx(e){return px(e)?cx(fx(e)):dx(e)}cd.exports=hx});var oo=F((XW,pd)=>{l();c();d();var mx=Tc(),gx=ad(),yx=ao(),bx=je(),Ex=dd();function Ax(e){return typeof e=="function"?e:e==null?yx:typeof e=="object"?bx(e)?gx(e[0],e[1]):mx(e):Ex(e)}pd.exports=Ax});var uo=F((eK,fd)=>{l();c();d();var vx=rt(),Dx=function(){try{var e=vx(Object,"defineProperty");return e({},"",{}),e}catch{}}();fd.exports=Dx});var ln=F((aK,md)=>{l();c();d();var hd=uo();function Cx(e,t,r){t=="__proto__"&&hd?hd(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}md.exports=Cx});var cn=F((sK,gd)=>{l();c();d();var xx=ln(),Fx=zr(),Sx=Object.prototype,wx=Sx.hasOwnProperty;function Bx(e,t,r){var n=e[t];(!(wx.call(e,t)&&Fx(n,r))||r===void 0&&!(t in e))&&xx(e,t,r)}gd.exports=Bx});var Ed=F((pK,bd)=>{l();c();d();var Tx=cn(),Ix=vr(),_x=en(),yd=Me(),Ox=Lt();function Rx(e,t,r,n){if(!yd(e))return e;t=Ix(t,e);for(var a=-1,o=t.length,u=o-1,i=e;i!=null&&++a{l();c();d();var Px=sn(),kx=Ed(),Nx=vr();function Lx(e,t,r){for(var n=-1,a=t.length,o={};++n{l();c();d();var qx=Ua(),Mx=qx(Object.getPrototypeOf,Object);vd.exports=Mx});var so=F((xK,Dd)=>{l();c();d();var jx=Xr(),$x=dn(),Hx=Jr(),Ux=Ma(),zx=Object.getOwnPropertySymbols,Gx=zx?function(e){for(var t=[];e;)jx(t,Hx(e)),e=$x(e);return t}:Ux;Dd.exports=Gx});var xd=F((BK,Cd)=>{l();c();d();function Vx(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}Cd.exports=Vx});var Sd=F((OK,Fd)=>{l();c();d();var Wx=Me(),Kx=an(),Yx=xd(),Xx=Object.prototype,Jx=Xx.hasOwnProperty;function Qx(e){if(!Wx(e))return Yx(e);var t=Kx(e),r=[];for(var n in e)n=="constructor"&&(t||!Jx.call(e,n))||r.push(n);return r}Fd.exports=Qx});var pn=F((NK,wd)=>{l();c();d();var Zx=Ha(),eF=Sd(),tF=za();function rF(e){return tF(e)?Zx(e,!0):eF(e)}wd.exports=rF});var lo=F((jK,Bd)=>{l();c();d();var nF=qa(),aF=so(),oF=pn();function uF(e){return nF(e,oF,aF)}Bd.exports=uF});var co=F((zK,Td)=>{l();c();d();var iF=Ba(),sF=oo(),lF=io(),cF=lo();function dF(e,t){if(e==null)return{};var r=iF(cF(e),function(n){return[n]});return t=sF(t),lF(e,r,function(n,a){return t(n,a[0])})}Td.exports=dF});var hn=F((up,Do)=>{l();c();d();(function(e){if(typeof up=="object"&&typeof Do<"u")Do.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,r;return function n(a,o,u){function i(y,A){if(!o[y]){if(!a[y]){var g=typeof nr=="function"&&nr;if(!A&&g)return g(y,!0);if(s)return s(y,!0);var h=new Error("Cannot find module '"+y+"'");throw h.code="MODULE_NOT_FOUND",h}var E=o[y]={exports:{}};a[y][0].call(E.exports,function(b){var x=a[y][1][b];return i(x||b)},E,E.exports,n,a,o,u)}return o[y].exports}for(var s=typeof nr=="function"&&nr,p=0;p=0)return this.lastItem=this.list[s],this.list[s].val},u.prototype.set=function(i,s){var p;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(p=this.indexOf(i),p>=0?(this.lastItem=this.list[p],this.list[p].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},u.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},u.prototype.forEach=function(i,s){var p;for(p=0;p0&&(I[w]={cacheItem:b,arg:arguments[w]},L?i(g,I):g.push(I),g.length>y&&s(g.shift())),E.wasMemoized=L,E.numArgs=w+1,B};return E.limit=y,E.wasMemoized=!1,E.cache=A,E.lru=g,E}};function i(y,A){var g=y.length,h=A.length,E,b,x;for(b=0;b=0&&(g=y[E],h=g.cacheItem.get(g.arg),!h||!h.size);E--)g.cacheItem.delete(g.arg)}function p(y,A){return y===A||y!==y&&A!==A}},{"map-or-similar":1}]},{},[3])(3)})});var sp=F((pY,ip)=>{l();c();d();function SS(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o{l();c();d();function wS(e){return e!==e}lp.exports=wS});var pp=F((AY,dp)=>{l();c();d();function BS(e,t,r){for(var n=r-1,a=e.length;++n{l();c();d();var TS=sp(),IS=cp(),_S=pp();function OS(e,t,r){return t===t?_S(e,t,r):TS(e,IS,r)}fp.exports=OS});var gp=F((BY,mp)=>{l();c();d();var RS=hp();function PS(e,t){var r=e==null?0:e.length;return!!r&&RS(e,t,0)>-1}mp.exports=PS});var bp=F((OY,yp)=>{l();c();d();function kS(e,t,r){for(var n=-1,a=e==null?0:e.length;++n{l();c();d();function NS(){}Ep.exports=NS});var Dp=F((jY,vp)=>{l();c();d();var Co=Va(),LS=Ap(),qS=Yr(),MS=1/0,jS=Co&&1/qS(new Co([,-0]))[1]==MS?function(e){return new Co(e)}:LS;vp.exports=jS});var xp=F((zY,Cp)=>{l();c();d();var $S=Ra(),HS=gp(),US=bp(),zS=Pa(),GS=Dp(),VS=Yr(),WS=200;function KS(e,t,r){var n=-1,a=HS,o=e.length,u=!0,i=[],s=i;if(r)u=!1,a=US;else if(o>=WS){var p=t?null:GS(e);if(p)return VS(p);u=!1,a=zS,s=new $S}else s=t?[]:i;e:for(;++n{l();c();d();var YS=xp();function XS(e){return e&&e.length?YS(e):[]}Fp.exports=XS});var Bp=F((QY,wp)=>{l();c();d();function JS(e,t){for(var r=-1,n=e==null?0:e.length;++r{l();c();d();var QS=cn(),ZS=ln();function ew(e,t,r,n){var a=!r;r||(r={});for(var o=-1,u=t.length;++o{l();c();d();var tw=Cr(),rw=kt();function nw(e,t){return e&&tw(t,rw(t),e)}Ip.exports=nw});var Rp=F((cX,Op)=>{l();c();d();var aw=Cr(),ow=pn();function uw(e,t){return e&&aw(t,ow(t),e)}Op.exports=uw});var qp=F((xr,Mt)=>{l();c();d();var iw=ke(),Lp=typeof xr=="object"&&xr&&!xr.nodeType&&xr,Pp=Lp&&typeof Mt=="object"&&Mt&&!Mt.nodeType&&Mt,sw=Pp&&Pp.exports===Lp,kp=sw?iw.Buffer:void 0,Np=kp?kp.allocUnsafe:void 0;function lw(e,t){if(t)return e.slice();var r=e.length,n=Np?Np(r):new e.constructor(r);return e.copy(n),n}Mt.exports=lw});var jp=F((yX,Mp)=>{l();c();d();function cw(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{l();c();d();var dw=Cr(),pw=Jr();function fw(e,t){return dw(e,pw(e),t)}$p.exports=fw});var zp=F((FX,Up)=>{l();c();d();var hw=Cr(),mw=so();function gw(e,t){return hw(e,mw(e),t)}Up.exports=gw});var Vp=F((TX,Gp)=>{l();c();d();var yw=Object.prototype,bw=yw.hasOwnProperty;function Ew(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&bw.call(e,"index")&&(r.index=e.index,r.input=e.input),r}Gp.exports=Ew});var mn=F((RX,Kp)=>{l();c();d();var Wp=Na();function Aw(e){var t=new e.constructor(e.byteLength);return new Wp(t).set(new Wp(e)),t}Kp.exports=Aw});var Xp=F((LX,Yp)=>{l();c();d();var vw=mn();function Dw(e,t){var r=t?vw(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}Yp.exports=Dw});var Qp=F(($X,Jp)=>{l();c();d();var Cw=/\w*$/;function xw(e){var t=new e.constructor(e.source,Cw.exec(e));return t.lastIndex=e.lastIndex,t}Jp.exports=xw});var n0=F((GX,r0)=>{l();c();d();var Zp=pt(),e0=Zp?Zp.prototype:void 0,t0=e0?e0.valueOf:void 0;function Fw(e){return t0?Object(t0.call(e)):{}}r0.exports=Fw});var o0=F((YX,a0)=>{l();c();d();var Sw=mn();function ww(e,t){var r=t?Sw(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}a0.exports=ww});var i0=F((ZX,u0)=>{l();c();d();var Bw=mn(),Tw=Xp(),Iw=Qp(),_w=n0(),Ow=o0(),Rw="[object Boolean]",Pw="[object Date]",kw="[object Map]",Nw="[object Number]",Lw="[object RegExp]",qw="[object Set]",Mw="[object String]",jw="[object Symbol]",$w="[object ArrayBuffer]",Hw="[object DataView]",Uw="[object Float32Array]",zw="[object Float64Array]",Gw="[object Int8Array]",Vw="[object Int16Array]",Ww="[object Int32Array]",Kw="[object Uint8Array]",Yw="[object Uint8ClampedArray]",Xw="[object Uint16Array]",Jw="[object Uint32Array]";function Qw(e,t,r){var n=e.constructor;switch(t){case $w:return Bw(e);case Rw:case Pw:return new n(+e);case Hw:return Tw(e,r);case Uw:case zw:case Gw:case Vw:case Ww:case Kw:case Yw:case Xw:case Jw:return Ow(e,r);case kw:return new n;case Nw:case Mw:return new n(e);case Lw:return Iw(e);case qw:return new n;case jw:return _w(e)}}u0.exports=Qw});var c0=F((nJ,l0)=>{l();c();d();var Zw=Me(),s0=Object.create,e5=function(){function e(){}return function(t){if(!Zw(t))return{};if(s0)return s0(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();l0.exports=e5});var p0=F((iJ,d0)=>{l();c();d();var t5=c0(),r5=dn(),n5=an();function a5(e){return typeof e.constructor=="function"&&!n5(e)?t5(r5(e)):{}}d0.exports=a5});var h0=F((dJ,f0)=>{l();c();d();var o5=Er(),u5=Ke(),i5="[object Map]";function s5(e){return u5(e)&&o5(e)==i5}f0.exports=s5});var b0=F((mJ,y0)=>{l();c();d();var l5=h0(),c5=rn(),m0=nn(),g0=m0&&m0.isMap,d5=g0?c5(g0):l5;y0.exports=d5});var A0=F((EJ,E0)=>{l();c();d();var p5=Er(),f5=Ke(),h5="[object Set]";function m5(e){return f5(e)&&p5(e)==h5}E0.exports=m5});var x0=F((CJ,C0)=>{l();c();d();var g5=A0(),y5=rn(),v0=nn(),D0=v0&&v0.isSet,b5=D0?y5(D0):g5;C0.exports=b5});var T0=F((wJ,B0)=>{l();c();d();var E5=Wr(),A5=Bp(),v5=cn(),D5=_p(),C5=Rp(),x5=qp(),F5=jp(),S5=Hp(),w5=zp(),B5=Ga(),T5=lo(),I5=Er(),_5=Vp(),O5=i0(),R5=p0(),P5=je(),k5=Zr(),N5=b0(),L5=Me(),q5=x0(),M5=kt(),j5=pn(),$5=1,H5=2,U5=4,F0="[object Arguments]",z5="[object Array]",G5="[object Boolean]",V5="[object Date]",W5="[object Error]",S0="[object Function]",K5="[object GeneratorFunction]",Y5="[object Map]",X5="[object Number]",w0="[object Object]",J5="[object RegExp]",Q5="[object Set]",Z5="[object String]",e3="[object Symbol]",t3="[object WeakMap]",r3="[object ArrayBuffer]",n3="[object DataView]",a3="[object Float32Array]",o3="[object Float64Array]",u3="[object Int8Array]",i3="[object Int16Array]",s3="[object Int32Array]",l3="[object Uint8Array]",c3="[object Uint8ClampedArray]",d3="[object Uint16Array]",p3="[object Uint32Array]",se={};se[F0]=se[z5]=se[r3]=se[n3]=se[G5]=se[V5]=se[a3]=se[o3]=se[u3]=se[i3]=se[s3]=se[Y5]=se[X5]=se[w0]=se[J5]=se[Q5]=se[Z5]=se[e3]=se[l3]=se[c3]=se[d3]=se[p3]=!0;se[W5]=se[S0]=se[t3]=!1;function gn(e,t,r,n,a,o){var u,i=t&$5,s=t&H5,p=t&U5;if(r&&(u=a?r(e,n,a,o):r(e)),u!==void 0)return u;if(!L5(e))return e;var y=P5(e);if(y){if(u=_5(e),!i)return F5(e,u)}else{var A=I5(e),g=A==S0||A==K5;if(k5(e))return x5(e,i);if(A==w0||A==F0||g&&!a){if(u=s||g?{}:R5(e),!i)return s?w5(e,C5(u,e)):S5(e,D5(u,e))}else{if(!se[A])return a?e:{};u=O5(e,A,i)}}o||(o=new E5);var h=o.get(e);if(h)return h;o.set(e,u),q5(e)?e.forEach(function(x){u.add(gn(x,t,r,x,e,o))}):N5(e)&&e.forEach(function(x,B){u.set(B,gn(x,t,r,B,e,o))});var E=p?s?T5:B5:s?j5:M5,b=y?void 0:E(e);return A5(b||e,function(x,B){b&&(B=x,x=e[B]),v5(u,B,gn(x,t,r,B,e,o))}),u}B0.exports=gn});var _0=F((_J,I0)=>{l();c();d();var f3=T0(),h3=1,m3=4;function g3(e){return f3(e,h3|m3)}I0.exports=g3});var q0=F((dQ,L0)=>{l();c();d();function $3(e){return function(t,r,n){for(var a=-1,o=Object(t),u=n(t),i=u.length;i--;){var s=u[e?i:++a];if(r(o[s],s,o)===!1)break}return t}}L0.exports=$3});var j0=F((mQ,M0)=>{l();c();d();var H3=q0(),U3=H3();M0.exports=U3});var H0=F((EQ,$0)=>{l();c();d();var z3=j0(),G3=kt();function V3(e,t){return e&&z3(e,t,G3)}$0.exports=V3});var Fo=F((CQ,U0)=>{l();c();d();var W3=ln(),K3=H0(),Y3=oo();function X3(e,t){var r={};return t=Y3(t,3),K3(e,function(n,a,o){W3(r,a,t(n,a,o))}),r}U0.exports=X3});var G0=F((wQ,z0)=>{l();c();d();var J3=io(),Q3=no();function Z3(e,t){return J3(e,t,function(r,n){return Q3(e,n)})}z0.exports=Z3});var Y0=F((_Q,K0)=>{l();c();d();var V0=pt(),eB=Qr(),tB=je(),W0=V0?V0.isConcatSpreadable:void 0;function rB(e){return tB(e)||eB(e)||!!(W0&&e&&e[W0])}K0.exports=rB});var Q0=F((kQ,J0)=>{l();c();d();var nB=Xr(),aB=Y0();function X0(e,t,r,n,a){var o=-1,u=e.length;for(r||(r=aB),a||(a=[]);++o0&&r(i)?t>1?X0(i,t-1,r,n,a):nB(a,i):n||(a[a.length]=i)}return a}J0.exports=X0});var ef=F((MQ,Z0)=>{l();c();d();var oB=Q0();function uB(e){var t=e==null?0:e.length;return t?oB(e,1):[]}Z0.exports=uB});var rf=F((UQ,tf)=>{l();c();d();function iB(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}tf.exports=iB});var of=F((WQ,af)=>{l();c();d();var sB=rf(),nf=Math.max;function lB(e,t,r){return t=nf(t===void 0?e.length-1:t,0),function(){for(var n=arguments,a=-1,o=nf(n.length-t,0),u=Array(o);++a{l();c();d();function cB(e){return function(){return e}}uf.exports=cB});var df=F((tZ,cf)=>{l();c();d();var dB=sf(),lf=uo(),pB=ao(),fB=lf?function(e,t){return lf(e,"toString",{configurable:!0,enumerable:!1,value:dB(t),writable:!0})}:pB;cf.exports=fB});var ff=F((oZ,pf)=>{l();c();d();var hB=800,mB=16,gB=Date.now;function yB(e){var t=0,r=0;return function(){var n=gB(),a=mB-(n-r);if(r=n,a>0){if(++t>=hB)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}pf.exports=yB});var mf=F((lZ,hf)=>{l();c();d();var bB=df(),EB=ff(),AB=EB(bB);hf.exports=AB});var yf=F((fZ,gf)=>{l();c();d();var vB=ef(),DB=of(),CB=mf();function xB(e){return CB(DB(e,void 0,vB),e+"")}gf.exports=xB});var Ef=F((yZ,bf)=>{l();c();d();var FB=G0(),SB=yf(),wB=SB(function(e,t){return e==null?{}:FB(e,t)});bf.exports=wB});var Cf=F((GZ,Df)=>{l();c();d();var TB=ft(),IB=dn(),_B=Ke(),OB="[object Object]",RB=Function.prototype,PB=Object.prototype,vf=RB.toString,kB=PB.hasOwnProperty,NB=vf.call(Object);function LB(e){if(!_B(e)||TB(e)!=OB)return!1;var t=IB(e);if(t===null)return!0;var r=kB.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&vf.call(r)==NB}Df.exports=LB});var Ff=F((YZ,xf)=>{l();c();d();xf.exports=qB;function qB(e,t){if(wo("noDeprecation"))return e;var r=!1;function n(){if(!r){if(wo("throwDeprecation"))throw new Error(t);wo("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}return n}function wo(e){try{if(!window.localStorage)return!1}catch{return!1}var t=window.localStorage[e];return t==null?!1:String(t).toLowerCase()==="true"}});var wf=F((nee,Sf)=>{"use strict";l();c();d();Sf.exports=Error});var Tf=F((iee,Bf)=>{"use strict";l();c();d();Bf.exports=EvalError});var _f=F((dee,If)=>{"use strict";l();c();d();If.exports=RangeError});var Rf=F((mee,Of)=>{"use strict";l();c();d();Of.exports=ReferenceError});var Bo=F((Eee,Pf)=>{"use strict";l();c();d();Pf.exports=SyntaxError});var jt=F((Cee,kf)=>{"use strict";l();c();d();kf.exports=TypeError});var Lf=F((wee,Nf)=>{"use strict";l();c();d();Nf.exports=URIError});var Mf=F((_ee,qf)=>{"use strict";l();c();d();qf.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,r);if(u.value!==a||u.enumerable!==!0)return!1}return!0}});var Hf=F((kee,$f)=>{"use strict";l();c();d();var jf=typeof Symbol<"u"&&Symbol,MB=Mf();$f.exports=function(){return typeof jf!="function"||typeof Symbol!="function"||typeof jf("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:MB()}});var zf=F((Mee,Uf)=>{"use strict";l();c();d();var To={__proto__:null,foo:{}},jB=Object;Uf.exports=function(){return{__proto__:To}.foo===To.foo&&!(To instanceof jB)}});var Wf=F((Uee,Vf)=>{"use strict";l();c();d();var $B="Function.prototype.bind called on incompatible ",HB=Object.prototype.toString,UB=Math.max,zB="[object Function]",Gf=function(t,r){for(var n=[],a=0;a{"use strict";l();c();d();var WB=Wf();Kf.exports=Function.prototype.bind||WB});var Xf=F((Jee,Yf)=>{"use strict";l();c();d();var KB=Function.prototype.call,YB=Object.prototype.hasOwnProperty,XB=yn();Yf.exports=XB.call(KB,YB)});var Et=F((tte,th)=>{"use strict";l();c();d();var Z,JB=wf(),QB=Tf(),ZB=_f(),e8=Rf(),zt=Bo(),Ut=jt(),t8=Lf(),eh=Function,Io=function(e){try{return eh('"use strict"; return ('+e+").constructor;")()}catch{}},yt=Object.getOwnPropertyDescriptor;if(yt)try{yt({},"")}catch{yt=null}var _o=function(){throw new Ut},r8=yt?function(){try{return arguments.callee,_o}catch{try{return yt(arguments,"callee").get}catch{return _o}}}():_o,$t=Hf()(),n8=zf()(),Ae=Object.getPrototypeOf||(n8?function(e){return e.__proto__}:null),Ht={},a8=typeof Uint8Array>"u"||!Ae?Z:Ae(Uint8Array),bt={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Z:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Z:ArrayBuffer,"%ArrayIteratorPrototype%":$t&&Ae?Ae([][Symbol.iterator]()):Z,"%AsyncFromSyncIteratorPrototype%":Z,"%AsyncFunction%":Ht,"%AsyncGenerator%":Ht,"%AsyncGeneratorFunction%":Ht,"%AsyncIteratorPrototype%":Ht,"%Atomics%":typeof Atomics>"u"?Z:Atomics,"%BigInt%":typeof BigInt>"u"?Z:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Z:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Z:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Z:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":JB,"%eval%":eval,"%EvalError%":QB,"%Float32Array%":typeof Float32Array>"u"?Z:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Z:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Z:FinalizationRegistry,"%Function%":eh,"%GeneratorFunction%":Ht,"%Int8Array%":typeof Int8Array>"u"?Z:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Z:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Z:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":$t&&Ae?Ae(Ae([][Symbol.iterator]())):Z,"%JSON%":typeof JSON=="object"?JSON:Z,"%Map%":typeof Map>"u"?Z:Map,"%MapIteratorPrototype%":typeof Map>"u"||!$t||!Ae?Z:Ae(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Z:Promise,"%Proxy%":typeof Proxy>"u"?Z:Proxy,"%RangeError%":ZB,"%ReferenceError%":e8,"%Reflect%":typeof Reflect>"u"?Z:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Z:Set,"%SetIteratorPrototype%":typeof Set>"u"||!$t||!Ae?Z:Ae(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Z:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":$t&&Ae?Ae(""[Symbol.iterator]()):Z,"%Symbol%":$t?Symbol:Z,"%SyntaxError%":zt,"%ThrowTypeError%":r8,"%TypedArray%":a8,"%TypeError%":Ut,"%Uint8Array%":typeof Uint8Array>"u"?Z:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Z:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Z:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Z:Uint32Array,"%URIError%":t8,"%WeakMap%":typeof WeakMap>"u"?Z:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Z:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Z:WeakSet};if(Ae)try{null.error}catch(e){Jf=Ae(Ae(e)),bt["%Error.prototype%"]=Jf}var Jf,o8=function e(t){var r;if(t==="%AsyncFunction%")r=Io("async function () {}");else if(t==="%GeneratorFunction%")r=Io("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Io("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var a=e("%AsyncGenerator%");a&&Ae&&(r=Ae(a.prototype))}return bt[t]=r,r},Qf={__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"]},Fr=yn(),bn=Xf(),u8=Fr.call(Function.call,Array.prototype.concat),i8=Fr.call(Function.apply,Array.prototype.splice),Zf=Fr.call(Function.call,String.prototype.replace),En=Fr.call(Function.call,String.prototype.slice),s8=Fr.call(Function.call,RegExp.prototype.exec),l8=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,c8=/\\(\\)?/g,d8=function(t){var r=En(t,0,1),n=En(t,-1);if(r==="%"&&n!=="%")throw new zt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new zt("invalid intrinsic syntax, expected opening `%`");var a=[];return Zf(t,l8,function(o,u,i,s){a[a.length]=i?Zf(s,c8,"$1"):u||o}),a},p8=function(t,r){var n=t,a;if(bn(Qf,n)&&(a=Qf[n],n="%"+a[0]+"%"),bn(bt,n)){var o=bt[n];if(o===Ht&&(o=o8(n)),typeof o>"u"&&!r)throw new Ut("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new zt("intrinsic "+t+" does not exist!")};th.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Ut("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Ut('"allowMissing" argument must be a boolean');if(s8(/^%?[^%]*%?$/,t)===null)throw new zt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=d8(t),a=n.length>0?n[0]:"",o=p8("%"+a+"%",r),u=o.name,i=o.value,s=!1,p=o.alias;p&&(a=p[0],i8(n,u8([0,1],p)));for(var y=1,A=!0;y=n.length){var b=yt(i,g);A=!!b,A&&"get"in b&&!("originalValue"in b.get)?i=b.get:i=i[g]}else A=bn(i,g),i=i[g];A&&!s&&(bt[u]=i)}}return i}});var vn=F((ote,rh)=>{"use strict";l();c();d();var f8=Et(),An=f8("%Object.defineProperty%",!0)||!1;if(An)try{An({},"a",{value:1})}catch{An=!1}rh.exports=An});var Oo=F((lte,nh)=>{"use strict";l();c();d();var h8=Et(),Dn=h8("%Object.getOwnPropertyDescriptor%",!0);if(Dn)try{Dn([],"length")}catch{Dn=null}nh.exports=Dn});var ih=F((fte,uh)=>{"use strict";l();c();d();var ah=vn(),m8=Bo(),Gt=jt(),oh=Oo();uh.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Gt("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Gt("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Gt("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Gt("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Gt("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Gt("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,i=arguments.length>6?arguments[6]:!1,s=!!oh&&oh(t,r);if(ah)ah(t,r,{configurable:u===null&&s?s.configurable:!u,enumerable:a===null&&s?s.enumerable:!a,value:n,writable:o===null&&s?s.writable:!o});else if(i||!a&&!o&&!u)t[r]=n;else throw new m8("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var ch=F((yte,lh)=>{"use strict";l();c();d();var Ro=vn(),sh=function(){return!!Ro};sh.hasArrayLengthDefineBug=function(){if(!Ro)return null;try{return Ro([],"length",{value:1}).length!==1}catch{return!0}};lh.exports=sh});var mh=F((vte,hh)=>{"use strict";l();c();d();var g8=Et(),dh=ih(),y8=ch()(),ph=Oo(),fh=jt(),b8=g8("%Math.floor%");hh.exports=function(t,r){if(typeof t!="function")throw new fh("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||b8(r)!==r)throw new fh("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,o=!0;if("length"in t&&ph){var u=ph(t,"length");u&&!u.configurable&&(a=!1),u&&!u.writable&&(o=!1)}return(a||o||!n)&&(y8?dh(t,"length",r,!0,!0):dh(t,"length",r)),t}});var vh=F((Fte,Cn)=>{"use strict";l();c();d();var Po=yn(),xn=Et(),E8=mh(),A8=jt(),bh=xn("%Function.prototype.apply%"),Eh=xn("%Function.prototype.call%"),Ah=xn("%Reflect.apply%",!0)||Po.call(Eh,bh),gh=vn(),v8=xn("%Math.max%");Cn.exports=function(t){if(typeof t!="function")throw new A8("a function is required");var r=Ah(Po,Eh,arguments);return E8(r,1+v8(0,t.length-(arguments.length-1)),!0)};var yh=function(){return Ah(Po,bh,arguments)};gh?gh(Cn.exports,"apply",{value:yh}):Cn.exports.apply=yh});var Fh=F((Tte,xh)=>{"use strict";l();c();d();var Dh=Et(),Ch=vh(),D8=Ch(Dh("String.prototype.indexOf"));xh.exports=function(t,r){var n=Dh(t,!!r);return typeof n=="function"&&D8(t,".prototype.")>-1?Ch(n):n}});var Sh=F(()=>{l();c();d()});var Vh=F((qte,Gh)=>{l();c();d();var zo=typeof Map=="function"&&Map.prototype,ko=Object.getOwnPropertyDescriptor&&zo?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Sn=zo&&ko&&typeof ko.get=="function"?ko.get:null,wh=zo&&Map.prototype.forEach,Go=typeof Set=="function"&&Set.prototype,No=Object.getOwnPropertyDescriptor&&Go?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,wn=Go&&No&&typeof No.get=="function"?No.get:null,Bh=Go&&Set.prototype.forEach,C8=typeof WeakMap=="function"&&WeakMap.prototype,wr=C8?WeakMap.prototype.has:null,x8=typeof WeakSet=="function"&&WeakSet.prototype,Br=x8?WeakSet.prototype.has:null,F8=typeof WeakRef=="function"&&WeakRef.prototype,Th=F8?WeakRef.prototype.deref:null,S8=Boolean.prototype.valueOf,w8=Object.prototype.toString,B8=Function.prototype.toString,T8=String.prototype.match,Vo=String.prototype.slice,ut=String.prototype.replace,I8=String.prototype.toUpperCase,Ih=String.prototype.toLowerCase,Mh=RegExp.prototype.test,_h=Array.prototype.concat,Ue=Array.prototype.join,_8=Array.prototype.slice,Oh=Math.floor,Mo=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Lo=Object.getOwnPropertySymbols,jo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Vt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",xe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Vt||!0)?Symbol.toStringTag:null,jh=Object.prototype.propertyIsEnumerable,Rh=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function Ph(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Mh.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-Oh(-e):Oh(e);if(n!==e){var a=String(n),o=Vo.call(t,a.length+1);return ut.call(a,r,"$&_")+"."+ut.call(ut.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ut.call(t,r,"$&_")}var $o=Sh(),kh=$o.custom,Nh=Hh(kh)?kh:null;Gh.exports=function e(t,r,n,a){var o=r||{};if(ot(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ot(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=ot(o,"customInspect")?o.customInspect:!0;if(typeof u!="boolean"&&u!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ot(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ot(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=o.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return zh(t,o);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var s=String(t);return i?Ph(t,s):s}if(typeof t=="bigint"){var p=String(t)+"n";return i?Ph(t,p):p}var y=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=y&&y>0&&typeof t=="object")return Ho(t)?"[Array]":"[Object]";var A=Y8(o,n);if(typeof a>"u")a=[];else if(Uh(a,t)>=0)return"[Circular]";function g(K,R,_){if(R&&(a=_8.call(a),a.push(R)),_){var j={depth:o.depth};return ot(o,"quoteStyle")&&(j.quoteStyle=o.quoteStyle),e(K,j,n+1,a)}return e(K,o,n+1,a)}if(typeof t=="function"&&!Lh(t)){var h=j8(t),E=Fn(t,g);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(E.length>0?" { "+Ue.call(E,", ")+" }":"")}if(Hh(t)){var b=Vt?ut.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):jo.call(t);return typeof t=="object"&&!Vt?Sr(b):b}if(V8(t)){for(var x="<"+Ih.call(String(t.nodeName)),B=t.attributes||[],w=0;w",x}if(Ho(t)){if(t.length===0)return"[]";var I=Fn(t,g);return A&&!K8(I)?"["+Uo(I,A)+"]":"[ "+Ue.call(I,", ")+" ]"}if(P8(t)){var L=Fn(t,g);return!("cause"in Error.prototype)&&"cause"in t&&!jh.call(t,"cause")?"{ ["+String(t)+"] "+Ue.call(_h.call("[cause]: "+g(t.cause),L),", ")+" }":L.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ue.call(L,", ")+" }"}if(typeof t=="object"&&u){if(Nh&&typeof t[Nh]=="function"&&$o)return $o(t,{depth:y-n});if(u!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if($8(t)){var S=[];return wh&&wh.call(t,function(K,R){S.push(g(R,t,!0)+" => "+g(K,t))}),qh("Map",Sn.call(t),S,A)}if(z8(t)){var N=[];return Bh&&Bh.call(t,function(K){N.push(g(K,t))}),qh("Set",wn.call(t),N,A)}if(H8(t))return qo("WeakMap");if(G8(t))return qo("WeakSet");if(U8(t))return qo("WeakRef");if(N8(t))return Sr(g(Number(t)));if(q8(t))return Sr(g(Mo.call(t)));if(L8(t))return Sr(S8.call(t));if(k8(t))return Sr(g(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(t===window)return"{ [object globalThis] }";if(!R8(t)&&!Lh(t)){var k=Fn(t,g),U=Rh?Rh(t)===Object.prototype:t instanceof Object||t.constructor===Object,W=t instanceof Object?"":"null prototype",H=!U&&xe&&Object(t)===t&&xe in t?Vo.call(it(t),8,-1):W?"Object":"",oe=U||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",Q=oe+(H||W?"["+Ue.call(_h.call([],H||[],W||[]),": ")+"] ":"");return k.length===0?Q+"{}":A?Q+"{"+Uo(k,A)+"}":Q+"{ "+Ue.call(k,", ")+" }"}return String(t)};function $h(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function O8(e){return ut.call(String(e),/"/g,""")}function Ho(e){return it(e)==="[object Array]"&&(!xe||!(typeof e=="object"&&xe in e))}function R8(e){return it(e)==="[object Date]"&&(!xe||!(typeof e=="object"&&xe in e))}function Lh(e){return it(e)==="[object RegExp]"&&(!xe||!(typeof e=="object"&&xe in e))}function P8(e){return it(e)==="[object Error]"&&(!xe||!(typeof e=="object"&&xe in e))}function k8(e){return it(e)==="[object String]"&&(!xe||!(typeof e=="object"&&xe in e))}function N8(e){return it(e)==="[object Number]"&&(!xe||!(typeof e=="object"&&xe in e))}function L8(e){return it(e)==="[object Boolean]"&&(!xe||!(typeof e=="object"&&xe in e))}function Hh(e){if(Vt)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!jo)return!1;try{return jo.call(e),!0}catch{}return!1}function q8(e){if(!e||typeof e!="object"||!Mo)return!1;try{return Mo.call(e),!0}catch{}return!1}var M8=Object.prototype.hasOwnProperty||function(e){return e in this};function ot(e,t){return M8.call(e,t)}function it(e){return w8.call(e)}function j8(e){if(e.name)return e.name;var t=T8.call(B8.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Uh(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return zh(Vo.call(e,0,t.maxStringLength),t)+n}var a=ut.call(ut.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,W8);return $h(a,"single",t)}function W8(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+I8.call(t.toString(16))}function Sr(e){return"Object("+e+")"}function qo(e){return e+" { ? }"}function qh(e,t,r,n){var a=n?Uo(r,n):Ue.call(r,", ");return e+" ("+t+") {"+a+"}"}function K8(e){for(var t=0;t=0)return!1;return!0}function Y8(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ue.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ue.call(Array(t+1),r)}}function Uo(e,t){if(e.length===0)return"";var r=` -`+t.prev+t.base;return r+Ue.call(e,","+r)+` -`+t.prev}function Fn(e,t){var r=Ho(e),n=[];if(r){n.length=e.length;for(var a=0;a{"use strict";l();c();d();var Wh=Et(),Wt=Fh(),X8=Vh(),J8=jt(),Bn=Wh("%WeakMap%",!0),Tn=Wh("%Map%",!0),Q8=Wt("WeakMap.prototype.get",!0),Z8=Wt("WeakMap.prototype.set",!0),eT=Wt("WeakMap.prototype.has",!0),tT=Wt("Map.prototype.get",!0),rT=Wt("Map.prototype.set",!0),nT=Wt("Map.prototype.has",!0),Wo=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},aT=function(e,t){var r=Wo(e,t);return r&&r.value},oT=function(e,t,r){var n=Wo(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},uT=function(e,t){return!!Wo(e,t)};Kh.exports=function(){var t,r,n,a={assert:function(o){if(!a.has(o))throw new J8("Side channel does not contain "+X8(o))},get:function(o){if(Bn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return Q8(t,o)}else if(Tn){if(r)return tT(r,o)}else if(n)return aT(n,o)},has:function(o){if(Bn&&o&&(typeof o=="object"||typeof o=="function")){if(t)return eT(t,o)}else if(Tn){if(r)return nT(r,o)}else if(n)return uT(n,o);return!1},set:function(o,u){Bn&&o&&(typeof o=="object"||typeof o=="function")?(t||(t=new Bn),Z8(t,o,u)):Tn?(r||(r=new Tn),rT(r,o,u)):(n||(n={key:{},next:null}),oT(n,o,u))}};return a}});var In=F((Vte,Xh)=>{"use strict";l();c();d();var iT=String.prototype.replace,sT=/%20/g,Ko={RFC1738:"RFC1738",RFC3986:"RFC3986"};Xh.exports={default:Ko.RFC3986,formatters:{RFC1738:function(e){return iT.call(e,sT,"+")},RFC3986:function(e){return String(e)}},RFC1738:Ko.RFC1738,RFC3986:Ko.RFC3986}});var Xo=F((Xte,Qh)=>{"use strict";l();c();d();var lT=In(),Yo=Object.prototype.hasOwnProperty,At=Array.isArray,ze=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),cT=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(At(n)){for(var a=[],o=0;o=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||o===lT.RFC1738&&(p===40||p===41)){i+=u.charAt(s);continue}if(p<128){i=i+ze[p];continue}if(p<2048){i=i+(ze[192|p>>6]+ze[128|p&63]);continue}if(p<55296||p>=57344){i=i+(ze[224|p>>12]+ze[128|p>>6&63]+ze[128|p&63]);continue}s+=1,p=65536+((p&1023)<<10|u.charCodeAt(s)&1023),i+=ze[240|p>>18]+ze[128|p>>12&63]+ze[128|p>>6&63]+ze[128|p&63]}return i},mT=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],a=0;a{"use strict";l();c();d();var em=Yh(),_n=Xo(),Tr=In(),AT=Object.prototype.hasOwnProperty,tm={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Ge=Array.isArray,vT=Array.prototype.push,rm=function(e,t){vT.apply(e,Ge(t)?t:[t])},DT=Date.prototype.toISOString,Zh=Tr.default,me={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:_n.encode,encodeValuesOnly:!1,format:Zh,formatter:Tr.formatters[Zh],indices:!1,serializeDate:function(t){return DT.call(t)},skipNulls:!1,strictNullHandling:!1},CT=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Jo={},xT=function e(t,r,n,a,o,u,i,s,p,y,A,g,h,E,b,x,B,w){for(var I=t,L=w,S=0,N=!1;(L=L.get(Jo))!==void 0&&!N;){var k=L.get(t);if(S+=1,typeof k<"u"){if(k===S)throw new RangeError("Cyclic object value");N=!0}typeof L.get(Jo)>"u"&&(S=0)}if(typeof y=="function"?I=y(r,I):I instanceof Date?I=h(I):n==="comma"&&Ge(I)&&(I=_n.maybeMap(I,function(te){return te instanceof Date?h(te):te})),I===null){if(u)return p&&!x?p(r,me.encoder,B,"key",E):r;I=""}if(CT(I)||_n.isBuffer(I)){if(p){var U=x?r:p(r,me.encoder,B,"key",E);return[b(U)+"="+b(p(I,me.encoder,B,"value",E))]}return[b(r)+"="+b(String(I))]}var W=[];if(typeof I>"u")return W;var H;if(n==="comma"&&Ge(I))x&&p&&(I=_n.maybeMap(I,p)),H=[{value:I.length>0?I.join(",")||null:void 0}];else if(Ge(y))H=y;else{var oe=Object.keys(I);H=A?oe.sort(A):oe}var Q=s?r.replace(/\./g,"%2E"):r,K=a&&Ge(I)&&I.length===1?Q+"[]":Q;if(o&&Ge(I)&&I.length===0)return K+"[]";for(var R=0;R"u"?t.encodeDotInKeys===!0?!0:me.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:me.addQueryPrefix,allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:me.allowEmptyArrays,arrayFormat:u,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:me.charsetSentinel,commaRoundTrip:t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?me.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:me.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:me.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:me.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:me.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:me.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:me.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:me.strictNullHandling}};nm.exports=function(e,t){var r=e,n=FT(t),a,o;typeof n.filter=="function"?(o=n.filter,r=o("",r)):Ge(n.filter)&&(o=n.filter,a=o);var u=[];if(typeof r!="object"||r===null)return"";var i=tm[n.arrayFormat],s=i==="comma"&&n.commaRoundTrip;a||(a=Object.keys(r)),n.sort&&a.sort(n.sort);for(var p=em(),y=0;y0?h+g:""}});var im=F((are,um)=>{"use strict";l();c();d();var Kt=Xo(),Qo=Object.prototype.hasOwnProperty,ST=Array.isArray,fe={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:Kt.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},wT=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},om=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},BT="utf8=%26%2310003%3B",TT="utf8=%E2%9C%93",IT=function(t,r){var n={__proto__:null},a=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,o=r.parameterLimit===1/0?void 0:r.parameterLimit,u=a.split(r.delimiter,o),i=-1,s,p=r.charset;if(r.charsetSentinel)for(s=0;s-1&&(E=ST(E)?[E]:E);var b=Qo.call(n,h);b&&r.duplicates==="combine"?n[h]=Kt.combine(n[h],E):(!b||r.duplicates==="last")&&(n[h]=E)}return n},_T=function(e,t,r,n){for(var a=n?t:om(t,r),o=e.length-1;o>=0;--o){var u,i=e[o];if(i==="[]"&&r.parseArrays)u=r.allowEmptyArrays&&a===""?[]:[].concat(a);else{u=r.plainObjects?Object.create(null):{};var s=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,p=r.decodeDotInKeys?s.replace(/%2E/g,"."):s,y=parseInt(p,10);!r.parseArrays&&p===""?u={0:a}:!isNaN(y)&&i!==p&&String(y)===p&&y>=0&&r.parseArrays&&y<=r.arrayLimit?(u=[],u[y]=a):p!=="__proto__"&&(u[p]=a)}a=u}return a},OT=function(t,r,n,a){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,u=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,s=n.depth>0&&u.exec(o),p=s?o.slice(0,s.index):o,y=[];if(p){if(!n.plainObjects&&Qo.call(Object.prototype,p)&&!n.allowPrototypes)return;y.push(p)}for(var A=0;n.depth>0&&(s=i.exec(o))!==null&&A"u"?fe.charset:t.charset,n=typeof t.duplicates>"u"?fe.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var a=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:fe.allowDots:!!t.allowDots;return{allowDots:a,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:fe.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:fe.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:fe.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:fe.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:fe.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:fe.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:fe.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:fe.decoder,delimiter:typeof t.delimiter=="string"||Kt.isRegExp(t.delimiter)?t.delimiter:fe.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:fe.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:fe.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:fe.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:fe.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:fe.strictNullHandling}};um.exports=function(e,t){var r=RT(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?IT(e,r):e,a=r.plainObjects?Object.create(null):{},o=Object.keys(n),u=0;u{"use strict";l();c();d();var PT=am(),kT=im(),NT=In();sm.exports={formats:NT,parse:kT,stringify:PT}});var Dm=F((tne,vm)=>{l();c();d();(function(){"use strict";function e(u){if(u==null)return!1;switch(u.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(u){if(u==null)return!1;switch(u.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(u){if(u==null)return!1;switch(u.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(u){return r(u)||u!=null&&u.type==="FunctionDeclaration"}function a(u){switch(u.type){case"IfStatement":return u.alternate!=null?u.alternate:u.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return u.body}return null}function o(u){var i;if(u.type!=="IfStatement"||u.alternate==null)return!1;i=u.consequent;do{if(i.type==="IfStatement"&&i.alternate==null)return!0;i=a(i)}while(i);return!1}vm.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:n,isProblematicIfStatement:o,trailingStatement:a}})()});var tu=F((one,Cm)=>{l();c();d();(function(){"use strict";var e,t,r,n,a,o;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function u(x){return 48<=x&&x<=57}function i(x){return 48<=x&&x<=57||97<=x&&x<=102||65<=x&&x<=70}function s(x){return x>=48&&x<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function p(x){return x===32||x===9||x===11||x===12||x===160||x>=5760&&r.indexOf(x)>=0}function y(x){return x===10||x===13||x===8232||x===8233}function A(x){if(x<=65535)return String.fromCharCode(x);var B=String.fromCharCode(Math.floor((x-65536)/1024)+55296),w=String.fromCharCode((x-65536)%1024+56320);return B+w}for(n=new Array(128),o=0;o<128;++o)n[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(a=new Array(128),o=0;o<128;++o)a[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;function g(x){return x<128?n[x]:t.NonAsciiIdentifierStart.test(A(x))}function h(x){return x<128?a[x]:t.NonAsciiIdentifierPart.test(A(x))}function E(x){return x<128?n[x]:e.NonAsciiIdentifierStart.test(A(x))}function b(x){return x<128?a[x]:e.NonAsciiIdentifierPart.test(A(x))}Cm.exports={isDecimalDigit:u,isHexDigit:i,isOctalDigit:s,isWhiteSpace:p,isLineTerminator:y,isIdentifierStartES5:g,isIdentifierPartES5:h,isIdentifierStartES6:E,isIdentifierPartES6:b}})()});var Fm=F((lne,xm)=>{l();c();d();(function(){"use strict";var e=tu();function t(g){switch(g){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(g,h){return!h&&g==="yield"?!1:n(g,h)}function n(g,h){if(h&&t(g))return!0;switch(g.length){case 2:return g==="if"||g==="in"||g==="do";case 3:return g==="var"||g==="for"||g==="new"||g==="try";case 4:return g==="this"||g==="else"||g==="case"||g==="void"||g==="with"||g==="enum";case 5:return g==="while"||g==="break"||g==="catch"||g==="throw"||g==="const"||g==="yield"||g==="class"||g==="super";case 6:return g==="return"||g==="typeof"||g==="delete"||g==="switch"||g==="export"||g==="import";case 7:return g==="default"||g==="finally"||g==="extends";case 8:return g==="function"||g==="continue"||g==="debugger";case 10:return g==="instanceof";default:return!1}}function a(g,h){return g==="null"||g==="true"||g==="false"||r(g,h)}function o(g,h){return g==="null"||g==="true"||g==="false"||n(g,h)}function u(g){return g==="eval"||g==="arguments"}function i(g){var h,E,b;if(g.length===0||(b=g.charCodeAt(0),!e.isIdentifierStartES5(b)))return!1;for(h=1,E=g.length;h=E||(x=g.charCodeAt(h),!(56320<=x&&x<=57343)))return!1;b=s(b,x)}if(!B(b))return!1;B=e.isIdentifierPartES6}return!0}function y(g,h){return i(g)&&!a(g,h)}function A(g,h){return p(g)&&!o(g,h)}xm.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:a,isReservedWordES6:o,isRestrictedWord:u,isIdentifierNameES5:i,isIdentifierNameES6:p,isIdentifierES5:y,isIdentifierES6:A}})()});var ru=F(Pn=>{l();c();d();(function(){"use strict";Pn.ast=Dm(),Pn.code=tu(),Pn.keyword=Fm()})()});var Sm=F((yne,o6)=>{o6.exports={name:"doctrine",description:"JSDoc parser",homepage:"https://github.com/eslint/doctrine",main:"lib/doctrine.js",version:"3.0.0",engines:{node:">=6.0.0"},directories:{lib:"./lib"},files:["lib"],maintainers:[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],repository:"eslint/doctrine",devDependencies:{coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},license:"Apache-2.0",scripts:{pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},dependencies:{esutils:"^2.0.2"}}});var Bm=F((bne,wm)=>{l();c();d();function u6(e,t){if(!e)throw new Error(t||"unknown assertion error")}wm.exports=u6});var nu=F(_r=>{l();c();d();(function(){"use strict";var e;e=Sm().version,_r.VERSION=e;function t(n){this.name="DoctrineError",this.message=n}t.prototype=function(){var n=function(){};return n.prototype=Error.prototype,new n}(),t.prototype.constructor=t,_r.DoctrineError=t;function r(n){throw new t(n)}_r.throwError=r,_r.assert=Bm()})()});var Tm=F(Or=>{l();c();d();(function(){"use strict";var e,t,r,n,a,o,u,i,s,p,y,A;s=ru(),p=nu(),e={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},t={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function g(T){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(T))===-1&&!s.code.isWhiteSpace(T)&&!s.code.isLineTerminator(T)}function h(T,P,q,O){this._previous=T,this._index=P,this._token=q,this._value=O}h.prototype.restore=function(){o=this._previous,a=this._index,u=this._token,i=this._value},h.save=function(){return new h(o,a,u,i)};function E(T,P){return A&&(T.range=[P[0]+y,P[1]+y]),T}function b(){var T=r.charAt(a);return a+=1,T}function x(T){var P,q,O,$=0;for(q=T==="u"?4:2,P=0;P=0&&a=n)return t.ILLEGAL;if(P=r.charCodeAt(a+1),P===60)break}i+=b()}return t.NAME}function L(){var T;for(o=a;a=n)return u=t.EOF,u;switch(T=r.charCodeAt(a),T){case 39:case 34:return u=B(),u;case 58:return b(),u=t.COLON,u;case 44:return b(),u=t.COMMA,u;case 40:return b(),u=t.LPAREN,u;case 41:return b(),u=t.RPAREN,u;case 91:return b(),u=t.LBRACK,u;case 93:return b(),u=t.RBRACK,u;case 123:return b(),u=t.LBRACE,u;case 125:return b(),u=t.RBRACE,u;case 46:if(a+1{l();c();d();(function(){"use strict";var e,t,r,n,a;n=ru(),e=Tm(),t=nu();function o(S,N,k){return S.slice(N,k)}a=function(){var S=Object.prototype.hasOwnProperty;return function(k,U){return S.call(k,U)}}();function u(S){var N={},k;for(k in S)S.hasOwnProperty(k)&&(N[k]=S[k]);return N}function i(S){return S>=97&&S<=122||S>=65&&S<=90||S>=48&&S<=57}function s(S){return S==="param"||S==="argument"||S==="arg"}function p(S){return S==="return"||S==="returns"}function y(S){return S==="property"||S==="prop"}function A(S){return s(S)||y(S)||S==="alias"||S==="this"||S==="mixes"||S==="requires"}function g(S){return A(S)||S==="const"||S==="constant"}function h(S){return y(S)||s(S)}function E(S){return y(S)||s(S)}function b(S){return s(S)||p(S)||S==="define"||S==="enum"||S==="implements"||S==="this"||S==="type"||S==="typedef"||y(S)}function x(S){return b(S)||S==="throws"||S==="const"||S==="constant"||S==="namespace"||S==="member"||S==="var"||S==="module"||S==="constructor"||S==="class"||S==="extends"||S==="augments"||S==="public"||S==="private"||S==="protected"}var B="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",w="("+B+"*(?:\\*"+B+`?)?)(.+|[\r -\u2028\u2029])`;function I(S){return S.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(w,"g"),"$2").replace(/\s*$/,"")}function L(S,N){for(var k=S.replace(/^\/\*\*?/,""),U=0,W=new RegExp(w,"g"),H;H=W.exec(k);)if(U+=H[1].length,H.index+H[0].length>N+U)return N+U+S.length-k.length;return S.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(S){var N,k,U,W,H,oe,Q,K,R;function _(){var q=H.charCodeAt(k);return k+=1,n.code.isLineTerminator(q)&&!(q===13&&H.charCodeAt(k)===10)&&(U+=1),String.fromCharCode(q)}function j(){var q="";for(_();k=q)return null;if(H.charCodeAt(k)===91)if(O)ce=!0,z=_();else return null;if(z+=Y(q),$)for(H.charCodeAt(k)===58&&(z==="module"||z==="external"||z==="event")&&(z+=_(),z+=Y(q)),H.charCodeAt(k)===91&&H.charCodeAt(k+1)===93&&(z+=_(),z+=_());H.charCodeAt(k)===46||H.charCodeAt(k)===47||H.charCodeAt(k)===35||H.charCodeAt(k)===45||H.charCodeAt(k)===126;)z+=_(),z+=Y(q);if(ce){if(te(q),H.charCodeAt(k)===61){z+=_(),te(q);for(var ae,be=1;k=q||H.charCodeAt(k)!==93)return null;z+=_()}return z}function Ie(){for(;k=W?!1:(t.assert(H.charCodeAt(k)===64),!0)}function _e(q){return H===oe?q:L(oe,q)}function J(q,O){this._options=q,this._title=O.toLowerCase(),this._tag={title:O,description:null},this._options.lineNumbers&&(this._tag.lineNumber=U),this._first=k-O.length-1,this._last=0,this._extra={}}J.prototype.addError=function(O){var $=Array.prototype.slice.call(arguments,1),z=O.replace(/%(\d)/g,function(ce,re){return t.assert(re<$.length,"Message reference must be in range"),$[re]});return this._tag.errors||(this._tag.errors=[]),R&&t.throwError(z),this._tag.errors.push(z),Q},J.prototype.parseType=function(){if(b(this._title))try{if(this._tag.type=X(this._title,this._last,this._options.range),!this._tag.type&&!s(this._title)&&!p(this._title)&&!this.addError("Missing or invalid tag type"))return!1}catch(q){if(this._tag.type=null,!this.addError(q.message))return!1}else if(x(this._title))try{this._tag.type=X(this._title,this._last,this._options.range)}catch{}return!0},J.prototype._parseNamePath=function(q){var O;return O=ue(this._last,K&&E(this._title),!0),!O&&!q&&!this.addError("Missing or invalid tag name")?!1:(this._tag.name=O,!0)},J.prototype.parseNamePath=function(){return this._parseNamePath(!1)},J.prototype.parseNamePathOptional=function(){return this._parseNamePath(!0)},J.prototype.parseName=function(){var q,O;if(g(this._title))if(this._tag.name=ue(this._last,K&&E(this._title),h(this._title)),this._tag.name)O=this._tag.name,O.charAt(0)==="["&&O.charAt(O.length-1)==="]"&&(q=O.substring(1,O.length-1).split("="),q.length>1&&(this._tag.default=q.slice(1).join("=")),this._tag.name=q[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!A(this._title))return!0;if(s(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},J.prototype.parseDescription=function(){var O=o(H,k,this._last).trim();return O&&(/^-\s+/.test(O)&&(O=O.substring(2)),this._tag.description=O),!0},J.prototype.parseCaption=function(){var O=o(H,k,this._last).trim(),$="",z="",ce=O.indexOf($),re=O.indexOf(z);return ce>=0&&re>=0?(this._tag.caption=O.substring(ce+$.length,re).trim(),this._tag.description=O.substring(re+z.length).trim()):this._tag.description=O,!0},J.prototype.parseKind=function(){var O,$;return $={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},O=o(H,k,this._last).trim(),this._tag.kind=O,!(!a($,O)&&!this.addError("Invalid kind name '%0'",O))},J.prototype.parseAccess=function(){var O;return O=o(H,k,this._last).trim(),this._tag.access=O,!(O!=="private"&&O!=="protected"&&O!=="public"&&!this.addError("Invalid access name '%0'",O))},J.prototype.parseThis=function(){var O=o(H,k,this._last).trim();if(O&&O.charAt(0)==="{"){var $=this.parseType();return $&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},J.prototype.parseVariation=function(){var O,$;return $=o(H,k,this._last).trim(),O=parseFloat($,10),this._tag.variation=O,!(isNaN(O)&&!this.addError("Invalid variation '%0'",$))},J.prototype.ensureEnd=function(){var q=o(H,k,this._last).trim();return!(q&&!this.addError("Unknown content '%0'",q))},J.prototype.epilogue=function(){var O;return O=this._tag.description,!(E(this._title)&&!this._tag.type&&O&&O.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!K&&!this.addError("Missing or invalid tag name")))},N={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},J.prototype.parse=function(){var O,$,z,ce;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=G(this._title),this._options.range&&(this._tag.range=[this._first,H.slice(0,this._last).replace(/\s*$/,"").length].map(_e)),a(N,this._title)?z=N[this._title]:z=["parseType","parseName","parseDescription","epilogue"],O=0,$=z.length;O<$;++O)if(ce=z[O],!this[ce]())return null;return this._tag};function Ne(q){var O,$,z;if(!Ie())return null;for(O=j(),$=new J(q,O),z=$.parse();k<$._last;)_();return z}function T(q){var O="",$,z;for(z=!0;k{l();c();d();Zm.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}});var rg=F((eae,tg)=>{l();c();d();tg.exports=function(e){var t=[].forEach,r=[].some,n=document.body,a,o=!0,u=" ";function i(w,I){var L=I.appendChild(p(w));if(w.children.length){var S=y(w.isCollapsed);w.children.forEach(function(N){i(N,S)}),L.appendChild(S)}}function s(w,I){var L=!1,S=y(L);if(I.forEach(function(N){i(N,S)}),a=w||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),I.length===0?a:a.appendChild(S)}function p(w){var I=document.createElement("li"),L=document.createElement("a");return e.listItemClass&&I.setAttribute("class",e.listItemClass),e.onClick&&(L.onclick=e.onClick),e.includeTitleTags&&L.setAttribute("title",w.textContent),e.includeHtml&&w.childNodes.length?t.call(w.childNodes,function(S){L.appendChild(S.cloneNode(!0))}):L.textContent=w.textContent,L.setAttribute("href",e.basePath+"#"+w.id),L.setAttribute("class",e.linkClass+u+"node-name--"+w.nodeName+u+e.extraLinkClasses),I.appendChild(L),I}function y(w){var I=e.orderedList?"ol":"ul",L=document.createElement(I),S=e.listClass+u+e.extraListClasses;return w&&(S=S+u+e.collapsibleClass,S=S+u+e.isCollapsedClass),L.setAttribute("class",S),L}function A(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var w;w=document.querySelector(e.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||n.scrollTop;var I=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=a.offsetTop),w>e.fixedSidebarOffset?I.className.indexOf(e.positionFixedClass)===-1&&(I.className+=u+e.positionFixedClass):I.className=I.className.replace(u+e.positionFixedClass,"")}function g(w){var I=0;return w!==null&&(I=w.offsetTop,e.hasInnerContainers&&(I+=g(w.offsetParent))),I}function h(w,I){return w&&w.className!==I&&(w.className=I),w}function E(w){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var I;I=document.querySelector(e.scrollContainer).scrollTop}else I=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&A();var L=w,S;if(o&&a!==null&&L.length>0){r.call(L,function(Q,K){if(g(Q)>I+e.headingsOffset+10){var R=K===0?K:K-1;return S=L[R],!0}else if(K===L.length-1)return S=L[L.length-1],!0});var N=a.querySelector("."+e.activeLinkClass),k=a.querySelector("."+e.linkClass+".node-name--"+S.nodeName+'[href="'+e.basePath+"#"+S.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(N===k)return;var U=a.querySelectorAll("."+e.linkClass);t.call(U,function(Q){h(Q,Q.className.replace(u+e.activeLinkClass,""))});var W=a.querySelectorAll("."+e.listItemClass);t.call(W,function(Q){h(Q,Q.className.replace(u+e.activeListItemClass,""))}),k&&k.className.indexOf(e.activeLinkClass)===-1&&(k.className+=u+e.activeLinkClass);var H=k&&k.parentNode;H&&H.className.indexOf(e.activeListItemClass)===-1&&(H.className+=u+e.activeListItemClass);var oe=a.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(oe,function(Q){Q.className.indexOf(e.isCollapsedClass)===-1&&(Q.className+=u+e.isCollapsedClass)}),k&&k.nextSibling&&k.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&h(k.nextSibling,k.nextSibling.className.replace(u+e.isCollapsedClass,"")),b(k&&k.parentNode.parentNode)}}function b(w){return w&&w.className.indexOf(e.collapsibleClass)!==-1&&w.className.indexOf(e.isCollapsedClass)!==-1?(h(w,w.className.replace(u+e.isCollapsedClass,"")),b(w.parentNode.parentNode)):w}function x(w){var I=w.target||w.srcElement;typeof I.className!="string"||I.className.indexOf(e.linkClass)===-1||(o=!1)}function B(){o=!0}return{enableTocAnimation:B,disableTocAnimation:x,render:s,updateToc:E}}});var ag=F((aae,ng)=>{l();c();d();ng.exports=function(t){var r=[].reduce;function n(y){return y[y.length-1]}function a(y){return+y.nodeName.toUpperCase().replace("H","")}function o(y){try{return y instanceof window.HTMLElement||y instanceof window.parent.HTMLElement}catch{return y instanceof window.HTMLElement}}function u(y){if(!o(y))return y;if(t.ignoreHiddenElements&&(!y.offsetHeight||!y.offsetParent))return null;let A=y.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(y.innerText)):(y.innerText||y.textContent).trim());var g={id:y.id,children:[],nodeName:y.nodeName,headingLevel:a(y),textContent:A};return t.includeHtml&&(g.childNodes=y.childNodes),t.headingObjectCallback?t.headingObjectCallback(g,y):g}function i(y,A){for(var g=u(y),h=g.headingLevel,E=A,b=n(E),x=b?b.headingLevel:0,B=h-x;B>0&&(b=n(E),!(b&&h===b.headingLevel));)b&&b.children!==void 0&&(E=b.children),B--;return h>=t.collapseDepth&&(g.isCollapsed=!0),E.push(g),E}function s(y,A){var g=A;t.ignoreSelector&&(g=A.split(",").map(function(E){return E.trim()+":not("+t.ignoreSelector+")"}));try{return y.querySelectorAll(g)}catch{return console.warn("Headers not found with selector: "+g),null}}function p(y){return r.call(y,function(g,h){var E=u(h);return E&&i(E,g.nest),g},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:s}}});var ug=F((sae,og)=>{l();c();d();og.exports=function(t){var r=t.tocElement||document.querySelector(t.tocSelector);if(r&&r.scrollHeight>r.clientHeight){var n=r.querySelector("."+t.activeListItemClass);if(n){var a=r.scrollTop,o=a+r.clientHeight,u=n.offsetTop,i=u+n.clientHeight;uo-t.tocScrollOffset-30&&(r.scrollTop+=i-o+t.tocScrollOffset+2*30)}}}});var sg=F(ig=>{l();c();d();ig.initSmoothScrolling=eO;function eO(e){var t=e.duration,r=e.offset,n=location.hash?u(location.href):location.href;a();function a(){document.body.addEventListener("click",s,!1);function s(p){!o(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(e.linkClass)===-1||tO(p.target.hash,{duration:t,offset:r,callback:function(){i(p.target.hash)}})}}function o(s){return s.tagName.toLowerCase()==="a"&&(s.hash.length>0||s.href.charAt(s.href.length-1)==="#")&&(u(s.href)===n||u(s.href)+"#"===n)}function u(s){return s.slice(0,s.lastIndexOf("#"))}function i(s){var p=document.getElementById(s.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function tO(e,t){var r=window.pageYOffset,n={duration:t.duration,offset:t.offset||0,callback:t.callback,easing:t.easing||A},a=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]')||document.querySelector('[id="'+e.split("#").join("")+'"]'),o=typeof e=="string"?n.offset+(e?a&&a.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,u=typeof n.duration=="function"?n.duration(o):n.duration,i,s;requestAnimationFrame(function(g){i=g,p(g)});function p(g){s=g-i,window.scrollTo(0,n.easing(s,r,o,u)),s{l();c();d();(function(e,t){typeof define=="function"&&define.amd?define([],t(e)):typeof lg=="object"?cg.exports=t(e):e.tocbot=t(e)})(typeof window<"u"?window:window||window,function(e){"use strict";var t=eg(),r={},n={},a=rg(),o=ag(),u=ug(),i,s,p=!!e&&!!e.document&&!!e.document.querySelector&&!!e.addEventListener;if(typeof window>"u"&&!p)return;var y,A=Object.prototype.hasOwnProperty;function g(){for(var x={},B=0;B=0||(a[r]=e[r]);return a}function cu(e){var t=we(e),r=we(function(n){t.current&&t.current(n)});return t.current=e,r.current}function Dg(e,t,r){var n=cu(r),a=ne(function(){return e.toHsva(t)}),o=a[0],u=a[1],i=we({color:t,hsva:o});he(function(){if(!e.equal(t,i.current.color)){var p=e.toHsva(t);i.current={hsva:p,color:t},u(p)}},[t,e]),he(function(){var p;Ag(o,i.current.hsva)||e.equal(p=e.fromHsva(o),i.current.color)||(i.current={hsva:o,color:p},n(p))},[o,e,n]);var s=Ee(function(p){u(function(y){return Object.assign({},y,p)})},[]);return[o,s]}var Zt,kr,du,pg,fg,mu,Nr,gu,ve,rO,nO,pu,aO,oO,uO,iO,mg,fu,jn,gg,sO,Mn,lO,yg,bg,Eg,Ag,vg,cO,dO,pO,fO,hg,Cg,hO,mO,xg,gO,Fg,yO,Sg,bO,wg,Bg=$e(()=>{l();c();d();Ct();Zt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:x.buttons>0)&&a.current?o(pg(a.current,x,i.current)):b(!1)},E=function(){return b(!1)};function b(x){var B=s.current,w=du(a.current),I=x?w.addEventListener:w.removeEventListener;I(B?"touchmove":"mousemove",h),I(B?"touchend":"mouseup",E)}return[function(x){var B=x.nativeEvent,w=a.current;if(w&&(fg(B),!function(L,S){return S&&!kr(L)}(B,s.current)&&w)){if(kr(B)){s.current=!0;var I=B.changedTouches||[];I.length&&(i.current=I[0].identifier)}w.focus(),o(pg(w,B,i.current)),b(!0)}},function(x){var B=x.which||x.keyCode;B<37||B>40||(x.preventDefault(),u({left:B===39?.05:B===37?-.05:0,top:B===40?.05:B===38?-.05:0}))},b]},[u,o]),y=p[0],A=p[1],g=p[2];return he(function(){return g},[g]),m.createElement("div",vt({},n,{onTouchStart:y,onMouseDown:y,className:"react-colorful__interactive",ref:a,onKeyDown:A,tabIndex:0,role:"slider"}))}),Nr=function(e){return e.filter(Boolean).join(" ")},gu=function(e){var t=e.color,r=e.left,n=e.top,a=n===void 0?.5:n,o=Nr(["react-colorful__pointer",e.className]);return m.createElement("div",{className:o,style:{top:100*a+"%",left:100*r+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},ve=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},rO={grad:.9,turn:360,rad:360/(2*Math.PI)},nO=function(e){return yg(pu(e))},pu=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?ve(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?ve(parseInt(e.substring(6,8),16)/255,2):1}},aO=function(e,t){return t===void 0&&(t="deg"),Number(e)*(rO[t]||1)},oO=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?uO({h:aO(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},uO=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},iO=function(e){return lO(gg(e))},mg=function(e){var t=e.s,r=e.v,n=e.a,a=(200-t)*r/100;return{h:ve(e.h),s:ve(a>0&&a<200?t*r/100/(a<=100?a:200-a)*100:0),l:ve(a/2),a:ve(n,2)}},fu=function(e){var t=mg(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},jn=function(e){var t=mg(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},gg=function(e){var t=e.h,r=e.s,n=e.v,a=e.a;t=t/360*6,r/=100,n/=100;var o=Math.floor(t),u=n*(1-r),i=n*(1-(t-o)*r),s=n*(1-(1-t+o)*r),p=o%6;return{r:ve(255*[n,i,u,u,s,n][p]),g:ve(255*[s,n,n,i,u,u][p]),b:ve(255*[u,u,s,n,n,i][p]),a:ve(a,2)}},sO=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?yg({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},Mn=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},lO=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=a<1?Mn(ve(255*a)):"";return"#"+Mn(t)+Mn(r)+Mn(n)+o},yg=function(e){var t=e.r,r=e.g,n=e.b,a=e.a,o=Math.max(t,r,n),u=o-Math.min(t,r,n),i=u?o===t?(r-n)/u:o===r?2+(n-t)/u:4+(t-r)/u:0;return{h:ve(60*(i<0?i+6:i)),s:ve(o?u/o*100:0),v:ve(o/255*100),a}},bg=m.memo(function(e){var t=e.hue,r=e.onChange,n=Nr(["react-colorful__hue",e.className]);return m.createElement("div",{className:n},m.createElement(mu,{onMove:function(a){r({h:360*a.left})},onKey:function(a){r({h:Zt(t+360*a.left,0,360)})},"aria-label":"Hue","aria-valuenow":ve(t),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(gu,{className:"react-colorful__hue-pointer",left:t/360,color:fu({h:t,s:100,v:100,a:1})})))}),Eg=m.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:fu({h:t.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:n},m.createElement(mu,{onMove:function(a){r({s:100*a.left,v:100-100*a.top})},onKey:function(a){r({s:Zt(t.s+100*a.left,0,100),v:Zt(t.v-100*a.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ve(t.s)+"%, Brightness "+ve(t.v)+"%"},m.createElement(gu,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:fu(t)})))}),Ag=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},vg=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},cO=function(e,t){return e.toLowerCase()===t.toLowerCase()||Ag(pu(e),pu(t))};pO=typeof window<"u"?Nu:he,fO=function(){return dO||(typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0)},hg=new Map,Cg=function(e){pO(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!hg.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,hg.set(t,r);var n=fO();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},hO=function(e){var t=e.className,r=e.colorModel,n=e.color,a=n===void 0?r.defaultColor:n,o=e.onChange,u=hu(e,["className","colorModel","color","onChange"]),i=we(null);Cg(i);var s=Dg(r,a,o),p=s[0],y=s[1],A=Nr(["react-colorful",t]);return m.createElement("div",vt({},u,{ref:i,className:A}),m.createElement(Eg,{hsva:p,onChange:y}),m.createElement(bg,{hue:p.h,onChange:y,className:"react-colorful__last-control"}))},mO={defaultColor:"000",toHsva:nO,fromHsva:function(e){return iO({h:e.h,s:e.s,v:e.v,a:1})},equal:cO},xg=function(e){return m.createElement(hO,vt({},e,{colorModel:mO}))},gO=function(e){var t=e.className,r=e.hsva,n=e.onChange,a={backgroundImage:"linear-gradient(90deg, "+jn(Object.assign({},r,{a:0}))+", "+jn(Object.assign({},r,{a:1}))+")"},o=Nr(["react-colorful__alpha",t]),u=ve(100*r.a);return m.createElement("div",{className:o},m.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),m.createElement(mu,{onMove:function(i){n({a:i.left})},onKey:function(i){n({a:Zt(r.a+i.left)})},"aria-label":"Alpha","aria-valuetext":u+"%","aria-valuenow":u,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(gu,{className:"react-colorful__alpha-pointer",left:r.a,color:jn(r)})))},Fg=function(e){var t=e.className,r=e.colorModel,n=e.color,a=n===void 0?r.defaultColor:n,o=e.onChange,u=hu(e,["className","colorModel","color","onChange"]),i=we(null);Cg(i);var s=Dg(r,a,o),p=s[0],y=s[1],A=Nr(["react-colorful",t]);return m.createElement("div",vt({},u,{ref:i,className:A}),m.createElement(Eg,{hsva:p,onChange:y}),m.createElement(bg,{hue:p.h,onChange:y}),m.createElement(gO,{hsva:p,onChange:y,className:"react-colorful__last-control"}))},yO={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:oO,fromHsva:jn,equal:vg},Sg=function(e){return m.createElement(Fg,vt({},e,{colorModel:yO}))},bO={defaultColor:"rgba(0, 0, 0, 1)",toHsva:sO,fromHsva:function(e){var t=gg(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:vg},wg=function(e){return m.createElement(Fg,vt({},e,{colorModel:bO}))}});var Ig=F((xae,Tg)=>{"use strict";l();c();d();Tg.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]}});var yu=F((Bae,Og)=>{l();c();d();var Lr=Ig(),_g={};for(let e of Object.keys(Lr))_g[Lr[e]]=e;var V={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"]}};Og.exports=V;for(let e of Object.keys(V)){if(!("channels"in V[e]))throw new Error("missing channels property: "+e);if(!("labels"in V[e]))throw new Error("missing channel labels property: "+e);if(V[e].labels.length!==V[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=V[e];delete V[e].channels,delete V[e].labels,Object.defineProperty(V[e],"channels",{value:t}),Object.defineProperty(V[e],"labels",{value:r})}V.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(t,r,n),o=Math.max(t,r,n),u=o-a,i,s;o===a?i=0:t===o?i=(r-n)/u:r===o?i=2+(n-t)/u:n===o&&(i=4+(t-r)/u),i=Math.min(i*60,360),i<0&&(i+=360);let p=(a+o)/2;return o===a?s=0:p<=.5?s=u/(o+a):s=u/(2-o-a),[i,s*100,p*100]};V.rgb.hsv=function(e){let t,r,n,a,o,u=e[0]/255,i=e[1]/255,s=e[2]/255,p=Math.max(u,i,s),y=p-Math.min(u,i,s),A=function(g){return(p-g)/6/y+1/2};return y===0?(a=0,o=0):(o=y/p,t=A(u),r=A(i),n=A(s),u===p?a=n-r:i===p?a=1/3+t-n:s===p&&(a=2/3+r-t),a<0?a+=1:a>1&&(a-=1)),[a*360,o*100,p*100]};V.rgb.hwb=function(e){let t=e[0],r=e[1],n=e[2],a=V.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[a,o*100,n*100]};V.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(1-t,1-r,1-n),o=(1-t-a)/(1-a)||0,u=(1-r-a)/(1-a)||0,i=(1-n-a)/(1-a)||0;return[o*100,u*100,i*100,a*100]};function EO(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}V.rgb.keyword=function(e){let t=_g[e];if(t)return t;let r=1/0,n;for(let a of Object.keys(Lr)){let o=Lr[a],u=EO(e,o);u.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let a=t*.4124+r*.3576+n*.1805,o=t*.2126+r*.7152+n*.0722,u=t*.0193+r*.1192+n*.9505;return[a*100,o*100,u*100]};V.rgb.lab=function(e){let t=V.rgb.xyz(e),r=t[0],n=t[1],a=t[2];r/=95.047,n/=100,a/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*n-16,u=500*(r-n),i=200*(n-a);return[o,u,i]};V.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,a,o,u;if(r===0)return u=n*255,[u,u,u];n<.5?a=n*(1+r):a=n+r-n*r;let i=2*n-a,s=[0,0,0];for(let p=0;p<3;p++)o=t+1/3*-(p-1),o<0&&o++,o>1&&o--,6*o<1?u=i+(a-i)*6*o:2*o<1?u=a:3*o<2?u=i+(a-i)*(2/3-o)*6:u=i,s[p]=u*255;return s};V.hsl.hsv=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,a*=o<=1?o:2-o;let u=(n+r)/2,i=n===0?2*a/(o+a):2*r/(n+r);return[t,i*100,u*100]};V.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),u=255*n*(1-r),i=255*n*(1-r*o),s=255*n*(1-r*(1-o));switch(n*=255,a){case 0:return[n,s,u];case 1:return[i,n,u];case 2:return[u,n,s];case 3:return[u,i,n];case 4:return[s,u,n];case 5:return[n,u,i]}};V.hsv.hsl=function(e){let t=e[0],r=e[1]/100,n=e[2]/100,a=Math.max(n,.01),o,u;u=(2-r)*n;let i=(2-r)*a;return o=r*a,o/=i<=1?i:2-i,o=o||0,u/=2,[t,o*100,u*100]};V.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100,a=r+n,o;a>1&&(r/=a,n/=a);let u=Math.floor(6*t),i=1-n;o=6*t-u,u&1&&(o=1-o);let s=r+o*(i-r),p,y,A;switch(u){default:case 6:case 0:p=i,y=s,A=r;break;case 1:p=s,y=i,A=r;break;case 2:p=r,y=i,A=s;break;case 3:p=r,y=s,A=i;break;case 4:p=s,y=r,A=i;break;case 5:p=i,y=r,A=s;break}return[p*255,y*255,A*255]};V.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100,o=1-Math.min(1,t*(1-a)+a),u=1-Math.min(1,r*(1-a)+a),i=1-Math.min(1,n*(1-a)+a);return[o*255,u*255,i*255]};V.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,n=e[2]/100,a,o,u;return a=t*3.2406+r*-1.5372+n*-.4986,o=t*-.9689+r*1.8758+n*.0415,u=t*.0557+r*-.204+n*1.057,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,a=Math.min(Math.max(0,a),1),o=Math.min(Math.max(0,o),1),u=Math.min(Math.max(0,u),1),[a*255,o*255,u*255]};V.xyz.lab=function(e){let t=e[0],r=e[1],n=e[2];t/=95.047,r/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let a=116*r-16,o=500*(t-r),u=200*(r-n);return[a,o,u]};V.lab.xyz=function(e){let t=e[0],r=e[1],n=e[2],a,o,u;o=(t+16)/116,a=r/500+o,u=o-n/200;let i=o**3,s=a**3,p=u**3;return o=i>.008856?i:(o-16/116)/7.787,a=s>.008856?s:(a-16/116)/7.787,u=p>.008856?p:(u-16/116)/7.787,a*=95.047,o*=100,u*=108.883,[a,o,u]};V.lab.lch=function(e){let t=e[0],r=e[1],n=e[2],a;a=Math.atan2(n,r)*360/2/Math.PI,a<0&&(a+=360);let u=Math.sqrt(r*r+n*n);return[t,u,a]};V.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),u=r*Math.sin(a);return[t,o,u]};V.rgb.ansi16=function(e,t=null){let[r,n,a]=e,o=t===null?V.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let u=30+(Math.round(a/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return o===2&&(u+=60),u};V.hsv.ansi16=function(e){return V.rgb.ansi16(V.hsv.rgb(e),e[2])};V.rgb.ansi256=function(e){let t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};V.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,n=(t&1)*r*255,a=(t>>1&1)*r*255,o=(t>>2&1)*r*255;return[n,a,o]};V.ansi256.rgb=function(e){if(e>=232){let o=(e-232)*10+8;return[o,o,o]}e-=16;let t,r=Math.floor(e/36)/5*255,n=Math.floor((t=e%36)/6)/5*255,a=t%6/5*255;return[r,n,a]};V.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};V.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(i=>i+i).join(""));let n=parseInt(r,16),a=n>>16&255,o=n>>8&255,u=n&255;return[a,o,u]};V.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(Math.max(t,r),n),o=Math.min(Math.min(t,r),n),u=a-o,i,s;return u<1?i=o/(1-u):i=0,u<=0?s=0:a===t?s=(r-n)/u%6:a===r?s=2+(n-t)/u:s=4+(t-r)/u,s/=6,s%=1,[s*360,u*100,i*100]};V.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=r<.5?2*t*r:2*t*(1-r),a=0;return n<1&&(a=(r-.5*n)/(1-n)),[e[0],n*100,a*100]};V.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,n=t*r,a=0;return n<1&&(a=(r-n)/(1-n)),[e[0],n*100,a*100]};V.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,n=e[2]/100;if(r===0)return[n*255,n*255,n*255];let a=[0,0,0],o=t%1*6,u=o%1,i=1-u,s=0;switch(Math.floor(o)){case 0:a[0]=1,a[1]=u,a[2]=0;break;case 1:a[0]=i,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=u;break;case 3:a[0]=0,a[1]=i,a[2]=1;break;case 4:a[0]=u,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=i}return s=(1-r)*n,[(r*a[0]+s)*255,(r*a[1]+s)*255,(r*a[2]+s)*255]};V.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t),a=0;return n>0&&(a=t/n),[e[0],a*100,n*100]};V.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,a=0;return n>0&&n<.5?a=t/(2*n):n>=.5&&n<1&&(a=t/(2*(1-n))),[e[0],a*100,n*100]};V.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],(n-t)*100,(1-n)*100]};V.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,a=n-t,o=0;return a<1&&(o=(n-a)/(1-a)),[e[0],a*100,o*100]};V.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};V.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};V.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};V.gray.hsl=function(e){return[0,0,e[0]]};V.gray.hsv=V.gray.hsl;V.gray.hwb=function(e){return[0,100,e[0]]};V.gray.cmyk=function(e){return[0,0,0,e[0]]};V.gray.lab=function(e){return[e[0],0,0]};V.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n};V.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}});var Pg=F((Oae,Rg)=>{l();c();d();var $n=yu();function AO(){let e={},t=Object.keys($n);for(let r=t.length,n=0;n{l();c();d();var bu=yu(),xO=Pg(),er={},FO=Object.keys(bu);function SO(e){let t=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),e(r))};return"conversion"in e&&(t.conversion=e.conversion),t}function wO(e){let t=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let a=e(r);if(typeof a=="object")for(let o=a.length,u=0;u{er[e]={},Object.defineProperty(er[e],"channels",{value:bu[e].channels}),Object.defineProperty(er[e],"labels",{value:bu[e].labels});let t=xO(e);Object.keys(t).forEach(n=>{let a=t[n];er[e][n]=wO(a),er[e][n].raw=SO(a)})});kg.exports=er});var qg=F((jae,Lg)=>{l();c();d();var BO=ke(),TO=function(){return BO.Date.now()};Lg.exports=TO});var jg=F((zae,Mg)=>{l();c();d();var IO=/\s/;function _O(e){for(var t=e.length;t--&&IO.test(e.charAt(t)););return t}Mg.exports=_O});var Hg=F((Kae,$g)=>{l();c();d();var OO=jg(),RO=/^\s+/;function PO(e){return e&&e.slice(0,OO(e)+1).replace(RO,"")}$g.exports=PO});var Vg=F((Qae,Gg)=>{l();c();d();var kO=Hg(),Ug=Me(),NO=Ar(),zg=NaN,LO=/^[-+]0x[0-9a-f]+$/i,qO=/^0b[01]+$/i,MO=/^0o[0-7]+$/i,jO=parseInt;function $O(e){if(typeof e=="number")return e;if(NO(e))return zg;if(Ug(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ug(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=kO(e);var r=qO.test(e);return r||MO.test(e)?jO(e.slice(2),r?2:8):LO.test(e)?zg:+e}Gg.exports=$O});var Yg=F((roe,Kg)=>{l();c();d();var HO=Me(),Eu=qg(),Wg=Vg(),UO="Expected a function",zO=Math.max,GO=Math.min;function VO(e,t,r){var n,a,o,u,i,s,p=0,y=!1,A=!1,g=!0;if(typeof e!="function")throw new TypeError(UO);t=Wg(t)||0,HO(r)&&(y=!!r.leading,A="maxWait"in r,o=A?zO(Wg(r.maxWait)||0,t):o,g="trailing"in r?!!r.trailing:g);function h(N){var k=n,U=a;return n=a=void 0,p=N,u=e.apply(U,k),u}function E(N){return p=N,i=setTimeout(B,t),y?h(N):u}function b(N){var k=N-s,U=N-p,W=t-k;return A?GO(W,o-U):W}function x(N){var k=N-s,U=N-p;return s===void 0||k>=t||k<0||A&&U>=o}function B(){var N=Eu();if(x(N))return w(N);i=setTimeout(B,b(N))}function w(N){return i=void 0,g&&n?h(N):(n=a=void 0,u)}function I(){i!==void 0&&clearTimeout(i),p=0,n=s=a=i=void 0}function L(){return i===void 0?u:w(Eu())}function S(){var N=Eu(),k=x(N);if(n=arguments,a=this,s=N,k){if(i===void 0)return E(s);if(A)return clearTimeout(i),i=setTimeout(B,t),h(s)}return i===void 0&&(i=setTimeout(B,t)),u}return S.cancel=I,S.flush=L,S}Kg.exports=VO});var Jg=F((uoe,Xg)=>{l();c();d();var WO=Yg(),KO=Me(),YO="Expected a function";function XO(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(YO);return KO(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),WO(e,t,{leading:n,maxWait:t,trailing:a})}Xg.exports=XO});var ny={};_u(ny,{ColorControl:()=>ry,default:()=>h4});var Pe,ey,JO,QO,ZO,e4,t4,r4,n4,Qg,a4,o4,ty,Hn,u4,i4,s4,Au,l4,c4,Un,Zg,tr,d4,p4,zn,f4,ry,h4,ay=$e(()=>{l();c();d();fa();Ct();Bg();Pe=De(Ng(),1),ey=De(Jg(),1);ga();or();wa();JO=M.div({position:"relative",maxWidth:250}),QO=M(jr)({position:"absolute",zIndex:1,top:4,left:4}),ZO=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),e4=M(sa)(({theme:e})=>({fontFamily:e.typography.fonts.base})),t4=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),r4=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),n4=`url('data:image/svg+xml;charset=utf-8,')`,Qg=({value:e,active:t,onClick:r,style:n,...a})=>{let o=`linear-gradient(${e}, ${e}), ${n4}, linear-gradient(#fff, #fff)`;return m.createElement(r4,{...a,active:t,onClick:r,style:{...n,backgroundImage:o}})},a4=M(He.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),o4=M(di)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),ty=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(ty||{}),Hn=Object.values(ty),u4=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,i4=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,s4=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Au=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,l4=/^\s*#?([0-9a-f]{3})\s*$/i,c4={hex:xg,rgb:wg,hsl:Sg},Un={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Zg=e=>{let t=e?.match(u4);if(!t)return[0,0,0,1];let[,r,n,a,o=1]=t;return[r,n,a,o].map(Number)},tr=e=>{if(!e)return;let t=!0;if(i4.test(e)){let[u,i,s,p]=Zg(e),[y,A,g]=Pe.default.rgb.hsl([u,i,s])||[0,0,0];return{valid:t,value:e,keyword:Pe.default.rgb.keyword([u,i,s]),colorSpace:"rgb",rgb:e,hsl:`hsla(${y}, ${A}%, ${g}%, ${p})`,hex:`#${Pe.default.rgb.hex([u,i,s]).toLowerCase()}`}}if(s4.test(e)){let[u,i,s,p]=Zg(e),[y,A,g]=Pe.default.hsl.rgb([u,i,s])||[0,0,0];return{valid:t,value:e,keyword:Pe.default.hsl.keyword([u,i,s]),colorSpace:"hsl",rgb:`rgba(${y}, ${A}, ${g}, ${p})`,hsl:e,hex:`#${Pe.default.hsl.hex([u,i,s]).toLowerCase()}`}}let r=e.replace("#",""),n=Pe.default.keyword.rgb(r)||Pe.default.hex.rgb(r),a=Pe.default.rgb.hsl(n),o=e;if(/[^#a-f0-9]/i.test(e)?o=r:Au.test(e)&&(o=`#${r}`),o.startsWith("#"))t=Au.test(o);else try{Pe.default.keyword.hex(o)}catch{t=!1}return{valid:t,value:o,keyword:Pe.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${a[0]}, ${a[1]}%, ${a[2]}%, 1)`,hex:o}},d4=(e,t,r)=>{if(!e||!t?.valid)return Un[r];if(r!=="hex")return t?.[r]||Un[r];if(!t.hex.startsWith("#"))try{return`#${Pe.default.keyword.hex(t.hex)}`}catch{return Un.hex}let n=t.hex.match(l4);if(!n)return Au.test(t.hex)?t.hex:Un.hex;let[a,o,u]=n[1].split("");return`#${a}${a}${o}${o}${u}${u}`},p4=(e,t)=>{let[r,n]=ne(e||""),[a,o]=ne(()=>tr(r)),[u,i]=ne(a?.colorSpace||"hex");he(()=>{let A=e||"",g=tr(A);n(A),o(g),i(g?.colorSpace||"hex")},[e]);let s=Qe(()=>d4(r,a,u).toLowerCase(),[r,a,u]),p=Ee(A=>{let g=tr(A),h=g?.value||A||"";n(h),h===""&&(o(void 0),t(void 0)),g&&(o(g),i(g.colorSpace),t(g.value))},[t]),y=Ee(()=>{let A=Hn.indexOf(u)+1;A>=Hn.length&&(A=0),i(Hn[A]);let g=a?.[Hn[A]]||"";n(g),t(g)},[a,u,t]);return{value:r,realValue:s,updateValue:p,color:a,colorSpace:u,cycleColorSpace:y}},zn=e=>e.replace(/\s*/,"").toLowerCase(),f4=(e,t,r)=>{let[n,a]=ne(t?.valid?[t]:[]);he(()=>{t===void 0&&a([])},[t]);let o=Qe(()=>(e||[]).map(i=>typeof i=="string"?tr(i):i.title?{...tr(i.color),keyword:i.title}:tr(i.color)).concat(n).filter(Boolean).slice(-27),[e,n]),u=Ee(i=>{i?.valid&&(o.some(s=>zn(s[r])===zn(i[r]))||a(s=>s.concat(i)))},[r,o]);return{presets:o,addPreset:u}},ry=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,presetColors:o,startOpen:u=!1})=>{let i=Ee((0,ey.default)(r,200),[r]),{value:s,realValue:p,updateValue:y,color:A,colorSpace:g,cycleColorSpace:h}=p4(t,i),{presets:E,addPreset:b}=f4(o,A,g),x=c4[g];return m.createElement(JO,null,m.createElement(QO,{startOpen:u,closeOnOutsideClick:!0,onVisibleChange:()=>b(A),tooltip:m.createElement(ZO,null,m.createElement(x,{color:p==="transparent"?"#000000":p,onChange:y,onFocus:n,onBlur:a}),E.length>0&&m.createElement(t4,null,E.map((B,w)=>m.createElement(jr,{key:`${B.value}-${w}`,hasChrome:!1,tooltip:m.createElement(e4,{note:B.keyword||B.value})},m.createElement(Qg,{value:B[g],active:A&&zn(B[g])===zn(A[g]),onClick:()=>y(B.value)})))))},m.createElement(Qg,{value:p,style:{margin:4}})),m.createElement(a4,{id:Be(e),value:s,onChange:B=>y(B.target.value),onFocus:B=>B.target.select(),placeholder:"Choose color..."}),s?m.createElement(o4,{onClick:h}):null)},h4=ry});l();c();d();l();c();d();l();c();d();Ct();l();c();d();var dP=__STORYBOOK_API__,{ActiveTabs:pP,Consumer:fP,ManagerContext:hP,Provider:mP,addons:Qn,combineParameters:gP,controlOrMetaKey:yP,controlOrMetaSymbol:bP,eventMatchesShortcut:EP,eventToShortcut:AP,isMacLike:vP,isShortcutTaken:DP,keyToSymbol:CP,merge:xP,mockChannel:FP,optionOrAltSymbol:SP,shortcutMatchesShortcut:wP,shortcutToHumanString:BP,types:Lu,useAddonState:TP,useArgTypes:Zn,useArgs:qu,useChannel:IP,useGlobalTypes:_P,useGlobals:Mu,useParameter:ju,useSharedState:OP,useStoryPrepared:RP,useStorybookApi:PP,useStorybookState:$u}=__STORYBOOK_API__;or();l();c();d();fa();Ct();ga();or();l();c();d();l();c();d();function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(i=o,s=u):a>=1&&a<2?(i=u,s=o):a>=2&&a<3?(s=o,p=u):a>=3&&a<4?(s=u,p=o):a>=4&&a<5?(i=u,p=o):a>=5&&a<6&&(i=o,p=u);var y=r-o/2,A=i+y,g=s+y,h=p+y;return n(A,g,h)}var ei={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function $2(e){if(typeof e!="string")return e;var t=e.toLowerCase();return ei[t]?"#"+ei[t]:e}var H2=/^#[a-fA-F0-9]{6}$/,U2=/^#[a-fA-F0-9]{8}$/,z2=/^#[a-fA-F0-9]{3}$/,G2=/^#[a-fA-F0-9]{4}$/,Da=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,V2=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,W2=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,K2=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function wt(e){if(typeof e!="string")throw new Te(3);var t=$2(e);if(t.match(H2))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(U2)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(z2))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(G2)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Da.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=V2.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var u=W2.exec(t);if(u){var i=parseInt(""+u[1],10),s=parseInt(""+u[2],10)/100,p=parseInt(""+u[3],10)/100,y="rgb("+lr(i,s,p)+")",A=Da.exec(y);if(!A)throw new Te(4,t,y);return{red:parseInt(""+A[1],10),green:parseInt(""+A[2],10),blue:parseInt(""+A[3],10)}}var g=K2.exec(t.substring(0,50));if(g){var h=parseInt(""+g[1],10),E=parseInt(""+g[2],10)/100,b=parseInt(""+g[3],10)/100,x="rgb("+lr(h,E,b)+")",B=Da.exec(x);if(!B)throw new Te(4,t,x);return{red:parseInt(""+B[1],10),green:parseInt(""+B[2],10),blue:parseInt(""+B[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new Te(5)}function Y2(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),u=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:u,alpha:e.alpha}:{hue:0,saturation:0,lightness:u};var i,s=a-o,p=u>.5?s/(2-a-o):s/(a+o);switch(a){case t:i=(r-n)/s+(r=1?Hr(e,t,r):"rgba("+lr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Hr(e.hue,e.saturation,e.lightness):"rgba("+lr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Te(2)}function Fa(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return xa("#"+dt(e)+dt(t)+dt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return xa("#"+dt(e.red)+dt(e.green)+dt(e.blue));throw new Te(6)}function Le(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=wt(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Fa(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Fa(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Te(7)}var e1=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},t1=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},r1=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},n1=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function et(e){if(typeof e!="object")throw new Te(8);if(t1(e))return Le(e);if(e1(e))return Fa(e);if(n1(e))return Z2(e);if(r1(e))return Q2(e);throw new Te(8)}function ri(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):ri(e,t,a)}}function Oe(e){return ri(e,e.length,[])}function a1(e,t){if(t==="transparent")return t;var r=Ze(t);return et(Ce({},r,{hue:r.hue+parseFloat(e)}))}var mk=Oe(a1);function Bt(e,t,r){return Math.max(e,Math.min(t,r))}function o1(e,t){if(t==="transparent")return t;var r=Ze(t);return et(Ce({},r,{lightness:Bt(0,1,r.lightness-parseFloat(e))}))}var u1=Oe(o1),qe=u1;function i1(e,t){if(t==="transparent")return t;var r=Ze(t);return et(Ce({},r,{saturation:Bt(0,1,r.saturation-parseFloat(e))}))}var gk=Oe(i1);function s1(e,t){if(t==="transparent")return t;var r=Ze(t);return et(Ce({},r,{lightness:Bt(0,1,r.lightness+parseFloat(e))}))}var l1=Oe(s1),tt=l1;function c1(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=wt(t),a=Ce({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),o=wt(r),u=Ce({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),i=a.alpha-u.alpha,s=parseFloat(e)*2-1,p=s*i===-1?s:s+i,y=1+s*i,A=(p/y+1)/2,g=1-A,h={red:Math.floor(a.red*A+u.red*g),green:Math.floor(a.green*A+u.green*g),blue:Math.floor(a.blue*A+u.blue*g),alpha:a.alpha*parseFloat(e)+u.alpha*(1-parseFloat(e))};return Le(h)}var d1=Oe(c1),ni=d1;function p1(e,t){if(t==="transparent")return t;var r=wt(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ce({},r,{alpha:Bt(0,1,(n*100+parseFloat(e)*100)/100)});return Le(a)}var f1=Oe(p1),cr=f1;function h1(e,t){if(t==="transparent")return t;var r=Ze(t);return et(Ce({},r,{saturation:Bt(0,1,r.saturation+parseFloat(e))}))}var yk=Oe(h1);function m1(e,t){return t==="transparent"?t:et(Ce({},Ze(t),{hue:parseFloat(e)}))}var bk=Oe(m1);function g1(e,t){return t==="transparent"?t:et(Ce({},Ze(t),{lightness:parseFloat(e)}))}var Ek=Oe(g1);function y1(e,t){return t==="transparent"?t:et(Ce({},Ze(t),{saturation:parseFloat(e)}))}var Ak=Oe(y1);function b1(e,t){return t==="transparent"?t:ni(parseFloat(e),"rgb(0, 0, 0)",t)}var vk=Oe(b1);function E1(e,t){return t==="transparent"?t:ni(parseFloat(e),"rgb(255, 255, 255)",t)}var Dk=Oe(E1);function A1(e,t){if(t==="transparent")return t;var r=wt(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ce({},r,{alpha:Bt(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Le(a)}var v1=Oe(A1),ie=v1;l();c();d();var pe=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();wa();var gy=De(co(),1);l();c();d();var pF=Object.create,_d=Object.defineProperty,fF=Object.getOwnPropertyDescriptor,hF=Object.getOwnPropertyNames,mF=Object.getPrototypeOf,gF=Object.prototype.hasOwnProperty,yF=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),bF=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of hF(t))!gF.call(e,a)&&a!==r&&_d(e,a,{get:()=>t[a],enumerable:!(n=fF(t,a))||n.enumerable});return e},EF=(e,t,r)=>(r=e!=null?pF(mF(e)):{},bF(t||!e||!e.__esModule?_d(r,"default",{value:e,enumerable:!0}):r,e)),AF=yF(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,o){return function u(i,s,p){var y,A,g,h=t.call(i),E=t.call(s);if(i===s)return!0;if(i==null||s==null)return!1;if(p.indexOf(i)>-1&&p.indexOf(s)>-1)return!0;if(p.push(i,s),h!=E||(y=n(i),A=n(s),y.length!=A.length||y.some(function(b){return!u(i[b],s[b],p)})))return!1;switch(h.slice(8,-1)){case"Symbol":return i.valueOf()==s.valueOf();case"Date":case"Number":return+i==+s||+i!=+i&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+i==""+s;case"Set":case"Map":y=i.entries(),A=s.entries();do if(!u((g=y.next()).value,A.next().value,p))return!1;while(!g.done);return!0;case"ArrayBuffer":i=new Uint8Array(i),s=new Uint8Array(s);case"DataView":i=new Uint8Array(i.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(i.length!=s.length)return!1;for(g=0;ge.map(t=>typeof t<"u").filter(Boolean).length,vF=(e,t)=>{let{exists:r,eq:n,neq:a,truthy:o}=e;if(Od([r,n,a,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,Id.isEqual)(t,n);if(typeof a<"u")return!(0,Id.isEqual)(t,a);if(typeof r<"u"){let u=typeof t<"u";return r?u:!u}return typeof o>"u"||o?!!t:!t},po=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(Od([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let o=n?t[n]:r[a];return vF(e.if,o)};l();c();d();var QK=__STORYBOOK_CLIENT_LOGGER__,{deprecate:DF,logger:mt,once:fo,pretty:ZK}=__STORYBOOK_CLIENT_LOGGER__;l();c();d();Ct();function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Pd={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},xF=["style","script"],FF=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,SF=/mailto:/i,wF=/\n{2,}$/,jd=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,BF=/^ *> ?/gm,TF=/^ {2,}\n/,IF=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,$d=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Hd=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,_F=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,OF=/^(?:\n *)*\n/,RF=/\r\n?/g,PF=/^\[\^([^\]]+)](:.*)\n/,kF=/^\[\^([^\]]+)]/,NF=/\f/g,LF=/^\s*?\[(x|\s)\]/,Ud=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,zd=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Gd=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,bo=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,qF=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Vd=/^)/,MF=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Eo=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,jF=/^\{.*\}$/,$F=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,HF=/^<([^ >]+@[^ >]+)>/,UF=/^<([^ >]+:\/[^ >]+)>/,zF=/-([a-z])?/gi,Wd=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,GF=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,VF=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,WF=/^\[([^\]]*)\] ?\[([^\]]*)\]/,KF=/(\[|\])/g,YF=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,XF=/\t/g,JF=/^ *\| */,QF=/(^ *\||\| *$)/g,ZF=/ *$/,eS=/^ *:-+: *$/,tS=/^ *:-+ *$/,rS=/^ *-+: *$/,nS=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,aS=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,oS=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,uS=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,iS=/^\\([^0-9A-Za-z\s])/,sS=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,lS=/^\n+/,cS=/^([ \t]*)/,dS=/\\([^\\])/g,kd=/ *\n+$/,pS=/(?:^|\n)( *)$/,Ao="(?:\\d+\\.)",vo="(?:[*+-])";function Kd(e){return"( *)("+(e===1?Ao:vo)+") +"}var Yd=Kd(1),Xd=Kd(2);function Jd(e){return new RegExp("^"+(e===1?Yd:Xd))}var fS=Jd(1),hS=Jd(2);function Qd(e){return new RegExp("^"+(e===1?Yd:Xd)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Ao:vo)+" )[^\\n]*)*(\\n|$)","gm")}var Zd=Qd(1),ep=Qd(2);function tp(e){let t=e===1?Ao:vo;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var rp=tp(1),np=tp(2);function Nd(e,t){let r=t===1,n=r?rp:np,a=r?Zd:ep,o=r?fS:hS;return{t(u,i,s){let p=pS.exec(s);return p&&(i.o||!i._&&!i.u)?n.exec(u=p[1]+u):null},i:ee.HIGH,l(u,i,s){let p=r?+u[2]:void 0,y=u[0].replace(wF,` -`).match(a),A=!1;return{p:y.map(function(g,h){let E=o.exec(g)[0].length,b=new RegExp("^ {1,"+E+"}","gm"),x=g.replace(b,"").replace(o,""),B=h===y.length-1,w=x.indexOf(` - -`)!==-1||B&&A;A=w;let I=s._,L=s.o,S;s.o=!0,w?(s._=!1,S=x.replace(kd,` - -`)):(s._=!0,S=x.replace(kd,""));let N=i(S,s);return s._=I,s.o=L,N}),m:r,g:p}},h:(u,i,s)=>e(u.m?"ol":"ul",{key:s.k,start:u.g},u.p.map(function(p,y){return e("li",{key:y},i(p,s))}))}}var mS=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,gS=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ap=[jd,$d,Hd,Ud,Gd,zd,Vd,Wd,Zd,rp,ep,np],yS=[...ap,/^[^\n]+(?: \n|\n{2,})/,bo,Eo];function bS(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function ES(e){return rS.test(e)?"right":eS.test(e)?"center":tS.test(e)?"left":null}function Ld(e,t,r){let n=r.$;r.$=!0;let a=t(e.trim(),r);r.$=n;let o=[[]];return a.forEach(function(u,i){u.type==="tableSeparator"?i!==0&&i!==a.length-1&&o.push([]):(u.type!=="text"||a[i+1]!=null&&a[i+1].type!=="tableSeparator"||(u.v=u.v.replace(ZF,"")),o[o.length-1].push(u))}),o}function AS(e,t,r){r._=!0;let n=Ld(e[1],t,r),a=e[2].replace(QF,"").split("|").map(ES),o=function(u,i,s){return u.trim().split(` -`).map(function(p){return Ld(p,i,s)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function qd(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function nt(e){return function(t,r){return r._?e.exec(t):null}}function at(e){return function(t,r){return r._||r.u?e.exec(t):null}}function Ye(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function Dr(e){return function(t){return e.exec(t)}}function vS(e,t,r){if(t._||t.u||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(o=>!ap.some(u=>u.test(o))&&(n+=o+` -`,o.trim()));let a=n.trimEnd();return a==""?null:[n,a]}function qt(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function Md(e){return e.replace(dS,"$1")}function fn(e,t,r){let n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;let o=e(t,r);return r._=n,r.u=a,o}function DS(e,t,r){let n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;let o=e(t,r);return r._=n,r.u=a,o}function CS(e,t,r){return r._=!1,e(t,r)}var ho=(e,t,r)=>({v:fn(t,e[1],r)});function mo(){return{}}function go(){return null}function xS(...e){return e.filter(Boolean).join(" ")}function yo(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var ee;function FS(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||bS,t.namedCodesToUnicode=t.namedCodesToUnicode?gt({},Pd,t.namedCodesToUnicode):Pd;let r=t.createElement||Jn;function n(h,E,...b){let x=yo(t.overrides,`${h}.props`,{});return r(function(B,w){let I=yo(w,B);return I?typeof I=="function"||typeof I=="object"&&"render"in I?I:yo(w,`${B}.component`,B):B}(h,t.overrides),gt({},E,x,{className:xS(E?.className,x.className)||void 0}),...b)}function a(h){let E=!1;t.forceInline?E=!0:t.forceBlock||(E=YF.test(h)===!1);let b=y(p(E?h:`${h.trimEnd().replace(lS,"")} - -`,{_:E}));for(;typeof b[b.length-1]=="string"&&!b[b.length-1].trim();)b.pop();if(t.wrapper===null)return b;let x=t.wrapper||(E?"span":"div"),B;if(b.length>1||t.forceWrapper)B=b;else{if(b.length===1)return B=b[0],typeof B=="string"?n("span",{key:"outer"},B):B;B=null}return Jn(x,{key:"outer"},B)}function o(h){let E=h.match(FF);return E?E.reduce(function(b,x,B){let w=x.indexOf("=");if(w!==-1){let I=function(k){return k.indexOf("-")!==-1&&k.match(MF)===null&&(k=k.replace(zF,function(U,W){return W.toUpperCase()})),k}(x.slice(0,w)).trim(),L=function(k){let U=k[0];return(U==='"'||U==="'")&&k.length>=2&&k[k.length-1]===U?k.slice(1,-1):k}(x.slice(w+1).trim()),S=Rd[I]||I,N=b[S]=function(k,U){return k==="style"?U.split(/;\s?/).reduce(function(W,H){let oe=H.slice(0,H.indexOf(":"));return W[oe.replace(/(-[a-z])/g,Q=>Q[1].toUpperCase())]=H.slice(oe.length+1).trim(),W},{}):k==="href"?qt(U):(U.match(jF)&&(U=U.slice(1,U.length-1)),U==="true"||U!=="false"&&U)}(I,L);typeof N=="string"&&(bo.test(N)||Eo.test(N))&&(b[S]=de(a(N.trim()),{key:B}))}else x!=="style"&&(b[Rd[x]||x]=!0);return b},{}):null}let u=[],i={},s={blockQuote:{t:Ye(jd),i:ee.HIGH,l:(h,E,b)=>({v:E(h[0].replace(BF,""),b)}),h:(h,E,b)=>n("blockquote",{key:b.k},E(h.v,b))},breakLine:{t:Dr(TF),i:ee.HIGH,l:mo,h:(h,E,b)=>n("br",{key:b.k})},breakThematic:{t:Ye(IF),i:ee.HIGH,l:mo,h:(h,E,b)=>n("hr",{key:b.k})},codeBlock:{t:Ye(Hd),i:ee.MAX,l:h=>({v:h[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(h,E,b)=>n("pre",{key:b.k},n("code",gt({},h.O,{className:h.M?`lang-${h.M}`:""}),h.v))},codeFenced:{t:Ye($d),i:ee.MAX,l:h=>({O:o(h[3]||""),v:h[4],M:h[2]||void 0,type:"codeBlock"})},codeInline:{t:at(_F),i:ee.LOW,l:h=>({v:h[2]}),h:(h,E,b)=>n("code",{key:b.k},h.v)},footnote:{t:Ye(PF),i:ee.MAX,l:h=>(u.push({I:h[2],j:h[1]}),{}),h:go},footnoteReference:{t:nt(kF),i:ee.HIGH,l:h=>({v:h[1],B:`#${t.slugify(h[1])}`}),h:(h,E,b)=>n("a",{key:b.k,href:qt(h.B)},n("sup",{key:b.k},h.v))},gfmTask:{t:nt(LF),i:ee.HIGH,l:h=>({R:h[1].toLowerCase()==="x"}),h:(h,E,b)=>n("input",{checked:h.R,key:b.k,readOnly:!0,type:"checkbox"})},heading:{t:Ye(t.enforceAtxHeadings?zd:Ud),i:ee.HIGH,l:(h,E,b)=>({v:fn(E,h[2],b),T:t.slugify(h[2]),C:h[1].length}),h:(h,E,b)=>n(`h${h.C}`,{id:h.T,key:b.k},E(h.v,b))},headingSetext:{t:Ye(Gd),i:ee.MAX,l:(h,E,b)=>({v:fn(E,h[1],b),C:h[2]==="="?1:2,type:"heading"})},htmlComment:{t:Dr(Vd),i:ee.HIGH,l:()=>({}),h:go},image:{t:at(gS),i:ee.HIGH,l:h=>({D:h[1],B:Md(h[2]),F:h[3]}),h:(h,E,b)=>n("img",{key:b.k,alt:h.D||void 0,title:h.F||void 0,src:qt(h.B)})},link:{t:nt(mS),i:ee.LOW,l:(h,E,b)=>({v:DS(E,h[1],b),B:Md(h[2]),F:h[3]}),h:(h,E,b)=>n("a",{key:b.k,href:qt(h.B),title:h.F},E(h.v,b))},linkAngleBraceStyleDetector:{t:nt(UF),i:ee.MAX,l:h=>({v:[{v:h[1],type:"text"}],B:h[1],type:"link"})},linkBareUrlDetector:{t:(h,E)=>E.N?null:nt($F)(h,E),i:ee.MAX,l:h=>({v:[{v:h[1],type:"text"}],B:h[1],F:void 0,type:"link"})},linkMailtoDetector:{t:nt(HF),i:ee.MAX,l(h){let E=h[1],b=h[1];return SF.test(b)||(b="mailto:"+b),{v:[{v:E.replace("mailto:",""),type:"text"}],B:b,type:"link"}}},orderedList:Nd(n,1),unorderedList:Nd(n,2),newlineCoalescer:{t:Ye(OF),i:ee.LOW,l:mo,h:()=>` -`},paragraph:{t:vS,i:ee.LOW,l:ho,h:(h,E,b)=>n("p",{key:b.k},E(h.v,b))},ref:{t:nt(GF),i:ee.MAX,l:h=>(i[h[1]]={B:h[2],F:h[4]},{}),h:go},refImage:{t:at(VF),i:ee.MAX,l:h=>({D:h[1]||void 0,P:h[2]}),h:(h,E,b)=>n("img",{key:b.k,alt:h.D,src:qt(i[h.P].B),title:i[h.P].F})},refLink:{t:nt(WF),i:ee.MAX,l:(h,E,b)=>({v:E(h[1],b),Z:E(h[0].replace(KF,"\\$1"),b),P:h[2]}),h:(h,E,b)=>i[h.P]?n("a",{key:b.k,href:qt(i[h.P].B),title:i[h.P].F},E(h.v,b)):n("span",{key:b.k},E(h.Z,b))},table:{t:Ye(Wd),i:ee.HIGH,l:AS,h:(h,E,b)=>n("table",{key:b.k},n("thead",null,n("tr",null,h.L.map(function(x,B){return n("th",{key:B,style:qd(h,B)},E(x,b))}))),n("tbody",null,h.A.map(function(x,B){return n("tr",{key:B},x.map(function(w,I){return n("td",{key:I,style:qd(h,I)},E(w,b))}))})))},tableSeparator:{t:function(h,E){return E.$?(E._=!0,JF.exec(h)):null},i:ee.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:Dr(sS),i:ee.MIN,l:h=>({v:h[0].replace(qF,(E,b)=>t.namedCodesToUnicode[b]?t.namedCodesToUnicode[b]:E)}),h:h=>h.v},textBolded:{t:at(nS),i:ee.MED,l:(h,E,b)=>({v:E(h[2],b)}),h:(h,E,b)=>n("strong",{key:b.k},E(h.v,b))},textEmphasized:{t:at(aS),i:ee.LOW,l:(h,E,b)=>({v:E(h[2],b)}),h:(h,E,b)=>n("em",{key:b.k},E(h.v,b))},textEscaped:{t:at(iS),i:ee.HIGH,l:h=>({v:h[1],type:"text"})},textMarked:{t:at(oS),i:ee.LOW,l:ho,h:(h,E,b)=>n("mark",{key:b.k},E(h.v,b))},textStrikethroughed:{t:at(uS),i:ee.LOW,l:ho,h:(h,E,b)=>n("del",{key:b.k},E(h.v,b))}};t.disableParsingRawHTML!==!0&&(s.htmlBlock={t:Dr(bo),i:ee.HIGH,l(h,E,b){let[,x]=h[3].match(cS),B=new RegExp(`^${x}`,"gm"),w=h[3].replace(B,""),I=(L=w,yS.some(U=>U.test(L))?CS:fn);var L;let S=h[1].toLowerCase(),N=xF.indexOf(S)!==-1;b.N=b.N||S==="a";let k=N?h[3]:I(E,w,b);return b.N=!1,{O:o(h[2]),v:k,G:N,H:N?S:h[1]}},h:(h,E,b)=>n(h.H,gt({key:b.k},h.O),h.G?h.v:E(h.v,b))},s.htmlSelfClosing={t:Dr(Eo),i:ee.HIGH,l:h=>({O:o(h[2]||""),H:h[1]}),h:(h,E,b)=>n(h.H,gt({},h.O,{key:b.k}))});let p=function(h){let E=Object.keys(h);function b(x,B){let w=[],I="";for(;x;){let L=0;for(;L{let{children:t,options:r}=e,n=function(a,o){if(a==null)return{};var u,i,s={},p=Object.keys(a);for(i=0;i=0||(s[u]=a[u]);return s}(e,CF);return de(FS(t,r),n)};var yy=De(hn(),1),by=De(Sp(),1),Ey=De(_0(),1);l();c();d();l();c();d();var kJ=__STORYBOOK_CHANNELS__,{Channel:xo,PostMessageTransport:NJ,WebsocketTransport:LJ,createBrowserChannel:qJ}=__STORYBOOK_CHANNELS__;l();c();d();var UJ=__STORYBOOK_CORE_EVENTS__,{CHANNEL_CREATED:zJ,CHANNEL_WS_DISCONNECT:GJ,CONFIG_ERROR:y3,CURRENT_STORY_WAS_SET:b3,DOCS_PREPARED:E3,DOCS_RENDERED:A3,FORCE_REMOUNT:v3,FORCE_RE_RENDER:D3,GLOBALS_UPDATED:O0,NAVIGATE_URL:R0,PLAY_FUNCTION_THREW_EXCEPTION:C3,PRELOAD_ENTRIES:x3,PREVIEW_BUILDER_PROGRESS:VJ,PREVIEW_KEYDOWN:F3,REGISTER_SUBSCRIPTION:WJ,REQUEST_WHATS_NEW_DATA:KJ,RESET_STORY_ARGS:P0,RESULT_WHATS_NEW_DATA:YJ,SELECT_STORY:XJ,SET_CONFIG:JJ,SET_CURRENT_STORY:S3,SET_GLOBALS:w3,SET_INDEX:QJ,SET_STORIES:ZJ,SET_WHATS_NEW_CACHE:eQ,SHARED_STATE_CHANGED:tQ,SHARED_STATE_SET:rQ,STORIES_COLLAPSE_ALL:nQ,STORIES_EXPAND_ALL:aQ,STORY_ARGS_UPDATED:k0,STORY_CHANGED:B3,STORY_ERRORED:T3,STORY_INDEX_INVALIDATED:I3,STORY_MISSING:_3,STORY_PREPARED:O3,STORY_RENDERED:R3,STORY_RENDER_PHASE_CHANGED:P3,STORY_SPECIFIED:k3,STORY_THREW_EXCEPTION:N3,STORY_UNCHANGED:L3,TELEMETRY_ERROR:oQ,TOGGLE_WHATS_NEW_NOTIFICATIONS:uQ,UNHANDLED_ERRORS_WHILE_PLAYING:q3,UPDATE_GLOBALS:M3,UPDATE_QUERY_PARAMS:j3,UPDATE_STORY_ARGS:N0}=__STORYBOOK_CORE_EVENTS__;var fm=De(hn(),1),Ir=De(Fo(),1),LT=De(Ef(),1);l();c();d();l();c();d();l();c();d();l();c();d();function So(e){for(var t=[],r=1;r(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))(BB||{});l();c();d();var On=De(Cf(),1);var hm=De(Ff(),1),mm=De(co(),1);l();c();d();var qT=De(lm(),1),MT=Object.create,gm=Object.defineProperty,jT=Object.getOwnPropertyDescriptor,ym=Object.getOwnPropertyNames,$T=Object.getPrototypeOf,HT=Object.prototype.hasOwnProperty,Xe=(e,t)=>function(){return t||(0,e[ym(e)[0]])((t={exports:{}}).exports,t),t.exports},UT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ym(t))!HT.call(e,a)&&a!==r&&gm(e,a,{get:()=>t[a],enumerable:!(n=jT(t,a))||n.enumerable});return e},zT=(e,t,r)=>(r=e!=null?MT($T(e)):{},UT(t||!e||!e.__esModule?gm(r,"default",{value:e,enumerable:!0}):r,e)),bm=Xe({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),GT=Xe({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),Em=Xe({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),VT=Xe({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"(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}}}),WT=Xe({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(VT()),n=String.fromCodePoint||function(o){var u="";return o>65535&&(o-=65536,u+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),u+=String.fromCharCode(o),u};function a(o){return o>=55296&&o<=57343||o>1114111?"\uFFFD":(o in r.default&&(o=r.default[o]),n(o))}e.default=a}}),cm=Xe({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(bm()),n=t(GT()),a=t(Em()),o=t(WT()),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=i(a.default),e.decodeHTMLStrict=i(r.default);function i(y){var A=p(y);return function(g){return String(g).replace(u,A)}}var s=function(y,A){return y1?A(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}function h(w,I){return function(L){return L.replace(I,function(S){return w[S]}).replace(y,g)}}var E=new RegExp(a.source+"|"+y.source,"g");function b(w){return w.replace(E,g)}e.escape=b;function x(w){return w.replace(a,g)}e.escapeUTF8=x;function B(w){return function(I){return I.replace(E,function(L){return w[L]||g(L)})}}}}),KT=Xe({"../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"(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=cm(),r=dm();function n(s,p){return(!p||p<=0?t.decodeXML:t.decodeHTML)(s)}e.decode=n;function a(s,p){return(!p||p<=0?t.decodeXML:t.decodeHTMLStrict)(s)}e.decodeStrict=a;function o(s,p){return(!p||p<=0?r.encodeXML:r.encodeHTML)(s)}e.encode=o;var u=dm();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var i=cm();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})}}),YT=Xe({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(R,_){if(!(R instanceof _))throw new TypeError("Cannot call a class as a function")}function n(R,_){for(var j=0;j<_.length;j++){var G=_[j];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(R,G.key,G)}}function a(R,_,j){return _&&n(R.prototype,_),j&&n(R,j),R}function o(R){if(typeof Symbol>"u"||R[Symbol.iterator]==null){if(Array.isArray(R)||(R=u(R))){var _=0,j=function(){};return{s:j,n:function(){return _>=R.length?{done:!0}:{done:!1,value:R[_++]}},e:function(ue){throw ue},f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var G,X=!0,Y=!1,te;return{s:function(){G=R[Symbol.iterator]()},n:function(){var ue=G.next();return X=ue.done,ue},e:function(ue){Y=!0,te=ue},f:function(){try{!X&&G.return!=null&&G.return()}finally{if(Y)throw te}}}}function u(R,_){if(R){if(typeof R=="string")return i(R,_);var j=Object.prototype.toString.call(R).slice(8,-1);if(j==="Object"&&R.constructor&&(j=R.constructor.name),j==="Map"||j==="Set")return Array.from(j);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return i(R,_)}}function i(R,_){(_==null||_>R.length)&&(_=R.length);for(var j=0,G=new Array(_);j<_;j++)G[j]=R[j];return G}var s=KT(),p={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:y()};function y(){var R={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 w(0,5).forEach(function(_){w(0,5).forEach(function(j){w(0,5).forEach(function(G){return A(_,j,G,R)})})}),w(0,23).forEach(function(_){var j=_+232,G=g(_*10+8);R[j]="#"+G+G+G}),R}function A(R,_,j,G){var X=16+R*36+_*6+j,Y=R>0?R*40+55:0,te=_>0?_*40+55:0,ue=j>0?j*40+55:0;G[X]=h([Y,te,ue])}function g(R){for(var _=R.toString(16);_.length<2;)_="0"+_;return _}function h(R){var _=[],j=o(R),G;try{for(j.s();!(G=j.n()).done;){var X=G.value;_.push(g(X))}}catch(Y){j.e(Y)}finally{j.f()}return"#"+_.join("")}function E(R,_,j,G){var X;return _==="text"?X=S(j,G):_==="display"?X=x(R,j,G):_==="xterm256"?X=U(R,G.colors[j]):_==="rgb"&&(X=b(R,j)),X}function b(R,_){_=_.substring(2).slice(0,-1);var j=+_.substr(0,2),G=_.substring(5).split(";"),X=G.map(function(Y){return("0"+Number(Y).toString(16)).substr(-2)}).join("");return k(R,(j===38?"color:#":"background-color:#")+X)}function x(R,_,j){_=parseInt(_,10);var G={"-1":function(){return"
"},0:function(){return R.length&&B(R)},1:function(){return N(R,"b")},3:function(){return N(R,"i")},4:function(){return N(R,"u")},8:function(){return k(R,"display:none")},9:function(){return N(R,"strike")},22:function(){return k(R,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return H(R,"i")},24:function(){return H(R,"u")},39:function(){return U(R,j.fg)},49:function(){return W(R,j.bg)},53:function(){return k(R,"text-decoration:overline")}},X;return G[_]?X=G[_]():4<_&&_<7?X=N(R,"blink"):29<_&&_<38?X=U(R,j.colors[_-30]):39<_&&_<48?X=W(R,j.colors[_-40]):89<_&&_<98?X=U(R,j.colors[8+(_-90)]):99<_&&_<108&&(X=W(R,j.colors[8+(_-100)])),X}function B(R){var _=R.slice(0);return R.length=0,_.reverse().map(function(j){return""}).join("")}function w(R,_){for(var j=[],G=R;G<=_;G++)j.push(G);return j}function I(R){return function(_){return(R===null||_.category!==R)&&R!=="all"}}function L(R){R=parseInt(R,10);var _=null;return R===0?_="all":R===1?_="bold":2")}function k(R,_){return N(R,"span",_)}function U(R,_){return N(R,"span","color:"+_)}function W(R,_){return N(R,"span","background-color:"+_)}function H(R,_){var j;if(R.slice(-1)[0]===_&&(j=R.pop()),j)return""}function oe(R,_,j){var G=!1,X=3;function Y(){return""}function te(ae,be){return j("xterm256",be),""}function ue(ae){return _.newline?j("display",-1):j("text",ae),""}function Ie(ae,be){G=!0,be.trim().length===0&&(be="0"),be=be.trimRight(";").split(";");var qr=o(be),Iu;try{for(qr.s();!(Iu=qr.n()).done;){var $y=Iu.value;j("display",$y)}}catch(Hy){qr.e(Hy)}finally{qr.f()}return""}function _e(ae){return j("text",ae),""}function J(ae){return j("rgb",ae),""}var Ne=[{pattern:/^\x08+/,sub:Y},{pattern:/^\x1b\[[012]?K/,sub:Y},{pattern:/^\x1b\[\(B/,sub:Y},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:J},{pattern:/^\x1b\[38;5;(\d+)m/,sub:te},{pattern:/^\n/,sub:ue},{pattern:/^\r+\n/,sub:ue},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Ie},{pattern:/^\x1b\[\d?J/,sub:Y},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Y},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Y},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:_e}];function T(ae,be){be>X&&G||(G=!1,R=R.replace(ae.pattern,ae.sub))}var P=[],q=R,O=q.length;e:for(;O>0;){for(var $=0,z=0,ce=Ne.length;z{},send:()=>{}};return new xo({transport:e})}var JT=class{constructor(){this.getChannel=()=>{if(!this.channel){let e=XT();return this.setChannel(e),e}return this.channel},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel,this.setChannel=e=>{this.channel=e,this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},Zo="__STORYBOOK_ADDONS_PREVIEW";function QT(){return pe[Zo]||(pe[Zo]=new JT),pe[Zo]}var Lre=QT();var qre=(0,fm.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{}));var Mre=Symbol("incompatible");var jre=Symbol("Deeply equal");var ZT=So` +(()=>{var B2=Object.create;var Ra=Object.defineProperty;var L2=Object.getOwnPropertyDescriptor;var q2=Object.getOwnPropertyNames;var M2=Object.getPrototypeOf,U2=Object.prototype.hasOwnProperty;var et=(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')});var Tt=(e,t)=>()=>(e&&(t=e(e=0)),t);var J=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Hl=(e,t)=>{for(var r in t)Ra(e,r,{get:t[r],enumerable:!0})},J2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of q2(t))!U2.call(e,o)&&o!==r&&Ra(e,o,{get:()=>t[o],enumerable:!(n=L2(t,o))||n.enumerable});return e};var ao=(e,t,r)=>(r=e!=null?B2(M2(e)):{},J2(t||!e||!e.__esModule?Ra(r,"default",{value:e,enumerable:!0}):r,e));var S=Tt(()=>{});var A=Tt(()=>{});var T=Tt(()=>{});var $2,Gl,z2,Wl,V2,H2,mn,nr,G2,gn,W2,Kl,K2,Yl,Y2,X2,or,Q2,Xl,tt,bn,Da=Tt(()=>{S();A();T();$2=Object.create,Gl=Object.defineProperty,z2=Object.getOwnPropertyDescriptor,Wl=Object.getOwnPropertyNames,V2=Object.getPrototypeOf,H2=Object.prototype.hasOwnProperty,mn=(e=>typeof et<"u"?et:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof et<"u"?et:t)[r]}):e)(function(e){if(typeof et<"u")return et.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),nr=(e,t)=>function(){return t||(0,e[Wl(e)[0]])((t={exports:{}}).exports,t),t.exports},G2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wl(t))!H2.call(e,o)&&o!==r&&Gl(e,o,{get:()=>t[o],enumerable:!(n=z2(t,o))||n.enumerable});return e},gn=(e,t,r)=>(r=e!=null?$2(V2(e)):{},G2(t||!e||!e.__esModule?Gl(r,"default",{value:e,enumerable:!0}):r,e)),W2=Object.create,Kl=Object.defineProperty,K2=Object.getOwnPropertyDescriptor,Yl=Object.getOwnPropertyNames,Y2=Object.getPrototypeOf,X2=Object.prototype.hasOwnProperty,or=(e,t)=>function(){return t||(0,e[Yl(e)[0]])((t={exports:{}}).exports,t),t.exports},Q2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Yl(t))!X2.call(e,o)&&o!==r&&Kl(e,o,{get:()=>t[o],enumerable:!(n=K2(t,o))||n.enumerable});return e},Xl=(e,t,r)=>(r=e!=null?W2(Y2(e)):{},Q2(t||!e||!e.__esModule?Kl(r,"default",{value:e,enumerable:!0}):r,e)),tt=e=>`control-${e.replace(/\s+/g,"-")}`,bn=e=>`set-${e.replace(/\s+/g,"-")}`});var E,Ql,jt,F6,j6,N6,B6,Zl,L6,Oe,vn,Fa,q6,M6,U6,J6,eu,$6,z6,V6,$e,tu,H6,G6,ze,W6,K6,Y6,ru,Nt,X6,Xe,he,Q6,Z6,e8,io=Tt(()=>{S();A();T();E=__REACT__,{Children:Ql,Component:jt,Fragment:F6,Profiler:j6,PureComponent:N6,StrictMode:B6,Suspense:Zl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:L6,cloneElement:Oe,createContext:vn,createElement:Fa,createFactory:q6,createRef:M6,forwardRef:U6,isValidElement:J6,lazy:eu,memo:$6,startTransition:z6,unstable_act:V6,useCallback:$e,useContext:tu,useDebugValue:H6,useDeferredValue:G6,useEffect:ze,useId:W6,useImperativeHandle:K6,useInsertionEffect:Y6,useLayoutEffect:ru,useMemo:Nt,useReducer:X6,useRef:Xe,useState:he,useSyncExternalStore:Q6,useTransition:Z6,version:e8}=__REACT__});var au={};Hl(au,{A:()=>t1,ActionBar:()=>ja,AddonPanel:()=>Na,Badge:()=>Ba,Bar:()=>La,Blockquote:()=>r1,Button:()=>Bt,ClipboardCode:()=>n1,Code:()=>o1,DL:()=>a1,Div:()=>i1,DocumentWrapper:()=>s1,EmptyTabContent:()=>qa,ErrorFormatter:()=>l1,FlexBar:()=>Ma,Form:()=>dt,H1:()=>u1,H2:()=>Ua,H3:()=>c1,H4:()=>p1,H5:()=>d1,H6:()=>f1,HR:()=>y1,IconButton:()=>ht,IconButtonSkeleton:()=>h1,Icons:()=>m1,Img:()=>g1,LI:()=>b1,Link:()=>ir,ListItem:()=>v1,Loader:()=>x1,Modal:()=>mt,OL:()=>E1,P:()=>w1,Placeholder:()=>S1,Pre:()=>A1,ResetWrapper:()=>Ja,ScrollArea:()=>T1,Separator:()=>C1,Spaced:()=>$a,Span:()=>_1,StorybookIcon:()=>O1,StorybookLogo:()=>I1,Symbols:()=>P1,SyntaxHighlighter:()=>so,TT:()=>k1,TabBar:()=>R1,TabButton:()=>D1,TabWrapper:()=>F1,Table:()=>j1,Tabs:()=>N1,TabsState:()=>B1,TooltipLinkList:()=>L1,TooltipMessage:()=>q1,TooltipNote:()=>sr,UL:()=>M1,WithTooltip:()=>Lt,WithTooltipPure:()=>za,Zoom:()=>Va,codeCommon:()=>Ir,components:()=>Ha,createCopyToClipboardFunction:()=>U1,default:()=>e1,getStoryHref:()=>J1,icons:()=>$1,interleaveSeparators:()=>z1,nameSpaceClassNames:()=>Ga,resetComponents:()=>V1,withReset:()=>Pr});var e1,t1,ja,Na,Ba,La,r1,Bt,n1,o1,a1,i1,s1,qa,l1,Ma,dt,u1,Ua,c1,p1,d1,f1,y1,ht,h1,m1,g1,b1,ir,v1,x1,mt,E1,w1,S1,A1,Ja,T1,C1,$a,_1,O1,I1,P1,so,k1,R1,D1,F1,j1,N1,B1,L1,q1,sr,M1,Lt,za,Va,Ir,Ha,U1,J1,$1,z1,Ga,V1,Pr,lo=Tt(()=>{S();A();T();e1=__STORYBOOK_COMPONENTS__,{A:t1,ActionBar:ja,AddonPanel:Na,Badge:Ba,Bar:La,Blockquote:r1,Button:Bt,ClipboardCode:n1,Code:o1,DL:a1,Div:i1,DocumentWrapper:s1,EmptyTabContent:qa,ErrorFormatter:l1,FlexBar:Ma,Form:dt,H1:u1,H2:Ua,H3:c1,H4:p1,H5:d1,H6:f1,HR:y1,IconButton:ht,IconButtonSkeleton:h1,Icons:m1,Img:g1,LI:b1,Link:ir,ListItem:v1,Loader:x1,Modal:mt,OL:E1,P:w1,Placeholder:S1,Pre:A1,ResetWrapper:Ja,ScrollArea:T1,Separator:C1,Spaced:$a,Span:_1,StorybookIcon:O1,StorybookLogo:I1,Symbols:P1,SyntaxHighlighter:so,TT:k1,TabBar:R1,TabButton:D1,TabWrapper:F1,Table:j1,Tabs:N1,TabsState:B1,TooltipLinkList:L1,TooltipMessage:q1,TooltipNote:sr,UL:M1,WithTooltip:Lt,WithTooltipPure:za,Zoom:Va,codeCommon:Ir,components:Ha,createCopyToClipboardFunction:U1,getStoryHref:J1,icons:$1,interleaveSeparators:z1,nameSpaceClassNames:Ga,resetComponents:V1,withReset:Pr}=__STORYBOOK_COMPONENTS__});var g9,b9,v9,x9,Ru,E9,go,Du,w9,S9,A9,T9,C9,_9,O9,Fu,I9,P9,ei,k9,W,ti,R9,ri,D9,ni=Tt(()=>{S();A();T();g9=__STORYBOOK_THEMING__,{CacheProvider:b9,ClassNames:v9,Global:x9,ThemeProvider:Ru,background:E9,color:go,convert:Du,create:w9,createCache:S9,createGlobal:A9,createReset:T9,css:C9,darken:_9,ensure:O9,ignoreSsrWarning:Fu,isPropValid:I9,jsx:P9,keyframes:ei,lighten:k9,styled:W,themes:ti,typography:R9,useTheme:ri,withTheme:D9}=__STORYBOOK_THEMING__});var L9,q9,M9,oi,U9,J9,$9,z9,V9,H9,G9,W9,K9,Y9,X9,Q9,Z9,eU,tU,rU,nU,oU,aU,iU,sU,lU,uU,cU,pU,dU,fU,yU,hU,mU,gU,bU,vU,xU,EU,wU,SU,AU,TU,ju,Nu,CU,Bu,ai,_U,OU,Lu,IU,PU,kU,RU,DU,FU,jU,NU,BU,LU,qU,MU,UU,JU,$U,zU,VU,HU,GU,WU,KU,YU,XU,QU,ZU,eJ,tJ,rJ,nJ,oJ,aJ,iJ,sJ,bo,lJ,uJ,cJ,pJ,dJ,fJ,yJ,qu,Mu,hJ,mJ,gJ,bJ,vJ,xJ,EJ,wJ,SJ,AJ,TJ,CJ,_J,OJ,IJ,PJ,kJ,RJ,DJ,FJ,jJ,NJ,BJ,LJ,qJ,MJ,UJ,JJ,$J,zJ,VJ,HJ,GJ,Uu,WJ,KJ,YJ,XJ,QJ,ZJ,e$,Ju,t$,r$,n$,o$,a$,i$,s$,l$,u$,c$,p$,d$,f$,y$,h$,m$,g$,b$,v$,x$,E$,w$,S$,A$,T$,C$,_$,O$,I$,P$,k$,R$,D$,F$,j$,N$,B$,L$,q$,M$,U$,J$,$$,z$,V$,H$,G$,W$,K$,Y$,X$,Q$,Z$,ez,tz,rz,nz,oz,$u,az,iz,sz,lz,uz,cz,pz,dz,fz,yz,hz,mz,gz,ii,bz,vz,xz,Ez,wz,Sz,Az,Tz,Cz,_z,zu,Oz,Iz,Pz,kz,Rz,Vu,Hu,Gu,Dz,si=Tt(()=>{S();A();T();L9=__STORYBOOK_ICONS__,{AccessibilityAltIcon:q9,AccessibilityIcon:M9,AddIcon:oi,AdminIcon:U9,AlertAltIcon:J9,AlertIcon:$9,AlignLeftIcon:z9,AlignRightIcon:V9,AppleIcon:H9,ArrowDownIcon:G9,ArrowLeftIcon:W9,ArrowRightIcon:K9,ArrowSolidDownIcon:Y9,ArrowSolidLeftIcon:X9,ArrowSolidRightIcon:Q9,ArrowSolidUpIcon:Z9,ArrowUpIcon:eU,AzureDevOpsIcon:tU,BackIcon:rU,BasketIcon:nU,BatchAcceptIcon:oU,BatchDenyIcon:aU,BeakerIcon:iU,BellIcon:sU,BitbucketIcon:lU,BoldIcon:uU,BookIcon:cU,BookmarkHollowIcon:pU,BookmarkIcon:dU,BottomBarIcon:fU,BottomBarToggleIcon:yU,BoxIcon:hU,BranchIcon:mU,BrowserIcon:gU,ButtonIcon:bU,CPUIcon:vU,CalendarIcon:xU,CameraIcon:EU,CategoryIcon:wU,CertificateIcon:SU,ChangedIcon:AU,ChatIcon:TU,CheckIcon:ju,ChevronDownIcon:Nu,ChevronLeftIcon:CU,ChevronRightIcon:Bu,ChevronSmallDownIcon:ai,ChevronSmallLeftIcon:_U,ChevronSmallRightIcon:OU,ChevronSmallUpIcon:Lu,ChevronUpIcon:IU,ChromaticIcon:PU,ChromeIcon:kU,CircleHollowIcon:RU,CircleIcon:DU,ClearIcon:FU,CloseAltIcon:jU,CloseIcon:NU,CloudHollowIcon:BU,CloudIcon:LU,CogIcon:qU,CollapseIcon:MU,CommandIcon:UU,CommentAddIcon:JU,CommentIcon:$U,CommentsIcon:zU,CommitIcon:VU,CompassIcon:HU,ComponentDrivenIcon:GU,ComponentIcon:WU,ContrastIcon:KU,ControlsIcon:YU,CopyIcon:XU,CreditIcon:QU,CrossIcon:ZU,DashboardIcon:eJ,DatabaseIcon:tJ,DeleteIcon:rJ,DiamondIcon:nJ,DirectionIcon:oJ,DiscordIcon:aJ,DocChartIcon:iJ,DocListIcon:sJ,DocumentIcon:bo,DownloadIcon:lJ,DragIcon:uJ,EditIcon:cJ,EllipsisIcon:pJ,EmailIcon:dJ,ExpandAltIcon:fJ,ExpandIcon:yJ,EyeCloseIcon:qu,EyeIcon:Mu,FaceHappyIcon:hJ,FaceNeutralIcon:mJ,FaceSadIcon:gJ,FacebookIcon:bJ,FailedIcon:vJ,FastForwardIcon:xJ,FigmaIcon:EJ,FilterIcon:wJ,FlagIcon:SJ,FolderIcon:AJ,FormIcon:TJ,GDriveIcon:CJ,GithubIcon:_J,GitlabIcon:OJ,GlobeIcon:IJ,GoogleIcon:PJ,GraphBarIcon:kJ,GraphLineIcon:RJ,GraphqlIcon:DJ,GridAltIcon:FJ,GridIcon:jJ,GrowIcon:NJ,HeartHollowIcon:BJ,HeartIcon:LJ,HomeIcon:qJ,HourglassIcon:MJ,InfoIcon:UJ,ItalicIcon:JJ,JumpToIcon:$J,KeyIcon:zJ,LightningIcon:VJ,LightningOffIcon:HJ,LinkBrokenIcon:GJ,LinkIcon:Uu,LinkedinIcon:WJ,LinuxIcon:KJ,ListOrderedIcon:YJ,ListUnorderedIcon:XJ,LocationIcon:QJ,LockIcon:ZJ,MarkdownIcon:e$,MarkupIcon:Ju,MediumIcon:t$,MemoryIcon:r$,MenuIcon:n$,MergeIcon:o$,MirrorIcon:a$,MobileIcon:i$,MoonIcon:s$,NutIcon:l$,OutboxIcon:u$,OutlineIcon:c$,PaintBrushIcon:p$,PaperClipIcon:d$,ParagraphIcon:f$,PassedIcon:y$,PhoneIcon:h$,PhotoDragIcon:m$,PhotoIcon:g$,PinAltIcon:b$,PinIcon:v$,PlayBackIcon:x$,PlayIcon:E$,PlayNextIcon:w$,PlusIcon:S$,PointerDefaultIcon:A$,PointerHandIcon:T$,PowerIcon:C$,PrintIcon:_$,ProceedIcon:O$,ProfileIcon:I$,PullRequestIcon:P$,QuestionIcon:k$,RSSIcon:R$,RedirectIcon:D$,ReduxIcon:F$,RefreshIcon:j$,ReplyIcon:N$,RepoIcon:B$,RequestChangeIcon:L$,RewindIcon:q$,RulerIcon:M$,SearchIcon:U$,ShareAltIcon:J$,ShareIcon:$$,ShieldIcon:z$,SideBySideIcon:V$,SidebarAltIcon:H$,SidebarAltToggleIcon:G$,SidebarIcon:W$,SidebarToggleIcon:K$,SpeakerIcon:Y$,StackedIcon:X$,StarHollowIcon:Q$,StarIcon:Z$,StickerIcon:ez,StopAltIcon:tz,StopIcon:rz,StorybookIcon:nz,StructureIcon:oz,SubtractIcon:$u,SunIcon:az,SupportIcon:iz,SwitchAltIcon:sz,SyncIcon:lz,TabletIcon:uz,ThumbsUpIcon:cz,TimeIcon:pz,TimerIcon:dz,TransferIcon:fz,TrashIcon:yz,TwitterIcon:hz,TypeIcon:mz,UbuntuIcon:gz,UndoIcon:ii,UnfoldIcon:bz,UnlockIcon:vz,UnpinIcon:xz,UploadIcon:Ez,UserAddIcon:wz,UserAltIcon:Sz,UserIcon:Az,UsersIcon:Tz,VSCodeIcon:Cz,VerifiedIcon:_z,VideoIcon:zu,WandIcon:Oz,WatchIcon:Iz,WindowsIcon:Pz,WrenchIcon:kz,YoutubeIcon:Rz,ZoomIcon:Vu,ZoomOutIcon:Hu,ZoomResetIcon:Gu,iconList:Dz}=__STORYBOOK_ICONS__});var li=J((Lz,Wu)=>{S();A();T();function H1(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r{S();A();T();function G1(){this.__data__=[],this.size=0}Ku.exports=G1});var vo=J((Hz,Xu)=>{S();A();T();function W1(e,t){return e===t||e!==e&&t!==t}Xu.exports=W1});var En=J((Yz,Qu)=>{S();A();T();var K1=vo();function Y1(e,t){for(var r=e.length;r--;)if(K1(e[r][0],t))return r;return-1}Qu.exports=Y1});var ec=J((e7,Zu)=>{S();A();T();var X1=En(),Q1=Array.prototype,Z1=Q1.splice;function ex(e){var t=this.__data__,r=X1(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():Z1.call(t,r,1),--this.size,!0}Zu.exports=ex});var rc=J((o7,tc)=>{S();A();T();var tx=En();function rx(e){var t=this.__data__,r=tx(t,e);return r<0?void 0:t[r][1]}tc.exports=rx});var oc=J((l7,nc)=>{S();A();T();var nx=En();function ox(e){return nx(this.__data__,e)>-1}nc.exports=ox});var ic=J((d7,ac)=>{S();A();T();var ax=En();function ix(e,t){var r=this.__data__,n=ax(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}ac.exports=ix});var wn=J((m7,sc)=>{S();A();T();var sx=Yu(),lx=ec(),ux=rc(),cx=oc(),px=ic();function Rr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{S();A();T();var dx=wn();function fx(){this.__data__=new dx,this.size=0}lc.exports=fx});var pc=J((A7,cc)=>{S();A();T();function yx(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}cc.exports=yx});var fc=J((O7,dc)=>{S();A();T();function hx(e){return this.__data__.get(e)}dc.exports=hx});var hc=J((R7,yc)=>{S();A();T();function mx(e){return this.__data__.has(e)}yc.exports=mx});var ui=J((N7,mc)=>{S();A();T();var gx=typeof window=="object"&&window&&window.Object===Object&&window;mc.exports=gx});var st=J((M7,gc)=>{S();A();T();var bx=ui(),vx=typeof self=="object"&&self&&self.Object===Object&&self,xx=bx||vx||Function("return this")();gc.exports=xx});var Dr=J((z7,bc)=>{S();A();T();var Ex=st(),wx=Ex.Symbol;bc.exports=wx});var wc=J((W7,Ec)=>{S();A();T();var vc=Dr(),xc=Object.prototype,Sx=xc.hasOwnProperty,Ax=xc.toString,Sn=vc?vc.toStringTag:void 0;function Tx(e){var t=Sx.call(e,Sn),r=e[Sn];try{e[Sn]=void 0;var n=!0}catch{}var o=Ax.call(e);return n&&(t?e[Sn]=r:delete e[Sn]),o}Ec.exports=Tx});var Ac=J((Q7,Sc)=>{S();A();T();var Cx=Object.prototype,_x=Cx.toString;function Ox(e){return _x.call(e)}Sc.exports=Ox});var Fr=J((rV,_c)=>{S();A();T();var Tc=Dr(),Ix=wc(),Px=Ac(),kx="[object Null]",Rx="[object Undefined]",Cc=Tc?Tc.toStringTag:void 0;function Dx(e){return e==null?e===void 0?Rx:kx:Cc&&Cc in Object(e)?Ix(e):Px(e)}_c.exports=Dx});var gt=J((iV,Oc)=>{S();A();T();function Fx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Oc.exports=Fx});var ci=J((cV,Ic)=>{S();A();T();var jx=Fr(),Nx=gt(),Bx="[object AsyncFunction]",Lx="[object Function]",qx="[object GeneratorFunction]",Mx="[object Proxy]";function Ux(e){if(!Nx(e))return!1;var t=jx(e);return t==Lx||t==qx||t==Bx||t==Mx}Ic.exports=Ux});var kc=J((yV,Pc)=>{S();A();T();var Jx=st(),$x=Jx["__core-js_shared__"];Pc.exports=$x});var Fc=J((bV,Dc)=>{S();A();T();var pi=kc(),Rc=function(){var e=/[^.]+$/.exec(pi&&pi.keys&&pi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function zx(e){return!!Rc&&Rc in e}Dc.exports=zx});var di=J((wV,jc)=>{S();A();T();var Vx=Function.prototype,Hx=Vx.toString;function Gx(e){if(e!=null){try{return Hx.call(e)}catch{}try{return e+""}catch{}}return""}jc.exports=Gx});var Bc=J((CV,Nc)=>{S();A();T();var Wx=ci(),Kx=Fc(),Yx=gt(),Xx=di(),Qx=/[\\^$.*+?()[\]{}|]/g,Zx=/^\[object .+?Constructor\]$/,eE=Function.prototype,tE=Object.prototype,rE=eE.toString,nE=tE.hasOwnProperty,oE=RegExp("^"+rE.call(nE).replace(Qx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function aE(e){if(!Yx(e)||Kx(e))return!1;var t=Wx(e)?oE:Zx;return t.test(Xx(e))}Nc.exports=aE});var qc=J((PV,Lc)=>{S();A();T();function iE(e,t){return e?.[t]}Lc.exports=iE});var qt=J((FV,Mc)=>{S();A();T();var sE=Bc(),lE=qc();function uE(e,t){var r=lE(e,t);return sE(r)?r:void 0}Mc.exports=uE});var xo=J((LV,Uc)=>{S();A();T();var cE=qt(),pE=st(),dE=cE(pE,"Map");Uc.exports=dE});var An=J((JV,Jc)=>{S();A();T();var fE=qt(),yE=fE(Object,"create");Jc.exports=yE});var Vc=J((HV,zc)=>{S();A();T();var $c=An();function hE(){this.__data__=$c?$c(null):{},this.size=0}zc.exports=hE});var Gc=J((YV,Hc)=>{S();A();T();function mE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Hc.exports=mE});var Kc=J((eH,Wc)=>{S();A();T();var gE=An(),bE="__lodash_hash_undefined__",vE=Object.prototype,xE=vE.hasOwnProperty;function EE(e){var t=this.__data__;if(gE){var r=t[e];return r===bE?void 0:r}return xE.call(t,e)?t[e]:void 0}Wc.exports=EE});var Xc=J((oH,Yc)=>{S();A();T();var wE=An(),SE=Object.prototype,AE=SE.hasOwnProperty;function TE(e){var t=this.__data__;return wE?t[e]!==void 0:AE.call(t,e)}Yc.exports=TE});var Zc=J((lH,Qc)=>{S();A();T();var CE=An(),_E="__lodash_hash_undefined__";function OE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=CE&&t===void 0?_E:t,this}Qc.exports=OE});var tp=J((dH,ep)=>{S();A();T();var IE=Vc(),PE=Gc(),kE=Kc(),RE=Xc(),DE=Zc();function jr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{S();A();T();var rp=tp(),FE=wn(),jE=xo();function NE(){this.size=0,this.__data__={hash:new rp,map:new(jE||FE),string:new rp}}np.exports=NE});var ip=J((xH,ap)=>{S();A();T();function BE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}ap.exports=BE});var Tn=J((AH,sp)=>{S();A();T();var LE=ip();function qE(e,t){var r=e.__data__;return LE(t)?r[typeof t=="string"?"string":"hash"]:r.map}sp.exports=qE});var up=J((OH,lp)=>{S();A();T();var ME=Tn();function UE(e){var t=ME(this,e).delete(e);return this.size-=t?1:0,t}lp.exports=UE});var pp=J((RH,cp)=>{S();A();T();var JE=Tn();function $E(e){return JE(this,e).get(e)}cp.exports=$E});var fp=J((NH,dp)=>{S();A();T();var zE=Tn();function VE(e){return zE(this,e).has(e)}dp.exports=VE});var hp=J((MH,yp)=>{S();A();T();var HE=Tn();function GE(e,t){var r=HE(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}yp.exports=GE});var Eo=J((zH,mp)=>{S();A();T();var WE=op(),KE=up(),YE=pp(),XE=fp(),QE=hp();function Nr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{S();A();T();var ZE=wn(),ew=xo(),tw=Eo(),rw=200;function nw(e,t){var r=this.__data__;if(r instanceof ZE){var n=r.__data__;if(!ew||n.length{S();A();T();var ow=wn(),aw=uc(),iw=pc(),sw=fc(),lw=hc(),uw=bp();function Br(e){var t=this.__data__=new ow(e);this.size=t.size}Br.prototype.clear=aw;Br.prototype.delete=iw;Br.prototype.get=sw;Br.prototype.has=lw;Br.prototype.set=uw;vp.exports=Br});var Ep=J((rG,xp)=>{S();A();T();var cw="__lodash_hash_undefined__";function pw(e){return this.__data__.set(e,cw),this}xp.exports=pw});var Sp=J((iG,wp)=>{S();A();T();function dw(e){return this.__data__.has(e)}wp.exports=dw});var fi=J((cG,Ap)=>{S();A();T();var fw=Eo(),yw=Ep(),hw=Sp();function So(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new fw;++t{S();A();T();function mw(e,t){for(var r=-1,n=e==null?0:e.length;++r{S();A();T();function gw(e,t){return e.has(t)}_p.exports=gw});var hi=J((wG,Op)=>{S();A();T();var bw=fi(),vw=Cp(),xw=yi(),Ew=1,ww=2;function Sw(e,t,r,n,o,a){var i=r&Ew,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,y=!0,f=r&ww?new bw:void 0;for(a.set(e,t),a.set(t,e);++d{S();A();T();var Aw=st(),Tw=Aw.Uint8Array;Ip.exports=Tw});var kp=J((PG,Pp)=>{S();A();T();function Cw(e){var t=-1,r=Array(e.size);return e.forEach(function(n,o){r[++t]=[o,n]}),r}Pp.exports=Cw});var Ao=J((FG,Rp)=>{S();A();T();function _w(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}Rp.exports=_w});var Bp=J((LG,Np)=>{S();A();T();var Dp=Dr(),Fp=mi(),Ow=vo(),Iw=hi(),Pw=kp(),kw=Ao(),Rw=1,Dw=2,Fw="[object Boolean]",jw="[object Date]",Nw="[object Error]",Bw="[object Map]",Lw="[object Number]",qw="[object RegExp]",Mw="[object Set]",Uw="[object String]",Jw="[object Symbol]",$w="[object ArrayBuffer]",zw="[object DataView]",jp=Dp?Dp.prototype:void 0,gi=jp?jp.valueOf:void 0;function Vw(e,t,r,n,o,a,i){switch(r){case zw:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case $w:return!(e.byteLength!=t.byteLength||!a(new Fp(e),new Fp(t)));case Fw:case jw:case Lw:return Ow(+e,+t);case Nw:return e.name==t.name&&e.message==t.message;case qw:case Uw:return e==t+"";case Bw:var s=Pw;case Mw:var l=n&Rw;if(s||(s=kw),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;n|=Dw,i.set(e,t);var c=Iw(s(e),s(t),n,o,a,i);return i.delete(e),c;case Jw:if(gi)return gi.call(e)==gi.call(t)}return!1}Np.exports=Vw});var bi=J((JG,Lp)=>{S();A();T();function Hw(e,t){for(var r=-1,n=t.length,o=e.length;++r{S();A();T();var Gw=Array.isArray;qp.exports=Gw});var vi=J((YG,Mp)=>{S();A();T();var Ww=bi(),Kw=bt();function Yw(e,t,r){var n=t(e);return Kw(e)?n:Ww(n,r(e))}Mp.exports=Yw});var Jp=J((eW,Up)=>{S();A();T();function Xw(e,t){for(var r=-1,n=e==null?0:e.length,o=0,a=[];++r{S();A();T();function Qw(){return[]}$p.exports=Qw});var To=J((lW,Vp)=>{S();A();T();var Zw=Jp(),eS=xi(),tS=Object.prototype,rS=tS.propertyIsEnumerable,zp=Object.getOwnPropertySymbols,nS=zp?function(e){return e==null?[]:(e=Object(e),Zw(zp(e),function(t){return rS.call(e,t)}))}:eS;Vp.exports=nS});var Gp=J((dW,Hp)=>{S();A();T();function oS(e,t){for(var r=-1,n=Array(e);++r{S();A();T();function aS(e){return e!=null&&typeof e=="object"}Wp.exports=aS});var Yp=J((xW,Kp)=>{S();A();T();var iS=Fr(),sS=Mt(),lS="[object Arguments]";function uS(e){return sS(e)&&iS(e)==lS}Kp.exports=uS});var Ei=J((AW,Zp)=>{S();A();T();var Xp=Yp(),cS=Mt(),Qp=Object.prototype,pS=Qp.hasOwnProperty,dS=Qp.propertyIsEnumerable,fS=Xp(function(){return arguments}())?Xp:function(e){return cS(e)&&pS.call(e,"callee")&&!dS.call(e,"callee")};Zp.exports=fS});var td=J((OW,ed)=>{S();A();T();function yS(){return!1}ed.exports=yS});var Co=J((Cn,Lr)=>{S();A();T();var hS=st(),mS=td(),od=typeof Cn=="object"&&Cn&&!Cn.nodeType&&Cn,rd=od&&typeof Lr=="object"&&Lr&&!Lr.nodeType&&Lr,gS=rd&&rd.exports===od,nd=gS?hS.Buffer:void 0,bS=nd?nd.isBuffer:void 0,vS=bS||mS;Lr.exports=vS});var _o=J((jW,ad)=>{S();A();T();var xS=9007199254740991,ES=/^(?:0|[1-9]\d*)$/;function wS(e,t){var r=typeof e;return t=t??xS,!!t&&(r=="number"||r!="symbol"&&ES.test(e))&&e>-1&&e%1==0&&e{S();A();T();var SS=9007199254740991;function AS(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=SS}id.exports=AS});var ld=J(($W,sd)=>{S();A();T();var TS=Fr(),CS=Oo(),_S=Mt(),OS="[object Arguments]",IS="[object Array]",PS="[object Boolean]",kS="[object Date]",RS="[object Error]",DS="[object Function]",FS="[object Map]",jS="[object Number]",NS="[object Object]",BS="[object RegExp]",LS="[object Set]",qS="[object String]",MS="[object WeakMap]",US="[object ArrayBuffer]",JS="[object DataView]",$S="[object Float32Array]",zS="[object Float64Array]",VS="[object Int8Array]",HS="[object Int16Array]",GS="[object Int32Array]",WS="[object Uint8Array]",KS="[object Uint8ClampedArray]",YS="[object Uint16Array]",XS="[object Uint32Array]",be={};be[$S]=be[zS]=be[VS]=be[HS]=be[GS]=be[WS]=be[KS]=be[YS]=be[XS]=!0;be[OS]=be[IS]=be[US]=be[PS]=be[JS]=be[kS]=be[RS]=be[DS]=be[FS]=be[jS]=be[NS]=be[BS]=be[LS]=be[qS]=be[MS]=!1;function QS(e){return _S(e)&&CS(e.length)&&!!be[TS(e)]}sd.exports=QS});var Io=J((GW,ud)=>{S();A();T();function ZS(e){return function(t){return e(t)}}ud.exports=ZS});var Po=J((_n,qr)=>{S();A();T();var eA=ui(),cd=typeof _n=="object"&&_n&&!_n.nodeType&&_n,On=cd&&typeof qr=="object"&&qr&&!qr.nodeType&&qr,tA=On&&On.exports===cd,wi=tA&&eA.process,rA=function(){try{var e=On&&On.require&&On.require("util").types;return e||wi&&wi.binding&&wi.binding("util")}catch{}}();qr.exports=rA});var Si=J((eK,fd)=>{S();A();T();var nA=ld(),oA=Io(),pd=Po(),dd=pd&&pd.isTypedArray,aA=dd?oA(dd):nA;fd.exports=aA});var Ai=J((oK,yd)=>{S();A();T();var iA=Gp(),sA=Ei(),lA=bt(),uA=Co(),cA=_o(),pA=Si(),dA=Object.prototype,fA=dA.hasOwnProperty;function yA(e,t){var r=lA(e),n=!r&&sA(e),o=!r&&!n&&uA(e),a=!r&&!n&&!o&&pA(e),i=r||n||o||a,s=i?iA(e.length,String):[],l=s.length;for(var u in e)(t||fA.call(e,u))&&!(i&&(u=="length"||o&&(u=="offset"||u=="parent")||a&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||cA(u,l)))&&s.push(u);return s}yd.exports=yA});var ko=J((lK,hd)=>{S();A();T();var hA=Object.prototype;function mA(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||hA;return e===r}hd.exports=mA});var Ti=J((dK,md)=>{S();A();T();function gA(e,t){return function(r){return e(t(r))}}md.exports=gA});var bd=J((mK,gd)=>{S();A();T();var bA=Ti(),vA=bA(Object.keys,Object);gd.exports=vA});var xd=J((xK,vd)=>{S();A();T();var xA=ko(),EA=bd(),wA=Object.prototype,SA=wA.hasOwnProperty;function AA(e){if(!xA(e))return EA(e);var t=[];for(var r in Object(e))SA.call(e,r)&&r!="constructor"&&t.push(r);return t}vd.exports=AA});var Ci=J((AK,Ed)=>{S();A();T();var TA=ci(),CA=Oo();function _A(e){return e!=null&&CA(e.length)&&!TA(e)}Ed.exports=_A});var In=J((OK,wd)=>{S();A();T();var OA=Ai(),IA=xd(),PA=Ci();function kA(e){return PA(e)?OA(e):IA(e)}wd.exports=kA});var _i=J((RK,Sd)=>{S();A();T();var RA=vi(),DA=To(),FA=In();function jA(e){return RA(e,FA,DA)}Sd.exports=jA});var Cd=J((NK,Td)=>{S();A();T();var Ad=_i(),NA=1,BA=Object.prototype,LA=BA.hasOwnProperty;function qA(e,t,r,n,o,a){var i=r&NA,s=Ad(e),l=s.length,u=Ad(t),c=u.length;if(l!=c&&!i)return!1;for(var d=l;d--;){var y=s[d];if(!(i?y in t:LA.call(t,y)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var g=!0;a.set(e,t),a.set(t,e);for(var _=i;++d{S();A();T();var MA=qt(),UA=st(),JA=MA(UA,"DataView");_d.exports=JA});var Pd=J((zK,Id)=>{S();A();T();var $A=qt(),zA=st(),VA=$A(zA,"Promise");Id.exports=VA});var Oi=J((WK,kd)=>{S();A();T();var HA=qt(),GA=st(),WA=HA(GA,"Set");kd.exports=WA});var Dd=J((QK,Rd)=>{S();A();T();var KA=qt(),YA=st(),XA=KA(YA,"WeakMap");Rd.exports=XA});var Pn=J((rY,Md)=>{S();A();T();var Ii=Od(),Pi=xo(),ki=Pd(),Ri=Oi(),Di=Dd(),qd=Fr(),Mr=di(),Fd="[object Map]",QA="[object Object]",jd="[object Promise]",Nd="[object Set]",Bd="[object WeakMap]",Ld="[object DataView]",ZA=Mr(Ii),eT=Mr(Pi),tT=Mr(ki),rT=Mr(Ri),nT=Mr(Di),lr=qd;(Ii&&lr(new Ii(new ArrayBuffer(1)))!=Ld||Pi&&lr(new Pi)!=Fd||ki&&lr(ki.resolve())!=jd||Ri&&lr(new Ri)!=Nd||Di&&lr(new Di)!=Bd)&&(lr=function(e){var t=qd(e),r=t==QA?e.constructor:void 0,n=r?Mr(r):"";if(n)switch(n){case ZA:return Ld;case eT:return Fd;case tT:return jd;case rT:return Nd;case nT:return Bd}return t});Md.exports=lr});var Wd=J((iY,Gd)=>{S();A();T();var Fi=wo(),oT=hi(),aT=Bp(),iT=Cd(),Ud=Pn(),Jd=bt(),$d=Co(),sT=Si(),lT=1,zd="[object Arguments]",Vd="[object Array]",Ro="[object Object]",uT=Object.prototype,Hd=uT.hasOwnProperty;function cT(e,t,r,n,o,a){var i=Jd(e),s=Jd(t),l=i?Vd:Ud(e),u=s?Vd:Ud(t);l=l==zd?Ro:l,u=u==zd?Ro:u;var c=l==Ro,d=u==Ro,y=l==u;if(y&&$d(e)){if(!$d(t))return!1;i=!0,c=!1}if(y&&!c)return a||(a=new Fi),i||sT(e)?oT(e,t,r,n,o,a):aT(e,t,l,r,n,o,a);if(!(r&lT)){var f=c&&Hd.call(e,"__wrapped__"),h=d&&Hd.call(t,"__wrapped__");if(f||h){var g=f?e.value():e,_=h?t.value():t;return a||(a=new Fi),o(g,_,r,n,a)}}return y?(a||(a=new Fi),iT(e,t,r,n,o,a)):!1}Gd.exports=cT});var ji=J((cY,Xd)=>{S();A();T();var pT=Wd(),Kd=Mt();function Yd(e,t,r,n,o){return e===t?!0:e==null||t==null||!Kd(e)&&!Kd(t)?e!==e&&t!==t:pT(e,t,r,n,Yd,o)}Xd.exports=Yd});var Zd=J((yY,Qd)=>{S();A();T();var dT=wo(),fT=ji(),yT=1,hT=2;function mT(e,t,r,n){var o=r.length,a=o,i=!n;if(e==null)return!a;for(e=Object(e);o--;){var s=r[o];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o{S();A();T();var gT=gt();function bT(e){return e===e&&!gT(e)}ef.exports=bT});var rf=J((wY,tf)=>{S();A();T();var vT=Ni(),xT=In();function ET(e){for(var t=xT(e),r=t.length;r--;){var n=t[r],o=e[n];t[r]=[n,o,vT(o)]}return t}tf.exports=ET});var Bi=J((CY,nf)=>{S();A();T();function wT(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}nf.exports=wT});var af=J((PY,of)=>{S();A();T();var ST=Zd(),AT=rf(),TT=Bi();function CT(e){var t=AT(e);return t.length==1&&t[0][2]?TT(t[0][0],t[0][1]):function(r){return r===e||ST(r,e,t)}}of.exports=CT});var kn=J((FY,sf)=>{S();A();T();var _T=Fr(),OT=Mt(),IT="[object Symbol]";function PT(e){return typeof e=="symbol"||OT(e)&&_T(e)==IT}sf.exports=PT});var Do=J((LY,lf)=>{S();A();T();var kT=bt(),RT=kn(),DT=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,FT=/^\w*$/;function jT(e,t){if(kT(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||RT(e)?!0:FT.test(e)||!DT.test(e)||t!=null&&e in Object(t)}lf.exports=jT});var pf=J((JY,cf)=>{S();A();T();var uf=Eo(),NT="Expected a function";function Li(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(NT);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Li.Cache||uf),r}Li.Cache=uf;cf.exports=Li});var ff=J((HY,df)=>{S();A();T();var BT=pf(),LT=500;function qT(e){var t=BT(e,function(n){return r.size===LT&&r.clear(),n}),r=t.cache;return t}df.exports=qT});var hf=J((YY,yf)=>{S();A();T();var MT=ff(),UT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,JT=/\\(\\)?/g,$T=MT(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(UT,function(r,n,o,a){t.push(o?a.replace(JT,"$1"):n||r)}),t});yf.exports=$T});var Ef=J((eX,xf)=>{S();A();T();var mf=Dr(),zT=li(),VT=bt(),HT=kn(),GT=1/0,gf=mf?mf.prototype:void 0,bf=gf?gf.toString:void 0;function vf(e){if(typeof e=="string")return e;if(VT(e))return zT(e,vf)+"";if(HT(e))return bf?bf.call(e):"";var t=e+"";return t=="0"&&1/e==-GT?"-0":t}xf.exports=vf});var Sf=J((oX,wf)=>{S();A();T();var WT=Ef();function KT(e){return e==null?"":WT(e)}wf.exports=KT});var Rn=J((lX,Af)=>{S();A();T();var YT=bt(),XT=Do(),QT=hf(),ZT=Sf();function eC(e,t){return YT(e)?e:XT(e,t)?[e]:QT(ZT(e))}Af.exports=eC});var Ur=J((dX,Tf)=>{S();A();T();var tC=kn(),rC=1/0;function nC(e){if(typeof e=="string"||tC(e))return e;var t=e+"";return t=="0"&&1/e==-rC?"-0":t}Tf.exports=nC});var Fo=J((mX,Cf)=>{S();A();T();var oC=Rn(),aC=Ur();function iC(e,t){t=oC(t,e);for(var r=0,n=t.length;e!=null&&r{S();A();T();var sC=Fo();function lC(e,t,r){var n=e==null?void 0:sC(e,t);return n===void 0?r:n}_f.exports=lC});var Pf=J((AX,If)=>{S();A();T();function uC(e,t){return e!=null&&t in Object(e)}If.exports=uC});var Rf=J((OX,kf)=>{S();A();T();var cC=Rn(),pC=Ei(),dC=bt(),fC=_o(),yC=Oo(),hC=Ur();function mC(e,t,r){t=cC(t,e);for(var n=-1,o=t.length,a=!1;++n{S();A();T();var gC=Pf(),bC=Rf();function vC(e,t){return e!=null&&bC(e,t,gC)}Df.exports=vC});var Nf=J((NX,jf)=>{S();A();T();var xC=ji(),EC=Of(),wC=Ff(),SC=Do(),AC=Ni(),TC=Bi(),CC=Ur(),_C=1,OC=2;function IC(e,t){return SC(e)&&AC(t)?TC(CC(e),t):function(r){var n=EC(r,e);return n===void 0&&n===t?wC(r,e):xC(t,n,_C|OC)}}jf.exports=IC});var Lf=J((MX,Bf)=>{S();A();T();function PC(e){return e}Bf.exports=PC});var Mf=J((zX,qf)=>{S();A();T();function kC(e){return function(t){return t?.[e]}}qf.exports=kC});var Jf=J((WX,Uf)=>{S();A();T();var RC=Fo();function DC(e){return function(t){return RC(t,e)}}Uf.exports=DC});var zf=J((QX,$f)=>{S();A();T();var FC=Mf(),jC=Jf(),NC=Do(),BC=Ur();function LC(e){return NC(e)?FC(BC(e)):jC(e)}$f.exports=LC});var Hf=J((rQ,Vf)=>{S();A();T();var qC=af(),MC=Nf(),UC=Lf(),JC=bt(),$C=zf();function zC(e){return typeof e=="function"?e:e==null?UC:typeof e=="object"?JC(e)?MC(e[0],e[1]):qC(e):$C(e)}Vf.exports=zC});var Wf=J((iQ,Gf)=>{S();A();T();var VC=qt(),HC=function(){try{var e=VC(Object,"defineProperty");return e({},"",{}),e}catch{}}();Gf.exports=HC});var qi=J((cQ,Yf)=>{S();A();T();var Kf=Wf();function GC(e,t,r){t=="__proto__"&&Kf?Kf(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Yf.exports=GC});var jo=J((yQ,Xf)=>{S();A();T();var WC=qi(),KC=vo(),YC=Object.prototype,XC=YC.hasOwnProperty;function QC(e,t,r){var n=e[t];(!(XC.call(e,t)&&KC(n,r))||r===void 0&&!(t in e))&&WC(e,t,r)}Xf.exports=QC});var ey=J((bQ,Zf)=>{S();A();T();var ZC=jo(),e_=Rn(),t_=_o(),Qf=gt(),r_=Ur();function n_(e,t,r,n){if(!Qf(e))return e;t=e_(t,e);for(var o=-1,a=t.length,i=a-1,s=e;s!=null&&++o{S();A();T();var o_=Fo(),a_=ey(),i_=Rn();function s_(e,t,r){for(var n=-1,o=t.length,a={};++n{S();A();T();var l_=Ti(),u_=l_(Object.getPrototypeOf,Object);ny.exports=u_});var Ui=J((PQ,oy)=>{S();A();T();var c_=bi(),p_=Mi(),d_=To(),f_=xi(),y_=Object.getOwnPropertySymbols,h_=y_?function(e){for(var t=[];e;)c_(t,d_(e)),e=p_(e);return t}:f_;oy.exports=h_});var iy=J((FQ,ay)=>{S();A();T();function m_(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}ay.exports=m_});var ly=J((LQ,sy)=>{S();A();T();var g_=gt(),b_=ko(),v_=iy(),x_=Object.prototype,E_=x_.hasOwnProperty;function w_(e){if(!g_(e))return v_(e);var t=b_(e),r=[];for(var n in e)n=="constructor"&&(t||!E_.call(e,n))||r.push(n);return r}sy.exports=w_});var No=J((JQ,uy)=>{S();A();T();var S_=Ai(),A_=ly(),T_=Ci();function C_(e){return T_(e)?S_(e,!0):A_(e)}uy.exports=C_});var Ji=J((HQ,cy)=>{S();A();T();var __=vi(),O_=Ui(),I_=No();function P_(e){return __(e,I_,O_)}cy.exports=P_});var dy=J((YQ,py)=>{S();A();T();var k_=li(),R_=Hf(),D_=ry(),F_=Ji();function j_(e,t){if(e==null)return{};var r=k_(F_(e),function(n){return[n]});return t=R_(t),D_(e,r,function(n,o){return t(n,o[0])})}py.exports=j_});var hy=J((sZ,yy)=>{S();A();T();function N_(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a{S();A();T();function B_(e){return e!==e}my.exports=B_});var vy=J((hZ,by)=>{S();A();T();function L_(e,t,r){for(var n=r-1,o=e.length;++n{S();A();T();var q_=hy(),M_=gy(),U_=vy();function J_(e,t,r){return t===t?U_(e,t,r):q_(e,M_,r)}xy.exports=J_});var Sy=J((SZ,wy)=>{S();A();T();var $_=Ey();function z_(e,t){var r=e==null?0:e.length;return!!r&&$_(e,t,0)>-1}wy.exports=z_});var Ty=J((_Z,Ay)=>{S();A();T();function V_(e,t,r){for(var n=-1,o=e==null?0:e.length;++n{S();A();T();function H_(){}Cy.exports=H_});var Iy=J((jZ,Oy)=>{S();A();T();var $i=Oi(),G_=_y(),W_=Ao(),K_=1/0,Y_=$i&&1/W_(new $i([,-0]))[1]==K_?function(e){return new $i(e)}:G_;Oy.exports=Y_});var ky=J((qZ,Py)=>{S();A();T();var X_=fi(),Q_=Sy(),Z_=Ty(),eO=yi(),tO=Iy(),rO=Ao(),nO=200;function oO(e,t,r){var n=-1,o=Q_,a=e.length,i=!0,s=[],l=s;if(r)i=!1,o=Z_;else if(a>=nO){var u=t?null:tO(e);if(u)return rO(u);i=!1,o=eO,l=new X_}else l=t?[]:s;e:for(;++n{S();A();T();var aO=ky();function iO(e){return e&&e.length?aO(e):[]}Ry.exports=iO});var jy=J((GZ,Fy)=>{S();A();T();function sO(e,t){for(var r=-1,n=e==null?0:e.length;++r{S();A();T();var lO=jo(),uO=qi();function cO(e,t,r,n){var o=!r;r||(r={});for(var a=-1,i=t.length;++a{S();A();T();var pO=Dn(),dO=In();function fO(e,t){return e&&pO(t,dO(t),e)}By.exports=fO});var My=J((aee,qy)=>{S();A();T();var yO=Dn(),hO=No();function mO(e,t){return e&&yO(t,hO(t),e)}qy.exports=mO});var Vy=J((Fn,Jr)=>{S();A();T();var gO=st(),zy=typeof Fn=="object"&&Fn&&!Fn.nodeType&&Fn,Uy=zy&&typeof Jr=="object"&&Jr&&!Jr.nodeType&&Jr,bO=Uy&&Uy.exports===zy,Jy=bO?gO.Buffer:void 0,$y=Jy?Jy.allocUnsafe:void 0;function vO(e,t){if(t)return e.slice();var r=e.length,n=$y?$y(r):new e.constructor(r);return e.copy(n),n}Jr.exports=vO});var Gy=J((dee,Hy)=>{S();A();T();function xO(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{S();A();T();var EO=Dn(),wO=To();function SO(e,t){return EO(e,wO(e),t)}Wy.exports=SO});var Xy=J((xee,Yy)=>{S();A();T();var AO=Dn(),TO=Ui();function CO(e,t){return AO(e,TO(e),t)}Yy.exports=CO});var Zy=J((Aee,Qy)=>{S();A();T();var _O=Object.prototype,OO=_O.hasOwnProperty;function IO(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&OO.call(e,"index")&&(r.index=e.index,r.input=e.input),r}Qy.exports=IO});var Lo=J((Oee,th)=>{S();A();T();var eh=mi();function PO(e){var t=new e.constructor(e.byteLength);return new eh(t).set(new eh(e)),t}th.exports=PO});var nh=J((Ree,rh)=>{S();A();T();var kO=Lo();function RO(e,t){var r=t?kO(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}rh.exports=RO});var ah=J((Nee,oh)=>{S();A();T();var DO=/\w*$/;function FO(e){var t=new e.constructor(e.source,DO.exec(e));return t.lastIndex=e.lastIndex,t}oh.exports=FO});var ch=J((Mee,uh)=>{S();A();T();var ih=Dr(),sh=ih?ih.prototype:void 0,lh=sh?sh.valueOf:void 0;function jO(e){return lh?Object(lh.call(e)):{}}uh.exports=jO});var dh=J((zee,ph)=>{S();A();T();var NO=Lo();function BO(e,t){var r=t?NO(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}ph.exports=BO});var yh=J((Wee,fh)=>{S();A();T();var LO=Lo(),qO=nh(),MO=ah(),UO=ch(),JO=dh(),$O="[object Boolean]",zO="[object Date]",VO="[object Map]",HO="[object Number]",GO="[object RegExp]",WO="[object Set]",KO="[object String]",YO="[object Symbol]",XO="[object ArrayBuffer]",QO="[object DataView]",ZO="[object Float32Array]",eI="[object Float64Array]",tI="[object Int8Array]",rI="[object Int16Array]",nI="[object Int32Array]",oI="[object Uint8Array]",aI="[object Uint8ClampedArray]",iI="[object Uint16Array]",sI="[object Uint32Array]";function lI(e,t,r){var n=e.constructor;switch(t){case XO:return LO(e);case $O:case zO:return new n(+e);case QO:return qO(e,r);case ZO:case eI:case tI:case rI:case nI:case oI:case aI:case iI:case sI:return JO(e,r);case VO:return new n;case HO:case KO:return new n(e);case GO:return MO(e);case WO:return new n;case YO:return UO(e)}}fh.exports=lI});var gh=J((Qee,mh)=>{S();A();T();var uI=gt(),hh=Object.create,cI=function(){function e(){}return function(t){if(!uI(t))return{};if(hh)return hh(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();mh.exports=cI});var vh=J((rte,bh)=>{S();A();T();var pI=gh(),dI=Mi(),fI=ko();function yI(e){return typeof e.constructor=="function"&&!fI(e)?pI(dI(e)):{}}bh.exports=yI});var Eh=J((ite,xh)=>{S();A();T();var hI=Pn(),mI=Mt(),gI="[object Map]";function bI(e){return mI(e)&&hI(e)==gI}xh.exports=bI});var Th=J((cte,Ah)=>{S();A();T();var vI=Eh(),xI=Io(),wh=Po(),Sh=wh&&wh.isMap,EI=Sh?xI(Sh):vI;Ah.exports=EI});var _h=J((yte,Ch)=>{S();A();T();var wI=Pn(),SI=Mt(),AI="[object Set]";function TI(e){return SI(e)&&wI(e)==AI}Ch.exports=TI});var kh=J((bte,Ph)=>{S();A();T();var CI=_h(),_I=Io(),Oh=Po(),Ih=Oh&&Oh.isSet,OI=Ih?_I(Ih):CI;Ph.exports=OI});var Nh=J((wte,jh)=>{S();A();T();var II=wo(),PI=jy(),kI=jo(),RI=Ly(),DI=My(),FI=Vy(),jI=Gy(),NI=Ky(),BI=Xy(),LI=_i(),qI=Ji(),MI=Pn(),UI=Zy(),JI=yh(),$I=vh(),zI=bt(),VI=Co(),HI=Th(),GI=gt(),WI=kh(),KI=In(),YI=No(),XI=1,QI=2,ZI=4,Rh="[object Arguments]",eP="[object Array]",tP="[object Boolean]",rP="[object Date]",nP="[object Error]",Dh="[object Function]",oP="[object GeneratorFunction]",aP="[object Map]",iP="[object Number]",Fh="[object Object]",sP="[object RegExp]",lP="[object Set]",uP="[object String]",cP="[object Symbol]",pP="[object WeakMap]",dP="[object ArrayBuffer]",fP="[object DataView]",yP="[object Float32Array]",hP="[object Float64Array]",mP="[object Int8Array]",gP="[object Int16Array]",bP="[object Int32Array]",vP="[object Uint8Array]",xP="[object Uint8ClampedArray]",EP="[object Uint16Array]",wP="[object Uint32Array]",ge={};ge[Rh]=ge[eP]=ge[dP]=ge[fP]=ge[tP]=ge[rP]=ge[yP]=ge[hP]=ge[mP]=ge[gP]=ge[bP]=ge[aP]=ge[iP]=ge[Fh]=ge[sP]=ge[lP]=ge[uP]=ge[cP]=ge[vP]=ge[xP]=ge[EP]=ge[wP]=!0;ge[nP]=ge[Dh]=ge[pP]=!1;function qo(e,t,r,n,o,a){var i,s=t&XI,l=t&QI,u=t&ZI;if(r&&(i=o?r(e,n,o,a):r(e)),i!==void 0)return i;if(!GI(e))return e;var c=zI(e);if(c){if(i=UI(e),!s)return jI(e,i)}else{var d=MI(e),y=d==Dh||d==oP;if(VI(e))return FI(e,s);if(d==Fh||d==Rh||y&&!o){if(i=l||y?{}:$I(e),!s)return l?BI(e,DI(i,e)):NI(e,RI(i,e))}else{if(!ge[d])return o?e:{};i=JI(e,d,s)}}a||(a=new II);var f=a.get(e);if(f)return f;a.set(e,i),WI(e)?e.forEach(function(_){i.add(qo(_,t,r,_,e,a))}):HI(e)&&e.forEach(function(_,v){i.set(v,qo(_,t,r,v,e,a))});var h=u?l?qI:LI:l?YI:KI,g=c?void 0:h(e);return PI(g||e,function(_,v){g&&(v=_,_=e[v]),kI(i,v,qo(_,t,r,v,e,a))}),i}jh.exports=qo});var Lh=J((Cte,Bh)=>{S();A();T();var SP=Nh(),AP=1,TP=4;function CP(e){return SP(e,AP|TP)}Bh.exports=CP});var _0=J((noe,C0)=>{S();A();T();var Fj=st(),jj=function(){return Fj.Date.now()};C0.exports=jj});var I0=J((soe,O0)=>{S();A();T();var Nj=/\s/;function Bj(e){for(var t=e.length;t--&&Nj.test(e.charAt(t)););return t}O0.exports=Bj});var k0=J((poe,P0)=>{S();A();T();var Lj=I0(),qj=/^\s+/;function Mj(e){return e&&e.slice(0,Lj(e)+1).replace(qj,"")}P0.exports=Mj});var j0=J((hoe,F0)=>{S();A();T();var Uj=k0(),R0=gt(),Jj=kn(),D0=NaN,$j=/^[-+]0x[0-9a-f]+$/i,zj=/^0b[01]+$/i,Vj=/^0o[0-7]+$/i,Hj=parseInt;function Gj(e){if(typeof e=="number")return e;if(Jj(e))return D0;if(R0(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=R0(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Uj(e);var r=zj.test(e);return r||Vj.test(e)?Hj(e.slice(2),r?2:8):$j.test(e)?D0:+e}F0.exports=Gj});var L0=J((voe,B0)=>{S();A();T();var Wj=gt(),il=_0(),N0=j0(),Kj="Expected a function",Yj=Math.max,Xj=Math.min;function Qj(e,t,r){var n,o,a,i,s,l,u=0,c=!1,d=!1,y=!0;if(typeof e!="function")throw new TypeError(Kj);t=N0(t)||0,Wj(r)&&(c=!!r.leading,d="maxWait"in r,a=d?Yj(N0(r.maxWait)||0,t):a,y="trailing"in r?!!r.trailing:y);function f(P){var F=n,D=o;return n=o=void 0,u=P,i=e.apply(D,F),i}function h(P){return u=P,s=setTimeout(v,t),c?f(P):i}function g(P){var F=P-l,D=P-u,U=t-F;return d?Xj(U,a-D):U}function _(P){var F=P-l,D=P-u;return l===void 0||F>=t||F<0||d&&D>=a}function v(){var P=il();if(_(P))return x(P);s=setTimeout(v,g(P))}function x(P){return s=void 0,y&&n?f(P):(n=o=void 0,i)}function O(){s!==void 0&&clearTimeout(s),u=0,n=l=o=s=void 0}function C(){return s===void 0?i:x(il())}function I(){var P=il(),F=_(P);if(n=arguments,o=this,l=P,F){if(s===void 0)return h(l);if(d)return clearTimeout(s),s=setTimeout(v,t),f(l)}return s===void 0&&(s=setTimeout(v,t)),i}return I.cancel=O,I.flush=C,I}B0.exports=Qj});var ov={};Hl(ov,{ColorControl:()=>nv,default:()=>LN});function hr(){return(hr=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function sl(e){var t=Xe(e),r=Xe(function(n){t.current&&t.current(n)});return t.current=e,r.current}function Z0(e,t,r){var n=sl(r),o=he(function(){return e.toHsva(t)}),a=o[0],i=o[1],s=Xe({color:t,hsva:a});ze(function(){if(!e.equal(t,s.current.color)){var u=e.toHsva(t);s.current={hsva:u,color:t},i(u)}},[t,e]),ze(function(){var u;X0(a,s.current.hsva)||e.equal(u=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:u},n(u))},[a,e,n]);var l=$e(function(u){i(function(c){return Object.assign({},c,u)})},[]);return[a,l]}var z0,Zj,V0,eN,tN,Xr,Kn,ll,q0,M0,fl,Yn,yl,Je,rN,nN,ul,oN,aN,iN,sN,H0,cl,ma,G0,lN,fa,uN,W0,K0,Y0,X0,Q0,cN,pN,dN,U0,ev,fN,yN,hN,mN,tv,gN,bN,vN,xN,ut,EN,wN,SN,AN,TN,CN,_N,J0,ON,IN,rv,ya,PN,kN,RN,pl,DN,FN,ha,$0,Yr,jN,NN,ga,BN,nv,LN,av=Tt(()=>{S();A();T();Da();io();z0=ao(L0());ni();lo();si();Zj=nr({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),V0=nr({"../../node_modules/color-convert/conversions.js"(e,t){var r=Zj(),n={};for(let i of Object.keys(r))n[r[i]]=i;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 i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:s,labels:l}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:s}),Object.defineProperty(o[i],"labels",{value:l})}o.rgb.hsl=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.min(s,l,u),d=Math.max(s,l,u),y=d-c,f,h;d===c?f=0:s===d?f=(l-u)/y:l===d?f=2+(u-s)/y:u===d&&(f=4+(s-l)/y),f=Math.min(f*60,360),f<0&&(f+=360);let g=(c+d)/2;return d===c?h=0:g<=.5?h=y/(d+c):h=y/(2-d-c),[f,h*100,g*100]},o.rgb.hsv=function(i){let s,l,u,c,d,y=i[0]/255,f=i[1]/255,h=i[2]/255,g=Math.max(y,f,h),_=g-Math.min(y,f,h),v=function(x){return(g-x)/6/_+1/2};return _===0?(c=0,d=0):(d=_/g,s=v(y),l=v(f),u=v(h),y===g?c=u-l:f===g?c=1/3+s-u:h===g&&(c=2/3+l-s),c<0?c+=1:c>1&&(c-=1)),[c*360,d*100,g*100]},o.rgb.hwb=function(i){let s=i[0],l=i[1],u=i[2],c=o.rgb.hsl(i)[0],d=1/255*Math.min(s,Math.min(l,u));return u=1-1/255*Math.max(s,Math.max(l,u)),[c,d*100,u*100]},o.rgb.cmyk=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.min(1-s,1-l,1-u),d=(1-s-c)/(1-c)||0,y=(1-l-c)/(1-c)||0,f=(1-u-c)/(1-c)||0;return[d*100,y*100,f*100,c*100]};function a(i,s){return(i[0]-s[0])**2+(i[1]-s[1])**2+(i[2]-s[2])**2}o.rgb.keyword=function(i){let s=n[i];if(s)return s;let l=1/0,u;for(let c of Object.keys(r)){let d=r[c],y=a(i,d);y.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92;let c=s*.4124+l*.3576+u*.1805,d=s*.2126+l*.7152+u*.0722,y=s*.0193+l*.1192+u*.9505;return[c*100,d*100,y*100]},o.rgb.lab=function(i){let s=o.rgb.xyz(i),l=s[0],u=s[1],c=s[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,y=500*(l-u),f=200*(u-c);return[d,y,f]},o.hsl.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100,c,d,y;if(l===0)return y=u*255,[y,y,y];u<.5?c=u*(1+l):c=u+l-u*l;let f=2*u-c,h=[0,0,0];for(let g=0;g<3;g++)d=s+1/3*-(g-1),d<0&&d++,d>1&&d--,6*d<1?y=f+(c-f)*6*d:2*d<1?y=c:3*d<2?y=f+(c-f)*(2/3-d)*6:y=f,h[g]=y*255;return h},o.hsl.hsv=function(i){let s=i[0],l=i[1]/100,u=i[2]/100,c=l,d=Math.max(u,.01);u*=2,l*=u<=1?u:2-u,c*=d<=1?d:2-d;let y=(u+l)/2,f=u===0?2*c/(d+c):2*l/(u+l);return[s,f*100,y*100]},o.hsv.rgb=function(i){let s=i[0]/60,l=i[1]/100,u=i[2]/100,c=Math.floor(s)%6,d=s-Math.floor(s),y=255*u*(1-l),f=255*u*(1-l*d),h=255*u*(1-l*(1-d));switch(u*=255,c){case 0:return[u,h,y];case 1:return[f,u,y];case 2:return[y,u,h];case 3:return[y,f,u];case 4:return[h,y,u];case 5:return[u,y,f]}},o.hsv.hsl=function(i){let s=i[0],l=i[1]/100,u=i[2]/100,c=Math.max(u,.01),d,y;y=(2-l)*u;let f=(2-l)*c;return d=l*c,d/=f<=1?f:2-f,d=d||0,y/=2,[s,d*100,y*100]},o.hwb.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100,c=l+u,d;c>1&&(l/=c,u/=c);let y=Math.floor(6*s),f=1-u;d=6*s-y,y&1&&(d=1-d);let h=l+d*(f-l),g,_,v;switch(y){default:case 6:case 0:g=f,_=h,v=l;break;case 1:g=h,_=f,v=l;break;case 2:g=l,_=f,v=h;break;case 3:g=l,_=h,v=f;break;case 4:g=h,_=l,v=f;break;case 5:g=f,_=l,v=h;break}return[g*255,_*255,v*255]},o.cmyk.rgb=function(i){let s=i[0]/100,l=i[1]/100,u=i[2]/100,c=i[3]/100,d=1-Math.min(1,s*(1-c)+c),y=1-Math.min(1,l*(1-c)+c),f=1-Math.min(1,u*(1-c)+c);return[d*255,y*255,f*255]},o.xyz.rgb=function(i){let s=i[0]/100,l=i[1]/100,u=i[2]/100,c,d,y;return c=s*3.2406+l*-1.5372+u*-.4986,d=s*-.9689+l*1.8758+u*.0415,y=s*.0557+l*-.204+u*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,y=y>.0031308?1.055*y**(1/2.4)-.055:y*12.92,c=Math.min(Math.max(0,c),1),d=Math.min(Math.max(0,d),1),y=Math.min(Math.max(0,y),1),[c*255,d*255,y*255]},o.xyz.lab=function(i){let s=i[0],l=i[1],u=i[2];s/=95.047,l/=100,u/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116;let c=116*l-16,d=500*(s-l),y=200*(l-u);return[c,d,y]},o.lab.xyz=function(i){let s=i[0],l=i[1],u=i[2],c,d,y;d=(s+16)/116,c=l/500+d,y=d-u/200;let f=d**3,h=c**3,g=y**3;return d=f>.008856?f:(d-16/116)/7.787,c=h>.008856?h:(c-16/116)/7.787,y=g>.008856?g:(y-16/116)/7.787,c*=95.047,d*=100,y*=108.883,[c,d,y]},o.lab.lch=function(i){let s=i[0],l=i[1],u=i[2],c;c=Math.atan2(u,l)*360/2/Math.PI,c<0&&(c+=360);let d=Math.sqrt(l*l+u*u);return[s,d,c]},o.lch.lab=function(i){let s=i[0],l=i[1],u=i[2]/360*2*Math.PI,c=l*Math.cos(u),d=l*Math.sin(u);return[s,c,d]},o.rgb.ansi16=function(i,s=null){let[l,u,c]=i,d=s===null?o.rgb.hsv(i)[2]:s;if(d=Math.round(d/50),d===0)return 30;let y=30+(Math.round(c/255)<<2|Math.round(u/255)<<1|Math.round(l/255));return d===2&&(y+=60),y},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let s=i[0],l=i[1],u=i[2];return s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5)},o.ansi16.rgb=function(i){let s=i%10;if(s===0||s===7)return i>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let l=(~~(i>50)+1)*.5,u=(s&1)*l*255,c=(s>>1&1)*l*255,d=(s>>2&1)*l*255;return[u,c,d]},o.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let s,l=Math.floor(i/36)/5*255,u=Math.floor((s=i%36)/6)/5*255,c=s%6/5*255;return[l,u,c]},o.rgb.hex=function(i){let s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.hex.rgb=function(i){let s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let l=s[0];s[0].length===3&&(l=l.split("").map(f=>f+f).join(""));let u=parseInt(l,16),c=u>>16&255,d=u>>8&255,y=u&255;return[c,d,y]},o.rgb.hcg=function(i){let s=i[0]/255,l=i[1]/255,u=i[2]/255,c=Math.max(Math.max(s,l),u),d=Math.min(Math.min(s,l),u),y=c-d,f,h;return y<1?f=d/(1-y):f=0,y<=0?h=0:c===s?h=(l-u)/y%6:c===l?h=2+(u-s)/y:h=4+(s-l)/y,h/=6,h%=1,[h*360,y*100,f*100]},o.hsl.hcg=function(i){let s=i[1]/100,l=i[2]/100,u=l<.5?2*s*l:2*s*(1-l),c=0;return u<1&&(c=(l-.5*u)/(1-u)),[i[0],u*100,c*100]},o.hsv.hcg=function(i){let s=i[1]/100,l=i[2]/100,u=s*l,c=0;return u<1&&(c=(l-u)/(1-u)),[i[0],u*100,c*100]},o.hcg.rgb=function(i){let s=i[0]/360,l=i[1]/100,u=i[2]/100;if(l===0)return[u*255,u*255,u*255];let c=[0,0,0],d=s%1*6,y=d%1,f=1-y,h=0;switch(Math.floor(d)){case 0:c[0]=1,c[1]=y,c[2]=0;break;case 1:c[0]=f,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=y;break;case 3:c[0]=0,c[1]=f,c[2]=1;break;case 4:c[0]=y,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=f}return h=(1-l)*u,[(l*c[0]+h)*255,(l*c[1]+h)*255,(l*c[2]+h)*255]},o.hcg.hsv=function(i){let s=i[1]/100,l=i[2]/100,u=s+l*(1-s),c=0;return u>0&&(c=s/u),[i[0],c*100,u*100]},o.hcg.hsl=function(i){let s=i[1]/100,l=i[2]/100*(1-s)+.5*s,u=0;return l>0&&l<.5?u=s/(2*l):l>=.5&&l<1&&(u=s/(2*(1-l))),[i[0],u*100,l*100]},o.hcg.hwb=function(i){let s=i[1]/100,l=i[2]/100,u=s+l*(1-s);return[i[0],(u-s)*100,(1-u)*100]},o.hwb.hcg=function(i){let s=i[1]/100,l=1-i[2]/100,u=l-s,c=0;return u<1&&(c=(l-u)/(1-u)),[i[0],u*100,c*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let s=Math.round(i[0]/100*255)&255,l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),eN=nr({"../../node_modules/color-convert/route.js"(e,t){var r=V0();function n(){let s={},l=Object.keys(r);for(let u=l.length,c=0;c1&&(c=d),l(c))};return"conversion"in l&&(u.conversion=l.conversion),u}function s(l){let u=function(...c){let d=c[0];if(d==null)return d;d.length>1&&(c=d);let y=l(c);if(typeof y=="object")for(let f=y.length,h=0;h{o[l]={},Object.defineProperty(o[l],"channels",{value:r[l].channels}),Object.defineProperty(o[l],"labels",{value:r[l].labels});let u=n(l);Object.keys(u).forEach(c=>{let d=u[c];o[l][c]=s(d),o[l][c].raw=i(d)})}),t.exports=o}});Xr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:_.buttons>0)&&o.current?a(q0(o.current,_,s.current)):g(!1)},h=function(){return g(!1)};function g(_){var v=l.current,x=ll(o.current),O=_?x.addEventListener:x.removeEventListener;O(v?"touchmove":"mousemove",f),O(v?"touchend":"mouseup",h)}return[function(_){var v=_.nativeEvent,x=o.current;if(x&&(M0(v),!function(C,I){return I&&!Kn(C)}(v,l.current)&&x)){if(Kn(v)){l.current=!0;var O=v.changedTouches||[];O.length&&(s.current=O[0].identifier)}x.focus(),a(q0(x,v,s.current)),g(!0)}},function(_){var v=_.which||_.keyCode;v<37||v>40||(_.preventDefault(),i({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},g]},[i,a]),c=u[0],d=u[1],y=u[2];return ze(function(){return y},[y]),E.createElement("div",hr({},n,{onTouchStart:c,onMouseDown:c,className:"react-colorful__interactive",ref:o,onKeyDown:d,tabIndex:0,role:"slider"}))}),Yn=function(e){return e.filter(Boolean).join(" ")},yl=function(e){var t=e.color,r=e.left,n=e.top,o=n===void 0?.5:n,a=Yn(["react-colorful__pointer",e.className]);return E.createElement("div",{className:a,style:{top:100*o+"%",left:100*r+"%"}},E.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Je=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},rN={grad:.9,turn:360,rad:360/(2*Math.PI)},nN=function(e){return W0(ul(e))},ul=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Je(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?Je(parseInt(e.substring(6,8),16)/255,2):1}},oN=function(e,t){return t===void 0&&(t="deg"),Number(e)*(rN[t]||1)},aN=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?iN({h:oN(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},iN=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},sN=function(e){return uN(G0(e))},H0=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:Je(e.h),s:Je(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:Je(o/2),a:Je(n,2)}},cl=function(e){var t=H0(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},ma=function(e){var t=H0(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},G0=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),i=n*(1-r),s=n*(1-(t-a)*r),l=n*(1-(1-t+a)*r),u=a%6;return{r:Je(255*[n,s,i,i,l,n][u]),g:Je(255*[l,n,n,s,i,i][u]),b:Je(255*[i,i,l,n,n,s][u]),a:Je(o,2)}},lN=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?W0({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},fa=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},uN=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=o<1?fa(Je(255*o)):"";return"#"+fa(t)+fa(r)+fa(n)+a},W0=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),i=a-Math.min(t,r,n),s=i?a===t?(r-n)/i:a===r?2+(n-t)/i:4+(t-r)/i:0;return{h:Je(60*(s<0?s+6:s)),s:Je(a?i/a*100:0),v:Je(a/255*100),a:o}},K0=E.memo(function(e){var t=e.hue,r=e.onChange,n=Yn(["react-colorful__hue",e.className]);return E.createElement("div",{className:n},E.createElement(fl,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:Xr(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":Je(t),"aria-valuemax":"360","aria-valuemin":"0"},E.createElement(yl,{className:"react-colorful__hue-pointer",left:t/360,color:cl({h:t,s:100,v:100,a:1})})))}),Y0=E.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:cl({h:t.h,s:100,v:100,a:1})};return E.createElement("div",{className:"react-colorful__saturation",style:n},E.createElement(fl,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:Xr(t.s+100*o.left,0,100),v:Xr(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Je(t.s)+"%, Brightness "+Je(t.v)+"%"},E.createElement(yl,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:cl(t)})))}),X0=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},Q0=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},cN=function(e,t){return e.toLowerCase()===t.toLowerCase()||X0(ul(e),ul(t))};pN=typeof window<"u"?ru:ze,dN=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},U0=new Map,ev=function(e){pN(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!U0.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,U0.set(t,r);var n=dN();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},fN=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=dl(e,["className","colorModel","color","onChange"]),s=Xe(null);ev(s);var l=Z0(r,o,a),u=l[0],c=l[1],d=Yn(["react-colorful",t]);return E.createElement("div",hr({},i,{ref:s,className:d}),E.createElement(Y0,{hsva:u,onChange:c}),E.createElement(K0,{hue:u.h,onChange:c,className:"react-colorful__last-control"}))},yN={defaultColor:"000",toHsva:nN,fromHsva:function(e){return sN({h:e.h,s:e.s,v:e.v,a:1})},equal:cN},hN=function(e){return E.createElement(fN,hr({},e,{colorModel:yN}))},mN=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+ma(Object.assign({},r,{a:0}))+", "+ma(Object.assign({},r,{a:1}))+")"},a=Yn(["react-colorful__alpha",t]),i=Je(100*r.a);return E.createElement("div",{className:a},E.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),E.createElement(fl,{onMove:function(s){n({a:s.left})},onKey:function(s){n({a:Xr(r.a+s.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},E.createElement(yl,{className:"react-colorful__alpha-pointer",left:r.a,color:ma(r)})))},tv=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=dl(e,["className","colorModel","color","onChange"]),s=Xe(null);ev(s);var l=Z0(r,o,a),u=l[0],c=l[1],d=Yn(["react-colorful",t]);return E.createElement("div",hr({},i,{ref:s,className:d}),E.createElement(Y0,{hsva:u,onChange:c}),E.createElement(K0,{hue:u.h,onChange:c}),E.createElement(mN,{hsva:u,onChange:c,className:"react-colorful__last-control"}))},gN={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:aN,fromHsva:ma,equal:Q0},bN=function(e){return E.createElement(tv,hr({},e,{colorModel:gN}))},vN={defaultColor:"rgba(0, 0, 0, 1)",toHsva:lN,fromHsva:function(e){var t=G0(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:Q0},xN=function(e){return E.createElement(tv,hr({},e,{colorModel:vN}))},ut=gn(tN(),1),EN=W.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),wN=W(Lt)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),SN=W.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),AN=W(sr)(({theme:e})=>({fontFamily:e.typography.fonts.base})),TN=W.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),CN=W.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),_N=`url('data:image/svg+xml;charset=utf-8,')`,J0=({value:e,style:t,...r})=>{let n=`linear-gradient(${e}, ${e}), ${_N}, linear-gradient(#fff, #fff)`;return E.createElement(CN,{...r,style:{...t,backgroundImage:n}})},ON=W(dt.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),IN=W(Ju)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),rv=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(rv||{}),ya=Object.values(rv),PN=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,kN=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,RN=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,pl=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,DN=/^\s*#?([0-9a-f]{3})\s*$/i,FN={hex:hN,rgb:xN,hsl:bN},ha={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},$0=e=>{let t=e?.match(PN);if(!t)return[0,0,0,1];let[,r,n,o,a=1]=t;return[r,n,o,a].map(Number)},Yr=e=>{if(!e)return;let t=!0;if(kN.test(e)){let[i,s,l,u]=$0(e),[c,d,y]=ut.default.rgb.hsl([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:ut.default.rgb.keyword([i,s,l]),colorSpace:"rgb",rgb:e,hsl:`hsla(${c}, ${d}%, ${y}%, ${u})`,hex:`#${ut.default.rgb.hex([i,s,l]).toLowerCase()}`}}if(RN.test(e)){let[i,s,l,u]=$0(e),[c,d,y]=ut.default.hsl.rgb([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:ut.default.hsl.keyword([i,s,l]),colorSpace:"hsl",rgb:`rgba(${c}, ${d}, ${y}, ${u})`,hsl:e,hex:`#${ut.default.hsl.hex([i,s,l]).toLowerCase()}`}}let r=e.replace("#",""),n=ut.default.keyword.rgb(r)||ut.default.hex.rgb(r),o=ut.default.rgb.hsl(n),a=e;if(/[^#a-f0-9]/i.test(e)?a=r:pl.test(e)&&(a=`#${r}`),a.startsWith("#"))t=pl.test(a);else try{ut.default.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:ut.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},jN=(e,t,r)=>{if(!e||!t?.valid)return ha[r];if(r!=="hex")return t?.[r]||ha[r];if(!t.hex.startsWith("#"))try{return`#${ut.default.keyword.hex(t.hex)}`}catch{return ha.hex}let n=t.hex.match(DN);if(!n)return pl.test(t.hex)?t.hex:ha.hex;let[o,a,i]=n[1].split("");return`#${o}${o}${a}${a}${i}${i}`},NN=(e,t)=>{let[r,n]=he(e||""),[o,a]=he(()=>Yr(r)),[i,s]=he(o?.colorSpace||"hex");ze(()=>{let d=e||"",y=Yr(d);n(d),a(y),s(y?.colorSpace||"hex")},[e]);let l=Nt(()=>jN(r,o,i).toLowerCase(),[r,o,i]),u=$e(d=>{let y=Yr(d),f=y?.value||d||"";n(f),f===""&&(a(void 0),t(void 0)),y&&(a(y),s(y.colorSpace),t(y.value))},[t]),c=$e(()=>{let d=ya.indexOf(i)+1;d>=ya.length&&(d=0),s(ya[d]);let y=o?.[ya[d]]||"";n(y),t(y)},[o,i,t]);return{value:r,realValue:l,updateValue:u,color:o,colorSpace:i,cycleColorSpace:c}},ga=e=>e.replace(/\s*/,"").toLowerCase(),BN=(e,t,r)=>{let[n,o]=he(t?.valid?[t]:[]);ze(()=>{t===void 0&&o([])},[t]);let a=Nt(()=>(e||[]).map(s=>typeof s=="string"?Yr(s):s.title?{...Yr(s.color),keyword:s.title}:Yr(s.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=$e(s=>{s?.valid&&(a.some(l=>ga(l[r])===ga(s[r]))||o(l=>l.concat(s)))},[r,a]);return{presets:a,addPreset:i}},nv=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,presetColors:a,startOpen:i=!1,argType:s})=>{let l=$e((0,z0.default)(r,200),[r]),{value:u,realValue:c,updateValue:d,color:y,colorSpace:f,cycleColorSpace:h}=NN(t,l),{presets:g,addPreset:_}=BN(a,y,f),v=FN[f],x=!!s?.table?.readonly;return E.createElement(EN,{"aria-readonly":x},E.createElement(wN,{startOpen:i,trigger:x?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>_(y),tooltip:E.createElement(SN,null,E.createElement(v,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:n,onBlur:o}),g.length>0&&E.createElement(TN,null,g.map((O,C)=>E.createElement(Lt,{key:`${O.value}-${C}`,hasChrome:!1,tooltip:E.createElement(AN,{note:O.keyword||O.value})},E.createElement(J0,{value:O[f],active:y&&ga(O[f])===ga(y[f]),onClick:()=>d(O.value)})))))},E.createElement(J0,{value:c,style:{margin:4}})),E.createElement(ON,{id:tt(e),value:u,onChange:O=>d(O.target.value),onFocus:O=>O.target.select(),readOnly:x,placeholder:"Choose color..."}),u?E.createElement(IN,{onClick:h}):null)},LN=nv});S();A();T();S();A();T();S();A();T();Da();io();io();S();A();T();var nu=Object.prototype.hasOwnProperty;function ou(e,t,r){for(r of e.keys())if(ar(r,t))return r}function ar(e,t){var r,n,o;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--&&ar(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=ou(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=ou(t,o),!o)||!ar(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(nu.call(e,r)&&++n&&!nu.call(t,r)||!(r in t)||!ar(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}lo();S();A();T();S();A();T();var p8=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:iu,ARGTYPES_INFO_RESPONSE:Wa,CHANNEL_CREATED:d8,CHANNEL_WS_DISCONNECT:f8,CONFIG_ERROR:su,CREATE_NEW_STORYFILE_REQUEST:y8,CREATE_NEW_STORYFILE_RESPONSE:h8,CURRENT_STORY_WAS_SET:Ka,DOCS_PREPARED:lu,DOCS_RENDERED:uo,FILE_COMPONENT_SEARCH_REQUEST:m8,FILE_COMPONENT_SEARCH_RESPONSE:g8,FORCE_REMOUNT:uu,FORCE_RE_RENDER:co,GLOBALS_UPDATED:cu,NAVIGATE_URL:pu,PLAY_FUNCTION_THREW_EXCEPTION:du,PRELOAD_ENTRIES:fu,PREVIEW_BUILDER_PROGRESS:b8,PREVIEW_KEYDOWN:yu,REGISTER_SUBSCRIPTION:v8,REQUEST_WHATS_NEW_DATA:x8,RESET_STORY_ARGS:po,RESULT_WHATS_NEW_DATA:E8,SAVE_STORY_REQUEST:Ya,SAVE_STORY_RESPONSE:fo,SELECT_STORY:w8,SET_CONFIG:S8,SET_CURRENT_STORY:hu,SET_GLOBALS:mu,SET_INDEX:A8,SET_STORIES:T8,SET_WHATS_NEW_CACHE:C8,SHARED_STATE_CHANGED:_8,SHARED_STATE_SET:O8,STORIES_COLLAPSE_ALL:I8,STORIES_EXPAND_ALL:P8,STORY_ARGS_UPDATED:gu,STORY_CHANGED:bu,STORY_ERRORED:vu,STORY_INDEX_INVALIDATED:xu,STORY_MISSING:Xa,STORY_PREPARED:Eu,STORY_RENDERED:xn,STORY_RENDER_PHASE_CHANGED:kr,STORY_SPECIFIED:wu,STORY_THREW_EXCEPTION:Su,STORY_UNCHANGED:Au,TELEMETRY_ERROR:k8,TOGGLE_WHATS_NEW_NOTIFICATIONS:R8,UNHANDLED_ERRORS_WHILE_PLAYING:Tu,UPDATE_GLOBALS:yo,UPDATE_QUERY_PARAMS:Cu,UPDATE_STORY_ARGS:ho}=__STORYBOOK_CORE_EVENTS__;S();A();T();var J8=__STORYBOOK_API__,{ActiveTabs:$8,Consumer:z8,ManagerContext:V8,Provider:H8,RequestResponseError:G8,addons:mo,combineParameters:W8,controlOrMetaKey:K8,controlOrMetaSymbol:Y8,eventMatchesShortcut:X8,eventToShortcut:Q8,experimental_requestResponse:Qa,isMacLike:Z8,isShortcutTaken:e9,keyToSymbol:t9,merge:r9,mockChannel:n9,optionOrAltSymbol:o9,shortcutMatchesShortcut:a9,shortcutToHumanString:i9,types:_u,useAddonState:s9,useArgTypes:Za,useArgs:Ou,useChannel:l9,useGlobalTypes:u9,useGlobals:Iu,useParameter:Pu,useSharedState:c9,useStoryPrepared:p9,useStorybookApi:d9,useStorybookState:ku}=__STORYBOOK_API__;ni();si();var Nv=ao(dy());S();A();T();var eZ=__STORYBOOK_CLIENT_LOGGER__,{deprecate:tZ,logger:Bo,once:fy,pretty:rZ}=__STORYBOOK_CLIENT_LOGGER__;var Bv=ao(Dy()),Lv=ao(Lh());S();A();T();S();A();T();S();A();T();var Pte=__STORYBOOK_CHANNELS__,{Channel:qh,PostMessageTransport:kte,WebsocketTransport:Rte,createBrowserChannel:Dte}=__STORYBOOK_CHANNELS__;S();A();T();var Lte=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Ct,logger:me,once:Ut,pretty:qte}=__STORYBOOK_CLIENT_LOGGER__;S();A();T();var _P=Object.defineProperty,Pe=(e,t)=>_P(e,"name",{value:t,configurable:!0});function De(e){for(var t=[],r=1;r` - ${i}`).join(` +`)}`),`${o}${a!=null?` + +More info: ${a} +`:""}`}};Pe(Mh,"StorybookError");var Me=Mh,OP=(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))(OP||{}),Jh=class extends Me{constructor(t){super({category:"PREVIEW_API",code:1,message:De` + Couldn't find story matching id '${t.storyId}' after HMR. + - Did you just rename a story? + - Did you remove it from your CSF file? + - Are you sure a story with the id '${t.storyId}' exists? + - Please check the values in the stories field of your main.js config and see if they would match your CSF File. + - Also check the browser console and terminal for potential error messages.`}),this.data=t}};Pe(Jh,"MissingStoryAfterHmrError");var $h=Jh,IP=class extends Me{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:De` + We detected that you use an implicit action arg while ${t.phase} of your story. + ${t.deprecated?` +This is deprecated and won't work in Storybook 8 anymore. +`:""} + Please provide an explicit spy to your args like this: + import { fn } from '@storybook/test'; + ... + args: { + ${t.name}: fn() + }`}),this.data=t}};Pe(IP,"ImplicitActionsDuringRendering");var zh=class extends Me{constructor(){super({category:"PREVIEW_API",code:3,message:De` + Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. + + You probably meant to call \`await preview.extract()\` which does the above for you.`})}};Pe(zh,"CalledExtractOnStoreError");var Vh=zh,Hh=class extends Me{constructor(){super({category:"PREVIEW_API",code:4,message:De` + Expected your framework's preset to export a \`renderToCanvas\` field. + + Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};Pe(Hh,"MissingRenderToCanvasError");var Gh=Hh,Wh=class extends Me{constructor(t){super({category:"PREVIEW_API",code:5,message:De` + Called \`Preview.${t.methodName}()\` before initialization. + + The preview needs to load the story index before most methods can be called. If you want + to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first. + + If you didn't call the above code, then likely it was called by an addon that needs to + do the above.`}),this.data=t}};Pe(Wh,"CalledPreviewMethodBeforeInitializationError");var rt=Wh,Kh=class extends Me{constructor(t){super({category:"PREVIEW_API",code:6,message:De` + Error fetching \`/index.json\`: + + ${t.text} + + If you are in development, this likely indicates a problem with your Storybook process, + check the terminal for errors. + + If you are in a deployed Storybook, there may have been an issue deploying the full Storybook + build.`}),this.data=t}};Pe(Kh,"StoryIndexFetchError");var Yh=Kh,Xh=class extends Me{constructor(t){super({category:"PREVIEW_API",code:7,message:De` + Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF + references, or autodocs for a CSF file that some doesn't refer to itself. + + This likely is an internal error in Storybook's indexing, or you've attached the + \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};Pe(Xh,"MdxFileWithNoCsfReferencesError");var Qh=Xh,Zh=class extends Me{constructor(){super({category:"PREVIEW_API",code:8,message:De` + Couldn't find any stories in your Storybook. + + - Please check your stories field of your main.js config: does it match correctly? + - Also check the browser console and terminal for error messages.`})}};Pe(Zh,"EmptyIndexError");var em=Zh,tm=class extends Me{constructor(t){super({category:"PREVIEW_API",code:9,message:De` + Couldn't find story matching '${t.storySpecifier}'. + + - Are you sure a story with that id exists? + - Please check your stories field of your main.js config. + - Also check the browser console and terminal for error messages.`}),this.data=t}};Pe(tm,"NoStoryMatchError");var rm=tm,nm=class extends Me{constructor(t){super({category:"PREVIEW_API",code:10,message:De` + Couldn't find story matching id '${t.storyId}' after importing a CSF file. + + The file was indexed as if the story was there, but then after importing the file in the browser + we didn't find the story. Possible reasons: + - You are using a custom story indexer that is misbehaving. + - You have a custom file loader that is removing or renaming exports. + + Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};Pe(nm,"MissingStoryFromCsfFileError");var om=nm,am=class extends Me{constructor(){super({category:"PREVIEW_API",code:11,message:De` + Cannot access the Story Store until the index is ready. + + It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will + remove access to the store entirely`})}};Pe(am,"StoryStoreAccessedBeforeInitializationError");var im=am,sm=class extends Me{constructor(t){super({category:"PREVIEW_API",code:12,message:De` + Incorrect use of mount in the play function. + + To use mount in the play function, you must satisfy the following two requirements: + + 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). + This makes sure that Storybook does not start rendering the story before the play function begins. + + 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. + This is because destructuring statements and async/await usages are otherwise transpiled away, + which prevents Storybook from recognizing your usage of \`mount\`. + + Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. + + More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered + + Received the following play function: + ${t.playFunction}`}),this.data=t}};Pe(sm,"MountMustBeDestructuredError");var Mo=sm,PP=class extends Me{constructor(){super({category:"PREVIEW_API",code:13,message:De` + You must configure testingLibraryRender to use play in portable stories. + + import { render } from '@testing-library/[renderer]'; + + setProjectAnnotations({ + testingLibraryRender: render, + }); + + For other testing renderers, you can configure \`renderToCanvas\` like so: + + import { render } from 'your-test-renderer'; + + setProjectAnnotations({ + renderToCanvas: ({ storyFn }) => { + const Story = storyFn(); + + // Svelte + render(Story.Component, Story.props); + + // Vue + render(Story); + + // or for React + render(); + }, + });`})}};Pe(PP,"TestingLibraryMustBeConfiguredError");var lm=class extends Me{constructor(t){super({category:"PREVIEW_API",code:14,message:De` + No render function available for storyId '${t.id}' + `}),this.data=t}};Pe(lm,"NoRenderFunctionError");var um=lm,cm=class extends Me{constructor(){super({category:"PREVIEW_API",code:15,message:De` + No component is mounted in your story. + + This usually occurs when you destructure mount in the play function, but forget to call it. + + For example: + + async play({ mount, canvasElement }) { + // 👈 mount should be called: await mount(); + const canvas = within(canvasElement); + const button = await canvas.findByRole('button'); + await userEvent.click(button); + }; + + Make sure to either remove it or call mount in your play function. + `})}};Pe(cm,"NoStoryMountedError");var pm=cm,kP=class extends Me{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:De` + You are importing avif images, but you don't have sharp installed. + + You have to install sharp in order to use image optimization features in Next.js. + `})}};Pe(kP,"NextJsSharpError");var RP=class extends Me{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:De` + Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment. + `}),this.data=t}};Pe(RP,"NextjsRouterMocksNotAvailable");var dm=class extends Me{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:De` + There was a failure when generating detailed ArgTypes in ${t.language} for: + ${JSON.stringify(t.type,null,2)} + + Storybook will fall back to use a generic type description instead. + + This type is either not supported or it is a bug in the docgen generation in Storybook. + If you think this is a bug, please detail it as much as possible in the Github issue. + `}),this.data=t}};Pe(dm,"UnknownArgTypesError");var Uo=dm;S();A();T();var DP=Object.create,mm=Object.defineProperty,FP=Object.getOwnPropertyDescriptor,jP=Object.getOwnPropertyNames,NP=Object.getPrototypeOf,BP=Object.prototype.hasOwnProperty,LP=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of jP(t))!BP.call(e,o)&&o!==r&&mm(e,o,{get:()=>t[o],enumerable:!(n=FP(t,o))||n.enumerable});return e},MP=(e,t,r)=>(r=e!=null?DP(NP(e)):{},qP(t||!e||!e.__esModule?mm(r,"default",{value:e,enumerable:!0}):r,e)),UP=LP(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,a){return function i(s,l,u){var c,d,y,f=t.call(s),h=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(l)>-1)return!0;if(u.push(s,l),f!=h||(c=n(s),d=n(l),c.length!=d.length||c.some(function(g){return!i(s[g],l[g],u)})))return!1;switch(f.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":c=s.entries(),d=l.entries();do if(!i((y=c.next()).value,d.next().value,u))return!1;while(!y.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(y=0;y`${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()}var fm=MP(UP()),gm=e=>e.map(t=>typeof t<"u").filter(Boolean).length,$P=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(gm([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,fm.isEqual)(t,n);if(typeof o<"u")return!(0,fm.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},bm=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(gm([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return $P(e.if,a)},Vi=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),ym=(e,t)=>{let r=Vi(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},vm=(e,t)=>`${ym(e,"kind")}${t?`--${ym(t,"name")}`:""}`,xm=e=>JP(e);function hm(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Jo(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||hm(e,t))&&(!r||!hm(e,r))}var Em=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};var zP=Object.create,ds=Object.defineProperty,VP=Object.getOwnPropertyDescriptor,HP=Object.getOwnPropertyNames,GP=Object.getPrototypeOf,WP=Object.prototype.hasOwnProperty,m=(e,t)=>ds(e,"name",{value:t,configurable:!0}),$o=(e=>typeof et<"u"?et:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof et<"u"?et:t)[r]}):e)(function(e){if(typeof et<"u")return et.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),KP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of HP(t))!WP.call(e,o)&&o!==r&&ds(e,o,{get:()=>t[o],enumerable:!(n=VP(t,o))||n.enumerable});return e},Qe=(e,t,r)=>(r=e!=null?zP(GP(e)):{},KP(t||!e||!e.__esModule?ds(r,"default",{value:e,enumerable:!0}):r,e)),Lm=L((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"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return m(function a(i,s,l){function u(y,f){if(!s[y]){if(!i[y]){var h=typeof $o=="function"&&$o;if(!f&&h)return h(y,!0);if(c)return c(y,!0);var g=new Error("Cannot find module '"+y+"'");throw g.code="MODULE_NOT_FOUND",g}var _=s[y]={exports:{}};i[y][0].call(_.exports,function(v){var x=i[y][1][v];return u(x||v)},_,_.exports,a,i,s,l)}return s[y].exports}m(u,"s");for(var c=typeof $o=="function"&&$o,d=0;d=0)return this.lastItem=this.list[c],this.list[c].val},l.prototype.set=function(u,c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=c,this):(d=this.indexOf(u),d>=0?(this.lastItem=this.list[d],this.list[d].val=c,this):(this.lastItem={key:u,val:c},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(u){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),c=this.indexOf(u),c>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(c=this.indexOf(u),c>=0?(this.lastItem=this.list[c],!0):!1)},l.prototype.forEach=function(u,c){var d;for(d=0;d0&&(I[C]={cacheItem:v,arg:arguments[C]},P?u(h,I):h.push(I),h.length>y&&c(h.shift())),_.wasMemoized=P,_.numArgs=C+1,O},"memoizerific");return _.limit=y,_.wasMemoized=!1,_.cache=f,_.lru=h,_}};function u(y,f){var h=y.length,g=f.length,_,v,x;for(v=0;v=0&&(h=y[_],g=h.cacheItem.get(h.arg),!g||!g.size);_--)h.cacheItem.delete(h.arg)}m(c,"removeCachedResult");function d(y,f){return y===f||y!==y&&f!==f}m(d,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),qm=L((e,t)=>{var r=typeof window=="object"&&window&&window.Object===Object&&window;t.exports=r}),It=L((e,t)=>{var r=qm(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),Ln=L((e,t)=>{var r=It(),n=r.Symbol;t.exports=n}),YP=L((e,t)=>{var r=Ln(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(l){var u=o.call(l,i),c=l[i];try{l[i]=void 0;var d=!0}catch{}var y=a.call(l);return d&&(u?l[i]=c:delete l[i]),y}m(s,"getRawTag"),t.exports=s}),XP=L((e,t)=>{var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}m(o,"objectToString"),t.exports=o}),Gr=L((e,t)=>{var r=Ln(),n=YP(),o=XP(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function l(u){return u==null?u===void 0?i:a:s&&s in Object(u)?n(u):o(u)}m(l,"baseGetTag"),t.exports=l}),qn=L((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}m(r,"isObject"),t.exports=r}),Mm=L((e,t)=>{var r=Gr(),n=qn(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!n(u))return!1;var c=r(u);return c==a||c==i||c==o||c==s}m(l,"isFunction"),t.exports=l}),QP=L((e,t)=>{var r=It(),n=r["__core-js_shared__"];t.exports=n}),ZP=L((e,t)=>{var r=QP(),n=function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function o(a){return!!n&&n in a}m(o,"isMasked"),t.exports=o}),Um=L((e,t)=>{var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}m(o,"toSource"),t.exports=o}),ek=L((e,t)=>{var r=Mm(),n=ZP(),o=qn(),a=Um(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,y=RegExp("^"+c.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!o(h)||n(h))return!1;var g=r(h)?y:s;return g.test(a(h))}m(f,"baseIsNative"),t.exports=f}),tk=L((e,t)=>{function r(n,o){return n?.[o]}m(r,"getValue"),t.exports=r}),dr=L((e,t)=>{var r=ek(),n=tk();function o(a,i){var s=n(a,i);return r(s)?s:void 0}m(o,"getNative"),t.exports=o}),Jm=L((e,t)=>{var r=dr(),n=function(){try{var o=r(Object,"defineProperty");return o({},"",{}),o}catch{}}();t.exports=n}),$m=L((e,t)=>{var r=Jm();function n(o,a,i){a=="__proto__"&&r?r(o,a,{configurable:!0,enumerable:!0,value:i,writable:!0}):o[a]=i}m(n,"baseAssignValue"),t.exports=n}),rk=L((e,t)=>{function r(n){return function(o,a,i){for(var s=-1,l=Object(o),u=i(o),c=u.length;c--;){var d=u[n?c:++s];if(a(l[d],d,l)===!1)break}return o}}m(r,"createBaseFor"),t.exports=r}),nk=L((e,t)=>{var r=rk(),n=r();t.exports=n}),ok=L((e,t)=>{function r(n,o){for(var a=-1,i=Array(n);++a{function r(n){return n!=null&&typeof n=="object"}m(r,"isObjectLike"),t.exports=r}),ak=L((e,t)=>{var r=Gr(),n=Wr(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}m(a,"baseIsArguments"),t.exports=a}),fs=L((e,t)=>{var r=ak(),n=Wr(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(l){return n(l)&&a.call(l,"callee")&&!i.call(l,"callee")};t.exports=s}),Pt=L((e,t)=>{var r=Array.isArray;t.exports=r}),ik=L((e,t)=>{function r(){return!1}m(r,"stubFalse"),t.exports=r}),zm=L((e,t)=>{var r=It(),n=ik(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;t.exports=u}),ys=L((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}m(n,"isLength"),t.exports=n}),sk=L((e,t)=>{var r=Gr(),n=hs(),o=Wr(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",y="[object Number]",f="[object Object]",h="[object RegExp]",g="[object Set]",_="[object String]",v="[object WeakMap]",x="[object ArrayBuffer]",O="[object DataView]",C="[object Float32Array]",I="[object Float64Array]",P="[object Int8Array]",F="[object Int16Array]",D="[object Int32Array]",U="[object Uint8Array]",G="[object Uint8ClampedArray]",X="[object Uint16Array]",Q="[object Uint32Array]",V={};V[C]=V[I]=V[P]=V[F]=V[D]=V[U]=V[G]=V[X]=V[Q]=!0,V[a]=V[i]=V[x]=V[s]=V[O]=V[l]=V[u]=V[c]=V[d]=V[y]=V[f]=V[h]=V[g]=V[_]=V[v]=!1;function R(q){return o(q)&&n(q.length)&&!!V[r(q)]}m(R,"baseIsTypedArray"),t.exports=R}),lk=L((e,t)=>{function r(n){return function(o){return n(o)}}m(r,"baseUnary"),t.exports=r}),uk=L((e,t)=>{var r=qm(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}}();t.exports=s}),Vm=L((e,t)=>{var r=sk(),n=lk(),o=uk(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}),Hm=L((e,t)=>{var r=ok(),n=fs(),o=Pt(),a=zm(),i=ys(),s=Vm(),l=Object.prototype,u=l.hasOwnProperty;function c(d,y){var f=o(d),h=!f&&n(d),g=!f&&!h&&a(d),_=!f&&!h&&!g&&s(d),v=f||h||g||_,x=v?r(d.length,String):[],O=x.length;for(var C in d)(y||u.call(d,C))&&!(v&&(C=="length"||g&&(C=="offset"||C=="parent")||_&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||i(C,O)))&&x.push(C);return x}m(c,"arrayLikeKeys"),t.exports=c}),Gm=L((e,t)=>{var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}m(n,"isPrototype"),t.exports=n}),Wm=L((e,t)=>{function r(n,o){return function(a){return n(o(a))}}m(r,"overArg"),t.exports=r}),ck=L((e,t)=>{var r=Wm(),n=r(Object.keys,Object);t.exports=n}),pk=L((e,t)=>{var r=Gm(),n=ck(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var l=[];for(var u in Object(s))a.call(s,u)&&u!="constructor"&&l.push(u);return l}m(i,"baseKeys"),t.exports=i}),Km=L((e,t)=>{var r=Mm(),n=hs();function o(a){return a!=null&&n(a.length)&&!r(a)}m(o,"isArrayLike"),t.exports=o}),ms=L((e,t)=>{var r=Hm(),n=pk(),o=Km();function a(i){return o(i)?r(i):n(i)}m(a,"keys"),t.exports=a}),dk=L((e,t)=>{var r=nk(),n=ms();function o(a,i){return a&&r(a,i,n)}m(o,"baseForOwn"),t.exports=o}),fk=L((e,t)=>{function r(){this.__data__=[],this.size=0}m(r,"listCacheClear"),t.exports=r}),gs=L((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}m(r,"eq"),t.exports=r}),Yo=L((e,t)=>{var r=gs();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}m(n,"assocIndexOf"),t.exports=n}),yk=L((e,t)=>{var r=Yo(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,l=r(s,i);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():o.call(s,l,1),--this.size,!0}m(a,"listCacheDelete"),t.exports=a}),hk=L((e,t)=>{var r=Yo();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}m(n,"listCacheGet"),t.exports=n}),mk=L((e,t)=>{var r=Yo();function n(o){return r(this.__data__,o)>-1}m(n,"listCacheHas"),t.exports=n}),gk=L((e,t)=>{var r=Yo();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}m(n,"listCacheSet"),t.exports=n}),Xo=L((e,t)=>{var r=fk(),n=yk(),o=hk(),a=mk(),i=gk();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=Xo();function n(){this.__data__=new r,this.size=0}m(n,"stackClear"),t.exports=n}),vk=L((e,t)=>{function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}m(r,"stackDelete"),t.exports=r}),xk=L((e,t)=>{function r(n){return this.__data__.get(n)}m(r,"stackGet"),t.exports=r}),Ek=L((e,t)=>{function r(n){return this.__data__.has(n)}m(r,"stackHas"),t.exports=r}),bs=L((e,t)=>{var r=dr(),n=It(),o=r(n,"Map");t.exports=o}),Qo=L((e,t)=>{var r=dr(),n=r(Object,"create");t.exports=n}),wk=L((e,t)=>{var r=Qo();function n(){this.__data__=r?r(null):{},this.size=0}m(n,"hashClear"),t.exports=n}),Sk=L((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}m(r,"hashDelete"),t.exports=r}),Ak=L((e,t)=>{var r=Qo(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var l=this.__data__;if(r){var u=l[s];return u===n?void 0:u}return a.call(l,s)?l[s]:void 0}m(i,"hashGet"),t.exports=i}),Tk=L((e,t)=>{var r=Qo(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}m(a,"hashHas"),t.exports=a}),Ck=L((e,t)=>{var r=Qo(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}m(o,"hashSet"),t.exports=o}),_k=L((e,t)=>{var r=wk(),n=Sk(),o=Ak(),a=Tk(),i=Ck();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=_k(),n=Xo(),o=bs();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}m(a,"mapCacheClear"),t.exports=a}),Ik=L((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}m(r,"isKeyable"),t.exports=r}),Zo=L((e,t)=>{var r=Ik();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}m(n,"getMapData"),t.exports=n}),Pk=L((e,t)=>{var r=Zo();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}m(n,"mapCacheDelete"),t.exports=n}),kk=L((e,t)=>{var r=Zo();function n(o){return r(this,o).get(o)}m(n,"mapCacheGet"),t.exports=n}),Rk=L((e,t)=>{var r=Zo();function n(o){return r(this,o).has(o)}m(n,"mapCacheHas"),t.exports=n}),Dk=L((e,t)=>{var r=Zo();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}m(n,"mapCacheSet"),t.exports=n}),vs=L((e,t)=>{var r=Ok(),n=Pk(),o=kk(),a=Rk(),i=Dk();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=Xo(),n=bs(),o=vs(),a=200;function i(s,l){var u=this.__data__;if(u instanceof r){var c=u.__data__;if(!n||c.length{var r=Xo(),n=bk(),o=vk(),a=xk(),i=Ek(),s=Fk();function l(u){var c=this.__data__=new r(u);this.size=c.size}m(l,"Stack"),l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}),jk=L((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}m(n,"setCacheAdd"),t.exports=n}),Nk=L((e,t)=>{function r(n){return this.__data__.has(n)}m(r,"setCacheHas"),t.exports=r}),Bk=L((e,t)=>{var r=vs(),n=jk(),o=Nk();function a(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new r;++s{function r(n,o){for(var a=-1,i=n==null?0:n.length;++a{function r(n,o){return n.has(o)}m(r,"cacheHas"),t.exports=r}),Xm=L((e,t)=>{var r=Bk(),n=Lk(),o=qk(),a=1,i=2;function s(l,u,c,d,y,f){var h=c&a,g=l.length,_=u.length;if(g!=_&&!(h&&_>g))return!1;var v=f.get(l),x=f.get(u);if(v&&x)return v==u&&x==l;var O=-1,C=!0,I=c&i?new r:void 0;for(f.set(l,u),f.set(u,l);++O{var r=It(),n=r.Uint8Array;t.exports=n}),Uk=L((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}m(r,"mapToArray"),t.exports=r}),Jk=L((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}m(r,"setToArray"),t.exports=r}),$k=L((e,t)=>{var r=Ln(),n=Mk(),o=gs(),a=Xm(),i=Uk(),s=Jk(),l=1,u=2,c="[object Boolean]",d="[object Date]",y="[object Error]",f="[object Map]",h="[object Number]",g="[object RegExp]",_="[object Set]",v="[object String]",x="[object Symbol]",O="[object ArrayBuffer]",C="[object DataView]",I=r?r.prototype:void 0,P=I?I.valueOf:void 0;function F(D,U,G,X,Q,V,R){switch(G){case C:if(D.byteLength!=U.byteLength||D.byteOffset!=U.byteOffset)return!1;D=D.buffer,U=U.buffer;case O:return!(D.byteLength!=U.byteLength||!V(new n(D),new n(U)));case c:case d:case h:return o(+D,+U);case y:return D.name==U.name&&D.message==U.message;case g:case v:return D==U+"";case f:var q=i;case _:var M=X&l;if(q||(q=s),D.size!=U.size&&!M)return!1;var Y=R.get(D);if(Y)return Y==U;X|=u,R.set(D,U);var te=a(q(D),q(U),X,Q,V,R);return R.delete(D),te;case x:if(P)return P.call(D)==P.call(U)}return!1}m(F,"equalByTag"),t.exports=F}),xs=L((e,t)=>{function r(n,o){for(var a=-1,i=o.length,s=n.length;++a{var r=xs(),n=Pt();function o(a,i,s){var l=i(a);return n(a)?l:r(l,s(a))}m(o,"baseGetAllKeys"),t.exports=o}),zk=L((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,l=[];++a{function r(){return[]}m(r,"stubArray"),t.exports=r}),eg=L((e,t)=>{var r=zk(),n=Zm(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),r(i(l),function(u){return a.call(l,u)}))}:n;t.exports=s}),Vk=L((e,t)=>{var r=Qm(),n=eg(),o=ms();function a(i){return r(i,o,n)}m(a,"getAllKeys"),t.exports=a}),Hk=L((e,t)=>{var r=Vk(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u,c,d,y){var f=u&n,h=r(s),g=h.length,_=r(l),v=_.length;if(g!=v&&!f)return!1;for(var x=g;x--;){var O=h[x];if(!(f?O in l:a.call(l,O)))return!1}var C=y.get(s),I=y.get(l);if(C&&I)return C==l&&I==s;var P=!0;y.set(s,l),y.set(l,s);for(var F=f;++x{var r=dr(),n=It(),o=r(n,"DataView");t.exports=o}),Wk=L((e,t)=>{var r=dr(),n=It(),o=r(n,"Promise");t.exports=o}),Kk=L((e,t)=>{var r=dr(),n=It(),o=r(n,"Set");t.exports=o}),Yk=L((e,t)=>{var r=dr(),n=It(),o=r(n,"WeakMap");t.exports=o}),Xk=L((e,t)=>{var r=Gk(),n=bs(),o=Wk(),a=Kk(),i=Yk(),s=Gr(),l=Um(),u="[object Map]",c="[object Object]",d="[object Promise]",y="[object Set]",f="[object WeakMap]",h="[object DataView]",g=l(r),_=l(n),v=l(o),x=l(a),O=l(i),C=s;(r&&C(new r(new ArrayBuffer(1)))!=h||n&&C(new n)!=u||o&&C(o.resolve())!=d||a&&C(new a)!=y||i&&C(new i)!=f)&&(C=m(function(I){var P=s(I),F=P==c?I.constructor:void 0,D=F?l(F):"";if(D)switch(D){case g:return h;case _:return u;case v:return d;case x:return y;case O:return f}return P},"getTag")),t.exports=C}),Qk=L((e,t)=>{var r=Ym(),n=Xm(),o=$k(),a=Hk(),i=Xk(),s=Pt(),l=zm(),u=Vm(),c=1,d="[object Arguments]",y="[object Array]",f="[object Object]",h=Object.prototype,g=h.hasOwnProperty;function _(v,x,O,C,I,P){var F=s(v),D=s(x),U=F?y:i(v),G=D?y:i(x);U=U==d?f:U,G=G==d?f:G;var X=U==f,Q=G==f,V=U==G;if(V&&l(v)){if(!l(x))return!1;F=!0,X=!1}if(V&&!X)return P||(P=new r),F||u(v)?n(v,x,O,C,I,P):o(v,x,U,O,C,I,P);if(!(O&c)){var R=X&&g.call(v,"__wrapped__"),q=Q&&g.call(x,"__wrapped__");if(R||q){var M=R?v.value():v,Y=q?x.value():x;return P||(P=new r),I(M,Y,O,C,P)}}return V?(P||(P=new r),a(v,x,O,C,I,P)):!1}m(_,"baseIsEqualDeep"),t.exports=_}),tg=L((e,t)=>{var r=Qk(),n=Wr();function o(a,i,s,l,u){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,l,o,u)}m(o,"baseIsEqual"),t.exports=o}),Zk=L((e,t)=>{var r=Ym(),n=tg(),o=1,a=2;function i(s,l,u,c){var d=u.length,y=d,f=!c;if(s==null)return!y;for(s=Object(s);d--;){var h=u[d];if(f&&h[2]?h[1]!==s[h[0]]:!(h[0]in s))return!1}for(;++d{var r=qn();function n(o){return o===o&&!r(o)}m(n,"isStrictComparable"),t.exports=n}),eR=L((e,t)=>{var r=rg(),n=ms();function o(a){for(var i=n(a),s=i.length;s--;){var l=i[s],u=a[l];i[s]=[l,u,r(u)]}return i}m(o,"getMatchData"),t.exports=o}),ng=L((e,t)=>{function r(n,o){return function(a){return a==null?!1:a[n]===o&&(o!==void 0||n in Object(a))}}m(r,"matchesStrictComparable"),t.exports=r}),tR=L((e,t)=>{var r=Zk(),n=eR(),o=ng();function a(i){var s=n(i);return s.length==1&&s[0][2]?o(s[0][0],s[0][1]):function(l){return l===i||r(l,i,s)}}m(a,"baseMatches"),t.exports=a}),Es=L((e,t)=>{var r=Gr(),n=Wr(),o="[object Symbol]";function a(i){return typeof i=="symbol"||n(i)&&r(i)==o}m(a,"isSymbol"),t.exports=a}),ws=L((e,t)=>{var r=Pt(),n=Es(),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function i(s,l){if(r(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||n(s)?!0:a.test(s)||!o.test(s)||l!=null&&s in Object(l)}m(i,"isKey"),t.exports=i}),rR=L((e,t)=>{var r=vs(),n="Expected a function";function o(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new TypeError(n);var s=m(function(){var l=arguments,u=i?i.apply(this,l):l[0],c=s.cache;if(c.has(u))return c.get(u);var d=a.apply(this,l);return s.cache=c.set(u,d)||c,d},"memoized");return s.cache=new(o.Cache||r),s}m(o,"memoize"),o.Cache=r,t.exports=o}),nR=L((e,t)=>{var r=rR(),n=500;function o(a){var i=r(a,function(l){return s.size===n&&s.clear(),l}),s=i.cache;return i}m(o,"memoizeCapped"),t.exports=o}),oR=L((e,t)=>{var r=nR(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(n,function(l,u,c,d){s.push(c?d.replace(o,"$1"):u||l)}),s});t.exports=a}),og=L((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=Array(i);++a{var r=Ln(),n=og(),o=Pt(),a=Es(),i=1/0,s=r?r.prototype:void 0,l=s?s.toString:void 0;function u(c){if(typeof c=="string")return c;if(o(c))return n(c,u)+"";if(a(c))return l?l.call(c):"";var d=c+"";return d=="0"&&1/c==-i?"-0":d}m(u,"baseToString"),t.exports=u}),iR=L((e,t)=>{var r=aR();function n(o){return o==null?"":r(o)}m(n,"toString"),t.exports=n}),ea=L((e,t)=>{var r=Pt(),n=ws(),o=oR(),a=iR();function i(s,l){return r(s)?s:n(s,l)?[s]:o(a(s))}m(i,"castPath"),t.exports=i}),Mn=L((e,t)=>{var r=Es(),n=1/0;function o(a){if(typeof a=="string"||r(a))return a;var i=a+"";return i=="0"&&1/a==-n?"-0":i}m(o,"toKey"),t.exports=o}),Ss=L((e,t)=>{var r=ea(),n=Mn();function o(a,i){i=r(i,a);for(var s=0,l=i.length;a!=null&&s{var r=Ss();function n(o,a,i){var s=o==null?void 0:r(o,a);return s===void 0?i:s}m(n,"get"),t.exports=n}),lR=L((e,t)=>{function r(n,o){return n!=null&&o in Object(n)}m(r,"baseHasIn"),t.exports=r}),uR=L((e,t)=>{var r=ea(),n=fs(),o=Pt(),a=ys(),i=hs(),s=Mn();function l(u,c,d){c=r(c,u);for(var y=-1,f=c.length,h=!1;++y{var r=lR(),n=uR();function o(a,i){return a!=null&&n(a,i,r)}m(o,"hasIn"),t.exports=o}),cR=L((e,t)=>{var r=tg(),n=sR(),o=ag(),a=ws(),i=rg(),s=ng(),l=Mn(),u=1,c=2;function d(y,f){return a(y)&&i(f)?s(l(y),f):function(h){var g=n(h,y);return g===void 0&&g===f?o(h,y):r(f,g,u|c)}}m(d,"baseMatchesProperty"),t.exports=d}),ig=L((e,t)=>{function r(n){return n}m(r,"identity"),t.exports=r}),pR=L((e,t)=>{function r(n){return function(o){return o?.[n]}}m(r,"baseProperty"),t.exports=r}),dR=L((e,t)=>{var r=Ss();function n(o){return function(a){return r(a,o)}}m(n,"basePropertyDeep"),t.exports=n}),fR=L((e,t)=>{var r=pR(),n=dR(),o=ws(),a=Mn();function i(s){return o(s)?r(a(s)):n(s)}m(i,"property"),t.exports=i}),sg=L((e,t)=>{var r=tR(),n=cR(),o=ig(),a=Pt(),i=fR();function s(l){return typeof l=="function"?l:l==null?o:typeof l=="object"?a(l)?n(l[0],l[1]):r(l):i(l)}m(s,"baseIteratee"),t.exports=s}),ta=L((e,t)=>{var r=$m(),n=dk(),o=sg();function a(i,s){var l={};return s=o(s,3),n(i,function(u,c,d){r(l,c,s(u,c,d))}),l}m(a,"mapValues"),t.exports=a}),yR=L((e,t)=>{var r=$m(),n=gs(),o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u){var c=s[l];(!(a.call(s,l)&&n(c,u))||u===void 0&&!(l in s))&&r(s,l,u)}m(i,"assignValue"),t.exports=i}),hR=L((e,t)=>{var r=yR(),n=ea(),o=ys(),a=qn(),i=Mn();function s(l,u,c,d){if(!a(l))return l;u=n(u,l);for(var y=-1,f=u.length,h=f-1,g=l;g!=null&&++y{var r=Ss(),n=hR(),o=ea();function a(i,s,l){for(var u=-1,c=s.length,d={};++u{var r=lg(),n=ag();function o(a,i){return r(a,i,function(s,l){return n(a,l)})}m(o,"basePick"),t.exports=o}),gR=L((e,t)=>{var r=Ln(),n=fs(),o=Pt(),a=r?r.isConcatSpreadable:void 0;function i(s){return o(s)||n(s)||!!(a&&s&&s[a])}m(i,"isFlattenable"),t.exports=i}),bR=L((e,t)=>{var r=xs(),n=gR();function o(a,i,s,l,u){var c=-1,d=a.length;for(s||(s=n),u||(u=[]);++c0&&s(y)?i>1?o(y,i-1,s,l,u):r(u,y):l||(u[u.length]=y)}return u}m(o,"baseFlatten"),t.exports=o}),vR=L((e,t)=>{var r=bR();function n(o){var a=o==null?0:o.length;return a?r(o,1):[]}m(n,"flatten"),t.exports=n}),xR=L((e,t)=>{function r(n,o,a){switch(a.length){case 0:return n.call(o);case 1:return n.call(o,a[0]);case 2:return n.call(o,a[0],a[1]);case 3:return n.call(o,a[0],a[1],a[2])}return n.apply(o,a)}m(r,"apply"),t.exports=r}),ER=L((e,t)=>{var r=xR(),n=Math.max;function o(a,i,s){return i=n(i===void 0?a.length-1:i,0),function(){for(var l=arguments,u=-1,c=n(l.length-i,0),d=Array(c);++u{function r(n){return function(){return n}}m(r,"constant"),t.exports=r}),SR=L((e,t)=>{var r=wR(),n=Jm(),o=ig(),a=n?function(i,s){return n(i,"toString",{configurable:!0,enumerable:!1,value:r(s),writable:!0})}:o;t.exports=a}),AR=L((e,t)=>{var r=800,n=16,o=Date.now;function a(i){var s=0,l=0;return function(){var u=o(),c=n-(u-l);if(l=u,c>0){if(++s>=r)return arguments[0]}else s=0;return i.apply(void 0,arguments)}}m(a,"shortOut"),t.exports=a}),TR=L((e,t)=>{var r=SR(),n=AR(),o=n(r);t.exports=o}),CR=L((e,t)=>{var r=vR(),n=ER(),o=TR();function a(i){return o(n(i,void 0,r),i+"")}m(a,"flatRest"),t.exports=a}),_R=L((e,t)=>{var r=mR(),n=CR(),o=n(function(a,i){return a==null?{}:r(a,i)});t.exports=o}),ug=L((e,t)=>{var r=Wm(),n=r(Object.getPrototypeOf,Object);t.exports=n}),As=L((e,t)=>{var r=Gr(),n=ug(),o=Wr(),a="[object Object]",i=Function.prototype,s=Object.prototype,l=i.toString,u=s.hasOwnProperty,c=l.call(Object);function d(y){if(!o(y)||r(y)!=a)return!1;var f=n(y);if(f===null)return!0;var h=u.call(f,"constructor")&&f.constructor;return typeof h=="function"&&h instanceof h&&l.call(h)==c}m(d,"isPlainObject"),t.exports=d}),OR=L((e,t)=>{var r=xs(),n=ug(),o=eg(),a=Zm(),i=Object.getOwnPropertySymbols,s=i?function(l){for(var u=[];l;)r(u,o(l)),l=n(l);return u}:a;t.exports=s}),IR=L((e,t)=>{function r(n){var o=[];if(n!=null)for(var a in Object(n))o.push(a);return o}m(r,"nativeKeysIn"),t.exports=r}),PR=L((e,t)=>{var r=qn(),n=Gm(),o=IR(),a=Object.prototype,i=a.hasOwnProperty;function s(l){if(!r(l))return o(l);var u=n(l),c=[];for(var d in l)d=="constructor"&&(u||!i.call(l,d))||c.push(d);return c}m(s,"baseKeysIn"),t.exports=s}),kR=L((e,t)=>{var r=Hm(),n=PR(),o=Km();function a(i){return o(i)?r(i,!0):n(i)}m(a,"keysIn"),t.exports=a}),RR=L((e,t)=>{var r=Qm(),n=OR(),o=kR();function a(i){return r(i,o,n)}m(a,"getAllKeysIn"),t.exports=a}),DR=L((e,t)=>{var r=og(),n=sg(),o=lg(),a=RR();function i(s,l){if(s==null)return{};var u=r(a(s),function(c){return[c]});return l=n(l),o(s,u,function(c,d){return l(c,d[0])})}m(i,"pickBy"),t.exports=i}),FR=L((e,t)=>{"use strict";t.exports=Error}),jR=L((e,t)=>{"use strict";t.exports=EvalError}),NR=L((e,t)=>{"use strict";t.exports=RangeError}),BR=L((e,t)=>{"use strict";t.exports=ReferenceError}),cg=L((e,t)=>{"use strict";t.exports=SyntaxError}),Un=L((e,t)=>{"use strict";t.exports=TypeError}),LR=L((e,t)=>{"use strict";t.exports=URIError}),qR=L((e,t)=>{"use strict";t.exports=m(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 a=42;r[n]=a;for(n 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 i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0},"hasSymbols")}),MR=L((e,t)=>{"use strict";var r=typeof Symbol<"u"&&Symbol,n=qR();t.exports=m(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}),UR=L((e,t)=>{"use strict";var r={__proto__:null,foo:{}},n=Object;t.exports=m(function(){return{__proto__:r}.foo===r.foo&&!(r instanceof n)},"hasProto")}),JR=L((e,t)=>{"use strict";var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,o=Math.max,a="[object Function]",i=m(function(u,c){for(var d=[],y=0;y{"use strict";var r=JR();t.exports=Function.prototype.bind||r}),$R=L((e,t)=>{"use strict";var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,o=Ts();t.exports=o.call(r,n)}),Kr=L((e,t)=>{"use strict";var r,n=FR(),o=jR(),a=NR(),i=BR(),s=cg(),l=Un(),u=LR(),c=Function,d=m(function(ne){try{return c('"use strict"; return ('+ne+").constructor;")()}catch{}},"getEvalledConstructor"),y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch{y=null}var f=m(function(){throw new l},"throwTypeError"),h=y?function(){try{return arguments.callee,f}catch{try{return y(arguments,"callee").get}catch{return f}}}():f,g=MR()(),_=UR()(),v=Object.getPrototypeOf||(_?function(ne){return ne.__proto__}:null),x={},O=typeof Uint8Array>"u"||!v?r:v(Uint8Array),C={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&v?v([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%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%":n,"%eval%":eval,"%EvalError%":o,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&v?v(v([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!g||!v?r:v(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!g||!v?r:v(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&v?v(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":s,"%ThrowTypeError%":h,"%TypedArray%":O,"%TypeError%":l,"%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%":u,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet};if(v)try{null.error}catch(ne){I=v(v(ne)),C["%Error.prototype%"]=I}var I,P=m(function ne(re){var Z;if(re==="%AsyncFunction%")Z=d("async function () {}");else if(re==="%GeneratorFunction%")Z=d("function* () {}");else if(re==="%AsyncGeneratorFunction%")Z=d("async function* () {}");else if(re==="%AsyncGenerator%"){var ae=ne("%AsyncGeneratorFunction%");ae&&(Z=ae.prototype)}else if(re==="%AsyncIteratorPrototype%"){var le=ne("%AsyncGenerator%");le&&v&&(Z=v(le.prototype))}return C[re]=Z,Z},"doEval"),F={__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"]},D=Ts(),U=$R(),G=D.call(Function.call,Array.prototype.concat),X=D.call(Function.apply,Array.prototype.splice),Q=D.call(Function.call,String.prototype.replace),V=D.call(Function.call,String.prototype.slice),R=D.call(Function.call,RegExp.prototype.exec),q=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,Y=m(function(ne){var re=V(ne,0,1),Z=V(ne,-1);if(re==="%"&&Z!=="%")throw new s("invalid intrinsic syntax, expected closing `%`");if(Z==="%"&&re!=="%")throw new s("invalid intrinsic syntax, expected opening `%`");var ae=[];return Q(ne,q,function(le,Ee,pe,we){ae[ae.length]=pe?Q(we,M,"$1"):Ee||le}),ae},"stringToPath"),te=m(function(ne,re){var Z=ne,ae;if(U(F,Z)&&(ae=F[Z],Z="%"+ae[0]+"%"),U(C,Z)){var le=C[Z];if(le===x&&(le=P(Z)),typeof le>"u"&&!re)throw new l("intrinsic "+ne+" exists, but is not available. Please file an issue!");return{alias:ae,name:Z,value:le}}throw new s("intrinsic "+ne+" does not exist!")},"getBaseIntrinsic");t.exports=m(function(ne,re){if(typeof ne!="string"||ne.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof re!="boolean")throw new l('"allowMissing" argument must be a boolean');if(R(/^%?[^%]*%?$/,ne)===null)throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Z=Y(ne),ae=Z.length>0?Z[0]:"",le=te("%"+ae+"%",re),Ee=le.name,pe=le.value,we=!1,Le=le.alias;Le&&(ae=Le[0],X(Z,G([0,1],Le)));for(var Ve=1,Ye=!0;Ve=Z.length){var Re=y(pe,fe);Ye=!!Re,Ye&&"get"in Re&&!("originalValue"in Re.get)?pe=Re.get:pe=pe[fe]}else Ye=U(pe,fe),pe=pe[fe];Ye&&!we&&(C[Ee]=pe)}}return pe},"GetIntrinsic")}),Cs=L((e,t)=>{"use strict";var r=Kr(),n=r("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch{n=!1}t.exports=n}),pg=L((e,t)=>{"use strict";var r=Kr(),n=r("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch{n=null}t.exports=n}),zR=L((e,t)=>{"use strict";var r=Cs(),n=cg(),o=Un(),a=pg();t.exports=m(function(i,s,l){if(!i||typeof i!="object"&&typeof i!="function")throw new o("`obj` must be an object or a function`");if(typeof s!="string"&&typeof s!="symbol")throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new o("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,f=!!a&&a(i,s);if(r)r(i,s,{configurable:d===null&&f?f.configurable:!d,enumerable:u===null&&f?f.enumerable:!u,value:l,writable:c===null&&f?f.writable:!c});else if(y||!u&&!c&&!d)i[s]=l;else throw new n("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},"defineDataProperty")}),VR=L((e,t)=>{"use strict";var r=Cs(),n=m(function(){return!!r},"hasPropertyDescriptors");n.hasArrayLengthDefineBug=m(function(){if(!r)return null;try{return r([],"length",{value:1}).length!==1}catch{return!0}},"hasArrayLengthDefineBug"),t.exports=n}),HR=L((e,t)=>{"use strict";var r=Kr(),n=zR(),o=VR()(),a=pg(),i=Un(),s=r("%Math.floor%");t.exports=m(function(l,u){if(typeof l!="function")throw new i("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||s(u)!==u)throw new i("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],d=!0,y=!0;if("length"in l&&a){var f=a(l,"length");f&&!f.configurable&&(d=!1),f&&!f.writable&&(y=!1)}return(d||y||!c)&&(o?n(l,"length",u,!0,!0):n(l,"length",u)),l},"setFunctionLength")}),GR=L((e,t)=>{"use strict";var r=Ts(),n=Kr(),o=HR(),a=Un(),i=n("%Function.prototype.apply%"),s=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(s,i),u=Cs(),c=n("%Math.max%");t.exports=m(function(y){if(typeof y!="function")throw new a("a function is required");var f=l(r,s,arguments);return o(f,1+c(0,y.length-(arguments.length-1)),!0)},"callBind");var d=m(function(){return l(r,i,arguments)},"applyBind");u?u(t.exports,"apply",{value:d}):t.exports.apply=d}),WR=L((e,t)=>{"use strict";var r=Kr(),n=GR(),o=n(r("String.prototype.indexOf"));t.exports=m(function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s},"callBoundIntrinsic")}),KR=L(()=>{}),YR=L((e,t)=>{var r=typeof Map=="function"&&Map.prototype,n=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&n&&typeof n.get=="function"?n.get:null,a=r&&Map.prototype.forEach,i=typeof Set=="function"&&Set.prototype,s=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=i&&s&&typeof s.get=="function"?s.get:null,u=i&&Set.prototype.forEach,c=typeof WeakMap=="function"&&WeakMap.prototype,d=c?WeakMap.prototype.has:null,y=typeof WeakSet=="function"&&WeakSet.prototype,f=y?WeakSet.prototype.has:null,h=typeof WeakRef=="function"&&WeakRef.prototype,g=h?WeakRef.prototype.deref:null,_=Boolean.prototype.valueOf,v=Object.prototype.toString,x=Function.prototype.toString,O=String.prototype.match,C=String.prototype.slice,I=String.prototype.replace,P=String.prototype.toUpperCase,F=String.prototype.toLowerCase,D=RegExp.prototype.test,U=Array.prototype.concat,G=Array.prototype.join,X=Array.prototype.slice,Q=Math.floor,V=typeof BigInt=="function"?BigInt.prototype.valueOf:null,R=Object.getOwnPropertySymbols,q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,M=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Y=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===M||!0)?Symbol.toStringTag:null,te=Object.prototype.propertyIsEnumerable,ne=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function($){return $.__proto__}:null);function re($,H){if($===1/0||$===-1/0||$!==$||$&&$>-1e3&&$<1e3||D.call(/e/,H))return H;var ue=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof $=="number"){var de=$<0?-Q(-$):Q($);if(de!==$){var Ae=String(de),se=C.call(H,Ae.length+1);return I.call(Ae,ue,"$&_")+"."+I.call(I.call(se,/([0-9]{3})/g,"$&_"),/_$/,"")}}return I.call(H,ue,"$&_")}m(re,"addNumericSeparator");var Z=KR(),ae=Z.custom,le=Re(ae)?ae:null;t.exports=m(function $(H,ue,de,Ae){var se=ue||{};if(ce(se,"quoteStyle")&&se.quoteStyle!=="single"&&se.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ce(se,"maxStringLength")&&(typeof se.maxStringLength=="number"?se.maxStringLength<0&&se.maxStringLength!==1/0:se.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var ot=ce(se,"customInspect")?se.customInspect:!0;if(typeof ot!="boolean"&&ot!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ce(se,"indent")&&se.indent!==null&&se.indent!==" "&&!(parseInt(se.indent,10)===se.indent&&se.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ce(se,"numericSeparator")&&typeof se.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var yt=se.numericSeparator;if(typeof H>"u")return"undefined";if(H===null)return"null";if(typeof H=="boolean")return H?"true":"false";if(typeof H=="string")return xr(H,se);if(typeof H=="number"){if(H===0)return 1/0/H>0?"0":"-0";var ke=String(H);return yt?re(H,ke):ke}if(typeof H=="bigint"){var xe=String(H)+"n";return yt?re(H,xe):xe}var er=typeof se.depth>"u"?5:se.depth;if(typeof de>"u"&&(de=0),de>=er&&er>0&&typeof H=="object")return we(H)?"[Array]":"[Object]";var at=no(se,de);if(typeof Ae>"u")Ae=[];else if(ft(Ae,H)>=0)return"[Circular]";function Ce(p,w,k){if(w&&(Ae=X.call(Ae),Ae.push(w)),k){var z={depth:se.depth};return ce(se,"quoteStyle")&&(z.quoteStyle=se.quoteStyle),$(p,z,de+1,Ae)}return $(p,se,de+1,Ae)}if(m(Ce,"inspect"),typeof H=="function"&&!Ve(H)){var Sr=Ft(H),oo=Zt(H,Ce);return"[Function"+(Sr?": "+Sr:" (anonymous)")+"]"+(oo.length>0?" { "+G.call(oo,", ")+" }":"")}if(Re(H)){var cn=M?I.call(String(H),/^(Symbol\(.*\))_[^)]*$/,"$1"):q.call(H);return typeof H=="object"&&!M?St(cn):cn}if(Qt(H)){for(var tr="<"+F.call(String(H.nodeName)),nt=H.attributes||[],Ar=0;Ar",tr}if(we(H)){if(H.length===0)return"[]";var Tr=Zt(H,Ce);return at&&!un(Tr)?"["+wr(Tr,at)+"]":"[ "+G.call(Tr,", ")+" ]"}if(Ye(H)){var it=Zt(H,Ce);return!("cause"in Error.prototype)&&"cause"in H&&!te.call(H,"cause")?"{ ["+String(H)+"] "+G.call(U.call("[cause]: "+Ce(H.cause),it),", ")+" }":it.length===0?"["+String(H)+"]":"{ ["+String(H)+"] "+G.call(it,", ")+" }"}if(typeof H=="object"&&ot){if(le&&typeof H[le]=="function"&&Z)return Z(H,{depth:er-de});if(ot!=="symbol"&&typeof H.inspect=="function")return H.inspect()}if(wt(H)){var pn=[];return a&&a.call(H,function(p,w){pn.push(Ce(w,H,!0)+" => "+Ce(p,H))}),ln("Map",o.call(H),pn,at)}if(Yt(H)){var rr=[];return u&&u.call(H,function(p){rr.push(Ce(p,H))}),ln("Set",l.call(H),rr,at)}if(an(H))return Er("WeakMap");if(Xt(H))return Er("WeakSet");if(sn(H))return Er("WeakRef");if(Ie(H))return St(Ce(Number(H)));if(Ze(H))return St(Ce(V.call(H)));if(ye(H))return St(_.call(H));if(fe(H))return St(Ce(String(H)));if(typeof window<"u"&&H===window)return"{ [object Window] }";if(H===window)return"{ [object globalThis] }";if(!Le(H)&&!Ve(H)){var dn=Zt(H,Ce),fn=ne?ne(H)===Object.prototype:H instanceof Object||H.constructor===Object,Cr=H instanceof Object?"":"null prototype",yn=!fn&&Y&&Object(H)===H&&Y in H?C.call(Se(H),8,-1):Cr?"Object":"",_r=fn||typeof H.constructor!="function"?"":H.constructor.name?H.constructor.name+" ":"",Or=_r+(yn||Cr?"["+G.call(U.call([],yn||[],Cr||[]),": ")+"] ":"");return dn.length===0?Or+"{}":at?Or+"{"+wr(dn,at)+"}":Or+"{ "+G.call(dn,", ")+" }"}return String(H)},"inspect_");function Ee($,H,ue){var de=(ue.quoteStyle||H)==="double"?'"':"'";return de+$+de}m(Ee,"wrapQuotes");function pe($){return I.call(String($),/"/g,""")}m(pe,"quote");function we($){return Se($)==="[object Array]"&&(!Y||!(typeof $=="object"&&Y in $))}m(we,"isArray");function Le($){return Se($)==="[object Date]"&&(!Y||!(typeof $=="object"&&Y in $))}m(Le,"isDate");function Ve($){return Se($)==="[object RegExp]"&&(!Y||!(typeof $=="object"&&Y in $))}m(Ve,"isRegExp");function Ye($){return Se($)==="[object Error]"&&(!Y||!(typeof $=="object"&&Y in $))}m(Ye,"isError");function fe($){return Se($)==="[object String]"&&(!Y||!(typeof $=="object"&&Y in $))}m(fe,"isString");function Ie($){return Se($)==="[object Number]"&&(!Y||!(typeof $=="object"&&Y in $))}m(Ie,"isNumber");function ye($){return Se($)==="[object Boolean]"&&(!Y||!(typeof $=="object"&&Y in $))}m(ye,"isBoolean");function Re($){if(M)return $&&typeof $=="object"&&$ instanceof Symbol;if(typeof $=="symbol")return!0;if(!$||typeof $!="object"||!q)return!1;try{return q.call($),!0}catch{}return!1}m(Re,"isSymbol");function Ze($){if(!$||typeof $!="object"||!V)return!1;try{return V.call($),!0}catch{}return!1}m(Ze,"isBigInt");var qe=Object.prototype.hasOwnProperty||function($){return $ in this};function ce($,H){return qe.call($,H)}m(ce,"has");function Se($){return v.call($)}m(Se,"toStr");function Ft($){if($.name)return $.name;var H=O.call(x.call($),/^function\s*([\w$]+)/);return H?H[1]:null}m(Ft,"nameOf");function ft($,H){if($.indexOf)return $.indexOf(H);for(var ue=0,de=$.length;ueH.maxStringLength){var ue=$.length-H.maxStringLength,de="... "+ue+" more character"+(ue>1?"s":"");return xr(C.call($,0,H.maxStringLength),H)+de}var Ae=I.call(I.call($,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ro);return Ee(Ae,"single",H)}m(xr,"inspectString");function ro($){var H=$.charCodeAt(0),ue={8:"b",9:"t",10:"n",12:"f",13:"r"}[H];return ue?"\\"+ue:"\\x"+(H<16?"0":"")+P.call(H.toString(16))}m(ro,"lowbyte");function St($){return"Object("+$+")"}m(St,"markBoxed");function Er($){return $+" { ? }"}m(Er,"weakCollectionOf");function ln($,H,ue,de){var Ae=de?wr(ue,de):G.call(ue,", ");return $+" ("+H+") {"+Ae+"}"}m(ln,"collectionOf");function un($){for(var H=0;H<$.length;H++)if(ft($[H],` +`)>=0)return!1;return!0}m(un,"singleLineValues");function no($,H){var ue;if($.indent===" ")ue=" ";else if(typeof $.indent=="number"&&$.indent>0)ue=G.call(Array($.indent+1)," ");else return null;return{base:ue,prev:G.call(Array(H+1),ue)}}m(no,"getIndent");function wr($,H){if($.length===0)return"";var ue=` +`+H.prev+H.base;return ue+G.call($,","+ue)+` +`+H.prev}m(wr,"indentedJoin");function Zt($,H){var ue=we($),de=[];if(ue){de.length=$.length;for(var Ae=0;Ae<$.length;Ae++)de[Ae]=ce($,Ae)?H($[Ae],$):""}var se=typeof R=="function"?R($):[],ot;if(M){ot={};for(var yt=0;yt{"use strict";var r=Kr(),n=WR(),o=YR(),a=Un(),i=r("%WeakMap%",!0),s=r("%Map%",!0),l=n("WeakMap.prototype.get",!0),u=n("WeakMap.prototype.set",!0),c=n("WeakMap.prototype.has",!0),d=n("Map.prototype.get",!0),y=n("Map.prototype.set",!0),f=n("Map.prototype.has",!0),h=m(function(x,O){for(var C=x,I;(I=C.next)!==null;C=I)if(I.key===O)return C.next=I.next,I.next=x.next,x.next=I,I},"listGetNode"),g=m(function(x,O){var C=h(x,O);return C&&C.value},"listGet"),_=m(function(x,O,C){var I=h(x,O);I?I.value=C:x.next={key:O,next:x.next,value:C}},"listSet"),v=m(function(x,O){return!!h(x,O)},"listHas");t.exports=m(function(){var x,O,C,I={assert:m(function(P){if(!I.has(P))throw new a("Side channel does not contain "+o(P))},"assert"),get:m(function(P){if(i&&P&&(typeof P=="object"||typeof P=="function")){if(x)return l(x,P)}else if(s){if(O)return d(O,P)}else if(C)return g(C,P)},"get"),has:m(function(P){if(i&&P&&(typeof P=="object"||typeof P=="function")){if(x)return c(x,P)}else if(s){if(O)return f(O,P)}else if(C)return v(C,P);return!1},"has"),set:m(function(P,F){i&&P&&(typeof P=="object"||typeof P=="function")?(x||(x=new i),u(x,P,F)):s?(O||(O=new s),y(O,P,F)):(C||(C={key:{},next:null}),_(C,P,F))},"set")};return I},"getSideChannel")}),_s=L((e,t)=>{"use strict";var r=String.prototype.replace,n=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:o.RFC3986,formatters:{RFC1738:m(function(a){return r.call(a,n,"+")},"RFC1738"),RFC3986:m(function(a){return String(a)},"RFC3986")},RFC1738:o.RFC1738,RFC3986:o.RFC3986}}),dg=L((e,t)=>{"use strict";var r=_s(),n=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var x=[],O=0;O<256;++O)x.push("%"+((O<16?"0":"")+O.toString(16)).toUpperCase());return x}(),i=m(function(x){for(;x.length>1;){var O=x.pop(),C=O.obj[O.prop];if(o(C)){for(var I=[],P=0;P=d?F.slice(U,U+d):F,X=[],Q=0;Q=48&&V<=57||V>=65&&V<=90||V>=97&&V<=122||P===r.RFC1738&&(V===40||V===41)){X[X.length]=G.charAt(Q);continue}if(V<128){X[X.length]=a[V];continue}if(V<2048){X[X.length]=a[192|V>>6]+a[128|V&63];continue}if(V<55296||V>=57344){X[X.length]=a[224|V>>12]+a[128|V>>6&63]+a[128|V&63];continue}Q+=1,V=65536+((V&1023)<<10|G.charCodeAt(Q)&1023),X[X.length]=a[240|V>>18]+a[128|V>>12&63]+a[128|V>>6&63]+a[128|V&63]}D+=X.join("")}return D},"encode"),f=m(function(x){for(var O=[{obj:{o:x},prop:"o"}],C=[],I=0;I{"use strict";var r=XR(),n=dg(),o=_s(),a=Object.prototype.hasOwnProperty,i={brackets:m(function(v){return v+"[]"},"brackets"),comma:"comma",indices:m(function(v,x){return v+"["+x+"]"},"indices"),repeat:m(function(v){return v},"repeat")},s=Array.isArray,l=Array.prototype.push,u=m(function(v,x){l.apply(v,s(x)?x:[x])},"pushToArray"),c=Date.prototype.toISOString,d=o.default,y={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:n.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:m(function(v){return c.call(v)},"serializeDate"),skipNulls:!1,strictNullHandling:!1},f=m(function(v){return typeof v=="string"||typeof v=="number"||typeof v=="boolean"||typeof v=="symbol"||typeof v=="bigint"},"isNonNullishPrimitive"),h={},g=m(function v(x,O,C,I,P,F,D,U,G,X,Q,V,R,q,M,Y,te,ne){for(var re=x,Z=ne,ae=0,le=!1;(Z=Z.get(h))!==void 0&&!le;){var Ee=Z.get(x);if(ae+=1,typeof Ee<"u"){if(Ee===ae)throw new RangeError("Cyclic object value");le=!0}typeof Z.get(h)>"u"&&(ae=0)}if(typeof X=="function"?re=X(O,re):re instanceof Date?re=R(re):C==="comma"&&s(re)&&(re=n.maybeMap(re,function(Se){return Se instanceof Date?R(Se):Se})),re===null){if(F)return G&&!Y?G(O,y.encoder,te,"key",q):O;re=""}if(f(re)||n.isBuffer(re)){if(G){var pe=Y?O:G(O,y.encoder,te,"key",q);return[M(pe)+"="+M(G(re,y.encoder,te,"value",q))]}return[M(O)+"="+M(String(re))]}var we=[];if(typeof re>"u")return we;var Le;if(C==="comma"&&s(re))Y&&G&&(re=n.maybeMap(re,G)),Le=[{value:re.length>0?re.join(",")||null:void 0}];else if(s(X))Le=X;else{var Ve=Object.keys(re);Le=Q?Ve.sort(Q):Ve}var Ye=U?O.replace(/\./g,"%2E"):O,fe=I&&s(re)&&re.length===1?Ye+"[]":Ye;if(P&&s(re)&&re.length===0)return fe+"[]";for(var Ie=0;Ie"u"?v.encodeDotInKeys===!0?!0:y.allowDots:!!v.allowDots;return{addQueryPrefix:typeof v.addQueryPrefix=="boolean"?v.addQueryPrefix:y.addQueryPrefix,allowDots:F,allowEmptyArrays:typeof v.allowEmptyArrays=="boolean"?!!v.allowEmptyArrays:y.allowEmptyArrays,arrayFormat:P,charset:x,charsetSentinel:typeof v.charsetSentinel=="boolean"?v.charsetSentinel:y.charsetSentinel,commaRoundTrip:v.commaRoundTrip,delimiter:typeof v.delimiter>"u"?y.delimiter:v.delimiter,encode:typeof v.encode=="boolean"?v.encode:y.encode,encodeDotInKeys:typeof v.encodeDotInKeys=="boolean"?v.encodeDotInKeys:y.encodeDotInKeys,encoder:typeof v.encoder=="function"?v.encoder:y.encoder,encodeValuesOnly:typeof v.encodeValuesOnly=="boolean"?v.encodeValuesOnly:y.encodeValuesOnly,filter:I,format:O,formatter:C,serializeDate:typeof v.serializeDate=="function"?v.serializeDate:y.serializeDate,skipNulls:typeof v.skipNulls=="boolean"?v.skipNulls:y.skipNulls,sort:typeof v.sort=="function"?v.sort:null,strictNullHandling:typeof v.strictNullHandling=="boolean"?v.strictNullHandling:y.strictNullHandling}},"normalizeStringifyOptions");t.exports=function(v,x){var O=v,C=_(x),I,P;typeof C.filter=="function"?(P=C.filter,O=P("",O)):s(C.filter)&&(P=C.filter,I=P);var F=[];if(typeof O!="object"||O===null)return"";var D=i[C.arrayFormat],U=D==="comma"&&C.commaRoundTrip;I||(I=Object.keys(O)),C.sort&&I.sort(C.sort);for(var G=r(),X=0;X0?R+V:""}}),ZR=L((e,t)=>{"use strict";var r=dg(),n=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},i=m(function(h){return h.replace(/&#(\d+);/g,function(g,_){return String.fromCharCode(parseInt(_,10))})},"interpretNumericEntities"),s=m(function(h,g){return h&&typeof h=="string"&&g.comma&&h.indexOf(",")>-1?h.split(","):h},"parseArrayValue"),l="utf8=%26%2310003%3B",u="utf8=%E2%9C%93",c=m(function(h,g){var _={__proto__:null},v=g.ignoreQueryPrefix?h.replace(/^\?/,""):h;v=v.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var x=g.parameterLimit===1/0?void 0:g.parameterLimit,O=v.split(g.delimiter,x),C=-1,I,P=g.charset;if(g.charsetSentinel)for(I=0;I-1&&(X=o(X)?[X]:X);var Q=n.call(_,G);Q&&g.duplicates==="combine"?_[G]=r.combine(_[G],X):(!Q||g.duplicates==="last")&&(_[G]=X)}return _},"parseQueryStringValues"),d=m(function(h,g,_,v){for(var x=v?g:s(g,_),O=h.length-1;O>=0;--O){var C,I=h[O];if(I==="[]"&&_.parseArrays)C=_.allowEmptyArrays&&(x===""||_.strictNullHandling&&x===null)?[]:[].concat(x);else{C=_.plainObjects?Object.create(null):{};var P=I.charAt(0)==="["&&I.charAt(I.length-1)==="]"?I.slice(1,-1):I,F=_.decodeDotInKeys?P.replace(/%2E/g,"."):P,D=parseInt(F,10);!_.parseArrays&&F===""?C={0:x}:!isNaN(D)&&I!==F&&String(D)===F&&D>=0&&_.parseArrays&&D<=_.arrayLimit?(C=[],C[D]=x):F!=="__proto__"&&(C[F]=x)}x=C}return x},"parseObject"),y=m(function(h,g,_,v){if(h){var x=_.allowDots?h.replace(/\.([^.[]+)/g,"[$1]"):h,O=/(\[[^[\]]*])/,C=/(\[[^[\]]*])/g,I=_.depth>0&&O.exec(x),P=I?x.slice(0,I.index):x,F=[];if(P){if(!_.plainObjects&&n.call(Object.prototype,P)&&!_.allowPrototypes)return;F.push(P)}for(var D=0;_.depth>0&&(I=C.exec(x))!==null&&D<_.depth;){if(D+=1,!_.plainObjects&&n.call(Object.prototype,I[1].slice(1,-1))&&!_.allowPrototypes)return;F.push(I[1])}return I&&F.push("["+x.slice(I.index)+"]"),d(F,g,_,v)}},"parseQueryStringKeys"),f=m(function(h){if(!h)return a;if(typeof h.allowEmptyArrays<"u"&&typeof h.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof h.decodeDotInKeys<"u"&&typeof h.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(h.decoder!==null&&typeof h.decoder<"u"&&typeof h.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof h.charset<"u"&&h.charset!=="utf-8"&&h.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var g=typeof h.charset>"u"?a.charset:h.charset,_=typeof h.duplicates>"u"?a.duplicates:h.duplicates;if(_!=="combine"&&_!=="first"&&_!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var v=typeof h.allowDots>"u"?h.decodeDotInKeys===!0?!0:a.allowDots:!!h.allowDots;return{allowDots:v,allowEmptyArrays:typeof h.allowEmptyArrays=="boolean"?!!h.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:typeof h.allowPrototypes=="boolean"?h.allowPrototypes:a.allowPrototypes,allowSparse:typeof h.allowSparse=="boolean"?h.allowSparse:a.allowSparse,arrayLimit:typeof h.arrayLimit=="number"?h.arrayLimit:a.arrayLimit,charset:g,charsetSentinel:typeof h.charsetSentinel=="boolean"?h.charsetSentinel:a.charsetSentinel,comma:typeof h.comma=="boolean"?h.comma:a.comma,decodeDotInKeys:typeof h.decodeDotInKeys=="boolean"?h.decodeDotInKeys:a.decodeDotInKeys,decoder:typeof h.decoder=="function"?h.decoder:a.decoder,delimiter:typeof h.delimiter=="string"||r.isRegExp(h.delimiter)?h.delimiter:a.delimiter,depth:typeof h.depth=="number"||h.depth===!1?+h.depth:a.depth,duplicates:_,ignoreQueryPrefix:h.ignoreQueryPrefix===!0,interpretNumericEntities:typeof h.interpretNumericEntities=="boolean"?h.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:typeof h.parameterLimit=="number"?h.parameterLimit:a.parameterLimit,parseArrays:h.parseArrays!==!1,plainObjects:typeof h.plainObjects=="boolean"?h.plainObjects:a.plainObjects,strictNullHandling:typeof h.strictNullHandling=="boolean"?h.strictNullHandling:a.strictNullHandling}},"normalizeParseOptions");t.exports=function(h,g){var _=f(g);if(h===""||h===null||typeof h>"u")return _.plainObjects?Object.create(null):{};for(var v=typeof h=="string"?c(h,_):h,x=_.plainObjects?Object.create(null):{},O=Object.keys(v),C=0;C{"use strict";var r=QR(),n=ZR(),o=_s();t.exports={formats:o,parse:n,stringify:r}}),fg=L((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` +`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),e5=L((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),yg=L((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),t5=L((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}}),r5=L(e=>{"use strict";var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(t5()),n=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}m(o,"decodeCodePoint"),e.default=o}),wm=L(e=>{"use strict";var t=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(fg()),n=t(e5()),o=t(yg()),a=t(r5()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(c){var d=u(c);return function(y){return String(y).replace(i,d)}}m(s,"getStrictDecoder");var l=m(function(c,d){return c{"use strict";var t=e&&e.__importDefault||function(x){return x&&x.__esModule?x:{default:x}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(yg()),n=l(r.default),o=u(n);e.encodeXML=v(n);var a=t(fg()),i=l(a.default),s=u(i);e.encodeHTML=f(i,s),e.encodeNonAsciiHTML=v(i);function l(x){return Object.keys(x).sort().reduce(function(O,C){return O[x[C]]="&"+C+";",O},{})}m(l,"getInverseObj");function u(x){for(var O=[],C=[],I=0,P=Object.keys(x);I1?d(x):x.charCodeAt(0)).toString(16).toUpperCase()+";"}m(y,"singleCharReplacer");function f(x,O){return function(C){return C.replace(O,function(I){return x[I]}).replace(c,y)}}m(f,"getInverse");var h=new RegExp(o.source+"|"+c.source,"g");function g(x){return x.replace(h,y)}m(g,"escape"),e.escape=g;function _(x){return x.replace(o,y)}m(_,"escapeUTF8"),e.escapeUTF8=_;function v(x){return function(O){return O.replace(h,function(C){return x[C]||y(C)})}}m(v,"getASCIIEncoder")}),n5=L(e=>{"use strict";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=wm(),r=Sm();function n(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(l)}m(n,"decode"),e.decode=n;function o(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(l)}m(o,"decodeStrict"),e.decodeStrict=o;function a(l,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(l)}m(a,"encode"),e.encode=a;var i=Sm();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:m(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:m(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:m(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:m(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:m(function(){return i.encodeHTML},"get")});var s=wm();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:m(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:m(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:m(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:m(function(){return s.decodeXML},"get")})}),o5=L((e,t)=>{"use strict";function r(R,q){if(!(R instanceof q))throw new TypeError("Cannot call a class as a function")}m(r,"_classCallCheck");function n(R,q){for(var M=0;M=R.length?{done:!0}:{done:!1,value:R[Y++]}},"n"),e:m(function(ae){throw ae},"e"),f:te}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ne=!0,re=!1,Z;return{s:m(function(){M=M.call(R)},"s"),n:m(function(){var ae=M.next();return ne=ae.done,ae},"n"),e:m(function(ae){re=!0,Z=ae},"e"),f:m(function(){try{!ne&&M.return!=null&&M.return()}finally{if(re)throw Z}},"f")}}m(a,"_createForOfIteratorHelper");function i(R,q){if(R){if(typeof R=="string")return s(R,q);var M=Object.prototype.toString.call(R).slice(8,-1);if(M==="Object"&&R.constructor&&(M=R.constructor.name),M==="Map"||M==="Set")return Array.from(R);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return s(R,q)}}m(i,"_unsupportedIterableToArray");function s(R,q){(q==null||q>R.length)&&(q=R.length);for(var M=0,Y=new Array(q);M0?R*40+55:0,re=q>0?q*40+55:0,Z=M>0?M*40+55:0;Y[te]=f([ne,re,Z])}m(d,"setStyleColor");function y(R){for(var q=R.toString(16);q.length<2;)q="0"+q;return q}m(y,"toHexString");function f(R){var q=[],M=a(R),Y;try{for(M.s();!(Y=M.n()).done;){var te=Y.value;q.push(y(te))}}catch(ne){M.e(ne)}finally{M.f()}return"#"+q.join("")}m(f,"toColorHexString");function h(R,q,M,Y){var te;return q==="text"?te=I(M,Y):q==="display"?te=_(R,M,Y):q==="xterm256Foreground"?te=D(R,Y.colors[M]):q==="xterm256Background"?te=U(R,Y.colors[M]):q==="rgb"&&(te=g(R,M)),te}m(h,"generateOutput");function g(R,q){q=q.substring(2).slice(0,-1);var M=+q.substr(0,2),Y=q.substring(5).split(";"),te=Y.map(function(ne){return("0"+Number(ne).toString(16)).substr(-2)}).join("");return F(R,(M===38?"color:#":"background-color:#")+te)}m(g,"handleRgb");function _(R,q,M){q=parseInt(q,10);var Y={"-1":m(function(){return"
"},"_"),0:m(function(){return R.length&&v(R)},"_"),1:m(function(){return P(R,"b")},"_"),3:m(function(){return P(R,"i")},"_"),4:m(function(){return P(R,"u")},"_"),8:m(function(){return F(R,"display:none")},"_"),9:m(function(){return P(R,"strike")},"_"),22:m(function(){return F(R,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:m(function(){return G(R,"i")},"_"),24:m(function(){return G(R,"u")},"_"),39:m(function(){return D(R,M.fg)},"_"),49:m(function(){return U(R,M.bg)},"_"),53:m(function(){return F(R,"text-decoration:overline")},"_")},te;return Y[q]?te=Y[q]():4"}).join("")}m(v,"resetStyles");function x(R,q){for(var M=[],Y=R;Y<=q;Y++)M.push(Y);return M}m(x,"range");function O(R){return function(q){return(R===null||q.category!==R)&&R!=="all"}}m(O,"notCategory");function C(R){R=parseInt(R,10);var q=null;return R===0?q="all":R===1?q="bold":2")}m(P,"pushTag");function F(R,q){return P(R,"span",q)}m(F,"pushStyle");function D(R,q){return P(R,"span","color:"+q)}m(D,"pushForegroundColor");function U(R,q){return P(R,"span","background-color:"+q)}m(U,"pushBackgroundColor");function G(R,q){var M;if(R.slice(-1)[0]===q&&(M=R.pop()),M)return""}m(G,"closeTag");function X(R,q,M){var Y=!1,te=3;function ne(){return""}m(ne,"remove");function re(qe,ce){return M("xterm256Foreground",ce),""}m(re,"removeXterm256Foreground");function Z(qe,ce){return M("xterm256Background",ce),""}m(Z,"removeXterm256Background");function ae(qe){return q.newline?M("display",-1):M("text",qe),""}m(ae,"newline");function le(qe,ce){Y=!0,ce.trim().length===0&&(ce="0"),ce=ce.trimRight(";").split(";");var Se=a(ce),Ft;try{for(Se.s();!(Ft=Se.n()).done;){var ft=Ft.value;M("display",ft)}}catch(wt){Se.e(wt)}finally{Se.f()}return""}m(le,"ansiMess");function Ee(qe){return M("text",qe),""}m(Ee,"realText");function pe(qe){return M("rgb",qe),""}m(pe,"rgb");var we=[{pattern:/^\x08+/,sub:ne},{pattern:/^\x1b\[[012]?K/,sub:ne},{pattern:/^\x1b\[\(B/,sub:ne},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:pe},{pattern:/^\x1b\[38;5;(\d+)m/,sub:re},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:ae},{pattern:/^\r+\n/,sub:ae},{pattern:/^\r/,sub:ae},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:le},{pattern:/^\x1b\[\d?J/,sub:ne},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:ne},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:ne},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ee}];function Le(qe,ce){ce>te&&Y||(Y=!1,R=R.replace(qe.pattern,qe.sub))}m(Le,"process");var Ve=[],Ye=R,fe=Ye.length;e:for(;fe>0;){for(var Ie=0,ye=0,Re=we.length;ye{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();function hg(){let e={setHandler:m(()=>{},"setHandler"),send:m(()=>{},"send")};return new qh({transport:e})}m(hg,"mockChannel");var mg=class{constructor(){this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}channel;promise;resolve;getChannel=m(()=>{if(!this.channel){let t=hg();return this.setChannel(t),t}return this.channel},"getChannel");ready=m(()=>this.promise,"ready");hasChannel=m(()=>!!this.channel,"hasChannel");setChannel=m(t=>{this.channel=t,this.resolve()},"setChannel")};m(mg,"AddonStore");var a5=mg,Hi="__STORYBOOK_ADDONS_PREVIEW";function gg(){return Ue[Hi]||(Ue[Hi]=new a5),Ue[Hi]}m(gg,"getAddonsStore");var pr=gg(),bg=class{hookListsMap=void 0;mountedDecorators=void 0;prevMountedDecorators=void 0;currentHooks=void 0;nextHookIndex=void 0;currentPhase=void 0;currentEffects=void 0;prevEffects=void 0;currentDecoratorName=void 0;hasUpdates=void 0;currentContext=void 0;renderListener=m(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener");constructor(){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(),pr.getChannel().on(xn,this.renderListener)}removeRenderListeners(){pr.getChannel().removeListener(xn,this.renderListener)}};m(bg,"HooksContext");var vg=bg;function Zi(e){let t=m((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=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 l=Ue.STORYBOOK_HOOKS_CONTEXT;Ue.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(Ue.STORYBOOK_HOOKS_CONTEXT=l,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=a,n.nextHookIndex=i,n.currentDecoratorName=s,u},"hookified");return t.originalFn=e,t}m(Zi,"hookify");var Gi=0,i5=25,s5=m(e=>(t,r)=>{let n=e(Zi(t),r.map(o=>Zi(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Gi=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Gi+=1,Gi>i5)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),l5=m((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Is=m(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Ps(){return Ue.STORYBOOK_HOOKS_CONTEXT||null}m(Ps,"getHooksContextOrNull");function ra(){let e=Ps();if(e==null)throw Is();return e}m(ra,"getHooksContextOrThrow");function xg(e,t,r){let n=ra();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&me.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&&me.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&&me.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&&me.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant. +Previous: ${o.deps} +Incoming: ${r}`),(r==null||o.deps==null||!l5(r,o.deps))&&(t(o),o.deps=r),o}throw Is()}m(xg,"useHook");function Jn(e,t,r){let{memoizedState:n}=xg(e,o=>{o.memoizedState=t()},r);return n}m(Jn,"useMemoLike");function u5(e,t){return Jn("useMemo",e,t)}m(u5,"useMemo");function Bn(e,t){return Jn("useCallback",()=>e,t)}m(Bn,"useCallback");function ks(e,t){return Jn(e,()=>({current:t}),[])}m(ks,"useRefLike");function c5(e){return ks("useRef",e)}m(c5,"useRef");function Eg(){let e=Ps();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{pr.getChannel().emit(co)}catch{me.warn("State updates of Storybook preview hooks work only in browser")}}m(Eg,"triggerUpdate");function Rs(e,t){let r=ks(e,typeof t=="function"?t():t),n=m(o=>{r.current=typeof o=="function"?o(r.current):o,Eg()},"setState");return[r.current,n]}m(Rs,"useStateLike");function p5(e){return Rs("useState",e)}m(p5,"useState");function d5(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=Rs("useReducer",n);return[o,m(i=>a(s=>e(s,i)),"dispatch")]}m(d5,"useReducer");function wg(e,t){let r=ra(),n=Jn("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}m(wg,"useEffect");function f5(e,t=[]){let r=pr.getChannel();return wg(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Bn(r.emit.bind(r),[r])}m(f5,"useChannel");function na(){let{currentContext:e}=ra();if(e==null)throw Is();return e}m(na,"useStoryContext");function y5(e,t){let{parameters:r}=na();if(e)return r[e]??t}m(y5,"useParameter");function h5(){let e=pr.getChannel(),{id:t,args:r}=na(),n=Bn(a=>e.emit(ho,{storyId:t,updatedArgs:a}),[e,t]),o=Bn(a=>e.emit(po,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}m(h5,"useArgs");function m5(){let e=pr.getChannel(),{globals:t}=na(),r=Bn(n=>e.emit(yo,{globals:n}),[e]);return[t,r]}m(m5,"useGlobals");var Ere=m(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=m(a=>(i,s)=>{let l=s.parameters&&s.parameters[t];return l&&l.disable||n&&!a&&!l?i(s):r(i,s,{options:a,parameters:l})},"decorator");return(...a)=>typeof a[0]=="function"?o()(...a):(...i)=>{if(i.length>1)return a.length>1?o(a)(...i):o(...a)(...i);throw new Error(`Passing stories directly into ${e}() is not allowed, + instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator"),Wi=Qe(Lm(),1),g5=Qe(ta(),1),Am=Qe(_R(),1),b5=Qe(Lm(),1),v5=(0,b5.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Sg=class{entries;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(a=>a.id.startsWith(t));let{name:n,title:o}=t;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new $h({storyId:t});return r}importPathToEntry(t){return v5(this.entries)[t]}};m(Sg,"StoryIndexStore");var x5=Sg,Tm=Object.prototype.hasOwnProperty;function es(e,t,r){for(r of e.keys())if(Vr(r,t))return r}m(es,"find");function Vr(e,t){var r,n,o;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--&&Vr(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=es(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=es(t,o),!o)||!Vr(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Tm.call(e,r)&&++n&&!Tm.call(t,r)||!(r in t)||!Vr(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}m(Vr,"dequal");var Ho=Qe(As(),1);function lt(e){for(var t=[],r=1;r{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)?$r:e.reduce((n,o,a)=>{let i=ts(o,{type:r.value});return i!==$r&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?$r:Object.entries(e).reduce((n,[o,a])=>{let i=ts(a,{type:r.value[o]});return i===$r?n:Object.assign(n,{[o]:i})},{});default:return $r}},"map"),E5=m((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=ts(o,t[n]);return a===$r?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),rs=m((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=rs(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!(0,Ho.default)(e)||!(0,Ho.default)(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=rs(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),w5=m((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(m(a,"allowArg"),!o)return a();if(!Array.isArray(o))return Ut.error(lt` + Invalid argType: '${n}.options' should be an array. + + More info: https://storybook.js.org/docs/react/api/argtypes + `),a();if(o.some(d=>d&&["object","function"].includes(typeof d)))return Ut.error(lt` + Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. + + More info: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values + `),a();let i=Array.isArray(e[n]),s=i&&e[n].findIndex(d=>!o.includes(d)),l=i&&s===-1;if(e[n]===void 0||o.includes(e[n])||l)return a();let u=i?`${n}[${s}]`:n,c=o.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return Ut.warn(`Received illegal value for '${u}'. Supported options: ${c}`),r},{}),"validateOptions"),jn=Symbol("Deeply equal"),Go=m((e,t)=>{if(typeof e!=typeof t)return t;if(Vr(e,t))return jn;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=Go(e[a],o);return i!==jn&&(n[a]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return(0,Ho.default)(e)&&(0,Ho.default)(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Go(e?.[n],t?.[n]);return o===jn?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),Ag="UNTARGETED";function Tg({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=Ag}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}m(Tg,"groupArgsByTarget");function Cg(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}m(Cg,"deleteUndefined");var _g=class{initialArgsByStoryId={};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=Go(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==jn&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=w5(r,t.argTypes);this.argsByStoryId[t.id]=rs(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=E5(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]=Cg({...this.argsByStoryId[t],...r})}};m(_g,"ArgsStore");var S5=_g,Og=m((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),Ig=class{allowedGlobalNames;initialGlobals;globals;constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Go(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=Og(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==jn&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:me.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)}}};m(Ig,"GlobalsStore");var A5=Ig,T5=Qe(ta(),1),C5=m(e=>typeof e=="string"?{name:e}:e,"normalizeType"),_5=m(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),O5=m((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=C5(r)),n?a.control=_5(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Wo=m(e=>(0,T5.default)(e,O5),"normalizeInputTypes"),Fe=m(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),I5=lt` CSF .story annotations deprecated; annotate story functions directly: - StoryFn.story.name => StoryFn.storyName - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. -`,$re=(0,hm.default)(()=>{},ZT);var Rn=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,o)=>(Object.entries(o).forEach(([u,i])=>{let s=a[u];Array.isArray(i)||typeof s>"u"?a[u]=i:(0,On.default)(i)&&(0,On.default)(s)?t[u]=!0:typeof i<"u"&&(a[u]=i)}),a),{});return Object.keys(t).forEach(a=>{let o=r.filter(Boolean).map(u=>u[a]).filter(u=>typeof u<"u");o.every(u=>(0,On.default)(u))?n[a]=Rn(...o):n[a]=o[o.length-1]}),n};var eu=(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)?(mt.warn(So` +`;function Ds(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(me.debug("deprecated story",a),Ct(I5));let i=xm(e),s=typeof n!="function"&&n.name||n.storyName||a?.name||i,l=[...Fe(n.decorators),...Fe(a?.decorators)],u={...a?.parameters,...n.parameters},c={...a?.args,...n.args},d={...a?.argTypes,...n.argTypes},y=[...Fe(n.loaders),...Fe(a?.loaders)],f=[...Fe(n.beforeEach),...Fe(a?.beforeEach)],{render:h,play:g,tags:_=[]}=n,v=u.__id||vm(r.id,i);return{moduleExport:t,id:v,name:s,tags:_,decorators:l,parameters:u,args:c,argTypes:Wo(d),loaders:y,beforeEach:f,...h&&{render:h},...o&&{userStoryFn:o},...g&&{play:g}}}m(Ds,"normalizeStory");function Fs(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Vi(n||t),...e,title:t,...o&&{argTypes:Wo(o)},parameters:{fileName:r,...e.parameters}}}m(Fs,"normalizeComponentAnnotations");var P5=m(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&me.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),k5=m(e=>{let{options:t}=e;t?.storySort&&me.error("The storySort option parameter can only be set globally")},"checkStorySort"),Cm=m(e=>{e&&(P5(e),k5(e))},"checkDisallowedParameters");function Pg(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Fs(n,r,t);Cm(i.parameters);let s={meta:i,stories:{},moduleExports:e};return Object.keys(a).forEach(l=>{if(Jo(l,i)){let u=Ds(l,a[l],i);Cm(u.parameters),s.stories[u.id]=u}}),s}m(Pg,"processCSFFile");var Ki=Qe(As(),1),Ot=m((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let l=o[i];Array.isArray(s)||typeof l>"u"?o[i]=s:(0,Ki.default)(s)&&(0,Ki.default)(l)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>(0,Ki.default)(i))?n[o]=Ot(...a):n[o]=a[a.length-1]}),n},"combineParameters");function kg(e,t,r){let n=r(e);return o=>t(n,o)}m(kg,"decorateStory");function Rg({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:l,...u}={}){return u}m(Rg,"sanitizeStoryContextUpdate");function Dg(e,t){let r={},n=m(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Rg(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>kg(a,i,n),e);return a=>(r.value=a,o(a))}m(Dg,"defaultDecorateStory");function Fg(e){return e!=null&&jg(e).includes("mount")}m(Fg,"mountDestructured");function jg(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=ns(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?ns(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}m(jg,"getUsedProps");function ns(e){let t=[],r=[],n=0;for(let a=0;a{let P={};for(let F of[..."__STORYBOOK_TEST_LOADERS__"in Ue&&Array.isArray(Ue.__STORYBOOK_TEST_LOADERS__)?[Ue.__STORYBOOK_TEST_LOADERS__]:[],Fe(r.loaders),Fe(t.loaders),Fe(e.loaders)]){if(I.abortSignal.aborted)return P;let D=await Promise.all(F.map(U=>U(I)));Object.assign(P,...D)}return P},"applyLoaders"),l=m(async I=>{let P=new Array;for(let F of[...Fe(r.beforeEach),...Fe(t.beforeEach),...Fe(e.beforeEach)]){if(I.abortSignal.aborted)return P;let D=await F(I);D&&P.push(D)}return P},"applyBeforeEach"),u=m(I=>I.originalStoryFn(I.args,I),"undecoratedStoryFn"),{applyDecorators:c=Dg,runStep:d}=r,y=[...Fe(e?.decorators),...Fe(t?.decorators),...Fe(r?.decorators)],f=e?.userStoryFn||e?.render||t.render||r.render,h=s5(c)(u,y),g=m(I=>h(I),"unboundStoryFn"),_=e?.play??t?.play,v=Fg(_);if(!f&&!v)throw new um({id:o});let x=m(I=>async()=>(await I.renderToCanvas(),I.canvas),"defaultMount"),O=e.mount??t.mount??r.mount??x,C=r.testingLibraryRender;return{...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:f,undecoratedStoryFn:u,unboundStoryFn:g,applyLoaders:s,applyBeforeEach:l,playFunction:_,runStep:d,mount:O,testingLibraryRender:C,renderToCanvas:r.renderToCanvas,usesMount:v}}m(js,"prepareStory");function Ng(e,t,r){return{...Ns(void 0,e,t),moduleExport:r}}m(Ng,"prepareMeta");function Ns(e,t,r){let n=["dev","test"],o=Ue.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=Em(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),i=Ot(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:s=[],argsEnhancers:l=[]}=r,u=Ot(r.argTypes,t.argTypes,e?.argTypes);if(e){let _=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=_&&_.length>0}let c={...r.args,...t.args,...e?.args},d={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:c,argTypes:u};d.argTypes=s.reduce((_,v)=>v({...d,argTypes:_}),d.argTypes);let y={...c};d.initialArgs=l.reduce((_,v)=>({..._,...v({...d,initialArgs:_})}),y);let{name:f,story:h,...g}=d;return g}m(Ns,"preparePartialAnnotations");function Bs(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Ue.FEATURES?.argTypeTargetsV7){let a=Tg(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[Ag]||{}}}let n=Object.entries(r.args).reduce((a,[i,s])=>{if(!r.argTypes[i]?.mapping)return a[i]=s,a;let l=m(u=>{let c=r.argTypes[i].mapping;return c&&u in c?c[u]:u},"mappingFn");return a[i]=Array.isArray(s)?s.map(l):l(s),a},{}),o=Object.entries(n).reduce((a,[i,s])=>{let l=r.argTypes[i]||{};return bm(l,n,r.globals)&&(a[i]=s),a},{});return{...r,unmappedArgs:t,args:o}}m(Bs,"prepareContext");var os=Qe(ta(),1),as=m((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(me.warn(lt` We've detected a cycle in arg '${t}'. Args should be JSON-serializable. Consider using the mapping feature or fully custom args: - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args - `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?eu(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,Ir.default)(e,a=>eu(a,t,new Set(r)))}):{name:"object",value:{}}},e6=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=(0,Ir.default)(n,(u,i)=>({name:i,type:eu(u,`${t}.${i}`,new Set)})),o=(0,Ir.default)(r,(u,i)=>({name:i}));return Rn(a,o,r)};e6.secondPass=!0;var pm=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),Am=(e,t,r)=>!t&&!r?e:e&&(0,mm.default)(e,(n,a)=>{let o=n.name||a;return(!t||pm(o,t))&&(!r||!pm(o,r))}),t6=(e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&mt.warn(`Addon controls: Control of type color only supports string, received "${o}" 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:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},r6=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:o={}}={}}}=e;if(!r)return t;let u=Am(t,n,a),i=(0,Ir.default)(u,(s,p)=>s?.type&&t6(s,p,o));return Rn(i,u)};r6.secondPass=!0;var Hre=new Error("prepareAborted"),{AbortController:Ure}=globalThis;var{fetch:zre}=pe;var{history:Gre,document:Vre}=pe;var n6=zT(YT()),{document:Wre}=pe;var a6=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(a6||{});var Kre=new n6.default({escapeXML:!0});var{document:Yre}=pe;l();c();d();var i6=De(Fo(),1),s6=De(Im(),1);var l6=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(l6||{});var _m="storybook/docs",kne=`${_m}/panel`;var c6=`${_m}/snippet-rendered`,Om=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Om||{});l();c();d();l();c();d();var d6=Object.create,Rm=Object.defineProperty,p6=Object.getOwnPropertyDescriptor,Pm=Object.getOwnPropertyNames,f6=Object.getPrototypeOf,h6=Object.prototype.hasOwnProperty,Re=(e,t)=>function(){return t||(0,e[Pm(e)[0]])((t={exports:{}}).exports,t),t.exports},m6=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Pm(t))!h6.call(e,a)&&a!==r&&Rm(e,a,{get:()=>t[a],enumerable:!(n=p6(t,a))||n.enumerable});return e},kn=(e,t,r)=>(r=e!=null?d6(f6(e)):{},m6(t||!e||!e.__esModule?Rm(r,"default",{value:e,enumerable:!0}):r,e)),g6=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],y6=["detail"];function km(e){let t=g6.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&y6.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var Xm=De(hn(),1),$m=Re({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var u=42;n[a]=u;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var i=Object.getOwnPropertySymbols(n);if(i.length!==1||i[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==u||s.enumerable!==!0)return!1}return!0}}}),Hm=Re({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=$m();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),b6=Re({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var p=n.call(arguments,1),y,A=function(){if(this instanceof y){var x=s.apply(this,p.concat(n.call(arguments)));return Object(x)===x?x:this}else return s.apply(i,p.concat(n.call(arguments)))},g=Math.max(0,s.length-p.length),h=[],E=0;E"u"?r:A(Uint8Array),E={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":y?A([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":g,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":y?A(A([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!y?r:A(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!y?r:A(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":y?A(""[Symbol.iterator]()):r,"%Symbol%":y?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":p,"%TypedArray%":h,"%TypeError%":o,"%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%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},b=function Q(K){var R;if(K==="%AsyncFunction%")R=u("async function () {}");else if(K==="%GeneratorFunction%")R=u("function* () {}");else if(K==="%AsyncGeneratorFunction%")R=u("async function* () {}");else if(K==="%AsyncGenerator%"){var _=Q("%AsyncGeneratorFunction%");_&&(R=_.prototype)}else if(K==="%AsyncIteratorPrototype%"){var j=Q("%AsyncGenerator%");j&&(R=A(j.prototype))}return E[K]=R,R},x={"%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"]},B=ou(),w=E6(),I=B.call(Function.call,Array.prototype.concat),L=B.call(Function.apply,Array.prototype.splice),S=B.call(Function.call,String.prototype.replace),N=B.call(Function.call,String.prototype.slice),k=B.call(Function.call,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,H=function(K){var R=N(K,0,1),_=N(K,-1);if(R==="%"&&_!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(_==="%"&&R!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var j=[];return S(K,U,function(G,X,Y,te){j[j.length]=Y?S(te,W,"$1"):X||G}),j},oe=function(K,R){var _=K,j;if(w(x,_)&&(j=x[_],_="%"+j[0]+"%"),w(E,_)){var G=E[_];if(G===g&&(G=b(_)),typeof G>"u"&&!R)throw new o("intrinsic "+K+" exists, but is not available. Please file an issue!");return{alias:j,name:_,value:G}}throw new n("intrinsic "+K+" does not exist!")};t.exports=function(K,R){if(typeof K!="string"||K.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof R!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,K)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _=H(K),j=_.length>0?_[0]:"",G=oe("%"+j+"%",R),X=G.name,Y=G.value,te=!1,ue=G.alias;ue&&(j=ue[0],L(_,I([0,1],ue)));for(var Ie=1,_e=!0;Ie<_.length;Ie+=1){var J=_[Ie],Ne=N(J,0,1),T=N(J,-1);if((Ne==='"'||Ne==="'"||Ne==="`"||T==='"'||T==="'"||T==="`")&&Ne!==T)throw new n("property names with quotes must have matching quotes");if((J==="constructor"||!_e)&&(te=!0),j+="."+J,X="%"+j+"%",w(E,X))Y=E[X];else if(Y!=null){if(!(J in Y)){if(!R)throw new o("base intrinsic for "+K+" exists, but the property is not available.");return}if(i&&Ie+1>=_.length){var P=i(Y,J);_e=!!P,_e&&"get"in P&&!("originalValue"in P.get)?Y=P.get:Y=Y[J]}else _e=w(Y,J),Y=Y[J];_e&&!te&&(E[X]=Y)}}return Y}}}),A6=Re({"node_modules/call-bind/index.js"(e,t){"use strict";var r=ou(),n=Um(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),u=n("%Reflect.apply%",!0)||r.call(o,a),i=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),p=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(g){var h=u(r,o,arguments);if(i&&s){var E=i(h,"length");E.configurable&&s(h,"length",{value:1+p(0,g.length-(arguments.length-1))})}return h};var y=function(){return u(r,a,arguments)};s?s(t.exports,"apply",{value:y}):t.exports.apply=y}}),v6=Re({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=Um(),n=A6(),a=n(r("String.prototype.indexOf"));t.exports=function(u,i){var s=r(u,!!i);return typeof s=="function"&&a(u,".prototype.")>-1?n(s):s}}}),D6=Re({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=$m();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),C6=Re({"node_modules/is-regex/index.js"(e,t){"use strict";var r=v6(),n=D6()(),a,o,u,i;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),u={},s=function(){throw u},i={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(i[Symbol.toPrimitive]=s));var s,p=r("Object.prototype.toString"),y=Object.getOwnPropertyDescriptor,A="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var E=y(h,"lastIndex"),b=E&&a(E,"value");if(!b)return!1;try{o(h,i)}catch(x){return x===u}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:p(h)===A}}}),x6=Re({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),F6=Re({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=Hm()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,u=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return u(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,u}}),S6=kn(C6()),w6=kn(x6()),B6=kn(F6());function T6(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var I6=typeof window=="object"&&window&&window.Object===Object&&window,_6=I6,O6=typeof self=="object"&&self&&self.Object===Object&&self,R6=_6||O6||Function("return this")(),uu=R6,P6=uu.Symbol,Yt=P6,zm=Object.prototype,k6=zm.hasOwnProperty,N6=zm.toString,Rr=Yt?Yt.toStringTag:void 0;function L6(e){var t=k6.call(e,Rr),r=e[Rr];try{e[Rr]=void 0;var n=!0}catch{}var a=N6.call(e);return n&&(t?e[Rr]=r:delete e[Rr]),a}var q6=L6,M6=Object.prototype,j6=M6.toString;function $6(e){return j6.call(e)}var H6=$6,U6="[object Null]",z6="[object Undefined]",Nm=Yt?Yt.toStringTag:void 0;function G6(e){return e==null?e===void 0?z6:U6:Nm&&Nm in Object(e)?q6(e):H6(e)}var Gm=G6;function V6(e){return e!=null&&typeof e=="object"}var W6=V6,K6="[object Symbol]";function Y6(e){return typeof e=="symbol"||W6(e)&&Gm(e)==K6}var iu=Y6;function X6(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r-1}var u_=o_;function i_(e,t){var r=this.__data__,n=Ln(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var s_=i_;function Jt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let u=0;uG_(e).replace(/\n\s*/g,"").trim()),W_=function(t,r){let n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},K_=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Y_=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function Jm(e){if(!Nn(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=km(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var X_=function(t){let r,n,a,o;return function(i,s){try{if(i==="")return o=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;let p=n.get(this)||this;for(;a.length&&p!==a[0];)a.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return K_.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,S6.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,w6.default)(s)){if(!t.allowFunction)return;let{name:A}=s,g=s.toString();return g.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${A}|${(()=>{}).toString()}`:`_function_${A}|${V_(W_(i,g))}`}if((0,B6.default)(s)){if(!t.allowSymbol)return;let A=Symbol.keyFor(s);return A!==void 0?`_gsymbol_${A}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;let y=r.get(s);if(!y){let A=Array.isArray(s)?s:Jm(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(A,{"_constructor-name_":s.constructor.name})}catch{}return o.push(i),a.unshift(A),r.set(s,JSON.stringify(o)),s!==A&&n.set(s,A),A}return`_duplicate_${y}`}catch{return}}},J_=function reviver(options){let refs=[],root;return function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=Y_(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=z_(root,n)})),key==="_constructor-name_")return value;if(Nn(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(Nn(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=(...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)};return Object.defineProperty(result,"toString",{value:()=>sourceSanitized}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value}},Qm={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},Q_=(e,t={})=>{let r={...Qm,...t};return JSON.stringify(Jm(e),X_(r),t.space)},Z_=()=>{let e=new Map;return function t(r){Nn(r)&&Object.entries(r).forEach(([n,a])=>{a==="_undefined_"?r[n]=void 0:e.get(a)||(e.set(a,!0),t(a))}),Array.isArray(r)&&r.forEach((n,a)=>{n==="_undefined_"?(e.set(n,!0),r[a]=void 0):e.get(n)||(e.set(n,!0),t(n))})}},Gne=(e,t={})=>{let r={...Qm,...t},n=JSON.parse(e,J_(r));return Z_()(n),n};var Ay=De(dg(),1);var m4=M.div(St,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:ie(.3,e.color.defaultText),fontSize:e.typography.size.s2})),vy=e=>m.createElement(m4,{...e,className:"docblock-emptyblock sb-unstyled"}),g4=M(Mr)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),y4=M.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Gn=M.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Ju}`]:{margin:0}})),b4=()=>m.createElement(y4,null,m.createElement(Gn,null),m.createElement(Gn,{style:{width:"80%"}}),m.createElement(Gn,{style:{width:"30%"}}),m.createElement(Gn,{style:{width:"80%"}})),Dy=({isLoading:e,error:t,language:r,code:n,dark:a,format:o,...u})=>{let{typography:i}=ma();if(e)return m.createElement(b4,null);if(t)return m.createElement(vy,null,t);let s=m.createElement(g4,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...u},n);if(typeof a>"u")return s;let p=a?ha.dark:ha.light;return m.createElement(Yu,{theme:Xu({...p,fontCode:i.fonts.mono,fontBase:i.fonts.base})},s)};Dy.defaultProps={format:!1};var ge=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,wu=600,qoe=M.h1(St,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${wu}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),Moe=M.h2(St,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${wu}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ie(.25,e.color.defaultText)})),joe=M.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ie(.1,e.color.defaultText):ie(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ge("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ge("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ge("div")]:t,[ge("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ge("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ge("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ge("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ge("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ge("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ge("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ge("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ge("img")]:{maxWidth:"100%"},[ge("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ge("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ge("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ge("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ge("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ge("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ge("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),$oe=M.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${wu}px)`]:{}}));var Kn=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),E4=M(aa)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),A4=M.div({display:"flex",alignItems:"center",gap:4}),v4=M.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),D4=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>m.createElement(E4,{...o},m.createElement(A4,{key:"left"},e?[1,2,3].map(u=>m.createElement(v4,{key:u})):m.createElement(m.Fragment,null,m.createElement(lt,{key:"zoomin",onClick:u=>{u.preventDefault(),n(.8)},title:"Zoom in"},m.createElement(mi,null)),m.createElement(lt,{key:"zoomout",onClick:u=>{u.preventDefault(),n(1.25)},title:"Zoom out"},m.createElement(gi,null)),m.createElement(lt,{key:"zoomreset",onClick:u=>{u.preventDefault(),a()},title:"Reset zoom"},m.createElement(yi,null))))),C4=ar({scale:1}),{window:Hoe}=pe;var{PREVIEW_URL:Uoe}=pe;var x4=M.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),oy=M(Dy)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":qe(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":qe(.05,e.background.content)}})),F4=M.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Kn(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),S4=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:m.createElement(oy,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:m.createElement(oy,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function w4(e){if(Ou.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var B4=M(D4)({position:"absolute",top:0,left:0,right:0,height:40}),T4=M.div({overflow:"hidden",position:"relative"}),I4=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:u=!1,additionalActions:i,className:s,layout:p="padded",...y})=>{let[A,g]=ne(u),{source:h,actionItem:E}=S4(a,A,g),[b,x]=ne(1),B=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),w=a?[E]:[],[I,L]=ne(i?[...i]:[]),S=[...w,...I],{window:N}=pe,k=Ee(async W=>{let{createCopyToClipboardFunction:H}=await Promise.resolve().then(()=>(or(),Ku));H()},[]),U=W=>{let H=N.getSelection();H&&H.type==="Range"||(W.preventDefault(),I.filter(oe=>oe.title==="Copied").length===0&&k(h.props.code).then(()=>{L([...I,{title:"Copied",onClick:()=>{}}]),N.setTimeout(()=>L(I.filter(oe=>oe.title!=="Copied")),1500)}))};return m.createElement(F4,{withSource:a,withToolbar:o,...y,className:B.join(" ")},o&&m.createElement(B4,{isLoading:e,border:!0,zoom:W=>x(b*W),resetZoom:()=>x(1),storyId:w4(n),baseUrl:"./iframe.html"}),m.createElement(C4.Provider,{value:{scale:b}},m.createElement(T4,{className:"docs-story",onCopyCapture:a&&U},m.createElement(x4,{isColumn:t||!Array.isArray(n),columns:r,layout:p},m.createElement(ca.Element,{scale:b},Array.isArray(n)?n.map((W,H)=>m.createElement("div",{key:H},W)):m.createElement("div",null,n))),m.createElement(ea,{actionItems:S}))),a&&A&&h)};M(I4)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var _4=M.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Ft({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),O4=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:m.createElement(m.Fragment,null,m.createElement(_4,null,m.createElement("tbody",null,n&&m.createElement("tr",{key:"deprecated"},m.createElement("td",{colSpan:2},m.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>m.createElement("tr",{key:o.name},m.createElement("td",null,m.createElement("code",null,o.name)),m.createElement("td",null,o.description))),a&&m.createElement("tr",{key:"returns"},m.createElement("td",null,m.createElement("code",null,"Returns")),m.createElement("td",null,e.returns.description)))))},xu=8,uy=M.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),R4=M.span(Ft,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),P4=M.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),k4=M.div(Ft,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),N4=M.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),L4=M(ii)({marginLeft:4}),q4=M(Sa)({marginLeft:4}),M4=()=>m.createElement("span",null,"-"),Cy=({text:e,simple:t})=>m.createElement(R4,{simple:t},e),j4=(0,yy.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),$4=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return(0,by.default)(t)},iy=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,xu)),r.map(n=>m.createElement(Cy,{key:n,text:n===""?'""':n}))},H4=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=ne(!1),[u,i]=ne(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return m.createElement(Cy,{text:s});let p=$4(s),y=p.length;return y>xu?m.createElement(uy,{isExpanded:u},iy(p,u),m.createElement(P4,{onClick:()=>i(!u)},u?"Show less...":`Show ${y-xu} more...`)):m.createElement(uy,null,iy(p))}return m.createElement(la,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:p=>{o(p)},tooltip:m.createElement(N4,{width:j4(n)},m.createElement(Mr,{language:"jsx",format:!1},n))},m.createElement(k4,{className:"sbdocs-expandable"},m.createElement("span",null,s),a?m.createElement(L4,null):m.createElement(q4,null)))},vu=({value:e,initialExpandedArgs:t})=>e==null?m.createElement(M4,null):m.createElement(H4,{value:e,initialExpandedArgs:t}),U4=M.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ie(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${cr(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${cr(.05,e.appBorderColor)} 0 0 0 2px inset`,color:cr(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${cr(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),z4=e=>e==="true",G4=({name:e,value:t,onChange:r,onBlur:n,onFocus:a})=>{let o=Ee(()=>r(!1),[r]);if(t===void 0)return m.createElement(xt,{variant:"outline",size:"medium",id:ur(e),onClick:o},"Set boolean");let u=Be(e),i=typeof t=="string"?z4(t):t;return m.createElement(U4,{htmlFor:u,"aria-label":e},m.createElement("input",{id:u,type:"checkbox",onChange:s=>r(s.target.checked),checked:i,role:"switch",name:e,onBlur:n,onFocus:a}),m.createElement("span",{"aria-hidden":"true"},"False"),m.createElement("span",{"aria-hidden":"true"},"True"))},V4=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},W4=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},K4=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},Y4=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},X4=M.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),J4=({name:e,value:t,onChange:r,onFocus:n,onBlur:a})=>{let[o,u]=ne(!0),i=we(),s=we();he(()=>{o!==!1&&(i&&i.current&&(i.current.value=K4(t)),s&&s.current&&(s.current.value=Y4(t)))},[t]);let p=g=>{let h=V4(g.target.value),E=new Date(t);E.setFullYear(h.getFullYear(),h.getMonth(),h.getDate());let b=E.getTime();b&&r(b),u(!!b)},y=g=>{let h=W4(g.target.value),E=new Date(t);E.setHours(h.getHours()),E.setMinutes(h.getMinutes());let b=E.getTime();b&&r(b),u(!!b)},A=Be(e);return m.createElement(X4,null,m.createElement(He.Input,{type:"date",max:"9999-12-31",ref:i,id:`${A}-date`,name:`${A}-date`,onChange:p,onFocus:n,onBlur:a}),m.createElement(He.Input,{type:"time",id:`${A}-time`,name:`${A}-time`,ref:s,onChange:y,onFocus:n,onBlur:a}),o?null:m.createElement("div",null,"invalid"))},Q4=M.label({display:"flex"}),Z4=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t};var e9=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:u,onFocus:i})=>{let[s,p]=ne(typeof t=="number"?t:""),[y,A]=ne(!1),[g,h]=ne(null),E=Ee(B=>{p(B.target.value);let w=parseFloat(B.target.value);Number.isNaN(w)?h(new Error(`'${B.target.value}' is not a number`)):(r(w),h(null))},[r,h]),b=Ee(()=>{p("0"),r(0),A(!0)},[A]),x=we(null);return he(()=>{y&&x.current&&x.current.select()},[y]),he(()=>{s!==(typeof t=="number"?t:"")&&p(t)},[t]),!y&&t===void 0?m.createElement(xt,{variant:"outline",size:"medium",id:ur(e),onClick:b},"Set number"):m.createElement(Q4,null,m.createElement(He.Input,{ref:x,id:Be(e),type:"number",onChange:E,size:"flex",placeholder:"Edit number...",value:s,valid:g?"error":null,autoFocus:y,name:e,min:n,max:a,step:o,onFocus:i,onBlur:u}))},xy=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Fu=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Fy=(e,t)=>e&&t&&e.map(r=>t[r]),t9=M.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),r9=M.span({}),n9=M.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),sy=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return mt.warn(`Checkbox with no options: ${e}`),m.createElement(m.Fragment,null,"-");let o=Fu(r,t),[u,i]=ne(o),s=y=>{let A=y.target.value,g=[...u];g.includes(A)?g.splice(g.indexOf(A),1):g.push(A),n(Fy(g,t)),i(g)};he(()=>{i(Fu(r,t))},[r]);let p=Be(e);return m.createElement(t9,{isInline:a},Object.keys(t).map((y,A)=>{let g=`${p}-${A}`;return m.createElement(n9,{key:g,htmlFor:g},m.createElement("input",{type:"checkbox",id:g,name:g,value:y,onChange:s,checked:u?.includes(y)}),m.createElement(r9,null,y))}))},a9=M.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),o9=M.span({}),u9=M.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),ly=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return mt.warn(`Radio with no options: ${e}`),m.createElement(m.Fragment,null,"-");let o=xy(r,t),u=Be(e);return m.createElement(a9,{isInline:a},Object.keys(t).map((i,s)=>{let p=`${u}-${s}`;return m.createElement(u9,{key:p,htmlFor:p},m.createElement("input",{type:"radio",id:p,name:p,value:i,onChange:y=>n(t[y.currentTarget.value]),checked:i===o}),m.createElement(o9,null,i))}))},i9={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Sy=M.select(i9,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),wy=M.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),cy="Choose option...",s9=({name:e,value:t,options:r,onChange:n})=>{let a=i=>{n(r[i.currentTarget.value])},o=xy(t,r)||cy,u=Be(e);return m.createElement(wy,null,m.createElement(Sa,null),m.createElement(Sy,{id:u,value:o,onChange:a},m.createElement("option",{key:"no-selection",disabled:!0},cy),Object.keys(r).map(i=>m.createElement("option",{key:i,value:i},i))))},l9=({name:e,value:t,options:r,onChange:n})=>{let a=i=>{let s=Array.from(i.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(Fy(s,r))},o=Fu(t,r),u=Be(e);return m.createElement(wy,null,m.createElement(Sy,{id:u,multiple:!0,value:o,onChange:a},Object.keys(r).map(i=>m.createElement("option",{key:i,value:i},i))))},dy=e=>{let{name:t,options:r}=e;return r?e.isMulti?m.createElement(l9,{...e}):m.createElement(s9,{...e}):(mt.warn(`Select with no options: ${t}`),m.createElement(m.Fragment,null,"-"))},c9=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,d9={check:sy,"inline-check":sy,radio:ly,"inline-radio":ly,select:dy,"multi-select":dy},rr=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,options:n?c9(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=d9[t];if(o)return m.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},Bu="value",p9="key",f9="Error",h9="Object",m9="Array",g9="String",y9="Number",b9="Boolean",E9="Date",A9="Null",v9="Undefined",D9="Function",C9="Symbol",By="ADD_DELTA_TYPE",Ty="REMOVE_DELTA_TYPE",Iy="UPDATE_DELTA_TYPE";function Dt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function _y(e,t){let r=Dt(e),n=Dt(t);return(r==="Function"||n==="Function")&&n!==r}var Tu=class extends Je{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:u}=this.state,i={};if(!t){if(!o.value)return;i.key=o.value}i.newValue=r(!1,n,a,i.key,u.value),e(i)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:u}=this.props,i=de(r,{onClick:this.onSubmit}),s=de(n,{onClick:e}),p=a(Bu,o,u),y=de(p,{placeholder:"Value",ref:this.refInputValue}),A=null;if(!t){let g=a(p9,o,u);A=de(g,{placeholder:"Key",ref:this.refInputKey})}return m.createElement("span",{className:"rejt-add-value-node"},A,y,s,i)}};Tu.defaultProps={onlyValue:!1,addButtonElement:m.createElement("button",null,"+"),cancelButtonElement:m.createElement("button",null,"c")};var Oy=class extends Je{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,u=n[e];t(e,a,o,u).then(()=>{let i={keyPath:a,deep:o,key:e,oldValue:u,type:Ty};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:p}=this.props;s(a[a.length-1],n),p(i)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let u=[...t,e];this.setState({data:u}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:s}=this.props;i(r[r.length-1],u),s({type:By,keyPath:r,deep:n,key:u.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:u,nextDeep:i}=this.state,s=o[e];a(e,u,i,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:p,onDeltaUpdate:y}=this.props;p(u[u.length-1],o),y({type:Iy,keyPath:u,deep:i,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:u,dataType:i,minusMenuElement:s}=this.props,{minus:p,collapsed:y}=u(e,t,r,n,i),A=o(e,t,r,n,i),g=de(s,{onClick:a,className:"rejt-minus-menu",style:p});return m.createElement("span",{className:"rejt-collapsed"},m.createElement("span",{className:"rejt-collapsed-text",style:y,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!A&&g)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:u,handleRemove:i,onDeltaUpdate:s,readOnly:p,getStyle:y,dataType:A,addButtonElement:g,cancelButtonElement:h,editButtonElement:E,inputElementGenerator:b,textareaElementGenerator:x,minusMenuElement:B,plusMenuElement:w,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:S,logger:N,onSubmitValueParser:k}=this.props,{minus:U,plus:W,delimiter:H,ul:oe,addForm:Q}=y(e,t,r,n,A),K=p(e,t,r,n,A),R=de(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:W}),_=de(B,{onClick:i,className:"rejt-minus-menu",style:U});return m.createElement("span",{className:"rejt-not-collapsed"},m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:H},"["),!a&&R,m.createElement("ul",{className:"rejt-not-collapsed-list",style:oe},t.map((j,G)=>m.createElement(Yn,{key:G,name:G.toString(),data:j,keyPath:r,deep:o,isCollapsed:u,handleRemove:this.handleRemoveItem(G),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:g,cancelButtonElement:h,editButtonElement:E,inputElementGenerator:b,textareaElementGenerator:x,minusMenuElement:B,plusMenuElement:w,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:S,logger:N,onSubmitValueParser:k}))),!K&&a&&m.createElement("div",{className:"rejt-add-form",style:Q},m.createElement(Tu,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:g,cancelButtonElement:h,inputElementGenerator:b,keyPath:r,deep:n,onSubmitValueParser:k})),m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:H},"]"),!K&&_)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:u}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),s=u(e,r,n,a,o);return m.createElement("div",{className:"rejt-array-node"},m.createElement("span",{onClick:this.handleCollapseMode},m.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),i)}};Oy.defaultProps={keyPath:[],deep:0,minusMenuElement:m.createElement("span",null," - "),plusMenuElement:m.createElement("span",null," + ")};var Ry=class extends Je{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:u,dataType:i}=this.props,s=u(r,n,a,o,i);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:u,deep:i}=this.state;if(!o)return;let s=n(!0,a,i,u,o.value);e({value:s,key:u}).then(()=>{_y(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:u,readOnly:i,dataType:s,getStyle:p,editButtonElement:y,cancelButtonElement:A,textareaElementGenerator:g,minusMenuElement:h,keyPath:E}=this.props,b=p(e,u,n,a,s),x=null,B=null,w=i(e,u,n,a,s);if(r&&!w){let I=g(Bu,E,a,e,u,s),L=de(y,{onClick:this.handleEdit}),S=de(A,{onClick:this.handleCancelEdit}),N=de(I,{ref:this.refInput,defaultValue:u});x=m.createElement("span",{className:"rejt-edit-form",style:b.editForm},N," ",S,L),B=null}else{x=m.createElement("span",{className:"rejt-value",style:b.value,onClick:w?null:this.handleEditMode},t);let I=de(h,{onClick:o,className:"rejt-minus-menu",style:b.minus});B=w?null:I}return m.createElement("li",{className:"rejt-function-value-node",style:b.li},m.createElement("span",{className:"rejt-name",style:b.name},e," :"," "),x,B)}};Ry.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:m.createElement("button",null,"e"),cancelButtonElement:m.createElement("button",null,"c"),minusMenuElement:m.createElement("span",null," - ")};var Yn=class extends Je{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:u,onUpdate:i,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:A,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:B,beforeRemoveAction:w,beforeAddAction:I,beforeUpdateAction:L,logger:S,onSubmitValueParser:N}=this.props,k=()=>!0,U=Dt(e);switch(U){case f9:return m.createElement(Su,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:i,onDeltaUpdate:s,readOnly:k,dataType:U,getStyle:y,addButtonElement:A,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:B,beforeRemoveAction:w,beforeAddAction:I,beforeUpdateAction:L,logger:S,onSubmitValueParser:N});case h9:return m.createElement(Su,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:i,onDeltaUpdate:s,readOnly:p,dataType:U,getStyle:y,addButtonElement:A,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:B,beforeRemoveAction:w,beforeAddAction:I,beforeUpdateAction:L,logger:S,onSubmitValueParser:N});case m9:return m.createElement(Oy,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:i,onDeltaUpdate:s,readOnly:p,dataType:U,getStyle:y,addButtonElement:A,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:B,beforeRemoveAction:w,beforeAddAction:I,beforeUpdateAction:L,logger:S,onSubmitValueParser:N});case g9:return m.createElement(st,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:u,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,minusMenuElement:x,logger:S,onSubmitValueParser:N});case y9:return m.createElement(st,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:u,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,minusMenuElement:x,logger:S,onSubmitValueParser:N});case b9:return m.createElement(st,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:u,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,minusMenuElement:x,logger:S,onSubmitValueParser:N});case E9:return m.createElement(st,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:u,readOnly:k,dataType:U,getStyle:y,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,minusMenuElement:x,logger:S,onSubmitValueParser:N});case A9:return m.createElement(st,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:u,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,minusMenuElement:x,logger:S,onSubmitValueParser:N});case v9:return m.createElement(st,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:u,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,minusMenuElement:x,logger:S,onSubmitValueParser:N});case D9:return m.createElement(Ry,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:u,readOnly:p,dataType:U,getStyle:y,cancelButtonElement:g,editButtonElement:h,textareaElementGenerator:b,minusMenuElement:x,logger:S,onSubmitValueParser:N});case C9:return m.createElement(st,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:u,readOnly:k,dataType:U,getStyle:y,cancelButtonElement:g,editButtonElement:h,inputElementGenerator:E,minusMenuElement:x,logger:S,onSubmitValueParser:N});default:return null}}};Yn.defaultProps={keyPath:[],deep:0};var Su=class extends Je{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:u}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:i,onDeltaUpdate:s}=this.props;i(n[n.length-1],r),s({type:By,keyPath:n,deep:a,key:e,newValue:t})}).catch(u.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,u=n[e];t(e,a,o,u).then(()=>{let i={keyPath:a,deep:o,key:e,oldValue:u,type:Ty};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:p}=this.props;s(a[a.length-1],n),p(i)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:u,nextDeep:i}=this.state,s=o[e];a(e,u,i,s,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:p,onDeltaUpdate:y}=this.props;p(u[u.length-1],o),y({type:Iy,keyPath:u,deep:i,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:u,getStyle:i,minusMenuElement:s}=this.props,{minus:p,collapsed:y}=i(e,n,t,r,u),A=Object.getOwnPropertyNames(n),g=o(e,n,t,r,u),h=de(s,{onClick:a,className:"rejt-minus-menu",style:p});return m.createElement("span",{className:"rejt-collapsed"},m.createElement("span",{className:"rejt-collapsed-text",style:y,onClick:this.handleCollapseMode},"{...}"," ",A.length," ",A.length===1?"key":"keys"),!g&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:u,handleRemove:i,onDeltaUpdate:s,readOnly:p,getStyle:y,dataType:A,addButtonElement:g,cancelButtonElement:h,editButtonElement:E,inputElementGenerator:b,textareaElementGenerator:x,minusMenuElement:B,plusMenuElement:w,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:S,logger:N,onSubmitValueParser:k}=this.props,{minus:U,plus:W,addForm:H,ul:oe,delimiter:Q}=y(e,t,r,n,A),K=Object.getOwnPropertyNames(t),R=p(e,t,r,n,A),_=de(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:W}),j=de(B,{onClick:i,className:"rejt-minus-menu",style:U}),G=K.map(X=>m.createElement(Yn,{key:X,name:X,data:t[X],keyPath:r,deep:a,isCollapsed:u,handleRemove:this.handleRemoveValue(X),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:p,getStyle:y,addButtonElement:g,cancelButtonElement:h,editButtonElement:E,inputElementGenerator:b,textareaElementGenerator:x,minusMenuElement:B,plusMenuElement:w,beforeRemoveAction:I,beforeAddAction:L,beforeUpdateAction:S,logger:N,onSubmitValueParser:k}));return m.createElement("span",{className:"rejt-not-collapsed"},m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},"{"),!R&&_,m.createElement("ul",{className:"rejt-not-collapsed-list",style:oe},G),!R&&o&&m.createElement("div",{className:"rejt-add-form",style:H},m.createElement(Tu,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:g,cancelButtonElement:h,inputElementGenerator:b,keyPath:r,deep:n,onSubmitValueParser:k})),m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},"}"),!R&&j)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:u}=this.props,i=t?this.renderCollapsed():this.renderNotCollapsed(),s=o(e,r,n,a,u);return m.createElement("div",{className:"rejt-object-node"},m.createElement("span",{onClick:this.handleCollapseMode},m.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),i)}};Su.defaultProps={keyPath:[],deep:0,minusMenuElement:m.createElement("span",null," - "),plusMenuElement:m.createElement("span",null," + ")};var st=class extends Je{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:u,dataType:i}=this.props,s=u(r,n,a,o,i);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:u,deep:i}=this.state;if(!o)return;let s=n(!0,a,i,u,o.value);e({value:s,key:u}).then(()=>{_y(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:u,readOnly:i,dataType:s,getStyle:p,editButtonElement:y,cancelButtonElement:A,inputElementGenerator:g,minusMenuElement:h,keyPath:E}=this.props,b=p(e,u,n,a,s),x=i(e,u,n,a,s),B=r&&!x,w=g(Bu,E,a,e,u,s),I=de(y,{onClick:this.handleEdit}),L=de(A,{onClick:this.handleCancelEdit}),S=de(w,{ref:this.refInput,defaultValue:JSON.stringify(u)}),N=de(h,{onClick:o,className:"rejt-minus-menu",style:b.minus});return m.createElement("li",{className:"rejt-value-node",style:b.li},m.createElement("span",{className:"rejt-name",style:b.name},e," : "),B?m.createElement("span",{className:"rejt-edit-form",style:b.editForm},S," ",L,I):m.createElement("span",{className:"rejt-value",style:b.value,onClick:x?null:this.handleEditMode},String(t)),!x&&!B&&N)}};st.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:m.createElement("button",null,"e"),cancelButtonElement:m.createElement("button",null,"c"),minusMenuElement:m.createElement("span",null," - ")};var x9={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},F9={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},S9={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function w9(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Py=class extends Je{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:u,cancelButtonElement:i,editButtonElement:s,inputElement:p,textareaElement:y,minusMenuElement:A,plusMenuElement:g,beforeRemoveAction:h,beforeAddAction:E,beforeUpdateAction:b,logger:x,onSubmitValueParser:B,fallback:w=null}=this.props,I=Dt(e),L=a;Dt(a)==="Boolean"&&(L=()=>a);let S=p;p&&Dt(p)!=="Function"&&(S=()=>p);let N=y;return y&&Dt(y)!=="Function"&&(N=()=>y),I==="Object"||I==="Array"?m.createElement("div",{className:"rejt-tree"},m.createElement(Yn,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:L,getStyle:o,addButtonElement:u,cancelButtonElement:i,editButtonElement:s,inputElementGenerator:S,textareaElementGenerator:N,minusMenuElement:A,plusMenuElement:g,handleRemove:this.removeRoot,beforeRemoveAction:h,beforeAddAction:E,beforeUpdateAction:b,logger:x,onSubmitValueParser:B})):w}};Py.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return x9;case"Array":return F9;default:return S9}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>w9(a),inputElement:()=>m.createElement("input",null),textareaElement:()=>m.createElement("textarea",null),fallback:null};var{window:B9}=pe,T9=M.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Du=M.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),I9=M(ai)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),_9=M(pi)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),py=M.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),O9=M(lt)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),R9=M(He.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),P9={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},k9=e=>{e.currentTarget.dispatchEvent(new B9.KeyboardEvent("keydown",P9))},N9=e=>{e.currentTarget.select()},L9=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),fy=({name:e,value:t,onChange:r})=>{let n=ma(),a=Qe(()=>t&&(0,Ey.default)(t),[t]),o=a!=null,[u,i]=ne(!o),[s,p]=ne(null),y=Ee(B=>{try{B&&r(JSON.parse(B)),p(void 0)}catch(w){p(w)}},[r]),[A,g]=ne(!1),h=Ee(()=>{r({}),g(!0)},[g]),E=we(null);if(he(()=>{A&&E.current&&E.current.select()},[A]),!o)return m.createElement(xt,{id:ur(e),onClick:h},"Set object");let b=m.createElement(R9,{ref:E,id:Be(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:B=>y(B.target.value),placeholder:"Edit JSON string...",autoFocus:A,valid:s?"error":null}),x=Array.isArray(t)||typeof t=="object"&&t?.constructor===Object;return m.createElement(T9,null,x&&m.createElement(O9,{onClick:B=>{B.preventDefault(),i(w=>!w)}},u?m.createElement(si,null):m.createElement(li,null),m.createElement("span",null,"RAW")),u?b:m.createElement(Py,{readOnly:!x,isCollapsed:x?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:L9(n),cancelButtonElement:m.createElement(Du,{type:"button"},"Cancel"),editButtonElement:m.createElement(Du,{type:"submit"},"Save"),addButtonElement:m.createElement(Du,{type:"submit",primary:!0},"Save"),plusMenuElement:m.createElement(I9,null),minusMenuElement:m.createElement(_9,null),inputElement:(B,w,I,L)=>L?m.createElement(py,{onFocus:N9,onBlur:k9}):m.createElement(py,null),fallback:b}))},q9=M.input(({theme:e,min:t,max:r,value:n})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?as(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:(0,os.default)(e,o=>as(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Bg=m(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=(0,os.default)(n,(i,s)=>({name:s,type:as(i,`${t}.${s}`,new Set)})),a=(0,os.default)(r,(i,s)=>({name:s}));return Ot(o,a,r)},"inferArgTypes");Bg.secondPass=!0;var R5=Qe(ta(),1),D5=Qe(DR(),1),_m=m((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),F5=m((e,t,r)=>!t&&!r?e:e&&(0,D5.default)(e,(n,o)=>{let a=n.name||o;return(!t||_m(a,t))&&(!r||!_m(a,r))}),"filterArgTypes"),j5=m((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&me.warn(`Addon controls: Control of type color only supports string, received "${a}" 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:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Lg=m(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=F5(t,n,o),s=(0,R5.default)(i,(l,u)=>l?.type&&j5(l,u,a));return Ot(s,i)},"inferControls");Lg.secondPass=!0;function Ko({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,globals:i,initialGlobals:s,...l}){return i&&Object.keys(i).length>0&&Ct(lt` + The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. + Please use 'initialGlobals' instead. Learn more: + + https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals + `),{...e&&{argTypes:Wo(e)},...t&&{globalTypes:Wo(t)},decorators:Fe(n),loaders:Fe(o),beforeEach:Fe(a),argTypesEnhancers:[...r||[],Bg,Lg],initialGlobals:Ot(s,i),...l}}m(Ko,"normalizeProjectAnnotations");function qg(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}m(qg,"composeStepRunners");var N5=m(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 Hr(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}m(Hr,"getField");function Jt(e,t,r={}){return Hr(e,t).reduce((n,o)=>{let a=Fe(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}m(Jt,"getArrayField");function zr(e,t){return Object.assign({},...Hr(e,t))}m(zr,"getObjectField");function ur(e,t){return Hr(e,t).pop()}m(ur,"getSingletonField");function Ls(e){let t=Jt(e,"argTypesEnhancers"),r=Hr(e,"runStep"),n=Jt(e,"beforeAll");return{parameters:Ot(...Hr(e,"parameters")),decorators:Jt(e,"decorators",{reverseFileOrder:!(Ue.FEATURES?.legacyDecoratorFileOrder??!1)}),args:zr(e,"args"),argsEnhancers:Jt(e,"argsEnhancers"),argTypes:zr(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:zr(e,"globals"),initialGlobals:zr(e,"initialGlobals"),globalTypes:zr(e,"globalTypes"),loaders:Jt(e,"loaders"),beforeAll:N5(n),beforeEach:Jt(e,"beforeEach"),render:ur(e,"render"),renderToCanvas:ur(e,"renderToCanvas"),renderToDOM:ur(e,"renderToDOM"),applyDecorators:ur(e,"applyDecorators"),runStep:qg(r),tags:Jt(e,"tags"),mount:ur(e,"mount"),testingLibraryRender:ur(e,"testingLibraryRender")}}m(Ls,"composeConfigs");var is={},B5="ComposedStory",L5="Unnamed Story";function Mg(e){return e?"default"in e?e.default:e:{}}m(Mg,"extractAnnotation");function q5(e){let t=Array.isArray(e)?e:[e];return is=Ls(t.map(Mg)),is}m(q5,"setProjectAnnotations");var $t=[];function M5(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??B5;let a=Fs(t),i=o||e.storyName||e.story?.name||e.name||L5,s=Ds(i,e,a),l=Ko(Ls([n??{},is,r??{}])),u=js(s,a,l),c=Og(l.globalTypes),d=m(()=>{let _=Bs({hooks:new vg,globals:{...c,...l.initialGlobals},args:{...u.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:m((v,x)=>u.runStep(v,x,_),"step"),canvasElement:null,canvas:{},...u,context:null,mount:null});return _.context=_,u.renderToCanvas&&(_.renderToCanvas=async()=>{let v=await u.renderToCanvas?.({componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:m(()=>{},"showMain"),showError:m(x=>{},"showError"),showException:m(x=>{},"showException"),forceRemount:!0,storyContext:_,storyFn:m(()=>u.unboundStoryFn(_),"storyFn"),unboundStoryFn:u.unboundStoryFn},_.canvasElement);v&&$t.push(v)}),_.mount=u.mount(_),_},"initializeContext"),y,f=m(async _=>{let v=d();return v.canvasElement??=globalThis?.document?.body,y&&(v.loaded=y.loaded),Object.assign(v,_),u.playFunction(v)},"play"),h=m(_=>{let v=d();return Object.assign(v,_),Ug(u,v)},"run"),g=u.playFunction?f:void 0;return Object.assign(m(function(_){let v=d();return y&&(v.loaded=y.loaded),v.args={...v.initialArgs,..._},u.unboundStoryFn(v)},"storyFn"),{id:u.id,storyName:i,load:m(async()=>{for(let v of[...$t].reverse())await v();$t.length=0;let _=d();_.loaded=await u.applyLoaders(_),$t.push(...(await u.applyBeforeEach(_)).filter(Boolean)),y=_},"load"),args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:g,run:h,tags:u.tags})}m(M5,"composeStory");function U5(e,t,r){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e;return Object.entries(i).reduce((s,[l,u])=>Jo(l,n)?Object.assign(s,{[l]:r(u,n,t,l)}):s,{})}m(U5,"composeStories");function J5(e){return e.extend({mount:m(async({mount:t,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(lt` + Portable stories in Playwright CT only work when referencing JSX elements. + Please use JSX format for your components such as: + + instead of: + await mount(MyComponent, { props: { foo: 'bar' } }) + + do: + await mount() + + More info: https://storybook.js.org/docs/api/portable-stories-playwright + `);await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s);return("__pw_type"in l?l.type:l)?.load?.()},o);let i=await t(o,...a);return await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s),u="__pw_type"in l?l.type:l,c=document.querySelector("#root");return u?.play?.({canvasElement:c})},o),i})},"mount")})}m(J5,"createPlaywrightTest");async function Ug(e,t){for(let o of[...$t].reverse())await o();if($t.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,$t.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;$t.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&r&&(n||(t.mount=async()=>{throw new Mo({playFunction:r.toString()})}),await r(t))}m(Ug,"runStory");var Om=1e3,$5=1e4,Jg=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new x5(t),this.projectAnnotations=Ko(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new S5,this.globals=new A5({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Wi.default)(Om)(Pg),this.prepareMetaWithCache=(0,Wi.default)(Om)(Ng),this.prepareStoryWithCache=(0,Wi.default)($5)(js)}storyIndex;projectAnnotations;globals;args;hooks;cleanupCallbacks;cachedCSFFiles;processCSFFileWithCache;prepareMetaWithCache;prepareStoryWithCache;setProjectAnnotations(t){this.projectAnnotations=Ko(t);let{initialGlobals:r,globalTypes:n}=t;this.globals.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 om({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new vg,a}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,...a]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){return Bs({...t,args:r?t.initialArgs:this.args.get(t.id),globals:this.globals.get(),hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=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 Vh;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let s=r[i],l=this.storyFromCSFFile({storyId:o,csfFile:s});return!t.includeDocsOnly&&l.parameters.docsOnly||(n[o]=Object.entries(l).reduce((u,[c,d])=>c==="moduleExport"||typeof d=="function"?u:Array.isArray(d)?Object.assign(u,{[c]:d.slice().sort()}):Object.assign(u,{[c]:d}),{args:l.initialArgs})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.globals.get(),globalParameters:{},kindParameters:r,stories:t}}getStoriesJsonData=m(()=>{let t=this.getSetStoriesPayload(),r=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:(0,g5.default)(t.stories,n=>{let{importPath:o}=this.storyIndex.entries[n.id];return{...(0,Am.default)(n,["id","name","title"]),importPath:o,kind:n.title,story:n.name,parameters:{...(0,Am.default)(n.parameters,r),fileName:o}}})}},"getStoriesJsonData");raw(){return Ct("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(Ct("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:m(a=>{let i={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:m((s,l)=>o.runStep(s,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...i,...a})},"storyFn")}}};m(Jg,"StoryStore");var z5=Jg;function $g(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}m($g,"slash");var V5=m(e=>{if(e.length===0)return e;let t=e[e.length-1],r=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 ss(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}m(ss,"pathJoin");var H5=m((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:a=""}=t||{};typeof e=="number"&&Ut.warn(lt` + CSF Auto-title received a numeric fileName. This typically happens when + webpack is mis-configured in production mode. To force webpack to produce + filenames, set optimization.moduleIds = "named" in your webpack config. + `);let i=$g(String(e));if(o.exec(i)){if(!r){let s=i.replace(n,""),l=ss([a,s]).split("/");return l=V5(l),l.join("/")}return a?ss([a,r]):r}},"userOrAutoTitleFromSpecifier"),zre=m((e,t,r)=>{for(let n=0;n(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],a=t.title.trim().split(Im),i=r.title.trim().split(Im);e.includeNames&&(a.push(t.name),i.push(r.name));let s=0;for(;a[s]||i[s];){if(!a[s])return-1;if(!i[s])return 1;let l=a[s],u=i[s];if(l!==u){let d=o.indexOf(l),y=o.indexOf(u),f=o.indexOf("*");return d!==-1||y!==-1?(d===-1&&(f!==-1?d=f:d=o.length),y===-1&&(f!==-1?y=f:y=o.length),d-y):n==="configure"?0:l.localeCompare(u,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let c=o.indexOf(l);c===-1&&(c=o.indexOf("*")),o=c!==-1&&Array.isArray(o[c+1])?o[c+1]:[],s+=1}return 0},"storySort"),W5=m((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=G5(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),Vre=m((e,t,r)=>{try{return W5(e,t,r)}catch(n){throw new Error(lt` + Error sorting stories with sort parameter ${t}: + + > ${n.message} + + Are you using a V6-style sort function in V7 mode? + + More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort + `)}},"sortStoriesV7"),oa=new Error("prepareAborted"),{AbortController:Pm}=globalThis;function ls(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)}}}m(ls,"serializeError");var zg=class{constructor(t,r,n,o,a,i,s={autoplay:!0,forceInitialArgs:!1},l){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=s,this.abortController=new Pm,l&&(this.story=l,this.phase="preparing")}type="story";story;phase;abortController;canvasElement;notYetRendered=!0;rerenderEnqueued=!1;disableKeyListeners=!1;teardownRender=m(()=>{},"teardownRender");torndown=!1;async runPhase(t,r,n){this.phase=r,this.channel.emit(kr,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(kr,{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),oa}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"].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}={}){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:a,componentId:i,title:s,name:l,tags:u,applyLoaders:c,applyBeforeEach:d,unboundStoryFn:y,playFunction:f,runStep:h}=o;r&&!t&&(this.cancelRender(),this.abortController=new Pm);let g=this.abortController.signal,_=!1,v=o.usesMount;try{let x={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:m((D,U)=>h(D,U,x),"step"),context:null,canvas:{},renderToCanvas:m(async()=>{let D=await this.renderToScreen(O,n);this.teardownRender=D||(()=>{}),_=!0},"renderToCanvas"),mount:m(async(...D)=>{this.callbacks.showStoryDuringRender?.();let U=null;return await this.runPhase(g,"rendering",async()=>{U=await o.mount(x)(...D)}),v&&await this.runPhase(g,"playing"),U},"mount")};x.context=x;let O={componentId:i,title:s,kind:s,id:a,name:l,story:l,tags:u,...this.callbacks,showError:m(D=>(this.phase="errored",this.callbacks.showError(D)),"showError"),showException:m(D=>(this.phase="errored",this.callbacks.showException(D)),"showException"),forceRemount:r||this.notYetRendered,storyContext:x,storyFn:m(()=>y(x),"storyFn"),unboundStoryFn:y};if(await this.runPhase(g,"loading",async()=>{x.loaded=await c(x)}),g.aborted)return;let C=await d(x);if(this.store.addCleanupCallbacks(o,C),this.checkIfAborted(g)||(!_&&!v&&await x.mount(),this.notYetRendered=!1,g.aborted))return;let I=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,P=new Set,F=m(D=>P.add("error"in D?D.error:D.reason),"onError");if(this.renderOptions.autoplay&&r&&f&&this.phase!=="errored"){window.addEventListener("error",F),window.addEventListener("unhandledrejection",F),this.disableKeyListeners=!0;try{if(v?await f(x):(x.mount=async()=>{throw new Mo({playFunction:f.toString()})},await this.runPhase(g,"playing",async()=>f(x))),!_)throw new pm;this.checkIfAborted(g),!I&&P.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(D){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(du,ls(D))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw D;console.error(D)}if(!I&&P.size>0&&this.channel.emit(Tu,Array.from(P).map(ls)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",F),window.removeEventListener("error",F),g.aborted)return}await this.runPhase(g,"completed",async()=>this.channel.emit(xn,a))}catch(x){this.phase="errored",this.callbacks.showException(x)}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(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};m(zg,"StoryRender");var Vg=zg,{fetch:K5}=Ue,Y5="./index.json",Hg=class{constructor(t,r,n=pr.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}serverChannel;storyStoreValue;renderToCanvas;storyRenders=[];previewEntryError;projectAnnotationsBeforeInitialization;beforeAllCleanup;storeInitializationPromise;resolveStoreInitializationPromise;rejectStoreInitializationPromise;get storyStore(){return new Proxy({},{get:m((t,r)=>{if(this.storyStoreValue)return Ct("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new im},"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(xu,this.onStoryIndexChanged.bind(this)),this.channel.on(yo,this.onUpdateGlobals.bind(this)),this.channel.on(ho,this.onUpdateArgs.bind(this)),this.channel.on(iu,this.onRequestArgTypesInfo.bind(this)),this.channel.on(po,this.onResetArgs.bind(this)),this.channel.on(co,this.onForceReRender.bind(this)),this.channel.on(uu,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new Gh;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){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await K5(Y5);if(t.status===200)return t.json();throw new Yh({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new z5(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new rt({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.globals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(mu,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 rt({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t}){if(!this.storyStoreValue)throw new rt({methodName:"onUpdateGlobals"});this.storyStoreValue.globals.update(t),await Promise.all(this.storyRenders.map(r=>r.rerender())),this.channel.emit(cu,{globals:this.storyStoreValue.globals.get(),initialGlobals:this.storyStoreValue.globals.initialGlobals})}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new rt({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(gu,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Wa,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Wa,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new rt({methodName:"onResetArgs"});let n=this.storyRenders.find(a=>a.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((a,i)=>(a[i]=n.initialArgs[i],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 rt({methodName:"renderStoryToElement"});let a=new Vg(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new rt({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new rt({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new rt({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,me.error(t),me.error(r),this.channel.emit(su,r)}};m(Hg,"Preview");var X5=Hg,Q5=!1,Yi="Invariant failed";function zo(e,t){if(!e){if(Q5)throw new Error(Yi);var r=typeof t=="function"?t():t,n=r?"".concat(Yi,": ").concat(r):Yi;throw new Error(n)}}m(zo,"invariant");var Gg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,i)=>{this.referenceCSFFile(a)})}componentStoriesValue;storyIdToCSFFile;exportToStory;exportsToCSFFile;nameToStoryId;attachedCSFFiles;primaryStory;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(" 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 ?");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 ?");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(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(lt`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(", ")}. + - Did you pass a component to the 'of' prop when the block only supports a story or a meta? + - ... or vice versa? + - 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}}storyIdByName=m(t=>{let r=this.nameToStoryId.get(t);if(r)return r;throw new Error(`No story found with that name: ${t}`)},"storyIdByName");componentStories=m(()=>this.componentStoriesValue,"componentStories");componentStoriesFromCSFFile=m(t=>this.store.componentStoriesFromCSFFile({csfFile:t}),"componentStoriesFromCSFFile");storyById=m(t=>{if(!t){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let r=this.storyIdToCSFFile.get(t);if(!r)throw new Error(`Called \`storyById\` for story that was never loaded: ${t}`);return this.store.storyFromCSFFile({storyId:t,csfFile:r})},"storyById");getStoryContext=m(t=>({...this.store.getStoryContext(t),loaded:{},viewMode:"docs"}),"getStoryContext");loadStory=m(t=>this.store.loadStory({storyId:t}),"loadStory")};m(Gg,"DocsContext");var Wg=Gg,Kg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.id=n.id}type="docs";subtype="csf";id;story;rerender;teardownRender;torndown=!1;disableKeyListeners=!1;preparing=!1;csfFiles;isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw oa;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,n,o),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...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 Wg(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 a=await o.renderer(),{render:i}=a,s=m(async()=>{try{await i(n,o,t),this.channel.emit(uo,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l})=>{!l||!t||a.unmount(t)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m(Kg,"CsfDocsRender");var km=Kg,Yg=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.id=n.id}type="docs";subtype="mdx";id;exports;rerender;teardownRender;torndown=!1;disableKeyListeners=!1;preparing=!1;csfFiles;isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw oa;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 Wg(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 a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,l=m(async()=>{try{await s(n,a,t),this.channel.emit(uo,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!t||(i.unmount(t),this.torndown=!0)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m(Yg,"MdxDocsRender");var Rm=Yg,Z5=globalThis;function Xg(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}m(Xg,"focusInInput");var Qg="attached-mdx",eD="unattached-mdx";function Zg({tags:e}){return e?.includes(eD)||e?.includes(Qg)}m(Zg,"isMdxEntry");function Vo(e){return e.type==="story"}m(Vo,"isStoryRender");function eb(e){return e.type==="docs"}m(eb,"isDocsRender");function tb(e){return eb(e)&&e.subtype==="csf"}m(tb,"isCsfDocsRender");var rb=class extends X5{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()}currentSelection;currentRender;setupListeners(){super.setupListeners(),Z5.onkeydown=this.onKeydown.bind(this),this.channel.on(hu,this.onSetCurrentStory.bind(this)),this.channel.on(Cu,this.onUpdateQueryParams.bind(this)),this.channel.on(fu,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new rt({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.globals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new rt({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 em):this.renderStoryLoadingException(t,new rm({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(wu,this.selectionStore.selection),this.channel.emit(Ka,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)&&!Xg(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}=t;this.channel.emit(yu,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Ka,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){super.onUpdateGlobals({globals:t}),(this.currentRender instanceof Rm||this.currentRender instanceof km)&&await this.currentRender.rerender?.()}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=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new rt({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(y){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,y);return}let i=this.currentSelection?.storyId!==o,s=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new Vg(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Zg(a)?l=new Rm(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):l=new km(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let u=this.currentSelection;this.currentSelection=n;let c=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(y){c&&await this.teardownRender(c),y!==oa&&this.renderStoryLoadingException(o,y);return}let d=!i&&c&&!l.isEqual(c);if(t&&Vo(l)&&(zo(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,t)),c&&!c.torndown&&!i&&!d&&!s){this.currentRender=c,this.channel.emit(Au,o),this.view.showMain();return}if(c&&await this.teardownRender(c,{viewModeChanged:s}),u&&(i||s)&&this.channel.emit(bu,o),Vo(l)){zo(!!l.story);let{parameters:y,initialArgs:f,argTypes:h,unmappedArgs:g}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(Eu,{id:o,parameters:y,initialArgs:f,argTypes:h,args:g})}else{let{parameters:y}=this.storyStoreValue.projectAnnotations;if(tb(l)||l.entry.tags?.includes(Qg)){if(!l.csfFiles)throw new Qh({storyId:o});({parameters:y}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(lu,{id:o,parameters:y})}Vo(l)?(zo(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:m(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:m(()=>this.view.showMain(),"showMain"),showError:m(r=>this.renderError(t,r),"showError"),showException:m(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Xa)}renderStoryLoadingException(t,r){me.error(r),this.view.showErrorDisplay(r),this.channel.emit(Xa,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(Su,{name:n,message:o,stack:a}),this.channel.emit(kr,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),me.error(`Error rendering story '${t}':`),me.error(r)}renderError(t,{title:r,description:n}){me.error(`Error rendering story ${r}: ${n}`),this.channel.emit(vu,{title:r,description:n}),this.channel.emit(kr,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};m(rb,"PreviewWithSelection");var tD=rb,us=Qe(Os(),1),rD=Qe(Os(),1),nD=Qe(As(),1),Dm=/^[a-zA-Z0-9 _-]*$/,nb=/^-?[0-9]+(\.[0-9]+)?$/,oD=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,ob=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,cs=m((e="",t)=>e===null||e===""||!Dm.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Dm.test(t)||nb.test(t)||oD.test(t)||ob.test(t):Array.isArray(t)?t.every(r=>cs(e,r)):(0,nD.default)(t)?Object.entries(t).every(([r,n])=>cs(r,n)):!1,"validateArgs"),aD={delimiter:";",allowDots:!0,allowSparse:!0,decoder(e,t,r,n){if(n==="value"&&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.slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let o=e.slice(1).match(ob);if(o)return e.startsWith("!rgba")?`${o[1]}(${o[2]}, ${o[3]}, ${o[4]}, ${o[5]})`:e.startsWith("!hsla")?`${o[1]}(${o[2]}, ${o[3]}%, ${o[4]}%, ${o[5]})`:e.startsWith("!rgb")?`${o[1]}(${o[2]}, ${o[3]}, ${o[4]})`:`${o[1]}(${o[2]}, ${o[3]}%, ${o[4]}%)`}return n==="value"&&nb.test(e)?Number(e):t(e,t,r)}},Fm=m(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries(rD.default.parse(t.join(";"),aD)).reduce((r,[n,o])=>cs(n,o)?Object.assign(r,{[n]:o}):(Ut.warn(lt` + Omitted potentially unsafe URL args. + + More info: https://storybook.js.org/docs/react/writing-stories/args#setting-args-through-the-url + `),r),{})},"parseArgsParam"),{history:ab,document:_t}=Ue;function ib(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}m(ib,"pathToId");var sb=m(({selection:e,extraParams:t})=>{let r=typeof _t<"u"?_t.location.search:"",{path:n,selectedKind:o,selectedStory:a,...i}=us.default.parse(r,{ignoreQueryPrefix:!0});return us.default.stringify({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}},{encode:!1,addQueryPrefix:!0})},"getQueryString"),iD=m(e=>{if(!e)return;let t=sb({selection:e}),{hash:r=""}=_t.location;_t.title=e.storyId,ab.replaceState({},"",`${_t.location.pathname}${t}${r}`)},"setPath"),sD=m(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Nn=m(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Nn(e[0]);if(sD(e))return Nn(Object.values(e).filter(Boolean))}},"getFirstString"),lD=m(()=>{if(typeof _t<"u"){let e=us.default.parse(_t.location.search,{ignoreQueryPrefix:!0}),t=typeof e.args=="string"?Fm(e.args):void 0,r=typeof e.globals=="string"?Fm(e.globals):void 0,n=Nn(e.viewMode);(typeof n!="string"||!n.match(/docs|story/))&&(n="story");let o=Nn(e.path),a=o?ib(o):Nn(e.id);if(a)return{storySpecifier:a,args:t,globals:r,viewMode:n}}return null},"getSelectionSpecifierFromPath"),lb=class{selectionSpecifier;selection;constructor(){this.selectionSpecifier=lD()}setSelection(t){this.selection=t,iD(this.selection)}setQueryParams(t){let r=sb({extraParams:t}),{hash:n=""}=_t.location;ab.replaceState({},"",`${_t.location.pathname}${r}${n}`)}};m(lb,"UrlStore");var uD=lb,cD=Qe(o5(),1),pD=Qe(Os(),1),{document:Ge}=Ue,jm=100,ub=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(ub||{}),Xi={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Qi={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Nm=new cD.default({escapeXML:!0}),cb=class{currentLayoutClass;testing=!1;preparingTimeout;constructor(){if(typeof Ge<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=pD.default.parse(Ge.location.search,{ignoreQueryPrefix:!0});switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Ge.documentElement.scrollTop=0,Ge.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Ge.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Ge.documentElement.scrollTop=0,Ge.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Ge.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Ge.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Qi[t];Ge.body.classList.remove(this.currentLayoutClass),Ge.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Qi[t]||me.warn(lt` + The desired layout: ${t} is not a valid option. + The possible options are: ${Object.keys(Qi).join(", ")}, none. + `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(ub).forEach(r=>{r===t?Ge.body.classList.add(Xi[r]):Ge.body.classList.remove(Xi[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(` +`);a.length>1&&([n]=a,o=a.slice(1).join(` +`).replace(/^\n/,"")),Ge.getElementById("error-message").innerHTML=Nm.toHtml(n),Ge.getElementById("error-stack").innerHTML=Nm.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),jm)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),jm)}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(){Ge.body.classList.add(Xi.MAIN)}};m(cb,"WebView");var dD=cb,fD=class extends tD{constructor(t,r){super(t,r,new uD,new dD),this.importFn=t,this.getProjectAnnotations=r,Ue.__STORYBOOK_PREVIEW__=this}};m(fD,"PreviewWeb");var{document:cr}=Ue,yD=["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"],hD="script",Bm="scripts-root";function ps(){let e=cr.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),cr.dispatchEvent(e)}m(ps,"simulateDOMContentLoaded");function pb(e,t,r){let n=cr.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):cr.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}m(pb,"insertScript");function qs(e,t,r=0){e[r](()=>{r++,r===e.length?t():qs(e,t,r)})}m(qs,"insertScriptsSequentially");function mD(e){let t=cr.getElementById(Bm);t?t.innerHTML="":(t=cr.createElement("div"),t.id=Bm,cr.body.appendChild(t));let r=Array.from(e.querySelectorAll(hD));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||yD.includes(a))&&n.push(i=>pb(o,i,t))}),n.length&&qs(n,ps,void 0)}else ps()}m(mD,"simulatePageLoad");S();A();T();S();A();T();var gD=Object.create,Ms=Object.defineProperty,bD=Object.getOwnPropertyDescriptor,vD=Object.getOwnPropertyNames,xD=Object.getPrototypeOf,ED=Object.prototype.hasOwnProperty,b=(e,t)=>Ms(e,"name",{value:t,configurable:!0}),K=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of vD(t))!ED.call(e,o)&&o!==r&&Ms(e,o,{get:()=>t[o],enumerable:!(n=bD(t,o))||n.enumerable});return e},db=(e,t,r)=>(r=e!=null?gD(xD(e)):{},wD(t||!e||!e.__esModule?Ms(r,"default",{value:e,enumerable:!0}):r,e)),fb=K((e,t)=>{var r=typeof window=="object"&&window&&window.Object===Object&&window;t.exports=r}),kt=K((e,t)=>{var r=fb(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}),ia=K((e,t)=>{var r=kt(),n=r.Symbol;t.exports=n}),SD=K((e,t)=>{var r=ia(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function s(l){var u=o.call(l,i),c=l[i];try{l[i]=void 0;var d=!0}catch{}var y=a.call(l);return d&&(u?l[i]=c:delete l[i]),y}b(s,"getRawTag"),t.exports=s}),AD=K((e,t)=>{var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}b(o,"objectToString"),t.exports=o}),Hn=K((e,t)=>{var r=ia(),n=SD(),o=AD(),a="[object Null]",i="[object Undefined]",s=r?r.toStringTag:void 0;function l(u){return u==null?u===void 0?i:a:s&&s in Object(u)?n(u):o(u)}b(l,"baseGetTag"),t.exports=l}),Us=K((e,t)=>{function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}b(r,"isObject"),t.exports=r}),yb=K((e,t)=>{var r=Hn(),n=Us(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",s="[object Proxy]";function l(u){if(!n(u))return!1;var c=r(u);return c==a||c==i||c==o||c==s}b(l,"isFunction"),t.exports=l}),TD=K((e,t)=>{var r=kt(),n=r["__core-js_shared__"];t.exports=n}),CD=K((e,t)=>{var r=TD(),n=function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function o(a){return!!n&&n in a}b(o,"isMasked"),t.exports=o}),hb=K((e,t)=>{var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}b(o,"toSource"),t.exports=o}),_D=K((e,t)=>{var r=yb(),n=CD(),o=Us(),a=hb(),i=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,y=RegExp("^"+c.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(h){if(!o(h)||n(h))return!1;var g=r(h)?y:s;return g.test(a(h))}b(f,"baseIsNative"),t.exports=f}),OD=K((e,t)=>{function r(n,o){return n?.[o]}b(r,"getValue"),t.exports=r}),yr=K((e,t)=>{var r=_D(),n=OD();function o(a,i){var s=n(a,i);return r(s)?s:void 0}b(o,"getNative"),t.exports=o}),ID=K((e,t)=>{var r=yr(),n=function(){try{var o=r(Object,"defineProperty");return o({},"",{}),o}catch{}}();t.exports=n}),PD=K((e,t)=>{var r=ID();function n(o,a,i){a=="__proto__"&&r?r(o,a,{configurable:!0,enumerable:!0,value:i,writable:!0}):o[a]=i}b(n,"baseAssignValue"),t.exports=n}),kD=K((e,t)=>{function r(n){return function(o,a,i){for(var s=-1,l=Object(o),u=i(o),c=u.length;c--;){var d=u[n?c:++s];if(a(l[d],d,l)===!1)break}return o}}b(r,"createBaseFor"),t.exports=r}),RD=K((e,t)=>{var r=kD(),n=r();t.exports=n}),DD=K((e,t)=>{function r(n,o){for(var a=-1,i=Array(n);++a{function r(n){return n!=null&&typeof n=="object"}b(r,"isObjectLike"),t.exports=r}),FD=K((e,t)=>{var r=Hn(),n=Gn(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}b(a,"baseIsArguments"),t.exports=a}),mb=K((e,t)=>{var r=FD(),n=Gn(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(l){return n(l)&&a.call(l,"callee")&&!i.call(l,"callee")};t.exports=s}),Vt=K((e,t)=>{var r=Array.isArray;t.exports=r}),jD=K((e,t)=>{function r(){return!1}b(r,"stubFalse"),t.exports=r}),gb=K((e,t)=>{var r=kt(),n=jD(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i?r.Buffer:void 0,l=s?s.isBuffer:void 0,u=l||n;t.exports=u}),bb=K((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var s=typeof a;return i=i??r,!!i&&(s=="number"||s!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a{var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}b(n,"isLength"),t.exports=n}),ND=K((e,t)=>{var r=Hn(),n=Js(),o=Gn(),a="[object Arguments]",i="[object Array]",s="[object Boolean]",l="[object Date]",u="[object Error]",c="[object Function]",d="[object Map]",y="[object Number]",f="[object Object]",h="[object RegExp]",g="[object Set]",_="[object String]",v="[object WeakMap]",x="[object ArrayBuffer]",O="[object DataView]",C="[object Float32Array]",I="[object Float64Array]",P="[object Int8Array]",F="[object Int16Array]",D="[object Int32Array]",U="[object Uint8Array]",G="[object Uint8ClampedArray]",X="[object Uint16Array]",Q="[object Uint32Array]",V={};V[C]=V[I]=V[P]=V[F]=V[D]=V[U]=V[G]=V[X]=V[Q]=!0,V[a]=V[i]=V[x]=V[s]=V[O]=V[l]=V[u]=V[c]=V[d]=V[y]=V[f]=V[h]=V[g]=V[_]=V[v]=!1;function R(q){return o(q)&&n(q.length)&&!!V[r(q)]}b(R,"baseIsTypedArray"),t.exports=R}),BD=K((e,t)=>{function r(n){return function(o){return n(o)}}b(r,"baseUnary"),t.exports=r}),LD=K((e,t)=>{var r=fb(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,s=function(){try{var l=o&&o.require&&o.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}}();t.exports=s}),vb=K((e,t)=>{var r=ND(),n=BD(),o=LD(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}),qD=K((e,t)=>{var r=DD(),n=mb(),o=Vt(),a=gb(),i=bb(),s=vb(),l=Object.prototype,u=l.hasOwnProperty;function c(d,y){var f=o(d),h=!f&&n(d),g=!f&&!h&&a(d),_=!f&&!h&&!g&&s(d),v=f||h||g||_,x=v?r(d.length,String):[],O=x.length;for(var C in d)(y||u.call(d,C))&&!(v&&(C=="length"||g&&(C=="offset"||C=="parent")||_&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||i(C,O)))&&x.push(C);return x}b(c,"arrayLikeKeys"),t.exports=c}),MD=K((e,t)=>{var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}b(n,"isPrototype"),t.exports=n}),UD=K((e,t)=>{function r(n,o){return function(a){return n(o(a))}}b(r,"overArg"),t.exports=r}),JD=K((e,t)=>{var r=UD(),n=r(Object.keys,Object);t.exports=n}),$D=K((e,t)=>{var r=MD(),n=JD(),o=Object.prototype,a=o.hasOwnProperty;function i(s){if(!r(s))return n(s);var l=[];for(var u in Object(s))a.call(s,u)&&u!="constructor"&&l.push(u);return l}b(i,"baseKeys"),t.exports=i}),zD=K((e,t)=>{var r=yb(),n=Js();function o(a){return a!=null&&n(a.length)&&!r(a)}b(o,"isArrayLike"),t.exports=o}),$s=K((e,t)=>{var r=qD(),n=$D(),o=zD();function a(i){return o(i)?r(i):n(i)}b(a,"keys"),t.exports=a}),VD=K((e,t)=>{var r=RD(),n=$s();function o(a,i){return a&&r(a,i,n)}b(o,"baseForOwn"),t.exports=o}),HD=K((e,t)=>{function r(){this.__data__=[],this.size=0}b(r,"listCacheClear"),t.exports=r}),xb=K((e,t)=>{function r(n,o){return n===o||n!==n&&o!==o}b(r,"eq"),t.exports=r}),sa=K((e,t)=>{var r=xb();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}b(n,"assocIndexOf"),t.exports=n}),GD=K((e,t)=>{var r=sa(),n=Array.prototype,o=n.splice;function a(i){var s=this.__data__,l=r(s,i);if(l<0)return!1;var u=s.length-1;return l==u?s.pop():o.call(s,l,1),--this.size,!0}b(a,"listCacheDelete"),t.exports=a}),WD=K((e,t)=>{var r=sa();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}b(n,"listCacheGet"),t.exports=n}),KD=K((e,t)=>{var r=sa();function n(o){return r(this.__data__,o)>-1}b(n,"listCacheHas"),t.exports=n}),YD=K((e,t)=>{var r=sa();function n(o,a){var i=this.__data__,s=r(i,o);return s<0?(++this.size,i.push([o,a])):i[s][1]=a,this}b(n,"listCacheSet"),t.exports=n}),la=K((e,t)=>{var r=HD(),n=GD(),o=WD(),a=KD(),i=YD();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=la();function n(){this.__data__=new r,this.size=0}b(n,"stackClear"),t.exports=n}),QD=K((e,t)=>{function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}b(r,"stackDelete"),t.exports=r}),ZD=K((e,t)=>{function r(n){return this.__data__.get(n)}b(r,"stackGet"),t.exports=r}),eF=K((e,t)=>{function r(n){return this.__data__.has(n)}b(r,"stackHas"),t.exports=r}),zs=K((e,t)=>{var r=yr(),n=kt(),o=r(n,"Map");t.exports=o}),ua=K((e,t)=>{var r=yr(),n=r(Object,"create");t.exports=n}),tF=K((e,t)=>{var r=ua();function n(){this.__data__=r?r(null):{},this.size=0}b(n,"hashClear"),t.exports=n}),rF=K((e,t)=>{function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}b(r,"hashDelete"),t.exports=r}),nF=K((e,t)=>{var r=ua(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(s){var l=this.__data__;if(r){var u=l[s];return u===n?void 0:u}return a.call(l,s)?l[s]:void 0}b(i,"hashGet"),t.exports=i}),oF=K((e,t)=>{var r=ua(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var s=this.__data__;return r?s[i]!==void 0:o.call(s,i)}b(a,"hashHas"),t.exports=a}),aF=K((e,t)=>{var r=ua(),n="__lodash_hash_undefined__";function o(a,i){var s=this.__data__;return this.size+=this.has(a)?0:1,s[a]=r&&i===void 0?n:i,this}b(o,"hashSet"),t.exports=o}),iF=K((e,t)=>{var r=tF(),n=rF(),o=nF(),a=oF(),i=aF();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=iF(),n=la(),o=zs();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}b(a,"mapCacheClear"),t.exports=a}),lF=K((e,t)=>{function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}b(r,"isKeyable"),t.exports=r}),ca=K((e,t)=>{var r=lF();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}b(n,"getMapData"),t.exports=n}),uF=K((e,t)=>{var r=ca();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}b(n,"mapCacheDelete"),t.exports=n}),cF=K((e,t)=>{var r=ca();function n(o){return r(this,o).get(o)}b(n,"mapCacheGet"),t.exports=n}),pF=K((e,t)=>{var r=ca();function n(o){return r(this,o).has(o)}b(n,"mapCacheHas"),t.exports=n}),dF=K((e,t)=>{var r=ca();function n(o,a){var i=r(this,o),s=i.size;return i.set(o,a),this.size+=i.size==s?0:1,this}b(n,"mapCacheSet"),t.exports=n}),Vs=K((e,t)=>{var r=sF(),n=uF(),o=cF(),a=pF(),i=dF();function s(l){var u=-1,c=l==null?0:l.length;for(this.clear();++u{var r=la(),n=zs(),o=Vs(),a=200;function i(s,l){var u=this.__data__;if(u instanceof r){var c=u.__data__;if(!n||c.length{var r=la(),n=XD(),o=QD(),a=ZD(),i=eF(),s=fF();function l(u){var c=this.__data__=new r(u);this.size=c.size}b(l,"Stack"),l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}),yF=K((e,t)=>{var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}b(n,"setCacheAdd"),t.exports=n}),hF=K((e,t)=>{function r(n){return this.__data__.has(n)}b(r,"setCacheHas"),t.exports=r}),mF=K((e,t)=>{var r=Vs(),n=yF(),o=hF();function a(i){var s=-1,l=i==null?0:i.length;for(this.__data__=new r;++s{function r(n,o){for(var a=-1,i=n==null?0:n.length;++a{function r(n,o){return n.has(o)}b(r,"cacheHas"),t.exports=r}),wb=K((e,t)=>{var r=mF(),n=gF(),o=bF(),a=1,i=2;function s(l,u,c,d,y,f){var h=c&a,g=l.length,_=u.length;if(g!=_&&!(h&&_>g))return!1;var v=f.get(l),x=f.get(u);if(v&&x)return v==u&&x==l;var O=-1,C=!0,I=c&i?new r:void 0;for(f.set(l,u),f.set(u,l);++O{var r=kt(),n=r.Uint8Array;t.exports=n}),xF=K((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,s){a[++o]=[s,i]}),a}b(r,"mapToArray"),t.exports=r}),EF=K((e,t)=>{function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}b(r,"setToArray"),t.exports=r}),wF=K((e,t)=>{var r=ia(),n=vF(),o=xb(),a=wb(),i=xF(),s=EF(),l=1,u=2,c="[object Boolean]",d="[object Date]",y="[object Error]",f="[object Map]",h="[object Number]",g="[object RegExp]",_="[object Set]",v="[object String]",x="[object Symbol]",O="[object ArrayBuffer]",C="[object DataView]",I=r?r.prototype:void 0,P=I?I.valueOf:void 0;function F(D,U,G,X,Q,V,R){switch(G){case C:if(D.byteLength!=U.byteLength||D.byteOffset!=U.byteOffset)return!1;D=D.buffer,U=U.buffer;case O:return!(D.byteLength!=U.byteLength||!V(new n(D),new n(U)));case c:case d:case h:return o(+D,+U);case y:return D.name==U.name&&D.message==U.message;case g:case v:return D==U+"";case f:var q=i;case _:var M=X&l;if(q||(q=s),D.size!=U.size&&!M)return!1;var Y=R.get(D);if(Y)return Y==U;X|=u,R.set(D,U);var te=a(q(D),q(U),X,Q,V,R);return R.delete(D),te;case x:if(P)return P.call(D)==P.call(U)}return!1}b(F,"equalByTag"),t.exports=F}),SF=K((e,t)=>{function r(n,o){for(var a=-1,i=o.length,s=n.length;++a{var r=SF(),n=Vt();function o(a,i,s){var l=i(a);return n(a)?l:r(l,s(a))}b(o,"baseGetAllKeys"),t.exports=o}),TF=K((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=0,l=[];++a{function r(){return[]}b(r,"stubArray"),t.exports=r}),_F=K((e,t)=>{var r=TF(),n=CF(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(l){return l==null?[]:(l=Object(l),r(i(l),function(u){return a.call(l,u)}))}:n;t.exports=s}),OF=K((e,t)=>{var r=AF(),n=_F(),o=$s();function a(i){return r(i,o,n)}b(a,"getAllKeys"),t.exports=a}),IF=K((e,t)=>{var r=OF(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(s,l,u,c,d,y){var f=u&n,h=r(s),g=h.length,_=r(l),v=_.length;if(g!=v&&!f)return!1;for(var x=g;x--;){var O=h[x];if(!(f?O in l:a.call(l,O)))return!1}var C=y.get(s),I=y.get(l);if(C&&I)return C==l&&I==s;var P=!0;y.set(s,l),y.set(l,s);for(var F=f;++x{var r=yr(),n=kt(),o=r(n,"DataView");t.exports=o}),kF=K((e,t)=>{var r=yr(),n=kt(),o=r(n,"Promise");t.exports=o}),RF=K((e,t)=>{var r=yr(),n=kt(),o=r(n,"Set");t.exports=o}),DF=K((e,t)=>{var r=yr(),n=kt(),o=r(n,"WeakMap");t.exports=o}),FF=K((e,t)=>{var r=PF(),n=zs(),o=kF(),a=RF(),i=DF(),s=Hn(),l=hb(),u="[object Map]",c="[object Object]",d="[object Promise]",y="[object Set]",f="[object WeakMap]",h="[object DataView]",g=l(r),_=l(n),v=l(o),x=l(a),O=l(i),C=s;(r&&C(new r(new ArrayBuffer(1)))!=h||n&&C(new n)!=u||o&&C(o.resolve())!=d||a&&C(new a)!=y||i&&C(new i)!=f)&&(C=b(function(I){var P=s(I),F=P==c?I.constructor:void 0,D=F?l(F):"";if(D)switch(D){case g:return h;case _:return u;case v:return d;case x:return y;case O:return f}return P},"getTag")),t.exports=C}),jF=K((e,t)=>{var r=Eb(),n=wb(),o=wF(),a=IF(),i=FF(),s=Vt(),l=gb(),u=vb(),c=1,d="[object Arguments]",y="[object Array]",f="[object Object]",h=Object.prototype,g=h.hasOwnProperty;function _(v,x,O,C,I,P){var F=s(v),D=s(x),U=F?y:i(v),G=D?y:i(x);U=U==d?f:U,G=G==d?f:G;var X=U==f,Q=G==f,V=U==G;if(V&&l(v)){if(!l(x))return!1;F=!0,X=!1}if(V&&!X)return P||(P=new r),F||u(v)?n(v,x,O,C,I,P):o(v,x,U,O,C,I,P);if(!(O&c)){var R=X&&g.call(v,"__wrapped__"),q=Q&&g.call(x,"__wrapped__");if(R||q){var M=R?v.value():v,Y=q?x.value():x;return P||(P=new r),I(M,Y,O,C,P)}}return V?(P||(P=new r),a(v,x,O,C,I,P)):!1}b(_,"baseIsEqualDeep"),t.exports=_}),Sb=K((e,t)=>{var r=jF(),n=Gn();function o(a,i,s,l,u){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,s,l,o,u)}b(o,"baseIsEqual"),t.exports=o}),NF=K((e,t)=>{var r=Eb(),n=Sb(),o=1,a=2;function i(s,l,u,c){var d=u.length,y=d,f=!c;if(s==null)return!y;for(s=Object(s);d--;){var h=u[d];if(f&&h[2]?h[1]!==s[h[0]]:!(h[0]in s))return!1}for(;++d{var r=Us();function n(o){return o===o&&!r(o)}b(n,"isStrictComparable"),t.exports=n}),BF=K((e,t)=>{var r=Ab(),n=$s();function o(a){for(var i=n(a),s=i.length;s--;){var l=i[s],u=a[l];i[s]=[l,u,r(u)]}return i}b(o,"getMatchData"),t.exports=o}),Tb=K((e,t)=>{function r(n,o){return function(a){return a==null?!1:a[n]===o&&(o!==void 0||n in Object(a))}}b(r,"matchesStrictComparable"),t.exports=r}),LF=K((e,t)=>{var r=NF(),n=BF(),o=Tb();function a(i){var s=n(i);return s.length==1&&s[0][2]?o(s[0][0],s[0][1]):function(l){return l===i||r(l,i,s)}}b(a,"baseMatches"),t.exports=a}),Hs=K((e,t)=>{var r=Hn(),n=Gn(),o="[object Symbol]";function a(i){return typeof i=="symbol"||n(i)&&r(i)==o}b(a,"isSymbol"),t.exports=a}),Gs=K((e,t)=>{var r=Vt(),n=Hs(),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function i(s,l){if(r(s))return!1;var u=typeof s;return u=="number"||u=="symbol"||u=="boolean"||s==null||n(s)?!0:a.test(s)||!o.test(s)||l!=null&&s in Object(l)}b(i,"isKey"),t.exports=i}),qF=K((e,t)=>{var r=Vs(),n="Expected a function";function o(a,i){if(typeof a!="function"||i!=null&&typeof i!="function")throw new TypeError(n);var s=b(function(){var l=arguments,u=i?i.apply(this,l):l[0],c=s.cache;if(c.has(u))return c.get(u);var d=a.apply(this,l);return s.cache=c.set(u,d)||c,d},"memoized");return s.cache=new(o.Cache||r),s}b(o,"memoize"),o.Cache=r,t.exports=o}),MF=K((e,t)=>{var r=qF(),n=500;function o(a){var i=r(a,function(l){return s.size===n&&s.clear(),l}),s=i.cache;return i}b(o,"memoizeCapped"),t.exports=o}),UF=K((e,t)=>{var r=MF(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(i){var s=[];return i.charCodeAt(0)===46&&s.push(""),i.replace(n,function(l,u,c,d){s.push(c?d.replace(o,"$1"):u||l)}),s});t.exports=a}),JF=K((e,t)=>{function r(n,o){for(var a=-1,i=n==null?0:n.length,s=Array(i);++a{var r=ia(),n=JF(),o=Vt(),a=Hs(),i=1/0,s=r?r.prototype:void 0,l=s?s.toString:void 0;function u(c){if(typeof c=="string")return c;if(o(c))return n(c,u)+"";if(a(c))return l?l.call(c):"";var d=c+"";return d=="0"&&1/c==-i?"-0":d}b(u,"baseToString"),t.exports=u}),zF=K((e,t)=>{var r=$F();function n(o){return o==null?"":r(o)}b(n,"toString"),t.exports=n}),Cb=K((e,t)=>{var r=Vt(),n=Gs(),o=UF(),a=zF();function i(s,l){return r(s)?s:n(s,l)?[s]:o(a(s))}b(i,"castPath"),t.exports=i}),pa=K((e,t)=>{var r=Hs(),n=1/0;function o(a){if(typeof a=="string"||r(a))return a;var i=a+"";return i=="0"&&1/a==-n?"-0":i}b(o,"toKey"),t.exports=o}),_b=K((e,t)=>{var r=Cb(),n=pa();function o(a,i){i=r(i,a);for(var s=0,l=i.length;a!=null&&s{var r=_b();function n(o,a,i){var s=o==null?void 0:r(o,a);return s===void 0?i:s}b(n,"get"),t.exports=n}),HF=K((e,t)=>{function r(n,o){return n!=null&&o in Object(n)}b(r,"baseHasIn"),t.exports=r}),GF=K((e,t)=>{var r=Cb(),n=mb(),o=Vt(),a=bb(),i=Js(),s=pa();function l(u,c,d){c=r(c,u);for(var y=-1,f=c.length,h=!1;++y{var r=HF(),n=GF();function o(a,i){return a!=null&&n(a,i,r)}b(o,"hasIn"),t.exports=o}),KF=K((e,t)=>{var r=Sb(),n=VF(),o=WF(),a=Gs(),i=Ab(),s=Tb(),l=pa(),u=1,c=2;function d(y,f){return a(y)&&i(f)?s(l(y),f):function(h){var g=n(h,y);return g===void 0&&g===f?o(h,y):r(f,g,u|c)}}b(d,"baseMatchesProperty"),t.exports=d}),YF=K((e,t)=>{function r(n){return n}b(r,"identity"),t.exports=r}),XF=K((e,t)=>{function r(n){return function(o){return o?.[n]}}b(r,"baseProperty"),t.exports=r}),QF=K((e,t)=>{var r=_b();function n(o){return function(a){return r(a,o)}}b(n,"basePropertyDeep"),t.exports=n}),ZF=K((e,t)=>{var r=XF(),n=QF(),o=Gs(),a=pa();function i(s){return o(s)?r(a(s)):n(s)}b(i,"property"),t.exports=i}),ej=K((e,t)=>{var r=LF(),n=KF(),o=YF(),a=Vt(),i=ZF();function s(l){return typeof l=="function"?l:l==null?o:typeof l=="object"?a(l)?n(l[0],l[1]):r(l):i(l)}b(s,"baseIteratee"),t.exports=s}),tj=K((e,t)=>{var r=PD(),n=VD(),o=ej();function a(i,s){var l={};return s=o(s,3),n(i,function(u,c,d){r(l,c,s(u,c,d))}),l}b(a,"mapValues"),t.exports=a}),rj=K((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){"use strict";function n(p){return p.text!==void 0&&p.text!==""?`'${p.type}' with value '${p.text}'`:`'${p.type}'`}b(n,"tokenToString");let o=class Ob extends Error{constructor(w){super(`No parslet found for token: ${n(w)}`),this.token=w,Object.setPrototypeOf(this,Ob.prototype)}getToken(){return this.token}};b(o,"NoParsletFoundError");let a=o,i=class Ib extends Error{constructor(w){super(`The parsing ended early. The next token was: ${n(w)}`),this.token=w,Object.setPrototypeOf(this,Ib.prototype)}getToken(){return this.token}};b(i,"EarlyEndOfParseError");let s=i,l=class Pb extends Error{constructor(w,k){let z=`Unexpected type: '${w.type}'.`;k!==void 0&&(z+=` Message: ${k}`),super(z),Object.setPrototypeOf(this,Pb.prototype)}};b(l,"UnexpectedTypeError");let u=l;function c(p){return w=>w.startsWith(p)?{type:p,text:p}:null}b(c,"makePunctuationRule");function d(p){let w=0,k,z=p[0],ee=!1;if(z!=="'"&&z!=='"')return null;for(;w{let w=h(p);return w==null?null:{type:"Identifier",text:w}},"identifierRule");function x(p){return w=>{if(!w.startsWith(p))return null;let k=w[p.length];return k!==void 0&&f.test(k)?null:{type:p,text:p}}}b(x,"makeKeyWordRule");let O=b(p=>{let w=d(p);return w==null?null:{type:"StringValue",text:w}},"stringValueRule"),C=b(p=>p.length>0?null:{type:"EOF",text:""},"eofRule"),I=b(p=>{let w=_(p);return w===null?null:{type:"Number",text:w}},"numberRule"),P=[C,c("=>"),c("("),c(")"),c("{"),c("}"),c("["),c("]"),c("|"),c("&"),c("<"),c(">"),c(","),c(";"),c("*"),c("?"),c("!"),c("="),c(":"),c("..."),c("."),c("#"),c("~"),c("/"),c("@"),x("undefined"),x("null"),x("function"),x("this"),x("new"),x("module"),x("event"),x("external"),x("typeof"),x("keyof"),x("readonly"),x("import"),x("is"),x("in"),I,v,O],F=/^\s*\n\s*/,D=class aa{static create(w){let k=this.read(w);w=k.text;let z=this.read(w);return w=z.text,new aa(w,void 0,k.token,z.token)}constructor(w,k,z,ee){this.text="",this.text=w,this.previous=k,this.current=z,this.next=ee}static read(w,k=!1){k=k||F.test(w),w=w.trim();for(let z of P){let ee=z(w);if(ee!==null){let oe=Object.assign(Object.assign({},ee),{startOfLine:k});return w=w.slice(oe.text.length),{text:w,token:oe}}}throw new Error("Unexpected Token "+w)}advance(){let w=aa.read(this.text);return new aa(w.text,this.current,this.next,w.token)}};b(D,"Lexer");let U=D;function G(p){if(p===void 0)throw new Error("Unexpected undefined");if(p.type==="JsdocTypeKeyValue"||p.type==="JsdocTypeParameterList"||p.type==="JsdocTypeProperty"||p.type==="JsdocTypeReadonlyProperty"||p.type==="JsdocTypeObjectField"||p.type==="JsdocTypeJsdocObjectField"||p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType")throw new u(p);return p}b(G,"assertRootResult");function X(p){return p.type==="JsdocTypeKeyValue"?V(p):G(p)}b(X,"assertPlainKeyValueOrRootResult");function Q(p){return p.type==="JsdocTypeName"?p:V(p)}b(Q,"assertPlainKeyValueOrNameResult");function V(p){if(p.type!=="JsdocTypeKeyValue")throw new u(p);return p}b(V,"assertPlainKeyValueResult");function R(p){var w;if(p.type==="JsdocTypeVariadic"){if(((w=p.element)===null||w===void 0?void 0:w.type)==="JsdocTypeName")return p;throw new u(p)}if(p.type!=="JsdocTypeNumber"&&p.type!=="JsdocTypeName")throw new u(p);return p}b(R,"assertNumberOrVariadicNameResult");function q(p){return p.type==="JsdocTypeIndexSignature"||p.type==="JsdocTypeMappedType"}b(q,"isSquaredProperty");var M;(function(p){p[p.ALL=0]="ALL",p[p.PARAMETER_LIST=1]="PARAMETER_LIST",p[p.OBJECT=2]="OBJECT",p[p.KEY_VALUE=3]="KEY_VALUE",p[p.UNION=4]="UNION",p[p.INTERSECTION=5]="INTERSECTION",p[p.PREFIX=6]="PREFIX",p[p.INFIX=7]="INFIX",p[p.TUPLE=8]="TUPLE",p[p.SYMBOL=9]="SYMBOL",p[p.OPTIONAL=10]="OPTIONAL",p[p.NULLABLE=11]="NULLABLE",p[p.KEY_OF_TYPE_OF=12]="KEY_OF_TYPE_OF",p[p.FUNCTION=13]="FUNCTION",p[p.ARROW=14]="ARROW",p[p.ARRAY_BRACKETS=15]="ARRAY_BRACKETS",p[p.GENERIC=16]="GENERIC",p[p.NAME_PATH=17]="NAME_PATH",p[p.PARENTHESIS=18]="PARENTHESIS",p[p.SPECIAL_TYPES=19]="SPECIAL_TYPES"})(M||(M={}));let Y=class{constructor(w,k,z){this.grammar=w,typeof k=="string"?this._lexer=U.create(k):this._lexer=k,this.baseParser=z}get lexer(){return this._lexer}parse(){let w=this.parseType(M.ALL);if(this.lexer.current.type!=="EOF")throw new s(this.lexer.current);return w}parseType(w){return G(this.parseIntermediateType(w))}parseIntermediateType(w){let k=this.tryParslets(null,w);if(k===null)throw new a(this.lexer.current);return this.parseInfixIntermediateType(k,w)}parseInfixIntermediateType(w,k){let z=this.tryParslets(w,k);for(;z!==null;)w=z,z=this.tryParslets(w,k);return w}tryParslets(w,k){for(let z of this.grammar){let ee=z(this,k,w);if(ee!==null)return ee}return null}consume(w){return Array.isArray(w)||(w=[w]),w.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(w){this._lexer=w.lexer}};b(Y,"Parser");let te=Y;function ne(p){return p==="EOF"||p==="|"||p===","||p===")"||p===">"}b(ne,"isQuestionMarkUnknownType");let re=b((p,w,k)=>{let z=p.lexer.current.type,ee=p.lexer.next.type;return k==null&&z==="?"&&!ne(ee)||k!=null&&z==="?"?(p.consume("?"),k==null?{type:"JsdocTypeNullable",element:p.parseType(M.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:G(k),meta:{position:"suffix"}}):null},"nullableParslet");function Z(p){let w=b((k,z,ee)=>{let oe=k.lexer.current.type,ie=k.lexer.next.type;if(ee===null){if("parsePrefix"in p&&p.accept(oe,ie))return p.parsePrefix(k)}else if("parseInfix"in p&&p.precedence>z&&p.accept(oe,ie))return p.parseInfix(k,ee);return null},"parslet");return Object.defineProperty(w,"name",{value:p.name}),w}b(Z,"composeParslet");let ae=Z({name:"optionalParslet",accept:b(p=>p==="=","accept"),precedence:M.OPTIONAL,parsePrefix:b(p=>(p.consume("="),{type:"JsdocTypeOptional",element:p.parseType(M.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:b((p,w)=>(p.consume("="),{type:"JsdocTypeOptional",element:G(w),meta:{position:"suffix"}}),"parseInfix")}),le=Z({name:"numberParslet",accept:b(p=>p==="Number","accept"),parsePrefix:b(p=>{let w=parseFloat(p.lexer.current.text);return p.consume("Number"),{type:"JsdocTypeNumber",value:w}},"parsePrefix")}),Ee=Z({name:"parenthesisParslet",accept:b(p=>p==="(","accept"),parsePrefix:b(p=>{if(p.consume("("),p.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let w=p.parseIntermediateType(M.ALL);if(!p.consume(")"))throw new Error("Unterminated parenthesis");return w.type==="JsdocTypeParameterList"?w:w.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[w]}:{type:"JsdocTypeParenthesis",element:G(w)}},"parsePrefix")}),pe=Z({name:"specialTypesParslet",accept:b((p,w)=>p==="?"&&ne(w)||p==="null"||p==="undefined"||p==="*","accept"),parsePrefix:b(p=>{if(p.consume("null"))return{type:"JsdocTypeNull"};if(p.consume("undefined"))return{type:"JsdocTypeUndefined"};if(p.consume("*"))return{type:"JsdocTypeAny"};if(p.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+p.lexer.current.text)},"parsePrefix")}),we=Z({name:"notNullableParslet",accept:b(p=>p==="!","accept"),precedence:M.NULLABLE,parsePrefix:b(p=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:p.parseType(M.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:b((p,w)=>(p.consume("!"),{type:"JsdocTypeNotNullable",element:G(w),meta:{position:"suffix"}}),"parseInfix")});function Le({allowTrailingComma:p}){return Z({name:"parameterListParslet",accept:b(w=>w===",","accept"),precedence:M.PARAMETER_LIST,parseInfix:b((w,k)=>{let z=[X(k)];w.consume(",");do try{let ee=w.parseIntermediateType(M.PARAMETER_LIST);z.push(X(ee))}catch(ee){if(p&&ee instanceof a)break;throw ee}while(w.consume(","));if(z.length>0&&z.slice(0,-1).some(ee=>ee.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:z}},"parseInfix")})}b(Le,"createParameterListParslet");let Ve=Z({name:"genericParslet",accept:b((p,w)=>p==="<"||p==="."&&w==="<","accept"),precedence:M.GENERIC,parseInfix:b((p,w)=>{let k=p.consume(".");p.consume("<");let z=[];do z.push(p.parseType(M.PARAMETER_LIST));while(p.consume(","));if(!p.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:G(w),elements:z,meta:{brackets:"angle",dot:k}}},"parseInfix")}),Ye=Z({name:"unionParslet",accept:b(p=>p==="|","accept"),precedence:M.UNION,parseInfix:b((p,w)=>{p.consume("|");let k=[];do k.push(p.parseType(M.UNION));while(p.consume("|"));return{type:"JsdocTypeUnion",elements:[G(w),...k]}},"parseInfix")}),fe=[re,ae,le,Ee,pe,we,Le({allowTrailingComma:!0}),Ve,Ye,ae];function Ie({allowSquareBracketsOnAnyType:p,allowJsdocNamePaths:w,pathGrammar:k}){return b(function(z,ee,oe){if(oe==null||ee>=M.NAME_PATH)return null;let ie=z.lexer.current.type,Te=z.lexer.next.type;if(!(ie==="."&&Te!=="<"||ie==="["&&(p||oe.type==="JsdocTypeName")||w&&(ie==="~"||ie==="#")))return null;let _e,He=!1;z.consume(".")?_e="property":z.consume("[")?(_e="property-brackets",He=!0):z.consume("~")?_e="inner":(z.consume("#"),_e="instance");let At=k!==null?new te(k,z.lexer,z):z,pt=At.parseIntermediateType(M.NAME_PATH);z.acceptLexerState(At);let hn;switch(pt.type){case"JsdocTypeName":hn={type:"JsdocTypeProperty",value:pt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":hn={type:"JsdocTypeProperty",value:pt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":hn={type:"JsdocTypeProperty",value:pt.value,meta:{quote:pt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(pt.specialType==="event")hn=pt;else throw new u(pt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new u(pt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(He&&!z.consume("]")){let Vl=z.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Vl.type}' with text '${Vl.text}'`)}return{type:"JsdocTypeNamePath",left:G(oe),right:hn,pathType:_e}},"namePathParslet")}b(Ie,"createNamePathParslet");function ye({allowedAdditionalTokens:p}){return Z({name:"nameParslet",accept:b(w=>w==="Identifier"||w==="this"||w==="new"||p.includes(w),"accept"),parsePrefix:b(w=>{let{type:k,text:z}=w.lexer.current;return w.consume(k),{type:"JsdocTypeName",value:z}},"parsePrefix")})}b(ye,"createNameParslet");let Re=Z({name:"stringValueParslet",accept:b(p=>p==="StringValue","accept"),parsePrefix:b(p=>{let w=p.lexer.current.text;return p.consume("StringValue"),{type:"JsdocTypeStringValue",value:w.slice(1,-1),meta:{quote:w[0]==="'"?"single":"double"}}},"parsePrefix")});function Ze({pathGrammar:p,allowedTypes:w}){return Z({name:"specialNamePathParslet",accept:b(k=>w.includes(k),"accept"),parsePrefix:b(k=>{let z=k.lexer.current.type;if(k.consume(z),!k.consume(":"))return{type:"JsdocTypeName",value:z};let ee,oe=k.lexer.current;if(k.consume("StringValue"))ee={type:"JsdocTypeSpecialNamePath",value:oe.text.slice(1,-1),specialType:z,meta:{quote:oe.text[0]==="'"?"single":"double"}};else{let _e="",He=["Identifier","@","/"];for(;He.some(At=>k.consume(At));)_e+=oe.text,oe=k.lexer.current;ee={type:"JsdocTypeSpecialNamePath",value:_e,specialType:z,meta:{quote:void 0}}}let ie=new te(p,k.lexer,k),Te=ie.parseInfixIntermediateType(ee,M.ALL);return k.acceptLexerState(ie),G(Te)},"parsePrefix")})}b(Ze,"createSpecialNamePathParslet");let qe=[ye({allowedAdditionalTokens:["external","module"]}),Re,le,Ie({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ce=[...qe,Ze({allowedTypes:["event"],pathGrammar:qe})];function Se(p){let w;if(p.type==="JsdocTypeParameterList")w=p.elements;else if(p.type==="JsdocTypeParenthesis")w=[p.element];else throw new u(p);return w.map(k=>X(k))}b(Se,"getParameters");function Ft(p){let w=Se(p);if(w.some(k=>k.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return w}b(Ft,"getUnnamedParameters");function ft({allowNamedParameters:p,allowNoReturnType:w,allowWithoutParenthesis:k,allowNewAsFunctionKeyword:z}){return Z({name:"functionParslet",accept:b((ee,oe)=>ee==="function"||z&&ee==="new"&&oe==="(","accept"),parsePrefix:b(ee=>{let oe=ee.consume("new");ee.consume("function");let ie=ee.lexer.current.type==="(";if(!ie){if(!k)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let Te={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:oe,parenthesis:ie},_e=ee.parseIntermediateType(M.FUNCTION);if(p===void 0)Te.parameters=Ft(_e);else{if(oe&&_e.type==="JsdocTypeFunction"&&_e.arrow)return Te=_e,Te.constructor=!0,Te;Te.parameters=Se(_e);for(let He of Te.parameters)if(He.type==="JsdocTypeKeyValue"&&!p.includes(He.key))throw new Error(`only allowed named parameters are ${p.join(", ")} but got ${He.type}`)}if(ee.consume(":"))Te.returnType=ee.parseType(M.PREFIX);else if(!w)throw new Error("function is missing return type");return Te},"parsePrefix")})}b(ft,"createFunctionParslet");function wt({allowPostfix:p,allowEnclosingBrackets:w}){return Z({name:"variadicParslet",accept:b(k=>k==="...","accept"),precedence:M.PREFIX,parsePrefix:b(k=>{k.consume("...");let z=w&&k.consume("[");try{let ee=k.parseType(M.PREFIX);if(z&&!k.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:G(ee),meta:{position:"prefix",squareBrackets:z}}}catch(ee){if(ee instanceof a){if(z)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw ee}},"parsePrefix"),parseInfix:p?(k,z)=>(k.consume("..."),{type:"JsdocTypeVariadic",element:G(z),meta:{position:"suffix",squareBrackets:!1}}):void 0})}b(wt,"createVariadicParslet");let an=Z({name:"symbolParslet",accept:b(p=>p==="(","accept"),precedence:M.SYMBOL,parseInfix:b((p,w)=>{if(w.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");p.consume("(");let k={type:"JsdocTypeSymbol",value:w.value};if(!p.consume(")")){let z=p.parseIntermediateType(M.SYMBOL);if(k.element=R(z),!p.consume(")"))throw new Error("Symbol does not end after value")}return k},"parseInfix")}),sn=Z({name:"arrayBracketsParslet",precedence:M.ARRAY_BRACKETS,accept:b((p,w)=>p==="["&&w==="]","accept"),parseInfix:b((p,w)=>(p.consume("["),p.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[G(w)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function Yt({objectFieldGrammar:p,allowKeyTypes:w}){return Z({name:"objectParslet",accept:b(k=>k==="{","accept"),parsePrefix:b(k=>{k.consume("{");let z={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!k.consume("}")){let ee,oe=new te(p,k.lexer,k);for(;;){oe.acceptLexerState(k);let ie=oe.parseIntermediateType(M.OBJECT);k.acceptLexerState(oe),ie===void 0&&w&&(ie=k.parseIntermediateType(M.OBJECT));let Te=!1;if(ie.type==="JsdocTypeNullable"&&(Te=!0,ie=ie.element),ie.type==="JsdocTypeNumber"||ie.type==="JsdocTypeName"||ie.type==="JsdocTypeStringValue"){let _e;ie.type==="JsdocTypeStringValue"&&(_e=ie.meta.quote),z.elements.push({type:"JsdocTypeObjectField",key:ie.value.toString(),right:void 0,optional:Te,readonly:!1,meta:{quote:_e}})}else if(ie.type==="JsdocTypeObjectField"||ie.type==="JsdocTypeJsdocObjectField")z.elements.push(ie);else throw new u(ie);if(k.lexer.current.startOfLine)ee="linebreak";else if(k.consume(","))ee="comma";else if(k.consume(";"))ee="semicolon";else break;if(k.lexer.current.type==="}")break}if(z.meta.separator=ee??"comma",!k.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return z},"parsePrefix")})}b(Yt,"createObjectParslet");function Xt({allowSquaredProperties:p,allowKeyTypes:w,allowReadonly:k,allowOptional:z}){return Z({name:"objectFieldParslet",precedence:M.KEY_VALUE,accept:b(ee=>ee===":","accept"),parseInfix:b((ee,oe)=>{var ie;let Te=!1,_e=!1;z&&oe.type==="JsdocTypeNullable"&&(Te=!0,oe=oe.element),k&&oe.type==="JsdocTypeReadonlyProperty"&&(_e=!0,oe=oe.element);let He=(ie=ee.baseParser)!==null&&ie!==void 0?ie:ee;if(He.acceptLexerState(ee),oe.type==="JsdocTypeNumber"||oe.type==="JsdocTypeName"||oe.type==="JsdocTypeStringValue"||q(oe)){if(q(oe)&&!p)throw new u(oe);He.consume(":");let At;oe.type==="JsdocTypeStringValue"&&(At=oe.meta.quote);let pt=He.parseType(M.KEY_VALUE);return ee.acceptLexerState(He),{type:"JsdocTypeObjectField",key:q(oe)?oe:oe.value.toString(),right:pt,optional:Te,readonly:_e,meta:{quote:At}}}else{if(!w)throw new u(oe);He.consume(":");let At=He.parseType(M.KEY_VALUE);return ee.acceptLexerState(He),{type:"JsdocTypeJsdocObjectField",left:G(oe),right:At}}},"parseInfix")})}b(Xt,"createObjectFieldParslet");function Qt({allowOptional:p,allowVariadic:w}){return Z({name:"keyValueParslet",precedence:M.KEY_VALUE,accept:b(k=>k===":","accept"),parseInfix:b((k,z)=>{let ee=!1,oe=!1;if(p&&z.type==="JsdocTypeNullable"&&(ee=!0,z=z.element),w&&z.type==="JsdocTypeVariadic"&&z.element!==void 0&&(oe=!0,z=z.element),z.type!=="JsdocTypeName")throw new u(z);k.consume(":");let ie=k.parseType(M.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:z.value,right:ie,optional:ee,variadic:oe}},"parseInfix")})}b(Qt,"createKeyValueParslet");let xr=[...fe,ft({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Re,Ze({allowedTypes:["module","external","event"],pathGrammar:ce}),wt({allowEnclosingBrackets:!0,allowPostfix:!0}),ye({allowedAdditionalTokens:["keyof"]}),an,sn,Ie({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ce})],ro=[...xr,Yt({objectFieldGrammar:[ye({allowedAdditionalTokens:["module","in"]}),Xt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...xr],allowKeyTypes:!0}),Qt({allowOptional:!0,allowVariadic:!0})],St=Z({name:"typeOfParslet",accept:b(p=>p==="typeof","accept"),parsePrefix:b(p=>(p.consume("typeof"),{type:"JsdocTypeTypeof",element:G(p.parseType(M.KEY_OF_TYPE_OF))}),"parsePrefix")}),Er=[ye({allowedAdditionalTokens:["module","keyof","event","external","in"]}),re,ae,Re,le,Xt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],ln=[...fe,Yt({allowKeyTypes:!1,objectFieldGrammar:Er}),ye({allowedAdditionalTokens:["event","external","in"]}),St,ft({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),wt({allowEnclosingBrackets:!1,allowPostfix:!1}),ye({allowedAdditionalTokens:["keyof"]}),Ze({allowedTypes:["module"],pathGrammar:ce}),Ie({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ce}),Qt({allowOptional:!1,allowVariadic:!1}),an];function un({allowQuestionMark:p}){return Z({name:"tupleParslet",accept:b(w=>w==="[","accept"),parsePrefix:b(w=>{w.consume("[");let k={type:"JsdocTypeTuple",elements:[]};if(w.consume("]"))return k;let z=w.parseIntermediateType(M.ALL);if(z.type==="JsdocTypeParameterList"?z.elements[0].type==="JsdocTypeKeyValue"?k.elements=z.elements.map(V):k.elements=z.elements.map(G):z.type==="JsdocTypeKeyValue"?k.elements=[V(z)]:k.elements=[G(z)],!w.consume("]"))throw new Error("Unterminated '['");if(!p&&k.elements.some(ee=>ee.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return k},"parsePrefix")})}b(un,"createTupleParslet");let no=Z({name:"keyOfParslet",accept:b(p=>p==="keyof","accept"),parsePrefix:b(p=>(p.consume("keyof"),{type:"JsdocTypeKeyof",element:G(p.parseType(M.KEY_OF_TYPE_OF))}),"parsePrefix")}),wr=Z({name:"importParslet",accept:b(p=>p==="import","accept"),parsePrefix:b(p=>{if(p.consume("import"),!p.consume("("))throw new Error("Missing parenthesis after import keyword");let w=p.parseType(M.PREFIX);if(w.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!p.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:w}},"parsePrefix")}),Zt=Z({name:"readonlyPropertyParslet",accept:b(p=>p==="readonly","accept"),parsePrefix:b(p=>(p.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:p.parseType(M.KEY_VALUE)}),"parsePrefix")}),$=Z({name:"arrowFunctionParslet",precedence:M.ARROW,accept:b(p=>p==="=>","accept"),parseInfix:b((p,w)=>(p.consume("=>"),{type:"JsdocTypeFunction",parameters:Se(w).map(Q),arrow:!0,constructor:!1,parenthesis:!0,returnType:p.parseType(M.OBJECT)}),"parseInfix")}),H=Z({name:"intersectionParslet",accept:b(p=>p==="&","accept"),precedence:M.INTERSECTION,parseInfix:b((p,w)=>{p.consume("&");let k=[];do k.push(p.parseType(M.INTERSECTION));while(p.consume("&"));return{type:"JsdocTypeIntersection",elements:[G(w),...k]}},"parseInfix")}),ue=Z({name:"predicateParslet",precedence:M.INFIX,accept:b(p=>p==="is","accept"),parseInfix:b((p,w)=>{if(w.type!=="JsdocTypeName")throw new u(w,"A typescript predicate always has to have a name on the left side.");return p.consume("is"),{type:"JsdocTypePredicate",left:w,right:G(p.parseIntermediateType(M.INFIX))}},"parseInfix")}),de=Z({name:"objectSquareBracketPropertyParslet",accept:b(p=>p==="[","accept"),parsePrefix:b(p=>{if(p.baseParser===void 0)throw new Error("Only allowed inside object grammar");p.consume("[");let w=p.lexer.current.text;p.consume("Identifier");let k;if(p.consume(":")){let z=p.baseParser;z.acceptLexerState(p),k={type:"JsdocTypeIndexSignature",key:w,right:z.parseType(M.ARRAY_BRACKETS)},p.acceptLexerState(z)}else if(p.consume("in")){let z=p.baseParser;z.acceptLexerState(p),k={type:"JsdocTypeMappedType",key:w,right:z.parseType(M.ARRAY_BRACKETS)},p.acceptLexerState(z)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!p.consume("]"))throw new Error("Unterminated square brackets");return k},"parsePrefix")}),Ae=[Zt,ye({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),re,ae,Re,le,Xt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),de],se=[...fe,Yt({allowKeyTypes:!1,objectFieldGrammar:Ae}),St,no,wr,Re,ft({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),un({allowQuestionMark:!1}),wt({allowEnclosingBrackets:!1,allowPostfix:!1}),ye({allowedAdditionalTokens:["event","external","in"]}),Ze({allowedTypes:["module"],pathGrammar:ce}),sn,$,Ie({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ce}),H,ue,Qt({allowVariadic:!0,allowOptional:!0})];function ot(p,w){switch(w){case"closure":return new te(ln,p).parse();case"jsdoc":return new te(ro,p).parse();case"typescript":return new te(se,p).parse()}}b(ot,"parse");function yt(p,w=["typescript","closure","jsdoc"]){let k;for(let z of w)try{return ot(p,z)}catch(ee){k=ee}throw k}b(yt,"tryParse");function ke(p,w){let k=p[w.type];if(k===void 0)throw new Error(`In this set of transform rules exists no rule for type ${w.type}.`);return k(w,z=>ke(p,z))}b(ke,"transform");function xe(p){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}b(xe,"notAvailableTransform");function er(p){let w={params:[]};for(let k of p.parameters)k.type==="JsdocTypeKeyValue"?k.key==="this"?w.this=k.right:k.key==="new"?w.new=k.right:w.params.push(k):w.params.push(k);return w}b(er,"extractSpecialParams");function at(p,w,k){return p==="prefix"?k+w:w+k}b(at,"applyPosition");function Ce(p,w){switch(w){case"double":return`"${p}"`;case"single":return`'${p}'`;case void 0:return p}}b(Ce,"quote");function Sr(){return{JsdocTypeParenthesis:b((p,w)=>`(${p.element!==void 0?w(p.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:b((p,w)=>`keyof ${w(p.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:b((p,w)=>{if(p.arrow){if(p.returnType===void 0)throw new Error("Arrow function needs a return type.");let k=`(${p.parameters.map(w).join(", ")}) => ${w(p.returnType)}`;return p.constructor&&(k="new "+k),k}else{let k=p.constructor?"new":"function";return p.parenthesis&&(k+=`(${p.parameters.map(w).join(", ")})`,p.returnType!==void 0&&(k+=`: ${w(p.returnType)}`)),k}},"JsdocTypeFunction"),JsdocTypeName:b(p=>p.value,"JsdocTypeName"),JsdocTypeTuple:b((p,w)=>`[${p.elements.map(w).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:b((p,w)=>p.meta.position===void 0?"...":at(p.meta.position,w(p.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:b((p,w)=>{let k=w(p.left),z=w(p.right);switch(p.pathType){case"inner":return`${k}~${z}`;case"instance":return`${k}#${z}`;case"property":return`${k}.${z}`;case"property-brackets":return`${k}[${z}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:b(p=>Ce(p.value,p.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:b(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:b((p,w)=>{if(p.meta.brackets==="square"){let k=p.elements[0],z=w(k);return k.type==="JsdocTypeUnion"||k.type==="JsdocTypeIntersection"?`(${z})[]`:`${z}[]`}else return`${w(p.left)}${p.meta.dot?".":""}<${p.elements.map(w).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:b((p,w)=>`import(${w(p.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:b((p,w)=>{let k="";return p.readonly&&(k+="readonly "),typeof p.key=="string"?k+=Ce(p.key,p.meta.quote):k+=w(p.key),p.optional&&(k+="?"),p.right===void 0?k:k+`: ${w(p.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:b((p,w)=>`${w(p.left)}: ${w(p.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:b((p,w)=>{let k=p.key;return p.optional&&(k+="?"),p.variadic&&(k="..."+k),p.right===void 0?k:k+`: ${w(p.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:b(p=>`${p.specialType}:${Ce(p.value,p.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:b((p,w)=>at(p.meta.position,w(p.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:b(()=>"null","JsdocTypeNull"),JsdocTypeNullable:b((p,w)=>at(p.meta.position,w(p.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:b(p=>p.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:b((p,w)=>`{${p.elements.map(w).join((p.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:b((p,w)=>at(p.meta.position,w(p.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:b((p,w)=>`${p.value}(${p.element!==void 0?w(p.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:b((p,w)=>`typeof ${w(p.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:b(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:b((p,w)=>p.elements.map(w).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:b(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:b((p,w)=>p.elements.map(w).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:b(p=>Ce(p.value,p.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:b((p,w)=>`${w(p.left)} is ${w(p.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:b((p,w)=>`[${p.key}: ${w(p.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:b((p,w)=>`[${p.key} in ${w(p.right)}]`,"JsdocTypeMappedType")}}b(Sr,"stringifyRules");let oo=Sr();function cn(p){return ke(oo,p)}b(cn,"stringify");let tr=["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 nt(p){let w={type:"NameExpression",name:p};return tr.includes(p)&&(w.reservedWord=!0),w}b(nt,"makeName");let Ar={JsdocTypeOptional:b((p,w)=>{let k=w(p.element);return k.optional=!0,k},"JsdocTypeOptional"),JsdocTypeNullable:b((p,w)=>{let k=w(p.element);return k.nullable=!0,k},"JsdocTypeNullable"),JsdocTypeNotNullable:b((p,w)=>{let k=w(p.element);return k.nullable=!1,k},"JsdocTypeNotNullable"),JsdocTypeVariadic:b((p,w)=>{if(p.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let k=w(p.element);return k.repeatable=!0,k},"JsdocTypeVariadic"),JsdocTypeAny:b(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:b(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:b(p=>nt(Ce(p.value,p.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:b(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:b(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:b((p,w)=>{let k=er(p),z={type:"FunctionType",params:k.params.map(w)};return k.this!==void 0&&(z.this=w(k.this)),k.new!==void 0&&(z.new=w(k.new)),p.returnType!==void 0&&(z.result=w(p.returnType)),z},"JsdocTypeFunction"),JsdocTypeGeneric:b((p,w)=>({type:"TypeApplication",applications:p.elements.map(k=>w(k)),expression:w(p.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:b(p=>nt(p.specialType+":"+Ce(p.value,p.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:b(p=>p.value!=="function"?nt(p.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:b(p=>nt(p.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:b((p,w)=>{let k={type:"RecordType",fields:[]};for(let z of p.elements)z.type!=="JsdocTypeObjectField"&&z.type!=="JsdocTypeJsdocObjectField"?k.fields.push({type:"FieldType",key:w(z),value:void 0}):k.fields.push(w(z));return k},"JsdocTypeObject"),JsdocTypeObjectField:b((p,w)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:nt(Ce(p.key,p.meta.quote)),value:p.right===void 0?void 0:w(p.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:b((p,w)=>({type:"FieldType",key:w(p.left),value:w(p.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:b((p,w)=>({type:"TypeUnion",elements:p.elements.map(k=>w(k))}),"JsdocTypeUnion"),JsdocTypeKeyValue:b((p,w)=>({type:"FieldType",key:nt(p.key),value:p.right===void 0?void 0:w(p.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:b((p,w)=>{let k=w(p.left),z;p.right.type==="JsdocTypeSpecialNamePath"?z=w(p.right).name:z=Ce(p.right.value,p.right.meta.quote);let ee=p.pathType==="inner"?"~":p.pathType==="instance"?"#":".";return nt(`${k.name}${ee}${z}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:b(p=>{let w="",k=p.element,z=!1;return k?.type==="JsdocTypeVariadic"&&(k.meta.position==="prefix"?w="...":z=!0,k=k.element),k?.type==="JsdocTypeName"?w+=k.value:k?.type==="JsdocTypeNumber"&&(w+=k.value.toString()),z&&(w+="..."),nt(`${p.value}(${w})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:b((p,w)=>w(G(p.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:xe,JsdocTypeIndexSignature:xe,JsdocTypeImport:xe,JsdocTypeKeyof:xe,JsdocTypeTuple:xe,JsdocTypeTypeof:xe,JsdocTypeIntersection:xe,JsdocTypeProperty:xe,JsdocTypePredicate:xe};function Tr(p){return ke(Ar,p)}b(Tr,"catharsisTransform");function it(p){switch(p){case void 0:return"none";case"single":return"single";case"double":return"double"}}b(it,"getQuoteStyle");function pn(p){switch(p){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}b(pn,"getMemberType");function rr(p,w){return w.length===2?{type:p,left:w[0],right:w[1]}:{type:p,left:w[0],right:rr(p,w.slice(1))}}b(rr,"nestResults");let dn={JsdocTypeOptional:b((p,w)=>({type:"OPTIONAL",value:w(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:b((p,w)=>({type:"NULLABLE",value:w(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:b((p,w)=>({type:"NOT_NULLABLE",value:w(p.element),meta:{syntax:p.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:b((p,w)=>{let k={type:"VARIADIC",meta:{syntax:p.meta.position==="prefix"?"PREFIX_DOTS":p.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return p.element!==void 0&&(k.value=w(p.element)),k},"JsdocTypeVariadic"),JsdocTypeName:b(p=>({type:"NAME",name:p.value}),"JsdocTypeName"),JsdocTypeTypeof:b((p,w)=>({type:"TYPE_QUERY",name:w(p.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:b((p,w)=>({type:"TUPLE",entries:p.elements.map(w)}),"JsdocTypeTuple"),JsdocTypeKeyof:b((p,w)=>({type:"KEY_QUERY",value:w(p.element)}),"JsdocTypeKeyof"),JsdocTypeImport:b(p=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:it(p.element.meta.quote),string:p.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:b(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:b(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:b((p,w)=>{let k=er(p),z={type:p.arrow?"ARROW":"FUNCTION",params:k.params.map(ee=>{if(ee.type==="JsdocTypeKeyValue"){if(ee.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:ee.key,typeName:w(ee.right)}}else return w(ee)}),new:null,returns:null};return k.this!==void 0?z.this=w(k.this):p.arrow||(z.this=null),k.new!==void 0&&(z.new=w(k.new)),p.returnType!==void 0&&(z.returns=w(p.returnType)),z},"JsdocTypeFunction"),JsdocTypeGeneric:b((p,w)=>{let k={type:"GENERIC",subject:w(p.left),objects:p.elements.map(w),meta:{syntax:p.meta.brackets==="square"?"SQUARE_BRACKET":p.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return p.meta.brackets==="square"&&p.elements[0].type==="JsdocTypeFunction"&&!p.elements[0].parenthesis&&(k.objects[0]={type:"NAME",name:"function"}),k},"JsdocTypeGeneric"),JsdocTypeObjectField:b((p,w)=>{if(typeof p.key!="string")throw new Error("Index signatures and mapped types are not supported");if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:it(p.meta.quote),value:null,readonly:!1};let k=w(p.right);return p.optional&&(k={type:"OPTIONAL",value:k,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key.toString(),quoteStyle:it(p.meta.quote),value:k,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:b(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:b((p,w)=>{if(p.right===void 0)return{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:null,readonly:!1};let k=w(p.right);return p.optional&&(k={type:"OPTIONAL",value:k,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:p.key,quoteStyle:"none",value:k,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:b((p,w)=>{let k=[];for(let z of p.elements)(z.type==="JsdocTypeObjectField"||z.type==="JsdocTypeJsdocObjectField")&&k.push(w(z));return{type:"RECORD",entries:k}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:b(p=>{if(p.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${p.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:it(p.meta.quote),path:p.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:b((p,w)=>{let k=!1,z,ee;p.right.type==="JsdocTypeSpecialNamePath"&&p.right.specialType==="event"?(k=!0,z=p.right.value,ee=it(p.right.meta.quote)):(z=p.right.value,ee=it(p.right.meta.quote));let oe={type:pn(p.pathType),owner:w(p.left),name:z,quoteStyle:ee,hasEventPrefix:k};if(oe.owner.type==="MODULE"){let ie=oe.owner;return oe.owner=oe.owner.value,ie.value=oe,ie}else return oe},"JsdocTypeNamePath"),JsdocTypeUnion:b((p,w)=>rr("UNION",p.elements.map(w)),"JsdocTypeUnion"),JsdocTypeParenthesis:b((p,w)=>({type:"PARENTHESIS",value:w(G(p.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:b(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:b(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:b(p=>({type:"STRING_VALUE",quoteStyle:it(p.meta.quote),string:p.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:b((p,w)=>rr("INTERSECTION",p.elements.map(w)),"JsdocTypeIntersection"),JsdocTypeNumber:b(p=>({type:"NUMBER_VALUE",number:p.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:xe,JsdocTypeProperty:xe,JsdocTypePredicate:xe,JsdocTypeMappedType:xe,JsdocTypeIndexSignature:xe};function fn(p){return ke(dn,p)}b(fn,"jtpTransform");function Cr(){return{JsdocTypeIntersection:b((p,w)=>({type:"JsdocTypeIntersection",elements:p.elements.map(w)}),"JsdocTypeIntersection"),JsdocTypeGeneric:b((p,w)=>({type:"JsdocTypeGeneric",left:w(p.left),elements:p.elements.map(w),meta:{dot:p.meta.dot,brackets:p.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:b(p=>p,"JsdocTypeNullable"),JsdocTypeUnion:b((p,w)=>({type:"JsdocTypeUnion",elements:p.elements.map(w)}),"JsdocTypeUnion"),JsdocTypeUnknown:b(p=>p,"JsdocTypeUnknown"),JsdocTypeUndefined:b(p=>p,"JsdocTypeUndefined"),JsdocTypeTypeof:b((p,w)=>({type:"JsdocTypeTypeof",element:w(p.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:b((p,w)=>{let k={type:"JsdocTypeSymbol",value:p.value};return p.element!==void 0&&(k.element=w(p.element)),k},"JsdocTypeSymbol"),JsdocTypeOptional:b((p,w)=>({type:"JsdocTypeOptional",element:w(p.element),meta:{position:p.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:b((p,w)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:p.elements.map(w)}),"JsdocTypeObject"),JsdocTypeNumber:b(p=>p,"JsdocTypeNumber"),JsdocTypeNull:b(p=>p,"JsdocTypeNull"),JsdocTypeNotNullable:b((p,w)=>({type:"JsdocTypeNotNullable",element:w(p.element),meta:{position:p.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:b(p=>p,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:b((p,w)=>({type:"JsdocTypeObjectField",key:p.key,right:p.right===void 0?void 0:w(p.right),optional:p.optional,readonly:p.readonly,meta:p.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:b((p,w)=>({type:"JsdocTypeJsdocObjectField",left:w(p.left),right:w(p.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:b((p,w)=>({type:"JsdocTypeKeyValue",key:p.key,right:p.right===void 0?void 0:w(p.right),optional:p.optional,variadic:p.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:b((p,w)=>({type:"JsdocTypeImport",element:w(p.element)}),"JsdocTypeImport"),JsdocTypeAny:b(p=>p,"JsdocTypeAny"),JsdocTypeStringValue:b(p=>p,"JsdocTypeStringValue"),JsdocTypeNamePath:b(p=>p,"JsdocTypeNamePath"),JsdocTypeVariadic:b((p,w)=>{let k={type:"JsdocTypeVariadic",meta:{position:p.meta.position,squareBrackets:p.meta.squareBrackets}};return p.element!==void 0&&(k.element=w(p.element)),k},"JsdocTypeVariadic"),JsdocTypeTuple:b((p,w)=>({type:"JsdocTypeTuple",elements:p.elements.map(w)}),"JsdocTypeTuple"),JsdocTypeName:b(p=>p,"JsdocTypeName"),JsdocTypeFunction:b((p,w)=>{let k={type:"JsdocTypeFunction",arrow:p.arrow,parameters:p.parameters.map(w),constructor:p.constructor,parenthesis:p.parenthesis};return p.returnType!==void 0&&(k.returnType=w(p.returnType)),k},"JsdocTypeFunction"),JsdocTypeKeyof:b((p,w)=>({type:"JsdocTypeKeyof",element:w(p.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:b((p,w)=>({type:"JsdocTypeParenthesis",element:w(p.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:b(p=>p,"JsdocTypeProperty"),JsdocTypePredicate:b((p,w)=>({type:"JsdocTypePredicate",left:w(p.left),right:w(p.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:b((p,w)=>({type:"JsdocTypeIndexSignature",key:p.key,right:w(p.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:b((p,w)=>({type:"JsdocTypeMappedType",key:p.key,right:w(p.right)}),"JsdocTypeMappedType")}}b(Cr,"identityTransformRules");let yn={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"]};function _r(p,w,k,z,ee){z?.(p,w,k);let oe=yn[p.type];for(let ie of oe){let Te=p[ie];if(Te!==void 0)if(Array.isArray(Te))for(let _e of Te)_r(_e,p,ie,z,ee);else _r(Te,p,ie,z,ee)}ee?.(p,w,k)}b(_r,"_traverse");function Or(p,w,k){_r(p,void 0,void 0,w,k)}b(Or,"traverse"),r.catharsisTransform=Tr,r.identityTransformRules=Cr,r.jtpTransform=fn,r.parse=ot,r.stringify=cn,r.stringifyRules=Sr,r.transform=ke,r.traverse=Or,r.tryParse=yt,r.visitorKeys=yn})}),kb=/^['"]|['"]$/g,nj=b(e=>e.replace(kb,""),"trimQuotes"),oj=b(e=>kb.test(e),"includesQuotes"),Rb=b(e=>{let t=nj(e);return oj(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),aj=b(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=zn(r.value)}),{name:"object",value:t};default:throw new Uo({type:e,language:"Typescript"})}},"convertSig"),zn=b(e=>{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(zn)};case"signature":return{...n,...aj(e)};case"union":let o;return e.elements?.every(a=>a.name==="literal")?o={...n,name:"enum",value:e.elements?.map(a=>Rb(a.value))}:o={...n,name:t,value:e.elements?.map(zn)},o;case"intersection":return{...n,name:t,value:e.elements?.map(zn)};default:return{...n,name:"other",value:t}}},"convert"),ij=b(e=>e.name==="literal","isLiteral"),sj=b(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),lj=b(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Vn(r.value)}),{name:"object",value:t};default:throw new Uo({type:e,language:"Flow"})}},"convertSig"),Vn=b(e=>{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(Vn)};case"signature":return{...n,...lj(e)};case"union":return e.elements?.every(ij)?{...n,name:"enum",value:e.elements?.map(sj)}:{...n,name:t,value:e.elements?.map(Vn)};case"intersection":return{...n,name:t,value:e.elements?.map(Vn)};default:return{...n,name:"other",value:t}}},"convert"),uj=db(tj(),1),cj=/^\(.*\) => /,$n=b(e=>{let{name:t,raw:r,computed:n,value:o}=e,a={};switch(typeof r<"u"&&(a.raw=r),t){case"enum":{let s=n?o:o.map(l=>Rb(l.value));return{...a,name:t,value:s}}case"string":case"number":case"symbol":return{...a,name:t};case"func":return{...a,name:"function"};case"bool":case"boolean":return{...a,name:"boolean"};case"arrayOf":case"array":return{...a,name:"array",value:o&&$n(o)};case"object":return{...a,name:t};case"objectOf":return{...a,name:t,value:$n(o)};case"shape":case"exact":let i=(0,uj.default)(o,s=>$n(s));return{...a,name:"object",value:i};case"union":return{...a,name:"union",value:o.map(s=>$n(s))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let u=t.split("|").map(c=>JSON.parse(c));return{...a,name:"enum",value:u}}catch{}let s=o?`${t}(${o})`:t,l=cj.test(t)?"function":"other";return{...a,name:l,value:s}}}},"convert"),Ws=b(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return $n(t);if(r!=null)return zn(r);if(n!=null)return Vn(n)}catch(o){console.error(o)}return null},"convert"),pj=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(pj||{}),dj=["null","undefined"];function da(e){return dj.some(t=>t===e)}b(da,"isDefaultValueBlacklisted");var fj=b(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function Ks(e){return!!e.__docgenInfo}b(Ks,"hasDocgen");function Db(e){return e!=null&&Object.keys(e).length>0}b(Db,"isValidDocgenSection");function Fb(e,t){return Ks(e)?e.__docgenInfo[t]:null}b(Fb,"getDocgenSection");function jb(e){return Ks(e)?fj(e.__docgenInfo.description):""}b(jb,"getDocgenDescription");var zt;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(zt=zt||(zt={}));function Nb(e){return/^\s+$/.test(e)}b(Nb,"isSpace");function Bb(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}b(Bb,"splitCR");function fr(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}b(fr,"splitSpace");function Lb(e){return e.split(/\n/)}b(Lb,"splitLines");function qb(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}b(qb,"seedSpec");function Mb(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}b(Mb,"seedTokens");var yj=/^@\S+/;function Ub({fence:e="```"}={}){let t=Jb(e),r=b((n,o)=>t(n)?!o:o,"toggleFence");return b(function(n){let o=[[]],a=!1;for(let i of n)yj.test(i.tokens.description)&&!a?o.push([i]):o[o.length-1].push(i),a=r(i.tokens.description,a);return o},"parseBlock")}b(Ub,"getParser");function Jb(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}b(Jb,"getFencer");function $b({startLine:e=0,markers:t=zt}={}){let r=null,n=e;return b(function(o){let a=o,i=Mb();if([i.lineEnd,a]=Bb(a),[i.start,a]=fr(a),r===null&&a.startsWith(t.start)&&!a.startsWith(t.nostart)&&(r=[],i.delimiter=a.slice(0,t.start.length),a=a.slice(t.start.length),[i.postDelimiter,a]=fr(a)),r===null)return n++,null;let s=a.trimRight().endsWith(t.end);if(i.delimiter===""&&a.startsWith(t.delim)&&!a.startsWith(t.end)&&(i.delimiter=t.delim,a=a.slice(t.delim.length),[i.postDelimiter,a]=fr(a)),s){let l=a.trimRight();i.end=a.slice(l.length-t.end.length),a=l.slice(0,-t.end.length)}if(i.description=a,r.push({number:n,source:o,tokens:i}),n++,s){let l=r.slice();return r=null,l}return null},"parseSource")}b($b,"getParser");function zb({tokenizers:e}){return b(function(t){var r;let n=qb({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")}b(zb,"getParser");function Vb(){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)}}b(Vb,"tagTokenizer");function Hb(e="compact"){let t=Gb(e);return r=>{let n=0,o=[];for(let[s,{tokens:l}]of r.source.entries()){let u="";if(s===0&&l.description[0]!=="{")return r;for(let c of l.description)if(c==="{"&&n++,c==="}"&&n--,u+=c,n===0)break;if(o.push([l,u]),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 a=[],i=o[0][0].postDelimiter.length;for(let[s,[l,u]]of o.entries())l.type=u,s>0&&(l.type=l.postDelimiter.slice(i)+u,l.postDelimiter=l.postDelimiter.slice(0,i)),[l.postType,l.description]=fr(l.description.slice(u.length)),a.push(l.type);return a[0]=a[0].slice(1),a[a.length-1]=a[a.length-1].slice(0,-1),r.type=t(a),r}}b(Hb,"typeTokenizer");var hj=b(e=>e.trim(),"trim");function Gb(e){return e==="compact"?t=>t.map(hj).join(""):e==="preserve"?t=>t.join(` +`):e}b(Gb,"getJoiner");var mj=b(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function Wb(){let e=b((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]=fr(n.slice(r.name.length)),t;let a=0,i="",s=!1,l;for(let c of n){if(a===0&&Nb(c))break;c==="["&&a++,c==="]"&&a--,i+=c}if(a!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let u=i;if(i[0]==="["&&i[i.length-1]==="]"){s=!0,i=i.slice(1,-1);let c=i.split("=");if(i=c[0].trim(),c[1]!==void 0&&(l=c.slice(1).join("=").trim()),i==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(l==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!mj(l)&&/=(?!>)/.test(l))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=s,t.name=i,r.name=u,l!==void 0&&(t.default=l),[r.postName,r.description]=fr(n.slice(r.name.length)),t}}b(Wb,"nameTokenizer");function Kb(e="compact",t=zt){let r=Ys(e);return n=>(n.description=r(n.source,t),n)}b(Kb,"descriptionTokenizer");function Ys(e){return e==="compact"?Yb:e==="preserve"?Xb:e}b(Ys,"getJoiner");function Yb(e,t=zt){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}b(Yb,"compactJoiner");var gj=b((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),bj=b(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function Xb(e,t=zt){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(gj,0)),e.map(bj).join(` +`)}b(Xb,"preserveJoiner");function Qb({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=zt,tokenizers:o=[Vb(),Hb(r),Wb(),Kb(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let a=$b({startLine:e,markers:n}),i=Ub({fence:t}),s=zb({tokenizers:o}),l=Ys(r);return function(u){let c=[];for(let d of Lb(u)){let y=a(d);if(y===null)continue;let f=i(y),h=f.slice(1).map(s);c.push({description:l(f[0],n),tags:h,source:y,problems:h.reduce((g,_)=>g.concat(_.problems),[])})}return c}}b(Qb,"getParser");function Zb(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}b(Zb,"join");function e0(){return e=>e.source.map(({tokens:t})=>Zb(t)).join(` +`)}b(e0,"getStringifier");var vj={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},Cne=Object.keys(vj);function t0(e,t={}){return Qb(t)(e)}b(t0,"parse");var _ne=e0(),Xs=db(rj(),1);function r0(e){return e!=null&&e.includes("@")}b(r0,"containsJsDoc");function n0(e){let t=`/** +`+(e??"").split(` +`).map(n=>` * ${n}`).join(` +`)+` +*/`,r=t0(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}b(n0,"parse");var xj={tags:["param","arg","argument","returns","ignore","deprecated"]},Ej=b((e,t=xj)=>{if(!r0(e))return{includesJsDoc:!1,ignore:!1};let r=n0(e),n=o0(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function o0(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=i0(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=s0(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=l0(n);o!=null&&(r.returns=o);break}default:break}return r}b(o0,"extractJsDocTags");function a0(e){return e.replace(/[\.-]$/,"")}b(a0,"normaliseParamName");function i0(e){if(!e.name||e.name==="-")return null;let t=el(e.type);return{name:e.name,type:t,description:Zs(e.description),getPrettyName:b(()=>a0(e.name),"getPrettyName"),getTypeName:b(()=>t?tl(t):null,"getTypeName")}}b(i0,"extractParam");function s0(e){return e.name?Qs(e.name,e.description):null}b(s0,"extractDeprecated");function Qs(e,t){let r=e===""?t:`${e} ${t}`;return Zs(r)}b(Qs,"joinNameAndDescription");function Zs(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}b(Zs,"normaliseDescription");function l0(e){let t=el(e.type);return t?{type:t,description:Qs(e.name,e.description),getTypeName:b(()=>tl(t),"getTypeName")}:null}b(l0,"extractReturns");var Ht=(0,Xs.stringifyRules)(),wj=Ht.JsdocTypeObject;Ht.JsdocTypeAny=()=>"any";Ht.JsdocTypeObject=(e,t)=>`(${wj(e,t)})`;Ht.JsdocTypeOptional=(e,t)=>t(e.element);Ht.JsdocTypeNullable=(e,t)=>t(e.element);Ht.JsdocTypeNotNullable=(e,t)=>t(e.element);Ht.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function el(e){try{return(0,Xs.parse)(e,"typescript")}catch{return null}}b(el,"extractType");function tl(e){return(0,Xs.transform)(Ht,e)}b(tl,"extractTypeName");function rl(e){return e.length>90}b(rl,"isTooLongForTypeSummary");function u0(e){return e.length>50}b(u0,"isTooLongForDefaultValueSummary");function je(e,t){return e===t?{summary:e}:{summary:e,detail:t}}b(je,"createSummaryValue");var One=b(e=>e.replace(/\\r\\n/g,"\\n"),"normalizeNewlines");function nl({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(nl).join(" | "):n??e)}b(nl,"generateUnionElement");function c0({name:e,raw:t,elements:r}){return r!=null?je(r.map(nl).join(" | ")):t!=null?je(t.replace(/^\|\s*/,"")):je(e)}b(c0,"generateUnion");function p0({type:e,raw:t}){return t!=null?je(t):je(e)}b(p0,"generateFuncSignature");function d0({type:e,raw:t}){return t!=null?rl(t)?je(e,t):je(t):je(e)}b(d0,"generateObjectSignature");function f0(e){let{type:t}=e;return t==="object"?d0(e):p0(e)}b(f0,"generateSignature");function y0({name:e,raw:t}){return t!=null?rl(t)?je(e,t):je(t):je(e)}b(y0,"generateDefault");function h0(e){if(e==null)return null;switch(e.name){case"union":return c0(e);case"signature":return f0(e);default:return y0(e)}}b(h0,"createType");function m0(e,t){if(e!=null){let{value:r}=e;if(!da(r))return u0(r)?je(t?.name,r):je(r)}return null}b(m0,"createDefaultValue");var Sj=b((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:a}=t;return{name:e,type:h0(r),required:o,description:n,defaultValue:m0(a??null,r??null)}},"createFlowPropDef");function g0({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),je(["Array","Record","signature"].includes(e.name)?e.raw:r)}b(g0,"createType");function b0({defaultValue:e}){if(e!=null){let{value:t}=e;if(!da(t))return je(t)}return null}b(b0,"createDefaultValue");var Aj=b((e,t)=>{let{description:r,required:n}=t;return{name:e,type:g0(t),required:n,description:r,defaultValue:b0(t)}},"createTsPropDef");function v0(e){return e!=null?je(e.name):null}b(v0,"createType");function x0(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}b(x0,"isReactDocgenTypescript");function E0(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}b(E0,"isStringValued");function w0(e,t){if(e!=null){let{value:r}=e;if(!da(r))return x0(e)&&E0(t)?je(JSON.stringify(r)):je(r)}return null}b(w0,"createDefaultValue");function ol(e,t,r){let{description:n,required:o,defaultValue:a}=r;return{name:e,type:v0(t),required:o,description:n,defaultValue:w0(a,t)}}b(ol,"createBasicPropDef");function Wn(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let o={...n,params:n?.params?.map(a=>({name:a.getPrettyName(),description:a.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}b(Wn,"applyJsDocResult");var Tj=b((e,t,r)=>{let n=ol(e,t.type,t);return n.sbType=Ws(t),Wn(n,r)},"javaScriptFactory"),Cj=b((e,t,r)=>{let n=Aj(e,t);return n.sbType=Ws(t),Wn(n,r)},"tsFactory"),_j=b((e,t,r)=>{let n=Sj(e,t);return n.sbType=Ws(t),Wn(n,r)},"flowFactory"),Oj=b((e,t,r)=>{let n=ol(e,{name:"unknown"},t);return Wn(n,r)},"unknownFactory"),S0=b(e=>{switch(e){case"JavaScript":return Tj;case"TypeScript":return Cj;case"Flow":return _j;default:return Oj}},"getPropDefFactory"),A0=b(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Ij=b(e=>{let t=A0(e[0]),r=S0(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),al(o.name,o,t,r)})},"extractComponentSectionArray"),Pj=b(e=>{let t=Object.keys(e),r=A0(e[t[0]]),n=S0(r);return t.map(o=>{let a=e[o];return a!=null?al(o,a,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),Ine=b((e,t)=>{let r=Fb(e,t);return Db(r)?Array.isArray(r)?Ij(r):Pj(r):[]},"extractComponentProps");function al(e,t,r,n){let o=Ej(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}b(al,"extractProp");function kj(e){return e!=null?jb(e):""}b(kj,"extractComponentDescription");var kne=b(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n,a=o&&t?o(t):{};return a?Ot(a,r):r},"enhanceArgTypes"),T0="storybook/docs",Rne=`${T0}/panel`;var Dne=`${T0}/snippet-rendered`,Rj=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Rj||{}),Dj=/(addons\/|addon-|addon-essentials\/)(docs|controls)/,Fne=b(e=>e.presetsList?.some(t=>Dj.test(t.name)),"hasDocsOrControls");S();A();T();S();A();T();var Wne=__STORYBOOK_CHANNELS__,{Channel:Kne,PostMessageTransport:Yne,WebsocketTransport:Xne,createBrowserChannel:Qne}=__STORYBOOK_CHANNELS__;var qv=nr({"../../node_modules/memoizerific/memoizerific.js"(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"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function i(u,c){if(!o[u]){if(!n[u]){var d=typeof mn=="function"&&mn;if(!c&&d)return d(u,!0);if(s)return s(u,!0);var y=new Error("Cannot find module '"+u+"'");throw y.code="MODULE_NOT_FOUND",y}var f=o[u]={exports:{}};n[u][0].call(f.exports,function(h){var g=n[u][1][h];return i(g||h)},f,f.exports,r,n,o,a)}return o[u].exports}for(var s=typeof mn=="function"&&mn,l=0;l=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],this.list[l].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var l;for(l=0;l0&&(x[v]={cacheItem:h,arg:arguments[v]},O?i(d,x):d.push(x),d.length>u&&s(d.shift())),f.wasMemoized=O,f.numArgs=v+1,_};return f.limit=u,f.wasMemoized=!1,f.cache=c,f.lru=d,f}};function i(u,c){var d=u.length,y=c.length,f,h,g;for(h=0;h=0&&(d=u[f],y=d.cacheItem.get(d.arg),!y||!y.size);f--)d.cacheItem.delete(d.arg)}function l(u,c){return u===c||u!==u&&c!==c}},{"map-or-similar":1}]},{},[3])(3)})}}),xt=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();function en(){return en=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?o-1:0),i=1;i=0&&o<1?(s=a,l=i):o>=1&&o<2?(s=i,l=a):o>=2&&o<3?(l=a,u=i):o>=3&&o<4?(l=i,u=a):o>=4&&o<5?(s=i,u=a):o>=5&&o<6&&(s=a,u=i);var c=r-a/2,d=s+c,y=l+c,f=u+c;return n(d,y,f)}var iv={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function HN(e){if(typeof e!="string")return e;var t=e.toLowerCase();return iv[t]?"#"+iv[t]:e}var GN=/^#[a-fA-F0-9]{6}$/,WN=/^#[a-fA-F0-9]{8}$/,KN=/^#[a-fA-F0-9]{3}$/,YN=/^#[a-fA-F0-9]{4}$/,ml=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,XN=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,QN=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ZN=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Aa(e){if(typeof e!="string")throw new Et(3);var t=HN(e);if(t.match(GN))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(WN)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(KN))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(YN)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=ml.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=XN.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var i=QN.exec(t);if(i){var s=parseInt(""+i[1],10),l=parseInt(""+i[2],10)/100,u=parseInt(""+i[3],10)/100,c="rgb("+eo(s,l,u)+")",d=ml.exec(c);if(!d)throw new Et(4,t,c);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var y=ZN.exec(t.substring(0,50));if(y){var f=parseInt(""+y[1],10),h=parseInt(""+y[2],10)/100,g=parseInt(""+y[3],10)/100,_="rgb("+eo(f,h,g)+")",v=ml.exec(_);if(!v)throw new Et(4,t,_);return{red:parseInt(""+v[1],10),green:parseInt(""+v[2],10),blue:parseInt(""+v[3],10),alpha:parseFloat(""+y[4])>1?parseFloat(""+y[4])/100:parseFloat(""+y[4])}}throw new Et(5)}function e3(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),i=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,l=o-a,u=i>.5?l/(2-o-a):l/(o+a);switch(o){case t:s=(r-n)/l+(r=1?Sa(e,t,r):"rgba("+eo(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Sa(e.hue,e.saturation,e.lightness):"rgba("+eo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Et(2)}function Pl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Il("#"+mr(e)+mr(t)+mr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Il("#"+mr(e.red)+mr(e.green)+mr(e.blue));throw new Et(6)}function Dt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Aa(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Pl(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Pl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Et(7)}var a3=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},i3=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},s3=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},l3=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Jv(e){if(typeof e!="object")throw new Et(8);if(i3(e))return Dt(e);if(a3(e))return Pl(e);if(l3(e))return o3(e);if(s3(e))return n3(e);throw new Et(8)}function $v(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):$v(e,t,n)}}function Ta(e){return $v(e,e.length,[])}function Ca(e,t,r){return Math.max(e,Math.min(t,r))}function u3(e,t){if(t==="transparent")return t;var r=Uv(t);return Jv(en({},r,{lightness:Ca(0,1,r.lightness-parseFloat(e))}))}var c3=Ta(u3),vt=c3;function p3(e,t){if(t==="transparent")return t;var r=Uv(t);return Jv(en({},r,{lightness:Ca(0,1,r.lightness+parseFloat(e))}))}var d3=Ta(p3),gr=d3;function f3(e,t){if(t==="transparent")return t;var r=Aa(t),n=typeof r.alpha=="number"?r.alpha:1,o=en({},r,{alpha:Ca(0,1,(n*100+parseFloat(e)*100)/100)});return Dt(o)}var y3=Ta(f3),ba=y3;function h3(e,t){if(t==="transparent")return t;var r=Aa(t),n=typeof r.alpha=="number"?r.alpha:1,o=en({},r,{alpha:Ca(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Dt(o)}var m3=Ta(h3),ve=m3,g3=Object.create,zv=Object.defineProperty,b3=Object.getOwnPropertyDescriptor,v3=Object.getOwnPropertyNames,x3=Object.getPrototypeOf,E3=Object.prototype.hasOwnProperty,w3=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),S3=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of v3(t))!E3.call(e,o)&&o!==r&&zv(e,o,{get:()=>t[o],enumerable:!(n=b3(t,o))||n.enumerable});return e},A3=(e,t,r)=>(r=e!=null?g3(x3(e)):{},S3(t||!e||!e.__esModule?zv(r,"default",{value:e,enumerable:!0}):r,e)),T3=w3(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,a){return function i(s,l,u){var c,d,y,f=t.call(s),h=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(l)>-1)return!0;if(u.push(s,l),f!=h||(c=n(s),d=n(l),c.length!=d.length||c.some(function(g){return!i(s[g],l[g],u)})))return!1;switch(f.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":c=s.entries(),d=l.entries();do if(!i((y=c.next()).value,d.next().value,u))return!1;while(!y.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(y=0;ye.map(t=>typeof t<"u").filter(Boolean).length,C3=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(Vv([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,sv.isEqual)(t,n);if(typeof o<"u")return!(0,sv.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},_3=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Vv([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return C3(e.if,a)};function br(){return br=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),pv={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},I3=["style","script"],P3=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,k3=/mailto:/i,R3=/\n{2,}$/,Hv=/^(\s*>[\s\S]*?)(?=\n{2,})/,D3=/^ *> ?/gm,F3=/^ {2,}\n/,j3=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Gv=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Wv=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,N3=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,B3=/^(?:\n *)*\n/,L3=/\r\n?/g,q3=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,M3=/^\[\^([^\]]+)]/,U3=/\f/g,J3=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,$3=/^\s*?\[(x|\s)\]/,Kv=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Yv=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Xv=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,kl=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,z3=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Qv=/^)/,V3=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Rl=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,H3=/^\{.*\}$/,G3=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,W3=/^<([^ >]+@[^ >]+)>/,K3=/^<([^ >]+:\/[^ >]+)>/,Y3=/-([a-z])?/gi,Zv=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,X3=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Q3=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Z3=/^\[([^\]]*)\] ?\[([^\]]*)\]/,eB=/(\[|\])/g,tB=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,rB=/\t/g,nB=/^ *\| */,oB=/(^ *\||\| *$)/g,aB=/ *$/,iB=/^ *:-+: *$/,sB=/^ *:-+ *$/,lB=/^ *-+: *$/,_a="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",uB=new RegExp(`^([*_])\\1${_a}\\1\\1(?!\\1)`),cB=new RegExp(`^([*_])${_a}\\1(?!\\1|\\w)`),pB=new RegExp(`^==${_a}==`),dB=new RegExp(`^~~${_a}~~`),fB=/^\\([^0-9A-Za-z\s])/,yB=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,hB=/^\n+/,mB=/^([ \t]*)/,gB=/\\([^\\])/g,dv=/ *\n+$/,bB=/(?:^|\n)( *)$/,Nl="(?:\\d+\\.)",Bl="(?:[*+-])";function e2(e){return"( *)("+(e===1?Nl:Bl)+") +"}var t2=e2(1),r2=e2(2);function n2(e){return new RegExp("^"+(e===1?t2:r2))}var vB=n2(1),xB=n2(2);function o2(e){return new RegExp("^"+(e===1?t2:r2)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Nl:Bl)+" )[^\\n]*)*(\\n|$)","gm")}var a2=o2(1),i2=o2(2);function s2(e){let t=e===1?Nl:Bl;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var l2=s2(1),u2=s2(2);function fv(e,t){let r=t===1,n=r?l2:u2,o=r?a2:i2,a=r?vB:xB;return{match(i,s,l){let u=bB.exec(l);return u&&(s.list||!s.inline&&!s.simple)?n.exec(i=u[1]+i):null},order:1,parse(i,s,l){let u=r?+i[2]:void 0,c=i[0].replace(R3,` +`).match(o),d=!1;return{items:c.map(function(y,f){let h=a.exec(y)[0].length,g=new RegExp("^ {1,"+h+"}","gm"),_=y.replace(g,"").replace(a,""),v=f===c.length-1,x=_.indexOf(` + +`)!==-1||v&&d;d=x;let O=l.inline,C=l.list,I;l.list=!0,x?(l.inline=!1,I=_.replace(dv,` + +`)):(l.inline=!0,I=_.replace(dv,""));let P=s(I,l);return l.inline=O,l.list=C,P}),ordered:r,start:u}},render:(i,s,l)=>e(i.ordered?"ol":"ul",{key:l.key,start:i.type==="20"?i.start:void 0},i.items.map(function(u,c){return e("li",{key:c},s(u,l))}))}}var EB=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),wB=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,c2=[Hv,Gv,Wv,Kv,Xv,Yv,Qv,Zv,a2,l2,i2,u2],SB=[...c2,/^[^\n]+(?: \n|\n{2,})/,kl,Rl];function AB(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function TB(e){return lB.test(e)?"right":iB.test(e)?"center":sB.test(e)?"left":null}function yv(e,t,r){let n=r.inTable;r.inTable=!0;let o=t(e.trim(),r);r.inTable=n;let a=[[]];return o.forEach(function(i,s){i.type==="26"?s!==0&&s!==o.length-1&&a.push([]):(i.type!=="27"||o[s+1]!=null&&o[s+1].type!=="26"||(i.text=i.text.replace(aB,"")),a[a.length-1].push(i))}),a}function CB(e,t,r){r.inline=!0;let n=yv(e[1],t,r),o=e[2].replace(oB,"").split("|").map(TB),a=function(i,s,l){return i.trim().split(` +`).map(function(u){return yv(u,s,l)})}(e[3],t,r);return r.inline=!1,{align:o,cells:a,header:n,type:"25"}}function hv(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Gt(e){return function(t,r){return r.inline?e.exec(t):null}}function Wt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function Rt(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Xn(e){return function(t){return e.exec(t)}}function _B(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(a=>!c2.some(i=>i.test(a))&&(n+=a+` +`,a.trim()));let o=n.trimEnd();return o==""?null:[n,o]}function Qr(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function mv(e){return e.replace(gB,"$1")}function wa(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function OB(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function IB(e,t,r){return r.inline=!1,e(t,r)}var bl=(e,t,r)=>({children:wa(t,e[1],r)});function vl(){return{}}function xl(){return null}function PB(...e){return e.filter(Boolean).join(" ")}function El(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function kB(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||AB,t.namedCodesToUnicode=t.namedCodesToUnicode?br({},pv,t.namedCodesToUnicode):pv;let r=t.createElement||Fa;function n(f,h,...g){let _=El(t.overrides,`${f}.props`,{});return r(function(v,x){let O=El(x,v);return O?typeof O=="function"||typeof O=="object"&&"render"in O?O:El(x,`${v}.component`,v):v}(f,t.overrides),br({},h,_,{className:PB(h?.className,_.className)||void 0}),...g)}function o(f){f=f.replace(J3,"");let h=!1;t.forceInline?h=!0:t.forceBlock||(h=tB.test(f)===!1);let g=c(u(h?f:`${f.trimEnd().replace(hB,"")} + +`,{inline:h}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let _=t.wrapper||(h?"span":"div"),v;if(g.length>1||t.forceWrapper)v=g;else{if(g.length===1)return v=g[0],typeof v=="string"?n("span",{key:"outer"},v):v;v=null}return Fa(_,{key:"outer"},v)}function a(f){let h=f.match(P3);return h?h.reduce(function(g,_,v){let x=_.indexOf("=");if(x!==-1){let O=function(F){return F.indexOf("-")!==-1&&F.match(V3)===null&&(F=F.replace(Y3,function(D,U){return U.toUpperCase()})),F}(_.slice(0,x)).trim(),C=function(F){let D=F[0];return(D==='"'||D==="'")&&F.length>=2&&F[F.length-1]===D?F.slice(1,-1):F}(_.slice(x+1).trim()),I=cv[O]||O,P=g[I]=function(F,D){return F==="style"?D.split(/;\s?/).reduce(function(U,G){let X=G.slice(0,G.indexOf(":"));return U[X.trim().replace(/(-[a-z])/g,Q=>Q[1].toUpperCase())]=G.slice(X.length+1).trim(),U},{}):F==="href"||F==="src"?Qr(D):(D.match(H3)&&(D=D.slice(1,D.length-1)),D==="true"||D!=="false"&&D)}(O,C);typeof P=="string"&&(kl.test(P)||Rl.test(P))&&(g[I]=Oe(o(P.trim()),{key:v}))}else _!=="style"&&(g[cv[_]||_]=!0);return g},{}):null}let i=[],s={},l={0:{match:Rt(Hv),order:1,parse:(f,h,g)=>({children:h(f[0].replace(D3,""),g)}),render:(f,h,g)=>n("blockquote",{key:g.key},h(f.children,g))},1:{match:Xn(F3),order:1,parse:vl,render:(f,h,g)=>n("br",{key:g.key})},2:{match:Rt(j3),order:1,parse:vl,render:(f,h,g)=>n("hr",{key:g.key})},3:{match:Rt(Wv),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,h,g)=>n("pre",{key:g.key},n("code",br({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:Rt(Gv),order:0,parse:f=>({attrs:a(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Wt(N3),order:3,parse:f=>({text:f[2]}),render:(f,h,g)=>n("code",{key:g.key},f.text)},6:{match:Rt(q3),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:xl},7:{match:Gt(M3),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,h,g)=>n("a",{key:g.key,href:Qr(f.target)},n("sup",{key:g.key},f.text))},8:{match:Gt($3),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,h,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:Rt(t.enforceAtxHeadings?Yv:Kv),order:1,parse:(f,h,g)=>({children:wa(h,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,h,g)=>n(`h${f.level}`,{id:f.id,key:g.key},h(f.children,g))},10:{match:Rt(Xv),order:0,parse:(f,h,g)=>({children:wa(h,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:Xn(kl),order:1,parse(f,h,g){let[,_]=f[3].match(mB),v=new RegExp(`^${_}`,"gm"),x=f[3].replace(v,""),O=(C=x,SB.some(D=>D.test(C))?IB:wa);var C;let I=f[1].toLowerCase(),P=I3.indexOf(I)!==-1,F={attrs:a(f[2]),noInnerParse:P,tag:(P?I:f[1]).trim()};return g.inAnchor=g.inAnchor||I==="a",P?F.text=f[3]:F.children=O(h,x,g),g.inAnchor=!1,F},render:(f,h,g)=>n(f.tag,br({key:g.key},f.attrs),f.text||h(f.children,g))},13:{match:Xn(Rl),order:1,parse:f=>({attrs:a(f[2]||""),tag:f[1].trim()}),render:(f,h,g)=>n(f.tag,br({},f.attrs,{key:g.key}))},12:{match:Xn(Qv),order:1,parse:()=>({}),render:xl},14:{match:Wt(wB),order:1,parse:f=>({alt:f[1],target:mv(f[2]),title:f[3]}),render:(f,h,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Qr(f.target)})},15:{match:Gt(EB),order:3,parse:(f,h,g)=>({children:OB(h,f[1],g),target:mv(f[2]),title:f[3]}),render:(f,h,g)=>n("a",{key:g.key,href:Qr(f.target),title:f.title},h(f.children,g))},16:{match:Gt(K3),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,h)=>h.inAnchor?null:Gt(G3)(f,h),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Gt(W3),order:0,parse(f){let h=f[1],g=f[1];return k3.test(g)||(g="mailto:"+g),{children:[{text:h.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:fv(n,1),33:fv(n,2),19:{match:Rt(B3),order:3,parse:vl,render:()=>` +`},21:{match:_B,order:3,parse:bl,render:(f,h,g)=>n("p",{key:g.key},h(f.children,g))},22:{match:Gt(X3),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:xl},23:{match:Wt(Q3),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,h,g)=>s[f.ref]?n("img",{key:g.key,alt:f.alt,src:Qr(s[f.ref].target),title:s[f.ref].title}):null},24:{match:Gt(Z3),order:0,parse:(f,h,g)=>({children:h(f[1],g),fallbackChildren:h(f[0].replace(eB,"\\$1"),g),ref:f[2]}),render:(f,h,g)=>s[f.ref]?n("a",{key:g.key,href:Qr(s[f.ref].target),title:s[f.ref].title},h(f.children,g)):n("span",{key:g.key},h(f.fallbackChildren,g))},25:{match:Rt(Zv),order:1,parse:CB,render:(f,h,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(_,v){return n("th",{key:v,style:hv(f,v)},h(_,g))}))),n("tbody",null,f.cells.map(function(_,v){return n("tr",{key:v},_.map(function(x,O){return n("td",{key:O,style:hv(f,O)},h(x,g))}))})))},26:{match:function(f,h){return h.inTable?(h.inline=!0,nB.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Xn(yB),order:4,parse:f=>({text:f[0].replace(z3,(h,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:h)}),render:f=>f.text},28:{match:Wt(uB),order:2,parse:(f,h,g)=>({children:h(f[2],g)}),render:(f,h,g)=>n("strong",{key:g.key},h(f.children,g))},29:{match:Wt(cB),order:3,parse:(f,h,g)=>({children:h(f[2],g)}),render:(f,h,g)=>n("em",{key:g.key},h(f.children,g))},30:{match:Wt(fB),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Wt(pB),order:3,parse:bl,render:(f,h,g)=>n("mark",{key:g.key},h(f.children,g))},32:{match:Wt(dB),order:3,parse:bl,render:(f,h,g)=>n("del",{key:g.key},h(f.children,g))}};t.disableParsingRawHTML===!0&&(delete l[11],delete l[13]);let u=function(f){let h=Object.keys(f);function g(_,v){let x=[],O="";for(;_;){let C=0;for(;Cx(g,_,v),g,_,v):x(g,_,v)}}(l,t.renderRule),function f(h,g={}){if(Array.isArray(h)){let _=g.key,v=[],x=!1;for(let O=0;O{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var i,s,l={},u=Object.keys(o);for(s=0;s=0||(l[i]=o[i]);return l}(e,O3);return Oe(kB(t,r),n)},DB=gn(qv(),1),FB=Object.create,p2=Object.defineProperty,jB=Object.getOwnPropertyDescriptor,d2=Object.getOwnPropertyNames,NB=Object.getPrototypeOf,BB=Object.prototype.hasOwnProperty,ct=(e,t)=>function(){return t||(0,e[d2(e)[0]])((t={exports:{}}).exports,t),t.exports},LB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of d2(t))!BB.call(e,o)&&o!==r&&p2(e,o,{get:()=>t[o],enumerable:!(n=jB(t,o))||n.enumerable});return e},Ll=(e,t,r)=>(r=e!=null?FB(NB(e)):{},LB(t||!e||!e.__esModule?p2(r,"default",{value:e,enumerable:!0}):r,e)),qB=gn(qv(),1),f2=ct({"node_modules/has-symbols/shams.js"(e,t){t.exports=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 a=42;r[n]=a;for(n 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 i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0}}}),y2=ct({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=f2();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),MB=ct({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||o.call(s)!==a)throw new TypeError(r+s);for(var l=n.call(arguments,1),u,c=function(){if(this instanceof u){var g=s.apply(this,l.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,l.concat(n.call(arguments)))},d=Math.max(0,s.length-l.length),y=[],f=0;f"u"?r:d(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?d([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":y,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?d(d([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c?r:d(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c?r:d(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?d(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":u,"%TypedArray%":f,"%TypeError%":a,"%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%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function Q(V){var R;if(V==="%AsyncFunction%")R=i("async function () {}");else if(V==="%GeneratorFunction%")R=i("function* () {}");else if(V==="%AsyncGeneratorFunction%")R=i("async function* () {}");else if(V==="%AsyncGenerator%"){var q=Q("%AsyncGeneratorFunction%");q&&(R=q.prototype)}else if(V==="%AsyncIteratorPrototype%"){var M=Q("%AsyncGenerator%");M&&(R=d(M.prototype))}return h[V]=R,R},_={"%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"]},v=ql(),x=UB(),O=v.call(Function.call,Array.prototype.concat),C=v.call(Function.apply,Array.prototype.splice),I=v.call(Function.call,String.prototype.replace),P=v.call(Function.call,String.prototype.slice),F=v.call(Function.call,RegExp.prototype.exec),D=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,G=function(Q){var V=P(Q,0,1),R=P(Q,-1);if(V==="%"&&R!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(R==="%"&&V!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var q=[];return I(Q,D,function(M,Y,te,ne){q[q.length]=te?I(ne,U,"$1"):Y||M}),q},X=function(Q,V){var R=Q,q;if(x(_,R)&&(q=_[R],R="%"+q[0]+"%"),x(h,R)){var M=h[R];if(M===y&&(M=g(R)),typeof M>"u"&&!V)throw new a("intrinsic "+Q+" exists, but is not available. Please file an issue!");return{alias:q,name:R,value:M}}throw new n("intrinsic "+Q+" does not exist!")};t.exports=function(Q,V){if(typeof Q!="string"||Q.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof V!="boolean")throw new a('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,Q)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var R=G(Q),q=R.length>0?R[0]:"",M=X("%"+q+"%",V),Y=M.name,te=M.value,ne=!1,re=M.alias;re&&(q=re[0],C(R,O([0,1],re)));for(var Z=1,ae=!0;Z=R.length){var we=s(te,le);ae=!!we,ae&&"get"in we&&!("originalValue"in we.get)?te=we.get:te=te[le]}else ae=x(te,le),te=te[le];ae&&!ne&&(h[Y]=te)}}return te}}}),JB=ct({"node_modules/call-bind/index.js"(e,t){var r=ql(),n=h2(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),s=n("%Object.getOwnPropertyDescriptor%",!0),l=n("%Object.defineProperty%",!0),u=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(d){var y=i(r,a,arguments);if(s&&l){var f=s(y,"length");f.configurable&&l(y,"length",{value:1+u(0,d.length-(arguments.length-1))})}return y};var c=function(){return i(r,o,arguments)};l?l(t.exports,"apply",{value:c}):t.exports.apply=c}}),$B=ct({"node_modules/call-bind/callBound.js"(e,t){var r=h2(),n=JB(),o=n(r("String.prototype.indexOf"));t.exports=function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s}}}),zB=ct({"node_modules/has-tostringtag/shams.js"(e,t){var r=f2();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),VB=ct({"node_modules/is-regex/index.js"(e,t){var r=$B(),n=zB()(),o,a,i,s;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},l=function(){throw i},s={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=l));var l,u=r("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,d="[object RegExp]";t.exports=n?function(y){if(!y||typeof y!="object")return!1;var f=c(y,"lastIndex"),h=f&&o(f,"value");if(!h)return!1;try{a(y,s)}catch(g){return g===i}}:function(y){return!y||typeof y!="object"&&typeof y!="function"?!1:u(y)===d}}}),HB=ct({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),GB=ct({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=y2()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:a.test(o.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var o,a,i}});Ll(VB());Ll(HB());Ll(GB());var WB=typeof window=="object"&&window&&window.Object===Object&&window,KB=WB,YB=typeof self=="object"&&self&&self.Object===Object&&self,XB=KB||YB||Function("return this")(),Ml=XB,QB=Ml.Symbol,tn=QB,m2=Object.prototype,ZB=m2.hasOwnProperty,eL=m2.toString,Qn=tn?tn.toStringTag:void 0;function tL(e){var t=ZB.call(e,Qn),r=e[Qn];try{e[Qn]=void 0;var n=!0}catch{}var o=eL.call(e);return n&&(t?e[Qn]=r:delete e[Qn]),o}var rL=tL,nL=Object.prototype,oL=nL.toString;function aL(e){return oL.call(e)}var iL=aL,sL="[object Null]",lL="[object Undefined]",gv=tn?tn.toStringTag:void 0;function uL(e){return e==null?e===void 0?lL:sL:gv&&gv in Object(e)?rL(e):iL(e)}var cL=uL,bv=tn?tn.prototype:void 0;bv&&bv.toString;function pL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var g2=pL,dL="[object AsyncFunction]",fL="[object Function]",yL="[object GeneratorFunction]",hL="[object Proxy]";function mL(e){if(!g2(e))return!1;var t=cL(e);return t==fL||t==yL||t==dL||t==hL}var gL=mL,bL=Ml["__core-js_shared__"],wl=bL,vv=function(){var e=/[^.]+$/.exec(wl&&wl.keys&&wl.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vL(e){return!!vv&&vv in e}var xL=vL,EL=Function.prototype,wL=EL.toString;function SL(e){if(e!=null){try{return wL.call(e)}catch{}try{return e+""}catch{}}return""}var AL=SL,TL=/[\\^$.*+?()[\]{}|]/g,CL=/^\[object .+?Constructor\]$/,_L=Function.prototype,OL=Object.prototype,IL=_L.toString,PL=OL.hasOwnProperty,kL=RegExp("^"+IL.call(PL).replace(TL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function RL(e){if(!g2(e)||xL(e))return!1;var t=gL(e)?kL:CL;return t.test(AL(e))}var DL=RL;function FL(e,t){return e?.[t]}var jL=FL;function NL(e,t){var r=jL(e,t);return DL(r)?r:void 0}var b2=NL;function BL(e,t){return e===t||e!==e&&t!==t}var LL=BL,qL=b2(Object,"create"),to=qL;function ML(){this.__data__=to?to(null):{},this.size=0}var UL=ML;function JL(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var $L=JL,zL="__lodash_hash_undefined__",VL=Object.prototype,HL=VL.hasOwnProperty;function GL(e){var t=this.__data__;if(to){var r=t[e];return r===zL?void 0:r}return HL.call(t,e)?t[e]:void 0}var WL=GL,KL=Object.prototype,YL=KL.hasOwnProperty;function XL(e){var t=this.__data__;return to?t[e]!==void 0:YL.call(t,e)}var QL=XL,ZL="__lodash_hash_undefined__";function eq(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=to&&t===void 0?ZL:t,this}var tq=eq;function rn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var dq=pq;function fq(e,t){var r=this.__data__,n=Oa(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var yq=fq;function nn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iLq(e).replace(/\n\s*/g,"").trim());var qq=or({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),Mq=or({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,i,s=!0,l=" ";function u(C,I){var P=I.appendChild(d(C));if(C.children.length){var F=y(C.isCollapsed);C.children.forEach(function(D){u(D,F)}),P.appendChild(F)}}function c(C,I){var P=!1,F=y(P);if(I.forEach(function(D){u(D,F)}),i=C||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),I.length===0?i:i.appendChild(F)}function d(C){var I=document.createElement("li"),P=document.createElement("a");return r.listItemClass&&I.setAttribute("class",r.listItemClass),r.onClick&&(P.onclick=r.onClick),r.includeTitleTags&&P.setAttribute("title",C.textContent),r.includeHtml&&C.childNodes.length?n.call(C.childNodes,function(F){P.appendChild(F.cloneNode(!0))}):P.textContent=C.textContent,P.setAttribute("href",r.basePath+"#"+C.id),P.setAttribute("class",r.linkClass+l+"node-name--"+C.nodeName+l+r.extraLinkClasses),I.appendChild(P),I}function y(C){var I=r.orderedList?"ol":"ul",P=document.createElement(I),F=r.listClass+l+r.extraListClasses;return C&&(F=F+l+r.collapsibleClass,F=F+l+r.isCollapsedClass),P.setAttribute("class",F),P}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||a.scrollTop;var I=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),C>r.fixedSidebarOffset?I.className.indexOf(r.positionFixedClass)===-1&&(I.className+=l+r.positionFixedClass):I.className=I.className.replace(l+r.positionFixedClass,"")}function h(C){var I=0;return C!==null&&(I=C.offsetTop,r.hasInnerContainers&&(I+=h(C.offsetParent))),I}function g(C,I){return C&&C.className!==I&&(C.className=I),C}function _(C){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var I;I=document.querySelector(r.scrollContainer).scrollTop}else I=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&f();var P=C,F;if(s&&i!==null&&P.length>0){o.call(P,function(R,q){if(h(R)>I+r.headingsOffset+10){var M=q===0?q:q-1;return F=P[M],!0}else if(q===P.length-1)return F=P[P.length-1],!0});var D=i.querySelector("."+r.activeLinkClass),U=i.querySelector("."+r.linkClass+".node-name--"+F.nodeName+'[href="'+r.basePath+"#"+F.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(D===U)return;var G=i.querySelectorAll("."+r.linkClass);n.call(G,function(R){g(R,R.className.replace(l+r.activeLinkClass,""))});var X=i.querySelectorAll("."+r.listItemClass);n.call(X,function(R){g(R,R.className.replace(l+r.activeListItemClass,""))}),U&&U.className.indexOf(r.activeLinkClass)===-1&&(U.className+=l+r.activeLinkClass);var Q=U&&U.parentNode;Q&&Q.className.indexOf(r.activeListItemClass)===-1&&(Q.className+=l+r.activeListItemClass);var V=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(V,function(R){R.className.indexOf(r.isCollapsedClass)===-1&&(R.className+=l+r.isCollapsedClass)}),U&&U.nextSibling&&U.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(U.nextSibling,U.nextSibling.className.replace(l+r.isCollapsedClass,"")),v(U&&U.parentNode.parentNode)}}function v(C){return C&&C.className.indexOf(r.collapsibleClass)!==-1&&C.className.indexOf(r.isCollapsedClass)!==-1?(g(C,C.className.replace(l+r.isCollapsedClass,"")),v(C.parentNode.parentNode)):C}function x(C){var I=C.target||C.srcElement;typeof I.className!="string"||I.className.indexOf(r.linkClass)===-1||(s=!1)}function O(){s=!0}return{enableTocAnimation:O,disableTocAnimation:x,render:c,updateToc:_}}}}),Uq=or({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(d){return d[d.length-1]}function a(d){return+d.nodeName.toUpperCase().replace("H","")}function i(d){try{return d instanceof window.HTMLElement||d instanceof window.parent.HTMLElement}catch{return d instanceof window.HTMLElement}}function s(d){if(!i(d))return d;if(r.ignoreHiddenElements&&(!d.offsetHeight||!d.offsetParent))return null;let y=d.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(d.innerText)):(d.innerText||d.textContent).trim());var f={id:d.id,children:[],nodeName:d.nodeName,headingLevel:a(d),textContent:y};return r.includeHtml&&(f.childNodes=d.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,d):f}function l(d,y){for(var f=s(d),h=f.headingLevel,g=y,_=o(g),v=_?_.headingLevel:0,x=h-v;x>0&&(_=o(g),!(_&&h===_.headingLevel));)_&&_.children!==void 0&&(g=_.children),x--;return h>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function u(d,y){var f=y;r.ignoreSelector&&(f=y.split(",").map(function(h){return h.trim()+":not("+r.ignoreSelector+")"}));try{return d.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function c(d){return n.call(d,function(y,f){var h=s(f);return h&&l(h,y.nest),y},{nest:[]})}return{nestHeadingsArray:c,selectHeadings:u}}}}),Jq=or({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),$q=or({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,i=location.hash?u(location.href):location.href;s();function s(){document.body.addEventListener("click",d,!1);function d(y){!l(y.target)||y.target.className.indexOf("no-smooth-scroll")>-1||y.target.href.charAt(y.target.href.length-2)==="#"&&y.target.href.charAt(y.target.href.length-1)==="!"||y.target.className.indexOf(n.linkClass)===-1||r(y.target.hash,{duration:o,offset:a,callback:function(){c(y.target.hash)}})}}function l(d){return d.tagName.toLowerCase()==="a"&&(d.hash.length>0||d.href.charAt(d.href.length-1)==="#")&&(u(d.href)===i||u(d.href)+"#"===i)}function u(d){return d.slice(0,d.lastIndexOf("#"))}function c(d){var y=document.getElementById(d.substring(1));y&&(/^(?:a|select|input|button|textarea)$/i.test(y.tagName)||(y.tabIndex=-1),y.focus())}}function r(n,o){var a=window.pageYOffset,i={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||h},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),l=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,u=typeof i.duration=="function"?i.duration(l):i.duration,c,d;requestAnimationFrame(function(g){c=g,y(g)});function y(g){d=g-c,window.scrollTo(0,i.easing(d,a,l,u)),d"u"&&!d)return;var y,f=Object.prototype.hasOwnProperty;function h(){for(var x={},O=0;O({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:ve(.3,e.color.defaultText),fontSize:e.typography.size.s2})),x2=e=>E.createElement(Vq,{...e,className:"docblock-emptyblock sb-unstyled"}),Hq=W(so)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Gq=W.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),va=W.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Fu}`]:{margin:0}})),Wq=()=>E.createElement(Gq,null,E.createElement(va,null),E.createElement(va,{style:{width:"80%"}}),E.createElement(va,{style:{width:"30%"}}),E.createElement(va,{style:{width:"80%"}})),Kq=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...i})=>{let{typography:s}=ri();if(e)return E.createElement(Wq,null);if(t)return E.createElement(x2,null,t);let l=E.createElement(Hq,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof o>"u")return l;let u=o?ti.dark:ti.light;return E.createElement(Ru,{theme:Du({...u,fontCode:s.fonts.mono,fontBase:s.fonts.base})},l)},Ne=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Jl=600;W.h1(Pr,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Jl}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}}));W.h2(Pr,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Jl}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ve(.25,e.color.defaultText)}));W.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ve(.1,e.color.defaultText):ve(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[Ne("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[Ne("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[Ne("div")]:t,[Ne("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[Ne("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[Ne("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[Ne("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[Ne("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[Ne("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[Ne("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[Ne("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[Ne("img")]:{maxWidth:"100%"},[Ne("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[Ne("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[Ne("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[Ne("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[Ne("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[Ne("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[Ne("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}});W.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Jl}px)`]:{}}));var Pa=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),Yq=W(Ma)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Xq=W.div({display:"flex",alignItems:"center",gap:4}),Qq=W.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Zq=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>E.createElement(Yq,{...a},E.createElement(Xq,{key:"left"},e?[1,2,3].map(i=>E.createElement(Qq,{key:i})):E.createElement(E.Fragment,null,E.createElement(ht,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},E.createElement(Vu,null)),E.createElement(ht,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},E.createElement(Hu,null)),E.createElement(ht,{key:"zoomreset",onClick:i=>{i.preventDefault(),o()},title:"Reset zoom"},E.createElement(Gu,null))))),eM=vn({scale:1});W.strong(({theme:e})=>({color:e.color.orange}));var tM=W.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),Ev=W(Kq)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":vt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":vt(.05,e.background.content)}})),rM=W.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Pa(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),nM=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:E.createElement(Ev,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:E.createElement(Ev,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function oM(e){if(Ql.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var aM=W(Zq)({position:"absolute",top:0,left:0,right:0,height:40}),iM=W.div({overflow:"hidden",position:"relative"}),sM=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:i=!1,additionalActions:s,className:l,layout:u="padded",...c})=>{let[d,y]=he(i),{source:f,actionItem:h}=nM(o,d,y),[g,_]=he(1),v=[l].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),x=o?[h]:[],[O,C]=he(s?[...s]:[]),I=[...x,...O],{window:P}=xt,F=$e(async U=>{let{createCopyToClipboardFunction:G}=await Promise.resolve().then(()=>(lo(),au));G()},[]),D=U=>{let G=P.getSelection();G&&G.type==="Range"||(U.preventDefault(),O.filter(X=>X.title==="Copied").length===0&&F(f.props.code).then(()=>{C([...O,{title:"Copied",onClick:()=>{}}]),P.setTimeout(()=>C(O.filter(X=>X.title!=="Copied")),1500)}))};return E.createElement(rM,{withSource:o,withToolbar:a,...c,className:v.join(" ")},a&&E.createElement(aM,{isLoading:e,border:!0,zoom:U=>_(g*U),resetZoom:()=>_(1),storyId:oM(n),baseUrl:"./iframe.html"}),E.createElement(eM.Provider,{value:{scale:g}},E.createElement(iM,{className:"docs-story",onCopyCapture:o&&D},E.createElement(tM,{isColumn:t||!Array.isArray(n),columns:r,layout:u},E.createElement(Va.Element,{scale:g},Array.isArray(n)?n.map((U,G)=>E.createElement("div",{key:G},U)):E.createElement("div",null,n))),E.createElement(ja,{actionItems:I}))),o&&d&&f)};W(sM)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var lM=W.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Ir({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),uM=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:E.createElement(E.Fragment,null,E.createElement(lM,null,E.createElement("tbody",null,n&&E.createElement("tr",{key:"deprecated"},E.createElement("td",{colSpan:2},E.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>E.createElement("tr",{key:a.name},E.createElement("td",null,E.createElement("code",null,a.name)),E.createElement("td",null,a.description))),o&&E.createElement("tr",{key:"returns"},E.createElement("td",null,E.createElement("code",null,"Returns")),E.createElement("td",null,e.returns.description)))))},Dl=8,wv=W.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),cM=W.span(Ir,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),pM=W.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),dM=W.div(Ir,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),fM=W.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),yM=W(Lu)({marginLeft:4}),hM=W(ai)({marginLeft:4}),mM=()=>E.createElement("span",null,"-"),E2=({text:e,simple:t})=>E.createElement(cM,{simple:t},e),gM=(0,DB.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),bM=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return(0,Bv.default)(t)},Sv=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Dl)),r.map(n=>E.createElement(E2,{key:n,text:n===""?'""':n}))},vM=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=he(!1),[i,s]=he(t||!1);if(r==null)return null;let l=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(l))return E.createElement(E2,{text:l});let u=bM(l),c=u.length;return c>Dl?E.createElement(wv,{isExpanded:i},Sv(u,i),E.createElement(pM,{onClick:()=>s(!i)},i?"Show less...":`Show ${c-Dl} more...`)):E.createElement(wv,null,Sv(u))}return E.createElement(za,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:u=>{a(u)},tooltip:E.createElement(fM,{width:gM(n)},E.createElement(so,{language:"jsx",format:!1},n))},E.createElement(dM,{className:"sbdocs-expandable"},E.createElement("span",null,l),o?E.createElement(yM,null):E.createElement(hM,null)))},Sl=({value:e,initialExpandedArgs:t})=>e==null?E.createElement(mM,null):E.createElement(vM,{value:e,initialExpandedArgs:t}),xM=W.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ve(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${ba(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${ba(.05,e.appBorderColor)} 0 0 0 2px inset`,color:ba(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${ba(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),EM=e=>e==="true",wM=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{let i=$e(()=>r(!1),[r]),s=!!a?.table?.readonly;if(t===void 0)return E.createElement(Bt,{variant:"outline",size:"medium",id:bn(e),onClick:i,disabled:s},"Set boolean");let l=tt(e),u=typeof t=="string"?EM(t):t;return E.createElement(xM,{"aria-disabled":s,htmlFor:l,"aria-label":e},E.createElement("input",{id:l,type:"checkbox",onChange:c=>r(c.target.checked),checked:u,role:"switch",disabled:s,name:e,onBlur:n,onFocus:o}),E.createElement("span",{"aria-hidden":"true"},"False"),E.createElement("span",{"aria-hidden":"true"},"True"))},SM=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},AM=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},TM=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},CM=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},Av=W(dt.Input)(({readOnly:e})=>({opacity:e?.5:1})),_M=W.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),OM=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{let[i,s]=he(!0),l=Xe(),u=Xe(),c=!!a?.table?.readonly;ze(()=>{i!==!1&&(l&&l.current&&(l.current.value=t?TM(t):""),u&&u.current&&(u.current.value=t?CM(t):""))},[t]);let d=h=>{if(!h.target.value)return r();let g=SM(h.target.value),_=new Date(t);_.setFullYear(g.getFullYear(),g.getMonth(),g.getDate());let v=_.getTime();v&&r(v),s(!!v)},y=h=>{if(!h.target.value)return r();let g=AM(h.target.value),_=new Date(t);_.setHours(g.getHours()),_.setMinutes(g.getMinutes());let v=_.getTime();v&&r(v),s(!!v)},f=tt(e);return E.createElement(_M,null,E.createElement(Av,{type:"date",max:"9999-12-31",ref:l,id:`${f}-date`,name:`${f}-date`,readOnly:c,onChange:d,onFocus:n,onBlur:o}),E.createElement(Av,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:u,onChange:y,readOnly:c,onFocus:n,onBlur:o}),i?null:E.createElement("div",null,"invalid"))},IM=W.label({display:"flex"}),PM=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},kM=W(dt.Input)(({readOnly:e})=>({opacity:e?.5:1})),RM=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:i,onFocus:s,argType:l})=>{let[u,c]=he(typeof t=="number"?t:""),[d,y]=he(!1),[f,h]=he(null),g=!!l?.table?.readonly,_=$e(O=>{c(O.target.value);let C=parseFloat(O.target.value);Number.isNaN(C)?h(new Error(`'${O.target.value}' is not a number`)):(r(C),h(null))},[r,h]),v=$e(()=>{c("0"),r(0),y(!0)},[y]),x=Xe(null);return ze(()=>{d&&x.current&&x.current.select()},[d]),ze(()=>{u!==(typeof t=="number"?t:"")&&c(t)},[t]),t===void 0?E.createElement(Bt,{variant:"outline",size:"medium",id:bn(e),onClick:v,disabled:g},"Set number"):E.createElement(IM,null,E.createElement(kM,{ref:x,id:tt(e),type:"number",onChange:_,size:"flex",placeholder:"Edit number...",value:u,valid:f?"error":null,autoFocus:d,readOnly:g,name:e,min:n,max:o,step:a,onFocus:s,onBlur:i}))},w2=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},Fl=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],S2=(e,t)=>e&&t&&e.map(r=>t[r]),DM=W.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),FM=W.span({"[aria-readonly=true] &":{opacity:.5}}),jM=W.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Tv=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return Bo.warn(`Checkbox with no options: ${e}`),E.createElement(E.Fragment,null,"-");let i=Fl(r,t),[s,l]=he(i),u=!!a?.table?.readonly,c=y=>{let f=y.target.value,h=[...s];h.includes(f)?h.splice(h.indexOf(f),1):h.push(f),n(S2(h,t)),l(h)};ze(()=>{l(Fl(r,t))},[r]);let d=tt(e);return E.createElement(DM,{"aria-readonly":u,isInline:o},Object.keys(t).map((y,f)=>{let h=`${d}-${f}`;return E.createElement(jM,{key:h,htmlFor:h},E.createElement("input",{type:"checkbox",disabled:u,id:h,name:h,value:y,onChange:c,checked:s?.includes(y)}),E.createElement(FM,null,y))}))},NM=W.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),BM=W.span({"[aria-readonly=true] &":{opacity:.5}}),LM=W.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Cv=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return Bo.warn(`Radio with no options: ${e}`),E.createElement(E.Fragment,null,"-");let i=w2(r,t),s=tt(e),l=!!a?.table?.readonly;return E.createElement(NM,{"aria-readonly":l,isInline:o},Object.keys(t).map((u,c)=>{let d=`${s}-${c}`;return E.createElement(LM,{key:d,htmlFor:d},E.createElement("input",{type:"radio",id:d,name:s,disabled:l,value:u,onChange:y=>n(t[y.currentTarget.value]),checked:u===i}),E.createElement(BM,null,u))}))},qM={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},A2=W.select(qM,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),T2=W.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),_v="Choose option...",MM=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=u=>{n(r[u.currentTarget.value])},i=w2(t,r)||_v,s=tt(e),l=!!o?.table?.readonly;return E.createElement(T2,null,E.createElement(ai,null),E.createElement(A2,{disabled:l,id:s,value:i,onChange:a},E.createElement("option",{key:"no-selection",disabled:!0},_v),Object.keys(r).map(u=>E.createElement("option",{key:u,value:u},u))))},UM=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=u=>{let c=Array.from(u.currentTarget.options).filter(d=>d.selected).map(d=>d.value);n(S2(c,r))},i=Fl(t,r),s=tt(e),l=!!o?.table?.readonly;return E.createElement(T2,null,E.createElement(A2,{disabled:l,id:s,multiple:!0,value:i,onChange:a},Object.keys(r).map(u=>E.createElement("option",{key:u,value:u},u))))},Ov=e=>{let{name:t,options:r}=e;return r?e.isMulti?E.createElement(UM,{...e}):E.createElement(MM,{...e}):(Bo.warn(`Select with no options: ${t}`),E.createElement(E.Fragment,null,"-"))},JM=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,$M={check:Tv,"inline-check":Tv,radio:Cv,"inline-radio":Cv,select:Ov,"multi-select":Ov},Zr=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?JM(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=$M[t];if(a)return E.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},$l="value",zM="key",VM="Error",HM="Object",GM="Array",WM="String",KM="Number",YM="Boolean",XM="Date",QM="Null",ZM="Undefined",e4="Function",t4="Symbol",C2="ADD_DELTA_TYPE",_2="REMOVE_DELTA_TYPE",O2="UPDATE_DELTA_TYPE";function vr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function I2(e,t){let r=vr(e),n=vr(t);return(r==="Function"||n==="Function")&&n!==r}var zl=class extends jt{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:a,inputRefValue:i}=this.state,s={};if(!t){if(!a.value)return;s.key=a.value}s.newValue=r(!1,n,o,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:i}=this.props,s=Oe(r,{onClick:this.onSubmit}),l=Oe(n,{onClick:e}),u=o($l,a,i),c=Oe(u,{placeholder:"Value",ref:this.refInputValue}),d=null;if(!t){let y=o(zM,a,i);d=Oe(y,{placeholder:"Key",ref:this.refInputKey})}return E.createElement("span",{className:"rejt-add-value-node"},d,c,l,s)}};zl.defaultProps={onlyValue:!1,addButtonElement:E.createElement("button",null,"+"),cancelButtonElement:E.createElement("button",null,"c")};var P2=class extends jt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:_2};n.splice(e,1),this.setState({data:n});let{onUpdate:l,onDeltaUpdate:u}=this.props;l(o[o.length-1],n),u(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(r[r.length-1],i),l({type:C2,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(i[i.length-1],a),c({type:O2,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:i,dataType:s,minusMenuElement:l}=this.props,{minus:u,collapsed:c}=i(e,t,r,n,s),d=a(e,t,r,n,s),y=Oe(l,{onClick:o,className:"rejt-minus-menu",style:u});return E.createElement("span",{className:"rejt-collapsed"},E.createElement("span",{className:"rejt-collapsed-text",style:c,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!d&&y)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:u,getStyle:c,dataType:d,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:_,minusMenuElement:v,plusMenuElement:x,beforeRemoveAction:O,beforeAddAction:C,beforeUpdateAction:I,logger:P,onSubmitValueParser:F}=this.props,{minus:D,plus:U,delimiter:G,ul:X,addForm:Q}=c(e,t,r,n,d),V=u(e,t,r,n,d),R=Oe(x,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:U}),q=Oe(v,{onClick:s,className:"rejt-minus-menu",style:D});return E.createElement("span",{className:"rejt-not-collapsed"},E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:G},"["),!o&&R,E.createElement("ul",{className:"rejt-not-collapsed-list",style:X},t.map((M,Y)=>E.createElement(ka,{key:Y,name:Y.toString(),data:M,keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveItem(Y),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:_,minusMenuElement:v,plusMenuElement:x,beforeRemoveAction:O,beforeAddAction:C,beforeUpdateAction:I,logger:P,onSubmitValueParser:F}))),!V&&o&&E.createElement("div",{className:"rejt-add-form",style:Q},E.createElement(zl,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:y,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:F})),E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:G},"]"),!V&&q)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=i(e,r,n,o,a);return E.createElement("div",{className:"rejt-array-node"},E.createElement("span",{onClick:this.handleCollapseMode},E.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};P2.defaultProps={keyPath:[],deep:0,minusMenuElement:E.createElement("span",null," - "),plusMenuElement:E.createElement("span",null," + ")};var k2=class extends jt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{I2(t,l)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:u,editButtonElement:c,cancelButtonElement:d,textareaElementGenerator:y,minusMenuElement:f,keyPath:h}=this.props,g=u(e,i,n,o,l),_=null,v=null,x=s(e,i,n,o,l);if(r&&!x){let O=y($l,h,o,e,i,l),C=Oe(c,{onClick:this.handleEdit}),I=Oe(d,{onClick:this.handleCancelEdit}),P=Oe(O,{ref:this.refInput,defaultValue:i});_=E.createElement("span",{className:"rejt-edit-form",style:g.editForm},P," ",I,C),v=null}else{_=E.createElement("span",{className:"rejt-value",style:g.value,onClick:x?null:this.handleEditMode},t);let O=Oe(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});v=x?null:O}return E.createElement("li",{className:"rejt-function-value-node",style:g.li},E.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),_,v)}};k2.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:E.createElement("button",null,"e"),cancelButtonElement:E.createElement("button",null,"c"),minusMenuElement:E.createElement("span",null," - ")};var ka=class extends jt{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:a,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:_,plusMenuElement:v,beforeRemoveAction:x,beforeAddAction:O,beforeUpdateAction:C,logger:I,onSubmitValueParser:P}=this.props,F=()=>!0,D=vr(e);switch(D){case VM:return E.createElement(jl,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:F,dataType:D,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:_,plusMenuElement:v,beforeRemoveAction:x,beforeAddAction:O,beforeUpdateAction:C,logger:I,onSubmitValueParser:P});case HM:return E.createElement(jl,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:u,dataType:D,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:_,plusMenuElement:v,beforeRemoveAction:x,beforeAddAction:O,beforeUpdateAction:C,logger:I,onSubmitValueParser:P});case GM:return E.createElement(P2,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:u,dataType:D,getStyle:c,addButtonElement:d,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,textareaElementGenerator:g,minusMenuElement:_,plusMenuElement:v,beforeRemoveAction:x,beforeAddAction:O,beforeUpdateAction:C,logger:I,onSubmitValueParser:P});case WM:return E.createElement(Kt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case KM:return E.createElement(Kt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case YM:return E.createElement(Kt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case XM:return E.createElement(Kt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:F,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case QM:return E.createElement(Kt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case ZM:return E.createElement(Kt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});case e4:return E.createElement(k2,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:u,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:_,logger:I,onSubmitValueParser:P});case t4:return E.createElement(Kt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:F,dataType:D,getStyle:c,cancelButtonElement:y,editButtonElement:f,inputElementGenerator:h,minusMenuElement:_,logger:I,onSubmitValueParser:P});default:return null}}};ka.defaultProps={keyPath:[],deep:0};var jl=class extends jt{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:i}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(n[n.length-1],r),l({type:C2,keyPath:n,deep:o,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:_2};delete n[e],this.setState({data:n});let{onUpdate:l,onDeltaUpdate:u}=this.props;l(o[o.length-1],n),u(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(i[i.length-1],a),c({type:O2,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:i,getStyle:s,minusMenuElement:l}=this.props,{minus:u,collapsed:c}=s(e,n,t,r,i),d=Object.getOwnPropertyNames(n),y=a(e,n,t,r,i),f=Oe(l,{onClick:o,className:"rejt-minus-menu",style:u});return E.createElement("span",{className:"rejt-collapsed"},E.createElement("span",{className:"rejt-collapsed-text",style:c,onClick:this.handleCollapseMode},"{...}"," ",d.length," ",d.length===1?"key":"keys"),!y&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:u,getStyle:c,dataType:d,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:_,minusMenuElement:v,plusMenuElement:x,beforeRemoveAction:O,beforeAddAction:C,beforeUpdateAction:I,logger:P,onSubmitValueParser:F}=this.props,{minus:D,plus:U,addForm:G,ul:X,delimiter:Q}=c(e,t,r,n,d),V=Object.getOwnPropertyNames(t),R=u(e,t,r,n,d),q=Oe(x,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:U}),M=Oe(v,{onClick:s,className:"rejt-minus-menu",style:D}),Y=V.map(te=>E.createElement(ka,{key:te,name:te,data:t[te],keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveValue(te),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:u,getStyle:c,addButtonElement:y,cancelButtonElement:f,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:_,minusMenuElement:v,plusMenuElement:x,beforeRemoveAction:O,beforeAddAction:C,beforeUpdateAction:I,logger:P,onSubmitValueParser:F}));return E.createElement("span",{className:"rejt-not-collapsed"},E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},"{"),!R&&q,E.createElement("ul",{className:"rejt-not-collapsed-list",style:X},Y),!R&&a&&E.createElement("div",{className:"rejt-add-form",style:G},E.createElement(zl,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:y,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:F})),E.createElement("span",{className:"rejt-not-collapsed-delimiter",style:Q},"}"),!R&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=a(e,r,n,o,i);return E.createElement("div",{className:"rejt-object-node"},E.createElement("span",{onClick:this.handleCollapseMode},E.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};jl.defaultProps={keyPath:[],deep:0,minusMenuElement:E.createElement("span",null," - "),plusMenuElement:E.createElement("span",null," + ")};var Kt=class extends jt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{I2(t,l)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:u,editButtonElement:c,cancelButtonElement:d,inputElementGenerator:y,minusMenuElement:f,keyPath:h}=this.props,g=u(e,i,n,o,l),_=s(e,i,n,o,l),v=r&&!_,x=y($l,h,o,e,i,l),O=Oe(c,{onClick:this.handleEdit}),C=Oe(d,{onClick:this.handleCancelEdit}),I=Oe(x,{ref:this.refInput,defaultValue:JSON.stringify(i)}),P=Oe(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});return E.createElement("li",{className:"rejt-value-node",style:g.li},E.createElement("span",{className:"rejt-name",style:g.name},e," : "),v?E.createElement("span",{className:"rejt-edit-form",style:g.editForm},I," ",C,O):E.createElement("span",{className:"rejt-value",style:g.value,onClick:_?null:this.handleEditMode},String(t)),!_&&!v&&P)}};Kt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:E.createElement("button",null,"e"),cancelButtonElement:E.createElement("button",null,"c"),minusMenuElement:E.createElement("span",null," - ")};var r4={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},n4={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},o4={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function a4(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var R2=class extends jt{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElement:u,textareaElement:c,minusMenuElement:d,plusMenuElement:y,beforeRemoveAction:f,beforeAddAction:h,beforeUpdateAction:g,logger:_,onSubmitValueParser:v,fallback:x=null}=this.props,O=vr(e),C=o;vr(o)==="Boolean"&&(C=()=>o);let I=u;u&&vr(u)!=="Function"&&(I=()=>u);let P=c;return c&&vr(c)!=="Function"&&(P=()=>c),O==="Object"||O==="Array"?E.createElement("div",{className:"rejt-tree"},E.createElement(ka,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:C,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElementGenerator:I,textareaElementGenerator:P,minusMenuElement:d,plusMenuElement:y,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:h,beforeUpdateAction:g,logger:_,onSubmitValueParser:v})):x}};R2.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return r4;case"Array":return n4;default:return o4}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>a4(o),inputElement:()=>E.createElement("input",null),textareaElement:()=>E.createElement("textarea",null),fallback:null};var{window:i4}=xt,s4=W.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Al=W.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),l4=W(oi)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),u4=W($u)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),Iv=W.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),c4=W(ht)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),p4=W(dt.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),d4={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},f4=e=>{e.currentTarget.dispatchEvent(new i4.KeyboardEvent("keydown",d4))},y4=e=>{e.currentTarget.select()},h4=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),Pv=({name:e,value:t,onChange:r,argType:n})=>{let o=ri(),a=Nt(()=>t&&(0,Lv.default)(t),[t]),i=a!=null,[s,l]=he(!i),[u,c]=he(null),d=!!n?.table?.readonly,y=$e(O=>{try{O&&r(JSON.parse(O)),c(void 0)}catch(C){c(C)}},[r]),[f,h]=he(!1),g=$e(()=>{r({}),h(!0)},[h]),_=Xe(null);if(ze(()=>{f&&_.current&&_.current.select()},[f]),!i)return E.createElement(Bt,{disabled:d,id:bn(e),onClick:g},"Set object");let v=E.createElement(p4,{ref:_,id:tt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:O=>y(O.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:u?"error":null,readOnly:d}),x=Array.isArray(t)||typeof t=="object"&&t?.constructor===Object;return E.createElement(s4,{"aria-readonly":d},x&&E.createElement(c4,{onClick:O=>{O.preventDefault(),l(C=>!C)}},s?E.createElement(qu,null):E.createElement(Mu,null),E.createElement("span",null,"RAW")),s?v:E.createElement(R2,{readOnly:d||!x,isCollapsed:x?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:h4(o),cancelButtonElement:E.createElement(Al,{type:"button"},"Cancel"),editButtonElement:E.createElement(Al,{type:"submit"},"Save"),addButtonElement:E.createElement(Al,{type:"submit",primary:!0},"Save"),plusMenuElement:E.createElement(l4,null),minusMenuElement:E.createElement(u4,null),inputElement:(O,C,I,P)=>P?E.createElement(Iv,{onFocus:y4,onBlur:f4}):E.createElement(Iv,null),fallback:v}))},m4=W.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${vt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${vt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${tt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${tt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Le(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Le(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Le(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, + ${gr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${gr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Dt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Dt(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${vt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Dt(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${vt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${vt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${tt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${tt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Le(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Le(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, + ${gr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${gr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Dt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Dt(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${vt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${vt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${vt(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${tt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${tt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Le(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),ky=M.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),M9=M(ky)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),j9=M.div({display:"flex",alignItems:"center",width:"100%"});function $9(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var H9=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:u,onFocus:i})=>{let s=A=>{r(Z4(A.target.value))},p=t!==void 0,y=Qe(()=>$9(o),[o]);return m.createElement(j9,null,m.createElement(ky,null,n),m.createElement(q9,{id:Be(e),type:"range",onChange:s,name:e,value:t,min:n,max:a,step:o,onFocus:i,onBlur:u}),m.createElement(M9,{numberOFDecimalsPlaces:y,max:a},p?t.toFixed(y):"--"," / ",a))},U9=M.label({display:"flex"}),z9=M.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),G9=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o})=>{let u=A=>{r(A.target.value)},[i,s]=ne(!1),p=Ee(()=>{r(""),s(!0)},[s]);if(t===void 0)return m.createElement(xt,{variant:"outline",size:"medium",id:ur(e),onClick:p},"Set string");let y=typeof t=="string";return m.createElement(U9,null,m.createElement(He.Textarea,{id:Be(e),maxLength:o,onChange:u,size:"flex",placeholder:"Edit string...",autoFocus:i,valid:y?null:"error",name:e,value:y?t:"",onFocus:n,onBlur:a}),o&&m.createElement(z9,{isMaxed:t?.length===o},t?.length??0," / ",o))},V9=M(He.Input)({padding:10});function W9(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var K9=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=we(null);function o(u){if(!u.target.files)return;let i=Array.from(u.target.files).map(s=>URL.createObjectURL(s));e(i),W9(n)}return he(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),m.createElement(V9,{ref:a,id:Be(t),type:"file",name:t,multiple:!0,onChange:o,accept:r,size:"flex"})},Y9=Pu(()=>Promise.resolve().then(()=>(ay(),ny))),X9=e=>m.createElement(Ru,{fallback:m.createElement("div",null)},m.createElement(Y9,{...e})),J9={array:fy,object:fy,boolean:G4,color:X9,date:J4,number:e9,check:rr,"inline-check":rr,radio:rr,"inline-radio":rr,select:rr,"multi-select":rr,range:H9,text:G9,file:K9},hy=()=>m.createElement(m.Fragment,null,"-"),Q9=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:a,control:o}=e,[u,i]=ne(!1),[s,p]=ne({value:t});he(()=>{u||p({value:t})},[u,t]);let y=Ee(b=>(p({value:b}),r({[a]:b}),b),[r,a]),A=Ee(()=>i(!1),[]),g=Ee(()=>i(!0),[]);if(!o||o.disable){let b=o?.disable!==!0&&e?.type?.name!=="function";return n&&b?m.createElement(ct,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):m.createElement(hy,null)}let h={name:a,argType:e,value:s.value,onChange:y,onBlur:A,onFocus:g},E=J9[o.type]||hy;return m.createElement(E,{...h,...o,controlType:o.type})},Z9=M.span({fontWeight:"bold"}),eR=M.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),tR=M.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Ft({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),rR=M.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ie(.1,e.color.defaultText):ie(.2,e.color.defaultText),marginTop:t?4:0})),nR=M.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ie(.1,e.color.defaultText):ie(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),aR=M.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),oR=e=>e&&{summary:typeof e=="string"?e:e.name},Vn=e=>{let[t,r]=ne(!1),{row:n,updateArgs:a,compact:o,expandable:u,initialExpandedArgs:i}=e,{name:s,description:p}=n,y=n.table||{},A=y.type||oR(n.type),g=y.defaultValue||n.defaultValue,h=n.type?.required,E=p!=null&&p!=="";return m.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},m.createElement(aR,{expandable:u},m.createElement(Z9,null,s),h?m.createElement(eR,{title:"Required"},"*"):null),o?null:m.createElement("td",null,E&&m.createElement(tR,null,m.createElement(op,null,p)),y.jsDocTags!=null?m.createElement(m.Fragment,null,m.createElement(nR,{hasDescription:E},m.createElement(vu,{value:A,initialExpandedArgs:i})),m.createElement(O4,{tags:y.jsDocTags})):m.createElement(rR,{hasDescription:E},m.createElement(vu,{value:A,initialExpandedArgs:i}))),o?null:m.createElement("td",null,m.createElement(vu,{value:g,initialExpandedArgs:i})),a?m.createElement("td",null,m.createElement(Q9,{...e,isHovered:t})):null)},uR=M(oi)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ie(.25,e.color.defaultText):ie(.3,e.color.defaultText),border:"none",display:"inline-block"})),iR=M(ui)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ie(.25,e.color.defaultText):ie(.3,e.color.defaultText),border:"none",display:"inline-block"})),sR=M.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),lR=M.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),cR=M.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),dR=M.td(()=>({position:"relative"})),pR=M.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${tt(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),my=M.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Cu=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,u]=ne(n),i=e==="subsection"?cR:lR,s=r?.length||0,p=e==="subsection"?`${s} item${s!==1?"s":""}`:"",y=`${o?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return m.createElement(m.Fragment,null,m.createElement(pR,{title:y},m.createElement(i,{colSpan:1},m.createElement(my,{onClick:A=>u(!o),tabIndex:0},y),m.createElement(sR,null,o?m.createElement(uR,null):m.createElement(iR,null),t)),m.createElement(dR,{colSpan:a-1},m.createElement(my,{onClick:A=>u(!o),tabIndex:-1,style:{outline:"none"}},y),o?null:p)),o?r:null)},Wn=M.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Fe=M.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ye=M.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Se=[2,4,2,2],fR=()=>m.createElement(m.Fragment,null,m.createElement(Wn,null,m.createElement(Fe,{numColumn:Se[0]},m.createElement(ye,{width:"60%"})),m.createElement(Fe,{numColumn:Se[1]},m.createElement(ye,{width:"30%"})),m.createElement(Fe,{numColumn:Se[2]},m.createElement(ye,{width:"60%"})),m.createElement(Fe,{numColumn:Se[3]},m.createElement(ye,{width:"60%"}))),m.createElement(Wn,null,m.createElement(Fe,{numColumn:Se[0]},m.createElement(ye,{width:"60%"})),m.createElement(Fe,{numColumn:Se[1]},m.createElement(ye,{width:"80%"}),m.createElement(ye,{width:"30%"})),m.createElement(Fe,{numColumn:Se[2]},m.createElement(ye,{width:"60%"})),m.createElement(Fe,{numColumn:Se[3]},m.createElement(ye,{width:"60%"}))),m.createElement(Wn,null,m.createElement(Fe,{numColumn:Se[0]},m.createElement(ye,{width:"60%"})),m.createElement(Fe,{numColumn:Se[1]},m.createElement(ye,{width:"80%"}),m.createElement(ye,{width:"30%"})),m.createElement(Fe,{numColumn:Se[2]},m.createElement(ye,{width:"60%"})),m.createElement(Fe,{numColumn:Se[3]},m.createElement(ye,{width:"60%"}))),m.createElement(Wn,null,m.createElement(Fe,{numColumn:Se[0]},m.createElement(ye,{width:"60%"})),m.createElement(Fe,{numColumn:Se[1]},m.createElement(ye,{width:"80%"}),m.createElement(ye,{width:"30%"})),m.createElement(Fe,{numColumn:Se[2]},m.createElement(ye,{width:"60%"})),m.createElement(Fe,{numColumn:Se[3]},m.createElement(ye,{width:"60%"})))),hR=M.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),mR=M.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),gR=M.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),yR=({inAddonPanel:e})=>{let[t,r]=ne(!0);return he(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:m.createElement(hR,{inAddonPanel:e},m.createElement(na,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:m.createElement(m.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:m.createElement(mR,null,e&&m.createElement(m.Fragment,null,m.createElement(ct,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},m.createElement(hi,null)," Watch 5m video"),m.createElement(gR,null),m.createElement(ct,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(Ur,null)," Read docs")),!e&&m.createElement(ct,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement(Ur,null)," Learn how to set that up"))}))},bR=M.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ie(.25,e.color.defaultText):ie(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),ER=M(lt)(({theme:e})=>({margin:"-4px -12px -4px 0"})),AR=M.span({display:"flex",justifyContent:"space-between"}),vR={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},DR=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,u])=>{let{category:i,subcategory:s}=u?.table||{};if(i){let p=r.sections[i]||{ungrouped:[],subsections:{}};if(!s)p.ungrouped.push({key:o,...u});else{let y=p.subsections[s]||[];y.push({key:o,...u}),p.subsections[s]=y}r.sections[i]=p}else if(s){let p=r.ungroupedSubsections[s]||[];p.push({key:o,...u}),r.ungroupedSubsections[s]=p}else r.ungrouped.push({key:o,...u})});let n=vR[t],a=o=>n?Object.keys(o).reduce((u,i)=>({...u,[i]:o[i].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,u)=>({...o,[u]:{ungrouped:r.sections[u].ungrouped.sort(n),subsections:a(r.sections[u].subsections)}}),{})}},CR=(e,t,r)=>{try{return po(e,t,r)}catch(n){return fo.warn(n.message),!1}},Ny=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:u="none",isLoading:i}=e;if("error"in e){let{error:w}=e;return m.createElement(vy,null,w,"\xA0",m.createElement(ct,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},m.createElement(Ur,null)," Read the docs"))}if(i)return m.createElement(fR,null);let{rows:s,args:p,globals:y}="rows"in e&&e,A=DR((0,gy.default)(s,w=>!w?.table?.disable&&CR(w,p||{},y||{})),u),g=A.ungrouped.length===0,h=Object.entries(A.sections).length===0,E=Object.entries(A.ungroupedSubsections).length===0;if(g&&h&&E)return m.createElement(yR,{inAddonPanel:a});let b=1;t&&(b+=1),n||(b+=2);let x=Object.keys(A.sections).length>0,B={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return m.createElement(ua,null,m.createElement(bR,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},m.createElement("thead",{className:"docblock-argstable-head"},m.createElement("tr",null,m.createElement("th",null,m.createElement("span",null,"Name")),n?null:m.createElement("th",null,m.createElement("span",null,"Description")),n?null:m.createElement("th",null,m.createElement("span",null,"Default")),t?m.createElement("th",null,m.createElement(AR,null,"Control"," ",!i&&r&&m.createElement(ER,{onClick:()=>r(),title:"Reset controls"},m.createElement(fi,{"aria-hidden":!0})))):null)),m.createElement("tbody",{className:"docblock-argstable-body"},A.ungrouped.map(w=>m.createElement(Vn,{key:w.key,row:w,arg:p&&p[w.key],...B})),Object.entries(A.ungroupedSubsections).map(([w,I])=>m.createElement(Cu,{key:w,label:w,level:"subsection",colSpan:b},I.map(L=>m.createElement(Vn,{key:L.key,row:L,arg:p&&p[L.key],expandable:x,...B})))),Object.entries(A.sections).map(([w,I])=>m.createElement(Cu,{key:w,label:w,level:"section",colSpan:b},I.ungrouped.map(L=>m.createElement(Vn,{key:L.key,row:L,arg:p&&p[L.key],...B})),Object.entries(I.subsections).map(([L,S])=>m.createElement(Cu,{key:L,label:L,level:"subsection",colSpan:b},S.map(N=>m.createElement(Vn,{key:N.key,row:N,arg:p&&p[N.key],expandable:x,...B})))))))))};var zoe=M.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText)})),Goe=M.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),Voe=M.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),Woe=M.div(St,({theme:e})=>({...Kn(e),margin:"25px 0 40px",padding:"30px 20px"}));var Koe=M.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),Yoe=M.div(({theme:e})=>({color:e.base==="light"?ie(.2,e.color.defaultText):ie(.6,e.color.defaultText)})),Xoe=M.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),Joe=M.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),Qoe=M.div({display:"flex",flexDirection:"row"}),Zoe=M.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),eue=M.div(({theme:e})=>({...Kn(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),tue=M.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),rue=M.div({flex:1,display:"flex",flexDirection:"row"}),nue=M.div({display:"flex",alignItems:"flex-start"}),aue=M.div({flex:"0 0 30%"}),oue=M.div({flex:1}),uue=M.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText)})),iue=M.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var sue=M.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),lue=M.div(({theme:e})=>({...Kn(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),cue=M.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),due=M.div({display:"flex",flexFlow:"row wrap"});pe&&pe.__DOCS_CONTEXT__===void 0&&(pe.__DOCS_CONTEXT__=ar(null),pe.__DOCS_CONTEXT__.displayName="DocsContext");var xR=pe?pe.__DOCS_CONTEXT__:ar(null);var pue=ar({sources:{}});var{document:FR}=pe;function SR(e,t){e.channel.emit(R0,t)}var fue=da.a;var Ly=["h1","h2","h3","h4","h5","h6"],wR=Ly.reduce((e,t)=>({...e,[t]:M(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),BR=M.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),TR=({as:e,id:t,children:r,...n})=>{let a=ku(xR),o=wR[e],u=`#${t}`;return m.createElement(o,{id:t,...n},m.createElement(BR,{"aria-hidden":"true",href:u,tabIndex:-1,target:"_self",onClick:i=>{FR.getElementById(t)&&SR(a,u)}},m.createElement(ci,null)),r)},qy=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return m.createElement(TR,{as:t,id:r,...a},n);let o=t,{as:u,...i}=e;return m.createElement(o,{...pa(i,t)})},hue=Ly.reduce((e,t)=>({...e,[t]:r=>m.createElement(qy,{as:t,...r})}),{});var IR=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(IR||{});var mue=M.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),gue=M.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),yue=M.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var{document:bue,window:Eue}=pe;var _R=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return m.createElement(oa,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return m.createElement(qy,{as:"h2",id:n,...r},e)},Aue=M(_R)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}));var My="addon-controls",jy="controls",OR=()=>{let[e,t]=ne(!0),[r,n,a]=qu(),[o]=Mu(),u=Zn(),{expanded:i,sort:s,presetColors:p}=ju(jy,{}),{path:y,previewInitialized:A}=$u();he(()=>{A&&t(!1)},[A]);let g=Object.values(u).some(E=>E?.control),h=Object.entries(u).reduce((E,[b,x])=>(x?.control?.type!=="color"||x?.control?.presetColors?E[b]=x:E[b]={...x,control:{...x.control,presetColors:p}},E),{});return m.createElement(Ny,{key:y,compact:!i&&g,rows:h,args:r,globals:o,updateArgs:n,resetArgs:a,inAddonPanel:!0,sort:s,isLoading:e})};function RR(){let e=Zn(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return m.createElement("div",null,m.createElement(ia,{col:1},m.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":m.createElement(ra,{status:"neutral"},t)))}Qn.register(My,e=>{Qn.add(My,{title:RR,type:Lu.PANEL,paramKey:jy,render:({active:t})=>!t||!e.getCurrentStoryData()?null:m.createElement(ta,{active:t},m.createElement(OR,null))})});})(); + ${gr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${gr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Dt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),D2=W.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),g4=W(D2)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),b4=W.div({display:"flex",alignItems:"center",width:"100%"});function v4(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var x4=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:i,onFocus:s,argType:l})=>{let u=f=>{r(PM(f.target.value))},c=t!==void 0,d=Nt(()=>v4(a),[a]),y=!!l?.table?.readonly;return E.createElement(b4,{"aria-readonly":y},E.createElement(D2,null,n),E.createElement(m4,{id:tt(e),type:"range",disabled:y,onChange:u,name:e,value:t,min:n,max:o,step:a,onFocus:s,onBlur:i}),E.createElement(g4,{numberOFDecimalsPlaces:d,max:o},c?t.toFixed(d):"--"," / ",o))},E4=W.label({display:"flex"}),w4=W.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),S4=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:i})=>{let s=f=>{r(f.target.value)},l=!!i?.table?.readonly,[u,c]=he(!1),d=$e(()=>{r(""),c(!0)},[c]);if(t===void 0)return E.createElement(Bt,{variant:"outline",size:"medium",disabled:l,id:bn(e),onClick:d},"Set string");let y=typeof t=="string";return E.createElement(E4,null,E.createElement(dt.Textarea,{id:tt(e),maxLength:a,onChange:s,disabled:l,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:y?null:"error",name:e,value:y?t:"",onFocus:n,onBlur:o}),a&&E.createElement(w4,{isMaxed:t?.length===a},t?.length??0," / ",a))},A4=W(dt.Input)({padding:10});function T4(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var C4=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{let a=Xe(null),i=o?.control?.readOnly;function s(l){if(!l.target.files)return;let u=Array.from(l.target.files).map(c=>URL.createObjectURL(c));e(u),T4(n)}return ze(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),E.createElement(A4,{ref:a,id:tt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},_4=eu(()=>Promise.resolve().then(()=>(av(),ov))),O4=e=>E.createElement(Zl,{fallback:E.createElement("div",null)},E.createElement(_4,{...e})),I4={array:Pv,object:Pv,boolean:wM,color:O4,date:OM,number:RM,check:Zr,"inline-check":Zr,radio:Zr,"inline-radio":Zr,select:Zr,"multi-select":Zr,range:x4,text:S4,file:C4},kv=()=>E.createElement(E.Fragment,null,"-"),P4=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:a}=e,[i,s]=he(!1),[l,u]=he({value:t});ze(()=>{i||u({value:t})},[i,t]);let c=$e(g=>(u({value:g}),r({[o]:g}),g),[r,o]),d=$e(()=>s(!1),[]),y=$e(()=>s(!0),[]);if(!a||a.disable){let g=a?.disable!==!0&&e?.type?.name!=="function";return n&&g?E.createElement(ir,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):E.createElement(kv,null)}let f={name:o,argType:e,value:l.value,onChange:c,onBlur:d,onFocus:y},h=I4[a.type]||kv;return E.createElement(h,{...f,...a,controlType:a.type})},k4=W.span({fontWeight:"bold"}),R4=W.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),D4=W.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Ir({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),F4=W.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ve(.1,e.color.defaultText):ve(.2,e.color.defaultText),marginTop:t?4:0})),j4=W.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ve(.1,e.color.defaultText):ve(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),N4=W.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),B4=e=>e&&{summary:typeof e=="string"?e:e.name},xa=e=>{let[t,r]=he(!1),{row:n,updateArgs:o,compact:a,expandable:i,initialExpandedArgs:s}=e,{name:l,description:u}=n,c=n.table||{},d=c.type||B4(n.type),y=c.defaultValue||n.defaultValue,f=n.type?.required,h=u!=null&&u!=="";return E.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},E.createElement(N4,{expandable:i},E.createElement(k4,null,l),f?E.createElement(R4,{title:"Required"},"*"):null),a?null:E.createElement("td",null,h&&E.createElement(D4,null,E.createElement(RB,null,u)),c.jsDocTags!=null?E.createElement(E.Fragment,null,E.createElement(j4,{hasDescription:h},E.createElement(Sl,{value:d,initialExpandedArgs:s})),E.createElement(uM,{tags:c.jsDocTags})):E.createElement(F4,{hasDescription:h},E.createElement(Sl,{value:d,initialExpandedArgs:s}))),a?null:E.createElement("td",null,E.createElement(Sl,{value:y,initialExpandedArgs:s})),o?E.createElement("td",null,E.createElement(P4,{...e,isHovered:t})):null)},L4=W(Nu)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ve(.25,e.color.defaultText):ve(.3,e.color.defaultText),border:"none",display:"inline-block"})),q4=W(Bu)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ve(.25,e.color.defaultText):ve(.3,e.color.defaultText),border:"none",display:"inline-block"})),M4=W.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),U4=W.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ve(.4,e.color.defaultText):ve(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),J4=W.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),$4=W.td(()=>({position:"relative"})),z4=W.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${gr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Rv=W.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Tl=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,i]=he(n),s=e==="subsection"?J4:U4,l=r?.length||0,u=e==="subsection"?`${l} item${l!==1?"s":""}`:"",c=`${a?"Hide":"Show"} ${e==="subsection"?l:t} item${l!==1?"s":""}`;return E.createElement(E.Fragment,null,E.createElement(z4,{title:c},E.createElement(s,{colSpan:1},E.createElement(Rv,{onClick:d=>i(!a),tabIndex:0},c),E.createElement(M4,null,a?E.createElement(L4,null):E.createElement(q4,null),t)),E.createElement($4,{colSpan:o-1},E.createElement(Rv,{onClick:d=>i(!a),tabIndex:-1,style:{outline:"none"}},c),a?null:u)),a?r:null)},Ea=W.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),We=W.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Be=W.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),Ke=[2,4,2,2],V4=()=>E.createElement(E.Fragment,null,E.createElement(Ea,null,E.createElement(We,{numColumn:Ke[0]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[1]},E.createElement(Be,{width:"30%"})),E.createElement(We,{numColumn:Ke[2]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[3]},E.createElement(Be,{width:"60%"}))),E.createElement(Ea,null,E.createElement(We,{numColumn:Ke[0]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[1]},E.createElement(Be,{width:"80%"}),E.createElement(Be,{width:"30%"})),E.createElement(We,{numColumn:Ke[2]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[3]},E.createElement(Be,{width:"60%"}))),E.createElement(Ea,null,E.createElement(We,{numColumn:Ke[0]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[1]},E.createElement(Be,{width:"80%"}),E.createElement(Be,{width:"30%"})),E.createElement(We,{numColumn:Ke[2]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[3]},E.createElement(Be,{width:"60%"}))),E.createElement(Ea,null,E.createElement(We,{numColumn:Ke[0]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[1]},E.createElement(Be,{width:"80%"}),E.createElement(Be,{width:"30%"})),E.createElement(We,{numColumn:Ke[2]},E.createElement(Be,{width:"60%"})),E.createElement(We,{numColumn:Ke[3]},E.createElement(Be,{width:"60%"})))),H4=W.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),G4=W.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),W4=W.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),K4=({inAddonPanel:e})=>{let[t,r]=he(!0);return ze(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:E.createElement(H4,{inAddonPanel:e},E.createElement(qa,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:E.createElement(E.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:E.createElement(G4,null,e&&E.createElement(E.Fragment,null,E.createElement(ir,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},E.createElement(zu,null)," Watch 5m video"),E.createElement(W4,null),E.createElement(ir,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},E.createElement(bo,null)," Read docs")),!e&&E.createElement(ir,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},E.createElement(bo,null)," Learn how to set that up"))}))},Y4=W.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ve(.25,e.color.defaultText):ve(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),X4=W(ht)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Q4=W.span({display:"flex",justifyContent:"space-between"}),Z4={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},e6=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,i])=>{let{category:s,subcategory:l}=i?.table||{};if(s){let u=r.sections[s]||{ungrouped:[],subsections:{}};if(!l)u.ungrouped.push({key:a,...i});else{let c=u.subsections[l]||[];c.push({key:a,...i}),u.subsections[l]=c}r.sections[s]=u}else if(l){let u=r.ungroupedSubsections[l]||[];u.push({key:a,...i}),r.ungroupedSubsections[l]=u}else r.ungrouped.push({key:a,...i})});let n=Z4[t],o=a=>n?Object.keys(a).reduce((i,s)=>({...i,[s]:a[s].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,i)=>({...a,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},t6=(e,t,r)=>{try{return _3(e,t,r)}catch(n){return fy.warn(n.message),!1}},r6=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:i="none",isLoading:s}=e;if("error"in e){let{error:x}=e;return E.createElement(x2,null,x,"\xA0",E.createElement(ir,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},E.createElement(bo,null)," Read the docs"))}if(s)return E.createElement(V4,null);let{rows:l,args:u,globals:c}="rows"in e&&e,d=e6((0,Nv.default)(l,x=>!x?.table?.disable&&t6(x,u||{},c||{})),i),y=d.ungrouped.length===0,f=Object.entries(d.sections).length===0,h=Object.entries(d.ungroupedSubsections).length===0;if(y&&f&&h)return E.createElement(K4,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let _=Object.keys(d.sections).length>0,v={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return E.createElement(Ja,null,E.createElement(Y4,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},E.createElement("thead",{className:"docblock-argstable-head"},E.createElement("tr",null,E.createElement("th",null,E.createElement("span",null,"Name")),n?null:E.createElement("th",null,E.createElement("span",null,"Description")),n?null:E.createElement("th",null,E.createElement("span",null,"Default")),t?E.createElement("th",null,E.createElement(Q4,null,"Control"," ",!s&&r&&E.createElement(X4,{onClick:()=>r(),title:"Reset controls"},E.createElement(ii,{"aria-hidden":!0})))):null)),E.createElement("tbody",{className:"docblock-argstable-body"},d.ungrouped.map(x=>E.createElement(xa,{key:x.key,row:x,arg:u&&u[x.key],...v})),Object.entries(d.ungroupedSubsections).map(([x,O])=>E.createElement(Tl,{key:x,label:x,level:"subsection",colSpan:g},O.map(C=>E.createElement(xa,{key:C.key,row:C,arg:u&&u[C.key],expandable:_,...v})))),Object.entries(d.sections).map(([x,O])=>E.createElement(Tl,{key:x,label:x,level:"section",colSpan:g},O.ungrouped.map(C=>E.createElement(xa,{key:C.key,row:C,arg:u&&u[C.key],...v})),Object.entries(O.subsections).map(([C,I])=>E.createElement(Tl,{key:C,label:C,level:"subsection",colSpan:g},I.map(P=>E.createElement(xa,{key:P.key,row:P,arg:u&&u[P.key],expandable:_,...v})))))))))};W.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ve(.4,e.color.defaultText):ve(.6,e.color.defaultText)}));W.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});W.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});W.div(Pr,({theme:e})=>({...Pa(e),margin:"25px 0 40px",padding:"30px 20px"}));W.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));W.div(({theme:e})=>({color:e.base==="light"?ve(.2,e.color.defaultText):ve(.6,e.color.defaultText)}));W.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});W.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ve(.4,e.color.defaultText):ve(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));W.div({display:"flex",flexDirection:"row"});W.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));W.div(({theme:e})=>({...Pa(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));W.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});W.div({flex:1,display:"flex",flexDirection:"row"});W.div({display:"flex",alignItems:"flex-start"});W.div({flex:"0 0 30%"});W.div({flex:1});W.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ve(.4,e.color.defaultText):ve(.6,e.color.defaultText)}));W.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));W.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));W.div(({theme:e})=>({...Pa(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));W.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});W.div({display:"flex",flexFlow:"row wrap"});xt&&xt.__DOCS_CONTEXT__===void 0&&(xt.__DOCS_CONTEXT__=vn(null),xt.__DOCS_CONTEXT__.displayName="DocsContext");var n6=xt?xt.__DOCS_CONTEXT__:vn(null);vn({sources:{}});var{document:o6}=xt;function a6(e,t){e.channel.emit(pu,t)}Ha.a;var F2=["h1","h2","h3","h4","h5","h6"],i6=F2.reduce((e,t)=>({...e,[t]:W(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),s6=W.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),l6=({as:e,id:t,children:r,...n})=>{let o=tu(n6),a=i6[e],i=`#${t}`;return E.createElement(a,{id:t,...n},E.createElement(s6,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{o6.getElementById(t)&&a6(o,i)}},E.createElement(Uu,null)),r)},j2=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return E.createElement(l6,{as:t,id:r,...o},n);let a=t,{as:i,...s}=e;return E.createElement(a,{...Ga(s,t)})};F2.reduce((e,t)=>({...e,[t]:r=>E.createElement(j2,{as:t,...r})}),{});var u6=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(u6||{});Xl(zq());W.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}}));W.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}}));W.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var c6=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return E.createElement(Ua,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return E.createElement(j2,{as:"h2",id:n,...r},e)};W(c6)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}));var Dv="addon-controls",N2="controls",p6=ei({from:{transform:"translateY(40px)"},to:{transform:"translateY(0)"}}),d6=ei({from:{background:"var(--highlight-bg-color)"},to:{}}),f6=W.div({containerType:"size",position:"sticky",bottom:0,height:39,overflow:"hidden",zIndex:1}),y6=W(La)(({theme:e})=>({"--highlight-bg-color":e.base==="dark"?"#153B5B":"#E0F0FF",display:"flex",flexDirection:"row-reverse",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:6,padding:"6px 10px",animation:`${p6} 300ms, ${d6} 2s`,background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,fontSize:e.typography.size.s2,"@container (max-width: 799px)":{flexDirection:"row",justifyContent:"flex-end"}})),h6=W.div({display:"flex",flex:"99 0 auto",alignItems:"center",marginLeft:10,gap:6}),m6=W.div(({theme:e})=>({display:"flex",flex:"1 0 0",alignItems:"center",gap:2,color:e.color.mediumdark,fontSize:e.typography.size.s2})),Cl=W.div({"@container (max-width: 799px)":{lineHeight:0,textIndent:"-9999px","&::after":{content:"attr(data-short-label)",display:"block",lineHeight:"initial",textIndent:"0"}}}),g6=W(dt.Input)(({theme:e})=>({"::placeholder":{color:e.color.mediumdark},"&:invalid:not(:placeholder-shown)":{boxShadow:`${e.color.negative} 0 0 0 1px inset`}})),b6=({saveStory:e,createStory:t,resetArgs:r})=>{let n=E.useRef(null),[o,a]=E.useState(!1),[i,s]=E.useState(!1),[l,u]=E.useState(""),[c,d]=E.useState(null),y=async()=>{o||(a(!0),await e().catch(()=>{}),a(!1))},f=()=>{s(!0),u(""),setTimeout(()=>n.current?.focus(),0)},h=g=>{let _=g.target.value.replace(/^[^a-z]/i,"").replace(/[^a-z0-9-_ ]/gi,"").replaceAll(/([-_ ]+[a-z0-9])/gi,v=>v.toUpperCase().replace(/[-_ ]/g,""));u(_.charAt(0).toUpperCase()+_.slice(1))};return E.createElement(f6,{id:"save-from-controls"},E.createElement(y6,null,E.createElement(m6,null,E.createElement(Lt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:E.createElement(sr,{note:"Save changes to story"})},E.createElement(ht,{"aria-label":"Save changes to story",disabled:o,onClick:y},E.createElement(ju,null),E.createElement(Cl,{"data-short-label":"Save"},"Update story"))),E.createElement(Lt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:E.createElement(sr,{note:"Create new story with these settings"})},E.createElement(ht,{"aria-label":"Create new story with these settings",onClick:f},E.createElement(oi,null),E.createElement(Cl,{"data-short-label":"New"},"Create new story"))),E.createElement(Lt,{as:"div",hasChrome:!1,trigger:"hover",tooltip:E.createElement(sr,{note:"Reset changes"})},E.createElement(ht,{"aria-label":"Reset changes",onClick:()=>r()},E.createElement(ii,null),E.createElement("span",null,"Reset")))),E.createElement(h6,null,E.createElement(Cl,{"data-short-label":"Unsaved changes"},"You modified this story. Do you want to save your changes?")),E.createElement(mt,{width:350,open:i,onOpenChange:s},E.createElement(dt,{onSubmit:async g=>{if(g.preventDefault(),!o)try{d(null),a(!0),await t(l.replace(/^[^a-z]/i,"").replaceAll(/[^a-z0-9]/gi,"")),s(!1),a(!1)}catch(_){d(_.message),a(!1)}},id:"create-new-story-form"},E.createElement(mt.Content,null,E.createElement(mt.Header,null,E.createElement(mt.Title,null,"Create new story"),E.createElement(mt.Description,null,"This will add a new story to your existing stories file.")),E.createElement(g6,{onChange:h,placeholder:"Story export name",readOnly:o,ref:n,value:l}),E.createElement(mt.Actions,null,E.createElement(Bt,{disabled:o||!l,size:"medium",type:"submit",variant:"solid"},"Create"),E.createElement(mt.Dialog.Close,{asChild:!0},E.createElement(Bt,{disabled:o,size:"medium",type:"reset"},"Cancel"))))),c&&E.createElement(mt.Error,null,c))))},Fv=e=>Object.entries(e).reduce((t,[r,n])=>n!==void 0?Object.assign(t,{[r]:n}):t,{}),v6=W.div({display:"grid",gridTemplateRows:"1fr 39px",height:"100%",maxHeight:"100vh",overflowY:"auto"}),x6=({saveStory:e,createStory:t})=>{let[r,n]=he(!0),[o,a,i,s]=Ou(),[l]=Iu(),u=Za(),{expanded:c,sort:d,presetColors:y}=Pu(N2,{}),{path:f,previewInitialized:h}=ku();ze(()=>{h&&n(!1)},[h]);let g=Object.values(u).some(x=>x?.control),_=Object.entries(u).reduce((x,[O,C])=>{let I=C?.control;return typeof I!="object"||I?.type!=="color"||I?.presetColors?x[O]=C:x[O]={...C,control:{...I,presetColors:y}},x},{}),v=Nt(()=>!!o&&!!s&&!ar(Fv(o),Fv(s)),[o,s]);return E.createElement(v6,null,E.createElement(r6,{key:f,compact:!c&&g,rows:_,args:o,globals:l,updateArgs:a,resetArgs:i,inAddonPanel:!0,sort:d,isLoading:r}),g&&v&&xt.CONFIG_TYPE==="DEVELOPMENT"&&E.createElement(b6,{resetArgs:i,saveStory:e,createStory:t}))};function E6(){let e=Za(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return E.createElement("div",null,E.createElement($a,{col:1},E.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":E.createElement(Ba,{status:"neutral"},t)))}var jv=e=>JSON.stringify(e,(t,r)=>typeof r=="function"?"__sb_empty_function_arg__":r);mo.register(Dv,e=>{let t=mo.getChannel(),r=async()=>{let o=e.getCurrentStoryData();if(o.type!=="story")throw new Error("Not a story");try{let a=await Qa(t,Ya,fo,{args:jv(Object.entries(o.args||{}).reduce((i,[s,l])=>(ar(l,o.initialArgs?.[s])||(i[s]=l),i),{})),csfId:o.id,importPath:o.importPath});e.addNotification({id:"save-story-success",icon:{name:"passed",color:go.positive},content:{headline:"Story saved",subHeadline:E.createElement(E.Fragment,null,"Updated story ",E.createElement("b",null,a.sourceStoryName),".")},duration:8e3})}catch(a){throw e.addNotification({id:"save-story-error",icon:{name:"failed",color:go.negative},content:{headline:"Failed to save story",subHeadline:a?.message||"Check the Storybook process on the command line for more details."},duration:8e3}),a}},n=async o=>{let a=e.getCurrentStoryData();if(a.type!=="story")throw new Error("Not a story");let i=await Qa(t,Ya,fo,{args:a.args&&jv(a.args),csfId:a.id,importPath:a.importPath,name:o});e.addNotification({id:"save-story-success",icon:{name:"passed",color:go.positive},content:{headline:"Story created",subHeadline:E.createElement(E.Fragment,null,"Added story ",E.createElement("b",null,i.newStoryName)," based on ",E.createElement("b",null,i.sourceStoryName),".")},duration:8e3,onClick:({onDismiss:s})=>{s(),e.selectStory(i.newStoryId)}})};mo.add(Dv,{title:E6,type:_u.PANEL,paramKey:N2,render:({active:o})=>!o||!e.getCurrentStoryData()?null:E.createElement(Na,{active:o},E.createElement(x6,{saveStory:r,createStory:n}))}),t.on(fo,o=>{if(!o.success)return;let a=e.getCurrentStoryData();a.type==="story"&&(e.resetStoryArgs(a),o.payload.newStoryId&&e.selectStory(o.payload.newStoryId))})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt b/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt index cfea3e7..e69de29 100644 --- a/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt +++ b/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt @@ -1,18 +0,0 @@ -Bundled license information: - -telejson/dist/index.mjs: - /*! - * isobject - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - /** - * @license - * Lodash (Custom Build) - * Build: `lodash modularize exports="es" -o ./` - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ diff --git a/sb-addons/essentials-measure-6/manager-bundle.js b/sb-addons/essentials-measure-6/manager-bundle.js index 9f55edf..a7d02dc 100644 --- a/sb-addons/essentials-measure-6/manager-bundle.js +++ b/sb-addons/essentials-measure-6/manager-bundle.js @@ -1,3 +1,3 @@ try{ -(()=>{var t=__REACT__,{Children:B,Component:f,Fragment:R,Profiler:P,PureComponent:L,StrictMode:E,Suspense:D,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:w,cloneElement:M,createContext:v,createElement:x,createFactory:H,createRef:U,forwardRef:F,isValidElement:N,lazy:G,memo:W,startTransition:K,unstable_act:Y,useCallback:u,useContext:V,useDebugValue:q,useDeferredValue:Z,useEffect:d,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:$,useMemo:j,useReducer:X,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:mo,Provider:po,addons:l,combineParameters:So,controlOrMetaKey:Co,controlOrMetaSymbol:ho,eventMatchesShortcut:bo,eventToShortcut:To,isMacLike:_o,isShortcutTaken:Ao,keyToSymbol:go,merge:yo,mockChannel:Oo,optionOrAltSymbol:ko,shortcutMatchesShortcut:Bo,shortcutToHumanString:fo,types:m,useAddonState:Ro,useArgTypes:Po,useArgs:Lo,useChannel:Eo,useGlobalTypes:Do,useGlobals:p,useParameter:wo,useSharedState:Mo,useStoryPrepared:vo,useStorybookApi:S,useStorybookState:xo}=__STORYBOOK_API__;var Go=__STORYBOOK_COMPONENTS__,{A:Wo,ActionBar:Ko,AddonPanel:Yo,Badge:Vo,Bar:qo,Blockquote:Zo,Button:zo,ClipboardCode:Jo,Code:Qo,DL:$o,Div:jo,DocumentWrapper:Xo,EmptyTabContent:on,ErrorFormatter:nn,FlexBar:en,Form:cn,H1:tn,H2:rn,H3:In,H4:an,H5:ln,H6:sn,HR:un,IconButton:C,IconButtonSkeleton:dn,Icons:mn,Img:pn,LI:Sn,Link:Cn,ListItem:hn,Loader:bn,OL:Tn,P:_n,Placeholder:An,Pre:gn,ResetWrapper:yn,ScrollArea:On,Separator:kn,Spaced:Bn,Span:fn,StorybookIcon:Rn,StorybookLogo:Pn,Symbols:Ln,SyntaxHighlighter:En,TT:Dn,TabBar:wn,TabButton:Mn,TabWrapper:vn,Table:xn,Tabs:Hn,TabsState:Un,TooltipLinkList:Fn,TooltipMessage:Nn,TooltipNote:Gn,UL:Wn,WithTooltip:Kn,WithTooltipPure:Yn,Zoom:Vn,codeCommon:qn,components:Zn,createCopyToClipboardFunction:zn,getStoryHref:Jn,icons:Qn,interleaveSeparators:$n,nameSpaceClassNames:jn,resetComponents:Xn,withReset:oe}=__STORYBOOK_COMPONENTS__;var re=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Ie,AccessibilityIcon:ae,AddIcon:le,AdminIcon:ie,AlertAltIcon:se,AlertIcon:ue,AlignLeftIcon:de,AlignRightIcon:me,AppleIcon:pe,ArrowDownIcon:Se,ArrowLeftIcon:Ce,ArrowRightIcon:he,ArrowSolidDownIcon:be,ArrowSolidLeftIcon:Te,ArrowSolidRightIcon:_e,ArrowSolidUpIcon:Ae,ArrowUpIcon:ge,AzureDevOpsIcon:ye,BackIcon:Oe,BasketIcon:ke,BatchAcceptIcon:Be,BatchDenyIcon:fe,BeakerIcon:Re,BellIcon:Pe,BitbucketIcon:Le,BoldIcon:Ee,BookIcon:De,BookmarkHollowIcon:we,BookmarkIcon:Me,BottomBarIcon:ve,BottomBarToggleIcon:xe,BoxIcon:He,BranchIcon:Ue,BrowserIcon:Fe,ButtonIcon:Ne,CPUIcon:Ge,CalendarIcon:We,CameraIcon:Ke,CategoryIcon:Ye,CertificateIcon:Ve,ChangedIcon:qe,ChatIcon:Ze,CheckIcon:ze,ChevronDownIcon:Je,ChevronLeftIcon:Qe,ChevronRightIcon:$e,ChevronSmallDownIcon:je,ChevronSmallLeftIcon:Xe,ChevronSmallRightIcon:oc,ChevronSmallUpIcon:nc,ChevronUpIcon:ec,ChromaticIcon:cc,ChromeIcon:tc,CircleHollowIcon:rc,CircleIcon:Ic,ClearIcon:ac,CloseAltIcon:lc,CloseIcon:ic,CloudHollowIcon:sc,CloudIcon:uc,CogIcon:dc,CollapseIcon:mc,CommandIcon:pc,CommentAddIcon:Sc,CommentIcon:Cc,CommentsIcon:hc,CommitIcon:bc,CompassIcon:Tc,ComponentDrivenIcon:_c,ComponentIcon:Ac,ContrastIcon:gc,ControlsIcon:yc,CopyIcon:Oc,CreditIcon:kc,CrossIcon:Bc,DashboardIcon:fc,DatabaseIcon:Rc,DeleteIcon:Pc,DiamondIcon:Lc,DirectionIcon:Ec,DiscordIcon:Dc,DocChartIcon:wc,DocListIcon:Mc,DocumentIcon:vc,DownloadIcon:xc,DragIcon:Hc,EditIcon:Uc,EllipsisIcon:Fc,EmailIcon:Nc,ExpandAltIcon:Gc,ExpandIcon:Wc,EyeCloseIcon:Kc,EyeIcon:Yc,FaceHappyIcon:Vc,FaceNeutralIcon:qc,FaceSadIcon:Zc,FacebookIcon:zc,FailedIcon:Jc,FastForwardIcon:Qc,FigmaIcon:$c,FilterIcon:jc,FlagIcon:Xc,FolderIcon:ot,FormIcon:nt,GDriveIcon:et,GithubIcon:ct,GitlabIcon:tt,GlobeIcon:rt,GoogleIcon:It,GraphBarIcon:at,GraphLineIcon:lt,GraphqlIcon:it,GridAltIcon:st,GridIcon:ut,GrowIcon:dt,HeartHollowIcon:mt,HeartIcon:pt,HomeIcon:St,HourglassIcon:Ct,InfoIcon:ht,ItalicIcon:bt,JumpToIcon:Tt,KeyIcon:_t,LightningIcon:At,LightningOffIcon:gt,LinkBrokenIcon:yt,LinkIcon:Ot,LinkedinIcon:kt,LinuxIcon:Bt,ListOrderedIcon:ft,ListUnorderedIcon:Rt,LocationIcon:Pt,LockIcon:Lt,MarkdownIcon:Et,MarkupIcon:Dt,MediumIcon:wt,MemoryIcon:Mt,MenuIcon:vt,MergeIcon:xt,MirrorIcon:Ht,MobileIcon:Ut,MoonIcon:Ft,NutIcon:Nt,OutboxIcon:Gt,OutlineIcon:Wt,PaintBrushIcon:Kt,PaperClipIcon:Yt,ParagraphIcon:Vt,PassedIcon:qt,PhoneIcon:Zt,PhotoDragIcon:zt,PhotoIcon:Jt,PinAltIcon:Qt,PinIcon:$t,PlayBackIcon:jt,PlayIcon:Xt,PlayNextIcon:or,PlusIcon:nr,PointerDefaultIcon:er,PointerHandIcon:cr,PowerIcon:tr,PrintIcon:rr,ProceedIcon:Ir,ProfileIcon:ar,PullRequestIcon:lr,QuestionIcon:ir,RSSIcon:sr,RedirectIcon:ur,ReduxIcon:dr,RefreshIcon:mr,ReplyIcon:pr,RepoIcon:Sr,RequestChangeIcon:Cr,RewindIcon:hr,RulerIcon:h,SearchIcon:br,ShareAltIcon:Tr,ShareIcon:_r,ShieldIcon:Ar,SideBySideIcon:gr,SidebarAltIcon:yr,SidebarAltToggleIcon:Or,SidebarIcon:kr,SidebarToggleIcon:Br,SpeakerIcon:fr,StackedIcon:Rr,StarHollowIcon:Pr,StarIcon:Lr,StickerIcon:Er,StopAltIcon:Dr,StopIcon:wr,StorybookIcon:Mr,StructureIcon:vr,SubtractIcon:xr,SunIcon:Hr,SupportIcon:Ur,SwitchAltIcon:Fr,SyncIcon:Nr,TabletIcon:Gr,ThumbsUpIcon:Wr,TimeIcon:Kr,TimerIcon:Yr,TransferIcon:Vr,TrashIcon:qr,TwitterIcon:Zr,TypeIcon:zr,UbuntuIcon:Jr,UndoIcon:Qr,UnfoldIcon:$r,UnlockIcon:jr,UnpinIcon:Xr,UploadIcon:oI,UserAddIcon:nI,UserAltIcon:eI,UserIcon:cI,UsersIcon:tI,VSCodeIcon:rI,VerifiedIcon:II,VideoIcon:aI,WandIcon:lI,WatchIcon:iI,WindowsIcon:sI,WrenchIcon:uI,YoutubeIcon:dI,ZoomIcon:mI,ZoomOutIcon:pI,ZoomResetIcon:SI,iconList:CI}=__STORYBOOK_ICONS__;var i="storybook/measure-addon",b=`${i}/tool`,T=()=>{let[r,c]=p(),{measureEnabled:I}=r,s=S(),a=u(()=>c({measureEnabled:!I}),[c,I]);return d(()=>{s.setAddonShortcut(i,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:a})},[a,s]),t.createElement(C,{key:b,active:I,title:"Enable measure",onClick:a},t.createElement(h,null))};l.register(i,()=>{l.add(b,{type:m.TOOL,title:"Measure",match:({viewMode:r,tabId:c})=>r==="story"&&!c,render:()=>t.createElement(T,null)})});})(); +(()=>{var t=__REACT__,{Children:B,Component:f,Fragment:R,Profiler:P,PureComponent:L,StrictMode:E,Suspense:D,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:w,cloneElement:M,createContext:x,createElement:v,createFactory:H,createRef:U,forwardRef:F,isValidElement:N,lazy:G,memo:W,startTransition:K,unstable_act:Y,useCallback:u,useContext:q,useDebugValue:V,useDeferredValue:Z,useEffect:d,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:$,useMemo:j,useReducer:X,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:mo,Provider:po,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:bo,eventMatchesShortcut:To,eventToShortcut:_o,experimental_requestResponse:Ao,isMacLike:go,isShortcutTaken:yo,keyToSymbol:Oo,merge:ko,mockChannel:Bo,optionOrAltSymbol:fo,shortcutMatchesShortcut:Ro,shortcutToHumanString:Po,types:m,useAddonState:Lo,useArgTypes:Eo,useArgs:Do,useChannel:wo,useGlobalTypes:Mo,useGlobals:p,useParameter:xo,useSharedState:vo,useStoryPrepared:Ho,useStorybookApi:S,useStorybookState:Uo}=__STORYBOOK_API__;var Ko=__STORYBOOK_COMPONENTS__,{A:Yo,ActionBar:qo,AddonPanel:Vo,Badge:Zo,Bar:zo,Blockquote:Jo,Button:Qo,ClipboardCode:$o,Code:jo,DL:Xo,Div:on,DocumentWrapper:nn,EmptyTabContent:en,ErrorFormatter:cn,FlexBar:tn,Form:rn,H1:In,H2:an,H3:ln,H4:sn,H5:un,H6:dn,HR:mn,IconButton:C,IconButtonSkeleton:pn,Icons:Sn,Img:Cn,LI:hn,Link:bn,ListItem:Tn,Loader:_n,Modal:An,OL:gn,P:yn,Placeholder:On,Pre:kn,ResetWrapper:Bn,ScrollArea:fn,Separator:Rn,Spaced:Pn,Span:Ln,StorybookIcon:En,StorybookLogo:Dn,Symbols:wn,SyntaxHighlighter:Mn,TT:xn,TabBar:vn,TabButton:Hn,TabWrapper:Un,Table:Fn,Tabs:Nn,TabsState:Gn,TooltipLinkList:Wn,TooltipMessage:Kn,TooltipNote:Yn,UL:qn,WithTooltip:Vn,WithTooltipPure:Zn,Zoom:zn,codeCommon:Jn,components:Qn,createCopyToClipboardFunction:$n,getStoryHref:jn,icons:Xn,interleaveSeparators:oe,nameSpaceClassNames:ne,resetComponents:ee,withReset:ce}=__STORYBOOK_COMPONENTS__;var le=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ie,AccessibilityIcon:se,AddIcon:ue,AdminIcon:de,AlertAltIcon:me,AlertIcon:pe,AlignLeftIcon:Se,AlignRightIcon:Ce,AppleIcon:he,ArrowDownIcon:be,ArrowLeftIcon:Te,ArrowRightIcon:_e,ArrowSolidDownIcon:Ae,ArrowSolidLeftIcon:ge,ArrowSolidRightIcon:ye,ArrowSolidUpIcon:Oe,ArrowUpIcon:ke,AzureDevOpsIcon:Be,BackIcon:fe,BasketIcon:Re,BatchAcceptIcon:Pe,BatchDenyIcon:Le,BeakerIcon:Ee,BellIcon:De,BitbucketIcon:we,BoldIcon:Me,BookIcon:xe,BookmarkHollowIcon:ve,BookmarkIcon:He,BottomBarIcon:Ue,BottomBarToggleIcon:Fe,BoxIcon:Ne,BranchIcon:Ge,BrowserIcon:We,ButtonIcon:Ke,CPUIcon:Ye,CalendarIcon:qe,CameraIcon:Ve,CategoryIcon:Ze,CertificateIcon:ze,ChangedIcon:Je,ChatIcon:Qe,CheckIcon:$e,ChevronDownIcon:je,ChevronLeftIcon:Xe,ChevronRightIcon:oc,ChevronSmallDownIcon:nc,ChevronSmallLeftIcon:ec,ChevronSmallRightIcon:cc,ChevronSmallUpIcon:tc,ChevronUpIcon:rc,ChromaticIcon:Ic,ChromeIcon:ac,CircleHollowIcon:lc,CircleIcon:ic,ClearIcon:sc,CloseAltIcon:uc,CloseIcon:dc,CloudHollowIcon:mc,CloudIcon:pc,CogIcon:Sc,CollapseIcon:Cc,CommandIcon:hc,CommentAddIcon:bc,CommentIcon:Tc,CommentsIcon:_c,CommitIcon:Ac,CompassIcon:gc,ComponentDrivenIcon:yc,ComponentIcon:Oc,ContrastIcon:kc,ControlsIcon:Bc,CopyIcon:fc,CreditIcon:Rc,CrossIcon:Pc,DashboardIcon:Lc,DatabaseIcon:Ec,DeleteIcon:Dc,DiamondIcon:wc,DirectionIcon:Mc,DiscordIcon:xc,DocChartIcon:vc,DocListIcon:Hc,DocumentIcon:Uc,DownloadIcon:Fc,DragIcon:Nc,EditIcon:Gc,EllipsisIcon:Wc,EmailIcon:Kc,ExpandAltIcon:Yc,ExpandIcon:qc,EyeCloseIcon:Vc,EyeIcon:Zc,FaceHappyIcon:zc,FaceNeutralIcon:Jc,FaceSadIcon:Qc,FacebookIcon:$c,FailedIcon:jc,FastForwardIcon:Xc,FigmaIcon:ot,FilterIcon:nt,FlagIcon:et,FolderIcon:ct,FormIcon:tt,GDriveIcon:rt,GithubIcon:It,GitlabIcon:at,GlobeIcon:lt,GoogleIcon:it,GraphBarIcon:st,GraphLineIcon:ut,GraphqlIcon:dt,GridAltIcon:mt,GridIcon:pt,GrowIcon:St,HeartHollowIcon:Ct,HeartIcon:ht,HomeIcon:bt,HourglassIcon:Tt,InfoIcon:_t,ItalicIcon:At,JumpToIcon:gt,KeyIcon:yt,LightningIcon:Ot,LightningOffIcon:kt,LinkBrokenIcon:Bt,LinkIcon:ft,LinkedinIcon:Rt,LinuxIcon:Pt,ListOrderedIcon:Lt,ListUnorderedIcon:Et,LocationIcon:Dt,LockIcon:wt,MarkdownIcon:Mt,MarkupIcon:xt,MediumIcon:vt,MemoryIcon:Ht,MenuIcon:Ut,MergeIcon:Ft,MirrorIcon:Nt,MobileIcon:Gt,MoonIcon:Wt,NutIcon:Kt,OutboxIcon:Yt,OutlineIcon:qt,PaintBrushIcon:Vt,PaperClipIcon:Zt,ParagraphIcon:zt,PassedIcon:Jt,PhoneIcon:Qt,PhotoDragIcon:$t,PhotoIcon:jt,PinAltIcon:Xt,PinIcon:or,PlayBackIcon:nr,PlayIcon:er,PlayNextIcon:cr,PlusIcon:tr,PointerDefaultIcon:rr,PointerHandIcon:Ir,PowerIcon:ar,PrintIcon:lr,ProceedIcon:ir,ProfileIcon:sr,PullRequestIcon:ur,QuestionIcon:dr,RSSIcon:mr,RedirectIcon:pr,ReduxIcon:Sr,RefreshIcon:Cr,ReplyIcon:hr,RepoIcon:br,RequestChangeIcon:Tr,RewindIcon:_r,RulerIcon:h,SearchIcon:Ar,ShareAltIcon:gr,ShareIcon:yr,ShieldIcon:Or,SideBySideIcon:kr,SidebarAltIcon:Br,SidebarAltToggleIcon:fr,SidebarIcon:Rr,SidebarToggleIcon:Pr,SpeakerIcon:Lr,StackedIcon:Er,StarHollowIcon:Dr,StarIcon:wr,StickerIcon:Mr,StopAltIcon:xr,StopIcon:vr,StorybookIcon:Hr,StructureIcon:Ur,SubtractIcon:Fr,SunIcon:Nr,SupportIcon:Gr,SwitchAltIcon:Wr,SyncIcon:Kr,TabletIcon:Yr,ThumbsUpIcon:qr,TimeIcon:Vr,TimerIcon:Zr,TransferIcon:zr,TrashIcon:Jr,TwitterIcon:Qr,TypeIcon:$r,UbuntuIcon:jr,UndoIcon:Xr,UnfoldIcon:oI,UnlockIcon:nI,UnpinIcon:eI,UploadIcon:cI,UserAddIcon:tI,UserAltIcon:rI,UserIcon:II,UsersIcon:aI,VSCodeIcon:lI,VerifiedIcon:iI,VideoIcon:sI,WandIcon:uI,WatchIcon:dI,WindowsIcon:mI,WrenchIcon:pI,YoutubeIcon:SI,ZoomIcon:CI,ZoomOutIcon:hI,ZoomResetIcon:bI,iconList:TI}=__STORYBOOK_ICONS__;var i="storybook/measure-addon",b=`${i}/tool`,T=()=>{let[r,c]=p(),{measureEnabled:I}=r,s=S(),a=u(()=>c({measureEnabled:!I}),[c,I]);return d(()=>{s.setAddonShortcut(i,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:a})},[a,s]),t.createElement(C,{key:b,active:I,title:"Enable measure",onClick:a},t.createElement(h,null))};l.register(i,()=>{l.add(b,{type:m.TOOL,title:"Measure",match:({viewMode:r,tabId:c})=>r==="story"&&!c,render:()=>t.createElement(T,null)})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-outline-7/manager-bundle.js b/sb-addons/essentials-outline-7/manager-bundle.js index a02f2ac..71ce95b 100644 --- a/sb-addons/essentials-outline-7/manager-bundle.js +++ b/sb-addons/essentials-outline-7/manager-bundle.js @@ -1,3 +1,3 @@ try{ -(()=>{var t=__REACT__,{Children:f,Component:P,Fragment:R,Profiler:L,PureComponent:D,StrictMode:E,Suspense:w,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:v,cloneElement:x,createContext:H,createElement:M,createFactory:U,createRef:F,forwardRef:N,isValidElement:G,lazy:W,memo:u,startTransition:K,unstable_act:Y,useCallback:d,useContext:V,useDebugValue:q,useDeferredValue:Z,useEffect:m,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:$,useMemo:j,useReducer:X,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:mo,Provider:po,addons:l,combineParameters:So,controlOrMetaKey:Co,controlOrMetaSymbol:ho,eventMatchesShortcut:Ao,eventToShortcut:bo,isMacLike:_o,isShortcutTaken:To,keyToSymbol:go,merge:yo,mockChannel:Oo,optionOrAltSymbol:ko,shortcutMatchesShortcut:Bo,shortcutToHumanString:fo,types:p,useAddonState:Po,useArgTypes:Ro,useArgs:Lo,useChannel:Do,useGlobalTypes:Eo,useGlobals:S,useParameter:wo,useSharedState:vo,useStoryPrepared:xo,useStorybookApi:C,useStorybookState:Ho}=__STORYBOOK_API__;var Go=__STORYBOOK_COMPONENTS__,{A:Wo,ActionBar:Ko,AddonPanel:Yo,Badge:Vo,Bar:qo,Blockquote:Zo,Button:zo,ClipboardCode:Jo,Code:Qo,DL:$o,Div:jo,DocumentWrapper:Xo,EmptyTabContent:on,ErrorFormatter:nn,FlexBar:en,Form:cn,H1:tn,H2:rn,H3:In,H4:an,H5:ln,H6:sn,HR:un,IconButton:h,IconButtonSkeleton:dn,Icons:mn,Img:pn,LI:Sn,Link:Cn,ListItem:hn,Loader:An,OL:bn,P:_n,Placeholder:Tn,Pre:gn,ResetWrapper:yn,ScrollArea:On,Separator:kn,Spaced:Bn,Span:fn,StorybookIcon:Pn,StorybookLogo:Rn,Symbols:Ln,SyntaxHighlighter:Dn,TT:En,TabBar:wn,TabButton:vn,TabWrapper:xn,Table:Hn,Tabs:Mn,TabsState:Un,TooltipLinkList:Fn,TooltipMessage:Nn,TooltipNote:Gn,UL:Wn,WithTooltip:Kn,WithTooltipPure:Yn,Zoom:Vn,codeCommon:qn,components:Zn,createCopyToClipboardFunction:zn,getStoryHref:Jn,icons:Qn,interleaveSeparators:$n,nameSpaceClassNames:jn,resetComponents:Xn,withReset:oe}=__STORYBOOK_COMPONENTS__;var re=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Ie,AccessibilityIcon:ae,AddIcon:le,AdminIcon:ie,AlertAltIcon:se,AlertIcon:ue,AlignLeftIcon:de,AlignRightIcon:me,AppleIcon:pe,ArrowDownIcon:Se,ArrowLeftIcon:Ce,ArrowRightIcon:he,ArrowSolidDownIcon:Ae,ArrowSolidLeftIcon:be,ArrowSolidRightIcon:_e,ArrowSolidUpIcon:Te,ArrowUpIcon:ge,AzureDevOpsIcon:ye,BackIcon:Oe,BasketIcon:ke,BatchAcceptIcon:Be,BatchDenyIcon:fe,BeakerIcon:Pe,BellIcon:Re,BitbucketIcon:Le,BoldIcon:De,BookIcon:Ee,BookmarkHollowIcon:we,BookmarkIcon:ve,BottomBarIcon:xe,BottomBarToggleIcon:He,BoxIcon:Me,BranchIcon:Ue,BrowserIcon:Fe,ButtonIcon:Ne,CPUIcon:Ge,CalendarIcon:We,CameraIcon:Ke,CategoryIcon:Ye,CertificateIcon:Ve,ChangedIcon:qe,ChatIcon:Ze,CheckIcon:ze,ChevronDownIcon:Je,ChevronLeftIcon:Qe,ChevronRightIcon:$e,ChevronSmallDownIcon:je,ChevronSmallLeftIcon:Xe,ChevronSmallRightIcon:oc,ChevronSmallUpIcon:nc,ChevronUpIcon:ec,ChromaticIcon:cc,ChromeIcon:tc,CircleHollowIcon:rc,CircleIcon:Ic,ClearIcon:ac,CloseAltIcon:lc,CloseIcon:ic,CloudHollowIcon:sc,CloudIcon:uc,CogIcon:dc,CollapseIcon:mc,CommandIcon:pc,CommentAddIcon:Sc,CommentIcon:Cc,CommentsIcon:hc,CommitIcon:Ac,CompassIcon:bc,ComponentDrivenIcon:_c,ComponentIcon:Tc,ContrastIcon:gc,ControlsIcon:yc,CopyIcon:Oc,CreditIcon:kc,CrossIcon:Bc,DashboardIcon:fc,DatabaseIcon:Pc,DeleteIcon:Rc,DiamondIcon:Lc,DirectionIcon:Dc,DiscordIcon:Ec,DocChartIcon:wc,DocListIcon:vc,DocumentIcon:xc,DownloadIcon:Hc,DragIcon:Mc,EditIcon:Uc,EllipsisIcon:Fc,EmailIcon:Nc,ExpandAltIcon:Gc,ExpandIcon:Wc,EyeCloseIcon:Kc,EyeIcon:Yc,FaceHappyIcon:Vc,FaceNeutralIcon:qc,FaceSadIcon:Zc,FacebookIcon:zc,FailedIcon:Jc,FastForwardIcon:Qc,FigmaIcon:$c,FilterIcon:jc,FlagIcon:Xc,FolderIcon:ot,FormIcon:nt,GDriveIcon:et,GithubIcon:ct,GitlabIcon:tt,GlobeIcon:rt,GoogleIcon:It,GraphBarIcon:at,GraphLineIcon:lt,GraphqlIcon:it,GridAltIcon:st,GridIcon:ut,GrowIcon:dt,HeartHollowIcon:mt,HeartIcon:pt,HomeIcon:St,HourglassIcon:Ct,InfoIcon:ht,ItalicIcon:At,JumpToIcon:bt,KeyIcon:_t,LightningIcon:Tt,LightningOffIcon:gt,LinkBrokenIcon:yt,LinkIcon:Ot,LinkedinIcon:kt,LinuxIcon:Bt,ListOrderedIcon:ft,ListUnorderedIcon:Pt,LocationIcon:Rt,LockIcon:Lt,MarkdownIcon:Dt,MarkupIcon:Et,MediumIcon:wt,MemoryIcon:vt,MenuIcon:xt,MergeIcon:Ht,MirrorIcon:Mt,MobileIcon:Ut,MoonIcon:Ft,NutIcon:Nt,OutboxIcon:Gt,OutlineIcon:A,PaintBrushIcon:Wt,PaperClipIcon:Kt,ParagraphIcon:Yt,PassedIcon:Vt,PhoneIcon:qt,PhotoDragIcon:Zt,PhotoIcon:zt,PinAltIcon:Jt,PinIcon:Qt,PlayBackIcon:$t,PlayIcon:jt,PlayNextIcon:Xt,PlusIcon:or,PointerDefaultIcon:nr,PointerHandIcon:er,PowerIcon:cr,PrintIcon:tr,ProceedIcon:rr,ProfileIcon:Ir,PullRequestIcon:ar,QuestionIcon:lr,RSSIcon:ir,RedirectIcon:sr,ReduxIcon:ur,RefreshIcon:dr,ReplyIcon:mr,RepoIcon:pr,RequestChangeIcon:Sr,RewindIcon:Cr,RulerIcon:hr,SearchIcon:Ar,ShareAltIcon:br,ShareIcon:_r,ShieldIcon:Tr,SideBySideIcon:gr,SidebarAltIcon:yr,SidebarAltToggleIcon:Or,SidebarIcon:kr,SidebarToggleIcon:Br,SpeakerIcon:fr,StackedIcon:Pr,StarHollowIcon:Rr,StarIcon:Lr,StickerIcon:Dr,StopAltIcon:Er,StopIcon:wr,StorybookIcon:vr,StructureIcon:xr,SubtractIcon:Hr,SunIcon:Mr,SupportIcon:Ur,SwitchAltIcon:Fr,SyncIcon:Nr,TabletIcon:Gr,ThumbsUpIcon:Wr,TimeIcon:Kr,TimerIcon:Yr,TransferIcon:Vr,TrashIcon:qr,TwitterIcon:Zr,TypeIcon:zr,UbuntuIcon:Jr,UndoIcon:Qr,UnfoldIcon:$r,UnlockIcon:jr,UnpinIcon:Xr,UploadIcon:oI,UserAddIcon:nI,UserAltIcon:eI,UserIcon:cI,UsersIcon:tI,VSCodeIcon:rI,VerifiedIcon:II,VideoIcon:aI,WandIcon:lI,WatchIcon:iI,WindowsIcon:sI,WrenchIcon:uI,YoutubeIcon:dI,ZoomIcon:mI,ZoomOutIcon:pI,ZoomResetIcon:SI,iconList:CI}=__STORYBOOK_ICONS__;var i="storybook/outline",b="outline",_=u(function(){let[c,r]=S(),s=C(),I=[!0,"true"].includes(c[b]),a=d(()=>r({[b]:!I}),[I]);return m(()=>{s.setAddonShortcut(i,{label:"Toggle Outline",defaultShortcut:["alt","O"],actionName:"outline",showInMenu:!1,action:a})},[a,s]),t.createElement(h,{key:"outline",active:I,title:"Apply outlines to the preview",onClick:a},t.createElement(A,null))});l.register(i,()=>{l.add(i,{title:"Outline",type:p.TOOL,match:({viewMode:c,tabId:r})=>!!(c&&c.match(/^(story|docs)$/))&&!r,render:()=>t.createElement(_,null)})});})(); +(()=>{var t=__REACT__,{Children:f,Component:R,Fragment:P,Profiler:L,PureComponent:E,StrictMode:D,Suspense:w,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:v,cloneElement:x,createContext:H,createElement:M,createFactory:U,createRef:F,forwardRef:N,isValidElement:G,lazy:W,memo:u,startTransition:K,unstable_act:Y,useCallback:d,useContext:q,useDebugValue:V,useDeferredValue:Z,useEffect:p,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:$,useMemo:j,useReducer:X,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:po,Provider:mo,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:Ao,eventMatchesShortcut:_o,eventToShortcut:bo,experimental_requestResponse:To,isMacLike:go,isShortcutTaken:yo,keyToSymbol:Oo,merge:ko,mockChannel:Bo,optionOrAltSymbol:fo,shortcutMatchesShortcut:Ro,shortcutToHumanString:Po,types:m,useAddonState:Lo,useArgTypes:Eo,useArgs:Do,useChannel:wo,useGlobalTypes:vo,useGlobals:S,useParameter:xo,useSharedState:Ho,useStoryPrepared:Mo,useStorybookApi:C,useStorybookState:Uo}=__STORYBOOK_API__;var Ko=__STORYBOOK_COMPONENTS__,{A:Yo,ActionBar:qo,AddonPanel:Vo,Badge:Zo,Bar:zo,Blockquote:Jo,Button:Qo,ClipboardCode:$o,Code:jo,DL:Xo,Div:on,DocumentWrapper:nn,EmptyTabContent:en,ErrorFormatter:cn,FlexBar:tn,Form:rn,H1:In,H2:an,H3:ln,H4:sn,H5:un,H6:dn,HR:pn,IconButton:h,IconButtonSkeleton:mn,Icons:Sn,Img:Cn,LI:hn,Link:An,ListItem:_n,Loader:bn,Modal:Tn,OL:gn,P:yn,Placeholder:On,Pre:kn,ResetWrapper:Bn,ScrollArea:fn,Separator:Rn,Spaced:Pn,Span:Ln,StorybookIcon:En,StorybookLogo:Dn,Symbols:wn,SyntaxHighlighter:vn,TT:xn,TabBar:Hn,TabButton:Mn,TabWrapper:Un,Table:Fn,Tabs:Nn,TabsState:Gn,TooltipLinkList:Wn,TooltipMessage:Kn,TooltipNote:Yn,UL:qn,WithTooltip:Vn,WithTooltipPure:Zn,Zoom:zn,codeCommon:Jn,components:Qn,createCopyToClipboardFunction:$n,getStoryHref:jn,icons:Xn,interleaveSeparators:oe,nameSpaceClassNames:ne,resetComponents:ee,withReset:ce}=__STORYBOOK_COMPONENTS__;var le=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ie,AccessibilityIcon:se,AddIcon:ue,AdminIcon:de,AlertAltIcon:pe,AlertIcon:me,AlignLeftIcon:Se,AlignRightIcon:Ce,AppleIcon:he,ArrowDownIcon:Ae,ArrowLeftIcon:_e,ArrowRightIcon:be,ArrowSolidDownIcon:Te,ArrowSolidLeftIcon:ge,ArrowSolidRightIcon:ye,ArrowSolidUpIcon:Oe,ArrowUpIcon:ke,AzureDevOpsIcon:Be,BackIcon:fe,BasketIcon:Re,BatchAcceptIcon:Pe,BatchDenyIcon:Le,BeakerIcon:Ee,BellIcon:De,BitbucketIcon:we,BoldIcon:ve,BookIcon:xe,BookmarkHollowIcon:He,BookmarkIcon:Me,BottomBarIcon:Ue,BottomBarToggleIcon:Fe,BoxIcon:Ne,BranchIcon:Ge,BrowserIcon:We,ButtonIcon:Ke,CPUIcon:Ye,CalendarIcon:qe,CameraIcon:Ve,CategoryIcon:Ze,CertificateIcon:ze,ChangedIcon:Je,ChatIcon:Qe,CheckIcon:$e,ChevronDownIcon:je,ChevronLeftIcon:Xe,ChevronRightIcon:oc,ChevronSmallDownIcon:nc,ChevronSmallLeftIcon:ec,ChevronSmallRightIcon:cc,ChevronSmallUpIcon:tc,ChevronUpIcon:rc,ChromaticIcon:Ic,ChromeIcon:ac,CircleHollowIcon:lc,CircleIcon:ic,ClearIcon:sc,CloseAltIcon:uc,CloseIcon:dc,CloudHollowIcon:pc,CloudIcon:mc,CogIcon:Sc,CollapseIcon:Cc,CommandIcon:hc,CommentAddIcon:Ac,CommentIcon:_c,CommentsIcon:bc,CommitIcon:Tc,CompassIcon:gc,ComponentDrivenIcon:yc,ComponentIcon:Oc,ContrastIcon:kc,ControlsIcon:Bc,CopyIcon:fc,CreditIcon:Rc,CrossIcon:Pc,DashboardIcon:Lc,DatabaseIcon:Ec,DeleteIcon:Dc,DiamondIcon:wc,DirectionIcon:vc,DiscordIcon:xc,DocChartIcon:Hc,DocListIcon:Mc,DocumentIcon:Uc,DownloadIcon:Fc,DragIcon:Nc,EditIcon:Gc,EllipsisIcon:Wc,EmailIcon:Kc,ExpandAltIcon:Yc,ExpandIcon:qc,EyeCloseIcon:Vc,EyeIcon:Zc,FaceHappyIcon:zc,FaceNeutralIcon:Jc,FaceSadIcon:Qc,FacebookIcon:$c,FailedIcon:jc,FastForwardIcon:Xc,FigmaIcon:ot,FilterIcon:nt,FlagIcon:et,FolderIcon:ct,FormIcon:tt,GDriveIcon:rt,GithubIcon:It,GitlabIcon:at,GlobeIcon:lt,GoogleIcon:it,GraphBarIcon:st,GraphLineIcon:ut,GraphqlIcon:dt,GridAltIcon:pt,GridIcon:mt,GrowIcon:St,HeartHollowIcon:Ct,HeartIcon:ht,HomeIcon:At,HourglassIcon:_t,InfoIcon:bt,ItalicIcon:Tt,JumpToIcon:gt,KeyIcon:yt,LightningIcon:Ot,LightningOffIcon:kt,LinkBrokenIcon:Bt,LinkIcon:ft,LinkedinIcon:Rt,LinuxIcon:Pt,ListOrderedIcon:Lt,ListUnorderedIcon:Et,LocationIcon:Dt,LockIcon:wt,MarkdownIcon:vt,MarkupIcon:xt,MediumIcon:Ht,MemoryIcon:Mt,MenuIcon:Ut,MergeIcon:Ft,MirrorIcon:Nt,MobileIcon:Gt,MoonIcon:Wt,NutIcon:Kt,OutboxIcon:Yt,OutlineIcon:A,PaintBrushIcon:qt,PaperClipIcon:Vt,ParagraphIcon:Zt,PassedIcon:zt,PhoneIcon:Jt,PhotoDragIcon:Qt,PhotoIcon:$t,PinAltIcon:jt,PinIcon:Xt,PlayBackIcon:or,PlayIcon:nr,PlayNextIcon:er,PlusIcon:cr,PointerDefaultIcon:tr,PointerHandIcon:rr,PowerIcon:Ir,PrintIcon:ar,ProceedIcon:lr,ProfileIcon:ir,PullRequestIcon:sr,QuestionIcon:ur,RSSIcon:dr,RedirectIcon:pr,ReduxIcon:mr,RefreshIcon:Sr,ReplyIcon:Cr,RepoIcon:hr,RequestChangeIcon:Ar,RewindIcon:_r,RulerIcon:br,SearchIcon:Tr,ShareAltIcon:gr,ShareIcon:yr,ShieldIcon:Or,SideBySideIcon:kr,SidebarAltIcon:Br,SidebarAltToggleIcon:fr,SidebarIcon:Rr,SidebarToggleIcon:Pr,SpeakerIcon:Lr,StackedIcon:Er,StarHollowIcon:Dr,StarIcon:wr,StickerIcon:vr,StopAltIcon:xr,StopIcon:Hr,StorybookIcon:Mr,StructureIcon:Ur,SubtractIcon:Fr,SunIcon:Nr,SupportIcon:Gr,SwitchAltIcon:Wr,SyncIcon:Kr,TabletIcon:Yr,ThumbsUpIcon:qr,TimeIcon:Vr,TimerIcon:Zr,TransferIcon:zr,TrashIcon:Jr,TwitterIcon:Qr,TypeIcon:$r,UbuntuIcon:jr,UndoIcon:Xr,UnfoldIcon:oI,UnlockIcon:nI,UnpinIcon:eI,UploadIcon:cI,UserAddIcon:tI,UserAltIcon:rI,UserIcon:II,UsersIcon:aI,VSCodeIcon:lI,VerifiedIcon:iI,VideoIcon:sI,WandIcon:uI,WatchIcon:dI,WindowsIcon:pI,WrenchIcon:mI,YoutubeIcon:SI,ZoomIcon:CI,ZoomOutIcon:hI,ZoomResetIcon:AI,iconList:_I}=__STORYBOOK_ICONS__;var i="storybook/outline",_="outline",b=u(function(){let[c,r]=S(),s=C(),I=[!0,"true"].includes(c[_]),a=d(()=>r({[_]:!I}),[I]);return p(()=>{s.setAddonShortcut(i,{label:"Toggle Outline",defaultShortcut:["alt","O"],actionName:"outline",showInMenu:!1,action:a})},[a,s]),t.createElement(h,{key:"outline",active:I,title:"Apply outlines to the preview",onClick:a},t.createElement(A,null))});l.register(i,()=>{l.add(i,{title:"Outline",type:m.TOOL,match:({viewMode:c,tabId:r})=>!!(c&&c.match(/^(story|docs)$/))&&!r,render:()=>t.createElement(b,null)})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-toolbars-5/manager-bundle.js b/sb-addons/essentials-toolbars-5/manager-bundle.js index 5ea78ba..3cd68cf 100644 --- a/sb-addons/essentials-toolbars-5/manager-bundle.js +++ b/sb-addons/essentials-toolbars-5/manager-bundle.js @@ -1,3 +1,3 @@ try{ -(()=>{var n=__REACT__,{Children:le,Component:ne,Fragment:se,Profiler:ie,PureComponent:ue,StrictMode:ce,Suspense:pe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:me,cloneElement:de,createContext:be,createElement:Se,createFactory:Te,createRef:ye,forwardRef:_e,isValidElement:fe,lazy:Ce,memo:Ie,startTransition:ve,unstable_act:Oe,useCallback:I,useContext:Ee,useDebugValue:xe,useDeferredValue:ge,useEffect:x,useId:he,useImperativeHandle:ke,useInsertionEffect:Ae,useLayoutEffect:Le,useMemo:Re,useReducer:Be,useRef:L,useState:R,useSyncExternalStore:Pe,useTransition:Me,version:Ne}=__REACT__;var Fe=__STORYBOOK_API__,{ActiveTabs:We,Consumer:Ge,ManagerContext:Ke,Provider:Ye,addons:g,combineParameters:$e,controlOrMetaKey:ze,controlOrMetaSymbol:Ue,eventMatchesShortcut:je,eventToShortcut:qe,isMacLike:Ze,isShortcutTaken:Je,keyToSymbol:Qe,merge:Xe,mockChannel:et,optionOrAltSymbol:tt,shortcutMatchesShortcut:ot,shortcutToHumanString:rt,types:B,useAddonState:at,useArgTypes:lt,useArgs:nt,useChannel:st,useGlobalTypes:P,useGlobals:h,useParameter:it,useSharedState:ut,useStoryPrepared:ct,useStorybookApi:M,useStorybookState:pt}=__STORYBOOK_API__;var Tt=__STORYBOOK_COMPONENTS__,{A:yt,ActionBar:_t,AddonPanel:ft,Badge:Ct,Bar:It,Blockquote:vt,Button:Ot,ClipboardCode:Et,Code:xt,DL:gt,Div:ht,DocumentWrapper:kt,EmptyTabContent:At,ErrorFormatter:Lt,FlexBar:Rt,Form:Bt,H1:Pt,H2:Mt,H3:Nt,H4:wt,H5:Vt,H6:Dt,HR:Ht,IconButton:N,IconButtonSkeleton:Ft,Icons:k,Img:Wt,LI:Gt,Link:Kt,ListItem:Yt,Loader:$t,OL:zt,P:Ut,Placeholder:jt,Pre:qt,ResetWrapper:Zt,ScrollArea:Jt,Separator:w,Spaced:Qt,Span:Xt,StorybookIcon:eo,StorybookLogo:to,Symbols:oo,SyntaxHighlighter:ro,TT:ao,TabBar:lo,TabButton:no,TabWrapper:so,Table:io,Tabs:uo,TabsState:co,TooltipLinkList:V,TooltipMessage:po,TooltipNote:mo,UL:bo,WithTooltip:D,WithTooltipPure:So,Zoom:To,codeCommon:yo,components:_o,createCopyToClipboardFunction:fo,getStoryHref:Co,icons:Io,interleaveSeparators:vo,nameSpaceClassNames:Oo,resetComponents:Eo,withReset:xo}=__STORYBOOK_COMPONENTS__;var W=({active:o,title:t,icon:e,description:r,onClick:a})=>n.createElement(N,{active:o,title:r,onClick:a},e&&n.createElement(k,{icon:e,__suppressDeprecationWarning:!0}),t?`\xA0${t}`:null),G=["reset"],K=o=>o.filter(t=>!G.includes(t.type)).map(t=>t.value),b="addon-toolbars",Y=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(b,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(b,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(b,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},$=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,d=M(),[S,s]=h(),l=L([]),p=S[e],v=I(()=>{s({[e]:""})},[s]),O=I(()=>{let m=l.current,i=m.indexOf(p),c=i===m.length-1?0:i+1,T=l.current[c];s({[e]:T})},[l,p,s]),u=I(()=>{let m=l.current,i=m.indexOf(p),c=i>-1?i:0,T=c===0?m.length-1:c-1,y=l.current[T];s({[e]:y})},[l,p,s]);return x(()=>{a&&Y(d,e,{next:{...a.next,action:O},previous:{...a.previous,action:u},reset:{...a.reset,action:v}})},[d,e,a,O,u,v]),x(()=>{l.current=K(r)},[]),n.createElement(o,{cycleValues:l.current,...t})},H=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),z=({currentValue:o,items:t})=>{let e=H({currentValue:o,items:t});if(e)return e.icon},U=({currentValue:o,items:t})=>{let e=H({currentValue:o,items:t});if(e)return e.title},j=({right:o,title:t,value:e,icon:r,hideIcon:a,onClick:d,currentValue:S})=>{let s=r&&n.createElement(k,{style:{opacity:1},icon:r}),l={id:e??"_reset",active:S===e,right:o,title:t,icon:r,onClick:d};return r&&!a&&(l.icon=s),l},q=$(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:d,preventDynamicIcon:S,dynamicTitle:s}})=>{let[l,p]=h(),[v,O]=R(!1),u=l[o],m=!!u,i=r,c=d;S||(i=z({currentValue:u,items:a})||i),s&&(c=U({currentValue:u,items:a})||c),!c&&!i&&console.warn(`Toolbar '${t}' has no title or icon`);let T=I(y=>{p({[o]:y})},[u,p]);return n.createElement(D,{placement:"top",tooltip:({onHide:y})=>{let F=a.filter(({type:E})=>{let A=!0;return E==="reset"&&!u&&(A=!1),A}).map(E=>j({...E,currentValue:u,onClick:()=>{T(E.value),y()}}));return n.createElement(V,{links:F})},closeOnOutsideClick:!0,onVisibleChange:O},n.createElement(W,{active:v||m,description:e||"",icon:i,title:c||""}))}),Z={type:"item",value:""},J=(o,t)=>({...t,name:t.name||o,description:t.description||o,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let r=typeof e=="string"?{value:e,title:e}:e;return r.type==="reset"&&t.toolbar.icon&&(r.icon=t.toolbar.icon,r.hideIcon=!0),{...Z,...r}})}}),Q=()=>{let o=P(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?n.createElement(n.Fragment,null,n.createElement(w,null),t.map(e=>{let r=J(e,o[e]);return n.createElement(q,{key:e,id:e,...r})})):null};g.register(b,()=>g.add(b,{title:b,type:B.TOOL,match:({tabId:o})=>!o,render:()=>n.createElement(Q,null)}));})(); +(()=>{var n=__REACT__,{Children:le,Component:ne,Fragment:se,Profiler:ie,PureComponent:ue,StrictMode:ce,Suspense:pe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:me,cloneElement:de,createContext:be,createElement:Se,createFactory:Te,createRef:ye,forwardRef:_e,isValidElement:fe,lazy:Ce,memo:Ie,startTransition:ve,unstable_act:Oe,useCallback:I,useContext:Ee,useDebugValue:xe,useDeferredValue:ge,useEffect:x,useId:he,useImperativeHandle:ke,useInsertionEffect:Ae,useLayoutEffect:Re,useMemo:Le,useReducer:Be,useRef:R,useState:L,useSyncExternalStore:Me,useTransition:Pe,version:Ne}=__REACT__;var Fe=__STORYBOOK_API__,{ActiveTabs:We,Consumer:Ge,ManagerContext:Ke,Provider:Ye,RequestResponseError:$e,addons:g,combineParameters:qe,controlOrMetaKey:ze,controlOrMetaSymbol:Ue,eventMatchesShortcut:je,eventToShortcut:Ze,experimental_requestResponse:Je,isMacLike:Qe,isShortcutTaken:Xe,keyToSymbol:et,merge:tt,mockChannel:ot,optionOrAltSymbol:rt,shortcutMatchesShortcut:at,shortcutToHumanString:lt,types:B,useAddonState:nt,useArgTypes:st,useArgs:it,useChannel:ut,useGlobalTypes:M,useGlobals:h,useParameter:ct,useSharedState:pt,useStoryPrepared:mt,useStorybookApi:P,useStorybookState:dt}=__STORYBOOK_API__;var _t=__STORYBOOK_COMPONENTS__,{A:ft,ActionBar:Ct,AddonPanel:It,Badge:vt,Bar:Ot,Blockquote:Et,Button:xt,ClipboardCode:gt,Code:ht,DL:kt,Div:At,DocumentWrapper:Rt,EmptyTabContent:Lt,ErrorFormatter:Bt,FlexBar:Mt,Form:Pt,H1:Nt,H2:wt,H3:Vt,H4:Dt,H5:Ht,H6:Ft,HR:Wt,IconButton:N,IconButtonSkeleton:Gt,Icons:k,Img:Kt,LI:Yt,Link:$t,ListItem:qt,Loader:zt,Modal:Ut,OL:jt,P:Zt,Placeholder:Jt,Pre:Qt,ResetWrapper:Xt,ScrollArea:eo,Separator:w,Spaced:to,Span:oo,StorybookIcon:ro,StorybookLogo:ao,Symbols:lo,SyntaxHighlighter:no,TT:so,TabBar:io,TabButton:uo,TabWrapper:co,Table:po,Tabs:mo,TabsState:bo,TooltipLinkList:V,TooltipMessage:So,TooltipNote:To,UL:yo,WithTooltip:D,WithTooltipPure:_o,Zoom:fo,codeCommon:Co,components:Io,createCopyToClipboardFunction:vo,getStoryHref:Oo,icons:Eo,interleaveSeparators:xo,nameSpaceClassNames:go,resetComponents:ho,withReset:ko}=__STORYBOOK_COMPONENTS__;var W=({active:o,title:t,icon:e,description:r,onClick:a})=>n.createElement(N,{active:o,title:r,onClick:a},e&&n.createElement(k,{icon:e,__suppressDeprecationWarning:!0}),t?`\xA0${t}`:null),G=["reset"],K=o=>o.filter(t=>!G.includes(t.type)).map(t=>t.value),b="addon-toolbars",Y=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(b,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(b,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(b,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},$=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,d=P(),[S,s]=h(),l=R([]),p=S[e],v=I(()=>{s({[e]:""})},[s]),O=I(()=>{let m=l.current,i=m.indexOf(p),c=i===m.length-1?0:i+1,T=l.current[c];s({[e]:T})},[l,p,s]),u=I(()=>{let m=l.current,i=m.indexOf(p),c=i>-1?i:0,T=c===0?m.length-1:c-1,y=l.current[T];s({[e]:y})},[l,p,s]);return x(()=>{a&&Y(d,e,{next:{...a.next,action:O},previous:{...a.previous,action:u},reset:{...a.reset,action:v}})},[d,e,a,O,u,v]),x(()=>{l.current=K(r)},[]),n.createElement(o,{cycleValues:l.current,...t})},H=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),q=({currentValue:o,items:t})=>{let e=H({currentValue:o,items:t});if(e)return e.icon},z=({currentValue:o,items:t})=>{let e=H({currentValue:o,items:t});if(e)return e.title},U=({right:o,title:t,value:e,icon:r,hideIcon:a,onClick:d,currentValue:S})=>{let s=r&&n.createElement(k,{style:{opacity:1},icon:r}),l={id:e??"_reset",active:S===e,right:o,title:t,icon:r,onClick:d};return r&&!a&&(l.icon=s),l},j=$(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:d,preventDynamicIcon:S,dynamicTitle:s}})=>{let[l,p]=h(),[v,O]=L(!1),u=l[o],m=!!u,i=r,c=d;S||(i=q({currentValue:u,items:a})||i),s&&(c=z({currentValue:u,items:a})||c),!c&&!i&&console.warn(`Toolbar '${t}' has no title or icon`);let T=I(y=>{p({[o]:y})},[u,p]);return n.createElement(D,{placement:"top",tooltip:({onHide:y})=>{let F=a.filter(({type:E})=>{let A=!0;return E==="reset"&&!u&&(A=!1),A}).map(E=>U({...E,currentValue:u,onClick:()=>{T(E.value),y()}}));return n.createElement(V,{links:F})},closeOnOutsideClick:!0,onVisibleChange:O},n.createElement(W,{active:v||m,description:e||"",icon:i,title:c||""}))}),Z={type:"item",value:""},J=(o,t)=>({...t,name:t.name||o,description:t.description||o,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let r=typeof e=="string"?{value:e,title:e}:e;return r.type==="reset"&&t.toolbar.icon&&(r.icon=t.toolbar.icon,r.hideIcon=!0),{...Z,...r}})}}),Q=()=>{let o=M(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?n.createElement(n.Fragment,null,n.createElement(w,null),t.map(e=>{let r=J(e,o[e]);return n.createElement(j,{key:e,id:e,...r})})):null};g.register(b,()=>g.add(b,{title:b,type:B.TOOL,match:({tabId:o})=>!o,render:()=>n.createElement(Q,null)}));})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/essentials-viewport-4/manager-bundle.js b/sb-addons/essentials-viewport-4/manager-bundle.js index de4602c..d3cc7bc 100644 --- a/sb-addons/essentials-viewport-4/manager-bundle.js +++ b/sb-addons/essentials-viewport-4/manager-bundle.js @@ -1,3 +1,3 @@ try{ -(()=>{var ie=Object.create;var H=Object.defineProperty;var ce=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var le=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty;var O=(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')});var P=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ue=(e,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ae(t))!se.call(e,a)&&a!==r&&H(e,a,{get:()=>t[a],enumerable:!(l=ce(t,a))||l.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?ie(le(e)):{},ue(t||!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e));var d=P(()=>{});var h=P(()=>{});var m=P(()=>{});var $=Ie((Z,D)=>{d();h();m();(function(e){if(typeof Z=="object"&&typeof D<"u")D.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,r;return function l(a,S,u){function i(c,I){if(!S[c]){if(!a[c]){var s=typeof O=="function"&&O;if(!I&&s)return s(c,!0);if(o)return o(c,!0);var g=new Error("Cannot find module '"+c+"'");throw g.code="MODULE_NOT_FOUND",g}var n=S[c]={exports:{}};a[c][0].call(n.exports,function(p){var b=a[c][1][p];return i(b||p)},n,n.exports,l,a,S,u)}return S[c].exports}for(var o=typeof O=="function"&&O,f=0;f=0)return this.lastItem=this.list[o],this.list[o].val},u.prototype.set=function(i,o){var f;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=o,this):(f=this.indexOf(i),f>=0?(this.lastItem=this.list[f],this.list[f].val=o,this):(this.lastItem={key:i,val:o},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(i){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),o=this.indexOf(i),o>=0)return this.size--,this.list.splice(o,1)[0]},u.prototype.has=function(i){var o;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(o=this.indexOf(i),o>=0?(this.lastItem=this.list[o],!0):!1)},u.prototype.forEach=function(i,o){var f;for(f=0;f0&&(E[y]={cacheItem:p,arg:arguments[y]},x?i(s,E):s.push(E),s.length>c&&o(s.shift())),n.wasMemoized=x,n.numArgs=y+1,R};return n.limit=c,n.wasMemoized=!1,n.cache=I,n.lru=s,n}};function i(c,I){var s=c.length,g=I.length,n,p,b;for(p=0;p=0&&(s=c[n],g=s.cacheItem.get(s.arg),!g||!g.size);n--)s.cacheItem.delete(s.arg)}function f(c,I){return c===I||c!==c&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});d();h();m();d();h();m();d();h();m();d();h();m();var w=__REACT__,{Children:De,Component:Ve,Fragment:U,Profiler:Ne,PureComponent:He,StrictMode:Ue,Suspense:ze,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fe,cloneElement:Ge,createContext:qe,createElement:z,createFactory:We,createRef:Ye,forwardRef:je,isValidElement:Ke,lazy:Ze,memo:F,startTransition:$e,unstable_act:Je,useCallback:Qe,useContext:Xe,useDebugValue:et,useDeferredValue:tt,useEffect:L,useId:ot,useImperativeHandle:nt,useInsertionEffect:rt,useLayoutEffect:it,useMemo:ct,useReducer:at,useRef:G,useState:q,useSyncExternalStore:lt,useTransition:st,version:It}=__REACT__;d();h();m();var ht=__STORYBOOK_API__,{ActiveTabs:mt,Consumer:ft,ManagerContext:gt,Provider:St,addons:M,combineParameters:wt,controlOrMetaKey:bt,controlOrMetaSymbol:yt,eventMatchesShortcut:Ct,eventToShortcut:vt,isMacLike:Tt,isShortcutTaken:_t,keyToSymbol:xt,merge:Ot,mockChannel:At,optionOrAltSymbol:kt,shortcutMatchesShortcut:Rt,shortcutToHumanString:Et,types:W,useAddonState:Lt,useArgTypes:Bt,useArgs:Pt,useChannel:Mt,useGlobalTypes:Dt,useGlobals:Y,useParameter:j,useSharedState:Vt,useStoryPrepared:Nt,useStorybookApi:K,useStorybookState:Ht}=__STORYBOOK_API__;var N=pe($());d();h();m();var Kt=__STORYBOOK_THEMING__,{CacheProvider:Zt,ClassNames:$t,Global:J,ThemeProvider:Jt,background:Qt,color:Xt,convert:eo,create:to,createCache:oo,createGlobal:no,createReset:ro,css:io,darken:co,ensure:ao,ignoreSsrWarning:lo,isPropValid:so,jsx:Io,keyframes:uo,lighten:po,styled:A,themes:ho,typography:mo,useTheme:fo,withTheme:Q}=__STORYBOOK_THEMING__;d();h();m();var yo=__STORYBOOK_COMPONENTS__,{A:Co,ActionBar:vo,AddonPanel:To,Badge:_o,Bar:xo,Blockquote:Oo,Button:Ao,ClipboardCode:ko,Code:Ro,DL:Eo,Div:Lo,DocumentWrapper:Bo,EmptyTabContent:Po,ErrorFormatter:Mo,FlexBar:Do,Form:Vo,H1:No,H2:Ho,H3:Uo,H4:zo,H5:Fo,H6:Go,HR:qo,IconButton:V,IconButtonSkeleton:Wo,Icons:Yo,Img:jo,LI:Ko,Link:Zo,ListItem:$o,Loader:Jo,OL:Qo,P:Xo,Placeholder:en,Pre:tn,ResetWrapper:on,ScrollArea:nn,Separator:rn,Spaced:cn,Span:an,StorybookIcon:ln,StorybookLogo:sn,Symbols:In,SyntaxHighlighter:un,TT:pn,TabBar:dn,TabButton:hn,TabWrapper:mn,Table:fn,Tabs:gn,TabsState:Sn,TooltipLinkList:X,TooltipMessage:wn,TooltipNote:bn,UL:yn,WithTooltip:ee,WithTooltipPure:Cn,Zoom:vn,codeCommon:Tn,components:_n,createCopyToClipboardFunction:xn,getStoryHref:On,icons:An,interleaveSeparators:kn,nameSpaceClassNames:Rn,resetComponents:En,withReset:Ln}=__STORYBOOK_COMPONENTS__;d();h();m();var Vn=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Nn,AccessibilityIcon:Hn,AddIcon:Un,AdminIcon:zn,AlertAltIcon:Fn,AlertIcon:Gn,AlignLeftIcon:qn,AlignRightIcon:Wn,AppleIcon:Yn,ArrowDownIcon:jn,ArrowLeftIcon:Kn,ArrowRightIcon:Zn,ArrowSolidDownIcon:$n,ArrowSolidLeftIcon:Jn,ArrowSolidRightIcon:Qn,ArrowSolidUpIcon:Xn,ArrowUpIcon:er,AzureDevOpsIcon:tr,BackIcon:or,BasketIcon:nr,BatchAcceptIcon:rr,BatchDenyIcon:ir,BeakerIcon:cr,BellIcon:ar,BitbucketIcon:lr,BoldIcon:sr,BookIcon:Ir,BookmarkHollowIcon:ur,BookmarkIcon:pr,BottomBarIcon:dr,BottomBarToggleIcon:hr,BoxIcon:mr,BranchIcon:fr,BrowserIcon:gr,ButtonIcon:Sr,CPUIcon:wr,CalendarIcon:br,CameraIcon:yr,CategoryIcon:Cr,CertificateIcon:vr,ChangedIcon:Tr,ChatIcon:_r,CheckIcon:xr,ChevronDownIcon:Or,ChevronLeftIcon:Ar,ChevronRightIcon:kr,ChevronSmallDownIcon:Rr,ChevronSmallLeftIcon:Er,ChevronSmallRightIcon:Lr,ChevronSmallUpIcon:Br,ChevronUpIcon:Pr,ChromaticIcon:Mr,ChromeIcon:Dr,CircleHollowIcon:Vr,CircleIcon:Nr,ClearIcon:Hr,CloseAltIcon:Ur,CloseIcon:zr,CloudHollowIcon:Fr,CloudIcon:Gr,CogIcon:qr,CollapseIcon:Wr,CommandIcon:Yr,CommentAddIcon:jr,CommentIcon:Kr,CommentsIcon:Zr,CommitIcon:$r,CompassIcon:Jr,ComponentDrivenIcon:Qr,ComponentIcon:Xr,ContrastIcon:ei,ControlsIcon:ti,CopyIcon:oi,CreditIcon:ni,CrossIcon:ri,DashboardIcon:ii,DatabaseIcon:ci,DeleteIcon:ai,DiamondIcon:li,DirectionIcon:si,DiscordIcon:Ii,DocChartIcon:ui,DocListIcon:pi,DocumentIcon:di,DownloadIcon:hi,DragIcon:mi,EditIcon:fi,EllipsisIcon:gi,EmailIcon:Si,ExpandAltIcon:wi,ExpandIcon:bi,EyeCloseIcon:yi,EyeIcon:Ci,FaceHappyIcon:vi,FaceNeutralIcon:Ti,FaceSadIcon:_i,FacebookIcon:xi,FailedIcon:Oi,FastForwardIcon:Ai,FigmaIcon:ki,FilterIcon:Ri,FlagIcon:Ei,FolderIcon:Li,FormIcon:Bi,GDriveIcon:Pi,GithubIcon:Mi,GitlabIcon:Di,GlobeIcon:Vi,GoogleIcon:Ni,GraphBarIcon:Hi,GraphLineIcon:Ui,GraphqlIcon:zi,GridAltIcon:Fi,GridIcon:Gi,GrowIcon:te,HeartHollowIcon:qi,HeartIcon:Wi,HomeIcon:Yi,HourglassIcon:ji,InfoIcon:Ki,ItalicIcon:Zi,JumpToIcon:$i,KeyIcon:Ji,LightningIcon:Qi,LightningOffIcon:Xi,LinkBrokenIcon:ec,LinkIcon:tc,LinkedinIcon:oc,LinuxIcon:nc,ListOrderedIcon:rc,ListUnorderedIcon:ic,LocationIcon:cc,LockIcon:ac,MarkdownIcon:lc,MarkupIcon:sc,MediumIcon:Ic,MemoryIcon:uc,MenuIcon:pc,MergeIcon:dc,MirrorIcon:hc,MobileIcon:mc,MoonIcon:fc,NutIcon:gc,OutboxIcon:Sc,OutlineIcon:wc,PaintBrushIcon:bc,PaperClipIcon:yc,ParagraphIcon:Cc,PassedIcon:vc,PhoneIcon:Tc,PhotoDragIcon:_c,PhotoIcon:xc,PinAltIcon:Oc,PinIcon:Ac,PlayBackIcon:kc,PlayIcon:Rc,PlayNextIcon:Ec,PlusIcon:Lc,PointerDefaultIcon:Bc,PointerHandIcon:Pc,PowerIcon:Mc,PrintIcon:Dc,ProceedIcon:Vc,ProfileIcon:Nc,PullRequestIcon:Hc,QuestionIcon:Uc,RSSIcon:zc,RedirectIcon:Fc,ReduxIcon:Gc,RefreshIcon:qc,ReplyIcon:Wc,RepoIcon:Yc,RequestChangeIcon:jc,RewindIcon:Kc,RulerIcon:Zc,SearchIcon:$c,ShareAltIcon:Jc,ShareIcon:Qc,ShieldIcon:Xc,SideBySideIcon:ea,SidebarAltIcon:ta,SidebarAltToggleIcon:oa,SidebarIcon:na,SidebarToggleIcon:ra,SpeakerIcon:ia,StackedIcon:ca,StarHollowIcon:aa,StarIcon:la,StickerIcon:sa,StopAltIcon:Ia,StopIcon:ua,StorybookIcon:pa,StructureIcon:da,SubtractIcon:ha,SunIcon:ma,SupportIcon:fa,SwitchAltIcon:ga,SyncIcon:Sa,TabletIcon:wa,ThumbsUpIcon:ba,TimeIcon:ya,TimerIcon:Ca,TransferIcon:oe,TrashIcon:va,TwitterIcon:Ta,TypeIcon:_a,UbuntuIcon:xa,UndoIcon:Oa,UnfoldIcon:Aa,UnlockIcon:ka,UnpinIcon:Ra,UploadIcon:Ea,UserAddIcon:La,UserAltIcon:Ba,UserIcon:Pa,UsersIcon:Ma,VSCodeIcon:Da,VerifiedIcon:Va,VideoIcon:Na,WandIcon:Ha,WatchIcon:Ua,WindowsIcon:za,WrenchIcon:Fa,YoutubeIcon:Ga,ZoomIcon:qa,ZoomOutIcon:Wa,ZoomResetIcon:Ya,iconList:ja}=__STORYBOOK_ICONS__;var k="storybook/viewport",he="viewport",me={viewport:"reset",viewportRotated:!1},re=(e,t)=>e.indexOf(t),fe=(e,t)=>{let r=re(e,t);return r===e.length-1?e[0]:e[r+1]},ge=(e,t)=>{let r=re(e,t);return r<1?e[e.length-1]:e[r-1]},Se=async(e,t,r,l)=>{await e.setAddonShortcut(k,{label:"Previous viewport",defaultShortcut:["alt","shift","V"],actionName:"previous",action:()=>{r({viewport:ge(l,t.viewport)})}}),await e.setAddonShortcut(k,{label:"Next viewport",defaultShortcut:["alt","V"],actionName:"next",action:()=>{r({viewport:fe(l,t.viewport)})}}),await e.setAddonShortcut(k,{label:"Reset viewport",defaultShortcut:["alt","control","V"],actionName:"reset",action:()=>{r(me)}})},we={mobile1:{name:"Small mobile",styles:{height:"568px",width:"320px"},type:"mobile"},mobile2:{name:"Large mobile",styles:{height:"896px",width:"414px"},type:"mobile"},tablet:{name:"Tablet",styles:{height:"1112px",width:"834px"},type:"tablet"}},be=(0,N.default)(50)(e=>[...ye,...Object.entries(e).map(([t,{name:r,...l}])=>({...l,id:t,title:r}))]),B={id:"reset",title:"Reset viewport",styles:null,type:"other"},ye=[B],Ce=(0,N.default)(50)((e,t,r,l)=>e.filter(a=>a.id!==B.id||t.id!==a.id).map(a=>({...a,onClick:()=>{r({viewport:a.id}),l()}}))),ve=({width:e,height:t,...r})=>({...r,height:e,width:t}),Te=A.div(()=>({display:"inline-flex",alignItems:"center"})),ne=A.div(({theme:e})=>({display:"inline-block",textDecoration:"none",padding:10,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:"1",height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent"})),_e=A(V)(()=>({display:"inline-flex",alignItems:"center"})),xe=A.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Oe=(e,t,r)=>{if(t===null)return;let l=typeof t=="function"?t(e):t;return r?ve(l):l},Ae=F(Q(({theme:e})=>{let[t,r]=Y(),{viewports:l=we,defaultOrientation:a,defaultViewport:S,disable:u}=j(he,{}),i=be(l),o=K(),[f,c]=q(!1);S&&!i.find(n=>n.id===S)&&console.warn(`Cannot find "defaultViewport" of "${S}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),L(()=>{Se(o,t,r,Object.keys(l))},[l,t,t.viewport,r,o]),L(()=>{let n=a==="landscape";(S&&t.viewport!==S||a&&t.viewportRotated!==n)&&r({viewport:S,viewportRotated:n})},[a,S,r]);let I=i.find(n=>n.id===t.viewport)||i.find(n=>n.id===S)||i.find(n=>n.default)||B,s=G(),g=Oe(s.current,I.styles,t.viewportRotated);return L(()=>{s.current=g},[I]),u||Object.entries(l).length===0?null:w.createElement(U,null,w.createElement(ee,{placement:"top",tooltip:({onHide:n})=>w.createElement(X,{links:Ce(i,I,r,n)}),closeOnOutsideClick:!0,onVisibleChange:c},w.createElement(_e,{key:"viewport",title:"Change the size of the preview",active:f||!!g,onDoubleClick:()=>{r({viewport:B.id})}},w.createElement(te,null),g?w.createElement(xe,null,t.viewportRotated?`${I.title} (L)`:`${I.title} (P)`):null)),g?w.createElement(Te,null,w.createElement(J,{styles:{'iframe[data-is-storybook="true"]':{...g||{width:"100%",height:"100%"}}}}),w.createElement(ne,{title:"Viewport width"},g.width.replace("px","")),w.createElement(V,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{r({viewportRotated:!t.viewportRotated})}},w.createElement(oe,null)),w.createElement(ne,{title:"Viewport height"},g.height.replace("px",""))):null)}));M.register(k,()=>{M.add(k,{title:"viewport / media-queries",type:W.TOOL,match:({viewMode:e,tabId:t})=>e==="story"&&!t,render:()=>z(Ae,null)})});})(); +(()=>{var ie=Object.create;var H=Object.defineProperty;var ce=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var le=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty;var O=(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')});var P=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ue=(e,t,r,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ae(t))!se.call(e,a)&&a!==r&&H(e,a,{get:()=>t[a],enumerable:!(l=ce(t,a))||l.enumerable});return e};var pe=(e,t,r)=>(r=e!=null?ie(le(e)):{},ue(t||!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e));var d=P(()=>{});var h=P(()=>{});var m=P(()=>{});var $=Ie((Z,D)=>{d();h();m();(function(e){if(typeof Z=="object"&&typeof D<"u")D.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,r;return function l(a,S,u){function i(c,I){if(!S[c]){if(!a[c]){var s=typeof O=="function"&&O;if(!I&&s)return s(c,!0);if(o)return o(c,!0);var g=new Error("Cannot find module '"+c+"'");throw g.code="MODULE_NOT_FOUND",g}var n=S[c]={exports:{}};a[c][0].call(n.exports,function(p){var b=a[c][1][p];return i(b||p)},n,n.exports,l,a,S,u)}return S[c].exports}for(var o=typeof O=="function"&&O,f=0;f=0)return this.lastItem=this.list[o],this.list[o].val},u.prototype.set=function(i,o){var f;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=o,this):(f=this.indexOf(i),f>=0?(this.lastItem=this.list[f],this.list[f].val=o,this):(this.lastItem={key:i,val:o},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(i){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),o=this.indexOf(i),o>=0)return this.size--,this.list.splice(o,1)[0]},u.prototype.has=function(i){var o;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(o=this.indexOf(i),o>=0?(this.lastItem=this.list[o],!0):!1)},u.prototype.forEach=function(i,o){var f;for(f=0;f0&&(E[y]={cacheItem:p,arg:arguments[y]},x?i(s,E):s.push(E),s.length>c&&o(s.shift())),n.wasMemoized=x,n.numArgs=y+1,R};return n.limit=c,n.wasMemoized=!1,n.cache=I,n.lru=s,n}};function i(c,I){var s=c.length,g=I.length,n,p,b;for(p=0;p=0&&(s=c[n],g=s.cacheItem.get(s.arg),!g||!g.size);n--)s.cacheItem.delete(s.arg)}function f(c,I){return c===I||c!==c&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});d();h();m();d();h();m();d();h();m();d();h();m();var w=__REACT__,{Children:De,Component:Ve,Fragment:U,Profiler:Ne,PureComponent:He,StrictMode:Ue,Suspense:ze,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Fe,cloneElement:Ge,createContext:qe,createElement:z,createFactory:We,createRef:Ye,forwardRef:je,isValidElement:Ke,lazy:Ze,memo:F,startTransition:$e,unstable_act:Je,useCallback:Qe,useContext:Xe,useDebugValue:et,useDeferredValue:tt,useEffect:L,useId:ot,useImperativeHandle:nt,useInsertionEffect:rt,useLayoutEffect:it,useMemo:ct,useReducer:at,useRef:G,useState:q,useSyncExternalStore:lt,useTransition:st,version:It}=__REACT__;d();h();m();var ht=__STORYBOOK_API__,{ActiveTabs:mt,Consumer:ft,ManagerContext:gt,Provider:St,RequestResponseError:wt,addons:M,combineParameters:bt,controlOrMetaKey:yt,controlOrMetaSymbol:Ct,eventMatchesShortcut:vt,eventToShortcut:_t,experimental_requestResponse:Tt,isMacLike:xt,isShortcutTaken:Ot,keyToSymbol:At,merge:kt,mockChannel:Rt,optionOrAltSymbol:Et,shortcutMatchesShortcut:Lt,shortcutToHumanString:Bt,types:W,useAddonState:Pt,useArgTypes:Mt,useArgs:Dt,useChannel:Vt,useGlobalTypes:Nt,useGlobals:Y,useParameter:j,useSharedState:Ht,useStoryPrepared:Ut,useStorybookApi:K,useStorybookState:zt}=__STORYBOOK_API__;var N=pe($());d();h();m();var $t=__STORYBOOK_THEMING__,{CacheProvider:Jt,ClassNames:Qt,Global:J,ThemeProvider:Xt,background:eo,color:to,convert:oo,create:no,createCache:ro,createGlobal:io,createReset:co,css:ao,darken:lo,ensure:so,ignoreSsrWarning:Io,isPropValid:uo,jsx:po,keyframes:ho,lighten:mo,styled:A,themes:fo,typography:go,useTheme:So,withTheme:Q}=__STORYBOOK_THEMING__;d();h();m();var vo=__STORYBOOK_COMPONENTS__,{A:_o,ActionBar:To,AddonPanel:xo,Badge:Oo,Bar:Ao,Blockquote:ko,Button:Ro,ClipboardCode:Eo,Code:Lo,DL:Bo,Div:Po,DocumentWrapper:Mo,EmptyTabContent:Do,ErrorFormatter:Vo,FlexBar:No,Form:Ho,H1:Uo,H2:zo,H3:Fo,H4:Go,H5:qo,H6:Wo,HR:Yo,IconButton:V,IconButtonSkeleton:jo,Icons:Ko,Img:Zo,LI:$o,Link:Jo,ListItem:Qo,Loader:Xo,Modal:en,OL:tn,P:on,Placeholder:nn,Pre:rn,ResetWrapper:cn,ScrollArea:an,Separator:ln,Spaced:sn,Span:In,StorybookIcon:un,StorybookLogo:pn,Symbols:dn,SyntaxHighlighter:hn,TT:mn,TabBar:fn,TabButton:gn,TabWrapper:Sn,Table:wn,Tabs:bn,TabsState:yn,TooltipLinkList:X,TooltipMessage:Cn,TooltipNote:vn,UL:_n,WithTooltip:ee,WithTooltipPure:Tn,Zoom:xn,codeCommon:On,components:An,createCopyToClipboardFunction:kn,getStoryHref:Rn,icons:En,interleaveSeparators:Ln,nameSpaceClassNames:Bn,resetComponents:Pn,withReset:Mn}=__STORYBOOK_COMPONENTS__;d();h();m();var Un=__STORYBOOK_ICONS__,{AccessibilityAltIcon:zn,AccessibilityIcon:Fn,AddIcon:Gn,AdminIcon:qn,AlertAltIcon:Wn,AlertIcon:Yn,AlignLeftIcon:jn,AlignRightIcon:Kn,AppleIcon:Zn,ArrowDownIcon:$n,ArrowLeftIcon:Jn,ArrowRightIcon:Qn,ArrowSolidDownIcon:Xn,ArrowSolidLeftIcon:er,ArrowSolidRightIcon:tr,ArrowSolidUpIcon:or,ArrowUpIcon:nr,AzureDevOpsIcon:rr,BackIcon:ir,BasketIcon:cr,BatchAcceptIcon:ar,BatchDenyIcon:lr,BeakerIcon:sr,BellIcon:Ir,BitbucketIcon:ur,BoldIcon:pr,BookIcon:dr,BookmarkHollowIcon:hr,BookmarkIcon:mr,BottomBarIcon:fr,BottomBarToggleIcon:gr,BoxIcon:Sr,BranchIcon:wr,BrowserIcon:br,ButtonIcon:yr,CPUIcon:Cr,CalendarIcon:vr,CameraIcon:_r,CategoryIcon:Tr,CertificateIcon:xr,ChangedIcon:Or,ChatIcon:Ar,CheckIcon:kr,ChevronDownIcon:Rr,ChevronLeftIcon:Er,ChevronRightIcon:Lr,ChevronSmallDownIcon:Br,ChevronSmallLeftIcon:Pr,ChevronSmallRightIcon:Mr,ChevronSmallUpIcon:Dr,ChevronUpIcon:Vr,ChromaticIcon:Nr,ChromeIcon:Hr,CircleHollowIcon:Ur,CircleIcon:zr,ClearIcon:Fr,CloseAltIcon:Gr,CloseIcon:qr,CloudHollowIcon:Wr,CloudIcon:Yr,CogIcon:jr,CollapseIcon:Kr,CommandIcon:Zr,CommentAddIcon:$r,CommentIcon:Jr,CommentsIcon:Qr,CommitIcon:Xr,CompassIcon:ei,ComponentDrivenIcon:ti,ComponentIcon:oi,ContrastIcon:ni,ControlsIcon:ri,CopyIcon:ii,CreditIcon:ci,CrossIcon:ai,DashboardIcon:li,DatabaseIcon:si,DeleteIcon:Ii,DiamondIcon:ui,DirectionIcon:pi,DiscordIcon:di,DocChartIcon:hi,DocListIcon:mi,DocumentIcon:fi,DownloadIcon:gi,DragIcon:Si,EditIcon:wi,EllipsisIcon:bi,EmailIcon:yi,ExpandAltIcon:Ci,ExpandIcon:vi,EyeCloseIcon:_i,EyeIcon:Ti,FaceHappyIcon:xi,FaceNeutralIcon:Oi,FaceSadIcon:Ai,FacebookIcon:ki,FailedIcon:Ri,FastForwardIcon:Ei,FigmaIcon:Li,FilterIcon:Bi,FlagIcon:Pi,FolderIcon:Mi,FormIcon:Di,GDriveIcon:Vi,GithubIcon:Ni,GitlabIcon:Hi,GlobeIcon:Ui,GoogleIcon:zi,GraphBarIcon:Fi,GraphLineIcon:Gi,GraphqlIcon:qi,GridAltIcon:Wi,GridIcon:Yi,GrowIcon:te,HeartHollowIcon:ji,HeartIcon:Ki,HomeIcon:Zi,HourglassIcon:$i,InfoIcon:Ji,ItalicIcon:Qi,JumpToIcon:Xi,KeyIcon:ec,LightningIcon:tc,LightningOffIcon:oc,LinkBrokenIcon:nc,LinkIcon:rc,LinkedinIcon:ic,LinuxIcon:cc,ListOrderedIcon:ac,ListUnorderedIcon:lc,LocationIcon:sc,LockIcon:Ic,MarkdownIcon:uc,MarkupIcon:pc,MediumIcon:dc,MemoryIcon:hc,MenuIcon:mc,MergeIcon:fc,MirrorIcon:gc,MobileIcon:Sc,MoonIcon:wc,NutIcon:bc,OutboxIcon:yc,OutlineIcon:Cc,PaintBrushIcon:vc,PaperClipIcon:_c,ParagraphIcon:Tc,PassedIcon:xc,PhoneIcon:Oc,PhotoDragIcon:Ac,PhotoIcon:kc,PinAltIcon:Rc,PinIcon:Ec,PlayBackIcon:Lc,PlayIcon:Bc,PlayNextIcon:Pc,PlusIcon:Mc,PointerDefaultIcon:Dc,PointerHandIcon:Vc,PowerIcon:Nc,PrintIcon:Hc,ProceedIcon:Uc,ProfileIcon:zc,PullRequestIcon:Fc,QuestionIcon:Gc,RSSIcon:qc,RedirectIcon:Wc,ReduxIcon:Yc,RefreshIcon:jc,ReplyIcon:Kc,RepoIcon:Zc,RequestChangeIcon:$c,RewindIcon:Jc,RulerIcon:Qc,SearchIcon:Xc,ShareAltIcon:ea,ShareIcon:ta,ShieldIcon:oa,SideBySideIcon:na,SidebarAltIcon:ra,SidebarAltToggleIcon:ia,SidebarIcon:ca,SidebarToggleIcon:aa,SpeakerIcon:la,StackedIcon:sa,StarHollowIcon:Ia,StarIcon:ua,StickerIcon:pa,StopAltIcon:da,StopIcon:ha,StorybookIcon:ma,StructureIcon:fa,SubtractIcon:ga,SunIcon:Sa,SupportIcon:wa,SwitchAltIcon:ba,SyncIcon:ya,TabletIcon:Ca,ThumbsUpIcon:va,TimeIcon:_a,TimerIcon:Ta,TransferIcon:oe,TrashIcon:xa,TwitterIcon:Oa,TypeIcon:Aa,UbuntuIcon:ka,UndoIcon:Ra,UnfoldIcon:Ea,UnlockIcon:La,UnpinIcon:Ba,UploadIcon:Pa,UserAddIcon:Ma,UserAltIcon:Da,UserIcon:Va,UsersIcon:Na,VSCodeIcon:Ha,VerifiedIcon:Ua,VideoIcon:za,WandIcon:Fa,WatchIcon:Ga,WindowsIcon:qa,WrenchIcon:Wa,YoutubeIcon:Ya,ZoomIcon:ja,ZoomOutIcon:Ka,ZoomResetIcon:Za,iconList:$a}=__STORYBOOK_ICONS__;var k="storybook/viewport",he="viewport",me={viewport:"reset",viewportRotated:!1},re=(e,t)=>e.indexOf(t),fe=(e,t)=>{let r=re(e,t);return r===e.length-1?e[0]:e[r+1]},ge=(e,t)=>{let r=re(e,t);return r<1?e[e.length-1]:e[r-1]},Se=async(e,t,r,l)=>{await e.setAddonShortcut(k,{label:"Previous viewport",defaultShortcut:["alt","shift","V"],actionName:"previous",action:()=>{r({viewport:ge(l,t.viewport)})}}),await e.setAddonShortcut(k,{label:"Next viewport",defaultShortcut:["alt","V"],actionName:"next",action:()=>{r({viewport:fe(l,t.viewport)})}}),await e.setAddonShortcut(k,{label:"Reset viewport",defaultShortcut:["alt","control","V"],actionName:"reset",action:()=>{r(me)}})},we={mobile1:{name:"Small mobile",styles:{height:"568px",width:"320px"},type:"mobile"},mobile2:{name:"Large mobile",styles:{height:"896px",width:"414px"},type:"mobile"},tablet:{name:"Tablet",styles:{height:"1112px",width:"834px"},type:"tablet"}},be=(0,N.default)(50)(e=>[...ye,...Object.entries(e).map(([t,{name:r,...l}])=>({...l,id:t,title:r}))]),B={id:"reset",title:"Reset viewport",styles:null,type:"other"},ye=[B],Ce=(0,N.default)(50)((e,t,r,l)=>e.filter(a=>a.id!==B.id||t.id!==a.id).map(a=>({...a,onClick:()=>{r({viewport:a.id}),l()}}))),ve=({width:e,height:t,...r})=>({...r,height:e,width:t}),_e=A.div(()=>({display:"inline-flex",alignItems:"center"})),ne=A.div(({theme:e})=>({display:"inline-block",textDecoration:"none",padding:10,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:"1",height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent"})),Te=A(V)(()=>({display:"inline-flex",alignItems:"center"})),xe=A.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Oe=(e,t,r)=>{if(t===null)return;let l=typeof t=="function"?t(e):t;return r?ve(l):l},Ae=F(Q(({theme:e})=>{let[t,r]=Y(),{viewports:l=we,defaultOrientation:a,defaultViewport:S,disable:u}=j(he,{}),i=be(l),o=K(),[f,c]=q(!1);S&&!i.find(n=>n.id===S)&&console.warn(`Cannot find "defaultViewport" of "${S}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),L(()=>{Se(o,t,r,Object.keys(l))},[l,t,t.viewport,r,o]),L(()=>{let n=a==="landscape";(S&&t.viewport!==S||a&&t.viewportRotated!==n)&&r({viewport:S,viewportRotated:n})},[a,S,r]);let I=i.find(n=>n.id===t.viewport)||i.find(n=>n.id===S)||i.find(n=>n.default)||B,s=G(),g=Oe(s.current,I.styles,t.viewportRotated);return L(()=>{s.current=g},[I]),u||Object.entries(l).length===0?null:w.createElement(U,null,w.createElement(ee,{placement:"top",tooltip:({onHide:n})=>w.createElement(X,{links:Ce(i,I,r,n)}),closeOnOutsideClick:!0,onVisibleChange:c},w.createElement(Te,{key:"viewport",title:"Change the size of the preview",active:f||!!g,onDoubleClick:()=>{r({viewport:B.id})}},w.createElement(te,null),g?w.createElement(xe,null,t.viewportRotated?`${I.title} (L)`:`${I.title} (P)`):null)),g?w.createElement(_e,null,w.createElement(J,{styles:{'iframe[data-is-storybook="true"]':{...g||{width:"100%",height:"100%"}}}}),w.createElement(ne,{title:"Viewport width"},g.width.replace("px","")),w.createElement(V,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{r({viewportRotated:!t.viewportRotated})}},w.createElement(oe,null)),w.createElement(ne,{title:"Viewport height"},g.height.replace("px",""))):null)}));M.register(k,()=>{M.add(k,{title:"viewport / media-queries",type:W.TOOL,match:({viewMode:e,tabId:t})=>e==="story"&&!t,render:()=>z(Ae,null)})});})(); }catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/storybook-10/manager-bundle.js b/sb-addons/storybook-10/manager-bundle.js new file mode 100644 index 0000000..d4cdb58 --- /dev/null +++ b/sb-addons/storybook-10/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var or=__STORYBOOK_API__,{ActiveTabs:ir,Consumer:ur,ManagerContext:sr,Provider:fr,RequestResponseError:pr,addons:Z,combineParameters:lr,controlOrMetaKey:cr,controlOrMetaSymbol:dr,eventMatchesShortcut:mr,eventToShortcut:br,experimental_requestResponse:hr,isMacLike:gr,isShortcutTaken:vr,keyToSymbol:yr,merge:wr,mockChannel:xr,optionOrAltSymbol:Sr,shortcutMatchesShortcut:zr,shortcutToHumanString:Ar,types:Tr,useAddonState:Fr,useArgTypes:Ir,useArgs:Or,useChannel:Cr,useGlobalTypes:Rr,useGlobals:kr,useParameter:jr,useSharedState:Pr,useStoryPrepared:$r,useStorybookApi:Mr,useStorybookState:Lr}=__STORYBOOK_API__;var qr=__STORYBOOK_THEMING_CREATE__,{create:L,themes:Dr}=__STORYBOOK_THEMING_CREATE__;var ce={colors:{primary:"#e97462",secondary:"#370e4a",subtle:"#b3a7b7",light:"#f8f9fa",dark:"#0e080e",success:"#00b285",error:"#84213A",warning:"#e97462",info:"#00aeb2",background:"#f8f9fa"},spacing:{xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"3rem"},typeScale:1.25,fontFamily:{body:"'Inter Tight', sans-serif",heading:"'Inter Tight', sans-serif"},fontWeights:{light:300,normal:400,semibold:600,bold:700},fontSizes:["md","lg","xl","xxl","display"].reduce((r,e)=>{let t=Object.values(r).pop();return r[e]=`${parseFloat(t.replace("rem",""))*1.25}rem`,r},{sm:"0.8rem",default:"1rem"})},h=ce;var de={...h,colors:{...h.colors,primary:"#fbb653",secondary:"#e97462",success:"#599d62",info:"#5d8de8",background:"#f8f9fa",dark:"#370e4a"}},K=de;var me={...h,colors:{...h.colors,primary:"#370e4a",secondary:"#5680a6",info:"#5680a6",success:"#00776d",background:"#f8f9fa",dark:"#0B0E10",subtle:"#e8d5b5"}},V=me;function c(){return c=Object.assign?Object.assign.bind():function(r){for(var e=1;e=0&&a<1?(u=o,l=i):a>=1&&a<2?(u=i,l=o):a>=2&&a<3?(l=o,v=i):a>=3&&a<4?(l=i,v=o):a>=4&&a<5?(u=i,v=o):a>=5&&a<6&&(u=o,v=i);var x=t-o/2,y=u+x,b=l+x,O=v+x;return n(y,b,O)}var ee={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function ve(r){if(typeof r!="string")return r;var e=r.toLowerCase();return ee[e]?"#"+ee[e]:r}var ye=/^#[a-fA-F0-9]{6}$/,we=/^#[a-fA-F0-9]{8}$/,xe=/^#[a-fA-F0-9]{3}$/,Se=/^#[a-fA-F0-9]{4}$/,D=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ze=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ae=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Te=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function T(r){if(typeof r!="string")throw new m(3);var e=ve(r);if(e.match(ye))return{red:parseInt(""+e[1]+e[2],16),green:parseInt(""+e[3]+e[4],16),blue:parseInt(""+e[5]+e[6],16)};if(e.match(we)){var t=parseFloat((parseInt(""+e[7]+e[8],16)/255).toFixed(2));return{red:parseInt(""+e[1]+e[2],16),green:parseInt(""+e[3]+e[4],16),blue:parseInt(""+e[5]+e[6],16),alpha:t}}if(e.match(xe))return{red:parseInt(""+e[1]+e[1],16),green:parseInt(""+e[2]+e[2],16),blue:parseInt(""+e[3]+e[3],16)};if(e.match(Se)){var n=parseFloat((parseInt(""+e[4]+e[4],16)/255).toFixed(2));return{red:parseInt(""+e[1]+e[1],16),green:parseInt(""+e[2]+e[2],16),blue:parseInt(""+e[3]+e[3],16),alpha:n}}var a=D.exec(e);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=ze.exec(e.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=Ae.exec(e);if(i){var u=parseInt(""+i[1],10),l=parseInt(""+i[2],10)/100,v=parseInt(""+i[3],10)/100,x="rgb("+k(u,l,v)+")",y=D.exec(x);if(!y)throw new m(4,e,x);return{red:parseInt(""+y[1],10),green:parseInt(""+y[2],10),blue:parseInt(""+y[3],10)}}var b=Te.exec(e.substring(0,50));if(b){var O=parseInt(""+b[1],10),pe=parseInt(""+b[2],10)/100,le=parseInt(""+b[3],10)/100,J="rgb("+k(O,pe,le)+")",j=D.exec(J);if(!j)throw new m(4,e,J);return{red:parseInt(""+j[1],10),green:parseInt(""+j[2],10),blue:parseInt(""+j[3],10),alpha:parseFloat(""+b[4])>1?parseFloat(""+b[4])/100:parseFloat(""+b[4])}}throw new m(5)}function Fe(r){var e=r.red/255,t=r.green/255,n=r.blue/255,a=Math.max(e,t,n),o=Math.min(e,t,n),i=(a+o)/2;if(a===o)return r.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:r.alpha}:{hue:0,saturation:0,lightness:i};var u,l=a-o,v=i>.5?l/(2-a-o):l/(a+o);switch(a){case e:u=(t-n)/l+(t=1?$(r,e,t):"rgba("+k(r,e,t)+","+n+")";if(typeof r=="object"&&e===void 0&&t===void 0&&n===void 0)return r.alpha>=1?$(r.hue,r.saturation,r.lightness):"rgba("+k(r.hue,r.saturation,r.lightness)+","+r.alpha+")";throw new m(2)}function N(r,e,t){if(typeof r=="number"&&typeof e=="number"&&typeof t=="number")return G("#"+A(r)+A(e)+A(t));if(typeof r=="object"&&e===void 0&&t===void 0)return G("#"+A(r.red)+A(r.green)+A(r.blue));throw new m(6)}function M(r,e,t,n){if(typeof r=="string"&&typeof e=="number"){var a=T(r);return"rgba("+a.red+","+a.green+","+a.blue+","+e+")"}else{if(typeof r=="number"&&typeof e=="number"&&typeof t=="number"&&typeof n=="number")return n>=1?N(r,e,t):"rgba("+r+","+e+","+t+","+n+")";if(typeof r=="object"&&e===void 0&&t===void 0&&n===void 0)return r.alpha>=1?N(r.red,r.green,r.blue):"rgba("+r.red+","+r.green+","+r.blue+","+r.alpha+")"}throw new m(7)}var ke=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},je=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Pe=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},$e=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function z(r){if(typeof r!="object")throw new m(8);if(je(r))return M(r);if(ke(r))return N(r);if($e(r))return Re(r);if(Pe(r))return Ce(r);throw new m(8)}function ae(r,e,t){return function(){var a=t.concat(Array.prototype.slice.call(arguments));return a.length>=e?r.apply(this,a):ae(r,e,a)}}function g(r){return ae(r,r.length,[])}function Me(r,e){if(e==="transparent")return e;var t=S(e);return z(c({},t,{hue:t.hue+parseFloat(r)}))}var fn=g(Me);function F(r,e,t){return Math.max(r,Math.min(e,t))}function Le(r,e){if(e==="transparent")return e;var t=S(e);return z(c({},t,{lightness:F(0,1,t.lightness-parseFloat(r))}))}var pn=g(Le);function He(r,e){if(e==="transparent")return e;var t=S(e);return z(c({},t,{saturation:F(0,1,t.saturation-parseFloat(r))}))}var ln=g(He);function Y(r){if(r==="transparent")return 0;var e=T(r),t=Object.keys(e).map(function(i){var u=e[i]/255;return u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4)}),n=t[0],a=t[1],o=t[2];return parseFloat((.2126*n+.7152*a+.0722*o).toFixed(3))}function Ee(r,e){var t=Y(r),n=Y(e);return parseFloat((t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)).toFixed(2))}function Be(r,e){if(e==="transparent")return e;var t=S(e);return z(c({},t,{lightness:F(0,1,t.lightness+parseFloat(r))}))}var cn=g(Be);function We(r,e,t){if(e==="transparent")return t;if(t==="transparent")return e;if(r===0)return t;var n=T(e),a=c({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),o=T(t),i=c({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),u=a.alpha-i.alpha,l=parseFloat(r)*2-1,v=l*u===-1?l:l+u,x=1+l*u,y=(v/x+1)/2,b=1-y,O={red:Math.floor(a.red*y+i.red*b),green:Math.floor(a.green*y+i.green*b),blue:Math.floor(a.blue*y+i.blue*b),alpha:a.alpha*parseFloat(r)+i.alpha*(1-parseFloat(r))};return M(O)}var qe=g(We),oe=qe;function De(r,e){if(e==="transparent")return e;var t=T(e),n=typeof t.alpha=="number"?t.alpha:1,a=c({},t,{alpha:F(0,1,(n*100+parseFloat(r)*100)/100)});return M(a)}var dn=g(De);var re="#000",te="#fff";function Q(r,e,t,n){e===void 0&&(e=re),t===void 0&&(t=te),n===void 0&&(n=!0);var a=Y(r)>.179,o=a?e:t;return!n||Ee(r,o)>=4.5?o:a?re:te}function Ue(r,e){if(e==="transparent")return e;var t=S(e);return z(c({},t,{saturation:F(0,1,t.saturation+parseFloat(r))}))}var mn=g(Ue);function Ge(r,e){return e==="transparent"?e:z(c({},S(e),{hue:parseFloat(r)}))}var bn=g(Ge);function Ne(r,e){return e==="transparent"?e:z(c({},S(e),{lightness:parseFloat(r)}))}var hn=g(Ne);function Ye(r,e){return e==="transparent"?e:z(c({},S(e),{saturation:parseFloat(r)}))}var gn=g(Ye);function Qe(r,e){return e==="transparent"?e:oe(parseFloat(r),"rgb(0, 0, 0)",e)}var Je=g(Qe),ie=Je;function Ze(r,e){return e==="transparent"?e:oe(parseFloat(r),"rgb(255, 255, 255)",e)}var Ke=g(Ze),I=Ke;function Ve(r,e){if(e==="transparent")return e;var t=T(e),n=typeof t.alpha=="number"?t.alpha:1,a=c({},t,{alpha:F(0,1,+(n*100-parseFloat(r)*100).toFixed(2)/100)});return M(a)}var vn=g(Ve);var Xe={...h,colors:{...h.colors,primary:"#84213A",secondary:"#FF3465",info:"#54bac1",background:"#0B0E10",dark:I(.05,"#0B0E10"),subtle:ie(.65,h.colors.subtle)}},ue=Xe;var se={default:h,smartbike:K,senior:V,smartrack:ue,orion:h};var d=se.default,fe=L({base:"light",brandTitle:"Redback UI",brandImage:"./icon.svg",brandTarget:"_blank",fontBase:"'Inter Tight', sans-serif",colorPrimary:d.colors.primary,colorSecondary:d.colors.secondary,appBg:I(.8,d.colors.subtle),appContentBg:"#ffffff",appPreviewBg:"#ffffff",appBorderColor:I(.5,d.colors.subtle),appBorderRadius:0,textColor:d.colors.dark,textInverseColor:Q(d.colors.dark),barTextColor:d.colors.dark,barSelectedColor:d.colors.dark,barHoverColor:d.colors.dark,barBg:I(.9,d.colors.subtle),inputBg:"#ffffff",inputBorder:d.colors.dark,inputTextColor:d.colors.dark,inputBorderRadius:0}),qn=L({base:"dark",...fe,appContentBg:d.colors.dark,barBg:d.colors.dark,textColor:d.colors.light,textInverseColor:Q(d.colors.light)});Z.setConfig({theme:fe,sidebar:{filters:{patterns:r=>!(r.tags??[]).includes("excludeFromSidebar")}},panelPosition:"bottom"});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/storybook-dark-mode-esm-preset-8/manager-bundle.js.LEGAL.txt b/sb-addons/storybook-10/manager-bundle.js.LEGAL.txt similarity index 100% rename from sb-addons/storybook-dark-mode-esm-preset-8/manager-bundle.js.LEGAL.txt rename to sb-addons/storybook-10/manager-bundle.js.LEGAL.txt diff --git a/sb-addons/storybook-9/manager-bundle.js b/sb-addons/storybook-9/manager-bundle.js deleted file mode 100644 index 3984681..0000000 --- a/sb-addons/storybook-9/manager-bundle.js +++ /dev/null @@ -1,151 +0,0 @@ -try{ -(()=>{var zt=__STORYBOOK_API__,{ActiveTabs:Ct,Consumer:It,ManagerContext:Tt,Provider:kt,addons:xe,combineParameters:Ot,controlOrMetaKey:At,controlOrMetaSymbol:Pt,eventMatchesShortcut:Rt,eventToShortcut:jt,isMacLike:Bt,isShortcutTaken:$t,keyToSymbol:Et,merge:Mt,mockChannel:Ht,optionOrAltSymbol:Lt,shortcutMatchesShortcut:Dt,shortcutToHumanString:qt,types:Wt,useAddonState:Nt,useArgTypes:Ut,useArgs:Gt,useChannel:Yt,useGlobalTypes:Qt,useGlobals:Jt,useParameter:_t,useSharedState:Zt,useStoryPrepared:Kt,useStorybookApi:Xt,useStorybookState:Vt}=__STORYBOOK_API__;var we=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();var fn=__STORYBOOK_CLIENT_LOGGER__,{deprecate:pn,logger:Se,once:ln,pretty:dn}=__STORYBOOK_CLIENT_LOGGER__;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var r=1;r"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function q(e,r,t){return Qe()?q=Reflect.construct.bind():q=function(n,a,o){var i=[null];i.push.apply(i,a);var s=Function.bind.apply(n,i),u=new s;return o&&$(u,o.prototype),u},q.apply(null,arguments)}function ie(e){var r=typeof Map=="function"?new Map:void 0;return ie=function(t){if(t===null||!Ye(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(t))return r.get(t);r.set(t,n)}function n(){return q(t,arguments,oe(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$(n,t)},ie(e)}var Je={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function _e(){for(var e=arguments.length,r=new Array(e),t=0;t1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,p=i):a>=3&&a<4?(u=i,p=o):a>=4&&a<5?(s=i,p=o):a>=5&&a<6&&(s=o,p=i);var y=t-o/2,b=s+y,l=u+y,F=p+y;return n(b,l,F)}var Fe={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Ke(e){if(typeof e!="string")return e;var r=e.toLowerCase();return Fe[r]?"#"+Fe[r]:e}var Xe=/^#[a-fA-F0-9]{6}$/,Ve=/^#[a-fA-F0-9]{8}$/,er=/^#[a-fA-F0-9]{3}$/,rr=/^#[a-fA-F0-9]{4}$/,re=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,tr=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,nr=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ar=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function G(e){if(typeof e!="string")throw new S(3);var r=Ke(e);if(r.match(Xe))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(Ve)){var t=parseFloat((parseInt(""+r[7]+r[8],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16),alpha:t}}if(r.match(er))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};if(r.match(rr)){var n=parseFloat((parseInt(""+r[4]+r[4],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16),alpha:n}}var a=re.exec(r);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=tr.exec(r.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=nr.exec(r);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,p=parseInt(""+i[3],10)/100,y="rgb("+E(s,u,p)+")",b=re.exec(y);if(!b)throw new S(4,r,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10)}}var l=ar.exec(r.substring(0,50));if(l){var F=parseInt(""+l[1],10),X=parseInt(""+l[2],10)/100,V=parseInt(""+l[3],10)/100,B="rgb("+E(F,X,V)+")",z=re.exec(B);if(!z)throw new S(4,r,B);return{red:parseInt(""+z[1],10),green:parseInt(""+z[2],10),blue:parseInt(""+z[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])}}throw new S(5)}function or(e){var r=e.red/255,t=e.green/255,n=e.blue/255,a=Math.max(r,t,n),o=Math.min(r,t,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,p=i>.5?u/(2-a-o):u/(a+o);switch(a){case r:s=(t-n)/u+(t=1?N(e,r,t):"rgba("+E(e,r,t)+","+n+")";if(typeof e=="object"&&r===void 0&&t===void 0&&n===void 0)return e.alpha>=1?N(e.hue,e.saturation,e.lightness):"rgba("+E(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new S(2)}function ue(e,r,t){if(typeof e=="number"&&typeof r=="number"&&typeof t=="number")return se("#"+k(e)+k(r)+k(t));if(typeof e=="object"&&r===void 0&&t===void 0)return se("#"+k(e.red)+k(e.green)+k(e.blue));throw new S(6)}function M(e,r,t,n){if(typeof e=="string"&&typeof r=="number"){var a=G(e);return"rgba("+a.red+","+a.green+","+a.blue+","+r+")"}else{if(typeof e=="number"&&typeof r=="number"&&typeof t=="number"&&typeof n=="number")return n>=1?ue(e,r,t):"rgba("+e+","+r+","+t+","+n+")";if(typeof e=="object"&&r===void 0&&t===void 0&&n===void 0)return e.alpha>=1?ue(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new S(7)}var pr=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},lr=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},dr=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},cr=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Te(e){if(typeof e!="object")throw new S(8);if(lr(e))return M(e);if(pr(e))return ue(e);if(cr(e))return fr(e);if(dr(e))return ur(e);throw new S(8)}function ke(e,r,t){return function(){var n=t.concat(Array.prototype.slice.call(arguments));return n.length>=r?e.apply(this,n):ke(e,r,n)}}function Y(e){return ke(e,e.length,[])}function Q(e,r,t){return Math.max(e,Math.min(r,t))}function mr(e,r){if(r==="transparent")return r;var t=Ie(r);return Te(P({},t,{lightness:Q(0,1,t.lightness-parseFloat(e))}))}var br=Y(mr),gr=br;function hr(e,r){if(r==="transparent")return r;var t=Ie(r);return Te(P({},t,{lightness:Q(0,1,t.lightness+parseFloat(e))}))}var yr=Y(hr),vr=yr;function xr(e,r){if(r==="transparent")return r;var t=G(r),n=typeof t.alpha=="number"?t.alpha:1,a=P({},t,{alpha:Q(0,1,(n*100+parseFloat(e)*100)/100)});return M(a)}var vn=Y(xr);function wr(e,r){if(r==="transparent")return r;var t=G(r),n=typeof t.alpha=="number"?t.alpha:1,a=P({},t,{alpha:Q(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return M(a)}var Sr=Y(wr),Fr=Sr,f={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},ze={app:"#F6F9FC",bar:f.lightest,content:f.lightest,preview:f.lightest,gridCellSize:10,hoverable:Fr(.9,f.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},U={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},zr={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:ze.app,appContentBg:f.lightest,appPreviewBg:f.lightest,appBorderColor:f.border,appBorderRadius:4,fontBase:U.fonts.base,fontCode:U.fonts.mono,textColor:f.darkest,textInverseColor:f.lightest,textMutedColor:f.dark,barTextColor:f.mediumdark,barHoverColor:f.secondary,barSelectedColor:f.secondary,barBg:f.lightest,buttonBg:ze.app,buttonBorder:f.medium,booleanBg:f.mediumlight,booleanSelectedBg:f.lightest,inputBg:f.lightest,inputBorder:f.border,inputTextColor:f.darkest,inputBorderRadius:4},Ce=zr,Cr={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:f.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:U.fonts.base,fontCode:U.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:f.mediumdark,barHoverColor:f.secondary,barSelectedColor:f.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:f.lightest,inputBorderRadius:4},Ir=Cr,{window:ne}=we;var Tr=e=>typeof e!="string"?(Se.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,kr=e=>!/(gradient|var|calc)/.test(e),Or=(e,r)=>e==="darken"?M(`${gr(1,r)}`,.95):e==="lighten"?M(`${vr(1,r)}`,.95):r,Oe=e=>r=>{if(!Tr(r)||!kr(r))return r;try{return Or(e,r)}catch{return r}},xn=Oe("lighten"),wn=Oe("darken"),Ar=()=>!ne||!ne.matchMedia?"light":ne.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",W={light:Ce,dark:Ir,normal:Ce},ae=Ar(),J=(e={base:ae},r)=>{let t={...W[ae],...W[e.base]||{},...e,base:W[e.base]?e.base:ae};return{...r,...t,barSelectedColor:e.barSelectedColor||t.colorSecondary}};var Pr={colors:{primary:"#e97462",secondary:"#370e4a",subtle:"#b3a7b7",light:"#f8f9fa",dark:"#0e080e",success:"#00b285",error:"#84213A",warning:"#e97462",info:"#00aeb2",background:"#f8f9fa"},spacing:{xs:"0.25rem",sm:"0.5rem",md:"1rem",lg:"1.5rem",xl:"2rem",xxl:"3rem"},typeScale:1.25,fontFamily:{body:"'Inter Tight', sans-serif",heading:"'Inter Tight', sans-serif"},fontWeights:{light:300,normal:400,semibold:600,bold:700},fontSizes:["md","lg","xl","xxl","display"].reduce((e,r)=>{let t=Object.values(e).pop();return e[r]=`${parseFloat(t.replace("rem",""))*1.25}rem`,e},{sm:"0.8rem",default:"1rem"})},x=Pr;var Rr={...x,colors:{...x.colors,primary:"#fbb653",secondary:"#e97462",success:"#599d62",info:"#5d8de8",background:"#f8f9fa",dark:"#370e4a"}},Ae=Rr;var jr={...x,colors:{...x.colors,primary:"#370e4a",secondary:"#5680a6",info:"#5680a6",success:"#00776d",background:"#f8f9fa",dark:"#0B0E10",subtle:"#e8d5b5"}},Pe=jr;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var r=1;r=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,p=i):a>=3&&a<4?(u=i,p=o):a>=4&&a<5?(s=i,p=o):a>=5&&a<6&&(s=o,p=i);var y=t-o/2,b=s+y,l=u+y,F=p+y;return n(b,l,F)}var Be={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Mr(e){if(typeof e!="string")return e;var r=e.toLowerCase();return Be[r]?"#"+Be[r]:e}var Hr=/^#[a-fA-F0-9]{6}$/,Lr=/^#[a-fA-F0-9]{8}$/,Dr=/^#[a-fA-F0-9]{3}$/,qr=/^#[a-fA-F0-9]{4}$/,me=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Wr=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Nr=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Ur=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function A(e){if(typeof e!="string")throw new v(3);var r=Mr(e);if(r.match(Hr))return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16)};if(r.match(Lr)){var t=parseFloat((parseInt(""+r[7]+r[8],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[2],16),green:parseInt(""+r[3]+r[4],16),blue:parseInt(""+r[5]+r[6],16),alpha:t}}if(r.match(Dr))return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16)};if(r.match(qr)){var n=parseFloat((parseInt(""+r[4]+r[4],16)/255).toFixed(2));return{red:parseInt(""+r[1]+r[1],16),green:parseInt(""+r[2]+r[2],16),blue:parseInt(""+r[3]+r[3],16),alpha:n}}var a=me.exec(r);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=Wr.exec(r.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=Nr.exec(r);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,p=parseInt(""+i[3],10)/100,y="rgb("+D(s,u,p)+")",b=me.exec(y);if(!b)throw new v(4,r,y);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10)}}var l=Ur.exec(r.substring(0,50));if(l){var F=parseInt(""+l[1],10),X=parseInt(""+l[2],10)/100,V=parseInt(""+l[3],10)/100,B="rgb("+D(F,X,V)+")",z=me.exec(B);if(!z)throw new v(4,r,B);return{red:parseInt(""+z[1],10),green:parseInt(""+z[2],10),blue:parseInt(""+z[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])}}throw new v(5)}function Gr(e){var r=e.red/255,t=e.green/255,n=e.blue/255,a=Math.max(r,t,n),o=Math.min(r,t,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,p=i>.5?u/(2-a-o):u/(a+o);switch(a){case r:s=(t-n)/u+(t=1?Z(e,r,t):"rgba("+D(e,r,t)+","+n+")";if(typeof e=="object"&&r===void 0&&t===void 0&&n===void 0)return e.alpha>=1?Z(e.hue,e.saturation,e.lightness):"rgba("+D(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new v(2)}function he(e,r,t){if(typeof e=="number"&&typeof r=="number"&&typeof t=="number")return ge("#"+O(e)+O(r)+O(t));if(typeof e=="object"&&r===void 0&&t===void 0)return ge("#"+O(e.red)+O(e.green)+O(e.blue));throw new v(6)}function K(e,r,t,n){if(typeof e=="string"&&typeof r=="number"){var a=A(e);return"rgba("+a.red+","+a.green+","+a.blue+","+r+")"}else{if(typeof e=="number"&&typeof r=="number"&&typeof t=="number"&&typeof n=="number")return n>=1?he(e,r,t):"rgba("+e+","+r+","+t+","+n+")";if(typeof e=="object"&&r===void 0&&t===void 0&&n===void 0)return e.alpha>=1?he(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new v(7)}var Zr=function(r){return typeof r.red=="number"&&typeof r.green=="number"&&typeof r.blue=="number"&&(typeof r.alpha!="number"||typeof r.alpha>"u")},Kr=function(r){return typeof r.red=="number"&&typeof r.green=="number"&&typeof r.blue=="number"&&typeof r.alpha=="number"},Xr=function(r){return typeof r.hue=="number"&&typeof r.saturation=="number"&&typeof r.lightness=="number"&&(typeof r.alpha!="number"||typeof r.alpha>"u")},Vr=function(r){return typeof r.hue=="number"&&typeof r.saturation=="number"&&typeof r.lightness=="number"&&typeof r.alpha=="number"};function T(e){if(typeof e!="object")throw new v(8);if(Kr(e))return K(e);if(Zr(e))return he(e);if(Vr(e))return _r(e);if(Xr(e))return Jr(e);throw new v(8)}function He(e,r,t){return function(){var a=t.concat(Array.prototype.slice.call(arguments));return a.length>=r?e.apply(this,a):He(e,r,a)}}function w(e){return He(e,e.length,[])}function et(e,r){if(r==="transparent")return r;var t=I(r);return T(g({},t,{hue:t.hue+parseFloat(e)}))}var Ya=w(et);function R(e,r,t){return Math.max(e,Math.min(r,t))}function rt(e,r){if(r==="transparent")return r;var t=I(r);return T(g({},t,{lightness:R(0,1,t.lightness-parseFloat(e))}))}var Qa=w(rt);function tt(e,r){if(r==="transparent")return r;var t=I(r);return T(g({},t,{saturation:R(0,1,t.saturation-parseFloat(e))}))}var Ja=w(tt);function ye(e){if(e==="transparent")return 0;var r=A(e),t=Object.keys(r).map(function(i){var s=r[i]/255;return s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4)}),n=t[0],a=t[1],o=t[2];return parseFloat((.2126*n+.7152*a+.0722*o).toFixed(3))}function nt(e,r){var t=ye(e),n=ye(r);return parseFloat((t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)).toFixed(2))}function at(e,r){if(r==="transparent")return r;var t=I(r);return T(g({},t,{lightness:R(0,1,t.lightness+parseFloat(e))}))}var _a=w(at);function ot(e,r,t){if(r==="transparent")return t;if(t==="transparent")return r;if(e===0)return t;var n=A(r),a=g({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),o=A(t),i=g({},o,{alpha:typeof o.alpha=="number"?o.alpha:1}),s=a.alpha-i.alpha,u=parseFloat(e)*2-1,p=u*s===-1?u:u+s,y=1+u*s,b=(p/y+1)/2,l=1-b,F={red:Math.floor(a.red*b+i.red*l),green:Math.floor(a.green*b+i.green*l),blue:Math.floor(a.blue*b+i.blue*l),alpha:a.alpha*parseFloat(e)+i.alpha*(1-parseFloat(e))};return K(F)}var it=w(ot),Le=it;function st(e,r){if(r==="transparent")return r;var t=A(r),n=typeof t.alpha=="number"?t.alpha:1,a=g({},t,{alpha:R(0,1,(n*100+parseFloat(e)*100)/100)});return K(a)}var Za=w(st);var $e="#000",Ee="#fff";function ve(e,r,t,n){r===void 0&&(r=$e),t===void 0&&(t=Ee),n===void 0&&(n=!0);var a=ye(e)>.179,o=a?r:t;return!n||nt(e,o)>=4.5?o:a?$e:Ee}function ut(e,r){if(r==="transparent")return r;var t=I(r);return T(g({},t,{saturation:R(0,1,t.saturation+parseFloat(e))}))}var Ka=w(ut);function ft(e,r){return r==="transparent"?r:T(g({},I(r),{hue:parseFloat(e)}))}var Xa=w(ft);function pt(e,r){return r==="transparent"?r:T(g({},I(r),{lightness:parseFloat(e)}))}var Va=w(pt);function lt(e,r){return r==="transparent"?r:T(g({},I(r),{saturation:parseFloat(e)}))}var eo=w(lt);function dt(e,r){return r==="transparent"?r:Le(parseFloat(e),"rgb(0, 0, 0)",r)}var ct=w(dt),De=ct;function mt(e,r){return r==="transparent"?r:Le(parseFloat(e),"rgb(255, 255, 255)",r)}var bt=w(mt),j=bt;function gt(e,r){if(r==="transparent")return r;var t=A(r),n=typeof t.alpha=="number"?t.alpha:1,a=g({},t,{alpha:R(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return K(a)}var ro=w(gt);var ht={...x,colors:{...x.colors,primary:"#84213A",secondary:"#FF3465",info:"#54bac1",background:"#0B0E10",dark:j(.05,"#0B0E10"),subtle:De(.65,x.colors.subtle)}},qe=ht;var We={default:x,smartbike:Ae,senior:Pe,smartrack:qe,orion:x};var h=We.default,Ne=J({base:"light",brandTitle:"Redback UI",brandImage:"./icon.svg",brandTarget:"_blank",fontBase:"'Inter Tight', sans-serif",colorPrimary:h.colors.primary,colorSecondary:h.colors.secondary,appBg:j(.8,h.colors.subtle),appContentBg:"#ffffff",appPreviewBg:"#ffffff",appBorderColor:j(.5,h.colors.subtle),appBorderRadius:0,textColor:h.colors.dark,textInverseColor:ve(h.colors.dark),barTextColor:h.colors.dark,barSelectedColor:h.colors.dark,barHoverColor:h.colors.dark,barBg:j(.9,h.colors.subtle),inputBg:"#ffffff",inputBorder:h.colors.dark,inputTextColor:h.colors.dark,inputBorderRadius:0}),Co=J({base:"dark",...Ne,appContentBg:h.colors.dark,barBg:h.colors.dark,textColor:h.colors.light,textInverseColor:ve(h.colors.light)});xe.setConfig({theme:Ne,sidebar:{filters:{patterns:e=>!(e.tags??[]).includes("excludeFromSidebar")}},panelPosition:"bottom"});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js b/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js new file mode 100644 index 0000000..92f5dd4 --- /dev/null +++ b/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var T=__STORYBOOK_API__,{ActiveTabs:_,Consumer:g,ManagerContext:O,Provider:f,RequestResponseError:A,addons:n,combineParameters:v,controlOrMetaKey:P,controlOrMetaSymbol:k,eventMatchesShortcut:x,eventToShortcut:M,experimental_requestResponse:R,isMacLike:w,isShortcutTaken:C,keyToSymbol:G,merge:I,mockChannel:K,optionOrAltSymbol:q,shortcutMatchesShortcut:B,shortcutToHumanString:F,types:Y,useAddonState:j,useArgTypes:E,useArgs:H,useChannel:L,useGlobalTypes:N,useGlobals:z,useParameter:D,useSharedState:J,useStoryPrepared:Q,useStorybookApi:U,useStorybookState:V}=__STORYBOOK_API__;var S=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})(),u="static-filter";n.register(u,e=>{let i=Object.entries(S.TAGS_OPTIONS??{}).reduce((t,r)=>{let[o,c]=r;return c.excludeFromSidebar&&(t[o]=!0),t},{});e.experimental_setFilter(u,t=>{let r=t.tags??[];return(r.includes("dev")||t.type==="docs")&&r.filter(o=>i[o]).length===0})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt b/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt similarity index 100% rename from sb-addons/storybook-core-server-presets-0/common-manager-bundle.js.LEGAL.txt rename to sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt diff --git a/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js b/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js deleted file mode 100644 index 9235713..0000000 --- a/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -try{ -(()=>{var u=Object.defineProperty;var T=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var i=(e,t)=>()=>(e&&(t=e(e=0)),t);var P=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),w=(e,t)=>{for(var r in t)u(e,r,{get:t[r],enumerable:!0})},x=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of h(t))!v.call(e,o)&&o!==r&&u(e,o,{get:()=>t[o],enumerable:!(a=T(t,o))||a.enumerable});return e};var A=e=>x(u({},"__esModule",{value:!0}),e);var s=i(()=>{});var l=i(()=>{});var n=i(()=>{});var d={};w(d,{ActiveTabs:()=>M,Consumer:()=>j,ManagerContext:()=>C,Provider:()=>I,addons:()=>F,combineParameters:()=>G,controlOrMetaKey:()=>K,controlOrMetaSymbol:()=>N,default:()=>k,eventMatchesShortcut:()=>R,eventToShortcut:()=>q,isMacLike:()=>B,isShortcutTaken:()=>D,keyToSymbol:()=>L,merge:()=>Y,mockChannel:()=>E,optionOrAltSymbol:()=>H,shortcutMatchesShortcut:()=>J,shortcutToHumanString:()=>z,types:()=>Q,useAddonState:()=>U,useArgTypes:()=>V,useArgs:()=>W,useChannel:()=>X,useGlobalTypes:()=>Z,useGlobals:()=>$,useParameter:()=>ee,useSharedState:()=>te,useStoryPrepared:()=>re,useStorybookApi:()=>oe,useStorybookState:()=>ae});var k,M,j,C,I,F,G,K,N,R,q,B,D,L,Y,E,H,J,z,Q,U,V,W,X,Z,$,ee,te,re,oe,ae,g=i(()=>{s();l();n();k=__STORYBOOK_API__,{ActiveTabs:M,Consumer:j,ManagerContext:C,Provider:I,addons:F,combineParameters:G,controlOrMetaKey:K,controlOrMetaSymbol:N,eventMatchesShortcut:R,eventToShortcut:q,isMacLike:B,isShortcutTaken:D,keyToSymbol:L,merge:Y,mockChannel:E,optionOrAltSymbol:H,shortcutMatchesShortcut:J,shortcutToHumanString:z,types:Q,useAddonState:U,useArgTypes:V,useArgs:W,useChannel:X,useGlobalTypes:Z,useGlobals:$,useParameter:ee,useSharedState:te,useStoryPrepared:re,useStorybookApi:oe,useStorybookState:ae}=__STORYBOOK_API__});var O=P((Pe,f)=>{"use strict";s();l();n();var b=Object.defineProperty,se=Object.getOwnPropertyDescriptor,le=Object.getOwnPropertyNames,ne=Object.prototype.hasOwnProperty,ie=(e,t)=>{for(var r in t)b(e,r,{get:t[r],enumerable:!0})},ue=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of le(t))!ne.call(e,o)&&o!==r&&b(e,o,{get:()=>t[o],enumerable:!(a=se(t,o))||a.enumerable});return e},pe=e=>ue(b({},"__esModule",{value:!0}),e),y={};ie(y,{global:()=>_e});f.exports=pe(y);var _e=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})()});s();l();n();s();l();n();var ce=(g(),A(d)),be=O(),S="static-filter";ce.addons.register(S,e=>{let t=Object.entries(be.global.TAGS_OPTIONS??{}).reduce((r,a)=>{let[o,m]=a;return m.excludeFromSidebar&&(r[o]=!0),r},{});e.experimental_setFilter(S,r=>(r.tags||[]).filter(a=>t[a]).length===0)});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/sb-addons/storybook-dark-mode-esm-preset-8/manager-bundle.js b/sb-addons/storybook-dark-mode-esm-preset-8/manager-bundle.js deleted file mode 100644 index 03c72d8..0000000 --- a/sb-addons/storybook-dark-mode-esm-preset-8/manager-bundle.js +++ /dev/null @@ -1,5 +0,0 @@ -try{ -(()=>{var Oe=Object.create;var X=Object.defineProperty;var Te=Object.getOwnPropertyDescriptor;var he=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,ge=Object.prototype.hasOwnProperty;var x=(o,e)=>()=>(o&&(e=o(o=0)),e);var ve=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var be=(o,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of he(e))!ge.call(o,n)&&n!==r&&X(o,n,{get:()=>e[n],enumerable:!(t=Te(e,n))||t.enumerable});return o};var Ae=(o,e,r)=>(r=o!=null?Oe(Re(o)):{},be(e||!o||!o.__esModule?X(r,"default",{value:o,enumerable:!0}):r,o));var c=x(()=>{});var a=x(()=>{});var i=x(()=>{});var ce=ve((Ru,ne)=>{"use strict";c();a();i();ne.exports=function o(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var t,n,l;if(Array.isArray(e)){if(t=e.length,t!=r.length)return!1;for(n=t;n--!==0;)if(!o(e[n],r[n]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(l=Object.keys(e),t=l.length,t!==Object.keys(r).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,l[n]))return!1;for(n=t;n--!==0;){var u=l[n];if(!o(e[u],r[u]))return!1}return!0}return e!==e&&r!==r}});c();a();i();c();a();i();c();a();i();var ze=__STORYBOOK_API__,{ActiveTabs:eo,Consumer:oo,ManagerContext:ro,Provider:to,addons:N,combineParameters:no,controlOrMetaKey:co,controlOrMetaSymbol:ao,eventMatchesShortcut:io,eventToShortcut:lo,isMacLike:uo,isShortcutTaken:so,keyToSymbol:Io,merge:fo,mockChannel:po,optionOrAltSymbol:mo,shortcutMatchesShortcut:So,shortcutToHumanString:_o,types:Eo,useAddonState:yo,useArgTypes:Oo,useArgs:To,useChannel:ho,useGlobalTypes:Ro,useGlobals:go,useParameter:Z,useSharedState:vo,useStoryPrepared:bo,useStorybookApi:Ao,useStorybookState:Co}=__STORYBOOK_API__;c();a();i();var No=__STORYBOOK_TYPES__,{Addon_TypesEnum:$}=__STORYBOOK_TYPES__;c();a();i();var xo=__STORYBOOK_THEMING__,{CacheProvider:Uo,ClassNames:Yo,Global:Go,ThemeProvider:jo,background:Wo,color:Fo,convert:Ko,create:Vo,createCache:qo,createGlobal:Xo,createReset:Zo,css:$o,darken:Jo,ensure:Qo,ignoreSsrWarning:zo,isPropValid:er,jsx:or,keyframes:rr,lighten:tr,styled:nr,themes:b,typography:cr,useTheme:ar,withTheme:ir}=__STORYBOOK_THEMING__;c();a();i();var fr=__REACT__,{Children:dr,Component:pr,Fragment:mr,Profiler:Sr,PureComponent:_r,StrictMode:Er,Suspense:yr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Or,cloneElement:Tr,createContext:hr,createElement:g,createFactory:Rr,createRef:gr,forwardRef:vr,isValidElement:br,lazy:Ar,memo:Cr,startTransition:Pr,unstable_act:Dr,useCallback:L,useContext:kr,useDebugValue:wr,useDeferredValue:Nr,useEffect:A,useId:Lr,useImperativeHandle:Br,useInsertionEffect:Mr,useLayoutEffect:Hr,useMemo:J,useReducer:xr,useRef:Ur,useState:Q,useSyncExternalStore:Yr,useTransition:Gr,version:jr}=__REACT__;c();a();i();c();a();i();var ee=(()=>{let o;return typeof window<"u"?o=window:typeof globalThis<"u"?o=globalThis:typeof window<"u"?o=window:typeof self<"u"?o=self:o={},o})();c();a();i();var $r=__STORYBOOK_COMPONENTS__,{A:Jr,ActionBar:Qr,AddonPanel:zr,Badge:et,Bar:ot,Blockquote:rt,Button:tt,ClipboardCode:nt,Code:ct,DL:at,Div:it,DocumentWrapper:lt,EmptyTabContent:ut,ErrorFormatter:st,FlexBar:It,Form:ft,H1:dt,H2:pt,H3:mt,H4:St,H5:_t,H6:Et,HR:yt,IconButton:oe,IconButtonSkeleton:Ot,Icons:Tt,Img:ht,LI:Rt,Link:gt,ListItem:vt,Loader:bt,OL:At,P:Ct,Placeholder:Pt,Pre:Dt,ResetWrapper:kt,ScrollArea:wt,Separator:Nt,Spaced:Lt,Span:Bt,StorybookIcon:Mt,StorybookLogo:Ht,Symbols:xt,SyntaxHighlighter:Ut,TT:Yt,TabBar:Gt,TabButton:jt,TabWrapper:Wt,Table:Ft,Tabs:Kt,TabsState:Vt,TooltipLinkList:qt,TooltipMessage:Xt,TooltipNote:Zt,UL:$t,WithTooltip:Jt,WithTooltipPure:Qt,Zoom:zt,codeCommon:en,components:on,createCopyToClipboardFunction:rn,getStoryHref:tn,icons:nn,interleaveSeparators:cn,nameSpaceClassNames:an,resetComponents:ln,withReset:un}=__STORYBOOK_COMPONENTS__;c();a();i();var pn=__STORYBOOK_ICONS__,{AccessibilityAltIcon:mn,AccessibilityIcon:Sn,AddIcon:_n,AdminIcon:En,AlertAltIcon:yn,AlertIcon:On,AlignLeftIcon:Tn,AlignRightIcon:hn,AppleIcon:Rn,ArrowDownIcon:gn,ArrowLeftIcon:vn,ArrowRightIcon:bn,ArrowSolidDownIcon:An,ArrowSolidLeftIcon:Cn,ArrowSolidRightIcon:Pn,ArrowSolidUpIcon:Dn,ArrowUpIcon:kn,AzureDevOpsIcon:wn,BackIcon:Nn,BasketIcon:Ln,BatchAcceptIcon:Bn,BatchDenyIcon:Mn,BeakerIcon:Hn,BellIcon:xn,BitbucketIcon:Un,BoldIcon:Yn,BookIcon:Gn,BookmarkHollowIcon:jn,BookmarkIcon:Wn,BottomBarIcon:Fn,BottomBarToggleIcon:Kn,BoxIcon:Vn,BranchIcon:qn,BrowserIcon:Xn,ButtonIcon:Zn,CPUIcon:$n,CalendarIcon:Jn,CameraIcon:Qn,CategoryIcon:zn,CertificateIcon:ec,ChangedIcon:oc,ChatIcon:rc,CheckIcon:tc,ChevronDownIcon:nc,ChevronLeftIcon:cc,ChevronRightIcon:ac,ChevronSmallDownIcon:ic,ChevronSmallLeftIcon:lc,ChevronSmallRightIcon:uc,ChevronSmallUpIcon:sc,ChevronUpIcon:Ic,ChromaticIcon:fc,ChromeIcon:dc,CircleHollowIcon:pc,CircleIcon:mc,ClearIcon:Sc,CloseAltIcon:_c,CloseIcon:Ec,CloudHollowIcon:yc,CloudIcon:Oc,CogIcon:Tc,CollapseIcon:hc,CommandIcon:Rc,CommentAddIcon:gc,CommentIcon:vc,CommentsIcon:bc,CommitIcon:Ac,CompassIcon:Cc,ComponentDrivenIcon:Pc,ComponentIcon:Dc,ContrastIcon:kc,ControlsIcon:wc,CopyIcon:Nc,CreditIcon:Lc,CrossIcon:Bc,DashboardIcon:Mc,DatabaseIcon:Hc,DeleteIcon:xc,DiamondIcon:Uc,DirectionIcon:Yc,DiscordIcon:Gc,DocChartIcon:jc,DocListIcon:Wc,DocumentIcon:Fc,DownloadIcon:Kc,DragIcon:Vc,EditIcon:qc,EllipsisIcon:Xc,EmailIcon:Zc,ExpandAltIcon:$c,ExpandIcon:Jc,EyeCloseIcon:Qc,EyeIcon:zc,FaceHappyIcon:ea,FaceNeutralIcon:oa,FaceSadIcon:ra,FacebookIcon:ta,FailedIcon:na,FastForwardIcon:ca,FigmaIcon:aa,FilterIcon:ia,FlagIcon:la,FolderIcon:ua,FormIcon:sa,GDriveIcon:Ia,GithubIcon:fa,GitlabIcon:da,GlobeIcon:pa,GoogleIcon:ma,GraphBarIcon:Sa,GraphLineIcon:_a,GraphqlIcon:Ea,GridAltIcon:ya,GridIcon:Oa,GrowIcon:Ta,HeartHollowIcon:ha,HeartIcon:Ra,HomeIcon:ga,HourglassIcon:va,InfoIcon:ba,ItalicIcon:Aa,JumpToIcon:Ca,KeyIcon:Pa,LightningIcon:Da,LightningOffIcon:ka,LinkBrokenIcon:wa,LinkIcon:Na,LinkedinIcon:La,LinuxIcon:Ba,ListOrderedIcon:Ma,ListUnorderedIcon:Ha,LocationIcon:xa,LockIcon:Ua,MarkdownIcon:Ya,MarkupIcon:Ga,MediumIcon:ja,MemoryIcon:Wa,MenuIcon:Fa,MergeIcon:Ka,MirrorIcon:Va,MobileIcon:qa,MoonIcon:re,NutIcon:Xa,OutboxIcon:Za,OutlineIcon:$a,PaintBrushIcon:Ja,PaperClipIcon:Qa,ParagraphIcon:za,PassedIcon:ei,PhoneIcon:oi,PhotoDragIcon:ri,PhotoIcon:ti,PinAltIcon:ni,PinIcon:ci,PlayBackIcon:ai,PlayIcon:ii,PlayNextIcon:li,PlusIcon:ui,PointerDefaultIcon:si,PointerHandIcon:Ii,PowerIcon:fi,PrintIcon:di,ProceedIcon:pi,ProfileIcon:mi,PullRequestIcon:Si,QuestionIcon:_i,RSSIcon:Ei,RedirectIcon:yi,ReduxIcon:Oi,RefreshIcon:Ti,ReplyIcon:hi,RepoIcon:Ri,RequestChangeIcon:gi,RewindIcon:vi,RulerIcon:bi,SearchIcon:Ai,ShareAltIcon:Ci,ShareIcon:Pi,ShieldIcon:Di,SideBySideIcon:ki,SidebarAltIcon:wi,SidebarAltToggleIcon:Ni,SidebarIcon:Li,SidebarToggleIcon:Bi,SpeakerIcon:Mi,StackedIcon:Hi,StarHollowIcon:xi,StarIcon:Ui,StickerIcon:Yi,StopAltIcon:Gi,StopIcon:ji,StorybookIcon:Wi,StructureIcon:Fi,SubtractIcon:Ki,SunIcon:te,SupportIcon:Vi,SwitchAltIcon:qi,SyncIcon:Xi,TabletIcon:Zi,ThumbsUpIcon:$i,TimeIcon:Ji,TimerIcon:Qi,TransferIcon:zi,TrashIcon:el,TwitterIcon:ol,TypeIcon:rl,UbuntuIcon:tl,UndoIcon:nl,UnfoldIcon:cl,UnlockIcon:al,UnpinIcon:il,UploadIcon:ll,UserAddIcon:ul,UserAltIcon:sl,UserIcon:Il,UsersIcon:fl,VSCodeIcon:dl,VerifiedIcon:pl,VideoIcon:ml,WandIcon:Sl,WatchIcon:_l,WindowsIcon:El,WrenchIcon:yl,YoutubeIcon:Ol,ZoomIcon:Tl,ZoomOutIcon:hl,ZoomResetIcon:Rl,iconList:gl}=__STORYBOOK_ICONS__;c();a();i();var Pl=__STORYBOOK_CORE_EVENTS__,{CHANNEL_CREATED:Dl,CHANNEL_WS_DISCONNECT:kl,CONFIG_ERROR:wl,CURRENT_STORY_WAS_SET:Nl,DOCS_PREPARED:Ll,DOCS_RENDERED:U,FORCE_REMOUNT:Bl,FORCE_RE_RENDER:Ml,GLOBALS_UPDATED:Hl,NAVIGATE_URL:xl,PLAY_FUNCTION_THREW_EXCEPTION:Ul,PRELOAD_ENTRIES:Yl,PREVIEW_BUILDER_PROGRESS:Gl,PREVIEW_KEYDOWN:jl,REGISTER_SUBSCRIPTION:Wl,REQUEST_WHATS_NEW_DATA:Fl,RESET_STORY_ARGS:Kl,RESULT_WHATS_NEW_DATA:Vl,SELECT_STORY:ql,SET_CONFIG:Xl,SET_CURRENT_STORY:Zl,SET_GLOBALS:$l,SET_INDEX:Jl,SET_STORIES:Y,SET_WHATS_NEW_CACHE:Ql,SHARED_STATE_CHANGED:zl,SHARED_STATE_SET:eu,STORIES_COLLAPSE_ALL:ou,STORIES_EXPAND_ALL:ru,STORY_ARGS_UPDATED:tu,STORY_CHANGED:G,STORY_ERRORED:nu,STORY_INDEX_INVALIDATED:cu,STORY_MISSING:au,STORY_PREPARED:iu,STORY_RENDERED:lu,STORY_RENDER_PHASE_CHANGED:uu,STORY_SPECIFIED:su,STORY_THREW_EXCEPTION:Iu,STORY_UNCHANGED:fu,TELEMETRY_ERROR:du,TOGGLE_WHATS_NEW_NOTIFICATIONS:pu,UNHANDLED_ERRORS_WHILE_PLAYING:mu,UPDATE_GLOBALS:Su,UPDATE_QUERY_PARAMS:_u,UPDATE_STORY_ARGS:Eu}=__STORYBOOK_CORE_EVENTS__;var K=Ae(ce());c();a();i();var ae="DARK_MODE",j="UPDATE_DARK_MODE";function P(o){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(o)}var Ce=["current","stylePreview"],W;function Pe(o,e){if(o==null)return{};var r=De(o,e),t,n;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(o,t)&&(r[t]=o[t])}return r}function De(o,e){if(o==null)return{};var r={},t=Object.keys(o),n,l;for(l=0;l=0)&&(r[n]=o[n]);return r}function ke(o,e){return Le(o)||Ne(o,e)||le(o,e)||we()}function we(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ne(o,e){var r=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(r!=null){var t,n,l,u,m=[],_=!0,O=!1;try{if(l=(r=r.call(o)).next,e===0){if(Object(r)!==r)return;_=!1}else for(;!(_=(t=l.call(r)).done)&&(m.push(t.value),m.length!==e);_=!0);}catch(s){O=!0,n=s}finally{try{if(!_&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(O)throw n}}return m}}function Le(o){if(Array.isArray(o))return o}function ie(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);e&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),r.push.apply(r,t)}return r}function E(o){for(var e=1;eo.length)&&(e=o.length);for(var r=0,t=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:{},r=H.localStorage.getItem(Ie);if(typeof r=="string"){var t=JSON.parse(r);return e&&(e.dark&&!(0,K.default)(t.dark,e.dark)&&(t.dark=e.dark,C(t)),e.light&&!(0,K.default)(t.light,e.light)&&(t.light=e.light,C(t))),t}return E(E({},V),e)};de(y());function je(o){var e=o.api,r=Q(v.matches),t=ke(r,2),n=t[0],l=t[1],u=Z("darkMode",{}),m=u.current,_=u.stylePreview,O=Pe(u,Ce),s=e.getChannel(),R=J(function(){return y(O).userHasExplicitlySetTheTheme},[O]),k=L(function(I){var S=y();e.setOptions({theme:S[I]}),l(I==="dark"),e.getChannel().emit(ae,I==="dark"),de(S),_&&Ge(S)},[e,_]),h=L(function(I){var S=y(),w=I||(S.current==="dark"?"light":"dark");C(E(E({},S),{},{current:w})),k(w)},[k]);function q(I){R||m||h(I.matches?"dark":"light")}var T=L(function(){var I=y(),S=I.current,w=S===void 0?"light":S;k(w)},[k]),ye=function(){h();var S=y();C(E(E({},S),{},{userHasExplicitlySetTheTheme:!0}))};return A(function(){var I=y();C(E(E(E({},I),u),{},{current:I.current||u.current})),T()},[u,T]),A(function(){return s.on(G,T),s.on(Y,T),s.on(U,T),v.addListener(q),function(){s.removeListener(G,T),s.removeListener(Y,T),s.removeListener(U,T),v.removeListener(q)}}),A(function(){return s.on(j,h),function(){s.removeListener(j,h)}}),A(function(){R||(m?h(m):v.matches&&h("dark"))},[m,h,R]),g(oe,{key:"dark-mode",title:n?"Change theme to light mode":"Change theme to dark mode",onClick:ye},n?g(te,{"aria-hidden":"true"}):g(re,{"aria-hidden":"true"}))}var pe=je;function D(o){"@babel/helpers - typeof";return D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(o)}function me(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);e&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),r.push.apply(r,t)}return r}function Se(o){for(var e=1;e{var Te=Object.create;var Q=Object.defineProperty;var ye=Object.getOwnPropertyDescriptor;var Re=Object.getOwnPropertyNames;var he=Object.getPrototypeOf,ge=Object.prototype.hasOwnProperty;var U=(o,e)=>()=>(o&&(e=o(o=0)),e);var Ae=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var ve=(o,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Re(e))!ge.call(o,n)&&n!==r&&Q(o,n,{get:()=>e[n],enumerable:!(t=ye(e,n))||t.enumerable});return o};var Ce=(o,e,r)=>(r=o!=null?Te(he(o)):{},ve(e||!o||!o.__esModule?Q(r,"default",{value:o,enumerable:!0}):r,o));var c=U(()=>{});var a=U(()=>{});var i=U(()=>{});var ce=Ae((Lu,ne)=>{"use strict";c();a();i();ne.exports=function o(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var t,n,l;if(Array.isArray(e)){if(t=e.length,t!=r.length)return!1;for(n=t;n--!==0;)if(!o(e[n],r[n]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(l=Object.keys(e),t=l.length,t!==Object.keys(r).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(r,l[n]))return!1;for(n=t;n--!==0;){var u=l[n];if(!o(e[u],r[u]))return!1}return!0}return e!==e&&r!==r}});c();a();i();c();a();i();c();a();i();var ze=__STORYBOOK_API__,{ActiveTabs:eo,Consumer:oo,ManagerContext:ro,Provider:to,RequestResponseError:no,addons:w,combineParameters:co,controlOrMetaKey:ao,controlOrMetaSymbol:io,eventMatchesShortcut:lo,eventToShortcut:uo,experimental_requestResponse:so,isMacLike:Io,isShortcutTaken:fo,keyToSymbol:So,merge:po,mockChannel:mo,optionOrAltSymbol:Eo,shortcutMatchesShortcut:_o,shortcutToHumanString:Oo,types:To,useAddonState:yo,useArgTypes:Ro,useArgs:ho,useChannel:go,useGlobalTypes:Ao,useGlobals:vo,useParameter:X,useSharedState:Co,useStoryPrepared:bo,useStorybookApi:Po,useStorybookState:Do}=__STORYBOOK_API__;c();a();i();var Bo=__STORYBOOK_TYPES__,{Addon_TypesEnum:Z}=__STORYBOOK_TYPES__;c();a();i();var Yo=__STORYBOOK_THEMING__,{CacheProvider:Go,ClassNames:Wo,Global:jo,ThemeProvider:Fo,background:Ko,color:Vo,convert:qo,create:Qo,createCache:Xo,createGlobal:Zo,createReset:$o,css:Jo,darken:zo,ensure:er,ignoreSsrWarning:or,isPropValid:rr,jsx:tr,keyframes:nr,lighten:cr,styled:ar,themes:v,typography:ir,useTheme:lr,withTheme:ur}=__STORYBOOK_THEMING__;c();a();i();var dr=__REACT__,{Children:pr,Component:mr,Fragment:Er,Profiler:_r,PureComponent:Or,StrictMode:Tr,Suspense:yr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Rr,cloneElement:hr,createContext:gr,createElement:g,createFactory:Ar,createRef:vr,forwardRef:Cr,isValidElement:br,lazy:Pr,memo:Dr,startTransition:Nr,unstable_act:kr,useCallback:L,useContext:wr,useDebugValue:Lr,useDeferredValue:Br,useEffect:C,useId:Mr,useImperativeHandle:Hr,useInsertionEffect:Ur,useLayoutEffect:xr,useMemo:$,useReducer:Yr,useRef:Gr,useState:J,useSyncExternalStore:Wr,useTransition:jr,version:Fr}=__REACT__;c();a();i();c();a();i();var ee=(()=>{let o;return typeof window<"u"?o=window:typeof globalThis<"u"?o=globalThis:typeof window<"u"?o=window:typeof self<"u"?o=self:o={},o})();c();a();i();var Jr=__STORYBOOK_COMPONENTS__,{A:zr,ActionBar:et,AddonPanel:ot,Badge:rt,Bar:tt,Blockquote:nt,Button:ct,ClipboardCode:at,Code:it,DL:lt,Div:ut,DocumentWrapper:st,EmptyTabContent:It,ErrorFormatter:ft,FlexBar:St,Form:dt,H1:pt,H2:mt,H3:Et,H4:_t,H5:Ot,H6:Tt,HR:yt,IconButton:oe,IconButtonSkeleton:Rt,Icons:ht,Img:gt,LI:At,Link:vt,ListItem:Ct,Loader:bt,Modal:Pt,OL:Dt,P:Nt,Placeholder:kt,Pre:wt,ResetWrapper:Lt,ScrollArea:Bt,Separator:Mt,Spaced:Ht,Span:Ut,StorybookIcon:xt,StorybookLogo:Yt,Symbols:Gt,SyntaxHighlighter:Wt,TT:jt,TabBar:Ft,TabButton:Kt,TabWrapper:Vt,Table:qt,Tabs:Qt,TabsState:Xt,TooltipLinkList:Zt,TooltipMessage:$t,TooltipNote:Jt,UL:zt,WithTooltip:en,WithTooltipPure:on,Zoom:rn,codeCommon:tn,components:nn,createCopyToClipboardFunction:cn,getStoryHref:an,icons:ln,interleaveSeparators:un,nameSpaceClassNames:sn,resetComponents:In,withReset:fn}=__STORYBOOK_COMPONENTS__;c();a();i();var En=__STORYBOOK_ICONS__,{AccessibilityAltIcon:_n,AccessibilityIcon:On,AddIcon:Tn,AdminIcon:yn,AlertAltIcon:Rn,AlertIcon:hn,AlignLeftIcon:gn,AlignRightIcon:An,AppleIcon:vn,ArrowDownIcon:Cn,ArrowLeftIcon:bn,ArrowRightIcon:Pn,ArrowSolidDownIcon:Dn,ArrowSolidLeftIcon:Nn,ArrowSolidRightIcon:kn,ArrowSolidUpIcon:wn,ArrowUpIcon:Ln,AzureDevOpsIcon:Bn,BackIcon:Mn,BasketIcon:Hn,BatchAcceptIcon:Un,BatchDenyIcon:xn,BeakerIcon:Yn,BellIcon:Gn,BitbucketIcon:Wn,BoldIcon:jn,BookIcon:Fn,BookmarkHollowIcon:Kn,BookmarkIcon:Vn,BottomBarIcon:qn,BottomBarToggleIcon:Qn,BoxIcon:Xn,BranchIcon:Zn,BrowserIcon:$n,ButtonIcon:Jn,CPUIcon:zn,CalendarIcon:ec,CameraIcon:oc,CategoryIcon:rc,CertificateIcon:tc,ChangedIcon:nc,ChatIcon:cc,CheckIcon:ac,ChevronDownIcon:ic,ChevronLeftIcon:lc,ChevronRightIcon:uc,ChevronSmallDownIcon:sc,ChevronSmallLeftIcon:Ic,ChevronSmallRightIcon:fc,ChevronSmallUpIcon:Sc,ChevronUpIcon:dc,ChromaticIcon:pc,ChromeIcon:mc,CircleHollowIcon:Ec,CircleIcon:_c,ClearIcon:Oc,CloseAltIcon:Tc,CloseIcon:yc,CloudHollowIcon:Rc,CloudIcon:hc,CogIcon:gc,CollapseIcon:Ac,CommandIcon:vc,CommentAddIcon:Cc,CommentIcon:bc,CommentsIcon:Pc,CommitIcon:Dc,CompassIcon:Nc,ComponentDrivenIcon:kc,ComponentIcon:wc,ContrastIcon:Lc,ControlsIcon:Bc,CopyIcon:Mc,CreditIcon:Hc,CrossIcon:Uc,DashboardIcon:xc,DatabaseIcon:Yc,DeleteIcon:Gc,DiamondIcon:Wc,DirectionIcon:jc,DiscordIcon:Fc,DocChartIcon:Kc,DocListIcon:Vc,DocumentIcon:qc,DownloadIcon:Qc,DragIcon:Xc,EditIcon:Zc,EllipsisIcon:$c,EmailIcon:Jc,ExpandAltIcon:zc,ExpandIcon:ea,EyeCloseIcon:oa,EyeIcon:ra,FaceHappyIcon:ta,FaceNeutralIcon:na,FaceSadIcon:ca,FacebookIcon:aa,FailedIcon:ia,FastForwardIcon:la,FigmaIcon:ua,FilterIcon:sa,FlagIcon:Ia,FolderIcon:fa,FormIcon:Sa,GDriveIcon:da,GithubIcon:pa,GitlabIcon:ma,GlobeIcon:Ea,GoogleIcon:_a,GraphBarIcon:Oa,GraphLineIcon:Ta,GraphqlIcon:ya,GridAltIcon:Ra,GridIcon:ha,GrowIcon:ga,HeartHollowIcon:Aa,HeartIcon:va,HomeIcon:Ca,HourglassIcon:ba,InfoIcon:Pa,ItalicIcon:Da,JumpToIcon:Na,KeyIcon:ka,LightningIcon:wa,LightningOffIcon:La,LinkBrokenIcon:Ba,LinkIcon:Ma,LinkedinIcon:Ha,LinuxIcon:Ua,ListOrderedIcon:xa,ListUnorderedIcon:Ya,LocationIcon:Ga,LockIcon:Wa,MarkdownIcon:ja,MarkupIcon:Fa,MediumIcon:Ka,MemoryIcon:Va,MenuIcon:qa,MergeIcon:Qa,MirrorIcon:Xa,MobileIcon:Za,MoonIcon:re,NutIcon:$a,OutboxIcon:Ja,OutlineIcon:za,PaintBrushIcon:ei,PaperClipIcon:oi,ParagraphIcon:ri,PassedIcon:ti,PhoneIcon:ni,PhotoDragIcon:ci,PhotoIcon:ai,PinAltIcon:ii,PinIcon:li,PlayBackIcon:ui,PlayIcon:si,PlayNextIcon:Ii,PlusIcon:fi,PointerDefaultIcon:Si,PointerHandIcon:di,PowerIcon:pi,PrintIcon:mi,ProceedIcon:Ei,ProfileIcon:_i,PullRequestIcon:Oi,QuestionIcon:Ti,RSSIcon:yi,RedirectIcon:Ri,ReduxIcon:hi,RefreshIcon:gi,ReplyIcon:Ai,RepoIcon:vi,RequestChangeIcon:Ci,RewindIcon:bi,RulerIcon:Pi,SearchIcon:Di,ShareAltIcon:Ni,ShareIcon:ki,ShieldIcon:wi,SideBySideIcon:Li,SidebarAltIcon:Bi,SidebarAltToggleIcon:Mi,SidebarIcon:Hi,SidebarToggleIcon:Ui,SpeakerIcon:xi,StackedIcon:Yi,StarHollowIcon:Gi,StarIcon:Wi,StickerIcon:ji,StopAltIcon:Fi,StopIcon:Ki,StorybookIcon:Vi,StructureIcon:qi,SubtractIcon:Qi,SunIcon:te,SupportIcon:Xi,SwitchAltIcon:Zi,SyncIcon:$i,TabletIcon:Ji,ThumbsUpIcon:zi,TimeIcon:el,TimerIcon:ol,TransferIcon:rl,TrashIcon:tl,TwitterIcon:nl,TypeIcon:cl,UbuntuIcon:al,UndoIcon:il,UnfoldIcon:ll,UnlockIcon:ul,UnpinIcon:sl,UploadIcon:Il,UserAddIcon:fl,UserAltIcon:Sl,UserIcon:dl,UsersIcon:pl,VSCodeIcon:ml,VerifiedIcon:El,VideoIcon:_l,WandIcon:Ol,WatchIcon:Tl,WindowsIcon:yl,WrenchIcon:Rl,YoutubeIcon:hl,ZoomIcon:gl,ZoomOutIcon:Al,ZoomResetIcon:vl,iconList:Cl}=__STORYBOOK_ICONS__;c();a();i();var kl=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:wl,ARGTYPES_INFO_RESPONSE:Ll,CHANNEL_CREATED:Bl,CHANNEL_WS_DISCONNECT:Ml,CONFIG_ERROR:Hl,CREATE_NEW_STORYFILE_REQUEST:Ul,CREATE_NEW_STORYFILE_RESPONSE:xl,CURRENT_STORY_WAS_SET:Yl,DOCS_PREPARED:Gl,DOCS_RENDERED:x,FILE_COMPONENT_SEARCH_REQUEST:Wl,FILE_COMPONENT_SEARCH_RESPONSE:jl,FORCE_REMOUNT:Fl,FORCE_RE_RENDER:Kl,GLOBALS_UPDATED:Vl,NAVIGATE_URL:ql,PLAY_FUNCTION_THREW_EXCEPTION:Ql,PRELOAD_ENTRIES:Xl,PREVIEW_BUILDER_PROGRESS:Zl,PREVIEW_KEYDOWN:$l,REGISTER_SUBSCRIPTION:Jl,REQUEST_WHATS_NEW_DATA:zl,RESET_STORY_ARGS:eu,RESULT_WHATS_NEW_DATA:ou,SAVE_STORY_REQUEST:ru,SAVE_STORY_RESPONSE:tu,SELECT_STORY:nu,SET_CONFIG:cu,SET_CURRENT_STORY:au,SET_GLOBALS:iu,SET_INDEX:lu,SET_STORIES:Y,SET_WHATS_NEW_CACHE:uu,SHARED_STATE_CHANGED:su,SHARED_STATE_SET:Iu,STORIES_COLLAPSE_ALL:fu,STORIES_EXPAND_ALL:Su,STORY_ARGS_UPDATED:du,STORY_CHANGED:G,STORY_ERRORED:pu,STORY_INDEX_INVALIDATED:mu,STORY_MISSING:Eu,STORY_PREPARED:_u,STORY_RENDERED:Ou,STORY_RENDER_PHASE_CHANGED:Tu,STORY_SPECIFIED:yu,STORY_THREW_EXCEPTION:Ru,STORY_UNCHANGED:hu,TELEMETRY_ERROR:gu,TOGGLE_WHATS_NEW_NOTIFICATIONS:Au,UNHANDLED_ERRORS_WHILE_PLAYING:vu,UPDATE_GLOBALS:Cu,UPDATE_QUERY_PARAMS:bu,UPDATE_STORY_ARGS:Pu}=__STORYBOOK_CORE_EVENTS__;var K=Ce(ce());c();a();i();var ae="DARK_MODE",W="UPDATE_DARK_MODE";function P(o){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(o)}var be=["current","stylePreview"],j;function Pe(o,e){if(o==null)return{};var r=De(o,e),t,n;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(o,t)&&(r[t]=o[t])}return r}function De(o,e){if(o==null)return{};var r={},t=Object.keys(o),n,l;for(l=0;l=0)&&(r[n]=o[n]);return r}function Ne(o,e){return Le(o)||we(o,e)||le(o,e)||ke()}function ke(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function we(o,e){var r=o==null?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(r!=null){var t,n,l,u,p=[],E=!0,T=!1;try{if(l=(r=r.call(o)).next,e===0){if(Object(r)!==r)return;E=!1}else for(;!(E=(t=l.call(r)).done)&&(p.push(t.value),p.length!==e);E=!0);}catch(s){T=!0,n=s}finally{try{if(!E&&r.return!=null&&(u=r.return(),Object(u)!==u))return}finally{if(T)throw n}}return p}}function Le(o){if(Array.isArray(o))return o}function ie(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);e&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),r.push.apply(r,t)}return r}function _(o){for(var e=1;eo.length)&&(e=o.length);for(var r=0,t=new Array(e);r0&&arguments[0]!==void 0?arguments[0]:{},r=H.localStorage.getItem(Ie);if(typeof r=="string"){var t=JSON.parse(r);return e&&(e.dark&&!(0,K.default)(t.dark,e.dark)&&(t.dark=e.dark,b(t)),e.light&&!(0,K.default)(t.light,e.light)&&(t.light=e.light,b(t))),t}return _(_({},V),e)};Se(O());function We(o){var e=o.api,r=J(A.matches),t=Ne(r,2),n=t[0],l=t[1],u=X("darkMode",{}),p=u.current,E=u.stylePreview,T=Pe(u,be),s=e.getChannel(),h=$(function(){return O(T).userHasExplicitlySetTheTheme},[T]),N=L(function(I){var m=O();e.setOptions({theme:m[I]}),l(I==="dark"),e.getChannel().emit(ae,I==="dark"),Se(m),E&&Ge(m)},[e,E]),R=L(function(I){var m=O(),k=I||(m.current==="dark"?"light":"dark");b(_(_({},m),{},{current:k})),N(k)},[N]);function q(I){h||p||R(I.matches?"dark":"light")}var y=L(function(){var I=O(),m=I.current,k=m===void 0?"light":m;N(k)},[N]),Oe=function(){R();var m=O();b(_(_({},m),{},{userHasExplicitlySetTheTheme:!0}))};return C(function(){var I=O();b(_(_(_({},I),u),{},{current:I.current||u.current})),y()},[u,y]),C(function(){return s.on(G,y),s.on(Y,y),s.on(x,y),A.addListener(q),function(){s.removeListener(G,y),s.removeListener(Y,y),s.removeListener(x,y),A.removeListener(q)}}),C(function(){return s.on(W,R),function(){s.removeListener(W,R)}}),C(function(){h||(p?R(p):A.matches&&R("dark"))},[p,R,h]),g(oe,{key:"dark-mode",title:n?"Change theme to light mode":"Change theme to dark mode",onClick:Oe},n?g(te,{"aria-hidden":"true"}):g(re,{"aria-hidden":"true"}))}var de=We;function D(o){"@babel/helpers - typeof";return D=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(o)}function pe(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(o);e&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),r.push.apply(r,t)}return r}function me(o){for(var e=1;e \ No newline at end of file diff --git a/sb-common-assets/fonts.css b/sb-common-assets/fonts.css deleted file mode 100644 index 90050cc..0000000 --- a/sb-common-assets/fonts.css +++ /dev/null @@ -1,31 +0,0 @@ -@font-face { - font-family: 'Nunito Sans'; - font-style: normal; - font-weight: 400; - font-display: swap; - src: url('./nunito-sans-regular.woff2') format('woff2'); -} - -@font-face { - font-family: 'Nunito Sans'; - font-style: italic; - font-weight: 400; - font-display: swap; - src: url('./nunito-sans-italic.woff2') format('woff2'); -} - -@font-face { - font-family: 'Nunito Sans'; - font-style: normal; - font-weight: 700; - font-display: swap; - src: url('./nunito-sans-bold.woff2') format('woff2'); -} - -@font-face { - font-family: 'Nunito Sans'; - font-style: italic; - font-weight: 700; - font-display: swap; - src: url('./nunito-sans-bold-italic.woff2') format('woff2'); -} diff --git a/sb-manager/WithTooltip-Y7J54OF7-3AIPQNGM.js b/sb-manager/WithTooltip-Y7J54OF7-3AIPQNGM.js deleted file mode 100644 index bcb6806..0000000 --- a/sb-manager/WithTooltip-Y7J54OF7-3AIPQNGM.js +++ /dev/null @@ -1 +0,0 @@ -import{WithToolTipState,WithTooltipPure}from"./chunk-VMGB76WP.js";import"./chunk-UOBNU442.js";import"./chunk-XP3HGWTR.js";export{WithToolTipState,WithToolTipState as WithTooltip,WithTooltipPure}; diff --git a/sb-manager/chunk-SKHMP7FK.js b/sb-manager/chunk-SKHMP7FK.js deleted file mode 100644 index 9903b4f..0000000 --- a/sb-manager/chunk-SKHMP7FK.js +++ /dev/null @@ -1,183 +0,0 @@ -import{Addon_TypesEnum,AlertIcon,ArrowLeftIcon,Badge,BottomBarIcon,BottomBarToggleIcon,Button,CheckIcon,ChevronDownIcon,CircleIcon,CloseAltIcon,CloseIcon,CogIcon,CollapseIcon,DocumentIcon,EmptyTabContent,ErrorFormatter,ExpandAltIcon,ExpandIcon,EyeCloseIcon,EyeIcon,FORCE_REMOUNT,Form,GithubIcon,GlobeIcon,HeartIcon,IconButton,Icons,InfoIcon,LightningIcon,Link2,Link22,LinkIcon,Loader,Location,LocationProvider,LockIcon,ManagerConsumer,ManagerProvider,Match,MenuIcon,PRELOAD_ENTRIES,PREVIEW_BUILDER_PROGRESS,ProviderDoesNotExtendBaseProviderError,Route2,SET_CURRENT_STORY,STORIES_COLLAPSE_ALL,STORIES_EXPAND_ALL,SearchIcon,Separator,ShareAltIcon,SidebarAltIcon,Spaced,StorybookIcon,StorybookLogo,SyncIcon,TabBar,TabButton,Tabs,TimeIcon,TooltipLinkList,TrashIcon,WandIcon,WithTooltip,Zoom,ZoomIcon,ZoomOutIcon,ZoomResetIcon,addons,eventToShortcut,getStoryHref,merge_default,require_isObject,require_isSymbol,require_lib,require_root,require_store2,shortcutMatchesShortcut,shortcutToHumanString,typesX,useNavigate2,useStorybookApi,useStorybookState}from"./chunk-XL76U7S4.js";import{ScrollArea,_extends}from"./chunk-TZAR34JC.js";import{Global,ThemeProvider,createGlobal,ensure,keyframes,logger,newStyled,require_react,require_react_dom,scope,useTheme,withTheme}from"./chunk-UOBNU442.js";import{__commonJS,__toESM,require_memoizerific}from"./chunk-XP3HGWTR.js";var require_client=__commonJS({"../../node_modules/react-dom/client.js"(exports){"use strict";var m2=require_react_dom();i3=m2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,exports.createRoot=function(c2,o2){i3.usingClientEntryPoint=!0;try{return m2.createRoot(c2,o2)}finally{i3.usingClientEntryPoint=!1}},exports.hydrateRoot=function(c2,h2,o2){i3.usingClientEntryPoint=!0;try{return m2.hydrateRoot(c2,h2,o2)}finally{i3.usingClientEntryPoint=!1}};var i3}});var require_react_is_development=__commonJS({"../../node_modules/react-is/cjs/react-is.development.js"(exports){"use strict";(function(){"use strict";var hasSymbol=typeof Symbol=="function"&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,REACT_STRICT_MODE_TYPE=hasSymbol?Symbol.for("react.strict_mode"):60108,REACT_PROFILER_TYPE=hasSymbol?Symbol.for("react.profiler"):60114,REACT_PROVIDER_TYPE=hasSymbol?Symbol.for("react.provider"):60109,REACT_CONTEXT_TYPE=hasSymbol?Symbol.for("react.context"):60110,REACT_ASYNC_MODE_TYPE=hasSymbol?Symbol.for("react.async_mode"):60111,REACT_CONCURRENT_MODE_TYPE=hasSymbol?Symbol.for("react.concurrent_mode"):60111,REACT_FORWARD_REF_TYPE=hasSymbol?Symbol.for("react.forward_ref"):60112,REACT_SUSPENSE_TYPE=hasSymbol?Symbol.for("react.suspense"):60113,REACT_SUSPENSE_LIST_TYPE=hasSymbol?Symbol.for("react.suspense_list"):60120,REACT_MEMO_TYPE=hasSymbol?Symbol.for("react.memo"):60115,REACT_LAZY_TYPE=hasSymbol?Symbol.for("react.lazy"):60116,REACT_BLOCK_TYPE=hasSymbol?Symbol.for("react.block"):60121,REACT_FUNDAMENTAL_TYPE=hasSymbol?Symbol.for("react.fundamental"):60117,REACT_RESPONDER_TYPE=hasSymbol?Symbol.for("react.responder"):60118,REACT_SCOPE_TYPE=hasSymbol?Symbol.for("react.scope"):60119;function isValidElementType(type){return typeof type=="string"||typeof type=="function"||type===REACT_FRAGMENT_TYPE||type===REACT_CONCURRENT_MODE_TYPE||type===REACT_PROFILER_TYPE||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||typeof type=="object"&&type!==null&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_FUNDAMENTAL_TYPE||type.$$typeof===REACT_RESPONDER_TYPE||type.$$typeof===REACT_SCOPE_TYPE||type.$$typeof===REACT_BLOCK_TYPE)}function typeOf(object){if(typeof object=="object"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_ASYNC_MODE_TYPE:case REACT_CONCURRENT_MODE_TYPE:case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var AsyncMode=REACT_ASYNC_MODE_TYPE,ConcurrentMode=REACT_CONCURRENT_MODE_TYPE,ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment9=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),isConcurrentMode(object)||typeOf(object)===REACT_ASYNC_MODE_TYPE}function isConcurrentMode(object){return typeOf(object)===REACT_CONCURRENT_MODE_TYPE}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement(object){return typeof object=="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef2(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.AsyncMode=AsyncMode,exports.ConcurrentMode=ConcurrentMode,exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment9,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement,exports.isForwardRef=isForwardRef2,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf})()}});var require_react_is=__commonJS({"../../node_modules/react-is/index.js"(exports,module){"use strict";module.exports=require_react_is_development()}});var require_object_assign=__commonJS({"../../node_modules/object-assign/index.js"(exports,module){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(val){if(val==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}function shouldUseNative(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de",Object.getOwnPropertyNames(test1)[0]==="5")return!1;for(var test2={},i3=0;i3<10;i3++)test2["_"+String.fromCharCode(i3)]=i3;var order2=Object.getOwnPropertyNames(test2).map(function(n3){return test2[n3]});if(order2.join("")!=="0123456789")return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter}),Object.keys(Object.assign({},test3)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}module.exports=shouldUseNative()?Object.assign:function(target,source){for(var from,to=toObject(target),symbols,s2=1;s21?printWarning("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):printWarning("Invalid argument supplied to oneOf, expected an array."),emptyFunctionThatReturnsNull;function validate(props,propName,componentName,location,propFullName){for(var propValue=props[propName],i3=0;i30?", expected one of type ["+expectedTypes.join(", ")+"]":"";return new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`"+expectedTypesMessage+"."))}return createChainableTypeChecker(validate)}function createNodeChecker(){function validate(props,propName,componentName,location,propFullName){return isNode(props[propName])?null:new PropTypeError("Invalid "+location+" `"+propFullName+"` supplied to "+("`"+componentName+"`, expected a ReactNode."))}return createChainableTypeChecker(validate)}function invalidValidatorError(componentName,location,propFullName,key,type){return new PropTypeError((componentName||"React class")+": "+location+" type `"+propFullName+"."+key+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+type+"`.")}function createShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName],propType=getPropType(propValue);if(propType!=="object")return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."));for(var key in shapeTypes){var checker=shapeTypes[key];if(typeof checker!="function")return invalidValidatorError(componentName,location,propFullName,key,getPreciseType(checker));var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error)return error}return null}return createChainableTypeChecker(validate)}function createStrictShapeTypeChecker(shapeTypes){function validate(props,propName,componentName,location,propFullName){var propValue=props[propName],propType=getPropType(propValue);if(propType!=="object")return new PropTypeError("Invalid "+location+" `"+propFullName+"` of type `"+propType+"` "+("supplied to `"+componentName+"`, expected `object`."));var allKeys=assign({},props[propName],shapeTypes);for(var key in allKeys){var checker=shapeTypes[key];if(has(shapeTypes,key)&&typeof checker!="function")return invalidValidatorError(componentName,location,propFullName,key,getPreciseType(checker));if(!checker)return new PropTypeError("Invalid "+location+" `"+propFullName+"` key `"+key+"` supplied to `"+componentName+"`.\nBad object: "+JSON.stringify(props[propName],null," ")+` -Valid keys: `+JSON.stringify(Object.keys(shapeTypes),null," "));var error=checker(propValue,key,componentName,location,propFullName+"."+key,ReactPropTypesSecret);if(error)return error}return null}return createChainableTypeChecker(validate)}function isNode(propValue){switch(typeof propValue){case"number":case"string":case"undefined":return!0;case"boolean":return!propValue;case"object":if(Array.isArray(propValue))return propValue.every(isNode);if(propValue===null||isValidElement(propValue))return!0;var iteratorFn=getIteratorFn(propValue);if(iteratorFn){var iterator=iteratorFn.call(propValue),step;if(iteratorFn!==propValue.entries){for(;!(step=iterator.next()).done;)if(!isNode(step.value))return!1}else for(;!(step=iterator.next()).done;){var entry=step.value;if(entry&&!isNode(entry[1]))return!1}}else return!1;return!0;default:return!1}}function isSymbol(propType,propValue){return propType==="symbol"?!0:propValue?propValue["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&propValue instanceof Symbol:!1}function getPropType(propValue){var propType=typeof propValue;return Array.isArray(propValue)?"array":propValue instanceof RegExp?"object":isSymbol(propType,propValue)?"symbol":propType}function getPreciseType(propValue){if(typeof propValue>"u"||propValue===null)return""+propValue;var propType=getPropType(propValue);if(propType==="object"){if(propValue instanceof Date)return"date";if(propValue instanceof RegExp)return"regexp"}return propType}function getPostfixForTypeWarning(value){var type=getPreciseType(value);switch(type){case"array":case"object":return"an "+type;case"boolean":case"date":case"regexp":return"a "+type;default:return type}}function getClassName(propValue){return!propValue.constructor||!propValue.constructor.name?ANONYMOUS:propValue.constructor.name}return ReactPropTypes.checkPropTypes=checkPropTypes,ReactPropTypes.resetWarningCache=checkPropTypes.resetWarningCache,ReactPropTypes.PropTypes=ReactPropTypes,ReactPropTypes}}});var require_prop_types=__commonJS({"../../node_modules/prop-types/index.js"(exports,module){ReactIs=require_react_is(),throwOnDirectAccess=!0,module.exports=require_factoryWithTypeCheckers()(ReactIs.isElement,throwOnDirectAccess);var ReactIs,throwOnDirectAccess}});var require_react_fast_compare=__commonJS({"../../node_modules/react-fast-compare/index.js"(exports,module){var hasElementType=typeof Element<"u",hasMap=typeof Map=="function",hasSet=typeof Set=="function",hasArrayBuffer=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function equal(a2,b2){if(a2===b2)return!0;if(a2&&b2&&typeof a2=="object"&&typeof b2=="object"){if(a2.constructor!==b2.constructor)return!1;var length,i3,keys;if(Array.isArray(a2)){if(length=a2.length,length!=b2.length)return!1;for(i3=length;i3--!==0;)if(!equal(a2[i3],b2[i3]))return!1;return!0}var it;if(hasMap&&a2 instanceof Map&&b2 instanceof Map){if(a2.size!==b2.size)return!1;for(it=a2.entries();!(i3=it.next()).done;)if(!b2.has(i3.value[0]))return!1;for(it=a2.entries();!(i3=it.next()).done;)if(!equal(i3.value[1],b2.get(i3.value[0])))return!1;return!0}if(hasSet&&a2 instanceof Set&&b2 instanceof Set){if(a2.size!==b2.size)return!1;for(it=a2.entries();!(i3=it.next()).done;)if(!b2.has(i3.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a2)&&ArrayBuffer.isView(b2)){if(length=a2.length,length!=b2.length)return!1;for(i3=length;i3--!==0;)if(a2[i3]!==b2[i3])return!1;return!0}if(a2.constructor===RegExp)return a2.source===b2.source&&a2.flags===b2.flags;if(a2.valueOf!==Object.prototype.valueOf&&typeof a2.valueOf=="function"&&typeof b2.valueOf=="function")return a2.valueOf()===b2.valueOf();if(a2.toString!==Object.prototype.toString&&typeof a2.toString=="function"&&typeof b2.toString=="function")return a2.toString()===b2.toString();if(keys=Object.keys(a2),length=keys.length,length!==Object.keys(b2).length)return!1;for(i3=length;i3--!==0;)if(!Object.prototype.hasOwnProperty.call(b2,keys[i3]))return!1;if(hasElementType&&a2 instanceof Element)return!1;for(i3=length;i3--!==0;)if(!((keys[i3]==="_owner"||keys[i3]==="__v"||keys[i3]==="__o")&&a2.$$typeof)&&!equal(a2[keys[i3]],b2[keys[i3]]))return!1;return!0}return a2!==a2&&b2!==b2}module.exports=function(a2,b2){try{return equal(a2,b2)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}}});var require_browser=__commonJS({"../../node_modules/invariant/browser.js"(exports,module){"use strict";var invariant=function(condition,format2,a2,b2,c2,d2,e3,f2){if(format2===void 0)throw new Error("invariant requires an error message argument");if(!condition){var error;if(format2===void 0)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a2,b2,c2,d2,e3,f2],argIndex=0;error=new Error(format2.replace(/%s/g,function(){return args[argIndex++]})),error.name="Invariant Violation"}throw error.framesToPop=1,error}};module.exports=invariant}});var require_shallowequal=__commonJS({"../../node_modules/shallowequal/index.js"(exports,module){module.exports=function(objA,objB,compare,compareContext){var ret=compare?compare.call(compareContext,objA,objB):void 0;if(ret!==void 0)return!!ret;if(objA===objB)return!0;if(typeof objA!="object"||!objA||typeof objB!="object"||!objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var bHasOwnProperty=Object.prototype.hasOwnProperty.bind(objB),idx=0;idx=wait||timeSinceLastCall<0||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,remainingWait(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function cancel(){timerId!==void 0&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0}function flush(){return timerId===void 0?result:trailingEdge(now())}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(timerId===void 0)return leadingEdge(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return timerId===void 0&&(timerId=setTimeout(timerExpired,wait)),result}return debounced.cancel=cancel,debounced.flush=flush,debounced}module.exports=debounce3}});var require_throttle=__commonJS({"../../node_modules/lodash/throttle.js"(exports,module){var debounce3=require_debounce(),isObject=require_isObject(),FUNC_ERROR_TEXT="Expected a function";function throttle2(func,wait,options2){var leading=!0,trailing=!0;if(typeof func!="function")throw new TypeError(FUNC_ERROR_TEXT);return isObject(options2)&&(leading="leading"in options2?!!options2.leading:leading,trailing="trailing"in options2?!!options2.trailing:trailing),debounce3(func,wait,{leading,maxWait:wait,trailing})}module.exports=throttle2}});var require_react_is_development2=__commonJS({"../../node_modules/downshift/node_modules/react-is/cjs/react-is.development.js"(exports){"use strict";(function(){"use strict";var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_SCOPE_TYPE=60119,REACT_OPAQUE_ID_TYPE=60128,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_OFFSCREEN_TYPE=60130,REACT_LEGACY_HIDDEN_TYPE=60131;if(typeof Symbol=="function"&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor("react.element"),REACT_PORTAL_TYPE=symbolFor("react.portal"),REACT_FRAGMENT_TYPE=symbolFor("react.fragment"),REACT_STRICT_MODE_TYPE=symbolFor("react.strict_mode"),REACT_PROFILER_TYPE=symbolFor("react.profiler"),REACT_PROVIDER_TYPE=symbolFor("react.provider"),REACT_CONTEXT_TYPE=symbolFor("react.context"),REACT_FORWARD_REF_TYPE=symbolFor("react.forward_ref"),REACT_SUSPENSE_TYPE=symbolFor("react.suspense"),REACT_SUSPENSE_LIST_TYPE=symbolFor("react.suspense_list"),REACT_MEMO_TYPE=symbolFor("react.memo"),REACT_LAZY_TYPE=symbolFor("react.lazy"),REACT_BLOCK_TYPE=symbolFor("react.block"),REACT_SERVER_BLOCK_TYPE=symbolFor("react.server.block"),REACT_FUNDAMENTAL_TYPE=symbolFor("react.fundamental"),REACT_SCOPE_TYPE=symbolFor("react.scope"),REACT_OPAQUE_ID_TYPE=symbolFor("react.opaque.id"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor("react.debug_trace_mode"),REACT_OFFSCREEN_TYPE=symbolFor("react.offscreen"),REACT_LEGACY_HIDDEN_TYPE=symbolFor("react.legacy_hidden")}var enableScopeAPI=!1;function isValidElementType(type){return!!(typeof type=="string"||typeof type=="function"||type===REACT_FRAGMENT_TYPE||type===REACT_PROFILER_TYPE||type===REACT_DEBUG_TRACING_MODE_TYPE||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||type===REACT_LEGACY_HIDDEN_TYPE||enableScopeAPI||typeof type=="object"&&type!==null&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_FUNDAMENTAL_TYPE||type.$$typeof===REACT_BLOCK_TYPE||type[0]===REACT_SERVER_BLOCK_TYPE))}function typeOf(object){if(typeof object=="object"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment9=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement(object){return typeof object=="object"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef2(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment9,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement,exports.isForwardRef=isForwardRef2,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf})()}});var require_react_is2=__commonJS({"../../node_modules/downshift/node_modules/react-is/index.js"(exports,module){"use strict";module.exports=require_react_is_development2()}});var require_fuse=__commonJS({"../../node_modules/fuse.js/dist/fuse.js"(exports,module){(function(e3,t3){typeof exports=="object"&&typeof module=="object"?module.exports=t3():typeof define=="function"&&define.amd?define("Fuse",[],t3):typeof exports=="object"?exports.Fuse=t3():e3.Fuse=t3()})(exports,function(){return function(e3){var t3={};function r3(n3){if(t3[n3])return t3[n3].exports;var o2=t3[n3]={i:n3,l:!1,exports:{}};return e3[n3].call(o2.exports,o2,o2.exports,r3),o2.l=!0,o2.exports}return r3.m=e3,r3.c=t3,r3.d=function(e4,t4,n3){r3.o(e4,t4)||Object.defineProperty(e4,t4,{enumerable:!0,get:n3})},r3.r=function(e4){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e4,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e4,"__esModule",{value:!0})},r3.t=function(e4,t4){if(1&t4&&(e4=r3(e4)),8&t4||4&t4&&typeof e4=="object"&&e4&&e4.__esModule)return e4;var n3=Object.create(null);if(r3.r(n3),Object.defineProperty(n3,"default",{enumerable:!0,value:e4}),2&t4&&typeof e4!="string")for(var o2 in e4)r3.d(n3,o2,(function(t5){return e4[t5]}).bind(null,o2));return n3},r3.n=function(e4){var t4=e4&&e4.__esModule?function(){return e4.default}:function(){return e4};return r3.d(t4,"a",t4),t4},r3.o=function(e4,t4){return Object.prototype.hasOwnProperty.call(e4,t4)},r3.p="",r3(r3.s=0)}([function(e3,t3,r3){function n3(e4){return(n3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e5){return typeof e5}:function(e5){return e5&&typeof Symbol=="function"&&e5.constructor===Symbol&&e5!==Symbol.prototype?"symbol":typeof e5})(e4)}function o2(e4,t4){for(var r4=0;r41)throw new Error('"weight" property in key must bein the range of [0, 1)');i4=i4==null?u2:Math.max(i4,u2),o3=o3==null?u2:Math.min(o3,u2),this._keyWeights[l2]=u2,a4+=u2}if(a4>1)throw new Error("Total of weights cannot exceed 1")}}},{key:"search",value:function(e5){var t5=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{limit:!1};this._log(`--------- -Search pattern: "`.concat(e5,'"'));var r5=this._prepareSearchers(e5),n4=r5.tokenSearchers,o3=r5.fullSearcher,i4=this._search(n4,o3);return this._computeScore(i4),this.options.shouldSort&&this._sort(i4),t5.limit&&typeof t5.limit=="number"&&(i4=i4.slice(0,t5.limit)),this._format(i4)}},{key:"_prepareSearchers",value:function(){var e5=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t5=[];if(this.options.tokenize)for(var r5=e5.split(this.options.tokenSeparator),n4=0,o3=r5.length;n40&&arguments[0]!==void 0?arguments[0]:[],t5=arguments.length>1?arguments[1]:void 0,r5=this.list,n4={},o3=[];if(typeof r5[0]=="string"){for(var i4=0,a4=r5.length;i4-1&&(C2=(C2+h4)/2),r5._log("Score average:",C2);var j2=!r5.options.tokenize||!r5.options.matchAllTokens||l3>=u2.length;if(r5._log(` -Check Matches: `.concat(j2)),(s4||v3.isMatch)&&j2){var P2={key:n4,arrayIndex:t6,value:o4,score:C2};r5.options.includeMatches&&(P2.matchedIndices=v3.matchedIndices);var I2=p2[a5];I2?I2.output.push(P2):(p2[a5]={item:i5,output:[P2]},g2.push(p2[a5]))}}else if(c2(o4))for(var F2=0,T2=o4.length;F20?Number.EPSILON:l2.score;c3*=Math.pow(v2,f2)}i4.score=c3,this._log(i4)}}},{key:"_sort",value:function(e5){this._log(` - -Sorting....`),e5.sort(this.options.sortFn)}},{key:"_format",value:function(e5){var t5=[];if(this.options.verbose){var r5=[];this._log(` - -Output: - -`,JSON.stringify(e5,function(e6,t6){if(n3(t6)==="object"&&t6!==null){if(r5.indexOf(t6)!==-1)return;r5.push(t6)}return t6},2)),r5=null}var o3=[];this.options.includeMatches&&o3.push(function(e6,t6){var r6=e6.output;t6.matches=[];for(var n4=0,o4=r6.length;n4-1&&(a5.arrayIndex=i5.arrayIndex),t6.matches.push(a5)}}}),this.options.includeScore&&o3.push(function(e6,t6){t6.score=e6.score});for(var i4=0,a4=e5.length;i4c2)return o2(e5,this.pattern,h2);var l2=this.options,u2=l2.location,f2=l2.distance,v2=l2.threshold,p2=l2.findAllMatches,d2=l2.minMatchCharLength;return i3(e5,this.pattern,this.patternAlphabet,{location:u2,distance:f2,threshold:v2,findAllMatches:p2,minMatchCharLength:d2,includeMatches:n4})}}])&&n3(t4.prototype,r4),s3&&n3(t4,s3),e4}();e3.exports=s2},function(e3,t3){var r3=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e3.exports=function(e4,t4){var n3=arguments.length>2&&arguments[2]!==void 0?arguments[2]:/ +/g,o2=new RegExp(t4.replace(r3,"\\$&").replace(n3,"|")),i3=e4.match(o2),a2=!!i3,s2=[];if(a2)for(var c2=0,h2=i3.length;c2=T2;E2-=1){var W2=E2-1,K2=r4[e4.charAt(W2)];if(K2&&(M2[W2]=1),z2[E2]=(z2[E2+1]<<1|1)&K2,P2!==0&&(z2[E2]|=(A2[E2+1]|A2[E2])<<1|1|A2[E2+1]),z2[E2]&j2&&(O2=n3(t4,{errors:P2,currentLocation:W2,expectedLocation:m2,distance:h2}))<=b2){if(b2=O2,(S2=W2)<=m2)break;T2=Math.max(1,2*m2-S2)}}if(n3(t4,{errors:P2+1,currentLocation:m2,expectedLocation:m2,distance:h2})>b2)break;A2=z2}var $={isMatch:S2>=0,score:O2===0?.001:O2};return y2&&($.matchedIndices=o2(M2,d2)),$}},function(e3,t3){e3.exports=function(e4,t4){var r3=t4.errors,n3=r3===void 0?0:r3,o2=t4.currentLocation,i3=o2===void 0?0:o2,a2=t4.expectedLocation,s2=a2===void 0?0:a2,c2=t4.distance,h2=c2===void 0?100:c2,l2=n3/e4.length,u2=Math.abs(s2-i3);return h2?l2+u2/h2:u2?1:l2}},function(e3,t3){e3.exports=function(){for(var e4=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t4=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r3=[],n3=-1,o2=-1,i3=0,a2=e4.length;i3=t4&&r3.push([n3,o2]),n3=-1)}return e4[i3-1]&&i3-n3>=t4&&r3.push([n3,i3-1]),r3}},function(e3,t3){e3.exports=function(e4){for(var t4={},r3=e4.length,n3=0;n3"u"){debug&&console.warn("unable to use e.clipboardData"),debug&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var format3=clipboardToIE11Formatting[options2.format]||clipboardToIE11Formatting.default;window.clipboardData.setData(format3,text)}else e3.clipboardData.clearData(),e3.clipboardData.setData(options2.format,text);options2.onCopy&&(e3.preventDefault(),options2.onCopy(e3.clipboardData))}),document.body.appendChild(mark),range.selectNodeContents(mark),selection.addRange(range);var successful=document.execCommand("copy");if(!successful)throw new Error("copy command was unsuccessful");success=!0}catch(err){debug&&console.error("unable to copy using execCommand: ",err),debug&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(options2.format||"text",text),options2.onCopy&&options2.onCopy(window.clipboardData),success=!0}catch(err2){debug&&console.error("unable to copy using clipboardData: ",err2),debug&&console.error("falling back to prompt"),message=format2("message"in options2?options2.message:defaultMessage),window.prompt(message,text)}}finally{selection&&(typeof selection.removeRange=="function"?selection.removeRange(range):selection.removeAllRanges()),mark&&document.body.removeChild(mark),reselectPrevious()}return success}module.exports=copy2}});var import_client=__toESM(require_client()),import_react62=__toESM(require_react());var import_react=__toESM(require_react()),import_prop_types=__toESM(require_prop_types()),import_react_fast_compare=__toESM(require_react_fast_compare()),import_invariant=__toESM(require_browser()),import_shallowequal=__toESM(require_shallowequal());function a(){return a=Object.assign||function(t3){for(var e3=1;e3=0||(i3[r3]=t3[r3]);return i3}var l={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},p={rel:["amphtml","canonical","alternate"]},f={type:["application/ld+json"]},d={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},h=Object.keys(l).map(function(t3){return l[t3]}),m={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},y=Object.keys(m).reduce(function(t3,e3){return t3[m[e3]]=e3,t3},{}),T=function(t3,e3){for(var r3=t3.length-1;r3>=0;r3-=1){var n3=t3[r3];if(Object.prototype.hasOwnProperty.call(n3,e3))return n3[e3]}return null},g=function(t3){var e3=T(t3,l.TITLE),r3=T(t3,"titleTemplate");if(Array.isArray(e3)&&(e3=e3.join("")),r3&&e3)return r3.replace(/%s/g,function(){return e3});var n3=T(t3,"defaultTitle");return e3||n3||void 0},b=function(t3){return T(t3,"onChangeClientState")||function(){}},v=function(t3,e3){return e3.filter(function(e4){return e4[t3]!==void 0}).map(function(e4){return e4[t3]}).reduce(function(t4,e4){return a({},t4,e4)},{})},A=function(t3,e3){return e3.filter(function(t4){return t4[l.BASE]!==void 0}).map(function(t4){return t4[l.BASE]}).reverse().reduce(function(e4,r3){if(!e4.length)for(var n3=Object.keys(r3),i3=0;i3/g,">").replace(/"/g,""").replace(/'/g,"'")},x=function(t3){return Object.keys(t3).reduce(function(e3,r3){var n3=t3[r3]!==void 0?r3+'="'+t3[r3]+'"':""+r3;return e3?e3+" "+n3:n3},"")},L=function(t3,e3){return e3===void 0&&(e3={}),Object.keys(t3).reduce(function(e4,r3){return e4[m[r3]||r3]=t3[r3],e4},e3)},j=function(e3,r3){return r3.map(function(r4,n3){var i3,o2=((i3={key:n3})["data-rh"]=!0,i3);return Object.keys(r4).forEach(function(t3){var e4=m[t3]||t3;e4==="innerHTML"||e4==="cssText"?o2.dangerouslySetInnerHTML={__html:r4.innerHTML||r4.cssText}:o2[e4]=r4[t3]}),import_react.default.createElement(e3,o2)})},M=function(e3,r3,n3){switch(e3){case l.TITLE:return{toComponent:function(){return n4=r3.titleAttributes,(i3={key:e4=r3.title})["data-rh"]=!0,o2=L(n4,i3),[import_react.default.createElement(l.TITLE,o2,e4)];var e4,n4,i3,o2},toString:function(){return function(t3,e4,r4,n4){var i3=x(r4),o2=S(e4);return i3?"<"+t3+' data-rh="true" '+i3+">"+w(o2,n4)+"":"<"+t3+' data-rh="true">'+w(o2,n4)+""}(e3,r3.title,r3.titleAttributes,n3)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return L(r3)},toString:function(){return x(r3)}};default:return{toComponent:function(){return j(e3,r3)},toString:function(){return function(t3,e4,r4){return e4.reduce(function(e5,n4){var i3=Object.keys(n4).filter(function(t4){return!(t4==="innerHTML"||t4==="cssText")}).reduce(function(t4,e6){var i4=n4[e6]===void 0?e6:e6+'="'+w(n4[e6],r4)+'"';return t4?t4+" "+i4:i4},""),o2=n4.innerHTML||n4.cssText||"",a2=P.indexOf(t3)===-1;return e5+"<"+t3+' data-rh="true" '+i3+(a2?"/>":">"+o2+"")},"")}(e3,r3,n3)}}}},k=function(t3){var e3=t3.baseTag,r3=t3.bodyAttributes,n3=t3.encode,i3=t3.htmlAttributes,o2=t3.noscriptTags,a2=t3.styleTags,s2=t3.title,c2=s2===void 0?"":s2,u2=t3.titleAttributes,h2=t3.linkTags,m2=t3.metaTags,y2=t3.scriptTags,T2={toComponent:function(){},toString:function(){return""}};if(t3.prioritizeSeoTags){var g2=function(t4){var e4=t4.linkTags,r4=t4.scriptTags,n4=t4.encode,i4=E(t4.metaTags,d),o3=E(e4,p),a3=E(r4,f);return{priorityMethods:{toComponent:function(){return[].concat(j(l.META,i4.priority),j(l.LINK,o3.priority),j(l.SCRIPT,a3.priority))},toString:function(){return M(l.META,i4.priority,n4)+" "+M(l.LINK,o3.priority,n4)+" "+M(l.SCRIPT,a3.priority,n4)}},metaTags:i4.default,linkTags:o3.default,scriptTags:a3.default}}(t3);T2=g2.priorityMethods,h2=g2.linkTags,m2=g2.metaTags,y2=g2.scriptTags}return{priority:T2,base:M(l.BASE,e3,n3),bodyAttributes:M("bodyAttributes",r3,n3),htmlAttributes:M("htmlAttributes",i3,n3),link:M(l.LINK,h2,n3),meta:M(l.META,m2,n3),noscript:M(l.NOSCRIPT,o2,n3),script:M(l.SCRIPT,y2,n3),style:M(l.STYLE,a2,n3),title:M(l.TITLE,{title:c2,titleAttributes:u2},n3)}},H=[],N=function(t3,e3){var r3=this;e3===void 0&&(e3=typeof document<"u"),this.instances=[],this.value={setHelmet:function(t4){r3.context.helmet=t4},helmetInstances:{get:function(){return r3.canUseDOM?H:r3.instances},add:function(t4){(r3.canUseDOM?H:r3.instances).push(t4)},remove:function(t4){var e4=(r3.canUseDOM?H:r3.instances).indexOf(t4);(r3.canUseDOM?H:r3.instances).splice(e4,1)}}},this.context=t3,this.canUseDOM=e3,e3||(t3.helmet=k({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},R=import_react.default.createContext({}),D=import_prop_types.default.shape({setHelmet:import_prop_types.default.func,helmetInstances:import_prop_types.default.shape({get:import_prop_types.default.func,add:import_prop_types.default.func,remove:import_prop_types.default.func})}),U=typeof document<"u",q=function(e3){function r3(t3){var n3;return(n3=e3.call(this,t3)||this).helmetData=new N(n3.props.context,r3.canUseDOM),n3}return s(r3,e3),r3.prototype.render=function(){return import_react.default.createElement(R.Provider,{value:this.helmetData.value},this.props.children)},r3}(import_react.Component);q.canUseDOM=U,q.propTypes={context:import_prop_types.default.shape({helmet:import_prop_types.default.shape()}),children:import_prop_types.default.node.isRequired},q.defaultProps={context:{}},q.displayName="HelmetProvider";var Y=function(t3,e3){var r3,n3=document.head||document.querySelector(l.HEAD),i3=n3.querySelectorAll(t3+"[data-rh]"),o2=[].slice.call(i3),a2=[];return e3&&e3.length&&e3.forEach(function(e4){var n4=document.createElement(t3);for(var i4 in e4)Object.prototype.hasOwnProperty.call(e4,i4)&&(i4==="innerHTML"?n4.innerHTML=e4.innerHTML:i4==="cssText"?n4.styleSheet?n4.styleSheet.cssText=e4.cssText:n4.appendChild(document.createTextNode(e4.cssText)):n4.setAttribute(i4,e4[i4]===void 0?"":e4[i4]));n4.setAttribute("data-rh","true"),o2.some(function(t4,e5){return r3=e5,n4.isEqualNode(t4)})?o2.splice(r3,1):a2.push(n4)}),o2.forEach(function(t4){return t4.parentNode.removeChild(t4)}),a2.forEach(function(t4){return n3.appendChild(t4)}),{oldTags:o2,newTags:a2}},B=function(t3,e3){var r3=document.getElementsByTagName(t3)[0];if(r3){for(var n3=r3.getAttribute("data-rh"),i3=n3?n3.split(","):[],o2=[].concat(i3),a2=Object.keys(e3),s2=0;s2=0;p2-=1)r3.removeAttribute(o2[p2]);i3.length===o2.length?r3.removeAttribute("data-rh"):r3.getAttribute("data-rh")!==a2.join(",")&&r3.setAttribute("data-rh",a2.join(","))}},K=function(t3,e3){var r3=t3.baseTag,n3=t3.htmlAttributes,i3=t3.linkTags,o2=t3.metaTags,a2=t3.noscriptTags,s2=t3.onChangeClientState,c2=t3.scriptTags,u2=t3.styleTags,p2=t3.title,f2=t3.titleAttributes;B(l.BODY,t3.bodyAttributes),B(l.HTML,n3),function(t4,e4){t4!==void 0&&document.title!==t4&&(document.title=S(t4)),B(l.TITLE,e4)}(p2,f2);var d2={baseTag:Y(l.BASE,r3),linkTags:Y(l.LINK,i3),metaTags:Y(l.META,o2),noscriptTags:Y(l.NOSCRIPT,a2),scriptTags:Y(l.SCRIPT,c2),styleTags:Y(l.STYLE,u2)},h2={},m2={};Object.keys(d2).forEach(function(t4){var e4=d2[t4],r4=e4.newTags,n4=e4.oldTags;r4.length&&(h2[t4]=r4),n4.length&&(m2[t4]=d2[t4].oldTags)}),e3&&e3(),s2(t3,h2,m2)},_=null,z=function(t3){function e3(){for(var e4,r4=arguments.length,n3=new Array(r4),i3=0;i3 elements are self-closing and can not contain children. Refer to our API for more information.")}},o2.flattenArrayTypeChildren=function(t3){var e4,r4=t3.child,n3=t3.arrayTypeChildren;return a({},n3,((e4={})[r4.type]=[].concat(n3[r4.type]||[],[a({},t3.newChildProps,this.mapNestedChildrenToProps(r4,t3.nestedChildren))]),e4))},o2.mapObjectTypeChildren=function(t3){var e4,r4,n3=t3.child,i3=t3.newProps,o3=t3.newChildProps,s2=t3.nestedChildren;switch(n3.type){case l.TITLE:return a({},i3,((e4={})[n3.type]=s2,e4.titleAttributes=a({},o3),e4));case l.BODY:return a({},i3,{bodyAttributes:a({},o3)});case l.HTML:return a({},i3,{htmlAttributes:a({},o3)});default:return a({},i3,((r4={})[n3.type]=a({},o3),r4))}},o2.mapArrayTypeChildrenToProps=function(t3,e4){var r4=a({},e4);return Object.keys(t3).forEach(function(e5){var n3;r4=a({},r4,((n3={})[e5]=t3[e5],n3))}),r4},o2.warnOnInvalidChildren=function(t3,e4){return(0,import_invariant.default)(h.some(function(e5){return t3.type===e5}),typeof t3.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+h.join(", ")+" are allowed. Helmet does not support rendering <"+t3.type+"> elements. Refer to our API for more information."),(0,import_invariant.default)(!e4||typeof e4=="string"||Array.isArray(e4)&&!e4.some(function(t4){return typeof t4!="string"}),"Helmet expects a string as a child of <"+t3.type+">. Did you forget to wrap your children in braces? ( <"+t3.type+">{``} ) Refer to our API for more information."),!0},o2.mapChildrenToProps=function(e4,r4){var n3=this,i3={};return import_react.default.Children.forEach(e4,function(t3){if(t3&&t3.props){var e5=t3.props,o3=e5.children,a2=u(e5,F),s2=Object.keys(a2).reduce(function(t4,e6){return t4[y[e6]||e6]=a2[e6],t4},{}),c2=t3.type;switch(typeof c2=="symbol"?c2=c2.toString():n3.warnOnInvalidChildren(t3,o3),c2){case l.FRAGMENT:r4=n3.mapChildrenToProps(o3,r4);break;case l.LINK:case l.META:case l.NOSCRIPT:case l.SCRIPT:case l.STYLE:i3=n3.flattenArrayTypeChildren({child:t3,arrayTypeChildren:i3,newChildProps:s2,nestedChildren:o3});break;default:r4=n3.mapObjectTypeChildren({child:t3,newProps:r4,newChildProps:s2,nestedChildren:o3})}}}),this.mapArrayTypeChildrenToProps(i3,r4)},o2.render=function(){var e4=this.props,r4=e4.children,n3=u(e4,G),i3=a({},n3),o3=n3.helmetData;return r4&&(i3=this.mapChildrenToProps(r4,i3)),!o3||o3 instanceof N||(o3=new N(o3.context,o3.instances)),o3?import_react.default.createElement(z,a({},i3,{context:o3.value,helmetData:void 0})):import_react.default.createElement(R.Consumer,null,function(e5){return import_react.default.createElement(z,a({},i3,{context:e5}))})},r3}(import_react.Component);W.propTypes={base:import_prop_types.default.object,bodyAttributes:import_prop_types.default.object,children:import_prop_types.default.oneOfType([import_prop_types.default.arrayOf(import_prop_types.default.node),import_prop_types.default.node]),defaultTitle:import_prop_types.default.string,defer:import_prop_types.default.bool,encodeSpecialCharacters:import_prop_types.default.bool,htmlAttributes:import_prop_types.default.object,link:import_prop_types.default.arrayOf(import_prop_types.default.object),meta:import_prop_types.default.arrayOf(import_prop_types.default.object),noscript:import_prop_types.default.arrayOf(import_prop_types.default.object),onChangeClientState:import_prop_types.default.func,script:import_prop_types.default.arrayOf(import_prop_types.default.object),style:import_prop_types.default.arrayOf(import_prop_types.default.object),title:import_prop_types.default.string,titleAttributes:import_prop_types.default.object,titleTemplate:import_prop_types.default.string,prioritizeSeoTags:import_prop_types.default.bool,helmetData:import_prop_types.default.object},W.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},W.displayName="Helmet";var import_react53=__toESM(require_react());var import_react26=__toESM(require_react());var import_react24=__toESM(require_react());var import_react6=__toESM(require_react());var import_react2=__toESM(require_react());var StorybookLogoStyled=newStyled(StorybookLogo)(({theme})=>({width:"auto",height:"22px !important",display:"block",color:theme.base==="light"?theme.color.defaultText:theme.color.lightest})),Img=newStyled.img({display:"block",maxWidth:"150px",maxHeight:"100px"}),LogoLink=newStyled.a(({theme})=>({display:"inline-block",height:"100%",margin:"-3px -4px",padding:"2px 3px",border:"1px solid transparent",borderRadius:3,color:"inherit",textDecoration:"none","&:focus":{outline:0,borderColor:theme.color.secondary}})),Brand=withTheme(({theme})=>{let{title="Storybook",url="./",image,target}=theme.brand,targetValue=target||(url==="./"?"":"_blank");if(image===null)return title===null?null:url?import_react2.default.createElement(LogoLink,{href:url,target:targetValue,dangerouslySetInnerHTML:{__html:title}}):import_react2.default.createElement("div",{dangerouslySetInnerHTML:{__html:title}});let logo=image?import_react2.default.createElement(Img,{src:image,alt:title}):import_react2.default.createElement(StorybookLogoStyled,{alt:title});return url?import_react2.default.createElement(LogoLink,{title,href:url,target:targetValue},logo):import_react2.default.createElement("div",null,logo)});var import_react5=__toESM(require_react());function _assertThisInitialized(self){if(self===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _setPrototypeOf(o2,p2){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o3,p3){return o3.__proto__=p3,o3},_setPrototypeOf(o2,p2)}function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}function _getPrototypeOf(o2){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(o3){return o3.__proto__||Object.getPrototypeOf(o3)},_getPrototypeOf(o2)}function _isNativeFunction(fn){try{return Function.toString.call(fn).indexOf("[native code]")!==-1}catch{return typeof fn=="function"}}function _isNativeReflectConstruct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(Parent,args,Class){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(Parent2,args2,Class2){var a2=[null];a2.push.apply(a2,args2);var Constructor=Function.bind.apply(Parent2,a2),instance=new Constructor;return Class2&&_setPrototypeOf(instance,Class2.prototype),instance},_construct.apply(null,arguments)}function _wrapNativeSuper(Class){var _cache=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(Class2){if(Class2===null||!_isNativeFunction(Class2))return Class2;if(typeof Class2!="function")throw new TypeError("Super expression must either be null or a function");if(typeof _cache<"u"){if(_cache.has(Class2))return _cache.get(Class2);_cache.set(Class2,Wrapper3)}function Wrapper3(){return _construct(Class2,arguments,_getPrototypeOf(this).constructor)}return Wrapper3.prototype=Object.create(Class2.prototype,{constructor:{value:Wrapper3,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper3,Class2)},_wrapNativeSuper(Class)}var ERRORS={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function format(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var a2=args[0],b2=[],c2;for(c2=1;c21?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];return _this=_Error.call(this,format.apply(void 0,[ERRORS[code]].concat(args)))||this,_assertThisInitialized(_this)}return PolishedError2}(_wrapNativeSuper(Error));function colorToInt(color){return Math.round(color*255)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(convert===void 0&&(convert=convertToInt),saturation===0)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2,finalRed=red+lightnessModification,finalGreen=green+lightnessModification,finalBlue=blue+lightnessModification;return convert(finalRed,finalGreen,finalBlue)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function nameToHex(color){if(typeof color!="string")return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color){if(typeof color!="string")throw new PolishedError(3);var normalizedColor=nameToHex(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var hue=parseInt(""+hslMatched[1],10),saturation=parseInt(""+hslMatched[2],10)/100,lightness=parseInt(""+hslMatched[3],10)/100,rgbColorString="rgb("+hslToRgb(hue,saturation,lightness)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _hue=parseInt(""+hslaMatched[1],10),_saturation=parseInt(""+hslaMatched[2],10)/100,_lightness=parseInt(""+hslaMatched[3],10)/100,_rgbColorString="rgb("+hslToRgb(_hue,_saturation,_lightness)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}var reduceHexValue=function(value){return value.length===7&&value[1]===value[2]&&value[3]===value[4]&&value[5]===value[6]?"#"+value[1]+value[3]+value[5]:value},reduceHexValue$1=reduceHexValue;function numberToHex(value){var hex=value.toString(16);return hex.length===1?"0"+hex:hex}function rgb(value,green,blue){if(typeof value=="number"&&typeof green=="number"&&typeof blue=="number")return reduceHexValue$1("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if(typeof value=="object"&&green===void 0&&blue===void 0)return reduceHexValue$1("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if(typeof firstValue=="string"&&typeof secondValue=="number"){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}else{if(typeof firstValue=="number"&&typeof secondValue=="number"&&typeof thirdValue=="number"&&typeof fourthValue=="number")return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if(typeof firstValue=="object"&&secondValue===void 0&&thirdValue===void 0&&fourthValue===void 0)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")"}throw new PolishedError(7)}function curried(f2,length,acc){return function(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f2.apply(this,combined):curried(f2,length,combined)}}function curry(f2){return curried(f2,f2.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function transparentize(amount,color){if(color==="transparent")return color;var parsedColor=parseToRgb(color),alpha=typeof parsedColor.alpha=="number"?parsedColor.alpha:1,colorWithAlpha=_extends({},parsedColor,{alpha:guard(0,1,+(alpha*100-parseFloat(amount)*100).toFixed(2)/100)});return rgba(colorWithAlpha)}var curriedTransparentize=curry(transparentize),curriedTransparentize$1=curriedTransparentize;var import_react4=__toESM(require_react());var import_react3=__toESM(require_react());function useMediaQuery(query){let getMatches=queryMatch=>typeof window<"u"?window.matchMedia(queryMatch).matches:!1,[matches,setMatches]=(0,import_react3.useState)(getMatches(query));function handleChange(){setMatches(getMatches(query))}return(0,import_react3.useEffect)(()=>{let matchMedia=window.matchMedia(query);return handleChange(),matchMedia.addEventListener("change",handleChange),()=>{matchMedia.removeEventListener("change",handleChange)}},[query]),matches}var MEDIA_DESKTOP_BREAKPOINT="@media (min-width: 600px)";var LayoutContext=(0,import_react4.createContext)({isMobileMenuOpen:!1,setMobileMenuOpen:()=>{},isMobileAboutOpen:!1,setMobileAboutOpen:()=>{},isMobilePanelOpen:!1,setMobilePanelOpen:()=>{},isDesktop:!1,isMobile:!1}),LayoutProvider=({children})=>{let[isMobileMenuOpen,setMobileMenuOpen]=(0,import_react4.useState)(!1),[isMobileAboutOpen,setMobileAboutOpen]=(0,import_react4.useState)(!1),[isMobilePanelOpen,setMobilePanelOpen]=(0,import_react4.useState)(!1),isDesktop=useMediaQuery(`(min-width: ${600}px)`),isMobile=!isDesktop,contextValue=(0,import_react4.useMemo)(()=>({isMobileMenuOpen,setMobileMenuOpen,isMobileAboutOpen,setMobileAboutOpen,isMobilePanelOpen,setMobilePanelOpen,isDesktop,isMobile}),[isMobileMenuOpen,setMobileMenuOpen,isMobileAboutOpen,setMobileAboutOpen,isMobilePanelOpen,setMobilePanelOpen,isDesktop,isMobile]);return import_react4.default.createElement(LayoutContext.Provider,{value:contextValue},children)},useLayout=()=>(0,import_react4.useContext)(LayoutContext);var SidebarIconButton=newStyled(IconButton)(({highlighted,theme})=>({position:"relative",overflow:"visible",marginTop:0,zIndex:1,...highlighted&&{"&:before, &:after":{content:'""',position:"absolute",top:6,right:6,width:5,height:5,zIndex:2,borderRadius:"50%",background:theme.background.app,border:`1px solid ${theme.background.app}`,boxShadow:`0 0 0 2px ${theme.background.app}`},"&:after":{background:theme.color.positive,border:"1px solid rgba(0, 0, 0, 0.1)",boxShadow:`0 0 0 2px ${theme.background.app}`},"&:hover:after, &:focus-visible:after":{boxShadow:`0 0 0 2px ${curriedTransparentize$1(.88,theme.color.secondary)}`}}})),MenuButtonGroup=newStyled.div({display:"flex",gap:4}),SidebarMenuList=({menu,onHide})=>{let links=(0,import_react5.useMemo)(()=>menu.map(({onClick,...rest})=>({...rest,onClick:(event,item)=>{onClick&&onClick(event,item),onHide()}})),[menu,onHide]);return import_react5.default.createElement(TooltipLinkList,{links})},SidebarMenu=({menu,isHighlighted,onClick})=>{let[isTooltipVisible,setIsTooltipVisible]=(0,import_react5.useState)(!1),{isMobile,setMobileMenuOpen}=useLayout();return isMobile?import_react5.default.createElement(MenuButtonGroup,null,import_react5.default.createElement(SidebarIconButton,{title:"About Storybook","aria-label":"About Storybook",highlighted:isHighlighted,active:!1,onClick},import_react5.default.createElement(CogIcon,null)),import_react5.default.createElement(IconButton,{title:"Close menu","aria-label":"Close menu",onClick:()=>setMobileMenuOpen(!1)},import_react5.default.createElement(CloseIcon,null))):import_react5.default.createElement(WithTooltip,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide})=>import_react5.default.createElement(SidebarMenuList,{onHide,menu}),onVisibleChange:setIsTooltipVisible},import_react5.default.createElement(SidebarIconButton,{title:"Shortcuts","aria-label":"Shortcuts",highlighted:isHighlighted,active:isTooltipVisible},import_react5.default.createElement(CogIcon,null)))};var BrandArea=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2,fontWeight:theme.typography.weight.bold,color:theme.color.defaultText,marginRight:20,display:"flex",width:"100%",alignItems:"center",minHeight:22,"& > * > *":{maxWidth:"100%"},"& > *":{maxWidth:"100%",height:"auto",display:"block",flex:"1 1 auto"}})),HeadingWrapper=newStyled.div({display:"flex",alignItems:"center",justifyContent:"space-between",position:"relative",minHeight:42,paddingLeft:8}),SkipToCanvasLink=newStyled(Button)(({theme})=>({display:"none","@media (min-width: 600px)":{display:"block",position:"absolute",fontSize:theme.typography.size.s1,zIndex:3,border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",opacity:0,transition:"opacity 150ms ease-out","&:focus":{width:"100%",height:"inherit",padding:"10px 15px",margin:0,clip:"unset",overflow:"unset",opacity:1}}})),Heading=({menuHighlighted=!1,menu,skipLinkHref,extra,isLoading,onMenuClick,...props})=>import_react6.default.createElement(HeadingWrapper,{...props},skipLinkHref&&import_react6.default.createElement(SkipToCanvasLink,{asChild:!0},import_react6.default.createElement("a",{href:skipLinkHref,tabIndex:0},"Skip to canvas")),import_react6.default.createElement(BrandArea,null,import_react6.default.createElement(Brand,null)),isLoading?null:extra.map(({id,render:Render})=>import_react6.default.createElement(Render,{key:id})),import_react6.default.createElement(SidebarMenu,{menu,isHighlighted:menuHighlighted,onClick:onMenuClick}));var import_react19=__toESM(require_react());var import_react16=__toESM(require_react());var import_react8=__toESM(require_react());var import_react7=__toESM(require_react());var LOADER_SEQUENCE=[0,0,1,1,2,3,3,3,1,1,1,2,2,2,3],Loadingitem=newStyled.div({cursor:"progress",fontSize:13,height:"16px",marginTop:4,marginBottom:4,alignItems:"center",overflow:"hidden"},({depth=0})=>({marginLeft:depth*15,maxWidth:85-depth*5}),({theme})=>theme.animation.inlineGlow,({theme})=>({background:theme.appBorderColor})),Contained=newStyled.div({display:"flex",flexDirection:"column",paddingLeft:20,paddingRight:20}),Loader2=({size})=>{let repeats=Math.ceil(size/LOADER_SEQUENCE.length),sequence=Array.from(Array(repeats)).fill(LOADER_SEQUENCE).flat().slice(0,size);return import_react7.default.createElement(import_react7.Fragment,null,sequence.map((depth,index)=>import_react7.default.createElement(Loadingitem,{depth,key:index})))};var{window:globalWindow}=scope,TextStyle=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2,lineHeight:"20px",margin:0})),Text=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2,lineHeight:"20px",margin:0,code:{fontSize:theme.typography.size.s1},ul:{paddingLeft:20,marginTop:8,marginBottom:8}})),ErrorDisplay=newStyled.pre({width:420,boxSizing:"border-box",borderRadius:8,overflow:"auto",whiteSpace:"pre"},({theme})=>({color:theme.color.dark})),AuthBlock=({loginUrl,id})=>{let[isAuthAttempted,setAuthAttempted]=(0,import_react8.useState)(!1),refresh=(0,import_react8.useCallback)(()=>{globalWindow.document.location.reload()},[]),open=(0,import_react8.useCallback)(e3=>{e3.preventDefault();let childWindow=globalWindow.open(loginUrl,`storybook_auth_${id}`,"resizable,scrollbars"),timer=setInterval(()=>{childWindow?childWindow.closed&&(clearInterval(timer),setAuthAttempted(!0)):(logger.error("unable to access loginUrl window"),clearInterval(timer))},1e3)},[]);return import_react8.default.createElement(Contained,null,import_react8.default.createElement(Spaced,null,isAuthAttempted?import_react8.default.createElement(import_react8.Fragment,null,import_react8.default.createElement(Text,null,"Authentication on ",import_react8.default.createElement("strong",null,loginUrl)," concluded. Refresh the page to fetch this Storybook."),import_react8.default.createElement("div",null,import_react8.default.createElement(Button,{small:!0,gray:!0,onClick:refresh},import_react8.default.createElement(SyncIcon,null),"Refresh now"))):import_react8.default.createElement(import_react8.Fragment,null,import_react8.default.createElement(Text,null,"Sign in to browse this Storybook."),import_react8.default.createElement("div",null,import_react8.default.createElement(Button,{small:!0,gray:!0,onClick:open},import_react8.default.createElement(LockIcon,null),"Sign in")))))},ErrorBlock=({error})=>import_react8.default.createElement(Contained,null,import_react8.default.createElement(Spaced,null,import_react8.default.createElement(TextStyle,null,"Oh no! Something went wrong loading this Storybook.",import_react8.default.createElement("br",null),import_react8.default.createElement(WithTooltip,{tooltip:import_react8.default.createElement(ErrorDisplay,null,import_react8.default.createElement(ErrorFormatter,{error}))},import_react8.default.createElement(Link22,{isButton:!0},"View error ",import_react8.default.createElement(ChevronDownIcon,null)))," ",import_react8.default.createElement(Link22,{withArrow:!0,href:"https://storybook.js.org/docs",cancel:!1,target:"_blank"},"View docs")))),FlexSpaced=newStyled(Spaced)({display:"flex"}),WideSpaced=newStyled(Spaced)({flex:1}),EmptyBlock=({isMain})=>import_react8.default.createElement(Contained,null,import_react8.default.createElement(FlexSpaced,{col:1},import_react8.default.createElement(WideSpaced,null,import_react8.default.createElement(Text,null,isMain?import_react8.default.createElement(import_react8.default.Fragment,null,"Oh no! Your Storybook is empty. Possible reasons why:",import_react8.default.createElement("ul",null,import_react8.default.createElement("li",null,"The glob specified in ",import_react8.default.createElement("code",null,"main.js")," isn't correct."),import_react8.default.createElement("li",null,"No stories are defined in your story files."),import_react8.default.createElement("li",null,"You're using filter-functions, and all stories are filtered away."))," "):import_react8.default.createElement(import_react8.default.Fragment,null,"This composed storybook is empty, maybe you're using filter-functions, and all stories are filtered away."))))),LoaderBlock=({isMain})=>import_react8.default.createElement(Contained,null,import_react8.default.createElement(Loader2,{size:isMain?17:5}));var import_react9=__toESM(require_react());var{document:document2,window:globalWindow2}=scope,IndicatorPlacement=newStyled.aside(({theme})=>({height:16,display:"flex",alignItems:"center","& > * + *":{marginLeft:theme.layoutMargin}})),IndicatorClickTarget=newStyled.button(({theme})=>({height:20,width:20,padding:0,margin:0,display:"flex",alignItems:"center",justifyContent:"center",background:"transparent",outline:"none",border:"1px solid transparent",borderRadius:"100%",cursor:"pointer",color:theme.base==="light"?curriedTransparentize$1(.3,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText),"&:hover":{color:theme.barSelectedColor},"&:focus":{color:theme.barSelectedColor,borderColor:theme.color.secondary},svg:{height:10,width:10,transition:"all 150ms ease-out",color:"inherit"}})),MessageTitle=newStyled.span(({theme})=>({fontWeight:theme.typography.weight.bold})),Message=newStyled.a(({theme})=>({textDecoration:"none",lineHeight:"16px",padding:15,display:"flex",flexDirection:"row",alignItems:"flex-start",color:theme.color.defaultText,"&:not(:last-child)":{borderBottom:`1px solid ${theme.appBorderColor}`},"&:hover":{background:theme.background.hoverable,color:theme.color.darker},"&:link":{color:theme.color.darker},"&:active":{color:theme.color.darker},"&:focus":{color:theme.color.darker},"& > *":{flex:1},"& > svg":{marginTop:3,width:16,height:16,marginRight:10,flex:"unset"}})),MessageWrapper=newStyled.div({width:280,boxSizing:"border-box",borderRadius:8,overflow:"hidden"}),Version=newStyled.div(({theme})=>({display:"flex",alignItems:"center",fontSize:theme.typography.size.s1,fontWeight:theme.typography.weight.regular,color:theme.base==="light"?curriedTransparentize$1(.3,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText),"& > * + *":{marginLeft:4},svg:{height:10,width:10}})),CurrentVersion=({url,versions})=>{let currentVersionId=(0,import_react9.useMemo)(()=>{let c2=Object.entries(versions).find(([k2,v2])=>v2===url);return c2&&c2[0]?c2[0]:"current"},[url,versions]);return import_react9.default.createElement(Version,null,import_react9.default.createElement("span",null,currentVersionId),import_react9.default.createElement(ChevronDownIcon,null))},RefIndicator=import_react9.default.memo((0,import_react9.forwardRef)(({state,...ref},forwardedRef)=>{let api=useStorybookApi(),list=(0,import_react9.useMemo)(()=>Object.values(ref.index||{}),[ref.index]),componentCount=(0,import_react9.useMemo)(()=>list.filter(v2=>v2.type==="component").length,[list]),leafCount=(0,import_react9.useMemo)(()=>list.filter(v2=>v2.type==="docs"||v2.type==="story").length,[list]);return import_react9.default.createElement(IndicatorPlacement,{ref:forwardedRef},import_react9.default.createElement(WithTooltip,{placement:"bottom-start",trigger:"click",closeOnOutsideClick:!0,tooltip:import_react9.default.createElement(MessageWrapper,null,import_react9.default.createElement(Spaced,{row:0},state==="loading"&&import_react9.default.createElement(LoadingMessage,{url:ref.url}),(state==="error"||state==="empty")&&import_react9.default.createElement(ErrorOccurredMessage,{url:ref.url}),state==="ready"&&import_react9.default.createElement(ReadyMessage,{url:ref.url,componentCount,leafCount}),state==="auth"&&import_react9.default.createElement(LoginRequiredMessage,{...ref}),ref.type==="auto-inject"&&state!=="error"&&import_react9.default.createElement(PerformanceDegradedMessage,null),state!=="loading"&&import_react9.default.createElement(ReadDocsMessage,null)))},import_react9.default.createElement(IndicatorClickTarget,{"data-action":"toggle-indicator","aria-label":"toggle indicator"},import_react9.default.createElement(GlobeIcon,null))),ref.versions&&Object.keys(ref.versions).length?import_react9.default.createElement(WithTooltip,{placement:"bottom-start",trigger:"click",closeOnOutsideClick:!0,tooltip:tooltip=>import_react9.default.createElement(TooltipLinkList,{links:Object.entries(ref.versions).map(([id,href])=>({icon:href===ref.url?"check":void 0,id,title:id,href,onClick:(event,item)=>{event.preventDefault(),api.changeRefVersion(ref.id,item.href),tooltip.onHide()}}))})},import_react9.default.createElement(CurrentVersion,{url:ref.url,versions:ref.versions})):null)})),ReadyMessage=({url,componentCount,leafCount})=>{let theme=useTheme();return import_react9.default.createElement(Message,{href:url.replace(/\/?$/,"/index.html"),target:"_blank"},import_react9.default.createElement(GlobeIcon,{color:theme.color.secondary}),import_react9.default.createElement("div",null,import_react9.default.createElement(MessageTitle,null,"View external Storybook"),import_react9.default.createElement("div",null,"Explore ",componentCount," components and ",leafCount," stories in a new browser tab.")))},LoginRequiredMessage=({loginUrl,id})=>{let theme=useTheme(),open=(0,import_react9.useCallback)(e3=>{e3.preventDefault();let childWindow=globalWindow2.open(loginUrl,`storybook_auth_${id}`,"resizable,scrollbars"),timer=setInterval(()=>{childWindow?childWindow.closed&&(clearInterval(timer),document2.location.reload()):clearInterval(timer)},1e3)},[]);return import_react9.default.createElement(Message,{onClick:open},import_react9.default.createElement(LockIcon,{color:theme.color.gold}),import_react9.default.createElement("div",null,import_react9.default.createElement(MessageTitle,null,"Log in required"),import_react9.default.createElement("div",null,"You need to authenticate to view this Storybook's components.")))},ReadDocsMessage=()=>{let theme=useTheme();return import_react9.default.createElement(Message,{href:"https://storybook.js.org/docs/react/sharing/storybook-composition",target:"_blank"},import_react9.default.createElement(DocumentIcon,{color:theme.color.green}),import_react9.default.createElement("div",null,import_react9.default.createElement(MessageTitle,null,"Read Composition docs"),import_react9.default.createElement("div",null,"Learn how to combine multiple Storybooks into one.")))},ErrorOccurredMessage=({url})=>{let theme=useTheme();return import_react9.default.createElement(Message,{href:url.replace(/\/?$/,"/index.html"),target:"_blank"},import_react9.default.createElement(AlertIcon,{color:theme.color.negative}),import_react9.default.createElement("div",null,import_react9.default.createElement(MessageTitle,null,"Something went wrong"),import_react9.default.createElement("div",null,"This external Storybook didn't load. Debug it in a new tab now.")))},LoadingMessage=({url})=>{let theme=useTheme();return import_react9.default.createElement(Message,{href:url.replace(/\/?$/,"/index.html"),target:"_blank"},import_react9.default.createElement(TimeIcon,{color:theme.color.secondary}),import_react9.default.createElement("div",null,import_react9.default.createElement(MessageTitle,null,"Please wait"),import_react9.default.createElement("div",null,"This Storybook is loading.")))},PerformanceDegradedMessage=()=>{let theme=useTheme();return import_react9.default.createElement(Message,{href:"https://storybook.js.org/docs/react/sharing/storybook-composition#improve-your-storybook-composition",target:"_blank"},import_react9.default.createElement(LightningIcon,{color:theme.color.gold}),import_react9.default.createElement("div",null,import_react9.default.createElement(MessageTitle,null,"Reduce lag"),import_react9.default.createElement("div",null,"Learn how to speed up Composition performance.")))};var import_react15=__toESM(require_react());var import_react12=__toESM(require_react());var import_react10=__toESM(require_react()),Svg=newStyled.svg` - position: absolute; - width: 0; - height: 0; - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; -`,GROUP_ID="icon--group",COMPONENT_ID="icon--component",DOCUMENT_ID="icon--document",STORY_ID="icon--story",IconSymbols=()=>import_react10.default.createElement(Svg,{"data-chromatic":"ignore"},import_react10.default.createElement("symbol",{id:GROUP_ID},import_react10.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:"currentColor"})),import_react10.default.createElement("symbol",{id:COMPONENT_ID},import_react10.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:"currentColor"})),import_react10.default.createElement("symbol",{id:DOCUMENT_ID},import_react10.default.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:"currentColor"}),import_react10.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:"currentColor"})),import_react10.default.createElement("symbol",{id:STORY_ID},import_react10.default.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:"currentColor"}))),UseSymbol=({type})=>type==="group"?import_react10.default.createElement("use",{xlinkHref:`#${GROUP_ID}`}):type==="component"?import_react10.default.createElement("use",{xlinkHref:`#${COMPONENT_ID}`}):type==="document"?import_react10.default.createElement("use",{xlinkHref:`#${DOCUMENT_ID}`}):type==="story"?import_react10.default.createElement("use",{xlinkHref:`#${STORY_ID}`}):null;var import_react11=__toESM(require_react());var CollapseIconWrapper=newStyled.div(({theme,isExpanded})=>({width:8,height:8,display:"flex",justifyContent:"center",alignItems:"center",color:curriedTransparentize$1(.4,theme.textMutedColor),transform:isExpanded?"rotateZ(90deg)":"none",transition:"transform .1s ease-out"})),CollapseIcon2=({isExpanded})=>import_react11.default.createElement(CollapseIconWrapper,{isExpanded},import_react11.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"8",fill:"none"},import_react11.default.createElement("path",{fill:"#73828C",fillRule:"evenodd",d:"M1.896 7.146a.5.5 0 1 0 .708.708l3.5-3.5a.5.5 0 0 0 0-.708l-3.5-3.5a.5.5 0 1 0-.708.708L5.043 4 1.896 7.146Z",clipRule:"evenodd"})));var TypeIcon=newStyled.svg(({theme,type})=>({width:14,height:14,flex:"0 0 auto",color:type==="group"?theme.base==="dark"?theme.color.primary:theme.color.ultraviolet:type==="component"?theme.color.secondary:type==="document"?theme.base==="dark"?theme.color.gold:"#ff8300":type==="story"?theme.color.seafoam:"currentColor"})),BranchNode=newStyled.button(({theme,depth=0,isExpandable=!1})=>({width:"100%",border:"none",cursor:"pointer",display:"flex",alignItems:"start",textAlign:"left",paddingLeft:`${(isExpandable?8:22)+depth*18}px`,color:"inherit",fontSize:`${theme.typography.size.s2}px`,background:"transparent",minHeight:28,borderRadius:4,gap:6,paddingTop:5,paddingBottom:4,"&:hover, &:focus":{background:curriedTransparentize$1(.93,theme.color.secondary),outline:"none"}})),LeafNode=newStyled.a(({theme,depth=0})=>({cursor:"pointer",color:"inherit",display:"flex",gap:6,flex:1,alignItems:"start",paddingLeft:`${22+depth*18}px`,paddingTop:5,paddingBottom:4,fontSize:`${theme.typography.size.s2}px`,textDecoration:"none",overflowWrap:"break-word",wordWrap:"break-word",wordBreak:"break-word"})),RootNode=newStyled.div(({theme})=>({display:"flex",alignItems:"center",justifyContent:"space-between",marginTop:16,marginBottom:4,fontSize:`${theme.typography.size.s1-1}px`,fontWeight:theme.typography.weight.bold,lineHeight:"16px",minHeight:28,letterSpacing:"0.16em",textTransform:"uppercase",color:theme.textMutedColor})),Wrapper=newStyled.div({display:"flex",alignItems:"center",gap:6,marginTop:2}),GroupNode=import_react12.default.memo(function({children,isExpanded=!1,isExpandable=!1,...props}){return import_react12.default.createElement(BranchNode,{isExpandable,tabIndex:-1,...props},import_react12.default.createElement(Wrapper,null,isExpandable&&import_react12.default.createElement(CollapseIcon2,{isExpanded}),import_react12.default.createElement(TypeIcon,{viewBox:"0 0 14 14",width:"14",height:"14",type:"group"},import_react12.default.createElement(UseSymbol,{type:"group"}))),children)}),ComponentNode=import_react12.default.memo(function({theme,children,isExpanded,isExpandable,isSelected,...props}){return import_react12.default.createElement(BranchNode,{isExpandable,tabIndex:-1,...props},import_react12.default.createElement(Wrapper,null,isExpandable&&import_react12.default.createElement(CollapseIcon2,{isExpanded}),import_react12.default.createElement(TypeIcon,{viewBox:"0 0 14 14",width:"12",height:"12",type:"component"},import_react12.default.createElement(UseSymbol,{type:"component"}))),children)}),DocumentNode=import_react12.default.memo(function({theme,children,docsMode,...props}){return import_react12.default.createElement(LeafNode,{tabIndex:-1,...props},import_react12.default.createElement(Wrapper,null,import_react12.default.createElement(TypeIcon,{viewBox:"0 0 14 14",width:"12",height:"12",type:"document"},import_react12.default.createElement(UseSymbol,{type:"document"}))),children)}),StoryNode=import_react12.default.memo(function({theme,children,...props}){return import_react12.default.createElement(LeafNode,{tabIndex:-1,...props},import_react12.default.createElement(Wrapper,null,import_react12.default.createElement(TypeIcon,{viewBox:"0 0 14 14",width:"12",height:"12",type:"story"},import_react12.default.createElement(UseSymbol,{type:"story"}))),children)});var import_throttle=__toESM(require_throttle()),import_react13=__toESM(require_react());var codeToKeyMap={Space:" ",Slash:"/",ArrowLeft:"ArrowLeft",ArrowUp:"ArrowUp",ArrowRight:"ArrowRight",ArrowDown:"ArrowDown",Escape:"Escape",Enter:"Enter"},allFalse={alt:!1,ctrl:!1,meta:!1,shift:!1},matchesModifiers=(modifiers,event)=>{let{alt,ctrl,meta,shift}=modifiers===!1?allFalse:modifiers;return!(typeof alt=="boolean"&&alt!==event.altKey||typeof ctrl=="boolean"&&ctrl!==event.ctrlKey||typeof meta=="boolean"&&meta!==event.metaKey||typeof shift=="boolean"&&shift!==event.shiftKey)},matchesKeyCode=(code,event)=>event.code?event.code===code:event.key===codeToKeyMap[code];var import_memoizerific=__toESM(require_memoizerific());var{document:document3,window:globalWindow3}=scope,createId=(itemId,refId)=>!refId||refId===DEFAULT_REF_ID?itemId:`${refId}_${itemId}`,getLink=(item,refId)=>`${document3.location.pathname}?path=/${item.type}/${createId(item.id,refId)}`;var get=(0,import_memoizerific.default)(1e3)((id,dataset)=>dataset[id]),getParent=(0,import_memoizerific.default)(1e3)((id,dataset)=>{let item=get(id,dataset);return item&&item.type!=="root"?get(item.parent,dataset):void 0}),getParents=(0,import_memoizerific.default)(1e3)((id,dataset)=>{let parent=getParent(id,dataset);return parent?[parent,...getParents(parent.id,dataset)]:[]}),getAncestorIds=(0,import_memoizerific.default)(1e3)((data,id)=>getParents(id,data).map(item=>item.id)),getDescendantIds=(0,import_memoizerific.default)(1e3)((data,id,skipLeafs)=>{let entry=data[id];return(entry.type==="story"||entry.type==="docs"?[]:entry.children).reduce((acc,childId)=>{let child=data[childId];return!child||skipLeafs&&(child.type==="story"||child.type==="docs")||acc.push(childId,...getDescendantIds(data,childId,skipLeafs)),acc},[])});function getPath(item,ref){let parent=item.type!=="root"&&item.parent?ref.index[item.parent]:null;return parent?[...getPath(parent,ref),parent.name]:ref.id===DEFAULT_REF_ID?[]:[ref.title||ref.id]}var searchItem=(item,ref)=>({...item,refId:ref.id,path:getPath(item,ref)});function cycle(array,index,delta){let next=index+delta%array.length;return next<0&&(next=array.length+next),next>=array.length&&(next-=array.length),next}var scrollIntoView=(element,center=!1)=>{if(!element)return;let{top,bottom}=element.getBoundingClientRect();top>=0&&bottom<=(globalWindow3.innerHeight||document3.documentElement.clientHeight)||element.scrollIntoView({block:center?"center":"nearest"})},getStateType=(isLoading,isAuthRequired,isError,isEmpty)=>{switch(!0){case isAuthRequired:return"auth";case isError:return"error";case isLoading:return"loading";case isEmpty:return"empty";default:return"ready"}},isAncestor=(element,maybeAncestor)=>!element||!maybeAncestor?!1:element===maybeAncestor?!0:isAncestor(element.parentElement,maybeAncestor),removeNoiseFromName=storyName=>storyName.replaceAll(/(\s|-|_)/gi,""),isStoryHoistable=(storyName,componentName)=>removeNoiseFromName(storyName)===removeNoiseFromName(componentName);var{document:document4}=scope,initializeExpanded=({refId,data,initialExpanded,highlightedRef,rootIds})=>{let highlightedAncestors=highlightedRef.current?.refId===refId?getAncestorIds(data,highlightedRef.current?.itemId):[];return[...rootIds,...highlightedAncestors].reduce((acc,id)=>Object.assign(acc,{[id]:id in initialExpanded?initialExpanded[id]:!0}),{})},noop=()=>{},useExpanded=({containerRef,isBrowsing,refId,data,initialExpanded,rootIds,highlightedRef,setHighlightedItemId,selectedStoryId,onSelectStoryId})=>{let api=useStorybookApi(),[expanded,setExpanded]=(0,import_react13.useReducer)((state,{ids,value})=>ids.reduce((acc,id)=>Object.assign(acc,{[id]:value}),{...state}),{refId,data,highlightedRef,rootIds,initialExpanded},initializeExpanded),getElementByDataItemId=(0,import_react13.useCallback)(id=>containerRef.current?.querySelector(`[data-item-id="${id}"]`),[containerRef]),highlightElement=(0,import_react13.useCallback)(element=>{setHighlightedItemId(element.getAttribute("data-item-id")),scrollIntoView(element)},[setHighlightedItemId]),updateExpanded=(0,import_react13.useCallback)(({ids,value})=>{if(setExpanded({ids,value}),ids.length===1){let element=containerRef.current?.querySelector(`[data-item-id="${ids[0]}"][data-ref-id="${refId}"]`);element&&highlightElement(element)}},[containerRef,highlightElement,refId]);(0,import_react13.useEffect)(()=>{setExpanded({ids:getAncestorIds(data,selectedStoryId),value:!0})},[data,selectedStoryId]);let collapseAll=(0,import_react13.useCallback)(()=>{let ids=Object.keys(data).filter(id=>!rootIds.includes(id));setExpanded({ids,value:!1})},[data,rootIds]),expandAll=(0,import_react13.useCallback)(()=>{setExpanded({ids:Object.keys(data),value:!0})},[data]);return(0,import_react13.useEffect)(()=>api?(api.on(STORIES_COLLAPSE_ALL,collapseAll),api.on(STORIES_EXPAND_ALL,expandAll),()=>{api.off(STORIES_COLLAPSE_ALL,collapseAll),api.off(STORIES_EXPAND_ALL,expandAll)}):noop,[api,collapseAll,expandAll]),(0,import_react13.useEffect)(()=>{let menuElement=document4.getElementById("storybook-explorer-menu"),navigateTree=(0,import_throttle.default)(event=>{let highlightedItemId=highlightedRef.current?.refId===refId&&highlightedRef.current?.itemId;if(!isBrowsing||!containerRef.current||!highlightedItemId||event.repeat||!matchesModifiers(!1,event))return;let isEnter=matchesKeyCode("Enter",event),isSpace=matchesKeyCode("Space",event),isArrowLeft=matchesKeyCode("ArrowLeft",event),isArrowRight=matchesKeyCode("ArrowRight",event);if(!(isEnter||isSpace||isArrowLeft||isArrowRight))return;let highlightedElement=getElementByDataItemId(highlightedItemId);if(!highlightedElement||highlightedElement.getAttribute("data-ref-id")!==refId)return;let target=event.target;if(!isAncestor(menuElement,target)&&!isAncestor(target,menuElement))return;if(target.hasAttribute("data-action")){if(isEnter||isSpace)return;target.blur()}let type=highlightedElement.getAttribute("data-nodetype");(isEnter||isSpace)&&["component","story","document"].includes(type)&&onSelectStoryId(highlightedItemId);let isExpanded=highlightedElement.getAttribute("aria-expanded");if(isArrowLeft){if(isExpanded==="true"){setExpanded({ids:[highlightedItemId],value:!1});return}let parentId=highlightedElement.getAttribute("data-parent-id"),parentElement=parentId&&getElementByDataItemId(parentId);if(parentElement&&parentElement.getAttribute("data-highlightable")==="true"){highlightElement(parentElement);return}setExpanded({ids:getDescendantIds(data,highlightedItemId,!0),value:!1});return}isArrowRight&&(isExpanded==="false"?updateExpanded({ids:[highlightedItemId],value:!0}):isExpanded==="true"&&updateExpanded({ids:getDescendantIds(data,highlightedItemId,!0),value:!0}))},60);return document4.addEventListener("keydown",navigateTree),()=>document4.removeEventListener("keydown",navigateTree)},[containerRef,isBrowsing,refId,data,highlightedRef,setHighlightedItemId,onSelectStoryId]),[expanded,updateExpanded]};var import_react14=__toESM(require_react());var SmallIcons=newStyled(CircleIcon)({"&&&":{width:6,height:6}}),LoadingIcons=newStyled(SmallIcons)(({theme:{animation,color,base}})=>({animation:`${animation.glow} 1.5s ease-in-out infinite`,color:base==="light"?color.mediumdark:color.darker})),statusPriority=["unknown","pending","success","warn","error"],statusMapping={unknown:[null,null],pending:[import_react14.default.createElement(LoadingIcons,{key:"icon"}),"currentColor"],success:[import_react14.default.createElement(SmallIcons,{key:"icon",style:{color:"green"}}),"currentColor"],warn:[import_react14.default.createElement(SmallIcons,{key:"icon",style:{color:"orange"}}),"#A15C20"],error:[import_react14.default.createElement(SmallIcons,{key:"icon",style:{color:"red"}}),"brown"]},getHighestStatus=statuses=>statusPriority.reduce((acc,status)=>statuses.includes(status)?status:acc,"unknown");function getGroupStatus(collapsedData,status){return Object.values(collapsedData).reduce((acc,item)=>{if(item.type==="group"||item.type==="component"){let leafs=getDescendantIds(collapsedData,item.id,!1).map(id=>collapsedData[id]).filter(i3=>i3.type==="story"),combinedStatus=getHighestStatus(leafs.flatMap(story=>Object.values(status?.[story.id]||{})).map(s2=>s2.status));combinedStatus&&(acc[item.id]=combinedStatus)}return acc},{})}var Container=newStyled.div(props=>({marginTop:props.hasOrphans?20:0,marginBottom:20})),Action=newStyled.button(({theme,height,width})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",width:width||20,height:height||20,boxSizing:"border-box",margin:0,marginLeft:"auto",padding:0,outline:0,lineHeight:"normal",background:"none",border:"1px solid transparent",borderRadius:"100%",cursor:"pointer",transition:"all 150ms ease-out",color:theme.base==="light"?curriedTransparentize$1(.3,theme.color.defaultText):curriedTransparentize$1(.6,theme.color.defaultText),"&:hover":{color:theme.color.secondary},"&:focus":{color:theme.color.secondary,borderColor:theme.color.secondary,"&:not(:focus-visible)":{borderColor:"transparent"}},svg:{width:10,height:10}})),CollapseButton=newStyled.button(({theme})=>({all:"unset",display:"flex",padding:"0px 8px",borderRadius:4,transition:"color 150ms, box-shadow 150ms",gap:6,alignItems:"center",cursor:"pointer",height:28,"&:hover, &:focus":{outline:"none",background:curriedTransparentize$1(.93,theme.color.secondary)}})),LeafNodeStyleWrapper=newStyled.div(({theme})=>({position:"relative",display:"flex",justifyContent:"space-between",alignItems:"center",paddingRight:20,color:theme.color.defaultText,background:"transparent",minHeight:28,borderRadius:4,"&:hover, &:focus":{outline:"none",background:curriedTransparentize$1(.93,theme.color.secondary)},'&[data-selected="true"]':{color:theme.color.lightest,background:theme.color.secondary,fontWeight:theme.typography.weight.bold,"&:hover, &:focus":{background:theme.color.secondary},svg:{color:theme.color.lightest}},a:{color:"currentColor"}})),SkipToContentLink=newStyled(Button)(({theme})=>({display:"none","@media (min-width: 600px)":{display:"block",fontSize:"10px",overflow:"hidden",width:1,height:"20px",boxSizing:"border-box",opacity:0,padding:0,"&:focus":{opacity:1,padding:"5px 10px",background:"white",color:theme.color.secondary,width:"auto"}}})),Node=import_react15.default.memo(function({item,status,refId,docsMode,isOrphan,isDisplayed,isSelected,isFullyExpanded,color,setFullyExpanded,isExpanded,setExpanded,onSelectStoryId,api}){let{isDesktop,isMobile,setMobileMenuOpen}=useLayout();if(!isDisplayed)return null;let id=createId(item.id,refId);if(item.type==="story"||item.type==="docs"){let LeafNode2=item.type==="docs"?DocumentNode:StoryNode,statusValue=getHighestStatus(Object.values(status||{}).map(s2=>s2.status)),[icon,textColor]=statusMapping[statusValue];return import_react15.default.createElement(LeafNodeStyleWrapper,{"data-selected":isSelected,"data-ref-id":refId,"data-item-id":item.id,"data-parent-id":item.parent,"data-nodetype":item.type==="docs"?"document":"story","data-highlightable":isDisplayed,className:"sidebar-item"},import_react15.default.createElement(LeafNode2,{style:isSelected?{}:{color:textColor},key:id,href:getLink(item,refId),id,depth:isOrphan?item.depth:item.depth-1,onClick:event=>{event.preventDefault(),onSelectStoryId(item.id),isMobile&&setMobileMenuOpen(!1)},...item.type==="docs"&&{docsMode}},item.renderLabel?.(item)||item.name),isSelected&&import_react15.default.createElement(SkipToContentLink,{asChild:!0},import_react15.default.createElement("a",{href:"#storybook-preview-wrapper"},"Skip to canvas")),icon?import_react15.default.createElement(WithTooltip,{placement:"top",style:{display:"flex"},tooltip:()=>import_react15.default.createElement(TooltipLinkList,{links:Object.entries(status||{}).map(([k2,v2])=>({id:k2,title:v2.title,description:v2.description,right:statusMapping[v2.status][0]}))}),closeOnOutsideClick:!0},import_react15.default.createElement(Action,{type:"button",height:22},icon)):null)}if(item.type==="root")return import_react15.default.createElement(RootNode,{key:id,id,className:"sidebar-subheading","data-ref-id":refId,"data-item-id":item.id,"data-nodetype":"root"},import_react15.default.createElement(CollapseButton,{type:"button","data-action":"collapse-root",onClick:event=>{event.preventDefault(),setExpanded({ids:[item.id],value:!isExpanded})},"aria-expanded":isExpanded},import_react15.default.createElement(CollapseIcon2,{isExpanded}),item.renderLabel?.(item)||item.name),isExpanded&&import_react15.default.createElement(IconButton,{className:"sidebar-subheading-action","aria-label":isFullyExpanded?"Expand":"Collapse","data-action":"expand-all","data-expanded":isFullyExpanded,onClick:event=>{event.preventDefault(),setFullyExpanded()}},isFullyExpanded?import_react15.default.createElement(CollapseIcon,null):import_react15.default.createElement(ExpandAltIcon,null)));if(item.type==="component"||item.type==="group"){let BranchNode2=item.type==="component"?ComponentNode:GroupNode;return import_react15.default.createElement(BranchNode2,{key:id,id,style:color?{color}:{},className:"sidebar-item","data-ref-id":refId,"data-item-id":item.id,"data-parent-id":item.parent,"data-nodetype":item.type==="component"?"component":"group","data-highlightable":isDisplayed,"aria-controls":item.children&&item.children[0],"aria-expanded":isExpanded,depth:isOrphan?item.depth:item.depth-1,isComponent:item.type==="component",isExpandable:item.children&&item.children.length>0,isExpanded,onClick:event=>{event.preventDefault(),setExpanded({ids:[item.id],value:!isExpanded}),item.type==="component"&&!isExpanded&&isDesktop&&onSelectStoryId(item.id)},onMouseEnter:()=>{item.type==="component"&&api.emit(PRELOAD_ENTRIES,{ids:[item.children[0]],options:{target:refId}})}},item.renderLabel?.(item)||item.name)}return null}),Root=import_react15.default.memo(function({setExpanded,isFullyExpanded,expandableDescendants,...props}){let setFullyExpanded=(0,import_react15.useCallback)(()=>setExpanded({ids:expandableDescendants,value:!isFullyExpanded}),[setExpanded,isFullyExpanded,expandableDescendants]);return import_react15.default.createElement(Node,{...props,setExpanded,isFullyExpanded,setFullyExpanded})}),Tree=import_react15.default.memo(function({isBrowsing,isMain,refId,data,status,docsMode,highlightedRef,setHighlightedItemId,selectedStoryId,onSelectStoryId}){let containerRef=(0,import_react15.useRef)(null),api=useStorybookApi(),[rootIds,orphanIds,initialExpanded]=(0,import_react15.useMemo)(()=>Object.keys(data).reduce((acc,id)=>{let item=data[id];return item.type==="root"?acc[0].push(id):item.parent||acc[1].push(id),item.type==="root"&&item.startCollapsed&&(acc[2][id]=!1),acc},[[],[],{}]),[data]),{expandableDescendants}=(0,import_react15.useMemo)(()=>[...orphanIds,...rootIds].reduce((acc,nodeId)=>(acc.expandableDescendants[nodeId]=getDescendantIds(data,nodeId,!1).filter(d2=>!["story","docs"].includes(data[d2].type)),acc),{orphansFirst:[],expandableDescendants:{}}),[data,rootIds,orphanIds]),singleStoryComponentIds=(0,import_react15.useMemo)(()=>Object.keys(data).filter(id=>{let entry=data[id];if(entry.type!=="component")return!1;let{children=[],name}=entry;if(children.length!==1)return!1;let onlyChild=data[children[0]];return onlyChild.type==="docs"?!0:onlyChild.type==="story"?isStoryHoistable(onlyChild.name,name):!1}),[data]),collapsedItems=(0,import_react15.useMemo)(()=>Object.keys(data).filter(id=>!singleStoryComponentIds.includes(id)),[singleStoryComponentIds]),collapsedData=(0,import_react15.useMemo)(()=>singleStoryComponentIds.reduce((acc,id)=>{let{children,parent,name}=data[id],[childId]=children;if(parent){let siblings=[...data[parent].children];siblings[siblings.indexOf(id)]=childId,acc[parent]={...data[parent],children:siblings}}return acc[childId]={...data[childId],name,parent,depth:data[childId].depth-1},acc},{...data}),[data]),ancestry=(0,import_react15.useMemo)(()=>collapsedItems.reduce((acc,id)=>Object.assign(acc,{[id]:getAncestorIds(collapsedData,id)}),{}),[collapsedItems,collapsedData]),[expanded,setExpanded]=useExpanded({containerRef,isBrowsing,refId,data:collapsedData,initialExpanded,rootIds,highlightedRef,setHighlightedItemId,selectedStoryId,onSelectStoryId}),groupStatus=(0,import_react15.useMemo)(()=>getGroupStatus(collapsedData,status),[collapsedData,status]),treeItems=(0,import_react15.useMemo)(()=>collapsedItems.map(itemId=>{let item=collapsedData[itemId],id=createId(itemId,refId);if(item.type==="root"){let descendants=expandableDescendants[item.id],isFullyExpanded=descendants.every(d2=>expanded[d2]);return import_react15.default.createElement(Root,{key:id,item,refId,isOrphan:!1,isDisplayed:!0,isSelected:selectedStoryId===itemId,isExpanded:!!expanded[itemId],setExpanded,isFullyExpanded,expandableDescendants:descendants,onSelectStoryId})}let isDisplayed=!item.parent||ancestry[itemId].every(a2=>expanded[a2]),color=groupStatus[itemId]?statusMapping[groupStatus[itemId]][1]:null;return import_react15.default.createElement(Node,{api,key:id,item,status:status?.[itemId],refId,color,docsMode,isOrphan:orphanIds.some(oid=>itemId===oid||itemId.startsWith(`${oid}-`)),isDisplayed,isSelected:selectedStoryId===itemId,isExpanded:!!expanded[itemId],setExpanded,onSelectStoryId})}),[ancestry,api,collapsedData,collapsedItems,docsMode,expandableDescendants,expanded,groupStatus,onSelectStoryId,orphanIds,refId,selectedStoryId,setExpanded,status]);return import_react15.default.createElement(Container,{ref:containerRef,hasOrphans:isMain&&orphanIds.length>0},import_react15.default.createElement(IconSymbols,null),treeItems)});var Wrapper2=newStyled.div(({isMain})=>({position:"relative",marginTop:isMain?void 0:0})),RefHead=newStyled.div(({theme})=>({fontWeight:theme.typography.weight.bold,fontSize:theme.typography.size.s2,textDecoration:"none",lineHeight:"16px",display:"flex",alignItems:"center",justifyContent:"space-between",background:"transparent",width:"100%",marginTop:20,paddingTop:16,paddingBottom:12,borderTop:`1px solid ${theme.appBorderColor}`,color:theme.base==="light"?theme.color.defaultText:curriedTransparentize$1(.2,theme.color.defaultText)})),RefTitle=newStyled.div({textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,overflow:"hidden",marginLeft:2}),CollapseButton2=newStyled.button(({theme})=>({all:"unset",display:"flex",padding:"0px 8px",gap:6,alignItems:"center",cursor:"pointer",overflow:"hidden","&:focus":{borderColor:theme.color.secondary,"span:first-of-type":{borderLeftColor:theme.color.secondary}}})),Ref=import_react16.default.memo(function(props){let{docsOptions}=useStorybookState(),api=useStorybookApi(),{index,id:refId,title=refId,isLoading:isLoadingMain,isBrowsing,selectedStoryId,highlightedRef,setHighlighted,loginUrl,type,expanded=!0,indexError,previewInitialized}=props,length=(0,import_react16.useMemo)(()=>index?Object.keys(index).length:0,[index]),indicatorRef=(0,import_react16.useRef)(null),isMain=refId===DEFAULT_REF_ID,isLoading=isLoadingMain||(type==="auto-inject"&&!previewInitialized||type==="server-checked")||type==="unknown",state=getStateType(isLoading,!!loginUrl&&length===0,!!indexError,!isLoading&&length===0),[isExpanded,setExpanded]=(0,import_react16.useState)(expanded);(0,import_react16.useEffect)(()=>{index&&selectedStoryId&&index[selectedStoryId]&&setExpanded(!0)},[setExpanded,index,selectedStoryId]);let handleClick=(0,import_react16.useCallback)(()=>setExpanded(value=>!value),[setExpanded]),setHighlightedItemId=(0,import_react16.useCallback)(itemId=>setHighlighted({itemId,refId}),[setHighlighted]),onSelectStoryId=(0,import_react16.useCallback)(storyId=>api&&api.selectStory(storyId,void 0,{ref:!isMain&&refId}),[api,isMain,refId]);return import_react16.default.createElement(import_react16.default.Fragment,null,isMain||import_react16.default.createElement(RefHead,{"aria-label":`${isExpanded?"Hide":"Show"} ${title} stories`,"aria-expanded":isExpanded},import_react16.default.createElement(CollapseButton2,{"data-action":"collapse-ref",onClick:handleClick},import_react16.default.createElement(CollapseIcon2,{isExpanded}),import_react16.default.createElement(RefTitle,{title},title)),import_react16.default.createElement(RefIndicator,{...props,state,ref:indicatorRef})),isExpanded&&import_react16.default.createElement(Wrapper2,{"data-title":title,isMain},state==="auth"&&import_react16.default.createElement(AuthBlock,{id:refId,loginUrl}),state==="error"&&import_react16.default.createElement(ErrorBlock,{error:indexError}),state==="loading"&&import_react16.default.createElement(LoaderBlock,{isMain}),state==="empty"&&import_react16.default.createElement(EmptyBlock,{isMain}),state==="ready"&&import_react16.default.createElement(Tree,{status:props.status,isBrowsing,isMain,refId,data:index,docsMode:docsOptions.docsMode,selectedStoryId,onSelectStoryId,highlightedRef,setHighlightedItemId})))});var import_react17=__toESM(require_react());var{document:document5,window:globalWindow4}=scope,fromSelection=selection=>selection?{itemId:selection.storyId,refId:selection.refId}:null,useHighlighted=({containerRef,isLoading,isBrowsing,dataset,selected})=>{let initialHighlight=fromSelection(selected),highlightedRef=(0,import_react17.useRef)(initialHighlight),[highlighted,setHighlighted]=(0,import_react17.useState)(initialHighlight),api=useStorybookApi(),updateHighlighted=(0,import_react17.useCallback)(highlight=>{highlightedRef.current=highlight,setHighlighted(highlight)},[highlightedRef]),highlightElement=(0,import_react17.useCallback)((element,center=!1)=>{let itemId=element.getAttribute("data-item-id"),refId=element.getAttribute("data-ref-id");!itemId||!refId||(updateHighlighted({itemId,refId}),scrollIntoView(element,center))},[updateHighlighted]);return(0,import_react17.useEffect)(()=>{let highlight=fromSelection(selected);if(updateHighlighted(highlight),highlight){let{itemId,refId}=highlight;setTimeout(()=>{scrollIntoView(containerRef.current?.querySelector(`[data-item-id="${itemId}"][data-ref-id="${refId}"]`),!0)},0)}},[dataset,highlightedRef,containerRef,selected]),(0,import_react17.useEffect)(()=>{let menuElement=document5.getElementById("storybook-explorer-menu"),lastRequestId,navigateTree=event=>{if(isLoading||!isBrowsing||!containerRef.current||!matchesModifiers(!1,event))return;let isArrowUp=matchesKeyCode("ArrowUp",event),isArrowDown=matchesKeyCode("ArrowDown",event);if(!(isArrowUp||isArrowDown))return;let requestId=globalWindow4.requestAnimationFrame(()=>{globalWindow4.cancelAnimationFrame(lastRequestId),lastRequestId=requestId;let target=event.target;if(!isAncestor(menuElement,target)&&!isAncestor(target,menuElement))return;target.hasAttribute("data-action")&&target.blur();let highlightable=Array.from(containerRef.current.querySelectorAll("[data-highlightable=true]")),currentIndex=highlightable.findIndex(el=>el.getAttribute("data-item-id")===highlightedRef.current?.itemId&&el.getAttribute("data-ref-id")===highlightedRef.current?.refId),nextIndex=cycle(highlightable,currentIndex,isArrowUp?-1:1),didRunAround=isArrowUp?nextIndex===highlightable.length-1:nextIndex===0;if(highlightElement(highlightable[nextIndex],didRunAround),highlightable[nextIndex].getAttribute("data-nodetype")==="component"){let{itemId,refId}=highlightedRef.current,item=api.resolveStory(itemId,refId==="storybook_internal"?void 0:refId);item.type==="component"&&api.emit(PRELOAD_ENTRIES,{ids:[item.children[0]],options:{target:refId}})}})};return document5.addEventListener("keydown",navigateTree),()=>document5.removeEventListener("keydown",navigateTree)},[isLoading,isBrowsing,highlightedRef,highlightElement]),[highlighted,updateHighlighted,highlightedRef]};var import_react18=__toESM(require_react());var HighlightStyles=({refId,itemId})=>import_react18.default.createElement(Global,{styles:({color})=>{let background=curriedTransparentize$1(.85,color.secondary);return{[`[data-ref-id="${refId}"][data-item-id="${itemId}"]:not([data-selected="true"])`]:{'&[data-nodetype="component"], &[data-nodetype="group"]':{background,"&:hover, &:focus":{background}},'&[data-nodetype="story"], &[data-nodetype="document"]':{color:color.defaultText,background,"&:hover, &:focus":{background}}}}}});var Explorer=import_react19.default.memo(function({isLoading,isBrowsing,dataset,selected}){let containerRef=(0,import_react19.useRef)(null),[highlighted,setHighlighted,highlightedRef]=useHighlighted({containerRef,isLoading,isBrowsing,dataset,selected});return import_react19.default.createElement("div",{ref:containerRef,id:"storybook-explorer-tree","data-highlighted-ref-id":highlighted?.refId,"data-highlighted-item-id":highlighted?.itemId},highlighted&&import_react19.default.createElement(HighlightStyles,{...highlighted}),dataset.entries.map(([refId,ref])=>import_react19.default.createElement(Ref,{...ref,key:refId,isLoading,isBrowsing,selectedStoryId:selected?.refId===ref.id?selected.storyId:null,highlightedRef,setHighlighted})))});var import_prop_types2=__toESM(require_prop_types()),import_react20=__toESM(require_react()),import_react_is=__toESM(require_react_is2());function t2(t3){return typeof t3=="object"&&t3!=null&&t3.nodeType===1}function e2(t3,e3){return(!e3||t3!=="hidden")&&t3!=="visible"&&t3!=="clip"}function n2(t3,n3){if(t3.clientHeighte3||o2>t3&&l2=e3&&d2>=n3?o2-t3-r3:l2>e3&&d2n3?l2-e3+i3:0}var i2=function(e3,i3){var o2=window,l2=i3.scrollMode,d2=i3.block,f2=i3.inline,h2=i3.boundary,u2=i3.skipOverflowHiddenElements,s2=typeof h2=="function"?h2:function(t3){return t3!==h2};if(!t2(e3))throw new TypeError("Invalid target");for(var a2,c2,g2=document.scrollingElement||document.documentElement,p2=[],m2=e3;t2(m2)&&s2(m2);){if((m2=(c2=(a2=m2).parentElement)==null?a2.getRootNode().host||null:c2)===g2){p2.push(m2);break}m2!=null&&m2===document.body&&n2(m2)&&!n2(document.documentElement)||m2!=null&&n2(m2,u2)&&p2.push(m2)}for(var w2=o2.visualViewport?o2.visualViewport.width:innerWidth,v2=o2.visualViewport?o2.visualViewport.height:innerHeight,W2=window.scrollX||pageXOffset,H2=window.scrollY||pageYOffset,b2=e3.getBoundingClientRect(),y2=b2.height,E2=b2.width,M2=b2.top,V=b2.right,x2=b2.bottom,I2=b2.left,C2=d2==="start"||d2==="nearest"?M2:d2==="end"?x2:M2+y2/2,R2=f2==="center"?I2+E2/2:f2==="end"?V:I2,T2=[],k2=0;k2=0&&I2>=0&&x2<=v2&&V<=w2&&M2>=Y2&&x2<=S2&&I2>=j2&&V<=L2)return T2;var N2=getComputedStyle(B2),q2=parseInt(N2.borderLeftWidth,10),z2=parseInt(N2.borderTopWidth,10),A2=parseInt(N2.borderRightWidth,10),F2=parseInt(N2.borderBottomWidth,10),G2=0,J=0,K2="offsetWidth"in B2?B2.offsetWidth-B2.clientWidth-q2-A2:0,P2="offsetHeight"in B2?B2.offsetHeight-B2.clientHeight-z2-F2:0,Q="offsetWidth"in B2?B2.offsetWidth===0?0:X/B2.offsetWidth:0,U2="offsetHeight"in B2?B2.offsetHeight===0?0:O2/B2.offsetHeight:0;if(g2===B2)G2=d2==="start"?C2:d2==="end"?C2-v2:d2==="nearest"?r2(H2,H2+v2,v2,z2,F2,H2+C2,H2+C2+y2,y2):C2-v2/2,J=f2==="start"?R2:f2==="center"?R2-w2/2:f2==="end"?R2-w2:r2(W2,W2+w2,w2,q2,A2,W2+R2,W2+R2+E2,E2),G2=Math.max(0,G2+H2),J=Math.max(0,J+W2);else{G2=d2==="start"?C2-Y2-z2:d2==="end"?C2-S2+F2+P2:d2==="nearest"?r2(Y2,S2,O2,z2,F2+P2,C2,C2+y2,y2):C2-(Y2+O2/2)+P2/2,J=f2==="start"?R2-j2-q2:f2==="center"?R2-(j2+X/2)+K2/2:f2==="end"?R2-L2+A2+K2:r2(j2,L2,X,q2,A2+K2,R2,R2+E2,E2);var Z=B2.scrollLeft,$=B2.scrollTop;C2+=$-(G2=Math.max(0,Math.min($+G2/U2,B2.scrollHeight-O2/U2+P2))),R2+=Z-(J=Math.max(0,Math.min(Z+J/Q,B2.scrollWidth-X/Q+K2)))}T2.push({el:B2,top:G2,left:J})}return T2};var __assign=function(){return __assign=Object.assign||function(t3){for(var s2,i3=1,n3=arguments.length;i3{let{el,top,left}=_ref;el.scrollTop=top,el.scrollLeft=left})}function isOrContainsNode(parent,child,environment){return parent===child||child instanceof environment.Node&&parent.contains&&parent.contains(child)}function debounce(fn,time){let timeoutId;function cancel(){timeoutId&&clearTimeout(timeoutId)}function wrapper(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];cancel(),timeoutId=setTimeout(()=>{timeoutId=null,fn(...args)},time)}return wrapper.cancel=cancel,wrapper}function callAllEventHandlers(){for(var _len2=arguments.length,fns=new Array(_len2),_key2=0;_key2<_len2;_key2++)fns[_key2]=arguments[_key2];return function(event){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return fns.some(fn=>(fn&&fn(event,...args),event.preventDownshiftDefault||event.hasOwnProperty("nativeEvent")&&event.nativeEvent.preventDownshiftDefault))}}function handleRefs(){for(var _len4=arguments.length,refs=new Array(_len4),_key4=0;_key4<_len4;_key4++)refs[_key4]=arguments[_key4];return node=>{refs.forEach(ref=>{typeof ref=="function"?ref(node):ref&&(ref.current=node)})}}function generateId(){return String(idCounter++)}function getA11yStatusMessage$1(_ref2){let{isOpen,resultCount,previousResultCount}=_ref2;return isOpen?resultCount?resultCount!==previousResultCount?`${resultCount} result${resultCount===1?" is":"s are"} available, use up and down arrow keys to navigate. Press Enter key to select.`:"":"No results are available.":""}function unwrapArray(arg,defaultValue){return arg=Array.isArray(arg)?arg[0]:arg,!arg&&defaultValue?defaultValue:arg}function isDOMElement(element){return typeof element.type=="string"}function getElementProps(element){return element.props}function requiredProp(fnName,propName){console.error(`The property "${propName}" is required in "${fnName}"`)}var stateKeys=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function pickState(state){state===void 0&&(state={});let result={};return stateKeys.forEach(k2=>{state.hasOwnProperty(k2)&&(result[k2]=state[k2])}),result}function getState(state,props){return Object.keys(state).reduce((prevState,key)=>(prevState[key]=isControlledProp(props,key)?props[key]:state[key],prevState),{})}function isControlledProp(props,key){return props[key]!==void 0}function normalizeArrowKey(event){let{key,keyCode}=event;return keyCode>=37&&keyCode<=40&&key.indexOf("Arrow")!==0?`Arrow${key}`:key}function isPlainObject(obj){return Object.prototype.toString.call(obj)==="[object Object]"}function getNextWrappingIndex(moveAmount,baseIndex,itemCount,getItemNodeFromIndex,circular){if(circular===void 0&&(circular=!0),itemCount===0)return-1;let itemsLastIndex=itemCount-1;(typeof baseIndex!="number"||baseIndex<0||baseIndex>=itemCount)&&(baseIndex=moveAmount>0?-1:itemsLastIndex+1);let newIndex=baseIndex+moveAmount;newIndex<0?newIndex=circular?itemsLastIndex:0:newIndex>itemsLastIndex&&(newIndex=circular?0:itemsLastIndex);let nonDisabledNewIndex=getNextNonDisabledIndex(moveAmount,newIndex,itemCount,getItemNodeFromIndex,circular);return nonDisabledNewIndex===-1?baseIndex>=itemCount?-1:baseIndex:nonDisabledNewIndex}function getNextNonDisabledIndex(moveAmount,baseIndex,itemCount,getItemNodeFromIndex,circular){let currentElementNode=getItemNodeFromIndex(baseIndex);if(!currentElementNode||!currentElementNode.hasAttribute("disabled"))return baseIndex;if(moveAmount>0){for(let index=baseIndex+1;index=0;index--)if(!getItemNodeFromIndex(index).hasAttribute("disabled"))return index;return circular?moveAmount>0?getNextNonDisabledIndex(1,0,itemCount,getItemNodeFromIndex,!1):getNextNonDisabledIndex(-1,itemCount-1,itemCount,getItemNodeFromIndex,!1):-1}function targetWithinDownshift(target,downshiftElements,environment,checkActiveElement){return checkActiveElement===void 0&&(checkActiveElement=!0),downshiftElements.some(contextNode=>contextNode&&(isOrContainsNode(contextNode,target,environment)||checkActiveElement&&isOrContainsNode(contextNode,environment.document.activeElement,environment)))}var validateControlledUnchanged=noop2;validateControlledUnchanged=(state,prevProps,nextProps)=>{let warningDescription="This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props";Object.keys(state).forEach(propKey=>{prevProps[propKey]!==void 0&&nextProps[propKey]===void 0?console.error(`downshift: A component has changed the controlled prop "${propKey}" to be uncontrolled. ${warningDescription}`):prevProps[propKey]===void 0&&nextProps[propKey]!==void 0&&console.error(`downshift: A component has changed the uncontrolled prop "${propKey}" to be controlled. ${warningDescription}`)})};var cleanupStatus=debounce(documentProp=>{getStatusDiv(documentProp).textContent=""},500);function setStatus(status,documentProp){let div=getStatusDiv(documentProp);status&&(div.textContent=status,cleanupStatus(documentProp))}function getStatusDiv(documentProp){documentProp===void 0&&(documentProp=document);let statusDiv=documentProp.getElementById("a11y-status-message");return statusDiv||(statusDiv=documentProp.createElement("div"),statusDiv.setAttribute("id","a11y-status-message"),statusDiv.setAttribute("role","status"),statusDiv.setAttribute("aria-live","polite"),statusDiv.setAttribute("aria-relevant","additions text"),Object.assign(statusDiv.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),documentProp.body.appendChild(statusDiv),statusDiv)}var unknown="__autocomplete_unknown__",mouseUp="__autocomplete_mouseup__",itemMouseEnter="__autocomplete_item_mouseenter__",keyDownArrowUp="__autocomplete_keydown_arrow_up__",keyDownArrowDown="__autocomplete_keydown_arrow_down__",keyDownEscape="__autocomplete_keydown_escape__",keyDownEnter="__autocomplete_keydown_enter__",keyDownHome="__autocomplete_keydown_home__",keyDownEnd="__autocomplete_keydown_end__",clickItem="__autocomplete_click_item__",blurInput="__autocomplete_blur_input__",changeInput="__autocomplete_change_input__",keyDownSpaceButton="__autocomplete_keydown_space_button__",clickButton="__autocomplete_click_button__",blurButton="__autocomplete_blur_button__",controlledPropUpdatedSelectedItem="__autocomplete_controlled_prop_updated_selected_item__",touchEnd="__autocomplete_touchend__",stateChangeTypes$3=Object.freeze({__proto__:null,unknown,mouseUp,itemMouseEnter,keyDownArrowUp,keyDownArrowDown,keyDownEscape,keyDownEnter,keyDownHome,keyDownEnd,clickItem,blurInput,changeInput,keyDownSpaceButton,clickButton,blurButton,controlledPropUpdatedSelectedItem,touchEnd}),Downshift=(()=>{class Downshift2 extends import_react20.Component{constructor(_props){var _this;super(_props),_this=this,this.id=this.props.id||`downshift-${generateId()}`,this.menuId=this.props.menuId||`${this.id}-menu`,this.labelId=this.props.labelId||`${this.id}-label`,this.inputId=this.props.inputId||`${this.id}-input`,this.getItemId=this.props.getItemId||(index=>`${this.id}-item-${index}`),this.input=null,this.items=[],this.itemCount=null,this.previousResultCount=0,this.timeoutIds=[],this.internalSetTimeout=(fn,time)=>{let id=setTimeout(()=>{this.timeoutIds=this.timeoutIds.filter(i3=>i3!==id),fn()},time);this.timeoutIds.push(id)},this.setItemCount=count=>{this.itemCount=count},this.unsetItemCount=()=>{this.itemCount=null},this.setHighlightedIndex=function(highlightedIndex,otherStateToSet){highlightedIndex===void 0&&(highlightedIndex=_this.props.defaultHighlightedIndex),otherStateToSet===void 0&&(otherStateToSet={}),otherStateToSet=pickState(otherStateToSet),_this.internalSetState({highlightedIndex,...otherStateToSet})},this.clearSelection=cb=>{this.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:this.props.defaultHighlightedIndex,isOpen:this.props.defaultIsOpen},cb)},this.selectItem=(item,otherStateToSet,cb)=>{otherStateToSet=pickState(otherStateToSet),this.internalSetState({isOpen:this.props.defaultIsOpen,highlightedIndex:this.props.defaultHighlightedIndex,selectedItem:item,inputValue:this.props.itemToString(item),...otherStateToSet},cb)},this.selectItemAtIndex=(itemIndex,otherStateToSet,cb)=>{let item=this.items[itemIndex];item!=null&&this.selectItem(item,otherStateToSet,cb)},this.selectHighlightedItem=(otherStateToSet,cb)=>this.selectItemAtIndex(this.getState().highlightedIndex,otherStateToSet,cb),this.internalSetState=(stateToSet,cb)=>{let isItemSelected,onChangeArg,onStateChangeArg={},isStateToSetFunction=typeof stateToSet=="function";return!isStateToSetFunction&&stateToSet.hasOwnProperty("inputValue")&&this.props.onInputValueChange(stateToSet.inputValue,{...this.getStateAndHelpers(),...stateToSet}),this.setState(state=>{state=this.getState(state);let newStateToSet=isStateToSetFunction?stateToSet(state):stateToSet;newStateToSet=this.props.stateReducer(state,newStateToSet),isItemSelected=newStateToSet.hasOwnProperty("selectedItem");let nextState={};return isItemSelected&&newStateToSet.selectedItem!==state.selectedItem&&(onChangeArg=newStateToSet.selectedItem),newStateToSet.type=newStateToSet.type||unknown,Object.keys(newStateToSet).forEach(key=>{state[key]!==newStateToSet[key]&&(onStateChangeArg[key]=newStateToSet[key]),key!=="type"&&(newStateToSet[key],isControlledProp(this.props,key)||(nextState[key]=newStateToSet[key]))}),isStateToSetFunction&&newStateToSet.hasOwnProperty("inputValue")&&this.props.onInputValueChange(newStateToSet.inputValue,{...this.getStateAndHelpers(),...newStateToSet}),nextState},()=>{cbToCb(cb)(),Object.keys(onStateChangeArg).length>1&&this.props.onStateChange(onStateChangeArg,this.getStateAndHelpers()),isItemSelected&&this.props.onSelect(stateToSet.selectedItem,this.getStateAndHelpers()),onChangeArg!==void 0&&this.props.onChange(onChangeArg,this.getStateAndHelpers()),this.props.onUserAction(onStateChangeArg,this.getStateAndHelpers())})},this.rootRef=node=>this._rootNode=node,this.getRootProps=function(_temp,_temp2){let{refKey="ref",ref,...rest}=_temp===void 0?{}:_temp,{suppressRefError=!1}=_temp2===void 0?{}:_temp2;_this.getRootProps.called=!0,_this.getRootProps.refKey=refKey,_this.getRootProps.suppressRefError=suppressRefError;let{isOpen}=_this.getState();return{[refKey]:handleRefs(ref,_this.rootRef),role:"combobox","aria-expanded":isOpen,"aria-haspopup":"listbox","aria-owns":isOpen?_this.menuId:null,"aria-labelledby":_this.labelId,...rest}},this.keyDownHandlers={ArrowDown(event){if(event.preventDefault(),this.getState().isOpen){let amount=event.shiftKey?5:1;this.moveHighlightedIndex(amount,{type:keyDownArrowDown})}else this.internalSetState({isOpen:!0,type:keyDownArrowDown},()=>{let itemCount=this.getItemCount();if(itemCount>0){let{highlightedIndex}=this.getState(),nextHighlightedIndex=getNextWrappingIndex(1,highlightedIndex,itemCount,index=>this.getItemNodeFromIndex(index));this.setHighlightedIndex(nextHighlightedIndex,{type:keyDownArrowDown})}})},ArrowUp(event){if(event.preventDefault(),this.getState().isOpen){let amount=event.shiftKey?-5:-1;this.moveHighlightedIndex(amount,{type:keyDownArrowUp})}else this.internalSetState({isOpen:!0,type:keyDownArrowUp},()=>{let itemCount=this.getItemCount();if(itemCount>0){let{highlightedIndex}=this.getState(),nextHighlightedIndex=getNextWrappingIndex(-1,highlightedIndex,itemCount,index=>this.getItemNodeFromIndex(index));this.setHighlightedIndex(nextHighlightedIndex,{type:keyDownArrowUp})}})},Enter(event){if(event.which===229)return;let{isOpen,highlightedIndex}=this.getState();if(isOpen&&highlightedIndex!=null){event.preventDefault();let item=this.items[highlightedIndex],itemNode=this.getItemNodeFromIndex(highlightedIndex);if(item==null||itemNode&&itemNode.hasAttribute("disabled"))return;this.selectHighlightedItem({type:keyDownEnter})}},Escape(event){event.preventDefault(),this.reset({type:keyDownEscape,...!this.state.isOpen&&{selectedItem:null,inputValue:""}})}},this.buttonKeyDownHandlers={...this.keyDownHandlers," "(event){event.preventDefault(),this.toggleMenu({type:keyDownSpaceButton})}},this.inputKeyDownHandlers={...this.keyDownHandlers,Home(event){let{isOpen}=this.getState();if(!isOpen)return;event.preventDefault();let itemCount=this.getItemCount();if(itemCount<=0||!isOpen)return;let newHighlightedIndex=getNextNonDisabledIndex(1,0,itemCount,index=>this.getItemNodeFromIndex(index),!1);this.setHighlightedIndex(newHighlightedIndex,{type:keyDownHome})},End(event){let{isOpen}=this.getState();if(!isOpen)return;event.preventDefault();let itemCount=this.getItemCount();if(itemCount<=0||!isOpen)return;let newHighlightedIndex=getNextNonDisabledIndex(-1,itemCount-1,itemCount,index=>this.getItemNodeFromIndex(index),!1);this.setHighlightedIndex(newHighlightedIndex,{type:keyDownEnd})}},this.getToggleButtonProps=function(_temp3){let{onClick,onPress,onKeyDown,onKeyUp,onBlur,...rest}=_temp3===void 0?{}:_temp3,{isOpen}=_this.getState(),enabledEventHandlers={onClick:callAllEventHandlers(onClick,_this.buttonHandleClick),onKeyDown:callAllEventHandlers(onKeyDown,_this.buttonHandleKeyDown),onKeyUp:callAllEventHandlers(onKeyUp,_this.buttonHandleKeyUp),onBlur:callAllEventHandlers(onBlur,_this.buttonHandleBlur)},eventHandlers=rest.disabled?{}:enabledEventHandlers;return{type:"button",role:"button","aria-label":isOpen?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0,...eventHandlers,...rest}},this.buttonHandleKeyUp=event=>{event.preventDefault()},this.buttonHandleKeyDown=event=>{let key=normalizeArrowKey(event);this.buttonKeyDownHandlers[key]&&this.buttonKeyDownHandlers[key].call(this,event)},this.buttonHandleClick=event=>{event.preventDefault(),this.props.environment.document.activeElement===this.props.environment.document.body&&event.target.focus(),this.internalSetTimeout(()=>this.toggleMenu({type:clickButton}))},this.buttonHandleBlur=event=>{let blurTarget=event.target;this.internalSetTimeout(()=>{!this.isMouseDown&&(this.props.environment.document.activeElement==null||this.props.environment.document.activeElement.id!==this.inputId)&&this.props.environment.document.activeElement!==blurTarget&&this.reset({type:blurButton})})},this.getLabelProps=props=>({htmlFor:this.inputId,id:this.labelId,...props}),this.getInputProps=function(_temp4){let{onKeyDown,onBlur,onChange,onInput,onChangeText,...rest}=_temp4===void 0?{}:_temp4,onChangeKey,eventHandlers={};onChangeKey="onChange";let{inputValue,isOpen,highlightedIndex}=_this.getState();return rest.disabled||(eventHandlers={[onChangeKey]:callAllEventHandlers(onChange,onInput,_this.inputHandleChange),onKeyDown:callAllEventHandlers(onKeyDown,_this.inputHandleKeyDown),onBlur:callAllEventHandlers(onBlur,_this.inputHandleBlur)}),{"aria-autocomplete":"list","aria-activedescendant":isOpen&&typeof highlightedIndex=="number"&&highlightedIndex>=0?_this.getItemId(highlightedIndex):null,"aria-controls":isOpen?_this.menuId:null,"aria-labelledby":_this.labelId,autoComplete:"off",value:inputValue,id:_this.inputId,...eventHandlers,...rest}},this.inputHandleKeyDown=event=>{let key=normalizeArrowKey(event);key&&this.inputKeyDownHandlers[key]&&this.inputKeyDownHandlers[key].call(this,event)},this.inputHandleChange=event=>{this.internalSetState({type:changeInput,isOpen:!0,inputValue:event.target.value,highlightedIndex:this.props.defaultHighlightedIndex})},this.inputHandleBlur=()=>{this.internalSetTimeout(()=>{let downshiftButtonIsActive=this.props.environment.document&&!!this.props.environment.document.activeElement&&!!this.props.environment.document.activeElement.dataset&&this.props.environment.document.activeElement.dataset.toggle&&this._rootNode&&this._rootNode.contains(this.props.environment.document.activeElement);!this.isMouseDown&&!downshiftButtonIsActive&&this.reset({type:blurInput})})},this.menuRef=node=>{this._menuNode=node},this.getMenuProps=function(_temp5,_temp6){let{refKey="ref",ref,...props}=_temp5===void 0?{}:_temp5,{suppressRefError=!1}=_temp6===void 0?{}:_temp6;return _this.getMenuProps.called=!0,_this.getMenuProps.refKey=refKey,_this.getMenuProps.suppressRefError=suppressRefError,{[refKey]:handleRefs(ref,_this.menuRef),role:"listbox","aria-labelledby":props&&props["aria-label"]?null:_this.labelId,id:_this.menuId,...props}},this.getItemProps=function(_temp7){let{onMouseMove,onMouseDown,onClick,onPress,index,item=requiredProp("getItemProps","item"),...rest}=_temp7===void 0?{}:_temp7;index===void 0?(_this.items.push(item),index=_this.items.indexOf(item)):_this.items[index]=item;let onSelectKey="onClick",customClickHandler=onClick,enabledEventHandlers={onMouseMove:callAllEventHandlers(onMouseMove,()=>{index!==_this.getState().highlightedIndex&&(_this.setHighlightedIndex(index,{type:itemMouseEnter}),_this.avoidScrolling=!0,_this.internalSetTimeout(()=>_this.avoidScrolling=!1,250))}),onMouseDown:callAllEventHandlers(onMouseDown,event=>{event.preventDefault()}),[onSelectKey]:callAllEventHandlers(customClickHandler,()=>{_this.selectItemAtIndex(index,{type:clickItem})})},eventHandlers=rest.disabled?{onMouseDown:enabledEventHandlers.onMouseDown}:enabledEventHandlers;return{id:_this.getItemId(index),role:"option","aria-selected":_this.getState().highlightedIndex===index,...eventHandlers,...rest}},this.clearItems=()=>{this.items=[]},this.reset=function(otherStateToSet,cb){otherStateToSet===void 0&&(otherStateToSet={}),otherStateToSet=pickState(otherStateToSet),_this.internalSetState(_ref=>{let{selectedItem}=_ref;return{isOpen:_this.props.defaultIsOpen,highlightedIndex:_this.props.defaultHighlightedIndex,inputValue:_this.props.itemToString(selectedItem),...otherStateToSet}},cb)},this.toggleMenu=function(otherStateToSet,cb){otherStateToSet===void 0&&(otherStateToSet={}),otherStateToSet=pickState(otherStateToSet),_this.internalSetState(_ref2=>{let{isOpen}=_ref2;return{isOpen:!isOpen,...isOpen&&{highlightedIndex:_this.props.defaultHighlightedIndex},...otherStateToSet}},()=>{let{isOpen,highlightedIndex}=_this.getState();isOpen&&_this.getItemCount()>0&&typeof highlightedIndex=="number"&&_this.setHighlightedIndex(highlightedIndex,otherStateToSet),cbToCb(cb)()})},this.openMenu=cb=>{this.internalSetState({isOpen:!0},cb)},this.closeMenu=cb=>{this.internalSetState({isOpen:!1},cb)},this.updateStatus=debounce(()=>{let state=this.getState(),item=this.items[state.highlightedIndex],resultCount=this.getItemCount(),status=this.props.getA11yStatusMessage({itemToString:this.props.itemToString,previousResultCount:this.previousResultCount,resultCount,highlightedItem:item,...state});this.previousResultCount=resultCount,setStatus(status,this.props.environment.document)},200);let{defaultHighlightedIndex,initialHighlightedIndex:_highlightedIndex=defaultHighlightedIndex,defaultIsOpen,initialIsOpen:_isOpen=defaultIsOpen,initialInputValue:_inputValue="",initialSelectedItem:_selectedItem=null}=this.props,_state=this.getState({highlightedIndex:_highlightedIndex,isOpen:_isOpen,inputValue:_inputValue,selectedItem:_selectedItem});_state.selectedItem!=null&&this.props.initialInputValue===void 0&&(_state.inputValue=this.props.itemToString(_state.selectedItem)),this.state=_state}internalClearTimeouts(){this.timeoutIds.forEach(id=>{clearTimeout(id)}),this.timeoutIds=[]}getState(stateToMerge){return stateToMerge===void 0&&(stateToMerge=this.state),getState(stateToMerge,this.props)}getItemCount(){let itemCount=this.items.length;return this.itemCount!=null?itemCount=this.itemCount:this.props.itemCount!==void 0&&(itemCount=this.props.itemCount),itemCount}getItemNodeFromIndex(index){return this.props.environment.document.getElementById(this.getItemId(index))}scrollHighlightedItemIntoView(){{let node=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(node,this._menuNode)}}moveHighlightedIndex(amount,otherStateToSet){let itemCount=this.getItemCount(),{highlightedIndex}=this.getState();if(itemCount>0){let nextHighlightedIndex=getNextWrappingIndex(amount,highlightedIndex,itemCount,index=>this.getItemNodeFromIndex(index));this.setHighlightedIndex(nextHighlightedIndex,otherStateToSet)}}getStateAndHelpers(){let{highlightedIndex,inputValue,selectedItem,isOpen}=this.getState(),{itemToString:itemToString2}=this.props,{id}=this,{getRootProps,getToggleButtonProps,getLabelProps,getMenuProps,getInputProps,getItemProps,openMenu,closeMenu,toggleMenu,selectItem,selectItemAtIndex,selectHighlightedItem,setHighlightedIndex,clearSelection,clearItems,reset,setItemCount,unsetItemCount,internalSetState:setState}=this;return{getRootProps,getToggleButtonProps,getLabelProps,getMenuProps,getInputProps,getItemProps,reset,openMenu,closeMenu,toggleMenu,selectItem,selectItemAtIndex,selectHighlightedItem,setHighlightedIndex,clearSelection,clearItems,setItemCount,unsetItemCount,setState,itemToString:itemToString2,id,highlightedIndex,inputValue,isOpen,selectedItem}}componentDidMount(){this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&validateGetMenuPropsCalledCorrectly(this._menuNode,this.getMenuProps);{let onMouseDown=()=>{this.isMouseDown=!0},onMouseUp=event=>{this.isMouseDown=!1,!targetWithinDownshift(event.target,[this._rootNode,this._menuNode],this.props.environment)&&this.getState().isOpen&&this.reset({type:mouseUp},()=>this.props.onOuterClick(this.getStateAndHelpers()))},onTouchStart=()=>{this.isTouchMove=!1},onTouchMove=()=>{this.isTouchMove=!0},onTouchEnd=event=>{let contextWithinDownshift=targetWithinDownshift(event.target,[this._rootNode,this._menuNode],this.props.environment,!1);!this.isTouchMove&&!contextWithinDownshift&&this.getState().isOpen&&this.reset({type:touchEnd},()=>this.props.onOuterClick(this.getStateAndHelpers()))},{environment}=this.props;environment.addEventListener("mousedown",onMouseDown),environment.addEventListener("mouseup",onMouseUp),environment.addEventListener("touchstart",onTouchStart),environment.addEventListener("touchmove",onTouchMove),environment.addEventListener("touchend",onTouchEnd),this.cleanup=()=>{this.internalClearTimeouts(),this.updateStatus.cancel(),environment.removeEventListener("mousedown",onMouseDown),environment.removeEventListener("mouseup",onMouseUp),environment.removeEventListener("touchstart",onTouchStart),environment.removeEventListener("touchmove",onTouchMove),environment.removeEventListener("touchend",onTouchEnd)}}}shouldScroll(prevState,prevProps){let{highlightedIndex:currentHighlightedIndex}=this.props.highlightedIndex===void 0?this.getState():this.props,{highlightedIndex:prevHighlightedIndex}=prevProps.highlightedIndex===void 0?prevState:prevProps;return currentHighlightedIndex&&this.getState().isOpen&&!prevState.isOpen||currentHighlightedIndex!==prevHighlightedIndex}componentDidUpdate(prevProps,prevState){validateControlledUnchanged(this.state,prevProps,this.props),this.getMenuProps.called&&!this.getMenuProps.suppressRefError&&validateGetMenuPropsCalledCorrectly(this._menuNode,this.getMenuProps),isControlledProp(this.props,"selectedItem")&&this.props.selectedItemChanged(prevProps.selectedItem,this.props.selectedItem)&&this.internalSetState({type:controlledPropUpdatedSelectedItem,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(prevState,prevProps)&&this.scrollHighlightedItemIntoView(),this.updateStatus()}componentWillUnmount(){this.cleanup()}render(){let children=unwrapArray(this.props.children,noop2);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;let element=unwrapArray(children(this.getStateAndHelpers()));if(!element)return null;if(this.getRootProps.called||this.props.suppressRefError)return!this.getRootProps.suppressRefError&&!this.props.suppressRefError&&validateGetRootPropsCalledCorrectly(element,this.getRootProps),element;if(isDOMElement(element))return(0,import_react20.cloneElement)(element,this.getRootProps(getElementProps(element)));throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function")}}return Downshift2.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatusMessage:getA11yStatusMessage$1,itemToString:i3=>i3==null?"":(isPlainObject(i3)&&!i3.hasOwnProperty("toString")&&console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.","The object that was passed:",i3),String(i3)),onStateChange:noop2,onInputValueChange:noop2,onUserAction:noop2,onChange:noop2,onSelect:noop2,onOuterClick:noop2,selectedItemChanged:(prevItem,item)=>prevItem!==item,environment:typeof window>"u"?{}:window,stateReducer:(state,stateToSet)=>stateToSet,suppressRefError:!1,scrollIntoView:scrollIntoView2},Downshift2.stateChangeTypes=stateChangeTypes$3,Downshift2})();Downshift.propTypes={children:import_prop_types2.default.func,defaultHighlightedIndex:import_prop_types2.default.number,defaultIsOpen:import_prop_types2.default.bool,initialHighlightedIndex:import_prop_types2.default.number,initialSelectedItem:import_prop_types2.default.any,initialInputValue:import_prop_types2.default.string,initialIsOpen:import_prop_types2.default.bool,getA11yStatusMessage:import_prop_types2.default.func,itemToString:import_prop_types2.default.func,onChange:import_prop_types2.default.func,onSelect:import_prop_types2.default.func,onStateChange:import_prop_types2.default.func,onInputValueChange:import_prop_types2.default.func,onUserAction:import_prop_types2.default.func,onOuterClick:import_prop_types2.default.func,selectedItemChanged:import_prop_types2.default.func,stateReducer:import_prop_types2.default.func,itemCount:import_prop_types2.default.number,id:import_prop_types2.default.string,environment:import_prop_types2.default.shape({addEventListener:import_prop_types2.default.func,removeEventListener:import_prop_types2.default.func,document:import_prop_types2.default.shape({getElementById:import_prop_types2.default.func,activeElement:import_prop_types2.default.any,body:import_prop_types2.default.any})}),suppressRefError:import_prop_types2.default.bool,scrollIntoView:import_prop_types2.default.func,selectedItem:import_prop_types2.default.any,isOpen:import_prop_types2.default.bool,inputValue:import_prop_types2.default.string,highlightedIndex:import_prop_types2.default.number,labelId:import_prop_types2.default.string,inputId:import_prop_types2.default.string,menuId:import_prop_types2.default.string,getItemId:import_prop_types2.default.func};var Downshift$1=Downshift;function validateGetMenuPropsCalledCorrectly(node,_ref3){let{refKey}=_ref3;node||console.error(`downshift: The ref prop "${refKey}" from getMenuProps was not applied correctly on your menu element.`)}function validateGetRootPropsCalledCorrectly(element,_ref4){let{refKey}=_ref4,refKeySpecified=refKey!=="ref",isComposite=!isDOMElement(element);isComposite&&!refKeySpecified&&!(0,import_react_is.isForwardRef)(element)?console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps"):!isComposite&&refKeySpecified&&console.error(`downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "${refKey}"`),!(0,import_react_is.isForwardRef)(element)&&!getElementProps(element)[refKey]&&console.error(`downshift: You must apply the ref prop "${refKey}" from getRootProps onto your root element.`)}var dropdownDefaultStateValues={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function callOnChangeProps(action,state,newState){let{props,type}=action,changes={};Object.keys(state).forEach(key=>{invokeOnChangeHandler(key,action,state,newState),newState[key]!==state[key]&&(changes[key]=newState[key])}),props.onStateChange&&Object.keys(changes).length&&props.onStateChange({type,...changes})}function invokeOnChangeHandler(key,action,state,newState){let{props,type}=action,handler=`on${capitalizeString(key)}Change`;props[handler]&&newState[key]!==void 0&&newState[key]!==state[key]&&props[handler]({type,...newState})}function stateReducer(s2,a2){return a2.changes}function getA11ySelectionMessage(selectionParameters){let{selectedItem,itemToString:itemToStringLocal}=selectionParameters;return selectedItem?`${itemToStringLocal(selectedItem)} has been selected.`:""}var updateA11yStatus=debounce((getA11yMessage,document10)=>{setStatus(getA11yMessage(),document10)},200),useIsomorphicLayoutEffect=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?import_react20.useLayoutEffect:import_react20.useEffect;function useElementIds(_ref){let{id=`downshift-${generateId()}`,labelId,menuId,getItemId,toggleButtonId,inputId}=_ref;return(0,import_react20.useRef)({labelId:labelId||`${id}-label`,menuId:menuId||`${id}-menu`,getItemId:getItemId||(index=>`${id}-item-${index}`),toggleButtonId:toggleButtonId||`${id}-toggle-button`,inputId:inputId||`${id}-input`}).current}function getItemIndex(index,item,items){return index!==void 0?index:items.length===0?-1:items.indexOf(item)}function itemToString(item){return item?String(item):""}function isAcceptedCharacterKey(key){return/^\S{1}$/.test(key)}function capitalizeString(string){return`${string.slice(0,1).toUpperCase()}${string.slice(1)}`}function useLatestRef(val){let ref=(0,import_react20.useRef)(val);return ref.current=val,ref}function useEnhancedReducer(reducer,initialState,props){let prevStateRef=(0,import_react20.useRef)(),actionRef=(0,import_react20.useRef)(),enhancedReducer=(0,import_react20.useCallback)((state2,action2)=>{actionRef.current=action2,state2=getState(state2,action2.props);let changes=reducer(state2,action2);return action2.props.stateReducer(state2,{...action2,changes})},[reducer]),[state,dispatch]=(0,import_react20.useReducer)(enhancedReducer,initialState),propsRef=useLatestRef(props),dispatchWithProps=(0,import_react20.useCallback)(action2=>dispatch({props:propsRef.current,...action2}),[propsRef]),action=actionRef.current;return(0,import_react20.useEffect)(()=>{action&&prevStateRef.current&&prevStateRef.current!==state&&callOnChangeProps(action,getState(prevStateRef.current,action.props),state),prevStateRef.current=state},[state,props,action]),[state,dispatchWithProps]}function useControlledReducer$1(reducer,initialState,props){let[state,dispatch]=useEnhancedReducer(reducer,initialState,props);return[getState(state,props),dispatch]}var defaultProps$3={itemToString,stateReducer,getA11ySelectionMessage,scrollIntoView:scrollIntoView2,circularNavigation:!1,environment:typeof window>"u"?{}:window};function getDefaultValue$1(props,propKey,defaultStateValues2){defaultStateValues2===void 0&&(defaultStateValues2=dropdownDefaultStateValues);let defaultValue=props[`default${capitalizeString(propKey)}`];return defaultValue!==void 0?defaultValue:defaultStateValues2[propKey]}function getInitialValue$1(props,propKey,defaultStateValues2){defaultStateValues2===void 0&&(defaultStateValues2=dropdownDefaultStateValues);let value=props[propKey];if(value!==void 0)return value;let initialValue=props[`initial${capitalizeString(propKey)}`];return initialValue!==void 0?initialValue:getDefaultValue$1(props,propKey,defaultStateValues2)}function getInitialState$2(props){let selectedItem=getInitialValue$1(props,"selectedItem"),isOpen=getInitialValue$1(props,"isOpen"),highlightedIndex=getInitialValue$1(props,"highlightedIndex"),inputValue=getInitialValue$1(props,"inputValue");return{highlightedIndex:highlightedIndex<0&&selectedItem&&isOpen?props.items.indexOf(selectedItem):highlightedIndex,isOpen,selectedItem,inputValue}}function getHighlightedIndexOnOpen(props,state,offset,getItemNodeFromIndex){let{items,initialHighlightedIndex,defaultHighlightedIndex}=props,{selectedItem,highlightedIndex}=state;return items.length===0?-1:initialHighlightedIndex!==void 0&&highlightedIndex===initialHighlightedIndex?initialHighlightedIndex:defaultHighlightedIndex!==void 0?defaultHighlightedIndex:selectedItem?offset===0?items.indexOf(selectedItem):getNextWrappingIndex(offset,items.indexOf(selectedItem),items.length,getItemNodeFromIndex,!1):offset===0?-1:offset<0?items.length-1:0}function useMouseAndTouchTracker(isOpen,downshiftElementRefs,environment,handleBlur){let mouseAndTouchTrackersRef=(0,import_react20.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,import_react20.useEffect)(()=>{let onMouseDown=()=>{mouseAndTouchTrackersRef.current.isMouseDown=!0},onMouseUp=event=>{mouseAndTouchTrackersRef.current.isMouseDown=!1,isOpen&&!targetWithinDownshift(event.target,downshiftElementRefs.map(ref=>ref.current),environment)&&handleBlur()},onTouchStart=()=>{mouseAndTouchTrackersRef.current.isTouchMove=!1},onTouchMove=()=>{mouseAndTouchTrackersRef.current.isTouchMove=!0},onTouchEnd=event=>{isOpen&&!mouseAndTouchTrackersRef.current.isTouchMove&&!targetWithinDownshift(event.target,downshiftElementRefs.map(ref=>ref.current),environment,!1)&&handleBlur()};return environment.addEventListener("mousedown",onMouseDown),environment.addEventListener("mouseup",onMouseUp),environment.addEventListener("touchstart",onTouchStart),environment.addEventListener("touchmove",onTouchMove),environment.addEventListener("touchend",onTouchEnd),function(){environment.removeEventListener("mousedown",onMouseDown),environment.removeEventListener("mouseup",onMouseUp),environment.removeEventListener("touchstart",onTouchStart),environment.removeEventListener("touchmove",onTouchMove),environment.removeEventListener("touchend",onTouchEnd)}},[isOpen,environment]),mouseAndTouchTrackersRef}var useGetterPropsCalledChecker=()=>noop2;useGetterPropsCalledChecker=function(){let isInitialMountRef=(0,import_react20.useRef)(!0);for(var _len=arguments.length,propKeys=new Array(_len),_key=0;_key<_len;_key++)propKeys[_key]=arguments[_key];let getterPropsCalledRef=(0,import_react20.useRef)(propKeys.reduce((acc,propKey)=>(acc[propKey]={},acc),{}));return(0,import_react20.useEffect)(()=>{Object.keys(getterPropsCalledRef.current).forEach(propKey=>{let propCallInfo=getterPropsCalledRef.current[propKey];if(isInitialMountRef.current&&!Object.keys(propCallInfo).length){console.error(`downshift: You forgot to call the ${propKey} getter function on your component / element.`);return}let{suppressRefError,refKey,elementRef}=propCallInfo;(!elementRef||!elementRef.current)&&!suppressRefError&&console.error(`downshift: The ref prop "${refKey}" from ${propKey} was not applied correctly on your element.`)}),isInitialMountRef.current=!1}),(0,import_react20.useCallback)((propKey,suppressRefError,refKey,elementRef)=>{getterPropsCalledRef.current[propKey]={suppressRefError,refKey,elementRef}},[])};function useA11yMessageSetter(getA11yMessage,dependencyArray,_ref2){let{isInitialMount,highlightedIndex,items,environment,...rest}=_ref2;(0,import_react20.useEffect)(()=>{isInitialMount||updateA11yStatus(()=>getA11yMessage({highlightedIndex,highlightedItem:items[highlightedIndex],resultCount:items.length,...rest}),environment.document)},dependencyArray)}function useScrollIntoView(_ref3){let{highlightedIndex,isOpen,itemRefs,getItemNodeFromIndex,menuElement,scrollIntoView:scrollIntoViewProp}=_ref3,shouldScrollRef=(0,import_react20.useRef)(!0);return useIsomorphicLayoutEffect(()=>{highlightedIndex<0||!isOpen||!Object.keys(itemRefs.current).length||(shouldScrollRef.current===!1?shouldScrollRef.current=!0:scrollIntoViewProp(getItemNodeFromIndex(highlightedIndex),menuElement))},[highlightedIndex]),shouldScrollRef}var useControlPropsValidator=noop2;useControlPropsValidator=_ref4=>{let{isInitialMount,props,state}=_ref4,prevPropsRef=(0,import_react20.useRef)(props);(0,import_react20.useEffect)(()=>{isInitialMount||(validateControlledUnchanged(state,prevPropsRef.current,props),prevPropsRef.current=props)},[state,props,isInitialMount])};function downshiftCommonReducer(state,action,stateChangeTypes2){let{type,props}=action,changes;switch(type){case stateChangeTypes2.ItemMouseMove:changes={highlightedIndex:action.disabled?-1:action.index};break;case stateChangeTypes2.MenuMouseLeave:changes={highlightedIndex:-1};break;case stateChangeTypes2.ToggleButtonClick:case stateChangeTypes2.FunctionToggleMenu:changes={isOpen:!state.isOpen,highlightedIndex:state.isOpen?-1:getHighlightedIndexOnOpen(props,state,0)};break;case stateChangeTypes2.FunctionOpenMenu:changes={isOpen:!0,highlightedIndex:getHighlightedIndexOnOpen(props,state,0)};break;case stateChangeTypes2.FunctionCloseMenu:changes={isOpen:!1};break;case stateChangeTypes2.FunctionSetHighlightedIndex:changes={highlightedIndex:action.highlightedIndex};break;case stateChangeTypes2.FunctionSetInputValue:changes={inputValue:action.inputValue};break;case stateChangeTypes2.FunctionReset:changes={highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),isOpen:getDefaultValue$1(props,"isOpen"),selectedItem:getDefaultValue$1(props,"selectedItem"),inputValue:getDefaultValue$1(props,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return{...state,...changes}}function getItemIndexByCharacterKey(_a){for(var keysSoFar=_a.keysSoFar,highlightedIndex=_a.highlightedIndex,items=_a.items,itemToString2=_a.itemToString,getItemNodeFromIndex=_a.getItemNodeFromIndex,lowerCasedKeysSoFar=keysSoFar.toLowerCase(),index=0;index=0&&{selectedItem:props.items[itemIndex]}}}break;case ToggleButtonKeyDownArrowDown:changes={highlightedIndex:getHighlightedIndexOnOpen(props,state,1,action.getItemNodeFromIndex),isOpen:!0};break;case ToggleButtonKeyDownArrowUp:changes={highlightedIndex:getHighlightedIndexOnOpen(props,state,-1,action.getItemNodeFromIndex),isOpen:!0};break;case MenuKeyDownEnter:case MenuKeyDownSpaceButton:changes={isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),...state.highlightedIndex>=0&&{selectedItem:props.items[state.highlightedIndex]}};break;case MenuKeyDownHome:changes={highlightedIndex:getNextNonDisabledIndex(1,0,props.items.length,action.getItemNodeFromIndex,!1)};break;case MenuKeyDownEnd:changes={highlightedIndex:getNextNonDisabledIndex(-1,props.items.length-1,props.items.length,action.getItemNodeFromIndex,!1)};break;case MenuKeyDownEscape:changes={isOpen:!1,highlightedIndex:-1};break;case MenuBlur:changes={isOpen:!1,highlightedIndex:-1};break;case MenuKeyDownCharacter:{let lowercasedKey=action.key,inputValue=`${state.inputValue}${lowercasedKey}`,highlightedIndex=getItemIndexByCharacterKey({keysSoFar:inputValue,highlightedIndex:state.highlightedIndex,items:props.items,itemToString:props.itemToString,getItemNodeFromIndex:action.getItemNodeFromIndex});changes={inputValue,...highlightedIndex>=0&&{highlightedIndex}}}break;case MenuKeyDownArrowDown:changes={highlightedIndex:getNextWrappingIndex(shiftKey?5:1,state.highlightedIndex,props.items.length,action.getItemNodeFromIndex,props.circularNavigation)};break;case MenuKeyDownArrowUp:changes={highlightedIndex:getNextWrappingIndex(shiftKey?-5:-1,state.highlightedIndex,props.items.length,action.getItemNodeFromIndex,props.circularNavigation)};break;case FunctionSelectItem$1:changes={selectedItem:action.selectedItem};break;default:return downshiftCommonReducer(state,action,stateChangeTypes$2)}return{...state,...changes}}useSelect.stateChangeTypes=stateChangeTypes$2;function useSelect(userProps){userProps===void 0&&(userProps={}),validatePropTypes$2(userProps,useSelect);let props={...defaultProps$2,...userProps},{items,scrollIntoView:scrollIntoView3,environment,initialIsOpen,defaultIsOpen,itemToString:itemToString2,getA11ySelectionMessage:getA11ySelectionMessage2,getA11yStatusMessage:getA11yStatusMessage2}=props,initialState=getInitialState$2(props),[state,dispatch]=useControlledReducer$1(downshiftSelectReducer,initialState,props),{isOpen,highlightedIndex,selectedItem,inputValue}=state,toggleButtonRef=(0,import_react20.useRef)(null),menuRef=(0,import_react20.useRef)(null),itemRefs=(0,import_react20.useRef)({}),shouldBlurRef=(0,import_react20.useRef)(!0),clearTimeoutRef=(0,import_react20.useRef)(null),elementIds=useElementIds(props),previousResultCountRef=(0,import_react20.useRef)(),isInitialMountRef=(0,import_react20.useRef)(!0),latest=useLatestRef({state,props}),getItemNodeFromIndex=(0,import_react20.useCallback)(index=>itemRefs.current[elementIds.getItemId(index)],[elementIds]);useA11yMessageSetter(getA11yStatusMessage2,[isOpen,highlightedIndex,inputValue,items],{isInitialMount:isInitialMountRef.current,previousResultCount:previousResultCountRef.current,items,environment,itemToString:itemToString2,...state}),useA11yMessageSetter(getA11ySelectionMessage2,[selectedItem],{isInitialMount:isInitialMountRef.current,previousResultCount:previousResultCountRef.current,items,environment,itemToString:itemToString2,...state});let shouldScrollRef=useScrollIntoView({menuElement:menuRef.current,highlightedIndex,isOpen,itemRefs,scrollIntoView:scrollIntoView3,getItemNodeFromIndex});(0,import_react20.useEffect)(()=>(clearTimeoutRef.current=debounce(outerDispatch=>{outerDispatch({type:FunctionSetInputValue$1,inputValue:""})},500),()=>{clearTimeoutRef.current.cancel()}),[]),(0,import_react20.useEffect)(()=>{inputValue&&clearTimeoutRef.current(dispatch)},[dispatch,inputValue]),useControlPropsValidator({isInitialMount:isInitialMountRef.current,props,state}),(0,import_react20.useEffect)(()=>{if(isInitialMountRef.current){(initialIsOpen||defaultIsOpen||isOpen)&&menuRef.current&&menuRef.current.focus();return}if(isOpen){menuRef.current&&menuRef.current.focus();return}environment.document.activeElement===menuRef.current&&toggleButtonRef.current&&(shouldBlurRef.current=!1,toggleButtonRef.current.focus())},[isOpen]),(0,import_react20.useEffect)(()=>{isInitialMountRef.current||(previousResultCountRef.current=items.length)});let mouseAndTouchTrackersRef=useMouseAndTouchTracker(isOpen,[menuRef,toggleButtonRef],environment,()=>{dispatch({type:MenuBlur})}),setGetterPropCallInfo=useGetterPropsCalledChecker("getMenuProps","getToggleButtonProps");(0,import_react20.useEffect)(()=>{isInitialMountRef.current=!1},[]),(0,import_react20.useEffect)(()=>{isOpen||(itemRefs.current={})},[isOpen]);let toggleButtonKeyDownHandlers=(0,import_react20.useMemo)(()=>({ArrowDown(event){event.preventDefault(),dispatch({type:ToggleButtonKeyDownArrowDown,getItemNodeFromIndex,shiftKey:event.shiftKey})},ArrowUp(event){event.preventDefault(),dispatch({type:ToggleButtonKeyDownArrowUp,getItemNodeFromIndex,shiftKey:event.shiftKey})}}),[dispatch,getItemNodeFromIndex]),menuKeyDownHandlers=(0,import_react20.useMemo)(()=>({ArrowDown(event){event.preventDefault(),dispatch({type:MenuKeyDownArrowDown,getItemNodeFromIndex,shiftKey:event.shiftKey})},ArrowUp(event){event.preventDefault(),dispatch({type:MenuKeyDownArrowUp,getItemNodeFromIndex,shiftKey:event.shiftKey})},Home(event){event.preventDefault(),dispatch({type:MenuKeyDownHome,getItemNodeFromIndex})},End(event){event.preventDefault(),dispatch({type:MenuKeyDownEnd,getItemNodeFromIndex})},Escape(){dispatch({type:MenuKeyDownEscape})},Enter(event){event.preventDefault(),dispatch({type:MenuKeyDownEnter})}," "(event){event.preventDefault(),dispatch({type:MenuKeyDownSpaceButton})}}),[dispatch,getItemNodeFromIndex]),toggleMenu=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionToggleMenu$1})},[dispatch]),closeMenu=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionCloseMenu$1})},[dispatch]),openMenu=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionOpenMenu$1})},[dispatch]),setHighlightedIndex=(0,import_react20.useCallback)(newHighlightedIndex=>{dispatch({type:FunctionSetHighlightedIndex$1,highlightedIndex:newHighlightedIndex})},[dispatch]),selectItem=(0,import_react20.useCallback)(newSelectedItem=>{dispatch({type:FunctionSelectItem$1,selectedItem:newSelectedItem})},[dispatch]),reset=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionReset$2})},[dispatch]),setInputValue=(0,import_react20.useCallback)(newInputValue=>{dispatch({type:FunctionSetInputValue$1,inputValue:newInputValue})},[dispatch]),getLabelProps=(0,import_react20.useCallback)(labelProps=>({id:elementIds.labelId,htmlFor:elementIds.toggleButtonId,...labelProps}),[elementIds]),getMenuProps=(0,import_react20.useCallback)(function(_temp,_temp2){let{onMouseLeave,refKey="ref",onKeyDown,onBlur,ref,...rest}=_temp===void 0?{}:_temp,{suppressRefError=!1}=_temp2===void 0?{}:_temp2,latestState=latest.current.state,menuHandleKeyDown=event=>{let key=normalizeArrowKey(event);key&&menuKeyDownHandlers[key]?menuKeyDownHandlers[key](event):isAcceptedCharacterKey(key)&&dispatch({type:MenuKeyDownCharacter,key,getItemNodeFromIndex})},menuHandleBlur=()=>{if(shouldBlurRef.current===!1){shouldBlurRef.current=!0;return}!mouseAndTouchTrackersRef.current.isMouseDown&&dispatch({type:MenuBlur})},menuHandleMouseLeave=()=>{dispatch({type:MenuMouseLeave$1})};return setGetterPropCallInfo("getMenuProps",suppressRefError,refKey,menuRef),{[refKey]:handleRefs(ref,menuNode=>{menuRef.current=menuNode}),id:elementIds.menuId,role:"listbox","aria-labelledby":elementIds.labelId,tabIndex:-1,...latestState.isOpen&&latestState.highlightedIndex>-1&&{"aria-activedescendant":elementIds.getItemId(latestState.highlightedIndex)},onMouseLeave:callAllEventHandlers(onMouseLeave,menuHandleMouseLeave),onKeyDown:callAllEventHandlers(onKeyDown,menuHandleKeyDown),onBlur:callAllEventHandlers(onBlur,menuHandleBlur),...rest}},[dispatch,latest,menuKeyDownHandlers,mouseAndTouchTrackersRef,setGetterPropCallInfo,elementIds,getItemNodeFromIndex]),getToggleButtonProps=(0,import_react20.useCallback)(function(_temp3,_temp4){let{onClick,onKeyDown,refKey="ref",ref,...rest}=_temp3===void 0?{}:_temp3,{suppressRefError=!1}=_temp4===void 0?{}:_temp4,toggleButtonHandleClick=()=>{dispatch({type:ToggleButtonClick$1})},toggleButtonHandleKeyDown=event=>{let key=normalizeArrowKey(event);key&&toggleButtonKeyDownHandlers[key]?toggleButtonKeyDownHandlers[key](event):isAcceptedCharacterKey(key)&&dispatch({type:ToggleButtonKeyDownCharacter,key,getItemNodeFromIndex})},toggleProps={[refKey]:handleRefs(ref,toggleButtonNode=>{toggleButtonRef.current=toggleButtonNode}),id:elementIds.toggleButtonId,"aria-haspopup":"listbox","aria-expanded":latest.current.state.isOpen,"aria-labelledby":`${elementIds.labelId} ${elementIds.toggleButtonId}`,...rest};return rest.disabled||(toggleProps.onClick=callAllEventHandlers(onClick,toggleButtonHandleClick),toggleProps.onKeyDown=callAllEventHandlers(onKeyDown,toggleButtonHandleKeyDown)),setGetterPropCallInfo("getToggleButtonProps",suppressRefError,refKey,toggleButtonRef),toggleProps},[dispatch,latest,toggleButtonKeyDownHandlers,setGetterPropCallInfo,elementIds,getItemNodeFromIndex]),getItemProps=(0,import_react20.useCallback)(function(_temp5){let{item,index,onMouseMove,onClick,refKey="ref",ref,disabled,...rest}=_temp5===void 0?{}:_temp5,{state:latestState,props:latestProps}=latest.current,itemHandleMouseMove=()=>{index!==latestState.highlightedIndex&&(shouldScrollRef.current=!1,dispatch({type:ItemMouseMove$1,index,disabled}))},itemHandleClick=()=>{dispatch({type:ItemClick$1,index})},itemIndex=getItemIndex(index,item,latestProps.items);if(itemIndex<0)throw new Error("Pass either item or item index in getItemProps!");let itemProps={disabled,role:"option","aria-selected":`${itemIndex===latestState.highlightedIndex}`,id:elementIds.getItemId(itemIndex),[refKey]:handleRefs(ref,itemNode=>{itemNode&&(itemRefs.current[elementIds.getItemId(itemIndex)]=itemNode)}),...rest};return disabled||(itemProps.onClick=callAllEventHandlers(onClick,itemHandleClick)),itemProps.onMouseMove=callAllEventHandlers(onMouseMove,itemHandleMouseMove),itemProps},[dispatch,latest,shouldScrollRef,elementIds]);return{getToggleButtonProps,getLabelProps,getMenuProps,getItemProps,toggleMenu,openMenu,closeMenu,setHighlightedIndex,selectItem,reset,setInputValue,highlightedIndex,isOpen,selectedItem,inputValue}}var InputKeyDownArrowDown="__input_keydown_arrow_down__",InputKeyDownArrowUp="__input_keydown_arrow_up__",InputKeyDownEscape="__input_keydown_escape__",InputKeyDownHome="__input_keydown_home__",InputKeyDownEnd="__input_keydown_end__",InputKeyDownEnter="__input_keydown_enter__",InputChange="__input_change__",InputBlur="__input_blur__",MenuMouseLeave="__menu_mouse_leave__",ItemMouseMove="__item_mouse_move__",ItemClick="__item_click__",ToggleButtonClick="__togglebutton_click__",FunctionToggleMenu="__function_toggle_menu__",FunctionOpenMenu="__function_open_menu__",FunctionCloseMenu="__function_close_menu__",FunctionSetHighlightedIndex="__function_set_highlighted_index__",FunctionSelectItem="__function_select_item__",FunctionSetInputValue="__function_set_input_value__",FunctionReset$1="__function_reset__",ControlledPropUpdatedSelectedItem="__controlled_prop_updated_selected_item__",stateChangeTypes$1=Object.freeze({__proto__:null,InputKeyDownArrowDown,InputKeyDownArrowUp,InputKeyDownEscape,InputKeyDownHome,InputKeyDownEnd,InputKeyDownEnter,InputChange,InputBlur,MenuMouseLeave,ItemMouseMove,ItemClick,ToggleButtonClick,FunctionToggleMenu,FunctionOpenMenu,FunctionCloseMenu,FunctionSetHighlightedIndex,FunctionSelectItem,FunctionSetInputValue,FunctionReset:FunctionReset$1,ControlledPropUpdatedSelectedItem});function getInitialState$1(props){let initialState=getInitialState$2(props),{selectedItem}=initialState,{inputValue}=initialState;return inputValue===""&&selectedItem&&props.defaultInputValue===void 0&&props.initialInputValue===void 0&&props.inputValue===void 0&&(inputValue=props.itemToString(selectedItem)),{...initialState,inputValue}}var propTypes$1={items:import_prop_types2.default.array.isRequired,itemToString:import_prop_types2.default.func,getA11yStatusMessage:import_prop_types2.default.func,getA11ySelectionMessage:import_prop_types2.default.func,circularNavigation:import_prop_types2.default.bool,highlightedIndex:import_prop_types2.default.number,defaultHighlightedIndex:import_prop_types2.default.number,initialHighlightedIndex:import_prop_types2.default.number,isOpen:import_prop_types2.default.bool,defaultIsOpen:import_prop_types2.default.bool,initialIsOpen:import_prop_types2.default.bool,selectedItem:import_prop_types2.default.any,initialSelectedItem:import_prop_types2.default.any,defaultSelectedItem:import_prop_types2.default.any,inputValue:import_prop_types2.default.string,defaultInputValue:import_prop_types2.default.string,initialInputValue:import_prop_types2.default.string,id:import_prop_types2.default.string,labelId:import_prop_types2.default.string,menuId:import_prop_types2.default.string,getItemId:import_prop_types2.default.func,inputId:import_prop_types2.default.string,toggleButtonId:import_prop_types2.default.string,stateReducer:import_prop_types2.default.func,onSelectedItemChange:import_prop_types2.default.func,onHighlightedIndexChange:import_prop_types2.default.func,onStateChange:import_prop_types2.default.func,onIsOpenChange:import_prop_types2.default.func,onInputValueChange:import_prop_types2.default.func,environment:import_prop_types2.default.shape({addEventListener:import_prop_types2.default.func,removeEventListener:import_prop_types2.default.func,document:import_prop_types2.default.shape({getElementById:import_prop_types2.default.func,activeElement:import_prop_types2.default.any,body:import_prop_types2.default.any})})};function useControlledReducer(reducer,initialState,props){let previousSelectedItemRef=(0,import_react20.useRef)(),[state,dispatch]=useEnhancedReducer(reducer,initialState,props);return(0,import_react20.useEffect)(()=>{isControlledProp(props,"selectedItem")&&(previousSelectedItemRef.current!==props.selectedItem&&dispatch({type:ControlledPropUpdatedSelectedItem,inputValue:props.itemToString(props.selectedItem)}),previousSelectedItemRef.current=state.selectedItem===previousSelectedItemRef.current?props.selectedItem:state.selectedItem)}),[getState(state,props),dispatch]}var validatePropTypes$1=noop2;validatePropTypes$1=(options2,caller)=>{import_prop_types2.default.checkPropTypes(propTypes$1,options2,"prop",caller.name)};var defaultProps$1={...defaultProps$3,getA11yStatusMessage:getA11yStatusMessage$1,circularNavigation:!0};function downshiftUseComboboxReducer(state,action){let{type,props,shiftKey}=action,changes;switch(type){case ItemClick:changes={isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),selectedItem:props.items[action.index],inputValue:props.itemToString(props.items[action.index])};break;case InputKeyDownArrowDown:state.isOpen?changes={highlightedIndex:getNextWrappingIndex(shiftKey?5:1,state.highlightedIndex,props.items.length,action.getItemNodeFromIndex,props.circularNavigation)}:changes={highlightedIndex:getHighlightedIndexOnOpen(props,state,1,action.getItemNodeFromIndex),isOpen:props.items.length>=0};break;case InputKeyDownArrowUp:state.isOpen?changes={highlightedIndex:getNextWrappingIndex(shiftKey?-5:-1,state.highlightedIndex,props.items.length,action.getItemNodeFromIndex,props.circularNavigation)}:changes={highlightedIndex:getHighlightedIndexOnOpen(props,state,-1,action.getItemNodeFromIndex),isOpen:props.items.length>=0};break;case InputKeyDownEnter:changes={...state.isOpen&&state.highlightedIndex>=0&&{selectedItem:props.items[state.highlightedIndex],isOpen:getDefaultValue$1(props,"isOpen"),highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),inputValue:props.itemToString(props.items[state.highlightedIndex])}};break;case InputKeyDownEscape:changes={isOpen:!1,highlightedIndex:-1,...!state.isOpen&&{selectedItem:null,inputValue:""}};break;case InputKeyDownHome:changes={highlightedIndex:getNextNonDisabledIndex(1,0,props.items.length,action.getItemNodeFromIndex,!1)};break;case InputKeyDownEnd:changes={highlightedIndex:getNextNonDisabledIndex(-1,props.items.length-1,props.items.length,action.getItemNodeFromIndex,!1)};break;case InputBlur:changes={isOpen:!1,highlightedIndex:-1,...state.highlightedIndex>=0&&action.selectItem&&{selectedItem:props.items[state.highlightedIndex],inputValue:props.itemToString(props.items[state.highlightedIndex])}};break;case InputChange:changes={isOpen:!0,highlightedIndex:getDefaultValue$1(props,"highlightedIndex"),inputValue:action.inputValue};break;case FunctionSelectItem:changes={selectedItem:action.selectedItem,inputValue:props.itemToString(action.selectedItem)};break;case ControlledPropUpdatedSelectedItem:changes={inputValue:action.inputValue};break;default:return downshiftCommonReducer(state,action,stateChangeTypes$1)}return{...state,...changes}}useCombobox.stateChangeTypes=stateChangeTypes$1;function useCombobox(userProps){userProps===void 0&&(userProps={}),validatePropTypes$1(userProps,useCombobox);let props={...defaultProps$1,...userProps},{initialIsOpen,defaultIsOpen,items,scrollIntoView:scrollIntoView3,environment,getA11yStatusMessage:getA11yStatusMessage2,getA11ySelectionMessage:getA11ySelectionMessage2,itemToString:itemToString2}=props,initialState=getInitialState$1(props),[state,dispatch]=useControlledReducer(downshiftUseComboboxReducer,initialState,props),{isOpen,highlightedIndex,selectedItem,inputValue}=state,menuRef=(0,import_react20.useRef)(null),itemRefs=(0,import_react20.useRef)({}),inputRef=(0,import_react20.useRef)(null),toggleButtonRef=(0,import_react20.useRef)(null),comboboxRef=(0,import_react20.useRef)(null),isInitialMountRef=(0,import_react20.useRef)(!0),elementIds=useElementIds(props),previousResultCountRef=(0,import_react20.useRef)(),latest=useLatestRef({state,props}),getItemNodeFromIndex=(0,import_react20.useCallback)(index=>itemRefs.current[elementIds.getItemId(index)],[elementIds]);useA11yMessageSetter(getA11yStatusMessage2,[isOpen,highlightedIndex,inputValue,items],{isInitialMount:isInitialMountRef.current,previousResultCount:previousResultCountRef.current,items,environment,itemToString:itemToString2,...state}),useA11yMessageSetter(getA11ySelectionMessage2,[selectedItem],{isInitialMount:isInitialMountRef.current,previousResultCount:previousResultCountRef.current,items,environment,itemToString:itemToString2,...state});let shouldScrollRef=useScrollIntoView({menuElement:menuRef.current,highlightedIndex,isOpen,itemRefs,scrollIntoView:scrollIntoView3,getItemNodeFromIndex});useControlPropsValidator({isInitialMount:isInitialMountRef.current,props,state}),(0,import_react20.useEffect)(()=>{(initialIsOpen||defaultIsOpen||isOpen)&&inputRef.current&&inputRef.current.focus()},[]),(0,import_react20.useEffect)(()=>{isInitialMountRef.current||(previousResultCountRef.current=items.length)});let mouseAndTouchTrackersRef=useMouseAndTouchTracker(isOpen,[comboboxRef,menuRef,toggleButtonRef],environment,()=>{dispatch({type:InputBlur,selectItem:!1})}),setGetterPropCallInfo=useGetterPropsCalledChecker("getInputProps","getComboboxProps","getMenuProps");(0,import_react20.useEffect)(()=>{isInitialMountRef.current=!1},[]),(0,import_react20.useEffect)(()=>{isOpen||(itemRefs.current={})},[isOpen]);let inputKeyDownHandlers=(0,import_react20.useMemo)(()=>({ArrowDown(event){event.preventDefault(),dispatch({type:InputKeyDownArrowDown,shiftKey:event.shiftKey,getItemNodeFromIndex})},ArrowUp(event){event.preventDefault(),dispatch({type:InputKeyDownArrowUp,shiftKey:event.shiftKey,getItemNodeFromIndex})},Home(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownHome,getItemNodeFromIndex}))},End(event){latest.current.state.isOpen&&(event.preventDefault(),dispatch({type:InputKeyDownEnd,getItemNodeFromIndex}))},Escape(event){let latestState=latest.current.state;(latestState.isOpen||latestState.inputValue||latestState.selectedItem||latestState.highlightedIndex>-1)&&(event.preventDefault(),dispatch({type:InputKeyDownEscape}))},Enter(event){let latestState=latest.current.state;!latestState.isOpen||latestState.highlightedIndex<0||event.which===229||(event.preventDefault(),dispatch({type:InputKeyDownEnter,getItemNodeFromIndex}))}}),[dispatch,latest,getItemNodeFromIndex]),getLabelProps=(0,import_react20.useCallback)(labelProps=>({id:elementIds.labelId,htmlFor:elementIds.inputId,...labelProps}),[elementIds]),getMenuProps=(0,import_react20.useCallback)(function(_temp,_temp2){let{onMouseLeave,refKey="ref",ref,...rest}=_temp===void 0?{}:_temp,{suppressRefError=!1}=_temp2===void 0?{}:_temp2;return setGetterPropCallInfo("getMenuProps",suppressRefError,refKey,menuRef),{[refKey]:handleRefs(ref,menuNode=>{menuRef.current=menuNode}),id:elementIds.menuId,role:"listbox","aria-labelledby":elementIds.labelId,onMouseLeave:callAllEventHandlers(onMouseLeave,()=>{dispatch({type:MenuMouseLeave})}),...rest}},[dispatch,setGetterPropCallInfo,elementIds]),getItemProps=(0,import_react20.useCallback)(function(_temp3){let{item,index,refKey="ref",ref,onMouseMove,onMouseDown,onClick,onPress,disabled,...rest}=_temp3===void 0?{}:_temp3,{props:latestProps,state:latestState}=latest.current,itemIndex=getItemIndex(index,item,latestProps.items);if(itemIndex<0)throw new Error("Pass either item or item index in getItemProps!");let onSelectKey="onClick",customClickHandler=onClick,itemHandleMouseMove=()=>{index!==latestState.highlightedIndex&&(shouldScrollRef.current=!1,dispatch({type:ItemMouseMove,index,disabled}))},itemHandleClick=()=>{dispatch({type:ItemClick,index})},itemHandleMouseDown=e3=>e3.preventDefault();return{[refKey]:handleRefs(ref,itemNode=>{itemNode&&(itemRefs.current[elementIds.getItemId(itemIndex)]=itemNode)}),disabled,role:"option","aria-selected":`${itemIndex===latestState.highlightedIndex}`,id:elementIds.getItemId(itemIndex),...!disabled&&{[onSelectKey]:callAllEventHandlers(customClickHandler,itemHandleClick)},onMouseMove:callAllEventHandlers(onMouseMove,itemHandleMouseMove),onMouseDown:callAllEventHandlers(onMouseDown,itemHandleMouseDown),...rest}},[dispatch,latest,shouldScrollRef,elementIds]),getToggleButtonProps=(0,import_react20.useCallback)(function(_temp4){let{onClick,onPress,refKey="ref",ref,...rest}=_temp4===void 0?{}:_temp4,toggleButtonHandleClick=()=>{dispatch({type:ToggleButtonClick}),!latest.current.state.isOpen&&inputRef.current&&inputRef.current.focus()};return{[refKey]:handleRefs(ref,toggleButtonNode=>{toggleButtonRef.current=toggleButtonNode}),id:elementIds.toggleButtonId,tabIndex:-1,...!rest.disabled&&{onClick:callAllEventHandlers(onClick,toggleButtonHandleClick)},...rest}},[dispatch,latest,elementIds]),getInputProps=(0,import_react20.useCallback)(function(_temp5,_temp6){let{onKeyDown,onChange,onInput,onBlur,onChangeText,refKey="ref",ref,...rest}=_temp5===void 0?{}:_temp5,{suppressRefError=!1}=_temp6===void 0?{}:_temp6;setGetterPropCallInfo("getInputProps",suppressRefError,refKey,inputRef);let latestState=latest.current.state,inputHandleKeyDown=event=>{let key=normalizeArrowKey(event);key&&inputKeyDownHandlers[key]&&inputKeyDownHandlers[key](event)},inputHandleChange=event=>{dispatch({type:InputChange,inputValue:event.target.value})},inputHandleBlur=()=>{latestState.isOpen&&!mouseAndTouchTrackersRef.current.isMouseDown&&dispatch({type:InputBlur,selectItem:!0})},onChangeKey="onChange",eventHandlers={};return rest.disabled||(eventHandlers={[onChangeKey]:callAllEventHandlers(onChange,onInput,inputHandleChange),onKeyDown:callAllEventHandlers(onKeyDown,inputHandleKeyDown),onBlur:callAllEventHandlers(onBlur,inputHandleBlur)}),{[refKey]:handleRefs(ref,inputNode=>{inputRef.current=inputNode}),id:elementIds.inputId,"aria-autocomplete":"list","aria-controls":elementIds.menuId,...latestState.isOpen&&latestState.highlightedIndex>-1&&{"aria-activedescendant":elementIds.getItemId(latestState.highlightedIndex)},"aria-labelledby":elementIds.labelId,autoComplete:"off",value:latestState.inputValue,...eventHandlers,...rest}},[dispatch,inputKeyDownHandlers,latest,mouseAndTouchTrackersRef,setGetterPropCallInfo,elementIds]),getComboboxProps=(0,import_react20.useCallback)(function(_temp7,_temp8){let{refKey="ref",ref,...rest}=_temp7===void 0?{}:_temp7,{suppressRefError=!1}=_temp8===void 0?{}:_temp8;return setGetterPropCallInfo("getComboboxProps",suppressRefError,refKey,comboboxRef),{[refKey]:handleRefs(ref,comboboxNode=>{comboboxRef.current=comboboxNode}),role:"combobox","aria-haspopup":"listbox","aria-owns":elementIds.menuId,"aria-expanded":latest.current.state.isOpen,...rest}},[latest,setGetterPropCallInfo,elementIds]),toggleMenu=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionToggleMenu})},[dispatch]),closeMenu=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionCloseMenu})},[dispatch]),openMenu=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionOpenMenu})},[dispatch]),setHighlightedIndex=(0,import_react20.useCallback)(newHighlightedIndex=>{dispatch({type:FunctionSetHighlightedIndex,highlightedIndex:newHighlightedIndex})},[dispatch]),selectItem=(0,import_react20.useCallback)(newSelectedItem=>{dispatch({type:FunctionSelectItem,selectedItem:newSelectedItem})},[dispatch]),setInputValue=(0,import_react20.useCallback)(newInputValue=>{dispatch({type:FunctionSetInputValue,inputValue:newInputValue})},[dispatch]),reset=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionReset$1})},[dispatch]);return{getItemProps,getLabelProps,getMenuProps,getInputProps,getComboboxProps,getToggleButtonProps,toggleMenu,openMenu,closeMenu,setHighlightedIndex,setInputValue,selectItem,reset,highlightedIndex,isOpen,selectedItem,inputValue}}var defaultStateValues={activeIndex:-1,selectedItems:[]};function getInitialValue(props,propKey){return getInitialValue$1(props,propKey,defaultStateValues)}function getDefaultValue(props,propKey){return getDefaultValue$1(props,propKey,defaultStateValues)}function getInitialState(props){let activeIndex=getInitialValue(props,"activeIndex"),selectedItems=getInitialValue(props,"selectedItems");return{activeIndex,selectedItems}}function isKeyDownOperationPermitted(event){if(event.shiftKey||event.metaKey||event.ctrlKey||event.altKey)return!1;let element=event.target;return!(element instanceof HTMLInputElement&&element.value!==""&&(element.selectionStart!==0||element.selectionEnd!==0))}function getA11yRemovalMessage(selectionParameters){let{removedSelectedItem,itemToString:itemToStringLocal}=selectionParameters;return`${itemToStringLocal(removedSelectedItem)} has been removed.`}var propTypes={selectedItems:import_prop_types2.default.array,initialSelectedItems:import_prop_types2.default.array,defaultSelectedItems:import_prop_types2.default.array,itemToString:import_prop_types2.default.func,getA11yRemovalMessage:import_prop_types2.default.func,stateReducer:import_prop_types2.default.func,activeIndex:import_prop_types2.default.number,initialActiveIndex:import_prop_types2.default.number,defaultActiveIndex:import_prop_types2.default.number,onActiveIndexChange:import_prop_types2.default.func,onSelectedItemsChange:import_prop_types2.default.func,keyNavigationNext:import_prop_types2.default.string,keyNavigationPrevious:import_prop_types2.default.string,environment:import_prop_types2.default.shape({addEventListener:import_prop_types2.default.func,removeEventListener:import_prop_types2.default.func,document:import_prop_types2.default.shape({getElementById:import_prop_types2.default.func,activeElement:import_prop_types2.default.any,body:import_prop_types2.default.any})})},defaultProps={itemToString:defaultProps$3.itemToString,stateReducer:defaultProps$3.stateReducer,environment:defaultProps$3.environment,getA11yRemovalMessage,keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},validatePropTypes=noop2;validatePropTypes=(options2,caller)=>{import_prop_types2.default.checkPropTypes(propTypes,options2,"prop",caller.name)};var SelectedItemClick="__selected_item_click__",SelectedItemKeyDownDelete="__selected_item_keydown_delete__",SelectedItemKeyDownBackspace="__selected_item_keydown_backspace__",SelectedItemKeyDownNavigationNext="__selected_item_keydown_navigation_next__",SelectedItemKeyDownNavigationPrevious="__selected_item_keydown_navigation_previous__",DropdownKeyDownNavigationPrevious="__dropdown_keydown_navigation_previous__",DropdownKeyDownBackspace="__dropdown_keydown_backspace__",DropdownClick="__dropdown_click__",FunctionAddSelectedItem="__function_add_selected_item__",FunctionRemoveSelectedItem="__function_remove_selected_item__",FunctionSetSelectedItems="__function_set_selected_items__",FunctionSetActiveIndex="__function_set_active_index__",FunctionReset="__function_reset__",stateChangeTypes=Object.freeze({__proto__:null,SelectedItemClick,SelectedItemKeyDownDelete,SelectedItemKeyDownBackspace,SelectedItemKeyDownNavigationNext,SelectedItemKeyDownNavigationPrevious,DropdownKeyDownNavigationPrevious,DropdownKeyDownBackspace,DropdownClick,FunctionAddSelectedItem,FunctionRemoveSelectedItem,FunctionSetSelectedItems,FunctionSetActiveIndex,FunctionReset});function downshiftMultipleSelectionReducer(state,action){let{type,index,props,selectedItem}=action,{activeIndex,selectedItems}=state,changes;switch(type){case SelectedItemClick:changes={activeIndex:index};break;case SelectedItemKeyDownNavigationPrevious:changes={activeIndex:activeIndex-1<0?0:activeIndex-1};break;case SelectedItemKeyDownNavigationNext:changes={activeIndex:activeIndex+1>=selectedItems.length?-1:activeIndex+1};break;case SelectedItemKeyDownBackspace:case SelectedItemKeyDownDelete:{let newActiveIndex=activeIndex;selectedItems.length===1?newActiveIndex=-1:activeIndex===selectedItems.length-1&&(newActiveIndex=selectedItems.length-2),changes={selectedItems:[...selectedItems.slice(0,activeIndex),...selectedItems.slice(activeIndex+1)],activeIndex:newActiveIndex};break}case DropdownKeyDownNavigationPrevious:changes={activeIndex:selectedItems.length-1};break;case DropdownKeyDownBackspace:changes={selectedItems:selectedItems.slice(0,selectedItems.length-1)};break;case FunctionAddSelectedItem:changes={selectedItems:[...selectedItems,selectedItem]};break;case DropdownClick:changes={activeIndex:-1};break;case FunctionRemoveSelectedItem:{let newActiveIndex=activeIndex,selectedItemIndex=selectedItems.indexOf(selectedItem);selectedItemIndex>=0&&(selectedItems.length===1?newActiveIndex=-1:selectedItemIndex===selectedItems.length-1&&(newActiveIndex=selectedItems.length-2),changes={selectedItems:[...selectedItems.slice(0,selectedItemIndex),...selectedItems.slice(selectedItemIndex+1)],activeIndex:newActiveIndex});break}case FunctionSetSelectedItems:{let{selectedItems:newSelectedItems}=action;changes={selectedItems:newSelectedItems};break}case FunctionSetActiveIndex:{let{activeIndex:newActiveIndex}=action;changes={activeIndex:newActiveIndex};break}case FunctionReset:changes={activeIndex:getDefaultValue(props,"activeIndex"),selectedItems:getDefaultValue(props,"selectedItems")};break;default:throw new Error("Reducer called without proper action type.")}return{...state,...changes}}useMultipleSelection.stateChangeTypes=stateChangeTypes;function useMultipleSelection(userProps){userProps===void 0&&(userProps={}),validatePropTypes(userProps,useMultipleSelection);let props={...defaultProps,...userProps},{getA11yRemovalMessage:getA11yRemovalMessage2,itemToString:itemToString2,environment,keyNavigationNext,keyNavigationPrevious}=props,[state,dispatch]=useControlledReducer$1(downshiftMultipleSelectionReducer,getInitialState(props),props),{activeIndex,selectedItems}=state,isInitialMountRef=(0,import_react20.useRef)(!0),dropdownRef=(0,import_react20.useRef)(null),previousSelectedItemsRef=(0,import_react20.useRef)(selectedItems),selectedItemRefs=(0,import_react20.useRef)();selectedItemRefs.current=[];let latest=useLatestRef({state,props});(0,import_react20.useEffect)(()=>{if(!isInitialMountRef.current){if(selectedItems.lengthselectedItems.indexOf(item)<0);setStatus(getA11yRemovalMessage2({itemToString:itemToString2,resultCount:selectedItems.length,removedSelectedItem,activeIndex,activeSelectedItem:selectedItems[activeIndex]}),environment.document)}previousSelectedItemsRef.current=selectedItems}},[selectedItems.length]),(0,import_react20.useEffect)(()=>{isInitialMountRef.current||(activeIndex===-1&&dropdownRef.current?dropdownRef.current.focus():selectedItemRefs.current[activeIndex]&&selectedItemRefs.current[activeIndex].focus())},[activeIndex]),useControlPropsValidator({isInitialMount:isInitialMountRef.current,props,state});let setGetterPropCallInfo=useGetterPropsCalledChecker("getDropdownProps");(0,import_react20.useEffect)(()=>{isInitialMountRef.current=!1},[]);let selectedItemKeyDownHandlers=(0,import_react20.useMemo)(()=>({[keyNavigationPrevious](){dispatch({type:SelectedItemKeyDownNavigationPrevious})},[keyNavigationNext](){dispatch({type:SelectedItemKeyDownNavigationNext})},Delete(){dispatch({type:SelectedItemKeyDownDelete})},Backspace(){dispatch({type:SelectedItemKeyDownBackspace})}}),[dispatch,keyNavigationNext,keyNavigationPrevious]),dropdownKeyDownHandlers=(0,import_react20.useMemo)(()=>({[keyNavigationPrevious](event){isKeyDownOperationPermitted(event)&&dispatch({type:DropdownKeyDownNavigationPrevious})},Backspace(event){isKeyDownOperationPermitted(event)&&dispatch({type:DropdownKeyDownBackspace})}}),[dispatch,keyNavigationPrevious]),getSelectedItemProps=(0,import_react20.useCallback)(function(_temp){let{refKey="ref",ref,onClick,onKeyDown,selectedItem,index,...rest}=_temp===void 0?{}:_temp,{state:latestState}=latest.current;if(getItemIndex(index,selectedItem,latestState.selectedItems)<0)throw new Error("Pass either selectedItem or index in getSelectedItemProps!");let selectedItemHandleClick=()=>{dispatch({type:SelectedItemClick,index})},selectedItemHandleKeyDown=event=>{let key=normalizeArrowKey(event);key&&selectedItemKeyDownHandlers[key]&&selectedItemKeyDownHandlers[key](event)};return{[refKey]:handleRefs(ref,selectedItemNode=>{selectedItemNode&&selectedItemRefs.current.push(selectedItemNode)}),tabIndex:index===latestState.activeIndex?0:-1,onClick:callAllEventHandlers(onClick,selectedItemHandleClick),onKeyDown:callAllEventHandlers(onKeyDown,selectedItemHandleKeyDown),...rest}},[dispatch,latest,selectedItemKeyDownHandlers]),getDropdownProps=(0,import_react20.useCallback)(function(_temp2,_temp3){let{refKey="ref",ref,onKeyDown,onClick,preventKeyAction=!1,...rest}=_temp2===void 0?{}:_temp2,{suppressRefError=!1}=_temp3===void 0?{}:_temp3;setGetterPropCallInfo("getDropdownProps",suppressRefError,refKey,dropdownRef);let dropdownHandleKeyDown=event=>{let key=normalizeArrowKey(event);key&&dropdownKeyDownHandlers[key]&&dropdownKeyDownHandlers[key](event)},dropdownHandleClick=()=>{dispatch({type:DropdownClick})};return{[refKey]:handleRefs(ref,dropdownNode=>{dropdownNode&&(dropdownRef.current=dropdownNode)}),...!preventKeyAction&&{onKeyDown:callAllEventHandlers(onKeyDown,dropdownHandleKeyDown),onClick:callAllEventHandlers(onClick,dropdownHandleClick)},...rest}},[dispatch,dropdownKeyDownHandlers,setGetterPropCallInfo]),addSelectedItem=(0,import_react20.useCallback)(selectedItem=>{dispatch({type:FunctionAddSelectedItem,selectedItem})},[dispatch]),removeSelectedItem=(0,import_react20.useCallback)(selectedItem=>{dispatch({type:FunctionRemoveSelectedItem,selectedItem})},[dispatch]),setSelectedItems=(0,import_react20.useCallback)(newSelectedItems=>{dispatch({type:FunctionSetSelectedItems,selectedItems:newSelectedItems})},[dispatch]),setActiveIndex=(0,import_react20.useCallback)(newActiveIndex=>{dispatch({type:FunctionSetActiveIndex,activeIndex:newActiveIndex})},[dispatch]),reset=(0,import_react20.useCallback)(()=>{dispatch({type:FunctionReset})},[dispatch]);return{getSelectedItemProps,getDropdownProps,addSelectedItem,removeSelectedItem,setSelectedItems,setActiveIndex,reset,selectedItems,activeIndex}}var import_fuse=__toESM(require_fuse());var import_react21=__toESM(require_react());function isExpandType(x2){return!!(x2&&x2.showAll)}function isSearchResult(x2){return!!(x2&&x2.item)}var{document:document6}=scope,DEFAULT_MAX_SEARCH_RESULTS=50,options={shouldSort:!0,tokenize:!0,findAllMatches:!0,includeScore:!0,includeMatches:!0,threshold:.2,location:0,distance:100,maxPatternLength:32,minMatchCharLength:1,keys:[{name:"name",weight:.7},{name:"path",weight:.3}]},ScreenReaderLabel=newStyled.label({position:"absolute",left:-1e4,top:"auto",width:1,height:1,overflow:"hidden"}),SearchIconWrapper=newStyled.div(({theme})=>({position:"absolute",top:0,left:8,zIndex:1,pointerEvents:"none",color:theme.textMutedColor,display:"flex",alignItems:"center",height:"100%"})),SearchField=newStyled.div({display:"flex",flexDirection:"column",position:"relative"}),Input=newStyled.input(({theme})=>({appearance:"none",height:32,paddingLeft:28,paddingRight:28,border:`1px solid ${theme.appBorderColor}`,background:"transparent",borderRadius:4,fontSize:`${theme.typography.size.s1+1}px`,fontFamily:"inherit",transition:"all 150ms",color:theme.color.defaultText,width:"100%","&:focus, &:active":{outline:0,borderColor:theme.color.secondary,background:theme.background.app},"&::placeholder":{color:theme.textMutedColor,opacity:1},"&:valid ~ code, &:focus ~ code":{display:"none"},"&:invalid ~ svg":{display:"none"},"&:valid ~ svg":{display:"block"},"&::-ms-clear":{display:"none"},"&::-webkit-search-decoration, &::-webkit-search-cancel-button, &::-webkit-search-results-button, &::-webkit-search-results-decoration":{display:"none"}})),FocusKey=newStyled.code(({theme})=>({position:"absolute",top:8,right:9,height:16,zIndex:1,lineHeight:"16px",textAlign:"center",fontSize:"11px",color:theme.base==="light"?theme.color.dark:theme.textMutedColor,userSelect:"none",pointerEvents:"none",display:"flex",alignItems:"center",gap:4})),FocusKeyCmd=newStyled.span({fontSize:"14px"}),ClearIcon=newStyled.div(({theme})=>({position:"absolute",top:0,right:8,zIndex:1,color:theme.textMutedColor,cursor:"pointer",display:"flex",alignItems:"center",height:"100%"})),FocusContainer=newStyled.div({outline:0}),Search=import_react21.default.memo(function({children,dataset,enableShortcuts=!0,getLastViewed,initialQuery=""}){let api=useStorybookApi(),inputRef=(0,import_react21.useRef)(null),[inputPlaceholder,setPlaceholder]=(0,import_react21.useState)("Find components"),[allComponents,showAllComponents]=(0,import_react21.useState)(!1),searchShortcut=api?shortcutToHumanString(api.getShortcutKeys().search):"/",selectStory=(0,import_react21.useCallback)((id,refId)=>{api&&api.selectStory(id,void 0,{ref:refId!==DEFAULT_REF_ID&&refId}),inputRef.current.blur(),showAllComponents(!1)},[api,inputRef,showAllComponents,DEFAULT_REF_ID]),makeFuse=(0,import_react21.useCallback)(()=>{let list=dataset.entries.reduce((acc,[refId,{index,status}])=>{let groupStatus=getGroupStatus(index||{},status);return index&&acc.push(...Object.values(index).map(item=>{let statusValue=status&&status[item.id]?getHighestStatus(Object.values(status[item.id]||{}).map(s2=>s2.status)):null;return{...searchItem(item,dataset.hash[refId]),status:statusValue||groupStatus[item.id]||null}})),acc},[]);return new import_fuse.default(list,options)},[dataset]),getResults=(0,import_react21.useCallback)(input=>{let fuse=makeFuse();if(!input)return[];let results=[],resultIds=new Set,distinctResults=fuse.search(input).filter(({item})=>!(item.type==="component"||item.type==="docs"||item.type==="story")||resultIds.has(item.parent)?!1:(resultIds.add(item.id),!0));return distinctResults.length&&(results=distinctResults.slice(0,allComponents?1e3:DEFAULT_MAX_SEARCH_RESULTS),distinctResults.length>DEFAULT_MAX_SEARCH_RESULTS&&!allComponents&&results.push({showAll:()=>showAllComponents(!0),totalCount:distinctResults.length,moreCount:distinctResults.length-DEFAULT_MAX_SEARCH_RESULTS})),results},[allComponents,makeFuse]),stateReducer2=(0,import_react21.useCallback)((state,changes)=>{switch(changes.type){case Downshift$1.stateChangeTypes.blurInput:return{...changes,inputValue:state.inputValue,isOpen:state.inputValue&&!state.selectedItem,selectedItem:null};case Downshift$1.stateChangeTypes.mouseUp:return{};case Downshift$1.stateChangeTypes.keyDownEscape:return state.inputValue?{...changes,inputValue:"",isOpen:!0,selectedItem:null}:(inputRef.current.blur(),{...changes,isOpen:!1,selectedItem:null});case Downshift$1.stateChangeTypes.clickItem:case Downshift$1.stateChangeTypes.keyDownEnter:{if(isSearchResult(changes.selectedItem)){let{id,refId}=changes.selectedItem.item;return selectStory(id,refId),{...changes,inputValue:state.inputValue,isOpen:!1}}return isExpandType(changes.selectedItem)?(changes.selectedItem.showAll(),{}):changes}case Downshift$1.stateChangeTypes.changeInput:return showAllComponents(!1),changes;default:return changes}},[inputRef,selectStory,showAllComponents]),{isMobile}=useLayout();return import_react21.default.createElement(Downshift$1,{initialInputValue:initialQuery,stateReducer:stateReducer2,itemToString:result=>result?.item?.name||"",scrollIntoView:e3=>scrollIntoView(e3)},({isOpen,openMenu,closeMenu,inputValue,clearSelection,getInputProps,getItemProps,getLabelProps,getMenuProps,getRootProps,highlightedIndex})=>{let input=inputValue?inputValue.trim():"",results=input?getResults(input):[],lastViewed=!input&&getLastViewed();lastViewed&&lastViewed.length&&(results=lastViewed.reduce((acc,{storyId,refId})=>{let data=dataset.hash[refId];if(data&&data.index&&data.index[storyId]){let story=data.index[storyId],item=story.type==="story"?data.index[story.parent]:story;acc.some(res=>res.item.refId===refId&&res.item.id===item.id)||acc.push({item:searchItem(item,dataset.hash[refId]),matches:[],score:0})}return acc},[]));let inputId="storybook-explorer-searchfield",inputProps=getInputProps({id:inputId,ref:inputRef,required:!0,type:"search",placeholder:inputPlaceholder,onFocus:()=>{openMenu(),setPlaceholder("Type to find...")},onBlur:()=>setPlaceholder("Find components")}),labelProps=getLabelProps({htmlFor:inputId});return import_react21.default.createElement(import_react21.default.Fragment,null,import_react21.default.createElement(ScreenReaderLabel,{...labelProps},"Search for components"),import_react21.default.createElement(SearchField,{...getRootProps({refKey:""},{suppressRefError:!0}),className:"search-field"},import_react21.default.createElement(SearchIconWrapper,null,import_react21.default.createElement(SearchIcon,null)),import_react21.default.createElement(Input,{...inputProps}),!isMobile&&enableShortcuts&&!isOpen&&import_react21.default.createElement(FocusKey,null,searchShortcut==="\u2318 K"?import_react21.default.createElement(import_react21.default.Fragment,null,import_react21.default.createElement(FocusKeyCmd,null,"\u2318"),"K"):searchShortcut),isOpen&&import_react21.default.createElement(ClearIcon,{onClick:()=>clearSelection()},import_react21.default.createElement(CloseIcon,null))),import_react21.default.createElement(FocusContainer,{tabIndex:0,id:"storybook-explorer-menu"},children({query:input,results,isBrowsing:!isOpen&&document6.activeElement!==inputRef.current,closeMenu,getMenuProps,getItemProps,highlightedIndex})))})});var import_react22=__toESM(require_react());var{document:document7}=scope,ResultsList=newStyled.ol({listStyle:"none",margin:0,padding:0}),ResultRow=newStyled.li(({theme,isHighlighted})=>({width:"100%",border:"none",cursor:"pointer",display:"flex",alignItems:"start",textAlign:"left",color:"inherit",fontSize:`${theme.typography.size.s2}px`,background:isHighlighted?theme.background.hoverable:"transparent",minHeight:28,borderRadius:4,gap:6,paddingTop:7,paddingBottom:7,paddingLeft:8,paddingRight:8,"&:hover, &:focus":{background:curriedTransparentize$1(.93,theme.color.secondary),outline:"none"}})),IconWrapper=newStyled.div({marginTop:2}),ResultRowContent=newStyled.div(()=>({display:"flex",flexDirection:"column"})),NoResults=newStyled.div(({theme})=>({marginTop:20,textAlign:"center",fontSize:`${theme.typography.size.s2}px`,lineHeight:"18px",color:theme.color.defaultText,small:{color:theme.barTextColor,fontSize:`${theme.typography.size.s1}px`}})),Mark=newStyled.mark(({theme})=>({background:"transparent",color:theme.color.secondary})),MoreWrapper=newStyled.div({marginTop:8}),RecentlyOpenedTitle=newStyled.div(({theme})=>({display:"flex",justifyContent:"space-between",fontSize:`${theme.typography.size.s1-1}px`,fontWeight:theme.typography.weight.bold,minHeight:28,letterSpacing:"0.16em",textTransform:"uppercase",color:theme.textMutedColor,marginTop:16,marginBottom:4,alignItems:"center",".search-result-recentlyOpened-clear":{visibility:"hidden"},"&:hover":{".search-result-recentlyOpened-clear":{visibility:"visible"}}})),Highlight=import_react22.default.memo(function({children,match}){if(!match)return children;let{value,indices}=match,{nodes:result}=indices.reduce(({cursor,nodes},[start,end],index,{length})=>(nodes.push(import_react22.default.createElement("span",{key:`${index}-1`},value.slice(cursor,start))),nodes.push(import_react22.default.createElement(Mark,{key:`${index}-2`},value.slice(start,end+1))),index===length-1&&nodes.push(import_react22.default.createElement("span",{key:`${index}-3`},value.slice(end+1))),{cursor:end+1,nodes}),{cursor:0,nodes:[]});return import_react22.default.createElement("span",null,result)}),Title=newStyled.div(({theme})=>({display:"grid",justifyContent:"start",gridAutoColumns:"auto",gridAutoFlow:"column",color:theme.textMutedColor,"& > span":{display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}})),Path=newStyled.div(({theme})=>({display:"grid",justifyContent:"start",gridAutoColumns:"auto",gridAutoFlow:"column",color:theme.textMutedColor,fontSize:`${theme.typography.size.s1-1}px`,"& > span":{display:"block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},"& > span + span":{"&:before":{content:"' / '"}}})),Result=import_react22.default.memo(function({item,matches,icon,onClick,...props}){let click=(0,import_react22.useCallback)(event=>{event.preventDefault(),onClick(event)},[onClick]),api=useStorybookApi();(0,import_react22.useEffect)(()=>{api&&props.isHighlighted&&item.type==="component"&&api.emit(PRELOAD_ENTRIES,{ids:[item.children[0]]},{options:{target:item.refId}})},[props.isHighlighted,item]);let nameMatch=matches.find(match=>match.key==="name"),pathMatches=matches.filter(match=>match.key==="path"),[i3]=item.status?statusMapping[item.status]:[];return import_react22.default.createElement(ResultRow,{...props,onClick:click},import_react22.default.createElement(IconWrapper,null,item.type==="component"&&import_react22.default.createElement(TypeIcon,{viewBox:"0 0 14 14",width:"14",height:"14",type:"component"},import_react22.default.createElement(UseSymbol,{type:"component"})),item.type==="story"&&import_react22.default.createElement(TypeIcon,{viewBox:"0 0 14 14",width:"14",height:"14",type:"story"},import_react22.default.createElement(UseSymbol,{type:"story"})),!(item.type==="component"||item.type==="story")&&import_react22.default.createElement(TypeIcon,{viewBox:"0 0 14 14",width:"14",height:"14",type:"document"},import_react22.default.createElement(UseSymbol,{type:"document"}))),import_react22.default.createElement(ResultRowContent,{className:"search-result-item--label"},import_react22.default.createElement(Title,null,import_react22.default.createElement(Highlight,{match:nameMatch},item.name)),import_react22.default.createElement(Path,null,item.path.map((group,index)=>import_react22.default.createElement("span",{key:index},import_react22.default.createElement(Highlight,{match:pathMatches.find(match=>match.arrayIndex===index)},group))))),item.status?i3:null)}),SearchResults=import_react22.default.memo(function({query,results,closeMenu,getMenuProps,getItemProps,highlightedIndex,isLoading=!1,enableShortcuts=!0,clearLastViewed}){let api=useStorybookApi();(0,import_react22.useEffect)(()=>{let handleEscape=event=>{if(!(!enableShortcuts||isLoading||event.repeat)&&matchesModifiers(!1,event)&&matchesKeyCode("Escape",event)){if(event.target?.id==="storybook-explorer-searchfield")return;event.preventDefault(),closeMenu()}};return document7.addEventListener("keydown",handleEscape),()=>document7.removeEventListener("keydown",handleEscape)},[closeMenu,enableShortcuts,isLoading]);let mouseOverHandler=(0,import_react22.useCallback)(event=>{if(!api)return;let currentTarget=event.currentTarget,storyId=currentTarget.getAttribute("data-id"),refId=currentTarget.getAttribute("data-refid"),item=api.resolveStory(storyId,refId==="storybook_internal"?void 0:refId);item?.type==="component"&&api.emit(PRELOAD_ENTRIES,{ids:[item.isLeaf?item.id:item.children[0]],options:{target:refId}})},[]),handleClearLastViewed=()=>{clearLastViewed(),closeMenu()};return import_react22.default.createElement(ResultsList,{...getMenuProps()},results.length>0&&!query&&import_react22.default.createElement(RecentlyOpenedTitle,{className:"search-result-recentlyOpened"},"Recently opened",import_react22.default.createElement(IconButton,{className:"search-result-recentlyOpened-clear",onClick:handleClearLastViewed},import_react22.default.createElement(TrashIcon,null))),results.length===0&&query&&import_react22.default.createElement("li",null,import_react22.default.createElement(NoResults,null,import_react22.default.createElement("strong",null,"No components found"),import_react22.default.createElement("br",null),import_react22.default.createElement("small",null,"Find components by name or path."))),results.map((result,index)=>{if(isExpandType(result))return import_react22.default.createElement(MoreWrapper,{key:"search-result-expand"},import_react22.default.createElement(Button,{...result,...getItemProps({key:index,index,item:result}),size:"small"},"Show ",result.moreCount," more results"));let{item}=result,key=`${item.refId}::${item.id}`;return import_react22.default.createElement(Result,{key:item.id,...result,...getItemProps({key,index,item:result}),isHighlighted:highlightedIndex===index,"data-id":result.item.id,"data-refid":result.item.refId,onMouseOver:mouseOverHandler,className:"search-result-item"})}))});var import_debounce=__toESM(require_debounce()),import_react23=__toESM(require_react()),import_store2=__toESM(require_store2()),save=(0,import_debounce.default)(value=>import_store2.default.set("lastViewedStoryIds",value),1e3),useLastViewed=selection=>{let initialLastViewedStoryIds=(0,import_react23.useMemo)(()=>{let items=import_store2.default.get("lastViewedStoryIds");return!items||!Array.isArray(items)?[]:items.some(item=>typeof item=="object"&&item.storyId&&item.refId)?items:[]},[import_store2.default]),lastViewedRef=(0,import_react23.useRef)(initialLastViewedStoryIds),updateLastViewed=(0,import_react23.useCallback)(story=>{let items=lastViewedRef.current,index=items.findIndex(({storyId,refId})=>storyId===story.storyId&&refId===story.refId);index!==0&&(index===-1?lastViewedRef.current=[story,...items]:lastViewedRef.current=[story,...items.slice(0,index),...items.slice(index+1)],save(lastViewedRef.current))},[lastViewedRef]);return(0,import_react23.useEffect)(()=>{selection&&updateLastViewed(selection)},[selection]),{getLastViewed:(0,import_react23.useCallback)(()=>lastViewedRef.current,[lastViewedRef]),clearLastViewed:(0,import_react23.useCallback)(()=>{lastViewedRef.current=lastViewedRef.current.slice(0,1),save(lastViewedRef.current)},[lastViewedRef])}};var DEFAULT_REF_ID="storybook_internal",Container2=newStyled.nav(({theme})=>({position:"absolute",zIndex:1,left:0,top:0,bottom:0,right:0,width:"100%",height:"100%",display:"flex",flexDirection:"column",background:theme.background.content,[MEDIA_DESKTOP_BREAKPOINT]:{background:theme.background.app}})),Top=newStyled(Spaced)({paddingLeft:12,paddingRight:12,paddingBottom:20,paddingTop:16,flex:1}),Bottom=newStyled.div(({theme})=>({borderTop:`1px solid ${theme.appBorderColor}`,padding:theme.layoutMargin/2,display:"flex",flexWrap:"wrap",gap:theme.layoutMargin/2,backgroundColor:theme.barBg,"&:empty":{display:"none"}})),Swap=import_react24.default.memo(function({children,condition}){let[a2,b2]=import_react24.default.Children.toArray(children);return import_react24.default.createElement(import_react24.default.Fragment,null,import_react24.default.createElement("div",{style:{display:condition?"block":"none"}},a2),import_react24.default.createElement("div",{style:{display:condition?"none":"block"}},b2))}),useCombination=(index,indexError,previewInitialized,status,refs)=>{let hash=(0,import_react24.useMemo)(()=>({[DEFAULT_REF_ID]:{index,indexError,previewInitialized,status,title:null,id:DEFAULT_REF_ID,url:"iframe.html"},...refs}),[refs,index,indexError,previewInitialized,status]);return(0,import_react24.useMemo)(()=>({hash,entries:Object.entries(hash)}),[hash])},Sidebar=import_react24.default.memo(function({storyId=null,refId=DEFAULT_REF_ID,index,indexError,status,previewInitialized,menu,extra,bottom=[],menuHighlighted=!1,enableShortcuts=!0,refs={},onMenuClick}){let selected=(0,import_react24.useMemo)(()=>storyId&&{storyId,refId},[storyId,refId]),dataset=useCombination(index,indexError,previewInitialized,status,refs),isLoading=!index&&!indexError,lastViewedProps=useLastViewed(selected);return import_react24.default.createElement(Container2,{className:"container sidebar-container"},import_react24.default.createElement(ScrollArea,{vertical:!0,offset:3,scrollbarSize:6},import_react24.default.createElement(Top,{row:1.6},import_react24.default.createElement(Heading,{className:"sidebar-header",menuHighlighted,menu,extra,skipLinkHref:"#storybook-preview-wrapper",isLoading,onMenuClick}),import_react24.default.createElement(Search,{dataset,enableShortcuts,...lastViewedProps},({query,results,isBrowsing,closeMenu,getMenuProps,getItemProps,highlightedIndex})=>import_react24.default.createElement(Swap,{condition:isBrowsing},import_react24.default.createElement(Explorer,{dataset,selected,isLoading,isBrowsing}),import_react24.default.createElement(SearchResults,{query,results,closeMenu,getMenuProps,getItemProps,highlightedIndex,enableShortcuts,isLoading,clearLastViewed:lastViewedProps.clearLastViewed}))))),isLoading?null:import_react24.default.createElement(Bottom,{className:"sb-bar"},bottom.map(({id,render:Render})=>import_react24.default.createElement(Render,{key:id}))))});var import_react25=__toESM(require_react());var focusableUIElements={storySearchField:"storybook-explorer-searchfield",storyListMenu:"storybook-explorer-menu",storyPanelRoot:"storybook-panel-root"},Key=newStyled.span(({theme})=>({display:"inline-block",height:16,lineHeight:"16px",textAlign:"center",fontSize:"11px",background:theme.base==="light"?"rgba(0,0,0,0.05)":"rgba(255,255,255,0.05)",color:theme.base==="light"?theme.color.dark:theme.textMutedColor,borderRadius:2,userSelect:"none",pointerEvents:"none",padding:"0 6px"})),KeyChild=newStyled.code(({theme})=>` - padding: 0; - vertical-align: middle; - - & + & { - margin-left: 6px; - } -`),Shortcut=({keys})=>import_react25.default.createElement(import_react25.default.Fragment,null,import_react25.default.createElement(Key,null,keys.map((key,index)=>import_react25.default.createElement(KeyChild,{key},shortcutToHumanString([key]))))),useMenu=(state,api,showToolbar,isFullscreen,isPanelShown,isNavShown,enableShortcuts)=>{let theme=useTheme(),shortcutKeys=api.getShortcutKeys(),about=(0,import_react25.useMemo)(()=>({id:"about",title:"About your Storybook",onClick:()=>api.changeSettingsTab("about"),icon:import_react25.default.createElement(InfoIcon,null)}),[api]),documentation=(0,import_react25.useMemo)(()=>({id:"documentation",title:"Documentation",href:api.getDocsUrl({versioned:!0,renderer:!0}),icon:import_react25.default.createElement(ShareAltIcon,null)}),[api]),whatsNewNotificationsEnabled=state.whatsNewData?.status==="SUCCESS"&&!state.disableWhatsNewNotifications,isWhatsNewUnread=api.isWhatsNewUnread(),whatsNew=(0,import_react25.useMemo)(()=>({id:"whats-new",title:"What's new?",onClick:()=>api.changeSettingsTab("whats-new"),right:whatsNewNotificationsEnabled&&isWhatsNewUnread&&import_react25.default.createElement(Badge,{status:"positive"},"Check it out"),icon:import_react25.default.createElement(WandIcon,null)}),[api,whatsNewNotificationsEnabled,isWhatsNewUnread]),shortcuts=(0,import_react25.useMemo)(()=>({id:"shortcuts",title:"Keyboard shortcuts",onClick:()=>api.changeSettingsTab("shortcuts"),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.shortcutsPage}):null,style:{borderBottom:`4px solid ${theme.appBorderColor}`}}),[api,enableShortcuts,shortcutKeys.shortcutsPage,theme.appBorderColor]),sidebarToggle=(0,import_react25.useMemo)(()=>({id:"S",title:"Show sidebar",onClick:()=>api.toggleNav(),active:isNavShown,right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.toggleNav}):null,icon:isNavShown?import_react25.default.createElement(CheckIcon,null):null}),[api,enableShortcuts,shortcutKeys,isNavShown]),toolbarToogle=(0,import_react25.useMemo)(()=>({id:"T",title:"Show toolbar",onClick:()=>api.toggleToolbar(),active:showToolbar,right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.toolbar}):null,icon:showToolbar?import_react25.default.createElement(CheckIcon,null):null}),[api,enableShortcuts,shortcutKeys,showToolbar]),addonsToggle=(0,import_react25.useMemo)(()=>({id:"A",title:"Show addons",onClick:()=>api.togglePanel(),active:isPanelShown,right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.togglePanel}):null,icon:isPanelShown?import_react25.default.createElement(CheckIcon,null):null}),[api,enableShortcuts,shortcutKeys,isPanelShown]),addonsOrientationToggle=(0,import_react25.useMemo)(()=>({id:"D",title:"Change addons orientation",onClick:()=>api.togglePanelPosition(),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.panelPosition}):null}),[api,enableShortcuts,shortcutKeys]),fullscreenToggle=(0,import_react25.useMemo)(()=>({id:"F",title:"Go full screen",onClick:()=>api.toggleFullscreen(),active:isFullscreen,right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.fullScreen}):null,icon:isFullscreen?import_react25.default.createElement(CheckIcon,null):null}),[api,enableShortcuts,shortcutKeys,isFullscreen]),searchToggle=(0,import_react25.useMemo)(()=>({id:"/",title:"Search",onClick:()=>api.focusOnUIElement(focusableUIElements.storySearchField),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.search}):null}),[api,enableShortcuts,shortcutKeys]),up=(0,import_react25.useMemo)(()=>({id:"up",title:"Previous component",onClick:()=>api.jumpToComponent(-1),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.prevComponent}):null}),[api,enableShortcuts,shortcutKeys]),down=(0,import_react25.useMemo)(()=>({id:"down",title:"Next component",onClick:()=>api.jumpToComponent(1),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.nextComponent}):null}),[api,enableShortcuts,shortcutKeys]),prev=(0,import_react25.useMemo)(()=>({id:"prev",title:"Previous story",onClick:()=>api.jumpToStory(-1),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.prevStory}):null}),[api,enableShortcuts,shortcutKeys]),next=(0,import_react25.useMemo)(()=>({id:"next",title:"Next story",onClick:()=>api.jumpToStory(1),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.nextStory}):null}),[api,enableShortcuts,shortcutKeys]),collapse=(0,import_react25.useMemo)(()=>({id:"collapse",title:"Collapse all",onClick:()=>api.collapseAll(),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:shortcutKeys.collapseAll}):null}),[api,enableShortcuts,shortcutKeys]),getAddonsShortcuts=(0,import_react25.useCallback)(()=>{let addonsShortcuts=api.getAddonsShortcuts(),keys=shortcutKeys;return Object.entries(addonsShortcuts).filter(([_2,{showInMenu}])=>showInMenu).map(([actionName,{label,action}])=>({id:actionName,title:label,onClick:()=>action(),right:enableShortcuts?import_react25.default.createElement(Shortcut,{keys:keys[actionName]}):null}))},[api,enableShortcuts,shortcutKeys]);return(0,import_react25.useMemo)(()=>[about,...state.whatsNewData?.status==="SUCCESS"?[whatsNew]:[],documentation,shortcuts,sidebarToggle,toolbarToogle,addonsToggle,addonsOrientationToggle,fullscreenToggle,searchToggle,up,down,prev,next,collapse,...getAddonsShortcuts()],[about,state,whatsNew,documentation,shortcuts,sidebarToggle,toolbarToogle,addonsToggle,addonsOrientationToggle,fullscreenToggle,searchToggle,up,down,prev,next,collapse,getAddonsShortcuts])};var Sidebar3=import_react26.default.memo(function({onMenuClick}){return import_react26.default.createElement(ManagerConsumer,{filter:({state,api})=>{let{ui:{name,url,enableShortcuts},viewMode,storyId,refId,layout:{showToolbar},index,status,indexError,previewInitialized,refs}=state,menu=useMenu(state,api,showToolbar,api.getIsFullscreen(),api.getIsPanelShown(),api.getIsNavShown(),enableShortcuts),whatsNewNotificationsEnabled=state.whatsNewData?.status==="SUCCESS"&&!state.disableWhatsNewNotifications,bottomItems=api.getElements(Addon_TypesEnum.experimental_SIDEBAR_BOTTOM),topItems=api.getElements(Addon_TypesEnum.experimental_SIDEBAR_TOP),bottom=(0,import_react26.useMemo)(()=>Object.values(bottomItems),[Object.keys(bottomItems).join("")]),top=(0,import_react26.useMemo)(()=>Object.values(topItems),[Object.keys(topItems).join("")]);return{title:name,url,index,indexError,status,previewInitialized,refs,storyId,refId,viewMode,menu,menuHighlighted:whatsNewNotificationsEnabled&&api.isWhatsNewUnread(),enableShortcuts,bottom,extra:top}}},fromState=>import_react26.default.createElement(Sidebar,{...fromState,onMenuClick}))}),Sidebar_default=Sidebar3;var import_react38=__toESM(require_react()),import_memoizerific2=__toESM(require_memoizerific());var import_react36=__toESM(require_react());var PreviewContainer=newStyled.main({display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"hidden"}),FrameWrap=newStyled.div({overflow:"auto",width:"100%",zIndex:3,background:"transparent",flex:1}),CanvasWrap=newStyled.div({alignContent:"center",alignItems:"center",justifyContent:"center",justifyItems:"center",overflow:"auto",gridTemplateColumns:"100%",gridTemplateRows:"100%",position:"relative",width:"100%",height:"100%"},({show})=>({display:show?"grid":"none"})),UnstyledLink=newStyled(Link2)({color:"inherit",textDecoration:"inherit",display:"inline-block"}),DesktopOnly=newStyled.span({"@media (max-width: 599px)":{display:"none"}}),IframeWrapper=newStyled.div(({theme})=>({alignContent:"center",alignItems:"center",justifyContent:"center",justifyItems:"center",overflow:"auto",display:"grid",gridTemplateColumns:"100%",gridTemplateRows:"100%",position:"relative",width:"100%",height:"100%"})),LoaderWrapper=newStyled.div(({theme})=>({position:"absolute",top:0,left:0,bottom:0,right:0,background:theme.background.preview,zIndex:1}));var import_react27=__toESM(require_react());var initialZoom=1,Context=(0,import_react27.createContext)({value:initialZoom,set:v2=>{}}),ZoomProvider=class extends import_react27.Component{constructor(){super(...arguments);this.state={value:initialZoom};this.set=value=>this.setState({value})}render(){let{children,shouldScale}=this.props,{set}=this,{value}=this.state;return import_react27.default.createElement(Context.Provider,{value:{value:shouldScale?value:initialZoom,set}},children)}},{Consumer:ZoomConsumer}=Context,Zoom2=(0,import_react27.memo)(function({zoomIn,zoomOut,reset}){return import_react27.default.createElement(import_react27.default.Fragment,null,import_react27.default.createElement(IconButton,{key:"zoomin",onClick:zoomIn,title:"Zoom in"},import_react27.default.createElement(ZoomIcon,null)),import_react27.default.createElement(IconButton,{key:"zoomout",onClick:zoomOut,title:"Zoom out"},import_react27.default.createElement(ZoomOutIcon,null)),import_react27.default.createElement(IconButton,{key:"zoomreset",onClick:reset,title:"Reset zoom"},import_react27.default.createElement(ZoomResetIcon,null)))});var ZoomWrapper=(0,import_react27.memo)(function({set,value}){let zoomIn=(0,import_react27.useCallback)(e3=>{e3.preventDefault(),set(.8*value)},[set,value]),zoomOut=(0,import_react27.useCallback)(e3=>{e3.preventDefault(),set(1.25*value)},[set,value]),reset=(0,import_react27.useCallback)(e3=>{e3.preventDefault(),set(initialZoom)},[set,initialZoom]);return import_react27.default.createElement(Zoom2,{key:"zoom",zoomIn,zoomOut,reset})});function ZoomToolRenderer(){return import_react27.default.createElement(import_react27.default.Fragment,null,import_react27.default.createElement(ZoomConsumer,null,({set,value})=>import_react27.default.createElement(ZoomWrapper,{set,value})),import_react27.default.createElement(Separator,null))}var zoomTool={title:"zoom",id:"zoom",type:typesX.TOOL,match:({viewMode,tabId})=>viewMode==="story"&&!tabId,render:ZoomToolRenderer};var import_react28=__toESM(require_react());var ApplyWrappers=({wrappers,id,storyId,children})=>import_react28.default.createElement(import_react28.Fragment,null,wrappers.reduceRight((acc,wrapper,index)=>import_react28.default.createElement(wrapper.render,{index,children:acc,id,storyId}),children)),defaultWrappers=[{id:"iframe-wrapper",type:Addon_TypesEnum.PREVIEW,render:p2=>import_react28.default.createElement(IframeWrapper,{id:"storybook-preview-wrapper"},p2.children)}];var import_react33=__toESM(require_react());var import_react29=__toESM(require_react()),import_copy_to_clipboard=__toESM(require_copy_to_clipboard());var{PREVIEW_URL,document:document8}=scope,copyMapper=({state})=>{let{storyId,refId,refs}=state,{location}=document8,ref=refs[refId],baseUrl=`${location.origin}${location.pathname}`;return baseUrl.endsWith("/")||(baseUrl+="/"),{refId,baseUrl:ref?`${ref.url}/iframe.html`:PREVIEW_URL||`${baseUrl}iframe.html`,storyId,queryParams:state.customQueryParams}},copyTool={title:"copy",id:"copy",type:typesX.TOOL,match:({viewMode,tabId})=>viewMode==="story"&&!tabId,render:()=>import_react29.default.createElement(ManagerConsumer,{filter:copyMapper},({baseUrl,storyId,queryParams})=>storyId?import_react29.default.createElement(IconButton,{key:"copy",onClick:()=>(0,import_copy_to_clipboard.default)(getStoryHref(baseUrl,storyId,queryParams)),title:"Copy canvas link"},import_react29.default.createElement(LinkIcon,null)):null)};var import_react30=__toESM(require_react());var{PREVIEW_URL:PREVIEW_URL2}=scope,ejectMapper=({state})=>{let{storyId,refId,refs}=state,ref=refs[refId];return{refId,baseUrl:ref?`${ref.url}/iframe.html`:PREVIEW_URL2||"iframe.html",storyId,queryParams:state.customQueryParams}},ejectTool={title:"eject",id:"eject",type:typesX.TOOL,match:({viewMode,tabId})=>viewMode==="story"&&!tabId,render:()=>import_react30.default.createElement(ManagerConsumer,{filter:ejectMapper},({baseUrl,storyId,queryParams})=>storyId?import_react30.default.createElement(IconButton,{key:"opener",asChild:!0},import_react30.default.createElement("a",{href:getStoryHref(baseUrl,storyId,queryParams),target:"_blank",rel:"noopener noreferrer",title:"Open canvas in new tab"},import_react30.default.createElement(ShareAltIcon,null))):null)};var import_react31=__toESM(require_react());var menuMapper=({api,state})=>({isVisible:api.getIsPanelShown(),singleStory:state.singleStory,panelPosition:state.layout.panelPosition,toggle:()=>api.togglePanel()}),addonsTool={title:"addons",id:"addons",type:typesX.TOOL,match:({viewMode,tabId})=>viewMode==="story"&&!tabId,render:()=>import_react31.default.createElement(ManagerConsumer,{filter:menuMapper},({isVisible,toggle,singleStory,panelPosition})=>!singleStory&&!isVisible&&import_react31.default.createElement(import_react31.default.Fragment,null,import_react31.default.createElement(IconButton,{"aria-label":"Show addons",key:"addons",onClick:toggle,title:"Show addons"},panelPosition==="bottom"?import_react31.default.createElement(BottomBarIcon,null):import_react31.default.createElement(SidebarAltIcon,null))))};var import_react32=__toESM(require_react());var StyledAnimatedIconButton=newStyled(IconButton)(({theme,animating,disabled})=>({opacity:disabled?.5:1,svg:{animation:animating&&`${theme.animation.rotate360} 1000ms ease-out`}})),menuMapper2=({api,state})=>{let{storyId}=state;return{storyId,remount:()=>api.emit(FORCE_REMOUNT,{storyId:state.storyId}),api}},remountTool={title:"remount",id:"remount",type:typesX.TOOL,match:({viewMode,tabId})=>viewMode==="story"&&!tabId,render:()=>import_react32.default.createElement(ManagerConsumer,{filter:menuMapper2},({remount,storyId,api})=>{let[isAnimating,setIsAnimating]=(0,import_react32.useState)(!1),remountComponent=()=>{storyId&&remount()};return api.on(FORCE_REMOUNT,()=>{setIsAnimating(!0)}),import_react32.default.createElement(StyledAnimatedIconButton,{key:"remount",title:"Remount component",onClick:remountComponent,onAnimationEnd:()=>setIsAnimating(!1),animating:isAnimating,disabled:!storyId},import_react32.default.createElement(SyncIcon,null))})};var fullScreenMapper=({api,state})=>({toggle:api.toggleFullscreen,isFullscreen:api.getIsFullscreen(),shortcut:shortcutToHumanString(api.getShortcutKeys().fullScreen),hasPanel:Object.keys(api.getElements(Addon_TypesEnum.PANEL)).length>0,singleStory:state.singleStory}),fullScreenTool={title:"fullscreen",id:"fullscreen",type:typesX.TOOL,match:p2=>["story","docs"].includes(p2.viewMode),render:()=>{let{isMobile}=useLayout();return isMobile?null:import_react33.default.createElement(ManagerConsumer,{filter:fullScreenMapper},({toggle,isFullscreen,shortcut,hasPanel,singleStory})=>(!singleStory||singleStory&&hasPanel)&&import_react33.default.createElement(IconButton,{key:"full",onClick:toggle,title:`${isFullscreen?"Exit full screen":"Go full screen"} [${shortcut}]`,"aria-label":isFullscreen?"Exit full screen":"Go full screen"},isFullscreen?import_react33.default.createElement(CloseIcon,null):import_react33.default.createElement(ExpandIcon,null)))}};var ToolbarComp=import_react33.default.memo(function({isShown,tools,toolsExtra,tabs,tabId,api}){return tabs||tools||toolsExtra?import_react33.default.createElement(Toolbar,{className:"sb-bar",key:"toolbar",shown:isShown,"data-test-id":"sb-preview-toolbar"},import_react33.default.createElement(ToolbarInner,null,import_react33.default.createElement(ToolbarLeft,null,tabs.length>1?import_react33.default.createElement(import_react33.Fragment,null,import_react33.default.createElement(TabBar,{key:"tabs"},tabs.map((tab,index)=>import_react33.default.createElement(TabButton,{disabled:tab.disabled,active:tab.id===tabId||tab.id==="canvas"&&!tabId,onClick:()=>{api.applyQueryParams({tab:tab.id==="canvas"?void 0:tab.id})},key:tab.id||`tab-${index}`},tab.title))),import_react33.default.createElement(Separator,null)):null,import_react33.default.createElement(Tools,{key:"left",list:tools})),import_react33.default.createElement(ToolbarRight,null,import_react33.default.createElement(Tools,{key:"right",list:toolsExtra})))):null}),Tools=import_react33.default.memo(function({list}){return import_react33.default.createElement(import_react33.default.Fragment,null,list.filter(Boolean).map(({render:Render,id,...t3},index)=>import_react33.default.createElement(Render,{key:id||t3.key||`f-${index}`})))});function toolbarItemHasBeenExcluded(item,entry){let parameters=entry?.type==="story"&&entry?.prepared?entry?.parameters:{},toolbarItemsFromStoryParameters="toolbar"in parameters?parameters.toolbar:void 0,{toolbar:toolbarItemsFromAddonsConfig}=addons.getConfig(),toolbarItems=merge_default(toolbarItemsFromAddonsConfig,toolbarItemsFromStoryParameters);return toolbarItems?!!toolbarItems[item?.id]?.hidden:!1}function filterToolsSide(tools,entry,viewMode,location,path,tabId){let filter=item=>item&&(!item.match||item.match({storyId:entry?.id,refId:entry?.refId,viewMode,location,path,tabId}))&&!toolbarItemHasBeenExcluded(item,entry);return tools.filter(filter)}var Toolbar=newStyled.div(({theme,shown})=>({position:"relative",color:theme.barTextColor,width:"100%",height:40,flexShrink:0,overflowX:"auto",overflowY:"hidden",marginTop:shown?0:-40,boxShadow:`${theme.appBorderColor} 0 -1px 0 0 inset`,background:theme.barBg,zIndex:4})),ToolbarInner=newStyled.div({position:"absolute",width:"calc(100% - 20px)",display:"flex",justifyContent:"space-between",flexWrap:"nowrap",flexShrink:0,height:40,marginLeft:10,marginRight:10}),ToolbarLeft=newStyled.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",gap:6,alignItems:"center"}),ToolbarRight=newStyled(ToolbarLeft)({marginLeft:30});var import_react35=__toESM(require_react());var import_react34=__toESM(require_react());var StyledIframe=newStyled.iframe(({theme})=>({backgroundColor:theme.background.preview,display:"block",boxSizing:"content-box",height:"100%",width:"100%",border:"0 none",transition:"background-position 0s, visibility 0s",backgroundPosition:"-1px -1px, -1px -1px, -1px -1px, -1px -1px",margin:"auto",boxShadow:"0 0 100px 100vw rgba(0,0,0,0.5)"}));function IFrame(props){let{active,id,title,src,allowFullScreen,scale,...rest}=props,iFrameRef=import_react34.default.useRef(null);return import_react34.default.createElement(Zoom.IFrame,{scale,active,iFrameRef},import_react34.default.createElement(StyledIframe,{"data-is-storybook":active?"true":"false",onLoad:e3=>e3.currentTarget.setAttribute("data-is-loaded","true"),id,title,src,allow:"clipboard-write;",allowFullScreen,ref:iFrameRef,...rest}))}var import_qs=__toESM(require_lib()),stringifyQueryParams=queryParams=>import_qs.default.stringify(queryParams,{addQueryPrefix:!0,encode:!1}).replace(/^\?/,"&");var getActive=(refId,refs)=>refId&&refs[refId]?`storybook-ref-${refId}`:"storybook-preview-iframe",SkipToSidebarLink=newStyled(Button)(({theme})=>({display:"none","@media (min-width: 600px)":{position:"absolute",display:"block",top:10,right:15,padding:"10px 15px",fontSize:theme.typography.size.s1,transform:"translateY(-100px)","&:focus":{transform:"translateY(0)",zIndex:1}}})),whenSidebarIsVisible=({api,state})=>({isFullscreen:api.getIsFullscreen(),isNavShown:api.getIsNavShown(),selectedStoryId:state.storyId}),styles={'#root [data-is-storybook="false"]':{display:"none"},'#root [data-is-storybook="true"]':{display:"block"}},FramesRenderer=({refs,scale,viewMode="story",refId,queryParams={},baseUrl,storyId="*"})=>{let version=refs[refId]?.version,stringifiedQueryParams=stringifyQueryParams({...queryParams,...version&&{version}}),active=getActive(refId,refs),{current:frames}=(0,import_react35.useRef)({}),refsToLoad=Object.values(refs).filter(ref=>ref.type==="auto-inject"||ref.id===refId,{});return frames["storybook-preview-iframe"]||(frames["storybook-preview-iframe"]=getStoryHref(baseUrl,storyId,{...queryParams,...version&&{version},viewMode})),refsToLoad.forEach(ref=>{let id=`storybook-ref-${ref.id}`,existingUrl=frames[id]?.split("/iframe.html")[0];if(!existingUrl||ref.url!==existingUrl){let newUrl=`${ref.url}/iframe.html?id=${storyId}&viewMode=${viewMode}&refId=${ref.id}${stringifiedQueryParams}`;frames[id]=newUrl}}),import_react35.default.createElement(import_react35.Fragment,null,import_react35.default.createElement(Global,{styles}),import_react35.default.createElement(ManagerConsumer,{filter:whenSidebarIsVisible},({isFullscreen,isNavShown,selectedStoryId})=>isFullscreen||!isNavShown||!selectedStoryId?null:import_react35.default.createElement(SkipToSidebarLink,{asChild:!0},import_react35.default.createElement("a",{href:`#${selectedStoryId}`,tabIndex:0,title:"Skip to sidebar"},"Skip to sidebar"))),Object.entries(frames).map(([id,src])=>import_react35.default.createElement(import_react35.Fragment,{key:id},import_react35.default.createElement(IFrame,{active:id===active,key:id,id,title:id,src,allowFullScreen:!0,scale}))))};var canvasMapper=({state,api})=>({storyId:state.storyId,refId:state.refId,viewMode:state.viewMode,customCanvas:api.renderPreview,queryParams:state.customQueryParams,getElements:api.getElements,entry:api.getData(state.storyId,state.refId),previewInitialized:state.previewInitialized,refs:state.refs}),createCanvasTab=()=>({id:"canvas",type:typesX.TAB,title:"Canvas",route:({storyId,refId})=>refId?`/story/${refId}_${storyId}`:`/story/${storyId}`,match:({viewMode})=>!!(viewMode&&viewMode.match(/^(story|docs)$/)),render:()=>null}),Preview=import_react36.default.memo(function(props){let{api,id:previewId,options:options2,viewMode,storyId,entry=void 0,description,baseUrl,withLoader=!0,tools,toolsExtra,tabs,wrappers,tabId}=props,tabContent=tabs.find(tab=>tab.id===tabId)?.render,shouldScale=viewMode==="story",{showToolbar}=options2,previousStoryId=(0,import_react36.useRef)(storyId);return(0,import_react36.useEffect)(()=>{if(entry&&viewMode){if(storyId===previousStoryId.current)return;if(previousStoryId.current=storyId,viewMode.match(/docs|story/)){let{refId,id}=entry;api.emit(SET_CURRENT_STORY,{storyId:id,viewMode,options:{target:refId}})}}},[entry,viewMode,storyId,api]),import_react36.default.createElement(import_react36.Fragment,null,previewId==="main"&&import_react36.default.createElement(W,{key:"description"},import_react36.default.createElement("title",null,description)),import_react36.default.createElement(ZoomProvider,{shouldScale},import_react36.default.createElement(PreviewContainer,null,import_react36.default.createElement(ToolbarComp,{key:"tools",isShown:showToolbar,tabId,tabs,tools,toolsExtra,api}),import_react36.default.createElement(FrameWrap,{key:"frame"},tabContent&&import_react36.default.createElement(IframeWrapper,null,tabContent({active:!0})),import_react36.default.createElement(CanvasWrap,{show:!tabId},import_react36.default.createElement(Canvas,{withLoader,baseUrl,wrappers}))))))});var Canvas=({baseUrl,withLoader,wrappers})=>import_react36.default.createElement(ManagerConsumer,{filter:canvasMapper},({entry,refs,customCanvas,storyId,refId,viewMode,queryParams,previewInitialized})=>{let id="canvas",[progress,setProgress]=(0,import_react36.useState)(void 0);(0,import_react36.useEffect)(()=>{if(scope.CONFIG_TYPE==="DEVELOPMENT")try{addons.getChannel().on(PREVIEW_BUILDER_PROGRESS,options2=>{setProgress(options2)})}catch{}},[]);let refLoading=!!refs[refId]&&!refs[refId].previewInitialized,isBuilding=!(progress?.value===1||progress===void 0),rootLoading=!refId&&(!previewInitialized||isBuilding),isLoading=entry&&refLoading||rootLoading;return import_react36.default.createElement(ZoomConsumer,null,({value:scale})=>import_react36.default.createElement(import_react36.default.Fragment,null,withLoader&&isLoading&&import_react36.default.createElement(LoaderWrapper,null,import_react36.default.createElement(Loader,{id:"preview-loader",role:"progressbar",progress})),import_react36.default.createElement(ApplyWrappers,{id,storyId,viewMode,wrappers},customCanvas?customCanvas(storyId,viewMode,id,baseUrl,scale,queryParams):import_react36.default.createElement(FramesRenderer,{baseUrl,refs,scale,entry,viewMode,refId,queryParams,storyId}))))});function filterTabs(panels,parameters){let{previewTabs}=addons.getConfig(),parametersTabs=parameters?parameters.previewTabs:void 0;if(previewTabs||parametersTabs){let tabs=merge_default(previewTabs,parametersTabs),arrTabs=Object.keys(tabs).map((key,index)=>({index,...typeof tabs[key]=="string"?{title:tabs[key]}:tabs[key],id:key}));return panels.filter(panel=>{let t3=arrTabs.find(tab=>tab.id===panel.id);return t3===void 0||t3.id==="canvas"||!t3.hidden}).map((panel,index)=>({...panel,index})).sort((p1,p2)=>{let tab_1=arrTabs.find(tab=>tab.id===p1.id),index_1=tab_1?tab_1.index:arrTabs.length+p1.index,tab_2=arrTabs.find(tab=>tab.id===p2.id),index_2=tab_2?tab_2.index:arrTabs.length+p2.index;return index_1-index_2}).map(panel=>{let t3=arrTabs.find(tab=>tab.id===panel.id);return t3?{...panel,title:t3.title||panel.title,disabled:t3.disabled,hidden:t3.hidden}:panel})}return panels}var import_react37=__toESM(require_react());var menuMapper3=({api,state})=>({isVisible:api.getIsNavShown(),singleStory:state.singleStory,toggle:()=>api.toggleNav()}),menuTool={title:"menu",id:"menu",type:typesX.TOOL,match:({viewMode})=>["story","docs"].includes(viewMode),render:()=>import_react37.default.createElement(ManagerConsumer,{filter:menuMapper3},({isVisible,toggle,singleStory})=>!singleStory&&!isVisible&&import_react37.default.createElement(import_react37.default.Fragment,null,import_react37.default.createElement(IconButton,{"aria-label":"Show sidebar",key:"menu",onClick:toggle,title:"Show sidebar"},import_react37.default.createElement(MenuIcon,null)),import_react37.default.createElement(Separator,null)))};var defaultTabs=[createCanvasTab()],defaultTools=[menuTool,remountTool,zoomTool],defaultToolsExtra=[addonsTool,fullScreenTool,ejectTool,copyTool],emptyTabsList=[],memoizedTabs=(0,import_memoizerific2.default)(1)((_2,tabElements,parameters,showTabs)=>showTabs?filterTabs([...defaultTabs,...Object.values(tabElements)],parameters):emptyTabsList),memoizedTools=(0,import_memoizerific2.default)(1)((_2,toolElements,filterProps)=>filterToolsSide([...defaultTools,...Object.values(toolElements)],...filterProps)),memoizedExtra=(0,import_memoizerific2.default)(1)((_2,extraElements,filterProps)=>filterToolsSide([...defaultToolsExtra,...Object.values(extraElements)],...filterProps)),memoizedWrapper=(0,import_memoizerific2.default)(1)((_2,previewElements)=>[...defaultWrappers,...Object.values(previewElements)]),{PREVIEW_URL:PREVIEW_URL3}=scope,splitTitleAddExtraSpace=input=>input.split("/").join(" / ").replace(/\s\s/," "),getDescription=item=>{if(item?.type==="story"||item?.type==="docs"){let{title,name}=item;return title&&name?splitTitleAddExtraSpace(`${title} - ${name} \u22C5 Storybook`):"Storybook"}return item?.name?`${item.name} \u22C5 Storybook`:"Storybook"},mapper=({api,state})=>{let{layout,location,customQueryParams,storyId,refs,viewMode,path,refId}=state,entry=api.getData(storyId,refId),tabsList=Object.values(api.getElements(Addon_TypesEnum.TAB)),wrapperList=Object.values(api.getElements(Addon_TypesEnum.PREVIEW)),toolsList=Object.values(api.getElements(Addon_TypesEnum.TOOL)),toolsExtraList=Object.values(api.getElements(Addon_TypesEnum.TOOLEXTRA)),tabId=api.getQueryParam("tab"),tools=memoizedTools(toolsList.length,api.getElements(Addon_TypesEnum.TOOL),[entry,viewMode,location,path,tabId]),toolsExtra=memoizedExtra(toolsExtraList.length,api.getElements(Addon_TypesEnum.TOOLEXTRA),[entry,viewMode,location,path,tabId]);return{api,entry,options:layout,description:getDescription(entry),viewMode,refs,storyId,baseUrl:PREVIEW_URL3||"iframe.html",queryParams:customQueryParams,tools,toolsExtra,tabs:memoizedTabs(tabsList.length,api.getElements(Addon_TypesEnum.TAB),entry?entry.parameters:void 0,layout.showTabs),wrappers:memoizedWrapper(wrapperList.length,api.getElements(Addon_TypesEnum.PREVIEW)),tabId}},PreviewConnected=import_react38.default.memo(function(props){return import_react38.default.createElement(ManagerConsumer,{filter:mapper},fromState=>import_react38.default.createElement(Preview,{...props,...fromState}))}),Preview_default=PreviewConnected;var import_react40=__toESM(require_react()),import_memoizerific3=__toESM(require_memoizerific());var import_react39=__toESM(require_react());var SafeTab=class extends import_react39.Component{constructor(props){super(props),this.state={hasError:!1}}componentDidCatch(error,info){this.setState({hasError:!0}),console.error(error,info)}render(){let{hasError}=this.state,{children}=this.props;return hasError?import_react39.default.createElement("h1",null,"Something went wrong."):children}},AddonPanel=import_react39.default.memo(({panels,shortcuts,actions,selectedPanel=null,panelPosition="right",absolute=!0})=>{let{isDesktop,setMobilePanelOpen}=useLayout();return import_react39.default.createElement(Tabs,{absolute,...selectedPanel?{selected:selectedPanel}:{},menuName:"Addons",actions,showToolsWhenEmpty:!0,emptyState:import_react39.default.createElement(EmptyTabContent,{title:"Storybook add-ons",description:import_react39.default.createElement(import_react39.default.Fragment,null,"Integrate your tools with Storybook to connect workflows and unlock advanced features."),footer:import_react39.default.createElement(Link22,{href:"https://storybook.js.org/integrations",target:"_blank",withArrow:!0},import_react39.default.createElement(DocumentIcon,null)," Explore integrations catalog")}),tools:import_react39.default.createElement(Actions,null,isDesktop?import_react39.default.createElement(import_react39.default.Fragment,null,import_react39.default.createElement(IconButton,{key:"position",onClick:actions.togglePosition,title:`Change addon orientation [${shortcutToHumanString(shortcuts.panelPosition)}]`},panelPosition==="bottom"?import_react39.default.createElement(SidebarAltIcon,null):import_react39.default.createElement(BottomBarIcon,null)),import_react39.default.createElement(IconButton,{key:"visibility",onClick:actions.toggleVisibility,title:`Hide addons [${shortcutToHumanString(shortcuts.togglePanel)}]`},import_react39.default.createElement(CloseIcon,null))):import_react39.default.createElement(IconButton,{onClick:()=>setMobilePanelOpen(!1),title:"Close addon panel"},import_react39.default.createElement(CloseIcon,null))),id:"storybook-panel-root"},Object.entries(panels).map(([k2,v2])=>import_react39.default.createElement(SafeTab,{key:k2,id:k2,title:typeof v2.title=="function"?import_react39.default.createElement(v2.title,null):v2.title},v2.render)))});AddonPanel.displayName="AddonPanel";var Actions=newStyled.div({display:"flex",alignItems:"center",gap:6});var createPanelActions=(0,import_memoizerific3.default)(1)(api=>({onSelect:panel=>api.setSelectedPanel(panel),toggleVisibility:()=>api.togglePanel(),togglePosition:()=>api.togglePanelPosition()})),getPanels=api=>{let allPanels=api.getElements(Addon_TypesEnum.PANEL),story=api.getCurrentStoryData();if(!allPanels||!story||story.type!=="story")return allPanels;let{parameters}=story,filteredPanels={};return Object.entries(allPanels).forEach(([id,panel])=>{let{paramKey}=panel;paramKey&¶meters&¶meters[paramKey]&¶meters[paramKey].disable||(filteredPanels[id]=panel)}),filteredPanels},mapper2=({state,api})=>({panels:getPanels(api),selectedPanel:api.getSelectedPanel(),panelPosition:state.layout.panelPosition,actions:createPanelActions(api),shortcuts:api.getShortcutKeys()}),Panel=props=>import_react40.default.createElement(ManagerConsumer,{filter:mapper2},customProps=>import_react40.default.createElement(AddonPanel,{...props,...customProps})),Panel_default=Panel;var import_react52=__toESM(require_react());var import_react41=__toESM(require_react()),SNAP_THRESHOLD_PX=30,SIDEBAR_MIN_WIDTH_PX=240,RIGHT_PANEL_MIN_WIDTH_PX=270,MIN_WIDTH_STIFFNESS=.9;function clamp(value,min,max){return Math.min(Math.max(value,min),max)}function interpolate(relativeValue,min,max){return min+(max-min)*relativeValue}function useDragging({setState,isPanelShown,isDesktop}){let panelResizerRef=(0,import_react41.useRef)(null),sidebarResizerRef=(0,import_react41.useRef)(null);return(0,import_react41.useEffect)(()=>{let panelResizer=panelResizerRef.current,sidebarResizer=sidebarResizerRef.current,previewIframe=document.querySelector("#storybook-preview-iframe"),draggedElement=null,onDragStart=e3=>{e3.preventDefault(),setState(state=>({...state,isDragging:!0})),e3.currentTarget===panelResizer?draggedElement=panelResizer:e3.currentTarget===sidebarResizer&&(draggedElement=sidebarResizer),window.addEventListener("mousemove",onDrag),window.addEventListener("mouseup",onDragEnd),previewIframe&&(previewIframe.style.pointerEvents="none")},onDragEnd=e3=>{setState(state=>draggedElement===sidebarResizer&&state.navSize0?{...state,isDragging:!1,navSize:SIDEBAR_MIN_WIDTH_PX}:draggedElement===panelResizer&&state.panelPosition==="right"&&state.rightPanelWidth0?{...state,isDragging:!1,rightPanelWidth:RIGHT_PANEL_MIN_WIDTH_PX}:{...state,isDragging:!1}),window.removeEventListener("mousemove",onDrag),window.removeEventListener("mouseup",onDragEnd),previewIframe?.removeAttribute("style"),draggedElement=null},onDrag=e3=>{if(e3.buttons===0){onDragEnd(e3);return}setState(state=>{if(draggedElement===sidebarResizer){let sidebarDragX=e3.clientX;return sidebarDragX===state.navSize?state:sidebarDragX<=SNAP_THRESHOLD_PX?{...state,navSize:0}:sidebarDragX<=SIDEBAR_MIN_WIDTH_PX?{...state,navSize:interpolate(MIN_WIDTH_STIFFNESS,sidebarDragX,SIDEBAR_MIN_WIDTH_PX)}:{...state,navSize:clamp(sidebarDragX,0,e3.view.innerWidth)}}if(draggedElement===panelResizer){let sizeAxisState=state.panelPosition==="bottom"?"bottomPanelHeight":"rightPanelWidth",panelDragSize=state.panelPosition==="bottom"?e3.view.innerHeight-e3.clientY:e3.view.innerWidth-e3.clientX;if(panelDragSize===state[sizeAxisState])return state;if(panelDragSize<=SNAP_THRESHOLD_PX)return{...state,[sizeAxisState]:0};if(state.panelPosition==="right"&&panelDragSize<=RIGHT_PANEL_MIN_WIDTH_PX)return{...state,[sizeAxisState]:interpolate(MIN_WIDTH_STIFFNESS,panelDragSize,RIGHT_PANEL_MIN_WIDTH_PX)};let sizeAxisMax=state.panelPosition==="bottom"?e3.view.innerHeight:e3.view.innerWidth;return{...state,[sizeAxisState]:clamp(panelDragSize,0,sizeAxisMax)}}return state})};return panelResizer?.addEventListener("mousedown",onDragStart),sidebarResizer?.addEventListener("mousedown",onDragStart),()=>{panelResizer?.removeEventListener("mousedown",onDragStart),sidebarResizer?.removeEventListener("mousedown",onDragStart),previewIframe?.removeAttribute("style")}},[isPanelShown,isDesktop,setState]),{panelResizerRef,sidebarResizerRef}}var import_react48=__toESM(require_react());var import_react46=__toESM(require_react());function _objectWithoutPropertiesLoose(source,excluded){if(source==null)return{};var target={},sourceKeys=Object.keys(source),key,i3;for(i3=0;i3=0)&&(target[key]=source[key]);return target}var import_prop_types4=__toESM(require_prop_types()),import_react43=__toESM(require_react()),import_react_dom=__toESM(require_react_dom());var config_default={disabled:!1};var import_prop_types3=__toESM(require_prop_types()),timeoutsShape=import_prop_types3.default.oneOfType([import_prop_types3.default.number,import_prop_types3.default.shape({enter:import_prop_types3.default.number,exit:import_prop_types3.default.number,appear:import_prop_types3.default.number}).isRequired]),classNamesShape=import_prop_types3.default.oneOfType([import_prop_types3.default.string,import_prop_types3.default.shape({enter:import_prop_types3.default.string,exit:import_prop_types3.default.string,active:import_prop_types3.default.string}),import_prop_types3.default.shape({enter:import_prop_types3.default.string,enterDone:import_prop_types3.default.string,enterActive:import_prop_types3.default.string,exit:import_prop_types3.default.string,exitDone:import_prop_types3.default.string,exitActive:import_prop_types3.default.string})]);var import_react42=__toESM(require_react()),TransitionGroupContext_default=import_react42.default.createContext(null);var forceReflow=function(node){return node.scrollTop};var UNMOUNTED="unmounted",EXITED="exited",ENTERING="entering",ENTERED="entered",EXITING="exiting",Transition=function(_React$Component){_inheritsLoose(Transition2,_React$Component);function Transition2(props,context){var _this;_this=_React$Component.call(this,props,context)||this;var parentGroup=context,appear=parentGroup&&!parentGroup.isMounting?props.enter:props.appear,initialStatus;return _this.appearStatus=null,props.in?appear?(initialStatus=EXITED,_this.appearStatus=ENTERING):initialStatus=ENTERED:props.unmountOnExit||props.mountOnEnter?initialStatus=UNMOUNTED:initialStatus=EXITED,_this.state={status:initialStatus},_this.nextCallback=null,_this}Transition2.getDerivedStateFromProps=function(_ref,prevState){var nextIn=_ref.in;return nextIn&&prevState.status===UNMOUNTED?{status:EXITED}:null};var _proto=Transition2.prototype;return _proto.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},_proto.componentDidUpdate=function(prevProps){var nextStatus=null;if(prevProps!==this.props){var status=this.state.status;this.props.in?status!==ENTERING&&status!==ENTERED&&(nextStatus=ENTERING):(status===ENTERING||status===ENTERED)&&(nextStatus=EXITING)}this.updateStatus(!1,nextStatus)},_proto.componentWillUnmount=function(){this.cancelNextCallback()},_proto.getTimeouts=function(){var timeout2=this.props.timeout,exit,enter,appear;return exit=enter=appear=timeout2,timeout2!=null&&typeof timeout2!="number"&&(exit=timeout2.exit,enter=timeout2.enter,appear=timeout2.appear!==void 0?timeout2.appear:enter),{exit,enter,appear}},_proto.updateStatus=function(mounting,nextStatus){if(mounting===void 0&&(mounting=!1),nextStatus!==null)if(this.cancelNextCallback(),nextStatus===ENTERING){if(this.props.unmountOnExit||this.props.mountOnEnter){var node=this.props.nodeRef?this.props.nodeRef.current:import_react_dom.default.findDOMNode(this);node&&forceReflow(node)}this.performEnter(mounting)}else this.performExit();else this.props.unmountOnExit&&this.state.status===EXITED&&this.setState({status:UNMOUNTED})},_proto.performEnter=function(mounting){var _this2=this,enter=this.props.enter,appearing=this.context?this.context.isMounting:mounting,_ref2=this.props.nodeRef?[appearing]:[import_react_dom.default.findDOMNode(this),appearing],maybeNode=_ref2[0],maybeAppearing=_ref2[1],timeouts=this.getTimeouts(),enterTimeout=appearing?timeouts.appear:timeouts.enter;if(!mounting&&!enter||config_default.disabled){this.safeSetState({status:ENTERED},function(){_this2.props.onEntered(maybeNode)});return}this.props.onEnter(maybeNode,maybeAppearing),this.safeSetState({status:ENTERING},function(){_this2.props.onEntering(maybeNode,maybeAppearing),_this2.onTransitionEnd(enterTimeout,function(){_this2.safeSetState({status:ENTERED},function(){_this2.props.onEntered(maybeNode,maybeAppearing)})})})},_proto.performExit=function(){var _this3=this,exit=this.props.exit,timeouts=this.getTimeouts(),maybeNode=this.props.nodeRef?void 0:import_react_dom.default.findDOMNode(this);if(!exit||config_default.disabled){this.safeSetState({status:EXITED},function(){_this3.props.onExited(maybeNode)});return}this.props.onExit(maybeNode),this.safeSetState({status:EXITING},function(){_this3.props.onExiting(maybeNode),_this3.onTransitionEnd(timeouts.exit,function(){_this3.safeSetState({status:EXITED},function(){_this3.props.onExited(maybeNode)})})})},_proto.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},_proto.safeSetState=function(nextState,callback){callback=this.setNextCallback(callback),this.setState(nextState,callback)},_proto.setNextCallback=function(callback){var _this4=this,active=!0;return this.nextCallback=function(event){active&&(active=!1,_this4.nextCallback=null,callback(event))},this.nextCallback.cancel=function(){active=!1},this.nextCallback},_proto.onTransitionEnd=function(timeout2,handler){this.setNextCallback(handler);var node=this.props.nodeRef?this.props.nodeRef.current:import_react_dom.default.findDOMNode(this),doesNotHaveTimeoutOrListener=timeout2==null&&!this.props.addEndListener;if(!node||doesNotHaveTimeoutOrListener){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var _ref3=this.props.nodeRef?[this.nextCallback]:[node,this.nextCallback],maybeNode=_ref3[0],maybeNextCallback=_ref3[1];this.props.addEndListener(maybeNode,maybeNextCallback)}timeout2!=null&&setTimeout(this.nextCallback,timeout2)},_proto.render=function(){var status=this.state.status;if(status===UNMOUNTED)return null;var _this$props=this.props,children=_this$props.children,_in=_this$props.in,_mountOnEnter=_this$props.mountOnEnter,_unmountOnExit=_this$props.unmountOnExit,_appear=_this$props.appear,_enter=_this$props.enter,_exit=_this$props.exit,_timeout=_this$props.timeout,_addEndListener=_this$props.addEndListener,_onEnter=_this$props.onEnter,_onEntering=_this$props.onEntering,_onEntered=_this$props.onEntered,_onExit=_this$props.onExit,_onExiting=_this$props.onExiting,_onExited=_this$props.onExited,_nodeRef=_this$props.nodeRef,childProps=_objectWithoutPropertiesLoose(_this$props,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return import_react43.default.createElement(TransitionGroupContext_default.Provider,{value:null},typeof children=="function"?children(status,childProps):import_react43.default.cloneElement(import_react43.default.Children.only(children),childProps))},Transition2}(import_react43.default.Component);Transition.contextType=TransitionGroupContext_default;Transition.propTypes={nodeRef:import_prop_types4.default.shape({current:typeof Element>"u"?import_prop_types4.default.any:function(propValue,key,componentName,location,propFullName,secret){var value=propValue[key];return import_prop_types4.default.instanceOf(value&&"ownerDocument"in value?value.ownerDocument.defaultView.Element:Element)(propValue,key,componentName,location,propFullName,secret)}}),children:import_prop_types4.default.oneOfType([import_prop_types4.default.func.isRequired,import_prop_types4.default.element.isRequired]).isRequired,in:import_prop_types4.default.bool,mountOnEnter:import_prop_types4.default.bool,unmountOnExit:import_prop_types4.default.bool,appear:import_prop_types4.default.bool,enter:import_prop_types4.default.bool,exit:import_prop_types4.default.bool,timeout:function(props){var pt=timeoutsShape;props.addEndListener||(pt=pt.isRequired);for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return pt.apply(void 0,[props].concat(args))},addEndListener:import_prop_types4.default.func,onEnter:import_prop_types4.default.func,onEntering:import_prop_types4.default.func,onEntered:import_prop_types4.default.func,onExit:import_prop_types4.default.func,onExiting:import_prop_types4.default.func,onExited:import_prop_types4.default.func};function noop3(){}Transition.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:noop3,onEntering:noop3,onEntered:noop3,onExit:noop3,onExiting:noop3,onExited:noop3};Transition.UNMOUNTED=UNMOUNTED;Transition.EXITED=EXITED;Transition.ENTERING=ENTERING;Transition.ENTERED=ENTERED;Transition.EXITING=EXITING;var Transition_default=Transition;var import_react45=__toESM(require_react());var import_react44=__toESM(require_react());var UpgradeBlock=({onNavigateToWhatsNew})=>{let api=useStorybookApi(),[activeTab,setActiveTab]=(0,import_react44.useState)("npm");return import_react44.default.createElement(Container3,null,import_react44.default.createElement("strong",null,"You are on Storybook ",api.getCurrentVersion().version),import_react44.default.createElement("p",null,"Run the following script to check for updates and upgrade to the latest version."),import_react44.default.createElement(Tabs2,null,import_react44.default.createElement(ButtonTab,{active:activeTab==="npm",onClick:()=>setActiveTab("npm")},"npm"),import_react44.default.createElement(ButtonTab,{active:activeTab==="pnpm",onClick:()=>setActiveTab("pnpm")},"pnpm")),import_react44.default.createElement(Code,null,activeTab==="npm"?"npx storybook@latest upgrade":"pnpm dlx storybook@latest upgrade"),onNavigateToWhatsNew&&import_react44.default.createElement(Link22,{onClick:onNavigateToWhatsNew},"See what's new in Storybook"))},Container3=newStyled.div(({theme})=>({border:"1px solid",borderRadius:5,padding:20,marginTop:0,borderColor:theme.appBorderColor,fontSize:theme.typography.size.s2,width:"100%",[MEDIA_DESKTOP_BREAKPOINT]:{maxWidth:400}})),Tabs2=newStyled.div({display:"flex",gap:2}),Code=newStyled.pre(({theme})=>({background:theme.base==="light"?"rgba(0, 0, 0, 0.05)":theme.appBorderColor,fontSize:theme.typography.size.s2-1,margin:"4px 0 16px"})),ButtonTab=newStyled.button(({theme,active})=>({all:"unset",alignItems:"center",gap:10,color:theme.color.defaultText,fontSize:theme.typography.size.s2-1,borderBottom:"2px solid transparent",borderBottomColor:active?theme.color.secondary:"none",padding:"0 10px 5px",marginBottom:"5px",cursor:"pointer"}));var MobileAbout=()=>{let{isMobileAboutOpen,setMobileAboutOpen}=useLayout(),aboutRef=(0,import_react45.useRef)(null);return import_react45.default.createElement(Transition_default,{nodeRef:aboutRef,in:isMobileAboutOpen,timeout:300,appear:!0,mountOnEnter:!0,unmountOnExit:!0},state=>import_react45.default.createElement(Container4,{ref:aboutRef,state,transitionDuration:300},import_react45.default.createElement(Button2,{onClick:()=>setMobileAboutOpen(!1),title:"Close about section"},import_react45.default.createElement(ArrowLeftIcon,null),"Back"),import_react45.default.createElement(LinkContainer,null,import_react45.default.createElement(LinkLine,{href:"https://github.com/storybookjs/storybook",target:"_blank"},import_react45.default.createElement(LinkLeft,null,import_react45.default.createElement(GithubIcon,null),import_react45.default.createElement("span",null,"Github")),import_react45.default.createElement(ShareAltIcon,{width:12})),import_react45.default.createElement(LinkLine,{href:"https://storybook.js.org/docs/react/get-started/install/",target:"_blank"},import_react45.default.createElement(LinkLeft,null,import_react45.default.createElement(StorybookIcon,null),import_react45.default.createElement("span",null,"Documentation")),import_react45.default.createElement(ShareAltIcon,{width:12}))),import_react45.default.createElement(UpgradeBlock,null),import_react45.default.createElement(BottomText,null,"Open source software maintained by"," ",import_react45.default.createElement(Link22,{href:"https://chromatic.com",target:"_blank"},"Chromatic")," ","and the"," ",import_react45.default.createElement(Link22,{href:"https://github.com/storybookjs/storybook/graphs/contributors"},"Storybook Community"))))},Container4=newStyled.div(({theme,state,transitionDuration})=>({position:"absolute",width:"100%",height:"100%",top:0,left:0,zIndex:11,transition:`all ${transitionDuration}ms ease-in-out`,overflow:"scroll",padding:"25px 10px 10px",color:theme.color.defaultText,background:theme.background.content,opacity:`${(()=>{switch(state){case"entering":case"entered":return 1;case"exiting":case"exited":return 0;default:return 0}})()}`,transform:`${(()=>{switch(state){case"entering":case"entered":return"translateX(0)";case"exiting":case"exited":return"translateX(20px)";default:return"translateX(0)"}})()}`})),LinkContainer=newStyled.div({marginTop:20,marginBottom:20}),LinkLine=newStyled.a(({theme})=>({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",fontSize:theme.typography.size.s2-1,height:52,borderBottom:`1px solid ${theme.appBorderColor}`,cursor:"pointer",padding:"0 10px","&:last-child":{borderBottom:"none"}})),LinkLeft=newStyled.div(({theme})=>({display:"flex",alignItems:"center",fontSize:theme.typography.size.s2-1,height:40,gap:5})),BottomText=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2-1,marginTop:30})),Button2=newStyled.button(({theme})=>({all:"unset",display:"flex",alignItems:"center",gap:10,color:"currentColor",fontSize:theme.typography.size.s2-1,padding:"0 10px"}));var MobileMenuDrawer=({children})=>{let containerRef=(0,import_react46.useRef)(null),sidebarRef=(0,import_react46.useRef)(null),overlayRef=(0,import_react46.useRef)(null),{isMobileMenuOpen,setMobileMenuOpen,isMobileAboutOpen,setMobileAboutOpen}=useLayout();return import_react46.default.createElement(import_react46.default.Fragment,null,import_react46.default.createElement(Transition_default,{nodeRef:containerRef,in:isMobileMenuOpen,timeout:300,mountOnEnter:!0,unmountOnExit:!0,onExited:()=>setMobileAboutOpen(!1)},state=>import_react46.default.createElement(Container5,{ref:containerRef,state},import_react46.default.createElement(Transition_default,{nodeRef:sidebarRef,in:!isMobileAboutOpen,timeout:300},sidebarState=>import_react46.default.createElement(SidebarContainer,{ref:sidebarRef,state:sidebarState},children)),import_react46.default.createElement(MobileAbout,null))),import_react46.default.createElement(Transition_default,{nodeRef:overlayRef,in:isMobileMenuOpen,timeout:300,mountOnEnter:!0,unmountOnExit:!0},state=>import_react46.default.createElement(Overlay,{ref:overlayRef,state,onClick:()=>setMobileMenuOpen(!1),"aria-label":"Close navigation menu"})))},Container5=newStyled.div(({theme,state})=>({position:"fixed",boxSizing:"border-box",width:"100%",background:theme.background.content,height:"80%",bottom:0,left:0,zIndex:11,borderRadius:"10px 10px 0 0",transition:`all ${300}ms ease-in-out`,overflow:"hidden",transform:`${state==="entering"||state==="entered"?"translateY(0)":state==="exiting"||state==="exited"?"translateY(100%)":"translateY(0)"}`})),SidebarContainer=newStyled.div(({theme,state})=>({position:"absolute",width:"100%",height:"100%",top:0,left:0,zIndex:1,transition:`all ${300}ms ease-in-out`,overflow:"hidden",opacity:`${state==="entered"||state==="entering"?1:state==="exiting"||state==="exited"?0:1}`,transform:`${(()=>{switch(state){case"entering":case"entered":return"translateX(0)";case"exiting":case"exited":return"translateX(-20px)";default:return"translateX(0)"}})()}`})),Overlay=newStyled.div(({state})=>({position:"fixed",boxSizing:"border-box",background:"rgba(0, 0, 0, 0.5)",top:0,bottom:0,right:0,left:0,zIndex:10,transition:`all ${300}ms ease-in-out`,cursor:"pointer",opacity:`${(()=>{switch(state){case"entering":case"entered":return 1;case"exiting":case"exited":return 0;default:return 0}})()}`,"&:hover":{background:"rgba(0, 0, 0, 0.6)"}}));var import_react47=__toESM(require_react());var Container6=newStyled.div(({theme})=>({position:"relative",boxSizing:"border-box",width:"100%",background:theme.background.content,height:"42vh",zIndex:11,overflow:"hidden"})),MobileAddonsDrawer=({children})=>import_react47.default.createElement(Container6,null,children);var useFullStoryName=()=>{let{index}=useStorybookState(),currentStory=useStorybookApi().getCurrentStoryData();if(!currentStory)return"";let fullStoryName=currentStory.renderLabel?.(currentStory)||currentStory.name,node=index[currentStory.id];for(;"parent"in node&&node.parent&&index[node.parent]&&fullStoryName.length<24;)node=index[node.parent],fullStoryName=`${node.renderLabel?.(node)||node.name}/${fullStoryName}`;return fullStoryName},MobileNavigation=({menu,panel,showPanel})=>{let{isMobileMenuOpen,isMobilePanelOpen,setMobileMenuOpen,setMobilePanelOpen}=useLayout(),fullStoryName=useFullStoryName();return import_react48.default.createElement(Container7,null,import_react48.default.createElement(MobileMenuDrawer,null,menu),isMobilePanelOpen?import_react48.default.createElement(MobileAddonsDrawer,null,panel):import_react48.default.createElement(Nav,{className:"sb-bar"},import_react48.default.createElement(Button3,{onClick:()=>setMobileMenuOpen(!isMobileMenuOpen),title:"Open navigation menu"},import_react48.default.createElement(MenuIcon,null),import_react48.default.createElement(Text2,null,fullStoryName)),showPanel&&import_react48.default.createElement(IconButton,{onClick:()=>setMobilePanelOpen(!0),title:"Open addon panel"},import_react48.default.createElement(BottomBarToggleIcon,null))))},Container7=newStyled.div(({theme})=>({bottom:0,left:0,width:"100%",zIndex:10,background:theme.barBg,borderTop:`1px solid ${theme.appBorderColor}`})),Nav=newStyled.div({display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",height:40,padding:"0 6px"}),Button3=newStyled.button(({theme})=>({all:"unset",display:"flex",alignItems:"center",gap:10,color:theme.barTextColor,fontSize:`${theme.typography.size.s2-1}px`,padding:"0 7px",fontWeight:theme.typography.weight.bold,WebkitLineClamp:1,"> svg":{width:14,height:14,flexShrink:0}})),Text2=newStyled.p({display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden"});var import_react51=__toESM(require_react());var import_react50=__toESM(require_react());var import_react49=__toESM(require_react());var Notification=newStyled.div(({theme})=>({position:"relative",display:"flex",padding:15,width:280,borderRadius:4,alignItems:"center",background:theme.base==="light"?"hsla(203, 50%, 20%, .97)":"hsla(203, 30%, 95%, .97)",boxShadow:"0 2px 5px 0 rgba(0,0,0,0.05), 0 5px 15px 0 rgba(0,0,0,0.1)",color:theme.color.inverseText,textDecoration:"none"})),NotificationWithInteractiveStates=newStyled(Notification)(()=>({transition:"all 150ms ease-out",transform:"translate3d(0, 0, 0)","&:hover":{transform:"translate3d(0, -3px, 0)",boxShadow:"0 1px 3px 0 rgba(30,167,253,0.5), 0 2px 5px 0 rgba(0,0,0,0.05), 0 5px 15px 0 rgba(0,0,0,0.1)"},"&:active":{transform:"translate3d(0, 0, 0)",boxShadow:"0 1px 3px 0 rgba(30,167,253,0.5), 0 2px 5px 0 rgba(0,0,0,0.05), 0 5px 15px 0 rgba(0,0,0,0.1)"},"&:focus":{boxShadow:"0 1px 3px 0 rgba(30,167,253,0.5), 0 2px 5px 0 rgba(0,0,0,0.05), 0 5px 15px 0 rgba(0,0,0,0.1)"}})),NotificationLink=NotificationWithInteractiveStates.withComponent(Link2),NotificationIconWrapper=newStyled.div(()=>({display:"flex",marginRight:10,alignItems:"center",svg:{width:16,height:16}})),NotificationTextWrapper=newStyled.div(({theme})=>({width:"100%",display:"flex",flexDirection:"column",color:theme.base==="dark"?theme.color.mediumdark:theme.color.mediumlight})),Headline=newStyled.div(({theme,hasIcon})=>({height:"100%",width:hasIcon?205:230,alignItems:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",fontSize:theme.typography.size.s1,lineHeight:"16px",fontWeight:theme.typography.weight.bold})),SubHeadline=newStyled.div(({theme})=>({color:curriedTransparentize$1(.25,theme.color.inverseText),fontSize:theme.typography.size.s1-1,lineHeight:"14px",marginTop:2})),ItemContent=({icon,content:{headline,subHeadline}})=>{let theme=useTheme(),defaultColor=theme.base==="dark"?theme.color.mediumdark:theme.color.mediumlight;return import_react49.default.createElement(import_react49.default.Fragment,null,!icon||import_react49.default.createElement(NotificationIconWrapper,null,import_react49.default.isValidElement(icon)?icon:typeof icon=="object"&&"name"in icon&&import_react49.default.createElement(Icons,{icon:icon.name,color:icon.color||defaultColor})),import_react49.default.createElement(NotificationTextWrapper,null,import_react49.default.createElement(Headline,{title:headline,hasIcon:!!icon},headline),subHeadline&&import_react49.default.createElement(SubHeadline,null,subHeadline)))},DismissButtonWrapper=newStyled(IconButton)(({theme})=>({alignSelf:"center",marginTop:0,color:theme.base==="light"?"rgba(255,255,255,0.7)":" #999999"})),DismissNotificationItem=({onDismiss})=>import_react49.default.createElement(DismissButtonWrapper,{title:"Dismiss notification",onClick:e3=>{e3.preventDefault(),onDismiss()}},import_react49.default.createElement(CloseAltIcon,{size:12})),NotificationItemSpacer=newStyled.div({height:48}),NotificationItem=({notification:{content,link,onClear,id,icon},onDismissNotification})=>{let dismissNotificationItem=()=>{onDismissNotification(id),onClear&&onClear({dismissed:!0})};return link?import_react49.default.createElement(NotificationLink,{to:link},import_react49.default.createElement(ItemContent,{icon,content}),import_react49.default.createElement(DismissNotificationItem,{onDismiss:dismissNotificationItem})):import_react49.default.createElement(Notification,null,import_react49.default.createElement(ItemContent,{icon,content}),import_react49.default.createElement(DismissNotificationItem,{onDismiss:dismissNotificationItem}))},NotificationItem_default=NotificationItem;var NotificationList=({notifications,clearNotification})=>import_react50.default.createElement(List,null,notifications&¬ifications.map(notification=>import_react50.default.createElement(NotificationItem_default,{key:notification.id,onDismissNotification:id=>clearNotification(id),notification}))),List=newStyled.div({zIndex:200,position:"fixed",left:20,bottom:60,[MEDIA_DESKTOP_BREAKPOINT]:{bottom:20},"> * + *":{marginTop:10},"&:empty":{display:"none"}});var mapper3=({state,api})=>({notifications:state.notifications,clearNotification:api.clearNotification}),Notifications=props=>import_react51.default.createElement(ManagerConsumer,{filter:mapper3},fromState=>import_react51.default.createElement(NotificationList,{...props,...fromState}));var MINIMUM_CONTENT_WIDTH_PX=100,layoutStateIsEqual=(state,other)=>state.navSize===other.navSize&&state.bottomPanelHeight===other.bottomPanelHeight&&state.rightPanelWidth===other.rightPanelWidth&&state.panelPosition===other.panelPosition,useLayoutSyncingState=({managerLayoutState,setManagerLayoutState,isDesktop,hasTab})=>{let prevManagerLayoutStateRef=import_react52.default.useRef(managerLayoutState),[internalDraggingSizeState,setInternalDraggingSizeState]=(0,import_react52.useState)({...managerLayoutState,isDragging:!1});(0,import_react52.useEffect)(()=>{internalDraggingSizeState.isDragging||layoutStateIsEqual(managerLayoutState,prevManagerLayoutStateRef.current)||(prevManagerLayoutStateRef.current=managerLayoutState,setInternalDraggingSizeState(state=>({...state,...managerLayoutState})))},[internalDraggingSizeState.isDragging,managerLayoutState,setInternalDraggingSizeState]),(0,import_react52.useLayoutEffect)(()=>{if(internalDraggingSizeState.isDragging||layoutStateIsEqual(prevManagerLayoutStateRef.current,internalDraggingSizeState))return;let nextState={navSize:internalDraggingSizeState.navSize,bottomPanelHeight:internalDraggingSizeState.bottomPanelHeight,rightPanelWidth:internalDraggingSizeState.rightPanelWidth};prevManagerLayoutStateRef.current={...prevManagerLayoutStateRef.current,...nextState},setManagerLayoutState(nextState)},[internalDraggingSizeState,setManagerLayoutState]);let isPagesShown=managerLayoutState.viewMode!=="story"&&managerLayoutState.viewMode!=="docs",isPanelShown=managerLayoutState.viewMode==="story"&&!hasTab,{panelResizerRef,sidebarResizerRef}=useDragging({setState:setInternalDraggingSizeState,isPanelShown,isDesktop}),{navSize,rightPanelWidth,bottomPanelHeight}=internalDraggingSizeState.isDragging?internalDraggingSizeState:managerLayoutState;return{navSize,rightPanelWidth,bottomPanelHeight,panelPosition:managerLayoutState.panelPosition,panelResizerRef,sidebarResizerRef,showPages:isPagesShown,showPanel:isPanelShown,isDragging:internalDraggingSizeState.isDragging}},Layout=({managerLayoutState,setManagerLayoutState,hasTab,...slots})=>{let{isDesktop,isMobile}=useLayout(),{navSize,rightPanelWidth,bottomPanelHeight,panelPosition,panelResizerRef,sidebarResizerRef,showPages,showPanel,isDragging}=useLayoutSyncingState({managerLayoutState,setManagerLayoutState,isDesktop,hasTab});return import_react52.default.createElement(LayoutContainer,{navSize,rightPanelWidth,bottomPanelHeight,panelPosition:managerLayoutState.panelPosition,isDragging,viewMode:managerLayoutState.viewMode,showPanel},import_react52.default.createElement(Notifications,null),showPages&&import_react52.default.createElement(PagesContainer,null,slots.slotPages),import_react52.default.createElement(Match,{path:/(^\/story|docs|onboarding\/|^\/$)/,startsWith:!1},({match})=>import_react52.default.createElement(ContentContainer,{shown:!!match},slots.slotMain)),isDesktop&&import_react52.default.createElement(import_react52.default.Fragment,null,import_react52.default.createElement(SidebarContainer2,null,import_react52.default.createElement(Drag,{ref:sidebarResizerRef}),slots.slotSidebar),showPanel&&import_react52.default.createElement(PanelContainer,{position:panelPosition},import_react52.default.createElement(Drag,{orientation:panelPosition==="bottom"?"horizontal":"vertical",position:panelPosition==="bottom"?"left":"right",ref:panelResizerRef}),slots.slotPanel)),isMobile&&import_react52.default.createElement(MobileNavigation,{menu:slots.slotSidebar,panel:slots.slotPanel,showPanel}))},LayoutContainer=newStyled.div(({navSize,rightPanelWidth,bottomPanelHeight,viewMode,panelPosition,showPanel})=>({width:"100%",height:["100vh","100dvh"],overflow:"hidden",display:"flex",flexDirection:"column",[MEDIA_DESKTOP_BREAKPOINT]:{display:"grid",gap:0,gridTemplateColumns:`minmax(0, ${navSize}px) minmax(${MINIMUM_CONTENT_WIDTH_PX}px, 1fr) minmax(0, ${rightPanelWidth}px)`,gridTemplateRows:`1fr minmax(0, ${bottomPanelHeight}px)`,gridTemplateAreas:viewMode==="docs"||!showPanel?`"sidebar content content" - "sidebar content content"`:panelPosition==="right"?`"sidebar content panel" - "sidebar content panel"`:`"sidebar content content" - "sidebar panel panel"`}})),SidebarContainer2=newStyled.div(({theme})=>({backgroundColor:theme.background.app,gridArea:"sidebar",position:"relative",borderRight:`1px solid ${theme.color.border}`})),ContentContainer=newStyled.div(({theme,shown})=>({flex:1,position:"relative",backgroundColor:theme.background.content,display:shown?"grid":"none",overflow:"auto",[MEDIA_DESKTOP_BREAKPOINT]:{flex:"auto",gridArea:"content"}})),PagesContainer=newStyled.div(({theme})=>({gridRowStart:"sidebar-start",gridRowEnd:"-1",gridColumnStart:"sidebar-end",gridColumnEnd:"-1",backgroundColor:theme.background.content,zIndex:1})),PanelContainer=newStyled.div(({theme,position})=>({gridArea:"panel",position:"relative",backgroundColor:theme.background.content,borderTop:position==="bottom"?`1px solid ${theme.color.border}`:null,borderLeft:position==="right"?`1px solid ${theme.color.border}`:null})),Drag=newStyled.div(({theme})=>({position:"absolute",opacity:0,transition:"opacity 0.2s ease-in-out",zIndex:100,"&:after":{content:'""',display:"block",backgroundColor:theme.color.secondary},"&:hover":{opacity:1}}),({orientation="vertical",position="left"})=>orientation==="vertical"?{width:position==="left"?10:13,height:"100%",top:0,right:position==="left"?"-7px":null,left:position==="right"?"-7px":null,"&:after":{width:1,height:"100%",marginLeft:position==="left"?3:6},"&:hover":{cursor:"col-resize"}}:{width:"100%",height:"13px",top:"-7px",left:0,"&:after":{width:"100%",height:1,marginTop:6},"&:hover":{cursor:"row-resize"}});var App=({managerLayoutState,setManagerLayoutState,pages,hasTab})=>{let{setMobileAboutOpen}=useLayout();return import_react53.default.createElement(import_react53.default.Fragment,null,import_react53.default.createElement(Global,{styles:createGlobal}),import_react53.default.createElement(Layout,{hasTab,managerLayoutState,setManagerLayoutState,slotMain:import_react53.default.createElement(Preview_default,{id:"main",withLoader:!0}),slotSidebar:import_react53.default.createElement(Sidebar_default,{onMenuClick:()=>setMobileAboutOpen(state=>!state)}),slotPanel:import_react53.default.createElement(Panel_default,null),slotPages:pages.map(({id,render:Content2})=>import_react53.default.createElement(Content2,{key:id}))}))};var Provider=class{getElements(_type){throw new Error("Provider.getElements() is not implemented!")}handleAPI(_api){throw new Error("Provider.handleAPI() is not implemented!")}getConfig(){return console.error("Provider.getConfig() is not implemented!"),{}}};var import_react61=__toESM(require_react());var import_react55=__toESM(require_react());var import_react54=__toESM(require_react());var Container8=newStyled.div({display:"flex",alignItems:"center",flexDirection:"column",marginTop:40}),Header=newStyled.header({marginBottom:32,alignItems:"center",display:"flex","> svg":{height:48,width:"auto",marginRight:8}}),Footer=newStyled.div(({theme})=>({marginBottom:24,display:"flex",flexDirection:"column",alignItems:"center",color:theme.base==="light"?theme.color.dark:theme.color.lightest,fontWeight:theme.typography.weight.regular,fontSize:theme.typography.size.s2})),Actions2=newStyled.div({display:"flex",flexDirection:"row",alignItems:"center",marginBottom:24,marginTop:24,gap:16}),StyledLink=newStyled(Link22)(({theme})=>({"&&":{fontWeight:theme.typography.weight.bold,color:theme.base==="light"?theme.color.dark:theme.color.light},"&:hover":{color:theme.base==="light"?theme.color.darkest:theme.color.lightest}})),AboutScreen=({onNavigateToWhatsNew})=>import_react54.default.createElement(Container8,null,import_react54.default.createElement(Header,null,import_react54.default.createElement(StorybookLogo,{alt:"Storybook"})),import_react54.default.createElement(UpgradeBlock,{onNavigateToWhatsNew}),import_react54.default.createElement(Footer,null,import_react54.default.createElement(Actions2,null,import_react54.default.createElement(Button,{asChild:!0},import_react54.default.createElement("a",{href:"https://github.com/storybookjs/storybook"},import_react54.default.createElement(GithubIcon,null),"GitHub")),import_react54.default.createElement(Button,{asChild:!0},import_react54.default.createElement("a",{href:"https://storybook.js.org/docs"},import_react54.default.createElement(DocumentIcon,{style:{display:"inline",marginRight:5}}),"Documentation"))),import_react54.default.createElement("div",null,"Open source software maintained by"," ",import_react54.default.createElement(StyledLink,{href:"https://www.chromatic.com/"},"Chromatic")," and the"," ",import_react54.default.createElement(StyledLink,{href:"https://github.com/storybookjs/storybook/graphs/contributors"},"Storybook Community"))));var NotificationClearer=class extends import_react55.Component{componentDidMount(){let{api,notificationId}=this.props;api.clearNotification(notificationId)}render(){let{children}=this.props;return children}},AboutPage=()=>{let api=useStorybookApi(),state=useStorybookState(),onNavigateToWhatsNew=(0,import_react55.useCallback)(()=>{api.changeSettingsTab("whats-new")},[api]);return import_react55.default.createElement(NotificationClearer,{api,notificationId:"update"},import_react55.default.createElement(AboutScreen,{onNavigateToWhatsNew:state.whatsNewData?.status==="SUCCESS"?onNavigateToWhatsNew:void 0}))};var import_react58=__toESM(require_react());var import_react57=__toESM(require_react());var import_react56=__toESM(require_react());var Footer2=newStyled.div(({theme})=>({display:"flex",paddingTop:20,marginTop:20,borderTop:`1px solid ${theme.appBorderColor}`,fontWeight:theme.typography.weight.bold,"& > * + *":{marginLeft:20}})),SettingsFooter=props=>import_react56.default.createElement(Footer2,{...props},import_react56.default.createElement(Link22,{secondary:!0,href:"https://storybook.js.org",cancel:!1,target:"_blank"},"Docs"),import_react56.default.createElement(Link22,{secondary:!0,href:"https://github.com/storybookjs/storybook",cancel:!1,target:"_blank"},"GitHub"),import_react56.default.createElement(Link22,{secondary:!0,href:"https://storybook.js.org/community#support",cancel:!1,target:"_blank"},"Support")),SettingsFooter_default=SettingsFooter;var Header2=newStyled.header(({theme})=>({marginBottom:20,fontSize:theme.typography.size.m3,fontWeight:theme.typography.weight.bold,alignItems:"center",display:"flex"})),HeaderItem=newStyled.div(({theme})=>({fontWeight:theme.typography.weight.bold})),GridHeaderRow=newStyled.div({alignSelf:"flex-end",display:"grid",margin:"10px 0",gridTemplateColumns:"1fr 1fr 12px","& > *:last-of-type":{gridColumn:"2 / 2",justifySelf:"flex-end",gridRow:"1"}}),Row=newStyled.div(({theme})=>({padding:"6px 0",borderTop:`1px solid ${theme.appBorderColor}`,display:"grid",gridTemplateColumns:"1fr 1fr 0px"})),GridWrapper=newStyled.div({display:"grid",gridTemplateColumns:"1fr",gridAutoRows:"minmax(auto, auto)",marginBottom:20}),Description=newStyled.div({alignSelf:"center"}),TextInput=newStyled(Form.Input)(({valid,theme})=>valid==="error"?{animation:`${theme.animation.jiggle} 700ms ease-out`}:{},{display:"flex",width:80,flexDirection:"column",justifySelf:"flex-end",paddingLeft:4,paddingRight:4,textAlign:"center"}),Fade=keyframes` -0%,100% { opacity: 0; } - 50% { opacity: 1; } -`,SuccessIcon=newStyled(CheckIcon)(({valid,theme})=>valid==="valid"?{color:theme.color.positive,animation:`${Fade} 2s ease forwards`}:{opacity:0},{alignSelf:"center",display:"flex",marginLeft:10,height:14,width:14}),Container9=newStyled.div(({theme})=>({fontSize:theme.typography.size.s2,padding:"3rem 20px",maxWidth:600,margin:"0 auto"})),shortcutLabels={fullScreen:"Go full screen",togglePanel:"Toggle addons",panelPosition:"Toggle addons orientation",toggleNav:"Toggle sidebar",toolbar:"Toggle canvas toolbar",search:"Focus search",focusNav:"Focus sidebar",focusIframe:"Focus canvas",focusPanel:"Focus addons",prevComponent:"Previous component",nextComponent:"Next component",prevStory:"Previous story",nextStory:"Next story",shortcutsPage:"Go to shortcuts page",aboutPage:"Go to about page",collapseAll:"Collapse all items on sidebar",expandAll:"Expand all items on sidebar",remount:"Remount component"},fixedShortcuts=["escape"];function toShortcutState(shortcutKeys){return Object.entries(shortcutKeys).reduce((acc,[feature,shortcut])=>fixedShortcuts.includes(feature)?acc:{...acc,[feature]:{shortcut,error:!1}},{})}var ShortcutsScreen=class extends import_react57.Component{constructor(props){super(props);this.onKeyDown=e3=>{let{activeFeature,shortcutKeys}=this.state;if(e3.key==="Backspace")return this.restoreDefault();let shortcut=eventToShortcut(e3);if(!shortcut)return!1;let error=!!Object.entries(shortcutKeys).find(([feature,{shortcut:existingShortcut}])=>feature!==activeFeature&&existingShortcut&&shortcutMatchesShortcut(shortcut,existingShortcut));return this.setState({shortcutKeys:{...shortcutKeys,[activeFeature]:{shortcut,error}}})};this.onFocus=focusedInput=>()=>{let{shortcutKeys}=this.state;this.setState({activeFeature:focusedInput,shortcutKeys:{...shortcutKeys,[focusedInput]:{shortcut:null,error:!1}}})};this.onBlur=async()=>{let{shortcutKeys,activeFeature}=this.state;if(shortcutKeys[activeFeature]){let{shortcut,error}=shortcutKeys[activeFeature];return!shortcut||error?this.restoreDefault():this.saveShortcut()}return!1};this.saveShortcut=async()=>{let{activeFeature,shortcutKeys}=this.state,{setShortcut}=this.props;await setShortcut(activeFeature,shortcutKeys[activeFeature].shortcut),this.setState({successField:activeFeature})};this.restoreDefaults=async()=>{let{restoreAllDefaultShortcuts}=this.props,defaultShortcuts=await restoreAllDefaultShortcuts();return this.setState({shortcutKeys:toShortcutState(defaultShortcuts)})};this.restoreDefault=async()=>{let{activeFeature,shortcutKeys}=this.state,{restoreDefaultShortcut}=this.props,defaultShortcut=await restoreDefaultShortcut(activeFeature);return this.setState({shortcutKeys:{...shortcutKeys,...toShortcutState({[activeFeature]:defaultShortcut})}})};this.displaySuccessMessage=activeElement=>{let{successField,shortcutKeys}=this.state;return activeElement===successField&&shortcutKeys[activeElement].error===!1?"valid":void 0};this.displayError=activeElement=>{let{activeFeature,shortcutKeys}=this.state;return activeElement===activeFeature&&shortcutKeys[activeElement].error===!0?"error":void 0};this.renderKeyInput=()=>{let{shortcutKeys,addonsShortcutLabels}=this.state;return Object.entries(shortcutKeys).map(([feature,{shortcut}])=>import_react57.default.createElement(Row,{key:feature},import_react57.default.createElement(Description,null,shortcutLabels[feature]||addonsShortcutLabels[feature]),import_react57.default.createElement(TextInput,{spellCheck:"false",valid:this.displayError(feature),className:"modalInput",onBlur:this.onBlur,onFocus:this.onFocus(feature),onKeyDown:this.onKeyDown,value:shortcut?shortcutToHumanString(shortcut):"",placeholder:"Type keys",readOnly:!0}),import_react57.default.createElement(SuccessIcon,{valid:this.displaySuccessMessage(feature)})))};this.renderKeyForm=()=>import_react57.default.createElement(GridWrapper,null,import_react57.default.createElement(GridHeaderRow,null,import_react57.default.createElement(HeaderItem,null,"Commands"),import_react57.default.createElement(HeaderItem,null,"Shortcut")),this.renderKeyInput());this.state={activeFeature:void 0,successField:void 0,shortcutKeys:toShortcutState(props.shortcutKeys),addonsShortcutLabels:props.addonsShortcutLabels}}render(){let layout=this.renderKeyForm();return import_react57.default.createElement(Container9,null,import_react57.default.createElement(Header2,null,"Keyboard shortcuts"),layout,import_react57.default.createElement(Button,{variant:"outline",size:"small",id:"restoreDefaultsHotkeys",onClick:this.restoreDefaults},"Restore defaults"),import_react57.default.createElement(SettingsFooter_default,null))}};var ShortcutsPage=()=>import_react58.default.createElement(ManagerConsumer,null,({api:{getShortcutKeys,getAddonsShortcutLabels,setShortcut,restoreDefaultShortcut,restoreAllDefaultShortcuts}})=>import_react58.default.createElement(ShortcutsScreen,{shortcutKeys:getShortcutKeys(),addonsShortcutLabels:getAddonsShortcutLabels(),setShortcut,restoreDefaultShortcut,restoreAllDefaultShortcuts}));var import_react60=__toESM(require_react());var import_react59=__toESM(require_react());var Centered=newStyled.div({top:"50%",position:"absolute",transform:"translateY(-50%)",width:"100%",textAlign:"center"}),LoaderWrapper2=newStyled.div({position:"relative",height:"32px"}),Message2=newStyled.div(({theme})=>({paddingTop:"12px",color:theme.textMutedColor,maxWidth:"295px",margin:"0 auto",fontSize:`${theme.typography.size.s1}px`,lineHeight:"16px"})),Container10=newStyled.div(({theme})=>({position:"absolute",width:"100%",bottom:"40px",background:theme.background.bar,fontSize:"13px",borderTop:"1px solid",borderColor:theme.appBorderColor,padding:"8px 12px",display:"flex",alignItems:"center",justifyContent:"space-between"})),WhatsNewFooter=({isNotificationsEnabled,onToggleNotifications,onCopyLink})=>{let theme=useTheme(),[copyText,setCopyText]=(0,import_react59.useState)("Copy Link"),copyLink=()=>{onCopyLink(),setCopyText("Copied!"),setTimeout(()=>setCopyText("Copy Link"),4e3)};return import_react59.default.createElement(Container10,null,import_react59.default.createElement("div",{style:{display:"flex",alignItems:"center",gap:10}},import_react59.default.createElement(HeartIcon,{color:theme.color.mediumdark}),import_react59.default.createElement("div",null,"Share this with your team."),import_react59.default.createElement(Button,{onClick:copyLink,size:"small",variant:"ghost"},copyText)),isNotificationsEnabled?import_react59.default.createElement(Button,{size:"small",variant:"ghost",onClick:onToggleNotifications},import_react59.default.createElement(EyeCloseIcon,null),"Hide notifications"):import_react59.default.createElement(Button,{size:"small",variant:"ghost",onClick:onToggleNotifications},import_react59.default.createElement(EyeIcon,null),"Show notifications"))},Iframe=newStyled.iframe({position:"absolute",top:0,left:0,right:0,bottom:0,border:0,margin:0,padding:0,width:"100%",height:"calc(100% - 80px)",background:"white"},({isLoaded})=>({visibility:isLoaded?"visible":"hidden"})),AlertIcon2=newStyled(props=>import_react59.default.createElement(AlertIcon,{...props}))(({theme})=>({color:theme.textMutedColor,width:32,height:32,margin:"0 auto"})),WhatsNewLoader=()=>import_react59.default.createElement(Centered,null,import_react59.default.createElement(LoaderWrapper2,null,import_react59.default.createElement(Loader,null)),import_react59.default.createElement(Message2,null,"Loading...")),MaxWaitTimeMessaging=()=>import_react59.default.createElement(Centered,null,import_react59.default.createElement(AlertIcon2,null),import_react59.default.createElement(Message2,null,"The page couldn't be loaded. Check your internet connection and try again.")),PureWhatsNewScreen=({didHitMaxWaitTime,isLoaded,onLoad,url,onCopyLink,onToggleNotifications,isNotificationsEnabled})=>import_react59.default.createElement(import_react59.Fragment,null,!isLoaded&&!didHitMaxWaitTime&&import_react59.default.createElement(WhatsNewLoader,null),didHitMaxWaitTime?import_react59.default.createElement(MaxWaitTimeMessaging,null):import_react59.default.createElement(import_react59.default.Fragment,null,import_react59.default.createElement(Iframe,{isLoaded,onLoad,src:url,title:"What's new?"}),import_react59.default.createElement(WhatsNewFooter,{isNotificationsEnabled,onToggleNotifications,onCopyLink}))),MAX_WAIT_TIME=1e4,WhatsNewScreen=()=>{let api=useStorybookApi(),state=useStorybookState(),{whatsNewData}=state,[isLoaded,setLoaded]=(0,import_react59.useState)(!1),[didHitMaxWaitTime,setDidHitMaxWaitTime]=(0,import_react59.useState)(!1);if((0,import_react59.useEffect)(()=>{let timer=setTimeout(()=>!isLoaded&&setDidHitMaxWaitTime(!0),MAX_WAIT_TIME);return()=>clearTimeout(timer)},[isLoaded]),whatsNewData?.status!=="SUCCESS")return null;let isNotificationsEnabled=!whatsNewData.disableWhatsNewNotifications;return import_react59.default.createElement(PureWhatsNewScreen,{didHitMaxWaitTime,isLoaded,onLoad:()=>{api.whatsNewHasBeenRead(),setLoaded(!0)},url:whatsNewData.url,isNotificationsEnabled,onCopyLink:()=>{navigator.clipboard?.writeText(whatsNewData.blogUrl??whatsNewData.url)},onToggleNotifications:()=>{isNotificationsEnabled?scope.confirm("All update notifications will no longer be shown. Are you sure?")&&api.toggleWhatsNewNotifications():api.toggleWhatsNewNotifications()}})};var WhatsNewPage=()=>import_react60.default.createElement(WhatsNewScreen,null);var{document:document9}=scope,Header3=newStyled.div(({theme})=>({display:"flex",justifyContent:"space-between",alignItems:"center",height:40,boxShadow:`${theme.appBorderColor} 0 -1px 0 0 inset`,background:theme.barBg,paddingRight:8})),TabBarButton=import_react61.default.memo(function({changeTab,id,title}){return import_react61.default.createElement(Location,null,({path})=>{let active=path.includes(`settings/${id}`);return import_react61.default.createElement(TabButton,{id:`tabbutton-${id}`,className:["tabbutton"].concat(active?["tabbutton-active"]:[]).join(" "),type:"button",key:"id",active,onClick:()=>changeTab(id),role:"tab"},title)})}),Content=newStyled(ScrollArea)(({theme})=>({background:theme.background.content})),Pages=({changeTab,onClose,enableShortcuts=!0,enableWhatsNew})=>(import_react61.default.useEffect(()=>{let handleEscape=event=>{!enableShortcuts||event.repeat||matchesModifiers(!1,event)&&matchesKeyCode("Escape",event)&&(event.preventDefault(),onClose())};return document9.addEventListener("keydown",handleEscape),()=>document9.removeEventListener("keydown",handleEscape)},[enableShortcuts,onClose]),import_react61.default.createElement(import_react61.Fragment,null,import_react61.default.createElement(Header3,{className:"sb-bar"},import_react61.default.createElement(TabBar,{role:"tablist"},import_react61.default.createElement(TabBarButton,{id:"about",title:"About",changeTab}),enableWhatsNew&&import_react61.default.createElement(TabBarButton,{id:"whats-new",title:"What's new?",changeTab}),import_react61.default.createElement(TabBarButton,{id:"shortcuts",title:"Keyboard shortcuts",changeTab})),import_react61.default.createElement(IconButton,{onClick:e3=>(e3.preventDefault(),onClose()),title:"Close settings page"},import_react61.default.createElement(CloseIcon,null))),import_react61.default.createElement(Content,{vertical:!0,horizontal:!1},import_react61.default.createElement(Route2,{path:"about"},import_react61.default.createElement(AboutPage,{key:"about"})),import_react61.default.createElement(Route2,{path:"whats-new"},import_react61.default.createElement(WhatsNewPage,{key:"whats-new"})),import_react61.default.createElement(Route2,{path:"shortcuts"},import_react61.default.createElement(ShortcutsPage,{key:"shortcuts"}))))),SettingsPages=()=>{let api=useStorybookApi(),state=useStorybookState(),changeTab=tab=>api.changeSettingsTab(tab);return import_react61.default.createElement(Pages,{enableWhatsNew:state.whatsNewData?.status==="SUCCESS",enableShortcuts:state.ui.enableShortcuts,changeTab,onClose:api.closeSettings})},settingsPageAddon={id:"settings",url:"/settings/",title:"Settings",type:typesX.experimental_PAGE,render:()=>import_react61.default.createElement(Route2,{path:"/settings/",startsWith:!0},import_react61.default.createElement(SettingsPages,null))};ThemeProvider.displayName="ThemeProvider";q.displayName="HelmetProvider";var Root3=({provider})=>import_react62.default.createElement(q,{key:"helmet.Provider"},import_react62.default.createElement(LocationProvider,{key:"location.provider"},import_react62.default.createElement(Main,{provider}))),Main=({provider})=>{let navigate=useNavigate2();return import_react62.default.createElement(Location,{key:"location.consumer"},locationData=>import_react62.default.createElement(ManagerProvider,{key:"manager",provider,...locationData,navigate,docsOptions:scope?.DOCS_OPTIONS||{}},combo=>{let{state,api}=combo,setManagerLayoutState=(0,import_react62.useCallback)(sizes=>{api.setSizes(sizes)},[api]),pages=(0,import_react62.useMemo)(()=>[settingsPageAddon,...Object.values(api.getElements(typesX.experimental_PAGE))],[Object.keys(api.getElements(typesX.experimental_PAGE)).join()]);return import_react62.default.createElement(ThemeProvider,{key:"theme.provider",theme:ensure(state.theme)},import_react62.default.createElement(LayoutProvider,null,import_react62.default.createElement(App,{key:"app",pages,managerLayoutState:{...state.layout,viewMode:state.viewMode},hasTab:!!api.getQueryParam("tab"),setManagerLayoutState})))}))};function renderStorybookUI(domNode,provider){if(!(provider instanceof Provider))throw new ProviderDoesNotExtendBaseProviderError;(0,import_client.createRoot)(domNode).render(import_react62.default.createElement(Root3,{key:"root",provider}))}export{Provider,Root3 as Root,renderStorybookUI}; diff --git a/sb-manager/chunk-TZAR34JC.js b/sb-manager/chunk-TZAR34JC.js deleted file mode 100644 index 5865294..0000000 --- a/sb-manager/chunk-TZAR34JC.js +++ /dev/null @@ -1,6 +0,0 @@ -import{_extends,_objectWithoutPropertiesLoose,logger,newStyled,require_react,require_react_dom,scope}from"./chunk-UOBNU442.js";import{__commonJS2 as __commonJS,__toESM,__toESM2,require_memoizerific}from"./chunk-XP3HGWTR.js";var require_markdown=__commonJS({"../../node_modules/refractor/lang/markdown.js"(exports,module){module.exports=markdown,markdown.displayName="markdown",markdown.aliases=["md"];function markdown(Prism){(function(Prism2){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function createInline(pattern){return pattern=pattern.replace(//g,function(){return inner}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return tableCell}),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism2.languages.markdown=Prism2.languages.extend("markup",{}),Prism2.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism2.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism2.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism2.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(token){["url","bold","italic","strike","code-snippet"].forEach(function(inside){token!==inside&&(Prism2.languages.markdown[token].inside.content.inside[inside]=Prism2.languages.markdown[inside])})}),Prism2.hooks.add("after-tokenize",function(env){if(env.language!=="markdown"&&env.language!=="md")return;function walkTokens(tokens){if(!(!tokens||typeof tokens=="string"))for(var i=0,l=tokens.length;i",quot:'"'},fromCodePoint=String.fromCodePoint||String.fromCharCode;function textContent(html){var text=html.replace(tagPattern,"");return text=text.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(m,code){if(code=code.toLowerCase(),code[0]==="#"){var value;return code[1]==="x"?value=parseInt(code.slice(2),16):value=Number(code.slice(1)),fromCodePoint(value)}else{var known=KNOWN_ENTITY_NAMES[code];return known||m}}),text}Prism2.languages.md=Prism2.languages.markdown})(Prism)}}});var require_yaml=__commonJS({"../../node_modules/refractor/lang/yaml.js"(exports,module){module.exports=yaml,yaml.displayName="yaml",yaml.aliases=["yml"];function yaml(Prism){(function(Prism2){var anchorOrAlias=/[*&][^\s[\]{},]+/,tag=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ ]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ ]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return properties}).replace(/<>/g,function(){return value});return RegExp(pattern,flags)}Prism2.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return properties})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return properties}).replace(/<>/g,function(){return"(?:"+plainKey+"|"+string+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism2.languages.yml=Prism2.languages.yaml})(Prism)}}});var require_typescript=__commonJS({"../../node_modules/refractor/lang/typescript.js"(exports,module){module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"];function typescript(Prism){(function(Prism2){Prism2.languages.typescript=Prism2.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),Prism2.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete Prism2.languages.typescript.parameter,delete Prism2.languages.typescript["literal-property"];var typeInside=Prism2.languages.extend("typescript",{});delete typeInside["class-name"],Prism2.languages.typescript["class-name"].inside=typeInside,Prism2.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism2.languages.ts=Prism2.languages.typescript})(Prism)}}});var require_jsx=__commonJS({"../../node_modules/refractor/lang/jsx.js"(exports,module){module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[];function jsx(Prism){(function(Prism2){var javascript=Prism2.util.clone(Prism2.languages.javascript),space=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,braces=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,spread=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function re(source,flags){return source=source.replace(//g,function(){return space}).replace(//g,function(){return braces}).replace(//g,function(){return spread}),RegExp(source,flags)}spread=re(spread).source,Prism2.languages.jsx=Prism2.languages.extend("markup",javascript),Prism2.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),Prism2.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,Prism2.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,Prism2.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism2.languages.jsx.tag.inside.comment=javascript.comment,Prism2.languages.insertBefore("inside","attr-name",{spread:{pattern:re(//.source),inside:Prism2.languages.jsx}},Prism2.languages.jsx.tag),Prism2.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism2.languages.jsx}}},Prism2.languages.jsx.tag);var stringifyToken=function(token){return token?typeof token=="string"?token:typeof token.content=="string"?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():token.content[token.content.length-1].content==="/>"||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&token.type==="punctuation"&&token.content==="{"?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&token.type==="punctuation"&&token.content==="}"?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||typeof token=="string")&&openedTags.length>0&&openedTags[openedTags.length-1].openedBraces===0){var plainText=stringifyToken(token);i0&&(typeof tokens[i-1]=="string"||tokens[i-1].type==="plain-text")&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism2.Token("plain-text",plainText,null,plainText)}token.content&&typeof token.content!="string"&&walkTokens(token.content)}};Prism2.hooks.add("after-tokenize",function(env){env.language!=="jsx"&&env.language!=="tsx"||walkTokens(env.tokens)})})(Prism)}}});var require_tsx=__commonJS({"../../node_modules/refractor/lang/tsx.js"(exports,module){var refractorJsx=require_jsx(),refractorTypescript=require_typescript();module.exports=tsx,tsx.displayName="tsx",tsx.aliases=[];function tsx(Prism){Prism.register(refractorJsx),Prism.register(refractorTypescript),function(Prism2){var typescript=Prism2.util.clone(Prism2.languages.typescript);Prism2.languages.tsx=Prism2.languages.extend("jsx",typescript),delete Prism2.languages.tsx.parameter,delete Prism2.languages.tsx["literal-property"];var tag=Prism2.languages.tsx.tag;tag.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+tag.pattern.source+")",tag.pattern.flags),tag.lookbehind=!0}(Prism)}}});var require_clike=__commonJS({"../../node_modules/refractor/lang/clike.js"(exports,module){module.exports=clike,clike.displayName="clike",clike.aliases=[];function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}}});var require_javascript=__commonJS({"../../node_modules/refractor/lang/javascript.js"(exports,module){module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"];function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript}}});var require_css=__commonJS({"../../node_modules/refractor/lang/css.js"(exports,module){module.exports=css,css.displayName="css",css.aliases=[];function css(Prism){(function(Prism2){var string=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;Prism2.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+string.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:string,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},Prism2.languages.css.atrule.inside.rest=Prism2.languages.css;var markup=Prism2.languages.markup;markup&&(markup.tag.addInlined("style","css"),markup.tag.addAttribute("style","css"))})(Prism)}}});var require_markup=__commonJS({"../../node_modules/refractor/lang/markup.js"(exports,module){module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function markup(Prism){Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(env){env.type==="entity"&&(env.attributes.title=env.content.value.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return tagName}),"i"),lookbehind:!0,greedy:!0,inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}}});var require_immutable=__commonJS({"../../node_modules/xtend/immutable.js"(exports,module){module.exports=extend;var hasOwnProperty=Object.prototype.hasOwnProperty;function extend(){for(var target={},i=0;i4&&normal.slice(0,4)===data&&valid.test(value)&&(value.charAt(4)==="-"?prop=datasetToProperty(value):value=datasetToAttribute(value),Type=DefinedInfo),new Type(prop,value))}function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash,camelcase);return data+value.charAt(0).toUpperCase()+value.slice(1)}function datasetToAttribute(property){var value=property.slice(4);return dash.test(value)?property:(value=value.replace(cap,kebab),value.charAt(0)!=="-"&&(value="-"+value),data+value)}function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}}}),require_hast_util_parse_selector=__commonJS({"../../node_modules/hast-util-parse-selector/index.js"(exports,module){module.exports=parse;var search=/[#.]/g;function parse(selector,defaultTagName){for(var value=selector||"",name=defaultTagName||"div",props={},start=0,subvalue,previous,match;start",Iacute:"\xCD",Icirc:"\xCE",Igrave:"\xCC",Iuml:"\xCF",LT:"<",Ntilde:"\xD1",Oacute:"\xD3",Ocirc:"\xD4",Ograve:"\xD2",Oslash:"\xD8",Otilde:"\xD5",Ouml:"\xD6",QUOT:'"',REG:"\xAE",THORN:"\xDE",Uacute:"\xDA",Ucirc:"\xDB",Ugrave:"\xD9",Uuml:"\xDC",Yacute:"\xDD",aacute:"\xE1",acirc:"\xE2",acute:"\xB4",aelig:"\xE6",agrave:"\xE0",amp:"&",aring:"\xE5",atilde:"\xE3",auml:"\xE4",brvbar:"\xA6",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",eacute:"\xE9",ecirc:"\xEA",egrave:"\xE8",eth:"\xF0",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",iacute:"\xED",icirc:"\xEE",iexcl:"\xA1",igrave:"\xEC",iquest:"\xBF",iuml:"\xEF",laquo:"\xAB",lt:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",ntilde:"\xF1",oacute:"\xF3",ocirc:"\xF4",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",oslash:"\xF8",otilde:"\xF5",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',raquo:"\xBB",reg:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",thorn:"\xFE",times:"\xD7",uacute:"\xFA",ucirc:"\xFB",ugrave:"\xF9",uml:"\xA8",uuml:"\xFC",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),require_character_reference_invalid=__commonJS({"../../node_modules/refractor/node_modules/character-reference-invalid/index.json"(exports,module){module.exports={0:"\uFFFD",128:"\u20AC",130:"\u201A",131:"\u0192",132:"\u201E",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02C6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017D",145:"\u2018",146:"\u2019",147:"\u201C",148:"\u201D",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02DC",153:"\u2122",154:"\u0161",155:"\u203A",156:"\u0153",158:"\u017E",159:"\u0178"}}}),require_is_decimal=__commonJS({"../../node_modules/refractor/node_modules/is-decimal/index.js"(exports,module){module.exports=decimal;function decimal(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=48&&code<=57}}}),require_is_hexadecimal=__commonJS({"../../node_modules/refractor/node_modules/is-hexadecimal/index.js"(exports,module){module.exports=hexadecimal;function hexadecimal(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}}}),require_is_alphabetical=__commonJS({"../../node_modules/refractor/node_modules/is-alphabetical/index.js"(exports,module){module.exports=alphabetical;function alphabetical(character){var code=typeof character=="string"?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}}}),require_is_alphanumerical=__commonJS({"../../node_modules/refractor/node_modules/is-alphanumerical/index.js"(exports,module){var alphabetical=require_is_alphabetical(),decimal=require_is_decimal();module.exports=alphanumerical;function alphanumerical(character){return alphabetical(character)||decimal(character)}}}),require_decode_entity_browser=__commonJS({"../../node_modules/refractor/node_modules/parse-entities/decode-entity.browser.js"(exports,module){var el,semicolon=59;module.exports=decodeEntity;function decodeEntity(characters){var entity="&"+characters+";",char;return el=el||document.createElement("i"),el.innerHTML=entity,char=el.textContent,char.charCodeAt(char.length-1)===semicolon&&characters!=="semi"||char===entity?!1:char}}}),require_parse_entities=__commonJS({"../../node_modules/refractor/node_modules/parse-entities/index.js"(exports,module){var legacy=require_character_entities_legacy(),invalid=require_character_reference_invalid(),decimal=require_is_decimal(),hexadecimal=require_is_hexadecimal(),alphanumerical=require_is_alphanumerical(),decodeEntity=require_decode_entity_browser();module.exports=parseEntities;var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},tab=9,lineFeed=10,formFeed=12,space=32,ampersand=38,semicolon=59,lessThan=60,equalsTo=61,numberSign=35,uppercaseX=88,lowercaseX=120,replacementCharacter=65533,name="named",hexa="hexadecimal",deci="decimal",bases={};bases[hexa]=16,bases[deci]=10;var tests={};tests[name]=alphanumerical,tests[deci]=decimal,tests[hexa]=hexadecimal;var namedNotTerminated=1,numericNotTerminated=2,namedEmpty=3,numericEmpty=4,namedUnknown=5,numericDisallowed=6,numericProhibited=7,messages={};messages[namedNotTerminated]="Named character references must be terminated by a semicolon",messages[numericNotTerminated]="Numeric character references must be terminated by a semicolon",messages[namedEmpty]="Named character references cannot be empty",messages[numericEmpty]="Numeric character references cannot be empty",messages[namedUnknown]="Named character references must be known",messages[numericDisallowed]="Numeric character references cannot be disallowed",messages[numericProhibited]="Numeric character references cannot be outside the permissible Unicode range";function parseEntities(value,options){var settings={},option,key;options||(options={});for(key in defaults)option=options[key],settings[key]=option??defaults[key];return(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start),parse(value,settings)}function parse(value,settings){var additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[],entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end;for(typeof additional=="string"&&(additional=additional.charCodeAt(0)),prev=now(),warning=handleWarning?parseError:noop,index--,length++;++index65535&&(reference-=65536,output+=fromCharCode(reference>>>10|55296),reference=56320|reference&1023),reference=output+fromCharCode(reference))):type!==name&&warning(numericEmpty,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),next=now(),next.offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else character===10&&(line++,lines++,column=0),character===character?(queue+=fromCharCode(character),column++):flush();return result.join("");function now(){return{line,column,offset:index+(pos.offset||0)}}function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}function prohibited(code){return code>=55296&&code<=57343||code>1114111}function disallowed(code){return code>=1&&code<=8||code===11||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||(code&65535)===65535||(code&65535)===65534}}}),require_prism_core=__commonJS({"../../node_modules/refractor/node_modules/prismjs/components/prism-core.js"(exports,module){var _self=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},Prism=function(_self2){var lang=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,uniqueId=0,plainTextGrammar={},_={manual:_self2.Prism&&_self2.Prism.manual,disableWorkerMessageHandler:_self2.Prism&&_self2.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(err){var src=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(err.stack)||[])[1];if(src){var scripts=document.getElementsByTagName("script");for(var i in scripts)if(scripts[i].src==src)return scripts[i]}return null}},isActive:function(element,className,defaultActivation){for(var no="no-"+className;element;){var classList=element.classList;if(classList.contains(className))return!0;if(classList.contains(no))return!1;element=element.parentElement}return!!defaultActivation}},languages:{plain:plainTextGrammar,plaintext:plainTextGrammar,text:plainTextGrammar,txt:plainTextGrammar,extend:function(id,redef){var lang2=_.util.clone(_.languages[id]);for(var key in redef)lang2[key]=redef[key];return lang2},insertBefore:function(inside,before,insert,root){root=root||_.languages;var grammar=root[inside],ret={};for(var token in grammar)if(grammar.hasOwnProperty(token)){if(token==before)for(var newToken in insert)insert.hasOwnProperty(newToken)&&(ret[newToken]=insert[newToken]);insert.hasOwnProperty(token)||(ret[token]=grammar[token])}var old=root[inside];return root[inside]=ret,_.languages.DFS(_.languages,function(key,value){value===old&&key!=inside&&(this[key]=ret)}),ret},DFS:function DFS(o,callback,type,visited){visited=visited||{};var objId=_.util.objId;for(var i in o)if(o.hasOwnProperty(i)){callback.call(o,i,o[i],type||i);var property=o[i],propertyType=_.util.type(property);propertyType==="Object"&&!visited[objId(property)]?(visited[objId(property)]=!0,DFS(property,callback,null,visited)):propertyType==="Array"&&!visited[objId(property)]&&(visited[objId(property)]=!0,DFS(property,callback,i,visited))}}},plugins:{},highlightAll:function(async,callback){_.highlightAllUnder(document,async,callback)},highlightAllUnder:function(container,async,callback){var env={callback,container,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};_.hooks.run("before-highlightall",env),env.elements=Array.prototype.slice.apply(env.container.querySelectorAll(env.selector)),_.hooks.run("before-all-elements-highlight",env);for(var i=0,element;element=env.elements[i++];)_.highlightElement(element,async===!0,env.callback)},highlightElement:function(element,async,callback){var language=_.util.getLanguage(element),grammar=_.languages[language];_.util.setLanguage(element,language);var parent=element.parentElement;parent&&parent.nodeName.toLowerCase()==="pre"&&_.util.setLanguage(parent,language);var code=element.textContent,env={element,language,grammar,code};function insertHighlightedCode(highlightedCode){env.highlightedCode=highlightedCode,_.hooks.run("before-insert",env),env.element.innerHTML=env.highlightedCode,_.hooks.run("after-highlight",env),_.hooks.run("complete",env),callback&&callback.call(env.element)}if(_.hooks.run("before-sanity-check",env),parent=env.element.parentElement,parent&&parent.nodeName.toLowerCase()==="pre"&&!parent.hasAttribute("tabindex")&&parent.setAttribute("tabindex","0"),!env.code){_.hooks.run("complete",env),callback&&callback.call(env.element);return}if(_.hooks.run("before-highlight",env),!env.grammar){insertHighlightedCode(_.util.encode(env.code));return}if(async&&_self2.Worker){var worker=new Worker(_.filename);worker.onmessage=function(evt){insertHighlightedCode(evt.data)},worker.postMessage(JSON.stringify({language:env.language,code:env.code,immediateClose:!0}))}else insertHighlightedCode(_.highlight(env.code,env.grammar,env.language))},highlight:function(text,grammar,language){var env={code:text,grammar,language};if(_.hooks.run("before-tokenize",env),!env.grammar)throw new Error('The language "'+env.language+'" has no grammar.');return env.tokens=_.tokenize(env.code,env.grammar),_.hooks.run("after-tokenize",env),Token.stringify(_.util.encode(env.tokens),env.language)},tokenize:function(text,grammar){var rest=grammar.rest;if(rest){for(var token in rest)grammar[token]=rest[token];delete grammar.rest}var tokenList=new LinkedList;return addAfter(tokenList,tokenList.head,text),matchGrammar(text,tokenList,grammar,tokenList.head,0),toArray(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(!(!callbacks||!callbacks.length))for(var i=0,callback;callback=callbacks[i++];)callback(env)}},Token};_self2.Prism=_;function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=(matchedStr||"").length|0}Token.stringify=function stringify(o,language){if(typeof o=="string")return o;if(Array.isArray(o)){var s="";return o.forEach(function(e){s+=stringify(e,language)}),s}var env={type:o.type,content:stringify(o.content,language),tag:"span",classes:["token",o.type],attributes:{},language},aliases=o.alias;aliases&&(Array.isArray(aliases)?Array.prototype.push.apply(env.classes,aliases):env.classes.push(aliases)),_.hooks.run("wrap",env);var attributes="";for(var name in env.attributes)attributes+=" "+name+'="'+(env.attributes[name]||"").replace(/"/g,""")+'"';return"<"+env.tag+' class="'+env.classes.join(" ")+'"'+attributes+">"+env.content+""};function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function matchGrammar(text,tokenList,grammar,startNode,startPos,rematch){for(var token in grammar)if(!(!grammar.hasOwnProperty(token)||!grammar[token])){var patterns=grammar[token];patterns=Array.isArray(patterns)?patterns:[patterns];for(var j=0;j=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var removeCount=1,match;if(greedy){if(match=matchPattern(pattern,pos,text,lookbehind),!match||match.index>=text.length)break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)currentNode=currentNode.next,p+=currentNode.value.length;if(p-=currentNode.value.length,pos=p,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount);var wrapped=new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr);if(currentNode=addAfter(tokenList,removeFrom,wrapped),after&&addAfter(tokenList,currentNode,after),removeCount>1){var nestedRematch={cause:token+","+j,reach};matchGrammar(text,tokenList,grammar,currentNode.prev,pos,nestedRematch),rematch&&nestedRematch.reach>rematch.reach&&(rematch.reach=nestedRematch.reach)}}}}}}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value,prev:node,next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};Prism2.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:insideString.entity}}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism2.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),flags)}Prism2.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism2.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism2.languages.javascript}}),Prism2.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism2.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism2.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i0)){var mutationEnd=findClosingBracket(/^\{$/,/^\}$/);if(mutationEnd===-1)continue;for(var i=currentIndex;i=0&&addAlias(varToken,"variable-input")}}}}})}}});var import_react3=__toESM(require_react(),1);var import_memoizerific=__toESM(require_memoizerific(),1),import_react_dom=__toESM(require_react_dom(),1);function _extends2(){return _extends2=Object.assign?Object.assign.bind():function(target){for(var i=1;irefs.forEach(ref=>$6ed0406888f73fc4$var$setRef(ref,node))}var $5e63c961fc1ce211$export$8c6ed5c666ac1360=(0,import_react2.forwardRef)((props,forwardedRef)=>{let{children,...slotProps}=props,childrenArray=import_react2.Children.toArray(children),slottable=childrenArray.find($5e63c961fc1ce211$var$isSlottable);if(slottable){let newElement=slottable.props.children,newChildren=childrenArray.map(child=>child===slottable?import_react2.Children.count(newElement)>1?import_react2.Children.only(null):(0,import_react2.isValidElement)(newElement)?newElement.props.children:null:child);return(0,import_react2.createElement)($5e63c961fc1ce211$var$SlotClone,_extends2({},slotProps,{ref:forwardedRef}),(0,import_react2.isValidElement)(newElement)?(0,import_react2.cloneElement)(newElement,void 0,newChildren):null)}return(0,import_react2.createElement)($5e63c961fc1ce211$var$SlotClone,_extends2({},slotProps,{ref:forwardedRef}),children)});$5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName="Slot";var $5e63c961fc1ce211$var$SlotClone=(0,import_react2.forwardRef)((props,forwardedRef)=>{let{children,...slotProps}=props;return(0,import_react2.isValidElement)(children)?(0,import_react2.cloneElement)(children,{...$5e63c961fc1ce211$var$mergeProps(slotProps,children.props),ref:forwardedRef?$6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef,children.ref):children.ref}):import_react2.Children.count(children)>1?import_react2.Children.only(null):null});$5e63c961fc1ce211$var$SlotClone.displayName="SlotClone";var $5e63c961fc1ce211$export$d9f1ccf0bdb05d45=({children})=>(0,import_react2.createElement)(import_react2.Fragment,null,children);function $5e63c961fc1ce211$var$isSlottable(child){return(0,import_react2.isValidElement)(child)&&child.type===$5e63c961fc1ce211$export$d9f1ccf0bdb05d45}function $5e63c961fc1ce211$var$mergeProps(slotProps,childProps){let overrideProps={...childProps};for(let propName in childProps){let slotPropValue=slotProps[propName],childPropValue=childProps[propName];/^on[A-Z]/.test(propName)?slotPropValue&&childPropValue?overrideProps[propName]=(...args)=>{childPropValue(...args),slotPropValue(...args)}:slotPropValue&&(overrideProps[propName]=slotPropValue):propName==="style"?overrideProps[propName]={...slotPropValue,...childPropValue}:propName==="className"&&(overrideProps[propName]=[slotPropValue,childPropValue].filter(Boolean).join(" "))}return{...slotProps,...overrideProps}}var import_jsx=__toESM2(require_jsx()),jsx_default=import_jsx.default,import_bash=__toESM2(require_bash()),bash_default=import_bash.default,import_css=__toESM2(require_css()),css_default=import_css.default,import_js_extras=__toESM2(require_js_extras()),js_extras_default=import_js_extras.default,import_json=__toESM2(require_json()),json_default=import_json.default,import_graphql=__toESM2(require_graphql()),graphql_default=import_graphql.default,import_markup=__toESM2(require_markup()),markup_default=import_markup.default,import_markdown=__toESM2(require_markdown()),markdown_default=import_markdown.default,import_yaml=__toESM2(require_yaml()),yaml_default=import_yaml.default,import_tsx=__toESM2(require_tsx()),tsx_default=import_tsx.default,import_typescript=__toESM2(require_typescript()),typescript_default=import_typescript.default;function _objectWithoutProperties(source,excluded){if(source==null)return{};var target=_objectWithoutPropertiesLoose(source,excluded),key,i;if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=4)return[arr[0],arr[1],arr[2],arr[3],"".concat(arr[0],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3]),"".concat(arr[3],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[1],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[0],".").concat(arr[2],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[0],".").concat(arr[3],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[2],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[0],".").concat(arr[3],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[1],".").concat(arr[2],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[1],".").concat(arr[3],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[1],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[0],".").concat(arr[3],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[0],".").concat(arr[3]),"".concat(arr[2],".").concat(arr[1],".").concat(arr[3],".").concat(arr[0]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[2],".").concat(arr[3],".").concat(arr[1],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[1],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[0],".").concat(arr[2],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[0],".").concat(arr[2]),"".concat(arr[3],".").concat(arr[1],".").concat(arr[2],".").concat(arr[0]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[0],".").concat(arr[1]),"".concat(arr[3],".").concat(arr[2],".").concat(arr[1],".").concat(arr[0])]}var classNameCombinations={};function getClassNameCombinations(classNames){if(classNames.length===0||classNames.length===1)return classNames;var key=classNames.join(".");return classNameCombinations[key]||(classNameCombinations[key]=powerSetPermutations(classNames)),classNameCombinations[key]}function createStyleObject(classNames){var elementStyle=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0,nonTokenClassNames=classNames.filter(function(className){return className!=="token"}),classNamesCombinations=getClassNameCombinations(nonTokenClassNames);return classNamesCombinations.reduce(function(styleObject,className){return _objectSpread(_objectSpread({},styleObject),stylesheet[className])},elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map(function(child,i){return createElement({node:child,stylesheet,useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})})}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=_ref$style===void 0?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if(type==="text")return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),props;if(!useInlineStyles)props=_objectSpread(_objectSpread({},properties),{},{className:createClassNameString(properties.className)});else{var allStylesheetSelectors=Object.keys(stylesheet).reduce(function(classes,selector){return selector.split(".").forEach(function(className2){classes.includes(className2)||classes.push(className2)}),classes},[]),startingClassName=properties.className&&properties.className.includes("token")?["token"]:[],className=properties.className&&startingClassName.concat(properties.className.filter(function(className2){return!allStylesheetSelectors.includes(className2)}));props=_objectSpread(_objectSpread({},properties),{},{className:createClassNameString(className)||void 0,style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)})}var children=childrenCreator(node.children);return import_react3.default.createElement(TagName,_extends({key},props),children)}}var checkForListedLanguage_default=function(astGenerator,language){var langs=astGenerator.listLanguages();return langs.indexOf(language)!==-1},_excluded=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function ownKeys2(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function _objectSpread2(target){for(var i=1;i1&&arguments[1]!==void 0?arguments[1]:[],newTree=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=0;i2&&arguments[2]!==void 0?arguments[2]:[];return createLineElement({children:children2,lineNumber:lineNumber2,lineNumberStyle,largestLineNumber,showInlineLineNumbers,lineProps,className,showLineNumbers,wrapLongLines})}function createUnwrappedLine(children2,lineNumber2){if(showLineNumbers&&lineNumber2&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber2,largestLineNumber);children2.unshift(getInlineLineNumber(lineNumber2,inlineLineNumberStyle))}return children2}function createLine(children2,lineNumber2){var className=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children2,lineNumber2,className):createUnwrappedLine(children2,lineNumber2)}for(var _loop=function(){var node=tree[index],value=node.children[0].value,newLines=getNewLines(value);if(newLines){var splitValue=value.split(` -`);splitValue.forEach(function(text,i){var lineNumber2=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,` -`)};if(i===0){var _children=tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),_line=createLine(_children,lineNumber2);newTree.push(_line)}else if(i===splitValue.length-1){var stringChild=tree[index+1]&&tree[index+1].children&&tree[index+1].children[0],lastLineInPreviousSpan={type:"text",value:"".concat(text)};if(stringChild){var newElem=createLineElement({children:[lastLineInPreviousSpan],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _children2=[lastLineInPreviousSpan],_line2=createLine(_children2,lineNumber2,node.properties.className);newTree.push(_line2)}}else{var _children3=[newChild],_line3=createLine(_children3,lineNumber2,node.properties.className);newTree.push(_line3)}}),lastLineBreakIndex=index}index++};index({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:theme.background.content,zIndex:1})),ActionButton=newStyled.button(({theme})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:theme.color.defaultText,background:theme.background.content,fontSize:12,lineHeight:"16px",fontFamily:theme.typography.fonts.base,fontWeight:theme.typography.weight.bold,borderTop:`1px solid ${theme.appBorderColor}`,borderLeft:`1px solid ${theme.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${theme.appBorderColor}`},"& + *":{borderLeft:`1px solid ${theme.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${theme.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled})=>disabled&&{cursor:"not-allowed",opacity:.5});ActionButton.displayName="ActionButton";var ActionBar=({actionItems,...props})=>import_react3.default.createElement(Container,{...props},actionItems.map(({title,className,onClick,disabled},index)=>import_react3.default.createElement(ActionButton,{key:index,className,onClick,disabled},title))),$8927f6f2acc4f386$var$NODES=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],$8927f6f2acc4f386$export$250ffa63cdc0d034=$8927f6f2acc4f386$var$NODES.reduce((primitive,node)=>{let Node=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{asChild,...primitiveProps}=props,Comp=asChild?$5e63c961fc1ce211$export$8c6ed5c666ac1360:node;return(0,import_react3.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,import_react3.createElement)(Comp,_extends({},primitiveProps,{ref:forwardedRef}))});return Node.displayName=`Primitive.${node}`,{...primitive,[node]:Node}},{});function $6ed0406888f73fc4$var$setRef2(ref,value){typeof ref=="function"?ref(value):ref!=null&&(ref.current=value)}function $6ed0406888f73fc4$export$43e446d32b3d21af2(...refs){return node=>refs.forEach(ref=>$6ed0406888f73fc4$var$setRef2(ref,node))}function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs){return(0,import_react3.useCallback)($6ed0406888f73fc4$export$43e446d32b3d21af2(...refs),refs)}var $9f79659886946c16$export$e5c5a5f917a5871c=globalThis?.document?import_react3.useLayoutEffect:()=>{};function $fe963b355347cc68$export$3e6543de14f8614f(initialState,machine){return(0,import_react3.useReducer)((state,event)=>machine[state][event]??state,initialState)}var $921a889cee6df7e8$export$99c2b779aa4e8b8b=props=>{let{present,children}=props,presence=$921a889cee6df7e8$var$usePresence(present),child=typeof children=="function"?children({present:presence.isPresent}):import_react3.Children.only(children),ref=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(presence.ref,child.ref);return typeof children=="function"||presence.isPresent?(0,import_react3.cloneElement)(child,{ref}):null};$921a889cee6df7e8$export$99c2b779aa4e8b8b.displayName="Presence";function $921a889cee6df7e8$var$usePresence(present){let[node1,setNode]=(0,import_react3.useState)(),stylesRef=(0,import_react3.useRef)({}),prevPresentRef=(0,import_react3.useRef)(present),prevAnimationNameRef=(0,import_react3.useRef)("none"),initialState=present?"mounted":"unmounted",[state,send]=$fe963b355347cc68$export$3e6543de14f8614f(initialState,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,import_react3.useEffect)(()=>{let currentAnimationName=$921a889cee6df7e8$var$getAnimationName(stylesRef.current);prevAnimationNameRef.current=state==="mounted"?currentAnimationName:"none"},[state]),$9f79659886946c16$export$e5c5a5f917a5871c(()=>{let styles=stylesRef.current,wasPresent=prevPresentRef.current;if(wasPresent!==present){let prevAnimationName=prevAnimationNameRef.current,currentAnimationName=$921a889cee6df7e8$var$getAnimationName(styles);present?send("MOUNT"):currentAnimationName==="none"||styles?.display==="none"?send("UNMOUNT"):send(wasPresent&&prevAnimationName!==currentAnimationName?"ANIMATION_OUT":"UNMOUNT"),prevPresentRef.current=present}},[present,send]),$9f79659886946c16$export$e5c5a5f917a5871c(()=>{if(node1){let handleAnimationEnd=event=>{let isCurrentAnimation=$921a889cee6df7e8$var$getAnimationName(stylesRef.current).includes(event.animationName);event.target===node1&&isCurrentAnimation&&(0,import_react_dom.flushSync)(()=>send("ANIMATION_END"))},handleAnimationStart=event=>{event.target===node1&&(prevAnimationNameRef.current=$921a889cee6df7e8$var$getAnimationName(stylesRef.current))};return node1.addEventListener("animationstart",handleAnimationStart),node1.addEventListener("animationcancel",handleAnimationEnd),node1.addEventListener("animationend",handleAnimationEnd),()=>{node1.removeEventListener("animationstart",handleAnimationStart),node1.removeEventListener("animationcancel",handleAnimationEnd),node1.removeEventListener("animationend",handleAnimationEnd)}}else send("ANIMATION_END")},[node1,send]),{isPresent:["mounted","unmountSuspended"].includes(state),ref:(0,import_react3.useCallback)(node=>{node&&(stylesRef.current=getComputedStyle(node)),setNode(node)},[])}}function $921a889cee6df7e8$var$getAnimationName(styles){return styles?.animationName||"none"}function $c512c27ab02ef895$export$50c7b4e9d9f19c1(scopeName,createContextScopeDeps=[]){let defaultContexts=[];function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName,defaultContext){let BaseContext=(0,import_react3.createContext)(defaultContext),index=defaultContexts.length;defaultContexts=[...defaultContexts,defaultContext];function Provider(props){let{scope:scope2,children,...context}=props,Context=scope2?.[scopeName][index]||BaseContext,value=(0,import_react3.useMemo)(()=>context,Object.values(context));return(0,import_react3.createElement)(Context.Provider,{value},children)}function useContext$1(consumerName,scope2){let Context=scope2?.[scopeName][index]||BaseContext,context=(0,import_react3.useContext)(Context);if(context)return context;if(defaultContext!==void 0)return defaultContext;throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``)}return Provider.displayName=rootComponentName+"Provider",[Provider,useContext$1]}let createScope=()=>{let scopeContexts=defaultContexts.map(defaultContext=>(0,import_react3.createContext)(defaultContext));return function(scope2){let contexts=scope2?.[scopeName]||scopeContexts;return(0,import_react3.useMemo)(()=>({[`__scope${scopeName}`]:{...scope2,[scopeName]:contexts}}),[scope2,contexts])}};return createScope.scopeName=scopeName,[$c512c27ab02ef895$export$fd42f52fd3ae1109,$c512c27ab02ef895$var$composeContextScopes(createScope,...createContextScopeDeps)]}function $c512c27ab02ef895$var$composeContextScopes(...scopes){let baseScope=scopes[0];if(scopes.length===1)return baseScope;let createScope1=()=>{let scopeHooks=scopes.map(createScope=>({useScope:createScope(),scopeName:createScope.scopeName}));return function(overrideScopes){let nextScopes1=scopeHooks.reduce((nextScopes,{useScope,scopeName})=>{let currentScope=useScope(overrideScopes)[`__scope${scopeName}`];return{...nextScopes,...currentScope}},{});return(0,import_react3.useMemo)(()=>({[`__scope${baseScope.scopeName}`]:nextScopes1}),[nextScopes1])}};return createScope1.scopeName=baseScope.scopeName,createScope1}function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback){let callbackRef=(0,import_react3.useRef)(callback);return(0,import_react3.useEffect)(()=>{callbackRef.current=callback}),(0,import_react3.useMemo)(()=>(...args)=>{var _callbackRef$current;return(_callbackRef$current=callbackRef.current)===null||_callbackRef$current===void 0?void 0:_callbackRef$current.call(callbackRef,...args)},[])}var $f631663db3294ace$var$DirectionContext=(0,import_react3.createContext)(void 0);function $f631663db3294ace$export$b39126d51d94e6f3(localDir){let globalDir=(0,import_react3.useContext)($f631663db3294ace$var$DirectionContext);return localDir||globalDir||"ltr"}function $ae6933e535247d3d$export$7d15b64cf5a3a4c4(value,[min,max]){return Math.min(max,Math.max(min,value))}function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler,ourEventHandler,{checkForDefaultPrevented=!0}={}){return function(event){if(originalEventHandler?.(event),checkForDefaultPrevented===!1||!event.defaultPrevented)return ourEventHandler?.(event)}}function $6c2e24571c90391f$export$3e6543de14f8614f(initialState,machine){return(0,import_react3.useReducer)((state,event)=>machine[state][event]??state,initialState)}var $57acba87d6e25586$var$SCROLL_AREA_NAME="ScrollArea",[$57acba87d6e25586$var$createScrollAreaContext,$57acba87d6e25586$export$488468afe3a6f2b1]=$c512c27ab02ef895$export$50c7b4e9d9f19c1($57acba87d6e25586$var$SCROLL_AREA_NAME),[$57acba87d6e25586$var$ScrollAreaProvider,$57acba87d6e25586$var$useScrollAreaContext]=$57acba87d6e25586$var$createScrollAreaContext($57acba87d6e25586$var$SCROLL_AREA_NAME),$57acba87d6e25586$export$ccf8d8d7bbf3c2cc=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{__scopeScrollArea,type="hover",dir,scrollHideDelay=600,...scrollAreaProps}=props,[scrollArea,setScrollArea]=(0,import_react3.useState)(null),[viewport,setViewport]=(0,import_react3.useState)(null),[content,setContent]=(0,import_react3.useState)(null),[scrollbarX,setScrollbarX]=(0,import_react3.useState)(null),[scrollbarY,setScrollbarY]=(0,import_react3.useState)(null),[cornerWidth,setCornerWidth]=(0,import_react3.useState)(0),[cornerHeight,setCornerHeight]=(0,import_react3.useState)(0),[scrollbarXEnabled,setScrollbarXEnabled]=(0,import_react3.useState)(!1),[scrollbarYEnabled,setScrollbarYEnabled]=(0,import_react3.useState)(!1),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,node=>setScrollArea(node)),direction=$f631663db3294ace$export$b39126d51d94e6f3(dir);return(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaProvider,{scope:__scopeScrollArea,type,dir:direction,scrollHideDelay,scrollArea,viewport,onViewportChange:setViewport,content,onContentChange:setContent,scrollbarX,onScrollbarXChange:setScrollbarX,scrollbarXEnabled,onScrollbarXEnabledChange:setScrollbarXEnabled,scrollbarY,onScrollbarYChange:setScrollbarY,scrollbarYEnabled,onScrollbarYEnabledChange:setScrollbarYEnabled,onCornerWidthChange:setCornerWidth,onCornerHeightChange:setCornerHeight},(0,import_react3.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,_extends({dir:direction},scrollAreaProps,{ref:composedRefs,style:{position:"relative","--radix-scroll-area-corner-width":cornerWidth+"px","--radix-scroll-area-corner-height":cornerHeight+"px",...props.style}})))}),$57acba87d6e25586$var$VIEWPORT_NAME="ScrollAreaViewport",$57acba87d6e25586$export$a21cbf9f11fca853=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{__scopeScrollArea,children,...viewportProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$VIEWPORT_NAME,__scopeScrollArea),ref=(0,import_react3.useRef)(null),composedRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,ref,context.onViewportChange);return(0,import_react3.createElement)(import_react3.Fragment,null,(0,import_react3.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),(0,import_react3.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,_extends({"data-radix-scroll-area-viewport":""},viewportProps,{ref:composedRefs,style:{overflowX:context.scrollbarXEnabled?"scroll":"hidden",overflowY:context.scrollbarYEnabled?"scroll":"hidden",...props.style}}),(0,import_react3.createElement)("div",{ref:context.onContentChange,style:{minWidth:"100%",display:"table"}},children)))}),$57acba87d6e25586$var$SCROLLBAR_NAME="ScrollAreaScrollbar",$57acba87d6e25586$export$2fabd85d0eba3c57=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{forceMount,...scrollbarProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME,props.__scopeScrollArea),{onScrollbarXEnabledChange,onScrollbarYEnabledChange}=context,isHorizontal=props.orientation==="horizontal";return(0,import_react3.useEffect)(()=>(isHorizontal?onScrollbarXEnabledChange(!0):onScrollbarYEnabledChange(!0),()=>{isHorizontal?onScrollbarXEnabledChange(!1):onScrollbarYEnabledChange(!1)}),[isHorizontal,onScrollbarXEnabledChange,onScrollbarYEnabledChange]),context.type==="hover"?(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarHover,_extends({},scrollbarProps,{ref:forwardedRef,forceMount})):context.type==="scroll"?(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarScroll,_extends({},scrollbarProps,{ref:forwardedRef,forceMount})):context.type==="auto"?(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarAuto,_extends({},scrollbarProps,{ref:forwardedRef,forceMount})):context.type==="always"?(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarVisible,_extends({},scrollbarProps,{ref:forwardedRef})):null}),$57acba87d6e25586$var$ScrollAreaScrollbarHover=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{forceMount,...scrollbarProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME,props.__scopeScrollArea),[visible,setVisible]=(0,import_react3.useState)(!1);return(0,import_react3.useEffect)(()=>{let scrollArea=context.scrollArea,hideTimer=0;if(scrollArea){let handlePointerEnter=()=>{window.clearTimeout(hideTimer),setVisible(!0)},handlePointerLeave=()=>{hideTimer=window.setTimeout(()=>setVisible(!1),context.scrollHideDelay)};return scrollArea.addEventListener("pointerenter",handlePointerEnter),scrollArea.addEventListener("pointerleave",handlePointerLeave),()=>{window.clearTimeout(hideTimer),scrollArea.removeEventListener("pointerenter",handlePointerEnter),scrollArea.removeEventListener("pointerleave",handlePointerLeave)}}},[context.scrollArea,context.scrollHideDelay]),(0,import_react3.createElement)($921a889cee6df7e8$export$99c2b779aa4e8b8b,{present:forceMount||visible},(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarAuto,_extends({"data-state":visible?"visible":"hidden"},scrollbarProps,{ref:forwardedRef})))}),$57acba87d6e25586$var$ScrollAreaScrollbarScroll=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{forceMount,...scrollbarProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME,props.__scopeScrollArea),isHorizontal=props.orientation==="horizontal",debounceScrollEnd=$57acba87d6e25586$var$useDebounceCallback(()=>send("SCROLL_END"),100),[state,send]=$6c2e24571c90391f$export$3e6543de14f8614f("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return(0,import_react3.useEffect)(()=>{if(state==="idle"){let hideTimer=window.setTimeout(()=>send("HIDE"),context.scrollHideDelay);return()=>window.clearTimeout(hideTimer)}},[state,context.scrollHideDelay,send]),(0,import_react3.useEffect)(()=>{let viewport=context.viewport,scrollDirection=isHorizontal?"scrollLeft":"scrollTop";if(viewport){let prevScrollPos=viewport[scrollDirection],handleScroll=()=>{let scrollPos=viewport[scrollDirection];prevScrollPos!==scrollPos&&(send("SCROLL"),debounceScrollEnd()),prevScrollPos=scrollPos};return viewport.addEventListener("scroll",handleScroll),()=>viewport.removeEventListener("scroll",handleScroll)}},[context.viewport,isHorizontal,send,debounceScrollEnd]),(0,import_react3.createElement)($921a889cee6df7e8$export$99c2b779aa4e8b8b,{present:forceMount||state!=="hidden"},(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarVisible,_extends({"data-state":state==="hidden"?"hidden":"visible"},scrollbarProps,{ref:forwardedRef,onPointerEnter:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerEnter,()=>send("POINTER_ENTER")),onPointerLeave:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerLeave,()=>send("POINTER_LEAVE"))})))}),$57acba87d6e25586$var$ScrollAreaScrollbarAuto=(0,import_react3.forwardRef)((props,forwardedRef)=>{let context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME,props.__scopeScrollArea),{forceMount,...scrollbarProps}=props,[visible,setVisible]=(0,import_react3.useState)(!1),isHorizontal=props.orientation==="horizontal",handleResize=$57acba87d6e25586$var$useDebounceCallback(()=>{if(context.viewport){let isOverflowX=context.viewport.offsetWidth{let{orientation="vertical",...scrollbarProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME,props.__scopeScrollArea),thumbRef=(0,import_react3.useRef)(null),pointerOffsetRef=(0,import_react3.useRef)(0),[sizes,setSizes]=(0,import_react3.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),thumbRatio=$57acba87d6e25586$var$getThumbRatio(sizes.viewport,sizes.content),commonProps={...scrollbarProps,sizes,onSizesChange:setSizes,hasThumb:thumbRatio>0&&thumbRatio<1,onThumbChange:thumb=>thumbRef.current=thumb,onThumbPointerUp:()=>pointerOffsetRef.current=0,onThumbPointerDown:pointerPos=>pointerOffsetRef.current=pointerPos};function getScrollPosition(pointerPos,dir){return $57acba87d6e25586$var$getScrollPositionFromPointer(pointerPos,pointerOffsetRef.current,sizes,dir)}return orientation==="horizontal"?(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarX,_extends({},commonProps,{ref:forwardedRef,onThumbPositionChange:()=>{if(context.viewport&&thumbRef.current){let scrollPos=context.viewport.scrollLeft,offset=$57acba87d6e25586$var$getThumbOffsetFromScroll(scrollPos,sizes,context.dir);thumbRef.current.style.transform=`translate3d(${offset}px, 0, 0)`}},onWheelScroll:scrollPos=>{context.viewport&&(context.viewport.scrollLeft=scrollPos)},onDragScroll:pointerPos=>{context.viewport&&(context.viewport.scrollLeft=getScrollPosition(pointerPos,context.dir))}})):orientation==="vertical"?(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarY,_extends({},commonProps,{ref:forwardedRef,onThumbPositionChange:()=>{if(context.viewport&&thumbRef.current){let scrollPos=context.viewport.scrollTop,offset=$57acba87d6e25586$var$getThumbOffsetFromScroll(scrollPos,sizes);thumbRef.current.style.transform=`translate3d(0, ${offset}px, 0)`}},onWheelScroll:scrollPos=>{context.viewport&&(context.viewport.scrollTop=scrollPos)},onDragScroll:pointerPos=>{context.viewport&&(context.viewport.scrollTop=getScrollPosition(pointerPos))}})):null}),$57acba87d6e25586$var$ScrollAreaScrollbarX=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{sizes,onSizesChange,...scrollbarProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME,props.__scopeScrollArea),[computedStyle,setComputedStyle]=(0,import_react3.useState)(),ref=(0,import_react3.useRef)(null),composeRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,ref,context.onScrollbarXChange);return(0,import_react3.useEffect)(()=>{ref.current&&setComputedStyle(getComputedStyle(ref.current))},[ref]),(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarImpl,_extends({"data-orientation":"horizontal"},scrollbarProps,{ref:composeRefs,sizes,style:{bottom:0,left:context.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:context.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":$57acba87d6e25586$var$getThumbSize(sizes)+"px",...props.style},onThumbPointerDown:pointerPos=>props.onThumbPointerDown(pointerPos.x),onDragScroll:pointerPos=>props.onDragScroll(pointerPos.x),onWheelScroll:(event,maxScrollPos)=>{if(context.viewport){let scrollPos=context.viewport.scrollLeft+event.deltaX;props.onWheelScroll(scrollPos),$57acba87d6e25586$var$isScrollingWithinScrollbarBounds(scrollPos,maxScrollPos)&&event.preventDefault()}},onResize:()=>{ref.current&&context.viewport&&computedStyle&&onSizesChange({content:context.viewport.scrollWidth,viewport:context.viewport.offsetWidth,scrollbar:{size:ref.current.clientWidth,paddingStart:$57acba87d6e25586$var$toInt(computedStyle.paddingLeft),paddingEnd:$57acba87d6e25586$var$toInt(computedStyle.paddingRight)}})}}))}),$57acba87d6e25586$var$ScrollAreaScrollbarY=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{sizes,onSizesChange,...scrollbarProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME,props.__scopeScrollArea),[computedStyle,setComputedStyle]=(0,import_react3.useState)(),ref=(0,import_react3.useRef)(null),composeRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,ref,context.onScrollbarYChange);return(0,import_react3.useEffect)(()=>{ref.current&&setComputedStyle(getComputedStyle(ref.current))},[ref]),(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaScrollbarImpl,_extends({"data-orientation":"vertical"},scrollbarProps,{ref:composeRefs,sizes,style:{top:0,right:context.dir==="ltr"?0:void 0,left:context.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":$57acba87d6e25586$var$getThumbSize(sizes)+"px",...props.style},onThumbPointerDown:pointerPos=>props.onThumbPointerDown(pointerPos.y),onDragScroll:pointerPos=>props.onDragScroll(pointerPos.y),onWheelScroll:(event,maxScrollPos)=>{if(context.viewport){let scrollPos=context.viewport.scrollTop+event.deltaY;props.onWheelScroll(scrollPos),$57acba87d6e25586$var$isScrollingWithinScrollbarBounds(scrollPos,maxScrollPos)&&event.preventDefault()}},onResize:()=>{ref.current&&context.viewport&&computedStyle&&onSizesChange({content:context.viewport.scrollHeight,viewport:context.viewport.offsetHeight,scrollbar:{size:ref.current.clientHeight,paddingStart:$57acba87d6e25586$var$toInt(computedStyle.paddingTop),paddingEnd:$57acba87d6e25586$var$toInt(computedStyle.paddingBottom)}})}}))}),[$57acba87d6e25586$var$ScrollbarProvider,$57acba87d6e25586$var$useScrollbarContext]=$57acba87d6e25586$var$createScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME),$57acba87d6e25586$var$ScrollAreaScrollbarImpl=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{__scopeScrollArea,sizes,hasThumb,onThumbChange,onThumbPointerUp,onThumbPointerDown,onThumbPositionChange,onDragScroll,onWheelScroll,onResize,...scrollbarProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$SCROLLBAR_NAME,__scopeScrollArea),[scrollbar,setScrollbar]=(0,import_react3.useState)(null),composeRefs=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,node=>setScrollbar(node)),rectRef=(0,import_react3.useRef)(null),prevWebkitUserSelectRef=(0,import_react3.useRef)(""),viewport=context.viewport,maxScrollPos=sizes.content-sizes.viewport,handleWheelScroll=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onWheelScroll),handleThumbPositionChange=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onThumbPositionChange),handleResize=$57acba87d6e25586$var$useDebounceCallback(onResize,10);function handleDragScroll(event){if(rectRef.current){let x=event.clientX-rectRef.current.left,y=event.clientY-rectRef.current.top;onDragScroll({x,y})}}return(0,import_react3.useEffect)(()=>{let handleWheel=event=>{let element=event.target;scrollbar?.contains(element)&&handleWheelScroll(event,maxScrollPos)};return document.addEventListener("wheel",handleWheel,{passive:!1}),()=>document.removeEventListener("wheel",handleWheel,{passive:!1})},[viewport,scrollbar,maxScrollPos,handleWheelScroll]),(0,import_react3.useEffect)(handleThumbPositionChange,[sizes,handleThumbPositionChange]),$57acba87d6e25586$var$useResizeObserver(scrollbar,handleResize),$57acba87d6e25586$var$useResizeObserver(context.content,handleResize),(0,import_react3.createElement)($57acba87d6e25586$var$ScrollbarProvider,{scope:__scopeScrollArea,scrollbar,hasThumb,onThumbChange:$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onThumbChange),onThumbPointerUp:$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onThumbPointerUp),onThumbPositionChange:handleThumbPositionChange,onThumbPointerDown:$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onThumbPointerDown)},(0,import_react3.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,_extends({},scrollbarProps,{ref:composeRefs,style:{position:"absolute",...scrollbarProps.style},onPointerDown:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerDown,event=>{event.button===0&&(event.target.setPointerCapture(event.pointerId),rectRef.current=scrollbar.getBoundingClientRect(),prevWebkitUserSelectRef.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",context.viewport&&(context.viewport.style.scrollBehavior="auto"),handleDragScroll(event))}),onPointerMove:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerMove,handleDragScroll),onPointerUp:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerUp,event=>{let element=event.target;element.hasPointerCapture(event.pointerId)&&element.releasePointerCapture(event.pointerId),document.body.style.webkitUserSelect=prevWebkitUserSelectRef.current,context.viewport&&(context.viewport.style.scrollBehavior=""),rectRef.current=null})})))}),$57acba87d6e25586$var$THUMB_NAME="ScrollAreaThumb",$57acba87d6e25586$export$9fba1154677d7cd2=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{forceMount,...thumbProps}=props,scrollbarContext=$57acba87d6e25586$var$useScrollbarContext($57acba87d6e25586$var$THUMB_NAME,props.__scopeScrollArea);return(0,import_react3.createElement)($921a889cee6df7e8$export$99c2b779aa4e8b8b,{present:forceMount||scrollbarContext.hasThumb},(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaThumbImpl,_extends({ref:forwardedRef},thumbProps)))}),$57acba87d6e25586$var$ScrollAreaThumbImpl=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{__scopeScrollArea,style,...thumbProps}=props,scrollAreaContext=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$THUMB_NAME,__scopeScrollArea),scrollbarContext=$57acba87d6e25586$var$useScrollbarContext($57acba87d6e25586$var$THUMB_NAME,__scopeScrollArea),{onThumbPositionChange}=scrollbarContext,composedRef=$6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef,node=>scrollbarContext.onThumbChange(node)),removeUnlinkedScrollListenerRef=(0,import_react3.useRef)(),debounceScrollEnd=$57acba87d6e25586$var$useDebounceCallback(()=>{removeUnlinkedScrollListenerRef.current&&(removeUnlinkedScrollListenerRef.current(),removeUnlinkedScrollListenerRef.current=void 0)},100);return(0,import_react3.useEffect)(()=>{let viewport=scrollAreaContext.viewport;if(viewport){let handleScroll=()=>{if(debounceScrollEnd(),!removeUnlinkedScrollListenerRef.current){let listener=$57acba87d6e25586$var$addUnlinkedScrollListener(viewport,onThumbPositionChange);removeUnlinkedScrollListenerRef.current=listener,onThumbPositionChange()}};return onThumbPositionChange(),viewport.addEventListener("scroll",handleScroll),()=>viewport.removeEventListener("scroll",handleScroll)}},[scrollAreaContext.viewport,debounceScrollEnd,onThumbPositionChange]),(0,import_react3.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,_extends({"data-state":scrollbarContext.hasThumb?"visible":"hidden"},thumbProps,{ref:composedRef,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...style},onPointerDownCapture:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerDownCapture,event=>{let thumbRect=event.target.getBoundingClientRect(),x=event.clientX-thumbRect.left,y=event.clientY-thumbRect.top;scrollbarContext.onThumbPointerDown({x,y})}),onPointerUp:$e42e1063c40fb3ef$export$b9ecd428b558ff10(props.onPointerUp,scrollbarContext.onThumbPointerUp)}))}),$57acba87d6e25586$var$CORNER_NAME="ScrollAreaCorner",$57acba87d6e25586$export$56969d565df7cc4b=(0,import_react3.forwardRef)((props,forwardedRef)=>{let context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$CORNER_NAME,props.__scopeScrollArea),hasBothScrollbarsVisible=!!(context.scrollbarX&&context.scrollbarY);return context.type!=="scroll"&&hasBothScrollbarsVisible?(0,import_react3.createElement)($57acba87d6e25586$var$ScrollAreaCornerImpl,_extends({},props,{ref:forwardedRef})):null}),$57acba87d6e25586$var$ScrollAreaCornerImpl=(0,import_react3.forwardRef)((props,forwardedRef)=>{let{__scopeScrollArea,...cornerProps}=props,context=$57acba87d6e25586$var$useScrollAreaContext($57acba87d6e25586$var$CORNER_NAME,__scopeScrollArea),[width1,setWidth]=(0,import_react3.useState)(0),[height1,setHeight]=(0,import_react3.useState)(0),hasSize=!!(width1&&height1);return $57acba87d6e25586$var$useResizeObserver(context.scrollbarX,()=>{var _context$scrollbarX;let height=((_context$scrollbarX=context.scrollbarX)===null||_context$scrollbarX===void 0?void 0:_context$scrollbarX.offsetHeight)||0;context.onCornerHeightChange(height),setHeight(height)}),$57acba87d6e25586$var$useResizeObserver(context.scrollbarY,()=>{var _context$scrollbarY;let width=((_context$scrollbarY=context.scrollbarY)===null||_context$scrollbarY===void 0?void 0:_context$scrollbarY.offsetWidth)||0;context.onCornerWidthChange(width),setWidth(width)}),hasSize?(0,import_react3.createElement)($8927f6f2acc4f386$export$250ffa63cdc0d034.div,_extends({},cornerProps,{ref:forwardedRef,style:{width:width1,height:height1,position:"absolute",right:context.dir==="ltr"?0:void 0,left:context.dir==="rtl"?0:void 0,bottom:0,...props.style}})):null});function $57acba87d6e25586$var$toInt(value){return value?parseInt(value,10):0}function $57acba87d6e25586$var$getThumbRatio(viewportSize,contentSize){let ratio=viewportSize/contentSize;return isNaN(ratio)?0:ratio}function $57acba87d6e25586$var$getThumbSize(sizes){let ratio=$57acba87d6e25586$var$getThumbRatio(sizes.viewport,sizes.content),scrollbarPadding=sizes.scrollbar.paddingStart+sizes.scrollbar.paddingEnd,thumbSize=(sizes.scrollbar.size-scrollbarPadding)*ratio;return Math.max(thumbSize,18)}function $57acba87d6e25586$var$getScrollPositionFromPointer(pointerPos,pointerOffset,sizes,dir="ltr"){let thumbSizePx=$57acba87d6e25586$var$getThumbSize(sizes),thumbCenter=thumbSizePx/2,offset=pointerOffset||thumbCenter,thumbOffsetFromEnd=thumbSizePx-offset,minPointerPos=sizes.scrollbar.paddingStart+offset,maxPointerPos=sizes.scrollbar.size-sizes.scrollbar.paddingEnd-thumbOffsetFromEnd,maxScrollPos=sizes.content-sizes.viewport,scrollRange=dir==="ltr"?[0,maxScrollPos]:[maxScrollPos*-1,0];return $57acba87d6e25586$var$linearScale([minPointerPos,maxPointerPos],scrollRange)(pointerPos)}function $57acba87d6e25586$var$getThumbOffsetFromScroll(scrollPos,sizes,dir="ltr"){let thumbSizePx=$57acba87d6e25586$var$getThumbSize(sizes),scrollbarPadding=sizes.scrollbar.paddingStart+sizes.scrollbar.paddingEnd,scrollbar=sizes.scrollbar.size-scrollbarPadding,maxScrollPos=sizes.content-sizes.viewport,maxThumbPos=scrollbar-thumbSizePx,scrollClampRange=dir==="ltr"?[0,maxScrollPos]:[maxScrollPos*-1,0],scrollWithoutMomentum=$ae6933e535247d3d$export$7d15b64cf5a3a4c4(scrollPos,scrollClampRange);return $57acba87d6e25586$var$linearScale([0,maxScrollPos],[0,maxThumbPos])(scrollWithoutMomentum)}function $57acba87d6e25586$var$linearScale(input,output){return value=>{if(input[0]===input[1]||output[0]===output[1])return output[0];let ratio=(output[1]-output[0])/(input[1]-input[0]);return output[0]+ratio*(value-input[0])}}function $57acba87d6e25586$var$isScrollingWithinScrollbarBounds(scrollPos,maxScrollPos){return scrollPos>0&&scrollPos{})=>{let prevPosition={left:node.scrollLeft,top:node.scrollTop},rAF=0;return function loop(){let position={left:node.scrollLeft,top:node.scrollTop},isHorizontalScroll=prevPosition.left!==position.left,isVerticalScroll=prevPosition.top!==position.top;(isHorizontalScroll||isVerticalScroll)&&handler(),prevPosition=position,rAF=window.requestAnimationFrame(loop)}(),()=>window.cancelAnimationFrame(rAF)};function $57acba87d6e25586$var$useDebounceCallback(callback,delay){let handleCallback=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback),debounceTimerRef=(0,import_react3.useRef)(0);return(0,import_react3.useEffect)(()=>()=>window.clearTimeout(debounceTimerRef.current),[]),(0,import_react3.useCallback)(()=>{window.clearTimeout(debounceTimerRef.current),debounceTimerRef.current=window.setTimeout(handleCallback,delay)},[handleCallback,delay])}function $57acba87d6e25586$var$useResizeObserver(element,onResize){let handleResize=$b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onResize);$9f79659886946c16$export$e5c5a5f917a5871c(()=>{let rAF=0;if(element){let resizeObserver=new ResizeObserver(()=>{cancelAnimationFrame(rAF),rAF=window.requestAnimationFrame(handleResize)});return resizeObserver.observe(element),()=>{window.cancelAnimationFrame(rAF),resizeObserver.unobserve(element)}}},[element,handleResize])}var $57acba87d6e25586$export$be92b6f5f03c0fe9=$57acba87d6e25586$export$ccf8d8d7bbf3c2cc,$57acba87d6e25586$export$d5c6c08dc2d3ca7=$57acba87d6e25586$export$a21cbf9f11fca853,$57acba87d6e25586$export$9a4e88b92edfce6b=$57acba87d6e25586$export$2fabd85d0eba3c57,$57acba87d6e25586$export$6521433ed15a34db=$57acba87d6e25586$export$9fba1154677d7cd2,$57acba87d6e25586$export$ac61190d9fc311a9=$57acba87d6e25586$export$56969d565df7cc4b,ScrollAreaRoot=newStyled($57acba87d6e25586$export$be92b6f5f03c0fe9)(({scrollbarsize,offset})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${scrollbarsize+offset}px`,"--radix-scroll-area-thumb-width":`${scrollbarsize}px`})),ScrollAreaViewport=newStyled($57acba87d6e25586$export$d5c6c08dc2d3ca7)({width:"100%",height:"100%"}),ScrollAreaScrollbar=newStyled($57acba87d6e25586$export$9a4e88b92edfce6b)(({offset,horizontal,vertical})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:offset,marginTop:offset,marginBottom:horizontal==="true"&&vertical==="true"?0:offset},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:offset,marginLeft:offset,marginRight:horizontal==="true"&&vertical==="true"?0:offset}})),ScrollAreaThumb=newStyled($57acba87d6e25586$export$6521433ed15a34db)(({theme})=>({flex:1,background:theme.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),ScrollArea=({children,horizontal=!1,vertical=!1,offset=2,scrollbarSize=6,className})=>import_react3.default.createElement(ScrollAreaRoot,{scrollbarsize:scrollbarSize,offset,className},import_react3.default.createElement(ScrollAreaViewport,null,children),horizontal&&import_react3.default.createElement(ScrollAreaScrollbar,{orientation:"horizontal",offset,horizontal:horizontal.toString(),vertical:vertical.toString()},import_react3.default.createElement(ScrollAreaThumb,null)),vertical&&import_react3.default.createElement(ScrollAreaScrollbar,{orientation:"vertical",offset,horizontal:horizontal.toString(),vertical:vertical.toString()},import_react3.default.createElement(ScrollAreaThumb,null)),horizontal&&vertical&&import_react3.default.createElement($57acba87d6e25586$export$ac61190d9fc311a9,null)),{navigator,document:document2,window:globalWindow}=scope,supportedLanguages={jsextra:js_extras_default,jsx:jsx_default,json:json_default,yml:yaml_default,md:markdown_default,bash:bash_default,css:css_default,html:markup_default,tsx:tsx_default,typescript:typescript_default,graphql:graphql_default};Object.entries(supportedLanguages).forEach(([key,val])=>{prism_light_default.registerLanguage(key,val)});var themedSyntax=(0,import_memoizerific.default)(2)(theme=>Object.entries(theme.code||{}).reduce((acc,[key,val])=>({...acc,[`* .${key}`]:val}),{})),copyToClipboard=createCopyToClipboardFunction();function createCopyToClipboardFunction(){return navigator?.clipboard?text=>navigator.clipboard.writeText(text):async text=>{let tmp=document2.createElement("TEXTAREA"),focus=document2.activeElement;tmp.value=text,document2.body.appendChild(tmp),tmp.select(),document2.execCommand("copy"),document2.body.removeChild(tmp),focus.focus()}}var Wrapper=newStyled.div(({theme})=>({position:"relative",overflow:"hidden",color:theme.color.defaultText}),({theme,bordered})=>bordered?{border:`1px solid ${theme.appBorderColor}`,borderRadius:theme.borderRadius,background:theme.background.content}:{},({showLineNumbers})=>showLineNumbers?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),UnstyledScroller=({children,className})=>import_react3.default.createElement(ScrollArea,{horizontal:!0,vertical:!0,className},children),Scroller=newStyled(UnstyledScroller)({position:"relative"},({theme})=>themedSyntax(theme)),Pre=newStyled.pre(({theme,padded})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:padded?theme.layoutMargin:0})),Code=newStyled.div(({theme})=>({flex:1,paddingLeft:2,paddingRight:theme.layoutMargin,opacity:1,fontFamily:theme.typography.fonts.mono})),processLineNumber=row=>{let children=[...row.children],lineNumberNode=children[0],lineNumber=lineNumberNode.children[0].value,processedLineNumberNode={...lineNumberNode,children:[],properties:{...lineNumberNode.properties,"data-line-number":lineNumber,style:{...lineNumberNode.properties.style,userSelect:"auto"}}};return children[0]=processedLineNumberNode,{...row,children}},defaultRenderer2=({rows,stylesheet,useInlineStyles})=>rows.map((node,i)=>createElement({node:processLineNumber(node),stylesheet,useInlineStyles,key:`code-segement${i}`})),wrapRenderer=(renderer,showLineNumbers)=>showLineNumbers?renderer?({rows,...rest})=>renderer({rows:rows.map(row=>processLineNumber(row)),...rest}):defaultRenderer2:renderer,SyntaxHighlighter2=({children,language="jsx",copyable=!1,bordered=!1,padded=!1,format=!0,formatter=null,className=null,showLineNumbers=!1,...rest})=>{if(typeof children!="string"||!children.trim())return null;let[highlightableCode,setHighlightableCode]=(0,import_react3.useState)("");(0,import_react3.useEffect)(()=>{formatter?formatter(format,children).then(setHighlightableCode):setHighlightableCode(children.trim())},[children,format,formatter]);let[copied,setCopied]=(0,import_react3.useState)(!1),onClick=(0,import_react3.useCallback)(e=>{e.preventDefault(),copyToClipboard(highlightableCode).then(()=>{setCopied(!0),globalWindow.setTimeout(()=>setCopied(!1),1500)}).catch(logger.error)},[highlightableCode]),renderer=wrapRenderer(rest.renderer,showLineNumbers);return import_react3.default.createElement(Wrapper,{bordered,padded,showLineNumbers,className},import_react3.default.createElement(Scroller,null,import_react3.default.createElement(prism_light_default,{padded:padded||bordered,language,showLineNumbers,showInlineLineNumbers:showLineNumbers,useInlineStyles:!1,PreTag:Pre,CodeTag:Code,lineNumberContainerStyle:{},...rest,renderer},highlightableCode)),copyable?import_react3.default.createElement(ActionBar,{actionItems:[{title:copied?"Copied":"Copy",onClick}]}):null)};SyntaxHighlighter2.registerLanguage=(...args)=>prism_light_default.registerLanguage(...args);var syntaxhighlighter_default=SyntaxHighlighter2;export{_extends2 as _extends,$5e63c961fc1ce211$export$8c6ed5c666ac1360,ActionBar,ScrollArea,supportedLanguages,createCopyToClipboardFunction,SyntaxHighlighter2,syntaxhighlighter_default}; diff --git a/sb-manager/chunk-UOBNU442.js b/sb-manager/chunk-UOBNU442.js deleted file mode 100644 index d1a3135..0000000 --- a/sb-manager/chunk-UOBNU442.js +++ /dev/null @@ -1,347 +0,0 @@ -import{__commonJS,__export,__toESM,require_memoizerific}from"./chunk-XP3HGWTR.js";var require_react_development=__commonJS({"../../node_modules/react/cjs/react.development.js"(exports,module){"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var ReactVersion="18.2.0",REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen"),MAYBE_ITERATOR_SYMBOL=Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(maybeIterable===null||typeof maybeIterable!="object")return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return typeof maybeIterator=="function"?maybeIterator:null}var ReactCurrentDispatcher={current:null},ReactCurrentBatchConfig={transition:null},ReactCurrentActQueue={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},ReactCurrentOwner={current:null},ReactDebugCurrentFrame={},currentExtraStackFrame=null;function setExtraStackFrame(stack){currentExtraStackFrame=stack}ReactDebugCurrentFrame.setExtraStackFrame=function(stack){currentExtraStackFrame=stack},ReactDebugCurrentFrame.getCurrentStack=null,ReactDebugCurrentFrame.getStackAddendum=function(){var stack="";currentExtraStackFrame&&(stack+=currentExtraStackFrame);var impl=ReactDebugCurrentFrame.getCurrentStack;return impl&&(stack+=impl()||""),stack};var enableScopeAPI=!1,enableCacheElement=!1,enableTransitionTracing=!1,enableLegacyHidden=!1,enableDebugTracing=!1,ReactSharedInternals={ReactCurrentDispatcher,ReactCurrentBatchConfig,ReactCurrentOwner};ReactSharedInternals.ReactDebugCurrentFrame=ReactDebugCurrentFrame,ReactSharedInternals.ReactCurrentActQueue=ReactCurrentActQueue;function warn(format2){{for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){{for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]));var argsWithFormat=args.map(function(item){return String(item)});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat)}}var didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){{var _constructor=publicInstance.constructor,componentName=_constructor&&(_constructor.displayName||_constructor.name)||"ReactClass",warningKey=componentName+"."+callerName;if(didWarnStateUpdateForUnmountedComponent[warningKey])return;error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",callerName,componentName),didWarnStateUpdateForUnmountedComponent[warningKey]=!0}}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueForceUpdate:function(publicInstance,callback,callerName){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState,callback,callerName){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState,callback,callerName){warnNoop(publicInstance,"setState")}},assign2=Object.assign,emptyObject={};Object.freeze(emptyObject);function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){if(typeof partialState!="object"&&typeof partialState!="function"&&partialState!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,partialState,callback,"setState")},Component.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this,callback,"forceUpdate")};{var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},defineDeprecationWarning=function(methodName,info){Object.defineProperty(Component.prototype,methodName,{get:function(){warn("%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1])}})};for(var fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&defineDeprecationWarning(fnName,deprecatedAPIs[fnName])}function ComponentDummy(){}ComponentDummy.prototype=Component.prototype;function PureComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}var pureComponentPrototype=PureComponent.prototype=new ComponentDummy;pureComponentPrototype.constructor=PureComponent,assign2(pureComponentPrototype,Component.prototype),pureComponentPrototype.isPureReactComponent=!0;function createRef(){var refObject={current:null};return Object.seal(refObject),refObject}var isArrayImpl=Array.isArray;function isArray(a){return isArrayImpl(a)}function typeName(value){{var hasToStringTag=typeof Symbol=="function"&&Symbol.toStringTag,type=hasToStringTag&&value[Symbol.toStringTag]||value.constructor.name||"Object";return type}}function willCoercionThrow(value){try{return testStringCoercion(value),!1}catch{return!0}}function testStringCoercion(value){return""+value}function checkKeyStringCoercion(value){if(willCoercionThrow(value))return error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",typeName(value)),testStringCoercion(value)}function getWrappedName(outerType,innerType,wrapperName){var displayName=outerType.displayName;if(displayName)return displayName;var functionName=innerType.displayName||innerType.name||"";return functionName!==""?wrapperName+"("+functionName+")":wrapperName}function getContextName(type){return type.displayName||"Context"}function getComponentNameFromType(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:var context=type;return getContextName(context)+".Consumer";case REACT_PROVIDER_TYPE:var provider=type;return getContextName(provider._context)+".Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:var outerName=type.displayName||null;return outerName!==null?outerName:getComponentNameFromType(type.type)||"Memo";case REACT_LAZY_TYPE:{var lazyComponent=type,payload=lazyComponent._payload,init=lazyComponent._init;try{return getComponentNameFromType(init(payload))}catch{return null}}}return null}var hasOwnProperty3=Object.prototype.hasOwnProperty,RESERVED_PROPS={key:!0,ref:!0,__self:!0,__source:!0},specialPropKeyWarningShown,specialPropRefWarningShown,didWarnAboutStringRefs;didWarnAboutStringRefs={};function hasValidRef(config){if(hasOwnProperty3.call(config,"ref")){var getter=Object.getOwnPropertyDescriptor(config,"ref").get;if(getter&&getter.isReactWarning)return!1}return config.ref!==void 0}function hasValidKey(config){if(hasOwnProperty3.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning)return!1}return config.key!==void 0}function defineKeyPropWarningGetter(props,displayName){var warnAboutAccessingKey=function(){specialPropKeyWarningShown||(specialPropKeyWarningShown=!0,error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",displayName))};warnAboutAccessingKey.isReactWarning=!0,Object.defineProperty(props,"key",{get:warnAboutAccessingKey,configurable:!0})}function defineRefPropWarningGetter(props,displayName){var warnAboutAccessingRef=function(){specialPropRefWarningShown||(specialPropRefWarningShown=!0,error("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",displayName))};warnAboutAccessingRef.isReactWarning=!0,Object.defineProperty(props,"ref",{get:warnAboutAccessingRef,configurable:!0})}function warnIfStringRefCannotBeAutoConverted(config){if(typeof config.ref=="string"&&ReactCurrentOwner.current&&config.__self&&ReactCurrentOwner.current.stateNode!==config.__self){var componentName=getComponentNameFromType(ReactCurrentOwner.current.type);didWarnAboutStringRefs[componentName]||(error('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',componentName,config.ref),didWarnAboutStringRefs[componentName]=!0)}}var ReactElement=function(type,key,ref,self2,source,owner,props){var element={$$typeof:REACT_ELEMENT_TYPE,type,key,ref,props,_owner:owner};return element._store={},Object.defineProperty(element._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(element,"_self",{configurable:!1,enumerable:!1,writable:!1,value:self2}),Object.defineProperty(element,"_source",{configurable:!1,enumerable:!1,writable:!1,value:source}),Object.freeze&&(Object.freeze(element.props),Object.freeze(element)),element};function createElement2(type,config,children){var propName,props={},key=null,ref=null,self2=null,source=null;if(config!=null){hasValidRef(config)&&(ref=config.ref,warnIfStringRefCannotBeAutoConverted(config)),hasValidKey(config)&&(checkKeyStringCoercion(config.key),key=""+config.key),self2=config.__self===void 0?null:config.__self,source=config.__source===void 0?null:config.__source;for(propName in config)hasOwnProperty3.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(props[propName]=config[propName])}var childrenLength=arguments.length-2;if(childrenLength===1)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i1){for(var childArray=Array(childrenLength),i=0;i is not supported and will be removed in a future major release. Did you mean to render instead?")),context.Provider},set:function(_Provider){context.Provider=_Provider}},_currentValue:{get:function(){return context._currentValue},set:function(_currentValue){context._currentValue=_currentValue}},_currentValue2:{get:function(){return context._currentValue2},set:function(_currentValue2){context._currentValue2=_currentValue2}},_threadCount:{get:function(){return context._threadCount},set:function(_threadCount){context._threadCount=_threadCount}},Consumer:{get:function(){return hasWarnedAboutUsingNestedContextConsumers||(hasWarnedAboutUsingNestedContextConsumers=!0,error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?")),context.Consumer}},displayName:{get:function(){return context.displayName},set:function(displayName){hasWarnedAboutDisplayNameOnConsumer||(warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",displayName),hasWarnedAboutDisplayNameOnConsumer=!0)}}}),context.Consumer=Consumer}return context._currentRenderer=null,context._currentRenderer2=null,context}var Uninitialized=-1,Pending=0,Resolved=1,Rejected=2;function lazyInitializer(payload){if(payload._status===Uninitialized){var ctor=payload._result,thenable=ctor();if(thenable.then(function(moduleObject2){if(payload._status===Pending||payload._status===Uninitialized){var resolved=payload;resolved._status=Resolved,resolved._result=moduleObject2}},function(error2){if(payload._status===Pending||payload._status===Uninitialized){var rejected=payload;rejected._status=Rejected,rejected._result=error2}}),payload._status===Uninitialized){var pending=payload;pending._status=Pending,pending._result=thenable}}if(payload._status===Resolved){var moduleObject=payload._result;return moduleObject===void 0&&error(`lazy: Expected the result of a dynamic import() call. Instead received: %s - -Your code should look like: - const MyComponent = lazy(() => import('./MyComponent')) - -Did you accidentally put curly braces around the import?`,moduleObject),"default"in moduleObject||error(`lazy: Expected the result of a dynamic import() call. Instead received: %s - -Your code should look like: - const MyComponent = lazy(() => import('./MyComponent'))`,moduleObject),moduleObject.default}else throw payload._result}function lazy(ctor){var payload={_status:Uninitialized,_result:ctor},lazyType={$$typeof:REACT_LAZY_TYPE,_payload:payload,_init:lazyInitializer};{var defaultProps,propTypes;Object.defineProperties(lazyType,{defaultProps:{configurable:!0,get:function(){return defaultProps},set:function(newDefaultProps){error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),defaultProps=newDefaultProps,Object.defineProperty(lazyType,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return propTypes},set:function(newPropTypes){error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),propTypes=newPropTypes,Object.defineProperty(lazyType,"propTypes",{enumerable:!0})}}})}return lazyType}function forwardRef3(render){render!=null&&render.$$typeof===REACT_MEMO_TYPE?error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof render!="function"?error("forwardRef requires a render function but was given %s.",render===null?"null":typeof render):render.length!==0&&render.length!==2&&error("forwardRef render functions accept exactly two parameters: props and ref. %s",render.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),render!=null&&(render.defaultProps!=null||render.propTypes!=null)&&error("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var elementType={$$typeof:REACT_FORWARD_REF_TYPE,render};{var ownName;Object.defineProperty(elementType,"displayName",{enumerable:!1,configurable:!0,get:function(){return ownName},set:function(name){ownName=name,!render.name&&!render.displayName&&(render.displayName=name)}})}return elementType}var REACT_MODULE_REFERENCE;REACT_MODULE_REFERENCE=Symbol.for("react.module.reference");function isValidElementType(type){return!!(typeof type=="string"||typeof type=="function"||type===REACT_FRAGMENT_TYPE||type===REACT_PROFILER_TYPE||enableDebugTracing||type===REACT_STRICT_MODE_TYPE||type===REACT_SUSPENSE_TYPE||type===REACT_SUSPENSE_LIST_TYPE||enableLegacyHidden||type===REACT_OFFSCREEN_TYPE||enableScopeAPI||enableCacheElement||enableTransitionTracing||typeof type=="object"&&type!==null&&(type.$$typeof===REACT_LAZY_TYPE||type.$$typeof===REACT_MEMO_TYPE||type.$$typeof===REACT_PROVIDER_TYPE||type.$$typeof===REACT_CONTEXT_TYPE||type.$$typeof===REACT_FORWARD_REF_TYPE||type.$$typeof===REACT_MODULE_REFERENCE||type.getModuleId!==void 0))}function memo(type,compare){isValidElementType(type)||error("memo: The first argument must be a component. Instead received: %s",type===null?"null":typeof type);var elementType={$$typeof:REACT_MEMO_TYPE,type,compare:compare===void 0?null:compare};{var ownName;Object.defineProperty(elementType,"displayName",{enumerable:!1,configurable:!0,get:function(){return ownName},set:function(name){ownName=name,!type.name&&!type.displayName&&(type.displayName=name)}})}return elementType}function resolveDispatcher(){var dispatcher=ReactCurrentDispatcher.current;return dispatcher===null&&error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons: -1. You might have mismatching versions of React and the renderer (such as React DOM) -2. You might be breaking the Rules of Hooks -3. You might have more than one copy of React in the same app -See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),dispatcher}function useContext3(Context){var dispatcher=resolveDispatcher();if(Context._context!==void 0){var realContext=Context._context;realContext.Consumer===Context?error("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):realContext.Provider===Context&&error("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return dispatcher.useContext(Context)}function useState(initialState){var dispatcher=resolveDispatcher();return dispatcher.useState(initialState)}function useReducer(reducer,initialArg,init){var dispatcher=resolveDispatcher();return dispatcher.useReducer(reducer,initialArg,init)}function useRef2(initialValue){var dispatcher=resolveDispatcher();return dispatcher.useRef(initialValue)}function useEffect(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useEffect(create3,deps)}function useInsertionEffect3(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useInsertionEffect(create3,deps)}function useLayoutEffect2(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useLayoutEffect(create3,deps)}function useCallback(callback,deps){var dispatcher=resolveDispatcher();return dispatcher.useCallback(callback,deps)}function useMemo(create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useMemo(create3,deps)}function useImperativeHandle(ref,create3,deps){var dispatcher=resolveDispatcher();return dispatcher.useImperativeHandle(ref,create3,deps)}function useDebugValue(value,formatterFn){{var dispatcher=resolveDispatcher();return dispatcher.useDebugValue(value,formatterFn)}}function useTransition(){var dispatcher=resolveDispatcher();return dispatcher.useTransition()}function useDeferredValue(value){var dispatcher=resolveDispatcher();return dispatcher.useDeferredValue(value)}function useId(){var dispatcher=resolveDispatcher();return dispatcher.useId()}function useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot){var dispatcher=resolveDispatcher();return dispatcher.useSyncExternalStore(subscribe,getSnapshot,getServerSnapshot)}var disabledDepth=0,prevLog,prevInfo,prevWarn,prevError,prevGroup,prevGroupCollapsed,prevGroupEnd;function disabledLog(){}disabledLog.__reactDisabledLog=!0;function disableLogs(){{if(disabledDepth===0){prevLog=console.log,prevInfo=console.info,prevWarn=console.warn,prevError=console.error,prevGroup=console.group,prevGroupCollapsed=console.groupCollapsed,prevGroupEnd=console.groupEnd;var props={configurable:!0,enumerable:!0,value:disabledLog,writable:!0};Object.defineProperties(console,{info:props,log:props,warn:props,error:props,group:props,groupCollapsed:props,groupEnd:props})}disabledDepth++}}function reenableLogs(){{if(disabledDepth--,disabledDepth===0){var props={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:assign2({},props,{value:prevLog}),info:assign2({},props,{value:prevInfo}),warn:assign2({},props,{value:prevWarn}),error:assign2({},props,{value:prevError}),group:assign2({},props,{value:prevGroup}),groupCollapsed:assign2({},props,{value:prevGroupCollapsed}),groupEnd:assign2({},props,{value:prevGroupEnd})})}disabledDepth<0&&error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ReactCurrentDispatcher$1=ReactSharedInternals.ReactCurrentDispatcher,prefix2;function describeBuiltInComponentFrame(name,source,ownerFn){{if(prefix2===void 0)try{throw Error()}catch(x){var match2=x.stack.trim().match(/\n( *(at )?)/);prefix2=match2&&match2[1]||""}return` -`+prefix2+name}}var reentry=!1,componentFrameCache;{var PossiblyWeakMap=typeof WeakMap=="function"?WeakMap:Map;componentFrameCache=new PossiblyWeakMap}function describeNativeComponentFrame(fn,construct){if(!fn||reentry)return"";{var frame=componentFrameCache.get(fn);if(frame!==void 0)return frame}var control;reentry=!0;var previousPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var previousDispatcher;previousDispatcher=ReactCurrentDispatcher$1.current,ReactCurrentDispatcher$1.current=null,disableLogs();try{if(construct){var Fake=function(){throw Error()};if(Object.defineProperty(Fake.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Fake,[])}catch(x){control=x}Reflect.construct(fn,[],Fake)}else{try{Fake.call()}catch(x){control=x}fn.call(Fake.prototype)}}else{try{throw Error()}catch(x){control=x}fn()}}catch(sample){if(sample&&control&&typeof sample.stack=="string"){for(var sampleLines=sample.stack.split(` -`),controlLines=control.stack.split(` -`),s=sampleLines.length-1,c=controlLines.length-1;s>=1&&c>=0&&sampleLines[s]!==controlLines[c];)c--;for(;s>=1&&c>=0;s--,c--)if(sampleLines[s]!==controlLines[c]){if(s!==1||c!==1)do if(s--,c--,c<0||sampleLines[s]!==controlLines[c]){var _frame=` -`+sampleLines[s].replace(" at new "," at ");return fn.displayName&&_frame.includes("")&&(_frame=_frame.replace("",fn.displayName)),typeof fn=="function"&&componentFrameCache.set(fn,_frame),_frame}while(s>=1&&c>=0);break}}}finally{reentry=!1,ReactCurrentDispatcher$1.current=previousDispatcher,reenableLogs(),Error.prepareStackTrace=previousPrepareStackTrace}var name=fn?fn.displayName||fn.name:"",syntheticFrame=name?describeBuiltInComponentFrame(name):"";return typeof fn=="function"&&componentFrameCache.set(fn,syntheticFrame),syntheticFrame}function describeFunctionComponentFrame(fn,source,ownerFn){return describeNativeComponentFrame(fn,!1)}function shouldConstruct(Component2){var prototype=Component2.prototype;return!!(prototype&&prototype.isReactComponent)}function describeUnknownElementTypeFrameInDEV(type,source,ownerFn){if(type==null)return"";if(typeof type=="function")return describeNativeComponentFrame(type,shouldConstruct(type));if(typeof type=="string")return describeBuiltInComponentFrame(type);switch(type){case REACT_SUSPENSE_TYPE:return describeBuiltInComponentFrame("Suspense");case REACT_SUSPENSE_LIST_TYPE:return describeBuiltInComponentFrame("SuspenseList")}if(typeof type=="object")switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeFunctionComponentFrame(type.render);case REACT_MEMO_TYPE:return describeUnknownElementTypeFrameInDEV(type.type,source,ownerFn);case REACT_LAZY_TYPE:{var lazyComponent=type,payload=lazyComponent._payload,init=lazyComponent._init;try{return describeUnknownElementTypeFrameInDEV(init(payload),source,ownerFn)}catch{}}}return""}var loggedTypeFailures={},ReactDebugCurrentFrame$1=ReactSharedInternals.ReactDebugCurrentFrame;function setCurrentlyValidatingElement(element){if(element){var owner=element._owner,stack=describeUnknownElementTypeFrameInDEV(element.type,element._source,owner?owner.type:null);ReactDebugCurrentFrame$1.setExtraStackFrame(stack)}else ReactDebugCurrentFrame$1.setExtraStackFrame(null)}function checkPropTypes(typeSpecs,values,location,componentName,element){{var has=Function.call.bind(hasOwnProperty3);for(var typeSpecName in typeSpecs)if(has(typeSpecs,typeSpecName)){var error$1=void 0;try{if(typeof typeSpecs[typeSpecName]!="function"){var err=Error((componentName||"React class")+": "+location+" type `"+typeSpecName+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof typeSpecs[typeSpecName]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw err.name="Invariant Violation",err}error$1=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ex){error$1=ex}error$1&&!(error$1 instanceof Error)&&(setCurrentlyValidatingElement(element),error("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error$1),setCurrentlyValidatingElement(null)),error$1 instanceof Error&&!(error$1.message in loggedTypeFailures)&&(loggedTypeFailures[error$1.message]=!0,setCurrentlyValidatingElement(element),error("Failed %s type: %s",location,error$1.message),setCurrentlyValidatingElement(null))}}}function setCurrentlyValidatingElement$1(element){if(element){var owner=element._owner,stack=describeUnknownElementTypeFrameInDEV(element.type,element._source,owner?owner.type:null);setExtraStackFrame(stack)}else setExtraStackFrame(null)}var propTypesMisspellWarningShown;propTypesMisspellWarningShown=!1;function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=getComponentNameFromType(ReactCurrentOwner.current.type);if(name)return` - -Check the render method of \``+name+"`."}return""}function getSourceInfoErrorAddendum(source){if(source!==void 0){var fileName=source.fileName.replace(/^.*[\\\/]/,""),lineNumber=source.lineNumber;return` - -Check your code at `+fileName+":"+lineNumber+"."}return""}function getSourceInfoErrorAddendumForProps(elementProps){return elementProps!=null?getSourceInfoErrorAddendum(elementProps.__source):""}var ownerHasKeyUseWarning={};function getCurrentComponentErrorInfo(parentType){var info=getDeclarationErrorAddendum();if(!info){var parentName=typeof parentType=="string"?parentType:parentType.displayName||parentType.name;parentName&&(info=` - -Check the top-level render call using <`+parentName+">.")}return info}function validateExplicitKey(element,parentType){if(!(!element._store||element._store.validated||element.key!=null)){element._store.validated=!0;var currentComponentErrorInfo=getCurrentComponentErrorInfo(parentType);if(!ownerHasKeyUseWarning[currentComponentErrorInfo]){ownerHasKeyUseWarning[currentComponentErrorInfo]=!0;var childOwner="";element&&element._owner&&element._owner!==ReactCurrentOwner.current&&(childOwner=" It was passed a child from "+getComponentNameFromType(element._owner.type)+"."),setCurrentlyValidatingElement$1(element),error('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',currentComponentErrorInfo,childOwner),setCurrentlyValidatingElement$1(null)}}}function validateChildKeys(node2,parentType){if(typeof node2=="object"){if(isArray(node2))for(var i=0;i",info=" Did you accidentally export a JSX literal instead of a component?"):typeString=typeof type,error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",typeString,info)}var element=createElement2.apply(this,arguments);if(element==null)return element;if(validType)for(var i=2;i10&&warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),currentTransition._updatedFibers.clear()}}}var didWarnAboutMessageChannel=!1,enqueueTaskImpl=null;function enqueueTask(task){if(enqueueTaskImpl===null)try{var requireString=("require"+Math.random()).slice(0,7),nodeRequire=module&&module[requireString];enqueueTaskImpl=nodeRequire.call(module,"timers").setImmediate}catch{enqueueTaskImpl=function(callback){didWarnAboutMessageChannel===!1&&(didWarnAboutMessageChannel=!0,typeof MessageChannel>"u"&&error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var channel=new MessageChannel;channel.port1.onmessage=callback,channel.port2.postMessage(void 0)}}return enqueueTaskImpl(task)}var actScopeDepth=0,didWarnNoAwaitAct=!1;function act(callback){{var prevActScopeDepth=actScopeDepth;actScopeDepth++,ReactCurrentActQueue.current===null&&(ReactCurrentActQueue.current=[]);var prevIsBatchingLegacy=ReactCurrentActQueue.isBatchingLegacy,result;try{if(ReactCurrentActQueue.isBatchingLegacy=!0,result=callback(),!prevIsBatchingLegacy&&ReactCurrentActQueue.didScheduleLegacyUpdate){var queue=ReactCurrentActQueue.current;queue!==null&&(ReactCurrentActQueue.didScheduleLegacyUpdate=!1,flushActQueue(queue))}}catch(error2){throw popActScope(prevActScopeDepth),error2}finally{ReactCurrentActQueue.isBatchingLegacy=prevIsBatchingLegacy}if(result!==null&&typeof result=="object"&&typeof result.then=="function"){var thenableResult=result,wasAwaited=!1,thenable={then:function(resolve,reject){wasAwaited=!0,thenableResult.then(function(returnValue2){popActScope(prevActScopeDepth),actScopeDepth===0?recursivelyFlushAsyncActWork(returnValue2,resolve,reject):resolve(returnValue2)},function(error2){popActScope(prevActScopeDepth),reject(error2)})}};return!didWarnNoAwaitAct&&typeof Promise<"u"&&Promise.resolve().then(function(){}).then(function(){wasAwaited||(didWarnNoAwaitAct=!0,error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),thenable}else{var returnValue=result;if(popActScope(prevActScopeDepth),actScopeDepth===0){var _queue=ReactCurrentActQueue.current;_queue!==null&&(flushActQueue(_queue),ReactCurrentActQueue.current=null);var _thenable={then:function(resolve,reject){ReactCurrentActQueue.current===null?(ReactCurrentActQueue.current=[],recursivelyFlushAsyncActWork(returnValue,resolve,reject)):resolve(returnValue)}};return _thenable}else{var _thenable2={then:function(resolve,reject){resolve(returnValue)}};return _thenable2}}}}function popActScope(prevActScopeDepth){prevActScopeDepth!==actScopeDepth-1&&error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),actScopeDepth=prevActScopeDepth}function recursivelyFlushAsyncActWork(returnValue,resolve,reject){{var queue=ReactCurrentActQueue.current;if(queue!==null)try{flushActQueue(queue),enqueueTask(function(){queue.length===0?(ReactCurrentActQueue.current=null,resolve(returnValue)):recursivelyFlushAsyncActWork(returnValue,resolve,reject)})}catch(error2){reject(error2)}else resolve(returnValue)}}var isFlushing=!1;function flushActQueue(queue){if(!isFlushing){isFlushing=!0;var i=0;try{for(;i0;){var parentIndex=index-1>>>1,parent=heap[parentIndex];if(compare(parent,node2)>0)heap[parentIndex]=node2,heap[index]=parent,index=parentIndex;else return}}function siftDown(heap,node2,i){for(var index=i,length2=heap.length,halfLength=length2>>>1;indexcurrentTime&&(!hasTimeRemaining||shouldYieldToHost()));){var callback=currentTask.callback;if(typeof callback=="function"){currentTask.callback=null,currentPriorityLevel=currentTask.priorityLevel;var didUserCallbackTimeout=currentTask.expirationTime<=currentTime,continuationCallback=callback(didUserCallbackTimeout);currentTime=exports.unstable_now(),typeof continuationCallback=="function"?currentTask.callback=continuationCallback:currentTask===peek2(taskQueue)&&pop(taskQueue),advanceTimers(currentTime)}else pop(taskQueue);currentTask=peek2(taskQueue)}if(currentTask!==null)return!0;var firstTimer=peek2(timerQueue);return firstTimer!==null&&requestHostTimeout(handleTimeout,firstTimer.startTime-currentTime),!1}function unstable_runWithPriority(priorityLevel,eventHandler){switch(priorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:case LowPriority:case IdlePriority:break;default:priorityLevel=NormalPriority}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_next(eventHandler){var priorityLevel;switch(currentPriorityLevel){case ImmediatePriority:case UserBlockingPriority:case NormalPriority:priorityLevel=NormalPriority;break;default:priorityLevel=currentPriorityLevel;break}var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=priorityLevel;try{return eventHandler()}finally{currentPriorityLevel=previousPriorityLevel}}function unstable_wrapCallback(callback){var parentPriorityLevel=currentPriorityLevel;return function(){var previousPriorityLevel=currentPriorityLevel;currentPriorityLevel=parentPriorityLevel;try{return callback.apply(this,arguments)}finally{currentPriorityLevel=previousPriorityLevel}}}function unstable_scheduleCallback(priorityLevel,callback,options){var currentTime=exports.unstable_now(),startTime2;if(typeof options=="object"&&options!==null){var delay=options.delay;typeof delay=="number"&&delay>0?startTime2=currentTime+delay:startTime2=currentTime}else startTime2=currentTime;var timeout;switch(priorityLevel){case ImmediatePriority:timeout=IMMEDIATE_PRIORITY_TIMEOUT;break;case UserBlockingPriority:timeout=USER_BLOCKING_PRIORITY_TIMEOUT;break;case IdlePriority:timeout=IDLE_PRIORITY_TIMEOUT;break;case LowPriority:timeout=LOW_PRIORITY_TIMEOUT;break;case NormalPriority:default:timeout=NORMAL_PRIORITY_TIMEOUT;break}var expirationTime=startTime2+timeout,newTask={id:taskIdCounter++,callback,priorityLevel,startTime:startTime2,expirationTime,sortIndex:-1};return startTime2>currentTime?(newTask.sortIndex=startTime2,push(timerQueue,newTask),peek2(taskQueue)===null&&newTask===peek2(timerQueue)&&(isHostTimeoutScheduled?cancelHostTimeout():isHostTimeoutScheduled=!0,requestHostTimeout(handleTimeout,startTime2-currentTime))):(newTask.sortIndex=expirationTime,push(taskQueue,newTask),!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))),newTask}function unstable_pauseExecution(){}function unstable_continueExecution(){!isHostCallbackScheduled&&!isPerformingWork&&(isHostCallbackScheduled=!0,requestHostCallback(flushWork))}function unstable_getFirstCallbackNode(){return peek2(taskQueue)}function unstable_cancelCallback(task){task.callback=null}function unstable_getCurrentPriorityLevel(){return currentPriorityLevel}var isMessageLoopRunning=!1,scheduledHostCallback=null,taskTimeoutID=-1,frameInterval=frameYieldMs,startTime=-1;function shouldYieldToHost(){var timeElapsed=exports.unstable_now()-startTime;return!(timeElapsed125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}fps>0?frameInterval=Math.floor(1e3/fps):frameInterval=frameYieldMs}var performWorkUntilDeadline=function(){if(scheduledHostCallback!==null){var currentTime=exports.unstable_now();startTime=currentTime;var hasTimeRemaining=!0,hasMoreWork=!0;try{hasMoreWork=scheduledHostCallback(hasTimeRemaining,currentTime)}finally{hasMoreWork?schedulePerformWorkUntilDeadline():(isMessageLoopRunning=!1,scheduledHostCallback=null)}}else isMessageLoopRunning=!1},schedulePerformWorkUntilDeadline;if(typeof localSetImmediate=="function")schedulePerformWorkUntilDeadline=function(){localSetImmediate(performWorkUntilDeadline)};else if(typeof MessageChannel<"u"){var channel=new MessageChannel,port=channel.port2;channel.port1.onmessage=performWorkUntilDeadline,schedulePerformWorkUntilDeadline=function(){port.postMessage(null)}}else schedulePerformWorkUntilDeadline=function(){localSetTimeout(performWorkUntilDeadline,0)};function requestHostCallback(callback){scheduledHostCallback=callback,isMessageLoopRunning||(isMessageLoopRunning=!0,schedulePerformWorkUntilDeadline())}function requestHostTimeout(callback,ms){taskTimeoutID=localSetTimeout(function(){callback(exports.unstable_now())},ms)}function cancelHostTimeout(){localClearTimeout(taskTimeoutID),taskTimeoutID=-1}var unstable_requestPaint=requestPaint,unstable_Profiling=null;exports.unstable_IdlePriority=IdlePriority,exports.unstable_ImmediatePriority=ImmediatePriority,exports.unstable_LowPriority=LowPriority,exports.unstable_NormalPriority=NormalPriority,exports.unstable_Profiling=unstable_Profiling,exports.unstable_UserBlockingPriority=UserBlockingPriority,exports.unstable_cancelCallback=unstable_cancelCallback,exports.unstable_continueExecution=unstable_continueExecution,exports.unstable_forceFrameRate=forceFrameRate,exports.unstable_getCurrentPriorityLevel=unstable_getCurrentPriorityLevel,exports.unstable_getFirstCallbackNode=unstable_getFirstCallbackNode,exports.unstable_next=unstable_next,exports.unstable_pauseExecution=unstable_pauseExecution,exports.unstable_requestPaint=unstable_requestPaint,exports.unstable_runWithPriority=unstable_runWithPriority,exports.unstable_scheduleCallback=unstable_scheduleCallback,exports.unstable_shouldYield=shouldYieldToHost,exports.unstable_wrapCallback=unstable_wrapCallback,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})()}});var require_scheduler=__commonJS({"../../node_modules/scheduler/index.js"(exports,module){"use strict";module.exports=require_scheduler_development()}});var require_react_dom_development=__commonJS({"../../node_modules/react-dom/cjs/react-dom.development.js"(exports){"use strict";(function(){"use strict";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var React3=require_react(),Scheduler=require_scheduler(),ReactSharedInternals=React3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,suppressWarning=!1;function setSuppressWarning(newSuppressWarning){suppressWarning=newSuppressWarning}function warn(format2){if(!suppressWarning){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];printWarning("warn",format2,args)}}function error(format2){if(!suppressWarning){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];printWarning("error",format2,args)}}function printWarning(level,format2,args){{var ReactDebugCurrentFrame2=ReactSharedInternals.ReactDebugCurrentFrame,stack=ReactDebugCurrentFrame2.getStackAddendum();stack!==""&&(format2+="%s",args=args.concat([stack]));var argsWithFormat=args.map(function(item){return String(item)});argsWithFormat.unshift("Warning: "+format2),Function.prototype.apply.call(console[level],console,argsWithFormat)}}var FunctionComponent=0,ClassComponent=1,IndeterminateComponent=2,HostRoot=3,HostPortal=4,HostComponent=5,HostText=6,Fragment2=7,Mode=8,ContextConsumer=9,ContextProvider=10,ForwardRef=11,Profiler=12,SuspenseComponent=13,MemoComponent=14,SimpleMemoComponent=15,LazyComponent=16,IncompleteClassComponent=17,DehydratedFragment=18,SuspenseListComponent=19,ScopeComponent=21,OffscreenComponent=22,LegacyHiddenComponent=23,CacheComponent=24,TracingMarkerComponent=25,enableClientRenderFallbackOnTextMismatch=!0,enableNewReconciler=!1,enableLazyContextPropagation=!1,enableLegacyHidden=!1,enableSuspenseAvoidThisFallback=!1,disableCommentsAsDOMContainers=!0,enableCustomElementPropertySupport=!1,warnAboutStringRefs=!1,enableSchedulingProfiler=!0,enableProfilerTimer=!0,enableProfilerCommitHooks=!0,allNativeEvents=new Set,registrationNameDependencies={},possibleRegistrationNames={};function registerTwoPhaseEvent(registrationName,dependencies){registerDirectEvent(registrationName,dependencies),registerDirectEvent(registrationName+"Capture",dependencies)}function registerDirectEvent(registrationName,dependencies){registrationNameDependencies[registrationName]&&error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",registrationName),registrationNameDependencies[registrationName]=dependencies;{var lowerCasedName=registrationName.toLowerCase();possibleRegistrationNames[lowerCasedName]=registrationName,registrationName==="onDoubleClick"&&(possibleRegistrationNames.ondblclick=registrationName)}for(var i=0;i2&&(name[0]==="o"||name[0]==="O")&&(name[1]==="n"||name[1]==="N")}function shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag){if(propertyInfo!==null&&propertyInfo.type===RESERVED)return!1;switch(typeof value){case"function":case"symbol":return!0;case"boolean":{if(isCustomComponentTag)return!1;if(propertyInfo!==null)return!propertyInfo.acceptsBooleans;var prefix3=name.toLowerCase().slice(0,5);return prefix3!=="data-"&&prefix3!=="aria-"}default:return!1}}function shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag){if(value===null||typeof value>"u"||shouldRemoveAttributeWithWarning(name,value,propertyInfo,isCustomComponentTag))return!0;if(isCustomComponentTag)return!1;if(propertyInfo!==null)switch(propertyInfo.type){case BOOLEAN:return!value;case OVERLOADED_BOOLEAN:return value===!1;case NUMERIC:return isNaN(value);case POSITIVE_NUMERIC:return isNaN(value)||value<1}return!1}function getPropertyInfo(name){return properties.hasOwnProperty(name)?properties[name]:null}function PropertyInfoRecord(name,type,mustUseProperty,attributeName,attributeNamespace,sanitizeURL2,removeEmptyString){this.acceptsBooleans=type===BOOLEANISH_STRING||type===BOOLEAN||type===OVERLOADED_BOOLEAN,this.attributeName=attributeName,this.attributeNamespace=attributeNamespace,this.mustUseProperty=mustUseProperty,this.propertyName=name,this.type=type,this.sanitizeURL=sanitizeURL2,this.removeEmptyString=removeEmptyString}var properties={},reservedProps=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];reservedProps.forEach(function(name){properties[name]=new PropertyInfoRecord(name,RESERVED,!1,name,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(_ref){var name=_ref[0],attributeName=_ref[1];properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEANISH_STRING,!1,name,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!1,name.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,BOOLEAN,!0,name,null,!1,!1)}),["capture","download"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,OVERLOADED_BOOLEAN,!1,name,null,!1,!1)}),["cols","rows","size","span"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,POSITIVE_NUMERIC,!1,name,null,!1,!1)}),["rowSpan","start"].forEach(function(name){properties[name]=new PropertyInfoRecord(name,NUMERIC,!1,name.toLowerCase(),null,!1,!1)});var CAMELIZE=/[\-\:]([a-z])/g,capitalize=function(token2){return token2[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(attributeName){var name=attributeName.replace(CAMELIZE,capitalize);properties[name]=new PropertyInfoRecord(name,STRING,!1,attributeName,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!1,!1)});var xlinkHref="xlinkHref";properties[xlinkHref]=new PropertyInfoRecord("xlinkHref",STRING,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(attributeName){properties[attributeName]=new PropertyInfoRecord(attributeName,STRING,!1,attributeName.toLowerCase(),null,!0,!0)});var isJavaScriptProtocol=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,didWarn=!1;function sanitizeURL(url){!didWarn&&isJavaScriptProtocol.test(url)&&(didWarn=!0,error("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(url)))}function getValueForProperty(node2,name,expected,propertyInfo){if(propertyInfo.mustUseProperty){var propertyName=propertyInfo.propertyName;return node2[propertyName]}else{checkAttributeStringCoercion(expected,name),propertyInfo.sanitizeURL&&sanitizeURL(""+expected);var attributeName=propertyInfo.attributeName,stringValue=null;if(propertyInfo.type===OVERLOADED_BOOLEAN){if(node2.hasAttribute(attributeName)){var value=node2.getAttribute(attributeName);return value===""?!0:shouldRemoveAttribute(name,expected,propertyInfo,!1)?value:value===""+expected?expected:value}}else if(node2.hasAttribute(attributeName)){if(shouldRemoveAttribute(name,expected,propertyInfo,!1))return node2.getAttribute(attributeName);if(propertyInfo.type===BOOLEAN)return expected;stringValue=node2.getAttribute(attributeName)}return shouldRemoveAttribute(name,expected,propertyInfo,!1)?stringValue===null?expected:stringValue:stringValue===""+expected?expected:stringValue}}function getValueForAttribute(node2,name,expected,isCustomComponentTag){{if(!isAttributeNameSafe(name))return;if(!node2.hasAttribute(name))return expected===void 0?void 0:null;var value=node2.getAttribute(name);return checkAttributeStringCoercion(expected,name),value===""+expected?expected:value}}function setValueForProperty(node2,name,value,isCustomComponentTag){var propertyInfo=getPropertyInfo(name);if(!shouldIgnoreAttribute(name,propertyInfo,isCustomComponentTag)){if(shouldRemoveAttribute(name,value,propertyInfo,isCustomComponentTag)&&(value=null),isCustomComponentTag||propertyInfo===null){if(isAttributeNameSafe(name)){var _attributeName=name;value===null?node2.removeAttribute(_attributeName):(checkAttributeStringCoercion(value,name),node2.setAttribute(_attributeName,""+value))}return}var mustUseProperty=propertyInfo.mustUseProperty;if(mustUseProperty){var propertyName=propertyInfo.propertyName;if(value===null){var type=propertyInfo.type;node2[propertyName]=type===BOOLEAN?!1:""}else node2[propertyName]=value;return}var attributeName=propertyInfo.attributeName,attributeNamespace=propertyInfo.attributeNamespace;if(value===null)node2.removeAttribute(attributeName);else{var _type=propertyInfo.type,attributeValue;_type===BOOLEAN||_type===OVERLOADED_BOOLEAN&&value===!0?attributeValue="":(checkAttributeStringCoercion(value,attributeName),attributeValue=""+value,propertyInfo.sanitizeURL&&sanitizeURL(attributeValue.toString())),attributeNamespace?node2.setAttributeNS(attributeNamespace,attributeName,attributeValue):node2.setAttribute(attributeName,attributeValue)}}}var REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_SCOPE_TYPE=Symbol.for("react.scope"),REACT_DEBUG_TRACING_MODE_TYPE=Symbol.for("react.debug_trace_mode"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen"),REACT_LEGACY_HIDDEN_TYPE=Symbol.for("react.legacy_hidden"),REACT_CACHE_TYPE=Symbol.for("react.cache"),REACT_TRACING_MARKER_TYPE=Symbol.for("react.tracing_marker"),MAYBE_ITERATOR_SYMBOL=Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(maybeIterable===null||typeof maybeIterable!="object")return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return typeof maybeIterator=="function"?maybeIterator:null}var assign2=Object.assign,disabledDepth=0,prevLog,prevInfo,prevWarn,prevError,prevGroup,prevGroupCollapsed,prevGroupEnd;function disabledLog(){}disabledLog.__reactDisabledLog=!0;function disableLogs(){{if(disabledDepth===0){prevLog=console.log,prevInfo=console.info,prevWarn=console.warn,prevError=console.error,prevGroup=console.group,prevGroupCollapsed=console.groupCollapsed,prevGroupEnd=console.groupEnd;var props={configurable:!0,enumerable:!0,value:disabledLog,writable:!0};Object.defineProperties(console,{info:props,log:props,warn:props,error:props,group:props,groupCollapsed:props,groupEnd:props})}disabledDepth++}}function reenableLogs(){{if(disabledDepth--,disabledDepth===0){var props={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:assign2({},props,{value:prevLog}),info:assign2({},props,{value:prevInfo}),warn:assign2({},props,{value:prevWarn}),error:assign2({},props,{value:prevError}),group:assign2({},props,{value:prevGroup}),groupCollapsed:assign2({},props,{value:prevGroupCollapsed}),groupEnd:assign2({},props,{value:prevGroupEnd})})}disabledDepth<0&&error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ReactCurrentDispatcher=ReactSharedInternals.ReactCurrentDispatcher,prefix2;function describeBuiltInComponentFrame(name,source,ownerFn){{if(prefix2===void 0)try{throw Error()}catch(x){var match2=x.stack.trim().match(/\n( *(at )?)/);prefix2=match2&&match2[1]||""}return` -`+prefix2+name}}var reentry=!1,componentFrameCache;{var PossiblyWeakMap=typeof WeakMap=="function"?WeakMap:Map;componentFrameCache=new PossiblyWeakMap}function describeNativeComponentFrame(fn,construct){if(!fn||reentry)return"";{var frame=componentFrameCache.get(fn);if(frame!==void 0)return frame}var control;reentry=!0;var previousPrepareStackTrace=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var previousDispatcher;previousDispatcher=ReactCurrentDispatcher.current,ReactCurrentDispatcher.current=null,disableLogs();try{if(construct){var Fake=function(){throw Error()};if(Object.defineProperty(Fake.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Fake,[])}catch(x){control=x}Reflect.construct(fn,[],Fake)}else{try{Fake.call()}catch(x){control=x}fn.call(Fake.prototype)}}else{try{throw Error()}catch(x){control=x}fn()}}catch(sample){if(sample&&control&&typeof sample.stack=="string"){for(var sampleLines=sample.stack.split(` -`),controlLines=control.stack.split(` -`),s=sampleLines.length-1,c=controlLines.length-1;s>=1&&c>=0&&sampleLines[s]!==controlLines[c];)c--;for(;s>=1&&c>=0;s--,c--)if(sampleLines[s]!==controlLines[c]){if(s!==1||c!==1)do if(s--,c--,c<0||sampleLines[s]!==controlLines[c]){var _frame=` -`+sampleLines[s].replace(" at new "," at ");return fn.displayName&&_frame.includes("")&&(_frame=_frame.replace("",fn.displayName)),typeof fn=="function"&&componentFrameCache.set(fn,_frame),_frame}while(s>=1&&c>=0);break}}}finally{reentry=!1,ReactCurrentDispatcher.current=previousDispatcher,reenableLogs(),Error.prepareStackTrace=previousPrepareStackTrace}var name=fn?fn.displayName||fn.name:"",syntheticFrame=name?describeBuiltInComponentFrame(name):"";return typeof fn=="function"&&componentFrameCache.set(fn,syntheticFrame),syntheticFrame}function describeClassComponentFrame(ctor,source,ownerFn){return describeNativeComponentFrame(ctor,!0)}function describeFunctionComponentFrame(fn,source,ownerFn){return describeNativeComponentFrame(fn,!1)}function shouldConstruct(Component){var prototype=Component.prototype;return!!(prototype&&prototype.isReactComponent)}function describeUnknownElementTypeFrameInDEV(type,source,ownerFn){if(type==null)return"";if(typeof type=="function")return describeNativeComponentFrame(type,shouldConstruct(type));if(typeof type=="string")return describeBuiltInComponentFrame(type);switch(type){case REACT_SUSPENSE_TYPE:return describeBuiltInComponentFrame("Suspense");case REACT_SUSPENSE_LIST_TYPE:return describeBuiltInComponentFrame("SuspenseList")}if(typeof type=="object")switch(type.$$typeof){case REACT_FORWARD_REF_TYPE:return describeFunctionComponentFrame(type.render);case REACT_MEMO_TYPE:return describeUnknownElementTypeFrameInDEV(type.type,source,ownerFn);case REACT_LAZY_TYPE:{var lazyComponent=type,payload=lazyComponent._payload,init=lazyComponent._init;try{return describeUnknownElementTypeFrameInDEV(init(payload),source,ownerFn)}catch{}}}return""}function describeFiber(fiber){var owner=fiber._debugOwner?fiber._debugOwner.type:null,source=fiber._debugSource;switch(fiber.tag){case HostComponent:return describeBuiltInComponentFrame(fiber.type);case LazyComponent:return describeBuiltInComponentFrame("Lazy");case SuspenseComponent:return describeBuiltInComponentFrame("Suspense");case SuspenseListComponent:return describeBuiltInComponentFrame("SuspenseList");case FunctionComponent:case IndeterminateComponent:case SimpleMemoComponent:return describeFunctionComponentFrame(fiber.type);case ForwardRef:return describeFunctionComponentFrame(fiber.type.render);case ClassComponent:return describeClassComponentFrame(fiber.type);default:return""}}function getStackByFiberInDevAndProd(workInProgress2){try{var info="",node2=workInProgress2;do info+=describeFiber(node2),node2=node2.return;while(node2);return info}catch(x){return` -Error generating stack: `+x.message+` -`+x.stack}}function getWrappedName(outerType,innerType,wrapperName){var displayName=outerType.displayName;if(displayName)return displayName;var functionName=innerType.displayName||innerType.name||"";return functionName!==""?wrapperName+"("+functionName+")":wrapperName}function getContextName(type){return type.displayName||"Context"}function getComponentNameFromType(type){if(type==null)return null;if(typeof type.tag=="number"&&error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;switch(type){case REACT_FRAGMENT_TYPE:return"Fragment";case REACT_PORTAL_TYPE:return"Portal";case REACT_PROFILER_TYPE:return"Profiler";case REACT_STRICT_MODE_TYPE:return"StrictMode";case REACT_SUSPENSE_TYPE:return"Suspense";case REACT_SUSPENSE_LIST_TYPE:return"SuspenseList"}if(typeof type=="object")switch(type.$$typeof){case REACT_CONTEXT_TYPE:var context=type;return getContextName(context)+".Consumer";case REACT_PROVIDER_TYPE:var provider=type;return getContextName(provider._context)+".Provider";case REACT_FORWARD_REF_TYPE:return getWrappedName(type,type.render,"ForwardRef");case REACT_MEMO_TYPE:var outerName=type.displayName||null;return outerName!==null?outerName:getComponentNameFromType(type.type)||"Memo";case REACT_LAZY_TYPE:{var lazyComponent=type,payload=lazyComponent._payload,init=lazyComponent._init;try{return getComponentNameFromType(init(payload))}catch{return null}}}return null}function getWrappedName$1(outerType,innerType,wrapperName){var functionName=innerType.displayName||innerType.name||"";return outerType.displayName||(functionName!==""?wrapperName+"("+functionName+")":wrapperName)}function getContextName$1(type){return type.displayName||"Context"}function getComponentNameFromFiber(fiber){var tag=fiber.tag,type=fiber.type;switch(tag){case CacheComponent:return"Cache";case ContextConsumer:var context=type;return getContextName$1(context)+".Consumer";case ContextProvider:var provider=type;return getContextName$1(provider._context)+".Provider";case DehydratedFragment:return"DehydratedFragment";case ForwardRef:return getWrappedName$1(type,type.render,"ForwardRef");case Fragment2:return"Fragment";case HostComponent:return type;case HostPortal:return"Portal";case HostRoot:return"Root";case HostText:return"Text";case LazyComponent:return getComponentNameFromType(type);case Mode:return type===REACT_STRICT_MODE_TYPE?"StrictMode":"Mode";case OffscreenComponent:return"Offscreen";case Profiler:return"Profiler";case ScopeComponent:return"Scope";case SuspenseComponent:return"Suspense";case SuspenseListComponent:return"SuspenseList";case TracingMarkerComponent:return"TracingMarker";case ClassComponent:case FunctionComponent:case IncompleteClassComponent:case IndeterminateComponent:case MemoComponent:case SimpleMemoComponent:if(typeof type=="function")return type.displayName||type.name||null;if(typeof type=="string")return type;break}return null}var ReactDebugCurrentFrame=ReactSharedInternals.ReactDebugCurrentFrame,current=null,isRendering=!1;function getCurrentFiberOwnerNameInDevOrNull(){{if(current===null)return null;var owner=current._debugOwner;if(owner!==null&&typeof owner<"u")return getComponentNameFromFiber(owner)}return null}function getCurrentFiberStackInDev(){return current===null?"":getStackByFiberInDevAndProd(current)}function resetCurrentFiber(){ReactDebugCurrentFrame.getCurrentStack=null,current=null,isRendering=!1}function setCurrentFiber(fiber){ReactDebugCurrentFrame.getCurrentStack=fiber===null?null:getCurrentFiberStackInDev,current=fiber,isRendering=!1}function getCurrentFiber(){return current}function setIsRendering(rendering){isRendering=rendering}function toString(value){return""+value}function getToStringValue(value){switch(typeof value){case"boolean":case"number":case"string":case"undefined":return value;case"object":return checkFormFieldValueStringCoercion(value),value;default:return""}}var hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function checkControlledValueProps(tagName,props){hasReadOnlyValue[props.type]||props.onChange||props.onInput||props.readOnly||props.disabled||props.value==null||error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),props.onChange||props.readOnly||props.disabled||props.checked==null||error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function isCheckable(elem){var type=elem.type,nodeName=elem.nodeName;return nodeName&&nodeName.toLowerCase()==="input"&&(type==="checkbox"||type==="radio")}function getTracker(node2){return node2._valueTracker}function detachTracker(node2){node2._valueTracker=null}function getValueFromNode(node2){var value="";return node2&&(isCheckable(node2)?value=node2.checked?"true":"false":value=node2.value),value}function trackValueOnNode(node2){var valueField=isCheckable(node2)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node2.constructor.prototype,valueField);checkFormFieldValueStringCoercion(node2[valueField]);var currentValue=""+node2[valueField];if(!(node2.hasOwnProperty(valueField)||typeof descriptor>"u"||typeof descriptor.get!="function"||typeof descriptor.set!="function")){var get2=descriptor.get,set2=descriptor.set;Object.defineProperty(node2,valueField,{configurable:!0,get:function(){return get2.call(this)},set:function(value){checkFormFieldValueStringCoercion(value),currentValue=""+value,set2.call(this,value)}}),Object.defineProperty(node2,valueField,{enumerable:descriptor.enumerable});var tracker={getValue:function(){return currentValue},setValue:function(value){checkFormFieldValueStringCoercion(value),currentValue=""+value},stopTracking:function(){detachTracker(node2),delete node2[valueField]}};return tracker}}function track(node2){getTracker(node2)||(node2._valueTracker=trackValueOnNode(node2))}function updateValueIfChanged(node2){if(!node2)return!1;var tracker=getTracker(node2);if(!tracker)return!0;var lastValue=tracker.getValue(),nextValue=getValueFromNode(node2);return nextValue!==lastValue?(tracker.setValue(nextValue),!0):!1}function getActiveElement(doc){if(doc=doc||(typeof document<"u"?document:void 0),typeof doc>"u")return null;try{return doc.activeElement||doc.body}catch{return doc.body}}var didWarnValueDefaultValue=!1,didWarnCheckedDefaultChecked=!1,didWarnControlledToUncontrolled=!1,didWarnUncontrolledToControlled=!1;function isControlled(props){var usesChecked=props.type==="checkbox"||props.type==="radio";return usesChecked?props.checked!=null:props.value!=null}function getHostProps(element,props){var node2=element,checked=props.checked,hostProps=assign2({},props,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:checked??node2._wrapperState.initialChecked});return hostProps}function initWrapperState(element,props){checkControlledValueProps("input",props),props.checked!==void 0&&props.defaultChecked!==void 0&&!didWarnCheckedDefaultChecked&&(error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnCheckedDefaultChecked=!0),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValueDefaultValue&&(error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component",props.type),didWarnValueDefaultValue=!0);var node2=element,defaultValue=props.defaultValue==null?"":props.defaultValue;node2._wrapperState={initialChecked:props.checked!=null?props.checked:props.defaultChecked,initialValue:getToStringValue(props.value!=null?props.value:defaultValue),controlled:isControlled(props)}}function updateChecked(element,props){var node2=element,checked=props.checked;checked!=null&&setValueForProperty(node2,"checked",checked,!1)}function updateWrapper(element,props){var node2=element;{var controlled=isControlled(props);!node2._wrapperState.controlled&&controlled&&!didWarnUncontrolledToControlled&&(error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),didWarnUncontrolledToControlled=!0),node2._wrapperState.controlled&&!controlled&&!didWarnControlledToUncontrolled&&(error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),didWarnControlledToUncontrolled=!0)}updateChecked(element,props);var value=getToStringValue(props.value),type=props.type;if(value!=null)type==="number"?(value===0&&node2.value===""||node2.value!=value)&&(node2.value=toString(value)):node2.value!==toString(value)&&(node2.value=toString(value));else if(type==="submit"||type==="reset"){node2.removeAttribute("value");return}props.hasOwnProperty("value")?setDefaultValue(node2,props.type,value):props.hasOwnProperty("defaultValue")&&setDefaultValue(node2,props.type,getToStringValue(props.defaultValue)),props.checked==null&&props.defaultChecked!=null&&(node2.defaultChecked=!!props.defaultChecked)}function postMountWrapper(element,props,isHydrating2){var node2=element;if(props.hasOwnProperty("value")||props.hasOwnProperty("defaultValue")){var type=props.type,isButton=type==="submit"||type==="reset";if(isButton&&(props.value===void 0||props.value===null))return;var initialValue=toString(node2._wrapperState.initialValue);isHydrating2||initialValue!==node2.value&&(node2.value=initialValue),node2.defaultValue=initialValue}var name=node2.name;name!==""&&(node2.name=""),node2.defaultChecked=!node2.defaultChecked,node2.defaultChecked=!!node2._wrapperState.initialChecked,name!==""&&(node2.name=name)}function restoreControlledState(element,props){var node2=element;updateWrapper(node2,props),updateNamedCousins(node2,props)}function updateNamedCousins(rootNode,props){var name=props.name;if(props.type==="radio"&&name!=null){for(var queryRoot=rootNode;queryRoot.parentNode;)queryRoot=queryRoot.parentNode;checkAttributeStringCoercion(name,"name");for(var group=queryRoot.querySelectorAll("input[name="+JSON.stringify(""+name)+'][type="radio"]'),i=0;i.")))}):props.dangerouslySetInnerHTML!=null&&(didWarnInvalidInnerHTML||(didWarnInvalidInnerHTML=!0,error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),props.selected!=null&&!didWarnSelectedSetOnOption&&(error("Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}}function updateOptions(node2,multiple,propValue,setDefaultSelected){var options2=node2.options;if(multiple){for(var selectedValues=propValue,selectedValue={},i=0;i.");var hostProps=assign2({},props,{value:void 0,defaultValue:void 0,children:toString(node2._wrapperState.initialValue)});return hostProps}function initWrapperState$2(element,props){var node2=element;checkControlledValueProps("textarea",props),props.value!==void 0&&props.defaultValue!==void 0&&!didWarnValDefaultVal&&(error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",getCurrentFiberOwnerNameInDevOrNull()||"A component"),didWarnValDefaultVal=!0);var initialValue=props.value;if(initialValue==null){var children=props.children,defaultValue=props.defaultValue;if(children!=null){error("Use the `defaultValue` or `value` props instead of setting children on