diff --git a/storybook-static/assets/BrandColors.stories-CcX9XR2N.js b/storybook-static/assets/BrandColors.stories-CcX9XR2N.js new file mode 100644 index 00000000..344fc6b2 --- /dev/null +++ b/storybook-static/assets/BrandColors.stories-CcX9XR2N.js @@ -0,0 +1,78 @@ +import{j as r}from"./jsx-runtime-CkxqCPlQ.js";import{b as y}from"./shadows-C-ttOB05.js";import{u as w,g as k}from"./useJsonColor-DYnRusTp.js";import{C as j,g as f}from"./index-DHjrTlOH.js";import{useMDXComponents as b}from"./index-BrnU7xv7.js";import{ao as S}from"./index-DvvF0ogX.js";import{C}from"./ColorSwatch-BJ4zEXqK.js";import"./index-DJO9vBfz.js";import"./fontFamilies-hd_sU_9-.js";import"./index-CHSMmTBw.js";import"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";function l(e){const o={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...b(),...e.components};return r.jsxs(r.Fragment,{children:[r.jsx(o.h1,{id:"brand-colors-first-tier",children:"Brand colors (first tier)"}),` +`,r.jsxs(o.p,{children:["Brand colors form the foundation of our color system. They use literal color names (like red, green, etc.) and a numeric scale (where 000 is light and 900 is dark) by default. These colors are essential to maintaining visual consistency across our products and are primarily used as a reference for the ",r.jsx(o.a,{href:"/docs/colors-theme-colors--docs",children:"theme colors"}),"."]}),` +`,r.jsxs(o.p,{children:["While these colors are fundamental to our design system, they ",r.jsx(o.strong,{children:"should not"})," be used directly in most cases. Instead, they should be referenced via ",r.jsx(o.a,{href:"/docs/colors-theme-colors--docs",children:"theme colors"}),", which form the second tier of our design tokens."]}),` +`,r.jsx(o.p,{children:"However, in rare cases where a color needs to remain constant across themes (e.g., white always being white, regardless of light or dark mode), the corresponding brand color can be used. Always ensure there isn't an existing theme token that could be used instead."}),` +`,r.jsx(o.p,{children:r.jsxs(o.em,{children:["The majority of our brand color progressions were generated using the ",r.jsx(o.a,{href:"https://0to255.com/037dd6",rel:"nofollow",children:"0to255"})," tool, which helps ensure smooth and consistent color transitions."]})}),` +`,r.jsxs(o.ul,{children:[` +`,r.jsx(o.li,{children:r.jsx(o.a,{href:"#brand-colors",children:r.jsx(o.strong,{children:"Brand colors"})})}),` +`,r.jsx(o.li,{children:r.jsx(o.a,{href:"#best-practices",children:r.jsx(o.strong,{children:"Best practices"})})}),` +`,r.jsx(o.li,{children:r.jsx(o.a,{href:"#references",children:r.jsx(o.strong,{children:"References"})})}),` +`]}),` +`,r.jsx(o.h2,{id:"brand-colors",children:"Brand colors"}),` +`,r.jsx(S,{of:n}),` +`,r.jsx(o.h2,{id:"best-practices",children:"Best Practices"}),` +`,r.jsxs(o.h3,{id:"-do-use-brand-colors-when-the-color-should-remain-the-same-across-all-themes",children:["✅ ",r.jsx(o.strong,{children:"DO"}),": Use brand colors when the color should remain the same across all themes"]}),` +`,r.jsx(o.pre,{children:r.jsx(o.code,{className:"language-jsx",children:`fill: brandColors.white.white000; +fill: var(--brand-colors-white-white000); +`})}),` +`,r.jsxs(o.h3,{id:"-dont-use-brand-colors-without-checking-for-an-existing-theme-token-first",children:["❌ ",r.jsx(o.strong,{children:"DON'T"}),": Use brand colors without checking for an existing theme token first"]}),` +`,r.jsx(o.pre,{children:r.jsx(o.code,{className:"language-jsx",children:`background-color: brandColors.blue.blue500; // Brand color instead of theme.color.primary.default +background-color: var(--brand-colors-blue-blue500); // Brand color instead of var(--color-primary-default) +`})}),` +`,r.jsxs(o.h3,{id:"-do-store-non-token-colors-in-a-global-file",children:["✅ ",r.jsx(o.strong,{children:"DO"}),": Store non-token colors in a global file"]}),` +`,r.jsx(o.p,{children:"If you need to use colors that are not included in the design tokens, store these colors in a global file in your project. This makes it easier to keep track of these colors and update them as needed. Always consider this as a last resort, and strive to use design tokens wherever possible."}),` +`,r.jsx(o.pre,{children:r.jsx(o.code,{className:"language-jsx",children:`// colors.js +export const customColors = { + myCustomColor: '#abc123', +}; + +// colors.css +--custom-colors-my-custom-color: #abc123; + +// component.js +import { customColors } from './colors.js'; + +background-color: customColors.myCustomColor; +background-color: var(--custom-colors-my-custom-color); +`})}),` +`,r.jsxs(o.h3,{id:"-dont-use-non-token-colors-directly-in-your-components",children:["❌ ",r.jsx(o.strong,{children:"DON'T"}),": Use non-token colors directly in your components"]}),` +`,r.jsx(o.pre,{children:r.jsx(o.code,{className:"language-jsx",children:`// Avoid +background-color: #abc123; // Custom color not in design tokens or global file +`})}),` +`,r.jsx(o.h2,{id:"references",children:"References"}),` +`,r.jsxs(o.ul,{children:[` +`,r.jsxs(o.li,{children:[r.jsx(o.a,{href:"http://www.0to255.com/037DD6",rel:"nofollow",children:"0to255"}),": The tool we used to generate our color progressions."]}),` +`,r.jsxs(o.li,{children:[r.jsx(o.a,{href:"https://www.figma.com/file/cBAUPFMnbv6tHR1J8KvBI2/Brand-Colors?node-id=0%3A1",rel:"nofollow",children:"Figma Brand Colors Library"}),": Our internal Figma library for brand colors. Please note that this is for internal use only."]}),` +`]})]})}function v(e={}){const{wrapper:o}={...b(),...e.components};return o?r.jsx(o,{...e,children:r.jsx(l,{...e})}):l(e)}const Y={title:"Colors/Brand Colors",component:j,parameters:{docs:{page:v}}},n={render:()=>{const{brandColor:e}=w();return console.log("brandColor JSON",e),r.jsx(j,{swatchData:e})}},s={render:()=>{const e=k("--brand-colors");return r.jsx("div",{style:{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 300px)"},children:Object.values(e).map(({color:o,name:a})=>r.jsx(C,{color:o,backgroundColor:a,textBackgroundColor:"transparent",textColor:f(o,o),name:a},a))})}},t={render:()=>r.jsx("div",{style:{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 300px)"},children:Object.entries(y).map(([e,o])=>r.jsx(C,{color:o,textBackgroundColor:"transparent",textColor:f(o,o),name:`brandColor.${e}`},e))})};var c,i,d;n.parameters={...n.parameters,docs:{...(c=n.parameters)==null?void 0:c.docs,source:{originalSource:`{ + render: () => { + const { + brandColor + } = useJsonColor(); + console.log('brandColor JSON', brandColor); + return ; + } +}`,...(d=(i=n.parameters)==null?void 0:i.docs)==null?void 0:d.source}}};var h,m,u;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:`{ + render: () => { + const cssBrandColors = getCSSVariablesFromStylesheet('--brand-colors'); + return
+ {/* Mapping through each brand color and rendering a ColorSwatch component for it */} + {Object.values(cssBrandColors).map(({ + color, + name + }) => )} +
; + } +}`,...(u=(m=s.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};var p,g,x;t.parameters={...t.parameters,docs:{...(p=t.parameters)==null?void 0:p.docs,source:{originalSource:`{ + render: () =>
+ {/* Mapping through each brand color and rendering a ColorSwatch component for it */} + {Object.entries(brandColorJS).map(([name, color]) => )} +
+}`,...(x=(g=t.parameters)==null?void 0:g.docs)==null?void 0:x.source}}};const E=["Figma","CSS","JS"];export{s as CSS,n as Figma,t as JS,E as __namedExportsOrder,Y as default}; diff --git a/storybook-static/assets/Color-F6OSRLHC-9rSkHPsL.js b/storybook-static/assets/Color-F6OSRLHC-9rSkHPsL.js new file mode 100644 index 00000000..5d3e5a9b --- /dev/null +++ b/storybook-static/assets/Color-F6OSRLHC-9rSkHPsL.js @@ -0,0 +1 @@ +import{ai as ce,aj as M,a2 as J,a0 as he,N as fe,ak as de,al as ge,am as be,an as q}from"./index-DvvF0ogX.js";import{R as m,r as p}from"./index-DJO9vBfz.js";import"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";import"./jsx-runtime-CkxqCPlQ.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.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]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var 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"]}};l.exports=u;for(let 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);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?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(a/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];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.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(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,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]=f,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]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*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){let 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]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},T=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.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}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=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"}}),Xe=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Te=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Te,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},hr=rr;export{rr as ColorControl,hr as default}; diff --git a/storybook-static/assets/ColorSwatch-BJ4zEXqK.js b/storybook-static/assets/ColorSwatch-BJ4zEXqK.js new file mode 100644 index 00000000..c6d134ee --- /dev/null +++ b/storybook-static/assets/ColorSwatch-BJ4zEXqK.js @@ -0,0 +1 @@ +import{j as e}from"./jsx-runtime-CkxqCPlQ.js";import{l as r}from"./shadows-C-ttOB05.js";const l=({color:o,backgroundColor:t,borderColor:a=r.colors.border.muted,textBackgroundColor:d=r.colors.background.default,textColor:s=r.colors.text.default,name:c,...n})=>e.jsx("div",{style:{height:120,backgroundColor:t||o,border:`2px solid ${a}`,display:"flex",flexDirection:"column-reverse",borderRadius:"8px"},...n,children:e.jsxs("div",{style:{backgroundColor:d,padding:8,borderRadius:"0 0 6px 6px",color:s},children:[e.jsx("strong",{style:{display:"block",marginBottom:"8px"},children:e.jsx("code",{children:`${c}`})}),e.jsx("code",{children:`${o}`})]})});try{l.displayName="ColorSwatch",l.__docgenInfo={description:"",displayName:"ColorSwatch",props:{color:{defaultValue:null,description:"The color of the swatch",name:"color",required:!1,type:{name:"string"}},backgroundColor:{defaultValue:null,description:"The background color of the swatch defaults to the color",name:"backgroundColor",required:!1,type:{name:"string"}},textBackgroundColor:{defaultValue:{value:"lightTheme.colors.background.default"},description:"The color of text background that contains the name of the color defaults to lightTheme.colors.background.default",name:"textBackgroundColor",required:!1,type:{name:"string"}},borderColor:{defaultValue:{value:"lightTheme.colors.border.muted"},description:"The border color of the swatch defaults to lightTheme.colors.border.muted",name:"borderColor",required:!1,type:{name:"string"}},textColor:{defaultValue:{value:"lightTheme.colors.text.default"},description:"The color of the text defaults to lightTheme.colors.text.default",name:"textColor",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"The name of the color",name:"name",required:!1,type:{name:"string"}}}}}catch{}export{l as C}; diff --git a/storybook-static/assets/ColorSwatch.stories-D1dMbA-j.js b/storybook-static/assets/ColorSwatch.stories-D1dMbA-j.js new file mode 100644 index 00000000..f4e46a2f --- /dev/null +++ b/storybook-static/assets/ColorSwatch.stories-D1dMbA-j.js @@ -0,0 +1,3 @@ +import{j as m}from"./jsx-runtime-CkxqCPlQ.js";import{C as a}from"./ColorSwatch-BJ4zEXqK.js";import"./index-DJO9vBfz.js";import"./shadows-C-ttOB05.js";import"./fontFamilies-hd_sU_9-.js";const d={title:"Documentation Components/ColorSwatch",component:a},o={render:()=>m.jsx(a,{color:"#007bff",borderColor:"#ced4da",textBackgroundColor:"#f8f9fa",textColor:"#212529",name:"Primary Default"})};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ + render: () => +}`,...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const p=["Default"];export{o as Default,p as __namedExportsOrder,d as default}; diff --git a/storybook-static/assets/ColorSwatchGroup.stories-BOF_molE.js b/storybook-static/assets/ColorSwatchGroup.stories-BOF_molE.js new file mode 100644 index 00000000..d5a06f15 --- /dev/null +++ b/storybook-static/assets/ColorSwatchGroup.stories-BOF_molE.js @@ -0,0 +1,16 @@ +import{j as F}from"./jsx-runtime-CkxqCPlQ.js";import{C as a}from"./index-DHjrTlOH.js";import"./index-DJO9vBfz.js";import"./ColorSwatch-BJ4zEXqK.js";import"./shadows-C-ttOB05.js";import"./fontFamilies-hd_sU_9-.js";import"./index-CHSMmTBw.js";const m={title:"Documentation Components/ColorSwatchGroup",component:a},o={render:()=>F.jsx(a,{swatchData:{white:{white000:{value:"#FFFFFF",description:"(HEX: #FFFFFF)",type:"color"},white010:{value:"#FCFCFC",description:"(HEX: #FCFCFC)",type:"color"}}},borderColor:"#ced4da",textBackgroundColor:"#f8f9fa",textColor:"#212529",name:"Color Swatch Group"})};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ + render: () => +}`,...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const d=["Default"];export{o as Default,d as __namedExportsOrder,m as default}; diff --git a/storybook-static/assets/DocsRenderer-CFRXHY34-DMtBhNdE.js b/storybook-static/assets/DocsRenderer-CFRXHY34-DMtBhNdE.js new file mode 100644 index 00000000..2a673987 --- /dev/null +++ b/storybook-static/assets/DocsRenderer-CFRXHY34-DMtBhNdE.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BrnU7xv7.js","./index-DJO9vBfz.js"])))=>i.map(i=>d[i]); +import{_ as p}from"./iframe-C4LTHpTP.js";import{R as e,r as c}from"./index-DJO9vBfz.js";import{ae as l,af as u,ag as h,ah as E}from"./index-DvvF0ogX.js";import{renderElement as d,unmountElement as x}from"./react-18-BWhC85Cb.js";import"../sb-preview/runtime.js";import"./jsx-runtime-CkxqCPlQ.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";var _={code:l,a:u,...h},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,n)=>{let s={..._,...r==null?void 0:r.components},a=E;return new Promise((m,i)=>{p(async()=>{const{MDXProvider:o}=await import("./index-BrnU7xv7.js");return{MDXProvider:o}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:o})=>d(e.createElement(D,{showException:i,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>m())})},this.unmount=t=>{x(t)}}};export{O as DocsRenderer,_ as defaultComponents}; diff --git a/storybook-static/assets/EuclidCircularB-Bold-WebXL-DSa3cfOr.ttf b/storybook-static/assets/EuclidCircularB-Bold-WebXL-DSa3cfOr.ttf new file mode 100644 index 00000000..244ebba0 Binary files /dev/null and b/storybook-static/assets/EuclidCircularB-Bold-WebXL-DSa3cfOr.ttf differ diff --git a/storybook-static/assets/EuclidCircularB-Medium-D0UuEiHi.ttf b/storybook-static/assets/EuclidCircularB-Medium-D0UuEiHi.ttf new file mode 100644 index 00000000..7a2ae44a Binary files /dev/null and b/storybook-static/assets/EuclidCircularB-Medium-D0UuEiHi.ttf differ diff --git a/storybook-static/assets/EuclidCircularB-Regular-WebXL-ByWvSc4G.ttf b/storybook-static/assets/EuclidCircularB-Regular-WebXL-ByWvSc4G.ttf new file mode 100644 index 00000000..6cf177fe Binary files /dev/null and b/storybook-static/assets/EuclidCircularB-Regular-WebXL-ByWvSc4G.ttf differ diff --git a/storybook-static/assets/EuclidCircularB-RegularItalic-WebXL-Bw8O5q78.ttf b/storybook-static/assets/EuclidCircularB-RegularItalic-WebXL-Bw8O5q78.ttf new file mode 100644 index 00000000..35345ba0 Binary files /dev/null and b/storybook-static/assets/EuclidCircularB-RegularItalic-WebXL-Bw8O5q78.ttf differ diff --git a/storybook-static/assets/Introduction-BGJAK_bz.js b/storybook-static/assets/Introduction-BGJAK_bz.js new file mode 100644 index 00000000..5565e1a1 --- /dev/null +++ b/storybook-static/assets/Introduction-BGJAK_bz.js @@ -0,0 +1,198 @@ +import{j as e}from"./jsx-runtime-CkxqCPlQ.js";import{useMDXComponents as s}from"./index-BrnU7xv7.js";import{ap as a,aq as r}from"./index-DvvF0ogX.js";import"./index-DJO9vBfz.js";import"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";const i=`

⚠️ PLEASE READ ⚠️

This package is currently being migrated to our metamask-design-system monorepo. Please do not make any commits to this repository while this migration is taking place, as they will not be transferred over. Also, please re-open PRs that are under active development in the @metamask/design-tokens.

+ +# MetaMask Design Tokens 🪙 + +[![npm version](https://badge.fury.io/js/@metamask%2Fdesign-tokens.svg)](https://npmjs.com/package/@metamask/design-tokens) [![Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.svg)](https://metamask.github.io/design-tokens) + +## \`@metamask/design-tokens\` + +A collection of design tokens based on MetaMask's design system. + +Have a question, suggestion, feedback? Contributors can [create an issue](https://github.com/MetaMask/design-tokens/issues/new/choose) or internal folks can post on the [#metamask-design-system](https://consensys.slack.com/archives/C0354T27M5M) Slack channel. We're here to help! 💁 + +### Table of Contents + +- [Documentation](#documentation) +- [Installation](#installation) + - [CSS Variables](#css-variables) + - [CSS-in-JS](#css-in-js-react-native) +- [Tooling](#tooling) +- [Contributing](#contributing) + - [Setup](#setup) + - [Documentation](#documentation) + - [Figma Tokens](#figma-tokens) + - [Testing and Linting](#testing-and-linting) + - [Release & Publishing](#release-publishing) +- [License](#license) TBC + +## Documentation + +The primary documentation for MetaMask Design Tokens is [storybook](https://metamask.github.io/design-tokens), which describes the different token formats and gives examples of their usage. + +## Installation + +\`yarn add @metamask/design-tokens\` + +or + +\`npm install @metamask/design-tokens\` + +Currently the metamask design tokens repo supports 2 formats, CSS-in-JS and CSS variables. These formats are based on its primary consumers [metamask-mobile](https://github.com/MetaMask/metamask-mobile), [metamask-extension](https://github.com/MetaMask/metamask-extension) and [metamask-portfolio](https://github.com/consensys-vertical-apps/metamask-portfolio) . + +### CSS Variables + +1. Import the design tokens stylesheet into your CSS or SCSS. + +> _Please note the file path will depend on where in your project you are importing it from._ + +\`\`\`css +@import '@metamask/design-tokens/styles'; +\`\`\` + +2. Use design token CSS variables in the code. + +\`\`\`css +/* In CSS/SCSS */ +.card { + --card-color-text: var(--color-text-default); + --card-color-background: var(--color-background-default); + --card-color-border: var(--color-border-muted); + + background-color: var(--card-color-background); + color: var(--card-color-text); + border: 1px solid var(--card-color-border); +} +\`\`\` + +\`\`\`js +// They also work for inline styles in javascript +
This was is an error
+\`\`\` + +### CSS-in-JS + +1. Use design tokens in code by importing from library: + +\`\`\`js +import { lightTheme, darkTheme } from '@metamask/design-tokens'; + +// Create provider that swaps theme (pseudo code) +; + +const createStyles = (theme) => + StyleSheet.create({ + modalContainer: { + backgroundColor: theme.colors.background.default, + borderColor: theme.colors.border.default, + }, + }); +\`\`\` + +### Usage + +For a detailed list of design tokens visit the MetaMask design token [storybook](https://metamask.github.io/design-tokens) + +## Tooling + +To prevent color tech debt and ensure themability, accessibility, and consistency of the MetaMask brand, we recommend using [@metamask/eslint-plugin-design-tokens](https://github.com/MetaMask/eslint-plugin-design-tokens). This ESLint plugin helps enforce the usage of design tokens in your codebase. + +You'll first need to install [ESLint](https://eslint.org): + +\`\`\`shell +$ npm install --save-dev eslint +# or +$ yarn add --dev eslint +\`\`\` + +Next, install \`@metamask/eslint-plugin-design-tokens\`: + +\`\`\`shell +$ npm install --save-dev @metamask/eslint-plugin-design-tokens +# or +$ yarn add --dev @metamask/eslint-plugin-design-tokens +\`\`\` + +### Configuration + +Add \`eslint-plugin-design-tokens\` to your ESLint configuration: + +\`\`\`json +{ + "plugins": ["@metamask/design-tokens"], + "rules": { + "@metamask/design-tokens/color-no-hex": "warn" + } +} +\`\`\` + +This configuration will enforce the usage of design tokens instead of static hex color values, helping to maintain a consistent design system. See more [supported rules](https://github.com/MetaMask/eslint-plugin-design-tokens?tab=readme-ov-file#supported-rules) + +## Contributing + +Follow these steps to below to get the library up and running locally. + +### Setup + +- Install [Node.js](https://nodejs.org) version 16 + - If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running \`nvm use\` will automatically choose the right node version for you. +- Install [Yarn v1](https://yarnpkg.com/en/docs/install) +- Run \`yarn setup\` to install dependencies and run any required post-install scripts + - **Warning:** Do not use the \`yarn\` / \`yarn install\` command directly. Use \`yarn setup\` instead. The normal install command will skip required post-install scripts, leaving your development environment in an invalid state. + +### Documentation + +We use storybook for documentation. To get storybook up and running use: + +\`\`\` +yarn storybook +\`\`\` + +### Tokens Studio for Figma (formerly known as Figma Tokens) + +The primary data for the generation of tokens is based on the json generated from a figma plugin called [Tokens Studio for Figma (formerly known as Figma Tokens)](https://github.com/six7/figma-tokens). This keeps our code in sync with our figma libraries. Currently the token formats are manually generated we are hoping to automate this process in future. + +### Testing and Linting + +Run \`yarn test\` to run the tests once. To run tests on file changes, run \`yarn test:watch\`. + +Run \`yarn lint\` to run the linter, or run \`yarn lint:fix\` to run the linter and fix any automatically fixable issues. + +### Release & Publishing + +The project follows the same release process as the other libraries in the MetaMask organization. The GitHub Actions [\`action-create-release-pr\`](https://github.com/MetaMask/action-create-release-pr) and [\`action-publish-release\`](https://github.com/MetaMask/action-publish-release) are used to automate the release process; see those repositories for more information about how they work. + +1. Choose a release version. + + - The release version should be chosen according to SemVer. Analyze the changes to see whether they include any breaking changes, new features, or deprecations, then choose the appropriate SemVer version. See [the SemVer specification](https://semver.org/) for more information. + +2. If this release is backporting changes onto a previous release, then ensure there is a major version branch for that version (e.g. \`1.x\` for a \`v1\` backport release). + + - The major version branch should be set to the most recent release with that major version. For example, when backporting a \`v1.0.2\` release, you'd want to ensure there was a \`1.x\` branch that was set to the \`v1.0.1\` tag. + +3. Trigger the [\`workflow_dispatch\`](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch) event [manually](https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow) for the \`Create Release Pull Request\` action to create the release PR. + + - For a backport release, the base branch should be the major version branch that you ensured existed in step 2. For a normal release, the base branch should be the main branch for that repository (which should be the default value). + - This should trigger the [\`action-create-release-pr\`](https://github.com/MetaMask/action-create-release-pr) workflow to create the release PR. + +4. Update the changelog to move each change entry into the appropriate change category ([See here](https://keepachangelog.com/en/1.0.0/#types) for the full list of change categories, and the correct ordering), and edit them to be more easily understood by users of the package. + + - Generally any changes that don't affect consumers of the package (e.g. lockfile changes or development environment changes) are omitted. Exceptions may be made for changes that might be of interest despite not having an effect upon the published package (e.g. major test improvements, security improvements, improved documentation, etc.). + - Try to explain each change in terms that users of the package would understand (e.g. avoid referencing internal variables/concepts). + - Consolidate related changes into one change entry if it makes it easier to explain. + - Run \`yarn auto-changelog validate --rc\` to check that the changelog is correctly formatted. + +5. Review and QA the release. + + - If changes are made to the base branch, the release branch will need to be updated with these changes and review/QA will need to restart again. As such, it's probably best to avoid merging other PRs into the base branch while review is underway. + +6. Squash & Merge the release. + + - This should trigger the [\`action-publish-release\`](https://github.com/MetaMask/action-publish-release) workflow to tag the final release commit and publish the release on GitHub. + +7. Publish the release on npm. + + - Wait for the \`publish-release\` GitHub Action workflow to finish. This should trigger a second job (\`publish-npm\`), which will wait for a run approval by the [\`npm publishers\`](https://github.com/orgs/MetaMask/teams/npm-publishers) team. + - Approve the \`publish-npm\` job (or ask somebody on the npm publishers team to approve it for you). + - Once the \`publish-npm\` job has finished, check npm to verify that it has been published. +`;function o(n){return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Getting Started/Introduction"}),` +`,e.jsx(r,{children:i})]})}function f(n={}){const{wrapper:t}={...s(),...n.components};return t?e.jsx(t,{...n,children:e.jsx(o,{...n})}):o()}export{f as default}; diff --git a/storybook-static/assets/IntroductionColor-C7XfNfJ5.js b/storybook-static/assets/IntroductionColor-C7XfNfJ5.js new file mode 100644 index 00000000..f952014c --- /dev/null +++ b/storybook-static/assets/IntroductionColor-C7XfNfJ5.js @@ -0,0 +1,22 @@ +import{j as e}from"./jsx-runtime-CkxqCPlQ.js";import{useMDXComponents as n}from"./index-BrnU7xv7.js";import{ap as t}from"./index-DvvF0ogX.js";import{l as i}from"./shadows-C-ttOB05.js";import"./index-DJO9vBfz.js";import"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";import"./fontFamilies-hd_sU_9-.js";const c=""+new URL("design.token.graphic-IL9L4eka.svg",import.meta.url).href;function s(r){const o={a:"a",h1:"h1",h2:"h2",li:"li",p:"p",strong:"strong",ul:"ul",...n(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(t,{title:"Colors / Introduction"}),` +`,e.jsx(o.h1,{id:"color",children:"Color"}),` +`,e.jsx(o.p,{children:"Color is used to express style and communicate meaning. We follow a 3 tiered system for color design tokens."}),` +`,e.jsx("div",{style:{textAlign:"center",backgroundColor:i.colors.background.alternative,padding:32},children:e.jsx("img",{width:"80%",src:c})}),` +`,e.jsx("br",{}),` +`,e.jsx(o.h2,{id:"brand-colors-first-tier",children:"Brand colors (first tier)"}),` +`,e.jsxs(o.p,{children:["Brand colors are the foundation of our color system. They are primarily used as a reference for the ",e.jsx(o.a,{href:"/docs/colors-theme-colors--docs",children:"theme colors"})," and ",e.jsx(o.strong,{children:"should not"})," be used directly in most component styles."]}),` +`,e.jsx(o.p,{children:"However, in rare cases where a color needs to remain constant across themes (e.g., white always being white, regardless of light or dark mode), the corresponding brand color can be used. Always ensure there isn't an existing theme token that could be used instead."}),` +`,e.jsxs(o.p,{children:["For more details, refer to the ",e.jsx(o.a,{href:"/docs/colors-brand-colors--docs",children:"brand colors"})," section."]}),` +`,e.jsx(o.h2,{id:"theme-colors-second-tier",children:"Theme colors (second tier)"}),` +`,e.jsx(o.p,{children:"Theme colors are design tokens that are named based on their function rather than their actual color values. This makes them adaptable to different themes and ensures consistency and accessibility across your project. For most use cases, these function-based theme color tokens should be your first choice."}),` +`,e.jsxs(o.p,{children:["For more details, refer to the ",e.jsx(o.a,{href:"/docs/colors-theme-colors--docs",children:"theme colors"})," section"]}),` +`,e.jsx(o.h2,{id:"component-colors-third-tier",children:"Component colors (third tier)"}),` +`,e.jsx(o.p,{children:"Component colors provide another level of abstraction for component-specific colors. We currently do not provide any component tier colors, but this may change in the future"}),` +`,e.jsx(o.h2,{id:"next-steps",children:"Next steps"}),` +`,e.jsxs(o.p,{children:["Learn more about our ",e.jsx(o.a,{href:"/docs/colors-brand-colors--docs",children:"brand colors"})," or ",e.jsx(o.a,{href:"/docs/colors-theme-colors--docs",children:"theme colors"})," section"]}),` +`,e.jsx(o.h2,{id:"references",children:"References"}),` +`,e.jsxs(o.ul,{children:[` +`,e.jsxs(o.li,{children:[e.jsx(o.a,{href:"https://www.figma.com/file/cBAUPFMnbv6tHR1J8KvBI2/Brand-Colors?node-id=0%3A1",rel:"nofollow",children:"Figma Brand Colors Library"}),"(internal use only)"]}),` +`,e.jsxs(o.li,{children:[e.jsx(o.a,{href:"https://www.figma.com/file/kdFzEC7xzSNw7cXteqgzDW/Light-Theme-Colors?node-id=0%3A1",rel:"nofollow",children:"Figma Light Theme Colors Library"}),"(internal use only)"]}),` +`,e.jsxs(o.li,{children:[e.jsx(o.a,{href:"https://www.figma.com/file/rLKsoqpjyoKauYnFDcBIbO/Dark-Theme-Colors?node-id=0%3A1",rel:"nofollow",children:"Figma Dark Theme Colors Library"}),"(internal use only)"]}),` +`]})]})}function y(r={}){const{wrapper:o}={...n(),...r.components};return o?e.jsx(o,{...r,children:e.jsx(s,{...r})}):s(r)}export{y as default}; diff --git a/storybook-static/assets/Roboto-Black-C0mwRDn7.ttf b/storybook-static/assets/Roboto-Black-C0mwRDn7.ttf new file mode 100644 index 00000000..71f01ac2 Binary files /dev/null and b/storybook-static/assets/Roboto-Black-C0mwRDn7.ttf differ diff --git a/storybook-static/assets/Roboto-Bold-Bw9hF51Y.ttf b/storybook-static/assets/Roboto-Bold-Bw9hF51Y.ttf new file mode 100644 index 00000000..aaf374d2 Binary files /dev/null and b/storybook-static/assets/Roboto-Bold-Bw9hF51Y.ttf differ diff --git a/storybook-static/assets/Roboto-Light-DClj45N0.ttf b/storybook-static/assets/Roboto-Light-DClj45N0.ttf new file mode 100644 index 00000000..664e1b2f Binary files /dev/null and b/storybook-static/assets/Roboto-Light-DClj45N0.ttf differ diff --git a/storybook-static/assets/Roboto-Medium-cNKjeBYp.ttf b/storybook-static/assets/Roboto-Medium-cNKjeBYp.ttf new file mode 100644 index 00000000..aa00de0e Binary files /dev/null and b/storybook-static/assets/Roboto-Medium-cNKjeBYp.ttf differ diff --git a/storybook-static/assets/Roboto-Regular-WRKLzXY7.ttf b/storybook-static/assets/Roboto-Regular-WRKLzXY7.ttf new file mode 100644 index 00000000..3e6e2e76 Binary files /dev/null and b/storybook-static/assets/Roboto-Regular-WRKLzXY7.ttf differ diff --git a/storybook-static/assets/Roboto-Thin-De1td4fW.ttf b/storybook-static/assets/Roboto-Thin-De1td4fW.ttf new file mode 100644 index 00000000..d262d144 Binary files /dev/null and b/storybook-static/assets/Roboto-Thin-De1td4fW.ttf differ diff --git a/storybook-static/assets/Shadows.stories-CGTNEhf5.js b/storybook-static/assets/Shadows.stories-CGTNEhf5.js new file mode 100644 index 00000000..b60bef13 --- /dev/null +++ b/storybook-static/assets/Shadows.stories-CGTNEhf5.js @@ -0,0 +1,206 @@ +import{j as r}from"./jsx-runtime-CkxqCPlQ.js";import"./index-DHjrTlOH.js";import{useMDXComponents as T}from"./index-BrnU7xv7.js";import{ao as n}from"./index-DvvF0ogX.js";import{T as a}from"./index-CHSMmTBw.js";import"./index-DJO9vBfz.js";import"./ColorSwatch-BJ4zEXqK.js";import"./shadows-C-ttOB05.js";import"./fontFamilies-hd_sU_9-.js";import"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";function x(s){const e={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...T(),...s.components};return r.jsxs(r.Fragment,{children:[r.jsx(e.h1,{id:"shadows",children:"Shadows"}),` +`,r.jsx(e.p,{children:"Shadows in design are used to create depth and hierarchy. They can be used to differentiate between different elements, and to highlight interactive elements."}),` +`,r.jsx(n,{of:d}),` +`,r.jsx(e.h2,{id:"size",children:"Size"}),` +`,r.jsx(e.p,{children:"Shadows come in four different sizes: XS, SM, MD, and LG. The size of the shadow can be used to indicate the relative importance or prominence of an element."}),` +`,r.jsx(n,{of:l}),` +`,r.jsxs(e.table,{children:[r.jsx(e.thead,{children:r.jsxs(e.tr,{children:[r.jsx(e.th,{children:"Size"}),r.jsx(e.th,{children:"JS"}),r.jsx(e.th,{children:"CSS"})]})}),r.jsxs(e.tbody,{children:[r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"XS"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"shadows.size.xs"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"var(--shadow-size-xs)"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"SM"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"shadows.size.sm"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"var(--shadow-size-sm)"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"MD"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"shadows.size.md"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"var(--shadow-size-md)"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"LG"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"shadows.size.lg"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"var(--shadow-size-lg)"})})]})]})]}),` +`,r.jsx(e.h2,{id:"color",children:"Color"}),` +`,r.jsx(e.p,{children:"Shadows can have three different colors: default (neutral), primary, and error/danger. The color of the shadow can be used to indicate the state or functionality of an element."}),` +`,r.jsx(n,{of:t}),` +`,r.jsxs(e.table,{children:[r.jsx(e.thead,{children:r.jsxs(e.tr,{children:[r.jsx(e.th,{children:"Color"}),r.jsx(e.th,{children:"JS"}),r.jsx(e.th,{children:"CSS"})]})}),r.jsxs(e.tbody,{children:[r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"neutral"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"colors.shadow.default"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"var(--color-shadow-default)"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"primary"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"colors.primary.shadow"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"var(--color-primary-shadow)"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"danger"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"colors.error.shadow"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"var(--color-error-shadow)"})})]})]})]}),` +`,r.jsx(e.h2,{id:"usage",children:"Usage"}),` +`,r.jsx(e.p,{children:"Shadows can be applied to various components to create depth and hierarchy. Here are some examples of how shadows can be used in different components:"}),` +`,r.jsx(n,{of:i}),` +`,r.jsxs(e.table,{children:[r.jsx(e.thead,{children:r.jsxs(e.tr,{children:[r.jsx(e.th,{children:"Component"}),r.jsx(e.th,{children:"JS"}),r.jsx(e.th,{children:"CSS"})]})}),r.jsxs(e.tbody,{children:[r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"Card"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"cardShadow: {...shadows.size.xs }"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"box-shadow: var(--shadow-size-xs) var(--color-shadow-default);"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"Dropdown"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"dropdownShadow: { ...shadows.size.sm }"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"box-shadow: var(--shadow-size-sm) var(--color-shadow-default);"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"Toast"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"toastShadow: { ...shadows.size.md }"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"box-shadow: var(--shadow-size-md) var(--color-shadow-default);"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"Modal"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"modalShadow: { ...shadows.size.lg }"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"box-shadow: var(--shadow-size-lg) var(--color-shadow-default);"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"Button Primary Hover"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"buttonPrimaryHover: { ...shadows.size.sm, shadowColor: colors.primary.shadow}"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"box-shadow: var(--shadow-size-sm) var(--color-primary-shadow);"})})]}),r.jsxs(e.tr,{children:[r.jsx(e.td,{children:r.jsx(e.strong,{children:"Button Danger Hover"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"buttonDangerHover: { ...shadows.size.sm, shadowColor: colors.primary.shadow}"})}),r.jsx(e.td,{children:r.jsx(e.code,{children:"box-shadow: var(--shadow-size-sm) var(--color-error-shadow);"})})]})]})]}),` +`,r.jsx(e.p,{children:r.jsxs(e.strong,{children:["NOTE: The CSS-in-JS ",r.jsx(e.code,{children:"shadows.size"})," objects for React Native contain all the correct tokens for neutral shadows. For primary and error/danger shadows change the ",r.jsx(e.code,{children:"shadowColor"})," key"]})}),` +`,r.jsxs(e.p,{children:["Example shape of the ",r.jsx(e.code,{children:"xs"})," shadow size object from ",r.jsx(e.code,{children:"shadows"})]}),` +`,r.jsx(e.pre,{children:r.jsx(e.code,{children:`size: { + xs: { + shadowColor: colors.light.shadow.default, + shadowOffset: { + width: 0, + height: 2, + }, + shadowOpacity: 1, + shadowRadius: 4, + }, + ... +} + +`})}),` +`,r.jsx(e.h2,{id:"references",children:"References"}),` +`,r.jsxs(e.ul,{children:[` +`,r.jsxs(e.li,{children:[r.jsx(e.a,{href:"https://www.figma.com/file/kdFzEC7xzSNw7cXteqgzDW/%5BColor%5D-Light-Theme?node-id=753%3A719",rel:"nofollow",children:"Figma Light Theme Colors Library(Shadows Page)"}),"(internal use only)"]}),` +`,r.jsxs(e.li,{children:[r.jsx(e.a,{href:"https://www.figma.com/file/rLKsoqpjyoKauYnFDcBIbO/%5BColor%5D-Dark-Theme?node-id=522%3A1022",rel:"nofollow",children:"Figma Dark Theme Colors Library(Shadows Page)"}),"(internal use only)"]}),` +`]})]})}function C(s={}){const{wrapper:e}={...T(),...s.components};return e?r.jsx(e,{...s,children:r.jsx(x,{...s})}):x(s)}const o=({children:s,style:e,size:c="xs",color:h="default"})=>r.jsx("div",{style:{height:100,backgroundColor:"var(--color-background-default)",boxShadow:h==="default"?`var(--shadow-size-${c}) var(--color-shadow-default)`:`var(--shadow-size-${c}) var(--color-${h}-shadow)`,borderRadius:"4px",display:"grid",alignContent:"center",justifyContent:"center",textAlign:"center",...e},children:s}),A={title:"Shadows/Shadows",component:o,parameters:{docs:{page:C}},argTypes:{size:{control:{type:"select"},options:["xs","sm","md","lg"]},color:{control:{type:"select"},options:["default","primary","error"]}}},d={name:"Default",args:{color:"default",size:"xs"},render:s=>r.jsx("div",{style:{display:"grid",gap:"32px",gridTemplateColumns:"repeat(auto-fill, 200px)"},children:r.jsx(o,{...s,children:r.jsx(a,{as:"p",style:{margin:0},children:"Shadow"})})})},l={render:s=>r.jsxs("div",{style:{display:"grid",gap:"32px",gridTemplateColumns:"repeat(auto-fill, 200px)"},children:[r.jsx(o,{color:s.color,size:"xs",children:r.jsx(a,{as:"p",style:{margin:0},children:"XS"})}),r.jsx(o,{color:s.color,size:"sm",children:r.jsx(a,{as:"p",style:{margin:0},children:"SM"})}),r.jsx(o,{color:s.color,size:"md",children:r.jsx(a,{as:"p",style:{margin:0},children:"MD"})}),r.jsx(o,{color:s.color,size:"lg",children:r.jsx(a,{as:"p",style:{margin:0},children:"LG"})})]}),args:{color:"default",size:"xs"}},t={render:s=>r.jsxs("div",{style:{display:"grid",gap:"32px",gridTemplateColumns:"repeat(auto-fill, 200px)"},children:[r.jsx(o,{color:"default",size:s.size,children:r.jsx(a,{as:"p",style:{margin:0},children:"Default"})}),r.jsx(o,{color:"primary",size:s.size,style:{backgroundColor:"var(--color-primary-default)",color:"var(--color-primary-inverse)"},children:r.jsx(a,{as:"p",style:{margin:0},children:"Primary"})}),r.jsx(o,{color:"error",size:s.size,style:{backgroundColor:"var(--color-error-default)",color:"var(--color-error-inverse)"},children:r.jsx(a,{as:"p",style:{margin:0},children:"Error/Danger"})})]}),args:{color:"default",size:"xs"}},i={render:()=>r.jsxs("div",{children:[r.jsxs("div",{style:{display:"grid",gap:"32px",gridTemplateColumns:"repeat(auto-fill, 200px)",marginBottom:"64px"},children:[r.jsx(o,{style:{boxShadow:"var(--shadow-size-xs) var(--color-shadow-default)"},children:r.jsx(a,{as:"p",style:{margin:0},children:"Card"})}),r.jsx(o,{style:{boxShadow:"var(--shadow-size-sm) var(--color-shadow-default)"},children:r.jsx(a,{as:"p",style:{margin:0},children:"Dropdown"})}),r.jsx(o,{style:{boxShadow:"var(--shadow-size-md) var(--color-shadow-default)"},children:r.jsx(a,{as:"p",style:{margin:0},children:"Toast"})}),r.jsx(o,{style:{boxShadow:"var(--shadow-size-lg) var(--color-shadow-default)"},children:r.jsx(a,{as:"p",style:{margin:0},children:"Modal"})})]}),r.jsxs("div",{style:{display:"grid",gap:"32px",gridTemplateColumns:"repeat(auto-fill, 200px)"},children:[r.jsx(o,{style:{boxShadow:"var(--component-button-primary-shadow)",backgroundColor:"var(--color-primary-default)",color:"var(--color-primary-inverse)"},children:r.jsx(a,{as:"p",style:{margin:0},children:"Button Primary Hover"})}),r.jsx(o,{style:{boxShadow:"var(--component-button-danger-shadow)",backgroundColor:"var(--color-error-default)",color:"var(--color-error-inverse)"},children:r.jsx(a,{as:"p",style:{margin:0},children:"Button Error/Danger Hover"})})]})]})};var p,w,j;d.parameters={...d.parameters,docs:{...(p=d.parameters)==null?void 0:p.docs,source:{originalSource:`{ + name: 'Default', + args: { + color: 'default', + size: 'xs' + }, + render: args =>
+ + + Shadow + + +
+}`,...(j=(w=d.parameters)==null?void 0:w.docs)==null?void 0:j.source}}};var m,g,u;l.parameters={...l.parameters,docs:{...(m=l.parameters)==null?void 0:m.docs,source:{originalSource:`{ + render: args =>
+ + + XS + + + + + SM + + + + + MD + + + + + LG + + +
, + args: { + color: 'default', + size: 'xs' + } +}`,...(u=(g=l.parameters)==null?void 0:g.docs)==null?void 0:u.source}}};var S,y,v;t.parameters={...t.parameters,docs:{...(S=t.parameters)==null?void 0:S.docs,source:{originalSource:`{ + render: args =>
+ + + Default + + + + + Primary + + + + + Error/Danger + + +
, + args: { + color: 'default', + size: 'xs' + } +}`,...(v=(y=t.parameters)==null?void 0:y.docs)==null?void 0:v.source}}};var f,z,b;i.parameters={...i.parameters,docs:{...(f=i.parameters)==null?void 0:f.docs,source:{originalSource:`{ + render: () =>
+
+ + + Card + + + + + Dropdown + + + + + Toast + + + + + Modal + + +
+
+ + + Button Primary Hover + + + + + Button Error/Danger Hover + + +
+
+}`,...(b=(z=i.parameters)==null?void 0:z.docs)==null?void 0:b.source}}};const N=["DefaultStory","Size","Color","ExampleUsage"];export{t as Color,d as DefaultStory,i as ExampleUsage,l as Size,N as __namedExportsOrder,A as default}; diff --git a/storybook-static/assets/Text.stories-CIvQTc3N.js b/storybook-static/assets/Text.stories-CIvQTc3N.js new file mode 100644 index 00000000..892a4d02 --- /dev/null +++ b/storybook-static/assets/Text.stories-CIvQTc3N.js @@ -0,0 +1 @@ +import{j as a}from"./jsx-runtime-CkxqCPlQ.js";import{T as c}from"./index-CHSMmTBw.js";import"./index-DJO9vBfz.js";import"./fontFamilies-hd_sU_9-.js";const x={title:"Documentation Components/Text",argTypes:{children:{control:"text"},as:{control:"select",options:["h1","h2","p","a","li"]},style:{control:"object"}}},n=s=>a.jsx(c,{...s}),t=n.bind({});t.args={children:"Text"};t.storyName="Default";var e,o,r;t.parameters={...t.parameters,docs:{...(e=t.parameters)==null?void 0:e.docs,source:{originalSource:"args => ",...(r=(o=t.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};const d=["DefaultStory"];export{t as DefaultStory,d as __namedExportsOrder,x as default}; diff --git a/storybook-static/assets/ThemeColors.stories-B-W0OgHA.js b/storybook-static/assets/ThemeColors.stories-B-W0OgHA.js new file mode 100644 index 00000000..1b2571dd --- /dev/null +++ b/storybook-static/assets/ThemeColors.stories-B-W0OgHA.js @@ -0,0 +1,174 @@ +import{j as o}from"./jsx-runtime-CkxqCPlQ.js";import{e as R,t as _,s as G,l as g}from"./shadows-C-ttOB05.js";import{u as Y,b as X,g as E}from"./useJsonColor-DYnRusTp.js";import{C as p,g as h}from"./index-DHjrTlOH.js";import{useMDXComponents as Q}from"./index-BrnU7xv7.js";import{ao as k}from"./index-DvvF0ogX.js";import{C as u}from"./ColorSwatch-BJ4zEXqK.js";import"./index-DJO9vBfz.js";import"./fontFamilies-hd_sU_9-.js";import"./index-CHSMmTBw.js";import"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";const m={colors:R,typography:_,shadows:G},x=(r,e="")=>Object.entries(r).flatMap(([n,t])=>{const f=e?`${e}.${n}`:n;return typeof t=="string"?[{name:f,color:t}]:x(t,f)});function b(r){const e={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...Q(),...r.components};return o.jsxs(o.Fragment,{children:[o.jsx(e.h1,{id:"theme-colors-second-tier",children:"Theme Colors (second tier)"}),` +`,o.jsx(e.p,{children:"Theme colors are design tokens that are named based on their function rather than their actual color values. This makes them adaptable to different themes and ensures consistency and accessibility across your project."}),` +`,o.jsxs(e.p,{children:["For most use cases, these function-based color tokens should be your first choice. They are derived from the first-tier ",o.jsx(e.a,{href:"/docs/colors-brand-colors--docs",children:o.jsx(e.strong,{children:"brand colors"})})," and are applied to high-level applications within the UI."]}),` +`,o.jsxs(e.ul,{children:[` +`,o.jsx(e.li,{children:o.jsx(e.a,{href:"#light-theme-colors",children:o.jsx(e.strong,{children:"Light theme colors"})})}),` +`,o.jsx(e.li,{children:o.jsx(e.a,{href:"#dark-theme-colors",children:o.jsx(e.strong,{children:"Dark theme colors"})})}),` +`,o.jsx(e.li,{children:o.jsx(e.a,{href:"#best-practices",children:o.jsx(e.strong,{children:"Best practices"})})}),` +`,o.jsx(e.li,{children:o.jsx(e.a,{href:"#references",children:o.jsx(e.strong,{children:"References"})})}),` +`]}),` +`,o.jsx(e.h2,{id:"light-theme-colors",children:"Light theme colors"}),` +`,o.jsx(e.p,{children:"The light theme colors are designed to be used in the styles for MetaMask UI when the light theme is active"}),` +`,o.jsx(k,{of:s}),` +`,o.jsx(e.h2,{id:"dark-theme-colors",children:"Dark theme colors"}),` +`,o.jsx(e.p,{children:"The dark theme colors are designed for MetaMask UI when the dark theme is active. They have the same names as the light theme colors but different values. If you are using the light theme colors for their intended purpose, your UI will automatically be compatible with the dark theme."}),` +`,o.jsx(k,{of:a}),` +`,o.jsx(e.h2,{id:"best-practices",children:"Best practices"}),` +`,o.jsxs(e.h3,{id:"-do-use-theme-colors-in-your-components",children:["✅ ",o.jsx(e.strong,{children:"DO"}),": Use theme colors in your components"]}),` +`,o.jsx(e.pre,{children:o.jsx(e.code,{className:"language-jsx",children:`// Good +background-color: theme.colors.background.default; +background-color: var(--color-background-default); +`})}),` +`,o.jsxs(e.h3,{id:"-dont-use-static-color-values-or-brand-colors-in-your-components",children:["❌ ",o.jsx(e.strong,{children:"DON'T"}),": Use static color values or brand colors in your components"]}),` +`,o.jsxs(e.p,{children:["See when to use ",o.jsx(e.a,{href:"/docs/colors-brand-colors--docs#best-practices",children:"brand colors"})]}),` +`,o.jsx(e.pre,{children:o.jsx(e.code,{className:"language-jsx",children:`// Avoid +background-color: #ffffff; // Static color value +background-color: brandColors.white.white000; // Brand color +background-color: var(--brand-colors-white-white000); // Brand color +`})}),` +`,o.jsxs(e.h3,{id:"-do-store-non-token-colors-in-a-global-file",children:["✅ ",o.jsx(e.strong,{children:"DO"}),": Store non-token colors in a global file"]}),` +`,o.jsx(e.p,{children:"If you need to use colors that are not included in the design tokens, store these colors in a global file in your project. This makes it easier to keep track of these colors and update them as needed. Always consider this as a last resort, and strive to use design tokens wherever possible."}),` +`,o.jsx(e.pre,{children:o.jsx(e.code,{className:"language-jsx",children:`// colors.js +export const customColors = { + myCustomColor: '#abc123', +}; + +// colors.css +--custom-colors-my-custom-color: #abc123; + +// component.js +import { customColors } from './colors.js'; + +background-color: customColors.myCustomColor; +background-color: var(--custom-colors-my-custom-color); +`})}),` +`,o.jsxs(e.h3,{id:"-dont-use-non-token-colors-directly-in-your-components",children:["❌ ",o.jsx(e.strong,{children:"DON'T"}),": Use non-token colors directly in your components"]}),` +`,o.jsx(e.pre,{children:o.jsx(e.code,{className:"language-jsx",children:`// Avoid +background-color: #abc123; // Custom color not in design tokens or global file +`})}),` +`,o.jsx(e.h2,{id:"references",children:"References"}),` +`,o.jsxs(e.ul,{children:[` +`,o.jsxs(e.li,{children:[o.jsx(e.a,{href:"https://www.figma.com/file/cBAUPFMnbv6tHR1J8KvBI2/Brand-Colors?node-id=0%3A1",rel:"nofollow",children:"Figma Brand Colors Library"}),"(internal use only)"]}),` +`,o.jsxs(e.li,{children:[o.jsx(e.a,{href:"https://www.figma.com/file/kdFzEC7xzSNw7cXteqgzDW/Light-Theme-Colors?node-id=0%3A1",rel:"nofollow",children:"Figma Light Theme Colors Library"}),"(internal use only)"]}),` +`,o.jsxs(e.li,{children:[o.jsx(e.a,{href:"https://www.figma.com/file/rLKsoqpjyoKauYnFDcBIbO/Dark-Theme-Colors?node-id=0%3A1",rel:"nofollow",children:"Figma Dark Theme Colors Library"}),"(internal use only)"]}),` +`]})]})}function z(r={}){const{wrapper:e}={...Q(),...r.components};return e?o.jsx(e,{...r,children:o.jsx(b,{...r})}):b(r)}const ce={title:"Colors/Theme Colors",component:p,parameters:{docs:{page:z}}},s={render:()=>{const{lightTheme:r}=Y();return r?(console.log("lightTheme",r),o.jsx(p,{swatchData:r})):null}},a={render:()=>{var e,n;const{darkTheme:r}=Y();return console.log("darkTheme",r),r?o.jsx("div",{style:{margin:"-1rem",padding:"1rem"},children:o.jsx(p,{swatchData:r,theme:(n=(e=r==null?void 0:r.background)==null?void 0:e.default)==null?void 0:n.value})}):null},parameters:{backgrounds:{default:"dark",values:[{name:"dark",value:X.grey[800].value}]}}},l={render:()=>{const r=E("--color-");return o.jsx("div",{style:{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 300px)"},children:Object.entries(r).map(([e,{color:n,name:t}])=>o.jsx(u,{color:n,textBackgroundColor:"transparent",textColor:h(n,g.colors.background.default),backgroundColor:t,name:t},e))})}},c={render:()=>{const r=E("--color-");return o.jsx("div",{style:{backgroundColor:"var(--color-background-default)",margin:"-1rem",padding:"1rem"},children:o.jsx("div",{style:{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 300px)"},children:Object.entries(r).map(([e,{color:n,name:t}])=>o.jsx(u,{color:n,name:t,backgroundColor:t,borderColor:"var(--color-border-muted)",textBackgroundColor:"transparent",textColor:h(n,m.colors.background.default)},e))})})},backgrounds:{default:"dark",values:[{name:"dark",value:"var(--color-background-default)"}]},decorators:[r=>(typeof document<"u"&&document.documentElement.setAttribute("data-theme","dark"),o.jsx(r,{}))]},d={render:()=>{const r=x(g.colors);return o.jsx("div",{style:{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 300px)"},children:r.map(({name:e,color:n})=>o.jsx(u,{color:n,textBackgroundColor:"transparent",textColor:h(n,g.colors.background.default),name:e},e))})}},i={render:()=>{const r=x(m.colors);return o.jsx("div",{style:{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 300px)",padding:"1rem",margin:"-1rem",backgroundColor:m.colors.background.default},children:r.map(({name:e,color:n})=>o.jsx(u,{color:n,textBackgroundColor:"transparent",textColor:h(n,m.colors.background.default),name:e},e))})}};var C,j,y;s.parameters={...s.parameters,docs:{...(C=s.parameters)==null?void 0:C.docs,source:{originalSource:`{ + render: () => { + const { + lightTheme + } = useJsonColor(); + if (!lightTheme) { + return null; // or some fallback component + } + console.log('lightTheme', lightTheme); + return ; + } +}`,...(y=(j=s.parameters)==null?void 0:j.docs)==null?void 0:y.source}}};var T,S,v;a.parameters={...a.parameters,docs:{...(T=a.parameters)==null?void 0:T.docs,source:{originalSource:`{ + render: () => { + const { + darkTheme + } = useJsonColor(); + console.log('darkTheme', darkTheme); + if (!darkTheme) { + return null; // or some fallback component + } + return
+ +
; + }, + parameters: { + backgrounds: { + default: 'dark', + values: [{ + name: 'dark', + value: brandColor.grey[800].value + }] + } + } +}`,...(v=(S=a.parameters)==null?void 0:S.docs)==null?void 0:v.source}}};var w,D,J;l.parameters={...l.parameters,docs:{...(w=l.parameters)==null?void 0:w.docs,source:{originalSource:`{ + render: () => { + const lightThemeColors = getCSSVariablesFromStylesheet('--color-'); + return
+ {Object.entries(lightThemeColors).map(([name, { + color, + name: colorName + }]) => )} +
; + } +}`,...(J=(D=l.parameters)==null?void 0:D.docs)==null?void 0:J.source}}};var B,F,L;c.parameters={...c.parameters,docs:{...(B=c.parameters)==null?void 0:B.docs,source:{originalSource:`{ + render: () => { + const darkThemeColors = getCSSVariablesFromStylesheet('--color-'); + return
+
+ {Object.entries(darkThemeColors).map(([name, { + color, + name: colorName + }]) => )} +
+
; + }, + backgrounds: { + default: 'dark', + values: [{ + name: 'dark', + value: 'var(--color-background-default)' + }] + }, + decorators: [StoryFn => { + // Check if document object is available + if (typeof document !== 'undefined') { + // Add the data-theme attribute to the root element + document.documentElement.setAttribute('data-theme', 'dark'); + } + // Render the story + return ; + }] +}`,...(L=(F=c.parameters)==null?void 0:F.docs)==null?void 0:L.source}}};var O,I,N;d.parameters={...d.parameters,docs:{...(O=d.parameters)==null?void 0:O.docs,source:{originalSource:`{ + render: () => { + const colors = getJSColors(lightThemeJS.colors); + return
+ {colors.map(({ + name, + color + }) => )} +
; + } +}`,...(N=(I=d.parameters)==null?void 0:I.docs)==null?void 0:N.source}}};var A,M,U;i.parameters={...i.parameters,docs:{...(A=i.parameters)==null?void 0:A.docs,source:{originalSource:`{ + render: () => { + const colors = getJSColors(darkThemeJS.colors); + return
+ {colors.map(({ + name, + color + }) => )} +
; + } +}`,...(U=(M=i.parameters)==null?void 0:M.docs)==null?void 0:U.source}}};const de=["FigmaLightTheme","FigmaDarkTheme","CSSLightTheme","CSSDarkTheme","JSLightTheme","JSDarkTheme"];export{c as CSSDarkTheme,l as CSSLightTheme,a as FigmaDarkTheme,s as FigmaLightTheme,i as JSDarkTheme,d as JSLightTheme,de as __namedExportsOrder,ce as default}; diff --git a/storybook-static/assets/Typography.stories-CYuNQoJ3.js b/storybook-static/assets/Typography.stories-CYuNQoJ3.js new file mode 100644 index 00000000..95c6741b --- /dev/null +++ b/storybook-static/assets/Typography.stories-CYuNQoJ3.js @@ -0,0 +1,579 @@ +import{j as e}from"./jsx-runtime-CkxqCPlQ.js";import{r as O}from"./index-DJO9vBfz.js";import{f as S,a as M,c as j,d as A,t as n}from"./shadows-C-ttOB05.js";import{f as b}from"./fontFamilies-hd_sU_9-.js";import"./index-DHjrTlOH.js";import{useMDXComponents as k}from"./index-BrnU7xv7.js";import{ap as _,ao as x}from"./index-DvvF0ogX.js";import{T as d}from"./index-CHSMmTBw.js";import"./ColorSwatch-BJ4zEXqK.js";import"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";const N=Object.freeze(Object.defineProperty({__proto__:null,get FontFamily(){return s},get FontWeight(){return g},get LargeScreen(){return h},get LargeScreenCSS(){return m},get SmallScreen(){return a},get SmallScreenCSS(){return f},get __namedExportsOrder(){return U},get default(){return K}},Symbol.toStringTag,{value:"Module"}));function u(o){const t={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",li:"li",p:"p",strong:"strong",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",ul:"ul",...k(),...o.components};return e.jsxs(e.Fragment,{children:[e.jsx(_,{of:N}),` +`,e.jsx(t.h1,{id:"typography",children:"Typography"}),` +`,e.jsx(t.p,{children:"Good typography improves readability, legibility and prioritization of information."}),` +`,e.jsx(t.h2,{id:"font-family",children:"Font Family"}),` +`,e.jsxs(t.p,{children:["The main font family used in MetaMask products is ",e.jsx(t.strong,{children:"Euclid Circular B"})]}),` +`,e.jsx(x,{of:s}),` +`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Font Family"}),e.jsx(t.th,{children:"JS"}),e.jsx(t.th,{children:"CSS"})]})}),e.jsx(t.tbody,{children:e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"Euclid Circular B"})}),e.jsx(t.td,{children:e.jsx(t.code,{children:"Token not exported"})}),e.jsx(t.td,{children:e.jsx(t.code,{children:"var(--font-family-euclid-circular-b)"})})]})})]}),` +`,e.jsx(t.h2,{id:"scale",children:"Scale"}),` +`,e.jsxs(t.p,{children:["There are 2 sets of typography scales for MetaMask products. Both are based on a default base font size of ",e.jsx(t.code,{children:"16px"}),". Responsive typography changes on the component level rather than changing the base font size globally. ",e.jsx(t.strong,{children:"*REMS does not apply to React Native"})]}),` +`,e.jsx(t.h3,{id:"small-screen",children:e.jsx(t.strong,{children:"Small screen"})}),` +`,e.jsxs(t.p,{children:["For screens sizes ",e.jsx(t.code,{children:"767px >"})," or smaller, use the small screen typography scale"]}),` +`,e.jsxs(t.p,{children:[e.jsx(t.strong,{children:"Key:"})," S: small screen L: large screen | name | font-weight(regular if omitted) | font-size/line-height | rems"]}),` +`,e.jsx(x,{of:a}),` +`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Variation"}),e.jsx(t.th,{children:"JS"}),e.jsx(t.th,{children:"CSS"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S DisplayMD"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sDisplayMD.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sDisplayMD.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sDisplayMD.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sDisplayMD.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sDisplayMD.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-display-md-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-display-md-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-display-md-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-display-md-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-display-md-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S HeadingLG"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sHeadingLG.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingLG.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingLG.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingLG.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingLG.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-heading-lg-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-lg-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-lg-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-lg-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-lg-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S HeadingMD"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sHeadingMD.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingMD.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingMD.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingMD.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingMD.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-heading-md-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-md-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-md-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-md-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-md-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S HeadingSM"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sHeadingSM.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingSM.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingSM.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingSM.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingSM.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-heading-sm-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-sm-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-sm-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-sm-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-sm-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsxs(t.td,{children:[e.jsx(t.strong,{children:"S HeadingSM Regular"})," (DEPRECATED)"]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sHeadingSMRegular.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingSMRegular.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingSMRegular.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingSMRegular.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sHeadingSMRegular.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-heading-sm-regular-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-sm-regular-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-sm-regular-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-sm-regular-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-heading-sm-regular-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodyLG Medium"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodyLGMedium.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyLGMedium.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyLGMedium.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyLGMedium.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyLGMedium.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-lg-medium-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-lg-medium-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-lg-medium-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-lg-medium-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-lg-medium-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodyMD Bold"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodyMDBold.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMDBold.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMDBold.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMDBold.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMDBold.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-md-bold-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-bold-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-bold-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-bold-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-bold-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodyMD Medium"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodyMDMedium.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMDMedium.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMDMedium.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMDMedium.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMDMedium.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-md-bold-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-bold-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-bold-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-bold-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-bold-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodyMD"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodyMD.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMD.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMD.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMD.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyMD.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-md-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-md-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodySM Bold"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodySMBold.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySMBold.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySMBold.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySMBold.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySMBold.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodySM Medium"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodySMMedium.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySMMedium.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySMMedium.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySMMedium.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySMMedium.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-bold-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodySM"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodySM.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySM.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySM.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySM.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodySM.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-sm-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-sm-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodyXS Medium"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodyXSMedium.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyXSMedium.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyXSMedium.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyXSMedium.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyXSMedium.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-xs-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-xs-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-xs-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-xs-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-xs-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"S BodyXS"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.sBodyXS.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyXS.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyXS.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyXS.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.sBodyXS.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-s-body-xs-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-xs-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-xs-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-xs-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-s-body-xs-letter-spacing)"})]})]})]})]}),` +`,e.jsx(t.p,{children:e.jsxs(t.strong,{children:["NOTE: The JS token format was initially intended for React Native. Therefore, ",e.jsx(t.code,{children:"fontSize"})," and ",e.jsx(t.code,{children:"lineHeight"})," use integers not REMS or unitless values. Some conversion will need to happen at app level if the JS token format is used for web applications."]})}),` +`,e.jsx(t.h3,{id:"large-screen",children:e.jsx(t.strong,{children:"Large screen"})}),` +`,e.jsxs(t.p,{children:["For screens sizes ",e.jsx(t.code,{children:"768px <"})," or larger, use the large screen typography scale"]}),` +`,e.jsxs(t.p,{children:[e.jsx(t.strong,{children:"Key:"})," S: small screen L: large screen | name | font-weight (regular if omitted)| font-size/line-height | rems"]}),` +`,e.jsx(x,{of:h}),` +`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Variation"}),e.jsx(t.th,{children:"JS"}),e.jsx(t.th,{children:"CSS"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L DisplayMD"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lDisplayMD.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lDisplayMD.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lDisplayMD.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lDisplayMD.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lDisplayMD.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-display-md-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-display-md-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-display-md-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-display-md-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-display-md-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L HeadingLG"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lHeadingLG.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingLG.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingLG.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingLG.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingLG.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-heading-lg-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-lg-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-lg-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-lg-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-lg-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L HeadingMD"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lHeadingMD.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingMD.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingMD.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingMD.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingMD.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-heading-md-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-md-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-md-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-md-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-md-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L HeadingSM"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lHeadingSM.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingSM.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingSM.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingSM.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingSM.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-heading-sm-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-sm-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-sm-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-sm-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-sm-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsxs(t.td,{children:[e.jsx(t.strong,{children:"L HeadingSM Regular"})," (DEPRECATED)"]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lHeadingSMRegular.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingSMRegular.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingSMRegular.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingSMRegular.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lHeadingSMRegular.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-heading-sm-regular-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-sm-regular-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-sm-regular-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-sm-regular-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-heading-sm-regular-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodyLGMedium"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodyLGMedium.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyLGMedium.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyLGMedium.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyLGMedium.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyLGMedium.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-large-medium-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-large-medium-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-large-medium-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-large-medium-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-large-medium-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodyMD Bold"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodyMDBold.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMDBold.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMDBold.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMDBold.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMDBold.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-md-bold-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-bold-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-bold-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-bold-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-bold-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodyMD Medium"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodyMDMedium.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMDMedium.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMDMedium.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMDMedium.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMDMedium.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-md-bold-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-bold-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-bold-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-bold-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-bold-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodyMD"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodyMD.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMD.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMD.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMD.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyMD.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-md-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-md-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodySM Bold"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodySMBold.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySMBold.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySMBold.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySMBold.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySMBold.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodySM Medium"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodySMMedium.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySMMedium.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySMMedium.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySMMedium.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySMMedium.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-bold-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodySM"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodySM.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySM.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySM.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySM.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodySM.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-sm-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-sm-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodyXS Medium"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodyXSMedium.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyXSMedium.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyXSMedium.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyXSMedium.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyXSMedium.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-xs-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-xs-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-xs-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-xs-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-xs-letter-spacing)"})]})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"L BodyXS"})}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"typography.lBodyXS.fontFamily"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyXS.fontWeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyXS.fontSize"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyXS.lineHeight"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"typography.lBodyXS.letterSpacing"})]}),e.jsxs(t.td,{children:[e.jsx(t.code,{children:"var(--typography-l-body-xs-font-family)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-xs-font-weight)"}),e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-xs-font-size)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-xs-line-height)"})," ",e.jsx("br",{})," ",e.jsx(t.code,{children:"var(--typography-l-body-xs-letter-spacing)"})]})]})]})]}),` +`,e.jsx(t.p,{children:e.jsxs(t.strong,{children:["NOTE: The JS token format was initially intended for React Native. Therefore, ",e.jsx(t.code,{children:"fontSize"})," and ",e.jsx(t.code,{children:"lineHeight"})," use integers not REMS or unitless values. Some conversion will need to happen at app level if the JS token format is used for web applications."]})}),` +`,e.jsx("br",{}),` +`,e.jsx(t.h2,{id:"font-weight",children:"Font Weight"}),` +`,e.jsxs(t.p,{children:["There are three available font weights: regular",e.jsx(t.code,{children:"400"}),", medium",e.jsx(t.code,{children:"700"})," and bold",e.jsx(t.code,{children:"900"})]}),` +`,e.jsx(x,{of:g}),` +`,e.jsxs(t.table,{children:[e.jsx(t.thead,{children:e.jsxs(t.tr,{children:[e.jsx(t.th,{children:"Font Weight"}),e.jsx(t.th,{children:"JS"}),e.jsx(t.th,{children:"CSS"})]})}),e.jsxs(t.tbody,{children:[e.jsxs(t.tr,{children:[e.jsx(t.td,{children:"Regular"}),e.jsx(t.td,{children:e.jsx(t.code,{children:"Token not exported"})}),e.jsx(t.td,{children:e.jsx(t.code,{children:"var(--font-weight-regular)"})})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx("span",{style:{fontWeight:500},children:"Medium"})}),e.jsx(t.td,{children:e.jsx(t.code,{children:"Token not exported"})}),e.jsx(t.td,{children:e.jsx(t.code,{children:"var(--font-weight-medium)"})})]}),e.jsxs(t.tr,{children:[e.jsx(t.td,{children:e.jsx(t.strong,{children:"Bold"})}),e.jsx(t.td,{children:e.jsx(t.code,{children:"Token not exported"})}),e.jsx(t.td,{children:e.jsx(t.code,{children:"var(--font-weight-bold)"})})]})]})]}),` +`,e.jsx("br",{}),` +`,e.jsx(t.h2,{id:"references",children:"References"}),` +`,e.jsxs(t.ul,{children:[` +`,e.jsxs(t.li,{children:[e.jsx(t.a,{href:"https://www.figma.com/file/likmuA72JatXDKDChibHBG/%5BTypo%5D-Large-screen?node-id=2%3A134",rel:"nofollow",children:"Figma Typography (Large screen)"}),"(internal use only)"]}),` +`,e.jsxs(t.li,{children:[e.jsx(t.a,{href:"https://www.figma.com/file/Na8UKll7g12UywIPGEVLvX/%5BTypo%5D-Small-screen?node-id=2%3A134",rel:"nofollow",children:"Figma Typography (Small screen)"}),"(internal use only)"]}),` +`]})]})}function J(o={}){const{wrapper:t}={...k(),...o.components};return t?e.jsx(t,{...o,children:e.jsx(u,{...o})}):u(o)}const K={title:"Typography/Typography",parameters:{docs:{page:J}}},s=(...o)=>{const t={displayMD:{fontFamily:b.euclidCircularB,fontSize:S.fontSize7,lineHeight:`${M.lineHeight6}px`,fontWeight:j.regular,letterSpacing:A.letterSpacing1}};return e.jsx(e.Fragment,{children:e.jsx(d,{as:"h1",style:t.displayMD,...o,children:"Euclid Circular B"})})},a=(...o)=>{const i={displayMD:{fontFamily:n.sDisplayMD.fontFamily,fontSize:n.sDisplayMD.fontSize,lineHeight:`${n.sDisplayMD.lineHeight}px`,fontWeight:n.sDisplayMD.fontWeight},headingLG:{fontFamily:n.sHeadingLG.fontFamily,fontSize:n.sHeadingLG.fontSize,lineHeight:`${n.sHeadingLG.lineHeight}px`,fontWeight:n.sHeadingLG.fontWeight},headingMD:{fontFamily:n.sHeadingMD.fontFamily,fontSize:n.sHeadingMD.fontSize,lineHeight:`${n.sHeadingMD.lineHeight}px`,fontWeight:n.sHeadingMD.fontWeight},headingSM:{fontFamily:n.sHeadingSM.fontFamily,fontSize:n.sHeadingSM.fontSize,lineHeight:`${n.sHeadingSM.lineHeight}px`,fontWeight:n.sHeadingSM.fontWeight},headingSMRegular:{fontFamily:n.sHeadingSMRegular.fontFamily,fontSize:n.sHeadingSMRegular.fontSize,lineHeight:`${n.sHeadingSMRegular.lineHeight}px`,fontWeight:n.sHeadingSMRegular.fontWeight},bodyLGMedium:{fontFamily:n.sBodyLGMedium.fontFamily,fontSize:n.sBodyLGMedium.fontSize,lineHeight:`${n.sBodyLGMedium.lineHeight}px`,fontWeight:n.sBodyLGMedium.fontWeight},bodyMD:{fontFamily:n.sBodyMD.fontFamily,fontSize:n.sBodyMD.fontSize,lineHeight:`${n.sBodyMD.lineHeight}px`,fontWeight:n.sBodyMD.fontWeight},bodyMDMedium:{fontFamily:n.sBodyMDMedium.fontFamily,fontSize:n.sBodyMDMedium.fontSize,lineHeight:`${n.sBodyMDMedium.lineHeight}px`,fontWeight:n.sBodyMDMedium.fontWeight},bodyMDBold:{fontFamily:n.sBodyMDBold.fontFamily,fontSize:n.sBodyMDBold.fontSize,lineHeight:`${n.sBodyMDBold.lineHeight}px`,fontWeight:n.sBodyMDBold.fontWeight},bodySM:{fontFamily:n.sBodySM.fontFamily,fontSize:n.sBodySM.fontSize,lineHeight:`${n.sBodySM.lineHeight}px`,fontWeight:n.sBodySM.fontWeight},bodySMMedium:{fontFamily:n.sBodySMMedium.fontFamily,fontSize:n.sBodySMMedium.fontSize,lineHeight:`${n.sBodySMMedium.lineHeight}px`,fontWeight:n.sBodySMMedium.fontWeight},bodySMBold:{fontFamily:n.sBodySMBold.fontFamily,fontSize:n.sBodySMBold.fontSize,lineHeight:`${n.sBodySMBold.lineHeight}px`,fontWeight:n.sBodySMBold.fontWeight},bodyXS:{fontFamily:n.sBodyXS.fontFamily,fontSize:n.sBodyXS.fontSize,lineHeight:`${n.sBodyXS.lineHeight}px`,fontWeight:n.sBodyXS.fontWeight,letterSpacing:n.sBodyXS.letterSpacing},bodyXSMedium:{fontFamily:n.sBodyXSMedium.fontFamily,fontSize:n.sBodyXSMedium.fontSize,lineHeight:`${n.sBodyXSMedium.lineHeight}px`,fontWeight:n.sBodyXSMedium.fontWeight,letterSpacing:n.sBodyXSMedium.letterSpacing}};return e.jsxs(e.Fragment,{children:[e.jsx(d,{as:"h1",style:i.displayMD,...o,children:`S DisplayMD ${i.displayMD.fontSize}px/${i.displayMD.lineHeight} ${i.displayMD.fontSize/16}rem`}),e.jsx(d,{as:"h2",style:i.headingLG,...o,children:`S HeadingLG ${i.headingLG.fontSize}px/${i.headingLG.lineHeight} ${i.headingLG.fontSize/16}rem`}),e.jsx(d,{as:"h3",style:i.headingMD,...o,children:`S HeadingMD ${i.headingMD.fontSize}px/${i.headingMD.lineHeight} ${i.headingMD.fontSize/16}rem`}),e.jsx(d,{as:"h4",style:i.headingSM,...o,children:`S HeadingSM ${i.headingSM.fontSize}px/${i.headingSM.lineHeight} ${i.headingSM.fontSize/16}rem`}),e.jsxs(d,{as:"h4",style:i.headingSMRegular,...o,children:[`S HeadingSM Regular ${i.headingSMRegular.fontSize}px/${i.headingSMRegular.lineHeight} ${i.headingSMRegular.fontSize/16}rem`," ",e.jsx("span",{style:{color:"var(--color-error-default)"},children:"DEPRECATED"})]}),e.jsx(d,{as:"h4",style:i.bodyLGMedium,...o,children:`S BodyLG Medium ${i.bodyLGMedium.fontSize}px/${i.bodyLGMedium.lineHeight} ${i.bodyLGMedium.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyMDBold,...o,children:`S BodyMD Bold ${i.bodyMDBold.fontSize}px/${i.bodyMDBold.lineHeight} ${i.bodyMDBold.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyMDMedium,...o,children:`S BodyMD Medium ${i.bodyMDMedium.fontSize}px/${i.bodyMDMedium.lineHeight} ${i.bodyMDMedium.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyMD,...o,children:`S BodyMD ${i.bodyMD.fontSize}px/${i.bodyMD.lineHeight} ${i.bodyMD.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodySMBold,...o,children:`S BodySM Bold ${i.bodySMBold.fontSize}px/${i.bodySMBold.lineHeight} ${i.bodySMBold.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodySMMedium,...o,children:`S BodySM Medium ${i.bodySMMedium.fontSize}px/${i.bodySMMedium.lineHeight} ${i.bodySMMedium.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodySM,...o,children:`S BodySM ${i.bodySM.fontSize}px/${i.bodySM.lineHeight} ${i.bodySM.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyXSMedium,...o,children:`S BodyXS Medium ${i.bodyXSMedium.fontSize}px/${i.bodyXSMedium.lineHeight} ${i.bodyXSMedium.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyXS,...o,children:`S BodyXS ${i.bodyXS.fontSize}px/${i.bodyXS.lineHeight} ${i.bodyXS.fontSize/16}rem`})]})},h=(...o)=>{const i={displayMD:{fontFamily:n.lDisplayMD.fontFamily,fontSize:n.lDisplayMD.fontSize,lineHeight:`${n.lDisplayMD.lineHeight}px`,fontWeight:n.lDisplayMD.fontWeight},headingLG:{fontFamily:n.lHeadingLG.fontFamily,fontSize:n.lHeadingLG.fontSize,lineHeight:`${n.lHeadingLG.lineHeight}px`,fontWeight:n.lHeadingLG.fontWeight},headingMD:{fontFamily:n.lHeadingMD.fontFamily,fontSize:n.lHeadingMD.fontSize,lineHeight:`${n.lHeadingMD.lineHeight}px`,fontWeight:n.lHeadingMD.fontWeight},headingSM:{fontFamily:n.lHeadingSM.fontFamily,fontSize:n.lHeadingSM.fontSize,lineHeight:`${n.lHeadingSM.lineHeight}px`,fontWeight:n.lHeadingSM.fontWeight},headingSMRegular:{fontFamily:n.lHeadingSMRegular.fontFamily,fontSize:n.lHeadingSMRegular.fontSize,lineHeight:`${n.lHeadingSMRegular.lineHeight}px`,fontWeight:n.lHeadingSMRegular.fontWeight},bodyLGMedium:{fontFamily:n.lBodyLGMedium.fontFamily,fontSize:n.lBodyLGMedium.fontSize,lineHeight:`${n.lBodyLGMedium.lineHeight}px`,fontWeight:n.lBodyLGMedium.fontWeight},bodyMDBold:{fontFamily:n.lBodyMDBold.fontFamily,fontSize:n.lBodyMDBold.fontSize,lineHeight:`${n.lBodyMDBold.lineHeight}px`,fontWeight:n.lBodyMDBold.fontWeight},bodyMDMedium:{fontFamily:n.lBodyMDMedium.fontFamily,fontSize:n.lBodyMDMedium.fontSize,lineHeight:`${n.lBodyMDMedium.lineHeight}px`,fontWeight:n.lBodyMDMedium.fontWeight},bodyMD:{fontFamily:n.lBodyMD.fontFamily,fontSize:n.lBodyMD.fontSize,lineHeight:`${n.lBodyMD.lineHeight}px`,fontWeight:n.lBodyMD.fontWeight},bodySMBold:{fontFamily:n.lBodySMBold.fontFamily,fontSize:n.lBodySMBold.fontSize,lineHeight:`${n.lBodySMBold.lineHeight}px`,fontWeight:n.lBodySMBold.fontWeight},bodySMMedium:{fontFamily:n.lBodySMMedium.fontFamily,fontSize:n.lBodySMMedium.fontSize,lineHeight:`${n.lBodySMMedium.lineHeight}px`,fontWeight:n.lBodySMMedium.fontWeight},bodySM:{fontFamily:n.lBodySM.fontFamily,fontSize:n.lBodySM.fontSize,lineHeight:`${n.lBodySM.lineHeight}px`,fontWeight:n.lBodySM.fontWeight},bodyXSMedium:{fontFamily:n.lBodyXSMedium.fontFamily,fontSize:n.lBodyXSMedium.fontSize,lineHeight:`${n.lBodyXSMedium.lineHeight}px`,fontWeight:n.lBodyXSMedium.fontWeight,letterSpacing:n.lBodyXSMedium.letterSpacing},bodyXS:{fontFamily:n.lBodyXS.fontFamily,fontSize:n.lBodyXS.fontSize,lineHeight:`${n.lBodyXS.lineHeight}px`,fontWeight:n.lBodyXS.fontWeight,letterSpacing:n.lBodyXS.letterSpacing}};return e.jsxs(e.Fragment,{children:[e.jsx(d,{as:"h1",style:i.displayMD,...o,children:`L DisplayMD ${i.displayMD.fontSize}px/${i.displayMD.lineHeight} ${i.displayMD.fontSize/16}rem`}),e.jsx(d,{as:"h2",style:i.headingLG,...o,children:`L HeadingLG ${i.headingLG.fontSize}px/${i.headingLG.lineHeight} ${i.headingLG.fontSize/16}rem`}),e.jsx(d,{as:"h3",style:i.headingMD,...o,children:`L HeadingMD ${i.headingMD.fontSize}px/${i.headingMD.lineHeight} ${i.headingMD.fontSize/16}rem`}),e.jsx(d,{as:"h4",style:i.headingSM,...o,children:`L HeadingSM ${i.headingSM.fontSize}px/${i.headingSM.lineHeight} ${i.headingSM.fontSize/16}rem`}),e.jsxs(d,{as:"h4",style:i.headingSMRegular,...o,children:[`L HeadingSM Regular ${i.headingSMRegular.fontSize}px/${i.headingSMRegular.lineHeight} ${i.headingSMRegular.fontSize/16}rem`," ",e.jsx("span",{style:{color:"var(--color-error-default)"},children:"DEPRECATED"})]}),e.jsx(d,{as:"h4",style:i.bodyLGMedium,...o,children:`L BodyLG Medium ${i.bodyLGMedium.fontSize}px/${i.bodyLGMedium.lineHeight} ${i.bodyLGMedium.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyMDBold,...o,children:`L BodyMD Bold ${i.bodyMDBold.fontSize}px/${i.bodyMDBold.lineHeight} ${i.bodyMDBold.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyMDMedium,...o,children:`L BodyMD Medium ${i.bodyMDMedium.fontSize}px/${i.bodyMDMedium.lineHeight} ${i.bodyMDMedium.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyMD,...o,children:`L BodyMD ${i.bodyMD.fontSize}px/${i.bodyMD.lineHeight} ${i.bodyMD.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodySMBold,...o,children:`L BodySM Bold ${i.bodySMBold.fontSize}px/${i.bodySMBold.lineHeight} ${i.bodySMBold.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodySMMedium,...o,children:`L BodySM Medium ${i.bodySMMedium.fontSize}px/${i.bodySMMedium.lineHeight} ${i.bodySMMedium.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodySM,...o,children:`L BodySM ${i.bodySM.fontSize}px/${i.bodySM.lineHeight} ${i.bodySM.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyXSMedium,...o,children:`L BodyXS Medium ${i.bodyXSMedium.fontSize}px/${i.bodyXSMedium.lineHeight} ${i.bodyXSMedium.fontSize/16}rem`}),e.jsx(d,{as:"p",style:i.bodyXS,...o,children:`L BodyXS ${i.bodyXS.fontSize}px/${i.bodyXS.lineHeight} ${i.bodyXS.fontSize/16}rem`})]})},g=(...o)=>{const t={regular:{fontFamily:b.euclidCircularB,fontSize:S.fontSize4,lineHeight:`${M.lineHeight5}px`,fontWeight:j.regular},medium:{fontFamily:b.euclidCircularB,fontSize:S.fontSize4,lineHeight:`${M.lineHeight5}px`,fontWeight:j.medium},bold:{fontFamily:b.euclidCircularB,fontSize:S.fontSize4,lineHeight:`${M.lineHeight5}px`,fontWeight:j.bold}};return e.jsxs(e.Fragment,{children:[e.jsx(d,{as:"h3",style:t.regular,...o,children:"Regular 400"}),e.jsx(d,{as:"h3",style:t.medium,...o,children:"Medium 500"}),e.jsx(d,{as:"h3",style:t.bold,...o,children:"Bold 700"})]})},f=(...o)=>{const i={DisplayMD:{fontFamily:"var(--typography-s-display-md-font-family)",fontSize:"var(--typography-s-display-md-font-size)",lineHeight:"var(--typography-s-display-md-line-height)",fontWeight:"var(--typography-s-display-md-font-weight)"},HeadingLG:{fontFamily:"var(--typography-s-heading-lg-font-family)",fontSize:"var(--typography-s-heading-lg-font-size)",lineHeight:"var(--typography-s-heading-lg-line-height)",fontWeight:"var(--typography-s-heading-lg-font-weight)"},HeadingMD:{fontFamily:"var(--typography-s-heading-md-font-family)",fontSize:"var(--typography-s-heading-md-font-size)",lineHeight:"var(--typography-s-heading-md-line-height)",fontWeight:"var(--typography-s-heading-md-font-weight)"},HeadingSM:{fontFamily:"var(--typography-s-heading-sm-font-family)",fontSize:"var(--typography-s-heading-sm-font-size)",lineHeight:"var(--typography-s-heading-sm-line-height)",fontWeight:"var(--typography-s-heading-sm-font-weight)"},"HeadingSM Regular":{fontFamily:"var(--typography-s-heading-sm-regular-font-family)",fontSize:"var(--typography-s-heading-sm-regular-font-size)",lineHeight:"var(--typography-s-heading-sm-regular-line-height)",fontWeight:"var(--typography-s-heading-sm-regular-font-weight)"},"BodyLG Medium":{fontFamily:"var(--typography-s-body-lg-medium-font-family)",fontSize:"var(--typography-s-body-lg-medium-font-size)",lineHeight:"var(--typography-s-body-lg-medium-line-height)",fontWeight:"var(--typography-s-body-lg-medium-font-weight)"},BodyMD:{fontFamily:"var(--typography-s-body-md-font-family)",fontSize:"var(--typography-s-body-md-font-size)",lineHeight:"var(--typography-s-body-md-line-height)",fontWeight:"var(--typography-s-body-md-font-weight)"},"BodyMD Medium":{fontFamily:"var(--typography-s-body-md-medium-font-family)",fontSize:"var(--typography-s-body-md-medium-font-size)",lineHeight:"var(--typography-s-body-md-medium-line-height)",fontWeight:"var(--typography-s-body-md-medium-font-weight)"},"BodyMD Bold":{fontFamily:"var(--typography-s-body-md-bold-font-family)",fontSize:"var(--typography-s-body-md-bold-font-size)",lineHeight:"var(--typography-s-body-md-bold-line-height)",fontWeight:"var(--typography-s-body-md-bold-font-weight)"},BodySM:{fontFamily:"var(--typography-s-body-sm-font-family)",fontSize:"var(--typography-s-body-sm-font-size)",lineHeight:"var(--typography-s-body-sm-line-height)",fontWeight:"var(--typography-s-body-sm-font-weight)"},"BodySM Medium":{fontFamily:"var(--typography-s-body-sm-medium-font-family)",fontSize:"var(--typography-s-body-sm-medium-font-size)",lineHeight:"var(--typography-s-body-sm-medium-line-height)",fontWeight:"var(--typography-s-body-sm-medium-font-weight)"},"BodySM Bold":{fontFamily:"var(--typography-s-body-sm-bold-font-family)",fontSize:"var(--typography-s-body-sm-bold-font-size)",lineHeight:"var(--typography-s-body-sm-bold-line-height)",fontWeight:"var(--typography-s-body-sm-bold-font-weight)"},BodyXS:{fontFamily:"var(--typography-s-body-xs-font-family)",fontSize:"var(--typography-s-body-xs-font-size)",lineHeight:"var(--typography-s-body-xs-line-height)",fontWeight:"var(--typography-s-body-xs-font-weight)",letterSpacing:"var(--typography-s-body-xs-letter-spacing)"},"BodyXS Medium":{fontFamily:"var(--typography-s-body-xs-medium-font-family)",fontSize:"var(--typography-s-body-xs-medium-font-size)",lineHeight:"var(--typography-s-body-xs-medium-line-height)",fontWeight:"var(--typography-s-body-xs-medium-font-weight)",letterSpacing:"var(--typography-s-body-xs-medium-letter-spacing)"}},l=r=>{const y=r.slice(4,-1);return getComputedStyle(document.documentElement).getPropertyValue(y).slice(0,-3)};return e.jsx(e.Fragment,{children:Object.values(i).map((r,y)=>{const p=Object.getOwnPropertyNames(i)[y];let c="p";return y<=4&&(c=`h${y+1}`),O.createElement(d,{as:c,style:r,...o,key:y},`S ${p} ${l(r.fontSize)*16}px/${l(r.lineHeight)*16}px ${l(r.fontSize)}rem/${l(r.lineHeight)}rem `,p==="HeadingSM Regular"&&e.jsx("span",{style:{color:"var(--color-error-default)"},children:"DEPRECATED"}))})})},m=(...o)=>{const i={DisplayMD:{fontFamily:"var(--typography-l-display-md-font-family)",fontSize:"var(--typography-l-display-md-font-size)",lineHeight:"var(--typography-l-display-md-line-height)",fontWeight:"var(--typography-l-display-md-font-weight)"},HeadingLG:{fontFamily:"var(--typography-l-heading-lg-font-family)",fontSize:"var(--typography-l-heading-lg-font-size)",lineHeight:"var(--typography-l-heading-lg-line-height)",fontWeight:"var(--typography-l-heading-lg-font-weight)"},HeadingMD:{fontFamily:"var(--typography-l-heading-md-font-family)",fontSize:"var(--typography-l-heading-md-font-size)",lineHeight:"var(--typography-l-heading-md-line-height)",fontWeight:"var(--typography-l-heading-md-font-weight)"},HeadingSM:{fontFamily:"var(--typography-l-heading-sm-font-family)",fontSize:"var(--typography-l-heading-sm-font-size)",lineHeight:"var(--typography-l-heading-sm-line-height)",fontWeight:"var(--typography-l-heading-sm-font-weight)"},"HeadingSM Regular":{fontFamily:"var(--typography-l-heading-sm-regular-font-family)",fontSize:"var(--typography-l-heading-sm-regular-font-size)",lineHeight:"var(--typography-l-heading-sm-regular-line-height)",fontWeight:"var(--typography-l-heading-sm-regular-font-weight)"},"BodyLG Medium":{fontFamily:"var(--typography-l-body-lg-medium-font-family)",fontSize:"var(--typography-l-body-lg-medium-font-size)",lineHeight:"var(--typography-l-body-lg-medium-line-height)",fontWeight:"var(--typography-l-body-lg-medium-font-weight)"},BodyMD:{fontFamily:"var(--typography-l-body-md-font-family)",fontSize:"var(--typography-l-body-md-font-size)",lineHeight:"var(--typography-l-body-md-line-height)",fontWeight:"var(--typography-l-body-md-font-weight)"},"BodyMD Medium":{fontFamily:"var(--typography-l-body-md-medium-font-family)",fontSize:"var(--typography-l-body-md-medium-font-size)",lineHeight:"var(--typography-l-body-md-medium-line-height)",fontWeight:"var(--typography-l-body-md-medium-font-weight)"},"BodyMD Bold":{fontFamily:"var(--typography-l-body-md-bold-font-family)",fontSize:"var(--typography-l-body-md-bold-font-size)",lineHeight:"var(--typography-l-body-md-bold-line-height)",fontWeight:"var(--typography-l-body-md-bold-font-weight)"},BodySM:{fontFamily:"var(--typography-l-body-sm-font-family)",fontSize:"var(--typography-l-body-sm-font-size)",lineHeight:"var(--typography-l-body-sm-line-height)",fontWeight:"var(--typography-l-body-sm-font-weight)"},"BodySM Medium":{fontFamily:"var(--typography-l-body-sm-medium-font-family)",fontSize:"var(--typography-l-body-sm-medium-font-size)",lineHeight:"var(--typography-l-body-sm-medium-line-height)",fontWeight:"var(--typography-l-body-sm-medium-font-weight)"},"BodySM Bold":{fontFamily:"var(--typography-l-body-sm-bold-font-family)",fontSize:"var(--typography-l-body-sm-bold-font-size)",lineHeight:"var(--typography-l-body-sm-bold-line-height)",fontWeight:"var(--typography-l-body-sm-bold-font-weight)"},BodyXS:{fontFamily:"var(--typography-l-body-xs-font-family)",fontSize:"var(--typography-l-body-xs-font-size)",lineHeight:"var(--typography-l-body-xs-line-height)",fontWeight:"var(--typography-l-body-xs-font-weight)",letterSpacing:"var(--typography-l-body-xs-letter-spacing)"},"BodyXS Medium":{fontFamily:"var(--typography-l-body-xs-medium-font-family)",fontSize:"var(--typography-l-body-xs-medium-font-size)",lineHeight:"var(--typography-l-body-xs-medium-line-height)",fontWeight:"var(--typography-l-body-xs-medium-font-weight)",letterSpacing:"var(--typography-l-body-xs-medium-letter-spacing)"}},l=r=>{const y=r.slice(4,-1);return getComputedStyle(document.documentElement).getPropertyValue(y).slice(0,-3).trim()};return e.jsx(e.Fragment,{children:Object.values(i).map((r,y)=>{const p=Object.getOwnPropertyNames(i)[y];let c="p";return y<=4&&(c=`h${y+1}`),O.createElement(d,{as:c,style:r,...o,key:y},`L ${p} ${l(r.fontSize)*16}px/${l(r.lineHeight)*16}px + + ${l(r.fontSize)}rem/${l(r.lineHeight)}rem `,p==="HeadingSM Regular"&&e.jsx("span",{style:{color:"var(--color-error-default)"},children:"DEPRECATED"}))})})};var B,z,H;s.parameters={...s.parameters,docs:{...(B=s.parameters)==null?void 0:B.docs,source:{originalSource:`(...args) => { + const styles = { + displayMD: { + fontFamily: fontFamilies.euclidCircularB, + fontSize: fontSizes.fontSize7, + lineHeight: \`\${lineHeights.lineHeight6}px\`, + fontWeight: fontWeights.regular, + letterSpacing: letterSpacing.letterSpacing1 + } + }; + return <> + + Euclid Circular B + + ; +}`,...(H=(z=s.parameters)==null?void 0:z.docs)==null?void 0:H.source}}};var v,D,F;a.parameters={...a.parameters,docs:{...(v=a.parameters)==null?void 0:v.docs,source:{originalSource:`(...args) => { + const smallScreenFontSizeBase = 16; + const styles = { + displayMD: { + fontFamily: typography.sDisplayMD.fontFamily, + fontSize: typography.sDisplayMD.fontSize, + lineHeight: \`\${typography.sDisplayMD.lineHeight}px\`, + fontWeight: typography.sDisplayMD.fontWeight + }, + headingLG: { + fontFamily: typography.sHeadingLG.fontFamily, + fontSize: typography.sHeadingLG.fontSize, + lineHeight: \`\${typography.sHeadingLG.lineHeight}px\`, + fontWeight: typography.sHeadingLG.fontWeight + }, + headingMD: { + fontFamily: typography.sHeadingMD.fontFamily, + fontSize: typography.sHeadingMD.fontSize, + lineHeight: \`\${typography.sHeadingMD.lineHeight}px\`, + fontWeight: typography.sHeadingMD.fontWeight + }, + headingSM: { + fontFamily: typography.sHeadingSM.fontFamily, + fontSize: typography.sHeadingSM.fontSize, + lineHeight: \`\${typography.sHeadingSM.lineHeight}px\`, + fontWeight: typography.sHeadingSM.fontWeight + }, + headingSMRegular: { + fontFamily: typography.sHeadingSMRegular.fontFamily, + fontSize: typography.sHeadingSMRegular.fontSize, + lineHeight: \`\${typography.sHeadingSMRegular.lineHeight}px\`, + fontWeight: typography.sHeadingSMRegular.fontWeight + }, + bodyLGMedium: { + fontFamily: typography.sBodyLGMedium.fontFamily, + fontSize: typography.sBodyLGMedium.fontSize, + lineHeight: \`\${typography.sBodyLGMedium.lineHeight}px\`, + fontWeight: typography.sBodyLGMedium.fontWeight + }, + bodyMD: { + fontFamily: typography.sBodyMD.fontFamily, + fontSize: typography.sBodyMD.fontSize, + lineHeight: \`\${typography.sBodyMD.lineHeight}px\`, + fontWeight: typography.sBodyMD.fontWeight + }, + bodyMDMedium: { + fontFamily: typography.sBodyMDMedium.fontFamily, + fontSize: typography.sBodyMDMedium.fontSize, + lineHeight: \`\${typography.sBodyMDMedium.lineHeight}px\`, + fontWeight: typography.sBodyMDMedium.fontWeight + }, + bodyMDBold: { + fontFamily: typography.sBodyMDBold.fontFamily, + fontSize: typography.sBodyMDBold.fontSize, + lineHeight: \`\${typography.sBodyMDBold.lineHeight}px\`, + fontWeight: typography.sBodyMDBold.fontWeight + }, + bodySM: { + fontFamily: typography.sBodySM.fontFamily, + fontSize: typography.sBodySM.fontSize, + lineHeight: \`\${typography.sBodySM.lineHeight}px\`, + fontWeight: typography.sBodySM.fontWeight + }, + bodySMMedium: { + fontFamily: typography.sBodySMMedium.fontFamily, + fontSize: typography.sBodySMMedium.fontSize, + lineHeight: \`\${typography.sBodySMMedium.lineHeight}px\`, + fontWeight: typography.sBodySMMedium.fontWeight + }, + bodySMBold: { + fontFamily: typography.sBodySMBold.fontFamily, + fontSize: typography.sBodySMBold.fontSize, + lineHeight: \`\${typography.sBodySMBold.lineHeight}px\`, + fontWeight: typography.sBodySMBold.fontWeight + }, + bodyXS: { + fontFamily: typography.sBodyXS.fontFamily, + fontSize: typography.sBodyXS.fontSize, + lineHeight: \`\${typography.sBodyXS.lineHeight}px\`, + fontWeight: typography.sBodyXS.fontWeight, + letterSpacing: typography.sBodyXS.letterSpacing + }, + bodyXSMedium: { + fontFamily: typography.sBodyXSMedium.fontFamily, + fontSize: typography.sBodyXSMedium.fontSize, + lineHeight: \`\${typography.sBodyXSMedium.lineHeight}px\`, + fontWeight: typography.sBodyXSMedium.fontWeight, + letterSpacing: typography.sBodyXSMedium.letterSpacing + } + }; + return <> + + {\`S DisplayMD \${styles.displayMD.fontSize}px/\${styles.displayMD.lineHeight} \${styles.displayMD.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S HeadingLG \${styles.headingLG.fontSize}px/\${styles.headingLG.lineHeight} \${styles.headingLG.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S HeadingMD \${styles.headingMD.fontSize}px/\${styles.headingMD.lineHeight} \${styles.headingMD.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S HeadingSM \${styles.headingSM.fontSize}px/\${styles.headingSM.lineHeight} \${styles.headingSM.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S HeadingSM Regular \${styles.headingSMRegular.fontSize}px/\${styles.headingSMRegular.lineHeight} \${styles.headingSMRegular.fontSize / smallScreenFontSizeBase}rem\`}{' '} + DEPRECATED + + + {\`S BodyLG Medium \${styles.bodyLGMedium.fontSize}px/\${styles.bodyLGMedium.lineHeight} \${styles.bodyLGMedium.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S BodyMD Bold \${styles.bodyMDBold.fontSize}px/\${styles.bodyMDBold.lineHeight} \${styles.bodyMDBold.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S BodyMD Medium \${styles.bodyMDMedium.fontSize}px/\${styles.bodyMDMedium.lineHeight} \${styles.bodyMDMedium.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S BodyMD \${styles.bodyMD.fontSize}px/\${styles.bodyMD.lineHeight} \${styles.bodyMD.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S BodySM Bold \${styles.bodySMBold.fontSize}px/\${styles.bodySMBold.lineHeight} \${styles.bodySMBold.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S BodySM Medium \${styles.bodySMMedium.fontSize}px/\${styles.bodySMMedium.lineHeight} \${styles.bodySMMedium.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S BodySM \${styles.bodySM.fontSize}px/\${styles.bodySM.lineHeight} \${styles.bodySM.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S BodyXS Medium \${styles.bodyXSMedium.fontSize}px/\${styles.bodyXSMedium.lineHeight} \${styles.bodyXSMedium.fontSize / smallScreenFontSizeBase}rem\`} + + + {\`S BodyXS \${styles.bodyXS.fontSize}px/\${styles.bodyXS.lineHeight} \${styles.bodyXS.fontSize / smallScreenFontSizeBase}rem\`} + + ; +}`,...(F=(D=a.parameters)==null?void 0:D.docs)==null?void 0:F.source}}};var $,W,L;h.parameters={...h.parameters,docs:{...($=h.parameters)==null?void 0:$.docs,source:{originalSource:`(...args) => { + const largeScreenFontSizeBase = 16; + const styles = { + displayMD: { + fontFamily: typography.lDisplayMD.fontFamily, + fontSize: typography.lDisplayMD.fontSize, + lineHeight: \`\${typography.lDisplayMD.lineHeight}px\`, + fontWeight: typography.lDisplayMD.fontWeight + }, + headingLG: { + fontFamily: typography.lHeadingLG.fontFamily, + fontSize: typography.lHeadingLG.fontSize, + lineHeight: \`\${typography.lHeadingLG.lineHeight}px\`, + fontWeight: typography.lHeadingLG.fontWeight + }, + headingMD: { + fontFamily: typography.lHeadingMD.fontFamily, + fontSize: typography.lHeadingMD.fontSize, + lineHeight: \`\${typography.lHeadingMD.lineHeight}px\`, + fontWeight: typography.lHeadingMD.fontWeight + }, + headingSM: { + fontFamily: typography.lHeadingSM.fontFamily, + fontSize: typography.lHeadingSM.fontSize, + lineHeight: \`\${typography.lHeadingSM.lineHeight}px\`, + fontWeight: typography.lHeadingSM.fontWeight + }, + headingSMRegular: { + fontFamily: typography.lHeadingSMRegular.fontFamily, + fontSize: typography.lHeadingSMRegular.fontSize, + lineHeight: \`\${typography.lHeadingSMRegular.lineHeight}px\`, + fontWeight: typography.lHeadingSMRegular.fontWeight + }, + bodyLGMedium: { + fontFamily: typography.lBodyLGMedium.fontFamily, + fontSize: typography.lBodyLGMedium.fontSize, + lineHeight: \`\${typography.lBodyLGMedium.lineHeight}px\`, + fontWeight: typography.lBodyLGMedium.fontWeight + }, + bodyMDBold: { + fontFamily: typography.lBodyMDBold.fontFamily, + fontSize: typography.lBodyMDBold.fontSize, + lineHeight: \`\${typography.lBodyMDBold.lineHeight}px\`, + fontWeight: typography.lBodyMDBold.fontWeight + }, + bodyMDMedium: { + fontFamily: typography.lBodyMDMedium.fontFamily, + fontSize: typography.lBodyMDMedium.fontSize, + lineHeight: \`\${typography.lBodyMDMedium.lineHeight}px\`, + fontWeight: typography.lBodyMDMedium.fontWeight + }, + bodyMD: { + fontFamily: typography.lBodyMD.fontFamily, + fontSize: typography.lBodyMD.fontSize, + lineHeight: \`\${typography.lBodyMD.lineHeight}px\`, + fontWeight: typography.lBodyMD.fontWeight + }, + bodySMBold: { + fontFamily: typography.lBodySMBold.fontFamily, + fontSize: typography.lBodySMBold.fontSize, + lineHeight: \`\${typography.lBodySMBold.lineHeight}px\`, + fontWeight: typography.lBodySMBold.fontWeight + }, + bodySMMedium: { + fontFamily: typography.lBodySMMedium.fontFamily, + fontSize: typography.lBodySMMedium.fontSize, + lineHeight: \`\${typography.lBodySMMedium.lineHeight}px\`, + fontWeight: typography.lBodySMMedium.fontWeight + }, + bodySM: { + fontFamily: typography.lBodySM.fontFamily, + fontSize: typography.lBodySM.fontSize, + lineHeight: \`\${typography.lBodySM.lineHeight}px\`, + fontWeight: typography.lBodySM.fontWeight + }, + bodyXSMedium: { + fontFamily: typography.lBodyXSMedium.fontFamily, + fontSize: typography.lBodyXSMedium.fontSize, + lineHeight: \`\${typography.lBodyXSMedium.lineHeight}px\`, + fontWeight: typography.lBodyXSMedium.fontWeight, + letterSpacing: typography.lBodyXSMedium.letterSpacing + }, + bodyXS: { + fontFamily: typography.lBodyXS.fontFamily, + fontSize: typography.lBodyXS.fontSize, + lineHeight: \`\${typography.lBodyXS.lineHeight}px\`, + fontWeight: typography.lBodyXS.fontWeight, + letterSpacing: typography.lBodyXS.letterSpacing + } + }; + return <> + + {\`L DisplayMD \${styles.displayMD.fontSize}px/\${styles.displayMD.lineHeight} \${styles.displayMD.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L HeadingLG \${styles.headingLG.fontSize}px/\${styles.headingLG.lineHeight} \${styles.headingLG.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L HeadingMD \${styles.headingMD.fontSize}px/\${styles.headingMD.lineHeight} \${styles.headingMD.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L HeadingSM \${styles.headingSM.fontSize}px/\${styles.headingSM.lineHeight} \${styles.headingSM.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L HeadingSM Regular \${styles.headingSMRegular.fontSize}px/\${styles.headingSMRegular.lineHeight} \${styles.headingSMRegular.fontSize / largeScreenFontSizeBase}rem\`}{' '} + DEPRECATED + + + {\`L BodyLG Medium \${styles.bodyLGMedium.fontSize}px/\${styles.bodyLGMedium.lineHeight} \${styles.bodyLGMedium.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L BodyMD Bold \${styles.bodyMDBold.fontSize}px/\${styles.bodyMDBold.lineHeight} \${styles.bodyMDBold.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L BodyMD Medium \${styles.bodyMDMedium.fontSize}px/\${styles.bodyMDMedium.lineHeight} \${styles.bodyMDMedium.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L BodyMD \${styles.bodyMD.fontSize}px/\${styles.bodyMD.lineHeight} \${styles.bodyMD.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L BodySM Bold \${styles.bodySMBold.fontSize}px/\${styles.bodySMBold.lineHeight} \${styles.bodySMBold.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L BodySM Medium \${styles.bodySMMedium.fontSize}px/\${styles.bodySMMedium.lineHeight} \${styles.bodySMMedium.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L BodySM \${styles.bodySM.fontSize}px/\${styles.bodySM.lineHeight} \${styles.bodySM.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L BodyXS Medium \${styles.bodyXSMedium.fontSize}px/\${styles.bodyXSMedium.lineHeight} \${styles.bodyXSMedium.fontSize / largeScreenFontSizeBase}rem\`} + + + {\`L BodyXS \${styles.bodyXS.fontSize}px/\${styles.bodyXS.lineHeight} \${styles.bodyXS.fontSize / largeScreenFontSizeBase}rem\`} + + ; +}`,...(L=(W=h.parameters)==null?void 0:W.docs)==null?void 0:L.source}}};var X,G,w;g.parameters={...g.parameters,docs:{...(X=g.parameters)==null?void 0:X.docs,source:{originalSource:`(...args) => { + const styles = { + regular: { + fontFamily: fontFamilies.euclidCircularB, + fontSize: fontSizes.fontSize4, + lineHeight: \`\${lineHeights.lineHeight5}px\`, + fontWeight: fontWeights.regular + }, + medium: { + fontFamily: fontFamilies.euclidCircularB, + fontSize: fontSizes.fontSize4, + lineHeight: \`\${lineHeights.lineHeight5}px\`, + fontWeight: fontWeights.medium + }, + bold: { + fontFamily: fontFamilies.euclidCircularB, + fontSize: fontSizes.fontSize4, + lineHeight: \`\${lineHeights.lineHeight5}px\`, + fontWeight: fontWeights.bold + } + }; + return <> + + Regular 400 + + + Medium 500 + + + Bold 700 + + ; +}`,...(w=(G=g.parameters)==null?void 0:G.docs)==null?void 0:w.source}}};var T,R,C;f.parameters={...f.parameters,docs:{...(T=f.parameters)==null?void 0:T.docs,source:{originalSource:`(...args) => { + const fontBase = 16; + const styles = { + DisplayMD: { + fontFamily: 'var(--typography-s-display-md-font-family)', + fontSize: 'var(--typography-s-display-md-font-size)', + lineHeight: 'var(--typography-s-display-md-line-height)', + fontWeight: 'var(--typography-s-display-md-font-weight)' + }, + HeadingLG: { + fontFamily: 'var(--typography-s-heading-lg-font-family)', + fontSize: 'var(--typography-s-heading-lg-font-size)', + lineHeight: 'var(--typography-s-heading-lg-line-height)', + fontWeight: 'var(--typography-s-heading-lg-font-weight)' + }, + HeadingMD: { + fontFamily: 'var(--typography-s-heading-md-font-family)', + fontSize: 'var(--typography-s-heading-md-font-size)', + lineHeight: 'var(--typography-s-heading-md-line-height)', + fontWeight: 'var(--typography-s-heading-md-font-weight)' + }, + HeadingSM: { + fontFamily: 'var(--typography-s-heading-sm-font-family)', + fontSize: 'var(--typography-s-heading-sm-font-size)', + lineHeight: 'var(--typography-s-heading-sm-line-height)', + fontWeight: 'var(--typography-s-heading-sm-font-weight)' + }, + 'HeadingSM Regular': { + fontFamily: 'var(--typography-s-heading-sm-regular-font-family)', + fontSize: 'var(--typography-s-heading-sm-regular-font-size)', + lineHeight: 'var(--typography-s-heading-sm-regular-line-height)', + fontWeight: 'var(--typography-s-heading-sm-regular-font-weight)' + }, + 'BodyLG Medium': { + fontFamily: 'var(--typography-s-body-lg-medium-font-family)', + fontSize: 'var(--typography-s-body-lg-medium-font-size)', + lineHeight: 'var(--typography-s-body-lg-medium-line-height)', + fontWeight: 'var(--typography-s-body-lg-medium-font-weight)' + }, + BodyMD: { + fontFamily: 'var(--typography-s-body-md-font-family)', + fontSize: 'var(--typography-s-body-md-font-size)', + lineHeight: 'var(--typography-s-body-md-line-height)', + fontWeight: 'var(--typography-s-body-md-font-weight)' + }, + 'BodyMD Medium': { + fontFamily: 'var(--typography-s-body-md-medium-font-family)', + fontSize: 'var(--typography-s-body-md-medium-font-size)', + lineHeight: 'var(--typography-s-body-md-medium-line-height)', + fontWeight: 'var(--typography-s-body-md-medium-font-weight)' + }, + 'BodyMD Bold': { + fontFamily: 'var(--typography-s-body-md-bold-font-family)', + fontSize: 'var(--typography-s-body-md-bold-font-size)', + lineHeight: 'var(--typography-s-body-md-bold-line-height)', + fontWeight: 'var(--typography-s-body-md-bold-font-weight)' + }, + BodySM: { + fontFamily: 'var(--typography-s-body-sm-font-family)', + fontSize: 'var(--typography-s-body-sm-font-size)', + lineHeight: 'var(--typography-s-body-sm-line-height)', + fontWeight: 'var(--typography-s-body-sm-font-weight)' + }, + 'BodySM Medium': { + fontFamily: 'var(--typography-s-body-sm-medium-font-family)', + fontSize: 'var(--typography-s-body-sm-medium-font-size)', + lineHeight: 'var(--typography-s-body-sm-medium-line-height)', + fontWeight: 'var(--typography-s-body-sm-medium-font-weight)' + }, + 'BodySM Bold': { + fontFamily: 'var(--typography-s-body-sm-bold-font-family)', + fontSize: 'var(--typography-s-body-sm-bold-font-size)', + lineHeight: 'var(--typography-s-body-sm-bold-line-height)', + fontWeight: 'var(--typography-s-body-sm-bold-font-weight)' + }, + BodyXS: { + fontFamily: 'var(--typography-s-body-xs-font-family)', + fontSize: 'var(--typography-s-body-xs-font-size)', + lineHeight: 'var(--typography-s-body-xs-line-height)', + fontWeight: 'var(--typography-s-body-xs-font-weight)', + letterSpacing: 'var(--typography-s-body-xs-letter-spacing)' + }, + 'BodyXS Medium': { + fontFamily: 'var(--typography-s-body-xs-medium-font-family)', + fontSize: 'var(--typography-s-body-xs-medium-font-size)', + lineHeight: 'var(--typography-s-body-xs-medium-line-height)', + fontWeight: 'var(--typography-s-body-xs-medium-font-weight)', + letterSpacing: 'var(--typography-s-body-xs-medium-letter-spacing)' + } + }; + const getCssVar = variable => { + const strippedVar = variable.slice(4, -1); + return getComputedStyle(document.documentElement).getPropertyValue(strippedVar).slice(0, -3); + }; + return <> + {Object.values(styles).map((value, i) => { + const title = Object.getOwnPropertyNames(styles)[i]; + let tag = 'p'; + if (i <= 4) { + tag = \`h\${i + 1}\`; + } + return + {\`S \${title} \${getCssVar(value.fontSize) * fontBase}px/\${getCssVar(value.lineHeight) * fontBase}px \${getCssVar(value.fontSize)}rem/\${getCssVar(value.lineHeight)}rem \`} + {title === 'HeadingSM Regular' && + DEPRECATED + } + ; + })} + ; +}`,...(C=(R=f.parameters)==null?void 0:R.docs)==null?void 0:C.source}}};var E,V,P;m.parameters={...m.parameters,docs:{...(E=m.parameters)==null?void 0:E.docs,source:{originalSource:`(...args) => { + const fontBase = 16; + const styles = { + DisplayMD: { + fontFamily: 'var(--typography-l-display-md-font-family)', + fontSize: 'var(--typography-l-display-md-font-size)', + lineHeight: 'var(--typography-l-display-md-line-height)', + fontWeight: 'var(--typography-l-display-md-font-weight)' + }, + HeadingLG: { + fontFamily: 'var(--typography-l-heading-lg-font-family)', + fontSize: 'var(--typography-l-heading-lg-font-size)', + lineHeight: 'var(--typography-l-heading-lg-line-height)', + fontWeight: 'var(--typography-l-heading-lg-font-weight)' + }, + HeadingMD: { + fontFamily: 'var(--typography-l-heading-md-font-family)', + fontSize: 'var(--typography-l-heading-md-font-size)', + lineHeight: 'var(--typography-l-heading-md-line-height)', + fontWeight: 'var(--typography-l-heading-md-font-weight)' + }, + HeadingSM: { + fontFamily: 'var(--typography-l-heading-sm-font-family)', + fontSize: 'var(--typography-l-heading-sm-font-size)', + lineHeight: 'var(--typography-l-heading-sm-line-height)', + fontWeight: 'var(--typography-l-heading-sm-font-weight)' + }, + 'HeadingSM Regular': { + fontFamily: 'var(--typography-l-heading-sm-regular-font-family)', + fontSize: 'var(--typography-l-heading-sm-regular-font-size)', + lineHeight: 'var(--typography-l-heading-sm-regular-line-height)', + fontWeight: 'var(--typography-l-heading-sm-regular-font-weight)' + }, + 'BodyLG Medium': { + fontFamily: 'var(--typography-l-body-lg-medium-font-family)', + fontSize: 'var(--typography-l-body-lg-medium-font-size)', + lineHeight: 'var(--typography-l-body-lg-medium-line-height)', + fontWeight: 'var(--typography-l-body-lg-medium-font-weight)' + }, + BodyMD: { + fontFamily: 'var(--typography-l-body-md-font-family)', + fontSize: 'var(--typography-l-body-md-font-size)', + lineHeight: 'var(--typography-l-body-md-line-height)', + fontWeight: 'var(--typography-l-body-md-font-weight)' + }, + 'BodyMD Medium': { + fontFamily: 'var(--typography-l-body-md-medium-font-family)', + fontSize: 'var(--typography-l-body-md-medium-font-size)', + lineHeight: 'var(--typography-l-body-md-medium-line-height)', + fontWeight: 'var(--typography-l-body-md-medium-font-weight)' + }, + 'BodyMD Bold': { + fontFamily: 'var(--typography-l-body-md-bold-font-family)', + fontSize: 'var(--typography-l-body-md-bold-font-size)', + lineHeight: 'var(--typography-l-body-md-bold-line-height)', + fontWeight: 'var(--typography-l-body-md-bold-font-weight)' + }, + BodySM: { + fontFamily: 'var(--typography-l-body-sm-font-family)', + fontSize: 'var(--typography-l-body-sm-font-size)', + lineHeight: 'var(--typography-l-body-sm-line-height)', + fontWeight: 'var(--typography-l-body-sm-font-weight)' + }, + 'BodySM Medium': { + fontFamily: 'var(--typography-l-body-sm-medium-font-family)', + fontSize: 'var(--typography-l-body-sm-medium-font-size)', + lineHeight: 'var(--typography-l-body-sm-medium-line-height)', + fontWeight: 'var(--typography-l-body-sm-medium-font-weight)' + }, + 'BodySM Bold': { + fontFamily: 'var(--typography-l-body-sm-bold-font-family)', + fontSize: 'var(--typography-l-body-sm-bold-font-size)', + lineHeight: 'var(--typography-l-body-sm-bold-line-height)', + fontWeight: 'var(--typography-l-body-sm-bold-font-weight)' + }, + BodyXS: { + fontFamily: 'var(--typography-l-body-xs-font-family)', + fontSize: 'var(--typography-l-body-xs-font-size)', + lineHeight: 'var(--typography-l-body-xs-line-height)', + fontWeight: 'var(--typography-l-body-xs-font-weight)', + letterSpacing: 'var(--typography-l-body-xs-letter-spacing)' + }, + 'BodyXS Medium': { + fontFamily: 'var(--typography-l-body-xs-medium-font-family)', + fontSize: 'var(--typography-l-body-xs-medium-font-size)', + lineHeight: 'var(--typography-l-body-xs-medium-line-height)', + fontWeight: 'var(--typography-l-body-xs-medium-font-weight)', + letterSpacing: 'var(--typography-l-body-xs-medium-letter-spacing)' + } + }; + const getCssVar = variable => { + const strippedVar = variable.slice(4, -1); + return getComputedStyle(document.documentElement).getPropertyValue(strippedVar).slice(0, -3).trim(); + }; + return <> + {Object.values(styles).map((value, i) => { + const title = Object.getOwnPropertyNames(styles)[i]; + let tag = 'p'; + if (i <= 4) { + tag = \`h\${i + 1}\`; + } + return + {\`L \${title} \${getCssVar(value.fontSize) * fontBase}px/\${getCssVar(value.lineHeight) * fontBase}px + + \${getCssVar(value.fontSize)}rem/\${getCssVar(value.lineHeight)}rem \`} + {title === 'HeadingSM Regular' && + DEPRECATED + } + ; + })} + ; +}`,...(P=(V=m.parameters)==null?void 0:V.docs)==null?void 0:P.source}}};const U=["FontFamily","SmallScreen","LargeScreen","FontWeight","SmallScreenCSS","LargeScreenCSS"];export{s as FontFamily,g as FontWeight,h as LargeScreen,m as LargeScreenCSS,a as SmallScreen,f as SmallScreenCSS,U as __namedExportsOrder,K as default}; diff --git a/storybook-static/assets/chunk-XP5HYGXS-BGCqD1aY.js b/storybook-static/assets/chunk-XP5HYGXS-BGCqD1aY.js new file mode 100644 index 00000000..06f6f29b --- /dev/null +++ b/storybook-static/assets/chunk-XP5HYGXS-BGCqD1aY.js @@ -0,0 +1 @@ +var s=Object.create,a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,u=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,l=(e,r)=>function(){return e&&(r=(0,e[o(e)[0]])(e=0)),r},v=(e,r)=>function(){return r||(0,e[o(e)[0]])((r={exports:{}}).exports,r),r.exports},b=(e,r)=>{for(var t in r)a(e,t,{get:r[t],enumerable:!0})},n=(e,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let _ of o(r))!O.call(e,_)&&_!==t&&a(e,_,{get:()=>r[_],enumerable:!(p=c(r,_))||p.enumerable});return e},P=(e,r,t)=>(t=e!=null?s(u(e)):{},n(!e||!e.__esModule?a(t,"default",{value:e,enumerable:!0}):t,e)),y=e=>n(a({},"__esModule",{value:!0}),e);export{b as _,P as a,v as b,l as c,y as d}; diff --git a/storybook-static/assets/design.token.graphic-IL9L4eka.svg b/storybook-static/assets/design.token.graphic-IL9L4eka.svg new file mode 100644 index 00000000..ad64afba --- /dev/null +++ b/storybook-static/assets/design.token.graphic-IL9L4eka.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook-static/assets/entry-preview-D6oZRJ5I.js b/storybook-static/assets/entry-preview-D6oZRJ5I.js new file mode 100644 index 00000000..e529c6c8 --- /dev/null +++ b/storybook-static/assets/entry-preview-D6oZRJ5I.js @@ -0,0 +1,10 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-BWhC85Cb.js","./index-DJO9vBfz.js","./index-DJdX7xnk.js"])))=>i.map(i=>d[i]); +import{_ as tr}from"./iframe-C4LTHpTP.js";import{_ as sr,a as nr,b as L}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{r as Y,R as re}from"./index-DJO9vBfz.js";import{r as ar}from"./index-DJdX7xnk.js";import"../sb-preview/runtime.js";var b={};/** + * @license React + * react-dom-test-utils.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var K=Y,ye=ar;function Ve(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Fe(e){if(Ve(e)!==e)throw Error("Unable to find node on an unmounted component.")}function ir(e){var t=e.alternate;if(!t){if(t=Ve(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var a=o.alternate;if(a===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===r)return Fe(o),e;if(a===n)return Fe(o),t;a=a.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==n.return)r=o,n=a;else{for(var l=!1,h=o.child;h;){if(h===r){l=!0,r=o,n=a;break}if(h===n){l=!0,n=o,r=a;break}h=h.sibling}if(!l){for(h=a.child;h;){if(h===r){l=!0,r=a,n=o;break}if(h===n){l=!0,n=a,r=o;break}h=h.sibling}if(!l)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==n)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}var F=Object.assign;function _e(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ie(){return!0}function qe(){return!1}function q(e){function t(r,n,o,a,l){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=a,this.target=l,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(r=e[h],this[h]=r?r(a):a[h]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?ie:qe,this.isPropagationStopped=qe,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ie)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){},isPersistent:ie}),t}var z={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},or=q(z),se=F({},z,{view:0,detail:0});q(se);var Le,we,ee,pe=F({},se,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ae,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ee&&(ee&&e.type==="mousemove"?(Le=e.screenX-ee.screenX,we=e.screenY-ee.screenY):we=Le=0,ee=e),Le)},movementY:function(e){return"movementY"in e?e.movementY:we}});q(pe);var lr=F({},pe,{dataTransfer:0});q(lr);var ur=F({},se,{relatedTarget:0});q(ur);var pr=F({},z,{animationName:0,elapsedTime:0,pseudoElement:0});q(pr);var cr=F({},z,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}});q(cr);var mr=F({},z,{data:0});q(mr);var hr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},fr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Er(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=fr[e])?!!t[e]:!1}function Ae(){return Er}var vr=F({},se,{key:function(e){if(e.key){var t=hr[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=_e(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ae,charCode:function(e){return e.type==="keypress"?_e(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?_e(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}});q(vr);var Rr=F({},pe,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});q(Rr);var gr=F({},se,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ae});q(gr);var Ir=F({},z,{propertyName:0,elapsedTime:0,pseudoElement:0});q(Ir);var $r=F({},pe,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0});q($r);function _r(e,t,r,n,o,a,l,h,s){var i=Array.prototype.slice.call(arguments,3);try{t.apply(r,i)}catch(I){this.onError(I)}}var te=!1,le=null,ue=!1,Oe=null,Lr={onError:function(e){te=!0,le=e}};function wr(e,t,r,n,o,a,l,h,s){te=!1,le=null,_r.apply(Lr,arguments)}function Tr(e,t,r,n,o,a,l,h,s){if(wr.apply(this,arguments),te){if(te){var i=le;te=!1,le=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");ue||(ue=!0,Oe=i)}}var Ce=Array.isArray,ne=ye.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,Nr=ne[0],Or=ne[1],Sr=ne[2],yr=ne[3],Ar=ne[4],Cr=K.unstable_act;function xr(){}function Dr(e,t){if(!e)return[];if(e=ir(e),!e)return[];for(var r=e,n=[];;){if(r.tag===5||r.tag===6||r.tag===1||r.tag===0){var o=r.stateNode;t(o)&&n.push(o)}if(r.child)r.child.return=r,r=r.child;else{if(r===e)return n;for(;!r.sibling;){if(!r.return||r.return===e)return n;r=r.return}r.sibling.return=r.return,r=r.sibling}}}function H(e,t){if(e&&!e._reactInternals){var r=String(e);throw e=Ce(e)?"an array":e&&e.nodeType===1&&e.tagName?"a DOM node":r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,Error(t+"(...): the first argument must be a React class instance. Instead received: "+(e+"."))}}function ce(e){return!(!e||e.nodeType!==1||!e.tagName)}function xe(e){return ce(e)?!1:e!=null&&typeof e.render=="function"&&typeof e.setState=="function"}function Ye(e,t){return xe(e)?e._reactInternals.type===t:!1}function me(e,t){return H(e,"findAllInRenderedTree"),e?Dr(e._reactInternals,t):[]}function We(e,t){return H(e,"scryRenderedDOMComponentsWithClass"),me(e,function(r){if(ce(r)){var n=r.className;typeof n!="string"&&(n=r.getAttribute("class")||"");var o=n.split(/\s+/);if(!Ce(t)){if(t===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every(function(a){return o.indexOf(a)!==-1})}return!1})}function He(e,t){return H(e,"scryRenderedDOMComponentsWithTag"),me(e,function(r){return ce(r)&&r.tagName.toUpperCase()===t.toUpperCase()})}function Be(e,t){return H(e,"scryRenderedComponentsWithType"),me(e,function(r){return Ye(r,t)})}function Ge(e,t,r){var n=e.type||"unknown-event";e.currentTarget=Or(r),Tr(n,t,void 0,e),e.currentTarget=null}function Ke(e,t,r){for(var n=[];e;){n.push(e);do e=e.return;while(e&&e.tag!==5);e=e||null}for(e=n.length;0console.error("SEMVER",...n):()=>{};t.exports=r}}),ae=L({"../../node_modules/semver/internal/re.js"(e,t){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:o}=he(),a=de();e=t.exports={};var l=e.re=[],h=e.safeRe=[],s=e.src=[],i=e.t={},I=0,u="[a-zA-Z0-9-]",c=[["\\s",1],["\\d",o],[u,n]],m=f=>{for(let[T,N]of c)f=f.split(`${T}*`).join(`${T}{0,${N}}`).split(`${T}+`).join(`${T}{1,${N}}`);return f},p=(f,T,N)=>{let S=m(T),x=I++;a(f,x,T),i[f]=x,s[x]=T,l[x]=new RegExp(T,N?"g":void 0),h[x]=new RegExp(S,N?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),p("MAINVERSION",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${u}+`),p("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),p("FULL",`^${s[i.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),p("LOOSE",`^${s[i.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${s[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${s[i.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),p("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),p("COERCE",`${s[i.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",s[i.COERCEPLAIN]+`(?:${s[i.PRERELEASE]})?(?:${s[i.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",s[i.COERCE],!0),p("COERCERTLFULL",s[i.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),De=L({"../../node_modules/semver/internal/parse-options.js"(e,t){var r=Object.freeze({loose:!0}),n=Object.freeze({}),o=a=>a?typeof a!="object"?r:a:n;t.exports=o}}),Je=L({"../../node_modules/semver/internal/identifiers.js"(e,t){var r=/^[0-9]+$/,n=(a,l)=>{let h=r.test(a),s=r.test(l);return h&&s&&(a=+a,l=+l),a===l?0:h&&!s?-1:s&&!h?1:an(l,a);t.exports={compareIdentifiers:n,rcompareIdentifiers:o}}}),U=L({"../../node_modules/semver/classes/semver.js"(e,t){var r=de(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:o}=he(),{safeRe:a,t:l}=ae(),h=De(),{compareIdentifiers:s}=Je(),i=class V{constructor(u,c){if(c=h(c),u instanceof V){if(u.loose===!!c.loose&&u.includePrerelease===!!c.includePrerelease)return u;u=u.version}else if(typeof u!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof u}".`);if(u.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",u,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let m=u.trim().match(c.loose?a[l.LOOSE]:a[l.FULL]);if(!m)throw new TypeError(`Invalid Version: ${u}`);if(this.raw=u,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(p=>{if(/^[0-9]+$/.test(p)){let f=+p;if(f>=0&&f=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(c===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(p)}}if(c){let f=[c,p];m===!1&&(f=[c]),s(this.prerelease[0],c)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${u}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=i}}),Z=L({"../../node_modules/semver/functions/parse.js"(e,t){var r=U(),n=(o,a,l=!1)=>{if(o instanceof r)return o;try{return new r(o,a)}catch(h){if(!l)return null;throw h}};t.exports=n}}),Fr=L({"../../node_modules/semver/functions/valid.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,a);return l?l.version:null};t.exports=n}}),qr=L({"../../node_modules/semver/functions/clean.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o.trim().replace(/^[=v]+/,""),a);return l?l.version:null};t.exports=n}}),Gr=L({"../../node_modules/semver/functions/inc.js"(e,t){var r=U(),n=(o,a,l,h,s)=>{typeof l=="string"&&(s=h,h=l,l=void 0);try{return new r(o instanceof r?o.version:o,l).inc(a,h,s).version}catch{return null}};t.exports=n}}),Mr=L({"../../node_modules/semver/functions/diff.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,null,!0),h=r(a,null,!0),s=l.compare(h);if(s===0)return null;let i=s>0,I=i?l:h,u=i?h:l,c=!!I.prerelease.length;if(u.prerelease.length&&!c)return!u.patch&&!u.minor?"major":I.patch?"patch":I.minor?"minor":"major";let m=c?"pre":"";return l.major!==h.major?m+"major":l.minor!==h.minor?m+"minor":l.patch!==h.patch?m+"patch":"prerelease"};t.exports=n}}),Xr=L({"../../node_modules/semver/functions/major.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).major;t.exports=n}}),Vr=L({"../../node_modules/semver/functions/minor.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).minor;t.exports=n}}),Yr=L({"../../node_modules/semver/functions/patch.js"(e,t){var r=U(),n=(o,a)=>new r(o,a).patch;t.exports=n}}),Wr=L({"../../node_modules/semver/functions/prerelease.js"(e,t){var r=Z(),n=(o,a)=>{let l=r(o,a);return l&&l.prerelease.length?l.prerelease:null};t.exports=n}}),M=L({"../../node_modules/semver/functions/compare.js"(e,t){var r=U(),n=(o,a,l)=>new r(o,l).compare(new r(a,l));t.exports=n}}),Hr=L({"../../node_modules/semver/functions/rcompare.js"(e,t){var r=M(),n=(o,a,l)=>r(a,o,l);t.exports=n}}),Br=L({"../../node_modules/semver/functions/compare-loose.js"(e,t){var r=M(),n=(o,a)=>r(o,a,!0);t.exports=n}}),Pe=L({"../../node_modules/semver/functions/compare-build.js"(e,t){var r=U(),n=(o,a,l)=>{let h=new r(o,l),s=new r(a,l);return h.compare(s)||h.compareBuild(s)};t.exports=n}}),Kr=L({"../../node_modules/semver/functions/sort.js"(e,t){var r=Pe(),n=(o,a)=>o.sort((l,h)=>r(l,h,a));t.exports=n}}),zr=L({"../../node_modules/semver/functions/rsort.js"(e,t){var r=Pe(),n=(o,a)=>o.sort((l,h)=>r(h,l,a));t.exports=n}}),fe=L({"../../node_modules/semver/functions/gt.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)>0;t.exports=n}}),je=L({"../../node_modules/semver/functions/lt.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)<0;t.exports=n}}),Qe=L({"../../node_modules/semver/functions/eq.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)===0;t.exports=n}}),er=L({"../../node_modules/semver/functions/neq.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)!==0;t.exports=n}}),be=L({"../../node_modules/semver/functions/gte.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)>=0;t.exports=n}}),Ue=L({"../../node_modules/semver/functions/lte.js"(e,t){var r=M(),n=(o,a,l)=>r(o,a,l)<=0;t.exports=n}}),rr=L({"../../node_modules/semver/functions/cmp.js"(e,t){var r=Qe(),n=er(),o=fe(),a=be(),l=je(),h=Ue(),s=(i,I,u,c)=>{switch(I){case"===":return typeof i=="object"&&(i=i.version),typeof u=="object"&&(u=u.version),i===u;case"!==":return typeof i=="object"&&(i=i.version),typeof u=="object"&&(u=u.version),i!==u;case"":case"=":case"==":return r(i,u,c);case"!=":return n(i,u,c);case">":return o(i,u,c);case">=":return a(i,u,c);case"<":return l(i,u,c);case"<=":return h(i,u,c);default:throw new TypeError(`Invalid operator: ${I}`)}};t.exports=s}}),Zr=L({"../../node_modules/semver/functions/coerce.js"(e,t){var r=U(),n=Z(),{safeRe:o,t:a}=ae(),l=(h,s)=>{if(h instanceof r)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;s=s||{};let i=null;if(!s.rtl)i=h.match(s.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);else{let f=s.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL],T;for(;(T=f.exec(h))&&(!i||i.index+i[0].length!==h.length);)(!i||T.index+T[0].length!==i.index+i[0].length)&&(i=T),f.lastIndex=T.index+T[1].length+T[2].length;f.lastIndex=-1}if(i===null)return null;let I=i[2],u=i[3]||"0",c=i[4]||"0",m=s.includePrerelease&&i[5]?`-${i[5]}`:"",p=s.includePrerelease&&i[6]?`+${i[6]}`:"";return n(`${I}.${u}.${c}${m}${p}`,s)};t.exports=l}}),Jr=L({"../../node_modules/semver/internal/lrucache.js"(e,t){var r=class{constructor(){this.max=1e3,this.map=new Map}get(n){let o=this.map.get(n);if(o!==void 0)return this.map.delete(n),this.map.set(n,o),o}delete(n){return this.map.delete(n)}set(n,o){if(!this.delete(n)&&o!==void 0){if(this.map.size>=this.max){let a=this.map.keys().next().value;this.delete(a)}this.map.set(n,o)}return this}};t.exports=r}}),X=L({"../../node_modules/semver/classes/range.js"(e,t){var r=/\s+/g,n=class oe{constructor(d,g){if(g=l(g),d instanceof oe)return d.loose===!!g.loose&&d.includePrerelease===!!g.includePrerelease?d:new oe(d.raw,g);if(d instanceof h)return this.raw=d.value,this.set=[[d]],this.formatted=void 0,this;if(this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease,this.raw=d.trim().replace(r," "),this.set=this.raw.split("||").map(v=>this.parseRange(v.trim())).filter(v=>v.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let v=this.set[0];if(this.set=this.set.filter($=>!N($[0])),this.set.length===0)this.set=[v];else if(this.set.length>1){for(let $ of this.set)if($.length===1&&S($[0])){this.set=[$];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let d=0;d0&&(this.formatted+="||");let g=this.set[d];for(let v=0;v0&&(this.formatted+=" "),this.formatted+=g[v].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(d){let g=((this.options.includePrerelease&&f)|(this.options.loose&&T))+":"+d,v=a.get(g);if(v)return v;let $=this.options.loose,R=$?I[u.HYPHENRANGELOOSE]:I[u.HYPHENRANGE];d=d.replace(R,Ie(this.options.includePrerelease)),s("hyphen replace",d),d=d.replace(I[u.COMPARATORTRIM],c),s("comparator trim",d),d=d.replace(I[u.TILDETRIM],m),s("tilde trim",d),d=d.replace(I[u.CARETTRIM],p),s("caret trim",d);let _=d.split(" ").map(C=>G(C,this.options)).join(" ").split(/\s+/).map(C=>ge(C,this.options));$&&(_=_.filter(C=>(s("loose invalid filter",C,this.options),!!C.match(I[u.COMPARATORLOOSE])))),s("range list",_);let y=new Map,O=_.map(C=>new h(C,this.options));for(let C of O){if(N(C))return[C];y.set(C.value,C)}y.size>1&&y.has("")&&y.delete("");let A=[...y.values()];return a.set(g,A),A}intersects(d,g){if(!(d instanceof oe))throw new TypeError("a Range is required");return this.set.some(v=>x(v,g)&&d.set.some($=>x($,g)&&v.every(R=>$.every(_=>R.intersects(_,g)))))}test(d){if(!d)return!1;if(typeof d=="string")try{d=new i(d,this.options)}catch{return!1}for(let g=0;gE.value==="<0.0.0-0",S=E=>E.value==="",x=(E,d)=>{let g=!0,v=E.slice(),$=v.pop();for(;g&&v.length;)g=v.every(R=>$.intersects(R,d)),$=v.pop();return g},G=(E,d)=>(s("comp",E,d),E=P(E,d),s("caret",E),E=W(E,d),s("tildes",E),E=w(E,d),s("xrange",E),E=Re(E,d),s("stars",E),E),D=E=>!E||E.toLowerCase()==="x"||E==="*",W=(E,d)=>E.trim().split(/\s+/).map(g=>k(g,d)).join(" "),k=(E,d)=>{let g=d.loose?I[u.TILDELOOSE]:I[u.TILDE];return E.replace(g,(v,$,R,_,y)=>{s("tilde",E,v,$,R,_,y);let O;return D($)?O="":D(R)?O=`>=${$}.0.0 <${+$+1}.0.0-0`:D(_)?O=`>=${$}.${R}.0 <${$}.${+R+1}.0-0`:y?(s("replaceTilde pr",y),O=`>=${$}.${R}.${_}-${y} <${$}.${+R+1}.0-0`):O=`>=${$}.${R}.${_} <${$}.${+R+1}.0-0`,s("tilde return",O),O})},P=(E,d)=>E.trim().split(/\s+/).map(g=>j(g,d)).join(" "),j=(E,d)=>{s("caret",E,d);let g=d.loose?I[u.CARETLOOSE]:I[u.CARET],v=d.includePrerelease?"-0":"";return E.replace(g,($,R,_,y,O)=>{s("caret",E,$,R,_,y,O);let A;return D(R)?A="":D(_)?A=`>=${R}.0.0${v} <${+R+1}.0.0-0`:D(y)?R==="0"?A=`>=${R}.${_}.0${v} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.0${v} <${+R+1}.0.0-0`:O?(s("replaceCaret pr",O),R==="0"?_==="0"?A=`>=${R}.${_}.${y}-${O} <${R}.${_}.${+y+1}-0`:A=`>=${R}.${_}.${y}-${O} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.${y}-${O} <${+R+1}.0.0-0`):(s("no pr"),R==="0"?_==="0"?A=`>=${R}.${_}.${y}${v} <${R}.${_}.${+y+1}-0`:A=`>=${R}.${_}.${y}${v} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.${y} <${+R+1}.0.0-0`),s("caret return",A),A})},w=(E,d)=>(s("replaceXRanges",E,d),E.split(/\s+/).map(g=>J(g,d)).join(" ")),J=(E,d)=>{E=E.trim();let g=d.loose?I[u.XRANGELOOSE]:I[u.XRANGE];return E.replace(g,(v,$,R,_,y,O)=>{s("xRange",E,v,$,R,_,y,O);let A=D(R),C=A||D(_),B=C||D(y),Q=B;return $==="="&&Q&&($=""),O=d.includePrerelease?"-0":"",A?$===">"||$==="<"?v="<0.0.0-0":v="*":$&&Q?(C&&(_=0),y=0,$===">"?($=">=",C?(R=+R+1,_=0,y=0):(_=+_+1,y=0)):$==="<="&&($="<",C?R=+R+1:_=+_+1),$==="<"&&(O="-0"),v=`${$+R}.${_}.${y}${O}`):C?v=`>=${R}.0.0${O} <${+R+1}.0.0-0`:B&&(v=`>=${R}.${_}.0${O} <${R}.${+_+1}.0-0`),s("xRange return",v),v})},Re=(E,d)=>(s("replaceStars",E,d),E.trim().replace(I[u.STAR],"")),ge=(E,d)=>(s("replaceGTE0",E,d),E.trim().replace(I[d.includePrerelease?u.GTE0PRE:u.GTE0],"")),Ie=E=>(d,g,v,$,R,_,y,O,A,C,B,Q)=>(D(v)?g="":D($)?g=`>=${v}.0.0${E?"-0":""}`:D(R)?g=`>=${v}.${$}.0${E?"-0":""}`:_?g=`>=${g}`:g=`>=${g}${E?"-0":""}`,D(A)?O="":D(C)?O=`<${+A+1}.0.0-0`:D(B)?O=`<${A}.${+C+1}.0-0`:Q?O=`<=${A}.${C}.${B}-${Q}`:E?O=`<${A}.${C}.${+B+1}-0`:O=`<=${O}`,`${g} ${O}`.trim()),$e=(E,d,g)=>{for(let v=0;v0){let $=E[v].semver;if($.major===d.major&&$.minor===d.minor&&$.patch===d.patch)return!0}return!1}return!0}}}),Ee=L({"../../node_modules/semver/classes/comparator.js"(e,t){var r=Symbol("SemVer ANY"),n=class Se{static get ANY(){return r}constructor(c,m){if(m=o(m),c instanceof Se){if(c.loose===!!m.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),s("comparator",c,m),this.options=m,this.loose=!!m.loose,this.parse(c),this.semver===r?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(c){let m=this.options.loose?a[l.COMPARATORLOOSE]:a[l.COMPARATOR],p=c.match(m);if(!p)throw new TypeError(`Invalid comparator: ${c}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new i(p[2],this.options.loose):this.semver=r}toString(){return this.value}test(c){if(s("Comparator.test",c,this.options.loose),this.semver===r||c===r)return!0;if(typeof c=="string")try{c=new i(c,this.options)}catch{return!1}return h(c,this.operator,this.semver,this.options)}intersects(c,m){if(!(c instanceof Se))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new I(c.value,m).test(this.value):c.operator===""?c.value===""?!0:new I(this.value,m).test(c.semver):(m=o(m),m.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!m.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||h(this.semver,"<",c.semver,m)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||h(this.semver,">",c.semver,m)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}};t.exports=n;var o=De(),{safeRe:a,t:l}=ae(),h=rr(),s=de(),i=U(),I=X()}}),ve=L({"../../node_modules/semver/functions/satisfies.js"(e,t){var r=X(),n=(o,a,l)=>{try{a=new r(a,l)}catch{return!1}return a.test(o)};t.exports=n}}),Qr=L({"../../node_modules/semver/ranges/to-comparators.js"(e,t){var r=X(),n=(o,a)=>new r(o,a).set.map(l=>l.map(h=>h.value).join(" ").trim().split(" "));t.exports=n}}),et=L({"../../node_modules/semver/ranges/max-satisfying.js"(e,t){var r=U(),n=X(),o=(a,l,h)=>{let s=null,i=null,I=null;try{I=new n(l,h)}catch{return null}return a.forEach(u=>{I.test(u)&&(!s||i.compare(u)===-1)&&(s=u,i=new r(s,h))}),s};t.exports=o}}),rt=L({"../../node_modules/semver/ranges/min-satisfying.js"(e,t){var r=U(),n=X(),o=(a,l,h)=>{let s=null,i=null,I=null;try{I=new n(l,h)}catch{return null}return a.forEach(u=>{I.test(u)&&(!s||i.compare(u)===1)&&(s=u,i=new r(s,h))}),s};t.exports=o}}),tt=L({"../../node_modules/semver/ranges/min-version.js"(e,t){var r=U(),n=X(),o=fe(),a=(l,h)=>{l=new n(l,h);let s=new r("0.0.0");if(l.test(s)||(s=new r("0.0.0-0"),l.test(s)))return s;s=null;for(let i=0;i{let m=new r(c.semver.version);switch(c.operator){case">":m.prerelease.length===0?m.patch++:m.prerelease.push(0),m.raw=m.format();case"":case">=":(!u||o(m,u))&&(u=m);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),u&&(!s||o(s,u))&&(s=u)}return s&&l.test(s)?s:null};t.exports=a}}),st=L({"../../node_modules/semver/ranges/valid.js"(e,t){var r=X(),n=(o,a)=>{try{return new r(o,a).range||"*"}catch{return null}};t.exports=n}}),ke=L({"../../node_modules/semver/ranges/outside.js"(e,t){var r=U(),n=Ee(),{ANY:o}=n,a=X(),l=ve(),h=fe(),s=je(),i=Ue(),I=be(),u=(c,m,p,f)=>{c=new r(c,f),m=new a(m,f);let T,N,S,x,G;switch(p){case">":T=h,N=i,S=s,x=">",G=">=";break;case"<":T=s,N=I,S=h,x="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(c,m,f))return!1;for(let D=0;D{j.semver===o&&(j=new n(">=0.0.0")),k=k||j,P=P||j,T(j.semver,k.semver,f)?k=j:S(j.semver,P.semver,f)&&(P=j)}),k.operator===x||k.operator===G||(!P.operator||P.operator===x)&&N(c,P.semver)||P.operator===G&&S(c,P.semver))return!1}return!0};t.exports=u}}),nt=L({"../../node_modules/semver/ranges/gtr.js"(e,t){var r=ke(),n=(o,a,l)=>r(o,a,">",l);t.exports=n}}),at=L({"../../node_modules/semver/ranges/ltr.js"(e,t){var r=ke(),n=(o,a,l)=>r(o,a,"<",l);t.exports=n}}),it=L({"../../node_modules/semver/ranges/intersects.js"(e,t){var r=X(),n=(o,a,l)=>(o=new r(o,l),a=new r(a,l),o.intersects(a,l));t.exports=n}}),ot=L({"../../node_modules/semver/ranges/simplify.js"(e,t){var r=ve(),n=M();t.exports=(o,a,l)=>{let h=[],s=null,i=null,I=o.sort((p,f)=>n(p,f,l));for(let p of I)r(p,a,l)?(i=p,s||(s=p)):(i&&h.push([s,i]),i=null,s=null);s&&h.push([s,null]);let u=[];for(let[p,f]of h)p===f?u.push(p):!f&&p===I[0]?u.push("*"):f?p===I[0]?u.push(`<=${f}`):u.push(`${p} - ${f}`):u.push(`>=${p}`);let c=u.join(" || "),m=typeof a.raw=="string"?a.raw:String(a);return c.length{if(m===p)return!0;m=new r(m,f),p=new r(p,f);let T=!1;e:for(let N of m.set){for(let S of p.set){let x=I(N,S,f);if(T=T||x!==null,x)continue e}if(T)return!1}return!0},s=[new n(">=0.0.0-0")],i=[new n(">=0.0.0")],I=(m,p,f)=>{if(m===p)return!0;if(m.length===1&&m[0].semver===o){if(p.length===1&&p[0].semver===o)return!0;f.includePrerelease?m=s:m=i}if(p.length===1&&p[0].semver===o){if(f.includePrerelease)return!0;p=i}let T=new Set,N,S;for(let w of m)w.operator===">"||w.operator===">="?N=u(N,w,f):w.operator==="<"||w.operator==="<="?S=c(S,w,f):T.add(w.semver);if(T.size>1)return null;let x;if(N&&S&&(x=l(N.semver,S.semver,f),x>0||x===0&&(N.operator!==">="||S.operator!=="<=")))return null;for(let w of T){if(N&&!a(w,String(N),f)||S&&!a(w,String(S),f))return null;for(let J of p)if(!a(w,String(J),f))return!1;return!0}let G,D,W,k,P=S&&!f.includePrerelease&&S.semver.prerelease.length?S.semver:!1,j=N&&!f.includePrerelease&&N.semver.prerelease.length?N.semver:!1;P&&P.prerelease.length===1&&S.operator==="<"&&P.prerelease[0]===0&&(P=!1);for(let w of p){if(k=k||w.operator===">"||w.operator===">=",W=W||w.operator==="<"||w.operator==="<=",N){if(j&&w.semver.prerelease&&w.semver.prerelease.length&&w.semver.major===j.major&&w.semver.minor===j.minor&&w.semver.patch===j.patch&&(j=!1),w.operator===">"||w.operator===">="){if(G=u(N,w,f),G===w&&G!==N)return!1}else if(N.operator===">="&&!a(N.semver,String(w),f))return!1}if(S){if(P&&w.semver.prerelease&&w.semver.prerelease.length&&w.semver.major===P.major&&w.semver.minor===P.minor&&w.semver.patch===P.patch&&(P=!1),w.operator==="<"||w.operator==="<="){if(D=c(S,w,f),D===w&&D!==S)return!1}else if(S.operator==="<="&&!a(S.semver,String(w),f))return!1}if(!w.operator&&(S||N)&&x!==0)return!1}return!(N&&W&&!S&&x!==0||S&&k&&!N&&x!==0||j||P)},u=(m,p,f)=>{if(!m)return p;let T=l(m.semver,p.semver,f);return T>0?m:T<0||p.operator===">"&&m.operator===">="?p:m},c=(m,p,f)=>{if(!m)return p;let T=l(m.semver,p.semver,f);return T<0?m:T>0||p.operator==="<"&&m.operator==="<="?p:m};t.exports=h}}),ut=L({"../../node_modules/semver/index.js"(e,t){var r=ae(),n=he(),o=U(),a=Je(),l=Z(),h=Fr(),s=qr(),i=Gr(),I=Mr(),u=Xr(),c=Vr(),m=Yr(),p=Wr(),f=M(),T=Hr(),N=Br(),S=Pe(),x=Kr(),G=zr(),D=fe(),W=je(),k=Qe(),P=er(),j=be(),w=Ue(),J=rr(),Re=Zr(),ge=Ee(),Ie=X(),$e=ve(),E=Qr(),d=et(),g=rt(),v=tt(),$=st(),R=ke(),_=nt(),y=at(),O=it(),A=ot(),C=lt();t.exports={parse:l,valid:h,clean:s,inc:i,diff:I,major:u,minor:c,patch:m,prerelease:p,compare:f,rcompare:T,compareLoose:N,compareBuild:S,sort:x,rsort:G,gt:D,lt:W,eq:k,neq:P,gte:j,lte:w,cmp:J,coerce:Re,Comparator:ge,Range:Ie,satisfies:$e,toComparators:E,maxSatisfying:d,minSatisfying:g,minVersion:v,validRange:$,outside:R,gtr:_,ltr:y,intersects:O,simplifyRange:A,subset:C,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}}),pt={};sr(pt,{decorators:()=>vt,mount:()=>ft,parameters:()=>Et,render:()=>ct,renderToCanvas:()=>dt});var Me=nr(ut()),ct=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return re.createElement(n,{...e})};function mt(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var{FRAMEWORK_OPTIONS:Ne}=kr,ht=class extends Y.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},Xe=Ne!=null&&Ne.strictMode?Y.StrictMode:Y.Fragment;async function dt({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:o},a){var u,c;let{renderElement:l,unmountElement:h}=await tr(async()=>{const{renderElement:m,unmountElement:p}=await import("./react-18-BWhC85Cb.js");return{renderElement:m,unmountElement:p}},__vite__mapDeps([0,1,2]),import.meta.url),s=t,i=mt()?re.createElement(s,{...e}):re.createElement(ht,{showMain:r,showException:n},re.createElement(s,{...e})),I=Xe?re.createElement(Xe,null,i):i;return o&&h(a),await l(I,a,(c=(u=e==null?void 0:e.parameters)==null?void 0:u.react)==null?void 0:c.rootOptions),()=>h(a)}var ft=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),Et={renderer:"react"},vt=[(e,t)=>{var o,a;if(!((a=(o=t.parameters)==null?void 0:o.react)!=null&&a.rsc))return Y.createElement(e,null);let r=Me.default.major(Y.version),n=Me.default.minor(Y.version);if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return Y.createElement(Y.Suspense,null,Y.createElement(e,null))}];export{vt as decorators,ft as mount,Et as parameters,ct as render,dt as renderToCanvas}; diff --git a/storybook-static/assets/entry-preview-docs-CoUKQ3i9.js b/storybook-static/assets/entry-preview-docs-CoUKQ3i9.js new file mode 100644 index 00000000..fb415d62 --- /dev/null +++ b/storybook-static/assets/entry-preview-docs-CoUKQ3i9.js @@ -0,0 +1,47 @@ +import{_ as Cu,a as ft,b as he,c as Eu,d as zn}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{n as gu,c as Fu,y as yu,l as De,g as Gn,z as xu,o as Bu,j as $n,Y as Yn,a as _t,B as vu}from"./index-j_8AUxV0.js";import{R as yt,r as tt}from"./index-DJO9vBfz.js";const{logger:kt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{defaultDecorateStory:_u,addons:Su,useEffect:bu}=__STORYBOOK_MODULE_PREVIEW_API__;var wu=he({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,p=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,D=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,C=t?Symbol.for("react.suspense"):60113,E=t?Symbol.for("react.suspense_list"):60120,m=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,T=t?Symbol.for("react.block"):60121,k=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,R=t?Symbol.for("react.scope"):60119;function _(N){return typeof N=="string"||typeof N=="function"||N===i||N===D||N===s||N===o||N===C||N===E||typeof N=="object"&&N!==null&&(N.$$typeof===g||N.$$typeof===m||N.$$typeof===l||N.$$typeof===p||N.$$typeof===y||N.$$typeof===k||N.$$typeof===v||N.$$typeof===R||N.$$typeof===T)}function x(N){if(typeof N=="object"&&N!==null){var se=N.$$typeof;switch(se){case n:var W=N.type;switch(W){case d:case D:case i:case s:case o:case C:return W;default:var Ne=W&&W.$$typeof;switch(Ne){case p:case y:case g:case m:case l:return Ne;default:return se}}case r:return se}}}var F=d,B=D,b=p,I=l,q=n,U=y,z=i,G=g,ee=m,de=r,pe=s,Ae=o,te=C,Ee=!1;function Re(N){return Ee||(Ee=!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.")),be(N)||x(N)===d}function be(N){return x(N)===D}function S(N){return x(N)===p}function j(N){return x(N)===l}function J(N){return typeof N=="object"&&N!==null&&N.$$typeof===n}function H(N){return x(N)===y}function M(N){return x(N)===i}function X(N){return x(N)===g}function Q(N){return x(N)===m}function ne(N){return x(N)===r}function ie(N){return x(N)===s}function le(N){return x(N)===o}function Z(N){return x(N)===C}e.AsyncMode=F,e.ConcurrentMode=B,e.ContextConsumer=b,e.ContextProvider=I,e.Element=q,e.ForwardRef=U,e.Fragment=z,e.Lazy=G,e.Memo=ee,e.Portal=de,e.Profiler=pe,e.StrictMode=Ae,e.Suspense=te,e.isAsyncMode=Re,e.isConcurrentMode=be,e.isContextConsumer=S,e.isContextProvider=j,e.isElement=J,e.isForwardRef=H,e.isFragment=M,e.isLazy=X,e.isMemo=Q,e.isPortal=ne,e.isProfiler=ie,e.isStrictMode=le,e.isSuspense=Z,e.isValidElementType=_,e.typeOf=x})()}}),vr=he({"../../node_modules/react-is/index.js"(e,t){t.exports=wu()}}),Tu=he({"../../node_modules/object-assign/index.js"(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(l){if(l==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(l)}function s(){try{if(!Object.assign)return!1;var l=new String("abc");if(l[5]="de",Object.getOwnPropertyNames(l)[0]==="5")return!1;for(var p={},d=0;d<10;d++)p["_"+String.fromCharCode(d)]=d;var D=Object.getOwnPropertyNames(p).map(function(C){return p[C]});if(D.join("")!=="0123456789")return!1;var y={};return"abcdefghijklmnopqrst".split("").forEach(function(C){y[C]=C}),Object.keys(Object.assign({},y)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}t.exports=s()?Object.assign:function(l,p){for(var d,D=o(l),y,C=1;C1?l("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])."):l("Invalid argument supplied to oneOf, expected an array."),p;function j(J,H,M,X,Q){for(var ne=J[H],ie=0;ie0?", expected one of type ["+le.join(", ")+"]":"";return new k("Invalid "+ne+" `"+ie+"` supplied to "+("`"+Q+"`"+W+"."))}return v(H)}function z(){function S(j,J,H,M,X){return pe(j[J])?null:new k("Invalid "+M+" `"+X+"` supplied to "+("`"+H+"`, expected a ReactNode."))}return v(S)}function G(S,j,J,H,M){return new k((S||"React class")+": "+j+" type `"+J+"."+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+M+"`.")}function ee(S){function j(J,H,M,X,Q){var ne=J[H],ie=te(ne);if(ie!=="object")return new k("Invalid "+X+" `"+Q+"` of type `"+ie+"` "+("supplied to `"+M+"`, expected `object`."));for(var le in S){var Z=S[le];if(typeof Z!="function")return G(M,X,Q,le,Ee(Z));var N=Z(ne,le,M,X,Q+"."+le,i);if(N)return N}return null}return v(j)}function de(S){function j(J,H,M,X,Q){var ne=J[H],ie=te(ne);if(ie!=="object")return new k("Invalid "+X+" `"+Q+"` of type `"+ie+"` "+("supplied to `"+M+"`, expected `object`."));var le=r({},J[H],S);for(var Z in le){var N=S[Z];if(o(S,Z)&&typeof N!="function")return G(M,X,Q,Z,Ee(N));if(!N)return new k("Invalid "+X+" `"+Q+"` key `"+Z+"` supplied to `"+M+"`.\nBad object: "+JSON.stringify(J[H],null," ")+` +Valid keys: `+JSON.stringify(Object.keys(S),null," "));var se=N(ne,Z,M,X,Q+"."+Z,i);if(se)return se}return null}return v(j)}function pe(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(pe);if(S===null||d(S))return!0;var j=E(S);if(j){var J=j.call(S),H;if(j!==S.entries){for(;!(H=J.next()).done;)if(!pe(H.value))return!1}else for(;!(H=J.next()).done;){var M=H.value;if(M&&!pe(M[1]))return!1}}else return!1;return!0;default:return!1}}function Ae(S,j){return S==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function te(S){var j=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":Ae(j,S)?"symbol":j}function Ee(S){if(typeof S>"u"||S===null)return""+S;var j=te(S);if(j==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return j}function Re(S){var j=Ee(S);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function be(S){return!S.constructor||!S.constructor.name?m:S.constructor.name}return g.checkPropTypes=s,g.resetWarningCache=s.resetWarningCache,g.PropTypes=g,g}}}),Iu=he({"../../node_modules/prop-types/index.js"(e,t){n=vr(),r=!0,t.exports=Pu()(n.isElement,r);var n,r}}),Ou=he({"../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),Ru=he({"../../node_modules/html-tags/index.js"(e,t){t.exports=Ou()}}),Lu=he({"../../node_modules/estraverse/estraverse.js"(e){(function t(n){var r,i,o,s,l,p;function d(x){var F={},B,b;for(B in x)x.hasOwnProperty(B)&&(b=x[B],typeof b=="object"&&b!==null?F[B]=d(b):F[B]=b);return F}function D(x,F){var B,b,I,q;for(b=x.length,I=0;b;)B=b>>>1,q=I+B,F(x[q])?b=B:(I=q+1,b-=B+1);return I}r={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},s={},l={},p={},i={Break:s,Skip:l,Remove:p};function y(x,F){this.parent=x,this.key=F}y.prototype.replace=function(x){this.parent[this.key]=x},y.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function C(x,F,B,b){this.node=x,this.path=F,this.wrap=B,this.ref=b}function E(){}E.prototype.path=function(){var x,F,B,b,I,q;function U(z,G){if(Array.isArray(G))for(B=0,b=G.length;B=0;--B)if(x[B].node===F)return!0;return!1}E.prototype.traverse=function(x,F){var B,b,I,q,U,z,G,ee,de,pe,Ae,te;for(this.__initialize(x,F),te={},B=this.__worklist,b=this.__leavelist,B.push(new C(x,null,null,null)),b.push(new C(null,null,null,null));B.length;){if(I=B.pop(),I===te){if(I=b.pop(),z=this.__execute(F.leave,I),this.__state===s||z===s)return;continue}if(I.node){if(z=this.__execute(F.enter,I),this.__state===s||z===s)return;if(B.push(te),b.push(I),this.__state===l||z===l)continue;if(q=I.node,U=q.type||I.wrap,pe=this.__keys[U],!pe)if(this.__fallback)pe=this.__fallback(q);else throw new Error("Unknown node type "+U+".");for(ee=pe.length;(ee-=1)>=0;)if(G=pe[ee],Ae=q[G],!!Ae){if(Array.isArray(Ae)){for(de=Ae.length;(de-=1)>=0;)if(Ae[de]&&!T(b,Ae[de])){if(g(U,pe[ee]))I=new C(Ae[de],[G,de],"Property",null);else if(m(Ae[de]))I=new C(Ae[de],[G,de],null,null);else continue;B.push(I)}}else if(m(Ae)){if(T(b,Ae))continue;B.push(new C(Ae,G,null,null))}}}}},E.prototype.replace=function(x,F){var B,b,I,q,U,z,G,ee,de,pe,Ae,te,Ee;function Re(be){var S,j,J,H;if(be.ref.remove()){for(j=be.ref.key,H=be.ref.parent,S=B.length;S--;)if(J=B[S],J.ref&&J.ref.parent===H){if(J.ref.key=0;)if(Ee=de[G],pe=I[Ee],!!pe)if(Array.isArray(pe)){for(ee=pe.length;(ee-=1)>=0;)if(pe[ee]){if(g(q,de[G]))z=new C(pe[ee],[Ee,ee],"Property",new y(pe,ee));else if(m(pe[ee]))z=new C(pe[ee],[Ee,ee],null,new y(pe,ee));else continue;B.push(z)}}else m(pe)&&B.push(new C(pe,Ee,null,new y(I,Ee)))}}return te.root};function k(x,F){var B=new E;return B.traverse(x,F)}function v(x,F){var B=new E;return B.replace(x,F)}function R(x,F){var B;return B=D(F,function(b){return b.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],B!==F.length&&(x.extendedRange[1]=F[B].range[0]),B-=1,B>=0&&(x.extendedRange[0]=F[B].range[1]),x}function _(x,F,B){var b=[],I,q,U,z;if(!x.range)throw new Error("attachComments needs range information");if(!B.length){if(F.length){for(U=0,q=F.length;UG.range[0]));)ee.extendedRange[1]===G.range[0]?(G.leadingComments||(G.leadingComments=[]),G.leadingComments.push(ee),b.splice(z,1)):z+=1;if(z===b.length)return i.Break;if(b[z].extendedRange[0]>G.range[1])return i.Skip}}),z=0,k(x,{leave:function(G){for(var ee;zG.range[1])return i.Skip}}),x}return n.Syntax=r,n.traverse=k,n.replace=v,n.attachComments=_,n.VisitorKeys=o,n.VisitorOption=i,n.Controller=E,n.cloneEnvironment=function(){return t({})},n})(e)}}),Nu=he({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function n(p){if(p==null)return!1;switch(p.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 r(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function i(p){if(p==null)return!1;switch(p.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 o(p){return i(p)||p!=null&&p.type==="FunctionDeclaration"}function s(p){switch(p.type){case"IfStatement":return p.alternate!=null?p.alternate:p.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return p.body}return null}function l(p){var d;if(p.type!=="IfStatement"||p.alternate==null)return!1;d=p.consequent;do{if(d.type==="IfStatement"&&d.alternate==null)return!0;d=s(d)}while(d);return!1}t.exports={isExpression:n,isStatement:i,isIterationStatement:r,isSourceElement:o,isProblematicIfStatement:l,trailingStatement:s}})()}}),br=he({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var n,r,i,o,s,l;r={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]/},n={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 p(v){return 48<=v&&v<=57}function d(v){return 48<=v&&v<=57||97<=v&&v<=102||65<=v&&v<=70}function D(v){return v>=48&&v<=55}i=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function y(v){return v===32||v===9||v===11||v===12||v===160||v>=5760&&i.indexOf(v)>=0}function C(v){return v===10||v===13||v===8232||v===8233}function E(v){if(v<=65535)return String.fromCharCode(v);var R=String.fromCharCode(Math.floor((v-65536)/1024)+55296),_=String.fromCharCode((v-65536)%1024+56320);return R+_}for(o=new Array(128),l=0;l<128;++l)o[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(s=new Array(128),l=0;l<128;++l)s[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function m(v){return v<128?o[v]:r.NonAsciiIdentifierStart.test(E(v))}function g(v){return v<128?s[v]:r.NonAsciiIdentifierPart.test(E(v))}function T(v){return v<128?o[v]:n.NonAsciiIdentifierStart.test(E(v))}function k(v){return v<128?s[v]:n.NonAsciiIdentifierPart.test(E(v))}t.exports={isDecimalDigit:p,isHexDigit:d,isOctalDigit:D,isWhiteSpace:y,isLineTerminator:C,isIdentifierStartES5:m,isIdentifierPartES5:g,isIdentifierStartES6:T,isIdentifierPartES6:k}})()}}),ju=he({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var n=br();function r(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function i(m,g){return!g&&m==="yield"?!1:o(m,g)}function o(m,g){if(g&&r(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function s(m,g){return m==="null"||m==="true"||m==="false"||i(m,g)}function l(m,g){return m==="null"||m==="true"||m==="false"||o(m,g)}function p(m){return m==="eval"||m==="arguments"}function d(m){var g,T,k;if(m.length===0||(k=m.charCodeAt(0),!n.isIdentifierStartES5(k)))return!1;for(g=1,T=m.length;g=T||(v=m.charCodeAt(g),!(56320<=v&&v<=57343)))return!1;k=D(k,v)}if(!R(k))return!1;R=n.isIdentifierPartES6}return!0}function C(m,g){return d(m)&&!s(m,g)}function E(m,g){return y(m)&&!l(m,g)}t.exports={isKeywordES5:i,isKeywordES6:o,isReservedWordES5:s,isReservedWordES6:l,isRestrictedWord:p,isIdentifierNameES5:d,isIdentifierNameES6:y,isIdentifierES5:C,isIdentifierES6:E}})()}}),Mu=he({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=Nu(),e.code=br(),e.keyword=ju()})()}}),Vu=he({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n>1;return d?-D:D}e.encode=function(p){var d="",D,y=s(p);do D=y&i,y>>>=n,y>0&&(D|=o),d+=t.encode(D);while(y>0);return d},e.decode=function(p,d,D){var y=p.length,C=0,E=0,m,g;do{if(d>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(g=t.decode(p.charCodeAt(d++)),g===-1)throw new Error("Invalid base64 digit: "+p.charAt(d-1));m=!!(g&o),g&=i,C=C+(g<=0;U--)I=b[U],I==="."?b.splice(U,1):I===".."?q++:q>0&&(I===""?(b.splice(U+1,q),q=0):(b.splice(U,2),q--));return x=b.join("/"),x===""&&(x=B?"/":"."),F?(F.path=x,o(F)):x}e.normalize=s;function l(_,x){_===""&&(_="."),x===""&&(x=".");var F=i(x),B=i(_);if(B&&(_=B.path||"/"),F&&!F.scheme)return B&&(F.scheme=B.scheme),o(F);if(F||x.match(r))return x;if(B&&!B.host&&!B.path)return B.host=x,o(B);var b=x.charAt(0)==="/"?x:s(_.replace(/\/+$/,"")+"/"+x);return B?(B.path=b,o(B)):b}e.join=l,e.isAbsolute=function(_){return _.charAt(0)==="/"||n.test(_)};function p(_,x){_===""&&(_="."),_=_.replace(/\/$/,"");for(var F=0;x.indexOf(_+"/")!==0;){var B=_.lastIndexOf("/");if(B<0||(_=_.slice(0,B),_.match(/^([^\/]+:\/)?\/*$/)))return x;++F}return Array(F+1).join("../")+x.substr(_.length+1)}e.relative=p;var d=function(){var _=Object.create(null);return!("__proto__"in _)}();function D(_){return _}function y(_){return E(_)?"$"+_:_}e.toSetString=d?D:y;function C(_){return E(_)?_.slice(1):_}e.fromSetString=d?D:C;function E(_){if(!_)return!1;var x=_.length;if(x<9||_.charCodeAt(x-1)!==95||_.charCodeAt(x-2)!==95||_.charCodeAt(x-3)!==111||_.charCodeAt(x-4)!==116||_.charCodeAt(x-5)!==111||_.charCodeAt(x-6)!==114||_.charCodeAt(x-7)!==112||_.charCodeAt(x-8)!==95||_.charCodeAt(x-9)!==95)return!1;for(var F=x-10;F>=0;F--)if(_.charCodeAt(F)!==36)return!1;return!0}function m(_,x,F){var B=T(_.source,x.source);return B!==0||(B=_.originalLine-x.originalLine,B!==0)||(B=_.originalColumn-x.originalColumn,B!==0||F)||(B=_.generatedColumn-x.generatedColumn,B!==0)||(B=_.generatedLine-x.generatedLine,B!==0)?B:T(_.name,x.name)}e.compareByOriginalPositions=m;function g(_,x,F){var B=_.generatedLine-x.generatedLine;return B!==0||(B=_.generatedColumn-x.generatedColumn,B!==0||F)||(B=T(_.source,x.source),B!==0)||(B=_.originalLine-x.originalLine,B!==0)||(B=_.originalColumn-x.originalColumn,B!==0)?B:T(_.name,x.name)}e.compareByGeneratedPositionsDeflated=g;function T(_,x){return _===x?0:_===null?1:x===null?-1:_>x?1:-1}function k(_,x){var F=_.generatedLine-x.generatedLine;return F!==0||(F=_.generatedColumn-x.generatedColumn,F!==0)||(F=T(_.source,x.source),F!==0)||(F=_.originalLine-x.originalLine,F!==0)||(F=_.originalColumn-x.originalColumn,F!==0)?F:T(_.name,x.name)}e.compareByGeneratedPositionsInflated=k;function v(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function R(_,x,F){if(x=x||"",_&&(_[_.length-1]!=="/"&&x[0]!=="/"&&(_+="/"),x=_+x),F){var B=i(F);if(!B)throw new Error("sourceMapURL could not be parsed");if(B.path){var b=B.path.lastIndexOf("/");b>=0&&(B.path=B.path.substring(0,b+1))}x=l(o(B),x)}return s(x)}e.computeSourceURL=R}}),Tr=he({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=St(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(o,s){for(var l=new i,p=0,d=o.length;p=0)return s}else{var l=t.toSetString(o);if(n.call(this._set,l))return this._set[l]}throw new Error('"'+o+'" is not in the set.')},i.prototype.at=function(o){if(o>=0&&os||l==s&&d>=p||t.compareByGeneratedPositionsInflated(i,o)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},r.prototype.add=function(i){n(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=r}}),kr=he({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=wr(),n=St(),r=Tr().ArraySet,i=qu().MappingList;function o(s){s||(s={}),this._file=n.getArg(s,"file",null),this._sourceRoot=n.getArg(s,"sourceRoot",null),this._skipValidation=n.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(s){var l=s.sourceRoot,p=new o({file:s.file,sourceRoot:l});return s.eachMapping(function(d){var D={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(D.source=d.source,l!=null&&(D.source=n.relative(l,D.source)),D.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(D.name=d.name)),p.addMapping(D)}),s.sources.forEach(function(d){var D=d;l!==null&&(D=n.relative(l,d)),p._sources.has(D)||p._sources.add(D);var y=s.sourceContentFor(d);y!=null&&p.setSourceContent(d,y)}),p},o.prototype.addMapping=function(s){var l=n.getArg(s,"generated"),p=n.getArg(s,"original",null),d=n.getArg(s,"source",null),D=n.getArg(s,"name",null);this._skipValidation||this._validateMapping(l,p,d,D),d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),D!=null&&(D=String(D),this._names.has(D)||this._names.add(D)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:d,name:D})},o.prototype.setSourceContent=function(s,l){var p=s;this._sourceRoot!=null&&(p=n.relative(this._sourceRoot,p)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(p)]=l):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(s,l,p){var d=l;if(l==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=s.file}var D=this._sourceRoot;D!=null&&(d=n.relative(D,d));var y=new r,C=new r;this._mappings.unsortedForEach(function(E){if(E.source===d&&E.originalLine!=null){var m=s.originalPositionFor({line:E.originalLine,column:E.originalColumn});m.source!=null&&(E.source=m.source,p!=null&&(E.source=n.join(p,E.source)),D!=null&&(E.source=n.relative(D,E.source)),E.originalLine=m.line,E.originalColumn=m.column,m.name!=null&&(E.name=m.name))}var g=E.source;g!=null&&!y.has(g)&&y.add(g);var T=E.name;T!=null&&!C.has(T)&&C.add(T)},this),this._sources=y,this._names=C,s.sources.forEach(function(E){var m=s.sourceContentFor(E);m!=null&&(p!=null&&(E=n.join(p,E)),D!=null&&(E=n.relative(D,E)),this.setSourceContent(E,m))},this)},o.prototype._validateMapping=function(s,l,p,d){if(l&&typeof l.line!="number"&&typeof l.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!l&&!p&&!d)){if(s&&"line"in s&&"column"in s&&l&&"line"in l&&"column"in l&&s.line>0&&s.column>=0&&l.line>0&&l.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:s,source:p,original:l,name:d}))}},o.prototype._serializeMappings=function(){for(var s=0,l=1,p=0,d=0,D=0,y=0,C="",E,m,g,T,k=this._mappings.toArray(),v=0,R=k.length;v0){if(!n.compareByGeneratedPositionsInflated(m,k[v-1]))continue;E+=","}E+=t.encode(m.generatedColumn-s),s=m.generatedColumn,m.source!=null&&(T=this._sources.indexOf(m.source),E+=t.encode(T-y),y=T,E+=t.encode(m.originalLine-1-d),d=m.originalLine-1,E+=t.encode(m.originalColumn-p),p=m.originalColumn,m.name!=null&&(g=this._names.indexOf(m.name),E+=t.encode(g-D),D=g)),C+=E}return C},o.prototype._generateSourcesContent=function(s,l){return s.map(function(p){if(!this._sourcesContents)return null;l!=null&&(p=n.relative(l,p));var d=n.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},o.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),Uu=he({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,o,s,l){var p=Math.floor((r-n)/2)+n,d=s(i,o[p],!0);return d===0?p:d>0?r-p>1?t(p,r,i,o,s,l):l==e.LEAST_UPPER_BOUND?r1?t(n,p,i,o,s,l):l==e.LEAST_UPPER_BOUND?p:n<0?-1:n}e.search=function(n,r,i,o){if(r.length===0)return-1;var s=t(-1,r.length,n,r,i,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(r[s],r[s-1],!0)===0;)--s;return s}}}),Wu=he({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(i,o,s){var l=i[o];i[o]=i[s],i[s]=l}function n(i,o){return Math.round(i+Math.random()*(o-i))}function r(i,o,s,l){if(s=0){var g=this._originalMappings[m];if(D.column===void 0)for(var T=g.originalLine;g&&g.originalLine===T;)E.push({line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++m];else for(var k=g.originalColumn;g&&g.originalLine===y&&g.originalColumn==k;)E.push({line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++m]}return E},e.SourceMapConsumer=s;function l(D,y){var C=D;typeof D=="string"&&(C=t.parseSourceMapInput(D));var E=t.getArg(C,"version"),m=t.getArg(C,"sources"),g=t.getArg(C,"names",[]),T=t.getArg(C,"sourceRoot",null),k=t.getArg(C,"sourcesContent",null),v=t.getArg(C,"mappings"),R=t.getArg(C,"file",null);if(E!=this._version)throw new Error("Unsupported version: "+E);T&&(T=t.normalize(T)),m=m.map(String).map(t.normalize).map(function(_){return T&&t.isAbsolute(T)&&t.isAbsolute(_)?t.relative(T,_):_}),this._names=r.fromArray(g.map(String),!0),this._sources=r.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(_){return t.computeSourceURL(T,_,y)}),this.sourceRoot=T,this.sourcesContent=k,this._mappings=v,this._sourceMapURL=y,this.file=R}l.prototype=Object.create(s.prototype),l.prototype.consumer=s,l.prototype._findSourceIndex=function(D){var y=D;if(this.sourceRoot!=null&&(y=t.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var C;for(C=0;C1&&(b.source=T+q[1],T+=q[1],b.originalLine=m+q[2],m=b.originalLine,b.originalLine+=1,b.originalColumn=g+q[3],g=b.originalColumn,q.length>4&&(b.name=k+q[4],k+=q[4])),B.push(b),typeof b.originalLine=="number"&&F.push(b)}o(B,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=B,o(F,t.compareByOriginalPositions),this.__originalMappings=F},l.prototype._findMapping=function(D,y,C,E,m,g){if(D[C]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+D[C]);if(D[E]<0)throw new TypeError("Column must be greater than or equal to 0, got "+D[E]);return n.search(D,y,m,g)},l.prototype.computeColumnSpans=function(){for(var D=0;D=0){var E=this._generatedMappings[C];if(E.generatedLine===y.generatedLine){var m=t.getArg(E,"source",null);m!==null&&(m=this._sources.at(m),m=t.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var g=t.getArg(E,"name",null);return g!==null&&(g=this._names.at(g)),{source:m,line:t.getArg(E,"originalLine",null),column:t.getArg(E,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(D){return D==null}):!1},l.prototype.sourceContentFor=function(D,y){if(!this.sourcesContent)return null;var C=this._findSourceIndex(D);if(C>=0)return this.sourcesContent[C];var E=D;this.sourceRoot!=null&&(E=t.relative(this.sourceRoot,E));var m;if(this.sourceRoot!=null&&(m=t.urlParse(this.sourceRoot))){var g=E.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!m.path||m.path=="/")&&this._sources.has("/"+E))return this.sourcesContent[this._sources.indexOf("/"+E)]}if(y)return null;throw new Error('"'+E+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(D){var y=t.getArg(D,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var C={source:y,originalLine:t.getArg(D,"line"),originalColumn:t.getArg(D,"column")},E=this._findMapping(C,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(D,"bias",s.GREATEST_LOWER_BOUND));if(E>=0){var m=this._originalMappings[E];if(m.source===C.source)return{line:t.getArg(m,"generatedLine",null),column:t.getArg(m,"generatedColumn",null),lastColumn:t.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=l;function d(D,y){var C=D;typeof D=="string"&&(C=t.parseSourceMapInput(D));var E=t.getArg(C,"version"),m=t.getArg(C,"sections");if(E!=this._version)throw new Error("Unsupported version: "+E);this._sources=new r,this._names=new r;var g={line:-1,column:0};this._sections=m.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var k=t.getArg(T,"offset"),v=t.getArg(k,"line"),R=t.getArg(k,"column");if(v=0;p--)this.prepend(l[p]);else if(l[o]||typeof l=="string")this.children.unshift(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},s.prototype.walk=function(l){for(var p,d=0,D=this.children.length;d0){for(p=[],d=0;d=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),Ju=he({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,n,r,i,o,s,l,p,d,D,y,C,E,m,g,T,k,v,R,_,x,F,B,b,I,q;o=Lu(),s=Mu(),t=o.Syntax;function U(u){return Fe.Expression.hasOwnProperty(u.type)}function z(u){return Fe.Statement.hasOwnProperty(u.type)}n={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},r={"??":n.Coalesce,"||":n.LogicalOR,"&&":n.LogicalAND,"|":n.BitwiseOR,"^":n.BitwiseXOR,"&":n.BitwiseAND,"==":n.Equality,"!=":n.Equality,"===":n.Equality,"!==":n.Equality,is:n.Equality,isnt:n.Equality,"<":n.Relational,">":n.Relational,"<=":n.Relational,">=":n.Relational,in:n.Relational,instanceof:n.Relational,"<<":n.BitwiseSHIFT,">>":n.BitwiseSHIFT,">>>":n.BitwiseSHIFT,"+":n.Additive,"-":n.Additive,"*":n.Multiplicative,"%":n.Multiplicative,"/":n.Multiplicative,"**":n.Exponentiation};var G=1,ee=2,de=4,pe=8,Ae=16,te=32,Ee=64,Re=ee|de,be=G|ee,S=G|ee|de,j=G,J=de,H=G|de,M=G,X=G|te,Q=0,ne=G|Ae,ie=G|pe;function le(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` +`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function Z(u,c){var a="";for(c|=0;c>0;c>>>=1,u+=u)c&1&&(a+=u);return a}function N(u){return/[\r\n]/g.test(u)}function se(u){var c=u.length;return c&&s.code.isLineTerminator(u.charCodeAt(c-1))}function W(u,c){var a;for(a in c)c.hasOwnProperty(a)&&(u[a]=c[a]);return u}function Ne(u,c){var a,h;function A(w){return typeof w=="object"&&w instanceof Object&&!(w instanceof RegExp)}for(a in c)c.hasOwnProperty(a)&&(h=c[a],A(h)?A(u[a])?Ne(u[a],h):u[a]=Ne({},h):u[a]=h);return u}function rt(u){var c,a,h,A,w;if(u!==u)throw new Error("Numeric literal whose value is NaN");if(u<0||u===0&&1/u<0)throw new Error("Numeric literal whose value is negative");if(u===1/0)return d?"null":D?"1e400":"1e+400";if(c=""+u,!D||c.length<3)return c;for(a=c.indexOf("."),!d&&c.charCodeAt(0)===48&&a===1&&(a=0,c=c.slice(1)),h=c,c=c.replace("e+","e"),A=0,(w=h.indexOf("e"))>0&&(A=+h.slice(w+1),h=h.slice(0,w)),a>=0&&(A-=h.length-a-1,h=+(h.slice(0,a)+h.slice(a+1))+""),w=0;h.charCodeAt(h.length+w-1)===48;)--w;return w!==0&&(A-=w,h=h.slice(0,w)),A!==0&&(h+="e"+A),(h.length1e12&&Math.floor(u)===u&&(h="0x"+u.toString(16)).length255?"\\u"+"0000".slice(a.length)+a:u===0&&!s.code.isDecimalDigit(c)?"\\0":u===11?"\\x0B":"\\x"+"00".slice(a.length)+a)}function cu(u){if(u===92)return"\\\\";if(u===10)return"\\n";if(u===13)return"\\r";if(u===8232)return"\\u2028";if(u===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function hu(u){var c,a,h,A;for(A=C==="double"?'"':"'",c=0,a=u.length;c126))){c+=lu(A,u.charCodeAt(a+1));continue}c+=String.fromCharCode(A)}if(O=!(C==="double"||C==="auto"&&P=0&&!s.code.isLineTerminator(u.charCodeAt(c));--c);return u.length-1-c}function du(u,c){var a,h,A,w,P,O,V,ae;for(a=u.split(/\r\n|[\r\n]/),O=Number.MAX_VALUE,h=1,A=a.length;hP&&(O=P)}for(typeof c<"u"?(V=l,a[1][O]==="*"&&(c+=" "),l=c):(O&1&&--O,V=l),h=1,A=a.length;h0){if(w=c,b){for(A=u.leadingComments[0],c=[],ae=A.extendedRange,xe=A.range,it=B.substring(ae[0],xe[0]),je=(it.match(/\n/g)||[]).length,je>0?(c.push(Z(` +`,je)),c.push(ve(We(A)))):(c.push(it),c.push(We(A))),He=xe,a=1,h=u.leadingComments.length;a0?(c.push(Z(` +`,je)),c.push(ve(We(A)))):(c.push(it),c.push(We(A)));else for(P=!se(fe(c).toString()),O=Z(" ",fu(fe([l,c,p]).toString())),a=0,h=u.trailingComments.length;a")),u.expression?(c.push(g),a=this.generateExpression(u.body,n.Assignment,S),a.toString().charAt(0)==="{"&&(a=["(",a,")"]),c.push(a)):c.push(this.maybeBlock(u.body,ie)),c},Fe.prototype.generateIterationForStatement=function(u,c,a){var h=["for"+(c.await?Be()+"await":"")+g+"("],A=this;return ge(function(){c.left.type===t.VariableDeclaration?ge(function(){h.push(c.left.kind+Be()),h.push(A.generateStatement(c.left.declarations[0],Q))}):h.push(A.generateExpression(c.left,n.Call,S)),h=Y(h,u),h=[Y(h,A.generateExpression(c.right,n.Assignment,S)),")"]}),h.push(this.maybeBlock(c.body,a)),h},Fe.prototype.generatePropertyKey=function(u,c){var a=[];return c&&a.push("["),a.push(this.generateExpression(u,n.Assignment,S)),c&&a.push("]"),a},Fe.prototype.generateAssignment=function(u,c,a,h,A){return n.Assignment2&&(h=B.substring(a[0]+1,a[1]-1),h[0]===` +`&&(A=["{"]),A.push(h)));var P,O,V,ae;for(ae=M,c&pe&&(ae|=Ae),P=0,O=u.body.length;P0&&!u.body[P-1].trailingComments&&!u.body[P].leadingComments&&ut(u.body[P-1].range[1],u.body[P].range[0],A)),P===O-1&&(ae|=te),u.body[P].leadingComments&&b?V=w.generateStatement(u.body[P],ae):V=ve(w.generateStatement(u.body[P],ae)),A.push(V),se(fe(V).toString())||b&&P1?ge(V):V(),a.push(this.semicolon(c)),a},ThrowStatement:function(u,c){return[Y("throw",this.generateExpression(u.argument,n.Sequence,S)),this.semicolon(c)]},TryStatement:function(u,c){var a,h,A,w;if(a=["try",this.maybeBlock(u.block,M)],a=this.maybeBlockSuffix(u.block,a),u.handlers)for(h=0,A=u.handlers.length;h0?` +`:""],P=ne,A=0;A0&&!u.body[A-1].trailingComments&&!u.body[A].leadingComments&&ut(u.body[A-1].range[1],u.body[A].range[0],a)),h=ve(this.generateStatement(u.body[A],P)),a.push(h),A+10){for(h.push("("),w=0,P=A;w=2&&A.charCodeAt(0)===48)&&h.push(" ")),h.push(u.optional?"?.":"."),h.push(ke(u.property))),ye(h,n.Member,c)},MetaProperty:function(u,c,a){var h;return h=[],h.push(typeof u.meta=="string"?u.meta:ke(u.meta)),h.push("."),h.push(typeof u.property=="string"?u.property:ke(u.property)),ye(h,n.Member,c)},UnaryExpression:function(u,c,a){var h,A,w,P,O;return A=this.generateExpression(u.argument,n.Unary,S),g===""?h=Y(u.operator,A):(h=[u.operator],u.operator.length>2?h=Y(h,A):(P=fe(h).toString(),O=P.charCodeAt(P.length-1),w=A.toString().charCodeAt(0),((O===43||O===45)&&O===w||s.code.isIdentifierPartES5(O)&&s.code.isIdentifierPartES5(w))&&h.push(Be()),h.push(A))),ye(h,n.Unary,c)},YieldExpression:function(u,c,a){var h;return u.delegate?h="yield*":h="yield",u.argument&&(h=Y(h,this.generateExpression(u.argument,n.Yield,S))),ye(h,n.Yield,c)},AwaitExpression:function(u,c,a){var h=Y(u.all?"await*":"await",this.generateExpression(u.argument,n.Await,S));return ye(h,n.Await,c)},UpdateExpression:function(u,c,a){return u.prefix?ye([u.operator,this.generateExpression(u.argument,n.Unary,S)],n.Unary,c):ye([this.generateExpression(u.argument,n.Postfix,S),u.operator],n.Postfix,c)},FunctionExpression:function(u,c,a){var h=[Dt(u,!0),"function"];return u.id?(h.push(Tt(u)||Be()),h.push(ke(u.id))):h.push(Tt(u)||g),h.push(this.generateFunctionBody(u)),h},ArrayPattern:function(u,c,a){return this.ArrayExpression(u,c,a,!0)},ArrayExpression:function(u,c,a,h){var A,w,P=this;return u.elements.length?(w=h?!1:u.elements.length>1,A=["[",w?m:""],ge(function(O){var V,ae;for(V=0,ae=u.elements.length;V1,ge(function(){w=P.generateExpression(u.properties[0],n.Sequence,S)}),!h&&!N(fe(w).toString())?["{",g,w,g,"}"]:(ge(function(O){var V,ae;if(A=["{",m,O,w],h)for(A.push(","+m),V=1,ae=u.properties.length;V0||_.moz.comprehensionExpressionStartsWithAssignment?h=Y(h,P):h.push(P)}),u.filter&&(h=Y(h,"if"+g),P=this.generateExpression(u.filter,n.Sequence,S),h=Y(h,["(",P,")"])),_.moz.comprehensionExpressionStartsWithAssignment||(P=this.generateExpression(u.body,n.Assignment,S),h=Y(h,P)),h.push(u.type===t.GeneratorExpression?")":"]"),h},ComprehensionBlock:function(u,c,a){var h;return u.left.type===t.VariableDeclaration?h=[u.left.kind,Be(),this.generateStatement(u.left.declarations[0],Q)]:h=this.generateExpression(u.left,n.Call,S),h=Y(h,u.of?"of":"in"),h=Y(h,this.generateExpression(u.right,n.Sequence,S)),["for"+g+"(",h,")"]},SpreadElement:function(u,c,a){return["...",this.generateExpression(u.argument,n.Assignment,S)]},TaggedTemplateExpression:function(u,c,a){var h=be;a&ee||(h=j);var A=[this.generateExpression(u.tag,n.Call,h),this.generateExpression(u.quasi,n.Primary,J)];return ye(A,n.TaggedTemplate,c)},TemplateElement:function(u,c,a){return u.value.raw},TemplateLiteral:function(u,c,a){var h,A,w;for(h=["`"],A=0,w=u.quasis.length;Agt,Parser:()=>me,Position:()=>Ke,SourceLocation:()=>ct,TokContext:()=>Oe,Token:()=>Ft,TokenType:()=>ce,defaultOptions:()=>Bt,getLineInfo:()=>mn,isIdentifierChar:()=>Qe,isIdentifierStart:()=>Ge,isNewLine:()=>ot,keywordTypes:()=>xt,lineBreak:()=>Te,lineBreakG:()=>et,nonASCIIwhitespace:()=>Wt,parse:()=>ri,parseExpressionAt:()=>ui,tokContexts:()=>Ce,tokTypes:()=>f,tokenizer:()=>ii,version:()=>xn});function Dn(e,t){for(var n=65536,r=0;re)return!1;if(n+=t[r+1],n>=e)return!0}}function Ge(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Or.test(String.fromCharCode(e)):t===!1?!1:Dn(e,kn)}function Qe(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Rr.test(String.fromCharCode(e)):t===!1?!1:Dn(e,kn)||Dn(e,Lr)}function Le(e,t){return new ce(e,{beforeExpr:!0,binop:t})}function oe(e,t){return t===void 0&&(t={}),t.keyword=e,xt[e]=new ce(e,t)}function ot(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function qt(e,t){return Nr.call(e,t)}function Ze(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function mn(e,t){for(var n=1,r=0;;){et.lastIndex=r;var i=et.exec(e);if(i&&i.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),Cn(t.onToken)){var r=t.onToken;t.onToken=function(i){return r.push(i)}}return Cn(t.onComment)&&(t.onComment=Hu(t,t.onComment)),t}function Hu(e,t){return function(n,r,i,o,s,l){var p={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(p.loc=new ct(this,s,l)),e.ranges&&(p.range=[i,o]),t.push(p)}}function Yt(e,t){return lt|(e?En:0)|(t?gn:0)}function Pt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Jn(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}function Jt(e){var t=yn[e]={binary:Ze(jr[e]+" "+Fn),nonBinary:{General_Category:Ze(Fn),Script:Ze(Mr[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function It(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Xn(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function Qu(e){return Ge(e,!0)||e===36||e===95}function Ku(e){return Qe(e,!0)||e===36||e===95||e===8204||e===8205}function Pr(e){return e>=65&&e<=90||e>=97&&e<=122}function Zu(e){return e>=0&&e<=1114111}function ei(e){return e===100||e===68||e===115||e===83||e===119||e===87}function Ir(e){return Pr(e)||e===95}function ti(e){return Ir(e)||Ut(e)}function Ut(e){return e>=48&&e<=57}function Hn(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Qn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Kn(e){return e>=48&&e<=55}function ni(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Zn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function Xt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function ri(e,t){return me.parse(e,t)}function ui(e,t,n){return me.parseExpressionAt(e,t,n)}function ii(e,t){return me.tokenizer(e,t)}var Ot,Rt,er,tr,Lt,Ht,Or,Rr,kn,Lr,ce,Pe,we,xt,f,Te,et,Wt,Ie,Qt,Nr,nr,Cn,Ke,ct,Bt,st,lt,Nt,En,gn,Kt,Zt,en,tn,nn,jt,Me,rn,un,sn,me,Ye,_e,rr,K,Mt,ur,ir,at,Vt,an,Ve,re,sr,mt,ze,ar,gt,Ct,Oe,Ce,Et,on,ln,or,jr,Fn,cn,hn,lr,Mr,yn,$,qe,Ft,ue,pn,xn,Bn=Eu({"../../node_modules/acorn/dist/acorn.mjs"(){Ot={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Rt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",er={5:Rt,"5module":Rt+" export import",6:Rt+" const class extends export import super"},tr=/^in(stanceof)?$/,Lt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Ht="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Or=new RegExp("["+Lt+"]"),Rr=new RegExp("["+Lt+Ht+"]"),Lt=Ht=null,kn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Lr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],ce=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},Pe={beforeExpr:!0},we={startsExpr:!0},xt={},f={num:new ce("num",we),regexp:new ce("regexp",we),string:new ce("string",we),name:new ce("name",we),eof:new ce("eof"),bracketL:new ce("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ce("]"),braceL:new ce("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ce("}"),parenL:new ce("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ce(")"),comma:new ce(",",Pe),semi:new ce(";",Pe),colon:new ce(":",Pe),dot:new ce("."),question:new ce("?",Pe),questionDot:new ce("?."),arrow:new ce("=>",Pe),template:new ce("template"),invalidTemplate:new ce("invalidTemplate"),ellipsis:new ce("...",Pe),backQuote:new ce("`",we),dollarBraceL:new ce("${",{beforeExpr:!0,startsExpr:!0}),eq:new ce("=",{beforeExpr:!0,isAssign:!0}),assign:new ce("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ce("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ce("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Le("||",1),logicalAND:Le("&&",2),bitwiseOR:Le("|",3),bitwiseXOR:Le("^",4),bitwiseAND:Le("&",5),equality:Le("==/!=/===/!==",6),relational:Le("/<=/>=",7),bitShift:Le("<>/>>>",8),plusMin:new ce("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Le("%",10),star:Le("*",10),slash:Le("/",10),starstar:new ce("**",{beforeExpr:!0}),coalesce:Le("??",1),_break:oe("break"),_case:oe("case",Pe),_catch:oe("catch"),_continue:oe("continue"),_debugger:oe("debugger"),_default:oe("default",Pe),_do:oe("do",{isLoop:!0,beforeExpr:!0}),_else:oe("else",Pe),_finally:oe("finally"),_for:oe("for",{isLoop:!0}),_function:oe("function",we),_if:oe("if"),_return:oe("return",Pe),_switch:oe("switch"),_throw:oe("throw",Pe),_try:oe("try"),_var:oe("var"),_const:oe("const"),_while:oe("while",{isLoop:!0}),_with:oe("with"),_new:oe("new",{beforeExpr:!0,startsExpr:!0}),_this:oe("this",we),_super:oe("super",we),_class:oe("class",we),_extends:oe("extends",Pe),_export:oe("export"),_import:oe("import",we),_null:oe("null",we),_true:oe("true",we),_false:oe("false",we),_in:oe("in",{beforeExpr:!0,binop:7}),_instanceof:oe("instanceof",{beforeExpr:!0,binop:7}),_typeof:oe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:oe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:oe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Te=/\r\n?|\n|\u2028|\u2029/,et=new RegExp(Te.source,"g"),Wt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qt=Object.prototype,Nr=Qt.hasOwnProperty,nr=Qt.toString,Cn=Array.isArray||function(e){return nr.call(e)==="[object Array]"},Ke=function(e,t){this.line=e,this.column=t},Ke.prototype.offset=function(e){return new Ke(this.line,this.column+e)},ct=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)},Bt={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},st=1,lt=2,Nt=st|lt,En=4,gn=8,Kt=16,Zt=32,en=64,tn=128,nn=0,jt=1,Me=2,rn=3,un=4,sn=5,me=function(e,t,n){this.options=e=Xu(e),this.sourceFile=e.sourceFile,this.keywords=Ze(er[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var r="";if(e.allowReserved!==!0){for(var i=e.ecmaVersion;!(r=Ot[i]);i--);e.sourceType==="module"&&(r+=" await")}this.reservedWords=Ze(r);var o=(r?r+" ":"")+Ot.strict;this.reservedWordsStrict=Ze(o),this.reservedWordsStrictBind=Ze(o+" "+Ot.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(` +`,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Te).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(st),this.regexpState=null},Ye={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},me.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Ye.inFunction.get=function(){return(this.currentVarScope().flags<)>0},Ye.inGenerator.get=function(){return(this.currentVarScope().flags&gn)>0},Ye.inAsync.get=function(){return(this.currentVarScope().flags&En)>0},Ye.allowSuper.get=function(){return(this.currentThisScope().flags&en)>0},Ye.allowDirectSuper.get=function(){return(this.currentThisScope().flags&tn)>0},Ye.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},me.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags<)>0},me.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r=,?^&]/.test(i)||i==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,Ie.lastIndex=e,e+=Ie.exec(this.input)[0].length,this.input[e]===";"&&e++}},_e.eat=function(e){return this.type===e?(this.next(),!0):!1},_e.isContextual=function(e){return this.type===f.name&&this.value===e&&!this.containsEsc},_e.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},_e.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},_e.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||Te.test(this.input.slice(this.lastTokEnd,this.start))},_e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},_e.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()},_e.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},_e.expect=function(e){this.eat(e)||this.unexpected()},_e.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},_e.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},_e.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},_e.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(i,!0);case f._if:return this.parseIfStatement(i);case f._return:return this.parseReturnStatement(i);case f._switch:return this.parseSwitchStatement(i);case f._throw:return this.parseThrowStatement(i);case f._try:return this.parseTryStatement(i);case f._const:case f._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(i,o);case f._while:return this.parseWhileStatement(i);case f._with:return this.parseWithStatement(i);case f.braceL:return this.parseBlock(!0,i);case f.semi:return this.parseEmptyStatement(i);case f._export:case f._import:if(this.options.ecmaVersion>10&&r===f._import){Ie.lastIndex=this.pos;var s=Ie.exec(this.input),l=this.pos+s[0].length,p=this.input.charCodeAt(l);if(p===40||p===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===f._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var d=this.value,D=this.parseExpression();return r===f.name&&D.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(i,d,D,e):this.parseExpressionStatement(i,D)}},K.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},K.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Mt),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===f._var||this.type===f._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=new Pt,s=this.parseExpression(!0,o);return this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,o),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))},K.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,at|(n?0:Vt),!1,t)},K.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},K.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},K.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(f.braceL),this.labels.push(ur),this.enterScope(0);for(var t,n=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var r=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(f.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},K.parseThrowStatement=function(e){return this.next(),Te.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},ir=[],K.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();if(this.next(),this.eat(f.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?Zt:0),this.checkLVal(t.param,n?un:Me),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(f._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},K.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},K.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Mt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},K.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},K.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},K.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i=0;p--){var d=this.labels[p];if(d.statementStart===e.start)d.statementStart=this.start,d.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},K.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},K.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},K.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},K.parseForIn=function(e,t){var n=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},K.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(f.eq)?r.init=this.parseMaybeAssign(t):n==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():r.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):r.init=null,e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(f.comma))break}return e},K.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?jt:Me,!1)},at=1,Vt=2,an=4,K.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===f.star&&t&Vt&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&at&&(e.id=t&an&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&Vt)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?jt:Me:rn));var i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Yt(e.async,e.generator)),t&at||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&at?"FunctionDeclaration":"FunctionExpression")},K.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},K.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(r.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=n,this.next(),e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},K.parseClassElement=function(e){var t=this;if(this.eat(f.semi))return null;var n=this.startNode(),r=function(p,d){d===void 0&&(d=!1);var D=t.start,y=t.startLoc;return t.eatContextual(p)?t.type!==f.parenL&&(!d||!t.canInsertSemicolon())?!0:(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(D,y),n.key.name=p,t.finishNode(n.key,"Identifier"),!1):!1};n.kind="method",n.static=r("static");var i=this.eat(f.star),o=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(f.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var s=n.key,l=!1;return!n.computed&&!n.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")?(n.kind!=="method"&&this.raise(s.start,"Constructor can't have get/set modifier"),i&&this.raise(s.start,"Constructor can't be a generator"),o&&this.raise(s.start,"Constructor can't be an async method"),n.kind="constructor",l=e):n.static&&s.type==="Identifier"&&s.name==="prototype"&&this.raise(s.start,"Classes may not have a static property named prototype"),this.parseClassMethod(n,i,o,l),n.kind==="get"&&n.value.params.length!==0&&this.raiseRecoverable(n.value.start,"getter should have no params"),n.kind==="set"&&n.value.params.length!==1&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},K.parseClassMethod=function(e,t,n,r){return e.value=this.parseMethod(t,n,r),this.finishNode(e,"MethodDefinition")},K.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Me,!1)):(t===!0&&this.unexpected(),e.id=null)},K.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts():null},K.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===f._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,at|an,!1,n)}else if(this.type===f._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,s=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=8&&!o&&s.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[s],!1);if(this.options.ecmaVersion>=8&&s.name==="async"&&this.type===f.name&&!o)return s=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[s],!0)}return s;case f.regexp:var l=this.value;return t=this.parseLiteral(l.value),t.regex={pattern:l.pattern,flags:l.flags},t;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return t=this.startNode(),t.value=this.type===f._null?null:this.type===f._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case f.parenL:var p=this.start,d=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(d)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),d;case f.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case f.braceL:return this.parseObj(!1,e);case f._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},re.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case f.parenL:return this.parseDynamicImport(e);case f.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},re.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},re.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},re.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},re.parseParenExpression=function(){this.expect(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e},re.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,r,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,s=this.startLoc,l=[],p=!0,d=!1,D=new Pt,y=this.yieldPos,C=this.awaitPos,E;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(p?p=!1:this.expect(f.comma),i&&this.afterTrailingComma(f.parenR,!0)){d=!0;break}else if(this.type===f.ellipsis){E=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,D,this.parseParenItem));var m=this.start,g=this.startLoc;if(this.expect(f.parenR),e&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(D,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=C,this.parseParenArrowList(t,n,l);(!l.length||d)&&this.unexpected(this.lastTokStart),E&&this.unexpected(E),this.checkExpressionErrors(D,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=C||this.awaitPos,l.length>1?(r=this.startNodeAt(o,s),r.expressions=l,this.finishNodeAt(r,"SequenceExpression",m,g)):r=l[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var T=this.startNodeAt(t,n);return T.expression=r,this.finishNode(T,"ParenthesizedExpression")}else return r},re.parseParenItem=function(e){return e},re.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)},sr=[],re.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,o=this.type===f._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),o&&e.callee.type==="ImportExpression"&&this.raise(r,"Cannot use new with import()"),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=sr,this.finishNode(e,"NewExpression")},re.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),n.tail=this.type===f.backQuote,this.finishNode(n,"TemplateElement")},re.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(f.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},re.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!Te.test(this.input.slice(this.lastTokEnd,this.start))},re.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(f.braceR);){if(r)r=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},re.parseProperty=function(e,t){var n=this.startNode(),r,i,o,s;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(n.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(n,"RestElement")):(this.type===f.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),n.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(n,"SpreadElement"));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(e||t)&&(o=this.start,s=this.startLoc),e||(r=this.eat(f.star)));var l=this.containsEsc;return this.parsePropertyName(n),!e&&!l&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(n,t)):i=!1,this.parsePropertyValue(n,e,r,i,o,s,t,l),this.finishNode(n,"Property")},re.parsePropertyValue=function(e,t,n,r,i,o,s,l){if((n||r)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var d=e.value.start;e.kind==="get"?this.raiseRecoverable(d,"getter should have no params"):this.raiseRecoverable(d,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,e.key):this.type===f.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},re.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},re.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},re.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Yt(t,r.generator)|en|(n?tn:0)),this.expect(f.parenL),r.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(r,"FunctionExpression")},re.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Yt(n,!1)|Kt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},re.parseFunctionBody=function(e,t,n){var r=t&&this.type!==f.braceL,i=this.strict,o=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!i||s)&&(o=this.strictDirective(this.end),o&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,sn),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},re.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&st&&delete this.undefinedExports[e]}else if(t===un){var o=this.currentScope();o.lexical.push(e)}else if(t===rn){var s=this.currentScope();this.treatFunctionsAsVar?r=s.lexical.indexOf(e)>-1:r=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var p=this.scopeStack[l];if(p.lexical.indexOf(e)>-1&&!(p.flags&Zt&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){r=!0;break}if(p.var.push(e),this.inModule&&p.flags&st&&delete this.undefinedExports[e],p.flags&Nt)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},ze.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ze.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ze.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Nt)return t}},ze.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Nt&&!(t.flags&Kt))return t}},gt=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new ct(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Ct=me.prototype,Ct.startNode=function(){return new gt(this,this.start,this.startLoc)},Ct.startNodeAt=function(e,t){return new gt(this,e,t)},Ct.finishNode=function(e,t){return Jn.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Ct.finishNodeAt=function(e,t,n,r){return Jn.call(this,e,t,n,r)},Oe=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},Ce={b_stat:new Oe("{",!1),b_expr:new Oe("{",!0),b_tmpl:new Oe("${",!1),p_stat:new Oe("(",!1),p_expr:new Oe("(",!0),q_tmpl:new Oe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Oe("function",!1),f_expr:new Oe("function",!0),f_expr_gen:new Oe("function",!0,!1,null,!0),f_gen:new Oe("function",!1,!1,null,!0)},Et=me.prototype,Et.initialContext=function(){return[Ce.b_stat]},Et.braceIsBlock=function(e){var t=this.curContext();return t===Ce.f_expr||t===Ce.f_stat?!0:e===f.colon&&(t===Ce.b_stat||t===Ce.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?Te.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===Ce.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed},Et.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Et.updateContext=function(e){var t,n=this.type;n.keyword&&e===f.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Ce.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Ce.b_stat:Ce.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(Ce.b_tmpl),this.exprAllowed=!0},f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?Ce.p_stat:Ce.p_expr),this.exprAllowed=!0},f.incDec.updateContext=function(){},f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f.semi&&e!==f._else&&!(e===f._return&&Te.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===Ce.b_stat)?this.context.push(Ce.f_expr):this.context.push(Ce.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===Ce.q_tmpl?this.context.pop():this.context.push(Ce.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===Ce.f_expr?this.context[t]=Ce.f_expr_gen:this.context[t]=Ce.f_gen}this.exprAllowed=!0},f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},on="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ln=on+" Extended_Pictographic",or=ln,jr={9:on,10:ln,11:or},Fn="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",cn="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",hn=cn+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",lr=hn+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Mr={9:cn,10:hn,11:lr},yn={},Jt(9),Jt(10),Jt(11),$=me.prototype,qe=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=yn[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},qe.prototype.reset=function(e,t,n){var r=n.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},qe.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},qe.prototype.at=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},qe.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i=n.charCodeAt(e),o;return!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(o=n.charCodeAt(e+1))<56320||o>57343?e+1:e+2},qe.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},qe.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},qe.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},qe.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},$.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},$.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},$.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},$.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},$.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},$.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},$.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},$.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},$.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Xn(t)?(e.lastIntValue=t,e.advance(),!0):!1},$.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!Xn(n);)e.advance();return e.pos!==t},$.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},$.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},$.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},$.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=It(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=It(e.lastIntValue);return!0}return!1},$.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Qu(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},$.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Ku(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},$.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},$.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},$.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},$.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},$.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},$.regexp_eatZero=function(e){return e.current()===48&&!Ut(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},$.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},$.regexp_eatControlLetter=function(e){var t=e.current();return Pr(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},$.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(i-55296)*1024+(s-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Zu(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1},$.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},$.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},$.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ei(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},$.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},$.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){qt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},$.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},$.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Ir(t=e.current());)e.lastStringValue+=It(t),e.advance();return e.lastStringValue!==""},$.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";ti(t=e.current());)e.lastStringValue+=It(t),e.advance();return e.lastStringValue!==""},$.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},$.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},$.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(t===-1||n===-1)&&e.raise("Invalid character class"),t!==-1&&n!==-1&&t>n&&e.raise("Range out of order in character class")}}},$.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(n===99||Kn(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,e.advance(),!0):!1},$.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},$.regexp_eatClassControlLetter=function(e){var t=e.current();return Ut(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},$.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},$.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Ut(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},$.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Hn(n=e.current());)e.lastIntValue=16*e.lastIntValue+Qn(n),e.advance();return e.pos!==t},$.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+n*8+e.lastIntValue:e.lastIntValue=t*8+n}else e.lastIntValue=t;return!0}return!1},$.regexp_eatOctalDigit=function(e){var t=e.current();return Kn(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},$.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r=this.input.length)return this.finishToken(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},ue.readToken=function(e){return Ge(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},ue.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},ue.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations){et.lastIndex=t;for(var r;(r=et.exec(this.input))&&r.index8&&e<14||e>=5760&&Wt.test(String.fromCharCode(e)))++this.pos;else break e}}},ue.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},ue.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))},ue.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)},ue.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,n+1):this.finishOp(r,n)},ue.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)},ue.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)},ue.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Te.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)},ue.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(f.assign,n+1):this.finishOp(f.bitShift,n)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(n=2),this.finishOp(f.relational,n))},ue.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)},ue.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)},ue.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1)}this.raise(this.pos,"Unexpected character '"+Xt(e)+"'")},ue.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},ue.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(Te.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var l=this.regexpState||(this.regexpState=new qe(this));l.reset(n,i,s),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var p=null;try{p=new RegExp(i,s)}catch{}return this.finishToken(f.regexp,{pattern:i,flags:s,value:p})},ue.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,i=n&&this.input.charCodeAt(this.pos)===48,o=this.pos,s=0,l=0,p=0,d=t??1/0;p=97?y=D-97+10:D>=65?y=D-65+10:D>=48&&D<=57?y=D-48:y=1/0,y>=e)break;l=D,s=s*e+y}return r&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:s},ue.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=Zn(this.input.slice(t,this.pos)),++this.pos):Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,n)},ue.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=Zn(this.input.slice(t,this.pos));return++this.pos,Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r===46&&!n&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!n&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=ni(this.input.slice(t,this.pos),n);return this.finishToken(f.num,o)},ue.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(n,"Code point out of bounds")}else t=this.readHexChar(4);return t},ue.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(ot(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(f.string,t)},pn={},ue.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===pn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},ue.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw pn;this.raise(e,t)},ue.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?n===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ot(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` +`;break;default:e+=String.fromCharCode(n);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},ue.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return ot(t)?"":String.fromCharCode(t)}},ue.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return n===null&&this.invalidStringToken(t,"Bad character escape sequence"),n},ue.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),ai=he({"../../node_modules/acorn-jsx/index.js"(e,t){var n=si(),r=/^[\da-fA-F]+$/,i=/^\d+$/,o=new WeakMap;function s(d){d=d.Parser.acorn||d;let D=o.get(d);if(!D){let y=d.tokTypes,C=d.TokContext,E=d.TokenType,m=new C("...",!0,!0),k={tc_oTag:m,tc_cTag:g,tc_expr:T},v={jsxName:new E("jsxName"),jsxText:new E("jsxText",{beforeExpr:!0}),jsxTagStart:new E("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new E("jsxTagEnd")};v.jsxTagStart.updateContext=function(){this.context.push(T),this.context.push(m),this.exprAllowed=!1},v.jsxTagEnd.updateContext=function(R){let _=this.context.pop();_===m&&R===y.slash||_===g?(this.context.pop(),this.exprAllowed=this.curContext()===T):this.exprAllowed=!0},D={tokContexts:k,tokTypes:v},o.set(d,D)}return D}function l(d){if(!d)return d;if(d.type==="JSXIdentifier")return d.name;if(d.type==="JSXNamespacedName")return d.namespace.name+":"+d.name.name;if(d.type==="JSXMemberExpression")return l(d.object)+"."+l(d.property)}t.exports=function(d){return d=d||{},function(D){return p({allowNamespaces:d.allowNamespaces!==!1,allowNamespacedObjects:!!d.allowNamespacedObjects},D)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return s((Bn(),zn(An))).tokTypes},configurable:!0,enumerable:!0});function p(d,D){let y=D.acorn||(Bn(),zn(An)),C=s(y),E=y.tokTypes,m=C.tokTypes,g=y.tokContexts,T=C.tokContexts.tc_oTag,k=C.tokContexts.tc_cTag,v=C.tokContexts.tc_expr,R=y.isNewLine,_=y.isIdentifierStart,x=y.isIdentifierChar;return class extends D{static get acornJsx(){return C}jsx_readToken(){let F="",B=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let b=this.input.charCodeAt(this.pos);switch(b){case 60:case 123:return this.pos===this.start?b===60&&this.exprAllowed?(++this.pos,this.finishToken(m.jsxTagStart)):this.getTokenFromCode(b):(F+=this.input.slice(B,this.pos),this.finishToken(m.jsxText,F));case 38:F+=this.input.slice(B,this.pos),F+=this.jsx_readEntity(),B=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(b===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:R(b)?(F+=this.input.slice(B,this.pos),F+=this.jsx_readNewLine(!0),B=this.pos):++this.pos}}}jsx_readNewLine(F){let B=this.input.charCodeAt(this.pos),b;return++this.pos,B===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,b=F?` +`:`\r +`):b=String.fromCharCode(B),this.options.locations&&(++this.curLine,this.lineStart=this.pos),b}jsx_readString(F){let B="",b=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let I=this.input.charCodeAt(this.pos);if(I===F)break;I===38?(B+=this.input.slice(b,this.pos),B+=this.jsx_readEntity(),b=this.pos):R(I)?(B+=this.input.slice(b,this.pos),B+=this.jsx_readNewLine(!1),b=this.pos):++this.pos}return B+=this.input.slice(b,this.pos++),this.finishToken(E.string,B)}jsx_readEntity(){let F="",B=0,b,I=this.input[this.pos];I!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let q=++this.pos;for(;this.pos")}let z=q.name?"Element":"Fragment";return b["opening"+z]=q,b["closing"+z]=U,b.children=I,this.type===E.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(b,"JSX"+z)}jsx_parseText(){let F=this.parseLiteral(this.value);return F.type="JSXText",F}jsx_parseElement(){let F=this.start,B=this.startLoc;return this.next(),this.jsx_parseElementAt(F,B)}parseExprAtom(F){return this.type===m.jsxText?this.jsx_parseText():this.type===m.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(F)}readToken(F){let B=this.curContext();if(B===v)return this.jsx_readToken();if(B===T||B===k){if(_(F))return this.jsx_readWord();if(F==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((F===34||F===39)&&B==T)return this.jsx_readString(F)}return F===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(m.jsxTagStart)):super.readToken(F)}updateContext(F){if(this.type==E.braceL){var B=this.curContext();B==T?this.context.push(g.b_expr):B==v?this.context.push(g.b_tmpl):super.updateContext(F),this.exprAllowed=!0}else if(this.type===E.slash&&F===m.jsxTagStart)this.context.length-=2,this.context.push(k),this.exprAllowed=!1;else return super.updateContext(F)}}}}}),oi=he({"../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(p){for(var d,D=1,y=arguments.length;De.$$typeof===Symbol.for("react.memo"),gi=e=>e.$$typeof===Symbol.for("react.forward_ref");Bn();var Fi=ft(ai());function Ur(e,t,n,r,i){n||(n=L),function o(s,l,p){var d=p||s.type,D=t[d];n[d](s,l,o),D&&D(s,l)}(e,r,i)}function yi(e,t,n,r,i){var o=[];n||(n=L),function s(l,p,d){var D=d||l.type,y=t[D],C=l!==o[o.length-1];C&&o.push(l),n[D](l,p,s),y&&y(l,p||o,o),C&&o.pop()}(e,r,i)}function On(e,t,n){n(e,t)}function nt(e,t,n){}var L={};L.Program=L.BlockStatement=function(e,t,n){for(var r=0,i=e.body;r{}},xi=me.extend((0,Fi.default)());function wt(e){return e!=null?e.name:null}function pr(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function Wr(e){let t=[];return yi(e,{ObjectExpression(n,r){t.push(pr(r).length)},ArrayExpression(n,r){t.push(pr(r).length)}},Rn),Math.max(...t)}function Bi(e){return{inferredType:{type:"Identifier",identifier:wt(e)},ast:e}}function vi(e){return{inferredType:{type:"Literal"},ast:e}}function _i(e){let t;Ur(e.body,{JSXElement(i){t=i}},Rn);let n={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},r=wt(e.id);return r!=null&&(n.identifier=r),{inferredType:n,ast:e}}function Si(e){let t;return Ur(e.body,{JSXElement(n){t=n}},Rn),{inferredType:{type:t!=null?"Element":"Class",identifier:wt(e.id)},ast:e}}function bi(e){let t={type:"Element"},n=wt(e.openingElement.name);return n!=null&&(t.identifier=n),{inferredType:t,ast:e}}function wi(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return wt(t)==="shape"?zr(e.arguments[0]):null}function zr(e){return{inferredType:{type:"Object",depth:Wr(e)},ast:e}}function Ti(e){return{inferredType:{type:"Array",depth:Wr(e)},ast:e}}function ki(e){switch(e.type){case"Identifier":return Bi(e);case"Literal":return vi(e);case"FunctionExpression":case"ArrowFunctionExpression":return _i(e);case"ClassExpression":return Si(e);case"JSXElement":return bi(e);case"CallExpression":return wi(e);case"ObjectExpression":return zr(e);case"ArrayExpression":return Ti(e);default:return null}}function Pi(e){let t=xi.parse(`(${e})`,{ecmaVersion:2020}),n={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let r=t.body[0];switch(r.type){case"ExpressionStatement":{let i=ki(r.expression);i!=null&&(n=i);break}}}return n}function Xe(e){try{return{...Pi(e)}}catch{}return{inferredType:{type:"Unknown"}}}function Gr({inferredType:e,ast:t}){let{depth:n}=e;if(n<=2){let r=hr(t,!0);if(!_t(r))return De(r)}return De(Pn,hr(t))}function $r({inferredType:e,ast:t}){let{depth:n}=e;if(n===1){let r=_n(t,!0);if(!_t(r))return De(r)}return De(bt,_n(t))}function Ln(e,t){return t?`${e}( ... )`:`${e}()`}function Gt(e){return`<${e} />`}function Yr(e){let{type:t,identifier:n}=e;switch(t){case"Function":return Ln(n,e.hasParams);case"Element":return Gt(n);default:return n}}function Ii({inferredType:e,ast:t}){let{identifier:n}=e;if(n!=null)return De(Yr(e),Je(t));let r=Je(t,!0);return _t(r)?De(ht,Je(t)):De(r)}function Oi(e,t){let{inferredType:n}=t,{identifier:r}=n;if(r!=null&&!In(r)){let i=Yr(n);return De(i,e)}return _t(e)?De(dt,e):De(e)}function Jr(e){try{let t=Xe(e);switch(t.inferredType.type){case"Object":return $r(t);case"Function":return Ii(t);case"Element":return Oi(e,t);case"Array":return Gr(t);default:return null}}catch(t){console.error(t)}return null}function fr(e){return typeof e=="function"}function Ri(e){return typeof e=="string"||e instanceof String}function Li(e){var n;if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let r=e[Symbol.toStringTag];return r==null||!((n=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag))!=null&&n.writable)?!1:e.toString()===`[object ${r}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function dr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ni(e){var t,n;return dr(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(dr(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}var ji=ft(oi()),Ue=ft(ci()),$e=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function vt(e){"@babel/helpers - typeof";return vt=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},vt(e)}function Mi(e){return Vi(e)||qi(e)||Ui(e)||Wi()}function Vi(e){if(Array.isArray(e))return Sn(e)}function qi(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ui(e,t){if(e){if(typeof e=="string")return Sn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sn(e,t)}}function Sn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?e.length-1:0),r=e[e.length-1];return r&&(t.type==="string"||t.type==="number")&&(r.type==="string"||r.type==="number")?n.push(Xr(String(r.value)+String(t.value))):(r&&n.push(r),n.push(t)),n},is=function(e){return["key","ref"].includes(e)},ss=function(e){return function(t){var n=t.includes("key"),r=t.includes("ref"),i=t.filter(function(s){return!is(s)}),o=Mi(e?i.sort():i);return r&&o.unshift("ref"),n&&o.unshift("key"),o}};function as(e,t){return Array.isArray(t)?function(n){return t.indexOf(n)===-1}:function(n){return t(e[n],n)}}var os=function(e,t,n,r,i){var o=i.tabStop;return e.type==="string"?t.split(` +`).map(function(s,l){return l===0?s:"".concat($e(r,o)).concat(s)}).join(` +`):t},ls=function(e,t,n){return function(r){return os(r,$t(r,e,t,n),e,t,n)}},cs=function(e,t){return function(n){var r=Object.keys(e).includes(n);return!r||r&&e[n]!==t[n]}},Kr=function(e,t,n,r,i){return i?$e(n,r).length+t.length>i:e.length>1},hs=function(e,t,n,r,i,o,s){return(Kr(e,t,i,o,s)||n)&&!r},Zr=function(e,t,n,r){var i=e.type,o=e.displayName,s=o===void 0?"":o,l=e.childrens,p=e.props,d=p===void 0?{}:p,D=e.defaultProps,y=D===void 0?{}:D;if(i!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(i));var C=r.filterProps,E=r.maxInlineAttributesLineLength,m=r.showDefaultProps,g=r.sortProps,T=r.tabStop,k="<".concat(s),v=k,R=k,_=!1,x=[],F=as(d,C);Object.keys(d).filter(F).filter(cs(y,d)).forEach(function(I){return x.push(I)}),Object.keys(y).filter(F).filter(function(){return m}).filter(function(I){return!x.includes(I)}).forEach(function(I){return x.push(I)});var B=ss(g)(x);if(B.forEach(function(I){var q=rs(I,Object.keys(d).includes(I),d[I],Object.keys(y).includes(I),y[I],t,n,r),U=q.attributeFormattedInline,z=q.attributeFormattedMultiline,G=q.isMultilineAttribute;G&&(_=!0),v+=U,R+=z}),R+=` +`.concat($e(n,T)),hs(B,v,_,t,n,T,E)?k=R:k=v,l&&l.length>0){var b=n+1;k+=">",t||(k+=` +`,k+=$e(b,T)),k+=l.reduce(us,[]).map(ls(t,b,r)).join(t?"":` +`.concat($e(b,T))),t||(k+=` +`,k+=$e(b-1,T)),k+="")}else Kr(B,v,n,T,E)||(k+=" "),k+="/>";return k},ps="",Cr="React.Fragment",fs=function(e,t,n){var r={};return t&&(r={key:t}),{type:"ReactElement",displayName:e,props:r,defaultProps:{},childrens:n}},ds=function(e){var t=e.key;return!!t},As=function(e){var t=e.childrens;return t.length===0},Ds=function(e,t,n,r){var i=e.type,o=e.key,s=e.childrens;if(i!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(i));var l=r.useFragmentShortSyntax,p;return l?As(e)||ds(e)?p=Cr:p=ps:p=Cr,Zr(fs(p,o,s),t,n,r)},ms=["<",">","{","}"],Cs=function(e){return ms.some(function(t){return e.includes(t)})},Es=function(e){return Cs(e)?"{`".concat(e,"`}"):e},gs=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},$t=function(e,t,n,r){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(gs(Es(String(e.value)))):"";if(e.type==="ReactElement")return Zr(e,t,n,r);if(e.type==="ReactFragment")return Ds(e,t,n,r);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},Fs=function(e,t){return $t(e,!1,0,t)},eu=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.filterProps,r=n===void 0?[]:n,i=t.showDefaultProps,o=i===void 0?!0:i,s=t.showFunctions,l=s===void 0?!1:s,p=t.functionValue,d=t.tabStop,D=d===void 0?2:d,y=t.useBooleanShorthandSyntax,C=y===void 0?!0:y,E=t.useFragmentShortSyntax,m=E===void 0?!0:E,g=t.sortProps,T=g===void 0?!0:g,k=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var R={filterProps:r,showDefaultProps:o,showFunctions:l,functionValue:p,tabStop:D,useBooleanShorthandSyntax:C,useFragmentShortSyntax:m,sortProps:T,maxInlineAttributesLineLength:k,displayName:v};return Fs(Nn(e,R),R)},Er=eu;function tu(e){return e.$$typeof!=null}function nu(e,t){let{name:n}=e;return n!==""&&n!=="anonymous"&&n!==t?n:null}var ys=e=>De(JSON.stringify(e));function xs(e){let{type:t}=e,{displayName:n}=t,r=Er(e,{});if(n!=null){let i=Gt(n);return De(i,r)}if(Ri(t)&&In(t)){let i=Er(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!_t(i))return De(i)}return De(dt,r)}var Bs=e=>{if(tu(e)&&e.type!=null)return xs(e);if(Li(e)){let t=Xe(JSON.stringify(e));return $r(t)}if(Array.isArray(e)){let t=Xe(JSON.stringify(e));return Gr(t)}return De(bt)},vs=(e,t)=>{let n=!1,r;if(fr(e.render))n=!0;else if(e.prototype!=null&&fr(e.prototype.render))n=!0;else{let o;try{r=Xe(e.toString());let{hasParams:s,params:l}=r.inferredType;s?l.length===1&&l[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&tu(o)&&(n=!0)}catch{}}let i=nu(e,t.name);if(i!=null){if(n)return De(Gt(i));r!=null&&(r=Xe(e.toString()));let{hasParams:o}=r.inferredType;return De(Ln(i,o))}return De(n?dt:ht)},_s=e=>De(e.toString()),ru={string:ys,object:Bs,function:vs,default:_s};function Ss(e={}){return{...ru,...e}}function bs(e,t,n=ru){try{switch(typeof e){case"string":return n.string(e,t);case"object":return n.object(e,t);case"function":return n.function(e,t);default:return n.default(e,t)}}catch(r){console.error(r)}return null}function ws(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return"";let i=[];if(n){let o=e.map(s=>{let l=s.getPrettyName(),p=s.getTypeName();return p!=null?`${l}: ${p}`:l});i.push(`(${o.join(", ")})`)}else i.push("()");return r&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function Ts(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return"";let i=[];return n?i.push("( ... )"):i.push("()"),r&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function ks(e){return e.replace(/,/g,`,\r +`)}var Ps=150;function Se({name:e,short:t,compact:n,full:r,inferredType:i}){return{name:e,short:t,compact:n,full:r??t,inferredType:i}}function uu(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gr(e){return e.split(/\r?\n/)}function zt(e,t=!1){return uu(_n(e,t))}function Fr(e,t=!1){return uu(Je(e,t))}function Is(e){switch(e){case"Object":return bt;case"Array":return Pn;case"Class":return hi;case"Function":return ht;case"Element":return dt;default:return vn}}function iu(e,t){let{inferredType:n,ast:r}=Xe(e),{type:i}=n,o,s,l;switch(i){case"Identifier":case"Literal":o=e,s=e;break;case"Object":{let{depth:p}=n;o=bt,s=p===1?zt(r,!0):null,l=zt(r);break}case"Element":{let{identifier:p}=n;o=p!=null&&!In(p)?p:dt,s=gr(e).length===1?e:null,l=e;break}case"Array":{let{depth:p}=n;o=Pn,s=p<=2?Fr(r,!0):null,l=Fr(r);break}default:o=Is(i),s=gr(e).length===1?e:null,l=e;break}return Se({name:t,short:o,compact:s,full:l,inferredType:i})}function Os({raw:e}){return e!=null?iu(e,"custom"):Se({name:"custom",short:vn,compact:vn})}function Rs(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?Se({name:"func",short:Ts(t.params,t.returns),compact:null,full:ws(t.params,t.returns)}):Se({name:"func",short:ht,compact:ht})}function Ls(e,t){let n=Object.keys(e.value).map(s=>`${s}: ${pt(e.value[s],t).full}`).join(", "),{inferredType:r,ast:i}=Xe(`{ ${n} }`),{depth:o}=r;return Se({name:"shape",short:bt,compact:o===1&&i?zt(i,!0):null,full:i?zt(i):null})}function fn(e){return`objectOf(${e})`}function Ns(e,t){let{short:n,compact:r,full:i}=pt(e.value,t);return Se({name:"objectOf",short:fn(n),compact:r!=null?fn(r):null,full:i&&fn(i)})}function js(e,t){if(Array.isArray(e.value)){let n=e.value.reduce((r,i)=>{let{short:o,compact:s,full:l}=pt(i,t);return r.short.push(o),r.compact.push(s),r.full.push(l),r},{short:[],compact:[],full:[]});return Se({name:"union",short:n.short.join(" | "),compact:n.compact.every(r=>r!=null)?n.compact.join(" | "):null,full:n.full.join(" | ")})}return Se({name:"union",short:e.value,compact:null})}function Ms({value:e,computed:t}){return t?iu(e,"enumvalue"):Se({name:"enumvalue",short:e,compact:e})}function Vs(e){if(Array.isArray(e.value)){let t=e.value.reduce((n,r)=>{let{short:i,compact:o,full:s}=Ms(r);return n.short.push(i),n.compact.push(o),n.full.push(s),n},{short:[],compact:[],full:[]});return Se({name:"enum",short:t.short.join(" | "),compact:t.compact.every(n=>n!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return Se({name:"enum",short:e.value,compact:e.value})}function wn(e){return`${e}[]`}function yr(e){return`[${e}]`}function xr(e,t,n){return Se({name:"arrayOf",short:wn(e),compact:t!=null?yr(t):null,full:n&&yr(n)})}function qs(e,t){let{name:n,short:r,compact:i,full:o,inferredType:s}=pt(e.value,t);if(n==="custom"){if(s==="Object")return xr(r,i,o)}else if(n==="shape")return xr(r,i,o);return Se({name:"arrayOf",short:wn(r),compact:wn(r)})}function pt(e,t){try{switch(e.name){case"custom":return Os(e);case"func":return Rs(t);case"shape":return Ls(e,t);case"instanceOf":return Se({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Ns(e,t);case"union":return js(e,t);case"enum":return Vs(e);case"arrayOf":return qs(e,t);default:return Se({name:e.name,short:e.name,compact:e.name})}}catch(n){console.error(n)}return Se({name:"unknown",short:"unknown",compact:"unknown"})}function Us(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:n,compact:r,full:i}=pt(t,e);return r!=null&&!vu(r)?De(r):i?De(n,i):De(n)}case"func":{let{short:n,full:r}=pt(t,e),i=n,o;return r&&r.length{let r=(n==null?void 0:n.summary)==="element"||(n==null?void 0:n.summary)==="elementType",i=nu(e,t);if(i!=null){if(r)return De(Gt(i));let{hasParams:o}=Xe(e.toString()).inferredType;return De(Ln(i,o))}return De(r?dt:ht)},zs=Ss({function:Ws});function Gs(e,t){let{propTypes:n}=t;return n!=null?Object.keys(n).map(r=>e.find(i=>i.name===r)).filter(Boolean):e}function $s(e,t){let{propDef:n}=e,r=Us(e);r!=null&&(n.type=r);let{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let o=Jr(i.value);o!=null&&(n.defaultValue=o)}else if(t!=null){let o=bs(t,n,zs);o!=null&&(n.defaultValue=o)}return n}function Ys(e,t){let n=t.defaultProps!=null?t.defaultProps:{},r=e.map(i=>$s(i,n[i.propDef.name]));return Gs(r,t)}function Js(e,t){let{propDef:n}=e,{defaultValue:r}=e.docgenInfo;if(r!=null&&r.value!=null){let i=Jr(r.value);i!=null&&(n.defaultValue=i)}return n}function Xs(e){return e.map(t=>Js(t))}var Br=new Map;Object.keys(cr.default).forEach(e=>{let t=cr.default[e];Br.set(t,e),Br.set(t.isRequired,e)});function Hs(e,t){let n=e;!xu(e)&&!e.propTypes&&qr(e)&&(n=e.type);let r=Bu(n,t);if(r.length===0)return[];switch(r[0].typeSystem){case $n.JAVASCRIPT:return Ys(r,e);case $n.TYPESCRIPT:return Xs(r);default:return r.map(i=>i.propDef)}}var Qs=e=>({rows:Hs(e,"props")}),Ks=e=>{if(e){let{rows:t}=Qs(e);if(t)return t.reduce((n,r)=>{let{name:i,description:o,type:s,sbType:l,defaultValue:p,jsDocTags:d,required:D}=r;return n[i]={name:i,description:o,type:{required:D,...l},table:{type:s??void 0,jsDocTags:d,defaultValue:p??void 0}},n},{})}return null},dn=eu,Zs=e=>e.charAt(0).toUpperCase()+e.slice(1),ea=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(Zs).join("")).join(".");function Tn(e){if(tt.isValidElement(e)){let t=Object.keys(e.props).reduce((n,r)=>(n[r]=Tn(e.props[r]),n),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(Tn):e}var ta=(e,t)=>{if(typeof e>"u")return kt.warn("Too many skip or undefined component"),null;let n=e,r=n.type;for(let s=0;s<(t==null?void 0:t.skip);s+=1){if(typeof n>"u")return kt.warn("Cannot skip undefined element"),null;if(yt.Children.count(n)>1)return kt.warn("Trying to skip an array of elements"),null;typeof n.props.children>"u"?(kt.warn("Not enough children to skip elements."),typeof n.type=="function"&&n.type.name===""&&(n=yt.createElement(r,{...n.props}))):typeof n.props.children=="function"?n=n.props.children():n=n.props.children}let i;typeof(t==null?void 0:t.displayName)=="string"?i={showFunctions:!0,displayName:()=>t.displayName}:i={displayName:s=>{var l;return s.type.displayName?s.type.displayName:Yn(s.type,"displayName")?Yn(s.type,"displayName"):(l=s.type.render)!=null&&l.displayName?s.type.render.displayName:typeof s.type=="symbol"||s.type.$$typeof&&typeof s.type.$$typeof=="symbol"?ea(s.type):s.type.name&&s.type.name!=="_default"?s.type.name:typeof s.type=="function"?"No Display Name":gi(s.type)?s.type.render.name:qr(s.type)?s.type.type.name:s.type}};let o={...i,filterProps:(s,l)=>s!==void 0,...t};return yt.Children.map(e,s=>{let l=typeof s=="number"?s.toString():s,p=(typeof dn=="function"?dn:dn.default)(Tn(l),o);if(p.indexOf(""")>-1){let d=p.match(/\S+=\\"([^"]*)\\"/g);d&&d.forEach(D=>{p=p.replace(D,D.replace(/"/g,"'"))})}return p}).join(` +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},na={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},ra=e=>{var r;let t=(r=e==null?void 0:e.parameters.docs)==null?void 0:r.source,n=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Gn.DYNAMIC?!1:!n||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Gn.CODE},ua=e=>{var t,n;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((n=e.props)!=null&&n.mdxType)},su=e=>{if(!ua(e))return e;let{mdxType:t,originalType:n,children:r,...i}=e.props,o=[];return r&&(o=(Array.isArray(r)?r:[r]).map(su)),tt.createElement(n,i,...o)},au=(e,t)=>{var D,y;let n=Su.getChannel(),r=ra(t),i="";bu(()=>{if(!r){let{id:C,unmappedArgs:E}=t;n.emit(yu,{id:C,source:i,args:E})}});let o=e();if(r)return o;let s={...na,...(t==null?void 0:t.parameters.jsx)||{}},l=(y=(D=t==null?void 0:t.parameters.docs)==null?void 0:D.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):o,p=su(l),d=ta(p,s);return d&&(i=d),o},oa=(e,t)=>{let n=t.findIndex(i=>i.originalFn===au),r=n===-1?t:[...t.splice(n,1),...t];return _u(e,r)},la={docs:{story:{inline:!0},extractArgTypes:Ks,extractComponentDescription:gu}},ca=[au],ha=[Fu];export{oa as applyDecorators,ha as argTypesEnhancers,ca as decorators,la as parameters}; diff --git a/storybook-static/assets/fontFamilies-hd_sU_9-.js b/storybook-static/assets/fontFamilies-hd_sU_9-.js new file mode 100644 index 00000000..c59bf5d0 --- /dev/null +++ b/storybook-static/assets/fontFamilies-hd_sU_9-.js @@ -0,0 +1 @@ +const i={euclidCircularB:"Euclid Circular B"};export{i as f}; diff --git a/storybook-static/assets/iframe-C4LTHpTP.js b/storybook-static/assets/iframe-C4LTHpTP.js new file mode 100644 index 00000000..b28cbe92 --- /dev/null +++ b/storybook-static/assets/iframe-C4LTHpTP.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BrandColors.stories-CcX9XR2N.js","./jsx-runtime-CkxqCPlQ.js","./index-DJO9vBfz.js","./shadows-C-ttOB05.js","./fontFamilies-hd_sU_9-.js","./useJsonColor-DYnRusTp.js","./index-DHjrTlOH.js","./ColorSwatch-BJ4zEXqK.js","./index-CHSMmTBw.js","./index-BrnU7xv7.js","./index-DvvF0ogX.js","./index-DJdX7xnk.js","./index-D-8MO0q_.js","./index-j_8AUxV0.js","./index-DrFu-skq.js","./Introduction-BGJAK_bz.js","./IntroductionColor-C7XfNfJ5.js","./Shadows.stories-CGTNEhf5.js","./ThemeColors.stories-B-W0OgHA.js","./Typography.stories-CYuNQoJ3.js","./ColorSwatch.stories-D1dMbA-j.js","./ColorSwatchGroup.stories-BOF_molE.js","./Text.stories-CIvQTc3N.js","./entry-preview-D6oZRJ5I.js","./chunk-XP5HYGXS-BGCqD1aY.js","./entry-preview-docs-CoUKQ3i9.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-D34b2_xx.js","./preview-C2bnlms1.css"])))=>i.map(i=>d[i]); +import"../sb-preview/runtime.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))m(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&m(i)}).observe(document,{childList:!0,subtree:!0});function l(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function m(r){if(r.ep)return;r.ep=!0;const o=l(r);fetch(r.href,o)}})();const R="modulepreload",T=function(e,s){return new URL(e,s).href},O={},t=function(s,l,m){let r=Promise.resolve();if(l&&l.length>0){const i=document.getElementsByTagName("link"),_=document.querySelector("meta[property=csp-nonce]"),p=(_==null?void 0:_.nonce)||(_==null?void 0:_.getAttribute("nonce"));r=Promise.allSettled(l.map(n=>{if(n=T(n,m),n in O)return;O[n]=!0;const u=n.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!m)for(let a=i.length-1;a>=0;a--){const d=i[a];if(d.href===n&&(!u||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${f}`))return;const c=document.createElement("link");if(c.rel=u?"stylesheet":R,u||(c.as="script"),c.crossOrigin="",c.href=n,p&&c.setAttribute("nonce",p),document.head.appendChild(c),u)return new Promise((a,d)=>{c.addEventListener("load",a),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${n}`)))})}))}function o(i){const _=new Event("vite:preloadError",{cancelable:!0});if(_.payload=i,window.dispatchEvent(_),!_.defaultPrevented)throw i}return r.then(i=>{for(const _ of i||[])_.status==="rejected"&&o(_.reason);return s().catch(o)})},{createBrowserChannel:L}=__STORYBOOK_MODULE_CHANNELS__,{addons:y}=__STORYBOOK_MODULE_PREVIEW_API__,E=L({page:"preview"});y.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const I={"./docs/BrandColors.stories.tsx":async()=>t(()=>import("./BrandColors.stories-CcX9XR2N.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url),"./docs/Introduction.mdx":async()=>t(()=>import("./Introduction-BGJAK_bz.js"),__vite__mapDeps([15,1,2,9,10,11,12,13,14]),import.meta.url),"./docs/IntroductionColor.mdx":async()=>t(()=>import("./IntroductionColor-C7XfNfJ5.js"),__vite__mapDeps([16,1,2,9,10,11,12,13,14,3,4]),import.meta.url),"./docs/Shadows.stories.tsx":async()=>t(()=>import("./Shadows.stories-CGTNEhf5.js"),__vite__mapDeps([17,1,2,6,7,3,4,8,9,10,11,12,13,14]),import.meta.url),"./docs/ThemeColors.stories.tsx":async()=>t(()=>import("./ThemeColors.stories-B-W0OgHA.js"),__vite__mapDeps([18,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url),"./docs/Typography.stories.tsx":async()=>t(()=>import("./Typography.stories-CYuNQoJ3.js"),__vite__mapDeps([19,1,2,3,4,6,7,8,9,10,11,12,13,14]),import.meta.url),"./docs/components/ColorSwatch/ColorSwatch.stories.tsx":async()=>t(()=>import("./ColorSwatch.stories-D1dMbA-j.js"),__vite__mapDeps([20,1,2,7,3,4]),import.meta.url),"./docs/components/ColorSwatchGroup/ColorSwatchGroup.stories.tsx":async()=>t(()=>import("./ColorSwatchGroup.stories-BOF_molE.js"),__vite__mapDeps([21,1,2,6,7,3,4,8]),import.meta.url),"./docs/components/Text/Text.stories.tsx":async()=>t(()=>import("./Text.stories-CIvQTc3N.js"),__vite__mapDeps([22,1,2,8,4]),import.meta.url)};async function P(e){return I[e]()}const{composeConfigs:S,PreviewWeb:V,ClientApi:w}=__STORYBOOK_MODULE_PREVIEW_API__,D=async(e=[])=>{const s=await Promise.all([e[0]??t(()=>import("./entry-preview-D6oZRJ5I.js"),__vite__mapDeps([23,24,2,11]),import.meta.url),e[1]??t(()=>import("./entry-preview-docs-CoUKQ3i9.js"),__vite__mapDeps([25,24,13,2]),import.meta.url),e[2]??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([26,12]),import.meta.url),e[3]??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),e[4]??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([27,14]),import.meta.url),e[5]??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),e[6]??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),e[7]??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([28,14]),import.meta.url),e[8]??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),e[9]??t(()=>import("./preview-BJ6EHSBF.js"),[],import.meta.url),e[10]??t(()=>import("./preview-CsOdZhRM.js"),[],import.meta.url),e[11]??t(()=>import("./preview-D34b2_xx.js"),__vite__mapDeps([29,30]),import.meta.url)]);return S(s)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new V(P,D);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/storybook-static/assets/index-BrnU7xv7.js b/storybook-static/assets/index-BrnU7xv7.js new file mode 100644 index 00000000..095b5e34 --- /dev/null +++ b/storybook-static/assets/index-BrnU7xv7.js @@ -0,0 +1 @@ +import{R as e}from"./index-DJO9vBfz.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function m(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{m as MDXProvider,u as useMDXComponents}; diff --git a/storybook-static/assets/index-CHSMmTBw.js b/storybook-static/assets/index-CHSMmTBw.js new file mode 100644 index 00000000..bf21e338 --- /dev/null +++ b/storybook-static/assets/index-CHSMmTBw.js @@ -0,0 +1 @@ +import{j as l}from"./jsx-runtime-CkxqCPlQ.js";import{f as a}from"./fontFamilies-hd_sU_9-.js";const t=({style:e,children:o,as:r,color:c})=>{const n=r||"span";return l.jsx(n,{style:{fontFamily:a.euclidCircularB,color:"var(--color-text-default)",...e},children:o})};try{t.displayName="Text",t.__docgenInfo={description:"",displayName:"Text",props:{children:{defaultValue:null,description:"The children or content of the Text component",name:"children",required:!1,type:{name:"ReactNode"}},as:{defaultValue:null,description:"Polymorphic prop to change the html root element of the component",name:"as",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"The style prop of the Text component",name:"style",required:!1,type:{name:"object"}},color:{defaultValue:null,description:"The color prop of the Text component",name:"color",required:!1,type:{name:"string"}}}}}catch{}try{Text.displayName="Text",Text.__docgenInfo={description:"",displayName:"Text",props:{children:{defaultValue:null,description:"The children or content of the Text component",name:"children",required:!1,type:{name:"ReactNode"}},as:{defaultValue:null,description:"Polymorphic prop to change the html root element of the component",name:"as",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"The style prop of the Text component",name:"style",required:!1,type:{name:"object"}},color:{defaultValue:null,description:"The color prop of the Text component",name:"color",required:!1,type:{name:"string"}}}}}catch{}export{t as T}; diff --git a/storybook-static/assets/index-CIkzHX6z.js b/storybook-static/assets/index-CIkzHX6z.js new file mode 100644 index 00000000..7a7d3661 --- /dev/null +++ b/storybook-static/assets/index-CIkzHX6z.js @@ -0,0 +1 @@ +import{m as l,a as c,G as T,K as b,P as d,g as S,L as B,b as L,v as C,w as H,c as u,E as g,$ as y,y as I,d as h,N as k,e as P,D as W,x as A,C as F,f as x,S as D,R,I as f,h as v,i as E,A as M,F as N,j as q,k as w,l as O,W as U,n as Z,T as j,t as z,o as G,p as J,q as K,r as Q,s as V,u as X,z as Y,B as _,H as $,J as aa,M as sa,V as oa,O as ta,Q as ea,U as ra,X as pa,Y as ia,Z as na,_ as ma,a0 as la,a1 as ca,a2 as Ta,a3 as ba,a4 as da,a5 as Sa,a6 as Ba,a7 as La,a8 as Ca,a9 as Ha,aa as ua,ab as ga,ac as ya,ad as Ia}from"./index-DvvF0ogX.js";import"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";import"./index-DJO9vBfz.js";import"./jsx-runtime-CkxqCPlQ.js";import"./index-DJdX7xnk.js";import"./index-D-8MO0q_.js";import"./index-j_8AUxV0.js";import"./index-DrFu-skq.js";export{l as A,c as ActionBar,T as AddonPanel,b as Badge,d as Bar,S as Blockquote,B as Button,L as ClipboardCode,C as Code,H as DL,u as Div,g as DocumentWrapper,y as EmptyTabContent,I as ErrorFormatter,h as FlexBar,k as Form,P as H1,W as H2,A as H3,F as H4,x as H5,D as H6,R as HR,f as IconButton,v as IconButtonSkeleton,E as Icons,M as Img,N as LI,q as Link,w as ListItem,O as Loader,U as Modal,Z as OL,j as P,z as Placeholder,G as Pre,J as ResetWrapper,K as ScrollArea,Q as Separator,V as Spaced,X as Span,Y as StorybookIcon,_ as StorybookLogo,$ as Symbols,aa as SyntaxHighlighter,sa as TT,oa as TabBar,ta as TabButton,ea as TabWrapper,ra as Table,pa as Tabs,ia as TabsState,na as TooltipLinkList,ma as TooltipMessage,la as TooltipNote,ca as UL,Ta as WithTooltip,ba as WithTooltipPure,da as Zoom,Sa as codeCommon,Ba as components,La as createCopyToClipboardFunction,Ca as getStoryHref,Ha as icons,ua as interleaveSeparators,ga as nameSpaceClassNames,ya as resetComponents,Ia as withReset}; diff --git a/storybook-static/assets/index-D-8MO0q_.js b/storybook-static/assets/index-D-8MO0q_.js new file mode 100644 index 00000000..c9b06b4a --- /dev/null +++ b/storybook-static/assets/index-D-8MO0q_.js @@ -0,0 +1 @@ +var d=Object.create,g=Object.defineProperty,j=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,h=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,x=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),P=(e,r,i,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of A(r))!m.call(e,a)&&a!==i&&g(e,a,{get:()=>r[a],enumerable:!(u=j(r,a))||u.enumerable});return e},S=(e,r,i)=>(i=e!=null?d(h(e)):{},P(!e||!e.__esModule?g(i,"default",{value:e,enumerable:!0}):i,e)),U=x(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var r=Object.prototype.toString,i=Object.getPrototypeOf,u=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,c){return function f(t,n,o){var y,s,l,p=r.call(t),w=r.call(n);if(t===n)return!0;if(t==null||n==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(n)>-1)return!0;if(o.push(t,n),p!=w||(y=u(t),s=u(n),y.length!=s.length||y.some(function(O){return!f(t[O],n[O],o)})))return!1;switch(p.slice(8,-1)){case"Symbol":return t.valueOf()==n.valueOf();case"Date":case"Number":return+t==+n||+t!=+t&&+n!=+n;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+n;case"Set":case"Map":y=t.entries(),s=n.entries();do if(!f((l=y.next()).value,s.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),n=new Uint8Array(n);case"DataView":t=new Uint8Array(t.buffer),n=new Uint8Array(n.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=n.length)return!1;for(l=0;le.map(r=>typeof r<"u").filter(Boolean).length,q=(e,r)=>{let{exists:i,eq:u,neq:a,truthy:c}=e;if(v([i,u,a,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:i,eq:u,neq:a})}`);if(typeof u<"u")return(0,b.isEqual)(r,u);if(typeof a<"u")return!(0,b.isEqual)(r,a);if(typeof i<"u"){let f=typeof r<"u";return i?f:!f}return typeof c>"u"||c?!!r:!r},E=(e,r,i)=>{if(!e.if)return!0;let{arg:u,global:a}=e.if;if(v([u,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:u,global:a})}`);let c=u?r[u]:i[a];return q(e.if,c)},I=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");export{I as O,E as P}; diff --git a/storybook-static/assets/index-DHjrTlOH.js b/storybook-static/assets/index-DHjrTlOH.js new file mode 100644 index 00000000..f9db60bd --- /dev/null +++ b/storybook-static/assets/index-DHjrTlOH.js @@ -0,0 +1,4 @@ +import{C as g}from"./ColorSwatch-BJ4zEXqK.js";import{j as o}from"./jsx-runtime-CkxqCPlQ.js";import"./index-CHSMmTBw.js";const f=(r,n)=>{const e=r.replace("#","");let d,u,t,a=1;e.length===8?(d=parseInt(e.slice(0,2),16),u=parseInt(e.slice(2,4),16),t=parseInt(e.slice(4,6),16),a=parseInt(e.slice(6,8),16)/255):(d=parseInt(e.slice(0,2),16),u=parseInt(e.slice(2,4),16),t=parseInt(e.slice(4,6),16));const s=parseInt(n.slice(1,3),16),c=parseInt(n.slice(3,5),16),l=parseInt(n.slice(5,7),16);return d=Math.round(d*a+(1-a)*s),u=Math.round(u*a+(1-a)*c),t=Math.round(t*a+(1-a)*l),(d*299+u*587+t*114)/1e3>=128?"black":"white"};try{ColorSwatch.displayName="ColorSwatch",ColorSwatch.__docgenInfo={description:"",displayName:"ColorSwatch",props:{color:{defaultValue:null,description:"The color of the swatch",name:"color",required:!1,type:{name:"string"}},backgroundColor:{defaultValue:null,description:"The background color of the swatch defaults to the color",name:"backgroundColor",required:!1,type:{name:"string"}},textBackgroundColor:{defaultValue:{value:"lightTheme.colors.background.default"},description:"The color of text background that contains the name of the color defaults to lightTheme.colors.background.default",name:"textBackgroundColor",required:!1,type:{name:"string"}},borderColor:{defaultValue:{value:"lightTheme.colors.border.muted"},description:"The border color of the swatch defaults to lightTheme.colors.border.muted",name:"borderColor",required:!1,type:{name:"string"}},textColor:{defaultValue:{value:"lightTheme.colors.text.default"},description:"The color of the text defaults to lightTheme.colors.text.default",name:"textColor",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"The name of the color",name:"name",required:!1,type:{name:"string"}}}}}catch{}function x(r){return/\-\d+%$/.test(r)?r:r.replace(/-([a-z])/gi,function(n){return(n[1]??"").toUpperCase()})}const y=({swatchData:r,textBackgroundColor:n="transparent",theme:e="#ffffff"})=>{if(!r)return o.jsx("div",{children:"No swatch data"});const d=(t,a)=>{var i,h;const s=/\d+/,c=parseInt(((i=t.match(s))==null?void 0:i[0])||"0",10),l=parseInt(((h=a.match(s))==null?void 0:h[0])||"0",10);return c-l},u=()=>Object.entries(r).map(([t,a])=>{if(a.value){const{value:s,description:c}=a;return o.jsxs("div",{style:{fontSize:"0.875rem",fontFamily:"sans-serif",color:f(e,e)},children:[o.jsx("h2",{children:t}),o.jsx("div",{style:{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 300px)"},children:o.jsxs("div",{children:[o.jsx(g,{color:s,name:`${t}`,textColor:f(s,e),textBackgroundColor:n}),c&&o.jsx("p",{style:{lineHeight:1.3},children:c})]},t)})]},t)}else{const c=Object.keys(a).filter(l=>!/\-\d+%$/.test(l)).map(l=>({originalKey:l,camelCaseKey:x(l)})).sort((l,i)=>d(l.camelCaseKey,i.camelCaseKey));return o.jsxs("div",{style:{fontSize:"0.875rem",fontFamily:"sans-serif",color:f(e,e)},children:[o.jsx("h2",{children:t}),o.jsx("div",{style:{display:"grid",gap:"16px",gridTemplateColumns:"repeat(auto-fill, 300px)"},children:c.map(({originalKey:l,camelCaseKey:i})=>{const h=a[l],{value:p="",description:m}=h||{};return o.jsxs("div",{children:[o.jsx(g,{color:p,name:`${t}.${i}`,textColor:f(p??"",e),textBackgroundColor:n}),m&&o.jsx("p",{style:{lineHeight:1.3},children:m})]},i)})})]},t)}});return o.jsx(o.Fragment,{children:u()})};try{y.displayName="ColorSwatchGroup",y.__docgenInfo={description:"",displayName:"ColorSwatchGroup",props:{swatchData:{defaultValue:null,description:"The color object",name:"swatchData",required:!0,type:{name:"Theme"}},textBackgroundColor:{defaultValue:{value:"transparent"},description:"The color of text background that contains the name of the color defaults to background.default",name:"textBackgroundColor",required:!1,type:{name:"string"}},theme:{defaultValue:{value:"#ffffff"},description:`Hex code value of the theme (light or dark mode) this is used to help determine the text color of each swatch when opacity is involved +Default is light theme #ffffff`,name:"theme",required:!1,type:{name:"string"}}}}}catch{}try{ColorSwatchGroup.displayName="ColorSwatchGroup",ColorSwatchGroup.__docgenInfo={description:"",displayName:"ColorSwatchGroup",props:{swatchData:{defaultValue:null,description:"The color object",name:"swatchData",required:!0,type:{name:"Theme"}},textBackgroundColor:{defaultValue:{value:"transparent"},description:"The color of text background that contains the name of the color defaults to background.default",name:"textBackgroundColor",required:!1,type:{name:"string"}},theme:{defaultValue:{value:"#ffffff"},description:`Hex code value of the theme (light or dark mode) this is used to help determine the text color of each swatch when opacity is involved +Default is light theme #ffffff`,name:"theme",required:!1,type:{name:"string"}}}}}catch{}try{ColorSwatch.displayName="ColorSwatch",ColorSwatch.__docgenInfo={description:"",displayName:"ColorSwatch",props:{color:{defaultValue:null,description:"The color of the swatch",name:"color",required:!1,type:{name:"string"}},backgroundColor:{defaultValue:null,description:"The background color of the swatch defaults to the color",name:"backgroundColor",required:!1,type:{name:"string"}},textBackgroundColor:{defaultValue:{value:"lightTheme.colors.background.default"},description:"The color of text background that contains the name of the color defaults to lightTheme.colors.background.default",name:"textBackgroundColor",required:!1,type:{name:"string"}},borderColor:{defaultValue:{value:"lightTheme.colors.border.muted"},description:"The border color of the swatch defaults to lightTheme.colors.border.muted",name:"borderColor",required:!1,type:{name:"string"}},textColor:{defaultValue:{value:"lightTheme.colors.text.default"},description:"The color of the text defaults to lightTheme.colors.text.default",name:"textColor",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"The name of the color",name:"name",required:!1,type:{name:"string"}}}}}catch{}try{ColorSwatchGroup.displayName="ColorSwatchGroup",ColorSwatchGroup.__docgenInfo={description:"",displayName:"ColorSwatchGroup",props:{swatchData:{defaultValue:null,description:"The color object",name:"swatchData",required:!0,type:{name:"Theme"}},textBackgroundColor:{defaultValue:{value:"transparent"},description:"The color of text background that contains the name of the color defaults to background.default",name:"textBackgroundColor",required:!1,type:{name:"string"}},theme:{defaultValue:{value:"#ffffff"},description:`Hex code value of the theme (light or dark mode) this is used to help determine the text color of each swatch when opacity is involved +Default is light theme #ffffff`,name:"theme",required:!1,type:{name:"string"}}}}}catch{}try{Text.displayName="Text",Text.__docgenInfo={description:"",displayName:"Text",props:{children:{defaultValue:null,description:"The children or content of the Text component",name:"children",required:!1,type:{name:"ReactNode"}},as:{defaultValue:null,description:"Polymorphic prop to change the html root element of the component",name:"as",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"The style prop of the Text component",name:"style",required:!1,type:{name:"object"}},color:{defaultValue:null,description:"The color prop of the Text component",name:"color",required:!1,type:{name:"string"}}}}}catch{}export{y as C,f as g}; diff --git a/storybook-static/assets/index-DJO9vBfz.js b/storybook-static/assets/index-DJO9vBfz.js new file mode 100644 index 00000000..5e71ffda --- /dev/null +++ b/storybook-static/assets/index-DJO9vBfz.js @@ -0,0 +1,9 @@ +var X=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function D(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $={exports:{}},r={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var y=Symbol.for("react.element"),V=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),L=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),b=Symbol.iterator;function H(e){return e===null||typeof e!="object"?null:(e=b&&e[b]||e["@@iterator"],typeof e=="function"?e:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,j={};function p(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||C}p.prototype.isReactComponent={};p.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function O(){}O.prototype=p.prototype;function m(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||C}var S=m.prototype=new O;S.constructor=m;g(S,p.prototype);S.isPureReactComponent=!0;var R=Array.isArray,x=Object.prototype.hasOwnProperty,w={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,n){var u,o={},c=null,s=null;if(t!=null)for(u in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(c=""+t.key),t)x.call(t,u)&&!P.hasOwnProperty(u)&&(o[u]=t[u]);var f=arguments.length-2;if(f===1)o.children=n;else if(1>>1,Y=C[H];if(0>>1;Hl(sl,P))mnl(Xt,sl)?(C[H]=Xt,C[mn]=P,H=mn):(C[H]=sl,C[pn]=P,H=pn);else if(mnl(Xt,P))C[H]=Xt,C[mn]=P,H=mn;else break e}}return z}function l(C,z){var P=C.sortIndex-z.sortIndex;return P!==0?P:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var s=[],d=[],v=1,m=null,p=3,g=!1,w=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(C){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=C)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function h(C){if(k=!1,f(C),!w)if(t(s)!==null)w=!0,ul(E);else{var z=t(d);z!==null&&ol(h,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,c(N),N=-1),g=!0;var P=p;try{for(f(z),m=t(s);m!==null&&(!(m.expirationTime>z)||C&&!Ce());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var Y=H(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),f(z)}else r(s);m=t(s)}if(m!==null)var Yt=!0;else{var pn=t(d);pn!==null&&ol(h,pn.startTime-z),Yt=!1}return Yt}finally{m=null,p=P,g=!1}}var x=!1,_=null,N=-1,B=5,T=-1;function Ce(){return!(e.unstable_now()-TC||125H?(C.sortIndex=P,n(d,C),t(s)===null&&C===t(d)&&(k?(c(N),N=-1):k=!0,ol(h,P-H))):(C.sortIndex=Y,n(s,C),w||g||(w=!0,ul(E))),C},e.unstable_shouldYield=Ce,e.unstable_wrapCallback=function(C){var z=p;return function(){var P=p;p=z;try{return C.apply(this,arguments)}finally{p=P}}}})(_o);xo.exports=_o;var za=xo.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Pa=_a,me=za;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=Object.prototype.hasOwnProperty,Ta=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yu={},gu={};function La(e){return Fl.call(gu,e)?!0:Fl.call(yu,e)?!1:Ta.test(e)?gu[e]=!0:(yu[e]=!0,!1)}function Ma(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Da(e,n,t,r){if(n===null||typeof n>"u"||Ma(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];q[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(e,2,!1,e,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".split(" ").forEach(function(e){q[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ni=/[\-:]([a-z])/g;function zi(e){return e[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".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pi(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2o||l[u]!==i[o]){var s=` +`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?pt(e):""}function Ra(e){switch(e.tag){case 5:return pt(e.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return e=fl(e.type,!1),e;case 11:return e=fl(e.type.render,!1),e;case 1:return e=fl(e.type,!0),e;default:return""}}function Ul(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Ln:return"Portal";case Ol:return"Profiler";case Ti:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Po:return(e.displayName||"Context")+".Consumer";case zo:return(e._context.displayName||"Context")+".Provider";case Li:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi:return n=e.displayName||null,n!==null?n:Ul(e.type)||"Memo";case Ye:n=e._payload,e=e._init;try{return Ul(e(n))}catch{}}return null}function Fa(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ul(n);case 8:return n===Ti?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Lo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Oa(e){var n=Lo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Zt(e){e._valueTracker||(e._valueTracker=Oa(e))}function Mo(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Lo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function ku(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=sn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Do(e,n){n=n.checked,n!=null&&Pi(e,"checked",n,!1)}function Al(e,n){Do(e,n);var t=sn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,sn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Su(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Sr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var mt=Array.isArray;function Hn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=Jt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function zt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ia=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){Ia.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function Io(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||yt.hasOwnProperty(e)&&yt[e]?(""+n).trim():n+"px"}function jo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=Io(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var ja=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,n){if(n){if(ja[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function $l(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function Di(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Qn=null,Wn=null;function xu(e){if(e=$t(e)){if(typeof Yl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Gr(n),Yl(e.stateNode,e.type,n))}}function Uo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Vo(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xu(e),n)for(e=0;e>>=0,e===0?32:31-(Xa(e)/Ga|0)|0}var qt=64,bt=4194304;function vt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=vt(o):(i&=u,i!==0&&(r=vt(i)))}else u=t&~l,u!==0?r=vt(u):i!==0&&(r=vt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function ba(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wt),Ru=" ",Fu=!1;function is(e,n){switch(e){case"keyup":return zc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function us(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Tc(e,n){switch(e){case"compositionend":return us(n);case"keypress":return n.which!==32?null:(Fu=!0,Ru);case"textInput":return e=n.data,e===Ru&&Fu?null:e;default:return null}}function Lc(e,n){if(Dn)return e==="compositionend"||!Ai&&is(e,n)?(e=rs(),dr=ji=Je=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Uu(t)}}function cs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?cs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function fs(){for(var e=window,n=Sr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Sr(e.document)}return n}function Bi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Vc(e){var n=fs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&cs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Vu(t,i);var u=Vu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Rn=null,bl=null,St=null,ei=!1;function Au(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ei||Rn==null||Rn!==Sr(r)||(r=Rn,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),St&&Rt(St,r)||(St=r,r=Pr(bl,"onSelect"),0In||(e.current=ui[In],ui[In]=null,In--)}function D(e,n){In++,ui[In]=e.current,e.current=n}var an={},te=fn(an),se=fn(!1),En=an;function Gn(e,n){var t=e.type.contextTypes;if(!t)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Lr(){F(se),F(te)}function Yu(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function ks(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Fa(e)||"Unknown",l));return V({},t,r)}function Mr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=te.current,D(te,e),D(se,se.current),!0}function Xu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ks(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,F(se),F(te),D(te,e)):F(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Ss(e){je===null?je=[e]:je.push(e)}function Jc(e){Zr=!0,Ss(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=u,l-=u,Ue=1<<32-Pe(n)+l|t<N?(B=_,_=null):B=_.sibling;var T=p(c,_,f[N],h);if(T===null){_===null&&(_=B);break}e&&_&&T.alternate===null&&n(c,_),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T,_=B}if(N===f.length)return t(c,_),I&&vn(c,N),E;if(_===null){for(;NN?(B=_,_=null):B=_.sibling;var Ce=p(c,_,T.value,h);if(Ce===null){_===null&&(_=B);break}e&&_&&Ce.alternate===null&&n(c,_),a=i(Ce,a,N),x===null?E=Ce:x.sibling=Ce,x=Ce,_=B}if(T.done)return t(c,_),I&&vn(c,N),E;if(_===null){for(;!T.done;N++,T=f.next())T=m(c,T.value,h),T!==null&&(a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return I&&vn(c,N),E}for(_=r(c,_);!T.done;N++,T=f.next())T=g(_,c,N,T.value,h),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return e&&_.forEach(function(rt){return n(c,rt)}),I&&vn(c,N),E}function O(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Mn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Gt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Mn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&Ju(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ct(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Mn?(a=Sn(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=kr(f.type,f.key,f.props,null,c.mode,h),h.ref=ct(c,a,f),h.return=c,c=h)}return u(c);case Ln:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Rl(f,c.mode,h),a.return=c,c=a}return u(c);case Ye:return x=f._init,O(c,a,x(f._payload),h)}if(mt(f))return w(c,a,f,h);if(it(f))return k(c,a,f,h);ur(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Dl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return O}var Jn=_s(!0),Ns=_s(!1),Fr=fn(null),Or=null,Vn=null,$i=null;function Ki(){$i=Vn=Or=null}function Yi(e){var n=Fr.current;F(Fr),e._currentValue=n}function ai(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Kn(e,n){Or=e,$i=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(oe=!0),e.firstContext=null)}function Se(e){var n=e._currentValue;if($i!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Or===null)throw Error(y(308));Vn=e,Or.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var gn=null;function Xi(e){gn===null?gn=[e]:gn.push(e)}function zs(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,Xi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Qe(e,r)}function Qe(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Xe=!1;function Gi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ps(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ae(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function rn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Qe(e,t)}return l=r.interleaved,l===null?(n.next=n,Xi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Qe(e,t)}function mr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}function qu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=u:i=i.next=u,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Ir(e,n,t,r){var l=e.updateQueue;Xe=!1;var i=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,d=s.next;s.next=null,u===null?i=d:u.next=d,u=s;var v=e.alternate;v!==null&&(v=v.updateQueue,o=v.lastBaseUpdate,o!==u&&(o===null?v.firstBaseUpdate=d:o.next=d,v.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;u=0,v=d=s=null,o=i;do{var p=o.lane,g=o.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,k=o;switch(p=n,g=t,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=V({},m,p);break e;case 2:Xe=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},v===null?(d=v=g,s=m):v=v.next=g,u|=p;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;p=o,o=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=d,l.lastBaseUpdate=v,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);_n|=u,e.lanes=u,e.memoizedState=m}}function bu(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function $s(){return Ee().memoizedState}function nf(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ks(e))Ys(n,t);else if(t=zs(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),Xs(t,n,r)}}function tf(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ks(e))Ys(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,u)){var s=n.interleaved;s===null?(l.next=l,Xi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=zs(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),Xs(t,n,r))}}function Ks(e){var n=e.alternate;return e===U||n!==null&&n===U}function Ys(e,n){Et=Ur=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Xs(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},rf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:no,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,As.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hr(4194308,4,e,n)},useInsertionEffect:function(e,n){return hr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=nf.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:eo,useDebugValue:ru,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=eo(!1),n=e[0];return e=ef.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));xn&30||Ds(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,no(Fs.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Rs.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=De(),n=G.identifierPrefix;if(I){var t=Ve,r=Ue;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,la(e,n,!1,!1),n.stateNode=e;e:{switch(u=$l(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;let&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Q(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function df(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Lr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qn(),F(se),F(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(F(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,pf=typeof WeakSet=="function"?WeakSet:Set,S=null;function An(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function mf(e,n){if(ni=Nr,e=fs(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ti={focusedElem:e,selectionRange:t},Nr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,O=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),O);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){A(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=po,po=!1,w}function Ct(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}l=l.next}while(l!==r)}}function br(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function wi(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function oa(e){var n=e.alternate;n!==null&&(e.alternate=null,oa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Gc],delete n[Zc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sa(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ki(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Tr));else if(r!==4&&(e=e.child,e!==null))for(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)aa(e,n,t),t=t.sibling}function aa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(An(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){A(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function vo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new pf),n.forEach(function(r){var l=Cf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hf(r/1960))-r,10e?16:e,qe===null)var r=!1;else{if(e=qe,qe=null,Hr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sQ()-ou?kn(e,0):uu|=t),ce(e,n)}function ya(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Ef(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ya(e,t)}function Cf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),ya(e,t)}var ga;ga=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,cf(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Es(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=eu(null,n,r,e,l,t);var i=nu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=qr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(yr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=_f(r),e=_e(r,e),l){case 0:n=pi(null,n,r,e,t);break e;case 1:n=ao(null,n,r,e,t);break e;case 11:n=oo(null,n,r,e,t);break e;case 14:n=so(null,n,r,_e(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),pi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),ao(e,n,r,l,t);case 3:e:{if(na(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,Ps(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ns(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ts(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ea(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return ta(e,n,t);case 4:return Zi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Jn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),oo(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,D(Fr,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Kn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=_e(r,n.pendingProps),l=_e(r.type,l),so(e,n,r,l,t);case 15:return qs(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Gs(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ra(e,n,t);case 22:return bs(e,n,t)}throw Error(y(156,n.tag))};function wa(e,n){return Ko(e,n)}function xf(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new xf(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _f(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Mi)return 14}return 2}function on(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function kr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Ti:u=8,l|=8;break;case Ol:return e=we(12,t,n,l|2),e.elementType=Ol,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case To:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zo:u=10;break e;case Po:u=9;break e;case Li:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Sn(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function nl(e,n,t,r){return e=we(22,e,r,n),e.elementType=To,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Nf(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function du(e,n,t,r,l,i,u,o,s){return e=new Nf(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function zf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ca)}catch(e){console.error(e)}}Ca(),Co.exports=ve;var Df=Co.exports;const Ff=Na(Df);export{Ff as F,Df as r}; diff --git a/storybook-static/assets/index-DrFu-skq.js b/storybook-static/assets/index-DrFu-skq.js new file mode 100644 index 00000000..37c96b43 --- /dev/null +++ b/storybook-static/assets/index-DrFu-skq.js @@ -0,0 +1,6 @@ +function l(o){for(var f=[],i=1;ii.map(i=>d[i]); +var Nx=Object.defineProperty;var Hx=(e,t,r)=>t in e?Nx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>Hx(e,typeof t!="symbol"?t+"":t,r);import{_ as W4}from"./iframe-C4LTHpTP.js";import{r as l,R as y}from"./index-DJO9vBfz.js";import{j as J}from"./jsx-runtime-CkxqCPlQ.js";import{r as fs,F as G4}from"./index-DJdX7xnk.js";import{O as Y4,P as jx}from"./index-D-8MO0q_.js";import{y as fh,g as Eu}from"./index-j_8AUxV0.js";import{d as Vx}from"./index-DrFu-skq.js";var Ux=Object.create,K4=Object.defineProperty,qx=Object.getOwnPropertyDescriptor,Z4=Object.getOwnPropertyNames,Wx=Object.getPrototypeOf,Gx=Object.prototype.hasOwnProperty,xi=(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')}),mn=(e,t)=>function(){return t||(0,e[Z4(e)[0]])((t={exports:{}}).exports,t),t.exports},Yx=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Z4(t))!Gx.call(e,a)&&a!==r&&K4(e,a,{get:()=>t[a],enumerable:!(n=qx(t,a))||n.enumerable});return e},Y1=(e,t,r)=>(r=e!=null?Ux(Wx(e)):{},Yx(t||!e||!e.__esModule?K4(r,"default",{value:e,enumerable:!0}):r,e));function Kx(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),f()},p=null,m=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},v=()=>{h(),c()},g=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;m(),i&&x&&c()};return g.schedule=m,g.cancel=f,g.flush=v,r==null||r.addEventListener("abort",f,{once:!0}),g}function cV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,p=Kx(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:s}),m=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return m.cancel=p.cancel,m.flush=h,m}function Zx(e){return Array.from(new Set(e))}function Jx(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,hs=e=>`set-${e.replace(/\s+/g,"-")}`,oD=Object.create,K1=Object.defineProperty,iD=Object.getOwnPropertyDescriptor,lD=Object.getOwnPropertyNames,sD=Object.getPrototypeOf,uD=Object.prototype.hasOwnProperty,R=(e,t)=>K1(e,"name",{value:t,configurable:!0}),Di=(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')}),ms=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lD(t))!uD.call(e,a)&&a!==r&&K1(e,a,{get:()=>t[a],enumerable:!(n=iD(t,a))||n.enumerable});return e},Z1=(e,t,r)=>(r=e!=null?oD(sD(e)):{},cD(t||!e||!e.__esModule?K1(r,"default",{value:e,enumerable:!0}):r,e)),dD=ms(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,D=t?Symbol.for("react.responder"):60118,E=t?Symbol.for("react.scope"):60119;function b($){return typeof $=="string"||typeof $=="function"||$===a||$===p||$===i||$===o||$===h||$===f||typeof $=="object"&&$!==null&&($.$$typeof===g||$.$$typeof===v||$.$$typeof===s||$.$$typeof===c||$.$$typeof===m||$.$$typeof===x||$.$$typeof===D||$.$$typeof===E||$.$$typeof===w)}R(b,"isValidElementType");function C($){if(typeof $=="object"&&$!==null){var rt=$.$$typeof;switch(rt){case r:var Dt=$.type;switch(Dt){case d:case p:case a:case i:case o:case h:return Dt;default:var Mr=Dt&&Dt.$$typeof;switch(Mr){case c:case m:case g:case v:case s:return Mr;default:return rt}}case n:return rt}}}R(C,"typeOf");var S=d,k=p,A=c,_=s,I=r,B=m,z=a,L=g,M=v,O=n,P=i,j=o,U=h,V=!1;function G($){return V||(V=!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.")),Q($)||C($)===d}R(G,"isAsyncMode");function Q($){return C($)===p}R(Q,"isConcurrentMode");function ne($){return C($)===c}R(ne,"isContextConsumer");function Z($){return C($)===s}R(Z,"isContextProvider");function ie($){return typeof $=="object"&&$!==null&&$.$$typeof===r}R(ie,"isElement");function N($){return C($)===m}R(N,"isForwardRef");function K($){return C($)===a}R(K,"isFragment");function re($){return C($)===g}R(re,"isLazy");function fe($){return C($)===v}R(fe,"isMemo");function Ce($){return C($)===n}R(Ce,"isPortal");function xt($){return C($)===i}R(xt,"isProfiler");function He($){return C($)===o}R(He,"isStrictMode");function tt($){return C($)===h}R(tt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=k,e.ContextConsumer=A,e.ContextProvider=_,e.Element=I,e.ForwardRef=B,e.Fragment=z,e.Lazy=L,e.Memo=M,e.Portal=O,e.Profiler=P,e.StrictMode=j,e.Suspense=U,e.isAsyncMode=G,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=Z,e.isElement=ie,e.isForwardRef=N,e.isFragment=K,e.isLazy=re,e.isMemo=fe,e.isPortal=Ce,e.isProfiler=xt,e.isStrictMode=He,e.isSuspense=tt,e.isValidElementType=b,e.typeOf=C})()}),pD=ms((e,t)=>{t.exports=dD()}),J4=ms((e,t)=>{var r=pD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(w){return r.isMemo(w)?i:s[w.$$typeof]||n}R(c,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(w,x,D){if(typeof x!="string"){if(v){var E=f(x);E&&E!==v&&g(w,E,D)}var b=p(x);m&&(b=b.concat(m(x)));for(var C=c(w),S=c(x),k=0;k{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return R(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Di=="function"&&Di;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}R(i,"s");for(var s=typeof Di=="function"&&Di,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.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]},o.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)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Nt(){return Nt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?we(ka,--$e):0,la--,de===10&&(la=1,ys--),de}R(i3,"prev");function Oe(){return de=$e2||sa(de)>3?"":" "}R(l3,"whitespace");function s3(e,t){for(;--t&&Oe()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return Aa(e,bo()+(t<6&&dt()==32&&Oe()==32))}R(s3,"escaping");function Cl(e){for(;Oe();)switch(de){case e:return $e;case 34:case 39:e!==34&&e!==39&&Cl(de);break;case 40:e===41&&Cl(e);break;case 92:Oe();break}return $e}R(Cl,"delimiter");function u3(e,t){for(;Oe()&&e+de!==57&&!(e+de===84&&dt()===47););return"/*"+Aa(t,$e-1)+"*"+gs(e===47?e:Oe())}R(u3,"commenter");function c3(e){for(;!sa(dt());)Oe();return Aa(e,$e)}R(c3,"identifier");function d3(e){return ap(Eo("",null,null,null,[""],e=np(e),0,[0],e))}R(d3,"compile");function Eo(e,t,r,n,a,o,i,s,c){for(var d=0,p=0,m=i,h=0,f=0,v=0,g=1,w=1,x=1,D=0,E="",b=a,C=o,S=n,k=E;w;)switch(v=D,D=Oe()){case 40:if(v!=108&&we(k,m-1)==58){Dl(k+=ee(wo(D),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=wo(D);break;case 9:case 10:case 13:case 32:k+=l3(v);break;case 92:k+=s3(bo()-1,7);continue;case 47:switch(dt()){case 42:case 47:oo(p3(u3(Oe(),bo()),t,r),c);break;default:k+="/"}break;case 123*g:s[d++]=lt(k)*x;case 125*g:case 59:case 0:switch(D){case 0:case 125:w=0;case 59+p:x==-1&&(k=ee(k,/\f/g,"")),f>0&<(k)-m&&oo(f>32?Q0(k+";",n,r,m-1):Q0(ee(k," ","")+";",n,r,m-2),c);break;case 59:k+=";";default:if(oo(S=X0(k,t,r,d,p,a,s,E,b=[],C=[],m),o),D===123)if(p===0)Eo(k,t,S,S,b,o,m,s,C);else switch(h===99&&we(k,3)===110?100:h){case 100:case 108:case 109:case 115:Eo(e,S,S,n&&oo(X0(e,S,S,0,0,a,s,E,a,b=[],m),C),a,C,m,s,n?b:C);break;default:Eo(k,S,S,S,[""],C,0,s,C)}}d=p=f=0,g=x=1,E=k="",m=i;break;case 58:m=1+lt(k),f=v;default:if(g<1){if(D==123)--g;else if(D==125&&g++==0&&i3()==125)continue}switch(k+=gs(D),D*g){case 38:x=p>0?1:(k+="\f",-1);break;case 44:s[d++]=(lt(k)-1)*x,x=1;break;case 64:dt()===45&&(k+=wo(Oe())),h=dt(),p=m=lt(E=k+=c3(bo())),D++;break;case 45:v===45&<(k)==2&&(g=0)}}return o}R(Eo,"parse");function X0(e,t,r,n,a,o,i,s,c,d,p){for(var m=a-1,h=a===0?o:[""],f=vs(h),v=0,g=0,w=0;v0?h[x]+" "+D:ee(D,/&\f/g,h[x])))&&(c[w++]=E);return Ko(e,t,r,a===0?ep:s,c,d,p)}R(X0,"ruleset");function p3(e,t,r){return Ko(e,t,r,Q1,gs(o3()),ia(e,2,-2),0)}R(p3,"comment");function Q0(e,t,r,n){return Ko(e,t,r,tp,ia(e,0,n),ia(e,n+1,-1),n)}R(Q0,"declaration");function an(e,t){for(var r="",n=vs(e),a=0;a-1},"isIgnoringComment"),AD=R(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var c=i[s];if(c.line=0;r--)if(!m3(t[r]))return!0;return!1},"isPrependedWithRegularRules"),vh=R(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),_D=R(function(e,t,r){m3(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),vh(e)):FD(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),vh(e)))},"incorrectImportAlarm");function op(e,t){switch(t3(e,t)){case 5103:return te+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+xl+e+_e+e+e;case 6828:case 4268:return te+e+_e+e+e;case 6165:return te+e+_e+"flex-"+e+e;case 5187:return te+e+ee(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+_e+"flex-$1$2")+e;case 5443:return te+e+_e+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return te+e+_e+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+_e+ee(e,"shrink","negative")+e;case 5292:return te+e+_e+ee(e,"basis","preferred-size")+e;case 6060:return te+"box-"+ee(e,"-grow","")+te+e+_e+ee(e,"grow","positive")+e;case 4554:return te+ee(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+_e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,te+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(lt(e)-1-t>6)switch(we(e,t+1)){case 109:if(we(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+xl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Dl(e,"stretch")?op(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(we(e,t+1)!==115)break;case 6444:switch(we(e,lt(e)-3-(~Dl(e,"!important")&&10))){case 107:return ee(e,":",":"+te)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(we(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+_e+"$2box$3")+e}break;case 5936:switch(we(e,t+11)){case 114:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+_e+e+e}return e}R(op,"prefix");var RD=R(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case tp:e.return=op(e.value,e.length);break;case e3:return an([$n(e,{value:ee(e.value,"@","@"+te)})],n);case ep:if(e.length)return n3(e.props,function(a){switch(r3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return an([$n(e,{props:[ee(a,/:(read-\w+)/,":"+xl+"$1")]})],n);case"::placeholder":return an([$n(e,{props:[ee(a,/:(plac\w+)/,":"+te+"input-$1")]}),$n(e,{props:[ee(a,/:(plac\w+)/,":"+xl+"$1")]}),$n(e,{props:[ee(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),ID=[RD],BD=R(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. +If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||ID;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),w=1;w=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}R(g3,"murmur2");var OD={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},yh=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,MD="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",PD=/[A-Z]|^ms/g,v3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ip=R(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),bh=R(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),xu=J1(function(e){return ip(e)?e:e.replace(PD,"-$&").toLowerCase()}),Sl=R(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(v3,function(r,n,a){return Bt={name:n,styles:a,next:Bt},n})}return OD[e]!==1&&!ip(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");wh=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Eh=["normal","none","initial","inherit","unset"],xh=Sl,Dh=/^-ms-/,Ch=/-(.)/g,Du={},Sl=R(function(e,t){if(e==="content"&&(typeof t!="string"||Eh.indexOf(t)===-1&&!wh.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=xh(e,t);return r!==""&&!ip(e)&&e.indexOf("-")!==-1&&Du[e]===void 0&&(Du[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Dh,"ms-").replace(Ch,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var wh,Eh,xh,Dh,Ch,Du,y3="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ua(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(y3);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Bt={name:r.name,styles:r.styles,next:Bt},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Bt={name:n.name,styles:n.styles,next:Bt},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return b3(e,t,r)}case"function":{if(e!==void 0){var o=Bt,i=r(e);return Bt=o,ua(e,t,i)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var s=[],c=r.replace(v3,function(p,m,h){var f="animation"+s.length;return s.push("const "+f+" = keyframes`"+h.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+c+"`"]).join(` +`)+` + +You should wrap it with \`css\` like this: + +`+("css`"+c+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}R(ua,"handleInterpolation");function b3(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Nt({},e,t)},"getTheme"),jD=mh(function(e){return mh(function(t){return HD(e,t)})}),D3=R(function(e){var t=l.useContext(ir);return e.theme!==t&&(t=jD(t)(e.theme)),l.createElement(ir.Provider,{value:t},e.children)},"ThemeProvider");function VD(e){var t=e.displayName||e.name||"Component",r=R(function(a,o){var i=l.useContext(ir);return l.createElement(e,Nt({theme:i,ref:o},a))},"render"),n=l.forwardRef(r);return n.displayName="WithTheme("+t+")",zD(n,e)}R(VD,"withTheme");var Ah="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Fh="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",UD=R(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ws(t,r,n),lp(function(){return Es(t,r,n)}),null},"Insertion"),qD=xs(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Ah],o=[n],i="";typeof e.className=="string"?i=bs(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=ca(o,void 0,l.useContext(ir));if(s.name.indexOf("-")===-1){var c=e[Fh];c&&(s=ca([s,"label:"+c+";"]))}i+=t.key+"-"+s.name;var d={};for(var p in e)ND.call(e,p)&&p!=="css"&&p!==Ah&&p!==Fh&&(d[p]=e[p]);return d.ref=r,d.className=i,l.createElement(l.Fragment,null,l.createElement(UD,{cache:t,serialized:s,isStringTag:typeof a=="string"}),l.createElement(a,d))});qD.displayName="EmotionCssPropInternal";Z1(J4());var WD={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},_h=!1,GD=xs(function(e,t){!_h&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),_h=!0);var r=e.styles,n=ca([r],void 0,l.useContext(ir)),a=l.useRef();return kh(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,c=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",o),i.hydrate([c])),a.current=[i,s],function(){i.flush()}},[t]),kh(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Es(t,n.next,!0),i.tags.length){var c=i.tags[i.tags.length-1].nextElementSibling;i.before=c,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});GD.displayName="EmotionGlobal";function Ds(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a},"classnames");function C3(e,t,r){var n=[],a=bs(e,n,r);return n.length<2?r:a+t(n)}R(C3,"merge");var KD=R(function(e){var t=e.cache,r=e.serializedArr;return lp(function(){for(var n=0;n96?JD:XD},"getDefaultShouldForwardProp"),Bh=R(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),Th=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,QD=R(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ws(t,r,n),lp(function(){return Es(t,r,n)}),null},"Insertion"),eC=R(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. +You may have forgotten to import it.`);var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=Bh(t,r,n),c=s||Ih(a),d=!c("as");return function(){var p=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)m.push.apply(m,p);else{p[0][0]===void 0&&console.error(Th),m.push(p[0][0]);for(var h=p.length,f=1;f1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}R(pa,"hslToRgb");var zh={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 I3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return zh[t]?"#"+zh[t]:e}R(I3,"nameToHex");var nC=/^#[a-fA-F0-9]{6}$/,aC=/^#[a-fA-F0-9]{8}$/,oC=/^#[a-fA-F0-9]{3}$/,iC=/^#[a-fA-F0-9]{4}$/,Au=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,lC=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,sC=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,uC=/^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 Zo(e){if(typeof e!="string")throw new zt(3);var t=I3(e);if(t.match(nC))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(aC)){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(oC))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(iC)){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=Au.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=lC.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 i=sC.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+pa(s,c,d)+")",m=Au.exec(p);if(!m)throw new zt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=uC.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+pa(f,v,g)+")",x=Au.exec(w);if(!x)throw new zt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new zt(5)}R(Zo,"parseToRgb");function B3(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),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,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?Bo(e,t,r):"rgba("+pa(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Bo(e.hue,e.saturation,e.lightness):"rgba("+pa(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new zt(2)}R(L3,"hsla");function Fl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ed("#"+gr(e)+gr(t)+gr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ed("#"+gr(e.red)+gr(e.green)+gr(e.blue));throw new zt(6)}R(Fl,"rgb");function fa(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Zo(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?Fl(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?Fl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new zt(7)}R(fa,"rgba");var dC=R(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),pC=R(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),fC=R(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),hC=R(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function dp(e){if(typeof e!="object")throw new zt(8);if(pC(e))return fa(e);if(dC(e))return Fl(e);if(hC(e))return L3(e);if(fC(e))return z3(e);throw new zt(8)}R(dp,"toColorString");function pp(e,t,r){return R(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):pp(e,t,n)},"fn")}R(pp,"curried");function Jo(e){return pp(e,e.length,[])}R(Jo,"curry");function Xo(e,t,r){return Math.max(e,Math.min(t,r))}R(Xo,"guard");function O3(e,t){if(t==="transparent")return t;var r=cp(t);return dp(Nt({},r,{lightness:Xo(0,1,r.lightness-parseFloat(e))}))}R(O3,"darken");var mC=Jo(O3),gC=mC;function M3(e,t){if(t==="transparent")return t;var r=cp(t);return dp(Nt({},r,{lightness:Xo(0,1,r.lightness+parseFloat(e))}))}R(M3,"lighten");var vC=Jo(M3),yC=vC;function P3(e,t){if(t==="transparent")return t;var r=Zo(t),n=typeof r.alpha=="number"?r.alpha:1,a=Nt({},r,{alpha:Xo(0,1,(n*100+parseFloat(e)*100)/100)});return fa(a)}R(P3,"opacify");var bC=Jo(P3),wC=bC;function $3(e,t){if(t==="transparent")return t;var r=Zo(t),n=typeof r.alpha=="number"?r.alpha:1,a=Nt({},r,{alpha:Xo(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return fa(a)}R($3,"transparentize");var EC=Jo($3),xC=EC,H={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"},vr={app:"#F6F9FC",bar:H.lightest,content:H.lightest,preview:H.lightest,gridCellSize:10,hoverable:xC(.9,H.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Lt={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}},N3=Z1(fD(),1),DC=(0,N3.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,N3.default)(1)(({color:e,background:t,typography:r})=>{let n=DC({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var CC={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:H.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Lt.fonts.base,fontCode:Lt.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:H.mediumdark,barHoverColor:H.secondary,barSelectedColor:H.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:H.lightest,inputBorderRadius:4},SC=CC,kC={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:vr.app,appContentBg:H.lightest,appPreviewBg:H.lightest,appBorderColor:H.border,appBorderRadius:4,fontBase:Lt.fonts.base,fontCode:Lt.fonts.mono,textColor:H.darkest,textInverseColor:H.lightest,textMutedColor:H.dark,barTextColor:H.mediumdark,barHoverColor:H.secondary,barSelectedColor:H.secondary,barBg:H.lightest,buttonBg:vr.app,buttonBorder:H.medium,booleanBg:H.mediumlight,booleanSelectedBg:H.lightest,inputBg:H.lightest,inputBorder:H.border,inputTextColor:H.darkest,inputBorderRadius:4},_l=kC,AC=(()=>{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})();const{logger:FC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Fu}=AC,_C=R(e=>({color:e}),"mkColor"),RC=R(e=>typeof e!="string"?(FC.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),IC=R(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),BC=R((e,t)=>e==="darken"?fa(`${gC(1,t)}`,.95):e==="lighten"?fa(`${yC(1,t)}`,.95):t,"applyPolished"),H3=R(e=>t=>{if(!RC(t)||!IC(t))return t;try{return BC(e,t)}catch{return t}},"colorFactory"),Ha=H3("lighten");H3("darken");var j3=R(()=>!Fu||!Fu.matchMedia?"light":Fu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),td={light:_l,dark:SC,normal:_l};j3();var TC={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},zC=sr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,V3=sr` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,LC=sr` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,OC=sr` + 0%, 100% { transform:translate3d(0,0,0); } + 12.5%, 62.5% { transform:translate3d(-4px,0,0); } + 37.5%, 87.5% { transform: translate3d(4px,0,0); } +`,MC=Ds` + animation: ${V3} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,PC=Ds` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,$C={rotate360:zC,glow:V3,float:LC,jiggle:OC,inlineGlow:MC,hoverable:PC},NC={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"},HC={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"},jC=R(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:_C(n)}),{}),"convertColors"),VC=R(({colors:e,mono:t})=>{let r=jC(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),UC={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},qC={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},WC=R(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:H.tertiary,ancillary:H.ancillary,orange:H.orange,gold:H.gold,green:H.green,seafoam:H.seafoam,purple:H.purple,ultraviolet:H.ultraviolet,lightest:H.lightest,lighter:H.lighter,light:H.light,mediumlight:H.mediumlight,medium:H.medium,mediumdark:H.mediumdark,dark:H.dark,darker:H.darker,darkest:H.darkest,border:H.border,positive:H.positive,negative:H.negative,warning:H.warning,critical:H.critical,defaultText:e.textColor||H.darkest,inverseText:e.textInverseColor||H.lightest,positiveText:H.positiveText,negativeText:H.negativeText,warningText:H.warningText}),"createColors"),rd=R((e=td[j3()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:c,fontBase:d,fontCode:p,textColor:m,textInverseColor:h,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:w,buttonBg:x,buttonBorder:D,booleanBg:E,booleanSelectedBg:b,inputBg:C,inputBorder:S,inputTextColor:k,inputBorderRadius:A,brandTitle:_,brandUrl:I,brandImage:B,brandTarget:z,gridCellSize:L,...M}=e;return{...M,base:t,color:WC(e),background:{app:a,bar:w,content:o,preview:i,gridCellSize:L||vr.gridCellSize,hoverable:vr.hoverable,positive:vr.positive,negative:vr.negative,warning:vr.warning,critical:vr.critical},typography:{fonts:{base:d,mono:p},weight:Lt.weight,size:Lt.size},animation:$C,easing:TC,input:{background:C,border:S,borderRadius:A,color:k},button:{background:x||C,border:D||S},boolean:{background:E||S,selectedBackground:b||C},layoutMargin:10,appBorderColor:s,appBorderRadius:c,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:w,brand:{title:_,url:I,image:B||(_?null:void 0),target:z},code:VC({colors:t==="light"?UC:qC,mono:p}),addonActionsTheme:{...t==="light"?HC:NC,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Lt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:wC(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Lt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:GC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var YC=R(e=>Object.keys(e).length===0,"isEmpty"),_u=R(e=>e!=null&&typeof e=="object","isObject"),KC=R((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),ZC=R(()=>Object.create(null),"makeObjectWithoutPrototype"),U3=R((e,t)=>e===t||!_u(e)||!_u(t)?{}:Object.keys(e).reduce((r,n)=>{if(KC(t,n)){let a=U3(e[n],t[n]);return _u(a)&&YC(a)||(r[n]=a),r}return r[n]=void 0,r},ZC()),"deletedDiff"),JC=U3;function q3(e){for(var t=[],r=1;r{if(!e)return rd(_l);let t=JC(_l,e);return Object.keys(t).length&&GC.warn(q3` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),rd(e)},"ensure"),nd="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",QC=Object.create,Cs=Object.defineProperty,eS=Object.getOwnPropertyDescriptor,tS=Object.getOwnPropertyNames,rS=Object.getPrototypeOf,nS=Object.prototype.hasOwnProperty,u=(e,t)=>Cs(e,"name",{value:t,configurable:!0}),Ci=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),T=(e,t)=>()=>(e&&(t=e(e=0)),t),q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Fa=(e,t)=>{for(var r in t)Cs(e,r,{get:t[r],enumerable:!0})},aS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of tS(t))!nS.call(e,a)&&a!==r&&Cs(e,a,{get:()=>t[a],enumerable:!(n=eS(t,a))||n.enumerable});return e},De=(e,t,r)=>(r=e!=null?QC(rS(e)):{},aS(t||!e||!e.__esModule?Cs(r,"default",{value:e,enumerable:!0}):r,e));function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u(X,"_extends")});function W3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var oS=T(()=>{u(W3,"_assertThisInitialized")});function ha(e,t){return ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},ha(e,t)}var fp=T(()=>{u(ha,"_setPrototypeOf")});function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Rl(e)}var iS=T(()=>{u(Rl,"_getPrototypeOf")}),Ss,hp=T(()=>{Ss=(()=>{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})()}),ks=q((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return u(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof Ci=="function"&&Ci;if(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}u(i,"s");for(var s=typeof Ci=="function"&&Ci,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.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]},o.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)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}u(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}u(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function As(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var mp=T(()=>{u(As,"_objectWithoutPropertiesLoose")});function G3(e,t){if(e==null)return{};var r,n,a=As(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var lS=T(()=>{mp(),u(G3,"_objectWithoutProperties")});function Il(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{u(Il,"_arrayLikeToArray")});function K3(e){if(Array.isArray(e))return Il(e)}var sS=T(()=>{Y3(),u(K3,"_arrayWithoutHoles")});function Z3(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var uS=T(()=>{u(Z3,"_iterableToArray")});function J3(e,t){if(e){if(typeof e=="string")return Il(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Il(e,t):void 0}}var cS=T(()=>{Y3(),u(J3,"_unsupportedIterableToArray")});function X3(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var dS=T(()=>{u(X3,"_nonIterableSpread")});function Q3(e){return K3(e)||Z3(e)||J3(e)||X3()}var pS=T(()=>{sS(),uS(),cS(),dS(),u(Q3,"_toConsumableArray")});function ma(e){"@babel/helpers - typeof";return ma=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},ma(e)}var ey=T(()=>{u(ma,"_typeof")});function ty(e,t){if(ma(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ma(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fS=T(()=>{ey(),u(ty,"toPrimitive")});function ry(e){var t=ty(e,"string");return ma(t)=="symbol"?t:t+""}var hS=T(()=>{ey(),fS(),u(ry,"toPropertyKey")});function gp(e,t,r){return(t=ry(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ny=T(()=>{hS(),u(gp,"_defineProperty")});function ad(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 Xr(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function oy(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return rl[t]||(rl[t]=ay(e)),rl[t]}function iy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=oy(n);return a.reduce(function(o,i){return Xr(Xr({},o),r[i])},t)}function od(e){return e.join(" ")}function ly(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Fs({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Fs(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,i=e.key,s=t.properties,c=t.type,d=t.tagName,p=t.value;if(c==="text")return p;if(d){var m=ly(r,o),h;if(!o)h=Xr(Xr({},s),{},{className:od(s.className)});else{var f=Object.keys(r).reduce(function(x,D){return D.split(".").forEach(function(E){x.includes(E)||x.push(E)}),x},[]),v=s.className&&s.className.includes("token")?["token"]:[],g=s.className&&v.concat(s.className.filter(function(x){return!f.includes(x)}));h=Xr(Xr({},s),{},{className:od(g)||void 0,style:iy(s.className,Object.assign({},s.style,a),r)})}var w=m(t.children);return y.createElement(d,X({key:i},h),w)}}var rl,sy=T(()=>{yt(),ny(),u(ad,"ownKeys"),u(Xr,"_objectSpread"),u(ay,"powerSetPermutations"),rl={},u(oy,"getClassNameCombinations"),u(iy,"createStyleObject"),u(od,"createClassNameString"),u(ly,"createChildren"),u(Fs,"createElement")}),uy,mS=T(()=>{uy=u(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function id(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 st(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return xo({children:C,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:k,showLineNumbers:n,wrapLongLines:c})}u(v,"createWrappedLine");function g(C,S){if(n&&S&&a){var k=yp(s,S,i);C.unshift(vp(S,k))}return C}u(g,"createUnwrappedLine");function w(C,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?v(C,S,k):g(C,S)}u(w,"createLine");for(var x=u(function(){var C=p[f],S=C.children[0].value,k=cy(S);if(k){var A=S.split(` +`);A.forEach(function(_,I){var B=n&&m.length+o,z={type:"text",value:"".concat(_,` +`)};if(I===0){var L=p.slice(h+1,f).concat(xo({children:[z],className:C.properties.className})),M=w(L,B);m.push(M)}else if(I===A.length-1){var O=p[f+1]&&p[f+1].children&&p[f+1].children[0],P={type:"text",value:"".concat(_)};if(O){var j=xo({children:[P],className:C.properties.className});p.splice(f+1,0,j)}else{var U=[P],V=w(U,B,C.properties.className);m.push(V)}}else{var G=[z],Q=w(G,B,C.properties.className);m.push(Q)}}),h=f}f++},"_loop");f{lS(),pS(),ny(),sy(),mS(),yy=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],u(id,"ownKeys"),u(st,"_objectSpread"),by=/\n/g,u(cy,"getNewLines"),u(dy,"getAllLineNumbers"),u(py,"AllLineNumbers"),u(fy,"getEmWidthOfNumber"),u(vp,"getInlineLineNumber"),u(yp,"assembleLineNumberStyles"),u(xo,"createLineElement"),u(bp,"flattenCodeTree"),u(hy,"processLines"),u(my,"defaultRenderer"),u(wp,"isHighlightJs"),u(gy,"getCodeTree"),u(vy,"default")}),vS=q((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}u(n,"Schema")}),yS=q((e,t)=>{var r=vS(),n=wy();t.exports=a;function a(o){for(var i=o.length,s=[],c=[],d=-1,p,m;++d{t.exports=r;function r(n){return n.toLowerCase()}u(r,"normalize")}),Ey=q((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}u(n,"Info")}),xp=q(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}u(r,"increment")}),xy=q((e,t)=>{var r=Ey(),n=xp();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(c,d,p,m){var h=-1,f;for(s(this,"space",m),r.call(this,c,d);++h{var r=Ep(),n=wy(),a=xy();t.exports=o;function o(i){var s=i.space,c=i.mustUseProperty||[],d=i.attributes||{},p=i.properties,m=i.transform,h={},f={},v,g;for(v in p)g=new a(v,m(d,v),p[v],s),c.indexOf(v)!==-1&&(g.mustUseProperty=!0),h[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(h,f,s)}u(o,"create")}),bS=q((e,t)=>{var r=Qo();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}u(n,"xlinkTransform")}),wS=q((e,t)=>{var r=Qo();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}u(n,"xmlTransform")}),ES=q((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}u(r,"caseSensitiveTransform")}),Dy=q((e,t)=>{var r=ES();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}u(n,"caseInsensitiveTransform")}),xS=q((e,t)=>{var r=Qo(),n=Dy();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),DS=q((e,t)=>{var r=xp(),n=Qo(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}u(s,"ariaTransform")}),CS=q((e,t)=>{var r=xp(),n=Qo(),a=Dy(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,c=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:c|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:p,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),SS=q((e,t)=>{var r=yS(),n=bS(),a=wS(),o=xS(),i=DS(),s=CS();t.exports=r([a,n,o,i,s])}),kS=q((e,t)=>{var r=Ep(),n=xy(),a=Ey(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function d(v,g){var w=r(g),x=g,D=a;return w in v.normal?v.property[v.normal[w]]:(w.length>4&&w.slice(0,4)===o&&i.test(g)&&(g.charAt(4)==="-"?x=p(g):g=m(g),D=n),new D(x,g))}u(d,"find");function p(v){var g=v.slice(5).replace(s,f);return o+g.charAt(0).toUpperCase()+g.slice(1)}u(p,"datasetToProperty");function m(v){var g=v.slice(4);return s.test(g)?v:(g=g.replace(c,h),g.charAt(0)!=="-"&&(g="-"+g),o+g)}u(m,"datasetToAttribute");function h(v){return"-"+v.toLowerCase()}u(h,"kebab");function f(v){return v.charAt(1).toUpperCase()}u(f,"camelcase")}),AS=q((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",c={},d=0,p,m,h;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var s=String(i||t).trim();return s===t?[]:s.split(n)}u(a,"parse");function o(i){return i.join(r).trim()}u(o,"stringify")}),_S=q(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],c=String(i||n),d=c.indexOf(t),p=0,m=!1,h;!m;)d===-1&&(d=c.length,m=!0),h=c.slice(p,d).trim(),(h||!m)&&s.push(h),p=d+1,d=c.indexOf(t,p);return s}u(a,"parse");function o(i,s){var c=s||{},d=c.padLeft===!1?n:r,p=c.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(p+t+d).trim()}u(o,"stringify")}),RS=q((e,t)=>{var r=kS(),n=Ep(),a=AS(),o=FS().parse,i=_S().parse;t.exports=c;var s={}.hasOwnProperty;function c(w,x,D){var E=D?g(D):null;return b;function b(S,k){var A=a(S,x),_=Array.prototype.slice.call(arguments,2),I=A.tagName.toLowerCase(),B;if(A.tagName=E&&s.call(E,I)?E[I]:I,k&&d(k,A)&&(_.unshift(k),k=null),k)for(B in k)C(A.properties,B,k[B]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function C(S,k,A){var _,I,B;A==null||A!==A||(_=r(w,k),I=_.property,B=A,typeof B=="string"&&(_.spaceSeparated?B=o(B):_.commaSeparated?B=i(B):_.commaOrSpaceSeparated&&(B=o(i(B).join(" ")))),I==="style"&&typeof A!="string"&&(B=v(B)),I==="className"&&S.className&&(B=S.className.concat(B)),S[I]=h(_,I,B))}}u(c,"factory");function d(w,x){return typeof w=="string"||"length"in w||p(x.tagName,w)}u(d,"isChildren");function p(w,x){var D=x.type;return w==="input"||!D||typeof D!="string"?!1:typeof x.children=="object"&&"length"in x.children?!0:(D=D.toLowerCase(),w==="button"?D!=="menu"&&D!=="submit"&&D!=="reset"&&D!=="button":"value"in x)}u(p,"isNode");function m(w,x){var D,E;if(typeof x=="string"||typeof x=="number"){w.push({type:"text",value:String(x)});return}if(typeof x=="object"&&"length"in x){for(D=-1,E=x.length;++D{var r=SS(),n=RS(),a=n(r,"div");a.displayName="html",t.exports=a}),BS=q((e,t)=>{t.exports=IS()}),TS=q((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),zS=q((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Cy=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}u(r,"decimal")}),LS=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}u(r,"hexadecimal")}),OS=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}u(r,"alphabetical")}),MS=q((e,t)=>{var r=OS(),n=Cy();t.exports=a;function a(o){return r(o)||n(o)}u(a,"alphanumerical")}),PS=q((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=i,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===i?!1:s}u(a,"decodeEntity")}),$S=q((e,t)=>{var r=TS(),n=zS(),a=Cy(),o=LS(),i=MS(),s=PS();t.exports=Q;var c={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,v=12,g=32,w=38,x=59,D=60,E=61,b=35,C=88,S=120,k=65533,A="named",_="hexadecimal",I="decimal",B={};B[_]=16,B[I]=10;var z={};z[A]=i,z[I]=a,z[_]=o;var L=1,M=2,O=3,P=4,j=5,U=6,V=7,G={};G[L]="Named character references must be terminated by a semicolon",G[M]="Numeric character references must be terminated by a semicolon",G[O]="Named character references cannot be empty",G[P]="Numeric character references cannot be empty",G[j]="Named character references must be known",G[U]="Numeric character references cannot be disallowed",G[V]="Numeric character references cannot be outside the permissible Unicode range";function Q(N,K){var re={},fe,Ce;K||(K={});for(Ce in m)fe=K[Ce],re[Ce]=fe??m[Ce];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),ne(N,re)}u(Q,"parseEntities");function ne(N,K){var re=K.additional,fe=K.nonTerminated,Ce=K.text,xt=K.reference,He=K.warning,tt=K.textContext,$=K.referenceContext,rt=K.warningContext,Dt=K.position,Mr=K.indent||[],An=N.length,Ct=0,bi=-1,Re=Dt.column||1,Pr=Dt.line||1,St="",Fn=[],kt,_n,At,Se,nt,ye,ce,Ft,wi,bu,$r,Pa,Nr,Kt,uh,$a,Ei,_t,be;for(typeof re=="string"&&(re=re.charCodeAt(0)),$a=Na(),Ft=He?$x:p,Ct--,An++;++Ct65535&&(ye-=65536,bu+=d(ye>>>10|55296),ye=56320|ye&1023),ye=bu+d(ye))):Kt!==A&&Ft(P,_t)),ye?(ch(),$a=Na(),Ct=be-1,Re+=be-Nr+1,Fn.push(ye),Ei=Na(),Ei.offset++,xt&&xt.call($,ye,{start:$a,end:Ei},N.slice(Nr-1,be)),$a=Ei):(Se=N.slice(Nr-1,be),St+=Se,Re+=Se.length,Ct=be-1)}else nt===10&&(Pr++,bi++,Re=0),nt===nt?(St+=d(nt),Re++):ch();return Fn.join("");function Na(){return{line:Pr,column:Re,offset:Ct+(Dt.offset||0)}}function $x(dh,ph){var wu=Na();wu.column+=ph,wu.offset+=ph,He.call(rt,G[dh],wu,dh)}function ch(){St&&(Fn.push(St),Ce&&Ce.call(tt,St,{start:$a,end:Na()}),St="")}}u(ne,"parse");function Z(N){return N>=55296&&N<=57343||N>1114111}u(Z,"prohibited");function ie(N){return N>=1&&N<=8||N===11||N>=13&&N<=31||N>=127&&N<=159||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534}u(ie,"disallowed")}),NS=q((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,s={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:u(function E(b){return b instanceof d?new d(b.type,E(b.content),b.alias):Array.isArray(b)?b.map(E):b.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var b=document.getElementsByTagName("script");for(var C in b)if(b[C].src==E)return b[C]}return null}},"currentScript"),isActive:u(function(E,b,C){for(var S="no-"+b;E;){var k=E.classList;if(k.contains(b))return!0;if(k.contains(S))return!1;E=E.parentElement}return!!C},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:u(function(E,b){var C=c.util.clone(c.languages[E]);for(var S in b)C[S]=b[S];return C},"extend"),insertBefore:u(function(E,b,C,S){S=S||c.languages;var k=S[E],A={};for(var _ in k)if(k.hasOwnProperty(_)){if(_==b)for(var I in C)C.hasOwnProperty(I)&&(A[I]=C[I]);C.hasOwnProperty(_)||(A[_]=k[_])}var B=S[E];return S[E]=A,c.languages.DFS(c.languages,function(z,L){L===B&&z!=E&&(this[z]=A)}),A},"insertBefore"),DFS:u(function E(b,C,S,k){k=k||{};var A=c.util.objId;for(var _ in b)if(b.hasOwnProperty(_)){C.call(b,_,b[_],S||_);var I=b[_],B=c.util.type(I);B==="Object"&&!k[A(I)]?(k[A(I)]=!0,E(I,C,null,k)):B==="Array"&&!k[A(I)]&&(k[A(I)]=!0,E(I,C,_,k))}},"DFS")},plugins:{},highlightAll:u(function(E,b){c.highlightAllUnder(document,E,b)},"highlightAll"),highlightAllUnder:u(function(E,b,C){var S={callback:C,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var k=0,A;A=S.elements[k++];)c.highlightElement(A,b===!0,S.callback)},"highlightAllUnder"),highlightElement:u(function(E,b,C){var S=c.util.getLanguage(E),k=c.languages[S];c.util.setLanguage(E,S);var A=E.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(A,S);var _=E.textContent,I={element:E,language:S,grammar:k,code:_};function B(L){I.highlightedCode=L,c.hooks.run("before-insert",I),I.element.innerHTML=I.highlightedCode,c.hooks.run("after-highlight",I),c.hooks.run("complete",I),C&&C.call(I.element)}if(u(B,"insertHighlightedCode"),c.hooks.run("before-sanity-check",I),A=I.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!I.code){c.hooks.run("complete",I),C&&C.call(I.element);return}if(c.hooks.run("before-highlight",I),!I.grammar){B(c.util.encode(I.code));return}if(b&&a.Worker){var z=new Worker(c.filename);z.onmessage=function(L){B(L.data)},z.postMessage(JSON.stringify({language:I.language,code:I.code,immediateClose:!0}))}else B(c.highlight(I.code,I.grammar,I.language))},"highlightElement"),highlight:u(function(E,b,C){var S={code:E,grammar:b,language:C};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),d.stringify(c.util.encode(S.tokens),S.language)},"highlight"),tokenize:u(function(E,b){var C=b.rest;if(C){for(var S in C)b[S]=C[S];delete b.rest}var k=new h;return f(k,k.head,E),m(E,k,b,k.head,0),g(k)},"tokenize"),hooks:{all:{},add:u(function(E,b){var C=c.hooks.all;C[E]=C[E]||[],C[E].push(b)},"add"),run:u(function(E,b){var C=c.hooks.all[E];if(!(!C||!C.length))for(var S=0,k;k=C[S++];)k(b)},"run")},Token:d};a.Prism=c;function d(E,b,C,S){this.type=E,this.content=b,this.alias=C,this.length=(S||"").length|0}u(d,"Token"),d.stringify=u(function E(b,C){if(typeof b=="string")return b;if(Array.isArray(b)){var S="";return b.forEach(function(B){S+=E(B,C)}),S}var k={type:b.type,content:E(b.content,C),tag:"span",classes:["token",b.type],attributes:{},language:C},A=b.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(k.classes,A):k.classes.push(A)),c.hooks.run("wrap",k);var _="";for(var I in k.attributes)_+=" "+I+'="'+(k.attributes[I]||"").replace(/"/g,""")+'"';return"<"+k.tag+' class="'+k.classes.join(" ")+'"'+_+">"+k.content+""},"stringify");function p(E,b,C,S){E.lastIndex=b;var k=E.exec(C);if(k&&S&&k[1]){var A=k[1].length;k.index+=A,k[0]=k[0].slice(A)}return k}u(p,"matchPattern");function m(E,b,C,S,k,A){for(var _ in C)if(!(!C.hasOwnProperty(_)||!C[_])){var I=C[_];I=Array.isArray(I)?I:[I];for(var B=0;B=A.reach);G+=V.value.length,V=V.next){var Q=V.value;if(b.length>E.length)return;if(!(Q instanceof d)){var ne=1,Z;if(O){if(Z=p(U,G,E,M),!Z||Z.index>=E.length)break;var re=Z.index,ie=Z.index+Z[0].length,N=G;for(N+=V.value.length;re>=N;)V=V.next,N+=V.value.length;if(N-=V.value.length,G=N,V.value instanceof d)continue;for(var K=V;K!==b.tail&&(NA.reach&&(A.reach=He);var tt=V.prev;Ce&&(tt=f(b,tt,Ce),G+=Ce.length),v(b,tt,ne);var $=new d(_,L?c.tokenize(fe,L):fe,P,fe);if(V=f(b,tt,$),xt&&f(b,V,xt),ne>1){var rt={cause:_+","+B,reach:He};m(E,b,C,V.prev,G,rt),A&&rt.reach>A.reach&&(A.reach=rt.reach)}}}}}}u(m,"matchGrammar");function h(){var E={value:null,prev:null,next:null},b={value:null,prev:E,next:null};E.next=b,this.head=E,this.tail=b,this.length=0}u(h,"LinkedList");function f(E,b,C){var S=b.next,k={value:C,prev:b,next:S};return b.next=k,S.prev=k,E.length++,k}u(f,"addAfter");function v(E,b,C){for(var S=b.next,k=0;k{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.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]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:u(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:u(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\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:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}u(r,"markup")}),ky=q((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.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\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,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:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}u(r,"css")}),HS=q((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.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:/[{}[\];(),.:]/}}u(r,"clike")}),jS=q((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.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}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.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:n.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:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.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:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.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:n.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"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.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")),n.languages.js=n.languages.javascript}u(r,"javascript")}),VS=q((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=k();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=BS(),o=$S(),i=NS(),s=Sy(),c=ky(),d=HS(),p=jS();n();var m={}.hasOwnProperty;function h(){}u(h,"Refractor"),h.prototype=i;var f=new h;t.exports=f,f.highlight=w,f.register=v,f.alias=g,f.registered=x,f.listLanguages=D,v(s),v(c),v(d),v(p),f.util.encode=C,f.Token.stringify=E;function v(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");f.languages[A.displayName]===void 0&&A(f)}u(v,"register");function g(A,_){var I=f.languages,B=A,z,L,M,O;_&&(B={},B[A]=_);for(z in B)for(L=B[z],L=typeof L=="string"?[L]:L,M=L.length,O=-1;++O{gS(),Si=De(VS()),ki=vy(Si.default,{}),ki.registerLanguage=function(e,t){return Si.default.register(t)},ki.alias=function(e,t){return Si.default.alias(e,t)},nl=ki}),qS=T(()=>{sy()}),WS=q((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:i,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),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})/};a.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;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.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}},i.inside=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,p=0;p{Lh=De(WS()),Ay=Lh.default}),Oh,Fy,YS=T(()=>{Oh=De(ky()),Fy=Oh.default}),KS=q((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",u(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(D){return typeof D!="string"&&D.type!=="comment"&&D.type!=="scalar"}),i=0;function s(D){return o[i+D]}u(s,"getToken");function c(D,E){E=E||0;for(var b=0;b0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var w=i;w=0&&p(x,"variable-input")}}}}},"afterTokenizeGraphql"))}u(r,"graphql")}),Mh,_y,ZS=T(()=>{Mh=De(KS()),_y=Mh.default}),JS=q((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(m,h){return RegExp(m.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}u(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.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"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\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 i=["function","function-variable","method","method-variable","property-access"],s=0;s{Ph=De(JS()),Ry=Ph.default}),QS=q((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}u(r,"json")}),$h,Iy,ek=T(()=>{$h=De(QS()),Iy=$h.default}),By=q((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(//g,function(){return i}).replace(//g,function(){return s}).replace(//g,function(){return c}),RegExp(h,f)}u(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var p=u(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),m=u(function(h){for(var f=[],v=0;v0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:w=!0),(w||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var x=p(g);v0&&(typeof h[v-1]=="string"||h[v-1].type==="plain-text")&&(x=p(h[v-1])+x,h.splice(v-1,1),v--),h[v]=new a.Token("plain-text",x,null,x)}g.content&&typeof g.content!="string"&&m(g.content)}},"walkTokens");a.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||m(h.tokens)})})(n)}u(r,"jsx")}),Nh,Ty,tk=T(()=>{Nh=De(By()),Ty=Nh.default}),rk=q((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(v){return v=v.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}u(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.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:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.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:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\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:i(/!?\[(?:(?!\]))+\](?:\([^\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(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(a.languages.markdown[v].inside.content.inside[g]=a.languages.markdown[g])})}),a.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(w){if(!(!w||typeof w=="string"))for(var x=0,D=w.length;x",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(w,x){if(x=x.toLowerCase(),x[0]==="#"){var D;return x[1]==="x"?D=parseInt(x.slice(2),16):D=Number(x.slice(1)),h(D)}else{var E=m[x];return E||w}}),g}u(f,"textContent"),a.languages.md=a.languages.markdown})(n)}u(r,"markdown")}),Hh,zy,nk=T(()=>{Hh=De(rk()),zy=Hh.default}),jh,Ly,ak=T(()=>{jh=De(Sy()),Ly=jh.default}),Oy=q((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.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/}),a.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 a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.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:o}}}}),a.languages.ts=a.languages.typescript})(n)}u(r,"typescript")}),ok=q((e,t)=>{var r=By(),n=Oy();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}u(a,"tsx")}),Vh,My,ik=T(()=>{Vh=De(ok()),My=Vh.default}),Uh,Py,lk=T(()=>{Uh=De(Oy()),Py=Uh.default}),sk=q((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",c=/(?:[^\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}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(m,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return m});return RegExp(f,h)}u(p,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\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:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}u(r,"yaml")}),qh,$y,uk=T(()=>{qh=De(sk()),$y=qh.default}),Wh,Ru,Dp,Ny=T(()=>{Wh=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Ru=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Ru.displayName="ActionButton",Dp=u(({actionItems:e,...t})=>y.createElement(Wh,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(Ru,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function Hy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function jy(...e){return t=>e.forEach(r=>Hy(r,t))}var ck=T(()=>{u(Hy,"setRef"),u(jy,"composeRefs")});function Gh(e){return l.isValidElement(e)&&e.type===Vy}function Yh(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function Kh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Bl,Ai,Vy,Uy=T(()=>{ck(),Bl=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Gh);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return J.jsx(Ai,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return J.jsx(Ai,{...n,ref:t,children:r})}),Bl.displayName="Slot",Ai=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=Kh(r);return l.cloneElement(r,{...Yh(n,r.props),ref:t?jy(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),Ai.displayName="SlotClone",Vy=u(({children:e})=>J.jsx(J.Fragment,{children:e}),"Slottable"),u(Gh,"isSlottable"),u(Yh,"mergeProps"),u(Kh,"getElementRef")}),Zh,Nn,dk=T(()=>{Uy(),Zh=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Nn=Zh.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Bl:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),J.jsx(s,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function qy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Wy(...e){return t=>e.forEach(r=>qy(r,t))}function yr(...e){return l.useCallback(Wy(...e),e)}var Gy=T(()=>{u(qy,"setRef"),u(Wy,"composeRefs"),u(yr,"useComposedRefs")}),Tl,Yy=T(()=>{Tl=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function Ky(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Jh(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Ky(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=io(n.current);o.current=s==="mounted"?d:"none"},[s]),Tl(()=>{let d=n.current,p=a.current;if(p!==e){let m=o.current,h=io(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Tl(()=>{if(t){let d=u(m=>{let h=io(n.current).includes(m.animationName);m.target===t&&h&&fs.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),p=u(m=>{m.target===t&&(o.current=io(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function io(e){return(e==null?void 0:e.animationName)||"none"}function Xh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Gn,pk=T(()=>{"use client";Gy(),Yy(),u(Ky,"useStateMachine"),Gn=u(e=>{let{present:t,children:r}=e,n=Jh(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=yr(n.ref,Xh(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),Gn.displayName="Presence",u(Jh,"usePresence"),u(io,"getAnimationName"),u(Xh,"getElementRef")});function Zy(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),c=r.length;r=[...r,i];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][c])||s,w=l.useMemo(()=>v,Object.values(v));return J.jsx(g.Provider,{value:w,children:f})}u(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][c])||s,v=l.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${o}\``)}return u(p,"useContext2"),d.displayName=o+"Provider",[d,p]}u(n,"createContext3");let a=u(()=>{let o=r.map(i=>l.createContext(i));return u(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,Jy(a,...t)]}function Jy(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((i,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var fk=T(()=>{u(Zy,"createContextScope"),u(Jy,"composeContextScopes")});function Er(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var hk=T(()=>{u(Er,"useCallbackRef")});function Xy(e){let t=l.useContext(Qy);return e||t||"ltr"}var Qy,mk=T(()=>{Qy=l.createContext(void 0),u(Xy,"useDirection")});function eb(e,[t,r]){return Math.min(r,Math.max(t,e))}var gk=T(()=>{u(eb,"clamp")});function hr(e,t,{checkForDefaultPrevented:r=!0}={}){return u(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var vk=T(()=>{u(hr,"composeEventHandlers")});function Qh(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function ja(e){return e?parseInt(e,10):0}function ld(e,t){let r=e/t;return isNaN(r)?0:r}function Do(e){let t=ld(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function em(e,t,r,n="ltr"){let a=Do(r),o=a/2,i=t||o,s=a-i,c=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,p=r.content-r.viewport,m=n==="ltr"?[0,p]:[p*-1,0];return Cp([c,d],m)(e)}function Iu(e,t,r="ltr"){let n=Do(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,c=r==="ltr"?[0,i]:[i*-1,0],d=eb(e,c);return Cp([0,i],[0,s])(d)}function Cp(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Bu(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Hr(e,t){let r=Er(t);Tl(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function tm(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=l.Children.only(n);return l.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var Fi,Tu,yk,rm,je,zu,Lu,Ou,at,Mu,nm,am,Pu,_i,om,im,lm,$u,Nu,Ua,Hu,sm,Ri,ju,um,cm,tb,rb,nb,ab,ob,bk=T(()=>{"use client";dk(),pk(),fk(),Gy(),hk(),mk(),Yy(),gk(),vk(),u(Qh,"useStateMachine"),Fi="ScrollArea",[Tu,yk]=Zy(Fi),[rm,je]=Tu(Fi),zu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,c]=l.useState(null),[d,p]=l.useState(null),[m,h]=l.useState(null),[f,v]=l.useState(null),[g,w]=l.useState(null),[x,D]=l.useState(0),[E,b]=l.useState(0),[C,S]=l.useState(!1),[k,A]=l.useState(!1),_=yr(t,B=>c(B)),I=Xy(a);return J.jsx(rm,{scope:r,type:n,dir:I,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:p,content:m,onContentChange:h,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:C,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:w,scrollbarYEnabled:k,onScrollbarYEnabledChange:A,onCornerWidthChange:D,onCornerHeightChange:b,children:J.jsx(Nn.div,{dir:I,...i,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),zu.displayName=Fi,Lu="ScrollAreaViewport",Ou=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,s=je(Lu,r),c=l.useRef(null),d=yr(t,c,s.onViewportChange);return J.jsxs(J.Fragment,{children:[J.jsx("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; +} +:where([data-radix-scroll-area-viewport]) { + display: flex; + flex-direction: column; + align-items: stretch; +} +:where([data-radix-scroll-area-content]) { + flex-grow: 1; +} +`},nonce:o}),J.jsx(Nn.div,{"data-radix-scroll-area-viewport":"",...i,asChild:a,ref:d,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:tm({asChild:a,children:n},p=>J.jsx("div",{"data-radix-scroll-area-content":"",ref:s.onContentChange,style:{minWidth:s.scrollbarXEnabled?"fit-content":void 0},children:p}))})]})}),Ou.displayName=Lu,at="ScrollAreaScrollbar",Mu=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=je(at,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,s=e.orientation==="horizontal";return l.useEffect(()=>(s?o(!0):i(!0),()=>{s?o(!1):i(!1)}),[s,o,i]),a.type==="hover"?J.jsx(nm,{...n,ref:t,forceMount:r}):a.type==="scroll"?J.jsx(am,{...n,ref:t,forceMount:r}):a.type==="auto"?J.jsx(Pu,{...n,ref:t,forceMount:r}):a.type==="always"?J.jsx(_i,{...n,ref:t}):null}),Mu.displayName=at,nm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=je(at,e.__scopeScrollArea),[o,i]=l.useState(!1);return l.useEffect(()=>{let s=a.scrollArea,c=0;if(s){let d=u(()=>{window.clearTimeout(c),i(!0)},"handlePointerEnter"),p=u(()=>{c=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return s.addEventListener("pointerenter",d),s.addEventListener("pointerleave",p),()=>{window.clearTimeout(c),s.removeEventListener("pointerenter",d),s.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),J.jsx(Gn,{present:r||o,children:J.jsx(Pu,{"data-state":o?"visible":"hidden",...n,ref:t})})}),am=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=je(at,e.__scopeScrollArea),o=e.orientation==="horizontal",i=Va(()=>c("SCROLL_END"),100),[s,c]=Qh("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 l.useEffect(()=>{if(s==="idle"){let d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[s,a.scrollHideDelay,c]),l.useEffect(()=>{let d=a.viewport,p=o?"scrollLeft":"scrollTop";if(d){let m=d[p],h=u(()=>{let f=d[p];m!==f&&(c("SCROLL"),i()),m=f},"handleScroll");return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[a.viewport,o,c,i]),J.jsx(Gn,{present:r||s!=="hidden",children:J.jsx(_i,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:hr(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:hr(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),Pu=l.forwardRef((e,t)=>{let r=je(at,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),s=e.orientation==="horizontal",c=Va(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=je(at,e.__scopeScrollArea),o=l.useRef(null),i=l.useRef(0),[s,c]=l.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=ld(s.viewport,s.content),p={...n,sizes:s,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:u(h=>o.current=h,"onThumbChange"),onThumbPointerUp:u(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:u(h=>i.current=h,"onThumbPointerDown")};function m(h,f){return em(h,i.current,s,f)}return u(m,"getScrollPosition"),r==="horizontal"?J.jsx(om,{...p,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let h=a.viewport.scrollLeft,f=Iu(h,s,a.dir);o.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:u(h=>{a.viewport&&(a.viewport.scrollLeft=h)},"onWheelScroll"),onDragScroll:u(h=>{a.viewport&&(a.viewport.scrollLeft=m(h,a.dir))},"onDragScroll")}):r==="vertical"?J.jsx(im,{...p,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let h=a.viewport.scrollTop,f=Iu(h,s);o.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:u(h=>{a.viewport&&(a.viewport.scrollTop=h)},"onWheelScroll"),onDragScroll:u(h=>{a.viewport&&(a.viewport.scrollTop=m(h))},"onDragScroll")}):null}),om=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=je(at,e.__scopeScrollArea),[i,s]=l.useState(),c=l.useRef(null),d=yr(t,c,o.onScrollbarXChange);return l.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),J.jsx(Nu,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Do(r)+"px",...e.style},onThumbPointerDown:u(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:u(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:u((p,m)=>{if(o.viewport){let h=o.viewport.scrollLeft+p.deltaX;e.onWheelScroll(h),Bu(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:u(()=>{c.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:ja(i.paddingLeft),paddingEnd:ja(i.paddingRight)}})},"onResize")})}),im=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=je(at,e.__scopeScrollArea),[i,s]=l.useState(),c=l.useRef(null),d=yr(t,c,o.onScrollbarYChange);return l.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),J.jsx(Nu,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Do(r)+"px",...e.style},onThumbPointerDown:u(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:u(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:u((p,m)=>{if(o.viewport){let h=o.viewport.scrollTop+p.deltaY;e.onWheelScroll(h),Bu(h,m)&&p.preventDefault()}},"onWheelScroll"),onResize:u(()=>{c.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:ja(i.paddingTop),paddingEnd:ja(i.paddingBottom)}})},"onResize")})}),[lm,$u]=Tu(at),Nu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:p,onResize:m,...h}=e,f=je(at,r),[v,g]=l.useState(null),w=yr(t,_=>g(_)),x=l.useRef(null),D=l.useRef(""),E=f.viewport,b=n.content-n.viewport,C=Er(p),S=Er(c),k=Va(m,10);function A(_){if(x.current){let I=_.clientX-x.current.left,B=_.clientY-x.current.top;d({x:I,y:B})}}return u(A,"handleDragScroll"),l.useEffect(()=>{let _=u(I=>{let B=I.target;v!=null&&v.contains(B)&&C(I,b)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[E,v,b,C]),l.useEffect(S,[n,S]),Hr(v,k),Hr(f.content,k),J.jsx(lm,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:Er(o),onThumbPointerUp:Er(i),onThumbPositionChange:S,onThumbPointerDown:Er(s),children:J.jsx(Nn.div,{...h,ref:w,style:{position:"absolute",...h.style},onPointerDown:hr(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),x.current=v.getBoundingClientRect(),D.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),A(_))}),onPointerMove:hr(e.onPointerMove,A),onPointerUp:hr(e.onPointerUp,_=>{let I=_.target;I.hasPointerCapture(_.pointerId)&&I.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=D.current,f.viewport&&(f.viewport.style.scrollBehavior=""),x.current=null})})})}),Ua="ScrollAreaThumb",Hu=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=$u(Ua,e.__scopeScrollArea);return J.jsx(Gn,{present:r||a.hasThumb,children:J.jsx(sm,{ref:t,...n})})}),sm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=je(Ua,r),i=$u(Ua,r),{onThumbPositionChange:s}=i,c=yr(t,m=>i.onThumbChange(m)),d=l.useRef(),p=Va(()=>{d.current&&(d.current(),d.current=void 0)},100);return l.useEffect(()=>{let m=o.viewport;if(m){let h=u(()=>{if(p(),!d.current){let f=cm(m,s);d.current=f,s()}},"handleScroll");return s(),m.addEventListener("scroll",h),()=>m.removeEventListener("scroll",h)}},[o.viewport,p,s]),J.jsx(Nn.div,{"data-state":i.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:hr(e.onPointerDownCapture,m=>{let h=m.target.getBoundingClientRect(),f=m.clientX-h.left,v=m.clientY-h.top;i.onThumbPointerDown({x:f,y:v})}),onPointerUp:hr(e.onPointerUp,i.onThumbPointerUp)})}),Hu.displayName=Ua,Ri="ScrollAreaCorner",ju=l.forwardRef((e,t)=>{let r=je(Ri,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?J.jsx(um,{...e,ref:t}):null}),ju.displayName=Ri,um=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=je(Ri,r),[o,i]=l.useState(0),[s,c]=l.useState(0),d=!!(o&&s);return Hr(a.scrollbarX,()=>{var m;let p=((m=a.scrollbarX)==null?void 0:m.offsetHeight)||0;a.onCornerHeightChange(p),c(p)}),Hr(a.scrollbarY,()=>{var m;let p=((m=a.scrollbarY)==null?void 0:m.offsetWidth)||0;a.onCornerWidthChange(p),i(p)}),d?J.jsx(Nn.div,{...n,ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),u(ja,"toInt"),u(ld,"getThumbRatio"),u(Do,"getThumbSize"),u(em,"getScrollPositionFromPointer"),u(Iu,"getThumbOffsetFromScroll"),u(Cp,"linearScale"),u(Bu,"isScrollingWithinScrollbarBounds"),cm=u((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return u(function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,s=r.top!==o.top;(i||s)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),u(Va,"useDebounceCallback"),u(Hr,"useResizeObserver"),u(tm,"getSubtree"),tb=zu,rb=Ou,nb=Mu,ab=Hu,ob=ju}),dm,pm,Vu,Uu,zl,Sp=T(()=>{bk(),dm=F(tb)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),pm=F(rb)({width:"100%",height:"100%"}),Vu=F(nb)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Uu=F(ab)(({theme:e})=>({flex:1,background:e.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%"}})),zl=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>y.createElement(dm,{scrollbarsize:a,offset:n,className:o},y.createElement(pm,{ref:i},e),t&&y.createElement(Vu,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Uu,null)),r&&y.createElement(Vu,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Uu,null)),t&&r&&y.createElement(ob,null))),zl.displayName="ScrollArea"}),kp={};Fa(kp,{SyntaxHighlighter:()=>Co,createCopyToClipboardFunction:()=>sd,default:()=>ib,supportedLanguages:()=>ud});const{logger:wk}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function sd(){return lo!=null&&lo.clipboard?e=>lo.clipboard.writeText(e):async e=>{let t=Hn.createElement("TEXTAREA"),r=Hn.activeElement;t.value=e,Hn.body.appendChild(t),t.select(),Hn.execCommand("copy"),Hn.body.removeChild(t),r.focus()}}var fm,lo,Hn,hm,ud,mm,gm,vm,ym,bm,wm,Em,qu,xm,Dm,Co,ib,_s=T(()=>{hp(),fm=De(ks(),1),qS(),GS(),YS(),ZS(),XS(),ek(),tk(),nk(),ak(),ik(),lk(),uk(),US(),Ny(),Sp(),{navigator:lo,document:Hn,window:hm}=Ss,ud={jsextra:Ry,jsx:Ty,json:Iy,yml:$y,md:zy,bash:Ay,css:Fy,html:Ly,tsx:My,typescript:Py,graphql:_y},Object.entries(ud).forEach(([e,t])=>{nl.registerLanguage(e,t)}),mm=(0,fm.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),gm=sd(),u(sd,"createCopyToClipboardFunction"),vm=F.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),ym=u(({children:e,className:t})=>y.createElement(zl,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),bm=F(ym)({position:"relative"},({theme:e})=>mm(e)),wm=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),Em=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),qu=u(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),xm=u(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Fs({node:qu(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),Dm=u((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>qu(a)),...n}):xm:e,"wrapRenderer"),Co=u(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:i=void 0,className:s=void 0,showLineNumbers:c=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,m]=l.useState("");l.useEffect(()=>{i?i(o,e).then(m):m(e.trim())},[e,o,i]);let[h,f]=l.useState(!1),v=l.useCallback(w=>{w.preventDefault(),gm(p).then(()=>{f(!0),hm.setTimeout(()=>f(!1),1500)}).catch(wk.error)},[p]),g=Dm(d.renderer,c);return y.createElement(vm,{bordered:n,padded:a,showLineNumbers:c,className:s},y.createElement(bm,null,y.createElement(nl,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:wm,CodeTag:Em,lineNumberContainerStyle:{},...d,renderer:g},p)),r?y.createElement(Dp,{actionItems:[{title:h?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),Co.registerLanguage=(...e)=>nl.registerLanguage(...e),ib=Co});function Cm(e){if(typeof e=="string")return Ms;if(Array.isArray(e))return Ps;if(!e)return;let{type:t}=e;if(Yp.has(t))return t}function Sm(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if($s(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=h7([...Yp].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function bt(e){return Fr(e),{type:Lo,contents:e}}function Ap(e,t){return Fr(t),{type:Oo,contents:t,n:e}}function pe(e,t={}){return Fr(e),Ns(t.expandedStates,!0),{type:va,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function lb(e){return Ap(Number.NEGATIVE_INFINITY,e)}function sb(e){return Ap({type:"root"},e)}function Fp(e){return Ns(e),{type:Mo,parts:e}}function To(e,t="",r={}){return Fr(e),t!==""&&Fr(t),{type:Po,breakContents:e,flatContents:t,groupId:r.groupId}}function ub(e,t){return Fr(e),{type:$o,contents:e,groupId:t.groupId,negate:t.negate}}function gn(e,t){Fr(e),Ns(t);let r=[];for(let n=0;nt===""))return"";break;case va:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===va&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Oo:case Lo:case $o:case Hl:if(!e.contents)return"";break;case Po:if(!e.flatContents&&!e.breakContents)return"";break;case Ps:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ya(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Ms:case $l:case Nl:case jl:case br:case Vl:case Ao:break;default:throw new Kp(e)}return e}function db(e){return Rs(e,t=>cb(t))}function Ke(e,t=m7){return Rs(e,r=>typeof r=="string"?gn(t,r.split(` +`)):r)}function km(e,t){let r=t===!0||t===fo?fo:vd,n=r===fo?vd:fo,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function Am(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Fm(e){return(e==null?void 0:e.type)==="front-matter"}function Wu(e,t){var r;if(e.type==="text"||e.type==="comment"||li(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)y7.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function _m(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return sb([e.startDelimiter,e.explicitLanguage,ae,n,n?ae:"",e.endDelimiter])}}function ei(e,t=!0){return[bt([xe,e]),t?xe:""]}function vn(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Je(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,s)=>{a=n(i,s)});let o=await t(e,r,t);return a?pe(o):ei(o)}function Rm(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":Je(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},vn)}function cd(e,t){if(!t)return;let r=E7(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function pb(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Im(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=pb(r,t.language)??cd(r,t.physicalFile)??cd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Bm(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function _p(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||un(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Bs(e,t)&&!Ht(e)&&e.type!=="interpolation")}function ti(e){return e.type==="attribute"||!e.parent||!e.prev?!1:fb(e.prev)}function fb(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ue(e){return e.type==="text"||e.type==="comment"}function Ht(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||ba(e)&&(e.name==="script"||e.name==="style"))}function hb(e){return e.children&&!Ht(e)}function mb(e){return Ht(e)||e.type==="interpolation"||Rp(e)}function Rp(e){return Mp(e).startsWith("pre")}function gb(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return li(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:un(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||un(e)&&e.parent||Ht(e.parent)||ri(e.parent,t)||!Sb(e.parent.cssDisplay))||e.prev&&!Fb(e.prev.cssDisplay))}}function vb(e,t){return li(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:un(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||un(e)&&e.parent||Ht(e.parent)||ri(e.parent,t)||!kb(e.parent.cssDisplay))||e.next&&!Ab(e.next.cssDisplay))}function yb(e){return _b(e.cssDisplay)&&!Ht(e)}function so(e){return li(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>Eb(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Tp(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||zp(e.lastChild))}function Ip(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function al(e){return Lp(e)||e.prev&&wb(e.prev)||Bp(e)}function wb(e){return Lp(e)||e.type==="element"&&e.fullName==="br"||Bp(e)}function Bp(e){return Tp(e)&&zp(e)}function Tp(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Lp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Is(e){return e.lastChild?Is(e.lastChild):e}function Eb(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Op(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function xb(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":si(t,{language:o})??Op(a)}function Db(e,t){if(!Bs(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return si(t,{language:a})??Op(n)}function Cb(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?si(t,{language:r}):"css"}function dd(e,t){return xb(e,t)??Cb(e,t)??Db(e,t)}function _a(e){return e==="block"||e==="list-item"||e.startsWith("table")}function Sb(e){return!_a(e)&&e!=="inline-block"}function kb(e){return!_a(e)&&e!=="inline-block"}function Ab(e){return!_a(e)}function Fb(e){return!_a(e)}function _b(e){return!_a(e)&&e!=="inline-block"}function un(e){return Mp(e).startsWith("pre")}function Rb(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Ib(e,t){var r;if(yn(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(Rb(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||ba(e))&&D7[e.name]||x7}}function Mp(e){return e.type==="element"&&(!e.namespace||ba(e))&&S7[e.name]||C7}function Bb(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=ct.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function $p(e){return Me(!1,Me(!1,e,"'","'"),""",'"')}function ur(e){return $p(e.value)}function ri(e,t){return yn(e,t)&&!A7.has(e.fullName)}function yn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Bs(e,t){return yn(e,t)&&(ri(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Tb(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function zb(e,t){let r=e.parent;if(!yn(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function Np(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Ke(t):Ke(Pp(Zp(t)),ae):gn(ve,ct.split(t))}function Hp(e,t){return yn(e,t)&&e.name==="script"}async function Lb(e,t){let r=[];for(let[n,a]of e.split(Jp).entries())if(n%2===0)r.push(Ke(a));else try{r.push(pe(["{{",bt([ve,await Je(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),ve,"}}"]))}catch{r.push("{{",Ke(a),"}}")}return r}function Ii({parser:e}){return(t,r,n)=>Je(ur(n.node),t,{parser:e},vn)}function Tm(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return F7;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return _7;if(n.startsWith("*"))return R7;let a=ur(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>ei(Fp(Np(r,a.trim())),!a.includes("@@"));if(Jp.test(a))return o=>Lb(a,o)}function zm(e,t){let{node:r}=e,n=ur(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function pd(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function Lm(e){let t=e.length,r,n,a,o,i,s=0,c;function d(f){let v,g=f.exec(e.substring(s));if(g)return[v]=g,s+=v.length,v}u(d,"p");let p=[];for(;;){if(d(z7),s>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}c=s,r=d(L7),n=[],r.slice(-1)===","?(r=r.replace(O7,""),h()):m()}function m(){for(d(T7),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(pd(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){s+=1,a&&n.push(a),h();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),h();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),h();return}else a+=i;else if(o==="after descriptor"&&!pd(i))if(i===""){h();return}else o="in descriptor",s-=1;s+=1}}u(m,"f");function h(){let f=!1,v,g,w,x,D={},E,b,C,S,k;for(x=0;xOb(ur(e.node))}function Ob(e){let t=P7(e),r=$7.filter(p=>t.some(m=>Object.prototype.hasOwnProperty.call(m,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=bd[n],o=t.map(p=>p.source.value),i=Math.max(...o.map(p=>p.length)),s=t.map(p=>p[n]?String(p[n].value):""),c=s.map(p=>{let m=p.indexOf(".");return m===-1?p.length:m}),d=Math.max(...c);return ei(gn([",",ve],o.map((p,m)=>{let h=[p],f=s[m];if(f){let v=i-p.length+1,g=d-c[m],w=" ".repeat(v+g);h.push(To(w," "),f+a)}return h})))}function Mb(e,t){let{node:r}=e,n=ur(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>ei(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Mm(e,t){let{root:r}=e;return ol.has(r)||ol.set(r,r.children.some(n=>Hp(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ol.get(r)}function Pb(e,t,r){let{node:n}=r,a=ur(n);return Je(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},vn)}function $b(e,t,{parseWithTs:r}){return Je(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function Nb(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function Hb(e,t,r,n){let a=ur(r.node),{left:o,operator:i,right:s}=jb(a),c=Hs(r,n);return[pe(await Je(`function _(${o}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await Je(s,e,{parser:c?"__ts_expression":"__js_expression"})]}function jb(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=Me(!1,a[1].trim(),n,""),s=i.match(r);s?(o.alias=i.replace(r,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=i;let c=[o.alias,o.iterator1,o.iterator2];if(!c.some((d,p)=>!d&&(p===0||c.slice(p+1).some(Boolean))))return{left:c.filter(Boolean).join(","),operator:a[2],right:o.for}}function Pm(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return Hb;if(n==="generic"&&Hp(r.parent,t))return Pb;let a=ur(r),o=Hs(e,t);if(Tb(r)||zb(r,t))return i=>$b(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>Vb(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>Ub(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>jp(a,i,{parseWithTs:o})}function Vb(e,t,{parseWithTs:r}){return Nb(e)?jp(e,t,{parseWithTs:r}):Je(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},vn)}function Ub(e,t,{parseWithTs:r}){return Je(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},vn)}function jp(e,t,{parseWithTs:r}){return Je(e,t,{parser:r?"__ts_expression":"__js_expression"},vn)}function $m(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[N7,Mb,B7,H7,I7]){let a=n(e,t);if(a)return qb(a)}}}function qb(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=Rs(o,i=>typeof i=="string"?Me(!1,i,'"',"""):i),[n.node.rawName,'="',pe(o),'"']}}function Nm(e){return Array.isArray(e)&&e.length>0}function ni(e){return e.sourceSpan.start.offset}function ai(e){return e.sourceSpan.end.offset}function Ll(e,t){return[e.isSelfClosing?"":Wb(e,t),Kn(e,t)]}function Wb(e,t){return e.lastChild&&ga(e.lastChild)?"":[Gb(e,t),Ts(e,t)]}function Kn(e,t){return(e.next?kr(e.next):Ia(e.parent))?"":[Ra(e,t),Sr(e,t)]}function Gb(e,t){return Ia(e)?Ra(e.lastChild,t):""}function Sr(e,t){return ga(e)?Ts(e.parent,t):oi(e)?zs(e.next):""}function Ts(e,t){if(Xp(!e.isSelfClosing),Vp(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Vp(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(ti(e)||_p(e.parent,t))}function kr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Ue(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ia(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Ue(Is(e.lastChild))&&!un(e)}function ga(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ue(Is(e))}function oi(e){return e.next&&!Ue(e.next)&&Ue(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Yb(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function ii(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Kb(e,t,r){var n;let{node:a}=e;if(!js(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&Yb(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?m=>o.includes(m.rawName):()=>!1,s=e.map(({node:m})=>i(m)?Ke(t.originalText.slice(ni(m),ai(m))):r(),"attrs"),c=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!yn(a,t)?ae:ve,p=[bt([c?" ":ve,gn(d,s)])];return a.firstChild&&ii(a.firstChild)||a.isSelfClosing&&Ia(a.parent)||c?p.push(a.isSelfClosing?" ":""):p.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ve:xe),p}function Zb(e){return e.firstChild&&ii(e.firstChild)?"":Ls(e)}function Ol(e,t,r){let{node:n}=e;return[Zn(n,t),Kb(e,t,r),n.isSelfClosing?"":Zb(n)]}function Zn(e,t){return e.prev&&oi(e.prev)?"":[Ar(e,t),zs(e)]}function Ar(e,t){return ii(e)?Ls(e.parent):kr(e)?Ra(e.prev,t):""}function zs(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Ls(e){switch(Xp(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Hm(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&ii(e.firstChild)&&(r-=Ls(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ga(e.lastChild)?n+=Ts(e,t).length:Ia(e)&&(n-=Ra(e.lastChild,t).length),t.originalText.slice(r,n)}function jm(e,t){let{node:r}=e;switch(r.type){case"element":if(Ht(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Bs(r,t)){let n=dd(r,t);return n?async(a,o)=>{let i=Qp(r,t),s=/^\s*$/u.test(i),c="";return s||(c=await a(Zp(i),{parser:n,__embeddedInHtml:!0}),s=c===""),[Ar(r,t),pe(Ol(e,t,o)),s?"":ae,c,s?"":ae,Ll(r,t),Sr(r,t)]}:void 0}break;case"text":if(Ht(r.parent)){let n=dd(r.parent,t);if(n)return async a=>{let o=n==="markdown"?Pp(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:c}=r.parent;c&&(c.type==="module"||c.type==="text/babel"&&c["data-type"]==="module")&&(s="module"),i.__babelSourceType=s}return[Xn,Ar(r,t),await a(o,i),Sr(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=Hs(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[bt([ve,await n(r.value,a)]),r.parent.next&&kr(r.parent.next)?" ":ve]};break;case"attribute":return j7(e,t);case"front-matter":return n=>b7(r,n);case"angularControlFlowBlockParameters":return V7.has(e.parent.name)?w7:void 0;case"angularLetDeclarationInitializer":return n=>Je(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function Jn(e){if(Vn!==null&&typeof Vn.property){let t=Vn;return Vn=Jn.prototype=null,t}return Vn=Jn.prototype=e??Object.create(null),new Jn}function Jb(e){return Jn(e)}function Vm(e,t="type"){Jb(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return u(r,"r"),r}function Xb(e){return/^\s*/u.test(e)}function Um(e){return` + +`+e}function Up(e){let t=ai(e);return e.type==="element"&&!e.endSourceSpan&&js(e.children)?Math.max(t,Up(ya(!1,e.children,-1))):t}function jn(e,t,r){let n=e.node;if(ti(n)){let a=Up(n);return[Ar(n,t),Ke(ct.trimEnd(t.originalText.slice(ni(n)+(n.prev&&oi(n.prev)?zs(n).length:0),a-(n.next&&kr(n.next)?Ra(n,t).length:0)))),Sr(n,t)]}return r()}function uo(e,t){return Ue(e)&&Ue(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?al(t)?ae:ve:"":al(t)?ae:xe:oi(e)&&(ti(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&kr(t)?"":!t.isLeadingSpaceSensitive||al(t)||kr(t)&&e.lastChild&&ga(e.lastChild)&&e.lastChild.lastChild&&ga(e.lastChild.lastChild)?ae:t.hasLeadingSpaces?ve:xe}function Os(e,t,r){let{node:n}=e;if(Ip(n))return[Xn,...e.map(o=>{let i=o.node,s=i.prev?uo(i.prev,i):"";return[s?[s,so(i.prev)?ae:""]:"",jn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let s=o.node;if(Ue(s)){if(s.prev&&Ue(s.prev)){let v=uo(s.prev,s);if(v)return so(s.prev)?[ae,ae,jn(o,t,r)]:[v,jn(o,t,r)]}return jn(o,t,r)}let c=[],d=[],p=[],m=[],h=s.prev?uo(s.prev,s):"",f=s.next?uo(s,s.next):"";return h&&(so(s.prev)?c.push(ae,ae):h===ae?c.push(ae):Ue(s.prev)?d.push(h):d.push(To("",xe,{groupId:a[i-1]}))),f&&(so(s)?Ue(s.next)&&m.push(ae,ae):f===ae?Ue(s.next)&&m.push(ae):p.push(f)),[...c,pe([...d,pe([jn(o,t,r),...p],{id:a[i]})]),...m]},"children")}function Qb(e,t,r){let{node:n}=e,a=[];e7(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",pe(r("parameters")),")"),a.push(" {");let o=qp(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(bt([ae,Os(e,t,r)])),o&&a.push(ae,"}")):o&&a.push("}"),pe(a,{shouldBreak:!0})}function qp(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=U7.get(e.name))!=null&&r.has(e.next.name))}function e7(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!ti(t)&&!qp(t)}function t7(e,t,r){return[bt([xe,gn([";",ve],e.map(r,"children"))]),xe]}function r7(e,t,r){let{node:n}=e;return[Zn(n,t),pe([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",bt([ve,gn(ve,e.map(r,"cases"))])]:"",xe]),Kn(n,t)]}function n7(e,t,r){let{node:n}=e;return[n.value," {",pe([bt([xe,e.map(({node:a})=>a.type==="text"&&!ct.trim(a.value)?"":r(),"expression")]),xe]),"}"]}function a7(e,t,r){let{node:n}=e;if(_p(n,t))return[Ar(n,t),pe(Ol(e,t,r)),Ke(Qp(n,t)),...Ll(n,t),Sr(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=u(p=>pe([pe(Ol(e,t,r),{id:o}),p,Ll(n,t)]),"a"),s=u(p=>a?ub(p,{groupId:o}):(Ht(n)||ri(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:bt(p),"o"),c=u(()=>a?To(xe,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?ve:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?lb(xe):xe,"u"),d=u(()=>(n.next?kr(n.next):Ia(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?To(xe,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?ve:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":xe,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?ve:""):i([bb(n)?Xn:"",s([c(),Os(e,t,r)]),d()])}function So(e){return e>=9&&e<=32||e==160}function Ml(e){return 48<=e&&e<=57}function ko(e){return e>=97&&e<=122||e>=65&&e<=90}function o7(e){return e>=97&&e<=102||e>=65&&e<=70||Ml(e)}function Bi(e){return e===10||e===13}function Gu(e){return 48<=e&&e<=55}function Ti(e){return e===39||e===34||e===96}function qm(e){return e.replace(q7,(...t)=>t[1].toUpperCase())}function Wm(e,t){for(let r of W7)r(e,t);return e}function Gm(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` +`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Ym(e){let t=u(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function Zm(e){let t=u(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!ct.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+i.value,o.sourceSpan=new Y(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function Jm(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(hb(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,i=null,s=a.value.split(r);for(let c=0;c0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new Y(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new Y(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new Y(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function Xm(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&ct.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=mb(t),n=Rp(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function eg(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function tg(e,t){e.walk(r=>{r.cssDisplay=Ib(r,t)})}function rg(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=yb(r);return}for(let a of n)a.isLeadingSpaceSensitive=gb(a,t),a.isTrailingSpaceSensitive=vb(a,t);for(let a=0;a{!Ga[t]&&co(t)===null&&(Ga[t]=new W({canSelfClose:!1}))})),Ga[e]??o5}function fd(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let i=a(o);i&&n.push(i)}),n}function og(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];K7.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function ig(e,t,r,n={}){let a=new J7(new ef(e,t),r,n);return a.tokenize(),new Z7(l7(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function jr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Ju(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function lg(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ue(e){return!So(e)||e===0}function Xu(e){return So(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function sg(e){return(e<97||12257)}function ug(e){return e===59||e===0||!o7(e)}function cg(e){return e===59||e===0||!ko(e)}function dg(e){return e!==125}function pg(e,t){return hd(e)===hd(t)}function hd(e){return e>=97&&e<=122?e-97+65:e}function Qu(e){return ko(e)||Ml(e)||e===95}function ec(e){return e!==59&&ue(e)}function l7(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function rc(e,t){return Fo[t]!==void 0?Fo[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function md(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:s=!1}=t;return X7().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:s},a,o)}function fg(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function s7(e){let t=e.slice(0,Un);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` +`,Un);if(r===-1)return;let n=e.slice(Un,r).trim(),a=e.indexOf(` +${t}`,r),o=n;if(o||(o=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&o==="yaml"&&(a=e.indexOf(` +...`,r)),a===-1)return;let i=a+1+Un,s=e.charAt(i+1);if(!/\s?/u.test(s))return;let c=e.slice(0,i);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:c.slice(-Un),raw:c}}function hg(e){let t=s7(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Me(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function mg(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function u7(e,t){if(e.value)for(let{regex:r,parse:n}of rw){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function gg(e,t,r){let[,n,a,o]=r,i=4+n.length,s=e.sourceSpan.start.moveBy(i),c=s.moveBy(o.length),[d,p]=(()=>{try{return[!0,t(o,s).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new Y(s,c)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:Me(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new Y(e.sourceSpan.start,s),endSourceSpan:new Y(c,e.sourceSpan.end)}}function vg(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Me(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function yg(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function c7(e){if(e.type==="block"){if(e.name=Me(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!js(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new Y(e.parameters[0].sourceSpan.start,ya(!1,e.parameters,-1).sourceSpan.end)}}}function d7(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new Y(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function p7(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Wp(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:c=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:m}=md(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:c,getTagContentType:d?(...D)=>d(...D)?ut.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(C=>C.type==="docType"&&C.value==="html"||C.type==="element"&&C.name.toLowerCase()==="html"))return Wp(e,wd,r);let D,E=u(()=>D??(D=md(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:c})),"y"),b=u(C=>E().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===C.startSourceSpan.start.offset)??C,"M");for(let[C,S]of p.entries()){let{endSourceSpan:k,startSourceSpan:A}=S;if(k===null)m=E().errors,p[C]=b(S);else if(f7(S,r)){let _=E().errors.find(I=>I.span.start.offset>A.start.offset&&I.span.start.offset0&&gd(m[0]);let h=u(D=>{let E=D.name.startsWith(":")?D.name.slice(1).split(":")[0]:null,b=D.nameSpan.toString(),C=E!==null&&b.startsWith(`${E}:`),S=C?b.slice(E.length+1):b;D.name=S,D.namespace=E,D.hasExplicitNamespace=C},"d"),f=u(D=>{switch(D.type){case"element":h(D);for(let E of D.attrs)h(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":D.value=D.sourceSpan.toString().slice(4,-3);break;case"text":D.value=D.sourceSpan.toString();break}},"C"),v=u((D,E)=>{let b=D.toLowerCase();return E(b)?b:D},"A"),g=u(D=>{if(D.type==="element"&&(o&&(!D.namespace||D.namespace===D.tagDefinition.implicitNamespacePrefix||ba(D))&&(D.name=v(D.name,E=>nw.has(E))),i))for(let E of D.attrs)E.namespace||(E.name=v(E.name,b=>ll.has(D.name)&&(ll.get("*").has(b)||ll.get(D.name).has(b))))},"D"),w=u(D=>{D.sourceSpan&&D.endSourceSpan&&(D.sourceSpan=new Y(D.sourceSpan.start,D.endSourceSpan.end))},"R"),x=u(D=>{if(D.type==="element"){let E=Pl(c?D.name:D.name.toLowerCase());!D.namespace||D.namespace===E.implicitNamespacePrefix||ba(D)?D.tagDefinition=E:D.tagDefinition=Pl("")}},"F");return fd(new class extends Y7{visitExpansionCase(D,E){n==="angular"&&this.visitChildren(E,b=>{b(D.expression)})}visit(D){f(D),x(D),g(D),w(D)}},p),p}function f7(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||si(t,{language:n})==="html"}function gd(e){let{msg:t,span:{start:r,end:n}}=e;throw Q7(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Gp(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?ew(e):{frontMatter:null,content:e},i=new ef(e,r.filepath),s=new Ul(i,0,0,0),c=s.moveBy(e.length),d={type:"root",sourceSpan:new Y(s,c),children:Wp(o,t,r)};if(a){let h=new Ul(i,0,0,0),f=h.moveBy(a.raw.length);a.sourceSpan=new Y(h,f),d.children.unshift(a)}let p=new tw(d),m=u((h,f)=>{let{offset:v}=f,g=Me(!1,e.slice(0,v),/[^\n\r]/gu," "),w=Gp(g+h,t,r,!1);w.sourceSpan=new Y(f,ya(!1,w.children,-1).sourceSpan.end);let x=w.children[0];return x.length===v?w.children.shift():(x.sourceSpan=new Y(x.sourceSpan.start.moveBy(v),x.sourceSpan.end),x.value=x.value.slice(v)),w},"f");return p.walk(h=>{if(h.type==="comment"){let f=u7(h,m);f&&h.parent.replaceChild(h,f)}c7(h),d7(h),p7(h)}),p}function Wa(e){return{parse:u((t,r)=>Gp(t,e,r),"parse"),hasPragma:Xb,astFormat:"html",locStart:ni,locEnd:ai}}var bg,nc,ac,oc,Zt,wg,Eg,ic,xg,Me,Ms,Ps,$l,Lo,Oo,Nl,va,Mo,Po,$o,Hl,jl,br,Vl,Ao,Yp,$s,h7,lc,Dg,Kp,sc,Fr,Ns,Xn,Cg,Sg,ve,xe,ae,m7,kg,ya,fo,vd,g7,ot,uc,Ag,Fg,_g,Rg,ct,cc,Ig,v7,li,Bg,y7,Tg,b7,w7,E7,si,x7,D7,C7,S7,ba,zg,Zp,k7,A7,Jp,F7,_7,R7,I7,B7,T7,z7,L7,O7,yd,M7,P7,bd,$7,N7,ol,Hs,H7,j7,dc,Xp,js,Qp,V7,Lg,Vn,Og,Mg,Pg,$g,Ng,Hg,U7,q7,zi,Ul,pc,ef,fc,Y,Li,hc,mc,W7,jg,Vg,Ug,qg,gc,vc,Wg,Gg,yc,Yg,Kg,Zg,bc,wc,Qr,Jg,ut,il,Ec,Xg,Qg,e5,t5,r5,n5,xc,a5,Dc,G7,Cc,W,o5,Ga,Sc,Vr,kc,i5,Ac,l5,Fc,s5,_c,u5,Rc,c5,Ic,Jt,Bc,d5,Tc,p5,zc,Ur,Lc,Oc,Mc,Pc,$c,Y7,Fo,f5,K7,Oi,h5,Nc,Hc,Mi,jc,Z7,m5,Pi,Vc,$i,Uc,J7,Ya,qc,Ka,g5,Wc,Ni,Hi,ke,Gc,v5,Yc,y5,ji,b5,Kc,w5,Vi,X7,Q7,Un,ew,Za,Zc,qr,tw,rw,ll,nw,wd,E5,x5,D5,C5,S5,aw,Ek=T(()=>{bg=Object.defineProperty,nc=u(e=>{throw TypeError(e)},"Xr"),ac=u((e,t)=>{for(var r in t)bg(e,r,{get:t[r],enumerable:!0})},"Jr"),oc=u((e,t,r)=>t.has(e)||nc("Cannot "+r),"Zr"),Zt=u((e,t,r)=>(oc(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),wg=u((e,t,r)=>t.has(e)?nc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),Eg=u((e,t,r,n)=>(oc(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),ic={},ac(ic,{languages:u(()=>qg,"languages"),options:u(()=>Gg,"options"),parsers:u(()=>yc,"parsers"),printers:u(()=>S5,"printers")}),xg=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),Me=xg,Ms="string",Ps="array",$l="cursor",Lo="indent",Oo="align",Nl="trim",va="group",Mo="fill",Po="if-break",$o="indent-if-break",Hl="line-suffix",jl="line-suffix-boundary",br="line",Vl="label",Ao="break-parent",Yp=new Set([$l,Lo,Oo,Nl,va,Mo,Po,$o,Hl,jl,br,Vl,Ao]),u(Cm,"ii"),$s=Cm,h7=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),u(Sm,"oi"),Dg=(lc=class extends Error{constructor(t){super(Sm(t));Rn(this,"name","InvalidDocError");this.doc=t}},u(lc,"lr"),lc),Kp=Dg,sc=u(()=>{},"rn"),Fr=sc,Ns=sc,u(bt,"k"),u(Ap,"nn"),u(pe,"_"),u(lb,"sn"),u(sb,"an"),u(Fp,"At"),u(To,"ge"),u(ub,"on"),Xn={type:Ao},Cg={type:br,hard:!0},Sg={type:br,hard:!0,literal:!0},ve={type:br},xe={type:br,soft:!0},ae=[Cg,Xn],m7=[Sg,Xn],u(gn,"q"),kg=u((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),ya=kg,u(Rs,"Dt"),u(cb,"pi"),u(db,"ln"),u(Ke,"B"),fo="'",vd='"',u(km,"hi"),g7=km,u(Am,"cr"),Ag=(uc=class{constructor(e){wg(this,ot),Eg(this,ot,new Set(e))}getLeadingWhitespaceCount(e){let t=Zt(this,ot),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return Zt(this,ot).has(e.charAt(0))}hasTrailingWhitespace(e){return Zt(this,ot).has(ya(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Am([...Zt(this,ot)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=Zt(this,ot);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=Zt(this,ot);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=Zt(this,ot);return Array.prototype.every.call(e,r=>t.has(r))}},u(uc,"pr"),uc),ot=new WeakMap,Fg=Ag,_g=[" ",` +`,"\f","\r"," "],Rg=new Fg(_g),ct=Rg,Ig=(cc=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);Rn(this,"name","UnexpectedNodeError");this.node=t}},u(cc,"hr"),cc),v7=Ig,u(Fm,"di"),li=Fm,Bg=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),y7=new Set(["if","else if","for","switch","case"]),u(Wu,"fn"),Wu.ignoredProperties=Bg,Tg=Wu,u(_m,"Si"),b7=_m,u(ei,"Ce"),u(vn,"j"),u(Je,"T"),u(Rm,"_i"),w7=Rm,E7=u(e=>String(e).split(/[/\\]/u).pop(),"Ei"),u(cd,"Sn"),u(pb,"Ai"),u(Im,"Di"),si=Im,x7="inline",D7={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},C7="normal",S7={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},u(Bm,"vi"),ba=Bm,zg=u(e=>Me(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Zp=u(e=>zg(ct.trimEnd(e)),"mr"),k7=u(e=>{let t=e,r=ct.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=ct.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),u(_p,"yt"),u(ti,"Ee"),u(fb,"wi"),u(Ue,"$"),u(Ht,"U"),u(hb,"yn"),u(mb,"wn"),u(Rp,"fr"),u(gb,"bn"),u(vb,"Tn"),u(yb,"xn"),u(so,"Qe"),u(bb,"kn"),u(Ip,"dr"),u(al,"wt"),u(wb,"bi"),u(Bp,"Bn"),u(Tp,"Ln"),u(zp,"Fn"),u(Lp,"Nn"),u(Is,"bt"),u(Eb,"Ti"),u(Op,"Pn"),u(xb,"xi"),u(Db,"ki"),u(Cb,"Bi"),u(dd,"gr"),u(_a,"Xe"),u(Sb,"Li"),u(kb,"Fi"),u(Ab,"Ni"),u(Fb,"Pi"),u(_b,"Ii"),u(un,"_e"),u(Rb,"Ri"),u(Ib,"In"),u(Mp,"Rn"),u(Bb,"$i"),u(Pp,"Cr"),u($p,"Sr"),u(ur,"P"),A7=new Set(["template","style","script"]),u(ri,"Je"),u(yn,"Ae"),u(Bs,"Tt"),u(Tb,"$n"),u(zb,"On"),u(Np,"xt"),u(Hp,"kt"),Jp=/\{\{(.+?)\}\}/su,u(Lb,"Mn"),u(Ii,"Er"),F7=Ii({parser:"__ng_action"}),_7=Ii({parser:"__ng_binding"}),R7=Ii({parser:"__ng_directive"}),u(Tm,"Vi"),I7=Tm,u(zm,"Ui"),B7=zm,u(pd,"Vn"),T7=/^[ \t\n\r\u000c]+/,z7=/^[, \t\n\r\u000c]+/,L7=/^[^ \t\n\r\u000c]+/,O7=/[,]+$/,yd=/^\d+$/,M7=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u(Lm,"Ki"),P7=Lm,u(Om,"Qi"),bd={width:"w",height:"h",density:"x"},$7=Object.keys(bd),u(Ob,"Ji"),N7=Om,u(Mb,"Yn"),ol=new WeakMap,u(Mm,"Zi"),Hs=Mm,u(Pb,"jn"),u($b,"Kn"),u(Nb,"Qn"),u(Hb,"Xn"),u(jb,"ea"),u(Pm,"ta"),u(Vb,"ra"),u(Ub,"na"),u(jp,"Jn"),H7=Pm,u($m,"sa"),u(qb,"ia"),j7=$m,dc=new Proxy(()=>{},{get:u(()=>dc,"get")}),Xp=dc,u(Nm,"aa"),js=Nm,u(ni,"se"),u(ai,"ie"),u(Ll,"Ze"),u(Wb,"oa"),u(Kn,"De"),u(Gb,"ua"),u(Sr,"W"),u(Ts,"Bt"),u(Ra,"ve"),u(Vp,"rs"),u(kr,"K"),u(Ia,"ye"),u(ga,"we"),u(oi,"et"),u(Yb,"la"),u(ii,"tt"),u(Kb,"ca"),u(Zb,"pa"),u(Ol,"rt"),u(Zn,"be"),u(Ar,"z"),u(zs,"Lt"),u(Ls,"Ft"),u(Hm,"ha"),Qp=Hm,V7=new Set(["if","else if","for","switch","case"]),u(jm,"fa"),Lg=jm,Vn=null,u(Jn,"st"),Og=10;for(let e=0;e<=Og;e++)Jn();u(Jb,"vr"),u(Vm,"ga"),Mg=Vm,Pg={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},$g=Pg,Ng=Mg($g),Hg=Ng,u(Xb,"os"),u(Um,"us"),U7=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),u(Up,"cs"),u(jn,"it"),u(uo,"Pt"),u(Os,"He"),u(Qb,"ps"),u(qp,"hs"),u(e7,"_a"),u(t7,"ms"),u(r7,"fs"),u(n7,"ds"),u(a7,"gs"),u(So,"at"),u(Ml,"It"),u(ko,"ot"),u(o7,"Cs"),u(Bi,"Rt"),u(Gu,"yr"),u(Ti,"$t"),q7=/-+([a-z0-9])/g,u(qm,"_s"),Ul=(zi=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let i=t.substring(0,n-1).lastIndexOf(` +`);o=i>0?n-i:n}else o--;for(;n0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new zi(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,i=0;for(;o0&&(n--,o++,!(r[n]==` +`&&++i==t)););for(o=0,i=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},u(hc,"Ue"),hc),W7=[Gm,Ym,Km,Jm,Xm,tg,Qm,eg,rg,Zm],u(Wm,"Da"),u(Gm,"va"),u(Ym,"ya"),u(i7,"wa"),u(Km,"ba"),u(Zm,"Ta"),u(Jm,"xa"),u(Xm,"ka"),u(Qm,"Ba"),u(eg,"La"),u(tg,"Fa"),u(rg,"Na"),jg=Wm,u(ng,"Pa"),Vg={preprocess:jg,print:ng,insertPragma:Um,massageAstNode:Tg,embed:Lg,getVisitorKeys:Hg},Ug=Vg,qg=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],gc={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},vc="HTML",Wg={bracketSameLine:gc.bracketSameLine,htmlWhitespaceSensitivity:{category:vc,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:gc.singleAttributePerLine,vueIndentScriptAndStyle:{category:vc,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Gg=Wg,yc={},ac(yc,{angular:u(()=>x5,"angular"),html:u(()=>E5,"html"),lwc:u(()=>C5,"lwc"),vue:u(()=>D5,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Yg||(Yg={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(Kg||(Kg={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Zg||(Zg={})),bc={name:"custom-elements"},wc={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Qr||(Qr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Jg||(Jg={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ut||(ut={})),u(zo,"ut"),u(Yu,"xr"),u(Ku,"kr"),u(co,"We"),u(qa,"ze"),u(Zu,"Br"),u(po,"Mt"),Xg=(Ec=class{},u(Ec,"Ht"),Ec),Qg="boolean",e5="number",t5="string",r5="object",n5=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],xc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),a5=Array.from(xc).reduce((e,[t,r])=>(e.set(t,r),e),new Map),G7=(Dc=class extends Xg{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,n5.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[i,s]=n.split("^");i.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let c=s&&this._schema.get(s.toLowerCase());if(c){for(let[d,p]of c)t.set(d,p);for(let d of this._eventSchema.get(s.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),Qg);break;case"#":t.set(d.substring(1),e5);break;case"%":t.set(d.substring(1),r5);break;default:t.set(d,t5)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===wc.name))return!0;if(e.indexOf("-")>-1){if(Yu(e)||Ku(e))return!1;if(r.some(n=>n.name===bc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===wc.name)||e.indexOf("-")>-1&&(Yu(e)||Ku(e)||t.some(r=>r.name===bc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Zu()[e+"|"+t];return n||(n=Zu()["*|"+t],n||Qr.NONE)}getMappedPropName(e){return xc.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>a5.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return qm(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(ag(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&i[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},u(Dc,"Vt"),Dc),u(ag,"Ua"),W=(Cc=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ut.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(c=>this.closedByChildren[c]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=s??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},u(Cc,"m"),Cc),u(Pl,"Ge"),Vr=(Sc=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},u(Sc,"oe"),Sc),i5=(kc=class extends Vr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},u(kc,"Ut"),kc),l5=(Ac=class extends Vr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},u(Ac,"Wt"),Ac),s5=(Fc=class extends Vr{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},u(Fc,"zt"),Fc),u5=(_c=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},u(_c,"Gt"),_c),c5=(Rc=class extends Vr{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},u(Rc,"Yt"),Rc),Jt=(Ic=class extends Vr{constructor(e,t,r,n,a,o=null,i=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},u(Ic,"G"),Ic),d5=(Bc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},u(Bc,"jt"),Bc),p5=(Tc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},u(Tc,"Kt"),Tc),Ur=(zc=class extends Vr{constructor(e,t,r,n,a,o,i=null,s){super(n,s),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},u(zc,"Z"),zc),Oc=(Lc=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},u(Lc,"ct"),Lc),Pc=(Mc=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},u(Mc,"pt"),Mc),u(fd,"Qt"),Y7=($c=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(fd(n,o,e))}return u(a,"i"),t(a),Array.prototype.concat.apply([],r)}},u($c,"ht"),$c),Fo={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` +`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},f5="",Fo.ngsp=f5,K7=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],u(og,"Ls"),h5=(Oi=class{static fromArray(e){return e?(og("interpolation",e),new Oi(e[0],e[1])):Nc}constructor(e,t){this.start=e,this.end=t}},u(Oi,"t"),Oi),Nc=new h5("{{","}}"),Mi=(Hc=class extends mc{constructor(e,t,r){super(r,e),this.tokenType=t}},u(Hc,"ft"),Hc),Z7=(jc=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},u(jc,"$r"),jc),u(ig,"Ws"),m5=/\r\n?/g,u(jr,"je"),u(Ju,"Rs"),u(lg,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Pi||(Pi={})),$i=(Vc=class{constructor(e){this.error=e}},u(Vc,"dt"),Vc),J7=(Uc=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Nc,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new g5(e,n):new qc(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(m5,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>So(r)?!e:Qu(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ue),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ue);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(ec);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Ti(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(ec)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),So(this._cursor.peek()))this._attemptCharCodeUntilFn(ue);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(ue),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>ue(r)&&!Bi(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>ko(r)||r==36||r===95||t&&Ml(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Ti(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(dg(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Mi("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new Mi("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new Mi(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new $i(r)}handleError(e){if(e instanceof Ni&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof $i)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return pg(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(jr(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!sg(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Xu,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!ko(this._cursor.peek()))throw this._createError(jr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ue);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ue),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ue);let c=this._consumeAttributeValue();a.push({prefix:i,name:s,value:c})}else a.push({prefix:i,name:s});this._attemptCharCodeUntilFn(ue)}this._consumeTagOpenEnd()}catch(i){if(i instanceof $i){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===ut.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===ut.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ue),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ue),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(jr(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=u(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=u(()=>Xu(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ue),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ue),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ue),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ue),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ue)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ue),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ue),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ue),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(a,s)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(i=!0);let c=this._cursor.peek();this._cursor.advance(),c===92?this._cursor.advance():c===o?o=null:!i&&o===null&&Ti(c)&&(o=c)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Qu(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=qa(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=qa(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},u(Uc,"Or"),Uc),u(ue,"b"),u(Xu,"$s"),u(sg,"mo"),u(ug,"fo"),u(cg,"go"),u(dg,"Co"),u(pg,"So"),u(hd,"Os"),u(Qu,"Ms"),u(ec,"qs"),u(l7,"_o"),qc=(Ya=class{constructor(e,t){if(e instanceof Ya){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Ya(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new Y(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Ni('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Bi(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Ul(e.file,e.state.offset,e.state.line,e.state.column)}},u(Ya,"t"),Ya),g5=(Ka=class extends qc{constructor(e,t){e instanceof Ka?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Ka(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Gu(e())){let t="",r=0,n=this.clone();for(;Gu(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else Bi(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new Ni("Invalid hexadecimal escape sequence",e);return n}},u(Ka,"t"),Ka),Ni=(Wc=class{constructor(e,t){this.msg=e,this.cursor=t}},u(Wc,"gt"),Wc),ke=(Hi=class extends mc{static create(e,t,r){return new Hi(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},u(Hi,"t"),Hi),v5=(Gc=class{constructor(e,t){this.rootNodes=e,this.errors=t}},u(Gc,"Vr"),Gc),y5=(Yc=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=u(f=>(v,...g)=>f(v.toLowerCase(),...g),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),s=u(f=>i(f).getContentType(),"u"),c=n?a:o(a),d=ig(e,t,a?(f,v,g,w)=>{let x=c(f,v,g,w);return x!==void 0?x:s(f)}:s,r),p=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,h=new b5(d.tokens,i,p,m,n);return h.build(),new v5(h.rootNodes,d.errors.concat(h.errors))}},u(Yc,"nr"),Yc),b5=(ji=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Ur&&this.errors.push(ke.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new Y(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new Y(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new u5(e.parts[0],a.rootNodes,o,e.sourceSpan,i)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(tc(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(ke.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(tc(r,20))r.pop();else return this.errors.push(ke.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ke.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` +`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` +`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,rc):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new i5(n,new Y(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof Jt&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let h=this.getTagDefinition(a);this.canSelfClose||h.canSelfClose||co(a)!==null||h.isVoid||this.errors.push(ke.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let i=this._peek.sourceSpan.fullStart,s=new Y(e.sourceSpan.start,i,e.sourceSpan.fullStart),c=new Y(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new Y(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new Jt(a,n,[],s,c,void 0,d),m=this._getContainer();this._pushContainer(p,m instanceof Jt&&this.getTagDefinition(m.name).isClosedByChild(p.name)),o?this._popContainer(a,Jt,s):e.type===4&&(this._popContainer(a,Jt,null),this.errors.push(ke.create(a,s,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(ke.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,Jt,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(ke.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(co(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Ur||o instanceof Jt&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=qa(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,s;if(this._peek.type===16)for(i=this._peek.sourceSpan,s=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,rc):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),s=r=d.sourceSpan.end}this._peek.type===15&&(s=r=this._advance().sourceSpan.end);let c=i&&s&&new Y((n==null?void 0:n.sourceSpan.start)??i.start,s,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new c5(t,a,new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,c,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Oc(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Ur(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Ur,e.sourceSpan)||this.errors.push(ke.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Oc(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Ur(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,Ur,null),this.errors.push(ke.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(ke.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(ke.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new Y(e.sourceSpan.start,a,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),s=e.sourceSpan.start.moveBy(i),c=new Y(s,e.sourceSpan.end),d=new Pc(t,r.parts[0],o,c,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new Y(a,e.sourceSpan.end),i=new Y(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),s=new Pc(t,"",e.sourceSpan,o,i);this._addToParent(s)}this.errors.push(ke.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof Jt)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=zo(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=co(r.name))}return qa(e,t)}},u(ji,"t"),ji),u(tc,"zs"),u(rc,"Gs"),w5=(Kc=class extends y5{constructor(){super(Pl)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},u(Kc,"sr"),Kc),Vi=null,X7=u(()=>(Vi||(Vi=new w5),Vi),"Eo"),u(md,"zr"),u(fg,"Ao"),Q7=fg,Un=3,u(s7,"Do"),u(hg,"vo"),ew=hg,Za={attrs:!0,children:!0,cases:!0,expression:!0},Zc=new Set(["parent"]),tw=(qr=class{constructor(e={}){for(let t of new Set([...Zc,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Za&&(t=t.map(r=>this.createChild(r))),!Zc.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Za){let n=this[r];if(n){let a=mg(n,o=>o.map(e));t!==n&&(t||(t=new qr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in Za||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Za){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},u(qr,"t"),qr),u(mg,"yo"),rw=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),C5=Wa({name:"lwc",canSelfClose:!1}),S5={html:Ug},aw=ic});function Xt(){}function k5(e,t,r,n,a){for(var o=[],i;t;)o.push(t),i=t.previousComponent,delete t.previousComponent,t=i;o.reverse();for(var s=0,c=o.length,d=0,p=0;sg.length?x:g}),m.value=e.join(f)}else m.value=e.join(r.slice(d,d+m.count));d+=m.count,m.added||(p+=m.count)}}var v=o[c-1];return c>1&&typeof v.value=="string"&&(v.added||v.removed)&&e.equals("",v.value)&&(o[c-2].value+=v.value,o.pop()),o}function _o(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_o=u(function(t){return typeof t},"$e"):_o=u(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),_o(e)}function ql(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function Vs(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function tf(e,t){let r;switch(t){case` +`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r +`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function lw(e){return ci(!1,e,/\r\n?/gu,` +`)}function A5(e){if(typeof e=="string")return Br;if(Array.isArray(e))return jt;if(!e)return;let{type:t}=e;if(hf.has(t))return t}function F5(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(Tr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Kw([...hf].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function _5(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===jd){r(a.pop());continue}r&&a.push(o,jd);let i=Tr(o);if(!i)throw new dn(o);if((t==null?void 0:t(o))!==!1)switch(i){case jt:case ft:{let s=i===jt?o:o.parts;for(let c=s.length,d=c-1;d>=0;--d)a.push(s[d]);break}case Pe:a.push(o.flatContents,o.breakContents);break;case Le:if(n&&o.expandedStates)for(let s=o.expandedStates.length,c=s-1;c>=0;--c)a.push(o.expandedStates[c]);else a.push(o.contents);break;case Ut:case Vt:case qt:case ht:case Wt:a.push(o.contents);break;case Br:case xr:case Pt:case $t:case Ee:case qe:break;default:throw new dn(o)}}}function No(e){return mt(e),{type:Vt,contents:e}}function cn(e,t){return mt(t),{type:Ut,contents:t,n:e}}function Ed(e,t={}){return mt(e),Ws(t.expandedStates,!0),{type:Le,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function R5(e){return cn(Number.NEGATIVE_INFINITY,e)}function I5(e){return cn({type:"root"},e)}function B5(e){return cn(-1,e)}function T5(e,t){return Ed(e[0],{...t,expandedStates:e})}function xd(e){return Ws(e),{type:ft,parts:e}}function z5(e,t="",r={}){return mt(e),t!==""&&mt(t),{type:Pe,breakContents:e,flatContents:t,groupId:r.groupId}}function L5(e,t){return mt(e),{type:qt,contents:e,groupId:t.groupId,negate:t.negate}}function Wl(e){return mt(e),{type:Wt,contents:e}}function Dd(e,t){mt(e),Ws(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${m})`}if(o.type===Le){let p=[];o.break&&o.break!=="propagated"&&p.push("shouldBreak: true"),o.id&&p.push(`id: ${a(o.id)}`);let m=p.length>0?`, { ${p.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(h=>n(h)).join(",")}]${m})`:`group(${n(o.contents)}${m})`}if(o.type===ft)return`fill([${o.parts.map(p=>n(p)).join(", ")}])`;if(o.type===Wt)return"lineSuffix("+n(o.contents)+")";if(o.type===$t)return"lineSuffixBoundary";if(o.type===ht)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let i=o.description||"symbol";for(let s=0;;s++){let c=i+(s>0?` #${s}`:"");if(!r.has(c))return r.add(c),t[o]=`Symbol.for(${JSON.stringify(c)})`}}}function M5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function P5(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function $5(e){if(!e)return 0;if(!Xw.test(e))return e.length;e=e.replace(Zw()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Jw(n)?1:2)}return t}function Ho(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let i=a(o);return r.set(o,i),i}function a(o){switch(Tr(o)){case jt:return t(o.map(n));case ft:return t({...o,parts:o.parts.map(n)});case Pe:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case Le:{let{expandedStates:i,contents:s}=o;return i?(i=i.map(n),s=i[0]):s=n(s),t({...o,contents:s,expandedStates:i})}case Ut:case Vt:case qt:case ht:case Wt:return t({...o,contents:n(o.contents)});case Br:case xr:case Pt:case $t:case Ee:case qe:return t(o);default:throw new dn(o)}}}function Gl(e,t,r){let n=r,a=!1;function o(i){if(a)return!1;let s=t(i);s!==void 0&&(a=!0,n=s)}return u(o,"u"),Jl(e,o),n}function uw(e){if(e.type===Le&&e.break||e.type===Ee&&e.hard||e.type===qe)return!0}function N5(e){return Gl(e,uw,!1)}function Sd(e){if(e.length>0){let t=ge(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function cw(e){let t=new Set,r=[];function n(o){if(o.type===qe&&Sd(r),o.type===Le){if(r.push(o),t.has(o))return!1;t.add(o)}}u(n,"n");function a(o){o.type===Le&&r.pop().break&&Sd(r)}u(a,"o"),Jl(e,n,a,!0)}function dw(e){return e.type===Ee&&!e.hard?e.soft?"":" ":e.type===Pe?e.flatContents:e}function H5(e){return Ho(e,dw)}function kd(e){for(e=[...e];e.length>=2&&ge(!1,e,-2).type===Ee&&ge(!1,e,-1).type===qe;)e.length-=2;if(e.length>0){let t=Qn(ge(!1,e,-1));e[e.length-1]=t}return e}function Qn(e){switch(Tr(e)){case Vt:case qt:case Le:case Wt:case ht:{let t=Qn(e.contents);return{...e,contents:t}}case Pe:return{...e,breakContents:Qn(e.breakContents),flatContents:Qn(e.flatContents)};case ft:return{...e,parts:kd(e.parts)};case jt:return kd(e);case Br:return e.replace(/[\n\r]*$/u,"");case Ut:case xr:case Pt:case $t:case Ee:case qe:break;default:throw new dn(e)}return e}function Ad(e){return Qn(fw(e))}function pw(e){switch(Tr(e)){case ft:if(e.parts.every(t=>t===""))return"";break;case Le:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Le&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ut:case Vt:case qt:case Wt:if(!e.contents)return"";break;case Pe:if(!e.flatContents&&!e.breakContents)return"";break;case jt:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ge(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Br:case xr:case Pt:case $t:case Ee:case ht:case qe:break;default:throw new dn(e)}return e}function fw(e){return Ho(e,t=>pw(t))}function j5(e,t=Ud){return Ho(e,r=>typeof r=="string"?Dd(t,r.split(` +`)):r)}function hw(e){if(e.type===Ee)return!0}function V5(e){return Gl(e,hw,!1)}function rf(e,t){return e.type===ht?{...e,contents:t(e.contents)}:t(e)}function nf(){return{value:"",length:0,queue:[]}}function mw(e,t){return Yl(e,{type:"indent"},t)}function gw(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||nf():t<0?Yl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Yl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Yl(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,s=0;for(let v of n)switch(v.type){case"indent":p(),r.useTabs?c(1):d(r.tabWidth);break;case"stringAlign":p(),a+=v.n,o+=v.n.length;break;case"numberAlign":i+=1,s+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return h(),{...e,value:a,length:o,queue:n};function c(v){a+=" ".repeat(v),o+=r.tabWidth*v}function d(v){a+=" ".repeat(v),o+=v}function p(){r.useTabs?m():h()}function m(){i>0&&c(i),f()}function h(){s>0&&d(s),f()}function f(){i=0,s=0}}function Kl(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===ea){r++;continue}for(let o=a.length-1;o>=0;o--){let i=a[o];if(i===" "||i===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ea);return t}function ho(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,s=[e],c=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:d,doc:p}=s.pop(),m=Tr(p);switch(m){case Br:c.push(p),r-=Ql(p);break;case jt:case ft:{let h=m===jt?p:p.parts;for(let f=h.length-1;f>=0;f--)s.push({mode:d,doc:h[f]});break}case Vt:case Ut:case qt:case ht:s.push({mode:d,doc:p.contents});break;case Pt:r+=Kl(c);break;case Le:{if(o&&p.break)return!1;let h=p.break?Be:d,f=p.expandedStates&&h===Be?ge(!1,p.expandedStates,-1):p.contents;s.push({mode:h,doc:f});break}case Pe:{let h=(p.groupId?a[p.groupId]||it:d)===Be?p.breakContents:p.flatContents;h&&s.push({mode:d,doc:h});break}case Ee:if(d===Be||p.hard)return!0;p.soft||(c.push(" "),r--);break;case Wt:n=!0;break;case $t:if(n)return!1;break}}return!1}function jo(e,t){let r={},n=t.printWidth,a=Vs(t.endOfLine),o=0,i=[{ind:nf(),mode:Be,doc:e}],s=[],c=!1,d=[],p=0;for(cw(e);i.length>0;){let{ind:h,mode:f,doc:v}=i.pop();switch(Tr(v)){case Br:{let g=a!==` +`?ci(!1,v,` +`,a):v;s.push(g),i.length>0&&(o+=Ql(g));break}case jt:for(let g=v.length-1;g>=0;g--)i.push({ind:h,mode:f,doc:v[g]});break;case xr:if(p>=2)throw new Error("There are too many 'cursor' in doc.");s.push(ea),p++;break;case Vt:i.push({ind:mw(h,t),mode:f,doc:v.contents});break;case Ut:i.push({ind:gw(h,v.n,t),mode:f,doc:v.contents});break;case Pt:o-=Kl(s);break;case Le:switch(f){case it:if(!c){i.push({ind:h,mode:v.break?Be:it,doc:v.contents});break}case Be:{c=!1;let g={ind:h,mode:it,doc:v.contents},w=n-o,x=d.length>0;if(!v.break&&ho(g,i,w,x,r))i.push(g);else if(v.expandedStates){let D=ge(!1,v.expandedStates,-1);if(v.break){i.push({ind:h,mode:Be,doc:D});break}else for(let E=1;E=v.expandedStates.length){i.push({ind:h,mode:Be,doc:D});break}else{let b=v.expandedStates[E],C={ind:h,mode:it,doc:b};if(ho(C,i,w,x,r)){i.push(C);break}}}else i.push({ind:h,mode:Be,doc:v.contents});break}}v.id&&(r[v.id]=ge(!1,i,-1).mode);break;case ft:{let g=n-o,{parts:w}=v;if(w.length===0)break;let[x,D]=w,E={ind:h,mode:it,doc:x},b={ind:h,mode:Be,doc:x},C=ho(E,[],g,d.length>0,r,!0);if(w.length===1){C?i.push(E):i.push(b);break}let S={ind:h,mode:it,doc:D},k={ind:h,mode:Be,doc:D};if(w.length===2){C?i.push(S,E):i.push(k,b);break}w.splice(0,2);let A={ind:h,mode:f,doc:xd(w)},_=w[0];ho({ind:h,mode:it,doc:[x,D,_]},[],g,d.length>0,r,!0)?i.push(A,S,E):C?i.push(A,k,E):i.push(A,k,b);break}case Pe:case qt:{let g=v.groupId?r[v.groupId]:f;if(g===Be){let w=v.type===Pe?v.breakContents:v.negate?v.contents:No(v.contents);w&&i.push({ind:h,mode:f,doc:w})}if(g===it){let w=v.type===Pe?v.flatContents:v.negate?No(v.contents):v.contents;w&&i.push({ind:h,mode:f,doc:w})}break}case Wt:d.push({ind:h,mode:f,doc:v.contents});break;case $t:d.length>0&&i.push({ind:h,mode:f,doc:dl});break;case Ee:switch(f){case it:if(v.hard)c=!0;else{v.soft||(s.push(" "),o+=1);break}case Be:if(d.length>0){i.push({ind:h,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?h.root?(s.push(a,h.root.value),o=h.root.length):(s.push(a),o=0):(o-=Kl(s),s.push(a+h.value),o=h.length);break}break;case ht:i.push({ind:h,mode:f,doc:v.contents});break;case qe:break;default:throw new dn(v)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let m=s.indexOf(ea);if(m!==-1){let h=s.indexOf(ea,m+1),f=s.slice(0,m).join(""),v=s.slice(m+1,h).join(""),g=s.slice(h+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:s.join("")}}function U5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=u(o=>e6(o)&&n(o),"o");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let s of i)a(s)&&(yield s);else a(i)&&(yield i)}}function*vw(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i0}function K5(e){return e?t=>e(t,Gd):r6}function yw(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function Us(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=yw(e)}function en(e,t){t.leading=!0,t.trailing=!1,Us(e,t)}function Ro(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Us(e,t)}function tn(e,t){t.leading=!1,t.trailing=!0,Us(e,t)}function qs(e,t){if(pl.has(e))return pl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...af(e,{getVisitorKeys:di(a)})]).flatMap(c=>n(c)?[c]:qs(c,t));return s.sort((c,d)=>o(c)-o(d)||i(c)-i(d)),pl.set(e,s),s}function of(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),c=qs(e,r),d,p,m=0,h=c.length;for(;m>1,v=c[f],g=a(v),w=o(v);if(g<=i&&s<=w)return of(v,t,r,v);if(w<=i){d=v,m=f+1;continue}if(s<=g){p=v,h=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=sl(f,t,r);d&&sl(f,d,r)!==v&&(d=null),p&&sl(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function bw(e,t){let{comments:r}=e;if(delete e.comments,!t6(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:c}=t,{ownLine:d=fl,endOfLine:p=fl,remaining:m=fl}=s,h=r.map((f,v)=>({...of(e,f,t),comment:f,text:c,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of h.entries()){let{comment:g,precedingNode:w,enclosingNode:x,followingNode:D,text:E,options:b,ast:C,isLastComment:S}=v;if(b.parser==="json"||b.parser==="json5"||b.parser==="jsonc"||b.parser==="__js_expression"||b.parser==="__ts_expression"||b.parser==="__vue_expression"||b.parser==="__vue_ts_expression"){if(a(g)-a(C)<=0){en(C,g);continue}if(o(g)-o(C)>=0){tn(C,g);continue}}let k;if(i?k=[v]:(g.enclosingNode=x,g.precedingNode=w,g.followingNode=D,k=[g,E,b,C,S]),ww(E,b,h,f))g.placement="ownLine",d(...k)||(D?en(D,g):w?tn(w,g):Ro(x||C,g));else if(Ew(E,b,h,f))g.placement="endOfLine",p(...k)||(w?tn(w,g):D?en(D,g):Ro(x||C,g));else if(g.placement="remaining",!m(...k))if(w&&D){let A=n.length;A>0&&n[A-1].followingNode!==D&&Fd(n,b),n.push(v)}else w?tn(w,g):D?en(D,g):Ro(x||C,g)}if(Fd(n,t),!i)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function ww(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:s}=t,c=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:m}=r[d];if(m!==o||!mf(e.slice(s(p),c)))break;c=i(p)}return ar(e,c,{backwards:!0})}function Ew(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:s}=t,c=s(a);if(o)for(let d=n+1;d0;--c){let{comment:d,precedingNode:p,followingNode:m}=e[c-1];ts.strictEqual(p,o),ts.strictEqual(m,i);let h=t.originalText.slice(t.locEnd(d),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,h,t))??/^[\s(]*$/u.test(h))s=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,m)=>t.locStart(p)-t.locStart(m));e.length=0}function sl(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(s)).length===0)return{leading:"",trailing:""};let a=[],o=[],i;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:c,trailing:d}=s;c?a.push(xw(e,t)):d&&(i=Dw(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function Sw(e,t,r){let{leading:n,trailing:a}=Cw(e,r);return!n&&!a?t:rf(t,o=>[n,o,a])}function kw(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function J5(e){return()=>{}}function _d({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of Fw(Object.assign({},...e.map(({options:o})=>o),a6)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...Aw(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var i;return((i=o.defaultOptions)==null?void 0:i[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*Aw(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let i=r.find(c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,o)),s=a.name;i!=null&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:o,description:s}}}}function Fw(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=ge(!1,a.default,-1).value),t.push(a)}return t}function Rd(e,t){if(!t)return;let r=o6(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function _w(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function X5(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=_w(r,t.language)??Rd(r,t.physicalFile)??Rd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Jc(e,t,r,n){return[`Invalid ${rn.default.red(n.key(e))} value.`,`Expected ${rn.default.blue(r)},`,`but received ${t===Kd?rn.default.gray("nothing"):rn.default.red(n.value(t))}.`].join(" ")}function Id({text:e,list:t},r){let n=[];return e&&n.push(`- ${rn.default.blue(e)}`),t&&n.push([`- ${rn.default.blue(t.title)}:`].concat(t.values.map(a=>Id(a,r-Zd.length).replace(/^|\n/g,`$&${Zd}`))).join(` +`)),Bd(n,r)}function Bd(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(i=>i.split(` +`,1)[0].length);return a>t&&a>o?n:r}function Q5(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;os?d>s?s+1:d:d>c?c+1:d;return s}function e2(e,t){let r=new e(t),n=Object.create(r);for(let a of l6)a in t&&(n[a]=Rw(t[a],r,tr.prototype[a].length));return n}function Rw(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Xc({from:e,to:t}){return{from:[e],to:t}}function t2(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function r2(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function n2(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function a2(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function o2(e){return e===Math.floor(e)}function i2(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function l2(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Qc(e){return e===void 0?{}:e}function Td(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return Iw((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(Td)}}:{text:t}}function e0(e,t){return e===!0?!0:e===!1?{value:t}:e}function t0(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function zd(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function ul(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>zd(r,t)):[zd(e,t)]}function r0(e,t){let r=ul(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function Iw(e,t){if(!e)throw new Error(t)}function s2(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:i}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Gr;let s=a?Array.isArray(a)?(h,f)=>a.includes(h)?{[h]:f}:void 0:(h,f)=>({[h]:f}):(h,f,v)=>{let{_:g,...w}=v.schemas;return Xd(h,f,{...v,schemas:w})},c=Bw(t,{isCLI:n,FlagSchema:o}),d=new h6(c,{logger:r,unknown:s,descriptor:i}),p=r!==!1;p&&I0&&(d._hasDeprecationWarned=I0);let m=d.normalize(e);return p&&(I0=d._hasDeprecationWarned),m}function Bw(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(u6.create({name:"_"}));for(let a of e)n.push(Tw(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(s6.create({name:a.alias,sourceName:a.name}));return n}function Tw(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=f6,t&&(o.preprocess=Number);break;case"string":i=Qd;break;case"choice":i=p6,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":i=d6;break;case"flag":i=n,o.flags=r.flatMap(c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean));break;case"path":i=Qd;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(c,d,p)=>e.exception(c)||d.validate(c,p):o.validate=(c,d,p)=>c===void 0||d.validate(c,p),e.redirect&&(s.redirect=c=>c?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let c=o.preprocess||(d=>d);o.preprocess=(d,p,m)=>p.preprocess(c(Array.isArray(d)?ge(!1,d,-1):d),m)}return e.array?c6.create({...t?{preprocess:u(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function sf(e,t){if(!t)throw new Error("parserName is required.");let r=vf(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new gf(n)}function zw(e,t){if(!t)throw new Error("astFormat is required.");let r=vf(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new gf(n)}function uf({plugins:e,parser:t}){let r=sf(e,t);return cf(r,t)}function cf(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Lw(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function u2(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=i6(n,{physicalFile:n.filepath}),!n.parser)throw new Yd(`No parser could be inferred for file "${n.filepath}".`)}else throw new Yd("No parser and no file path given, couldn't infer a parser.");let a=_d({plugins:e.plugins,showDeprecated:!0}).options,o={...e1,...Object.fromEntries(a.filter(h=>h.default!==void 0).map(h=>[h.name,h.default]))},i=sf(n.plugins,n.parser),s=await cf(i,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let c=(r=i.printers)!=null&&r[s.astFormat]?i:zw(n.plugins,s.astFormat),d=await Lw(c,s.astFormat);n.printer=d;let p=c.defaultOptions?Object.fromEntries(Object.entries(c.defaultOptions).filter(([,h])=>h!==void 0)):{},m={...o,...p};for(let[h,f]of Object.entries(m))(n[h]===null||n[h]===void 0)&&(n[h]=f);return n.parser==="json"&&(n.trailingComma="none"),m6(n,a,{passThrough:Object.keys(e1),...t})}async function c2(e,t){let r=await uf(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){Ow(o,e)}return{text:n,ast:a}}function Ow(e,t){let{loc:r}=e;if(r){let n=(0,g6.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function Mw(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:s=u(()=>!1,"s"),getVisitorKeys:c}}=r;if(!i||o!=="auto")return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=di(i.getVisitorKeys??c),p=[];f();let m=e.stack;for(let{print:v,node:g,pathStack:w}of p)try{e.stack=w;let x=await v(h,t,e,r);x&&a.set(g,x)}catch(x){if(globalThis.PRETTIER_DEBUG)throw x}e.stack=m;function h(v,g){return Pw(v,g,r,n)}u(h,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||s(e))return;for(let w of d(v))Array.isArray(v[w])?e.each(f,w):e.call(f,w);let g=i(e,r);if(g){if(typeof g=="function"){p.push({print:g,node:v,pathStack:[...e.stack]});return}a.set(v,g)}}u(f,"p")}async function Pw(e,t,r,n){let a=await bn({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Ba(e,a),i=await n(o,a);return Ad(i)}function d2(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:s}=e,c=a(s),d=o(s);for(let p of n)a(p)>=c&&o(p)<=d&&i.add(p);return r.slice(c,d)}async function ui(e,t){({ast:e}=await df(e,t));let r=new Map,n=new Qw(e),a=n6(t),o=new Map;await Mw(n,s,t,ui,o);let i=await Ld(n,t,s,void 0,o);return kw(t),i;function s(d,p){return d===void 0||d===n?c(p):Array.isArray(d)?n.call(()=>c(p),...d):n.call(()=>c(p),d)}function c(d){a(n);let p=n.node;if(p==null)return"";let m=p&&typeof p=="object"&&d===void 0;if(m&&r.has(p))return r.get(p);let h=Ld(n,t,s,d,o);return m&&r.set(p,h),h}}function Ld(e,t,r,n,a){var o;let{node:i}=e,{printer:s}=t,c;return(o=s.hasPrettierIgnore)!=null&&o.call(s,e)?c=v6(e,t):a.has(i)?c=a.get(i):c=s.print(e,t,r,n),i===t.cursorNode&&(c=rf(c,d=>[Xl,d,Xl])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(c=Sw(e,c,t)),c}async function df(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,bw(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function p2(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=di(t.printer.getVisitorKeys),i=u(c=>n(c)<=r&&a(c)>=r,"i"),s=e;for(let c of vw(e,{getVisitorKeys:o,filter:i}))s=c;return s}function f2(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=di(n),o=r.ignoredProperties??new Set;return i(e);function i(s,c){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(h=>i(h,c)).filter(Boolean);let d={},p=new Set(a(s));for(let h in s)!Object.prototype.hasOwnProperty.call(s,h)||o.has(h)||(p.has(h)?d[h]=i(s[h],s):d[h]=s[h]);let m=r(s,d,c);if(m!==null)return m??d}}function $w(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>yf.has(a.type)&&n.has(a))}function Od(e){let t=w6(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function Nw(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let i=r(e.node);for(let c of Od(t.parentNodes))if(r(c)>=i)o=c;else break;let s=n(t.node);for(let c of Od(e.parentNodes)){if(n(c)<=s)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function Zl(e,t,r,n,a=[],o){let{locStart:i,locEnd:s}=r,c=i(e),d=s(e);if(!(t>d||tn);let s=e.slice(n,a).search(/\S/u),c=s===-1;if(!c)for(n+=s;a>n&&!/\S/u.test(e[a-1]);--a);let d=Zl(r,n,t,(f,v)=>Md(t,f,v),[],"rangeStart"),p=c?d:Zl(r,a,t,f=>Md(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let m,h;if(E6(t)){let f=$w(d,p);m=f,h=f}else({startNode:m,endNode:h}=Nw(d,p,t));return{rangeStart:Math.min(o(m),o(h)),rangeEnd:Math.max(i(m),i(h))}}async function pf(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Ba(e,t);t.cursorOffset>=0&&(t.cursorNode=y6(n,t));let o=await ui(n,t);r>0&&(o=Cd([Dr,o],r,t.tabWidth));let i=jo(o,t);if(r>0){let c=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(c)),i.formatted=c+Vs(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let c,d,p,m,h;if(t.cursorNode&&i.cursorNodeText?(c=t.locStart(t.cursorNode),d=a.slice(c,t.locEnd(t.cursorNode)),p=t.cursorOffset-c,m=i.cursorNodeStart,h=i.cursorNodeText):(c=0,d=a,p=t.cursorOffset,m=0,h=i.formatted),d===h)return{formatted:i.formatted,cursorOffset:m+p,comments:s};let f=d.split("");f.splice(p,0,t1);let v=h.split(""),g=ow(f,v),w=m;for(let x of g)if(x.removed){if(x.value.includes(t1))break}else w+=x.count;return{formatted:i.formatted,cursorOffset:w,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function Vw(e,t){let{ast:r,text:n}=await Ba(e,t),{rangeStart:a,rangeEnd:o}=jw(n,t,r),i=n.slice(a,o),s=Math.min(a,n.lastIndexOf(` +`,a)+1),c=n.slice(s,a).match(/^\s*/u)[0],d=es(c,t.tabWidth),p=await pf(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),m=p.formatted.trimEnd(),{cursorOffset:h}=t;h>o?h+=m.length-i.length:p.cursorOffset>=0&&(h=p.cursorOffset+a);let f=n.slice(0,a)+m+n.slice(o);if(t.endOfLine!=="lf"){let v=Vs(t.endOfLine);h>=0&&v===`\r +`&&(h+=tf(f.slice(0,h),` +`)),f=ci(!1,f,` +`,v)}return{formatted:f,cursorOffset:h,comments:p.comments}}function cl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Pd(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=cl(e,r,-1),n=cl(e,n,0),a=cl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function ff(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Pd(e,t),i=e.charAt(0)===bf;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=iw(e)),e.includes("\r")){let s=u(c=>tf(e.slice(0,Math.max(c,0)),`\r +`),"s");r-=s(r),n-=s(n),a-=s(a),e=lw(e)}return{hasBOM:i,text:e,options:Pd(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function $d(e,t){let r=await uf(t);return!r.hasPragma||r.hasPragma(e)}async function Nd(e,t){let{hasBOM:r,text:n,options:a}=ff(e,await bn(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await $d(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function h2(e,t,r){let{text:n,options:a}=ff(e,await bn(t)),o=await Ba(n,a);return r&&(r.preprocessForPrint&&(o.ast=await df(o.ast,a)),r.massage&&(o.ast=b6(o.ast,a))),o}async function m2(e,t){t=await bn(t);let r=await ui(e,t);return jo(r,t)}async function g2(e,t){let r=sw(e),{formatted:n}=await Nd(r,{...t,parser:"__js_expression"});return n}async function v2(e,t){t=await bn(t);let{ast:r}=await Ba(e,t);return ui(r,t)}async function y2(e,t){return jo(e,await bn(t))}function b2(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function S2(e,t){let r=Ys(e,t);return r===!1?"":e.charAt(r)}function k2(e,t,r){for(let n=t;ni===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i));return t+a+t}function qw(e,t,r){return Ys(e,r(t))}function _2(e,t){return arguments.length===2||typeof t=="number"?Ys(e,t):qw(...arguments)}function Ww(e,t,r){return Gs(e,r(t))}function R2(e,t){return arguments.length===2||typeof t=="number"?Gs(e,t):Ww(...arguments)}function Gw(e,t,r){return as(e,r(t))}function I2(e,t){return arguments.length===2||typeof t=="number"?as(e,t):Gw(...arguments)}function dr(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function Hd(e,t){let{formatted:r}=await r1(e,{...t,cursorOffset:-1});return r}async function B2(e,t){return await Hd(e,t)===e}var T2,Ja,z2,L2,O2,M2,n0,P2,Ui,Xa,a0,Qa,$2,N2,H2,Bn,qi,o0,j2,V2,U2,q2,W2,i0,G2,ci,l0,s0,u0,c0,Y2,K2,Yw,Tn,mo,Br,jt,xr,Vt,Ut,Pt,Le,ft,Pe,qt,Wt,$t,Ee,ht,qe,hf,Tr,Kw,d0,Z2,dn,jd,Jl,p0,mt,Ws,J2,go,X2,dl,f0,Vd,Q2,Dr,Ud,Xl,ev,ge,Zw,Jw,Xw,Ql,Be,it,ea,es,Wr,h0,Wi,m0,tv,Qw,g0,ts,e6,rv,lr,qd,Wd,_r,ar,t6,Gd,r6,di,pl,fl,mf,Gs,n6,v0,gf,y0,Yd,a6,o6,i6,Gr,b0,nv,rn,Kd,eo,Zd,av,w0,hl,Jd,Xd,l6,E0,tr,x0,s6,D0,u6,C0,c6,S0,d6,k0,p6,A0,ov,F0,f6,_0,Qd,iv,lv,sv,uv,R0,h6,I0,m6,cv,vf,e1,bn,g6,Ba,v6,y6,b6,dv,w6,E6,yf,x6,bf,t1,B0,pv,fv,hv,mv,T0,rs,ns,Ys,as,gv,vv,yv,bv,wv,Ev,r1,xv,Dv,D6,xk=T(()=>{T2=Object.create,Ja=Object.defineProperty,z2=Object.getOwnPropertyDescriptor,L2=Object.getOwnPropertyNames,O2=Object.getPrototypeOf,M2=Object.prototype.hasOwnProperty,n0=u(e=>{throw TypeError(e)},"sr"),P2=u((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Ui=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),Xa=u((e,t)=>{for(var r in t)Ja(e,r,{get:t[r],enumerable:!0})},"We"),a0=u((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of L2(t))!M2.call(e,a)&&a!==r&&Ja(e,a,{get:u(()=>t[a],"get"),enumerable:!(n=z2(t,a))||n.enumerable});return e},"ar"),Qa=u((e,t,r)=>(r=e!=null?T2(O2(e)):{},a0(t||!e||!e.__esModule?Ja(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),$2=u(e=>a0(Ja({},"__esModule",{value:!0}),e),"vu"),N2=u((e,t,r)=>t.has(e)||n0("Cannot "+r),"bu"),H2=u((e,t,r)=>t.has(e)?n0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Bn=u((e,t,r)=>(N2(e,t,"access private method"),r),"pe"),qi=Ui((e,t)=>{var r=new Proxy(String,{get:u(()=>r,"get")});t.exports=r}),o0={},Xa(o0,{default:u(()=>V2,"default"),shouldHighlight:u(()=>j2,"shouldHighlight")}),U2=P2(()=>{j2=u(()=>!1,"xo"),V2=String}),q2=Ui((e,t)=>{var r=String,n=u(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),W2=Ui(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=v;var t=(U2(),$2(o0)),r=a(q2(),!0);function n(g){if(typeof WeakMap!="function")return null;var w=new WeakMap,x=new WeakMap;return(n=u(function(D){return D?x:w},"Wn"))(g)}u(n,"Wn");function a(g,w){if(!w&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var x=n(w);if(x&&x.has(g))return x.get(g);var D={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in g)if(b!=="default"&&{}.hasOwnProperty.call(g,b)){var C=E?Object.getOwnPropertyDescriptor(g,b):null;C&&(C.get||C.set)?Object.defineProperty(D,b,C):D[b]=g[b]}return D.default=g,x&&x.set(g,D),D}u(a,"vo");var o=r.default,i=u((g,w)=>x=>g(w(x)),"Rn"),s;function c(g){return g?(s!=null||(s=(0,r.createColors)(!0)),s):o}u(c,"Oo");var d=!1;function p(g){return{gutter:g.gray,marker:i(g.red,g.bold),message:i(g.red,g.bold)}}u(p,"So");var m=/\r\n|[\n\r\u2028\u2029]/;function h(g,w,x){let D=Object.assign({column:0,line:-1},g.start),E=Object.assign({},D,g.end),{linesAbove:b=2,linesBelow:C=3}=x||{},S=D.line,k=D.column,A=E.line,_=E.column,I=Math.max(S-(b+1),0),B=Math.min(w.length,A+C);S===-1&&(I=0),A===-1&&(B=w.length);let z=A-S,L={};if(z)for(let M=0;M<=z;M++){let O=M+S;if(!k)L[O]=!0;else if(M===0){let P=w[O-1].length;L[O]=[k,P-k+1]}else if(M===z)L[O]=[0,_];else{let P=w[O-M].length;L[O]=[0,P]}}else k===_?k?L[S]=[k,0]:L[S]=!0:L[S]=[k,_-k];return{start:I,end:B,markerLines:L}}u(h,"No");function f(g,w,x={}){let D=(x.highlightCode||x.forceColor)&&(0,t.shouldHighlight)(x),E=c(x.forceColor),b=p(E),C=u((L,M)=>D?L(M):M,"i"),S=g.split(m),{start:k,end:A,markerLines:_}=h(w,S,x),I=w.start&&typeof w.start.column=="number",B=String(A).length,z=(D?(0,t.default)(g,x):g).split(m,A).slice(k,A).map((L,M)=>{let O=k+1+M,P=` ${` ${O}`.slice(-B)} |`,j=_[O],U=!_[O+1];if(j){let V="";if(Array.isArray(j)){let G=L.slice(0,Math.max(j[0]-1,0)).replace(/[^\t]/g," "),Q=j[1]||1;V=[` + `,C(b.gutter,P.replace(/\d/g," "))," ",G,C(b.marker,"^").repeat(Q)].join(""),U&&x.message&&(V+=" "+C(b.message,x.message))}return[C(b.marker,">"),C(b.gutter,P),L.length>0?` ${L}`:"",V].join("")}else return` ${C(b.gutter,P)}${L.length>0?` ${L}`:""}`}).join(` +`);return x.message&&!I&&(z=`${" ".repeat(B+1)}${x.message} +${z}`),D?E.reset(z):z}u(f,"Mn");function v(g,w,x,D={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let b=new Error(E);b.name="DeprecationWarning",console.warn(new Error(E))}}return x=Math.max(x,0),f(g,{start:{column:x,line:w}},D)}u(v,"To")}),i0={},Xa(i0,{__debug:u(()=>Dv,"__debug"),check:u(()=>B2,"check"),doc:u(()=>B0,"doc"),format:u(()=>Hd,"format"),formatWithCursor:u(()=>r1,"formatWithCursor"),getSupportInfo:u(()=>xv,"getSupportInfo"),util:u(()=>T0,"util"),version:u(()=>mv,"version")}),G2=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),ci=G2,u(Xt,"Z"),Xt.prototype={diff:u(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function i(E){return a?(setTimeout(function(){a(void 0,E)},0),!0):E}u(i,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var s=t.length,c=e.length,d=1,p=s+c;n.maxEditLength&&(p=Math.min(p,n.maxEditLength));var m=(r=n.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+m,f=[{oldPos:-1,lastComponent:void 0}],v=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=c&&v+1>=s)return i([{value:this.join(t),count:t.length}]);var g=-1/0,w=1/0;function x(){for(var E=Math.max(g,-d);E<=Math.min(w,d);E+=2){var b=void 0,C=f[E-1],S=f[E+1];C&&(f[E-1]=void 0);var k=!1;if(S){var A=S.oldPos-E;k=S&&0<=A&&A=c&&v+1>=s)return i(k5(o,b.lastComponent,t,e,o.useLongestToken));f[E]=b,b.oldPos+1>=c&&(w=Math.min(w,E-1)),v+1>=s&&(g=Math.max(g,E+1))}d++}if(u(x,"A"),a)u(function E(){setTimeout(function(){if(d>p||Date.now()>h)return a();x()||E()},0)},"h")();else for(;d<=p&&Date.now()<=h;){var D=x();if(D)return D}},"diff"),addToPath:u(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:u(function(e,t,r,n){for(var a=t.length,o=r.length,i=e.oldPos,s=i-n,c=0;s+1"u"?r:i}:n;return typeof e=="string"?e:JSON.stringify(ql(e,null,null,a),a," ")},Tn.equals=function(e,t){return Xt.prototype.equals.call(Tn,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},u(ql,"Bt"),mo=new Xt,mo.tokenize=function(e){return e.slice()},mo.join=mo.removeEmpty=function(e){return e},u(ow,"dr"),u(iw,"Fr"),u(Vs,"Be"),u(tf,"wt"),u(lw,"mr"),Br="string",jt="array",xr="cursor",Vt="indent",Ut="align",Pt="trim",Le="group",ft="fill",Pe="if-break",qt="indent-if-break",Wt="line-suffix",$t="line-suffix-boundary",Ee="line",ht="label",qe="break-parent",hf=new Set([xr,Vt,Ut,Pt,Le,ft,Pe,qt,Wt,$t,Ee,ht,qe]),u(A5,"Lu"),Tr=A5,Kw=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),u(F5,"Iu"),Z2=(d0=class extends Error{constructor(t){super(F5(t));Rn(this,"name","InvalidDocError");this.doc=t}},u(d0,"xt"),d0),dn=Z2,jd={},u(_5,"Ru"),Jl=_5,p0=u(()=>{},"hr"),mt=p0,Ws=p0,u(No,"De"),u(cn,"ae"),u(Ed,"_t"),u(R5,"Cr"),u(I5,"gr"),u(B5,"yr"),u(T5,"Ar"),u(xd,"Ge"),u(z5,"Br"),u(L5,"wr"),u(Wl,"xe"),J2={type:$t},go={type:qe},X2={type:Pt},dl={type:Ee,hard:!0},f0={type:Ee,hard:!0,literal:!0},Vd={type:Ee},Q2={type:Ee,soft:!0},Dr=[dl,go],Ud=[f0,go],Xl={type:xr},u(Dd,"be"),u(Cd,"Je"),u(O5,"br"),u(Rt,"ee"),u(sw,"Or"),ev=u((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),ge=ev,Zw=u(()=>/[#*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,"Sr"),u(M5,"Nr"),u(P5,"Tr"),Jw=u(e=>!(M5(e)||P5(e)),"kr"),Xw=/[^\x20-\x7F]/u,u($5,"Hu"),Ql=$5,u(Ho,"Ne"),u(Gl,"Xe"),u(uw,"Wu"),u(N5,"Ir"),u(Sd,"Lr"),u(cw,"Rr"),u(dw,"Mu"),u(H5,"Yr"),u(kd,"Pr"),u(Qn,"Se"),u(Ad,"Ze"),u(pw,"$u"),u(fw,"Vu"),u(j5,"jr"),u(hw,"Uu"),u(V5,"Hr"),u(rf,"Qe"),Be=Symbol("MODE_BREAK"),it=Symbol("MODE_FLAT"),ea=Symbol("cursor"),u(nf,"Wr"),u(mw,"zu"),u(gw,"Gu"),u(Yl,"bt"),u(Kl,"Ot"),u(ho,"et"),u(jo,"Fe"),u(U5,"Ku"),es=U5,tv=(m0=class{constructor(e){H2(this,Wr),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return ge(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:ge(!1,this.stack,-2)}get node(){return ge(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=ge(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Bn(this,Wr,Wi).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?ge(!1,e,-2):null}getValue(){return ge(!1,this.stack,-1)}getNode(e=0){let t=Bn(this,Wr,h0).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=ge(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Bn(this,Wr,h0).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=ge(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Bn(this,Wr,Wi).call(this))if(e(t))return t}hasAncestor(e){for(let t of Bn(this,Wr,Wi).call(this))if(e(t))return!0;return!1}},u(m0,"St"),m0),Wr=new WeakSet,h0=u(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),Wi=u(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),Qw=tv,g0=new Proxy(()=>{},{get:u(()=>g0,"get")}),ts=g0,u(q5,"qu"),e6=q5,u(af,"Tt"),u(vw,"Ur"),u(In,"Ee"),rv=In(/\s/u),lr=In(" "),qd=In(",; "),Wd=In(/[^\n\r]/u),u(W5,"Ju"),_r=W5,u(G5,"Xu"),ar=G5,u(Y5,"Zu"),t6=Y5,Gd=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),r6=u(e=>Object.keys(e).filter(t=>!Gd.has(t)),"Qu"),u(K5,"eo"),di=K5,u(yw,"to"),u(Us,"Lt"),u(en,"ue"),u(Ro,"re"),u(tn,"oe"),pl=new WeakMap,u(qs,"ut"),u(of,"qr"),fl=u(()=>!1,"It"),u(bw,"Jr"),mf=u(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),u(ww,"ro"),u(Ew,"no"),u(Fd,"Kr"),u(sl,"Rt"),u(Z5,"uo"),Gs=Z5,u(lf,"Zr"),u(xw,"oo"),u(Dw,"io"),u(Cw,"so"),u(Sw,"Qr"),u(kw,"en"),u(J5,"ao"),n6=J5,gf=(v0=class extends Error{constructor(){super(...arguments);Rn(this,"name","ConfigError")}},u(v0,"Pe"),v0),Yd=(y0=class extends Error{constructor(){super(...arguments);Rn(this,"name","UndefinedParserError")}},u(y0,"Ie"),y0),a6={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:u(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:u(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},u(_d,"ot"),u(Aw,"Do"),u(Fw,"lo"),o6=u(e=>String(e).split(/[/\\]/u).pop(),"co"),u(Rd,"nn"),u(_w,"fo"),u(X5,"po"),i6=X5,Gr={key:u(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Gr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Gr.key(r)}: ${Gr.value(e[r])}`).join(", ")} }`},pair:u(({key:e,value:t})=>Gr.value({[e]:t}),"pair")},b0=Qa(qi(),1),nv=u((e,t,{descriptor:r})=>{let n=[`${b0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${b0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),rn=Qa(qi(),1),Kd=Symbol.for("vnopts.VALUE_NOT_EXIST"),eo=Symbol.for("vnopts.VALUE_UNCHANGED"),Zd=" ".repeat(2),av=u((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(Jc(e,t,n,r.descriptor)),a&&o.push([Jc(e,t,a.title,r.descriptor)].concat(a.values.map(i=>Id(i,r.loggerPrintWidth))).join(` +`)),Bd(o,r.loggerPrintWidth)},"cn"),u(Jc,"ln"),u(Id,"fn"),u(Bd,"pn"),w0=Qa(qi(),1),hl=[],Jd=[],u(Q5,"Ht"),Xd=u((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${w0.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>Q5(e,s)<3);i&&o.push(`Did you mean ${w0.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"at"),l6=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],u(e2,"mo"),tr=(E0=class{static create(e){return e2(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return eo}},u(E0,"O"),E0),u(Rw,"Eo"),s6=(x0=class extends tr{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},u(x0,"Dt"),x0),u6=(D0=class extends tr{expected(){return"anything"}validate(){return!0}},u(D0,"lt"),D0),c6=(C0=class extends tr{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map(Xc))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map(Xc))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},u(C0,"ct"),C0),u(Xc,"Fn"),d6=(S0=class extends tr{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},u(S0,"ft"),S0),u(t2,"En"),u(r2,"hn"),u(n2,"Cn"),u(a2,"gn"),u(o2,"yn"),u(i2,"An"),u(l2,"Bn"),u(Qc,"Mt"),u(Td,"$t"),u(e0,"Vt"),u(t0,"Ut"),u(zd,"mn"),u(ul,"pt"),u(r0,"zt"),u(Iw,"ho"),p6=(k0=class extends tr{constructor(e){super(e),this._choices=r2(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(i2).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},u(k0,"dt"),k0),ov=(A0=class extends tr{expected(){return"a number"}validate(e,t){return typeof e=="number"}},u(A0,"Ft"),A0),f6=(F0=class extends ov{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&o2(e)}},u(F0,"mt"),F0),Qd=(_0=class extends tr{expected(){return"a string"}validate(e){return typeof e=="string"}},u(_0,"Re"),_0),iv=Gr,lv=Xd,sv=av,uv=nv,h6=(R0=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=iv,unknown:o=lv,invalid:i=sv,deprecated:s=uv,missing:c=u(()=>!1,"D"),required:d=u(()=>!1,"l"),preprocess:p=u(h=>h,"d"),postprocess:m=u(()=>eo,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:u(()=>{},"warn")},loggerPrintWidth:n,schemas:t2(e,"name"),normalizeDefaultResult:Qc,normalizeExpectedResult:Td,normalizeDeprecatedResult:t0,normalizeForwardResult:ul,normalizeRedirectResult:r0,normalizeValidateResult:e0},this._unknownHandler=o,this._invalidHandler=l2(i),this._deprecatedHandler=s,this._identifyMissing=(h,f)=>!(h in f)||c(h,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=m,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=n2()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=u(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let i=Qc(o.default(this._utils));"value"in i&&r.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],i=t[a],s=o.postprocess(i,this._utils);s!==eo&&(this._applyValidation(s,a,o),t[a]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let i=this._utils.schemas[o],s=i.preprocess(e[o],this._utils);this._applyValidation(s,o,i);let c=u(({from:m,to:h})=>{r.push(typeof h=="string"?{[h]:m}:{[h.key]:h.value})},"D"),d=u(({value:m,redirectTo:h})=>{let f=t0(i.deprecated(m,this._utils),s,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,h,this._utils));else for(let{value:v}of f){let g={key:o,value:v};if(!this._hasDeprecationWarned(g)){let w=typeof h=="string"?{key:h,value:v}:h;this._utils.logger.warn(this._deprecatedHandler(g,w,this._utils))}}},"l");ul(i.forward(s,this._utils),s).forEach(c);let p=r0(i.redirect(s,this._utils),s);if(p.redirect.forEach(c),"remain"in p){let m=p.remain;t[o]=o in t?i.overlap(t[o],m,this._utils):m,d({value:m})}for(let{from:m,to:h}of p.redirect)d({value:m,redirectTo:h})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(s,c)=>{r.push({[s]:c})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,Kd,this._utils)}_partitionOptionKeys(e){let[t,r]=a2(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=e0(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let i=a[o];o in this._utils.schemas?n(o,i):r[o]=i}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==eo){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(i,s)=>{let c=this._utils.schemas[i];this._applyValidation(s,i,c),e[i]=s})}}}}},u(R0,"Et"),R0),u(s2,"go"),u(Bw,"yo"),u(Tw,"Ao"),m6=s2,cv=u((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Bo"),vf=cv,u(sf,"qt"),u(zw,"On"),u(uf,"ht"),u(cf,"Jt"),u(Lw,"Sn"),e1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},u(u2,"wo"),bn=u2,g6=Qa(W2(),1),u(c2,"ko"),u(Ow,"Lo"),Ba=c2,u(Mw,"Un"),u(Pw,"Po"),u(d2,"Io"),v6=d2,u(ui,"Ye"),u(Ld,"Gn"),u(df,"Qt"),u(p2,"Ro"),y6=p2,u(f2,"Yo"),b6=f2,dv=u((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"jo"),w6=dv,E6=u(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),u($w,"Wo"),u(Od,"Xn"),u(Nw,"Mo"),u(Zl,"er"),u(Hw,"$o"),yf=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),x6=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),u(Md,"Zn"),u(jw,"eu"),bf="\uFEFF",t1=Symbol("cursor"),u(pf,"ou"),u(Vw,"Uo"),u(cl,"tr"),u(Pd,"ru"),u(ff,"iu"),u($d,"nu"),u(Nd,"rr"),u(h2,"su"),u(m2,"au"),u(g2,"Du"),u(v2,"lu"),u(y2,"cu"),B0={},Xa(B0,{builders:u(()=>pv,"builders"),printer:u(()=>fv,"printer"),utils:u(()=>hv,"utils")}),pv={join:Dd,line:Vd,softline:Q2,hardline:Dr,literalline:Ud,group:Ed,conditionalGroup:T5,fill:xd,lineSuffix:Wl,lineSuffixBoundary:J2,cursor:Xl,breakParent:go,ifBreak:z5,trim:X2,indent:No,indentIfBreak:L5,align:cn,addAlignmentToDoc:Cd,markAsRoot:I5,dedentToRoot:R5,dedent:B5,hardlineWithoutBreakParent:dl,literallineWithoutBreakParent:f0,label:O5,concat:u(e=>e,"concat")},fv={printDocToString:jo},hv={willBreak:N5,traverseDoc:Jl,findInDoc:Gl,mapDoc:Ho,removeLines:H5,stripTrailingHardline:Ad,replaceEndOfLine:j5,canBreak:V5},mv="3.3.3",T0={},Xa(T0,{addDanglingComment:u(()=>Ro,"addDanglingComment"),addLeadingComment:u(()=>en,"addLeadingComment"),addTrailingComment:u(()=>tn,"addTrailingComment"),getAlignmentSize:u(()=>es,"getAlignmentSize"),getIndentSize:u(()=>gv,"getIndentSize"),getMaxContinuousCount:u(()=>vv,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:u(()=>yv,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:u(()=>_2,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:u(()=>Ql,"getStringWidth"),hasNewline:u(()=>ar,"hasNewline"),hasNewlineInRange:u(()=>bv,"hasNewlineInRange"),hasSpaces:u(()=>wv,"hasSpaces"),isNextLineEmpty:u(()=>I2,"isNextLineEmpty"),isNextLineEmptyAfterIndex:u(()=>as,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:u(()=>R2,"isPreviousLineEmpty"),makeString:u(()=>Ev,"makeString"),skip:u(()=>In,"skip"),skipEverythingButNewLine:u(()=>Wd,"skipEverythingButNewLine"),skipInlineComment:u(()=>rs,"skipInlineComment"),skipNewline:u(()=>_r,"skipNewline"),skipSpaces:u(()=>lr,"skipSpaces"),skipToLineEnd:u(()=>qd,"skipToLineEnd"),skipTrailingComment:u(()=>ns,"skipTrailingComment"),skipWhitespace:u(()=>rv,"skipWhitespace")}),u(b2,"Jo"),rs=b2,u(w2,"Xo"),ns=w2,u(E2,"Zo"),Ys=E2,u(x2,"Qo"),as=x2,u(D2,"ei"),gv=D2,u(Uw,"ur"),u(C2,"ti"),vv=C2,u(S2,"ri"),yv=S2,u(k2,"ni"),bv=k2,u(A2,"ui"),wv=A2,u(F2,"oi"),Ev=F2,u(qw,"ii"),u(_2,"si"),u(Ww,"ai"),u(R2,"Di"),u(Gw,"li"),u(I2,"ci"),u(dr,"fe"),r1=dr(Nd),u(Hd,"gu"),u(B2,"fi"),xv=dr(_d,0),Dv={parse:dr(h2),formatAST:dr(m2),formatDoc:dr(g2),printToDoc:dr(v2),printDocToString:dr(y2)},D6=i0});function C6(e){for(var t=[],r=1;r{u(C6,"dedent")}),S6={};Fa(S6,{formatter:()=>k6});var Cv,k6,Ck=T(()=>{Cv=De(ks(),1),Ek(),xk(),Dk(),k6=(0,Cv.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?C6(t):(await D6.format(t,{parser:e,plugins:[aw],htmlWhitespaceSensitivity:"ignore"})).trim())}),n1,a1,Sk=T(()=>{n1=u(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),a1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Te,Ge,Ye,ze,os,ta,on,ra,A6,wf,qn,F6,o1,Ef,Sv,kv,Av,Fv,_v,Rv,Iv,Bv,Tv,_6,Xe=T(()=>{Te="top",Ge="bottom",Ye="right",ze="left",os="auto",ta=[Te,Ge,Ye,ze],on="start",ra="end",A6="clippingParents",wf="viewport",qn="popper",F6="reference",o1=ta.reduce(function(e,t){return e.concat([t+"-"+on,t+"-"+ra])},[]),Ef=[].concat(ta,[os]).reduce(function(e,t){return e.concat([t,t+"-"+on,t+"-"+ra])},[]),Sv="beforeRead",kv="read",Av="afterRead",Fv="beforeMain",_v="main",Rv="afterMain",Iv="beforeWrite",Bv="write",Tv="afterWrite",_6=[Sv,kv,Av,Fv,_v,Rv,Iv,Bv,Tv]});function gt(e){return e?(e.nodeName||"").toLowerCase():null}var wn=T(()=>{u(gt,"getNodeName")});function Ne(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Yt=T(()=>{u(Ne,"getWindow")});function Rr(e){var t=Ne(e).Element;return e instanceof t||e instanceof Element}function We(e){var t=Ne(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ks(e){if(typeof ShadowRoot>"u")return!1;var t=Ne(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Qe=T(()=>{Yt(),u(Rr,"isElement"),u(We,"isHTMLElement"),u(Ks,"isShadowRoot")});function zv(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!We(o)||!gt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function Lv(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(c,d){return c[d]="",c},{});!We(a)||!gt(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var R6,kk=T(()=>{wn(),Qe(),u(zv,"applyStyles"),u(Lv,"effect"),R6={name:"applyStyles",enabled:!0,phase:"write",fn:zv,effect:Lv,requires:["computeStyles"]}});function pt(e){return e.split("-")[0]}var En=T(()=>{u(pt,"getBasePlacement")}),Cr,Vo,pn,xn=T(()=>{Cr=Math.max,Vo=Math.min,pn=Math.round});function is(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var I6=T(()=>{u(is,"getUAString")});function xf(){return!/^((?!chrome|android).)*safari/i.test(is())}var B6=T(()=>{I6(),u(xf,"isLayoutViewport")});function fn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&We(e)&&(a=e.offsetWidth>0&&pn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&pn(n.height)/e.offsetHeight||1);var i=Rr(e)?Ne(e):window,s=i.visualViewport,c=!xf()&&r,d=(n.left+(c&&s?s.offsetLeft:0))/a,p=(n.top+(c&&s?s.offsetTop:0))/o,m=n.width/a,h=n.height/o;return{width:m,height:h,top:p,right:d+m,bottom:p+h,left:d,x:d,y:p}}var pi=T(()=>{Qe(),xn(),Yt(),B6(),u(fn,"getBoundingClientRect")});function Zs(e){var t=fn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var Df=T(()=>{pi(),u(Zs,"getLayoutRect")});function Cf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ks(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var T6=T(()=>{Qe(),u(Cf,"contains")});function Gt(e){return Ne(e).getComputedStyle(e)}var fi=T(()=>{Yt(),u(Gt,"getComputedStyle")});function z6(e){return["table","td","th"].indexOf(gt(e))>=0}var Ak=T(()=>{wn(),u(z6,"isTableElement")});function cr(e){return((Rr(e)?e.ownerDocument:e.document)||window.document).documentElement}var zr=T(()=>{Qe(),u(cr,"getDocumentElement")});function hi(e){return gt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ks(e)?e.host:null)||cr(e)}var Js=T(()=>{wn(),zr(),Qe(),u(hi,"getParentNode")});function i1(e){return!We(e)||Gt(e).position==="fixed"?null:e.offsetParent}function L6(e){var t=/firefox/i.test(is()),r=/Trident/i.test(is());if(r&&We(e)){var n=Gt(e);if(n.position==="fixed")return null}var a=hi(e);for(Ks(a)&&(a=a.host);We(a)&&["html","body"].indexOf(gt(a))<0;){var o=Gt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Ta(e){for(var t=Ne(e),r=i1(e);r&&z6(r)&&Gt(r).position==="static";)r=i1(r);return r&&(gt(r)==="html"||gt(r)==="body"&&Gt(r).position==="static")?t:r||L6(e)||t}var mi=T(()=>{Yt(),wn(),fi(),Qe(),Ak(),Js(),I6(),u(i1,"getTrueOffsetParent"),u(L6,"getContainingBlock"),u(Ta,"getOffsetParent")});function Xs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Sf=T(()=>{u(Xs,"getMainAxisFromPlacement")});function na(e,t,r){return Cr(e,Vo(t,r))}function O6(e,t,r){var n=na(e,t,r);return n>r?r:n}var M6=T(()=>{xn(),u(na,"within"),u(O6,"withinMaxClamp")});function kf(){return{top:0,right:0,bottom:0,left:0}}var P6=T(()=>{u(kf,"getFreshSideObject")});function Af(e){return Object.assign({},kf(),e)}var $6=T(()=>{P6(),u(Af,"mergePaddingObject")});function Ff(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var N6=T(()=>{u(Ff,"expandToHashMap")});function Ov(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=pt(r.placement),c=Xs(s),d=[ze,Ye].indexOf(s)>=0,p=d?"height":"width";if(!(!o||!i)){var m=H6(a.padding,r),h=Zs(o),f=c==="y"?Te:ze,v=c==="y"?Ge:Ye,g=r.rects.reference[p]+r.rects.reference[c]-i[c]-r.rects.popper[p],w=i[c]-r.rects.reference[c],x=Ta(o),D=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,E=g/2-w/2,b=m[f],C=D-h[p]-m[v],S=D/2-h[p]/2+E,k=na(b,S,C),A=c;r.modifiersData[n]=(t={},t[A]=k,t.centerOffset=k-S,t)}}function Mv(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Cf(t.elements.popper,a)&&(t.elements.arrow=a))}var H6,j6,Fk=T(()=>{En(),Df(),T6(),mi(),Sf(),M6(),$6(),N6(),Xe(),H6=u(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Af(typeof e!="number"?e:Ff(e,ta))},"toPaddingObject"),u(Ov,"arrow"),u(Mv,"effect"),j6={name:"arrow",enabled:!0,phase:"main",fn:Ov,effect:Mv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function hn(e){return e.split("-")[1]}var gi=T(()=>{u(hn,"getVariation")});function V6(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:pn(r*a)/a||0,y:pn(n*a)/a||0}}function l1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,h=i.x,f=h===void 0?0:h,v=i.y,g=v===void 0?0:v,w=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=w.x,g=w.y;var x=i.hasOwnProperty("x"),D=i.hasOwnProperty("y"),E=ze,b=Te,C=window;if(d){var S=Ta(r),k="clientHeight",A="clientWidth";if(S===Ne(r)&&(S=cr(r),Gt(S).position!=="static"&&s==="absolute"&&(k="scrollHeight",A="scrollWidth")),S=S,a===Te||(a===ze||a===Ye)&&o===ra){b=Ge;var _=m&&S===C&&C.visualViewport?C.visualViewport.height:S[k];g-=_-n.height,g*=c?1:-1}if(a===ze||(a===Te||a===Ge)&&o===ra){E=Ye;var I=m&&S===C&&C.visualViewport?C.visualViewport.width:S[A];f-=I-n.width,f*=c?1:-1}}var B=Object.assign({position:s},d&&U6),z=p===!0?V6({x:f,y:g},Ne(r)):{x:f,y:g};if(f=z.x,g=z.y,c){var L;return Object.assign({},B,(L={},L[b]=D?"0":"",L[E]=x?"0":"",L.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",L))}return Object.assign({},B,(t={},t[b]=D?g+"px":"",t[E]=x?f+"px":"",t.transform="",t))}function Pv(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,c=s===void 0?!0:s,d={placement:pt(t.placement),variation:hn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,l1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,l1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var U6,q6,_k=T(()=>{Xe(),mi(),Yt(),zr(),fi(),En(),gi(),xn(),U6={top:"auto",right:"auto",bottom:"auto",left:"auto"},u(V6,"roundOffsetsByDPR"),u(l1,"mapToStyles"),u(Pv,"computeStyles"),q6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Pv,data:{}}});function $v(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,c=Ne(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",r.update,vo)}),s&&c.addEventListener("resize",r.update,vo),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",r.update,vo)}),s&&c.removeEventListener("resize",r.update,vo)}}var vo,W6,Rk=T(()=>{Yt(),vo={passive:!0},u($v,"effect"),W6={name:"eventListeners",enabled:!0,phase:"write",fn:u(function(){},"fn"),effect:$v,data:{}}});function Io(e){return e.replace(/left|right|bottom|top/g,function(t){return G6[t]})}var G6,Ik=T(()=>{G6={left:"right",right:"left",bottom:"top",top:"bottom"},u(Io,"getOppositePlacement")});function s1(e){return e.replace(/start|end/g,function(t){return Y6[t]})}var Y6,Bk=T(()=>{Y6={start:"end",end:"start"},u(s1,"getOppositeVariationPlacement")});function Qs(e){var t=Ne(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var _f=T(()=>{Yt(),u(Qs,"getWindowScroll")});function eu(e){return fn(cr(e)).left+Qs(e).scrollLeft}var Rf=T(()=>{pi(),zr(),_f(),u(eu,"getWindowScrollBarX")});function K6(e,t){var r=Ne(e),n=cr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;if(a){o=a.width,i=a.height;var d=xf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+eu(e),y:c}}var Tk=T(()=>{Yt(),zr(),Rf(),B6(),u(K6,"getViewportRect")});function Z6(e){var t,r=cr(e),n=Qs(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Cr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Cr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+eu(e),c=-n.scrollTop;return Gt(a||r).direction==="rtl"&&(s+=Cr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}var zk=T(()=>{zr(),fi(),Rf(),_f(),xn(),u(Z6,"getDocumentRect")});function tu(e){var t=Gt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var If=T(()=>{fi(),u(tu,"isScrollParent")});function Bf(e){return["html","body","#document"].indexOf(gt(e))>=0?e.ownerDocument.body:We(e)&&tu(e)?e:Bf(hi(e))}var Lk=T(()=>{Js(),If(),wn(),Qe(),u(Bf,"getScrollParent")});function aa(e,t){var r;t===void 0&&(t=[]);var n=Bf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ne(n),i=a?[o].concat(o.visualViewport||[],tu(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(aa(hi(i)))}var J6=T(()=>{Lk(),Js(),Yt(),If(),u(aa,"listScrollParents")});function ls(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var X6=T(()=>{u(ls,"rectToClientRect")});function Q6(e,t){var r=fn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function u1(e,t,r){return t===wf?ls(K6(e,r)):Rr(t)?Q6(t,r):ls(Z6(cr(e)))}function e8(e){var t=aa(hi(e)),r=["absolute","fixed"].indexOf(Gt(e).position)>=0,n=r&&We(e)?Ta(e):e;return Rr(n)?t.filter(function(a){return Rr(a)&&Cf(a,n)&>(a)!=="body"}):[]}function t8(e,t,r,n){var a=t==="clippingParents"?e8(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(c,d){var p=u1(e,d,n);return c.top=Cr(p.top,c.top),c.right=Vo(p.right,c.right),c.bottom=Vo(p.bottom,c.bottom),c.left=Cr(p.left,c.left),c},u1(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var Ok=T(()=>{Xe(),Tk(),zk(),J6(),mi(),zr(),fi(),Qe(),pi(),Js(),T6(),wn(),X6(),xn(),u(Q6,"getInnerBoundingClientRect"),u(u1,"getClientRectFromMixedType"),u(e8,"getClippingParents"),u(t8,"getClippingRect")});function Tf(e){var t=e.reference,r=e.element,n=e.placement,a=n?pt(n):null,o=n?hn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case Te:c={x:i,y:t.y-r.height};break;case Ge:c={x:i,y:t.y+t.height};break;case Ye:c={x:t.x+t.width,y:s};break;case ze:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var d=a?Xs(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case on:c[d]=c[d]-(t[p]/2-r[p]/2);break;case ra:c[d]=c[d]+(t[p]/2-r[p]/2);break}}return c}var r8=T(()=>{En(),gi(),Sf(),Xe(),u(Tf,"computeOffsets")});function wa(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,c=s===void 0?A6:s,d=r.rootBoundary,p=d===void 0?wf:d,m=r.elementContext,h=m===void 0?qn:m,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,w=g===void 0?0:g,x=Af(typeof w!="number"?w:Ff(w,ta)),D=h===qn?F6:qn,E=e.rects.popper,b=e.elements[v?D:h],C=t8(Rr(b)?b:b.contextElement||cr(e.elements.popper),c,p,i),S=fn(e.elements.reference),k=Tf({reference:S,element:E,strategy:"absolute",placement:a}),A=ls(Object.assign({},E,k)),_=h===qn?A:S,I={top:C.top-_.top+x.top,bottom:_.bottom-C.bottom+x.bottom,left:C.left-_.left+x.left,right:_.right-C.right+x.right},B=e.modifiersData.offset;if(h===qn&&B){var z=B[a];Object.keys(I).forEach(function(L){var M=[Ye,Ge].indexOf(L)>=0?1:-1,O=[Te,Ge].indexOf(L)>=0?"y":"x";I[L]+=z[O]*M})}return I}var ru=T(()=>{Ok(),zr(),pi(),r8(),X6(),Xe(),Qe(),$6(),N6(),u(wa,"detectOverflow")});function n8(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?Ef:c,p=hn(n),m=p?s?o1:o1.filter(function(v){return hn(v)===p}):ta,h=m.filter(function(v){return d.indexOf(v)>=0});h.length===0&&(h=m);var f=h.reduce(function(v,g){return v[g]=wa(e,{placement:g,boundary:a,rootBoundary:o,padding:i})[pt(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var Mk=T(()=>{gi(),Xe(),ru(),En(),u(n8,"computeAutoPlacement")});function a8(e){if(pt(e)===os)return[];var t=Io(e);return[s1(e),t,s1(t)]}function Nv(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,c=r.fallbackPlacements,d=r.padding,p=r.boundary,m=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,w=t.options.placement,x=pt(w),D=x===w,E=c||(D||!v?[Io(w)]:a8(w)),b=[w].concat(E).reduce(function(ie,N){return ie.concat(pt(N)===os?n8(t,{placement:N,boundary:p,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:g}):N)},[]),C=t.rects.reference,S=t.rects.popper,k=new Map,A=!0,_=b[0],I=0;I=0,O=M?"width":"height",P=wa(t,{placement:B,boundary:p,rootBoundary:m,altBoundary:h,padding:d}),j=M?L?Ye:ze:L?Ge:Te;C[O]>S[O]&&(j=Io(j));var U=Io(j),V=[];if(o&&V.push(P[z]<=0),s&&V.push(P[j]<=0,P[U]<=0),V.every(function(ie){return ie})){_=B,A=!1;break}k.set(B,V)}if(A)for(var G=v?3:1,Q=u(function(ie){var N=b.find(function(K){var re=k.get(K);if(re)return re.slice(0,ie).every(function(fe){return fe})});if(N)return _=N,"break"},"_loop"),ne=G;ne>0;ne--){var Z=Q(ne);if(Z==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var o8,Pk=T(()=>{Ik(),En(),Bk(),ru(),Mk(),Xe(),gi(),u(a8,"getExpandedFallbackPlacements"),u(Nv,"flip"),o8={name:"flip",enabled:!0,phase:"main",fn:Nv,requiresIfExists:["offset"],data:{_skip:!1}}});function c1(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function d1(e){return[Te,Ye,Ge,ze].some(function(t){return e[t]>=0})}function Hv(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=wa(t,{elementContext:"reference"}),s=wa(t,{altBoundary:!0}),c=c1(i,n),d=c1(s,a,o),p=d1(c),m=d1(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}var i8,$k=T(()=>{Xe(),ru(),u(c1,"getSideOffsets"),u(d1,"isAnySideFullyClipped"),u(Hv,"hide"),i8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Hv}});function l8(e,t,r){var n=pt(e),a=[ze,Te].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[ze,Ye].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function jv(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Ef.reduce(function(p,m){return p[m]=l8(m,t.rects,o),p},{}),s=i[t.placement],c=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var s8,Nk=T(()=>{En(),Xe(),u(l8,"distanceAndSkiddingToXY"),u(jv,"offset"),s8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:jv}});function Vv(e){var t=e.state,r=e.name;t.modifiersData[r]=Tf({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var u8,Hk=T(()=>{r8(),u(Vv,"popperOffsets"),u8={name:"popperOffsets",enabled:!0,phase:"read",fn:Vv,data:{}}});function c8(e){return e==="x"?"y":"x"}var jk=T(()=>{u(c8,"getAltAxis")});function Uv(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,m=r.padding,h=r.tether,f=h===void 0?!0:h,v=r.tetherOffset,g=v===void 0?0:v,w=wa(t,{boundary:c,rootBoundary:d,padding:m,altBoundary:p}),x=pt(t.placement),D=hn(t.placement),E=!D,b=Xs(x),C=c8(b),S=t.modifiersData.popperOffsets,k=t.rects.reference,A=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,I=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(o){var L,M=b==="y"?Te:ze,O=b==="y"?Ge:Ye,P=b==="y"?"height":"width",j=S[b],U=j+w[M],V=j-w[O],G=f?-A[P]/2:0,Q=D===on?k[P]:A[P],ne=D===on?-A[P]:-k[P],Z=t.elements.arrow,ie=f&&Z?Zs(Z):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:kf(),K=N[M],re=N[O],fe=na(0,k[P],ie[P]),Ce=E?k[P]/2-G-fe-K-I.mainAxis:Q-fe-K-I.mainAxis,xt=E?-k[P]/2+G+fe+re+I.mainAxis:ne+fe+re+I.mainAxis,He=t.elements.arrow&&Ta(t.elements.arrow),tt=He?b==="y"?He.clientTop||0:He.clientLeft||0:0,$=(L=B==null?void 0:B[b])!=null?L:0,rt=j+Ce-$-tt,Dt=j+xt-$,Mr=na(f?Vo(U,rt):U,j,f?Cr(V,Dt):V);S[b]=Mr,z[b]=Mr-j}if(s){var An,Ct=b==="x"?Te:ze,bi=b==="x"?Ge:Ye,Re=S[C],Pr=C==="y"?"height":"width",St=Re+w[Ct],Fn=Re-w[bi],kt=[Te,ze].indexOf(x)!==-1,_n=(An=B==null?void 0:B[C])!=null?An:0,At=kt?St:Re-k[Pr]-A[Pr]-_n+I.altAxis,Se=kt?Re+k[Pr]+A[Pr]-_n-I.altAxis:Fn,nt=f&&kt?O6(At,Re,Se):na(f?At:St,Re,f?Se:Fn);S[C]=nt,z[C]=nt-Re}t.modifiersData[n]=z}}var d8,Vk=T(()=>{Xe(),En(),Sf(),jk(),M6(),Df(),mi(),ru(),gi(),P6(),xn(),u(Uv,"preventOverflow"),d8={name:"preventOverflow",enabled:!0,phase:"main",fn:Uv,requiresIfExists:["offset"]}}),p8=T(()=>{});function f8(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var Uk=T(()=>{u(f8,"getHTMLElementScroll")});function h8(e){return e===Ne(e)||!We(e)?Qs(e):f8(e)}var qk=T(()=>{_f(),Yt(),Qe(),Uk(),u(h8,"getNodeScroll")});function m8(e){var t=e.getBoundingClientRect(),r=pn(t.width)/e.offsetWidth||1,n=pn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function g8(e,t,r){r===void 0&&(r=!1);var n=We(t),a=We(t)&&m8(t),o=cr(t),i=fn(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((gt(t)!=="body"||tu(o))&&(s=h8(t)),We(t)?(c=fn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=eu(o))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}var Wk=T(()=>{pi(),qk(),wn(),Qe(),Rf(),zr(),If(),xn(),u(m8,"isElementScaled"),u(g8,"getCompositeRect")});function v8(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&a(c)}}),n.push(o)}return u(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function y8(e){var t=v8(e);return _6.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var Gk=T(()=>{Xe(),u(v8,"order"),u(y8,"orderModifiers")});function b8(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var Yk=T(()=>{u(b8,"debounce")});function w8(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Kk=T(()=>{u(w8,"mergeByName")});function p1(){for(var e=arguments.length,t=new Array(e),r=0;r{Wk(),Df(),J6(),mi(),Gk(),Yk(),Kk(),Qe(),f1={placement:"bottom",modifiers:[],strategy:"absolute"},u(p1,"areValidElements"),u(E8,"popperGenerator")}),qv,x8,Jk=T(()=>{Zk(),Rk(),Hk(),_k(),kk(),Nk(),Pk(),Vk(),Fk(),$k(),p8(),qv=[W6,u8,q6,R6,s8,o8,d8,j6,i8],x8=E8({defaultModifiers:qv})}),Xk=T(()=>{Xe(),p8(),Jk()}),Qk=q((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var d,p,m;if(Array.isArray(s)){if(d=s.length,d!=c.length)return!1;for(p=d;p--!==0;)if(!i(s[p],c[p]))return!1;return!0}var h;if(n&&s instanceof Map&&c instanceof Map){if(s.size!==c.size)return!1;for(h=s.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;for(h=s.entries();!(p=h.next()).done;)if(!i(p.value[1],c.get(p.value[0])))return!1;return!0}if(a&&s instanceof Set&&c instanceof Set){if(s.size!==c.size)return!1;for(h=s.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(c)){if(d=s.length,d!=c.length)return!1;for(p=d;p--!==0;)if(s[p]!==c[p])return!1;return!0}if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof c.valueOf=="function")return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof c.toString=="function")return s.toString()===c.toString();if(m=Object.keys(s),d=m.length,d!==Object.keys(c).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(c,m[p]))return!1;if(r&&s instanceof Element)return!1;for(p=d;p--!==0;)if(!((m[p]==="_owner"||m[p]==="__v"||m[p]==="__o")&&s.$$typeof)&&!i(s[m[p]],c[m[p]]))return!1;return!0}return s!==s&&c!==c}u(i,"equal"),t.exports=u(function(s,c){try{return i(s,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),Wv,Gv,D8,eA=T(()=>{Xk(),Wv=De(Qk()),Sk(),Gv=[],D8=u(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Gv},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],c=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:u(function(m){var h=m.state,f=Object.keys(h.elements);fs.flushSync(function(){s({styles:n1(f.map(function(v){return[v,h.styles[v]||{}]})),attributes:n1(f.map(function(v){return[v,h.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var m={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,Wv.default)(n.current,m)?n.current||m:(n.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),p=l.useRef();return a1(function(){p.current&&p.current.setOptions(d)},[d]),a1(function(){if(!(e==null||t==null)){var m=r.createPopper||x8,h=m(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:i.styles,attributes:i.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),tA=T(()=>{eA()});function zf(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function C8(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?k8:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],s=o[1],c=zf(i),d=l.useCallback(function(m){var h=c(),f=typeof m=="function"?m(h):m;typeof f.persist=="function"&&f.persist(),s(f),typeof a=="function"&&a(f)},[c,a]),p=r!==void 0;return[p?r:i,p?a:d]}function h1(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:u(function(){return null},"toJSON")}}}function S8(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(g1).reduce(function(O,P){var j;return X({},O,(j={},j[P]=O[P]!==void 0?O[P]:g1[P],j))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=X({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),c=l.useState(null),d=c[0],p=c[1],m=l.useState(null),h=m[0],f=m[1],v=C8({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),g=v[0],w=v[1],x=l.useRef();l.useEffect(function(){return function(){return clearTimeout(x.current)}},[]);var D=D8(o.followCursor?m1:d,h,s),E=D.styles,b=D.attributes,C=As(D,A8),S=C.update,k=zf({visible:g,triggerRef:d,tooltipRef:h,finalConfig:o}),A=l.useCallback(function(O){return Array.isArray(o.trigger)?o.trigger.includes(O):o.trigger===O},Array.isArray(o.trigger)?o.trigger:[o.trigger]),_=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return w(!1)},o.delayHide)},[o.delayHide,w]),I=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return w(!0)},o.delayShow)},[o.delayShow,w]),B=l.useCallback(function(){k().visible?_():I()},[k,_,I]);l.useEffect(function(){if(k().finalConfig.closeOnOutsideClick){var O=u(function(P){var j,U=k(),V=U.tooltipRef,G=U.triggerRef,Q=(P.composedPath==null||(j=P.composedPath())==null?void 0:j[0])||P.target;Q instanceof Node&&V!=null&&G!=null&&!V.contains(Q)&&!G.contains(Q)&&_()},"handleClickOutside");return document.addEventListener("mousedown",O),function(){return document.removeEventListener("mousedown",O)}}},[k,_]),l.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",B),function(){return d.removeEventListener("click",B)}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",B),function(){return d.removeEventListener("dblclick",B)}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("right-click"))){var O=u(function(P){P.preventDefault(),B()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",O),function(){return d.removeEventListener("contextmenu",O)}}},[d,A,B]),l.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",I),d.addEventListener("blur",_),function(){d.removeEventListener("focus",I),d.removeEventListener("blur",_)}},[d,A,I,_]),l.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",I),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",I),d.removeEventListener("mouseleave",_)}},[d,A,I,_]),l.useEffect(function(){if(!(h==null||!A("hover")||!k().finalConfig.interactive))return h.addEventListener("mouseenter",I),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",I),h.removeEventListener("mouseleave",_)}},[h,A,I,_,k]);var z=C==null||(r=C.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&z&&_()},[o.closeOnTriggerHidden,_,z]),l.useEffect(function(){if(!o.followCursor||d==null)return;function O(P){var j=P.clientX,U=P.clientY;m1.getBoundingClientRect=h1(j,U),S==null||S()}return u(O,"setMousePosition"),d.addEventListener("mousemove",O),function(){return d.removeEventListener("mousemove",O)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(h==null||S==null||o.mutationObserverOptions==null)){var O=new MutationObserver(S);return O.observe(h,o.mutationObserverOptions),function(){return O.disconnect()}}},[o.mutationObserverOptions,h,S]);var L=u(function(O){return O===void 0&&(O={}),X({},O,{style:X({},O.style,E.popper)},b.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=u(function(O){return O===void 0&&(O={}),X({},O,b.arrow,{style:X({},O.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return X({getArrowProps:M,getTooltipProps:L,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:g},C)}var k8,A8,m1,g1,rA=T(()=>{mp(),yt(),tA(),u(zf,"useGetLatest"),k8=u(function(){},"noop"),u(C8,"useControlledState"),u(h1,"generateBoundingClientRect"),A8=["styles","attributes"],m1={getBoundingClientRect:h1()},g1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},u(S8,"usePopperTooltip")}),Yv,Ve,Qt,Kv,Zv,v1,nA=T(()=>{Yv=De(ks(),1),Ve=(0,Yv.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),Qt=8,Kv=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Ve("top",r,`${Qt*-1}px`,"auto")}`,top:`${Ve("bottom",r,`${Qt*-1}px`,"auto")}`,right:`${Ve("left",r,`${Qt*-1}px`,"auto")}`,left:`${Ve("right",r,`${Qt*-1}px`,"auto")}`,borderBottomWidth:`${Ve("top",r,"0",Qt)}px`,borderTopWidth:`${Ve("bottom",r,"0",Qt)}px`,borderRightWidth:`${Ve("left",r,"0",Qt)}px`,borderLeftWidth:`${Ve("right",r,"0",Qt)}px`,borderTopColor:Ve("top",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderBottomColor:Ve("bottom",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderLeftColor:Ve("left",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderRightColor:Ve("right",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent")})),Zv=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,filter:` + drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) + drop-shadow(0 1px 3px rgba(0,0,0,0.1)) + `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),v1=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},c)=>y.createElement(Zv,{"data-testid":"tooltip",hasChrome:t,ref:c,...s,color:o},t&&i&&y.createElement(Kv,{placement:e,...n,color:o}),r)),v1.displayName="Tooltip"}),Lf={};Fa(Lf,{WithToolTipState:()=>ss,WithTooltip:()=>ss,WithTooltipPure:()=>y1});var to,Jv,Xv,y1,ss,Of=T(()=>{hp(),rA(),nA(),{document:to}=Ss,Jv=F.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,Xv=F.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,y1=u(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:s,offset:c,tooltip:d,children:p,closeOnTriggerHidden:m,mutationObserverOptions:h,delayHide:f,visible:v,interactive:g,delayShow:w,strategy:x,followCursor:D,onVisibleChange:E,...b})=>{let C=e?Xv:Jv,{getArrowProps:S,getTooltipProps:k,setTooltipRef:A,setTriggerRef:_,visible:I,state:B}=S8({trigger:t,placement:n,defaultVisible:i,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:m,onVisibleChange:E,delayShow:w,followCursor:D,mutationObserverOptions:h,visible:v,offset:c},{modifiers:a,strategy:x}),z=y.createElement(v1,{placement:B==null?void 0:B.placement,ref:A,hasChrome:o,arrowProps:S(),withArrows:s,...k()},typeof d=="function"?d({onHide:u(()=>E(!1),"onHide")}):d);return y.createElement(y.Fragment,null,y.createElement(C,{trigger:t,ref:_,...b},p),I&&G4.createPortal(z,to.body))},"WithTooltipPure"),ss=u(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=l.useState(e),o=l.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return l.useEffect(()=>{let i=u(()=>o(!1),"hide");to.addEventListener("keydown",i,!1);let s=Array.from(to.getElementsByTagName("iframe")),c=[];return s.forEach(d=>{let p=u(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),c.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),c.push(()=>{d.removeEventListener("load",p)})}),()=>{to.removeEventListener("keydown",i),c.forEach(d=>{d()})}}),y.createElement(y1,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),le=u(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");yt();oS();fp();function F8(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ha(e,t)}u(F8,"_inheritsLoose");iS();fp();function _8(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}u(_8,"_isNativeFunction");function Mf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Mf=u(function(){return!!e},"_isNativeReflectConstruct"))()}u(Mf,"_isNativeReflectConstruct");fp();function R8(e,t,r){if(Mf())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&ha(a,r.prototype),a}u(R8,"_construct");function us(e){var t=typeof Map=="function"?new Map:void 0;return us=u(function(r){if(r===null||!_8(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return R8(r,arguments,Rl(this).constructor)}return u(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ha(n,r)},"_wrapNativeSuper"),us(e)}u(us,"_wrapNativeSuper");var aA={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 I8(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}u(Ea,"hslToRgb");var Qv={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 T8(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Qv[t]?"#"+Qv[t]:e}u(T8,"nameToHex");var oA=/^#[a-fA-F0-9]{6}$/,iA=/^#[a-fA-F0-9]{8}$/,lA=/^#[a-fA-F0-9]{3}$/,sA=/^#[a-fA-F0-9]{4}$/,z0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,uA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,cA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,dA=/^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 nu(e){if(typeof e!="string")throw new Ot(3);var t=T8(e);if(t.match(oA))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(iA)){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(lA))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(sA)){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=z0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=uA.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 i=cA.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Ea(s,c,d)+")",m=z0.exec(p);if(!m)throw new Ot(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=dA.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+Ea(f,v,g)+")",x=z0.exec(w);if(!x)throw new Ot(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Ot(5)}u(nu,"parseToRgb");function z8(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),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,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?Uo(e,t,r):"rgba("+Ea(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Uo(e.hue,e.saturation,e.lightness):"rgba("+Ea(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ot(2)}u(M8,"hsla");function cs(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return b1("#"+wr(e)+wr(t)+wr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return b1("#"+wr(e.red)+wr(e.green)+wr(e.blue));throw new Ot(6)}u(cs,"rgb");function qo(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=nu(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?cs(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?cs(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ot(7)}u(qo,"rgba");var fA=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),hA=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),mA=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),gA=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function $f(e){if(typeof e!="object")throw new Ot(8);if(hA(e))return qo(e);if(fA(e))return cs(e);if(gA(e))return M8(e);if(mA(e))return O8(e);throw new Ot(8)}u($f,"toColorString");function Nf(e,t,r){return u(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Nf(e,t,n)},"fn")}u(Nf,"curried");function au(e){return Nf(e,e.length,[])}u(au,"curry");function ou(e,t,r){return Math.max(e,Math.min(t,r))}u(ou,"guard");function P8(e,t){if(t==="transparent")return t;var r=Pf(t);return $f(X({},r,{lightness:ou(0,1,r.lightness-parseFloat(e))}))}u(P8,"darken");var vA=au(P8),Yn=vA;function $8(e,t){if(t==="transparent")return t;var r=Pf(t);return $f(X({},r,{lightness:ou(0,1,r.lightness+parseFloat(e))}))}u($8,"lighten");var yA=au($8),e4=yA;function N8(e,t){if(t==="transparent")return t;var r=nu(t),n=typeof r.alpha=="number"?r.alpha:1,a=X({},r,{alpha:ou(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return qo(a)}u(N8,"transparentize");var bA=au(N8),Ze=bA,za=u(({theme:e})=>({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"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),Lr=u(({theme:e})=>({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"?Ze(.1,e.color.defaultText):Ze(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),se=u(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),Dn={margin:"16px 0"},H8=F.div(se),wA=u(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return y.createElement("a",{href:r,target:n,...t})},"Link"),EA=F(wA)(se,({theme:e})=>({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}})),xA=F.blockquote(se,Dn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));_s();var DA=u(e=>typeof e=="string","isReactChildString"),CA=/[\n\r]/g,SA=F.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Lr),kA=F(Co)(({theme:e})=>({fontFamily:e.typography.fonts.mono,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"}})),j8=u(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(DA).some(o=>o.match(CA))?y.createElement(kA,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):y.createElement(SA,{...r,className:e},a)},"Code"),AA=F.dl(se,Dn,{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}}),FA=F.div(se),_A=F.h1(se,za,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),V8=F.h2(se,za,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),U8=F.h3(se,za,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),RA=F.h4(se,za,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),IA=F.h5(se,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),BA=F.h6(se,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),TA=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),zA=F.img({maxWidth:"100%"}),LA=F.li(se,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Lr({theme:e})})),OA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},MA=F.ol(se,Dn,OA,{listStyle:"decimal"}),PA=F.p(se,Dn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Lr({theme:e})})),$A=F.pre(se,Dn,({theme:e})=>({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"}})),NA=F.span(se,({theme:e})=>({"&.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"}}})),HA=F.title(Lr),jA=F.table(se,Dn,({theme:e})=>({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}})),VA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},UA=F.ul(se,Dn,VA,{listStyle:"disc"}),q8={h1:u(e=>y.createElement(_A,{...le(e,"h1")}),"h1"),h2:u(e=>y.createElement(V8,{...le(e,"h2")}),"h2"),h3:u(e=>y.createElement(U8,{...le(e,"h3")}),"h3"),h4:u(e=>y.createElement(RA,{...le(e,"h4")}),"h4"),h5:u(e=>y.createElement(IA,{...le(e,"h5")}),"h5"),h6:u(e=>y.createElement(BA,{...le(e,"h6")}),"h6"),pre:u(e=>y.createElement($A,{...le(e,"pre")}),"pre"),a:u(e=>y.createElement(EA,{...le(e,"a")}),"a"),hr:u(e=>y.createElement(TA,{...le(e,"hr")}),"hr"),dl:u(e=>y.createElement(AA,{...le(e,"dl")}),"dl"),blockquote:u(e=>y.createElement(xA,{...le(e,"blockquote")}),"blockquote"),table:u(e=>y.createElement(jA,{...le(e,"table")}),"table"),img:u(e=>y.createElement(zA,{...le(e,"img")}),"img"),div:u(e=>y.createElement(FA,{...le(e,"div")}),"div"),span:u(e=>y.createElement(NA,{...le(e,"span")}),"span"),li:u(e=>y.createElement(LA,{...le(e,"li")}),"li"),ul:u(e=>y.createElement(UA,{...le(e,"ul")}),"ul"),ol:u(e=>y.createElement(MA,{...le(e,"ol")}),"ol"),p:u(e=>y.createElement(PA,{...le(e,"p")}),"p"),code:u(e=>y.createElement(j8,{...le(e,"code")}),"code"),tt:u(e=>y.createElement(HA,{...le(e,"tt")}),"tt"),resetwrapper:u(e=>y.createElement(H8,{...le(e,"resetwrapper")}),"resetwrapper")},qA=F.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ze(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ze(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ze(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ze(.9,e.color.positiveText)}`:"none"};default:return{}}}),dV=u(({...e})=>y.createElement(qA,{...e}),"Badge"),W8={};Fa(W8,{AccessibilityAltIcon:()=>pB,AccessibilityIcon:()=>dB,AddIcon:()=>lR,AdminIcon:()=>tB,AlertAltIcon:()=>LR,AlertIcon:()=>zR,AlignLeftIcon:()=>PF,AlignRightIcon:()=>$F,AppleIcon:()=>a_,ArrowBottomLeftIcon:()=>AI,ArrowBottomRightIcon:()=>FI,ArrowDownIcon:()=>xI,ArrowLeftIcon:()=>DI,ArrowRightIcon:()=>CI,ArrowSolidDownIcon:()=>RI,ArrowSolidLeftIcon:()=>II,ArrowSolidRightIcon:()=>BI,ArrowSolidUpIcon:()=>_I,ArrowTopLeftIcon:()=>SI,ArrowTopRightIcon:()=>kI,ArrowUpIcon:()=>EI,AzureDevOpsIcon:()=>c_,BackIcon:()=>UI,BasketIcon:()=>aI,BatchAcceptIcon:()=>eR,BatchDenyIcon:()=>Q_,BeakerIcon:()=>oI,BellIcon:()=>NR,BitbucketIcon:()=>d_,BoldIcon:()=>WF,BookIcon:()=>_F,BookmarkHollowIcon:()=>GR,BookmarkIcon:()=>YR,BottomBarIcon:()=>M_,BottomBarToggleIcon:()=>P_,BoxIcon:()=>V_,BranchIcon:()=>t_,BrowserIcon:()=>__,ButtonIcon:()=>SR,CPUIcon:()=>$_,CalendarIcon:()=>OF,CameraIcon:()=>fF,CategoryIcon:()=>BF,CertificateIcon:()=>eI,ChangedIcon:()=>pR,ChatIcon:()=>bR,CheckIcon:()=>J_,ChevronDownIcon:()=>mI,ChevronLeftIcon:()=>gI,ChevronRightIcon:()=>K8,ChevronSmallDownIcon:()=>yI,ChevronSmallLeftIcon:()=>bI,ChevronSmallRightIcon:()=>wI,ChevronSmallUpIcon:()=>vI,ChevronUpIcon:()=>hI,ChromaticIcon:()=>p_,ChromeIcon:()=>s_,CircleHollowIcon:()=>qR,CircleIcon:()=>WR,ClearIcon:()=>hR,CloseAltIcon:()=>nR,CloseIcon:()=>uR,CloudHollowIcon:()=>sI,CloudIcon:()=>uI,CogIcon:()=>W_,CollapseIcon:()=>zI,CommandIcon:()=>_R,CommentAddIcon:()=>gR,CommentIcon:()=>mR,CommentsIcon:()=>yR,CommitIcon:()=>e_,CompassIcon:()=>YI,ComponentDrivenIcon:()=>f_,ComponentIcon:()=>YA,ContrastIcon:()=>iF,ControlsIcon:()=>tR,CopyIcon:()=>IF,CreditIcon:()=>CR,CrossIcon:()=>Y8,DashboardIcon:()=>XI,DatabaseIcon:()=>N_,DeleteIcon:()=>cR,DiamondIcon:()=>KR,DirectionIcon:()=>rB,DiscordIcon:()=>h_,DocChartIcon:()=>HF,DocListIcon:()=>jF,DocumentIcon:()=>RF,DownloadIcon:()=>VI,DragIcon:()=>VF,EditIcon:()=>q_,EllipsisIcon:()=>K_,EmailIcon:()=>OR,ExpandAltIcon:()=>TI,ExpandIcon:()=>LI,EyeCloseIcon:()=>aF,EyeIcon:()=>nF,FaceHappyIcon:()=>sB,FaceNeutralIcon:()=>uB,FaceSadIcon:()=>cB,FacebookIcon:()=>m_,FailedIcon:()=>fR,FastForwardIcon:()=>wF,FigmaIcon:()=>g_,FilterIcon:()=>NF,FlagIcon:()=>lI,FolderIcon:()=>TF,FormIcon:()=>X_,GDriveIcon:()=>v_,GithubIcon:()=>y_,GitlabIcon:()=>b_,GlobeIcon:()=>GI,GoogleIcon:()=>w_,GraphBarIcon:()=>MF,GraphLineIcon:()=>LF,GraphqlIcon:()=>E_,GridAltIcon:()=>XA,GridIcon:()=>KA,GrowIcon:()=>uF,HeartHollowIcon:()=>ZR,HeartIcon:()=>JR,HomeIcon:()=>eB,HourglassIcon:()=>iI,InfoIcon:()=>IR,ItalicIcon:()=>GF,JumpToIcon:()=>UR,KeyIcon:()=>xR,LightningIcon:()=>oF,LightningOffIcon:()=>G8,LinkBrokenIcon:()=>$R,LinkIcon:()=>PR,LinkedinIcon:()=>A_,LinuxIcon:()=>o_,ListOrderedIcon:()=>KF,ListUnorderedIcon:()=>ZF,LocationIcon:()=>KI,LockIcon:()=>wR,MarkdownIcon:()=>XF,MarkupIcon:()=>qF,MediumIcon:()=>x_,MemoryIcon:()=>H_,MenuIcon:()=>UF,MergeIcon:()=>n_,MirrorIcon:()=>sF,MobileIcon:()=>I_,MoonIcon:()=>FF,NutIcon:()=>G_,OutboxIcon:()=>DR,OutlineIcon:()=>ZA,PaintBrushIcon:()=>cF,PaperClipIcon:()=>YF,ParagraphIcon:()=>JF,PassedIcon:()=>dR,PhoneIcon:()=>MR,PhotoDragIcon:()=>JA,PhotoIcon:()=>GA,PinAltIcon:()=>oR,PinIcon:()=>ZI,PlayAllHollowIcon:()=>CF,PlayBackIcon:()=>vF,PlayHollowIcon:()=>DF,PlayIcon:()=>gF,PlayNextIcon:()=>yF,PlusIcon:()=>rR,PointerDefaultIcon:()=>AR,PointerHandIcon:()=>FR,PowerIcon:()=>U_,PrintIcon:()=>zF,ProceedIcon:()=>qI,ProfileIcon:()=>lB,PullRequestIcon:()=>r_,QuestionIcon:()=>BR,RSSIcon:()=>HR,RedirectIcon:()=>PI,ReduxIcon:()=>D_,RefreshIcon:()=>WI,ReplyIcon:()=>NI,RepoIcon:()=>QF,RequestChangeIcon:()=>vR,RewindIcon:()=>bF,RulerIcon:()=>dF,SaveIcon:()=>RR,SearchIcon:()=>QA,ShareAltIcon:()=>jR,ShareIcon:()=>VR,ShieldIcon:()=>nI,SideBySideIcon:()=>SF,SidebarAltIcon:()=>z_,SidebarAltToggleIcon:()=>L_,SidebarIcon:()=>T_,SidebarToggleIcon:()=>O_,SpeakerIcon:()=>mF,StackedIcon:()=>kF,StarHollowIcon:()=>XR,StarIcon:()=>QR,StatusFailIcon:()=>dI,StatusPassIcon:()=>fI,StatusWarnIcon:()=>pI,StickerIcon:()=>cI,StopAltHollowIcon:()=>xF,StopAltIcon:()=>EF,StopIcon:()=>pF,StorybookIcon:()=>u_,StructureIcon:()=>j_,SubtractIcon:()=>sR,SunIcon:()=>AF,SupportIcon:()=>TR,SwitchAltIcon:()=>lF,SyncIcon:()=>HI,TabletIcon:()=>R_,ThumbsUpIcon:()=>rI,TimeIcon:()=>JI,TimerIcon:()=>QI,TransferIcon:()=>MI,TrashIcon:()=>aR,TwitterIcon:()=>C_,TypeIcon:()=>kR,UbuntuIcon:()=>i_,UndoIcon:()=>$I,UnfoldIcon:()=>OI,UnlockIcon:()=>ER,UnpinIcon:()=>iR,UploadIcon:()=>jI,UserAddIcon:()=>oB,UserAltIcon:()=>aB,UserIcon:()=>nB,UsersIcon:()=>iB,VSCodeIcon:()=>k_,VerifiedIcon:()=>tI,VideoIcon:()=>hF,WandIcon:()=>Z_,WatchIcon:()=>B_,WindowsIcon:()=>l_,WrenchIcon:()=>Y_,XIcon:()=>F_,YoutubeIcon:()=>S_,ZoomIcon:()=>eF,ZoomOutIcon:()=>tF,ZoomResetIcon:()=>rF,iconList:()=>WA});var WA=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],GA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),YA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),KA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),ZA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),JA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),l.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),XA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),QA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),eF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),tF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),rF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),nF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),aF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),oF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),G8=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),iF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),lF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),sF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),uF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),l.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),cF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),dF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),pF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),fF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),hF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),mF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),l.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),l.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),gF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),vF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),yF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),bF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),wF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),EF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),xF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),DF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),CF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),SF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),kF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),AF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),l.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3492"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),FF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3493"},l.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),_F=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),RF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),IF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),BF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),TF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),zF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),LF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),OF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),MF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),PF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),$F=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),NF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),HF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),jF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),VF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),UF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),qF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),WF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),GF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),YF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),KF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),ZF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),JF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),XF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),QF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),e_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),t_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),r_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),n_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),a_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),o_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),i_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},l.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3497"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),l_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),s_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3496"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),u_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),c_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},l.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3503"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),d_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),p_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),f_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),h_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),m_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),g_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),v_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),y_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),b_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),w_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),E_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),x_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),D_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),C_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),S_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),k_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),A_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),F_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),__=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),R_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),I_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),B_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),T_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),z_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),L_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),O_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),M_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),P_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),$_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),N_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),H_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),j_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),V_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),U_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),l.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),q_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),W_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),G_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),Y_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),K_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),Z_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),J_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),X_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),Q_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),eR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),tR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),rR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),nR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),Y8=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),aR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),oR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3502"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),iR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},l.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3501"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),lR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),sR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),uR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),cR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),dR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),pR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),fR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),hR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),mR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),gR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),vR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),yR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),bR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),wR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),ER=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},l.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3614"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),xR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),DR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),l.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),CR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),SR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),l.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),kR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),AR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),FR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),_R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),RR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),IR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),BR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),TR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),zR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),LR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),OR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),MR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),PR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),$R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),NR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),HR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),jR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),VR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),UR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),l.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),qR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),WR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),GR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}))),YR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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-.5z",fill:e}))),KR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1449_588"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),ZR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),JR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),XR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),QR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),eI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),tI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),rI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),nI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),aI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),l.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),l.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),oI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),iI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),lI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),sI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),uI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),cI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),dI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),pI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),fI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),hI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),mI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),gI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),K8=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),vI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),yI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),bI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),wI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),EI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),xI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),DI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),CI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),SI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),kI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),AI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),FI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),_I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),RI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),II=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),BI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),TI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),zI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),LI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),OI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),l.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),l.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),MI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),PI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),$I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),NI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),HI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),jI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),VI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),UI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),qI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),WI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),GI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),YI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),KI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),ZI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),JI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),XI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),QI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),eB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),tB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),l.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),rB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},l.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3594"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),nB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),aB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),oB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),iB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),l.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),lB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),sB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),uB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),cB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),dB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),l.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),pB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),fB=0,hB=u(e=>e.button===fB&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),mB=u((e,t)=>{hB(e)&&(e.preventDefault(),t(e))},"cancelled"),gB=F.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),vB=F.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Yn(.07,e.color.secondary),"svg path:not([fill])":{fill:Yn(.07,e.color.secondary)}},"&:active":{color:Yn(.1,e.color.secondary),"svg path:not([fill])":{fill:Yn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),oa=u(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:i=void 0,...s})=>y.createElement(vB,{...s,onClick:r&&e?c=>mB(c,r):r,className:o},y.createElement(gB,{withArrow:n,containsIcon:a},t,n&&y.createElement(K8,null))),"Link"),pV=F.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.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"}},"span.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"}},"span.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"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),ln=[],xa=null,yB=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(_s(),kp));return ln.length>0&&(ln.forEach(t=>{e.registerLanguage(...t)}),ln=[]),xa===null&&(xa=e),{default:u(t=>y.createElement(e,{...t}),"default")}}),bB=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(_s(),kp)),Promise.resolve().then(()=>(Ck(),S6))]);return ln.length>0&&(ln.forEach(r=>{e.registerLanguage(...r)}),ln=[]),xa===null&&(xa=e),{default:u(r=>y.createElement(e,{...r,formatter:t}),"default")}}),Hf=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},e.format!==!1?y.createElement(bB,{...e}):y.createElement(yB,{...e})),"SyntaxHighlighter");Hf.registerLanguage=(...e)=>{if(xa!==null){xa.registerLanguage(...e);return}ln.push(e)};_s();Ny();var Z8={};Fa(Z8,{Close:()=>l9,Content:()=>a9,Description:()=>i9,Dialog:()=>VE,DialogClose:()=>e9,DialogContent:()=>KE,DialogDescription:()=>QE,DialogOverlay:()=>YE,DialogPortal:()=>GE,DialogTitle:()=>XE,DialogTrigger:()=>UE,Overlay:()=>n9,Portal:()=>r9,Root:()=>t9,Title:()=>o9,Trigger:()=>mT,WarningProvider:()=>hT,createDialogScope:()=>aT});yt();function or(e,t,{checkForDefaultPrevented:r=!0}={}){return u(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}u(or,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function J8(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}u(J8,"$6ed0406888f73fc4$var$setRef");function iu(...e){return t=>e.forEach(r=>J8(r,t))}u(iu,"$6ed0406888f73fc4$export$43e446d32b3d21af");function Cn(...e){return l.useCallback(iu(...e),e)}u(Cn,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function X8(e,t){let r=l.createContext(t);function n(o){let{children:i,...s}=o,c=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:c},i)}u(n,"Provider");function a(o){let i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return u(a,"useContext"),n.displayName=e+"Provider",[n,a]}u(X8,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function Q8(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),c=r.length;r=[...r,i];function d(m){let{scope:h,children:f,...v}=m,g=(h==null?void 0:h[e][c])||s,w=l.useMemo(()=>v,Object.values(v));return l.createElement(g.Provider,{value:w},f)}u(d,"Provider");function p(m,h){let f=(h==null?void 0:h[e][c])||s,v=l.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${o}\``)}return u(p,"useContext"),d.displayName=o+"Provider",[d,p]}u(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let a=u(()=>{let o=r.map(i=>l.createContext(i));return u(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,eE(a,...t)]}u(Q8,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function eE(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((i,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}u(eE,"$c512c27ab02ef895$var$composeContextScopes");var w1=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{},wB=l.useId||(()=>{}),EB=0;function vl(e){let[t,r]=l.useState(wB());return w1(()=>{e||r(n=>n??String(EB++))},[e]),e||(t?`radix-${t}`:"")}u(vl,"$1746a345f3d73bb7$export$f680877a34711e37");function Ir(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}u(Ir,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function tE({prop:e,defaultProp:t,onChange:r=u(()=>{},"onChange")}){let[n,a]=rE({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=Ir(r),c=l.useCallback(d=>{if(o){let p=typeof d=="function"?d(e):d;p!==e&&s(p)}else a(d)},[o,e,a,s]);return[i,c]}u(tE,"$71cd76cc60e0454e$export$6f32135080cb4c3");function rE({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,a=l.useRef(n),o=Ir(t);return l.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}u(rE,"$71cd76cc60e0454e$var$useUncontrolledState");yt();yt();yt();var nE=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(aE);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return l.createElement(E1,X({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(E1,X({},n,{ref:t}),r)});nE.displayName="Slot";var E1=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...oE(n,r.props),ref:t?iu(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});E1.displayName="SlotClone";var xB=u(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function aE(e){return l.isValidElement(e)&&e.type===xB}u(aE,"$5e63c961fc1ce211$var$isSlottable");function oE(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}u(oE,"$5e63c961fc1ce211$var$mergeProps");var DB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Or=DB.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?nE:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,X({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function iE(e,t){e&&fs.flushSync(()=>e.dispatchEvent(t))}u(iE,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function lE(e,t=globalThis==null?void 0:globalThis.document){let r=Ir(e);l.useEffect(()=>{let n=u(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}u(lE,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var x1="dismissableLayer.update",CB="dismissableLayer.pointerDownOutside",SB="dismissableLayer.focusOutside",t4,kB=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),AB=l.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:c,...d}=e,p=l.useContext(kB),[m,h]=l.useState(null),f=(r=m==null?void 0:m.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=l.useState({}),g=Cn(t,A=>h(A)),w=Array.from(p.layers),[x]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),D=w.indexOf(x),E=m?w.indexOf(m):-1,b=p.layersWithOutsidePointerEventsDisabled.size>0,C=E>=D,S=sE(A=>{let _=A.target,I=[...p.branches].some(B=>B.contains(_));!C||I||(o==null||o(A),s==null||s(A),A.defaultPrevented||(c==null||c()))},f),k=uE(A=>{let _=A.target;[...p.branches].some(I=>I.contains(_))||(i==null||i(A),s==null||s(A),A.defaultPrevented||(c==null||c()))},f);return lE(A=>{E===p.layers.size-1&&(a==null||a(A),!A.defaultPrevented&&c&&(A.preventDefault(),c()))},f),l.useEffect(()=>{if(m)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(t4=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),D1(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=t4)}},[m,f,n,p]),l.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),D1())},[m,p]),l.useEffect(()=>{let A=u(()=>v({}),"handleUpdate");return document.addEventListener(x1,A),()=>document.removeEventListener(x1,A)},[]),l.createElement(Or.div,X({},d,{ref:g,style:{pointerEvents:b?C?"auto":"none":void 0,...e.style},onFocusCapture:or(e.onFocusCapture,k.onFocusCapture),onBlurCapture:or(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:or(e.onPointerDownCapture,S.onPointerDownCapture)}))});function sE(e,t=globalThis==null?void 0:globalThis.document){let r=Ir(e),n=l.useRef(!1),a=l.useRef(()=>{});return l.useEffect(()=>{let o=u(s=>{if(s.target&&!n.current){let c=function(){jf(CB,r,d,{discrete:!0})};u(c,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:u(()=>n.current=!0,"onPointerDownCapture")}}u(sE,"$5cb92bef7577960e$var$usePointerDownOutside");function uE(e,t=globalThis==null?void 0:globalThis.document){let r=Ir(e),n=l.useRef(!1);return l.useEffect(()=>{let a=u(o=>{o.target&&!n.current&&jf(SB,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:u(()=>n.current=!0,"onFocusCapture"),onBlurCapture:u(()=>n.current=!1,"onBlurCapture")}}u(uE,"$5cb92bef7577960e$var$useFocusOutside");function D1(){let e=new CustomEvent(x1);document.dispatchEvent(e)}u(D1,"$5cb92bef7577960e$var$dispatchUpdate");function jf(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?iE(a,o):a.dispatchEvent(o)}u(jf,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");yt();var L0="focusScope.autoFocusOnMount",O0="focusScope.autoFocusOnUnmount",r4={bubbles:!1,cancelable:!0},FB=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,c]=l.useState(null),d=Ir(a),p=Ir(o),m=l.useRef(null),h=Cn(t,g=>c(g)),f=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let g=function(E){if(f.paused||!s)return;let b=E.target;s.contains(b)?m.current=b:rr(m.current,{select:!0})},w=function(E){if(f.paused||!s)return;let b=E.relatedTarget;b!==null&&(s.contains(b)||rr(m.current,{select:!0}))},x=function(E){if(document.activeElement===document.body)for(let b of E)b.removedNodes.length>0&&rr(s)};u(g,"handleFocusIn"),u(w,"handleFocusOut"),u(x,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",w);let D=new MutationObserver(x);return s&&D.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",w),D.disconnect()}}},[n,s,f.paused]),l.useEffect(()=>{if(s){n4.add(f);let g=document.activeElement;if(!s.contains(g)){let w=new CustomEvent(L0,r4);s.addEventListener(L0,d),s.dispatchEvent(w),w.defaultPrevented||(cE(mE(Vf(s)),{select:!0}),document.activeElement===g&&rr(s))}return()=>{s.removeEventListener(L0,d),setTimeout(()=>{let w=new CustomEvent(O0,r4);s.addEventListener(O0,p),s.dispatchEvent(w),w.defaultPrevented||rr(g??document.body,{select:!0}),s.removeEventListener(O0,p),n4.remove(f)},0)}}},[s,d,p,f]);let v=l.useCallback(g=>{if(!r&&!n||f.paused)return;let w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,x=document.activeElement;if(w&&x){let D=g.currentTarget,[E,b]=dE(D);E&&b?!g.shiftKey&&x===b?(g.preventDefault(),r&&rr(E,{select:!0})):g.shiftKey&&x===E&&(g.preventDefault(),r&&rr(b,{select:!0})):x===D&&g.preventDefault()}},[r,n,f.paused]);return l.createElement(Or.div,X({tabIndex:-1},i,{ref:h,onKeyDown:v}))});function cE(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(rr(n,{select:t}),document.activeElement!==r)return}u(cE,"$d3863c46a17e8a28$var$focusFirst");function dE(e){let t=Vf(e),r=C1(t,e),n=C1(t.reverse(),e);return[r,n]}u(dE,"$d3863c46a17e8a28$var$getTabbableEdges");function Vf(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:u(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}u(Vf,"$d3863c46a17e8a28$var$getTabbableCandidates");function C1(e,t){for(let r of e)if(!pE(r,{upTo:t}))return r}u(C1,"$d3863c46a17e8a28$var$findVisible");function pE(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}u(pE,"$d3863c46a17e8a28$var$isHidden");function fE(e){return e instanceof HTMLInputElement&&"select"in e}u(fE,"$d3863c46a17e8a28$var$isSelectableInput");function rr(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&fE(e)&&t&&e.select()}}u(rr,"$d3863c46a17e8a28$var$focus");var n4=hE();function hE(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=S1(e,t),e.unshift(t)},remove(t){var r;e=S1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}u(hE,"$d3863c46a17e8a28$var$createFocusScopesStack");function S1(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}u(S1,"$d3863c46a17e8a28$var$arrayRemove");function mE(e){return e.filter(t=>t.tagName!=="A")}u(mE,"$d3863c46a17e8a28$var$removeLinks");yt();var _B=l.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?G4.createPortal(l.createElement(Or.div,X({},a,{ref:t})),n):null});function gE(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}u(gE,"$fe963b355347cc68$export$3e6543de14f8614f");var lu=u(e=>{let{present:t,children:r}=e,n=vE(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Cn(n.ref,a.ref);return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");lu.displayName="Presence";function vE(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=gE(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=yo(n.current);o.current=s==="mounted"?d:"none"},[s]),w1(()=>{let d=n.current,p=a.current;if(p!==e){let m=o.current,h=yo(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&m!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),w1(()=>{if(t){let d=u(m=>{let h=yo(n.current).includes(m.animationName);m.target===t&&h&&fs.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),p=u(m=>{m.target===t&&(o.current=yo(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}u(vE,"$921a889cee6df7e8$var$usePresence");function yo(e){return(e==null?void 0:e.animationName)||"none"}u(yo,"$921a889cee6df7e8$var$getAnimationName");var M0=0;function yE(){l.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:k1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:k1()),M0++,()=>{M0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),M0--}},[])}u(yE,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function k1(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}u(k1,"$3db38b7d1fb3fe6a$var$createFocusGuard");var Tt=u(function(){return Tt=Object.assign||u(function(e){for(var t,r=1,n=arguments.length;r"u")return LB;var t=OB(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),PB=IE(),ds="data-scroll-locked",$B=u(function(e,t,r,n){var a=e.left,o=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),` + .`.concat(RB,` { + overflow: hidden `).concat(n,`; + padding-right: `).concat(s,"px ").concat(n,`; + } + body[`).concat(ds,`] { + overflow: hidden `).concat(n,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` + padding-left: `.concat(a,`px; + padding-top: `).concat(o,`px; + padding-right: `).concat(i,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(s,"px ").concat(n,`; + `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),` + } + + .`).concat(yl,` { + right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(bl,` { + margin-right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(yl," .").concat(yl,` { + right: 0 `).concat(n,`; + } + + .`).concat(bl," .").concat(bl,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(ds,`] { + `).concat(IB,": ").concat(s,`px; + } +`)},"getStyles"),NB=u(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return MB(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(ds,""),function(){document.body.removeAttribute(ds)}},[]),l.createElement(PB,{styles:$B(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),A1=!1;if(typeof window<"u")try{ro=Object.defineProperty({},"passive",{get:u(function(){return A1=!0,!0},"get")}),window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch{A1=!1}var ro,zn=A1?{passive:!1}:!1,HB=u(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),BE=u(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!HB(e)&&r[t]==="visible")},"elementCanBeScrolled"),jB=u(function(e){return BE(e,"overflowY")},"elementCouldBeVScrolled"),VB=u(function(e){return BE(e,"overflowX")},"elementCouldBeHScrolled"),o4=u(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=TE(e,r);if(n){var a=zE(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),UB=u(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),qB=u(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),TE=u(function(e,t){return e==="v"?jB(t):VB(t)},"elementCouldBeScrolled"),zE=u(function(e,t){return e==="v"?UB(t):qB(t)},"getScrollVariables"),WB=u(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),GB=u(function(e,t,r,n,a){var o=WB(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,c=t.contains(s),d=!1,p=i>0,m=0,h=0;do{var f=zE(e,s),v=f[0],g=f[1],w=f[2],x=g-w-o*v;(v||x)&&TE(e,s)&&(m+=x,h+=v),s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(p&&(a&&m===0||!a&&i>m)||!p&&(a&&h===0||!a&&-i>h))&&(d=!0),d},"handleScroll"),Gi=u(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),i4=u(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),l4=u(function(e){return e&&"current"in e?e.current:e},"extractRef"),YB=u(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),KB=u(function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},"generateStyle"),ZB=0,Ln=[];function LE(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(ZB++)[0],o=l.useState(function(){return IE()})[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=bE([e.lockRef.current],(e.shards||[]).map(l4),!0).filter(Boolean);return g.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(g,w){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var x=Gi(g),D=r.current,E="deltaX"in g?g.deltaX:D[0]-x[0],b="deltaY"in g?g.deltaY:D[1]-x[1],C,S=g.target,k=Math.abs(E)>Math.abs(b)?"h":"v";if("touches"in g&&k==="h"&&S.type==="range")return!1;var A=o4(k,S);if(!A)return!0;if(A?C=k:(C=k==="v"?"h":"v",A=o4(k,S)),!A)return!1;if(!n.current&&"changedTouches"in g&&(E||b)&&(n.current=C),!C)return!0;var _=n.current||C;return GB(_,w,g,_==="h"?E:b,!0)},[]),c=l.useCallback(function(g){var w=g;if(!(!Ln.length||Ln[Ln.length-1]!==o)){var x="deltaY"in w?i4(w):Gi(w),D=t.current.filter(function(C){return C.name===w.type&&C.target===w.target&&YB(C.delta,x)})[0];if(D&&D.should){w.cancelable&&w.preventDefault();return}if(!D){var E=(i.current.shards||[]).map(l4).filter(Boolean).filter(function(C){return C.contains(w.target)}),b=E.length>0?s(w,E[0]):!i.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),d=l.useCallback(function(g,w,x,D){var E={name:g,delta:w,target:x,should:D};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(b){return b!==E})},1)},[]),p=l.useCallback(function(g){r.current=Gi(g),n.current=void 0},[]),m=l.useCallback(function(g){d(g.type,i4(g),g.target,s(g,e.lockRef.current))},[]),h=l.useCallback(function(g){d(g.type,Gi(g),g.target,s(g,e.lockRef.current))},[]);l.useEffect(function(){return Ln.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:h}),document.addEventListener("wheel",c,zn),document.addEventListener("touchmove",c,zn),document.addEventListener("touchstart",p,zn),function(){Ln=Ln.filter(function(g){return g!==o}),document.removeEventListener("wheel",c,zn),document.removeEventListener("touchmove",c,zn),document.removeEventListener("touchstart",p,zn)}},[]);var f=e.removeScrollBar,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(o,{styles:KB(a)}):null,f?l.createElement(NB,{gapMode:"margin"}):null)}u(LE,"RemoveScrollSideCar");var JB=kE(AE,LE),OE=l.forwardRef(function(e,t){return l.createElement(su,Tt({},e,{ref:t,sideCar:JB}))});OE.classNames=su.classNames;var XB=OE,QB=u(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),On=new WeakMap,Yi=new WeakMap,Ki={},N0=0,ME=u(function(e){return e&&(e.host||ME(e.parentNode))},"unwrapHost"),eT=u(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=ME(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),tT=u(function(e,t,r,n){var a=eT(t,Array.isArray(e)?e:[e]);Ki[r]||(Ki[r]=new WeakMap);var o=Ki[r],i=[],s=new Set,c=new Set(a),d=u(function(m){!m||s.has(m)||(s.add(m),d(m.parentNode))},"keep");a.forEach(d);var p=u(function(m){!m||c.has(m)||Array.prototype.forEach.call(m.children,function(h){if(s.has(h))p(h);else{var f=h.getAttribute(n),v=f!==null&&f!=="false",g=(On.get(h)||0)+1,w=(o.get(h)||0)+1;On.set(h,g),o.set(h,w),i.push(h),g===1&&v&&Yi.set(h,!0),w===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}})},"deep");return p(t),s.clear(),N0++,function(){i.forEach(function(m){var h=On.get(m)-1,f=o.get(m)-1;On.set(m,h),o.set(m,f),h||(Yi.has(m)||m.removeAttribute(n),Yi.delete(m)),f||m.removeAttribute(r)}),N0--,N0||(On=new WeakMap,On=new WeakMap,Yi=new WeakMap,Ki={})}},"applyAttributeToOthers"),rT=u(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||QB(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),tT(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");yt();var PE=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find($E);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return l.createElement(F1,X({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(F1,X({},n,{ref:t}),r)});PE.displayName="Slot";var F1=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...NE(n,r.props),ref:t?iu(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});F1.displayName="SlotClone";var nT=u(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function $E(e){return l.isValidElement(e)&&e.type===nT}u($E,"$5e63c961fc1ce211$var$isSlottable");function NE(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}u(NE,"$5e63c961fc1ce211$var$mergeProps");var HE="Dialog",[jE,aT]=Q8(HE),[oT,wt]=jE(HE),VE=u(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,p]=tE({prop:n,defaultProp:a,onChange:o});return l.createElement(oT,{scope:t,triggerRef:s,contentRef:c,contentId:vl(),titleId:vl(),descriptionId:vl(),open:d,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(m=>!m),[p]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),iT="DialogTrigger",UE=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(iT,r),o=Cn(t,a.triggerRef);return l.createElement(Or.button,X({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":uu(a.open)},n,{ref:o,onClick:or(e.onClick,a.onOpenToggle)}))}),qE="DialogPortal",[lT,WE]=jE(qE,{forceMount:void 0}),GE=u(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=wt(qE,t);return l.createElement(lT,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(lu,{present:r||o.open},l.createElement(_B,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),_1="DialogOverlay",YE=l.forwardRef((e,t)=>{let r=WE(_1,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=wt(_1,e.__scopeDialog);return o.modal?l.createElement(lu,{present:n||o.open},l.createElement(sT,X({},a,{ref:t}))):null}),sT=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(_1,r);return l.createElement(XB,{as:PE,allowPinchZoom:!0,shards:[a.contentRef]},l.createElement(Or.div,X({"data-state":uu(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Da="DialogContent",KE=l.forwardRef((e,t)=>{let r=WE(Da,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=wt(Da,e.__scopeDialog);return l.createElement(lu,{present:n||o.open},o.modal?l.createElement(uT,X({},a,{ref:t})):l.createElement(cT,X({},a,{ref:t})))}),uT=l.forwardRef((e,t)=>{let r=wt(Da,e.__scopeDialog),n=l.useRef(null),a=Cn(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return rT(o)},[]),l.createElement(ZE,X({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:or(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:or(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&o.preventDefault()}),onFocusOutside:or(e.onFocusOutside,o=>o.preventDefault())}))}),cT=l.forwardRef((e,t)=>{let r=wt(Da,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return l.createElement(ZE,X({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u(o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var s;n.current||(s=r.triggerRef.current)===null||s===void 0||s.focus(),o.preventDefault()}n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:u(o=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let c=o.target;!((s=r.triggerRef.current)===null||s===void 0)&&s.contains(c)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),ZE=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=wt(Da,r),c=l.useRef(null),d=Cn(t,c);return yE(),l.createElement(l.Fragment,null,l.createElement(FB,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},l.createElement(AB,X({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":uu(s.open)},i,{ref:d,onDismiss:u(()=>s.onOpenChange(!1),"onDismiss")}))),!1)}),JE="DialogTitle",XE=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(JE,r);return l.createElement(Or.h2,X({id:a.titleId},n,{ref:t}))}),dT="DialogDescription",QE=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(dT,r);return l.createElement(Or.p,X({id:a.descriptionId},n,{ref:t}))}),pT="DialogClose",e9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(pT,r);return l.createElement(Or.button,X({type:"button"},n,{ref:t,onClick:or(e.onClick,()=>a.onOpenChange(!1))}))});function uu(e){return e?"open":"closed"}u(uu,"$5d3850c4d0b4e6c7$var$getState");var fT="DialogTitleWarning",[hT,fV]=X8(fT,{contentName:Da,titleName:JE,docsSlug:"dialog"}),t9=VE,mT=UE,r9=GE,n9=YE,a9=KE,o9=XE,i9=QE,l9=e9,s9={};Fa(s9,{Actions:()=>CT,CloseButton:()=>p9,Col:()=>h9,Container:()=>d9,Content:()=>wT,Description:()=>DT,Error:()=>ST,ErrorWrapper:()=>m9,Header:()=>ET,Overlay:()=>c9,Row:()=>f9,Title:()=>xT});Uy();const{deprecate:gT}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Sn=l.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:s,...c},d)=>{let p="button";c.isLink&&(p="a"),e&&(p=Bl);let m=n,h=r,[f,v]=l.useState(!1),g=u(w=>{s&&s(w),t!=="none"&&v(!0)},"handleClick");if(l.useEffect(()=>{let w=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(w)},[f]),c.primary&&(m="solid",h="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(m="outline",h="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let w=y.Children.toArray(c.children).filter(x=>typeof x=="string"&&x!=="");gT(`Use of deprecated props in the button ${w.length>0?`"${w.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return y.createElement(vT,{as:p,ref:d,variant:m,size:h,padding:a,disabled:o,active:i,animating:f,animation:t,onClick:g,...c})});Sn.displayName="Button";var vT=F("button",{shouldForwardProp:u(e=>X1(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:s})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="small"&&r==="small"?"0 7px":s==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?Ze(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Ze(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Ze(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${qo(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?Ze(.86,e.color.secondary):e.base==="light"?Yn(.02,c):e4(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Yn(.02,c):e4(.03,c)})()},"&:focus":{boxShadow:`${qo(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),sn=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>y.createElement(Sn,{padding:e,variant:t,ref:n,...r}));sn.displayName="IconButton";var u9=sr({from:{opacity:0},to:{opacity:1}}),yT=sr({from:{maxHeight:0},to:{}}),bT=sr({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),c9=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${u9} 200ms`}),d9=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${bT} 200ms`,"&:focus-visible":{outline:"none"}})),p9=u(e=>y.createElement(l9,{asChild:!0},y.createElement(sn,{...e},y.createElement(Y8,null))),"CloseButton"),wT=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),f9=F.div({display:"flex",justifyContent:"space-between",gap:16}),h9=F.div({display:"flex",flexDirection:"column",gap:4}),ET=u(e=>y.createElement(f9,null,y.createElement(h9,{...e}),y.createElement(p9,null)),"Header"),xT=F(o9)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),DT=F(i9)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),CT=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),m9=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${yT} 300ms, ${u9} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),ST=u(({children:e,...t})=>y.createElement(m9,{...t},y.createElement("div",null,e)),"Error");function g9({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=u(c=>c.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(t9,{...s},y.createElement(r9,{container:i},y.createElement(n9,{asChild:!0},y.createElement(c9,null)),y.createElement(a9,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(d9,{className:o,width:t,height:r},e))))}u(g9,"BaseModal");var hV=Object.assign(g9,s9,{Dialog:Z8}),kT=u(e=>typeof e=="number"?e:Number(e),"toNumber"),AT=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${nd}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${nd}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),mV=u(({col:e,row:t,outer:r,children:n,...a})=>{let o=kT(typeof r=="number"||!r?r:e||t);return y.createElement(AT,{col:e,row:t,outer:o,...a},n)},"Spaced"),FT=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),_T=F.div(),RT=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),gV=u(({children:e,...t})=>{let[r,n]=l.Children.toArray(e);return y.createElement(RT,{...t},y.createElement(FT,null,r),n&&y.createElement(_T,null,n))},"Placeholder");Sp();function v9(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var a=l.useRef(null);l.useEffect(function(){o()});var o=l.useCallback(function(){var i=a.current,s=n.current,c=i||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){a.current=i,o()},[o])}u(v9,"useResolvedElement");function R1(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}u(R1,"extractSize");function qf(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,a=l.useRef(),o=l.useState({width:void 0,height:void 0}),i=o[0],s=o[1],c=l.useRef(!1);l.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),p=v9(l.useCallback(function(m){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(h){var f=h[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=R1(f,v,"inlineSize"),w=R1(f,v,"blockSize"),x=g?n(g):void 0,D=w?n(w):void 0;if(d.current.width!==x||d.current.height!==D){var E={width:x,height:D};d.current.width=x,d.current.height=D,r.current?r.current(E):c.current||s(E)}})}),a.current.instance.observe(m,{box:e.box}),function(){a.current&&a.current.instance.unobserve(m)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:p,width:i.width,height:i.height}},[p,i.width,i.height])}u(qf,"useResizeObserver");var IT=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function y9({scale:e,children:t}){let r=l.useRef(null),[n,a]=l.useState(0),o=l.useCallback(({height:i})=>{i&&a(i/e)},[e]);return l.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),qf({ref:r,onResize:o}),y.createElement(IT,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}u(y9,"ZoomElement");var b9=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return y.createElement(y.Fragment,null,t)}};u(b9,"ZoomIFrame");var BT=b9,TT={Element:y9,IFrame:BT};hp();var{document:zT}=Ss,LT=F.strong(({theme:e})=>({color:e.color.orange})),OT=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),s4=F.em(({theme:e})=>({color:e.textMutedColor})),MT=/(Error): (.*)\n/,PT=/at (?:(.*) )?\(?(.+)\)?/,$T=/([^@]+)?(?:\/<)?@(.+)?/,NT=/([^@]+)?@(.+)?/,HT=u(({error:e})=>{if(!e)return y.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return y.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} + +${t}`);let r=t.match(MT);if(!r)return y.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(s=>{let c=s.match(PT)||s.match($T)||s.match(NT);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(zT.location.origin,"")}:null}).filter(Boolean);return y.createElement(l.Fragment,null,y.createElement("span",null,n),": ",y.createElement(LT,null,a),y.createElement("br",null),i.map((s,c)=>s!=null&&s.name?y.createElement(l.Fragment,{key:c}," ","at ",y.createElement(OT,null,s.name)," (",y.createElement(s4,null,s.location),")",y.createElement("br",null)):y.createElement(l.Fragment,{key:c}," ","at ",y.createElement(s4,null,s==null?void 0:s.location),y.createElement("br",null))))},"ErrorFormatter"),jT=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),VT=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),UT=u(({label:e,children:t,...r})=>y.createElement(jT,{...r},e?y.createElement(VT,null,y.createElement("span",null,e)):null,t),"Field");yt();mp();var qT=l.useLayoutEffect,WT=qT,GT=u(function(e){var t=l.useRef(e);return WT(function(){t.current=e}),t},"useLatest"),u4=u(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),YT=u(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&u4(r.current,null),r.current=t,t&&u4(t,n)},[t])},"useComposedRef"),KT=YT,c4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},ZT=u(function(e){Object.keys(c4).forEach(function(t){e.style.setProperty(t,c4[t],"important")})},"forceHiddenStyles"),d4=ZT,Ie=null,p4=u(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function w9(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Ie||(Ie=document.createElement("textarea"),Ie.setAttribute("tabindex","-1"),Ie.setAttribute("aria-hidden","true"),d4(Ie)),Ie.parentNode===null&&document.body.appendChild(Ie);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,s=i.boxSizing;Object.keys(i).forEach(function(h){var f=h;Ie.style[f]=i[f]}),d4(Ie),Ie.value=t;var c=p4(Ie,e);Ie.value=t,c=p4(Ie,e),Ie.value="x";var d=Ie.scrollHeight-a,p=d*r;s==="border-box"&&(p=p+a+o),c=Math.max(p,c);var m=d*n;return s==="border-box"&&(m=m+a+o),c=Math.min(m,c),[c,d]}u(w9,"calculateNodeHeight");var f4=u(function(){},"noop"),JT=u(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),XT=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],QT=!!document.documentElement.currentStyle,ez=u(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=JT(XT,t),n=r.boxSizing;if(n==="")return null;QT&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),tz=ez;function Wf(e,t,r){var n=GT(r);l.useLayoutEffect(function(){var a=u(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}u(Wf,"useListener");var rz=u(function(e){Wf(window,"resize",e)},"useWindowResizeListener"),nz=u(function(e){Wf(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),az=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],oz=u(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?f4:o,s=e.onHeightChange,c=s===void 0?f4:s,d=As(e,az),p=d.value!==void 0,m=l.useRef(null),h=KT(m,t),f=l.useRef(0),v=l.useRef(),g=u(function(){var x=m.current,D=r&&v.current?v.current:tz(x);if(D){v.current=D;var E=w9(D,x.value||x.placeholder||"x",a,n),b=E[0],C=E[1];f.current!==b&&(f.current=b,x.style.setProperty("height",b+"px","important"),c(b,{rowHeight:C}))}},"resizeTextarea"),w=u(function(x){p||g(),i(x)},"handleChange");return l.useLayoutEffect(g),rz(g),nz(g),l.createElement("textarea",X({},d,{onChange:w,ref:h}))},"TextareaAutosize"),iz=l.forwardRef(oz),lz={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Gf=u(({theme:e})=>({...lz,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Yf=u(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),E9=u(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),Kf=u(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),sz=Object.assign(F(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement("input",{...n,ref:a})},"Input")))(Gf,Yf,E9,Kf,{minHeight:32}),{displayName:"Input"}),uz=Object.assign(F(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement("select",{...n,ref:a})},"Select")))(Gf,Yf,Kf,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),cz=Object.assign(F(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement(iz,{...n,ref:a})},"Textarea")))(Gf,Yf,E9,Kf,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),yi=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:UT,Input:sz,Select:uz,Textarea:cz,Button:Sn}),dz=l.lazy(()=>Promise.resolve().then(()=>(Of(),Lf)).then(e=>({default:e.WithTooltip}))),yV=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(dz,{...e})),"WithTooltip"),pz=l.lazy(()=>Promise.resolve().then(()=>(Of(),Lf)).then(e=>({default:e.WithTooltipPure}))),fz=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(pz,{...e})),"WithTooltipPure"),hz=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),mz=F.span(),gz=F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),vz=F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),yz=F.div({padding:15,width:280,boxSizing:"border-box"}),bV=u(({title:e,desc:t,links:r})=>y.createElement(yz,null,y.createElement(vz,null,e&&y.createElement(hz,null,e),t&&y.createElement(mz,null,t)),r&&y.createElement(gz,null,r.map(({title:n,...a})=>y.createElement(oa,{...a,key:n},n)))),"TooltipMessage"),bz=F.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),wV=u(({note:e,...t})=>y.createElement(bz,{...t},e),"TooltipNote"),wz=De(ks(),1),Ez=F(({active:e,loading:t,disabled:r,...n})=>y.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Ze(.7,t.color.defaultText)}:{}),xz=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),Dz=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),Cz=F.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),Sz=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),kz=F.div(({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({disabled:e})=>e&&{cursor:"not-allowed"}),Az=(0,wz.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),Fz=u(({loading:e=!1,title:t=y.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:i,href:s=void 0,onClick:c=void 0,icon:d,LinkWrapper:p=void 0,...m})=>{let h={active:a,disabled:o},f=Az(c,s,p);return y.createElement(kz,{...m,...h,...f},y.createElement(y.Fragment,null,d&&y.createElement(Sz,{...h},d),t||r?y.createElement(Dz,{isIndented:!!(!d&&i)},t&&y.createElement(Ez,{...h,loading:e},t),r&&y.createElement(Cz,{...h},r)):null,n&&y.createElement(xz,{...h},n)))},"ListItem"),_z=Fz,Rz=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),Iz=u(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:i}=r,s=l.useCallback(c=>t==null?void 0:t(c,{id:e,active:n,disabled:a,title:o,href:i}),[t,e,n,a,o,i]);return y.createElement(_z,{id:`list-item-${e}`,...r,...t&&{onClick:s}})},"Item"),Bz=u(({links:e,LinkWrapper:t,...r})=>{let n=e.some(a=>a.icon);return y.createElement(Rz,{...r},e.map(a=>y.createElement(Iz,{key:a.id,isIndented:n,LinkWrapper:t,...a})))},"TooltipLinkList");Sp();var I1=F.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});I1.displayName="Side";var Tz=u(({children:e,className:t,scrollable:r})=>r?y.createElement(zl,{vertical:!1,className:t},e):y.createElement("div",{className:t},e),"UnstyledBar"),x9=F(Tz)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});x9.displayName="Bar";var zz=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Zf=u(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return y.createElement(x9,{className:`sb-bar ${r}`,...n},y.createElement(zz,{bgColor:t},y.createElement(I1,{scrollable:n.scrollable,left:!0},a),o?y.createElement(I1,{right:!0},o):null))},"FlexBar");Zf.displayName="FlexBar";var Lz=u(e=>typeof e.props.href=="string","isLink"),Oz=u(e=>typeof e.props.href!="string","isButton");function D9({children:e,...t},r){let n={props:t,ref:r};if(Lz(n))return y.createElement("a",{ref:n.ref,...n.props},e);if(Oz(n))return y.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}u(D9,"ForwardRefFunction");var C9=l.forwardRef(D9);C9.displayName="ButtonOrLink";var cu=F(C9,{shouldForwardProp:X1})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});cu.displayName="TabButton";var Mz=F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Pz=F.div(()=>({marginTop:6,padding:7,height:28})),EV=u(()=>y.createElement(Pz,null,y.createElement(Mz,null)),"IconButtonSkeleton"),$z=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),Nz=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),Hz=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),jz=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),S9=u(({title:e,description:t,footer:r})=>y.createElement($z,null,y.createElement(Nz,null,y.createElement(Hz,null,e),t&&y.createElement(jz,null,t)),r),"EmptyTabContent"),k9=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),Vz=u(e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:i})=>y.createElement(k9,{active:i,role:"tabpanel"},o)}}),"childrenToList");Of();var Uz=F.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),qz=F(cu)(({active:e,theme:t,preActive:r})=>` + color: ${r||e?t.barSelectedColor:t.barTextColor}; + .addon-collapsible-icon { + color: ${r||e?t.barSelectedColor:t.barTextColor}; + } + &:hover { + color: ${t.barHoverColor}; + .addon-collapsible-icon { + color: ${t.barHoverColor}; + } + } + `);function A9(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=qf({ref:t}),[o,i]=l.useState(e),[s,c]=l.useState([]),d=l.useRef(e),p=l.useCallback(({menuName:h,actions:f})=>{let v=s.some(({active:x})=>x),[g,w]=l.useState(!1);return y.createElement(y.Fragment,null,y.createElement(ss,{interactive:!0,visible:g,onVisibleChange:w,placement:"bottom",delayHide:100,tooltip:y.createElement(Bz,{links:s.map(({title:x,id:D,color:E,active:b})=>({id:D,title:x,color:E,active:b,onClick:u(C=>{C.preventDefault(),f.onSelect(D)},"onClick")}))})},y.createElement(qz,{ref:r,active:v,preActive:g,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},h,y.createElement(Uz,{className:"addon-collapsible-icon",isActive:v||g}))),s.map(({title:x,id:D,color:E},b)=>{let C=`index-${b}`;return y.createElement(cu,{id:`tabbutton-${Y4(D)??C}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(D,S)},className:"tabbutton",type:"button",key:D,textColor:E,role:"tab"},x)}))},[s]),m=l.useCallback(()=>{if(!t.current||!r.current)return;let{x:h,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=s.length?h+f-v:h+f,w=[],x=0,D=e.filter(E=>{let{id:b}=E,C=n.current.get(b),{width:S=0}=(C==null?void 0:C.getBoundingClientRect())||{},k=h+x+S>g;return(!k||!C)&&w.push(E),x+=S,k});(w.length!==o.length||d.current!==e)&&(i(w),c(D),d.current=e)},[s.length,e,o]);return l.useLayoutEffect(m,[m,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:p}}u(A9,"useList");var Wz="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Gz=F.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),F9=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});F9.displayName="TabBar";var Yz=F.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${Wz}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),xV=u(({active:e,render:t,children:r})=>y.createElement(k9,{active:e},t?t():r),"TabWrapper"),_9=l.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:s=null,menuName:c="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let m=l.useMemo(()=>Vz(e).map((x,D)=>({...x,active:t?x.id===t:D===0})),[e,t]),{visibleList:h,tabBarRef:f,tabRefs:v,AddonTab:g}=A9(m),w=d??y.createElement(S9,{title:"Nothing found"});return!p&&m.length===0?w:y.createElement(Gz,{absolute:n,bordered:a,id:s},y.createElement(Zf,{scrollable:!1,border:!0,backgroundColor:i},y.createElement(F9,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},h.map(({title:x,id:D,active:E,color:b},C)=>{let S=`index-${C}`;return y.createElement(cu,{id:`tabbutton-${Y4(D)??S}`,ref:k=>{v.current.set(D,k)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:D,active:E,textColor:b,onClick:k=>{k.preventDefault(),r.onSelect(D)},role:"tab"},typeof x=="function"?y.createElement("title",null):x)}),y.createElement(g,{menuName:c,actions:r})),o),y.createElement(Yz,{id:"panel-tab-content",bordered:a,absolute:n},m.length?m.map(({id:x,active:D,render:E})=>y.createElement(E,{key:x,active:D},null)):w))});_9.displayName="Tabs";var B1=class extends l.Component{constructor(t){super(t),this.handlers={onSelect:u(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:i}=this.state;return y.createElement(_9,{bordered:t,absolute:r,selected:i,backgroundColor:a,menuName:o,actions:this.handlers},n)}};u(B1,"TabsState"),B1.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var Kz=B1,R9=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});R9.displayName="Separator";var CV=u(e=>e.reduce((t,r,n)=>r?y.createElement(l.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?y.createElement(R9,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),Zz=u(e=>{let t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),Jz=u((e,t)=>{let r=Zz(t);return e?t:r},"useUpdate"),SV=u(({active:e,children:t})=>y.createElement("div",{hidden:!e},Jz(e,t)),"AddonPanel");const{deprecate:Xz,logger:Qz}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var eL=W8,tL=F.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,kV=u(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||Xz(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let a=T1[e]||null;if(!a)return Qz.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let o=eL[a];return y.createElement(o,{...n})},"Icons"),AV=l.memo(u(function({icons:e=Object.keys(T1)}){return y.createElement(tL,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>y.createElement("symbol",{id:`icon--${t}`,key:t},T1[t])))},"Symbols")),T1={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},FV=u(({alt:e,...t})=>y.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?y.createElement("title",null,e):null,y.createElement("defs",null,y.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),y.createElement("g",{fill:"none",fillRule:"evenodd"},y.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),y.createElement("mask",{id:"b",fill:"#fff"},y.createElement("use",{xlinkHref:"#a"})),y.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),y.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),"StorybookLogo"),_V=u(e=>y.createElement("svg",{viewBox:"0 0 64 64",...e},y.createElement("title",null,"Storybook icon"),y.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},y.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),y.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),y.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),"StorybookIcon"),rL=sr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,nL=F.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${rL} 0.7s linear infinite`,mixBlendMode:"difference"})),h4=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),aL=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Ze(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),oL=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),m4=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),iL=F(G8)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),lL=sr` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,sL=F.span({"&::after":{content:"'...'",animation:`${lL} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),uL=u(({progress:e,error:t,size:r,...n})=>{if(t)return y.createElement(h4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},y.createElement(iL,null),y.createElement(m4,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),y.createElement(h4,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},y.createElement(aL,null,y.createElement(oL,{style:{width:`${a*100}%`}})),y.createElement(m4,null,i,a<1&&y.createElement(sL,{key:i})))}return y.createElement(nL,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function I9(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...I9(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref"),dL=F.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${H.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${Lt.fonts.mono}; + font-size: ${Lt.size.s2-1}px; +`,RV=u(({code:e,...t})=>y.createElement(dL,{id:"clipboard-code",...t},e),"ClipboardCode"),pL=q8,fL={};Object.keys(q8).forEach(e=>{fL[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});var hL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),mL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),gL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),vL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),yL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),bL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),z1=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.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:e}),l.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:e}))),IV=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),wL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),EL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),xL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),DL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),CL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),SL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),B9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),kL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:AL,once:FL,logger:Jf}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:g4,composeConfigs:BV,Preview:TV,DocsContext:zV}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:v4,UPDATE_STORY_ARGS:_L,RESET_STORY_ARGS:RL,GLOBALS_UPDATED:y4,NAVIGATE_URL:IL}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var T9=mn({"../../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"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var m=typeof xi=="function"&ξif(!p&&m)return m(d,!0);if(s)return s(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}for(var s=typeof xi=="function"&&xi,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.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]},o.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)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(D[x]={cacheItem:v,arg:arguments[x]},E?i(m,D):m.push(D),m.length>d&&s(m.shift())),f.wasMemoized=E,f.numArgs=x+1,w};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=m,f}};function i(d,p){var m=d.length,h=p.length,f,v,g;for(v=0;v=0&&(m=d[f],h=m.cacheItem.get(m.arg),!h||!h.size);f--)m.cacheItem.delete(m.arg)}function c(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),BL=mn({"../../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}}}),TL=mn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,c=" ";function d(b,C){var S=C.appendChild(m(b));if(b.children.length){var k=h(b.isCollapsed);b.children.forEach(function(A){d(A,k)}),S.appendChild(k)}}function p(b,C){var S=!1,k=h(S);if(C.forEach(function(A){d(A,k)}),i=b||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),C.length===0?i:i.appendChild(k)}function m(b){var C=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&C.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",b.textContent),r.includeHtml&&b.childNodes.length?n.call(b.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=b.textContent,S.setAttribute("href",r.basePath+"#"+b.id),S.setAttribute("class",r.linkClass+c+"node-name--"+b.nodeName+c+r.extraLinkClasses),C.appendChild(S),C}function h(b){var C=r.orderedList?"ol":"ul",S=document.createElement(C),k=r.listClass+c+r.extraListClasses;return b&&(k=k+c+r.collapsibleClass,k=k+c+r.isCollapsedClass),S.setAttribute("class",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var b;b=document.querySelector(r.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||o.scrollTop;var C=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),b>r.fixedSidebarOffset?C.className.indexOf(r.positionFixedClass)===-1&&(C.className+=c+r.positionFixedClass):C.className=C.className.replace(c+r.positionFixedClass,"")}function v(b){var C=0;return b!==null&&(C=b.offsetTop,r.hasInnerContainers&&(C+=v(b.offsetParent))),C}function g(b,C){return b&&b.className!==C&&(b.className=C),b}function w(b){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=b,k;if(s&&i!==null&&S.length>0){a.call(S,function(M,O){if(v(M)>C+r.headingsOffset+10){var P=O===0?O:O-1;return k=S[P],!0}else if(O===S.length-1)return k=S[S.length-1],!0});var A=i.querySelector("."+r.activeLinkClass),_=i.querySelector("."+r.linkClass+".node-name--"+k.nodeName+'[href="'+r.basePath+"#"+k.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var I=i.querySelectorAll("."+r.linkClass);n.call(I,function(M){g(M,M.className.replace(c+r.activeLinkClass,""))});var B=i.querySelectorAll("."+r.listItemClass);n.call(B,function(M){g(M,M.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var z=_&&_.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var L=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(L,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),x(_&&_.parentNode.parentNode)}}function x(b){return b&&b.className.indexOf(r.collapsibleClass)!==-1&&b.className.indexOf(r.isCollapsedClass)!==-1?(g(b,b.className.replace(c+r.isCollapsedClass,"")),x(b.parentNode.parentNode)):b}function D(b){var C=b.target||b.srcElement;typeof C.className!="string"||C.className.indexOf(r.linkClass)===-1||(s=!1)}function E(){s=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:p,updateToc:w}}}}),zL=mn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(m){return m[m.length-1]}function o(m){return+m.nodeName.toUpperCase().replace("H","")}function i(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function s(m){if(!i(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let h=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var f={id:m.id,children:[],nodeName:m.nodeName,headingLevel:o(m),textContent:h};return r.includeHtml&&(f.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,m):f}function c(m,h){for(var f=s(m),v=f.headingLevel,g=h,w=a(g),x=w?w.headingLevel:0,D=v-x;D>0&&(w=a(g),!(w&&v===w.headingLevel));)w&&w.children!==void 0&&(g=w.children),D--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(m,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(m){return n.call(m,function(h,f){var v=s(f);return v&&c(v,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),LL=mn({"../../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 a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),OL=mn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",m,!1);function m(h){!c(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:a,offset:o,callback:function(){p(h.target.hash)}})}}function c(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===i||d(m.href)+"#"===i)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function p(m){var h=document.getElementById(m.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(c):i.duration,p,m;requestAnimationFrame(function(g){p=g,h(g)});function h(g){m=g-p,window.scrollTo(0,i.easing(m,o,c,d)),m"u"&&!m)return;var h,f=Object.prototype.hasOwnProperty;function v(){for(var D={},E=0;E1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,m=s+p,h=c+p,f=d+p;return n(m,h,f)}var b4={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 qL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return b4[t]?"#"+b4[t]:e}var WL=/^#[a-fA-F0-9]{6}$/,GL=/^#[a-fA-F0-9]{8}$/,YL=/^#[a-fA-F0-9]{3}$/,KL=/^#[a-fA-F0-9]{4}$/,j0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ZL=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,JL=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,XL=/^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 du(e){if(typeof e!="string")throw new Mt(3);var t=qL(e);if(t.match(WL))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(GL)){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(YL))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(KL)){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=j0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=ZL.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 i=JL.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Go(s,c,d)+")",m=j0.exec(p);if(!m)throw new Mt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=XL.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),v=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,w="rgb("+Go(f,v,g)+")",x=j0.exec(w);if(!x)throw new Mt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Mt(5)}function QL(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),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,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?ps(e,t,r):"rgba("+Go(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ps(e.hue,e.saturation,e.lightness):"rgba("+Go(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Mt(2)}function P1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return M1("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return M1("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new Mt(6)}function nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=du(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?P1(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?P1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Mt(7)}var aO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},oO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},iO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},lO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function O9(e){if(typeof e!="object")throw new Mt(8);if(oO(e))return nr(e);if(aO(e))return P1(e);if(lO(e))return nO(e);if(iO(e))return rO(e);throw new Mt(8)}function M9(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):M9(e,t,n)}}function pu(e){return M9(e,e.length,[])}function fu(e,t,r){return Math.max(e,Math.min(t,r))}function sO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness-parseFloat(e))}))}var uO=pu(sO),It=uO;function cO(e,t){if(t==="transparent")return t;var r=L9(t);return O9(Ca({},r,{lightness:fu(0,1,r.lightness+parseFloat(e))}))}var dO=pu(cO),Kr=dO;function pO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,(n*100+parseFloat(e)*100)/100)});return nr(a)}var fO=pu(pO),Zi=fO;function hO(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:fu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nr(a)}var mO=pu(hO),oe=mO,gO=F.div(se,({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:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),P9=e=>y.createElement(gO,{...e,className:"docblock-emptyblock sb-unstyled"}),vO=F(Hf)(({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"}})),yO=F.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"})),Ji=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${nd}`]:{margin:0}})),bO=()=>y.createElement(yO,null,y.createElement(Ji,null),y.createElement(Ji,{style:{width:"80%"}}),y.createElement(Ji,{style:{width:"30%"}}),y.createElement(Ji,{style:{width:"80%"}})),$9=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=x3();if(e)return y.createElement(bO,null);if(t)return y.createElement(P9,null,t);let c=y.createElement(vO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?td.dark:td.light;return y.createElement(D3,{theme:rd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Xf=600,wO=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Xf}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),EO=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Xf}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),xO=F.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"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("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}},[he("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}},[he("div")]:t,[he("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}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("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"}},[he("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"}}},[he("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}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),DO=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Xf}px)`]:{}})),CO=({children:e,toc:t})=>y.createElement(DO,{className:"sbdocs sbdocs-wrapper"},y.createElement(xO,{className:"sbdocs sbdocs-content"},e),t),hu=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}`}),{window:SO}=globalThis,kO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=SO.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},N9=l.createContext({scale:1}),{PREVIEW_URL:AO}=globalThis,FO=AO||"iframe.html",$1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,_O=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,h=p(i,m,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?y.createElement("pre",null,y.createElement(HT,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${$1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(H9,null),y.createElement("div",{ref:t,id:`${$1(e)}-inner`,"data-name":i.name}))},RO=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(N9.Consumer,null,({scale:r})=>y.createElement(kO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:cL(FO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),IO=F.strong(({theme:e})=>({color:e.color.orange})),BO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(IO,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:$1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(_O,{...e}):y.createElement(RO,{...e}))},H9=()=>y.createElement(uL,null),TO=F(Zf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),zO=F.div({display:"flex",alignItems:"center",gap:4}),LO=F.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`})),OO=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(TO,{...o},y.createElement(zO,{key:"left"},e?[1,2,3].map(i=>y.createElement(LO,{key:i})):y.createElement(y.Fragment,null,y.createElement(sn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(hL,null)),y.createElement(sn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(mL,null)),y.createElement(sn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(gL,null))))),MO=F.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)`}}:{}),w4=F($9)(({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)":It(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":It(.05,e.background.content)}})),PO=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...hu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),$O=(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:y.createElement(w4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(w4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function NO(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var HO=F(OO)({position:"absolute",top:0,left:0,right:0,height:40}),jO=F.div({overflow:"hidden",position:"relative"}),j9=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...p})=>{let[m,h]=l.useState(i),{source:f,actionItem:v}=$O(a,m,h),[g,w]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[v]:[],[E,b]=l.useState(s?[...s]:[]),C=[...D,...E],{window:S}=globalThis,k=l.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await W4(()=>import("./index-CIkzHX6z.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);I()},[]),A=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(B=>B.title==="Copied").length===0&&k(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(B=>B.title!=="Copied")),1500)}))};return y.createElement(PO,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(HO,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:NO(n),baseUrl:"./iframe.html"}),y.createElement(N9.Provider,{value:{scale:g}},y.createElement(jO,{className:"docs-story",onCopyCapture:a&&A},y.createElement(MO,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(TT.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(Dp,{actionItems:C}))),a&&m&&f)};F(j9)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Jr(){return Jr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),C4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},UO=["style","script"],qO=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,WO=/mailto:/i,GO=/\n{2,}$/,V9=/^(\s*>[\s\S]*?)(?=\n{2,})/,YO=/^ *> ?/gm,KO=/^ {2,}\n/,ZO=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,U9=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,q9=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,JO=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,XO=/^(?:\n *)*\n/,QO=/\r\n?/g,eM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,tM=/^\[\^([^\]]+)]/,rM=/\f/g,nM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,aM=/^\s*?\[(x|\s)\]/,W9=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,G9=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Y9=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,N1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,oM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,K9=/^)/,iM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,H1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,lM=/^\{.*\}$/,sM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,uM=/^<([^ >]+@[^ >]+)>/,cM=/^<([^ >]+:\/[^ >]+)>/,dM=/-([a-z])?/gi,Z9=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,pM=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,fM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,hM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,mM=/(\[|\])/g,gM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,vM=/\t/g,yM=/^ *\| */,bM=/(^ *\||\| *$)/g,wM=/ *$/,EM=/^ *:-+: *$/,xM=/^ *:-+ *$/,DM=/^ *-+: *$/,mu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",CM=new RegExp(`^([*_])\\1${mu}\\1\\1(?!\\1)`),SM=new RegExp(`^([*_])${mu}\\1(?!\\1|\\w)`),kM=new RegExp(`^==${mu}==`),AM=new RegExp(`^~~${mu}~~`),FM=/^\\([^0-9A-Za-z\s])/,_M=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,RM=/^\n+/,IM=/^([ \t]*)/,BM=/\\([^\\])/g,S4=/ *\n+$/,TM=/(?:^|\n)( *)$/,Qf="(?:\\d+\\.)",eh="(?:[*+-])";function J9(e){return"( *)("+(e===1?Qf:eh)+") +"}var X9=J9(1),Q9=J9(2);function ex(e){return new RegExp("^"+(e===1?X9:Q9))}var zM=ex(1),LM=ex(2);function tx(e){return new RegExp("^"+(e===1?X9:Q9)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Qf:eh)+" )[^\\n]*)*(\\n|$)","gm")}var rx=tx(1),nx=tx(2);function ax(e){let t=e===1?Qf:eh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var ox=ax(1),ix=ax(2);function k4(e,t){let r=t===1,n=r?ox:ix,a=r?rx:nx,o=r?zM:LM;return{match(i,s,c){let d=TM.exec(c);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,p=i[0].replace(GO,` +`).match(a),m=!1;return{items:p.map(function(h,f){let v=o.exec(h)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),w=h.replace(g,"").replace(o,""),x=f===p.length-1,D=w.indexOf(` + +`)!==-1||x&&m;m=D;let E=c.inline,b=c.list,C;c.list=!0,D?(c.inline=!1,C=w.replace(S4,` + +`)):(c.inline=!0,C=w.replace(S4,""));let S=s(C,c);return c.inline=E,c.list=b,S}),ordered:r,start:d}},render:(i,s,c)=>e(i.ordered?"ol":"ul",{key:c.key,start:i.type==="20"?i.start:void 0},i.items.map(function(d,p){return e("li",{key:p},s(d,c))}))}}var OM=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),MM=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,lx=[V9,U9,q9,W9,Y9,G9,K9,Z9,rx,ox,nx,ix],PM=[...lx,/^[^\n]+(?: \n|\n{2,})/,N1,H1];function $M(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 NM(e){return DM.test(e)?"right":EM.test(e)?"center":xM.test(e)?"left":null}function A4(e,t,r){let n=r.inTable;r.inTable=!0;let a=t(e.trim(),r);r.inTable=n;let o=[[]];return a.forEach(function(i,s){i.type==="26"?s!==0&&s!==a.length-1&&o.push([]):(i.type!=="27"||a[s+1]!=null&&a[s+1].type!=="26"||(i.text=i.text.replace(wM,"")),o[o.length-1].push(i))}),o}function HM(e,t,r){r.inline=!0;let n=A4(e[1],t,r),a=e[2].replace(bM,"").split("|").map(NM),o=function(i,s,c){return i.trim().split(` +`).map(function(d){return A4(d,s,c)})}(e[3],t,r);return r.inline=!1,{align:a,cells:o,header:n,type:"25"}}function F4(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function pr(e){return function(t,r){return r.inline?e.exec(t):null}}function fr(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function er(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function no(e){return function(t){return e.exec(t)}}function jM(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!lx.some(i=>i.test(o))&&(n+=o+` +`,o.trim()));let a=n.trimEnd();return a==""?null:[n,a]}function Mn(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 _4(e){return e.replace(BM,"$1")}function El(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function VM(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function UM(e,t,r){return r.inline=!1,e(t,r)}var U0=(e,t,r)=>({children:El(t,e[1],r)});function q0(){return{}}function W0(){return null}function qM(...e){return e.filter(Boolean).join(" ")}function G0(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function WM(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||$M,t.namedCodesToUnicode=t.namedCodesToUnicode?Jr({},C4,t.namedCodesToUnicode):C4;let r=t.createElement||l.createElement;function n(f,v,...g){let w=G0(t.overrides,`${f}.props`,{});return r(function(x,D){let E=G0(D,x);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:G0(D,`${x}.component`,x):x}(f,t.overrides),Jr({},v,w,{className:qM(v==null?void 0:v.className,w.className)||void 0}),...g)}function a(f){f=f.replace(nM,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=gM.test(f)===!1);let g=p(d(v?f:`${f.trimEnd().replace(RM,"")} + +`,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let w=t.wrapper||(v?"span":"div"),x;if(g.length>1||t.forceWrapper)x=g;else{if(g.length===1)return x=g[0],typeof x=="string"?n("span",{key:"outer"},x):x;x=null}return l.createElement(w,{key:"outer"},x)}function o(f){let v=f.match(qO);return v?v.reduce(function(g,w,x){let D=w.indexOf("=");if(D!==-1){let E=function(k){return k.indexOf("-")!==-1&&k.match(iM)===null&&(k=k.replace(dM,function(A,_){return _.toUpperCase()})),k}(w.slice(0,D)).trim(),b=function(k){let A=k[0];return(A==='"'||A==="'")&&k.length>=2&&k[k.length-1]===A?k.slice(1,-1):k}(w.slice(D+1).trim()),C=D4[E]||E,S=g[C]=function(k,A){return k==="style"?A.split(/;\s?/).reduce(function(_,I){let B=I.slice(0,I.indexOf(":"));return _[B.trim().replace(/(-[a-z])/g,z=>z[1].toUpperCase())]=I.slice(B.length+1).trim(),_},{}):k==="href"||k==="src"?Mn(A):(A.match(lM)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(E,b);typeof S=="string"&&(N1.test(S)||H1.test(S))&&(g[C]=l.cloneElement(a(S.trim()),{key:x}))}else w!=="style"&&(g[D4[w]||w]=!0);return g},{}):null}let i=[],s={},c={0:{match:er(V9),order:1,parse:(f,v,g)=>({children:v(f[0].replace(YO,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:no(KO),order:1,parse:q0,render:(f,v,g)=>n("br",{key:g.key})},2:{match:er(ZO),order:1,parse:q0,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:er(q9),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",Jr({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:er(U9),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:fr(JO),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:er(eM),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:W0},7:{match:pr(tM),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:Mn(f.target)},n("sup",{key:g.key},f.text))},8:{match:pr(aM),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:er(t.enforceAtxHeadings?G9:W9),order:1,parse:(f,v,g)=>({children:El(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n(`h${f.level}`,{id:f.id,key:g.key},v(f.children,g))},10:{match:er(Y9),order:0,parse:(f,v,g)=>({children:El(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:no(N1),order:1,parse(f,v,g){let[,w]=f[3].match(IM),x=new RegExp(`^${w}`,"gm"),D=f[3].replace(x,""),E=(b=D,PM.some(A=>A.test(b))?UM:El);var b;let C=f[1].toLowerCase(),S=UO.indexOf(C)!==-1,k={attrs:o(f[2]),noInnerParse:S,tag:(S?C:f[1]).trim()};return g.inAnchor=g.inAnchor||C==="a",S?k.text=f[3]:k.children=E(v,D,g),g.inAnchor=!1,k},render:(f,v,g)=>n(f.tag,Jr({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:no(H1),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,Jr({},f.attrs,{key:g.key}))},12:{match:no(K9),order:1,parse:()=>({}),render:W0},14:{match:fr(MM),order:1,parse:f=>({alt:f[1],target:_4(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Mn(f.target)})},15:{match:pr(OM),order:3,parse:(f,v,g)=>({children:VM(v,f[1],g),target:_4(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:Mn(f.target),title:f.title},v(f.children,g))},16:{match:pr(cM),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:pr(sM)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:pr(uM),order:0,parse(f){let v=f[1],g=f[1];return WO.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:k4(n,1),33:k4(n,2),19:{match:er(XO),order:3,parse:q0,render:()=>` +`},21:{match:jM,order:3,parse:U0,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:pr(pM),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:W0},23:{match:fr(fM),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>s[f.ref]?n("img",{key:g.key,alt:f.alt,src:Mn(s[f.ref].target),title:s[f.ref].title}):null},24:{match:pr(hM),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(mM,"\\$1"),g),ref:f[2]}),render:(f,v,g)=>s[f.ref]?n("a",{key:g.key,href:Mn(s[f.ref].target),title:s[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:er(Z9),order:1,parse:HM,render:(f,v,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(w,x){return n("th",{key:x,style:F4(f,x)},v(w,g))}))),n("tbody",null,f.cells.map(function(w,x){return n("tr",{key:x},w.map(function(D,E){return n("td",{key:E,style:F4(f,E)},v(D,g))}))})))},26:{match:function(f,v){return v.inTable?(v.inline=!0,yM.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:no(_M),order:4,parse:f=>({text:f[0].replace(oM,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:fr(CM),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:fr(SM),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:fr(FM),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:fr(kM),order:3,parse:U0,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:fr(AM),order:3,parse:U0,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete c[11],delete c[13]);let d=function(f){let v=Object.keys(f);function g(w,x){let D=[],E="";for(;w;){let b=0;for(;bD(g,w,x),g,w,x):D(g,w,x)}}(c,t.renderRule),function f(v,g={}){if(Array.isArray(v)){let w=g.key,x=[],D=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,c={},d=Object.keys(a);for(s=0;s=0||(c[i]=a[i]);return c}(e,VO);return l.cloneElement(WM(t,r),n)},GM=F.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:oe(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Zi(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Zi(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Zi(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"?`${Zi(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),YM=e=>e==="true",KM=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let i=l.useCallback(()=>r(!1),[r]),s=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",id:hs(e),onClick:i,disabled:s},"Set boolean");let c=vt(e),d=typeof t=="string"?YM(t):t;return y.createElement(GM,{"aria-disabled":s,htmlFor:c,"aria-label":e},y.createElement("input",{id:c,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},ZM=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},JM=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},XM=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}`},QM=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},R4=F(yi.Input)(({readOnly:e})=>({opacity:e?.5:1})),eP=F.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}})),tP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[i,s]=l.useState(!0),c=l.useRef(),d=l.useRef(),p=!!((v=o==null?void 0:o.table)!=null&&v.readonly);l.useEffect(()=>{i!==!1&&(c&&c.current&&(c.current.value=t?XM(t):""),d&&d.current&&(d.current.value=t?QM(t):""))},[t]);let m=g=>{if(!g.target.value)return r();let w=ZM(g.target.value),x=new Date(t);x.setFullYear(w.getFullYear(),w.getMonth(),w.getDate());let D=x.getTime();D&&r(D),s(!!D)},h=g=>{if(!g.target.value)return r();let w=JM(g.target.value),x=new Date(t);x.setHours(w.getHours()),x.setMinutes(w.getMinutes());let D=x.getTime();D&&r(D),s(!!D)},f=vt(e);return y.createElement(eP,null,y.createElement(R4,{type:"date",max:"9999-12-31",ref:c,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:m,onFocus:n,onBlur:a}),y.createElement(R4,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},rP=F.label({display:"flex"}),nP=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},aP=F(yi.Input)(({readOnly:e})=>({opacity:e?.5:1})),oP=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:c})=>{var E;let[d,p]=l.useState(typeof t=="number"?t:""),[m,h]=l.useState(!1),[f,v]=l.useState(null),g=!!((E=c==null?void 0:c.table)!=null&&E.readonly),w=l.useCallback(b=>{p(b.target.value);let C=parseFloat(b.target.value);Number.isNaN(C)?v(new Error(`'${b.target.value}' is not a number`)):(r(C),v(null))},[r,v]),x=l.useCallback(()=>{p("0"),r(0),h(!0)},[h]),D=l.useRef(null);return l.useEffect(()=>{m&&D.current&&D.current.select()},[m]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?y.createElement(Sn,{variant:"outline",size:"medium",id:hs(e),onClick:x,disabled:g},"Set number"):y.createElement(rP,null,y.createElement(aP,{ref:D,id:vt(e),type:"number",onChange:w,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:m,readOnly:g,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},ux=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},j1=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],cx=(e,t)=>e&&t&&e.map(r=>t[r]),iP=F.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"}}}),lP=F.span({"[aria-readonly=true] &":{opacity:.5}}),sP=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),I4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var h;if(!t)return Jf.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=j1(r,t),[s,c]=l.useState(i),d=!!((h=o==null?void 0:o.table)!=null&&h.readonly),p=f=>{let v=f.target.value,g=[...s];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(cx(g,t)),c(g)};l.useEffect(()=>{c(j1(r,t))},[r]);let m=vt(e);return y.createElement(iP,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${m}-${v}`;return y.createElement(sP,{key:g,htmlFor:g},y.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:s==null?void 0:s.includes(f)}),y.createElement(lP,null,f))}))},uP=F.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"}}}),cP=F.span({"[aria-readonly=true] &":{opacity:.5}}),dP=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),B4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Jf.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=ux(r,t),s=vt(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(uP,{"aria-readonly":c,isInline:a},Object.keys(t).map((p,m)=>{let h=`${s}-${m}`;return y.createElement(dP,{key:h,htmlFor:h},y.createElement("input",{type:"radio",id:h,name:s,disabled:c,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),y.createElement(cP,null,p))}))},pP={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},dx=F.select(pP,({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}}})),px=F.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}}})),T4="Choose option...",fP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=ux(t,r)||T4,s=vt(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(px,null,y.createElement(B9,null),y.createElement(dx,{disabled:c,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},T4),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},hP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let m=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(cx(m,r))},i=j1(t,r),s=vt(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(px,null,y.createElement(dx,{disabled:c,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},z4=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(hP,{...e}):y.createElement(fP,{...e}):(Jf.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},mP=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,gP={check:I4,"inline-check":I4,radio:B4,"inline-radio":B4,select:z4,"multi-select":z4},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?mP(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=gP[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},vP="Error",yP="Object",bP="Array",wP="String",EP="Number",xP="Boolean",DP="Date",CP="Null",SP="Undefined",kP="Function",AP="Symbol",fx="ADD_DELTA_TYPE",hx="REMOVE_DELTA_TYPE",mx="UPDATE_DELTA_TYPE",th="value",FP="key";function nn(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 gx(e,t){let r=nn(e),n=nn(t);return(r==="Function"||n==="Function")&&n!==r}var rh=class extends l.Component{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:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,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:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),c=l.cloneElement(n,{onClick:e}),d=a(th,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let h=a(FP,o,i);m=l.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},m,p,c,s)}};rh.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var vx=class extends l.Component{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,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:hx};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).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 i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(r[r.length-1],i),c({type:fx,keyPath:r,deep:n,key:i.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:i,nextDeep:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:mx,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,s),m=o(e,t,r,n,s),h=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,delimiter:I,ul:B,addForm:z}=p(e,t,r,n,m),L=d(e,t,r,n,m),M=l.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),O=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:A});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:I},"["),!a&&M,y.createElement("ul",{className:"rejt-not-collapsed-list",style:B},t.map((P,j)=>y.createElement(gu,{key:j,name:j.toString(),data:P,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}))),!L&&a&&y.createElement("div",{className:"rejt-add-form",style:z},y.createElement(rh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:I},"]"),!L&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};vx.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var yx=class extends l.Component{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:i,dataType:s}=this.props,c=i(r,n,a,o,s);e&&!c&&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:i,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{gx(t,c)||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:i,readOnly:s,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:m,textareaElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,c),w=null,x=null,D=s(e,i,n,a,c);if(r&&!D){let E=h(th,v,a,e,i,c),b=l.cloneElement(p,{onClick:this.handleEdit}),C=l.cloneElement(m,{onClick:this.handleCancelEdit}),S=l.cloneElement(E,{ref:this.refInput,defaultValue:i});w=y.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",C,b),x=null}else{w=y.createElement("span",{className:"rejt-value",style:g.value,onClick:D?null:this.handleEditMode},t);let E=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});x=D?null:E}return y.createElement("li",{className:"rejt-function-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),w,x)}};yx.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var gu=class extends l.Component{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:i,onUpdate:s,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S}=this.props,k=()=>!0,A=nn(e);switch(A){case vP:return y.createElement(V1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:k,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case yP:return y.createElement(V1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case bP:return y.createElement(vx,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:p,addButtonElement:m,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case wP:return y.createElement(mr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case EP:return y.createElement(mr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case xP:return y.createElement(mr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case DP:return y.createElement(mr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case CP:return y.createElement(mr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case SP:return y.createElement(mr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});case kP:return y.createElement(yx,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:w,logger:C,onSubmitValueParser:S});case AP:return y.createElement(mr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:k,dataType:A,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:v,minusMenuElement:w,logger:C,onSubmitValueParser:S});default:return null}}};gu.defaultProps={keyPath:[],deep:0};var V1=class extends l.Component{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:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(n[n.length-1],r),c({type:fx,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:hx};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).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:i,nextDeep:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:mx,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=s(e,n,t,r,i),m=Object.getOwnPropertyNames(n),h=o(e,n,t,r,i),f=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:m,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}=this.props,{minus:A,plus:_,addForm:I,ul:B,delimiter:z}=p(e,t,r,n,m),L=Object.getOwnPropertyNames(t),M=d(e,t,r,n,m),O=l.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),P=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:A}),j=L.map(U=>y.createElement(gu,{key:U,name:U,data:t[U],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(U),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:k}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"{"),!M&&O,y.createElement("ul",{className:"rejt-not-collapsed-list",style:B},j),!M&&o&&y.createElement("div",{className:"rejt-add-form",style:I},y.createElement(rh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:k})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"}"),!M&&P)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};V1.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var mr=class extends l.Component{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:i,dataType:s}=this.props,c=i(r,n,a,o,s);e&&!c&&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:i,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{gx(t,c)||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:i,readOnly:s,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:m,inputElementGenerator:h,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,c),w=s(e,i,n,a,c),x=r&&!w,D=h(th,v,a,e,i,c),E=l.cloneElement(p,{onClick:this.handleEdit}),b=l.cloneElement(m,{onClick:this.handleCancelEdit}),C=l.cloneElement(D,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});return y.createElement("li",{className:"rejt-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," : "),x?y.createElement("span",{className:"rejt-edit-form",style:g.editForm},C," ",b,E):y.createElement("span",{className:"rejt-value",style:g.value,onClick:w?null:this.handleEditMode},String(t)),!w&&!x&&S)}};mr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function _P(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var RP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},IP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},BP={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},bx=class extends l.Component{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:i,cancelButtonElement:s,editButtonElement:c,inputElement:d,textareaElement:p,minusMenuElement:m,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:w,onSubmitValueParser:x,fallback:D=null}=this.props,E=nn(e),b=a;nn(a)==="Boolean"&&(b=()=>a);let C=d;d&&nn(d)!=="Function"&&(C=()=>d);let S=p;return p&&nn(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(gu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:b,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:c,inputElementGenerator:C,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:w,onSubmitValueParser:x})):D}};bx.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return RP;case"Array":return IP;default:return BP}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>_P(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:TP}=globalThis,zP=F.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}})),Y0=F.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})),LP=F(wL)(({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}})),OP=F(EL)(({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}})),L4=F.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}`}})),MP=F(sn)(({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}})),PP=F(yi.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"}})),$P={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},NP=e=>{e.currentTarget.dispatchEvent(new TP.KeyboardEvent("keydown",$P))},HP=e=>{e.currentTarget.select()},jP=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),O4=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=x3(),o=l.useMemo(()=>t&&aD(t),[t]),i=o!=null,[s,c]=l.useState(!i),[d,p]=l.useState(null),m=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=l.useCallback(b=>{try{b&&r(JSON.parse(b)),p(void 0)}catch(C){p(C)}},[r]),[f,v]=l.useState(!1),g=l.useCallback(()=>{r({}),v(!0)},[v]),w=l.useRef(null);if(l.useEffect(()=>{f&&w.current&&w.current.select()},[f]),!i)return y.createElement(Sn,{disabled:m,id:hs(e),onClick:g},"Set object");let x=y.createElement(PP,{ref:w,id:vt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:b=>h(b.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:m}),D=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(zP,{"aria-readonly":m},D&&y.createElement(MP,{onClick:b=>{b.preventDefault(),c(C=>!C)}},s?y.createElement(yL,null):y.createElement(vL,null),y.createElement("span",null,"RAW")),s?x:y.createElement(bx,{readOnly:m||!D,isCollapsed:D?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:jP(a),cancelButtonElement:y.createElement(Y0,{type:"button"},"Cancel"),editButtonElement:y.createElement(Y0,{type:"submit"},"Save"),addButtonElement:y.createElement(Y0,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(LP,null),minusMenuElement:y.createElement(OP,null),inputElement:(b,C,S,k)=>k?y.createElement(L4,{onFocus:HP,onBlur:NP}):y.createElement(L4,null),fallback:x}))},VP=F.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{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}%, + ${It(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${It(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Kr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Kr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${nr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${nr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${It(.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:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:nr(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}%, + ${It(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${It(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Kr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Kr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${nr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${nr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${It(.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}%, + ${It(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${It(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Kr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Kr(.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 ${nr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),wx=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),UP=F(wx)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),qP=F.div({display:"flex",alignItems:"center",width:"100%"});function WP(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 GP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var f;let d=v=>{r(nP(v.target.value))},p=t!==void 0,m=l.useMemo(()=>WP(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(qP,{"aria-readonly":h},y.createElement(wx,null,n),y.createElement(VP,{id:vt(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(UP,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},YP=F.label({display:"flex"}),KP=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),ZP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),m=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:c,id:hs(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(YP,null,y.createElement(yi.Textarea,{id:vt(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&y.createElement(KP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},JP=F(yi.Input)({padding:10});function XP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var QP=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(p),XP(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(JP,{ref:o,id:vt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},e$=l.lazy(()=>W4(()=>import("./Color-F6OSRLHC-9rSkHPsL.js"),__vite__mapDeps([8,2,1,3,4,5,6,7]),import.meta.url)),t$=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(e$,{...e})),r$={array:O4,object:O4,boolean:KM,color:t$,date:tP,number:oP,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:GP,text:ZP,file:QP},M4=()=>y.createElement(y.Fragment,null,"-"),n$=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),m=l.useCallback(()=>s(!1),[]),h=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&w?y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(M4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=r$[o.type]||M4;return y.createElement(v,{...f,...o,controlType:o.type})},a$=F.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:Lr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),o$=({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:y.createElement(y.Fragment,null,y.createElement(a$,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},i$=Y1(T9()),U1=8,P4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),l$=F.span(Lr,({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}})),s$=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),u$=F.div(Lr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),c$=F.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"}})),d$=F(SL)({marginLeft:4}),p$=F(B9)({marginLeft:4}),f$=()=>y.createElement("span",null,"-"),Ex=({text:e,simple:t})=>y.createElement(l$,{simple:t},e),h$=(0,i$.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),m$=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Zx(t)},$4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,U1)),r.map(n=>y.createElement(Ex,{key:n,text:n===""?'""':n}))},g$=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(Ex,{text:c});let d=m$(c),p=d.length;return p>U1?y.createElement(P4,{isExpanded:i},$4(d,i),y.createElement(s$,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-U1} more...`)):y.createElement(P4,null,$4(d))}return y.createElement(fz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(c$,{width:h$(n)},y.createElement(Hf,{language:"jsx",format:!1},n))},y.createElement(u$,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(d$,null):y.createElement(p$,null)))},K0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(f$,null):y.createElement(g$,{value:e,initialExpandedArgs:t}),v$=F.span({fontWeight:"bold"}),y$=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),b$=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Lr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),w$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),E$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),x$=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),D$=e=>e&&{summary:typeof e=="string"?e:e.name},Xi=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,p=n.table||{},m=p.type||D$(n.type),h=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(x$,{expandable:i},y.createElement(v$,null,c),f?y.createElement(y$,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(b$,null,y.createElement(sx,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(E$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s})),y.createElement(o$,{tags:p.jsDocTags})):y.createElement(w$,{hasDescription:v},y.createElement(K0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(K0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(n$,{...e,isHovered:t})):null)},C$=F.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"})),S$=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),k$=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),A$=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(C$,{inAddonPanel:e},y.createElement(S9,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.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:y.createElement(S$,null,e&&y.createElement(y.Fragment,null,y.createElement(oa,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(bL,null)," Watch 5m video"),y.createElement(k$,null),y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read docs")),!e&&y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(z1,null)," Learn how to set that up"))}))},F$=F(DL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),_$=F(CL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),R$=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),I$=F.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),B$=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),T$=F.td(()=>({position:"relative"})),z$=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Kr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),N4=F.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"})),Z0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?B$:I$,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(z$,{title:p},y.createElement(s,{colSpan:1},y.createElement(N4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement(R$,null,o?y.createElement(F$,null):y.createElement(_$,null),t)),y.createElement(T$,{colSpan:a-1},y.createElement(N4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},Qi=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=F.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})),Fe=[2,4,2,2],L$=()=>y.createElement(y.Fragment,null,y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"}))),y.createElement(Qi,null,y.createElement(Ae,{numColumn:Fe[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:Fe[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:Fe[3]},y.createElement(me,{width:"60%"})))),O$=F.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"?oe(.25,e.color.defaultText):oe(.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}}}}})),M$=F(sn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),P$=F.span({display:"flex",justifyContent:"space-between"}),$$={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},N$=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=$$[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},H$=(e,t,r)=>{try{return jx(e,t,r)}catch(n){return FL.warn(n.message),!1}},q1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:D}=e;return y.createElement(P9,null,D," ",y.createElement(oa,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(z1,null)," Read the docs"))}if(s)return y.createElement(L$,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=N$(Jx(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&H$(D,d||{},p||{})}),i),h=m.ungrouped.length===0,f=Object.entries(m.sections).length===0,v=Object.entries(m.ungroupedSubsections).length===0;if(h&&f&&v)return y.createElement(A$,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let w=Object.keys(m.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(H8,null,y.createElement(O$,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(P$,null,"Control"," ",!s&&r&&y.createElement(M$,{onClick:()=>r(),title:"Reset controls"},y.createElement(kL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Xi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(Z0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Xi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(Z0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Xi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},j$=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(q1,{...r[0][1],...t}):y.createElement(Kz,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:p})=>p?y.createElement(q1,{key:`prop_table_${o}`,...i,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(se,({theme:e})=>({...hu(e),margin:"25px 0 40px",padding:"30px 20px"}));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...hu(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"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...hu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var V$=e=>`anchor--${e}`,xx=({storyId:e,children:t})=>y.createElement("div",{id:V$(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Et=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(Et).resolveOf(e,t),U$=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),q$=e=>{if(e)return typeof e=="string"?e.includes("-")?U$(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function W$(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var G$=Object.create,Dx=Object.defineProperty,Y$=Object.getOwnPropertyDescriptor,Cx=Object.getOwnPropertyNames,K$=Object.getPrototypeOf,Z$=Object.prototype.hasOwnProperty,et=(e,t)=>function(){return t||(0,e[Cx(e)[0]])((t={exports:{}}).exports,t),t.exports},J$=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Cx(t))!Z$.call(e,a)&&a!==r&&Dx(e,a,{get:()=>t[a],enumerable:!(n=Y$(t,a))||n.enumerable});return e},nh=(e,t,r)=>(r=e!=null?G$(K$(e)):{},J$(!e||!e.__esModule?Dx(r,"default",{value:e,enumerable:!0}):r,e)),X$=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],Q$=["detail"];function eN(e){let t=X$.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&Q$.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var tN=Y1(T9(),1),Sx=et({"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"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;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!==o||s.enumerable!==!0)return!1}return!0}}}),kx=et({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Sx();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),rN=et({"node_modules/function-bind/implementation.js"(e,t){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 c=n.call(arguments,1),d,p=function(){if(this instanceof d){var g=s.apply(this,c.concat(n.call(arguments)));return Object(g)===g?g:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),h=[],f=0;f"u"?r:m(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%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%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:m(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"||!p?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?m(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%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},g=function z(L){var M;if(L==="%AsyncFunction%")M=i("async function () {}");else if(L==="%GeneratorFunction%")M=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(L==="%AsyncGenerator%"){var O=z("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(L==="%AsyncIteratorPrototype%"){var P=z("%AsyncGenerator%");P&&(M=m(P.prototype))}return v[L]=M,M},w={"%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"]},x=ah(),D=nN(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),k=x.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var L=S(z,0,1),M=S(z,-1);if(L==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var O=[];return C(z,A,function(P,j,U,V){O[O.length]=U?C(V,_,"$1"):j||P}),O},B=function(z,L){var M=z,O;if(D(w,M)&&(O=w[M],M="%"+O[0]+"%"),D(v,M)){var P=v[M];if(P===h&&(P=g(M)),typeof P>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:O,name:M,value:P}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(k(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),O=M.length>0?M[0]:"",P=B("%"+O+"%",L),j=P.name,U=P.value,V=!1,G=P.alias;G&&(O=G[0],b(M,E([0,1],G)));for(var Q=1,ne=!0;Q=M.length){var K=s(U,Z);ne=!!K,ne&&"get"in K&&!("originalValue"in K.get)?U=K.get:U=U[Z]}else ne=D(U,Z),U=U[Z];ne&&!V&&(v[j]=U)}}return U}}}),aN=et({"node_modules/call-bind/index.js"(e,t){var r=ah(),n=Ax(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var h=i(r,o,arguments);if(s&&c){var f=s(h,"length");f.configurable&&c(h,"length",{value:1+d(0,m.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),oN=et({"node_modules/call-bind/callBound.js"(e,t){var r=Ax(),n=aN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),iN=et({"node_modules/has-tostringtag/shams.js"(e,t){var r=Sx();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),lN=et({"node_modules/is-regex/index.js"(e,t){var r=oN(),n=iN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),v=f&&a(f,"value");if(!v)return!1;try{o(h,s)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===m}}}),sN=et({"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)}}}),uN=et({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=kx()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=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 i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),cN=nh(lN()),dN=nh(sN()),pN=nh(uN());function fN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var hN=typeof global=="object"&&global&&global.Object===Object&&global,mN=hN,gN=typeof self=="object"&&self&&self.Object===Object&&self,vN=mN||gN||Function("return this")(),oh=vN,yN=oh.Symbol,Sa=yN,Fx=Object.prototype,bN=Fx.hasOwnProperty,wN=Fx.toString,ao=Sa?Sa.toStringTag:void 0;function EN(e){var t=bN.call(e,ao),r=e[ao];try{e[ao]=void 0;var n=!0}catch{}var a=wN.call(e);return n&&(t?e[ao]=r:delete e[ao]),a}var xN=EN,DN=Object.prototype,CN=DN.toString;function SN(e){return CN.call(e)}var kN=SN,AN="[object Null]",FN="[object Undefined]",H4=Sa?Sa.toStringTag:void 0;function _N(e){return e==null?e===void 0?FN:AN:H4&&H4 in Object(e)?xN(e):kN(e)}var RN=_N,j4=Sa?Sa.prototype:void 0;j4&&j4.toString;function IN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var _x=IN,BN="[object AsyncFunction]",TN="[object Function]",zN="[object GeneratorFunction]",LN="[object Proxy]";function ON(e){if(!_x(e))return!1;var t=RN(e);return t==TN||t==zN||t==BN||t==LN}var MN=ON,PN=oh["__core-js_shared__"],J0=PN,V4=function(){var e=/[^.]+$/.exec(J0&&J0.keys&&J0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function $N(e){return!!V4&&V4 in e}var NN=$N,HN=Function.prototype,jN=HN.toString;function VN(e){if(e!=null){try{return jN.call(e)}catch{}try{return e+""}catch{}}return""}var UN=VN,qN=/[\\^$.*+?()[\]{}|]/g,WN=/^\[object .+?Constructor\]$/,GN=Function.prototype,YN=Object.prototype,KN=GN.toString,ZN=YN.hasOwnProperty,JN=RegExp("^"+KN.call(ZN).replace(qN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function XN(e){if(!_x(e)||NN(e))return!1;var t=MN(e)?JN:WN;return t.test(UN(e))}var QN=XN;function eH(e,t){return e==null?void 0:e[t]}var tH=eH;function rH(e,t){var r=tH(e,t);return QN(r)?r:void 0}var Rx=rH;function nH(e,t){return e===t||e!==e&&t!==t}var aH=nH,oH=Rx(Object,"create"),Yo=oH;function iH(){this.__data__=Yo?Yo(null):{},this.size=0}var lH=iH;function sH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var uH=sH,cH="__lodash_hash_undefined__",dH=Object.prototype,pH=dH.hasOwnProperty;function fH(e){var t=this.__data__;if(Yo){var r=t[e];return r===cH?void 0:r}return pH.call(t,e)?t[e]:void 0}var hH=fH,mH=Object.prototype,gH=mH.hasOwnProperty;function vH(e){var t=this.__data__;return Yo?t[e]!==void 0:gH.call(t,e)}var yH=vH,bH="__lodash_hash_undefined__";function wH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Yo&&t===void 0?bH:t,this}var EH=wH;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var BH=IH;function TH(e,t){var r=this.__data__,n=vu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var zH=TH;function Oa(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 i=0;ioj(e).replace(/\n\s*/g,"").trim()),lj=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},sj=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Bx(e){if(!aj(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=eN(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 uj=function(e){let t,r,n,a;return function(o,i){try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return sj.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,cN.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,dN.default)(i)){if(!e.allowFunction)return;let{name:d}=i,p=i.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${ij(lj(o,p))}`}if((0,pN.default)(i)){if(!e.allowSymbol)return;let d=Symbol.keyFor(i);return d!==void 0?`_gsymbol_${d}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let c=t.get(i);if(!c){let d=Array.isArray(i)?i:Bx(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":i.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${c}`}catch{return}}},cj={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},dj=(e,t={})=>{let r={...cj,...t};return JSON.stringify(Bx(e),uj(r),t.space)};function Tx(e){return dj(e,{allowFunction:!1})}var zx=l.createContext({sources:{}}),Lx="--unknown--",pj=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:c,args:d=void 0,source:p,format:m}=typeof o=="string"?{id:o,source:i,format:s}:o,h=d?Tx(d):Lx;n(f=>({...f,[c]:{...f[c],[h]:{code:p,format:m}}}))};return t.on(fh,a),()=>t.off(fh,a)},[]),y.createElement(zx.Provider,{value:{sources:r}},e)},fj=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[Tx(t)])||(a==null?void 0:a[Lx])||{code:""}},hj=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},i=r||o.type||Eu.AUTO;if(o.code!==void 0)return o.code;let s=i===Eu.DYNAMIC||i===Eu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},mj=(e,t,r)=>{var f,v,g,w;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,s=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:c,dark:d};let p=t.getStoryContext(n),m=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=fj(n.id,m,r);return s=h.format??((w=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:w.format)??!1,{code:hj({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function gj(e,t){let r=vj([e],t);return r&&r[0]}function vj(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var yj=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},bj=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},wj=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(Et),r=yj(e,t),n=gj(r,t);if(!n)return y.createElement(H9,null);let a=bj(e,n,t);return a?y.createElement(BO,{...a}):null},Ej=e=>{var h,f,v,g,w,x,D,E,b,C;let t=l.useContext(Et),r=l.useContext(zx),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=kn(n||"story",["story"]),i=mj({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(h=o.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",c=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.additionalActions),p=e.sourceState??((E=(D=o.parameters.docs)==null?void 0:D.canvas)==null?void 0:E.sourceState)??"hidden",m=e.className??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.className);return y.createElement(j9,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:c,additionalActions:d,className:m,layout:s},y.createElement(wj,{of:n||o.moduleExport,meta:e.meta,...e.story}))},xj=(e,t)=>{let r=Dj(e,t);if(!r)throw new Error("No result when story was defined");return r},Dj=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(v4,c),()=>t.channel.off(v4,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(_L,{storyId:n,updatedArgs:c}),[n,t.channel]),s=l.useCallback(c=>t.channel.emit(RL,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,s]},Cj=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(y4,o),()=>t.channel.off(y4,o)},[t.channel]),[n]};function Sj(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var kj=e=>{var b;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(Et),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,c=((b=a.docs)==null?void 0:b.controls)||{},d=e.include??c.include,p=e.exclude??c.exclude,m=e.sort??c.sort,[h,f,v]=xj(n,r),[g]=Cj(n,r),w=g4(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(w).length>0||Object.keys(h).length>0?y.createElement(q1,{rows:w,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let x=q$(i),D=Object.fromEntries(Object.entries(s).map(([C,S])=>[C,{rows:g4(Sj(S,a),d,p),sort:m}])),E={[x]:{rows:w,sort:m},...D};return y.createElement(j$,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:Ox}=globalThis,Aj=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(j8,null,t);let n=e&&e.split("-");return y.createElement($9,{language:n&&n[1]||"text",format:!1,code:t,...r})};function lh(e,t){e.channel.emit(IL,t)}var W1=pL.a,Fj=({hash:e,children:t})=>{let r=l.useContext(Et);return y.createElement(W1,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);Ox.getElementById(a)&&lh(r,e)}},t)},_j=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(Et);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(W1,{...e}):t.startsWith("#")?y.createElement(Fj,{hash:t},n):y.createElement(W1,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),lh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},Mx=["h1","h2","h3","h4","h5","h6"],Rj=Mx.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Ij=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Bj=({as:e,id:t,children:r,...n})=>{let a=l.useContext(Et),o=Rj[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(Ij,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{Ox.getElementById(t)&&lh(a,i)}},y.createElement(xL,null)),r)},sh=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Bj,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...le(s,t)})},Tj=Mx.reduce((e,t)=>({...e,[t]:r=>y.createElement(sh,{as:t,...r})}),{}),zj=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(Vx`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return y.createElement(sx,{...e,options:{forceBlock:!0,overrides:{code:Aj,a:_j,...Tj,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Lj=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Lj||{}),Oj=e=>{var t,r,n,a,o,i,s,c;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:i.call(o,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((c=(s=p.docs)==null?void 0:s.extractComponentDescription)==null?void 0:c.call(s,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},G1=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=kn(t||"meta"),n=Oj(r);return n?y.createElement(zj,null,n):null},q4=Y1(ML()),Mj=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Pj=F.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"}})),$j=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Nj=({title:e})=>e===null?null:typeof e=="string"?y.createElement($j,null,e):e,Hj=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(l.useEffect(()=>{let i={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...o},s=setTimeout(()=>q4.init(i),100);return()=>{clearTimeout(s),q4.destroy()}},[t]),y.createElement(y.Fragment,null,y.createElement(Mj,null,t?null:y.createElement(Pj,null,y.createElement(Nj,{title:e||null}),y.createElement("div",{className:"toc-wrapper"}))))),{document:jj,window:Vj}=globalThis,Uj=({context:e,theme:t,children:r})=>{var a,o,i,s,c;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(c=(s=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:s.docs)==null?void 0:c.toc}return l.useEffect(()=>{let d;try{if(d=new URL(Vj.parent.location.toString()),d.hash){let p=jj.getElementById(decodeURIComponent(d.hash.substring(1)));p&&setTimeout(()=>{W$(p)},200)}}catch{}}),y.createElement(Et.Provider,{value:e},y.createElement(pj,{channel:e.channel},y.createElement(D3,{theme:XC(t)},y.createElement(CO,{toc:n?y.createElement(Hj,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},qj=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return y.createElement(U8,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return y.createElement(sh,{as:"h3",id:r},e)},Px=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,c;let{story:o}=kn(e||"story",["story"]),i=((c=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:c.withToolbar)??r;return y.createElement(xx,{storyId:o.id},t&&y.createElement(y.Fragment,null,y.createElement(qj,null,o.name),y.createElement(G1,{of:e})),y.createElement(Ej,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},Wj=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=kn(t||"meta",["meta"]),n=l.useContext(Et).componentStoriesFromCSFFile(r)[0];return n?y.createElement(Px,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Gj=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return y.createElement(V8,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return y.createElement(sh,{as:"h2",id:n,...r},e)},Yj=F(Gj)(({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"}})),Kj=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(Et),o=r(),{stories:{filter:i}={filter:void 0}}=((s=n.parameters)==null?void 0:s.docs)||{};return i&&(o=o.filter(c=>i(c,a(c)))),o.some(c=>{var d;return(d=c.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(c=>{var d;return((d=c.tags)==null?void 0:d.includes("autodocs"))&&!c.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:y.createElement(y.Fragment,null,y.createElement(Yj,null,e),o.map(c=>c&&y.createElement(Px,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Zj="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",Jj=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=kn(t||"meta",["meta"]).preparedMeta}catch(s){if(r&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&AL(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Zj}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?y.createElement(EO,{className:"sbdocs-subtitle sb-unstyled"},i):null},Xj=/\s*\/\s*/,Qj=e=>{let t=e.trim().split(Xj);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},eV=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=kn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||Qj(n==null?void 0:n.title);return a?y.createElement(wO,{className:"sbdocs-title sb-unstyled"},a):null},tV=()=>{let e=kn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return y.createElement(y.Fragment,null,y.createElement(eV,null),y.createElement(Jj,null),y.createElement(G1,{of:"meta"}),r?y.createElement(G1,{of:"story"}):null,y.createElement(Wj,null),y.createElement(kj,null),r?null:y.createElement(Kj,null))};function LV({context:e,docsParameter:t}){let r=t.container||Uj,n=t.page||tV;return y.createElement(r,{context:e,theme:t.theme},y.createElement(n,null))}var OV=({of:e})=>{let t=l.useContext(Et);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return y.createElement(xx,{storyId:r.id})}catch{return null}};export{S9 as $,zA as A,FV as B,RA as C,V8 as D,pV as E,LA as F,SV as G,AV as H,sn as I,Hf as J,dV as K,Sn as L,HA as M,yi as N,cu as O,x9 as P,xV as Q,TA as R,BA as S,PA as T,jA as U,F9 as V,hV as W,_9 as X,Kz as Y,Bz as Z,bV as _,Dp as a,wV as a0,UA as a1,yV as a2,fz as a3,TT as a4,Lr as a5,pL as a6,sd as a7,cL as a8,T1 as a9,CV as aa,le as ab,fL as ac,se as ad,Aj as ae,_j as af,Tj as ag,LV as ah,Y1 as ai,F as aj,IV as ak,cV as al,vt as am,mn as an,Ej as ao,OV as ap,zj as aq,RV as b,FA as c,Zf as d,_A as e,IA as f,xA as g,EV as h,kV as i,oa as j,_z as k,uL as l,EA as m,MA as n,$A as o,H8 as p,zl as q,R9 as r,mV as s,gV as t,NA as u,j8 as v,AA as w,U8 as x,HT as y,_V as z}; diff --git a/storybook-static/assets/index-j_8AUxV0.js b/storybook-static/assets/index-j_8AUxV0.js new file mode 100644 index 00000000..138d1971 --- /dev/null +++ b/storybook-static/assets/index-j_8AUxV0.js @@ -0,0 +1,8 @@ +import{c as bn}from"./index-DJO9vBfz.js";var ge={exports:{}};(function(n,a){(function(o,i){i(a)})(bn,function(o){function i(e){return e.text!==void 0&&e.text!==""?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}class p extends Error{constructor(t){super(`No parslet found for token: ${i(t)}`),this.token=t,Object.setPrototypeOf(this,p.prototype)}getToken(){return this.token}}class u extends Error{constructor(t){super(`The parsing ended early. The next token was: ${i(t)}`),this.token=t,Object.setPrototypeOf(this,u.prototype)}getToken(){return this.token}}class y extends Error{constructor(t,r){let s=`Unexpected type: '${t.type}'.`;r!==void 0&&(s+=` Message: ${r}`),super(s),Object.setPrototypeOf(this,y.prototype)}}function m(e){return t=>t.startsWith(e)?{type:e,text:e}:null}function h(e){let t=0,r;const s=e[0];let c=!1;if(s!=="'"&&s!=='"')return null;for(;t{const t=ae(e);return t==null?null:{type:"Identifier",text:t}};function P(e){return t=>{if(!t.startsWith(e))return null;const r=t[e.length];return r!==void 0&&N.test(r)?null:{type:e,text:e}}}const oe=e=>{const t=h(e);return t==null?null:{type:"StringValue",text:t}},Ut=e=>e.length>0?null:{type:"EOF",text:""},Vt=e=>{const t=W(e);return t===null?null:{type:"Number",text:t}},Kt=[Ut,m("=>"),m("("),m(")"),m("{"),m("}"),m("["),m("]"),m("|"),m("&"),m("<"),m(">"),m(","),m(";"),m("*"),m("?"),m("!"),m("="),m(":"),m("..."),m("."),m("#"),m("~"),m("/"),m("@"),P("undefined"),P("null"),P("function"),P("this"),P("new"),P("module"),P("event"),P("external"),P("typeof"),P("keyof"),P("readonly"),P("import"),P("is"),P("in"),P("asserts"),Vt,X,oe],Dt=/^\s*\n\s*/;class D{static create(t){const r=this.read(t);t=r.text;const s=this.read(t);return t=s.text,new D(t,void 0,r.token,s.token)}constructor(t,r,s,c){this.text="",this.text=t,this.previous=r,this.current=s,this.next=c}static read(t,r=!1){r=r||Dt.test(t),t=t.trim();for(const s of Kt){const c=s(t);if(c!==null){const d=Object.assign(Object.assign({},c),{startOfLine:r});return t=t.slice(d.text.length),{text:t,token:d}}}throw new Error("Unexpected Token "+t)}advance(){const t=D.read(this.text);return new D(t.text,this.current,this.next,t.token)}}function w(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new y(e);return e}function se(e){return e.type==="JsdocTypeKeyValue"?Q(e):w(e)}function $t(e){return e.type==="JsdocTypeName"?e:Q(e)}function Q(e){if(e.type!=="JsdocTypeKeyValue")throw new y(e);return e}function qt(e){var t;if(e.type==="JsdocTypeVariadic"){if(((t=e.element)===null||t===void 0?void 0:t.type)==="JsdocTypeName")return e;throw new y(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new y(e);return e}function ie(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}var f;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.INDEX_BRACKETS=4]="INDEX_BRACKETS",e[e.UNION=5]="UNION",e[e.INTERSECTION=6]="INTERSECTION",e[e.PREFIX=7]="PREFIX",e[e.INFIX=8]="INFIX",e[e.TUPLE=9]="TUPLE",e[e.SYMBOL=10]="SYMBOL",e[e.OPTIONAL=11]="OPTIONAL",e[e.NULLABLE=12]="NULLABLE",e[e.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",e[e.FUNCTION=14]="FUNCTION",e[e.ARROW=15]="ARROW",e[e.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",e[e.GENERIC=17]="GENERIC",e[e.NAME_PATH=18]="NAME_PATH",e[e.PARENTHESIS=19]="PARENTHESIS",e[e.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(f||(f={}));class U{constructor(t,r,s){this.grammar=t,typeof r=="string"?this._lexer=D.create(r):this._lexer=r,this.baseParser=s}get lexer(){return this._lexer}parse(){const t=this.parseType(f.ALL);if(this.lexer.current.type!=="EOF")throw new u(this.lexer.current);return t}parseType(t){return w(this.parseIntermediateType(t))}parseIntermediateType(t){const r=this.tryParslets(null,t);if(r===null)throw new p(this.lexer.current);return this.parseInfixIntermediateType(r,t)}parseInfixIntermediateType(t,r){let s=this.tryParslets(t,r);for(;s!==null;)t=s,s=this.tryParslets(t,r);return t}tryParslets(t,r){for(const s of this.grammar){const c=s(this,r,t);if(c!==null)return c}return null}consume(t){return Array.isArray(t)||(t=[t]),t.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(t){this._lexer=t.lexer}}function Ae(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}const le=(e,t,r)=>{const s=e.lexer.current.type,c=e.lexer.next.type;return r==null&&s==="?"&&!Ae(c)||r!=null&&s==="?"?(e.consume("?"),r==null?{type:"JsdocTypeNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:w(r),meta:{position:"suffix"}}):null};function g(e){const t=(r,s,c)=>{const d=r.lexer.current.type,T=r.lexer.next.type;if(c===null){if("parsePrefix"in e&&e.accept(d,T))return e.parsePrefix(r)}else if("parseInfix"in e&&e.precedence>s&&e.accept(d,T))return e.parseInfix(r,c);return null};return Object.defineProperty(t,"name",{value:e.name}),t}const H=g({name:"optionalParslet",accept:e=>e==="=",precedence:f.OPTIONAL,parsePrefix:e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(f.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("="),{type:"JsdocTypeOptional",element:w(t),meta:{position:"suffix"}})}),z=g({name:"numberParslet",accept:e=>e==="Number",parsePrefix:e=>{const t=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:t}}}),Bt=g({name:"parenthesisParslet",accept:e=>e==="(",parsePrefix:e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const t=e.parseIntermediateType(f.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return t.type==="JsdocTypeParameterList"?t:t.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[t]}:{type:"JsdocTypeParenthesis",element:w(t)}}}),Mt=g({name:"specialTypesParslet",accept:(e,t)=>e==="?"&&Ae(t)||e==="null"||e==="undefined"||e==="*",parsePrefix:e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)}}),Ct=g({name:"notNullableParslet",accept:e=>e==="!",precedence:f.NULLABLE,parsePrefix:e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:w(t),meta:{position:"suffix"}})});function Yt({allowTrailingComma:e}){return g({name:"parameterListParslet",accept:t=>t===",",precedence:f.PARAMETER_LIST,parseInfix:(t,r)=>{const s=[se(r)];t.consume(",");do try{const c=t.parseIntermediateType(f.PARAMETER_LIST);s.push(se(c))}catch(c){if(e&&c instanceof p)break;throw c}while(t.consume(","));if(s.length>0&&s.slice(0,-1).some(c=>c.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:s}}})}const Gt=g({name:"genericParslet",accept:(e,t)=>e==="<"||e==="."&&t==="<",precedence:f.GENERIC,parseInfix:(e,t)=>{const r=e.consume(".");e.consume("<");const s=[];do s.push(e.parseType(f.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:w(t),elements:s,meta:{brackets:"angle",dot:r}}}}),Wt=g({name:"unionParslet",accept:e=>e==="|",precedence:f.UNION,parseInfix:(e,t)=>{e.consume("|");const r=[];do r.push(e.parseType(f.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[w(t),...r]}}}),ce=[le,H,z,Bt,Mt,Ct,Yt({allowTrailingComma:!0}),Gt,Wt,H];function Z({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:t,pathGrammar:r}){return function(c,d,T){if(T==null||d>=f.NAME_PATH)return null;const J=c.lexer.current.type,k=c.lexer.next.type;if(!(J==="."&&k!=="<"||J==="["&&(e||T.type==="JsdocTypeName")||t&&(J==="~"||J==="#")))return null;let x,ne=!1;c.consume(".")?x="property":c.consume("[")?(x="property-brackets",ne=!0):c.consume("~")?x="inner":(c.consume("#"),x="instance");const $e=r!==null?new U(r,c.lexer,c):c,O=$e.parseIntermediateType(f.NAME_PATH);c.acceptLexerState($e);let B;switch(O.type){case"JsdocTypeName":B={type:"JsdocTypeProperty",value:O.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":B={type:"JsdocTypeProperty",value:O.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":B={type:"JsdocTypeProperty",value:O.value,meta:{quote:O.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(O.specialType==="event")B=O;else throw new y(O,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new y(O,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(ne&&!c.consume("]")){const qe=c.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${qe.type}' with text '${qe.text}'`)}return{type:"JsdocTypeNamePath",left:w(T),right:B,pathType:x}}}function I({allowedAdditionalTokens:e}){return g({name:"nameParslet",accept:t=>t==="Identifier"||t==="this"||t==="new"||e.includes(t),parsePrefix:t=>{const{type:r,text:s}=t.lexer.current;return t.consume(r),{type:"JsdocTypeName",value:s}}})}const $=g({name:"stringValueParslet",accept:e=>e==="StringValue",parsePrefix:e=>{const t=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:t.slice(1,-1),meta:{quote:t[0]==="'"?"single":"double"}}}});function ee({pathGrammar:e,allowedTypes:t}){return g({name:"specialNamePathParslet",accept:r=>t.includes(r),parsePrefix:r=>{const s=r.lexer.current.type;if(r.consume(s),!r.consume(":"))return{type:"JsdocTypeName",value:s};let c,d=r.lexer.current;if(r.consume("StringValue"))c={type:"JsdocTypeSpecialNamePath",value:d.text.slice(1,-1),specialType:s,meta:{quote:d.text[0]==="'"?"single":"double"}};else{let k="";const v=["Identifier","@","/"];for(;v.some(x=>r.consume(x));)k+=d.text,d=r.lexer.current;c={type:"JsdocTypeSpecialNamePath",value:k,specialType:s,meta:{quote:void 0}}}const T=new U(e,r.lexer,r),J=T.parseInfixIntermediateType(c,f.ALL);return r.acceptLexerState(T),w(J)}})}const Re=[I({allowedAdditionalTokens:["external","module"]}),$,z,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],V=[...Re,ee({allowedTypes:["event"],pathGrammar:Re})];function pe(e){let t;if(e.type==="JsdocTypeParameterList")t=e.elements;else if(e.type==="JsdocTypeParenthesis")t=[e.element];else throw new y(e);return t.map(r=>se(r))}function Xt(e){const t=pe(e);if(t.some(r=>r.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return t}function ue({allowNamedParameters:e,allowNoReturnType:t,allowWithoutParenthesis:r,allowNewAsFunctionKeyword:s}){return g({name:"functionParslet",accept:(c,d)=>c==="function"||s&&c==="new"&&d==="(",parsePrefix:c=>{const d=c.consume("new");c.consume("function");const T=c.lexer.current.type==="(";if(!T){if(!r)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let J={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:d,parenthesis:T};const k=c.parseIntermediateType(f.FUNCTION);if(e===void 0)J.parameters=Xt(k);else{if(d&&k.type==="JsdocTypeFunction"&&k.arrow)return J=k,J.constructor=!0,J;J.parameters=pe(k);for(const v of J.parameters)if(v.type==="JsdocTypeKeyValue"&&!e.includes(v.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${v.type}`)}if(c.consume(":"))J.returnType=c.parseType(f.PREFIX);else if(!t)throw new Error("function is missing return type");return J}})}function ye({allowPostfix:e,allowEnclosingBrackets:t}){return g({name:"variadicParslet",accept:r=>r==="...",precedence:f.PREFIX,parsePrefix:r=>{r.consume("...");const s=t&&r.consume("[");try{const c=r.parseType(f.PREFIX);if(s&&!r.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:w(c),meta:{position:"prefix",squareBrackets:s}}}catch(c){if(c instanceof p){if(s)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw c}},parseInfix:e?(r,s)=>(r.consume("..."),{type:"JsdocTypeVariadic",element:w(s),meta:{position:"suffix",squareBrackets:!1}}):void 0})}const _e=g({name:"symbolParslet",accept:e=>e==="(",precedence:f.SYMBOL,parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");const r={type:"JsdocTypeSymbol",value:t.value};if(!e.consume(")")){const s=e.parseIntermediateType(f.SYMBOL);if(r.element=qt(s),!e.consume(")"))throw new Error("Symbol does not end after value")}return r}}),Fe=g({name:"arrayBracketsParslet",precedence:f.ARRAY_BRACKETS,accept:(e,t)=>e==="["&&t==="]",parseInfix:(e,t)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[w(t)],meta:{brackets:"square",dot:!1}})});function de({objectFieldGrammar:e,allowKeyTypes:t}){return g({name:"objectParslet",accept:r=>r==="{",parsePrefix:r=>{r.consume("{");const s={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!r.consume("}")){let c;const d=new U(e,r.lexer,r);for(;;){d.acceptLexerState(r);let T=d.parseIntermediateType(f.OBJECT);r.acceptLexerState(d),T===void 0&&t&&(T=r.parseIntermediateType(f.OBJECT));let J=!1;if(T.type==="JsdocTypeNullable"&&(J=!0,T=T.element),T.type==="JsdocTypeNumber"||T.type==="JsdocTypeName"||T.type==="JsdocTypeStringValue"){let v;T.type==="JsdocTypeStringValue"&&(v=T.meta.quote),s.elements.push({type:"JsdocTypeObjectField",key:T.value.toString(),right:void 0,optional:J,readonly:!1,meta:{quote:v}})}else if(T.type==="JsdocTypeObjectField"||T.type==="JsdocTypeJsdocObjectField")s.elements.push(T);else throw new y(T);if(r.lexer.current.startOfLine)c="linebreak";else if(r.consume(","))c="comma";else if(r.consume(";"))c="semicolon";else break;if(r.lexer.current.type==="}")break}if(s.meta.separator=c??"comma",!r.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return s}})}function me({allowSquaredProperties:e,allowKeyTypes:t,allowReadonly:r,allowOptional:s}){return g({name:"objectFieldParslet",precedence:f.KEY_VALUE,accept:c=>c===":",parseInfix:(c,d)=>{var T;let J=!1,k=!1;s&&d.type==="JsdocTypeNullable"&&(J=!0,d=d.element),r&&d.type==="JsdocTypeReadonlyProperty"&&(k=!0,d=d.element);const v=(T=c.baseParser)!==null&&T!==void 0?T:c;if(v.acceptLexerState(c),d.type==="JsdocTypeNumber"||d.type==="JsdocTypeName"||d.type==="JsdocTypeStringValue"||ie(d)){if(ie(d)&&!e)throw new y(d);v.consume(":");let x;d.type==="JsdocTypeStringValue"&&(x=d.meta.quote);const ne=v.parseType(f.KEY_VALUE);return c.acceptLexerState(v),{type:"JsdocTypeObjectField",key:ie(d)?d:d.value.toString(),right:ne,optional:J,readonly:k,meta:{quote:x}}}else{if(!t)throw new y(d);v.consume(":");const x=v.parseType(f.KEY_VALUE);return c.acceptLexerState(v),{type:"JsdocTypeJsdocObjectField",left:w(d),right:x}}}})}function fe({allowOptional:e,allowVariadic:t}){return g({name:"keyValueParslet",precedence:f.KEY_VALUE,accept:r=>r===":",parseInfix:(r,s)=>{let c=!1,d=!1;if(e&&s.type==="JsdocTypeNullable"&&(c=!0,s=s.element),t&&s.type==="JsdocTypeVariadic"&&s.element!==void 0&&(d=!0,s=s.element),s.type!=="JsdocTypeName")throw new y(s);r.consume(":");const T=r.parseType(f.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:s.value,right:T,optional:c,variadic:d}}})}const je=[...ce,ue({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$,ee({allowedTypes:["module","external","event"],pathGrammar:V}),ye({allowEnclosingBrackets:!0,allowPostfix:!0}),I({allowedAdditionalTokens:["keyof"]}),_e,Fe,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V})],Qt=[...je,de({objectFieldGrammar:[I({allowedAdditionalTokens:["module","in"]}),me({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...je],allowKeyTypes:!0}),fe({allowOptional:!0,allowVariadic:!0})],Le=g({name:"typeOfParslet",accept:e=>e==="typeof",parsePrefix:e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),Ht=[I({allowedAdditionalTokens:["module","keyof","event","external","in"]}),le,H,$,z,me({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],zt=[...ce,de({allowKeyTypes:!1,objectFieldGrammar:Ht}),I({allowedAdditionalTokens:["event","external","in"]}),Le,ue({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ye({allowEnclosingBrackets:!1,allowPostfix:!1}),I({allowedAdditionalTokens:["keyof"]}),ee({allowedTypes:["module"],pathGrammar:V}),Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V}),fe({allowOptional:!1,allowVariadic:!1}),_e],Zt=g({name:"assertsParslet",accept:e=>e==="asserts",parsePrefix:e=>{e.consume("asserts");const t=e.parseIntermediateType(f.SYMBOL);if(t.type!=="JsdocTypeName")throw new y(t,"A typescript asserts always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypeAsserts",left:t,right:w(e.parseIntermediateType(f.INFIX))}}});function en({allowQuestionMark:e}){return g({name:"tupleParslet",accept:t=>t==="[",parsePrefix:t=>{t.consume("[");const r={type:"JsdocTypeTuple",elements:[]};if(t.consume("]"))return r;const s=t.parseIntermediateType(f.ALL);if(s.type==="JsdocTypeParameterList"?s.elements[0].type==="JsdocTypeKeyValue"?r.elements=s.elements.map(Q):r.elements=s.elements.map(w):s.type==="JsdocTypeKeyValue"?r.elements=[Q(s)]:r.elements=[w(s)],!t.consume("]"))throw new Error("Unterminated '['");if(!e&&r.elements.some(c=>c.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return r}})}const tn=g({name:"keyOfParslet",accept:e=>e==="keyof",parsePrefix:e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),nn=g({name:"importParslet",accept:e=>e==="import",parsePrefix:e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");const t=e.parseType(f.PREFIX);if(t.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:t}}}),rn=g({name:"readonlyPropertyParslet",accept:e=>e==="readonly",parsePrefix:e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(f.KEY_VALUE)})}),an=g({name:"arrowFunctionParslet",precedence:f.ARROW,accept:e=>e==="=>",parseInfix:(e,t)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:pe(t).map($t),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(f.OBJECT)})}),on=g({name:"intersectionParslet",accept:e=>e==="&",precedence:f.INTERSECTION,parseInfix:(e,t)=>{e.consume("&");const r=[];do r.push(e.parseType(f.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[w(t),...r]}}}),sn=g({name:"predicateParslet",precedence:f.INFIX,accept:e=>e==="is",parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new y(t,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:t,right:w(e.parseIntermediateType(f.INFIX))}}}),ln=g({name:"objectSquareBracketPropertyParslet",accept:e=>e==="[",parsePrefix:e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");const t=e.lexer.current.text;e.consume("Identifier");let r;if(e.consume(":")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeIndexSignature",key:t,right:s.parseType(f.INDEX_BRACKETS)},e.acceptLexerState(s)}else if(e.consume("in")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeMappedType",key:t,right:s.parseType(f.ARRAY_BRACKETS)},e.acceptLexerState(s)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return r}}),cn=[rn,I({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),le,H,$,z,me({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),ln],pn=[...ce,de({allowKeyTypes:!1,objectFieldGrammar:cn}),Le,tn,nn,$,ue({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),en({allowQuestionMark:!1}),ye({allowEnclosingBrackets:!1,allowPostfix:!1}),Zt,I({allowedAdditionalTokens:["event","external","in"]}),ee({allowedTypes:["module"],pathGrammar:V}),Fe,an,Z({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:V}),on,sn,fe({allowVariadic:!0,allowOptional:!0})];function Ue(e,t){switch(t){case"closure":return new U(zt,e).parse();case"jsdoc":return new U(Qt,e).parse();case"typescript":return new U(pn,e).parse()}}function un(e,t=["typescript","closure","jsdoc"]){let r;for(const s of t)try{return Ue(e,s)}catch(c){r=c}throw r}function q(e,t){const r=e[t.type];if(r===void 0)throw new Error(`In this set of transform rules exists no rule for type ${t.type}.`);return r(t,s=>q(e,s))}function S(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Ve(e){const t={params:[]};for(const r of e.parameters)r.type==="JsdocTypeKeyValue"?r.key==="this"?t.this=r.right:r.key==="new"?t.new=r.right:t.params.push(r):t.params.push(r);return t}function te(e,t,r){return e==="prefix"?r+t:t+r}function A(e,t){switch(t){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}function Ke(){return{JsdocTypeParenthesis:(e,t)=>`(${e.element!==void 0?t(e.element):""})`,JsdocTypeKeyof:(e,t)=>`keyof ${t(e.element)}`,JsdocTypeFunction:(e,t)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let r=`(${e.parameters.map(t).join(", ")}) => ${t(e.returnType)}`;return e.constructor&&(r="new "+r),r}else{let r=e.constructor?"new":"function";return e.parenthesis&&(r+=`(${e.parameters.map(t).join(", ")})`,e.returnType!==void 0&&(r+=`: ${t(e.returnType)}`)),r}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,t)=>`[${e.elements.map(t).join(", ")}]`,JsdocTypeVariadic:(e,t)=>e.meta.position===void 0?"...":te(e.meta.position,t(e.element),"..."),JsdocTypeNamePath:(e,t)=>{const r=t(e.left),s=t(e.right);switch(e.pathType){case"inner":return`${r}~${s}`;case"instance":return`${r}#${s}`;case"property":return`${r}.${s}`;case"property-brackets":return`${r}[${s}]`}},JsdocTypeStringValue:e=>A(e.value,e.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(e,t)=>{if(e.meta.brackets==="square"){const r=e.elements[0],s=t(r);return r.type==="JsdocTypeUnion"||r.type==="JsdocTypeIntersection"?`(${s})[]`:`${s}[]`}else return`${t(e.left)}${e.meta.dot?".":""}<${e.elements.map(t).join(", ")}>`},JsdocTypeImport:(e,t)=>`import(${t(e.element)})`,JsdocTypeObjectField:(e,t)=>{let r="";return e.readonly&&(r+="readonly "),typeof e.key=="string"?r+=A(e.key,e.meta.quote):r+=t(e.key),e.optional&&(r+="?"),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeJsdocObjectField:(e,t)=>`${t(e.left)}: ${t(e.right)}`,JsdocTypeKeyValue:(e,t)=>{let r=e.key;return e.optional&&(r+="?"),e.variadic&&(r="..."+r),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${A(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,t)=>te(e.meta.position,t(e.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(e,t)=>te(e.meta.position,t(e.element),"?"),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,t)=>`{${e.elements.map(t).join((e.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(e,t)=>te(e.meta.position,t(e.element),"="),JsdocTypeSymbol:(e,t)=>`${e.value}(${e.element!==void 0?t(e.element):""})`,JsdocTypeTypeof:(e,t)=>`typeof ${t(e.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(e,t)=>e.elements.map(t).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(e,t)=>e.elements.map(t).join(" & "),JsdocTypeProperty:e=>A(e.value,e.meta.quote),JsdocTypePredicate:(e,t)=>`${t(e.left)} is ${t(e.right)}`,JsdocTypeIndexSignature:(e,t)=>`[${e.key}: ${t(e.right)}]`,JsdocTypeMappedType:(e,t)=>`[${e.key} in ${t(e.right)}]`,JsdocTypeAsserts:(e,t)=>`asserts ${t(e.left)} is ${t(e.right)}`}}const yn=Ke();function dn(e){return q(yn,e)}const mn=["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 R(e){const t={type:"NameExpression",name:e};return mn.includes(e)&&(t.reservedWord=!0),t}const fn={JsdocTypeOptional:(e,t)=>{const r=t(e.element);return r.optional=!0,r},JsdocTypeNullable:(e,t)=>{const r=t(e.element);return r.nullable=!0,r},JsdocTypeNotNullable:(e,t)=>{const r=t(e.element);return r.nullable=!1,r},JsdocTypeVariadic:(e,t)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const r=t(e.element);return r.repeatable=!0,r},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:e=>R(A(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:"FunctionType",params:r.params.map(t)};return r.this!==void 0&&(s.this=t(r.this)),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.result=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>({type:"TypeApplication",applications:e.elements.map(r=>t(r)),expression:t(e.left)}),JsdocTypeSpecialNamePath:e=>R(e.specialType+":"+A(e.value,e.meta.quote)),JsdocTypeName:e=>e.value!=="function"?R(e.value):{type:"FunctionType",params:[]},JsdocTypeNumber:e=>R(e.value.toString()),JsdocTypeObject:(e,t)=>{const r={type:"RecordType",fields:[]};for(const s of e.elements)s.type!=="JsdocTypeObjectField"&&s.type!=="JsdocTypeJsdocObjectField"?r.fields.push({type:"FieldType",key:t(s),value:void 0}):r.fields.push(t(s));return r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:R(A(e.key,e.meta.quote)),value:e.right===void 0?void 0:t(e.right)}},JsdocTypeJsdocObjectField:(e,t)=>({type:"FieldType",key:t(e.left),value:t(e.right)}),JsdocTypeUnion:(e,t)=>({type:"TypeUnion",elements:e.elements.map(r=>t(r))}),JsdocTypeKeyValue:(e,t)=>({type:"FieldType",key:R(e.key),value:e.right===void 0?void 0:t(e.right)}),JsdocTypeNamePath:(e,t)=>{const r=t(e.left);let s;e.right.type==="JsdocTypeSpecialNamePath"?s=t(e.right).name:s=A(e.right.value,e.right.meta.quote);const c=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return R(`${r.name}${c}${s}`)},JsdocTypeSymbol:e=>{let t="",r=e.element,s=!1;return(r==null?void 0:r.type)==="JsdocTypeVariadic"&&(r.meta.position==="prefix"?t="...":s=!0,r=r.element),(r==null?void 0:r.type)==="JsdocTypeName"?t+=r.value:(r==null?void 0:r.type)==="JsdocTypeNumber"&&(t+=r.value.toString()),s&&(t+="..."),R(`${e.value}(${t})`)},JsdocTypeParenthesis:(e,t)=>t(w(e.element)),JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeImport:S,JsdocTypeKeyof:S,JsdocTypeTuple:S,JsdocTypeTypeof:S,JsdocTypeIntersection:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeAsserts:S};function Tn(e){return q(fn,e)}function j(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}function hn(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Te(e,t){return t.length===2?{type:e,left:t[0],right:t[1]}:{type:e,left:t[0],right:Te(e,t.slice(1))}}const gn={JsdocTypeOptional:(e,t)=>({type:"OPTIONAL",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(e,t)=>({type:"NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(e,t)=>({type:"NOT_NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(e,t)=>{const r={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(r.value=t(e.element)),r},JsdocTypeName:e=>({type:"NAME",name:e.value}),JsdocTypeTypeof:(e,t)=>({type:"TYPE_QUERY",name:t(e.element)}),JsdocTypeTuple:(e,t)=>({type:"TUPLE",entries:e.elements.map(t)}),JsdocTypeKeyof:(e,t)=>({type:"KEY_QUERY",value:t(e.element)}),JsdocTypeImport:e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:j(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:e.arrow?"ARROW":"FUNCTION",params:r.params.map(c=>{if(c.type==="JsdocTypeKeyValue"){if(c.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:c.key,typeName:t(c.right)}}else return t(c)}),new:null,returns:null};return r.this!==void 0?s.this=t(r.this):e.arrow||(s.this=null),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.returns=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>{const r={type:"GENERIC",subject:t(e.left),objects:e.elements.map(t),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(r.objects[0]={type:"NAME",name:"function"}),r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:j(e.meta.quote),value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:j(e.meta.quote),value:r,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(e,t)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:r,readonly:!1}},JsdocTypeObject:(e,t)=>{const r=[];for(const s of e.elements)(s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField")&&r.push(t(s));return{type:"RECORD",entries:r}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:j(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,t)=>{let r=!1,s,c;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(r=!0,s=e.right.value,c=j(e.right.meta.quote)):(s=e.right.value,c=j(e.right.meta.quote));const d={type:hn(e.pathType),owner:t(e.left),name:s,quoteStyle:c,hasEventPrefix:r};if(d.owner.type==="MODULE"){const T=d.owner;return d.owner=d.owner.value,T.value=d,T}else return d},JsdocTypeUnion:(e,t)=>Te("UNION",e.elements.map(t)),JsdocTypeParenthesis:(e,t)=>({type:"PARENTHESIS",value:t(w(e.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:e=>({type:"STRING_VALUE",quoteStyle:j(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,t)=>Te("INTERSECTION",e.elements.map(t)),JsdocTypeNumber:e=>({type:"NUMBER_VALUE",number:e.value.toString()}),JsdocTypeSymbol:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeAsserts:S};function Jn(e){return q(gn,e)}function wn(){return{JsdocTypeIntersection:(e,t)=>({type:"JsdocTypeIntersection",elements:e.elements.map(t)}),JsdocTypeGeneric:(e,t)=>({type:"JsdocTypeGeneric",left:t(e.left),elements:e.elements.map(t),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,t)=>({type:"JsdocTypeUnion",elements:e.elements.map(t)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,t)=>({type:"JsdocTypeTypeof",element:t(e.element)}),JsdocTypeSymbol:(e,t)=>{const r={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeOptional:(e,t)=>({type:"JsdocTypeOptional",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,t)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(t)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,t)=>({type:"JsdocTypeNotNullable",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,t)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,t)=>({type:"JsdocTypeJsdocObjectField",left:t(e.left),right:t(e.right)}),JsdocTypeKeyValue:(e,t)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,t)=>({type:"JsdocTypeImport",element:t(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,t)=>{const r={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeTuple:(e,t)=>({type:"JsdocTypeTuple",elements:e.elements.map(t)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,t)=>{const r={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(t),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(r.returnType=t(e.returnType)),r},JsdocTypeKeyof:(e,t)=>({type:"JsdocTypeKeyof",element:t(e.element)}),JsdocTypeParenthesis:(e,t)=>({type:"JsdocTypeParenthesis",element:t(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,t)=>({type:"JsdocTypePredicate",left:t(e.left),right:t(e.right)}),JsdocTypeIndexSignature:(e,t)=>({type:"JsdocTypeIndexSignature",key:e.key,right:t(e.right)}),JsdocTypeMappedType:(e,t)=>({type:"JsdocTypeMappedType",key:e.key,right:t(e.right)}),JsdocTypeAsserts:(e,t)=>({type:"JsdocTypeAsserts",left:t(e.left),right:t(e.right)})}}const De={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function he(e,t,r,s,c){s==null||s(e,t,r);const d=De[e.type];for(const T of d){const J=e[T];if(J!==void 0)if(Array.isArray(J))for(const k of J)he(k,e,T,s,c);else he(J,e,T,s,c)}c==null||c(e,t,r)}function Nn(e,t,r){he(e,void 0,void 0,t,r)}o.catharsisTransform=Tn,o.identityTransformRules=wn,o.jtpTransform=Jn,o.parse=Ue,o.stringify=dn,o.stringifyRules=Ke,o.transform=q,o.traverse=Nn,o.tryParse=un,o.visitorKeys=De})})(ge,ge.exports);var Je=ge.exports,En=Object.defineProperty,l=(n,a)=>En(n,"name",{value:a,configurable:!0});const{UnknownArgTypesError:Pn}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var vn=l(n=>n.name==="literal","isLiteral"),Sn=l(n=>n.value.replace(/['|"]/g,""),"toEnumOption"),kn=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=C(o.value)}),{name:"object",value:a};default:throw new Pn({type:n,language:"Flow"})}},"convertSig"),C=l(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"literal":return{...i,name:"other",value:n.value};case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(C)};case"signature":return{...i,...kn(n)};case"union":return(p=n.elements)!=null&&p.every(vn)?{...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(Sn)}:{...i,name:a,value:(y=n.elements)==null?void 0:y.map(C)};case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(C)};default:return{...i,name:"other",value:a}}},"convert");function Be(n,a){let o={},i=Object.keys(n);for(let p=0;pn.replace(Me,""),"trimQuotes"),On=l(n=>Me.test(n),"includesQuotes"),Ce=l(n=>{let a=xn(n);return On(n)||Number.isNaN(Number(a))?a:Number(a)},"parseLiteral"),In=/^\(.*\) => /,M=l(n=>{let{name:a,raw:o,computed:i,value:p}=n,u={};switch(typeof o<"u"&&(u.raw=o),a){case"enum":{let m=i?p:p.map(h=>Ce(h.value));return{...u,name:a,value:m}}case"string":case"number":case"symbol":return{...u,name:a};case"func":return{...u,name:"function"};case"bool":case"boolean":return{...u,name:"boolean"};case"arrayOf":case"array":return{...u,name:"array",value:p&&M(p)};case"object":return{...u,name:a};case"objectOf":return{...u,name:a,value:M(p)};case"shape":case"exact":let y=Be(p,m=>M(m));return{...u,name:"object",value:y};case"union":return{...u,name:"union",value:p.map(m=>M(m))};case"instanceOf":case"element":case"elementType":default:{if((a==null?void 0:a.indexOf("|"))>0)try{let E=a.split("|").map(N=>JSON.parse(N));return{...u,name:"enum",value:E}}catch{}let m=p?`${a}(${p})`:a,h=In.test(a)?"function":"other";return{...u,name:h,value:m}}}},"convert");const{UnknownArgTypesError:An}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Rn=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=Y(o.value)}),{name:"object",value:a};default:throw new An({type:n,language:"Typescript"})}},"convertSig"),Y=l(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(Y)};case"signature":return{...i,...Rn(n)};case"union":let h;return(p=n.elements)!=null&&p.every(E=>E.name==="literal")?h={...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(E=>Ce(E.value))}:h={...i,name:a,value:(y=n.elements)==null?void 0:y.map(Y)},h;case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(Y)};default:return{...i,name:"other",value:a}}},"convert"),we=l(n=>{let{type:a,tsType:o,flowType:i}=n;try{if(a!=null)return M(a);if(o!=null)return Y(o);if(i!=null)return C(i)}catch(p){console.error(p)}return null},"convert"),_n=(n=>(n.JAVASCRIPT="JavaScript",n.FLOW="Flow",n.TYPESCRIPT="TypeScript",n.UNKNOWN="Unknown",n))(_n||{}),Fn=["null","undefined"];function re(n){return Fn.some(a=>a===n)}l(re,"isDefaultValueBlacklisted");var jn=l(n=>{if(!n)return"";if(typeof n=="string")return n;throw new Error(`Description: expected string, got: ${JSON.stringify(n)}`)},"str");function Ne(n){return!!n.__docgenInfo}l(Ne,"hasDocgen");function Ye(n){return n!=null&&Object.keys(n).length>0}l(Ye,"isValidDocgenSection");function Ge(n,a){return Ne(n)?n.__docgenInfo[a]:null}l(Ge,"getDocgenSection");function We(n){return Ne(n)?jn(n.__docgenInfo.description):""}l(We,"getDocgenDescription");var _;(function(n){n.start="/**",n.nostart="/***",n.delim="*",n.end="*/"})(_=_||(_={}));function Xe(n){return/^\s+$/.test(n)}l(Xe,"isSpace");function Qe(n){let a=n.match(/\r+$/);return a==null?["",n]:[n.slice(-a[0].length),n.slice(0,-a[0].length)]}l(Qe,"splitCR");function L(n){let a=n.match(/^\s+/);return a==null?["",n]:[n.slice(0,a[0].length),n.slice(a[0].length)]}l(L,"splitSpace");function He(n){return n.split(/\n/)}l(He,"splitLines");function ze(n={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},n)}l(ze,"seedSpec");function Ze(n={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},n)}l(Ze,"seedTokens");var Ln=/^@\S+/;function et({fence:n="```"}={}){let a=tt(n),o=l((i,p)=>a(i)?!p:p,"toggleFence");return l(function(i){let p=[[]],u=!1;for(let y of i)Ln.test(y.tokens.description)&&!u?p.push([y]):p[p.length-1].push(y),u=o(y.tokens.description,u);return p},"parseBlock")}l(et,"getParser");function tt(n){return typeof n=="string"?a=>a.split(n).length%2===0:n}l(tt,"getFencer");function nt({startLine:n=0,markers:a=_}={}){let o=null,i=n;return l(function(p){let u=p,y=Ze();if([y.lineEnd,u]=Qe(u),[y.start,u]=L(u),o===null&&u.startsWith(a.start)&&!u.startsWith(a.nostart)&&(o=[],y.delimiter=u.slice(0,a.start.length),u=u.slice(a.start.length),[y.postDelimiter,u]=L(u)),o===null)return i++,null;let m=u.trimRight().endsWith(a.end);if(y.delimiter===""&&u.startsWith(a.delim)&&!u.startsWith(a.end)&&(y.delimiter=a.delim,u=u.slice(a.delim.length),[y.postDelimiter,u]=L(u)),m){let h=u.trimRight();y.end=u.slice(h.length-a.end.length),u=h.slice(0,-a.end.length)}if(y.description=u,o.push({number:i,source:p,tokens:y}),i++,m){let h=o.slice();return o=null,h}return null},"parseSource")}l(nt,"getParser");function rt({tokenizers:n}){return l(function(a){var o;let i=ze({source:a});for(let p of n)if(i=p(i),!((o=i.problems[i.problems.length-1])===null||o===void 0)&&o.critical)break;return i},"parseSpec")}l(rt,"getParser");function at(){return n=>{let{tokens:a}=n.source[0],o=a.description.match(/\s*(@(\S+))(\s*)/);return o===null?(n.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:n.source[0].number,critical:!0}),n):(a.tag=o[1],a.postTag=o[3],a.description=a.description.slice(o[0].length),n.tag=o[2],n)}}l(at,"tagTokenizer");function ot(n="compact"){let a=st(n);return o=>{let i=0,p=[];for(let[m,{tokens:h}]of o.source.entries()){let E="";if(m===0&&h.description[0]!=="{")return o;for(let N of h.description)if(N==="{"&&i++,N==="}"&&i--,E+=N,i===0)break;if(p.push([h,E]),i===0)break}if(i!==0)return o.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:o.source[0].number,critical:!0}),o;let u=[],y=p[0][0].postDelimiter.length;for(let[m,[h,E]]of p.entries())h.type=E,m>0&&(h.type=h.postDelimiter.slice(y)+E,h.postDelimiter=h.postDelimiter.slice(0,y)),[h.postType,h.description]=L(h.description.slice(E.length)),u.push(h.type);return u[0]=u[0].slice(1),u[u.length-1]=u[u.length-1].slice(0,-1),o.type=a(u),o}}l(ot,"typeTokenizer");var Un=l(n=>n.trim(),"trim");function st(n){return n==="compact"?a=>a.map(Un).join(""):n==="preserve"?a=>a.join(` +`):n}l(st,"getJoiner");var Vn=l(n=>n&&n.startsWith('"')&&n.endsWith('"'),"isQuoted");function it(){let n=l((a,{tokens:o},i)=>o.type===""?a:i,"typeEnd");return a=>{let{tokens:o}=a.source[a.source.reduce(n,0)],i=o.description.trimLeft(),p=i.split('"');if(p.length>1&&p[0]===""&&p.length%2===1)return a.name=p[1],o.name=`"${p[1]}"`,[o.postName,o.description]=L(i.slice(o.name.length)),a;let u=0,y="",m=!1,h;for(let N of i){if(u===0&&Xe(N))break;N==="["&&u++,N==="]"&&u--,y+=N}if(u!==0)return a.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:a.source[0].number,critical:!0}),a;let E=y;if(y[0]==="["&&y[y.length-1]==="]"){m=!0,y=y.slice(1,-1);let N=y.split("=");if(y=N[0].trim(),N[1]!==void 0&&(h=N.slice(1).join("=").trim()),y==="")return a.problems.push({code:"spec:name:empty-name",message:"empty name",line:a.source[0].number,critical:!0}),a;if(h==="")return a.problems.push({code:"spec:name:empty-default",message:"empty default value",line:a.source[0].number,critical:!0}),a;if(!Vn(h)&&/=(?!>)/.test(h))return a.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:a.source[0].number,critical:!0}),a}return a.optional=m,a.name=y,o.name=E,h!==void 0&&(a.default=h),[o.postName,o.description]=L(i.slice(o.name.length)),a}}l(it,"nameTokenizer");function lt(n="compact",a=_){let o=be(n);return i=>(i.description=o(i.source,a),i)}l(lt,"descriptionTokenizer");function be(n){return n==="compact"?ct:n==="preserve"?pt:n}l(be,"getJoiner");function ct(n,a=_){return n.map(({tokens:{description:o}})=>o.trim()).filter(o=>o!=="").join(" ")}l(ct,"compactJoiner");var Kn=l((n,{tokens:a},o)=>a.type===""?n:o,"lineNo"),Dn=l(({tokens:n})=>(n.delimiter===""?n.start:n.postDelimiter.slice(1))+n.description,"getDescription");function pt(n,a=_){if(n.length===0)return"";n[0].tokens.description===""&&n[0].tokens.delimiter===a.start&&(n=n.slice(1));let o=n[n.length-1];return o!==void 0&&o.tokens.description===""&&o.tokens.end.endsWith(a.end)&&(n=n.slice(0,-1)),n=n.slice(n.reduce(Kn,0)),n.map(Dn).join(` +`)}l(pt,"preserveJoiner");function ut({startLine:n=0,fence:a="```",spacing:o="compact",markers:i=_,tokenizers:p=[at(),ot(o),it(),lt(o)]}={}){if(n<0||n%1>0)throw new Error("Invalid startLine");let u=nt({startLine:n,markers:i}),y=et({fence:a}),m=rt({tokenizers:p}),h=be(o);return function(E){let N=[];for(let ae of He(E)){let K=u(ae);if(K===null)continue;let W=y(K),X=W.slice(1).map(m);N.push({description:h(W[0],i),tags:X,source:K,problems:X.reduce((P,oe)=>P.concat(oe.problems),[])})}return N}}l(ut,"getParser");function yt(n){return n.start+n.delimiter+n.postDelimiter+n.tag+n.postTag+n.type+n.postType+n.name+n.postName+n.description+n.end+n.lineEnd}l(yt,"join");function $n(){return n=>n.source.map(({tokens:a})=>yt(a)).join(` +`)}l($n,"getStringifier");function dt(n,a={}){return ut(a)(n)}l(dt,"parse");function mt(n){return n!=null&&n.includes("@")}l(mt,"containsJsDoc");function ft(n){let a=`/** +`+(n??"").split(` +`).map(i=>` * ${i}`).join(` +`)+` +*/`,o=dt(a,{spacing:"preserve"});if(!o||o.length===0)throw new Error("Cannot parse JSDoc tags.");return o[0]}l(ft,"parse");var qn={tags:["param","arg","argument","returns","ignore","deprecated"]},Bn=l((n,a=qn)=>{if(!mt(n))return{includesJsDoc:!1,ignore:!1};let o=ft(n),i=Tt(o,a.tags);return i.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:o.description.trim(),extractedTags:i}},"parseJsDoc");function Tt(n,a){let o={params:null,deprecated:null,returns:null,ignore:!1};for(let i of n.tags)if(!(a!==void 0&&!a.includes(i.tag)))if(i.tag==="ignore"){o.ignore=!0;break}else switch(i.tag){case"param":case"arg":case"argument":{let p=gt(i);p!=null&&(o.params==null&&(o.params=[]),o.params.push(p));break}case"deprecated":{let p=Jt(i);p!=null&&(o.deprecated=p);break}case"returns":{let p=wt(i);p!=null&&(o.returns=p);break}}return o}l(Tt,"extractJsDocTags");function ht(n){return n.replace(/[\.-]$/,"")}l(ht,"normaliseParamName");function gt(n){if(!n.name||n.name==="-")return null;let a=ve(n.type);return{name:n.name,type:a,description:Pe(n.description),getPrettyName:l(()=>ht(n.name),"getPrettyName"),getTypeName:l(()=>a?Se(a):null,"getTypeName")}}l(gt,"extractParam");function Jt(n){return n.name?Ee(n.name,n.description):null}l(Jt,"extractDeprecated");function Ee(n,a){let o=n===""?a:`${n} ${a}`;return Pe(o)}l(Ee,"joinNameAndDescription");function Pe(n){let a=n.replace(/^- /g,"").trim();return a===""?null:a}l(Pe,"normaliseDescription");function wt(n){let a=ve(n.type);return a?{type:a,description:Ee(n.name,n.description),getTypeName:l(()=>Se(a),"getTypeName")}:null}l(wt,"extractReturns");var F=Je.stringifyRules(),Mn=F.JsdocTypeObject;F.JsdocTypeAny=()=>"any";F.JsdocTypeObject=(n,a)=>`(${Mn(n,a)})`;F.JsdocTypeOptional=(n,a)=>a(n.element);F.JsdocTypeNullable=(n,a)=>a(n.element);F.JsdocTypeNotNullable=(n,a)=>a(n.element);F.JsdocTypeUnion=(n,a)=>n.elements.map(a).join("|");function ve(n){try{return Je.parse(n,"typescript")}catch{return null}}l(ve,"extractType");function Se(n){return Je.transform(F,n)}l(Se,"extractTypeName");function ke(n){return n.length>90}l(ke,"isTooLongForTypeSummary");function Nt(n){return n.length>50}l(Nt,"isTooLongForDefaultValueSummary");function b(n,a){return n===a?{summary:n}:{summary:n,detail:a}}l(b,"createSummaryValue");function bt(n,a){if(n!=null){let{value:o}=n;if(!re(o))return Nt(o)?b(a==null?void 0:a.name,o):b(o)}return null}l(bt,"createDefaultValue");function xe({name:n,value:a,elements:o,raw:i}){return a??(o!=null?o.map(xe).join(" | "):i??n)}l(xe,"generateUnionElement");function Et({name:n,raw:a,elements:o}){return o!=null?b(o.map(xe).join(" | ")):a!=null?b(a.replace(/^\|\s*/,"")):b(n)}l(Et,"generateUnion");function Pt({type:n,raw:a}){return a!=null?b(a):b(n)}l(Pt,"generateFuncSignature");function vt({type:n,raw:a}){return a!=null?ke(a)?b(n,a):b(a):b(n)}l(vt,"generateObjectSignature");function St(n){let{type:a}=n;return a==="object"?vt(n):Pt(n)}l(St,"generateSignature");function kt({name:n,raw:a}){return a!=null?ke(a)?b(n,a):b(a):b(n)}l(kt,"generateDefault");function xt(n){if(n==null)return null;switch(n.name){case"union":return Et(n);case"signature":return St(n);default:return kt(n)}}l(xt,"createType");var Cn=l((n,a)=>{let{flowType:o,description:i,required:p,defaultValue:u}=a;return{name:n,type:xt(o),required:p,description:i,defaultValue:bt(u??null,o??null)}},"createFlowPropDef");function Ot({defaultValue:n}){if(n!=null){let{value:a}=n;if(!re(a))return b(a)}return null}l(Ot,"createDefaultValue");function It({tsType:n,required:a}){if(n==null)return null;let o=n.name;return a||(o=o.replace(" | undefined","")),b(["Array","Record","signature"].includes(n.name)?n.raw:o)}l(It,"createType");var Yn=l((n,a)=>{let{description:o,required:i}=a;return{name:n,type:It(a),required:i,description:o,defaultValue:Ot(a)}},"createTsPropDef");function At(n){return n!=null?b(n.name):null}l(At,"createType");function Rt(n){let{computed:a,func:o}=n;return typeof a>"u"&&typeof o>"u"}l(Rt,"isReactDocgenTypescript");function _t(n){return n?n.name==="string"?!0:n.name==="enum"?Array.isArray(n.value)&&n.value.every(({value:a})=>typeof a=="string"&&a[0]==='"'&&a[a.length-1]==='"'):!1:!1}l(_t,"isStringValued");function Ft(n,a){if(n!=null){let{value:o}=n;if(!re(o))return Rt(n)&&_t(a)?b(JSON.stringify(o)):b(o)}return null}l(Ft,"createDefaultValue");function Oe(n,a,o){let{description:i,required:p,defaultValue:u}=o;return{name:n,type:At(a),required:p,description:i,defaultValue:Ft(u,a)}}l(Oe,"createBasicPropDef");function G(n,a){var o;if(a!=null&&a.includesJsDoc){let{description:i,extractedTags:p}=a;i!=null&&(n.description=a.description);let u={...p,params:(o=p==null?void 0:p.params)==null?void 0:o.map(y=>({name:y.getPrettyName(),description:y.description}))};Object.values(u).filter(Boolean).length>0&&(n.jsDocTags=u)}return n}l(G,"applyJsDocResult");var Gn=l((n,a,o)=>{let i=Oe(n,a.type,a);return i.sbType=we(a),G(i,o)},"javaScriptFactory"),Wn=l((n,a,o)=>{let i=Yn(n,a);return i.sbType=we(a),G(i,o)},"tsFactory"),Xn=l((n,a,o)=>{let i=Cn(n,a);return i.sbType=we(a),G(i,o)},"flowFactory"),Qn=l((n,a,o)=>{let i=Oe(n,{name:"unknown"},a);return G(i,o)},"unknownFactory"),jt=l(n=>{switch(n){case"JavaScript":return Gn;case"TypeScript":return Wn;case"Flow":return Xn;default:return Qn}},"getPropDefFactory"),Lt=l(n=>n.type!=null?"JavaScript":n.flowType!=null?"Flow":n.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Hn=l(n=>{let a=Lt(n[0]),o=jt(a);return n.map(i=>{var u;let p=i;return(u=i.type)!=null&&u.elements&&(p={...i,type:{...i.type,value:i.type.elements}}),Ie(p.name,p,a,o)})},"extractComponentSectionArray"),zn=l(n=>{let a=Object.keys(n),o=Lt(n[a[0]]),i=jt(o);return a.map(p=>{let u=n[p];return u!=null?Ie(p,u,o,i):null}).filter(Boolean)},"extractComponentSectionObject"),ar=l((n,a)=>{let o=Ge(n,a);return Ye(o)?Array.isArray(o)?Hn(o):zn(o):[]},"extractComponentProps");function Ie(n,a,o,i){let p=Bn(a.description);return p.includesJsDoc&&p.ignore?null:{propDef:i(n,a,p),jsDocTags:p.extractedTags,docgenInfo:a,typeSystem:o}}l(Ie,"extractProp");function Zn(n){return n!=null?We(n):""}l(Zn,"extractComponentDescription");const{combineParameters:er}=__STORYBOOK_MODULE_PREVIEW_API__;var or=l(n=>{let{component:a,argTypes:o,parameters:{docs:i={}}}=n,{extractArgTypes:p}=i,u=p&&a?p(a):{};return u?er(u,o):o},"enhanceArgTypes"),tr="storybook/docs",sr=`${tr}/snippet-rendered`,nr=(n=>(n.AUTO="auto",n.CODE="code",n.DYNAMIC="dynamic",n))(nr||{});export{ke as B,Ge as Y,Nt as a,or as c,nr as g,_n as j,b as l,Zn as n,ar as o,sr as y,Ne as z}; diff --git a/storybook-static/assets/jsx-runtime-CkxqCPlQ.js b/storybook-static/assets/jsx-runtime-CkxqCPlQ.js new file mode 100644 index 00000000..80e9a242 --- /dev/null +++ b/storybook-static/assets/jsx-runtime-CkxqCPlQ.js @@ -0,0 +1,9 @@ +import{r as l}from"./index-DJO9vBfz.js";var f={exports:{}},n={};/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var u=l,m=Symbol.for("react.element"),x=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,a=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function i(t,r,p){var e,o={},s=null,_=null;p!==void 0&&(s=""+p),r.key!==void 0&&(s=""+r.key),r.ref!==void 0&&(_=r.ref);for(e in r)y.call(r,e)&&!v.hasOwnProperty(e)&&(o[e]=r[e]);if(t&&t.defaultProps)for(e in r=t.defaultProps,r)o[e]===void 0&&(o[e]=r[e]);return{$$typeof:m,type:t,key:s,ref:_,props:o,_owner:a.current}}n.Fragment=x;n.jsx=i;n.jsxs=i;f.exports=n;var d=f.exports;export{d as j}; diff --git a/storybook-static/assets/preview-BJ6EHSBF.js b/storybook-static/assets/preview-BJ6EHSBF.js new file mode 100644 index 00000000..8c18775f --- /dev/null +++ b/storybook-static/assets/preview-BJ6EHSBF.js @@ -0,0 +1,234 @@ +var ig=Object.defineProperty;var lg=(e,t,r)=>t in e?ig(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ye=(e,t,r)=>lg(e,typeof t!="symbol"?t+"":t,r);const{once:sg}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:Xl,STORY_RENDER_PHASE_CHANGED:ug,SET_CURRENT_STORY:cg}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:dg}=__STORYBOOK_MODULE_PREVIEW_API__,{global:Ne}=__STORYBOOK_MODULE_GLOBAL__;var fg=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),pg={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},hg=Object.entries(pg);function yi(e){return String(e)}yi.open="";yi.close="";function mg(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function bg(e=!1){let t=mg(e),r=(i,l,u,c)=>{let s="",d=0;do s+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return s+i.substring(d)},n=(i,l,u=i)=>{let c=s=>{let d=String(s),p=d.indexOf(l,i.length);return~p?i+r(d,l,u,p)+l:i+d+l};return c.open=i,c.close=l,c},a={isColorSupported:t},o=i=>`\x1B[${i}m`;for(let[i,l]of hg)a[i]=t?n(o(l[0]),o(l[1]),l[2]):yi;return a}var pt=bg(!1);function gg(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function aa(e,t,r,n,a,o,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(l+=s,u++===t.maxWidth){l+="…";break}let d=o(c.value[0],t,s,n,a),p=o(c.value[1],t,s,n,a);l+=d+i+p,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function vi(e,t,r,n,a,o){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="…";break}i+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Bn(e,t,r,n,a,o){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let s=0;s0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+La}[${Bn(e.sample,t,r,n,a,o)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+La}{${_i(e.sample,t,r,n,a,o)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+La+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},_g=e=>e&&e.$$typeof===yg,Eg={serialize:vg,test:_g},wg=" ",Hc=new Set(["DOMStringMap","NamedNodeMap"]),Cg=/^(?:HTML\w*Collection|NodeList)$/;function Rg(e){return Hc.has(e)||Cg.test(e)}var Tg=e=>e&&e.constructor&&!!e.constructor.name&&Rg(e.constructor.name);function Sg(e){return e.constructor.name==="NamedNodeMap"}var Pg=(e,t,r,n,a,o)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+wg)+(Hc.has(i)?`{${_i(Sg(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,o)}}`:`[${Bn([...e],t,r,n,a,o)}]`)},Og={serialize:Pg,test:Tg};function zc(e){return e.replaceAll("<","<").replaceAll(">",">")}function Ei(e,t,r,n,a,o,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,a,o);return typeof s!="string"&&(d.includes(` +`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function wi(e,t,r,n,a,o){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Vc(i,t):o(i,t,r,n,a))).join("")}function Vc(e,t){let r=t.colors.content;return r.open+zc(e)+r.close}function Ag(e,t){let r=t.colors.comment;return`${r.open}${r.close}`}function Ci(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}${o.close}`}function Ri(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var qg=1,Gc=3,Wc=8,Kc=11,xg=/^(?:(?:HTML|SVG)\w*)?Element$/;function Mg(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function $g(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||Mg(e);return r===qg&&(xg.test(t)||a)||r===Gc&&t==="Text"||r===Wc&&t==="Comment"||r===Kc&&t==="DocumentFragment"}var Ng=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&$g(e)};function jg(e){return e.nodeType===Gc}function Ig(e){return e.nodeType===Wc}function Ba(e){return e.nodeType===Kc}var Lg=(e,t,r,n,a,o)=>{if(jg(e))return Vc(e.data,t);if(Ig(e))return Ag(e.data,t);let i=Ba(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Ri(i,t):Ci(i,Ei(Ba(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Ba(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,o),wi(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},Bg={serialize:Lg,test:Ng},kg="@@__IMMUTABLE_ITERABLE__@@",Dg="@@__IMMUTABLE_LIST__@@",Fg="@@__IMMUTABLE_KEYED__@@",Ug="@@__IMMUTABLE_MAP__@@",Ql="@@__IMMUTABLE_ORDERED__@@",Hg="@@__IMMUTABLE_RECORD__@@",zg="@@__IMMUTABLE_SEQ__@@",Vg="@@__IMMUTABLE_SET__@@",Gg="@@__IMMUTABLE_STACK__@@",pr=e=>`Immutable.${e}`,oa=e=>`[${e}]`,zr=" ",Zl="…";function Wg(e,t,r,n,a,o,i){return++n>t.maxDepth?oa(pr(i)):`${pr(i)+zr}{${aa(e.entries(),t,r,n,a,o)}}`}function Kg(e){let t=0;return{next(){if(tt.maxDepth?oa(i):`${i+zr}{${aa(Kg(e),t,r,n,a,o)}}`}function Jg(e,t,r,n,a,o){let i=pr("Seq");return++n>t.maxDepth?oa(i):e[Fg]?`${i+zr}{${e._iter||e._object?aa(e.entries(),t,r,n,a,o):Zl}}`:`${i+zr}[${e._iter||e._array||e._collection||e._iterable?vi(e.values(),t,r,n,a,o):Zl}]`}function ka(e,t,r,n,a,o,i){return++n>t.maxDepth?oa(pr(i)):`${pr(i)+zr}[${vi(e.values(),t,r,n,a,o)}]`}var Xg=(e,t,r,n,a,o)=>e[Ug]?Wg(e,t,r,n,a,o,e[Ql]?"OrderedMap":"Map"):e[Dg]?ka(e,t,r,n,a,o,"List"):e[Vg]?ka(e,t,r,n,a,o,e[Ql]?"OrderedSet":"Set"):e[Gg]?ka(e,t,r,n,a,o,"Stack"):e[zg]?Jg(e,t,r,n,a,o):Yg(e,t,r,n,a,o),Qg=e=>e&&(e[kg]===!0||e[Hg]===!0),Zg={serialize:Xg,test:Qg},es={exports:{}},ae={},ts;function ey(){return ts||(ts=1,function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=!1,m=!1,g=!1,b=!1,y=!1,R;R=Symbol.for("react.module.reference");function _($){return!!(typeof $=="string"||typeof $=="function"||$===r||$===a||y||$===n||$===c||$===s||b||$===f||h||m||g||typeof $=="object"&&$!==null&&($.$$typeof===p||$.$$typeof===d||$.$$typeof===o||$.$$typeof===i||$.$$typeof===u||$.$$typeof===R||$.getModuleId!==void 0))}function C($){if(typeof $=="object"&&$!==null){var se=$.$$typeof;switch(se){case e:var ue=$.type;switch(ue){case r:case a:case n:case c:case s:return ue;default:var we=ue&&ue.$$typeof;switch(we){case l:case i:case u:case p:case d:case o:return we;default:return se}}case t:return se}}}var w=i,v=o,E=e,O=u,M=r,N=p,k=d,j=t,I=a,B=n,z=c,K=s,W=!1,re=!1;function me($){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de($){return re||(re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F($){return C($)===i}function L($){return C($)===o}function D($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function G($){return C($)===u}function Y($){return C($)===r}function ne($){return C($)===p}function fe($){return C($)===d}function Be($){return C($)===t}function q($){return C($)===a}function V($){return C($)===n}function U($){return C($)===c}function Q($){return C($)===s}ae.ContextConsumer=w,ae.ContextProvider=v,ae.Element=E,ae.ForwardRef=O,ae.Fragment=M,ae.Lazy=N,ae.Memo=k,ae.Portal=j,ae.Profiler=I,ae.StrictMode=B,ae.Suspense=z,ae.SuspenseList=K,ae.isAsyncMode=me,ae.isConcurrentMode=de,ae.isContextConsumer=F,ae.isContextProvider=L,ae.isElement=D,ae.isForwardRef=G,ae.isFragment=Y,ae.isLazy=ne,ae.isMemo=fe,ae.isPortal=Be,ae.isProfiler=q,ae.isStrictMode=V,ae.isSuspense=U,ae.isSuspenseList=Q,ae.isValidElementType=_,ae.typeOf=C}()),ae}var rs;function ty(){return rs||(rs=1,es.exports=ey()),es.exports}var Dt=ty();function Yc(e,t=[]){if(Array.isArray(e))for(let r of e)Yc(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function ns(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Dt.isFragment(e))return"React.Fragment";if(Dt.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Dt.isContextProvider(e))return"Context.Provider";if(Dt.isContextConsumer(e))return"Context.Consumer";if(Dt.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Dt.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function ry(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var ny=(e,t,r,n,a,o)=>++n>t.maxDepth?Ri(ns(e),t):Ci(ns(e),Ei(ry(e),e.props,t,r+t.indent,n,a,o),wi(Yc(e.props.children),t,r+t.indent,n,a,o),t,r),ay=e=>e!=null&&Dt.isElement(e),oy={serialize:ny,test:ay},iy=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function ly(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var sy=(e,t,r,n,a,o)=>++n>t.maxDepth?Ri(e.type,t):Ci(e.type,e.props?Ei(ly(e),e.props,t,r+t.indent,n,a,o):"",e.children?wi(e.children,t,r+t.indent,n,a,o):"",t,r),uy=e=>e&&e.$$typeof===iy,cy={serialize:sy,test:uy},Jc=Object.prototype.toString,dy=Date.prototype.toISOString,fy=Error.prototype.toString,as=RegExp.prototype.toString;function Da(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function py(e){return typeof window<"u"&&e===window}var hy=/^Symbol\((.*)\)(.*)$/,my=/\n/g,Xc=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function by(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function gy(e){return Object.is(e,-0)?"-0":String(e)}function yy(e){return`${e}n`}function os(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function is(e){return String(e).replace(hy,"Symbol($1)")}function ls(e){return`[${fy.call(e)}]`}function Qc(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return gy(e);if(a==="bigint")return yy(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return os(e,t);if(a==="symbol")return is(e);let o=Jc.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?os(e,t):o==="[object Symbol]"?is(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":dy.call(e):o==="[object Error]"?ls(e):o==="[object RegExp]"?r?as.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):as.call(e):e instanceof Error?ls(e):null}function Zc(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Ot(e.toJSON(),t,r,n,a,!0);let u=Jc.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${Bn(e,t,r,n,a,Ot)}]`:by(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Bn(e,t,r,n,a,Ot)}]`:u==="[object Map]"?i?"[Map]":`Map {${aa(e.entries(),t,r,n,a,Ot," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${vi(e.values(),t,r,n,a,Ot)}}`:i||py(e)?`[${Da(e)}]`:`${l||!t.printBasicPrototype&&Da(e)==="Object"?"":`${Da(e)} `}{${_i(e,t,r,n,a,Ot)}}`}function vy(e){return e.serialize!=null}function ed(e,t,r,n,a,o){let i;try{i=vy(e)?e.serialize(t,r,n,a,o,Ot):e.print(t,l=>Ot(l,r,n,a,o),l=>{let u=n+r.indent;return u+l.replaceAll(my,` +${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Xc(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function td(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Xc(n.message,n.stack)}return null}function Ot(e,t,r,n,a,o){let i=td(t.plugins,e);if(i!==null)return ed(i,e,t,r,n,a);let l=Qc(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Zc(e,t,r,n,a,o)}var Ti={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},rd=Object.keys(Ti),We={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Ti};function _y(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(We,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function Ey(){return rd.reduce((e,t)=>{let r=Ti[t],n=r&&pt[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function wy(){return rd.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function nd(e){return(e==null?void 0:e.printFunctionName)??We.printFunctionName}function ad(e){return(e==null?void 0:e.escapeRegex)??We.escapeRegex}function od(e){return(e==null?void 0:e.escapeString)??We.escapeString}function ss(e){return{callToJSON:(e==null?void 0:e.callToJSON)??We.callToJSON,colors:e!=null&&e.highlight?Ey():wy(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:We.compareKeys,escapeRegex:ad(e),escapeString:od(e),indent:e!=null&&e.min?"":Cy((e==null?void 0:e.indent)??We.indent),maxDepth:(e==null?void 0:e.maxDepth)??We.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??We.maxWidth,min:(e==null?void 0:e.min)??We.min,plugins:(e==null?void 0:e.plugins)??We.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:nd(e),spacingInner:e!=null&&e.min?" ":` +`,spacingOuter:e!=null&&e.min?"":` +`}}function Cy(e){return Array.from({length:e+1}).join(" ")}function rt(e,t){if(t&&(_y(t),t.plugins)){let n=td(t.plugins,e);if(n!==null)return ed(n,e,ss(t),"",0,[])}let r=Qc(e,nd(t),ad(t),od(t));return r!==null?r:Zc(e,ss(t),"",0,[])}var id={AsymmetricMatcher:Eg,DOMCollection:Og,DOMElement:Bg,Immutable:Zg,ReactElement:oy,ReactTestComponent:cy},us={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Ry={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},hr="…";function Ty(e,t){let r=us[Ry[t]]||us[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Sy({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=Ty),d}function Py(e){return e>="\uD800"&&e<="\uDBFF"}function It(e,t,r=hr){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Py(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}function Qe(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;co&&i.length+u.length<=o||!s&&!d&&m>o||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&m>o&&h+l.length>o))break;if(i+=f,!s&&!d&&h+l.length>=o){u=`${hr}(${e.length-c-1})`;break}u=""}return`${i}${u}`}function Oy(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Vr([e,t],r){return r.truncate-=2,typeof e=="string"?e=Oy(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function Ay(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Qe(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Qe(r.map(o=>[o,e[o]]),t,Vr)),`[ ${n}${a?`, ${a}`:""} ]`}var qy=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ut(e,t){let r=qy(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i[i,e[i]]),t,Vr)),`${r}[ ${a}${o?`, ${o}`:""} ]`}function xy(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${It(n[1],t.truncate-a.length-1)}`,"date")}function cs(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${It(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function My([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function $y(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function Ny(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Qe($y(e),t,My)} }`)}var jy=Number.isNaN||(e=>e!==e);function ds(e,t){return jy(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(It(String(e),t.truncate),"number")}function fs(e,t){let r=It(e.toString(),t.truncate-1);return r!==hr&&(r+="n"),t.stylize(r,"bigint")}function Iy(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${It(a,n)}/${r}`,"regexp")}function Ly(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function By(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Qe(Ly(e),t)} }`)}var ps=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),ky={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Dy=16,Fy=4;function Uy(e){return ky[e]||`\\u${`0000${e.charCodeAt(0).toString(Dy)}`.slice(-Fy)}`}function hs(e,t){return ps.test(e)&&(e=e.replace(ps,Uy)),t.stylize(`'${It(e,t.truncate-2)}'`,"string")}function ms(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var ld=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(ld=(n,a)=>{let[o,i]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`})}catch{}var Hy=ld;function An(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let a=Qe(r.map(l=>[l,e[l]]),t,Vr),o=Qe(n.map(l=>[l,e[l]]),t,Vr);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}var Fa=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function zy(e,t){let r="";return Fa&&Fa in e&&(r=e[Fa]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${An(e,t)}`}function Vy(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Qe(e,t)} ]`)}var Gy=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function Wy(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>Gy.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";typeof e.message=="string"?a=It(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5;let o=Qe(r.map(i=>[i,e[i]]),t,Vr);return`${n}${a}${o?` { ${o} }`:""}`}function Ky([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function po(e,t){return Qe(e,t,sd,` +`)}function sd(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(``,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Qe(r.map(s=>[s,e.getAttribute(s)]),t,Ky," ")),t.truncate-=l.length;let u=t.truncate,c=po(e.children,t);return c&&c.length>u&&(c=`${hr}(${e.children.length})`),`${a}${l}${o}${c}${i}`}var Yy=typeof Symbol=="function"&&typeof Symbol.for=="function",Ua=Yy?Symbol.for("chai/inspect"):"@@chai/inspect",tr=!1;try{let e=fg("util");tr=e.inspect?e.inspect.custom:!1}catch{tr=!1}var bs=new WeakMap,gs={},ys={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:ds,Number:ds,bigint:fs,BigInt:fs,string:hs,String:hs,function:cs,Function:cs,symbol:ms,Symbol:ms,Array:Ay,Date:xy,Map:Ny,Set:By,RegExp:Iy,Promise:Hy,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:Vy,Int8Array:ut,Uint8Array:ut,Uint8ClampedArray:ut,Int16Array:ut,Uint16Array:ut,Int32Array:ut,Uint32Array:ut,Float32Array:ut,Float64Array:ut,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Wy,HTMLCollection:po,NodeList:po},Jy=(e,t,r)=>Ua in e&&typeof e[Ua]=="function"?e[Ua](t):tr&&tr in e&&typeof e[tr]=="function"?e[tr](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&bs.has(e.constructor)?bs.get(e.constructor)(e,t):gs[r]?gs[r](e,t):"",Xy=Object.prototype.toString;function ho(e,t={}){let r=Sy(t,ho),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=Xy.call(e).slice(8,-1)),a in ys)return ys[a](e,r);if(n&&e){let i=Jy(e,r,a);if(i)return typeof i=="string"?i:ho(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?An(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?sd(e,r):"constructor"in e?e.constructor!==Object?zy(e,r):An(e,r):e===Object(e)?An(e,r):r.stylize(String(e),a)}var{AsymmetricMatcher:Qy,DOMCollection:Zy,DOMElement:ev,Immutable:tv,ReactElement:rv,ReactTestComponent:nv}=id,vs=[nv,rv,ev,Zy,tv,Qy];function Gr(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=rt(e,{maxDepth:t,escapeString:!1,plugins:vs,...n})}catch{o=rt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:vs,...n})}return o.length>=a&&t>1?Gr(e,Math.floor(t/2)):o}var av=/%[sdjifoOc%]/g;function ov(...e){if(typeof e[0]!="string"){let o=[];for(let i=0;i{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?Mr(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).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(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw i}default:return o}});for(let o=e[r];rt.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function ud(e){let t=new Set;return lv(e)?[]:(sv(e,t),Array.from(t))}var cd={forceWritable:!1};function _s(e,t=cd){return bo(e,new WeakMap,t)}function bo(e,t,r=cd){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=bo(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 o=ud(e);for(let i of o){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=bo(e[i],t,r);r.forceWritable?Object.defineProperty(a,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,i,{...l,get(){return u}}):Object.defineProperty(a,i,{...l,value:u})}return a}return e}function Es(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Oe=-1,Te=1,_e=0,be=class{constructor(t,r){ye(this,0);ye(this,1);this[0]=t,this[1]=r}},uv=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;rn?e=e.substring(r-n):r0?r[n-1]:-1,i=0,l=0,u=0,c=0,a=null,t=!0)),o++;for(t&&fd(e),pv(e),o=1;o=f?(p>=s.length/2||p>=d.length/2)&&(e.splice(o,0,new be(_e,d.substring(0,p))),e[o-1][1]=s.substring(0,s.length-p),e[o+1][1]=d.substring(p),o++):(f>=s.length/2||f>=d.length/2)&&(e.splice(o,0,new be(_e,s.substring(0,f))),e[o-1][0]=Te,e[o-1][1]=d.substring(0,d.length-f),e[o+1][0]=Oe,e[o+1][1]=s.substring(f),o++),o++}o++}},Cs=/[^a-z0-9]/i,Rs=/\s/,Ts=/[\r\n]/,dv=/\n\r?\n$/,fv=/^\r?\n\r?\n/;function pv(e){let t=1;for(;t=c&&(c=s,i=r,l=n,u=a)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function fd(e){e.push(new be(_e,""));let t=0,r=0,n=0,a="",o="",i;for(;t1?(r!==0&&n!==0&&(i=uv(o,a),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===_e?e[t-r-n-1][1]+=o.substring(0,i):(e.splice(0,0,new be(_e,o.substring(0,i))),t++),o=o.substring(i),a=a.substring(i)),i=dd(o,a),i!==0&&(e[t][1]=o.substring(o.length-i)+e[t][1],o=o.substring(0,o.length-i),a=a.substring(0,a.length-i))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new be(Oe,a)),t++),o.length&&(e.splice(t,0,new be(Te,o)),t++),t++):t!==0&&e[t-1][0]===_e?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",o="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t{let y=0;for(;f{let y=0;for(;f<=h&&m<=g&&b(h,g);)h-=1,g-=1,y+=1;return y},a=(f,h,m,g,b,y,R)=>{let _=0,C=-f,w=y[_],v=w;y[_]+=r(w+1,h,g+w-C+1,m,b);let E=f{let _=0,C=f,w=y[_],v=w;y[_]-=n(h,w-1,m,g+w-C-1,b);let E=f{let E=g-h,O=m-h,M=b-g-O,N=-M-(f-1),k=-M+(f-1),j=t,I=f<_?f:_;for(let B=0,z=-f;B<=I;B+=1,z+=2){let K=B===0||B!==f&&j{let E=b-m,O=m-h,M=b-g-O,N=M-f,k=M+f,j=t,I=f{let w=g-h,v=b-m,E=m-h,O=b-g,M=O-E,N=E,k=E;if(R[0]=h-1,_[0]=m,M%2===0){let j=(f||M)/2,I=(E+O)/2;for(let B=1;B<=I;B+=1)if(N=a(B,m,b,w,y,R,N),B{if(b-g{L(G,ne,Y)},isCommon:(G,Y)=>D(Y,G)}}let de=h,F=m;h=g,m=b,g=de,b=F}let{foundSubsequence:v,isCommon:E}=R[y?1:0];u(f,h,m,g,b,E,_,C,w);let{nChangePreceding:O,aEndPreceding:M,bEndPreceding:N,nCommonPreceding:k,aCommonPreceding:j,bCommonPreceding:I,nCommonFollowing:B,aCommonFollowing:z,bCommonFollowing:K,nChangeFollowing:W,aStartFollowing:re,bStartFollowing:me}=w;h{if(typeof h!="number")throw new TypeError(`${e}: ${f} typeof ${typeof h} is not a number`);if(!Number.isSafeInteger(h))throw new RangeError(`${e}: ${f} value ${h} is not a safe integer`);if(h<0)throw new RangeError(`${e}: ${f} value ${h} is a negative integer`)},d=(f,h)=>{let m=typeof h;if(m!=="function")throw new TypeError(`${e}: ${f} typeof ${m} is not a function`)};function p(f,h,m,g){s("aLength",f),s("bLength",h),d("isCommon",m),d("foundSubsequence",g);let b=r(0,f,0,h,m);if(b!==0&&g(b,0,0),f!==b||h!==b){let y=b,R=b,_=n(y,f-1,R,h-1,m),C=f-_,w=h-_,v=b+_;f!==v&&h!==v&&c(0,y,C,R,w,!1,[{foundSubsequence:g,isCommon:m}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),_!==0&&g(_,C,w)}}return En}var bv=mv(),hd=iv(bv);function gv(e,t){return e.replace(/\s+$/,r=>t(r))}function Si(e,t,r,n,a,o){return e.length!==0?r(`${n} ${gv(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}function md(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Si(e,t,r,n,a,o)}function bd(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Si(e,t,r,n,a,o)}function gd(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Si(e,t,r,n,a,o)}function Ps(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function yv(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,i=!1,l=0,u=0;for(;u!==r;){let _=u;for(;u!==r&&e[u][0]===_e;)u+=1;if(_!==u)if(_===0)u>n&&(o-=u-n,i=!0);else if(u===r){let C=u-_;C>n&&(o-=C-n,i=!0)}else{let C=u-_;C>a&&(o-=C-a,l+=1)}for(;u!==r&&e[u][0]!==_e;)u+=1}let c=l!==0||i;l!==0?o+=l+1:i&&(o+=1);let s=o-1,d=[],p=0;c&&d.push("");let f=0,h=0,m=0,g=0,b=_=>{let C=d.length;d.push(gd(_,C===0||C===s,t)),m+=1,g+=1},y=_=>{let C=d.length;d.push(md(_,C===0||C===s,t)),m+=1},R=_=>{let C=d.length;d.push(bd(_,C===0||C===s,t)),g+=1};for(u=0;u!==r;){let _=u;for(;u!==r&&e[u][0]===_e;)u+=1;if(_!==u)if(_===0){u>n&&(_=u-n,f=_,h=_,m=f,g=h);for(let C=_;C!==u;C+=1)b(e[C][1])}else if(u===r){let C=u-_>n?_+n:u;for(let w=_;w!==C;w+=1)b(e[w][1])}else{let C=u-_;if(C>a){let w=_+n;for(let E=_;E!==w;E+=1)b(e[E][1]);d[p]=Ps(f,m,h,g,t),p=d.length,d.push("");let v=C-a;f=m+v,h=g+v,m=f,g=h;for(let E=u-n;E!==u;E+=1)b(e[E][1])}else for(let w=_;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===Oe;)y(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Te;)R(e[u][1]),u+=1}return c&&(d[p]=Ps(f,m,h,g,t)),d.join(` +`)}function vv(e,t){return e.map((r,n,a)=>{let o=r[1],i=n===0||n===a.length-1;switch(r[0]){case Oe:return md(o,i,t);case Te:return bd(o,i,t);default:return gd(o,i,t)}}).join(` +`)}var Ha=e=>e,yd=5,_v=0;function Ev(){return{aAnnotation:"Expected",aColor:pt.green,aIndicator:"-",bAnnotation:"Received",bColor:pt.red,bIndicator:"+",changeColor:pt.inverse,changeLineTrailingSpaceColor:Ha,commonColor:pt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Ha,compareKeys:void 0,contextLines:yd,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:pt.yellow,truncateThreshold:_v,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Ha}}function wv(e){return e&&typeof e=="function"?e:void 0}function Cv(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:yd}function Yt(e={}){return{...Ev(),...e,compareKeys:wv(e.compareKeys),contextLines:Cv(e.contextLines)}}function rr(e){return e.length===1&&e[0].length===0}function Rv(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Oe:t+=1;break;case Te:r+=1;break}}),{a:t,b:r}}function Tv({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return"";let c="",s="";if(i){let f=String(u.a),h=String(u.b),m=n.length-e.length,g=" ".repeat(Math.max(0,m)),b=" ".repeat(Math.max(0,-m)),y=h.length-f.length,R=" ".repeat(Math.max(0,y)),_=" ".repeat(Math.max(0,-y));c=`${g} ${r} ${R}${f}`,s=`${b} ${o} ${_}${h}`}let d=`${r} ${e}${c}`,p=`${o} ${n}${s}`;return`${t(d)} +${a(p)} + +`}function Pi(e,t,r){return Tv(r,Rv(e))+(r.expand?vv(e,r):yv(e,r))+(t?r.truncateAnnotationColor(` +${r.truncateAnnotation}`):"")}function ia(e,t,r){let n=Yt(r),[a,o]=vd(rr(e)?[]:e,rr(t)?[]:t,n);return Pi(a,o,n)}function Sv(e,t,r,n,a){if(rr(e)&&rr(r)&&(e=[],r=[]),rr(t)&&rr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ia(e,t,a);let[o,i]=vd(r,n,a),l=0,u=0;return o.forEach(c=>{switch(c[0]){case Oe:c[1]=e[l],l+=1;break;case Te:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Pi(o,i,Yt(a))}function vd(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=n?Math.min(e.length,a):e.length,i=n?Math.min(t.length,a):t.length,l=o!==e.length||i!==t.length,u=(p,f)=>e[p]===t[f],c=[],s=0,d=0;for(hd(o,i,u,(p,f,h)=>{for(;s!==f;s+=1)c.push(new be(Oe,e[s]));for(;d!==h;d+=1)c.push(new be(Te,t[d]));for(;p!==0;p-=1,s+=1,d+=1)c.push(new be(_e,t[d]))});s!==o;s+=1)c.push(new be(Oe,e[s]));for(;d!==i;d+=1)c.push(new be(Te,t[d]));return[c,l]}function Os(e){return e.includes(`\r +`)?`\r +`:` +`}function Pv(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=e.length,i=t.length;if(n){let p=e.includes(` +`),f=t.includes(` +`),h=Os(e),m=Os(t),g=p?`${e.split(h,a).join(h)} +`:e,b=f?`${t.split(m,a).join(m)} +`:t;o=g.length,i=b.length}let l=o!==e.length||i!==t.length,u=(p,f)=>e[p]===t[f],c=0,s=0,d=[];return hd(o,i,u,(p,f,h)=>{c!==f&&d.push(new be(Oe,e.slice(c,f))),s!==h&&d.push(new be(Te,t.slice(s,h))),c=f+p,s=h+p,d.push(new be(_e,t.slice(h,s)))}),c!==o&&d.push(new be(Oe,e.slice(c))),s!==i&&d.push(new be(Te,t.slice(s))),[d,l]}function Ov(e,t,r){return t.reduce((n,a)=>n+(a[0]===_e?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var As=class{constructor(t,r){ye(this,"op");ye(this,"line");ye(this,"lines");ye(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new be(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new be(this.op,Ov(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new be(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(` +`)){let n=r.split(` +`),a=n.length-1;n.forEach((o,i)=>{i{if(l===0){let u=new be(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l{switch(o[0]){case Oe:r.align(o);break;case Te:n.align(o);break;default:a.align(o)}}),a.getLines()}function xv(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===_e&&(a!==r||n[1]!==` +`))}return e.some(r=>r[0]===_e)}function Mv(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(` +`)||t.includes(` +`),[a,o]=_d(n?`${e} +`:e,n?`${t} +`:t,!0,r);if(xv(a,n)){let i=Yt(r),l=qv(a,i.changeColor);return Pi(l,o,i)}}return ia(e.split(` +`),t.split(` +`),r)}function _d(e,t,r,n){let[a,o]=Pv(e,t,n);return cv(a),[a,o]}function go(e,t){let{commonColor:r}=Yt(t);return r(e)}var{AsymmetricMatcher:$v,DOMCollection:Nv,DOMElement:jv,Immutable:Iv,ReactElement:Lv,ReactTestComponent:Bv}=id,Ed=[Bv,Lv,jv,Nv,Iv,$v],yo={plugins:Ed},wd={callToJSON:!1,maxDepth:10,plugins:Ed};function kv(e,t,r){if(Object.is(e,t))return"";let n=Es(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==Es(t)){let{aAnnotation:i,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Yt(r),p=vo(wd,r),f=rt(e,p),h=rt(t,p),m=`${l(`${u} ${i}:`)} +${f}`,g=`${s(`${d} ${c}:`)} +${h}`;return`${m} + +${g}`}if(!o)switch(n){case"string":return ia(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return Dv(e,t,r);case"map":return za(qs(e),qs(t),r);case"set":return za(xs(e),xs(t),r);default:return za(e,t,r)}}function Dv(e,t,r){let n=rt(e,yo),a=rt(t,yo);return n===a?"":ia(n.split(` +`),a.split(` +`),r)}function qs(e){return new Map(Array.from(e.entries()).sort())}function xs(e){return new Set(Array.from(e.values()).sort())}function za(e,t,r){let n,a=!1;try{let i=vo(yo,r);n=Ms(e,t,i,r)}catch{a=!0}let o=go(pd,r);if(n===void 0||n===o){let i=vo(wd,r);n=Ms(e,t,i,r),n!==o&&!a&&(n=`${go(hv,r)} + +${n}`)}return n}function vo(e,t){let{compareKeys:r}=Yt(t);return{...e,compareKeys:r}}function Ms(e,t,r,n){let a={...r,indent:0},o=rt(e,a),i=rt(t,a);if(o===i)return go(pd,n);{let l=rt(e,r),u=rt(t,r);return Sv(l.split(` +`),u.split(` +`),o.split(` +`),i.split(` +`),n)}}var $s=2e4;function Ns(e){return mo(e)==="Object"&&typeof e.asymmetricMatch=="function"}function js(e,t){let r=mo(e),n=mo(t);return r===n&&(r==="Object"||r==="Array")}function Fv(e,t,r){let{aAnnotation:n,bAnnotation:a}=Yt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=$s&&t.length<=$s&&e!==t){if(e.includes(` +`)||t.includes(` +`))return Mv(t,e,r);let[c]=_d(t,e),s=c.some(h=>h[0]===_e),d=Uv(n,a),p=d(n)+Vv(Is(c,Oe,s)),f=d(a)+zv(Is(c,Te,s));return`${p} +${f}`}let o=_s(e,{forceWritable:!0}),i=_s(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Cd(o,i);return kv(l,u,r)}function Cd(e,t,r=new WeakSet,n=new WeakSet){return js(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),ud(t).forEach(a=>{let o=t[a],i=e[a];if(Ns(o))o.asymmetricMatch(i)&&(e[a]=o);else if(Ns(i))i.asymmetricMatch(o)&&(t[a]=i);else if(js(i,o)){let l=Cd(i,o,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function Uv(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var Hv="·";function Rd(e){return e.replace(/\s+$/gm,t=>Hv.repeat(t.length))}function zv(e){return pt.red(Rd(Gr(e)))}function Vv(e){return pt.green(Rd(Gr(e)))}function Is(e,t,r){return e.reduce((n,a)=>n+(a[0]===_e?a[1]:a[0]===t?r?pt.inverse(a[1]):a[1]:""),"")}var Gv="@@__IMMUTABLE_RECORD__@@",Wv="@@__IMMUTABLE_ITERABLE__@@";function Kv(e){return e&&(e[Wv]||e[Gv])}var Yv=Object.getPrototypeOf({});function Ls(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function nr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(Kv(e))return nr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${ov(e.sample)}`;if(typeof e.toJSON=="function")return nr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=nr(n,t)}catch(o){r[a]=Ls(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Yv;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=nr(e[a],t)}catch(o){delete r[a],r[a]=Ls(o)}}),n=Object.getPrototypeOf(n);return r}}function Jv(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Td(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Fv(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Gr(n.expected,10)),typeof n.actual!="string"&&(n.actual=Gr(n.actual,10));try{typeof n.message=="string"&&(n.message=Jv(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Td(n.cause,t,r))}catch{}try{return nr(n)}catch(a){return nr(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message} +Inner error message: ${n==null?void 0:n.message}`))}}var Xv=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(Xv||{}),ct={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},Bs={start:!1,back:!1,goto:!1,next:!1,end:!1},Qv=new Error("This function ran after the play function completed. Did you forget to `await` it?"),ks=e=>Object.prototype.toString.call(e)==="[object Object]",Zv=e=>Object.prototype.toString.call(e)==="[object Module]",e_=e=>{if(!ks(e)&&!Zv(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!ks(t)},t_=e=>{try{return new e.constructor}catch{return{}}},Va=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),Ds=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},r_=class{constructor(){var i;this.initialized=!1,this.channel=dg.getChannel(),this.state=((i=Ne.window)==null?void 0:i.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:l,isPlaying:u=!0,isDebugging:c=!1})=>{let s=this.getState(l);this.setState(l,{...Va(),...Ds(s,c),shadowCalls:c?s.shadowCalls:[],chainedCallIds:c?s.chainedCallIds:new Set,playUntil:c?s.playUntil:void 0,isPlaying:u,isDebugging:c}),this.sync(l)};this.channel.on(Xl,e),this.channel.on(ug,({storyId:l,newPhase:u})=>{let{isDebugging:c}=this.getState(l);this.setState(l,{renderPhase:u}),u==="preparing"&&c&&e({storyId:l}),u==="playing"&&e({storyId:l,isDebugging:c}),u==="played"&&this.setState(l,{isLocked:!1,isPlaying:!1,isDebugging:!1}),u==="errored"&&this.setState(l,{isLocked:!1,isPlaying:!1})}),this.channel.on(cg,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:l,playUntil:u})=>{this.getState(l).isDebugging||this.setState(l,({calls:s})=>({calls:[],shadowCalls:s.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let c=this.getLog(l);this.setState(l,({shadowCalls:s})=>{var p;if(u||!c.length)return{playUntil:u};let d=s.findIndex(f=>f.id===c[0].callId);return{playUntil:(p=s.slice(0,d).filter(f=>f.interceptable&&!f.ancestors.length).slice(-1)[0])==null?void 0:p.id}}),this.channel.emit(Xl,{storyId:l,isDebugging:!0})},r=({storyId:l})=>{var s;let u=this.getLog(l).filter(d=>!d.ancestors.length),c=u.reduceRight((d,p,f)=>d>=0||p.status==="waiting"?d:f,-1);t({storyId:l,playUntil:(s=u[c-1])==null?void 0:s.callId})},n=({storyId:l,callId:u})=>{var h;let{calls:c,shadowCalls:s,resolvers:d}=this.getState(l),p=c.find(({id:m})=>m===u),f=s.find(({id:m})=>m===u);if(!p&&f&&Object.values(d).length>0){let m=(h=this.getLog(l).find(g=>g.status==="waiting"))==null?void 0:h.callId;f.id!==m&&this.setState(l,{playUntil:f.id}),Object.values(d).forEach(g=>g())}else t({storyId:l,playUntil:u})},a=({storyId:l})=>{var c;let{resolvers:u}=this.getState(l);if(Object.values(u).length>0)Object.values(u).forEach(s=>s());else{let s=(c=this.getLog(l).find(d=>d.status==="waiting"))==null?void 0:c.callId;s?t({storyId:l,playUntil:s}):o({storyId:l})}},o=({storyId:l})=>{this.setState(l,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(l).resolvers).forEach(u=>u())};this.channel.on(ct.START,t),this.channel.on(ct.BACK,r),this.channel.on(ct.GOTO,n),this.channel.on(ct.NEXT,a),this.channel.on(ct.END,o)}getState(e){return this.state[e]||Va()}setState(e,t){var a;let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},(a=Ne.window)!=null&&a.parent&&(Ne.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[n,a])=>{let o=Ds(a);return o&&(r[n]=Object.assign(Va(),o)),r},{});let e={controlStates:Bs,logItems:[]};this.channel.emit(ct.SYNC,e),(t=Ne.window)!=null&&t.parent&&(Ne.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((o,i)=>{n[i]=o});let a=new Set;return n.reduceRight((o,i)=>(i.args.forEach(l=>{l!=null&&l.__callId__&&a.add(l.__callId__)}),i.path.forEach(l=>{l.__callId__&&a.add(l.__callId__)}),(i.interceptable||i.exception)&&!a.has(i.id)&&(o.unshift({callId:i.id,status:i.status,ancestors:i.ancestors}),a.add(i.id)),o),[])}instrument(e,t,r=0){if(!e_(e))return e;let{mutate:n=!1,path:a=[]}=t,o=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,o.reduce((i,l)=>{let u=n_(e,l);if(typeof(u==null?void 0:u.get)=="function"){let s=()=>{var d,p;return(p=(d=u==null?void 0:u.get)==null?void 0:d.bind(e))==null?void 0:p()};return Object.defineProperty(i,l,{get:()=>this.instrument(s(),{...t,path:a.concat(l)},r)}),i}let c=e[l];return typeof c!="function"?(i[l]=this.instrument(c,{...t,path:a.concat(l)},r),i):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(i[l]=c,i):(i[l]=(...s)=>this.track(l,c,e,s,t),i[l].__originalFn__=c,Object.defineProperty(i[l],"name",{value:l,writable:!1}),Object.keys(c).length>0&&Object.assign(i[l],this.instrument({...c},{...t,path:a.concat(l)},r)),i)},n?e:t_(e))}track(e,t,r,n,a){var m,g,b,y;let o=((m=n==null?void 0:n[0])==null?void 0:m.__storyId__)||((y=(b=(g=Ne.__STORYBOOK_PREVIEW__)==null?void 0:g.selectionStore)==null?void 0:b.selection)==null?void 0:y.storyId),{cursor:i,ancestors:l}=this.getState(o);this.setState(o,{cursor:i+1});let u=`${l.slice(-1)[0]||o} [${i}] ${e}`,{path:c=[],intercept:s=!1,retain:d=!1}=a,p=typeof s=="function"?s(e,c):s,f={id:u,cursor:i,storyId:o,ancestors:l,path:c,method:e,args:n,interceptable:p,retain:d},h=(p&&!l.length?this.intercept:this.invoke).call(this,t,r,f,a);return this.instrument(h,{...a,mutate:!0,path:[{__callId__:f.id}]})}intercept(e,t,r,n){let{chainedCallIds:a,isDebugging:o,playUntil:i}=this.getState(r.storyId),l=a.has(r.id);return!o||l||i?(i===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:c,...s}=u.resolvers;return{isLocked:!0,resolvers:s}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:a,renderPhase:o}=this.getState(r.storyId),i=25,l=(s,d,p)=>{var f,h,m;if(p.includes(s))return"[Circular]";if(p=[...p,s],d>i)return"...";if(a.has(s))return a.get(s);if(s instanceof Array)return s.map(g=>l(g,++d,p));if(s instanceof Date)return{__date__:{value:s.toISOString()}};if(s instanceof Error){let{name:g,message:b,stack:y}=s;return{__error__:{name:g,message:b,stack:y}}}if(s instanceof RegExp){let{flags:g,source:b}=s;return{__regexp__:{flags:g,source:b}}}if(s instanceof((f=Ne.window)==null?void 0:f.HTMLElement)){let{prefix:g,localName:b,id:y,classList:R,innerText:_}=s,C=Array.from(R);return{__element__:{prefix:g,localName:b,id:y,classNames:C,innerText:_}}}return typeof s=="function"?{__function__:{name:"getMockName"in s?s.getMockName():s.name}}:typeof s=="symbol"?{__symbol__:{description:s.description}}:typeof s=="object"&&((h=s==null?void 0:s.constructor)!=null&&h.name)&&((m=s==null?void 0:s.constructor)==null?void 0:m.name)!=="Object"?{__class__:{name:s.constructor.name}}:Object.prototype.toString.call(s)==="[object Object]"?Object.fromEntries(Object.entries(s).map(([g,b])=>[g,l(b,++d,p)])):s},u={...r,args:r.args.map(s=>l(s,0,[]))};r.path.forEach(s=>{s!=null&&s.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(s.__callId__))}))});let c=s=>{if(s instanceof Error){let{name:d,message:p,stack:f,callId:h=r.id}=s,{showDiff:m=void 0,diff:g=void 0,actual:b=void 0,expected:y=void 0}=s.name==="AssertionError"?Td(s):s,R={name:d,message:p,stack:f,callId:h,showDiff:m,diff:g,actual:b,expected:y};if(this.update({...u,status:"error",exception:R}),this.setState(r.storyId,_=>({callRefsByResult:new Map([...Array.from(_.callRefsByResult.entries()),[s,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(s,"callId")||Object.defineProperty(s,"callId",{value:r.id}),s}throw s};try{if(o==="played"&&!r.retain)throw Qv;let s=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(p=>typeof p!="function"||Object.keys(p).length?p:(...f)=>{let{cursor:h,ancestors:m}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...m,r.id]});let g=()=>this.setState(r.storyId,{cursor:h,ancestors:m}),b=!1;try{let y=p(...f);return y instanceof Promise?(b=!0,y.finally(g)):y}finally{b||g()}}),d=e.apply(t,s);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,p=>({callRefsByResult:new Map([...Array.from(p.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(p=>(this.update({...u,status:"done"}),p),c):d}catch(s){return c(s)}}update(e){this.channel.emit(ct.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,a)=>Object.assign(n,{[a.id]:a}),{});return{calls:Object.values(r).sort((n,a)=>n.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var c;let{isLocked:r,isPlaying:n}=this.getState(e),a=this.getLog(e),o=(c=a.filter(({ancestors:s})=>!s.length).find(s=>s.status==="waiting"))==null?void 0:c.callId,i=a.some(s=>s.status==="active");if(r||i||a.length===0){let s={controlStates:Bs,logItems:a};this.channel.emit(ct.SYNC,s);return}let l=a.some(s=>s.status==="done"||s.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:a,pausedAt:o};this.channel.emit(ct.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function la(e,t={}){var r,n,a,o,i,l,u,c;try{let s=!1,d=!1;return(a=(n=(r=Ne.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&a.includes("instrument=true")?s=!0:(l=(i=(o=Ne.window)==null?void 0:o.location)==null?void 0:i.search)!=null&&l.includes("instrument=false")&&(d=!0),((u=Ne.window)==null?void 0:u.parent)===Ne.window&&!s||d?e:(Ne.window&&!Ne.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Ne.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new r_),((c=Ne.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(s){return sg.warn(s),e}}function n_(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var _o={};const{global:Sd}=__STORYBOOK_MODULE_GLOBAL__,{once:a_}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var o_=Object.create,Oi=Object.defineProperty,i_=Object.getOwnPropertyDescriptor,Pd=Object.getOwnPropertyNames,l_=Object.getPrototypeOf,s_=Object.prototype.hasOwnProperty,u_=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),T=(e,t)=>function(){return t||(0,e[Pd(e)[0]])((t={exports:{}}).exports,t),t.exports},Ai=(e,t)=>{for(var r in t)Oi(e,r,{get:t[r],enumerable:!0})},c_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Pd(t))!s_.call(e,a)&&a!==r&&Oi(e,a,{get:()=>t[a],enumerable:!(n=i_(t,a))||n.enumerable});return e},Fe=(e,t,r)=>(r=e!=null?o_(l_(e)):{},c_(t||!e||!e.__esModule?Oi(r,"default",{value:e,enumerable:!0}):r,e)),d_=T({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,o)=>Math.min(a,o.length),1/0):0}}}),f_=T({"../../node_modules/strip-indent/index.js"(e,t){var r=d_();t.exports=n=>{let a=r(n);if(a===0)return n;let o=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(o,"")}}}),p_=T({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let o=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,a.indent.repeat(n))}}}),Od=T({"../../node_modules/redent/index.js"(e,t){var r=f_(),n=p_();t.exports=(a,o=0,i)=>n(r(a),o,i)}}),h_=T({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":function(){return o},next:function(){if(a=f.length?{done:!0}:{done:!1,value:f[g++]}},e:function(C){throw C},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,R=!1,_;return{s:function(){m=m.call(f)},n:function(){var C=m.next();return y=C.done,C},e:function(C){R=!0,_=C},f:function(){try{!y&&m.return!=null&&m.return()}finally{if(R)throw _}}}}function u(f,h){if(f){if(typeof f=="string")return c(f,h);var m=Object.prototype.toString.call(f).slice(8,-1);if(m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set")return Array.from(f);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return c(f,h)}}function c(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,g=new Array(h);m1&&arguments[1]!==void 0?arguments[1]:null,m=l(s),g;try{for(m.s();!(g=m.n()).done;){var b=n(g.value,2),y=b[0],R=b[1];f.call(h,R,y,s)}}catch(_){m.e(_)}finally{m.f()}},get:function(f){var h=s.find(function(m){return m[0]===f});return h&&h[1]},has:function(f){return!!d.get(f)},keys:function(){return s.map(function(f){var h=n(f,1),m=h[0];return m})},values:function(){return s.map(function(f){var h=n(f,2),m=h[1];return m})}},p=(0,t.default)(d,d.entries());e.default=p}}),b_=T({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(cn());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,h){return i(f)||o(f,h)||u(f,h)||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 o(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var g=[],b=!0,y=!1,R,_;try{for(m=m.call(f);!(b=(R=m.next()).done)&&(g.push(R.value),!(h&&g.length===h));b=!0);}catch(C){y=!0,_=C}finally{try{!b&&m.return!=null&&m.return()}finally{if(y)throw _}}return g}}function i(f){if(Array.isArray(f))return f}function l(f,h){var m=typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(!m){if(Array.isArray(f)||(m=u(f))||h){m&&(f=m);var g=0,b=function(){};return{s:b,n:function(){return g>=f.length?{done:!0}:{done:!1,value:f[g++]}},e:function(C){throw C},f:b}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var y=!0,R=!1,_;return{s:function(){m=m.call(f)},n:function(){var C=m.next();return y=C.done,C},e:function(C){R=!0,_=C},f:function(){try{!y&&m.return!=null&&m.return()}finally{if(R)throw _}}}}function u(f,h){if(f){if(typeof f=="string")return c(f,h);var m=Object.prototype.toString.call(f).slice(8,-1);if(m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set")return Array.from(f);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return c(f,h)}}function c(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,g=new Array(h);m1&&arguments[1]!==void 0?arguments[1]:null,m=l(s),g;try{for(m.s();!(g=m.n()).done;){var b=n(g.value,2),y=b[0],R=b[1];f.call(h,R,y,s)}}catch(_){m.e(_)}finally{m.f()}},get:function(f){var h=s.find(function(m){return m[0]===f});return h&&h[1]},has:function(f){return!!d.get(f)},keys:function(){return s.map(function(f){var h=n(f,1),m=h[0];return m})},values:function(){return s.map(function(f){var h=n(f,2),m=h[1];return m})}},p=(0,t.default)(d,d.entries());e.default=p}}),g_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),y_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),v_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),__=T({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),E_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),w_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),C_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),R_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),T_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),S_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),P_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),O_=T({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),A_=T({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=f(g_()),r=f(y_()),n=f(v_()),a=f(__()),o=f(E_()),i=f(w_()),l=f(C_()),u=f(R_()),c=f(T_()),s=f(S_()),d=f(P_()),p=f(O_());function f(g){return g&&g.__esModule?g:{default:g}}var h=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",s.default],["widget",d.default],["window",p.default]],m=h;e.default=m}}),q_=T({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),x_=T({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),M_=T({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),$_=T({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),N_=T({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),j_=T({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),I_=T({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),L_=T({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),B_=T({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),k_=T({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),D_=T({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),F_=T({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),U_=T({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),H_=T({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),z_=T({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),V_=T({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),G_=T({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),W_=T({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),K_=T({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Y_=T({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),J_=T({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),X_=T({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),Q_=T({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Z_=T({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),e0=T({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),t0=T({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),r0=T({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),n0=T({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),a0=T({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),o0=T({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),i0=T({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),l0=T({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),s0=T({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),u0=T({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),c0=T({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),d0=T({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),f0=T({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),p0=T({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),h0=T({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),m0=T({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),b0=T({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),g0=T({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),y0=T({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),v0=T({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),_0=T({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),E0=T({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),w0=T({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),C0=T({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),R0=T({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),T0=T({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),S0=T({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),P0=T({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),O0=T({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),A0=T({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),q0=T({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),x0=T({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),M0=T({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),$0=T({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),N0=T({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),j0=T({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),I0=T({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),L0=T({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),B0=T({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),k0=T({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),D0=T({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),F0=T({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),U0=T({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),H0=T({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),z0=T({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),V0=T({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),G0=T({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),W0=T({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),K0=T({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),Y0=T({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),J0=T({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),X0=T({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Q0=T({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Z0=T({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),eE=T({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),tE=T({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),rE=T({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),nE=T({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),aE=T({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),oE=T({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(q_()),r=H(x_()),n=H(M_()),a=H($_()),o=H(N_()),i=H(j_()),l=H(I_()),u=H(L_()),c=H(B_()),s=H(k_()),d=H(D_()),p=H(F_()),f=H(U_()),h=H(H_()),m=H(z_()),g=H(V_()),b=H(G_()),y=H(W_()),R=H(K_()),_=H(Y_()),C=H(J_()),w=H(X_()),v=H(Q_()),E=H(Z_()),O=H(e0()),M=H(t0()),N=H(r0()),k=H(n0()),j=H(a0()),I=H(o0()),B=H(i0()),z=H(l0()),K=H(s0()),W=H(u0()),re=H(c0()),me=H(d0()),de=H(f0()),F=H(p0()),L=H(h0()),D=H(m0()),G=H(b0()),Y=H(g0()),ne=H(y0()),fe=H(v0()),Be=H(_0()),q=H(E0()),V=H(w0()),U=H(C0()),Q=H(R0()),$=H(T0()),se=H(S0()),ue=H(P0()),we=H(O0()),st=H(A0()),Ab=H(q0()),qb=H(x0()),xb=H(M0()),Mb=H($0()),$b=H(N0()),Nb=H(j0()),jb=H(I0()),Ib=H(L0()),Lb=H(B0()),Bb=H(k0()),kb=H(D0()),Db=H(F0()),Fb=H(U0()),Ub=H(H0()),Hb=H(z0()),zb=H(V0()),Vb=H(G0()),Gb=H(W0()),Wb=H(K0()),Kb=H(Y0()),Yb=H(J0()),Jb=H(X0()),Xb=H(Q0()),Qb=H(Z0()),Zb=H(eE()),eg=H(tE()),tg=H(rE()),rg=H(nE()),ng=H(aE());function H(vn){return vn&&vn.__esModule?vn:{default:vn}}var ag=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",p.default],["combobox",f.default],["complementary",h.default],["contentinfo",m.default],["definition",g.default],["deletion",b.default],["dialog",y.default],["directory",R.default],["document",_.default],["emphasis",C.default],["feed",w.default],["figure",v.default],["form",E.default],["generic",O.default],["grid",M.default],["gridcell",N.default],["group",k.default],["heading",j.default],["img",I.default],["insertion",B.default],["link",z.default],["list",K.default],["listbox",W.default],["listitem",re.default],["log",me.default],["main",de.default],["mark",F.default],["marquee",L.default],["math",D.default],["menu",G.default],["menubar",Y.default],["menuitem",ne.default],["menuitemcheckbox",fe.default],["menuitemradio",Be.default],["meter",q.default],["navigation",V.default],["none",U.default],["note",Q.default],["option",$.default],["paragraph",se.default],["presentation",ue.default],["progressbar",we.default],["radio",st.default],["radiogroup",Ab.default],["region",qb.default],["row",xb.default],["rowgroup",Mb.default],["rowheader",$b.default],["scrollbar",Nb.default],["search",jb.default],["searchbox",Ib.default],["separator",Lb.default],["slider",Bb.default],["spinbutton",kb.default],["status",Db.default],["strong",Fb.default],["subscript",Ub.default],["superscript",Hb.default],["switch",zb.default],["tab",Vb.default],["table",Gb.default],["tablist",Wb.default],["tabpanel",Kb.default],["term",Yb.default],["textbox",Jb.default],["time",Xb.default],["timer",Qb.default],["toolbar",Zb.default],["tooltip",eg.default],["tree",tg.default],["treegrid",rg.default],["treeitem",ng.default]],og=ag;e.default=og}}),iE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),lE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),sE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),uE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),cE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),dE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),fE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),pE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),hE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),mE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),bE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),gE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),yE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),vE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),_E=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),EE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),wE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),CE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),RE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),TE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),SE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),PE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),OE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),AE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),qE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),xE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),ME=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),$E=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),NE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),jE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),IE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),LE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),BE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),kE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),DE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),FE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),UE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),HE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),zE=T({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),VE=T({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=D(iE()),r=D(lE()),n=D(sE()),a=D(uE()),o=D(cE()),i=D(dE()),l=D(fE()),u=D(pE()),c=D(hE()),s=D(mE()),d=D(bE()),p=D(gE()),f=D(yE()),h=D(vE()),m=D(_E()),g=D(EE()),b=D(wE()),y=D(CE()),R=D(RE()),_=D(TE()),C=D(SE()),w=D(PE()),v=D(OE()),E=D(AE()),O=D(qE()),M=D(xE()),N=D(ME()),k=D($E()),j=D(NE()),I=D(jE()),B=D(IE()),z=D(LE()),K=D(BE()),W=D(kE()),re=D(DE()),me=D(FE()),de=D(UE()),F=D(HE()),L=D(zE());function D(ne){return ne&&ne.__esModule?ne:{default:ne}}var G=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",p.default],["doc-credit",f.default],["doc-credits",h.default],["doc-dedication",m.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",y.default],["doc-epilogue",R.default],["doc-errata",_.default],["doc-example",C.default],["doc-footnote",w.default],["doc-foreword",v.default],["doc-glossary",E.default],["doc-glossref",O.default],["doc-index",M.default],["doc-introduction",N.default],["doc-noteref",k.default],["doc-notice",j.default],["doc-pagebreak",I.default],["doc-pagelist",B.default],["doc-part",z.default],["doc-preface",K.default],["doc-prologue",W.default],["doc-pullquote",re.default],["doc-qna",me.default],["doc-subtitle",de.default],["doc-tip",F.default],["doc-toc",L.default]],Y=G;e.default=Y}}),GE=T({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),WE=T({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),KE=T({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),YE=T({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(GE()),r=a(WE()),n=a(KE());function a(l){return l&&l.__esModule?l:{default:l}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=o;e.default=i}}),qi=T({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(A_()),r=i(oE()),n=i(VE()),a=i(YE()),o=i(cn());function i(y){return y&&y.__esModule?y:{default:y}}function l(y,R,_){return R in y?Object.defineProperty(y,R,{value:_,enumerable:!0,configurable:!0,writable:!0}):y[R]=_,y}function u(y,R){var _=typeof Symbol<"u"&&y[Symbol.iterator]||y["@@iterator"];if(!_){if(Array.isArray(y)||(_=d(y))||R){_&&(y=_);var C=0,w=function(){};return{s:w,n:function(){return C>=y.length?{done:!0}:{done:!1,value:y[C++]}},e:function(M){throw M},f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,E=!1,O;return{s:function(){_=_.call(y)},n:function(){var M=_.next();return v=M.done,M},e:function(M){E=!0,O=M},f:function(){try{!v&&_.return!=null&&_.return()}finally{if(E)throw O}}}}function c(y,R){return h(y)||f(y,R)||d(y,R)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(y,R){if(y){if(typeof y=="string")return p(y,R);var _=Object.prototype.toString.call(y).slice(8,-1);if(_==="Object"&&y.constructor&&(_=y.constructor.name),_==="Map"||_==="Set")return Array.from(y);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return p(y,R)}}function p(y,R){(R==null||R>y.length)&&(R=y.length);for(var _=0,C=new Array(R);_1&&arguments[1]!==void 0?arguments[1]:null,_=u(m),C;try{for(_.s();!(C=_.n()).done;){var w=c(C.value,2),v=w[0],E=w[1];y.call(R,E,v,m)}}catch(O){_.e(O)}finally{_.f()}},get:function(y){var R=m.find(function(_){return _[0]===y});return R&&R[1]},has:function(y){return!!g.get(y)},keys:function(){return m.map(function(y){var R=c(y,1),_=R[0];return _})},values:function(){return m.map(function(y){var R=c(y,2),_=R[1];return _})}},b=(0,o.default)(g,g.entries());e.default=b}}),JE=T({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,a){var o,i;if(n===a)return!0;if(n&&a&&(o=n.constructor)===a.constructor){if(o===Date)return n.getTime()===a.getTime();if(o===RegExp)return n.toString()===a.toString();if(o===Array){if((i=n.length)===a.length)for(;i--&&r(n[i],a[i]););return i===-1}if(!o||typeof n=="object"){i=0;for(o in n)if(t.call(n,o)&&++i&&!t.call(a,o)||!(o in a)||!r(n[o],a[o]))return!1;return Object.keys(a).length===i}}return n!==n&&a!==a}e.dequal=r}}),XE=T({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=JE(),r=a(cn()),n=a(qi());function a(w){return w&&w.__esModule?w:{default:w}}function o(w,v){return u(w)||l(w,v)||s(w,v)||i()}function i(){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(w,v){var E=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(E!=null){var O=[],M=!0,N=!1,k,j;try{for(E=E.call(w);!(M=(k=E.next()).done)&&(O.push(k.value),!(v&&O.length===v));M=!0);}catch(I){N=!0,j=I}finally{try{!M&&E.return!=null&&E.return()}finally{if(N)throw j}}return O}}function u(w){if(Array.isArray(w))return w}function c(w,v){var E=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!E){if(Array.isArray(w)||(E=s(w))||v){E&&(w=E);var O=0,M=function(){};return{s:M,n:function(){return O>=w.length?{done:!0}:{done:!1,value:w[O++]}},e:function(I){throw I},f:M}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var N=!0,k=!1,j;return{s:function(){E=E.call(w)},n:function(){var I=E.next();return N=I.done,I},e:function(I){k=!0,j=I},f:function(){try{!N&&E.return!=null&&E.return()}finally{if(k)throw j}}}}function s(w,v){if(w){if(typeof w=="string")return d(w,v);var E=Object.prototype.toString.call(w).slice(8,-1);if(E==="Object"&&w.constructor&&(E=w.constructor.name),E==="Map"||E==="Set")return Array.from(w);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return d(w,v)}}function d(w,v){(v==null||v>w.length)&&(v=w.length);for(var E=0,O=new Array(v);E1&&arguments[1]!==void 0?arguments[1]:null,E=c(p),O;try{for(E.s();!(O=E.n()).done;){var M=o(O.value,2),N=M[0],k=M[1];w.call(v,k,N,p)}}catch(j){E.e(j)}finally{E.f()}},get:function(w){var v=p.find(function(E){return w.name===E[0].name&&(0,t.dequal)(w.attributes,E[0].attributes)});return v&&v[1]},has:function(w){return!!_.get(w)},keys:function(){return p.map(function(w){var v=o(w,1),E=v[0];return E})},values:function(){return p.map(function(w){var v=o(w,2),E=v[1];return E})}},C=(0,r.default)(_,_.entries());e.default=C}}),QE=T({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(cn()),r=n(qi());function n(v){return v&&v.__esModule?v:{default:v}}function a(v,E){return l(v)||i(v,E)||c(v,E)||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 i(v,E){var O=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(O!=null){var M=[],N=!0,k=!1,j,I;try{for(O=O.call(v);!(N=(j=O.next()).done)&&(M.push(j.value),!(E&&M.length===E));N=!0);}catch(B){k=!0,I=B}finally{try{!N&&O.return!=null&&O.return()}finally{if(k)throw I}}return M}}function l(v){if(Array.isArray(v))return v}function u(v,E){var O=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!O){if(Array.isArray(v)||(O=c(v))||E){O&&(v=O);var M=0,N=function(){};return{s:N,n:function(){return M>=v.length?{done:!0}:{done:!1,value:v[M++]}},e:function(B){throw B},f:N}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var k=!0,j=!1,I;return{s:function(){O=O.call(v)},n:function(){var B=O.next();return k=B.done,B},e:function(B){j=!0,I=B},f:function(){try{!k&&O.return!=null&&O.return()}finally{if(j)throw I}}}}function c(v,E){if(v){if(typeof v=="string")return s(v,E);var O=Object.prototype.toString.call(v).slice(8,-1);if(O==="Object"&&v.constructor&&(O=v.constructor.name),O==="Map"||O==="Set")return Array.from(v);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return s(v,E)}}function s(v,E){(E==null||E>v.length)&&(E=v.length);for(var O=0,M=new Array(E);O0&&d.push([f,m])}var f,h,m,g,b,y,R,_,C={entries:function(){return d},forEach:function(v){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=u(d),M;try{for(O.s();!(M=O.n()).done;){var N=a(M.value,2),k=N[0],j=N[1];v.call(E,j,k,d)}}catch(I){O.e(I)}finally{O.f()}},get:function(v){var E=d.find(function(O){return O[0]===v});return E&&E[1]},has:function(v){return!!C.get(v)},keys:function(){return d.map(function(v){var E=a(v,1),O=E[0];return O})},values:function(){return d.map(function(v){var E=a(v,2),O=E[1];return O})}},w=(0,t.default)(C,C.entries());e.default=w}}),xi=T({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(m_()),r=i(b_()),n=i(qi()),a=i(XE()),o=i(QE());function i(p){return p&&p.__esModule?p:{default:p}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var s=a.default;e.elementRoles=s;var d=o.default;e.roleElements=d}}),ZE=T({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Ad=T({"../../node_modules/color-convert/conversions.js"(e,t){var r=ZE(),n={};for(let i of Object.keys(r))n[r[i]]=i;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 i of Object.keys(a)){if(!("channels"in a[i]))throw new Error("missing channels property: "+i);if(!("labels"in a[i]))throw new Error("missing channel labels property: "+i);if(a[i].labels.length!==a[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:l,labels:u}=a[i];delete a[i].channels,delete a[i].labels,Object.defineProperty(a[i],"channels",{value:l}),Object.defineProperty(a[i],"labels",{value:u})}a.rgb.hsl=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.min(l,u,c),d=Math.max(l,u,c),p=d-s,f,h;d===s?f=0:l===d?f=(u-c)/p:u===d?f=2+(c-l)/p:c===d&&(f=4+(l-u)/p),f=Math.min(f*60,360),f<0&&(f+=360);let m=(s+d)/2;return d===s?h=0:m<=.5?h=p/(d+s):h=p/(2-d-s),[f,h*100,m*100]},a.rgb.hsv=function(i){let l,u,c,s,d,p=i[0]/255,f=i[1]/255,h=i[2]/255,m=Math.max(p,f,h),g=m-Math.min(p,f,h),b=function(y){return(m-y)/6/g+1/2};return g===0?(s=0,d=0):(d=g/m,l=b(p),u=b(f),c=b(h),p===m?s=c-u:f===m?s=1/3+l-c:h===m&&(s=2/3+u-l),s<0?s+=1:s>1&&(s-=1)),[s*360,d*100,m*100]},a.rgb.hwb=function(i){let l=i[0],u=i[1],c=i[2],s=a.rgb.hsl(i)[0],d=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[s,d*100,c*100]},a.rgb.cmyk=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.min(1-l,1-u,1-c),d=(1-l-s)/(1-s)||0,p=(1-u-s)/(1-s)||0,f=(1-c-s)/(1-s)||0;return[d*100,p*100,f*100,s*100]};function o(i,l){return(i[0]-l[0])**2+(i[1]-l[1])**2+(i[2]-l[2])**2}a.rgb.keyword=function(i){let l=n[i];if(l)return l;let u=1/0,c;for(let s of Object.keys(r)){let d=r[s],p=o(i,d);p.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let s=l*.4124+u*.3576+c*.1805,d=l*.2126+u*.7152+c*.0722,p=l*.0193+u*.1192+c*.9505;return[s*100,d*100,p*100]},a.rgb.lab=function(i){let l=a.rgb.xyz(i),u=l[0],c=l[1],s=l[2];u/=95.047,c/=100,s/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;let d=116*c-16,p=500*(u-c),f=200*(c-s);return[d,p,f]},a.hsl.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,s,d,p;if(u===0)return p=c*255,[p,p,p];c<.5?s=c*(1+u):s=c+u-c*u;let f=2*c-s,h=[0,0,0];for(let m=0;m<3;m++)d=l+1/3*-(m-1),d<0&&d++,d>1&&d--,6*d<1?p=f+(s-f)*6*d:2*d<1?p=s:3*d<2?p=f+(s-f)*(2/3-d)*6:p=f,h[m]=p*255;return h},a.hsl.hsv=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,s=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,s*=d<=1?d:2-d;let p=(c+u)/2,f=c===0?2*s/(d+s):2*u/(c+u);return[l,f*100,p*100]},a.hsv.rgb=function(i){let l=i[0]/60,u=i[1]/100,c=i[2]/100,s=Math.floor(l)%6,d=l-Math.floor(l),p=255*c*(1-u),f=255*c*(1-u*d),h=255*c*(1-u*(1-d));switch(c*=255,s){case 0:return[c,h,p];case 1:return[f,c,p];case 2:return[p,c,h];case 3:return[p,f,c];case 4:return[h,p,c];case 5:return[c,p,f]}},a.hsv.hsl=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,s=Math.max(c,.01),d,p;p=(2-u)*c;let f=(2-u)*s;return d=u*s,d/=f<=1?f:2-f,d=d||0,p/=2,[l,d*100,p*100]},a.hwb.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,s=u+c,d;s>1&&(u/=s,c/=s);let p=Math.floor(6*l),f=1-c;d=6*l-p,p&1&&(d=1-d);let h=u+d*(f-u),m,g,b;switch(p){default:case 6:case 0:m=f,g=h,b=u;break;case 1:m=h,g=f,b=u;break;case 2:m=u,g=f,b=h;break;case 3:m=u,g=h,b=f;break;case 4:m=h,g=u,b=f;break;case 5:m=f,g=u,b=h;break}return[m*255,g*255,b*255]},a.cmyk.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,s=i[3]/100,d=1-Math.min(1,l*(1-s)+s),p=1-Math.min(1,u*(1-s)+s),f=1-Math.min(1,c*(1-s)+s);return[d*255,p*255,f*255]},a.xyz.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,s,d,p;return s=l*3.2406+u*-1.5372+c*-.4986,d=l*-.9689+u*1.8758+c*.0415,p=l*.0557+u*-.204+c*1.057,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,s=Math.min(Math.max(0,s),1),d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),[s*255,d*255,p*255]},a.xyz.lab=function(i){let l=i[0],u=i[1],c=i[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let s=116*u-16,d=500*(l-u),p=200*(u-c);return[s,d,p]},a.lab.xyz=function(i){let l=i[0],u=i[1],c=i[2],s,d,p;d=(l+16)/116,s=u/500+d,p=d-c/200;let f=d**3,h=s**3,m=p**3;return d=f>.008856?f:(d-16/116)/7.787,s=h>.008856?h:(s-16/116)/7.787,p=m>.008856?m:(p-16/116)/7.787,s*=95.047,d*=100,p*=108.883,[s,d,p]},a.lab.lch=function(i){let l=i[0],u=i[1],c=i[2],s;s=Math.atan2(c,u)*360/2/Math.PI,s<0&&(s+=360);let d=Math.sqrt(u*u+c*c);return[l,d,s]},a.lch.lab=function(i){let l=i[0],u=i[1],c=i[2]/360*2*Math.PI,s=u*Math.cos(c),d=u*Math.sin(c);return[l,s,d]},a.rgb.ansi16=function(i,l=null){let[u,c,s]=i,d=l===null?a.rgb.hsv(i)[2]:l;if(d=Math.round(d/50),d===0)return 30;let p=30+(Math.round(s/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(p+=60),p},a.hsv.ansi16=function(i){return a.rgb.ansi16(a.hsv.rgb(i),i[2])},a.rgb.ansi256=function(i){let l=i[0],u=i[1],c=i[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},a.ansi16.rgb=function(i){let l=i%10;if(l===0||l===7)return i>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(i>50)+1)*.5,c=(l&1)*u*255,s=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return[c,s,d]},a.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let l,u=Math.floor(i/36)/5*255,c=Math.floor((l=i%36)/6)/5*255,s=l%6/5*255;return[u,c,s]},a.rgb.hex=function(i){let l=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.hex.rgb=function(i){let l=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(f=>f+f).join(""));let c=parseInt(u,16),s=c>>16&255,d=c>>8&255,p=c&255;return[s,d,p]},a.rgb.hcg=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),p=s-d,f,h;return p<1?f=d/(1-p):f=0,p<=0?h=0:s===l?h=(u-c)/p%6:s===u?h=2+(c-l)/p:h=4+(l-u)/p,h/=6,h%=1,[h*360,p*100,f*100]},a.hsl.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=u<.5?2*l*u:2*l*(1-u),s=0;return c<1&&(s=(u-.5*c)/(1-c)),[i[0],c*100,s*100]},a.hsv.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=l*u,s=0;return c<1&&(s=(u-c)/(1-c)),[i[0],c*100,s*100]},a.hcg.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100;if(u===0)return[c*255,c*255,c*255];let s=[0,0,0],d=l%1*6,p=d%1,f=1-p,h=0;switch(Math.floor(d)){case 0:s[0]=1,s[1]=p,s[2]=0;break;case 1:s[0]=f,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=p;break;case 3:s[0]=0,s[1]=f,s[2]=1;break;case 4:s[0]=p,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=f}return h=(1-u)*c,[(u*s[0]+h)*255,(u*s[1]+h)*255,(u*s[2]+h)*255]},a.hcg.hsv=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l),s=0;return c>0&&(s=l/c),[i[0],s*100,c*100]},a.hcg.hsl=function(i){let l=i[1]/100,u=i[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[i[0],c*100,u*100]},a.hcg.hwb=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l);return[i[0],(c-l)*100,(1-c)*100]},a.hwb.hcg=function(i){let l=i[1]/100,u=1-i[2]/100,c=u-l,s=0;return c<1&&(s=(u-c)/(1-c)),[i[0],c*100,s*100]},a.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},a.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},a.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},a.gray.hsl=function(i){return[0,0,i[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(i){return[0,100,i[0]]},a.gray.cmyk=function(i){return[0,0,0,i[0]]},a.gray.lab=function(i){return[i[0],0,0]},a.gray.hex=function(i){let l=Math.round(i[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},a.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),ew=T({"../../node_modules/color-convert/route.js"(e,t){var r=Ad();function n(){let l={},u=Object.keys(r);for(let c=u.length,s=0;s1&&(s=d),u(s))};return"conversion"in u&&(c.conversion=u.conversion),c}function l(u){let c=function(...s){let d=s[0];if(d==null)return d;d.length>1&&(s=d);let p=u(s);if(typeof p=="object")for(let f=p.length,h=0;h{a[u]={},Object.defineProperty(a[u],"channels",{value:r[u].channels}),Object.defineProperty(a[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(s=>{let d=c[s];a[u][s]=l(d),a[u][s].raw=i(d)})}),t.exports=a}}),rw=T({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,p)=>(...f)=>`\x1B[${d(...f)+p}m`,n=(d,p)=>(...f)=>{let h=d(...f);return`\x1B[${38+p};5;${h}m`},a=(d,p)=>(...f)=>{let h=d(...f);return`\x1B[${38+p};2;${h[0]};${h[1]};${h[2]}m`},o=d=>d,i=(d,p,f)=>[d,p,f],l=(d,p,f)=>{Object.defineProperty(d,p,{get:()=>{let h=f();return Object.defineProperty(d,p,{value:h,enumerable:!0,configurable:!0}),h},enumerable:!0,configurable:!0})},u,c=(d,p,f,h)=>{u===void 0&&(u=tw());let m=h?10:0,g={};for(let[b,y]of Object.entries(u)){let R=b==="ansi16"?"ansi":b;b===p?g[R]=d(f,m):typeof y=="object"&&(g[R]=d(y[p],m))}return g};function s(){let d=new Map,p={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};p.color.gray=p.color.blackBright,p.bgColor.bgGray=p.bgColor.bgBlackBright,p.color.grey=p.color.blackBright,p.bgColor.bgGrey=p.bgColor.bgBlackBright;for(let[f,h]of Object.entries(p)){for(let[m,g]of Object.entries(h))p[m]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},h[m]=p[m],d.set(g[0],g[1]);Object.defineProperty(p,f,{value:h,enumerable:!1})}return Object.defineProperty(p,"codes",{value:d,enumerable:!1}),p.color.close="\x1B[39m",p.bgColor.close="\x1B[49m",l(p.color,"ansi",()=>c(r,"ansi16",o,!1)),l(p.color,"ansi256",()=>c(n,"ansi256",o,!1)),l(p.color,"ansi16m",()=>c(a,"rgb",i,!1)),l(p.bgColor,"ansi",()=>c(r,"ansi16",o,!0)),l(p.bgColor,"ansi256",()=>c(n,"ansi256",o,!0)),l(p.bgColor,"ansi16m",()=>c(a,"rgb",i,!0)),p}Object.defineProperty(t,"exports",{enumerable:!0,get:s})}}),nw=T({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),aw=T({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(a,o,i)=>{let l=a.indexOf(o);if(l===-1)return a;let u=o.length,c=0,s="";do s+=a.substr(c,l-c)+o+i,c=l+u,l=a.indexOf(o,c);while(l!==-1);return s+=a.substr(c),s},n=(a,o,i,l)=>{let u=0,c="";do{let s=a[l-1]==="\r";c+=a.substr(u,(s?l-1:l)-u)+o+(s?`\r +`:` +`)+i,u=l+1,l=a.indexOf(` +`,u)}while(l!==-1);return c+=a.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),ow=T({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let p=d[0]==="u",f=d[1]==="{";return p&&!f&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):p&&f?String.fromCodePoint(parseInt(d.slice(2,-1),16)):i.get(d)||d}function u(d,p){let f=[],h=p.trim().split(/\s*,\s*/g),m;for(let g of h){let b=Number(g);if(!Number.isNaN(b))f.push(b);else if(m=g.match(a))f.push(m[2].replace(o,(y,R,_)=>R?l(R):_));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${d}')`)}return f}function c(d){n.lastIndex=0;let p=[],f;for(;(f=n.exec(d))!==null;){let h=f[1];if(f[2]){let m=u(h,f[2]);p.push([h].concat(m))}else p.push([h])}return p}function s(d,p){let f={};for(let m of p)for(let g of m.styles)f[g[0]]=m.inverse?null:g.slice(1);let h=d;for(let[m,g]of Object.entries(f))if(Array.isArray(g)){if(!(m in h))throw new Error(`Unknown Chalk style: ${m}`);h=g.length>0?h[m](...g):h[m]}return h}t.exports=(d,p)=>{let f=[],h=[],m=[];if(p.replace(r,(g,b,y,R,_,C)=>{if(b)m.push(l(b));else if(R){let w=m.join("");m=[],h.push(f.length===0?w:s(d,f)(w)),f.push({inverse:y,styles:c(R)})}else if(_){if(f.length===0)throw new Error("Found extraneous } in Chalk template literal");h.push(s(d,f)(m.join(""))),m=[],f.pop()}else m.push(C)}),h.push(m.join("")),f.length>0){let g=`Chalk template literal is missing ${f.length} closing bracket${f.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return h.join("")}}}),qd=T({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=rw(),{stdout:n,stderr:a}=nw(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:i}=aw(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=(C,w={})=>{if(w.level>3||w.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let v=n?n.level:0;C.level=w.level===void 0?v:w.level},s=class{constructor(C){return d(C)}},d=C=>{let w={};return c(w,C),w.template=(...v)=>R(w.template,...v),Object.setPrototypeOf(w,p.prototype),Object.setPrototypeOf(w.template,w),w.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},w.template.Instance=s,w.template};function p(C){return d(C)}for(let[C,w]of Object.entries(r))u[C]={get(){let v=g(this,m(w.open,w.close,this._styler),this._isEmpty);return Object.defineProperty(this,C,{value:v}),v}};u.visible={get(){let C=g(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:C}),C}};var f=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let C of f)u[C]={get(){let{level:w}=this;return function(...v){let E=m(r.color[l[w]][C](...v),r.color.close,this._styler);return g(this,E,this._isEmpty)}}};for(let C of f){let w="bg"+C[0].toUpperCase()+C.slice(1);u[w]={get(){let{level:v}=this;return function(...E){let O=m(r.bgColor[l[v]][C](...E),r.bgColor.close,this._styler);return g(this,O,this._isEmpty)}}}}var h=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(C){this._generator.level=C}}}),m=(C,w,v)=>{let E,O;return v===void 0?(E=C,O=w):(E=v.openAll+C,O=w+v.closeAll),{open:C,close:w,openAll:E,closeAll:O,parent:v}},g=(C,w,v)=>{let E=(...O)=>b(E,O.length===1?""+O[0]:O.join(" "));return E.__proto__=h,E._generator=C,E._styler=w,E._isEmpty=v,E},b=(C,w)=>{if(C.level<=0||!w)return C._isEmpty?"":w;let v=C._styler;if(v===void 0)return w;let{openAll:E,closeAll:O}=v;if(w.indexOf("\x1B")!==-1)for(;v!==void 0;)w=o(w,v.close,v.open),v=v.parent;let M=w.indexOf(` +`);return M!==-1&&(w=i(w,O,E,M)),E+w+O},y,R=(C,...w)=>{let[v]=w;if(!Array.isArray(v))return w.join(" ");let E=w.slice(1),O=[v.raw[0]];for(let M=1;M-1}t.exports=n}}),cw=T({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=sa();function n(a,o){var i=this.__data__,l=r(i,a);return l<0?(++this.size,i.push([a,o])):i[l][1]=o,this}t.exports=n}}),ua=T({"../../node_modules/lodash/_ListCache.js"(e,t){var r=iw(),n=lw(),a=sw(),o=uw(),i=cw();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++cm))return!1;var b=f.get(u),y=f.get(c);if(b&&y)return b==c&&y==u;var R=-1,_=!0,C=s&i?new r:void 0;for(f.set(u,c),f.set(c,u);++R-1&&o%1==0&&o-1&&a%1==0&&a<=r}t.exports=n}}),e1=T({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=ca(),n=kd(),a=pa(),o="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",s="[object Function]",d="[object Map]",p="[object Number]",f="[object Object]",h="[object RegExp]",m="[object Set]",g="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",R="[object DataView]",_="[object Float32Array]",C="[object Float64Array]",w="[object Int8Array]",v="[object Int16Array]",E="[object Int32Array]",O="[object Uint8Array]",M="[object Uint8ClampedArray]",N="[object Uint16Array]",k="[object Uint32Array]",j={};j[_]=j[C]=j[w]=j[v]=j[E]=j[O]=j[M]=j[N]=j[k]=!0,j[o]=j[i]=j[y]=j[l]=j[R]=j[u]=j[c]=j[s]=j[d]=j[p]=j[f]=j[h]=j[m]=j[g]=j[b]=!1;function I(B){return a(B)&&n(B.length)&&!!j[r(B)]}t.exports=I}}),t1=T({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(a){return n(a)}}t.exports=r}}),r1=T({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=Md(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,o=a&&a.exports===n,i=o&&r.process,l=function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();t.exports=l}}),Dd=T({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=e1(),n=t1(),a=r1(),o=a&&a.isTypedArray,i=o?n(o):r;t.exports=i}}),n1=T({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Yw(),n=Xw(),a=Ni(),o=Bd(),i=Zw(),l=Dd(),u=Object.prototype,c=u.hasOwnProperty;function s(d,p){var f=a(d),h=!f&&n(d),m=!f&&!h&&o(d),g=!f&&!h&&!m&&l(d),b=f||h||m||g,y=b?r(d.length,String):[],R=y.length;for(var _ in d)(p||c.call(d,_))&&!(b&&(_=="length"||m&&(_=="offset"||_=="parent")||g&&(_=="buffer"||_=="byteLength"||_=="byteOffset")||i(_,R)))&&y.push(_);return y}t.exports=s}}),a1=T({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(a){var o=a&&a.constructor,i=typeof o=="function"&&o.prototype||r;return a===i}t.exports=n}}),o1=T({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,a){return function(o){return n(a(o))}}t.exports=r}}),i1=T({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=o1(),n=r(Object.keys,Object);t.exports=n}}),l1=T({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=a1(),n=i1(),a=Object.prototype,o=a.hasOwnProperty;function i(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))o.call(l,c)&&c!="constructor"&&u.push(c);return u}t.exports=i}}),s1=T({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=Nd(),n=kd();function a(o){return o!=null&&n(o.length)&&!r(o)}t.exports=a}}),u1=T({"../../node_modules/lodash/keys.js"(e,t){var r=n1(),n=l1(),a=s1();function o(i){return a(i)?r(i):n(i)}t.exports=o}}),c1=T({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=Vw(),n=Kw(),a=u1();function o(i){return r(i,a,n)}t.exports=o}}),d1=T({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=c1(),n=1,a=Object.prototype,o=a.hasOwnProperty;function i(l,u,c,s,d,p){var f=c&n,h=r(l),m=h.length,g=r(u),b=g.length;if(m!=b&&!f)return!1;for(var y=m;y--;){var R=h[y];if(!(f?R in u:o.call(u,R)))return!1}var _=p.get(l),C=p.get(u);if(_&&C)return _==u&&C==l;var w=!0;p.set(l,u),p.set(u,l);for(var v=f;++y=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&s==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&i==1&&u==45){c+="\\"+o.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=o.charAt(l);continue}c+="\\"+o.charAt(l)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Hd=T({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){var r=(o=0)=>i=>`\x1B[${38+o};5;${i}m`,n=(o=0)=>(i,l,u)=>`\x1B[${38+o};2;${i};${l};${u}m`;function a(){let o=new Map,i={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]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[l,u]of Object.entries(i)){for(let[c,s]of Object.entries(u))i[c]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[c]=i[c],o.set(s[0],s[1]);Object.defineProperty(i,l,{value:u,enumerable:!1})}return Object.defineProperty(i,"codes",{value:o,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let s=Number.parseInt(c,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:l=>i.rgbToAnsi256(...i.hexToRgb(l)),enumerable:!1}}),i}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),ha=T({"../../node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=(i,l)=>{let u=Object.keys(i).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(c=>{Object.getOwnPropertyDescriptor(i,c).enumerable&&u.push(c)}),u};function r(i,l,u,c,s,d,p=": "){let f="",h=i.next();if(!h.done){f+=l.spacingOuter;let m=u+l.indent;for(;!h.done;){let g=d(h.value[0],l,m,c,s),b=d(h.value[1],l,m,c,s);f+=m+g+p+b,h=i.next(),h.done?l.min||(f+=","):f+=","+l.spacingInner}f+=l.spacingOuter+u}return f}function n(i,l,u,c,s,d){let p="",f=i.next();if(!f.done){p+=l.spacingOuter;let h=u+l.indent;for(;!f.done;)p+=h+d(f.value,l,h,c,s),f=i.next(),f.done?l.min||(p+=","):p+=","+l.spacingInner;p+=l.spacingOuter+u}return p}function a(i,l,u,c,s,d){let p="";if(i.length){p+=l.spacingOuter;let f=u+l.indent;for(let h=0;h{let g=s.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++f>d.maxDepth?"["+g+"]":g+o+"["+(0,t.printListItems)(s.sample,d,p,f,h,m)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++f>d.maxDepth?"["+g+"]":g+o+"{"+(0,t.printObjectProperties)(s.sample,d,p,f,h,m)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+o+m(s.sample,d,p,f,h):s.toAsymmetricMatcher()};e.serialize=i;var l=s=>s&&s.$$typeof===a;e.test=l;var u={serialize:i,test:l},c=u;e.default=c}}),_1=T({"../../node_modules/pretty-format/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),E1=T({"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(_1()),r=n(Hd());function n(c){return c&&c.__esModule?c:{default:c}}var a=c=>c.replace((0,t.default)(),s=>{switch(s){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"";case r.default.red.open:return"";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""}}),o=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=o;var i=(c,s,d,p,f,h)=>h(a(c),s,d,p,f);e.serialize=i;var l={serialize:i,test:o},u=l;e.default=u}}),w1=T({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ha(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=d=>n.indexOf(d)!==-1||a.test(d),i=d=>d&&d.constructor&&!!d.constructor.name&&o(d.constructor.name);e.test=i;var l=d=>d.constructor.name==="NamedNodeMap",u=(d,p,f,h,m,g)=>{let b=d.constructor.name;return++h>p.maxDepth?"["+b+"]":(p.min?"":b+r)+(n.indexOf(b)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((y,R)=>(y[R.name]=R.value,y),{}):{...d},p,f,h,m,g)+"}":"["+(0,t.printListItems)(Array.from(d),p,f,h,m,g)+"]")};e.serialize=u;var c={serialize:u,test:i},s=c;e.default=s}}),C1=T({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),ji=T({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(C1());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,s,d,p,f,h,m)=>{let g=p+d.indent,b=d.colors;return c.map(y=>{let R=s[y],_=m(R,d,g,f,h);return typeof R!="string"&&(_.indexOf(` +`)!==-1&&(_=d.spacingOuter+g+_+d.spacingOuter+p),_="{"+_+"}"),d.spacingInner+p+b.prop.open+y+b.prop.close+"="+b.value.open+_+b.value.close}).join("")};e.printProps=n;var a=(c,s,d,p,f,h)=>c.map(m=>s.spacingOuter+d+(typeof m=="string"?o(m,s):h(m,s,d,p,f))).join("");e.printChildren=a;var o=(c,s)=>{let d=s.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=o;var i=(c,s)=>{let d=s.colors.comment;return d.open+""+d.close};e.printComment=i;var l=(c,s,d,p,f)=>{let h=p.colors.tag;return h.open+"<"+c+(s&&h.close+s+p.spacingOuter+f+h.open)+(d?">"+h.close+d+p.spacingOuter+f+h.open+""+h.close};e.printElement=l;var u=(c,s)=>{let d=s.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u}}),R1=T({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ji(),r=1,n=3,a=8,o=11,i=/^((HTML|SVG)\w*)?Element$/,l=g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},u=g=>{let b=g.constructor.name,{nodeType:y,tagName:R}=g,_=typeof R=="string"&&R.includes("-")||l(g);return y===r&&(i.test(b)||_)||y===n&&b==="Text"||y===a&&b==="Comment"||y===o&&b==="DocumentFragment"},c=g=>{var b;return(g==null||(b=g.constructor)===null||b===void 0?void 0:b.name)&&u(g)};e.test=c;function s(g){return g.nodeType===n}function d(g){return g.nodeType===a}function p(g){return g.nodeType===o}var f=(g,b,y,R,_,C)=>{if(s(g))return(0,t.printText)(g.data,b);if(d(g))return(0,t.printComment)(g.data,b);let w=p(g)?"DocumentFragment":g.tagName.toLowerCase();return++R>b.maxDepth?(0,t.printElementAsLeaf)(w,b):(0,t.printElement)(w,(0,t.printProps)(p(g)?[]:Array.from(g.attributes).map(v=>v.name).sort(),p(g)?{}:Array.from(g.attributes).reduce((v,E)=>(v[E.name]=E.value,v),{}),b,y+b.indent,R,_,C),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),b,y+b.indent,R,_,C),b,y)};e.serialize=f;var h={serialize:f,test:c},m=h;e.default=m}}),T1=T({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ha(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",s="@@__IMMUTABLE_STACK__@@",d=E=>"Immutable."+E,p=E=>"["+E+"]",f=" ",h="…",m=(E,O,M,N,k,j,I)=>++N>O.maxDepth?p(d(I)):d(I)+f+"{"+(0,t.printIteratorEntries)(E.entries(),O,M,N,k,j)+"}";function g(E){let O=0;return{next(){if(O{let I=d(E._name||"Record");return++N>O.maxDepth?p(I):I+f+"{"+(0,t.printIteratorEntries)(g(E),O,M,N,k,j)+"}"},y=(E,O,M,N,k,j)=>{let I=d("Seq");return++N>O.maxDepth?p(I):E[a]?I+f+"{"+(E._iter||E._object?(0,t.printIteratorEntries)(E.entries(),O,M,N,k,j):h)+"}":I+f+"["+(E._iter||E._array||E._collection||E._iterable?(0,t.printIteratorValues)(E.values(),O,M,N,k,j):h)+"]"},R=(E,O,M,N,k,j,I)=>++N>O.maxDepth?p(d(I)):d(I)+f+"["+(0,t.printIteratorValues)(E.values(),O,M,N,k,j)+"]",_=(E,O,M,N,k,j)=>E[o]?m(E,O,M,N,k,j,E[i]?"OrderedMap":"Map"):E[n]?R(E,O,M,N,k,j,"List"):E[c]?R(E,O,M,N,k,j,E[i]?"OrderedSet":"Set"):E[s]?R(E,O,M,N,k,j,"Stack"):E[u]?y(E,O,M,N,k,j):b(E,O,M,N,k,j);e.serialize=_;var C=E=>E&&(E[r]===!0||E[l]===!0);e.test=C;var w={serialize:_,test:C},v=w;e.default=v}}),S1=T({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=60103,r=60106,n=60107,a=60108,o=60114,i=60109,l=60110,u=60112,c=60113,s=60120,d=60115,p=60116,f=60121,h=60122,m=60117,g=60129,b=60131;if(typeof Symbol=="function"&&Symbol.for){var y=Symbol.for;t=y("react.element"),r=y("react.portal"),n=y("react.fragment"),a=y("react.strict_mode"),o=y("react.profiler"),i=y("react.provider"),l=y("react.context"),u=y("react.forward_ref"),c=y("react.suspense"),s=y("react.suspense_list"),d=y("react.memo"),p=y("react.lazy"),f=y("react.block"),h=y("react.server.block"),m=y("react.fundamental"),y("react.scope"),y("react.opaque.id"),g=y("react.debug_trace_mode"),y("react.offscreen"),b=y("react.legacy_hidden")}var R=!1;function _(U){return!!(typeof U=="string"||typeof U=="function"||U===n||U===o||U===g||U===a||U===c||U===s||U===b||R||typeof U=="object"&&U!==null&&(U.$$typeof===p||U.$$typeof===d||U.$$typeof===i||U.$$typeof===l||U.$$typeof===u||U.$$typeof===m||U.$$typeof===f||U[0]===h))}function C(U){if(typeof U=="object"&&U!==null){var Q=U.$$typeof;switch(Q){case t:var $=U.type;switch($){case n:case o:case a:case c:case s:return $;default:var se=$&&$.$$typeof;switch(se){case l:case u:case p:case d:case i:return se;default:return Q}}case r:return Q}}}var w=l,v=i,E=t,O=u,M=n,N=p,k=d,j=r,I=o,B=a,z=c,K=!1,W=!1;function re(U){return K||(K=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function me(U){return W||(W=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(U){return C(U)===l}function F(U){return C(U)===i}function L(U){return typeof U=="object"&&U!==null&&U.$$typeof===t}function D(U){return C(U)===u}function G(U){return C(U)===n}function Y(U){return C(U)===p}function ne(U){return C(U)===d}function fe(U){return C(U)===r}function Be(U){return C(U)===o}function q(U){return C(U)===a}function V(U){return C(U)===c}e.ContextConsumer=w,e.ContextProvider=v,e.Element=E,e.ForwardRef=O,e.Fragment=M,e.Lazy=N,e.Memo=k,e.Portal=j,e.Profiler=I,e.StrictMode=B,e.Suspense=z,e.isAsyncMode=re,e.isConcurrentMode=me,e.isContextConsumer=de,e.isContextProvider=F,e.isElement=L,e.isForwardRef=D,e.isFragment=G,e.isLazy=Y,e.isMemo=ne,e.isPortal=fe,e.isProfiler=Be,e.isStrictMode=q,e.isSuspense=V,e.isValidElementType=_,e.typeOf=C})()}}),P1=T({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){t.exports=S1()}}),O1=T({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(P1()),r=ji();function n(p){if(typeof WeakMap!="function")return null;var f=new WeakMap,h=new WeakMap;return(n=function(m){return m?h:f})(p)}function a(p,f){if(p&&p.__esModule)return p;if(p===null||typeof p!="object"&&typeof p!="function")return{default:p};var h=n(f);if(h&&h.has(p))return h.get(p);var m={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in p)if(b!=="default"&&Object.prototype.hasOwnProperty.call(p,b)){var y=g?Object.getOwnPropertyDescriptor(p,b):null;y&&(y.get||y.set)?Object.defineProperty(m,b,y):m[b]=p[b]}return m.default=p,h&&h.set(p,m),m}var o=(p,f=[])=>(Array.isArray(p)?p.forEach(h=>{o(h,f)}):p!=null&&p!==!1&&f.push(p),f),i=p=>{let f=p.type;if(typeof f=="string")return f;if(typeof f=="function")return f.displayName||f.name||"Unknown";if(t.isFragment(p))return"React.Fragment";if(t.isSuspense(p))return"React.Suspense";if(typeof f=="object"&&f!==null){if(t.isContextProvider(p))return"Context.Provider";if(t.isContextConsumer(p))return"Context.Consumer";if(t.isForwardRef(p)){if(f.displayName)return f.displayName;let h=f.render.displayName||f.render.name||"";return h!==""?"ForwardRef("+h+")":"ForwardRef"}if(t.isMemo(p)){let h=f.displayName||f.type.displayName||f.type.name||"";return h!==""?"Memo("+h+")":"Memo"}}return"UNDEFINED"},l=p=>{let{props:f}=p;return Object.keys(f).filter(h=>h!=="children"&&f[h]!==void 0).sort()},u=(p,f,h,m,g,b)=>++m>f.maxDepth?(0,r.printElementAsLeaf)(i(p),f):(0,r.printElement)(i(p),(0,r.printProps)(l(p),p.props,f,h+f.indent,m,g,b),(0,r.printChildren)(o(p.props.children),f,h+f.indent,m,g,b),f,h);e.serialize=u;var c=p=>p!=null&&t.isElement(p);e.test=c;var s={serialize:u,test:c},d=s;e.default=d}}),A1=T({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ji(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=s=>{let{props:d}=s;return d?Object.keys(d).filter(p=>d[p]!==void 0).sort():[]},i=(s,d,p,f,h,m)=>++f>d.maxDepth?(0,t.printElementAsLeaf)(s.type,d):(0,t.printElement)(s.type,s.props?(0,t.printProps)(o(s),s.props,d,p+d.indent,f,h,m):"",s.children?(0,t.printChildren)(s.children,d,p+d.indent,f,h,m):"",d,p);e.serialize=i;var l=s=>s&&s.$$typeof===a;e.test=l;var u={serialize:i,test:l},c=u;e.default=c}}),q1=T({"../../node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ne,e.plugins=void 0;var t=s(Hd()),r=ha(),n=s(v1()),a=s(E1()),o=s(w1()),i=s(R1()),l=s(T1()),u=s(O1()),c=s(A1());function s(q){return q&&q.__esModule?q:{default:q}}var d=Object.prototype.toString,p=Date.prototype.toISOString,f=Error.prototype.toString,h=RegExp.prototype.toString,m=q=>typeof q.constructor=="function"&&q.constructor.name||"Object",g=q=>typeof window<"u"&&q===window,b=/^Symbol\((.*)\)(.*)$/,y=/\n/gi,R=class extends Error{constructor(q,V){super(q),this.stack=V,this.name=this.constructor.name}};function _(q){return q==="[object Array]"||q==="[object ArrayBuffer]"||q==="[object DataView]"||q==="[object Float32Array]"||q==="[object Float64Array]"||q==="[object Int8Array]"||q==="[object Int16Array]"||q==="[object Int32Array]"||q==="[object Uint8Array]"||q==="[object Uint8ClampedArray]"||q==="[object Uint16Array]"||q==="[object Uint32Array]"}function C(q){return Object.is(q,-0)?"-0":String(q)}function w(q){return`${q}n`}function v(q,V){return V?"[Function "+(q.name||"anonymous")+"]":"[Function]"}function E(q){return String(q).replace(b,"Symbol($1)")}function O(q){return"["+f.call(q)+"]"}function M(q,V,U,Q){if(q===!0||q===!1)return""+q;if(q===void 0)return"undefined";if(q===null)return"null";let $=typeof q;if($==="number")return C(q);if($==="bigint")return w(q);if($==="string")return Q?'"'+q.replace(/"|\\/g,"\\$&")+'"':'"'+q+'"';if($==="function")return v(q,V);if($==="symbol")return E(q);let se=d.call(q);return se==="[object WeakMap]"?"WeakMap {}":se==="[object WeakSet]"?"WeakSet {}":se==="[object Function]"||se==="[object GeneratorFunction]"?v(q,V):se==="[object Symbol]"?E(q):se==="[object Date]"?isNaN(+q)?"Date { NaN }":p.call(q):se==="[object Error]"?O(q):se==="[object RegExp]"?U?h.call(q).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):h.call(q):q instanceof Error?O(q):null}function N(q,V,U,Q,$,se){if($.indexOf(q)!==-1)return"[Circular]";$=$.slice(),$.push(q);let ue=++Q>V.maxDepth,we=V.min;if(V.callToJSON&&!ue&&q.toJSON&&typeof q.toJSON=="function"&&!se)return B(q.toJSON(),V,U,Q,$,!0);let st=d.call(q);return st==="[object Arguments]"?ue?"[Arguments]":(we?"":"Arguments ")+"["+(0,r.printListItems)(q,V,U,Q,$,B)+"]":_(st)?ue?"["+q.constructor.name+"]":(we||!V.printBasicPrototype&&q.constructor.name==="Array"?"":q.constructor.name+" ")+"["+(0,r.printListItems)(q,V,U,Q,$,B)+"]":st==="[object Map]"?ue?"[Map]":"Map {"+(0,r.printIteratorEntries)(q.entries(),V,U,Q,$,B," => ")+"}":st==="[object Set]"?ue?"[Set]":"Set {"+(0,r.printIteratorValues)(q.values(),V,U,Q,$,B)+"}":ue||g(q)?"["+m(q)+"]":(we||!V.printBasicPrototype&&m(q)==="Object"?"":m(q)+" ")+"{"+(0,r.printObjectProperties)(q,V,U,Q,$,B)+"}"}function k(q){return q.serialize!=null}function j(q,V,U,Q,$,se){let ue;try{ue=k(q)?q.serialize(V,U,Q,$,se,B):q.print(V,we=>B(we,U,Q,$,se),we=>{let st=Q+U.indent;return st+we.replace(y,` +`+st)},{edgeSpacing:U.spacingOuter,min:U.min,spacing:U.spacingInner},U.colors)}catch(we){throw new R(we.message,we.stack)}if(typeof ue!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof ue}".`);return ue}function I(q,V){for(let U=0;U{if(!W.hasOwnProperty(V))throw new Error(`pretty-format: Unknown option "${V}".`)}),q.min&&q.indent!==void 0&&q.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(q.theme!==void 0){if(q.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof q.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof q.theme}".`)}}var me=q=>K.reduce((V,U)=>{let Q=q.theme&&q.theme[U]!==void 0?q.theme[U]:z[U],$=Q&&t.default[Q];if($&&typeof $.close=="string"&&typeof $.open=="string")V[U]=$;else throw new Error(`pretty-format: Option "theme" has a key "${U}" whose value "${Q}" is undefined in ansi-styles.`);return V},Object.create(null)),de=()=>K.reduce((q,V)=>(q[V]={close:"",open:""},q),Object.create(null)),F=q=>q&&q.printFunctionName!==void 0?q.printFunctionName:W.printFunctionName,L=q=>q&&q.escapeRegex!==void 0?q.escapeRegex:W.escapeRegex,D=q=>q&&q.escapeString!==void 0?q.escapeString:W.escapeString,G=q=>{var V;return{callToJSON:q&&q.callToJSON!==void 0?q.callToJSON:W.callToJSON,colors:q&&q.highlight?me(q):de(),compareKeys:q&&typeof q.compareKeys=="function"?q.compareKeys:W.compareKeys,escapeRegex:L(q),escapeString:D(q),indent:q&&q.min?"":Y(q&&q.indent!==void 0?q.indent:W.indent),maxDepth:q&&q.maxDepth!==void 0?q.maxDepth:W.maxDepth,min:q&&q.min!==void 0?q.min:W.min,plugins:q&&q.plugins!==void 0?q.plugins:W.plugins,printBasicPrototype:(V=q==null?void 0:q.printBasicPrototype)!==null&&V!==void 0?V:!0,printFunctionName:F(q),spacingInner:q&&q.min?" ":` +`,spacingOuter:q&&q.min?"":` +`}};function Y(q){return new Array(q+1).join(" ")}function ne(q,V){if(V&&(re(V),V.plugins)){let Q=I(V.plugins,q);if(Q!==null)return j(Q,q,G(V),"",0,[])}let U=M(q,F(V),L(V),D(V));return U!==null?U:N(q,G(V),"",0,[])}var fe={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:i.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=fe;var Be=ne;e.default=Be}}),x1=T({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function l(c,s){if(!i[c]){i[c]={};for(var d=0;d>>8,d[p*2+1]=h%256}return d},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var s=new Array(c.length/2),d=0,p=s.length;d>1}else{for(f=1,p=0;p>1}R--,R==0&&(R=Math.pow(2,C),C++),delete m[y]}else for(f=h[y],p=0;p>1;R--,R==0&&(R=Math.pow(2,C),C++),h[b]=_++,y=String(g)}if(y!==""){if(Object.prototype.hasOwnProperty.call(m,y)){if(y.charCodeAt(0)<256){for(p=0;p>1}else{for(f=1,p=0;p>1}R--,R==0&&(R=Math.pow(2,C),C++),delete m[y]}else for(f=h[y],p=0;p>1;R--,R==0&&(R=Math.pow(2,C),C++)}for(f=2,p=0;p>1;for(;;)if(v=v<<1,E==s-1){w.push(d(v));break}else E++;return w.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(s){return c.charCodeAt(s)})},_decompress:function(c,s,d){var p=[],f=4,h=4,m=3,g="",b=[],y,R,_,C,w,v,E,O={val:d(0),position:s,index:1};for(y=0;y<3;y+=1)p[y]=y;for(_=0,w=Math.pow(2,2),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;switch(_){case 0:for(_=0,w=Math.pow(2,8),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;E=n(_);break;case 1:for(_=0,w=Math.pow(2,16),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;E=n(_);break;case 2:return""}for(p[3]=E,R=E,b.push(E);;){if(O.index>c)return"";for(_=0,w=Math.pow(2,m),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;switch(E=_){case 0:for(_=0,w=Math.pow(2,8),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;p[h++]=n(_),E=h-1,f--;break;case 1:for(_=0,w=Math.pow(2,16),v=1;v!=w;)C=O.val&O.position,O.position>>=1,O.position==0&&(O.position=s,O.val=d(O.index++)),_|=(C>0?1:0)*v,v<<=1;p[h++]=n(_),E=h-1,f--;break;case 2:return b.join("")}if(f==0&&(f=Math.pow(2,m),m++),p[E])g=p[E];else if(E===h)g=R+R.charAt(0);else return null;b.push(g),p[h++]=R+g.charAt(0),f--,R=g,f==0&&(f=Math.pow(2,m),m++)}}};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),zd=Object.defineProperty,M1=Object.getOwnPropertyNames,x=(e,t)=>zd(e,"name",{value:t,configurable:!0}),$1=(e,t)=>function(){return t||(0,e[M1(e)[0]])((t={exports:{}}).exports,t),t.exports},Ii=(e,t)=>{for(var r in t)zd(e,r,{get:t[r],enumerable:!0})},N1=$1({"(disabled):util"(){}}),nt={};Ii(nt,{addChainableMethod:()=>Ki,addLengthGuard:()=>pn,addMethod:()=>Vi,addProperty:()=>zi,checkError:()=>ke,compareByInspect:()=>Un,eql:()=>gf,expectTypes:()=>Xd,flag:()=>J,getActual:()=>ba,getMessage:()=>ki,getName:()=>ya,getOperator:()=>Qi,getOwnEnumerableProperties:()=>Xi,getOwnEnumerablePropertySymbols:()=>Ji,getPathInfo:()=>Hi,hasProperty:()=>ga,inspect:()=>ee,isNaN:()=>Hn,isProxyEnabled:()=>fn,isRegExp:()=>zn,objDisplay:()=>Ut,overwriteChainableMethod:()=>Yi,overwriteMethod:()=>Wi,overwriteProperty:()=>Gi,proxify:()=>Ar,test:()=>Li,transferFlags:()=>Ze,type:()=>ce});var ke={};Ii(ke,{compatibleConstructor:()=>Wd,compatibleInstance:()=>Gd,compatibleMessage:()=>Kd,getConstructorName:()=>Yd,getMessage:()=>Jd});function ma(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}x(ma,"isErrorInstance");function Vd(e){return Object.prototype.toString.call(e)==="[object RegExp]"}x(Vd,"isRegExp");function Gd(e,t){return ma(t)&&e===t}x(Gd,"compatibleInstance");function Wd(e,t){return ma(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}x(Wd,"compatibleConstructor");function Kd(e,t){let r=typeof e=="string"?e:e.message;return Vd(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}x(Kd,"compatibleMessage");function Yd(e){let t=e;return ma(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}x(Yd,"getConstructorName");function Jd(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}x(Jd,"getMessage");function J(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}x(J,"flag");function Li(e,t){var r=J(e,"negate"),n=t[0];return r?!n:n}x(Li,"test");function ce(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}x(ce,"type");var j1="captureStackTrace"in Error,wn,ie=(wn=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);ye(this,"message");this.message=t,j1&&Error.captureStackTrace(this,n||wn);for(let a in r)a in this||(this[a]=r[a])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},x(wn,"AssertionError"),wn);function Xd(e,t){var r=J(e,"message"),n=J(e,"ssfi");r=r?r+": ":"",e=J(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var a=t.map(function(i,l){var u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+i}).join(", "),o=ce(e).toLowerCase();if(!t.some(function(i){return o===i}))throw new ie(r+"object tested must be "+a+", but "+o+" given",void 0,n)}x(Xd,"expectTypes");function ba(e,t){return t.length>4?t[4]:e._obj}x(ba,"getActual");var Fs={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},I1={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mr="…";function Qd(e,t){let r=Fs[I1[t]]||Fs[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}x(Qd,"colorise");function Zd({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=Qd),d}x(Zd,"normaliseOptions");function _t(e,t,r=mr){e=String(e);let n=r.length,a=e.length;return n>t&&a>n?r:a>t&&a>n?`${e.slice(0,t-n)}${r}`:e}x(_t,"truncate");function Ve(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;co&&i.length+u.length<=o||!s&&!d&&m>o||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&m>o&&h+l.length>o))break;if(i+=f,!s&&!d&&h+l.length>=o){u=`${mr}(${e.length-c-1})`;break}u=""}return`${i}${u}`}x(Ve,"inspectList");function ef(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}x(ef,"quoteComplexKey");function br([e,t],r){return r.truncate-=2,typeof e=="string"?e=ef(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}x(br,"inspectProperty");function tf(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ve(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Ve(r.map(o=>[o,e[o]]),t,br)),`[ ${n}${a?`, ${a}`:""} ]`}x(tf,"inspectArray");var L1=x(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function tt(e,t){let r=L1(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i[i,e[i]]),t,br)),`${r}[ ${a}${o?`, ${o}`:""} ]`}x(tt,"inspectTypedArray");function rf(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${_t(n[1],t.truncate-a.length-1)}`,"date")}x(rf,"inspectDate");function Eo(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${_t(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}x(Eo,"inspectFunction");function nf([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}x(nf,"inspectMapEntry");function af(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}x(af,"mapToEntries");function of(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Ve(af(e),t,nf)} }`)}x(of,"inspectMap");var B1=Number.isNaN||(e=>e!==e);function wo(e,t){return B1(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(_t(String(e),t.truncate),"number")}x(wo,"inspectNumber");function Co(e,t){let r=_t(e.toString(),t.truncate-1);return r!==mr&&(r+="n"),t.stylize(r,"bigint")}x(Co,"inspectBigInt");function lf(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${_t(a,n)}/${r}`,"regexp")}x(lf,"inspectRegExp");function sf(e){let t=[];return e.forEach(r=>{t.push(r)}),t}x(sf,"arrayFromSet");function uf(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ve(sf(e),t)} }`)}x(uf,"inspectSet");var Us=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),k1={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},D1=16,F1=4;function cf(e){return k1[e]||`\\u${`0000${e.charCodeAt(0).toString(D1)}`.slice(-F1)}`}x(cf,"escape");function Ro(e,t){return Us.test(e)&&(e=e.replace(Us,cf)),t.stylize(`'${_t(e,t.truncate-2)}'`,"string")}x(Ro,"inspectString");function To(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}x(To,"inspectSymbol");var df=x(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(df=x((n,a)=>{let[o,i]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`},"getPromiseValue"))}catch{}var U1=df;function kr(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let a=Ve(r.map(l=>[l,e[l]]),t,br),o=Ve(n.map(l=>[l,e[l]]),t,br);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}x(kr,"inspectObject");var Ga=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function ff(e,t){let r="";return Ga&&Ga in e&&(r=e[Ga]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${kr(e,t)}`}x(ff,"inspectClass");function pf(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ve(e,t)} ]`)}x(pf,"inspectArguments");var H1=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function hf(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>H1.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";typeof e.message=="string"?a=_t(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5;let o=Ve(r.map(i=>[i,e[i]]),t,br);return`${n}${a}${o?` { ${o} }`:""}`}x(hf,"inspectObject");function mf([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}x(mf,"inspectAttribute");function kn(e,t){return Ve(e,t,Bi,` +`)}x(kn,"inspectHTMLCollection");function Bi(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(``,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ve(r.map(s=>[s,e.getAttribute(s)]),t,mf," ")),t.truncate-=l.length;let u=t.truncate,c=kn(e.children,t);return c&&c.length>u&&(c=`${mr}(${e.children.length})`),`${a}${l}${o}${c}${i}`}x(Bi,"inspectHTML");var z1=typeof Symbol=="function"&&typeof Symbol.for=="function",Wa=z1?Symbol.for("chai/inspect"):"@@chai/inspect",ar=!1;try{let e=N1();ar=e.inspect?e.inspect.custom:!1}catch{ar=!1}var Hs=new WeakMap,zs={},Vs={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:wo,Number:wo,bigint:Co,BigInt:Co,string:Ro,String:Ro,function:Eo,Function:Eo,symbol:To,Symbol:To,Array:tf,Date:rf,Map:of,Set:uf,RegExp:lf,Promise:U1,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:pf,Int8Array:tt,Uint8Array:tt,Uint8ClampedArray:tt,Int16Array:tt,Uint16Array:tt,Int32Array:tt,Uint32Array:tt,Float32Array:tt,Float64Array:tt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:hf,HTMLCollection:kn,NodeList:kn},V1=x((e,t,r)=>Wa in e&&typeof e[Wa]=="function"?e[Wa](t):ar&&ar in e&&typeof e[ar]=="function"?e[ar](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Hs.has(e.constructor)?Hs.get(e.constructor)(e,t):zs[r]?zs[r](e,t):"","inspectCustom"),G1=Object.prototype.toString;function Dn(e,t={}){let r=Zd(t,Dn),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=G1.call(e).slice(8,-1)),a in Vs)return Vs[a](e,r);if(n&&e){let i=V1(e,r,a);if(i)return typeof i=="string"?i:Dn(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?kr(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Bi(e,r):"constructor"in e?e.constructor!==Object?ff(e,r):kr(e,r):e===Object(e)?kr(e,r):r.stylize(String(e),a)}x(Dn,"inspect");var Ie={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function ee(e,t,r,n){var a={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Ie.truncateThreshold?Ie.truncateThreshold:1/0};return Dn(e,a)}x(ee,"inspect");function Ut(e){var t=ee(e),r=Object.prototype.toString.call(e);if(Ie.truncateThreshold&&t.length>=Ie.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),a=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+a+") }"}else return t}else return t}x(Ut,"objDisplay");function ki(e,t){var r=J(e,"negate"),n=J(e,"object"),a=t[3],o=ba(e,t),i=r?t[2]:t[1],l=J(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Ut(n)}).replace(/#\{act\}/g,function(){return Ut(o)}).replace(/#\{exp\}/g,function(){return Ut(a)}),l?l+": "+i:i}x(ki,"getMessage");function Ze(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}x(Ze,"transferFlags");function So(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}x(So,"type");function Di(){this._key="chai/deep-eql__"+Math.random()+Date.now()}x(Di,"FakeMap");Di.prototype={get:x(function(e){return e[this._key]},"get"),set:x(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var bf=typeof WeakMap=="function"?WeakMap:Di;function Po(e,t,r){if(!r||Vt(e)||Vt(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}x(Po,"memoizeCompare");function jr(e,t,r,n){if(!(!r||Vt(e)||Vt(t))){var a=r.get(e);a?a.set(t,n):(a=new bf,a.set(t,n),r.set(e,a))}}x(jr,"memoizeSet");var gf=dn;function dn(e,t,r){if(r&&r.comparator)return Oo(e,t,r);var n=Fi(e,t);return n!==null?n:Oo(e,t,r)}x(dn,"deepEqual");function Fi(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Vt(e)||Vt(t)?!1:null}x(Fi,"simpleEqual");function Oo(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new bf;var n=r&&r.comparator,a=Po(e,t,r.memoize);if(a!==null)return a;var o=Po(t,e,r.memoize);if(o!==null)return o;if(n){var i=n(e,t);if(i===!1||i===!0)return jr(e,t,r.memoize,i),i;var l=Fi(e,t);if(l!==null)return l}var u=So(e);if(u!==So(t))return jr(e,t,r.memoize,!1),!1;jr(e,t,r.memoize,!0);var c=yf(e,t,u,r);return jr(e,t,r.memoize,c),c}x(Oo,"extensiveDeepEqual");function yf(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return dn(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Ui(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return xt(e,t,n);case"RegExp":return vf(e,t);case"Generator":return _f(e,t,n);case"DataView":return xt(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return xt(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Ao(e,t,n);case"Map":return Ao(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return wf(e,t,n)}}x(yf,"extensiveDeepEqualByType");function vf(e,t){return e.toString()===t.toString()}x(vf,"regexpEqual");function Ao(e,t,r){if(e.size!==t.size)return!1;if(e.size===0)return!0;var n=[],a=[];return e.forEach(x(function(o,i){n.push([o,i])},"gatherEntries")),t.forEach(x(function(o,i){a.push([o,i])},"gatherEntries")),xt(n.sort(),a.sort(),r)}x(Ao,"entriesEqual");function xt(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a"u"||e===null?!1:t in Object(e)}x(ga,"hasProperty");function Cf(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}x(Cf,"parsePath");function No(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o"u"?n=n[i.i]:n=n[i.p],o===r-1&&(a=n))}return a}x(No,"internalGetPathValue");function Hi(e,t){let r=Cf(t),n=r[r.length-1],a={parent:r.length>1?No(e,r,r.length-1):e,name:n.p||n.i,value:No(e,r)};return a.exists=ga(a.parent,a.name),a}x(Hi,"getPathInfo");function P(e,t,r,n){return J(this,"ssfi",r||P),J(this,"lockSsfi",n),J(this,"object",e),J(this,"message",t),J(this,"eql",Ie.deepEqual||gf),Ar(this)}x(P,"Assertion");Object.defineProperty(P,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ie.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Ie.includeStack=e}});Object.defineProperty(P,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ie.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Ie.showDiff=e}});P.addProperty=function(e,t){zi(this.prototype,e,t)};P.addMethod=function(e,t){Vi(this.prototype,e,t)};P.addChainableMethod=function(e,t,r){Ki(this.prototype,e,t,r)};P.overwriteProperty=function(e,t){Gi(this.prototype,e,t)};P.overwriteMethod=function(e,t){Wi(this.prototype,e,t)};P.overwriteChainableMethod=function(e,t,r){Yi(this.prototype,e,t,r)};P.prototype.assert=function(e,t,r,n,a,o){var i=Li(this,arguments);if(o!==!1&&(o=!0),n===void 0&&a===void 0&&(o=!1),Ie.showDiff!==!0&&(o=!1),!i){t=ki(this,arguments);var l=ba(this,arguments),u={actual:l,expected:n,showDiff:o},c=Qi(this,arguments);throw c&&(u.operator=c),new ie(t,u,Ie.includeStack?this.assert:J(this,"ssfi"))}};Object.defineProperty(P.prototype,"_obj",{get:function(){return J(this,"object")},set:function(e){J(this,"object",e)}});function fn(){return Ie.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}x(fn,"isProxyEnabled");function zi(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:x(function n(){!fn()&&!J(this,"lockSsfi")&&J(this,"ssfi",n);var a=r.call(this);if(a!==void 0)return a;var o=new P;return Ze(this,o),o},"propertyGetter"),configurable:!0})}x(zi,"addProperty");var W1=Object.getOwnPropertyDescriptor(function(){},"length");function pn(e,t,r){return W1.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}x(pn,"addLengthGuard");function Rf(e){var t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}x(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}x(Rf,"getProperties");var Gs=["__flags","__methods","_obj","assert"];function Ar(e,t){return fn()?new Proxy(e,{get:x(function r(n,a){if(typeof a=="string"&&Ie.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');var o=null,i=4;throw Rf(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Gs.indexOf(l)===-1){var u=Tf(a,l,i);u=r)return r;for(var n=[],a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(var o=0;o=r){n[a][o]=r;continue}n[a][o]=Math.min(n[a-1][o]+1,n[a][o-1]+1,n[a-1][o-1]+(i===t.charCodeAt(o-1)?0:1))}return n[e.length][t.length]}x(Tf,"stringDistanceCapped");function Vi(e,t,r){var n=x(function(){J(this,"lockSsfi")||J(this,"ssfi",n);var a=r.apply(this,arguments);if(a!==void 0)return a;var o=new P;return Ze(this,o),o},"methodWrapper");pn(n,t,!1),e[t]=Ar(n,t)}x(Vi,"addMethod");function Gi(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),a=x(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:x(function o(){!fn()&&!J(this,"lockSsfi")&&J(this,"ssfi",o);var i=J(this,"lockSsfi");J(this,"lockSsfi",!0);var l=r(a).call(this);if(J(this,"lockSsfi",i),l!==void 0)return l;var u=new P;return Ze(this,u),u},"overwritingPropertyGetter"),configurable:!0})}x(Gi,"overwriteProperty");function Wi(e,t,r){var n=e[t],a=x(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);var o=x(function(){J(this,"lockSsfi")||J(this,"ssfi",o);var i=J(this,"lockSsfi");J(this,"lockSsfi",!0);var l=r(a).apply(this,arguments);if(J(this,"lockSsfi",i),l!==void 0)return l;var u=new P;return Ze(this,u),u},"overwritingMethodWrapper");pn(o,t,!1),e[t]=Ar(o,t)}x(Wi,"overwriteMethod");var K1=typeof Object.setPrototypeOf=="function",Ws=x(function(){},"testFn"),Y1=Object.getOwnPropertyNames(Ws).filter(function(e){var t=Object.getOwnPropertyDescriptor(Ws,e);return typeof t!="object"?!0:!t.configurable}),J1=Function.prototype.call,X1=Function.prototype.apply;function Ki(e,t,r,n){typeof n!="function"&&(n=x(function(){},"chainingBehavior"));var a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:x(function(){a.chainingBehavior.call(this);var o=x(function(){J(this,"lockSsfi")||J(this,"ssfi",o);var u=a.method.apply(this,arguments);if(u!==void 0)return u;var c=new P;return Ze(this,c),c},"chainableMethodWrapper");if(pn(o,t,!0),K1){var i=Object.create(this);i.call=J1,i.apply=X1,Object.setPrototypeOf(o,i)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(Y1.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,c)}})}return Ze(this,o),Ar(o)},"chainableMethodGetter"),configurable:!0})}x(Ki,"addChainableMethod");function Yi(e,t,r,n){var a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=x(function(){var l=n(o).call(this);if(l!==void 0)return l;var u=new P;return Ze(this,u),u},"overwritingChainableMethodGetter");var i=a.method;a.method=x(function(){var l=r(i).apply(this,arguments);if(l!==void 0)return l;var u=new P;return Ze(this,u),u},"overwritingChainableMethodWrapper")}x(Yi,"overwriteChainableMethod");function Un(e,t){return ee(e)1&&f===d.length)throw p;return}this.assert(s,"expected #{this} to "+u+"include "+ee(e),"expected #{this} to not "+u+"include "+ee(e))}x(mn,"include");P.addChainableMethod("include",mn,hn);P.addChainableMethod("contain",mn,hn);P.addChainableMethod("contains",mn,hn);P.addChainableMethod("includes",mn,hn);P.addProperty("ok",function(){this.assert(A(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});P.addProperty("true",function(){this.assert(A(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!A(this,"negate"))});P.addProperty("callable",function(){let e=A(this,"object"),t=A(this,"ssfi"),r=A(this,"message"),n=r?`${r}: `:"",a=A(this,"negate"),o=a?`${n}expected ${ee(e)} not to be a callable function`:`${n}expected ${ee(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(ce(e));if(i&&a||!i&&!a)throw new ie(o,void 0,t)});P.addProperty("false",function(){this.assert(A(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!A(this,"negate"))});P.addProperty("null",function(){this.assert(A(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});P.addProperty("undefined",function(){this.assert(A(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});P.addProperty("NaN",function(){this.assert(Hn(A(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function el(){var e=A(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}x(el,"assertExist");P.addProperty("exist",el);P.addProperty("exists",el);P.addProperty("empty",function(){var e=A(this,"object"),t=A(this,"ssfi"),r=A(this,"message"),n;switch(r=r?r+": ":"",ce(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new ie(r+".empty was passed a weak collection",void 0,t);case"function":var a=r+".empty was passed a function "+ya(e);throw new ie(a.trim(),void 0,t);default:if(e!==Object(e))throw new ie(r+".empty was passed non-string primitive "+ee(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function tl(){var e=A(this,"object"),t=ce(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}x(tl,"checkArguments");P.addProperty("arguments",tl);P.addProperty("Arguments",tl);function va(e,t){t&&A(this,"message",t);var r=A(this,"object");if(A(this,"deep")){var n=A(this,"lockSsfi");A(this,"lockSsfi",!0),this.eql(e),A(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}x(va,"assertEqual");P.addMethod("equal",va);P.addMethod("equals",va);P.addMethod("eq",va);function rl(e,t){t&&A(this,"message",t);var r=A(this,"eql");this.assert(r(e,A(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}x(rl,"assertEql");P.addMethod("eql",rl);P.addMethod("eqls",rl);function _a(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),a=A(this,"message"),o=a?a+": ":"",i=A(this,"ssfi"),l=ce(r).toLowerCase(),u=ce(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new P(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to above must be a date";else if(u!=="number"&&(n||l==="number"))c=o+"the argument to above must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ie(c,void 0,i);if(n){var p="length",f;l==="map"||l==="set"?(p="size",f=r.size):f=r.length,this.assert(f>e,"expected #{this} to have a "+p+" above #{exp} but got #{act}","expected #{this} to not have a "+p+" above #{exp}",e,f)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}x(_a,"assertAbove");P.addMethod("above",_a);P.addMethod("gt",_a);P.addMethod("greaterThan",_a);function Ea(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),a=A(this,"message"),o=a?a+": ":"",i=A(this,"ssfi"),l=ce(r).toLowerCase(),u=ce(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new P(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to least must be a date";else if(u!=="number"&&(n||l==="number"))c=o+"the argument to least must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ie(c,void 0,i);if(n){var p="length",f;l==="map"||l==="set"?(p="size",f=r.size):f=r.length,this.assert(f>=e,"expected #{this} to have a "+p+" at least #{exp} but got #{act}","expected #{this} to have a "+p+" below #{exp}",e,f)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}x(Ea,"assertLeast");P.addMethod("least",Ea);P.addMethod("gte",Ea);P.addMethod("greaterThanOrEqual",Ea);function wa(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"doLength"),a=A(this,"message"),o=a?a+": ":"",i=A(this,"ssfi"),l=ce(r).toLowerCase(),u=ce(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new P(r,a,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to below must be a date";else if(u!=="number"&&(n||l==="number"))c=o+"the argument to below must be a number";else if(!n&&l!=="date"&&l!=="number"){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ie(c,void 0,i);if(n){var p="length",f;l==="map"||l==="set"?(p="size",f=r.size):f=r.length,this.assert(f=e&&g<=t,"expected #{this} to have a "+m+" within "+f,"expected #{this} to not have a "+m+" within "+f)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+f,"expected #{this} to not be within "+f)});function nl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"ssfi"),a=A(this,"message");try{var o=r instanceof e}catch(l){throw l instanceof TypeError?(a=a?a+": ":"",new ie(a+"The instanceof assertion needs a constructor but "+ce(e)+" was given.",void 0,n)):l}var i=ya(e);i==null&&(i="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}x(nl,"assertInstanceOf");P.addMethod("instanceof",nl);P.addMethod("instanceOf",nl);function al(e,t,r){r&&A(this,"message",r);var n=A(this,"nested"),a=A(this,"own"),o=A(this,"message"),i=A(this,"object"),l=A(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new ie(o+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ie(o+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&a)throw new ie(o+'The "nested" and "own" flags cannot be combined.',void 0,l);if(i==null)throw new ie(o+"Target cannot be null or undefined.",void 0,l);var c=A(this,"deep"),s=A(this,"negate"),d=n?Hi(i,e):null,p=n?d.value:i[e],f=c?A(this,"eql"):(g,b)=>g===b,h="";c&&(h+="deep "),a&&(h+="own "),n&&(h+="nested "),h+="property ";var m;a?m=Object.prototype.hasOwnProperty.call(i,e):n?m=d.exists:m=ga(i,e),(!s||arguments.length===1)&&this.assert(m,"expected #{this} to have "+h+ee(e),"expected #{this} to not have "+h+ee(e)),arguments.length>1&&this.assert(m&&f(t,p),"expected #{this} to have "+h+ee(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+h+ee(e)+" of #{act}",t,p),A(this,"object",p)}x(al,"assertProperty");P.addMethod("property",al);function ol(e,t,r){A(this,"own",!0),al.apply(this,arguments)}x(ol,"assertOwnProperty");P.addMethod("ownProperty",ol);P.addMethod("haveOwnProperty",ol);function il(e,t,r){typeof t=="string"&&(r=t,t=null),r&&A(this,"message",r);var n=A(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=A(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+ee(e)+" on #{this} to match "+ee(t)+", got "+ee(a),"expected the own property descriptor for "+ee(e)+" on #{this} to not match "+ee(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+ee(e),"expected #{this} to not have an own property descriptor for "+ee(e)),A(this,"object",a)}x(il,"assertOwnPropertyDescriptor");P.addMethod("ownPropertyDescriptor",il);P.addMethod("haveOwnPropertyDescriptor",il);function ll(){A(this,"doLength",!0)}x(ll,"assertLengthChain");function sl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=ce(r).toLowerCase(),a=A(this,"message"),o=A(this,"ssfi"),i="length",l;switch(n){case"map":case"set":i="size",l=r.size;break;default:new P(r,a,o,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,l)}x(sl,"assertLength");P.addChainableMethod("length",sl,ll);P.addChainableMethod("lengthOf",sl,ll);function ul(e,t){t&&A(this,"message",t);var r=A(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}x(ul,"assertMatch");P.addMethod("match",ul);P.addMethod("matches",ul);P.addMethod("string",function(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),a=A(this,"ssfi");new P(r,n,a,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+ee(e),"expected #{this} to not contain "+ee(e))});function cl(e){var t=A(this,"object"),r=ce(t),n=ce(e),a=A(this,"ssfi"),o=A(this,"deep"),i,l="",u,c=!0,s=A(this,"message");s=s?s+": ":"";var d=s+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=o?"deeply ":"",u=[],t.forEach(function(y,R){u.push(R)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Xi(t),n){case"Array":if(arguments.length>1)throw new ie(d,void 0,a);break;case"Object":if(arguments.length>1)throw new ie(d,void 0,a);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(y){return typeof y=="symbol"?y:String(y)})}if(!e.length)throw new ie(s+"keys required",void 0,a);var p=e.length,f=A(this,"any"),h=A(this,"all"),m=e,g=o?A(this,"eql"):(y,R)=>y===R;if(!f&&!h&&(h=!0),f&&(c=m.some(function(y){return u.some(function(R){return g(y,R)})})),h&&(c=m.every(function(y){return u.some(function(R){return g(y,R)})}),A(this,"contains")||(c=c&&e.length==u.length)),p>1){e=e.map(function(y){return ee(y)});var b=e.pop();h&&(i=e.join(", ")+", and "+b),f&&(i=e.join(", ")+", or "+b)}else i=ee(e[0]);i=(p>1?"keys ":"key ")+i,i=(A(this,"contains")?"contain ":"have ")+i,this.assert(c,"expected #{this} to "+l+i,"expected #{this} to not "+l+i,m.slice(0).sort(Un),u.sort(Un),!0)}x(cl,"assertKeys");P.addMethod("keys",cl);P.addMethod("key",cl);function Ra(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"ssfi"),o=A(this,"message"),i=A(this,"negate")||!1;new P(n,o,a,!0).is.a("function"),(zn(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(y){u=!0,l=y}var c=e===void 0&&t===void 0,s=!!(e&&t),d=!1,p=!1;if(c||!c&&!i){var f="an error";e instanceof Error?f="#{exp}":e&&(f=ke.getConstructorName(e));let y=l;if(l instanceof Error)y=l.toString();else if(typeof l=="string")y=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{y=ke.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+f,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),y)}if(e&&l){if(e instanceof Error){var h=ke.compatibleInstance(l,e);h===i&&(s&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!i?" but #{act} was thrown":""),e.toString(),l.toString()))}var m=ke.compatibleConstructor(l,e);m===i&&(s&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ke.getConstructorName(e),l instanceof Error?l.toString():l&&ke.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var g="including";zn(t)&&(g="matching");var b=ke.compatibleMessage(l,t);b===i&&(s&&i?p=!0:this.assert(i,"expected #{this} to throw error "+g+" #{exp} but got #{act}","expected #{this} to throw error not "+g+" #{exp}",t,ke.getMessage(l)))}d&&p&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&ke.getConstructorName(e),l instanceof Error?l.toString():l&&ke.getConstructorName(l)),A(this,"object",l)}x(Ra,"assertThrows");P.addMethod("throw",Ra);P.addMethod("throws",Ra);P.addMethod("Throw",Ra);function dl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+ee(e),"expected #{this} to not respond to "+ee(e))}x(dl,"respondTo");P.addMethod("respondTo",dl);P.addMethod("respondsTo",dl);P.addProperty("itself",function(){A(this,"itself",!0)});function fl(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Ut(e),"expected #{this} to not satisfy"+Ut(e),!A(this,"negate"),n)}x(fl,"satisfy");P.addMethod("satisfy",fl);P.addMethod("satisfies",fl);function pl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"message"),o=A(this,"ssfi");if(new P(n,a,o,!0).is.a("number"),typeof e!="number"||typeof t!="number"){a=a?a+": ":"";var i=t===void 0?", and a delta is required":"";throw new ie(a+"the arguments to closeTo or approximately must be numbers"+i,void 0,o)}this.assert(Math.abs(n-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}x(pl,"closeTo");P.addMethod("closeTo",pl);P.addMethod("approximately",pl);function Af(e,t,r,n,a){let o=Array.from(t),i=Array.from(e);if(!n){if(i.length!==o.length)return!1;o=o.slice()}return i.every(function(l,u){if(a)return r?r(l,o[u]):l===o[u];if(!r){var c=o.indexOf(l);return c===-1?!1:(n||o.splice(c,1),!0)}return o.some(function(s,d){return r(l,s)?(n||o.splice(d,1),!0):!1})})}x(Af,"isSubsetOf");P.addMethod("members",function(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),a=A(this,"ssfi");new P(r,n,a,!0).to.be.iterable,new P(e,n,a,!0).to.be.iterable;var o=A(this,"contains"),i=A(this,"ordered"),l,u,c;o?(l=i?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=i?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var s=A(this,"deep")?A(this,"eql"):void 0;this.assert(Af(e,r,s,o,i),u,c,e,r,!0)});P.addProperty("iterable",function(e){e&&A(this,"message",e);var t=A(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function qf(e,t){t&&A(this,"message",t);var r=A(this,"object"),n=A(this,"message"),a=A(this,"ssfi"),o=A(this,"contains"),i=A(this,"deep"),l=A(this,"eql");new P(e,n,a,!0).to.be.an("array"),o?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}x(qf,"oneOf");P.addMethod("oneOf",qf);function hl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"message"),o=A(this,"ssfi");new P(n,a,o,!0).is.a("function");var i;t?(new P(e,a,o,!0).to.have.property(t),i=e[t]):(new P(e,a,o,!0).is.a("function"),i=e()),n();var l=t==null?e():e[t],u=t==null?i:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",i),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","change"),A(this,"realDelta",l!==i),this.assert(i!==l,"expected "+u+" to change","expected "+u+" to not change")}x(hl,"assertChanges");P.addMethod("change",hl);P.addMethod("changes",hl);function ml(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"message"),o=A(this,"ssfi");new P(n,a,o,!0).is.a("function");var i;t?(new P(e,a,o,!0).to.have.property(t),i=e[t]):(new P(e,a,o,!0).is.a("function"),i=e()),new P(i,a,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",i),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","increase"),A(this,"realDelta",l-i),this.assert(l-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}x(ml,"assertIncreases");P.addMethod("increase",ml);P.addMethod("increases",ml);function bl(e,t,r){r&&A(this,"message",r);var n=A(this,"object"),a=A(this,"message"),o=A(this,"ssfi");new P(n,a,o,!0).is.a("function");var i;t?(new P(e,a,o,!0).to.have.property(t),i=e[t]):(new P(e,a,o,!0).is.a("function"),i=e()),new P(i,a,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;A(this,"deltaMsgObj",u),A(this,"initialDeltaValue",i),A(this,"finalDeltaValue",l),A(this,"deltaBehavior","decrease"),A(this,"realDelta",i-l),this.assert(l-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}x(bl,"assertDecreases");P.addMethod("decrease",bl);P.addMethod("decreases",bl);function xf(e,t){t&&A(this,"message",t);var r=A(this,"deltaMsgObj"),n=A(this,"initialDeltaValue"),a=A(this,"finalDeltaValue"),o=A(this,"deltaBehavior"),i=A(this,"realDelta"),l;o==="change"?l=Math.abs(a-n)===Math.abs(e):l=i===Math.abs(e),this.assert(l,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}x(xf,"assertDelta");P.addMethod("by",xf);P.addProperty("extensible",function(){var e=A(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});P.addProperty("sealed",function(){var e=A(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});P.addProperty("frozen",function(){var e=A(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});P.addProperty("finite",function(e){var t=A(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Ht(e,t){return new P(e,t)}x(Ht,"expect");Ht.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ie(r,{actual:e,expected:t,operator:n},Ht.fail)};var Mf={};Ii(Mf,{Should:()=>Z1,should:()=>Q1});function gl(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new P(this.valueOf(),null,e):new P(this,null,e)}x(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}x(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,a,o,i){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new ie(o,{actual:n,expected:a,operator:i},r.fail)},r.equal=function(n,a,o){new P(n,o).to.equal(a)},r.Throw=function(n,a,o,i){new P(n,i).to.Throw(a,o)},r.exist=function(n,a){new P(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new P(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,i){new P(n,i).to.not.Throw(a,o)},r.not.exist=function(n,a){new P(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}x(gl,"loadShould");var Q1=gl,Z1=gl;function S(e,t){var r=new P(null,null,S,!0);r.assert(e,t,"[ negation message unavailable ]")}x(S,"assert");S.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ie(r,{actual:e,expected:t,operator:n},S.fail)};S.isOk=function(e,t){new P(e,t,S.isOk,!0).is.ok};S.isNotOk=function(e,t){new P(e,t,S.isNotOk,!0).is.not.ok};S.equal=function(e,t,r){var n=new P(e,r,S.equal,!0);n.assert(t==J(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};S.notEqual=function(e,t,r){var n=new P(e,r,S.notEqual,!0);n.assert(t!=J(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};S.strictEqual=function(e,t,r){new P(e,r,S.strictEqual,!0).to.equal(t)};S.notStrictEqual=function(e,t,r){new P(e,r,S.notStrictEqual,!0).to.not.equal(t)};S.deepEqual=S.deepStrictEqual=function(e,t,r){new P(e,r,S.deepEqual,!0).to.eql(t)};S.notDeepEqual=function(e,t,r){new P(e,r,S.notDeepEqual,!0).to.not.eql(t)};S.isAbove=function(e,t,r){new P(e,r,S.isAbove,!0).to.be.above(t)};S.isAtLeast=function(e,t,r){new P(e,r,S.isAtLeast,!0).to.be.least(t)};S.isBelow=function(e,t,r){new P(e,r,S.isBelow,!0).to.be.below(t)};S.isAtMost=function(e,t,r){new P(e,r,S.isAtMost,!0).to.be.most(t)};S.isTrue=function(e,t){new P(e,t,S.isTrue,!0).is.true};S.isNotTrue=function(e,t){new P(e,t,S.isNotTrue,!0).to.not.equal(!0)};S.isFalse=function(e,t){new P(e,t,S.isFalse,!0).is.false};S.isNotFalse=function(e,t){new P(e,t,S.isNotFalse,!0).to.not.equal(!1)};S.isNull=function(e,t){new P(e,t,S.isNull,!0).to.equal(null)};S.isNotNull=function(e,t){new P(e,t,S.isNotNull,!0).to.not.equal(null)};S.isNaN=function(e,t){new P(e,t,S.isNaN,!0).to.be.NaN};S.isNotNaN=function(e,t){new P(e,t,S.isNotNaN,!0).not.to.be.NaN};S.exists=function(e,t){new P(e,t,S.exists,!0).to.exist};S.notExists=function(e,t){new P(e,t,S.notExists,!0).to.not.exist};S.isUndefined=function(e,t){new P(e,t,S.isUndefined,!0).to.equal(void 0)};S.isDefined=function(e,t){new P(e,t,S.isDefined,!0).to.not.equal(void 0)};S.isCallable=function(e,t){new P(e,t,S.isCallable,!0).is.callable};S.isNotCallable=function(e,t){new P(e,t,S.isNotCallable,!0).is.not.callable};S.isObject=function(e,t){new P(e,t,S.isObject,!0).to.be.a("object")};S.isNotObject=function(e,t){new P(e,t,S.isNotObject,!0).to.not.be.a("object")};S.isArray=function(e,t){new P(e,t,S.isArray,!0).to.be.an("array")};S.isNotArray=function(e,t){new P(e,t,S.isNotArray,!0).to.not.be.an("array")};S.isString=function(e,t){new P(e,t,S.isString,!0).to.be.a("string")};S.isNotString=function(e,t){new P(e,t,S.isNotString,!0).to.not.be.a("string")};S.isNumber=function(e,t){new P(e,t,S.isNumber,!0).to.be.a("number")};S.isNotNumber=function(e,t){new P(e,t,S.isNotNumber,!0).to.not.be.a("number")};S.isFinite=function(e,t){new P(e,t,S.isFinite,!0).to.be.finite};S.isBoolean=function(e,t){new P(e,t,S.isBoolean,!0).to.be.a("boolean")};S.isNotBoolean=function(e,t){new P(e,t,S.isNotBoolean,!0).to.not.be.a("boolean")};S.typeOf=function(e,t,r){new P(e,r,S.typeOf,!0).to.be.a(t)};S.notTypeOf=function(e,t,r){new P(e,r,S.notTypeOf,!0).to.not.be.a(t)};S.instanceOf=function(e,t,r){new P(e,r,S.instanceOf,!0).to.be.instanceOf(t)};S.notInstanceOf=function(e,t,r){new P(e,r,S.notInstanceOf,!0).to.not.be.instanceOf(t)};S.include=function(e,t,r){new P(e,r,S.include,!0).include(t)};S.notInclude=function(e,t,r){new P(e,r,S.notInclude,!0).not.include(t)};S.deepInclude=function(e,t,r){new P(e,r,S.deepInclude,!0).deep.include(t)};S.notDeepInclude=function(e,t,r){new P(e,r,S.notDeepInclude,!0).not.deep.include(t)};S.nestedInclude=function(e,t,r){new P(e,r,S.nestedInclude,!0).nested.include(t)};S.notNestedInclude=function(e,t,r){new P(e,r,S.notNestedInclude,!0).not.nested.include(t)};S.deepNestedInclude=function(e,t,r){new P(e,r,S.deepNestedInclude,!0).deep.nested.include(t)};S.notDeepNestedInclude=function(e,t,r){new P(e,r,S.notDeepNestedInclude,!0).not.deep.nested.include(t)};S.ownInclude=function(e,t,r){new P(e,r,S.ownInclude,!0).own.include(t)};S.notOwnInclude=function(e,t,r){new P(e,r,S.notOwnInclude,!0).not.own.include(t)};S.deepOwnInclude=function(e,t,r){new P(e,r,S.deepOwnInclude,!0).deep.own.include(t)};S.notDeepOwnInclude=function(e,t,r){new P(e,r,S.notDeepOwnInclude,!0).not.deep.own.include(t)};S.match=function(e,t,r){new P(e,r,S.match,!0).to.match(t)};S.notMatch=function(e,t,r){new P(e,r,S.notMatch,!0).to.not.match(t)};S.property=function(e,t,r){new P(e,r,S.property,!0).to.have.property(t)};S.notProperty=function(e,t,r){new P(e,r,S.notProperty,!0).to.not.have.property(t)};S.propertyVal=function(e,t,r,n){new P(e,n,S.propertyVal,!0).to.have.property(t,r)};S.notPropertyVal=function(e,t,r,n){new P(e,n,S.notPropertyVal,!0).to.not.have.property(t,r)};S.deepPropertyVal=function(e,t,r,n){new P(e,n,S.deepPropertyVal,!0).to.have.deep.property(t,r)};S.notDeepPropertyVal=function(e,t,r,n){new P(e,n,S.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};S.ownProperty=function(e,t,r){new P(e,r,S.ownProperty,!0).to.have.own.property(t)};S.notOwnProperty=function(e,t,r){new P(e,r,S.notOwnProperty,!0).to.not.have.own.property(t)};S.ownPropertyVal=function(e,t,r,n){new P(e,n,S.ownPropertyVal,!0).to.have.own.property(t,r)};S.notOwnPropertyVal=function(e,t,r,n){new P(e,n,S.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};S.deepOwnPropertyVal=function(e,t,r,n){new P(e,n,S.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};S.notDeepOwnPropertyVal=function(e,t,r,n){new P(e,n,S.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};S.nestedProperty=function(e,t,r){new P(e,r,S.nestedProperty,!0).to.have.nested.property(t)};S.notNestedProperty=function(e,t,r){new P(e,r,S.notNestedProperty,!0).to.not.have.nested.property(t)};S.nestedPropertyVal=function(e,t,r,n){new P(e,n,S.nestedPropertyVal,!0).to.have.nested.property(t,r)};S.notNestedPropertyVal=function(e,t,r,n){new P(e,n,S.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};S.deepNestedPropertyVal=function(e,t,r,n){new P(e,n,S.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};S.notDeepNestedPropertyVal=function(e,t,r,n){new P(e,n,S.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};S.lengthOf=function(e,t,r){new P(e,r,S.lengthOf,!0).to.have.lengthOf(t)};S.hasAnyKeys=function(e,t,r){new P(e,r,S.hasAnyKeys,!0).to.have.any.keys(t)};S.hasAllKeys=function(e,t,r){new P(e,r,S.hasAllKeys,!0).to.have.all.keys(t)};S.containsAllKeys=function(e,t,r){new P(e,r,S.containsAllKeys,!0).to.contain.all.keys(t)};S.doesNotHaveAnyKeys=function(e,t,r){new P(e,r,S.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};S.doesNotHaveAllKeys=function(e,t,r){new P(e,r,S.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};S.hasAnyDeepKeys=function(e,t,r){new P(e,r,S.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};S.hasAllDeepKeys=function(e,t,r){new P(e,r,S.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};S.containsAllDeepKeys=function(e,t,r){new P(e,r,S.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};S.doesNotHaveAnyDeepKeys=function(e,t,r){new P(e,r,S.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};S.doesNotHaveAllDeepKeys=function(e,t,r){new P(e,r,S.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};S.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var a=new P(e,n,S.throws,!0).to.throw(t,r);return J(a,"object")};S.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new P(e,n,S.doesNotThrow,!0).to.not.throw(t,r)};S.operator=function(e,t,r,n){var a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=eEp,toBeDisabled:()=>pp,toBeEmpty:()=>Qf,toBeEmptyDOMElement:()=>Zf,toBeEnabled:()=>hp,toBeInTheDOM:()=>Lo,toBeInTheDocument:()=>Xf,toBeInvalid:()=>gp,toBePartiallyChecked:()=>Cp,toBeRequired:()=>mp,toBeValid:()=>yp,toBeVisible:()=>sp,toContainElement:()=>Bo,toContainHTML:()=>ep,toHaveAccessibleDescription:()=>ko,toHaveAccessibleErrorMessage:()=>rp,toHaveAccessibleName:()=>Fo,toHaveAttribute:()=>np,toHaveClass:()=>ap,toHaveDescription:()=>Rp,toHaveDisplayValue:()=>_p,toHaveErrorMessage:()=>Tp,toHaveFocus:()=>op,toHaveFormValues:()=>ip,toHaveRole:()=>Do,toHaveStyle:()=>Uo,toHaveTextContent:()=>tp,toHaveValue:()=>vp});var Js=Fe(Od(),1);function Nf(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function yl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var jf={};Nf(jf);yl(jf,"default",()=>If);var If=class extends Error{constructor(e,t,r,n,a){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=a}},Lf={};Nf(Lf);yl(Lf,"default",()=>Bf);var Bf=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},eC={};yl(eC,"CssTypes",()=>Ce);var Ce;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Ce||(Ce={}));var Ka=/\/\*[^]*?(?:\*\/|$)/g,tC=(e,t)=>{t=t||{};let r=1,n=1;function a(F){let L=F.match(/\n/g);L&&(r+=L.length);let D=F.lastIndexOf(` +`);n=~D?F.length-D:n+F.length}function o(){let F={line:r,column:n};return function(L){return L.position=new Bf(F,{line:r,column:n},(t==null?void 0:t.source)||""),f(),L}}let i=[];function l(F){let L=new If((t==null?void 0:t.source)||"",F,r,n,e);if(t!=null&&t.silent)i.push(L);else throw L}function u(){let F=d();return{type:Ce.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:F,parsingErrors:i}}}function c(){return p(/^{\s*/)}function s(){return p(/^}/)}function d(){let F,L=[];for(f(),h(L);e.length&&e.charAt(0)!=="}"&&(F=me()||de());)F&&(L.push(F),h(L));return L}function p(F){let L=F.exec(e);if(!L)return;let D=L[0];return a(D),e=e.slice(D.length),L}function f(){p(/^\s*/)}function h(F){let L;for(F=F||[];L=m();)L&&F.push(L);return F}function m(){let F=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let L=p(/^\/\*[^]*?\*\//);return L?F({type:Ce.comment,comment:L[0].slice(2,-2)}):l("End of comment missing")}function g(F,L,D){let G=L+1,Y=!1,ne=F.indexOf(")",G);for(;!Y&&ne!==-1;){let fe=F.indexOf("(",G);fe!==-1&&feY.replace(/,/g,"‌")),L.split(",").map(Y=>Ue(Y.replace(/\u200C/g,",")))}function y(){let F=o(),L=p(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!L)return;let D=Ue(L[0]);if(!p(/^:\s*/))return l("property missing ':'");let G=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),Y=F({type:Ce.declaration,property:D.replace(Ka,""),value:G?Ue(G[0]).replace(Ka,""):""});return p(/^[;\s]*/),Y}function R(){let F=[];if(!c())return l("missing '{'");h(F);let L;for(;L=y();)L&&(F.push(L),h(F));return s()?F:l("missing '}'")}function _(){let F,L=[],D=o();for(;F=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)L.push(F[1]),p(/^,\s*/);if(L.length)return D({type:Ce.keyframe,values:L,declarations:R()||[]})}function C(){let F=o(),L=p(/^@([-\w]+)?keyframes\s*/);if(!L)return;let D=L[1],G=p(/^([-\w]+)\s*/);if(!G)return l("@keyframes missing name");let Y=G[1];if(!c())return l("@keyframes missing '{'");let ne,fe=h();for(;ne=_();)fe.push(ne),fe=fe.concat(h());return s()?F({type:Ce.keyframes,name:Y,vendor:D,keyframes:fe}):l("@keyframes missing '}'")}function w(){let F=o(),L=p(/^@supports *([^{]+)/);if(!L)return;let D=Ue(L[1]);if(!c())return l("@supports missing '{'");let G=h().concat(d());return s()?F({type:Ce.supports,supports:D,rules:G}):l("@supports missing '}'")}function v(){let F=o();if(!p(/^@host\s*/))return;if(!c())return l("@host missing '{'");let L=h().concat(d());return s()?F({type:Ce.host,rules:L}):l("@host missing '}'")}function E(){let F=o(),L=p(/^@container *([^{]+)/);if(!L)return;let D=Ue(L[1]);if(!c())return l("@container missing '{'");let G=h().concat(d());return s()?F({type:Ce.container,container:D,rules:G}):l("@container missing '}'")}function O(){let F=o(),L=p(/^@layer *([^{;@]+)/);if(!L)return;let D=Ue(L[1]);if(!c())return p(/^[;\s]*/),F({type:Ce.layer,layer:D});let G=h().concat(d());return s()?F({type:Ce.layer,layer:D,rules:G}):l("@layer missing '}'")}function M(){let F=o(),L=p(/^@media *([^{]+)/);if(!L)return;let D=Ue(L[1]);if(!c())return l("@media missing '{'");let G=h().concat(d());return s()?F({type:Ce.media,media:D,rules:G}):l("@media missing '}'")}function N(){let F=o(),L=p(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(L)return F({type:Ce.customMedia,name:Ue(L[1]),media:Ue(L[2])})}function k(){let F=o();if(!p(/^@page */))return;let L=b()||[];if(!c())return l("@page missing '{'");let D=h(),G;for(;G=y();)D.push(G),D=D.concat(h());return s()?F({type:Ce.page,selectors:L,declarations:D}):l("@page missing '}'")}function j(){let F=o(),L=p(/^@([-\w]+)?document *([^{]+)/);if(!L)return;let D=Ue(L[1]),G=Ue(L[2]);if(!c())return l("@document missing '{'");let Y=h().concat(d());return s()?F({type:Ce.document,document:G,vendor:D,rules:Y}):l("@document missing '}'")}function I(){let F=o();if(!p(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let L=h(),D;for(;D=y();)L.push(D),L=L.concat(h());return s()?F({type:Ce.fontFace,declarations:L}):l("@font-face missing '}'")}function B(){let F=o();if(!p(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let L=h().concat(d());return s()?F({type:Ce.startingStyle,rules:L}):l("@starting-style missing '}'")}let z=re("import"),K=re("charset"),W=re("namespace");function re(F){let L=new RegExp("^@"+F+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let D=o(),G=p(L);if(!G)return;let Y={type:F};return Y[F]=G[1].trim(),D(Y)}}function me(){if(e[0]==="@")return C()||M()||N()||w()||z()||K()||W()||j()||k()||v()||I()||E()||B()||O()}function de(){let F=o(),L=b();return L?(h(),F({type:Ce.rule,selectors:L,declarations:R()||[]})):l("selector missing")}return jo(u())};function Ue(e){return e?e.trim():""}function jo(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let o=e[a];Array.isArray(o)?o.forEach(i=>{jo(i,n)}):o&&typeof o=="object"&&jo(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var rC=tC,nC=rC,aC=Object.prototype.toString;function oC(e){return typeof e=="function"||aC.call(e)==="[object Function]"}function iC(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var lC=Math.pow(2,53)-1;function sC(e){var t=iC(e);return Math.min(Math.max(t,0),lC)}function Ye(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var a=sC(n.length),o=oC(r)?Object(new r(a)):new Array(a),i=0,l;i0&&arguments[0]!==void 0?arguments[0]:[];uC(this,e),fC(this,"items",void 0),this.items=t}return dC(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}(),mC=typeof Set>"u"?Set:hC;function xe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var bC={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"},gC={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 yC(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=gC[t])!==null&&n!==void 0&&n.has(r))})}function Df(e,t){return yC(e,t)}function vC(e){var t=EC(e);if(t===null||Io.indexOf(t)!==-1){var r=_C(e);if(Io.indexOf(t||"")===-1||Df(e,r||""))return r}return t}function _C(e){var t=bC[xe(e)];if(t!==void 0)return t;switch(xe(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Df(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function EC(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Io=["presentation","none"];function pe(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ff(e){return pe(e)&&xe(e)==="caption"}function qn(e){return pe(e)&&xe(e)==="input"}function wC(e){return pe(e)&&xe(e)==="optgroup"}function CC(e){return pe(e)&&xe(e)==="select"}function RC(e){return pe(e)&&xe(e)==="table"}function TC(e){return pe(e)&&xe(e)==="textarea"}function SC(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function PC(e){return pe(e)&&xe(e)==="fieldset"}function OC(e){return pe(e)&&xe(e)==="legend"}function AC(e){return pe(e)&&xe(e)==="slot"}function qC(e){return pe(e)&&e.ownerSVGElement!==void 0}function xC(e){return pe(e)&&xe(e)==="svg"}function MC(e){return qC(e)&&xe(e)==="title"}function Vn(e,t){if(pe(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function ht(e,t){return pe(e)?t.indexOf(vC(e))!==-1:!1}function $C(e){return e.trim().replace(/\s\s+/g," ")}function NC(e,t){if(!pe(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function jC(e){return ht(e,["button","combobox","listbox","textbox"])||Uf(e,"range")}function Uf(e,t){if(!pe(e))return!1;switch(t){case"range":return ht(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Xs(e,t){var r=Ye(e.querySelectorAll(t));return Vn(e,"aria-owns").forEach(function(n){r.push.apply(r,Ye(n.querySelectorAll(t)))}),r}function IC(e){return CC(e)?e.selectedOptions||Xs(e,"[selected]"):Xs(e,'[aria-selected="true"]')}function LC(e){return ht(e,Io)}function BC(e){return Ff(e)}function kC(e){return ht(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function DC(e){return!1}function FC(e){return qn(e)||TC(e)?e.value:e.textContent||""}function Qs(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Hf(e){var t=xe(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function zf(e){if(Hf(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&pe(r)){var n=zf(r);n!==null&&(t=n)}}),t}function UC(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):zf(e)}function HC(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ye(t);if(!Hf(e))return null;var r=e.ownerDocument;return Ye(r.querySelectorAll("label")).filter(function(n){return UC(n)===e})}function zC(e){var t=e.assignedNodes();return t.length===0?Ye(e.childNodes):t}function Vf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new mC,n=SC(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function p(b,y){var R="";if(pe(b)&&l){var _=c(b,"::before"),C=Qs(_);R="".concat(C," ").concat(R)}var w=AC(b)?zC(b):Ye(b.childNodes).concat(Vn(b,"aria-owns"));if(w.forEach(function(O){var M=g(O,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=pe(O)?c(O).getPropertyValue("display"):"inline",k=N!=="inline"?" ":"";R+="".concat(k).concat(M).concat(k)}),pe(b)&&l){var v=c(b,"::after"),E=Qs(v);R="".concat(R," ").concat(E)}return R.trim()}function f(b,y){var R=b.getAttributeNode(y);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}function h(b){return pe(b)?f(b,"title"):null}function m(b){if(!pe(b))return null;if(PC(b)){r.add(b);for(var y=Ye(b.childNodes),R=0;R0}).join(" ");if(qn(b)&&b.type==="image"){var B=f(b,"alt");if(B!==null)return B;var z=f(b,"title");return z!==null?z:"Submit Query"}if(ht(b,["button"])){var K=p(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}function g(b,y){if(r.has(b))return"";if(!d&&NC(b,c)&&!y.isReferenced)return r.add(b),"";var R=pe(b)?b.getAttributeNode("aria-labelledby"):null,_=R!==null&&!r.has(R)?Vn(b,"aria-labelledby"):[];if(o==="name"&&!y.isReferenced&&_.length>0)return r.add(R),_.map(function(N){return g(N,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var C=y.recursion&&jC(b)&&o==="name";if(!C){var w=(pe(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&o==="name")return r.add(b),w;if(!LC(b)){var v=m(b);if(v!==null)return r.add(b),v}}if(ht(b,["menu"]))return r.add(b),"";if(C||y.isEmbeddedInLabel||y.isReferenced){if(ht(b,["combobox","listbox"])){r.add(b);var E=IC(b);return E.length===0?qn(b)?b.value:"":Ye(E).map(function(N){return g(N,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Uf(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(ht(b,["textbox"]))return r.add(b),FC(b)}if(kC(b)||pe(b)&&y.isReferenced||BC(b)||DC()){var O=p(b,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});if(O!=="")return r.add(b),O}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(y.recursion)return r.add(b),p(b,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});var M=h(b);return M!==null?(r.add(b),M):(r.add(b),"")}return $C(g(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Kr(e){"@babel/helpers - typeof";return Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kr(e)}function Zs(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function eu(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Vn(e,"aria-describedby").map(function(o){return Vf(o,eu(eu({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}function YC(e){return ht(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function JC(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return YC(e)?"":Vf(e,t)}var vl=Fe(xi(),1),XC=Fe(qd(),1),Gf=Fe(Fd(),1),QC=Fe(Ud(),1),Wf=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let a="";try{a=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,a].join(` +`)}},tu=class extends Wf{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},ru=class extends Wf{constructor(...e){super("be a Node",...e)}};function Kf(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function ZC(e,...t){Kf(e,ru,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new ru(e,...t)}function le(e,...t){Kf(e,tu,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new tu(e,...t)}var eR=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 tR(e,...t){let r=nC(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new eR({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:o})=>Object.assign(n,{[a]:o}),{})}function nu(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Ae(e,t,r,n,a,o){return[`${t} +`,`${r}: +${e.utils.EXPECTED_COLOR((0,Js.default)(nu(e,n),2))}`,`${a}: +${e.utils.RECEIVED_COLOR((0,Js.default)(nu(e,o),2))}`].join(` +`)}function rR(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Ta(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function Sa(e){return e.replace(/\s+/g," ").trim()}function Mt(e){return e.tagName&&e.tagName.toLowerCase()}function nR({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 aR(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var oR=["meter","progressbar","slider","spinbutton"];function iR(e){if(oR.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function Yf(e){if(e)switch(e.tagName.toLowerCase()){case"input":return aR(e);case"select":return nR(e);default:return e.value??iR(e)}}function lR(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Jf(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function Lo(e,t){return Ta("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&le(e,Lo,this),t&&le(t,Lo,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 Xf(e){(e!==null||!this.isNot)&&le(e,Xf,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(` +`)}}function Qf(e){return Ta("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),le(e,Qf,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function Zf(e){return le(e,Zf,this),{pass:sR(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function sR(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Bo(e,t){return le(e,Bo,this),t!==null&&le(t,Bo,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 uR(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function ep(e,t){if(le(e,ep,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(uR(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 tp(e,t,r={normalizeWhitespace:!0}){ZC(e,tp,this);let n=r.normalizeWhitespace?Sa(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&rR(n,t),message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)}}}function ko(e,t){le(e,ko,this);let r=KC(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 o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ko.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)}}}var $r="aria-invalid",cR=["false"];function rp(e,t){var l;le(e,rp,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`)};let o=e.getAttribute($r);if(!e.hasAttribute($r)||cR.includes(o))return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${$r}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${$r}="${e.getAttribute($r)}`:null)};let i=Sa(((l=e.ownerDocument.getElementById(a))==null?void 0:l.textContent)??"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:()=>Ae(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i)}}var dR=hR(vl.elementRoles);function Do(e,t){le(e,Do,this);let r=fR(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Do.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function fR(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):pR(e)}function pR(e){for(let{match:t,roles:r}of dR)if(t(e))return[...r];return[]}function hR(e){function t({name:i,attributes:l}){return`${i}${l.map(({name:u,value:c,constraints:s=[]})=>s.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:i=[]}){return i.length}function n({specificity:i},{specificity:l}){return l-i}function a(i){let{attributes:l=[]}=i,u=l.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let o=[];for(let[i,l]of e.entries())o=[...o,{match:a(i),roles:Array.from(l),specificity:r(i)}];return o.sort(n)}function Fo(e,t){le(e,Fo,this);let r=JC(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 o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Fo.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)}}}function au(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function mR(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function np(e,t,r){le(e,np,this);let n=r!==void 0,a=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?a&&this.equals(o,r):a,message:()=>{let i=this.isNot?"not to":"to",l=a?au(this.utils.stringify,t,o):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:mR(this.utils.stringify,t,r)});return Ae(this,u,`Expected the element ${i} have attribute`,au(this.utils.stringify,t,r),"Received",l)}}}function bR(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 ou(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function iu(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function ap(e,...t){le(e,ap,this);let{expectedClassNames:r,options:n}=bR(t),a=ou(e.getAttribute("class")),o=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?ou(u):u),[]),i=o.some(l=>l instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:iu(o,a)&&o.length===a.length,message:()=>{let l=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,o.join(" "),"Received",a.join(" "))}}:o.length>0?{pass:iu(o,a),message:()=>{let l=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have class`,o.join(" "),"Received",a.join(" "))}}:{pass:this.isNot?a.length>0:!1,message:()=>this.isNot?Ae(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(` +`)}}function gR(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 yR(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),o=[r];return a||o.push(r.toLowerCase()),o.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}function lu(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(` +`)}function vR(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,o)=>Object.assign(a,{[o]:r.getPropertyValue(o)}),{});return e(lu(t),lu(n)).replace(`${XC.default.red("+ Received")} +`,"")}function Uo(e,t){le(e,Uo,this);let r=typeof t=="object"?t:tR(t,Uo,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=gR(e.ownerDocument,r),o=n(e);return{pass:yR(a,o),message:()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),vR(this.utils.diff,a,o)].join(` + +`)}}}function op(e){return le(e,op,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 _R(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 ER(e,t){let r=[...e.querySelectorAll(`[name="${(0,QC.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return Yf(r[0]);default:return _R(r)}}function wR(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function CR(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[wR(r)]:ER(e,r)}),{})}function ip(e,t){if(le(e,ip,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=CR(e);return{pass:Object.entries(t).every(([n,a])=>(0,Gf.default)(r[n],a,Jf)),message:()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,l)=>({...i,[l]:r[l]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(` + +`)}}}function RR(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 TR(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function lp(e,t){return RR(e)&&TR(e,t)&&(!e.parentElement||lp(e.parentElement,e))}function sp(e){le(e,sp,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&lp(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var SR=["fieldset","input","select","optgroup","option","button","textarea"];function PR(e,t){return Mt(e)==="legend"&&Mt(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Mt(r)==="legend"))}function OR(e,t){return cp(t)&&!PR(e,t)}function AR(e){return e.includes("-")}function up(e){let t=Mt(e);return SR.includes(t)||AR(t)}function cp(e){return up(e)&&e.hasAttribute("disabled")}function dp(e){let t=e.parentElement;return!!t&&(OR(e,t)||dp(t))}function fp(e){return up(e)&&(cp(e)||dp(e))}function pp(e){le(e,pp,this);let t=fp(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function hp(e){le(e,hp,this);let t=!fp(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var qR=["select","textarea"],xR=["input","select","textarea"],MR=["color","hidden","range","submit","image","reset"],$R=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function NR(e){return qR.includes(Mt(e))&&e.hasAttribute("required")}function jR(e){return Mt(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!MR.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function IR(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(xR.includes(Mt(e))||e.hasAttribute("role")&&$R.includes(e.getAttribute("role")))}function mp(e){le(e,mp,this);let t=NR(e)||jR(e)||IR(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 LR=["form","input","select","textarea"];function BR(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function kR(e){return LR.includes(Mt(e))}function bp(e){let t=BR(e);return kR(e)?t||!e.checkValidity():t}function gp(e){le(e,gp,this);let t=bp(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function yp(e){le(e,yp,this);let t=!bp(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function vp(e,t){if(le(e,vp,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=Yf(e),n=t!==void 0,a=t,o=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?(0,Gf.default)(r,t,Jf):!!r,message:()=>{let i=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ae(this,l,`Expected the element ${i} have value`,n?a:"(any)","Received",o)}}}function _p(e,t){le(e,_p,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=DR(r,e),a=FR(t),o=a.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,i=o===n.length,l=o===a.length;return{pass:i&&l,message:()=>Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function DR(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function FR(e){return e instanceof Array?e:[e]}function Ep(e){le(e,Ep,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>wp(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${UR()} 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 UR(){return lR(HR().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function HR(){return vl.roles.keys().filter(wp)}function wp(e){var t;return((t=vl.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function Cp(e){le(e,Cp,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a};return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function Rp(e,t){Ta("toHaveDescription","Please use toHaveAccessibleDescription."),le(e,Rp,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,i=n.map(l=>o.getElementById(l)).filter(Boolean);a=Sa(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}function Tp(e,t){if(Ta("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),le(e,Tp,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(`${o}.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 o=e.ownerDocument,i=n.map(l=>o.getElementById(l)).filter(Boolean);a=Sa(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}Fe(Od(),1);Fe(xi(),1);Fe(qd(),1);Fe(Fd(),1);Fe(Ud(),1);function dt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function xn(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function zR(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ho(e){return Object.prototype.toString.apply(e).slice(8,-1)}function VR(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Sp(e){let t=new Set;return zR(e)?[]:(VR(e,t),Array.from(t))}var Pp={forceWritable:!1};function su(e,t=Pp){return zo(e,new WeakMap,t)}function zo(e,t,r=Pp){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 o=Sp(e);for(let i of o){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=zo(e[i],t,r);r.forceWritable?Object.defineProperty(a,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,i,{...l,get(){return u}}):Object.defineProperty(a,i,{...l,value:u})}return a}return e}var uu={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},GR={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},gr="…";function WR(e,t){let r=uu[GR[t]]||uu[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function KR({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=WR),d}function YR(e){return e>="\uD800"&&e<="\uDBFF"}function Lt(e,t,r=gr){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&YR(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}function et(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,i="",l="",u="";for(let c=0;co&&i.length+u.length<=o||!s&&!d&&m>o||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&m>o&&h+l.length>o))break;if(i+=f,!s&&!d&&h+l.length>=o){u=`${gr}(${e.length-c-1})`;break}u=""}return`${i}${u}`}function JR(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Yr([e,t],r){return r.truncate-=2,typeof e=="string"?e=JR(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function XR(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=et(e,t);t.truncate-=n.length;let a="";return r.length&&(a=et(r.map(o=>[o,e[o]]),t,Yr)),`[ ${n}${a?`, ${a}`:""} ]`}var QR=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ft(e,t){let r=QR(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let i=0;i[i,e[i]]),t,Yr)),`${r}[ ${a}${o?`, ${o}`:""} ]`}function ZR(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Lt(n[1],t.truncate-a.length-1)}`,"date")}function cu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Lt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function eT([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function tT(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function rT(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${et(tT(e),t,eT)} }`)}var nT=Number.isNaN||(e=>e!==e);function du(e,t){return nT(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Lt(String(e),t.truncate),"number")}function fu(e,t){let r=Lt(e.toString(),t.truncate-1);return r!==gr&&(r+="n"),t.stylize(r,"bigint")}function aT(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Lt(a,n)}/${r}`,"regexp")}function oT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function iT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${et(oT(e),t)} }`)}var pu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),lT={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},sT=16,uT=4;function cT(e){return lT[e]||`\\u${`0000${e.charCodeAt(0).toString(sT)}`.slice(-uT)}`}function hu(e,t){return pu.test(e)&&(e=e.replace(pu,cT)),t.stylize(`'${Lt(e,t.truncate-2)}'`,"string")}function mu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Op=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Op=(n,a)=>{let[o,i]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(i,a)}}`})}catch{}var dT=Op;function Mn(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let a=et(r.map(l=>[l,e[l]]),t,Yr),o=et(n.map(l=>[l,e[l]]),t,Yr);t.seen.pop();let i="";return a&&o&&(i=", "),`{ ${a}${i}${o} }`}var Ya=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function fT(e,t){let r="";return Ya&&Ya in e&&(r=e[Ya]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${Mn(e,t)}`}function pT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${et(e,t)} ]`)}var hT=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function mT(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>hT.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let a="";typeof e.message=="string"?a=Lt(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5;let o=et(r.map(i=>[i,e[i]]),t,Yr);return`${n}${a}${o?` { ${o} }`:""}`}function bT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Vo(e,t){return et(e,t,Ap,` +`)}function Ap(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),i=t.stylize(``,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=et(r.map(s=>[s,e.getAttribute(s)]),t,bT," ")),t.truncate-=l.length;let u=t.truncate,c=Vo(e.children,t);return c&&c.length>u&&(c=`${gr}(${e.children.length})`),`${a}${l}${o}${c}${i}`}var gT=typeof Symbol=="function"&&typeof Symbol.for=="function",Ja=gT?Symbol.for("chai/inspect"):"@@chai/inspect",or=!1;try{let e=u_("util");or=e.inspect?e.inspect.custom:!1}catch{or=!1}var bu=new WeakMap,gu={},yu={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:du,Number:du,bigint:fu,BigInt:fu,string:hu,String:hu,function:cu,Function:cu,symbol:mu,Symbol:mu,Array:XR,Date:ZR,Map:rT,Set:iT,RegExp:aT,Promise:dT,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:pT,Int8Array:ft,Uint8Array:ft,Uint8ClampedArray:ft,Int16Array:ft,Uint16Array:ft,Int32Array:ft,Uint32Array:ft,Float32Array:ft,Float64Array:ft,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:mT,HTMLCollection:Vo,NodeList:Vo},yT=(e,t,r)=>Ja in e&&typeof e[Ja]=="function"?e[Ja](t):or&&or in e&&typeof e[or]=="function"?e[or](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&bu.has(e.constructor)?bu.get(e.constructor)(e,t):gu[r]?gu[r](e,t):"",vT=Object.prototype.toString;function Go(e,t={}){let r=KR(t,Go),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=vT.call(e).slice(8,-1)),a in yu)return yu[a](e,r);if(n&&e){let i=yT(e,r,a);if(i)return typeof i=="string"?i:Go(i,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?Mn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ap(e,r):"constructor"in e?e.constructor!==Object?fT(e,r):Mn(e,r):e===Object(e)?Mn(e,r):r.stylize(String(e),a)}var _T={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},ET=Object.entries(_T);function _l(e){return String(e)}_l.open="";_l.close="";function wT(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function CT(e=!1){let t=wT(e),r=(i,l,u,c)=>{let s="",d=0;do s+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return s+i.substring(d)},n=(i,l,u=i)=>{let c=s=>{let d=String(s),p=d.indexOf(l,i.length);return~p?i+r(d,l,u,p)+l:i+d+l};return c.open=i,c.close=l,c},a={isColorSupported:t},o=i=>`\x1B[${i}m`;for(let[i,l]of ET)a[i]=t?n(o(l[0]),o(l[1]),l[2]):_l;return a}var ve=CT(!1);function RT(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function Pa(e,t,r,n,a,o,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(l+=s,u++===t.maxWidth){l+="…";break}let d=o(c.value[0],t,s,n,a),p=o(c.value[1],t,s,n,a);l+=d+i+p,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function El(e,t,r,n,a,o){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="…";break}i+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Gn(e,t,r,n,a,o){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let s=0;s0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Xa}[${Gn(e.sample,t,r,n,a,o)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+Xa}{${wl(e.sample,t,r,n,a,o)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+Xa+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},PT=e=>e&&e.$$typeof===TT,OT={serialize:ST,test:PT},AT=" ",qp=new Set(["DOMStringMap","NamedNodeMap"]),qT=/^(?:HTML\w*Collection|NodeList)$/;function xT(e){return qp.has(e)||qT.test(e)}var MT=e=>e&&e.constructor&&!!e.constructor.name&&xT(e.constructor.name);function $T(e){return e.constructor.name==="NamedNodeMap"}var NT=(e,t,r,n,a,o)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+AT)+(qp.has(i)?`{${wl($T(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,o)}}`:`[${Gn([...e],t,r,n,a,o)}]`)},jT={serialize:NT,test:MT};function xp(e){return e.replaceAll("<","<").replaceAll(">",">")}function Cl(e,t,r,n,a,o,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,a,o);return typeof s!="string"&&(d.includes(` +`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function Rl(e,t,r,n,a,o){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Mp(i,t):o(i,t,r,n,a))).join("")}function Mp(e,t){let r=t.colors.content;return r.open+xp(e)+r.close}function IT(e,t){let r=t.colors.comment;return`${r.open}${r.close}`}function Tl(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}${o.close}`}function Sl(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var LT=1,$p=3,Np=8,jp=11,BT=/^(?:(?:HTML|SVG)\w*)?Element$/;function kT(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function DT(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||kT(e);return r===LT&&(BT.test(t)||a)||r===$p&&t==="Text"||r===Np&&t==="Comment"||r===jp&&t==="DocumentFragment"}var FT=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&DT(e)};function UT(e){return e.nodeType===$p}function HT(e){return e.nodeType===Np}function Qa(e){return e.nodeType===jp}var zT=(e,t,r,n,a,o)=>{if(UT(e))return Mp(e.data,t);if(HT(e))return IT(e.data,t);let i=Qa(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Sl(i,t):Tl(i,Cl(Qa(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Qa(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,o),Rl(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},VT={serialize:zT,test:FT},GT="@@__IMMUTABLE_ITERABLE__@@",WT="@@__IMMUTABLE_LIST__@@",KT="@@__IMMUTABLE_KEYED__@@",YT="@@__IMMUTABLE_MAP__@@",vu="@@__IMMUTABLE_ORDERED__@@",JT="@@__IMMUTABLE_RECORD__@@",XT="@@__IMMUTABLE_SEQ__@@",QT="@@__IMMUTABLE_SET__@@",ZT="@@__IMMUTABLE_STACK__@@",yr=e=>`Immutable.${e}`,Oa=e=>`[${e}]`,Jr=" ",_u="…";function eS(e,t,r,n,a,o,i){return++n>t.maxDepth?Oa(yr(i)):`${yr(i)+Jr}{${Pa(e.entries(),t,r,n,a,o)}}`}function tS(e){let t=0;return{next(){if(tt.maxDepth?Oa(i):`${i+Jr}{${Pa(tS(e),t,r,n,a,o)}}`}function nS(e,t,r,n,a,o){let i=yr("Seq");return++n>t.maxDepth?Oa(i):e[KT]?`${i+Jr}{${e._iter||e._object?Pa(e.entries(),t,r,n,a,o):_u}}`:`${i+Jr}[${e._iter||e._array||e._collection||e._iterable?El(e.values(),t,r,n,a,o):_u}]`}function Za(e,t,r,n,a,o,i){return++n>t.maxDepth?Oa(yr(i)):`${yr(i)+Jr}[${El(e.values(),t,r,n,a,o)}]`}var aS=(e,t,r,n,a,o)=>e[YT]?eS(e,t,r,n,a,o,e[vu]?"OrderedMap":"Map"):e[WT]?Za(e,t,r,n,a,o,"List"):e[QT]?Za(e,t,r,n,a,o,e[vu]?"OrderedSet":"Set"):e[ZT]?Za(e,t,r,n,a,o,"Stack"):e[XT]?nS(e,t,r,n,a,o):rS(e,t,r,n,a,o),oS=e=>e&&(e[GT]===!0||e[JT]===!0),iS={serialize:aS,test:oS},Ip={exports:{}},oe={},Eu;function lS(){return Eu||(Eu=1,function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.for("react.offscreen"),h=!1,m=!1,g=!1,b=!1,y=!1,R;R=Symbol.for("react.module.reference");function _($){return!!(typeof $=="string"||typeof $=="function"||$===r||$===a||y||$===n||$===c||$===s||b||$===f||h||m||g||typeof $=="object"&&$!==null&&($.$$typeof===p||$.$$typeof===d||$.$$typeof===o||$.$$typeof===i||$.$$typeof===u||$.$$typeof===R||$.getModuleId!==void 0))}function C($){if(typeof $=="object"&&$!==null){var se=$.$$typeof;switch(se){case e:var ue=$.type;switch(ue){case r:case a:case n:case c:case s:return ue;default:var we=ue&&ue.$$typeof;switch(we){case l:case i:case u:case p:case d:case o:return we;default:return se}}case t:return se}}}var w=i,v=o,E=e,O=u,M=r,N=p,k=d,j=t,I=a,B=n,z=c,K=s,W=!1,re=!1;function me($){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de($){return re||(re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function F($){return C($)===i}function L($){return C($)===o}function D($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function G($){return C($)===u}function Y($){return C($)===r}function ne($){return C($)===p}function fe($){return C($)===d}function Be($){return C($)===t}function q($){return C($)===a}function V($){return C($)===n}function U($){return C($)===c}function Q($){return C($)===s}oe.ContextConsumer=w,oe.ContextProvider=v,oe.Element=E,oe.ForwardRef=O,oe.Fragment=M,oe.Lazy=N,oe.Memo=k,oe.Portal=j,oe.Profiler=I,oe.StrictMode=B,oe.Suspense=z,oe.SuspenseList=K,oe.isAsyncMode=me,oe.isConcurrentMode=de,oe.isContextConsumer=F,oe.isContextProvider=L,oe.isElement=D,oe.isForwardRef=G,oe.isFragment=Y,oe.isLazy=ne,oe.isMemo=fe,oe.isPortal=Be,oe.isProfiler=q,oe.isStrictMode=V,oe.isSuspense=U,oe.isSuspenseList=Q,oe.isValidElementType=_,oe.typeOf=C}()),oe}Ip.exports=lS();var Ft=Ip.exports;function Lp(e,t=[]){if(Array.isArray(e))for(let r of e)Lp(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function wu(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ft.isFragment(e))return"React.Fragment";if(Ft.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ft.isContextProvider(e))return"Context.Provider";if(Ft.isContextConsumer(e))return"Context.Consumer";if(Ft.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ft.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function sS(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var uS=(e,t,r,n,a,o)=>++n>t.maxDepth?Sl(wu(e),t):Tl(wu(e),Cl(sS(e),e.props,t,r+t.indent,n,a,o),Rl(Lp(e.props.children),t,r+t.indent,n,a,o),t,r),cS=e=>e!=null&&Ft.isElement(e),dS={serialize:uS,test:cS},fS=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function pS(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var hS=(e,t,r,n,a,o)=>++n>t.maxDepth?Sl(e.type,t):Tl(e.type,e.props?Cl(pS(e),e.props,t,r+t.indent,n,a,o):"",e.children?Rl(e.children,t,r+t.indent,n,a,o):"",t,r),mS=e=>e&&e.$$typeof===fS,bS={serialize:hS,test:mS},Bp=Object.prototype.toString,gS=Date.prototype.toISOString,yS=Error.prototype.toString,Cu=RegExp.prototype.toString;function eo(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function vS(e){return typeof window<"u"&&e===window}var _S=/^Symbol\((.*)\)(.*)$/,ES=/\n/g,kp=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function wS(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function CS(e){return Object.is(e,-0)?"-0":String(e)}function RS(e){return`${e}n`}function Ru(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Tu(e){return String(e).replace(_S,"Symbol($1)")}function Su(e){return`[${yS.call(e)}]`}function Dp(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return CS(e);if(a==="bigint")return RS(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return Ru(e,t);if(a==="symbol")return Tu(e);let o=Bp.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?Ru(e,t):o==="[object Symbol]"?Tu(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":gS.call(e):o==="[object Error]"?Su(e):o==="[object RegExp]"?r?Cu.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Cu.call(e):e instanceof Error?Su(e):null}function Fp(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!o)return At(e.toJSON(),t,r,n,a,!0);let u=Bp.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${Gn(e,t,r,n,a,At)}]`:wS(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Gn(e,t,r,n,a,At)}]`:u==="[object Map]"?i?"[Map]":`Map {${Pa(e.entries(),t,r,n,a,At," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${El(e.values(),t,r,n,a,At)}}`:i||vS(e)?`[${eo(e)}]`:`${l||!t.printBasicPrototype&&eo(e)==="Object"?"":`${eo(e)} `}{${wl(e,t,r,n,a,At)}}`}function TS(e){return e.serialize!=null}function Up(e,t,r,n,a,o){let i;try{i=TS(e)?e.serialize(t,r,n,a,o,At):e.print(t,l=>At(l,r,n,a,o),l=>{let u=n+r.indent;return u+l.replaceAll(ES,` +${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new kp(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function Hp(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new kp(n.message,n.stack)}return null}function At(e,t,r,n,a,o){let i=Hp(t.plugins,e);if(i!==null)return Up(i,e,t,r,n,a);let l=Dp(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Fp(e,t,r,n,a,o)}var Pl={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},zp=Object.keys(Pl),Ke={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Pl};function SS(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ke,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function PS(){return zp.reduce((e,t)=>{let r=Pl[t],n=r&&ve[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function OS(){return zp.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Vp(e){return(e==null?void 0:e.printFunctionName)??Ke.printFunctionName}function Gp(e){return(e==null?void 0:e.escapeRegex)??Ke.escapeRegex}function Wp(e){return(e==null?void 0:e.escapeString)??Ke.escapeString}function Pu(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ke.callToJSON,colors:e!=null&&e.highlight?PS():OS(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ke.compareKeys,escapeRegex:Gp(e),escapeString:Wp(e),indent:e!=null&&e.min?"":AS((e==null?void 0:e.indent)??Ke.indent),maxDepth:(e==null?void 0:e.maxDepth)??Ke.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Ke.maxWidth,min:(e==null?void 0:e.min)??Ke.min,plugins:(e==null?void 0:e.plugins)??Ke.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Vp(e),spacingInner:e!=null&&e.min?" ":` +`,spacingOuter:e!=null&&e.min?"":` +`}}function AS(e){return Array.from({length:e+1}).join(" ")}function at(e,t){if(t&&(SS(t),t.plugins)){let n=Hp(t.plugins,e);if(n!==null)return Up(n,e,Pu(t),"",0,[])}let r=Dp(e,Vp(t),Gp(t),Wp(t));return r!==null?r:Fp(e,Pu(t),"",0,[])}var Kp={AsymmetricMatcher:OT,DOMCollection:jT,DOMElement:VT,Immutable:iS,ReactElement:dS,ReactTestComponent:bS},{AsymmetricMatcher:qS,DOMCollection:xS,DOMElement:MS,Immutable:$S,ReactElement:NS,ReactTestComponent:jS}=Kp,Ou=[jS,NS,MS,xS,$S,qS];function Ge(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=at(e,{maxDepth:t,escapeString:!1,plugins:Ou,...n})}catch{o=at(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Ou,...n})}return o.length>=a&&t>1?Ge(e,Math.floor(t/2)):o}var IS=/%[sdjifoOc%]/g;function LS(...e){if(typeof e[0]!="string"){let o=[];for(let i=0;i{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?Nr(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).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(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw i}default:return o}});for(let o=e[r];rn?e=e.substring(r-n):r0?r[n-1]:-1,i=0,l=0,u=0,c=0,a=null,t=!0)),o++;for(t&&Qp(e),US(e),o=1;o=f?(p>=s.length/2||p>=d.length/2)&&(e.splice(o,0,new ge(Ee,d.substring(0,p))),e[o-1][1]=s.substring(0,s.length-p),e[o+1][1]=d.substring(p),o++):(f>=s.length/2||f>=d.length/2)&&(e.splice(o,0,new ge(Ee,s.substring(0,f))),e[o-1][0]=Se,e[o-1][1]=d.substring(0,d.length-f),e[o+1][0]=qe,e[o+1][1]=s.substring(f),o++),o++}o++}},xu=/[^a-z0-9]/i,Mu=/\s/,$u=/[\r\n]/,DS=/\n\r?\n$/,FS=/^\r?\n\r?\n/;function US(e){function t(n,a){if(!n||!a)return 6;let o=n.charAt(n.length-1),i=a.charAt(0),l=o.match(xu),u=i.match(xu),c=l&&o.match(Mu),s=u&&i.match(Mu),d=c&&o.match($u),p=s&&i.match($u),f=d&&n.match(DS),h=p&&a.match(FS);return f||h?5:d||p?4:l&&!c&&s?3:c||s?2:l||u?1:0}let r=1;for(;r=s&&(s=d,l=n,u=a,c=o)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function Qp(e){e.push(new ge(Ee,""));let t=0,r=0,n=0,a="",o="",i;for(;t1?(r!==0&&n!==0&&(i=BS(o,a),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===Ee?e[t-r-n-1][1]+=o.substring(0,i):(e.splice(0,0,new ge(Ee,o.substring(0,i))),t++),o=o.substring(i),a=a.substring(i)),i=Xp(o,a),i!==0&&(e[t][1]=o.substring(o.length-i)+e[t][1],o=o.substring(0,o.length-i),a=a.substring(0,a.length-i))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new ge(qe,a)),t++),o.length&&(e.splice(t,0,new ge(Se,o)),t++),t++):t!==0&&e[t-1][0]===Ee?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",o="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t{let o=0;for(;e{let o=0;for(;e<=t&&r<=n&&a(t,n);)t-=1,n-=1,o+=1;return o},to=(e,t,r,n,a,o,i)=>{let l=0,u=-e,c=o[l],s=c;o[l]+=Xr(c+1,t,n+c-u+1,r,a);let d=e{let l=0,u=e,c=o[l],s=c;o[l]-=Qr(t,c-1,r,n+c-u-1,a);let d=e{let d=n-t,p=r-t,f=a-n-p,h=-f-(e-1),m=-f+(e-1),g=Pe,b=e{let d=a-r,p=r-t,f=a-n-p,h=f-e,m=f+e,g=Pe,b=e{let c=n-t,s=a-r,d=r-t,p=a-n,f=p-d,h=d,m=d;if(i[0]=t-1,l[0]=r,f%2===0){let g=(e||f)/2,b=(d+p)/2;for(let y=1;y<=b;y+=1)if(h=to(y,r,a,c,o,i,h),y{if(a-n{M(k,I,j)},isCommon:(k,j)=>N(j,k)}}let E=t,O=r;t=n,r=a,n=E,a=O}let{foundSubsequence:s,isCommon:d}=i[o?1:0];GS(e,t,r,n,a,d,l,u,c);let{nChangePreceding:p,aEndPreceding:f,bEndPreceding:h,nCommonPreceding:m,aCommonPreceding:g,bCommonPreceding:b,nCommonFollowing:y,aCommonFollowing:R,bCommonFollowing:_,nChangeFollowing:C,aStartFollowing:w,bStartFollowing:v}=c;t{if(typeof t!="number")throw new TypeError(`${Fr}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Fr}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Fr}: ${e} value ${t} is a negative integer`)},Iu=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Fr}: ${e} typeof ${r} is not a function`)};function WS(e,t,r,n){ju("aLength",e),ju("bLength",t),Iu("isCommon",r),Iu("foundSubsequence",n);let a=Xr(0,e,0,t,r);if(a!==0&&n(a,0,0),e!==a||t!==a){let o=a,i=a,l=Qr(o,e-1,i,t-1,r),u=e-l,c=t-l,s=a+l;e!==s&&t!==s&&Wo(0,o,u,i,c,!1,[{foundSubsequence:n,isCommon:r}],[Pe],[Pe],{aCommonFollowing:Pe,aCommonPreceding:Pe,aEndPreceding:Pe,aStartFollowing:Pe,bCommonFollowing:Pe,bCommonPreceding:Pe,bEndPreceding:Pe,bStartFollowing:Pe,nChangeFollowing:Pe,nChangePreceding:Pe,nCommonFollowing:Pe,nCommonPreceding:Pe}),l!==0&&n(l,u,c)}}function KS(e,t){return e.replace(/\s+$/,r=>t(r))}function Ol(e,t,r,n,a,o){return e.length!==0?r(`${n} ${KS(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}function rh(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Ol(e,t,r,n,a,o)}function nh(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Ol(e,t,r,n,a,o)}function ah(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return Ol(e,t,r,n,a,o)}function Lu(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function YS(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,i=!1,l=0,u=0;for(;u!==r;){let _=u;for(;u!==r&&e[u][0]===Ee;)u+=1;if(_!==u)if(_===0)u>n&&(o-=u-n,i=!0);else if(u===r){let C=u-_;C>n&&(o-=C-n,i=!0)}else{let C=u-_;C>a&&(o-=C-a,l+=1)}for(;u!==r&&e[u][0]!==Ee;)u+=1}let c=l!==0||i;l!==0?o+=l+1:i&&(o+=1);let s=o-1,d=[],p=0;c&&d.push("");let f=0,h=0,m=0,g=0,b=_=>{let C=d.length;d.push(ah(_,C===0||C===s,t)),m+=1,g+=1},y=_=>{let C=d.length;d.push(rh(_,C===0||C===s,t)),m+=1},R=_=>{let C=d.length;d.push(nh(_,C===0||C===s,t)),g+=1};for(u=0;u!==r;){let _=u;for(;u!==r&&e[u][0]===Ee;)u+=1;if(_!==u)if(_===0){u>n&&(_=u-n,f=_,h=_,m=f,g=h);for(let C=_;C!==u;C+=1)b(e[C][1])}else if(u===r){let C=u-_>n?_+n:u;for(let w=_;w!==C;w+=1)b(e[w][1])}else{let C=u-_;if(C>a){let w=_+n;for(let E=_;E!==w;E+=1)b(e[E][1]);d[p]=Lu(f,m,h,g,t),p=d.length,d.push("");let v=C-a;f=m+v,h=g+v,m=f,g=h;for(let E=u-n;E!==u;E+=1)b(e[E][1])}else for(let w=_;w!==u;w+=1)b(e[w][1])}for(;u!==r&&e[u][0]===qe;)y(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Se;)R(e[u][1]),u+=1}return c&&(d[p]=Lu(f,m,h,g,t)),d.join(` +`)}function JS(e,t){return e.map((r,n,a)=>{let o=r[1],i=n===0||n===a.length-1;switch(r[0]){case qe:return rh(o,i,t);case Se:return nh(o,i,t);default:return ah(o,i,t)}}).join(` +`)}var ro=e=>e,oh=5,XS=0;function QS(){return{aAnnotation:"Expected",aColor:ve.green,aIndicator:"-",bAnnotation:"Received",bColor:ve.red,bIndicator:"+",changeColor:ve.inverse,changeLineTrailingSpaceColor:ro,commonColor:ve.dim,commonIndicator:" ",commonLineTrailingSpaceColor:ro,compareKeys:void 0,contextLines:oh,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:ve.yellow,truncateThreshold:XS,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:ro}}function ZS(e){return e&&typeof e=="function"?e:void 0}function eP(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:oh}function Jt(e={}){return{...QS(),...e,compareKeys:ZS(e.compareKeys),contextLines:eP(e.contextLines)}}function ir(e){return e.length===1&&e[0].length===0}function tP(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case qe:t+=1;break;case Se:r+=1;break}}),{a:t,b:r}}function rP({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return"";let c="",s="";if(i){let f=String(u.a),h=String(u.b),m=n.length-e.length,g=" ".repeat(Math.max(0,m)),b=" ".repeat(Math.max(0,-m)),y=h.length-f.length,R=" ".repeat(Math.max(0,y)),_=" ".repeat(Math.max(0,-y));c=`${g} ${r} ${R}${f}`,s=`${b} ${o} ${_}${h}`}let d=`${r} ${e}${c}`,p=`${o} ${n}${s}`;return`${t(d)} +${a(p)} + +`}function Al(e,t,r){return rP(r,tP(e))+(r.expand?JS(e,r):YS(e,r))+(t?r.truncateAnnotationColor(` +${r.truncateAnnotation}`):"")}function Aa(e,t,r){let n=Jt(r),[a,o]=ih(ir(e)?[]:e,ir(t)?[]:t,n);return Al(a,o,n)}function nP(e,t,r,n,a){if(ir(e)&&ir(r)&&(e=[],r=[]),ir(t)&&ir(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Aa(e,t,a);let[o,i]=ih(r,n,a),l=0,u=0;return o.forEach(c=>{switch(c[0]){case qe:c[1]=e[l],l+=1;break;case Se:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Al(o,i,Jt(a))}function ih(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),o=n?Math.min(e.length,a):e.length,i=n?Math.min(t.length,a):t.length,l=o!==e.length||i!==t.length,u=(p,f)=>e[p]===t[f],c=[],s=0,d=0;for(th(o,i,u,(p,f,h)=>{for(;s!==f;s+=1)c.push(new ge(qe,e[s]));for(;d!==h;d+=1)c.push(new ge(Se,t[d]));for(;p!==0;p-=1,s+=1,d+=1)c.push(new ge(Ee,t[d]))});s!==o;s+=1)c.push(new ge(qe,e[s]));for(;d!==i;d+=1)c.push(new ge(Se,t[d]));return[c,l]}function Bu(e){return e.includes(`\r +`)?`\r +`:` +`}function aP(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),o=e.length,i=t.length;if(n){let p=e.includes(` +`),f=t.includes(` +`),h=Bu(e),m=Bu(t),g=p?`${e.split(h,a).join(h)} +`:e,b=f?`${t.split(m,a).join(m)} +`:t;o=g.length,i=b.length}let l=o!==e.length||i!==t.length,u=(p,f)=>e[p]===t[f],c=0,s=0,d=[];return th(o,i,u,(p,f,h)=>{c!==f&&d.push(new ge(qe,e.slice(c,f))),s!==h&&d.push(new ge(Se,t.slice(s,h))),c=f+p,s=h+p,d.push(new ge(Ee,t.slice(h,s)))}),c!==o&&d.push(new ge(qe,e.slice(c))),s!==i&&d.push(new ge(Se,t.slice(s))),[d,l]}function oP(e,t,r){return t.reduce((n,a)=>n+(a[0]===Ee?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var ku=class{constructor(e,t){ye(this,"op");ye(this,"line");ye(this,"lines");ye(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new ge(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new ge(this.op,oP(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new ge(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(` +`)){let r=t.split(` +`),n=r.length-1;r.forEach((a,o)=>{o{if(i===0){let l=new ge(t,o);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else i{switch(o[0]){case qe:r.align(o);break;case Se:n.align(o);break;default:a.align(o)}}),a.getLines()}function sP(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===Ee&&(a!==r||n[1]!==` +`))}return e.some(r=>r[0]===Ee)}function uP(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(` +`)||t.includes(` +`),[a,o]=lh(n?`${e} +`:e,n?`${t} +`:t,!0,r);if(sP(a,n)){let i=Jt(r),l=lP(a,i.changeColor);return Al(l,o,i)}}return Aa(e.split(` +`),t.split(` +`),r)}function lh(e,t,r,n){let[a,o]=aP(e,t,n);return kS(a),[a,o]}function Ko(e,t){let{commonColor:r}=Jt(t);return r(e)}var{AsymmetricMatcher:cP,DOMCollection:dP,DOMElement:fP,Immutable:pP,ReactElement:hP,ReactTestComponent:mP}=Kp,sh=[mP,hP,fP,dP,pP,cP],Yo={plugins:sh},uh={callToJSON:!1,maxDepth:10,plugins:sh};function vr(e,t,r){if(Object.is(e,t))return"";let n=Au(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==Au(t)){let{aAnnotation:i,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Jt(r),p=Jo(uh,r),f=at(e,p),h=at(t,p),m=`${l(`${u} ${i}:`)} +${f}`,g=`${s(`${d} ${c}:`)} +${h}`;return`${m} + +${g}`}if(!o)switch(n){case"string":return Aa(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return bP(e,t,r);case"map":return no(Du(e),Du(t),r);case"set":return no(Fu(e),Fu(t),r);default:return no(e,t,r)}}function bP(e,t,r){let n=at(e,Yo),a=at(t,Yo);return n===a?"":Aa(n.split(` +`),a.split(` +`),r)}function Du(e){return new Map(Array.from(e.entries()).sort())}function Fu(e){return new Set(Array.from(e.values()).sort())}function no(e,t,r){let n,a=!1;try{let i=Jo(Yo,r);n=Uu(e,t,i,r)}catch{a=!0}let o=Ko(Zp,r);if(n===void 0||n===o){let i=Jo(uh,r);n=Uu(e,t,i,r),n!==o&&!a&&(n=`${Ko(HS,r)} + +${n}`)}return n}function Jo(e,t){let{compareKeys:r}=Jt(t);return{...e,compareKeys:r}}function Uu(e,t,r,n){let a={...r,indent:0},o=at(e,a),i=at(t,a);if(o===i)return Ko(Zp,n);{let l=at(e,r),u=at(t,r);return nP(l.split(` +`),u.split(` +`),o.split(` +`),i.split(` +`),n)}}var Hu=2e4;function zu(e){return Ho(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Vu(e,t){let r=Ho(e),n=Ho(t);return r===n&&(r==="Object"||r==="Array")}function ch(e,t,r){let{aAnnotation:n,bAnnotation:a}=Jt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Hu&&t.length<=Hu&&e!==t){if(e.includes(` +`)||t.includes(` +`))return uP(t,e,r);let[c]=lh(t,e),s=c.some(h=>h[0]===Ee),d=gP(n,a),p=d(n)+_P(Gu(c,qe,s)),f=d(a)+vP(Gu(c,Se,s));return`${p} +${f}`}let o=su(e,{forceWritable:!0}),i=su(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=dh(o,i);return vr(l,u,r)}function dh(e,t,r=new WeakSet,n=new WeakSet){return Vu(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Sp(t).forEach(a=>{let o=t[a],i=e[a];if(zu(o))o.asymmetricMatch(i)&&(e[a]=o);else if(zu(i))i.asymmetricMatch(o)&&(t[a]=i);else if(Vu(i,o)){let l=dh(i,o,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function gP(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var yP="·";function fh(e){return e.replace(/\s+$/gm,t=>yP.repeat(t.length))}function vP(e){return ve.red(fh(Ge(e)))}function _P(e){return ve.green(fh(Ge(e)))}function Gu(e,t,r){return e.reduce((n,a)=>n+(a[0]===Ee?a[1]:a[0]===t?r?ve.inverse(a[1]):a[1]:""),"")}function $n(e,t){if(!e)throw new Error(t)}function lr(e,t){return typeof t===e}function EP(e){return e instanceof Promise}function Xo(e,t,r){Object.defineProperty(e,t,r)}function cr(e,t,r){Object.defineProperty(e,t,{value:r})}var Ur=Symbol.for("tinyspy:spy"),wP=new Set,CP=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},RP=e=>(Xo(e,Ur,{value:{reset:()=>CP(e[Ur])}}),e[Ur]),Wn=e=>e[Ur]||RP(e);function TP(e){$n(lr("function",e)||lr("undefined",e),"cannot spy on a non-function value");let t=function(...n){let a=Wn(t);a.called=!0,a.callCount++,a.calls.push(n);let o=a.next.shift();if(o){a.results.push(o);let[s,d]=o;if(s==="ok")return d;throw d}let i,l="ok",u=a.results.length;if(a.impl)try{new.target?i=Reflect.construct(a.impl,n,new.target):i=a.impl.apply(this,n),l="ok"}catch(s){throw i=s,l="error",a.results.push([l,s]),s}let c=[l,i];return EP(i)&&i.then(s=>a.resolves[u]=["ok",s],s=>a.resolves[u]=["error",s]),a.results.push(c),i};cr(t,"_isMockFunction",!0),cr(t,"length",e?e.length:0),cr(t,"name",e&&e.name||"spy");let r=Wn(t);return r.reset(),r.impl=e,t}var Wu=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Ku=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function SP(e,t,r){$n(!lr("undefined",e),"spyOn could not find an object to spy upon"),$n(lr("object",e)||lr("function",e),"cannot spyOn on a primitive value");let[n,a]=(()=>{if(!lr("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),o=Wu(e,n),i=Object.getPrototypeOf(e),l=i&&Wu(i,n),u=o||l;$n(u||n in e,`${String(n)} does not exist`);let c=!1;a==="value"&&u&&!u.value&&u.get&&(a="get",c=!0,r=u.get());let s;u?s=u[a]:a!=="value"?s=()=>e[n]:s=e[n],r||(r=s);let d=TP(r);a==="value"&&Ku(d,s);let p=m=>{let{value:g,...b}=u||{configurable:!0,writable:!0};a!=="value"&&delete b.writable,b[a]=m,Xo(e,n,b)},f=()=>u?Xo(e,n,u):p(s),h=d[Ur];return cr(h,"restore",f),cr(h,"getOriginal",()=>c?s():s),cr(h,"willCall",m=>(h.impl=m,d)),p(c?()=>(Ku(d,r),d):d),wP.add(d),d}var qa=new Set;function ph(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var PP=0;function OP(e){let t=e,r,n=[],a=[],o=[],i=Wn(e),l={get calls(){return i.calls},get contexts(){return a},get instances(){return n},get invocationCallOrder(){return o},get results(){return i.results.map(([f,h])=>({type:f==="error"?"throw":"return",value:h}))},get settledResults(){return i.resolves.map(([f,h])=>({type:f==="error"?"rejected":"fulfilled",value:h}))},get lastCall(){return i.calls[i.calls.length-1]}},u=[],c=!1;function s(...f){return n.push(this),a.push(this),o.push(++PP),(c?r:u.shift()||r||i.getOriginal()||(()=>{})).apply(this,f)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=f=>(d=f,t),t.mockClear=()=>(i.reset(),n=[],a=[],o=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),i.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=f=>(r=f,i.willCall(s),t),t.mockImplementationOnce=f=>(u.push(f),t);function p(f,h){let m=r;r=f,i.willCall(s),c=!0;let g=()=>{r=m,c=!1},b=h();return b instanceof Promise?b.then(()=>(g(),t)):(g(),t)}return t.withImplementation=p,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=f=>t.mockImplementation(()=>f),t.mockReturnValueOnce=f=>t.mockImplementationOnce(()=>f),t.mockResolvedValue=f=>t.mockImplementation(()=>Promise.resolve(f)),t.mockResolvedValueOnce=f=>t.mockImplementationOnce(()=>Promise.resolve(f)),t.mockRejectedValue=f=>t.mockImplementation(()=>Promise.reject(f)),t.mockRejectedValueOnce=f=>t.mockImplementationOnce(()=>Promise.reject(f)),Object.defineProperty(t,"mock",{get:()=>l}),i.willCall(s),qa.add(t),t}function Yu(e){let t=OP(SP({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var AP="@@__IMMUTABLE_RECORD__@@",qP="@@__IMMUTABLE_ITERABLE__@@";function xP(e){return e&&(e[qP]||e[AP])}var MP=Object.getPrototypeOf({});function Ju(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function sr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(xP(e))return sr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${LS(e.sample)}`;if(typeof e.toJSON=="function")return sr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=sr(n,t)}catch(o){r[a]=Ju(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==MP;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=sr(e[a],t)}catch(o){delete r[a],r[a]=Ju(o)}}),n=Object.getPrototypeOf(n);return r}}function $P(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function hh(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=ch(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Ge(n.expected,10)),typeof n.actual!="string"&&(n.actual=Ge(n.actual,10));try{typeof n.message=="string"&&(n.message=$P(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=hh(n.cause,t,r))}catch{}try{return sr(n)}catch(a){return sr(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message} +Inner error message: ${n==null?void 0:n.message}`))}}var Zr=Symbol.for("matchers-object"),en=Symbol.for("$$jest-matchers-object-storybook"),ql=Symbol.for("expect-global"),Qo=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,Zr)){let e=new WeakMap;Object.defineProperty(globalThis,Zr,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,en)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,en,{configurable:!0,get:()=>({state:globalThis[Zr].get(globalThis[ql]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Qo)){let e=Object.create(null);Object.defineProperty(globalThis,Qo,{get:()=>e})}function Kn(e){return globalThis[Zr].get(e)}function ao(e,t){let r=globalThis[Zr],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Yn=ve.green,xl=ve.red,NP=ve.inverse,jP=ve.bold,Pt=ve.dim;function IP(e,t="received",r="expected",n={}){let{comment:a="",isDirectExpectCall:o=!1,isNot:i=!1,promise:l="",secondArgument:u="",expectedColor:c=Yn,receivedColor:s=xl,secondArgumentColor:d=Yn}=n,p="",f="expect";return!o&&t!==""&&(p+=Pt(`${f}(`)+s(t),f=")"),l!==""&&(p+=Pt(`${f}.`)+l,f=""),i&&(p+=`${Pt(`${f}.`)}not`,f=""),e.includes(".")?f+=e:(p+=Pt(`${f}.`)+e,f=""),r===""?f+="()":(p+=Pt(`${f}(`)+c(r),u&&(p+=Pt(", ")+d(u)),f=")"),a!==""&&(f+=` // ${a}`),f!==""&&(p+=Pt(f)),p}var LP="·";function mh(e){return e.replace(/\s+$/gm,t=>LP.repeat(t.length))}function BP(e){return xl(mh(Ge(e)))}function kP(e){return Yn(mh(Ge(e)))}function bh(){return{EXPECTED_COLOR:Yn,RECEIVED_COLOR:xl,INVERTED_COLOR:NP,BOLD_WEIGHT:jP,DIM_COLOR:Pt,diff:vr,matcherHint:IP,printReceived:BP,printExpected:kP,printDiffOrStringify:ch}}function Ml(){return globalThis[en].customEqualityTesters}function te(e,t,r,n){return r=r||[],gh(e,t,[],[],r,n?yh:FP)}function Xu(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Xe("Function",e.asymmetricMatch)}function DP(e,t){let r=Xu(e),n=Xu(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function gh(e,t,r,n,a,o){let i=!0,l=DP(e,t);if(l!==void 0)return l;let u={equals:te};for(let h=0;hObject.getOwnPropertyDescriptor(e,n).enumerable))}function FP(e,t){return yh(e,t)&&e[t]!==void 0}function yh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Xe(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function Zu(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var vh="@@__IMMUTABLE_KEYED__@@",_h="@@__IMMUTABLE_SET__@@",UP="@@__IMMUTABLE_LIST__@@",xa="@@__IMMUTABLE_ORDERED__@@",HP="@@__IMMUTABLE_RECORD__@@";function zP(e){return!!(e&&e[vh]&&!e[xa])}function VP(e){return!!(e&&e[_h]&&!e[xa])}function Ma(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function GP(e){return!!(e&&Ma(e)&&e[UP])}function WP(e){return!!(e&&Ma(e)&&e[vh]&&e[xa])}function KP(e){return!!(e&&Ma(e)&&e[_h]&&e[xa])}function YP(e){return!!(e&&Ma(e)&&e[HP])}var Eh=Symbol.iterator;function ec(e){return!!(e!=null&&e[Eh])}function De(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!ec(e)||!ec(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return a[o]===t;n.push(e),a.push(t);let i=[...r.filter(c=>c!==De),l];function l(c,s){return De(c,s,[...r],[...n],[...a])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Xe("Set",e)||VP(e)){let c=!0;for(let s of e)if(!t.has(s)){let d=!1;for(let p of t)te(s,p,i)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}else if(Xe("Map",e)||zP(e)){let c=!0;for(let s of e)if(!t.has(s[0])||!te(s[1],t.get(s[0]),i)){let d=!1;for(let p of t){let f=te(s[0],p[0],i),h=!1;f===!0&&(h=te(s[1],p[1],i)),h===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}}let u=t[Eh]();for(let c of e){let s=u.next();if(s.done||!te(c,s.value,i))return!1}if(!u.next().done)return!1;if(!GP(e)&&!WP(e)&&!KP(e)&&!YP(e)){let c=Object.entries(e),s=Object.entries(t);if(!te(c,s))return!1}return n.pop(),a.pop(),!0}function $l(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||$l(Object.getPrototypeOf(e),t)}function JP(e){return xn(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function bn(e,t,r=[]){let n=r.filter(o=>o!==bn),a=(o=new WeakMap)=>(i,l)=>{if(JP(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(o.has(l[u]))return te(i[u],l[u],n);o.set(l[u],!0)}let c=i!=null&&$l(i,u)&&te(i[u],l[u],[...n,a(o)]);return o.delete(l[u]),c})};return a()(e,t)}function tc(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function rc(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let a=0;ai!==Zo);return te(e,t,o,!0)&&te(n,a)}function XP(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 QP(e,t){return`${t} ${e}${t===1?"":"s"}`}function oo(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function ZP(e,t,r=[]){let n=0,a=(o=new WeakMap)=>(i,l)=>{if(Array.isArray(i)){if(Array.isArray(l)&&l.length===i.length)return l.map((u,c)=>a(o)(i[c],u))}else{if(i instanceof Date)return i;if(xn(i)&&xn(l)){if(te(i,l,[...r,De,bn]))return l;let u={};o.set(i,u);for(let c of oo(i))$l(l,c)?u[c]=o.has(i[c])?o.get(i[c]):a(o)(i[c],l[c]):o.has(i[c])||(n+=1,xn(i[c])&&(n+=oo(i[c]).length),a(o)(i[c],l[c]));if(oo(u).length>0)return u}}return i};return{subset:a()(e,t),stripped:n}}var Bt=class{constructor(e,t=!1){ye(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Kn(e||globalThis[ql]),equals:te,isNot:this.inverse,customTesters:Ml(),utils:{...bh(),diff:vr,stringify:Ge,iterableEquality:De,subsetEquality:bn}}}[Symbol.for("chai/inspect")](e){let t=Ge(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`}},nc=class extends Bt{constructor(e,t=!1){if(!Xe("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Xe("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},eO=class extends Bt{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},ac=class extends Bt{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!te(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},oc=class extends Bt{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(a=>te(n,a,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},tO=class extends Bt{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:""}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)}>`}},ic=class extends Bt{constructor(e,t=!1){if(!Xe("String",e)&&!Xe("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Xe("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},lc=class extends Bt{constructor(t,r=2,n=!1){if(!Xe("Number",t))throw new Error("Expected is not a Number");if(!Xe("Number",r))throw new Error("Precision is not a Number");super(t);ye(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Xe("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${QP("digit",this.precision)})`].join(" ")}},rO=(e,t)=>{t.addMethod(e.expect,"anything",()=>new eO),t.addMethod(e.expect,"any",r=>new tO(r)),t.addMethod(e.expect,"stringContaining",r=>new nc(r)),t.addMethod(e.expect,"objectContaining",r=>new ac(r)),t.addMethod(e.expect,"arrayContaining",r=>new oc(r)),t.addMethod(e.expect,"stringMatching",r=>new ic(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new lc(r,n)),e.expect.not={stringContaining:r=>new nc(r,!0),objectContaining:r=>new ac(r,!0),arrayContaining:r=>new oc(r,!0),stringMatching:r=>new ic(r,!0),closeTo:(r,n)=>new lc(r,n,!0)}};function sc(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function wh(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let a=e.flag(this,"vitest-test");if(!a)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(o){a.result||(a.result={state:"fail"}),a.result.state="fail",(n=a.result).errors||(n.errors=[]),a.result.errors.push(hh(o))}}}var nO=(e,t)=>{let{AssertionError:r}=e,n=Ml();function a(s,d){let p=f=>{let h=wh(t,d);t.addMethod(e.Assertion.prototype,f,h),t.addMethod(globalThis[en].matchers,f,h)};Array.isArray(s)?s.forEach(f=>p(f)):p(s)}["throw","throws","Throw"].forEach(s=>{t.overwriteMethod(e.Assertion.prototype,s,d=>function(...p){let f=t.flag(this,"promise"),h=t.flag(this,"object"),m=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw h});else if(f==="resolves"&&typeof h!="function"){if(m)return;{let g=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(g,b,t.flag(this,"ssfi"))}}d.apply(this,p)})}),a("withTest",function(s){return t.flag(this,"vitest-test",s),this}),a("toEqual",function(s){let d=t.flag(this,"object"),p=te(d,s,[...n,De]);return this.assert(p,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",s,d)}),a("toStrictEqual",function(s){let d=t.flag(this,"object"),p=te(d,s,[...n,De,tc,Zo,rc],!0);return this.assert(p,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",s,d)}),a("toBe",function(s){let d=this._obj,p=Object.is(d,s),f="";return p||(te(d,s,[...n,De,tc,Zo,rc],!0)?f="toStrictEqual":te(d,s,[...n,De])&&(f="toEqual")),this.assert(p,XP(f),"expected #{this} not to be #{exp} // Object.is equality",s,d)}),a("toMatchObject",function(s){let d=this._obj,p=te(d,s,[...n,De,bn]),f=t.flag(this,"negate"),{subset:h,stripped:m}=ZP(d,s);if(p&&f||!p&&!f){let g=t.getMessage(this,[p,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",s,h,!1]),b=m===0?g:`${g} +(${m} matching ${m===1?"property":"properties"} omitted from actual)`;throw new r(b,{showDiff:!0,expected:s,actual:h})}}),a("toMatch",function(s){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof s=="string"?d.includes(s):d.match(s),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",s,d)}),a("toContain",function(s){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(s instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof s}`);return this.assert(d.contains(s),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",s,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){dt(s,"class name",["string"]);let p=t.flag(this,"negate")?d.value.replace(s,"").trim():`${d.value} ${s}`;return this.assert(d.contains(s),`expected "${d.value}" to contain "${s}"`,`expected "${d.value}" not to contain "${s}"`,p,d.value)}return typeof d=="string"&&typeof s=="string"?this.assert(d.includes(s),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",s,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(s))}),a("toContainEqual",function(s){let d=t.flag(this,"object"),p=Array.from(d).findIndex(f=>te(f,s,n));this.assert(p!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",s)}),a("toBeTruthy",function(){let s=t.flag(this,"object");this.assert(!!s,"expected #{this} to be truthy","expected #{this} to not be truthy",s,!1)}),a("toBeFalsy",function(){let s=t.flag(this,"object");this.assert(!s,"expected #{this} to be falsy","expected #{this} to not be falsy",s,!1)}),a("toBeGreaterThan",function(s){let d=this._obj;return dt(d,"actual",["number","bigint"]),dt(s,"expected",["number","bigint"]),this.assert(d>s,`expected ${d} to be greater than ${s}`,`expected ${d} to be not greater than ${s}`,d,s,!1)}),a("toBeGreaterThanOrEqual",function(s){let d=this._obj;return dt(d,"actual",["number","bigint"]),dt(s,"expected",["number","bigint"]),this.assert(d>=s,`expected ${d} to be greater than or equal to ${s}`,`expected ${d} to be not greater than or equal to ${s}`,d,s,!1)}),a("toBeLessThan",function(s){let d=this._obj;return dt(d,"actual",["number","bigint"]),dt(s,"expected",["number","bigint"]),this.assert(dString(R).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[p,f]=s,h=()=>Object.prototype.hasOwnProperty.call(d,p)?{value:d[p],exists:!0}:t.getPathInfo(d,p),{value:m,exists:g}=h(),b=g&&(s.length===1||te(f,m,n)),y=s.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(b,`expected #{this} to have property "${p}"${y}`,`expected #{this} to not have property "${p}"${y}`,f,g?m:void 0)}),a("toBeCloseTo",function(s,d=2){let p=this._obj,f=!1,h=0,m=0;return s===Number.POSITIVE_INFINITY&&p===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY&&p===Number.NEGATIVE_INFINITY?f=!0:(h=10**-d/2,m=Math.abs(p-s),f=m{if(!ph(s._obj))throw new TypeError(`${t.inspect(s._obj)} is not a spy or a call to a spy!`)},i=s=>(o(s),s._obj),l=s=>{let d=s%10,p=s%100;return d===1&&p!==11?`${s}st`:d===2&&p!==12?`${s}nd`:d===3&&p!==13?`${s}rd`:`${s}th`},u=(s,d,p)=>(s.mock.calls&&(d+=ve.gray(` + +Received: + +${s.mock.calls.map((f,h)=>{let m=ve.bold(` ${l(h+1)} ${s.getMockName()} call: + +`);return p?m+=vr(p,f,{omitAnnotationLines:!0}):m+=Ge(f).split(` +`).map(g=>` ${g}`).join(` +`),m+=` +`,m}).join(` +`)}`)),d+=ve.gray(` + +Number of calls: ${ve.bold(s.mock.calls.length)} +`),d),c=(s,d,p,f)=>(p+=ve.gray(` + +Received: + +${d.map((h,m)=>{let g=ve.bold(` ${l(m+1)} ${s.getMockName()} call return: + +`);return f?g+=vr(f,h.value,{omitAnnotationLines:!0}):g+=Ge(h).split(` +`).map(b=>` ${b}`).join(` +`),g+=` +`,g}).join(` +`)}`),p+=ve.gray(` + +Number of calls: ${ve.bold(s.mock.calls.length)} +`),p);a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(s){let d=i(this),p=d.getMockName(),f=d.mock.calls.length;return this.assert(f===s,`expected "${p}" to be called #{exp} times, but got ${f} times`,`expected "${p}" to not be called #{exp} times`,s,f,!1)}),a("toHaveBeenCalledOnce",function(){let s=i(this),d=s.getMockName(),p=s.mock.calls.length;return this.assert(p===1,`expected "${d}" to be called once, but got ${p} times`,`expected "${d}" to not be called once`,1,p,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let s=i(this),d=s.getMockName(),p=s.mock.calls.length,f=p>0,h=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${p} times`,!0,f]);if(f&&h&&(m=u(s,m)),f&&h||!f&&!h)throw new r(m)}),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...s){let d=i(this),p=d.getMockName(),f=d.mock.calls.some(g=>te(g,s,[...n,De])),h=t.flag(this,"negate"),m=t.getMessage(this,[f,`expected "${p}" to be called with arguments: #{exp}`,`expected "${p}" to not be called with arguments: #{exp}`,s]);if(f&&h||!f&&!h)throw new r(u(d,m,s))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(s,...d){let p=i(this),f=p.getMockName(),h=p.mock.calls[s-1],m=p.mock.calls.length,g=s<=m;this.assert(te(h,d,[...n,De]),`expected ${l(s)} "${f}" call to have been called with #{exp}${g?"":`, but called only ${m} times`}`,`expected ${l(s)} "${f}" call to not have been called with #{exp}`,d,h,g)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...s){let d=i(this),p=d.getMockName(),f=d.mock.calls[d.mock.calls.length-1];this.assert(te(f,s,[...n,De]),`expected last "${p}" call to have been called with #{exp}`,`expected last "${p}" call to not have been called with #{exp}`,s,f)}),a(["toThrow","toThrowError"],function(s){if(typeof s=="string"||typeof s>"u"||s instanceof RegExp)return this.throws(s);let d=this._obj,p=t.flag(this,"promise"),f=t.flag(this,"negate"),h=null;if(p==="rejects")h=d;else if(p==="resolves"&&typeof d!="function"){if(f)return;{let m=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(m,g,t.flag(this,"ssfi"))}}else{let m=!1;try{d()}catch(g){m=!0,h=g}if(!m&&!f){let g=t.flag(this,"message")||"expected function to throw an error, but it didn't",b={showDiff:!1};throw new r(g,b,t.flag(this,"ssfi"))}}if(typeof s=="function"){let m=s.name||s.prototype.constructor.name;return this.assert(h&&h instanceof s,`expected error to be instance of ${m}`,`expected error not to be instance of ${m}`,s,h)}if(s instanceof Error)return this.assert(h&&s.message===h.message,`expected error to have message: ${s.message}`,`expected error not to have message: ${s.message}`,s.message,h&&h.message);if(typeof s=="object"&&"asymmetricMatch"in s&&typeof s.asymmetricMatch=="function"){let m=s;return this.assert(h&&m.asymmetricMatch(h),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",m,h)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof s}"`)}),[{name:"toHaveResolved",condition:s=>s.mock.settledResults.length>0&&s.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s=>s.mock.calls.length>0&&s.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(){let f=i(this),h=f.getMockName(),m=d(f);this.assert(m,`expected "${h}" to be successfully ${p} at least once`,`expected "${h}" to not be successfully ${p}`,m,!m,!1)})}),[{name:"toHaveResolvedTimes",condition:(s,d)=>s.mock.settledResults.reduce((p,{type:f})=>f==="fulfilled"?++p:p,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(s,d)=>s.mock.results.reduce((p,{type:f})=>f==="throw"?p:++p,0)===d,action:"called"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(f){let h=i(this),m=h.getMockName(),g=d(h,f);this.assert(g,`expected "${m}" to be successfully ${p} ${f} times`,`expected "${m}" to not be successfully ${p} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${g}`,!1)})}),[{name:"toHaveResolvedWith",condition:(s,d)=>s.mock.settledResults.some(({type:p,value:f})=>p==="fulfilled"&&te(d,f)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(s,d)=>s.mock.results.some(({type:p,value:f})=>p==="return"&&te(d,f)),action:"return"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(f){let h=i(this),m=d(h,f),g=t.flag(this,"negate");if(m&&g||!m&&!g){let b=h.getMockName(),y=t.getMessage(this,[m,`expected "${b}" to ${p} with: #{exp} at least once`,`expected "${b}" to not ${p} with: #{exp}`,f]),R=p==="return"?h.mock.results:h.mock.settledResults;throw new r(c(h,R,y,f))}})}),[{name:"toHaveLastResolvedWith",condition:(s,d)=>{let p=s.mock.settledResults[s.mock.settledResults.length-1];return p&&p.type==="fulfilled"&&te(p.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(s,d)=>{let p=s.mock.results[s.mock.results.length-1];return p&&p.type==="return"&&te(p.value,d)},action:"return"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(f){let h=i(this),m=p==="return"?h.mock.results:h.mock.settledResults,g=m[m.length-1],b=h.getMockName();this.assert(d(h,f),`expected last "${b}" call to ${p} #{exp}`,`expected last "${b}" call to not ${p} #{exp}`,f,g==null?void 0:g.value)})}),[{name:"toHaveNthResolvedWith",condition:(s,d,p)=>{let f=s.mock.settledResults[d-1];return f&&f.type==="fulfilled"&&te(f.value,p)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(s,d,p)=>{let f=s.mock.results[d-1];return f&&f.type==="return"&&te(f.value,p)},action:"return"}].forEach(({name:s,condition:d,action:p})=>{a(s,function(f,h){let m=i(this),g=m.getMockName(),b=(p==="return"?m.mock.results:m.mock.settledResults)[f-1],y=`${l(f)} call`;this.assert(d(m,f,h),`expected ${y} "${g}" call to ${p} #{exp}`,`expected ${y} "${g}" call to not ${p} #{exp}`,h,b==null?void 0:b.value)})}),a("toSatisfy",function(s,d){return this.be.satisfy(s,d)}),a("withContext",function(s){for(let d in s)t.flag(this,d,s[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let s=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof p}'.`);let f=new Proxy(this,{get:(h,m,g)=>{let b=Reflect.get(h,m,g);return typeof b!="function"?b instanceof e.Assertion?f:b:async(...y)=>{let R=p.then(_=>(t.flag(this,"object",_),b.call(this,...y)),_=>{let C=new r(`promise rejected "${t.inspect(_)}" instead of resolving`,{showDiff:!1});throw C.cause=_,C.stack=s.stack.replace(s.message,C.message),C});return sc(d,R)}}});return f}),t.addProperty(e.Assertion.prototype,"rejects",function(){let s=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),p=t.flag(this,"object"),f=typeof p=="function"?p():p;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(f==null?void 0:f.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof f}'.`);let h=new Proxy(this,{get:(m,g,b)=>{let y=Reflect.get(m,g,b);return typeof y!="function"?y instanceof e.Assertion?h:y:async(...R)=>{let _=f.then(C=>{let w=new r(`promise resolved "${t.inspect(C)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:C});throw w.stack=s.stack.replace(s.message,w.message),w},C=>(t.flag(this,"object",C),y.call(this,...R)));return sc(d,_)}}});return h})};function aO(e,t){let r=e._obj,n=nt.flag(e,"negate"),a=nt.flag(e,"promise")||"",o={...bh(),diff:vr,stringify:Ge,iterableEquality:De,subsetEquality:bn};return{state:{...Kn(t),customTesters:Ml(),isNot:n,utils:o,promise:a,equals:te,suppressedErrors:[],soft:nt.flag(e,"soft"),poll:nt.flag(e,"poll")},isNot:n,obj:r}}var uc=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function oO(e,t,r){return(n,a)=>{Object.entries(r).forEach(([o,i])=>{function l(...d){let{state:p,isNot:f,obj:h}=aO(this,t),m=i.call(p,h,...d);if(m&&typeof m=="object"&&m instanceof Promise)return m.then(({pass:_,message:C,actual:w,expected:v})=>{if(_&&f||!_&&!f)throw new uc(C(),w,v)});let{pass:g,message:b,actual:y,expected:R}=m;if(g&&f||!g&&!f)throw new uc(b(),y,R)}let u=wh(a,l);a.addMethod(globalThis[en].matchers,o,u),a.addMethod(e.Assertion.prototype,o,u);class c extends Bt{constructor(p=!1,...f){super(f,p)}asymmetricMatch(p){let{pass:f}=i.call(this.getMatcherContext(t),p,...this.sample);return this.inverse?!f:f}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...d)=>new c(!1,...d);Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[Qo],o,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var iO=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Dr(oO(e,r,n))})};function lO(){Dr(iO),Dr(nO),Dr(rO);let e=(n,a)=>{let{assertionCalls:o}=Kn(e);return ao({assertionCalls:o+1,soft:!1},e),Ht(n,a)};Object.assign(e,Ht),e.getState=()=>Kn(e),e.setState=n=>ao(n,e),e.extend=n=>Ht.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.unreachable=n=>{S.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 ao({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),nt.addMethod(e,"assertions",t),nt.addMethod(e,"hasAssertions",r),e.extend($f),e}var Ch=lO();Object.defineProperty(globalThis,ql,{value:Ch,writable:!0,configurable:!0});var ei=new Set;function sO(e){return ei.add(e),()=>void ei.delete(e)}function uO(e){let t=e?Yu(e):Yu();return cO(t)}function cO(e){let t=cc(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>cc(r(n)),t}function cc(e){let t=Wn(e),r=t.impl;return t.willCall(function(...n){return ei.forEach(a=>a(e,n)),r==null?void 0:r.apply(this,n)}),e}function dO(){qa.forEach(e=>e.mockClear())}function fO(){qa.forEach(e=>e.mockReset())}function pO(){qa.forEach(e=>e.mockRestore())}var Rh={};Ai(Rh,{buildQueries:()=>wt,configure:()=>SA,createEvent:()=>jn,findAllByAltText:()=>Om,findAllByDisplayValue:()=>wm,findAllByLabelText:()=>tm,findAllByPlaceholderText:()=>cm,findAllByRole:()=>Fm,findAllByTestId:()=>Wm,findAllByText:()=>bm,findAllByTitle:()=>Nm,findByAltText:()=>Am,findByDisplayValue:()=>Cm,findByLabelText:()=>rm,findByPlaceholderText:()=>dm,findByRole:()=>Um,findByTestId:()=>Km,findByText:()=>gm,findByTitle:()=>jm,fireEvent:()=>on,getAllByAltText:()=>Sm,getAllByDisplayValue:()=>_m,getAllByLabelText:()=>nm,getAllByPlaceholderText:()=>sm,getAllByRole:()=>km,getAllByTestId:()=>Vm,getAllByText:()=>hm,getAllByTitle:()=>Mm,getByAltText:()=>Pm,getByDisplayValue:()=>Em,getByLabelText:()=>am,getByPlaceholderText:()=>um,getByRole:()=>Dm,getByTestId:()=>Gm,getByText:()=>mm,getByTitle:()=>$m,getConfig:()=>Z,getDefaultNormalizer:()=>kl,getElementError:()=>Na,getMultipleElementsFoundError:()=>ja,getNodeText:()=>gn,getQueriesForElement:()=>ci,getRoles:()=>Kh,getSuggestedQuery:()=>Xn,isInaccessible:()=>$a,logDOM:()=>ti,logRoles:()=>xA,makeFindQuery:()=>Er,makeGetAllQuery:()=>Ul,makeSingleQuery:()=>_r,prettyDOM:()=>nn,prettyFormat:()=>Nl,queries:()=>Qn,queryAllByAltText:()=>Rm,queryAllByAttribute:()=>Qt,queryAllByDisplayValue:()=>ym,queryAllByLabelText:()=>om,queryAllByPlaceholderText:()=>im,queryAllByRole:()=>Lm,queryAllByTestId:()=>Hm,queryAllByText:()=>fm,queryAllByTitle:()=>qm,queryByAltText:()=>Tm,queryByAttribute:()=>Jh,queryByDisplayValue:()=>vm,queryByLabelText:()=>Zh,queryByPlaceholderText:()=>lm,queryByRole:()=>Bm,queryByTestId:()=>zm,queryByText:()=>pm,queryByTitle:()=>xm,queryHelpers:()=>VA,screen:()=>vq,waitFor:()=>Fl,waitForElementToBeRemoved:()=>fq,within:()=>ci,wrapAllByQueryWithSuggestion:()=>Le,wrapSingleQueryWithSuggestion:()=>$t});var Nl=Fe(q1()),hO=Object.prototype.toString;function mO(e){return typeof e=="function"||hO.call(e)==="[object Function]"}function bO(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var gO=Math.pow(2,53)-1;function yO(e){var t=bO(e);return Math.min(Math.max(t,0),gO)}function Je(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var a=yO(n.length),o=mO(r)?Object(new r(a)):new Array(a),i=0,l;i0&&arguments[0]!==void 0?arguments[0]:[];vO(this,e),wO(this,"items",void 0),this.items=t}return EO(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}(),TO=typeof Set>"u"?Set:RO;function Me(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var SO={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"},PO={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 OO(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=PO[t])!==null&&n!==void 0&&n.has(r))})}function Sh(e,t){return OO(e,t)}function AO(e){var t=xO(e);if(t===null||t==="presentation"){var r=qO(e);if(t!=="presentation"||Sh(e,r||""))return r}return t}function qO(e){var t=SO[Me(e)];if(t!==void 0)return t;switch(Me(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Sh(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 xO(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function he(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Ph(e){return he(e)&&Me(e)==="caption"}function Nn(e){return he(e)&&Me(e)==="input"}function MO(e){return he(e)&&Me(e)==="optgroup"}function $O(e){return he(e)&&Me(e)==="select"}function NO(e){return he(e)&&Me(e)==="table"}function jO(e){return he(e)&&Me(e)==="textarea"}function IO(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function LO(e){return he(e)&&Me(e)==="fieldset"}function BO(e){return he(e)&&Me(e)==="legend"}function kO(e){return he(e)&&Me(e)==="slot"}function DO(e){return he(e)&&e.ownerSVGElement!==void 0}function FO(e){return he(e)&&Me(e)==="svg"}function UO(e){return DO(e)&&Me(e)==="title"}function Jn(e,t){if(he(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function mt(e,t){return he(e)?t.indexOf(AO(e))!==-1:!1}function HO(e){return e.trim().replace(/\s\s+/g," ")}function zO(e,t){if(!he(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function VO(e){return mt(e,["button","combobox","listbox","textbox"])||Oh(e,"range")}function Oh(e,t){if(!he(e))return!1;switch(t){case"range":return mt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function dc(e,t){var r=Je(e.querySelectorAll(t));return Jn(e,"aria-owns").forEach(function(n){r.push.apply(r,Je(n.querySelectorAll(t)))}),r}function GO(e){return $O(e)?e.selectedOptions||dc(e,"[selected]"):dc(e,'[aria-selected="true"]')}function WO(e){return mt(e,["none","presentation"])}function KO(e){return Ph(e)}function YO(e){return mt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function JO(e){return!1}function XO(e){return Nn(e)||jO(e)?e.value:e.textContent||""}function fc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Ah(e){var t=Me(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function qh(e){if(Ah(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&he(r)){var n=qh(r);n!==null&&(t=n)}}),t}function QO(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):qh(e)}function ZO(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Je(t);if(!Ah(e))return null;var r=e.ownerDocument;return Je(r.querySelectorAll("label")).filter(function(n){return QO(n)===e})}function eA(e){var t=e.assignedNodes();return t.length===0?Je(e.childNodes):t}function xh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new TO,n=IO(e),a=t.compute,o=a===void 0?"name":a,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function p(b,y){var R="";if(he(b)&&l){var _=c(b,"::before"),C=fc(_);R="".concat(C," ").concat(R)}var w=kO(b)?eA(b):Je(b.childNodes).concat(Jn(b,"aria-owns"));if(w.forEach(function(O){var M=g(O,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),N=he(O)?c(O).getPropertyValue("display"):"inline",k=N!=="inline"?" ":"";R+="".concat(k).concat(M).concat(k)}),he(b)&&l){var v=c(b,"::after"),E=fc(v);R="".concat(R," ").concat(E)}return R.trim()}function f(b,y){var R=b.getAttributeNode(y);return R!==null&&!r.has(R)&&R.value.trim()!==""?(r.add(R),R.value):null}function h(b){return he(b)?f(b,"title"):null}function m(b){if(!he(b))return null;if(LO(b)){r.add(b);for(var y=Je(b.childNodes),R=0;R0}).join(" ");if(Nn(b)&&b.type==="image"){var B=f(b,"alt");if(B!==null)return B;var z=f(b,"title");return z!==null?z:"Submit Query"}if(mt(b,["button"])){var K=p(b,{isEmbeddedInLabel:!1,isReferenced:!1});if(K!=="")return K}return null}function g(b,y){if(r.has(b))return"";if(!d&&zO(b,c)&&!y.isReferenced)return r.add(b),"";var R=he(b)?b.getAttributeNode("aria-labelledby"):null,_=R!==null&&!r.has(R)?Jn(b,"aria-labelledby"):[];if(o==="name"&&!y.isReferenced&&_.length>0)return r.add(R),_.map(function(N){return g(N,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var C=y.recursion&&VO(b)&&o==="name";if(!C){var w=(he(b)&&b.getAttribute("aria-label")||"").trim();if(w!==""&&o==="name")return r.add(b),w;if(!WO(b)){var v=m(b);if(v!==null)return r.add(b),v}}if(mt(b,["menu"]))return r.add(b),"";if(C||y.isEmbeddedInLabel||y.isReferenced){if(mt(b,["combobox","listbox"])){r.add(b);var E=GO(b);return E.length===0?Nn(b)?b.value:"":Je(E).map(function(N){return g(N,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Oh(b,"range"))return r.add(b),b.hasAttribute("aria-valuetext")?b.getAttribute("aria-valuetext"):b.hasAttribute("aria-valuenow")?b.getAttribute("aria-valuenow"):b.getAttribute("value")||"";if(mt(b,["textbox"]))return r.add(b),XO(b)}if(YO(b)||he(b)&&y.isReferenced||KO(b)||JO()){var O=p(b,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});if(O!=="")return r.add(b),O}if(b.nodeType===b.TEXT_NODE)return r.add(b),b.textContent||"";if(y.recursion)return r.add(b),p(b,{isEmbeddedInLabel:y.isEmbeddedInLabel,isReferenced:!1});var M=h(b);return M!==null?(r.add(b),M):(r.add(b),"")}return HO(g(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function rn(e){"@babel/helpers - typeof";return rn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rn(e)}function pc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function hc(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Jn(e,"aria-describedby").map(function(a){return xh(a,hc(hc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function aA(e){return mt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function jl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return aA(e)?"":xh(e,t)}var He=Fe(xi()),oA=Fe(x1());function $h(e){return e.replace(//g,">")}var iA=(e,t,r,n,a,o,i)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,a,o);return typeof s!="string"&&(d.indexOf(` +`)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},lA=3,sA=(e,t,r,n,a,o)=>e.map(i=>{let l=typeof i=="string"?Nh(i,t):o(i,t,r,n,a);return l===""&&typeof i=="object"&&i!==null&&i.nodeType!==lA?"":t.spacingOuter+r+l}).join(""),Nh=(e,t)=>{let r=t.colors.content;return r.open+$h(e)+r.close},uA=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},cA=(e,t,r,n,a)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+""+o.close},dA=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},fA=1,jh=3,Ih=8,Lh=11,pA=/^((HTML|SVG)\w*)?Element$/,Bh=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},hA=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===fA&&(pA.test(t)||Bh(e))||r===jh&&t==="Text"||r===Ih&&t==="Comment"||r===Lh&&t==="DocumentFragment"};function mA(e){return e.nodeType===jh}function bA(e){return e.nodeType===Ih}function io(e){return e.nodeType===Lh}function gA(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Bh(t))&&hA(t)},serialize:(t,r,n,a,o,i)=>{if(mA(t))return Nh(t.data,r);if(bA(t))return uA(t.data,r);let l=io(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?dA(l,r):cA(l,iA(io(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),io(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,a,o,i),sA(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,i),r,n)}}}var kh=null,Il=null,Ll=null;try{let e=module&&module.require;Il=e.call(module,"fs").readFileSync,Ll=e.call(module,"@babel/code-frame").codeFrameColumns,kh=e.call(module,"chalk")}catch{}function yA(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,i,l]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],u="";try{u=Il(o,"utf-8")}catch{return""}let c=Ll(u,{start:{line:i,column:l}},{highlightCode:!0,linesBelow:0});return kh.dim(n)+` +`+c+` +`}function vA(){if(!Il||!Ll)return"";let e=new Error().stack.split(` +`).slice(1).find(t=>!t.includes("node_modules/"));return yA(e)}var Dh=3;function lo(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Bl(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Fh(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Et(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var _A=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=_o)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:EA}=Nl.plugins,wA=1,CA=8;function RA(e){return e.nodeType!==CA&&(e.nodeType!==wA||!e.matches(Z().defaultIgnore))}function nn(e,t,r){if(r===void 0&&(r={}),e||(e=Bl().body),typeof t!="number"&&(t=typeof process<"u"&&typeof _o<"u"&&_o.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=RA,...o}=r,i=Nl.format(e,{plugins:[gA(a),EA],printFunctionName:!1,highlight:_A(),...o});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}var ti=function(){let e=vA();console.log(e?nn(...arguments)+` + +`+e:nn(...arguments))},zt={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=nn(t),n=new Error([e,"Ignored nodes: comments, "+zt.defaultIgnore+` +`+r].filter(Boolean).join(` + +`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function TA(e){try{return zt._disableExpensiveErrorDiagnostics=!0,e()}finally{zt._disableExpensiveErrorDiagnostics=!1}}function SA(e){typeof e=="function"&&(e=e(zt)),zt={...zt,...e}}function Z(){return zt}var PA=["button","meter","output","progress","select","textarea","input"];function Uh(e){return PA.includes(e.nodeName.toLowerCase())?"":e.nodeType===Dh?e.textContent:Array.from(e.childNodes).map(t=>Uh(t)).join("")}function ri(e){let t;return e.tagName.toLowerCase()==="label"?t=Uh(e):t=e.value||e.textContent,t}function Hh(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!OA(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function OA(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function zh(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(i=>{let l=e.querySelector('[id="'+i+'"]');return l?{content:ri(l),formControl:null}:{content:"",formControl:null}}):Array.from(Hh(t)).map(i=>{let l=ri(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}function Vh(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function qr(e,t,r,n){if(typeof e!="string")return!1;Vh(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):Gh(r,a)}function gt(e,t,r,n){if(typeof e!="string")return!1;Vh(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?Gh(r,a):a===String(r)}function kl(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function Xt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return kl({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function Gh(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function gn(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Dh&&!!t.textContent).map(t=>t.textContent).join("")}var AA=qA(He.elementRoles);function Wh(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function $a(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Wh}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function Dl(e){for(let{match:t,roles:r}of AA)if(t(e))return[...r];return[]}function qA(e){function t(i){let{name:l,attributes:u}=i;return""+l+u.map(c=>{let{name:s,value:d,constraints:p=[]}=c,f=p.indexOf("undefined")!==-1,h=p.indexOf("set")!==-1;return typeof d<"u"?"["+s+'="'+d+'"]':f?":not(["+s+"])":h?"["+s+"]:not(["+s+'=""])':"["+s+"]"}).join("")}function r(i){let{attributes:l=[]}=i;return l.length}function n(i,l){let{specificity:u}=i,{specificity:c}=l;return c-u}function a(i){let{attributes:l=[]}=i,u=l.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let o=[];for(let[i,l]of e.entries())o=[...o,{match:a(i),roles:Array.from(l),specificity:r(i)}];return o.sort(n)}function Kh(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,i)=>[...o,...n(i)],[])]}return n(e).filter(a=>r===!1?$a(a)===!1:!0).reduce((a,o)=>{let i=[];return o.hasAttribute("role")?i=o.getAttribute("role").split(" ").slice(0,1):i=Dl(o),i.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],o]}:{...l,[u]:[o]},a)},{})}function Yh(e,t){let{hidden:r,includeDescription:n}=t,a=Kh(e,{hidden:r});return Object.entries(a).filter(o=>{let[i]=o;return i!=="generic"}).map(o=>{let[i,l]=o,u="-".repeat(50),c=l.map(s=>{let d='Name "'+jl(s,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements})+`": +`,p=nn(s.cloneNode(!1));if(n){let f='Description "'+Mh(s,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements})+`": +`;return""+d+f+p}return""+d+p}).join(` + +`);return i+`: + +`+c+` + +`+u}).join(` +`)}var xA=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Yh(e,{hidden:r}))};function MA(e){return e.tagName==="OPTION"?e.selected:yn(e,"aria-selected")}function $A(e){return e.getAttribute("aria-busy")==="true"}function NA(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:yn(e,"aria-checked")}function jA(e){return yn(e,"aria-pressed")}function IA(e){var t,r;return(t=(r=yn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function LA(e){return yn(e,"aria-expanded")}function yn(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function BA(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 kA(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function DA(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function FA(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function UA(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var mc=kl();function HA(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function bc(e){return new RegExp(HA(e.toLowerCase()),"i")}function Ct(e,t,r,n){let{variant:a,name:o}=n,i="",l={},u=[["Role","TestId"].includes(e)?r:bc(r)];o&&(l.name=bc(o)),e==="Role"&&$a(t)&&(l.hidden=!0,i=`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&&u.push(l);let c=a+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:a,warning:i,toString(){i&&console.warn(i);let[s,d]=u;return s=typeof s=="string"?"'"+s+"'":s,d=d?", { "+Object.entries(d).map(p=>{let[f,h]=p;return f+": "+h}).join(", ")+" }":"",c+"("+s+d+")"}}}function Rt(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Xn(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(Z().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(a=Dl(e))==null?void 0:a[0];if(o!=="generic"&&Rt("Role",r,o))return Ct("Role",e,o,{variant:t,name:jl(e,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements})});let i=zh(document,e).map(p=>p.content).join(" ");if(Rt("LabelText",r,i))return Ct("LabelText",e,i,{variant:t});let l=e.getAttribute("placeholder");if(Rt("PlaceholderText",r,l))return Ct("PlaceholderText",e,l,{variant:t});let u=mc(gn(e));if(Rt("Text",r,u))return Ct("Text",e,u,{variant:t});if(Rt("DisplayValue",r,e.value))return Ct("DisplayValue",e,mc(e.value),{variant:t});let c=e.getAttribute("alt");if(Rt("AltText",r,c))return Ct("AltText",e,c,{variant:t});let s=e.getAttribute("title");if(Rt("Title",r,s))return Ct("Title",e,s,{variant:t});let d=e.getAttribute(Z().testIdAttribute);if(Rt("TestId",r,d))return Ct("TestId",e,d,{variant:t})}function Cn(e,t){e.stack=t.stack.replace(t.message,e.message)}function zA(e,t){let{container:r=Bl(),timeout:n=Z().asyncUtilTimeout,showOriginalStackTrace:a=Z().showOriginalStackTrace,stackTraceError:o,interval:i=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:Z().getElementError(c.message,r).message}),c),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,s)=>{let d,p,f,h=!1,m="idle",g=setTimeout(C,n),b=lo();if(b){let{unstable_advanceTimersWrapper:w}=Z();for(_();!h;){if(!lo()){let v=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||Cn(v,o),s(v);return}if(await w(async()=>{jest.advanceTimersByTime(i)}),h)break;_()}}else{try{Et(r)}catch(v){s(v);return}p=setInterval(R,i);let{MutationObserver:w}=Fh(r);f=new w(R),f.observe(r,u),_()}function y(w,v){h=!0,clearTimeout(g),b||(clearInterval(p),f.disconnect()),w?s(w):c(v)}function R(){if(lo()){let w=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||Cn(w,o),s(w)}else return _()}function _(){if(m!=="pending")try{let w=TA(e);typeof(w==null?void 0:w.then)=="function"?(m="pending",w.then(v=>{m="resolved",y(null,v)},v=>{m="rejected",d=v})):y(null,w)}catch(w){d=w}}function C(){let w;d?(w=d,!a&&w.name==="TestingLibraryElementError"&&Cn(w,o)):(w=new Error("Timed out in waitFor."),a||Cn(w,o)),y(l(w),null)}})}function Fl(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Z().asyncWrapper(()=>zA(e,{stackTraceError:r,...t}))}function Na(e,t){return Z().getElementError(e,t)}function ja(e,t){return Na(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Qt(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:i,normalizer:l}=n===void 0?{}:n,u=a?gt:qr,c=Xt({collapseWhitespace:o,trim:i,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(s=>u(s.getAttribute(e),s,r,c))}function Jh(e,t,r,n){let a=Qt(e,t,r,n);if(a.length>1)throw ja("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}function _r(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o1){let l=i.map(u=>Na(null,u).message).join(` + +`);throw ja(t(r,...a)+` + +Here are the matching elements: + +`+l,r)}return i[0]||null}}function Xh(e,t){return Z().getElementError(`A better query is available, try this: +`+e.toString()+` +`,t)}function Ul(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;oFl(()=>e(t,r,n),{container:t,...a})}var $t=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;ifunction(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),i=1;i{var d;return(d=Xn(s,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(Xn(l[0],r).queryName))throw Xh(c[0],n)}return l};function wt(e,t,r){let n=$t(_r(e,t),e.name,"query"),a=Ul(e,r),o=_r(a,t),i=$t(o,e.name,"get"),l=Le(a,e.name.replace("query","get"),"getAll"),u=Er(Le(a,e.name,"findAll")),c=Er($t(o,e.name,"find"));return[n,l,i,u,c]}var VA=Object.freeze({__proto__:null,getElementError:Na,wrapAllByQueryWithSuggestion:Le,wrapSingleQueryWithSuggestion:$t,getMultipleElementsFoundError:ja,queryAllByAttribute:Qt,queryByAttribute:Jh,makeSingleQuery:_r,makeGetAllQuery:Ul,makeFindQuery:Er,buildQueries:wt});function GA(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:ri(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var WA=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:i}=r===void 0?{}:r,l=n?gt:qr,u=Xt({collapseWhitespace:o,trim:a,normalizer:i});return GA(e).filter(c=>{let{node:s,textToMatch:d}=c;return l(d,s,t,u)}).map(c=>{let{node:s}=c;return s})},an=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,normalizer:l}=r===void 0?{}:r;Et(e);let u=a?gt:qr,c=Xt({collapseWhitespace:o,trim:i,normalizer:l}),s=Array.from(e.querySelectorAll("*")).filter(d=>Hh(d).length||d.hasAttribute("aria-labelledby")).reduce((d,p)=>{let f=zh(e,p,{selector:n});f.filter(m=>!!m.formControl).forEach(m=>{u(m.content,m.formControl,t,c)&&m.formControl&&d.push(m.formControl)});let h=f.filter(m=>!!m.content).map(m=>m.content);return u(h.join(" "),p,t,c)&&d.push(p),h.length>1&&h.forEach((m,g)=>{u(m,p,t,c)&&d.push(p);let b=[...h];b.splice(g,1),b.length>1&&u(b.join(" "),p,t,c)&&d.push(p)}),d},[]).concat(Qt("aria-label",e,t,{exact:a,normalizer:c}));return Array.from(new Set(s)).filter(d=>d.matches(n))},Gt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;aKA(e,u)).filter(u=>!!u);throw l.length?Z().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(` + +`),e):Z().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw Z().getElementError("Unable to find a label with the text of: "+t,e)}return o};function KA(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Qh=(e,t)=>"Found multiple elements with the text of: "+t,Zh=$t(_r(an,Qh),an.name,"query"),em=_r(Gt,Qh),tm=Er(Le(Gt,Gt.name,"findAll")),rm=Er($t(em,Gt.name,"find")),nm=Le(Gt,Gt.name,"getAll"),am=$t(em,Gt.name,"get"),om=Le(an,an.name,"queryAll"),ni=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements with the placeholder text of: "+t,JA=(e,t)=>"Unable to find an element with the placeholder text of: "+t,im=Le(ni,ni.name,"queryAll"),[lm,sm,um,cm,dm]=wt(ni,YA,JA),ai=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:i,ignore:l=Z().defaultIgnore,normalizer:u}=r===void 0?{}:r;Et(e);let c=a?gt:qr,s=Xt({collapseWhitespace:o,trim:i,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(p=>!l||!p.matches(l)).filter(p=>c(gn(p),p,t,s))},XA=(e,t)=>"Found multiple elements with the text: "+t,QA=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:o,selector:i}=r,l=Xt({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},fm=Le(ai,ai.name,"queryAll"),[pm,hm,mm,bm,gm]=wt(ai,XA,QA),oi=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Et(e);let l=n?gt:qr,u=Xt({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(s=>s.selected).some(s=>l(gn(s),s,t,u)):l(c.value,c,t,u))},ZA=(e,t)=>"Found multiple elements with the display value: "+t+".",eq=(e,t)=>"Unable to find an element with the display value: "+t+".",ym=Le(oi,oi.name,"queryAll"),[vm,_m,Em,wm,Cm]=wt(oi,ZA,eq),tq=/^(img|input|area|.+-.+)$/i,ii=function(e,t,r){return r===void 0&&(r={}),Et(e),Qt("alt",e,t,r).filter(n=>tq.test(n.tagName))},rq=(e,t)=>"Found multiple elements with the alt text: "+t,nq=(e,t)=>"Unable to find an element with the alt text: "+t,Rm=Le(ii,ii.name,"queryAll"),[Tm,Sm,Pm,Om,Am]=wt(ii,rq,nq),aq=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},li=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:i}=r===void 0?{}:r;Et(e);let l=n?gt:qr,u=Xt({collapseWhitespace:a,trim:o,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||aq(c)&&l(gn(c),c,t,u))},oq=(e,t)=>"Found multiple elements with the title: "+t+".",iq=(e,t)=>"Unable to find an element with the title: "+t+".",qm=Le(li,li.name,"queryAll"),[xm,Mm,$m,Nm,jm]=wt(li,oq,iq),si=function(e,t,r){let{hidden:n=Z().defaultHidden,name:a,description:o,queryFallbacks:i=!1,selected:l,busy:u,checked:c,pressed:s,current:d,level:p,expanded:f,value:{now:h,min:m,max:g,text:b}={}}=r===void 0?{}:r;if(Et(e),l!==void 0){var y;if(((y=He.roles.get(t))==null?void 0:y.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var R;if(((R=He.roles.get(t))==null?void 0:R.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var _;if(((_=He.roles.get(t))==null?void 0:_.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(s!==void 0){var C;if(((C=He.roles.get(t))==null?void 0:C.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var w;if(((w=He.roles.get(t))==null?void 0:w.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(p!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(h!==void 0){var v;if(((v=He.roles.get(t))==null?void 0:v.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var E;if(((E=He.roles.get(t))==null?void 0:E.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(m!==void 0){var O;if(((O=He.roles.get(t))==null?void 0:O.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(b!==void 0){var M;if(((M=He.roles.get(t))==null?void 0:M.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(f!==void 0){var N;if(((N=He.roles.get(t))==null?void 0:N.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let k=new WeakMap;function j(I){return k.has(I)||k.set(I,Wh(I)),k.get(I)}return Array.from(e.querySelectorAll(lq(t))).filter(I=>{if(I.hasAttribute("role")){let B=I.getAttribute("role");if(i)return B.split(" ").filter(Boolean).some(K=>K===t);let[z]=B.split(" ");return z===t}return Dl(I).some(B=>B===t)}).filter(I=>{if(l!==void 0)return l===MA(I);if(u!==void 0)return u===$A(I);if(c!==void 0)return c===NA(I);if(s!==void 0)return s===jA(I);if(d!==void 0)return d===IA(I);if(f!==void 0)return f===LA(I);if(p!==void 0)return p===BA(I);if(h!==void 0||g!==void 0||m!==void 0||b!==void 0){let z=!0;if(h!==void 0&&z&&(z=h===kA(I)),g!==void 0&&z&&(z=g===DA(I)),m!==void 0&&z&&(z=m===FA(I)),b!==void 0){var B;z&&(z=gt((B=UA(I))!=null?B:null,I,b,K=>K))}return z}return!0}).filter(I=>a===void 0?!0:gt(jl(I,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements}),I,a,B=>B)).filter(I=>o===void 0?!0:gt(Mh(I,{computedStyleSupportsPseudoElements:Z().computedStyleSupportsPseudoElements}),I,o,B=>B)).filter(I=>n===!1?$a(I,{isSubtreeInaccessible:j})===!1:!0)};function lq(e){var t;let r='*[role~="'+e+'"]',n=(t=He.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:i}=o;return i}));return[r].concat(Array.from(a)).join(",")}var Im=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},sq=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Im(n)},uq=function(e,t,r){let{hidden:n=Z().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(Z()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Im(a);let i="";Array.from(e.children).forEach(s=>{i+=Yh(s,{hidden:n,includeDescription:o!==void 0})});let l;i.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: + + `+i.replace(/\n/g,` + `).replace(/\n\s\s\n/g,` + +`)+` +`).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let c="";return o===void 0?c="":typeof o=="string"?c=' and description "'+o+'"':c=" and description `"+o+"`",(` +Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+` + +`+l).trim()},Lm=Le(si,si.name,"queryAll"),[Bm,km,Dm,Fm,Um]=wt(si,sq,uq),Hl=()=>Z().testIdAttribute,ui=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements by: ["+Hl()+'="'+t+'"]',dq=(e,t)=>"Unable to find an element by: ["+Hl()+'="'+t+'"]',Hm=Le(ui,ui.name,"queryAll"),[zm,Vm,Gm,Wm,Km]=wt(ui,cq,dq),Qn=Object.freeze({__proto__:null,queryAllByLabelText:om,queryByLabelText:Zh,getAllByLabelText:nm,getByLabelText:am,findAllByLabelText:tm,findByLabelText:rm,queryByPlaceholderText:lm,queryAllByPlaceholderText:im,getByPlaceholderText:um,getAllByPlaceholderText:sm,findAllByPlaceholderText:cm,findByPlaceholderText:dm,queryByText:pm,queryAllByText:fm,getByText:mm,getAllByText:hm,findAllByText:bm,findByText:gm,queryByDisplayValue:vm,queryAllByDisplayValue:ym,getByDisplayValue:Em,getAllByDisplayValue:_m,findAllByDisplayValue:wm,findByDisplayValue:Cm,queryByAltText:Tm,queryAllByAltText:Rm,getByAltText:Pm,getAllByAltText:Sm,findAllByAltText:Om,findByAltText:Am,queryByTitle:xm,queryAllByTitle:qm,getByTitle:$m,getAllByTitle:Mm,findAllByTitle:Nm,findByTitle:jm,queryByRole:Bm,queryAllByRole:Lm,getAllByRole:km,getByRole:Dm,findAllByRole:Fm,findByRole:Um,queryByTestId:zm,queryAllByTestId:Hm,getByTestId:Gm,getAllByTestId:Vm,findAllByTestId:Wm,findByTestId:Km});function ci(e,t,r){return t===void 0&&(t=Qn),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let o=t[a];return n[a]=o.bind(null,e),n},r)}var Ym=e=>!e||Array.isArray(e)&&!e.length;function gc(e){if(Ym(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function fq(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){gc(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let o=a.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(a)?a:null});e=()=>n.map(a=>a()).filter(Boolean)}return gc(e()),Fl(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!Ym(n))throw r},t)}var yc={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},vc={doubleClick:"dblClick"};function on(e,t){return Z().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function jn(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...o,...r},{target:{value:l,files:u,...c}={}}=i;l!==void 0&&pq(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let s=Fh(t),d=s[a]||s.Event,p;if(typeof d=="function")p=new d(e,i);else{p=s.document.createEvent(a);let{bubbles:f,cancelable:h,detail:m,...g}=i;p.initEvent(e,f,h,m),Object.keys(g).forEach(b=>{p[b]=g[b]})}return["dataTransfer","clipboardData"].forEach(f=>{let h=i[f];typeof h=="object"&&(typeof s.DataTransfer=="function"?Object.defineProperty(p,f,{value:Object.getOwnPropertyNames(h).reduce((m,g)=>(Object.defineProperty(m,g,{value:h[g]}),m),new s.DataTransfer)}):Object.defineProperty(p,f,{value:h}))}),p}Object.keys(yc).forEach(e=>{let{EventType:t,defaultInit:r}=yc[e],n=e.toLowerCase();jn[e]=(a,o)=>jn(n,a,o,{EventType:t,defaultInit:r}),on[e]=(a,o)=>on(a,jn[e](a,o))});function pq(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(vc).forEach(e=>{let t=vc[e];on[e]=function(){return on[t](...arguments)}});function hq(e){return e.replace(/[ \t]*[\n][ \t]*/g,` +`)}function mq(e){return oA.default.compressToEncodedURIComponent(hq(e))}function bq(e){return"https://testing-playground.com/#markup="+mq(e)}var gq=(e,t,r)=>Array.isArray(e)?e.forEach(n=>ti(n,t,r)):ti(e,t,r),yq=function(e){if(e===void 0&&(e=Bl().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=bq(e.innerHTML);return console.log(`Open this URL in your browser + +`+t),t},_c={debug:gq,logTestingPlaygroundURL:yq},vq=typeof document<"u"&&document.body?ci(document.body,Qn,_c):Object.keys(Qn).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),_c);function X(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,a])=>e[n]===a):!0}var di;(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"})(di||(di={}));function Jm(e){return X(e,"button")||X(e,"input")&&e.type in di}function ot(e){var t;if(_q(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 ${Eq(e)}`)}function _q(e){return e.nodeType===9}function Eq(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Xm(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function zl(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;nt?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}function Cq(e){return new class{getData(t){var r;let n=(r=this.items.find(Rn(t,!0)))!==null&&r!==void 0?r:this.items.find(Rn(t,!1)),a="";return n==null||n.getAsString(o=>{a=o}),a}setData(t,r){let n=this.items.findIndex(Rn(t,!0)),a=new Qm(r,t);n>=0?this.items.splice(n,1,a):this.items.push(a)}clearData(t){if(t){let r=this.items.findIndex(Rn(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){qt(this,"dropEffect","none"),qt(this,"effectAllowed","uninitialized"),qt(this,"items",new wq),qt(this,"files",zl(e,[]))}}}function Vl(e,t=[]){let r=typeof e.DataTransfer>"u"?Cq(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>zl(e,t)}),r}function Rq(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function Zm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function eb(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let a=await this.data[n];if(!a)throw new Error(`${n} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:n})}constructor(n){Zm(this,"data",void 0),this.data=n}}(r)}var wr=Symbol("Manage ClipboardSub");function Ec(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let a=n.types.includes("text/plain")?"text/plain":n.types.find(o=>o.startsWith("text/"));a&&(r+=await n.getType(a).then(o=>Xm(o,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[eb(e,r)]}constructor(...r){super(...r),Zm(this,"items",[])}},{[wr]:t})}function Gl(e){return!!(e!=null&&e[wr])}function Tq(e){if(Gl(e.navigator.clipboard))return e.navigator.clipboard[wr];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Ec(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Ec(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[wr]}function Sq(e){Gl(e.navigator.clipboard)&&e.navigator.clipboard[wr].resetClipboardStub()}function Pq(e){Gl(e.navigator.clipboard)&&e.navigator.clipboard[wr].detachClipboardStub()}async function Oq(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let a=Vl(t);for(let o of n)for(let i of o.types)a.setData(i,await o.getType(i).then(l=>Xm(l,t.FileReader)));return a}async function tb(e,t){let r=ot(e),n=r.navigator.clipboard,a=[];for(let o=0;o!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Zn=globalThis;typeof Zn.afterEach=="function"&&Zn.afterEach(()=>Sq(globalThis.window));typeof Zn.afterAll=="function"&&Zn.afterAll(()=>Pq(globalThis.window));function Wt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function ln(e){let t=Aq(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function Aq(e){return e.nodeType===1?e:e.parentElement}function Cr(e){return rb(e)&&!e.readOnly||Wt(e)}var fi;(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"})(fi||(fi={}));function rb(e){return X(e,"textarea")||X(e,"input")&&e.type in fi}var pi;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(pi||(pi={}));function qq(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 xq(e){return X(e,"textarea")||X(e,"input")&&e.type in pi}var nb=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function Wl(e){return e.matches(nb)}var ea;(function(e){e["{"]="}",e["["]="]"})(ea||(ea={}));function ab(e,t){let r=0,n=e[r]in ea?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?Mq(e,r,t):$q(e,r,a,t)}}function Mq(e,t,r){let n=e[t];return ob(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function $q(e,t,r,n){var a,o;let i=e[t]==="/"?"/":"";t+=i.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];ob(u,e,t,n),t+=u.length;var c;let s=(c=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&c!==void 0?c:"";t+=s.length;let d=e[t]==="/"||!s&&e[t]===">"?e[t]:"";t+=d.length;let p=ea[r],f=e[t]===p?p:"";if(!f)throw new Error(ib([!s&&"repeat modifier",!d&&"release modifier",`"${p}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=f.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:s?Math.max(Number(s.substr(1)),1):1,releaseSelf:Nq(d,s)}}function ob(e,t,r,n){if(!e)throw new Error(ib("key descriptor",t[r],t,n))}function Nq(e,t){if(e)return e==="/";if(t)return!1}function ib(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 jq(e){return new e.constructor(e.type,e)}var je;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(je||(je={}));function Ir(e,t){e.levelRefs[t]={}}function Tn(e,t){return e.levelRefs[t]}var dr;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(dr||(dr={}));function yt(e){for(let r=e;r;r=r.parentElement)if(X(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(X(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Ia(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Ia(t.shadowRoot):yt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function so(e){var t;return(t=Ia(e))!==null&&t!==void 0?t:e.body}function Iq(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function it(e){return lb(e)&&rb(e)}function Lq(e){return lb(e)&&Jm(e)}function lb(e){return e.nodeType===1}function Bq(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&it(e)){let n=ln(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Rr(e,t){return Z().eventWrapper(e)}function Nt(e){let t=Iq(e,Wl),r=Ia(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Rr(t?()=>t.focus():()=>r==null?void 0:r.blur()),Bq(t??e.ownerDocument.body))}function kq(e){!Wl(e)||Ia(e.ownerDocument)!==e||Rr(()=>e.blur())}var jt={};jt.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&X(n,"label")&&n.control;if(a)return()=>{Wl(a)&&Nt(a),r.dispatchEvent(a,jq(e))};if(X(t,"input",{type:"file"}))return()=>{kq(t),t.dispatchEvent(new(ot(t)).Event("fileDialog")),Nt(t)}};var Tr=Symbol("Displayed value in UI"),bt=Symbol("Displayed selection in UI"),ta=Symbol("Initial value to compare on blur");function Dq(e){return typeof e=="object"&&Tr in e}function Fq(e){return!!e&&typeof e=="object"&&bt in e}function Uq(e,t){e[ta]===void 0&&(e[ta]=e.value),e[Tr]=t,e.value=Object.assign(new String(t),{[Tr]:!0})}function lt(e){return e[Tr]===void 0?e.value:String(e[Tr])}function Kl(e){e[Tr]=void 0}function sb(e){e[ta]=void 0}function Hq(e){return e[ta]}function zq(e,t){e[bt]=t}function xr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=lt(e).length,o=d=>Math.max(0,Math.min(a,d)),i=n==="replace"||e[bt]===void 0?o(r):e[bt].anchorOffset,l=o(t),u=Math.min(i,l),c=Math.max(i,l);if(e[bt]={anchorOffset:i,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let s=Object.assign(new Number(u),{[bt]:!0});try{e.setSelectionRange(s,c)}catch{}}function sn(e){var t,r,n;let a=(n=e[bt])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function Vq(e){return!!e[bt]}function In(e){e[bt]=void 0}var ra=globalThis.parseInt;function Gq(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ra(t[0],10),n=ra(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,wc(t,a)}return e.length===2?e:wc(t,2)}function wc(e,t){let r=e.slice(0,t),n=Math.min(ra(r,10),23),a=e.slice(t),o=ra(a,10),i=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}function ub(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function cb(e,t,r,n){if(Ln(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=Cc(e,t,r);if(a){if(Ln(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(X(a,"br")){let o=Cc(a,void 0,r);return o?Ln(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&X(o,"br")?{node:a.parentNode,offset:Sn(a)}:{node:o.parentNode,offset:Sn(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:Sn(a)}:void 0}else return{node:a.parentNode,offset:Sn(a)+(r>0?1:0)}}}function Cc(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Yl(e)&&n>=0&&nt.startsWith("__react"))&&ot(e).REACT_VERSION===17}function Xq(e){Jq(e)&&(e[un]={previousValue:String(e.value),tracked:[]})}function Qq(e,t){var r,n;(n=e[un])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[un]||(Kl(e),xr(e,{focusOffset:t.length}))}function Zq(e,t){var r;let n=e[un];if(e[un]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Kl(e),Vq(e)&&xr(e,{focusOffset:a?t:e.value.length})}function db(e){let t=ex(e);if(t&&it(t))return{type:"input",selection:sn(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:ln(e)&&(r!=null&&r.anchorNode)&&ln(r.anchorNode)?"contenteditable":"default",selection:r}}function ex(e){return e.nodeType===1?e:e.parentElement}function tx(e){let t=db(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Kt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(db(e).type==="input")return xr(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}function fb(e){return X(e,"input")&&["date","time"].includes(e.type)}function Sr(e,t,r,n="insertText"){let a=tx(t);a&&(!fb(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?rx(e,t,a,r,n):nx(e,t,a,r,n)))}function rx(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let i=cb(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(i){o=!0;let l=r.cloneRange();l.comparePoint(i.node,i.offset)<0?l.setStart(i.node,i.offset):l.setEnd(i.node,i.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function nx(e,t,r,n,a){let o=n;if(xq(t)){let c=qq(t);if(c!==void 0&&n.length>0){let s=c-t.value.length;if(s>0)o=n.substring(0,s);else return}}let{newValue:i,newOffset:l,oldValue:u}=ax(o,t,r,a);i===u&&l===r.startOffset&&l===r.endOffset||X(t,"input",{type:"number"})&&!ox(i)||(Uq(t,i),Kt({focusNode:t,anchorOffset:l,focusOffset:l}),fb(t)?ub(t,i)&&(Rc(e,t,l,{}),e.dispatchUIEvent(t,"change"),sb(t)):Rc(e,t,l,{data:n,inputType:a}))}function ax(e,t,{startOffset:r,endOffset:n},a){let o=lt(t),i=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),l=o.substring(0,i),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n),c=o.substring(u,o.length),s=`${l}${e}${c}`,d=i+e.length;if(X(t,"input",{type:"time"})){let p=Gq(s);p!==""&&ub(t,p)&&(s=p,d=p.length)}return{oldValue:o,newValue:s,newOffset:d}}function Rc(e,t,r,n){e.dispatchUIEvent(t,"input",n),Zq(t,r)}function ox(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}jt.cut=(e,t,r)=>()=>{Cr(t)&&Sr(r,t,"","deleteByCut")};function ix(e){return e?Wt(e)?e.textContent:lt(e):null}function lx(e){let t=ot(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 sx(e,t){let r=e.ownerDocument,n=r.querySelectorAll(nb),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||yt(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,c)=>{let s=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return s===d?0:s===0?1:d===0?-1:s-d});let o={},i=[r.body],l=X(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{let c=u;if(X(c,"input",{type:"radio"})&&c.name){if(c===e){i.push(c);return}else if(c.name===l)return;if(c.checked){i=i.filter(s=>!X(s,"input",{type:"radio",name:c.name})),i.push(c),o[c.name]=c;return}if(typeof o[c.name]<"u")return}i.push(c)});for(let u=i.findIndex(c=>c===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||lx(i[u]))return i[u]}function Tc(e,t){if(it(e)){let r=sn(e);Kt({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=cb(r.focusNode,r.focusOffset,t);n&&Kt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function pb(e){if(it(e))return Kt({focusNode:e,anchorOffset:0,focusOffset:lt(e).length});var t;let r=(t=ln(e))!==null&&t!==void 0?t:e.ownerDocument.body;Kt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function ux(e){if(it(e))return sn(e).startOffset===0&&sn(e).endOffset===lt(e).length;var t;let r=(t=ln(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function Lr(e,t,r){var n;if(it(e))return Kt({focusNode:e,anchorOffset:t,focusOffset:r});if(Wt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Kt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Pn(e,t,r){let n=ot(t),a=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let o=a.findIndex(i=>i===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;yt(a[o])||(Nt(a[o]),e.dispatchUIEvent(a[o],"click"))}}jt.keydown=(e,t,r)=>{var n,a;return(a=(n=Sc[e.key])===null||n===void 0?void 0:n.call(Sc,e,t,r))!==null&&a!==void 0?a:cx(e,t,r)};var Sc={ArrowDown:(e,t,r)=>{if(X(t,"input",{type:"radio"}))return()=>Pn(r,t,-1)},ArrowLeft:(e,t,r)=>X(t,"input",{type:"radio"})?()=>Pn(r,t,-1):()=>Tc(t,-1),ArrowRight:(e,t,r)=>X(t,"input",{type:"radio"})?()=>Pn(r,t,1):()=>Tc(t,1),ArrowUp:(e,t,r)=>{if(X(t,"input",{type:"radio"}))return()=>Pn(r,t,1)},Backspace:(e,t,r)=>{if(Cr(t))return()=>{Sr(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Cr(t))return()=>{Sr(r,t,"","deleteContentForward")}},End:(e,t)=>{if(X(t,["input","textarea"])||Wt(t))return()=>{var r,n;let a=(n=(r=ix(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Lr(t,a,a)}},Home:(e,t)=>{if(X(t,["input","textarea"])||Wt(t))return()=>{Lr(t,0,0)}},PageDown:(e,t)=>{if(X(t,["input"]))return()=>{let r=lt(t).length;Lr(t,r,r)}},PageUp:(e,t)=>{if(X(t,["input"]))return()=>{Lr(t,0,0)}},Tab:(e,t,r)=>()=>{let n=sx(t,r.system.keyboard.modifiers.Shift);Nt(n),it(n)&&xr(n,{anchorOffset:0,focusOffset:n.value.length})}},cx=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>pb(t)};jt.keypress=(e,t,r)=>{if(e.key==="Enter"){if(X(t,"button")||X(t,"input")&&dx.includes(t.type)||X(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(X(t,"input")){let n=t.form,a=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&fx.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Cr(t)){let n=e.key==="Enter"?Wt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?` +`:e.key;return()=>Sr(r,t,a,n)}};var dx=["button","color","file","image","reset","submit"],fx=["email","month","password","search","tel","text","url","week"];jt.keyup=(e,t,r)=>{var n;return(n=Pc[e.key])===null||n===void 0?void 0:n.call(Pc,e,t,r)};var Pc={" ":(e,t,r)=>{if(Jm(t))return()=>r.dispatchUIEvent(t,"click")}};jt.paste=(e,t,r)=>{if(Cr(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&Sr(r,t,a,"insertFromPaste")}};var hb={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function mb(e){return hb[e].EventType}var px=["MouseEvent","PointerEvent"];function hx(e){return px.includes(mb(e))}function mx(e){return mb(e)==="KeyboardEvent"}var bx={ClipboardEvent:[yx],Event:[],InputEvent:[On,vx],MouseEvent:[On,uo,Oc],PointerEvent:[On,uo,Oc,Ex],KeyboardEvent:[On,uo,_x]};function bb(e,t,r){let n=ot(t),{EventType:a,defaultInit:o}=hb[e],i=new(gx(n))[a](e,o);return bx[a].forEach(l=>l(i,r??{})),i}function gx(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 o;let i=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var c;let s=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let p=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var f;let h=(f=e.UIEvent)!==null&&f!==void 0?f:class extends r{};var m;let g=(m=e.CompositionEvent)!==null&&m!==void 0?m:class extends h{};var b;let y=(b=e.FocusEvent)!==null&&b!==void 0?b:class extends h{};var R;let _=(R=e.InputEvent)!==null&&R!==void 0?R:class extends h{};var C;let w=(C=e.KeyboardEvent)!==null&&C!==void 0?C:class extends h{};var v;let E=(v=e.MouseEvent)!==null&&v!==void 0?v:class extends h{};var O;let M=(O=e.DragEvent)!==null&&O!==void 0?O:class extends E{};var N;let k=(N=e.PointerEvent)!==null&&N!==void 0?N:class extends E{};var j;let I=(j=e.TouchEvent)!==null&&j!==void 0?j:class extends h{};return{Event:r,AnimationEvent:a,ClipboardEvent:i,PopStateEvent:u,ProgressEvent:s,TransitionEvent:p,UIEvent:h,CompositionEvent:g,FocusEvent:y,InputEvent:_,KeyboardEvent:w,MouseEvent:E,DragEvent:M,PointerEvent:k,TouchEvent:I}}function Zt(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Re(e){return Number(e??0)}function yx(e,{clipboardData:t}){Zt(e,{clipboardData:t})}function vx(e,{data:t,inputType:r,isComposing:n}){Zt(e,{data:t,isComposing:!!n,inputType:String(r)})}function On(e,{view:t,detail:r}){Zt(e,{view:t,detail:Re(r??0)})}function uo(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:i,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:s,modifierSymbol:d,modifierSymbolLock:p}){Zt(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(f){return!!{Alt:t,AltGraph:o,CapsLock:i,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:s,Shift:a,Symbol:d,SymbolLock:p}[f]}})}function _x(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:i}){Zt(e,{key:String(t),code:String(r),location:Re(n),repeat:!!a,isComposing:!!o,charCode:i})}function Oc(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:i=r,button:l,buttons:u,relatedTarget:c}){Zt(e,{screenX:Re(n),screenY:Re(a),clientX:Re(o),x:Re(o),clientY:Re(i),y:Re(i),button:Re(l),buttons:Re(u),relatedTarget:c})}function Ex(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:i,tiltY:l,twist:u,pointerType:c,isPrimary:s}){Zt(e,{pointerId:Re(t),width:Re(r),height:Re(n),pressure:Re(a),tangentialPressure:Re(o),tiltX:Re(i),tiltY:Re(l),twist:Re(u),pointerType:String(c),isPrimary:!!s})}function wx(e,t,r,n=!1){(hx(t)||mx(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=bb(t,e,r);return gb.call(this,e,a,n)}function gb(e,t,r=!1){var n;let a=t.type,o=r?()=>{}:(n=jt[a])===null||n===void 0?void 0:n.call(jt,t,e,this);if(o){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),Rr(()=>e.dispatchEvent(t)),i||o(),!i}return Rr(()=>e.dispatchEvent(t))}function Cx(e,t,r){let n=bb(t,e,r);Rr(()=>e.dispatchEvent(n))}var co=Symbol("Interceptor for programmatical calls");function ur(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[o])!="function"||n[o][co])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...l){let{applyNative:u=!1,realArgs:c,then:s}=r.call(this,...l),d=(!u&&a||n)[o];o==="set"?d.call(this,c):d.call(this,...c),s==null||s()}i[co]=co,Object.defineProperty(e,t,{...a??n,[o]:i})}function Rx(e){ur(e,"value",function(t){let r=Dq(t);return r&&Xq(this),{applyNative:!!r,realArgs:Tx(this,t),then:r?void 0:()=>Qq(this,String(t))}})}function Tx(e,t){return X(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function Sx(e){ur(e,"setSelectionRange",function(t,...r){let n=Fq(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:In(e)}}),ur(e,"selectionStart",function(t){return{realArgs:t,then:()=>In(e)}}),ur(e,"selectionEnd",function(t){return{realArgs:t,then:()=>In(e)}}),ur(e,"select",function(){return{realArgs:[],then:()=>zq(e,{anchorOffset:0,focusOffset:lt(e).length})}})}function Px(e){ur(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Kl(e),In(e)}}})}var fr=Symbol("Node prepared with document state workarounds");function yb(e){e[fr]||(e.addEventListener("focus",t=>{let r=t.target;Ac(r)},{capture:!0,passive:!0}),e.activeElement&&Ac(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Hq(r);n!==void 0&&(r.value!==n&&Cx(r,"change"),sb(r))},{capture:!0,passive:!0}),e[fr]=fr)}function Ac(e){e[fr]||(X(e,["input","textarea"])&&(Rx(e),Sx(e),Px(e)),e[fr]=fr)}function Ox(e){return Ax(e)?e:e.ownerDocument}function Ax(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 er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ze;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(ze||(ze={}));var qx=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function qc(e){return qx.includes(e)}var xx=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function xc(e){return xx.includes(e)}var Mx=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 o=String(t.key),i=String(t.code),l=so(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[n=i])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),qc(o)&&(this.modifiers[o]=!0);let c=e.dispatchUIEvent(l,"keydown",{key:o,code:i});xc(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),(a=this.pressed[i]).unpreventedDefault||(a.unpreventedDefault=c),c&&this.hasKeyPress(o)&&e.dispatchUIEvent(so(e.config.document),"keypress",{key:o,code:i,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),a=this.pressed[n].unpreventedDefault;delete this.pressed[n],qc(r)&&!Object.values(this.pressed).find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(so(e.config.document),"keyup",{key:r,code:n},!a),xc(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){er(this,"system",void 0),er(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),er(this,"pressed",{}),er(this,"carryChar",""),er(this,"lastKeydownTarget",void 0),er(this,"modifierLockStart",{}),this.system=e}},$x=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:ze.LEFT},{code:"AltRight",key:"Alt",location:ze.RIGHT},{code:"ShiftLeft",key:"Shift",location:ze.LEFT},{code:"ShiftRight",key:"Shift",location:ze.RIGHT},{code:"ControlLeft",key:"Control",location:ze.LEFT},{code:"ControlRight",key:"Control",location:ze.RIGHT},{code:"MetaLeft",key:"Meta",location:ze.LEFT},{code:"MetaRight",key:"Meta",location:ze.RIGHT},{code:"OSLeft",key:"OS",location:ze.LEFT},{code:"OSRight",key:"OS",location:ze.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],Nx=[{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 jx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vb=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=hi(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=hi(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(){jx(this,"pressed",{})}},Mc={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function hi(e=0){return e in Mc?Mc[e]:Number(e)}var $c={1:2,2:1};function Nc(e){return e=hi(e),e in $c?$c[e]:e}function Ix(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Lx=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(){Ix(this,"pressedKeys",new Set)}};function Hr(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function mi({target:e,node:t,offset:r}){return it(e)?{node:e,offset:r??lt(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:_b(e,r)}function _b(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let o=e.childNodes.item(n),i=String(o.textContent);if(i.length)if(t!==void 0&&i.lengthe.end||o.offset0&&i.setEnd(o.node,o.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(i.cloneRange())}}function Eb(e,t){var r,n,a,o,i,l,u,c;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((i=e.caret)===null||i===void 0?void 0:i.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Fx=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Eb(r,t))return;let a=this.getTarget(e),o=this.getEventInit("mousemove"),[i,l]=Hr(n,a);return{leave:()=>{n!==a&&(e.dispatchUIEvent(n,"mouseout",o),i.forEach(u=>e.dispatchUIEvent(u,"mouseleave",o)))},enter:()=>{n!==a&&(e.dispatchUIEvent(a,"mouseover",o),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",o)))},move:()=>{e.dispatchUIEvent(a,"mousemove",o),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 o=yt(a),i=this.getEventInit("mousedown",t.button);(o||e.dispatchUIEvent(a,"mousedown",i))&&(this.startSelecting(e,i.detail),Nt(a)),!o&&Nc(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let a=this.getTarget(e);if(!yt(a)){e.dispatchUIEvent(a,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let o=Hr(this.buttonDownTarget[n],a)[2][0];if(o){let i=this.getEventInit("click",t.button,r);i.detail&&(e.dispatchUIEvent(o,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=Nc(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=Bx({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&&Dx(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){kt(this,"position",{}),kt(this,"buttons",new vb),kt(this,"selecting",void 0),kt(this,"buttonDownTarget",{}),kt(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){kt(this,"down",{}),kt(this,"count",{})}})}};function na(e,t){var r;return((r=wb(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function Ux(e){let t=ot(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var jc=Symbol("Last check for pointer-events");function wb(e,t){let r=t[jc];if(!(e.config.pointerEventsCheck!==dr.Never&&(!r||Ic(e.config.pointerEventsCheck,dr.EachApiCall)&&r[je.Call]!==Tn(e,je.Call)||Ic(e.config.pointerEventsCheck,dr.EachTrigger)&&r[je.Trigger]!==Tn(e,je.Trigger))))return r==null?void 0:r.result;let n=Ux(t);return t[jc]={[je.Call]:Tn(e,je.Call),[je.Trigger]:Tn(e,je.Trigger),result:n},n}function Br(e,t){let r=wb(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",Hx(r.tree)].join(` +`))}function Hx(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,zx(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 zx(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(X(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var l;return(l=i.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(X(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function Ic(e,t){return(e&t)>0}function Tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Lc=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=Hr(null,r),a=this.getEventInit();return Br(e,r),e.dispatchUIEvent(r,"pointerover",a),n.forEach(o=>e.dispatchUIEvent(o,"pointerenter",a)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Eb(r,t))return;let a=this.getTarget(e),o=this.getEventInit(),[i,l]=Hr(n,a);return{leave:()=>{na(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",o),i.forEach(u=>e.dispatchUIEvent(u,"pointerleave",o)))},enter:()=>{Br(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",o),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",o)))},move:()=>{e.dispatchUIEvent(a,"pointermove",o)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Br(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Br(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=Hr(t,null),n=this.getEventInit();na(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){Tt(this,"pointerId",void 0),Tt(this,"pointerType",void 0),Tt(this,"isPrimary",void 0),Tt(this,"isMultitouch",!1),Tt(this,"isCancelled",!1),Tt(this,"isDown",!1),Tt(this,"isPrevented",!1),Tt(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Vx=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),o=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);a==null||a.leave(),o==null||o.leave(),a==null||a.enter(),o==null||o.enter(),a==null||a.move(),o==null||o.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 o=this.mouse.move(e,a.position);o==null||o.leave(),o==null||o.enter(),o==null||o.move(),this.mouse.down(e,t,a)}if(!a.isMultitouch){let o=this.mouse.move(e,a.position);o==null||o.leave(),o==null||o.enter(),o==null||o.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){St(this,"system",void 0),St(this,"mouse",void 0),St(this,"buttons",void 0),St(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0||(r[n]=new Lx),this.registry[t]}constructor(){St(this,"registry",{})}}),St(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return n||Object.values(this.registry).forEach(a=>{a.pointerType===r.pointerType&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new Lc({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){St(this,"registry",{mouse:new Lc({pointerId:1,pointerType:"mouse",isPrimary:!0})}),St(this,"nextId",2)}}),this.system=e,this.buttons=new vb,this.mouse=new Fx}};function Bc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Cb=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){Bc(this,"keyboard",new Mx(this)),Bc(this,"pointer",new Vx(this))}};async function Gx(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function Wx(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function Kx(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Yx(e){return this.pointer({target:e})}async function Jx(e){return Br(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Xx({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function Qx(e,t){let r=[];do{let{type:a,descriptor:o,consumedLength:i,releasePrevious:l,releaseSelf:u=!0,repeat:c}=ab(t,"keyboard");var n;let s=(n=e.find(d=>{if(a==="["){var p;return((p=d.code)===null||p===void 0?void 0:p.toLowerCase())===o.toLowerCase()}else if(a==="{"){var f;return((f=d.key)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:s,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(i)}while(t);return r}async function Zx(e){let t=Qx(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:o})}function iM(e,t){let r=Vl(ot(e));return r.setData("text",t),r}function kc(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:i=!0}=ab(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:o,releaseSelf:i}),t=t.slice(a)}while(t);return r}async function lM(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...kc(t,n)):"keys"in n?r.push(...kc(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n{if(typeof l!="string"&&a.includes(l))return l;{let u=a.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw Z().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!yt(l));if(yt(t)||!o.length)return;let i=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(X(t,"select"))if(t.multiple)for(let l of o){let u=this.config.pointerEventsCheck===0?!0:na(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),Nt(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),i(l),u&&this.dispatchUIEvent(l,"click"),await Pr(this.config)}else if(o.length===1){let l=this.config.pointerEventsCheck===0?!0:na(this,t);l?await this.click(t):Nt(t),i(o[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 Z().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of o)await this.click(l),await this.unhover(l);else throw Z().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function pM(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&Lr(e,a,o??a),await this.keyboard(t),n||await tM(this))}var Fc=Symbol("files and value properties are mocked");function fo(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function hM(e,t){var r;(r=e[Fc])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function i(){fo(e,"type",n),fo(e,"value",a),fo(e,"files",o)}e[Fc]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")i();else{var u;a==null||(u=a.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(i(),e.type=l)}}})}async function mM(e,t){let r=X(e,"label")?e.control:e;if(!r||!X(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(yt(e))return;let n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||bM(o,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((i,l)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(hM(r,zl(ot(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function bM(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var Uc={click:Gx,dblClick:Wx,tripleClick:Kx,hover:Yx,unhover:Jx,tab:Xx,keyboard:Zx,copy:nM,cut:aM,paste:oM,pointer:lM,clear:cM,deselectOptions:fM,selectOptions:dM,type:pM,upload:mM};function gM(e){return Z().asyncWrapper(e)}var Sb={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:$x,pointerMap:Nx,pointerEventsCheck:dr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},yM={...Sb,writeToClipboard:!0};function Pb(e={},t=yM,r){let n=wM(e,r,t);return{...t,...e,document:n}}function vM(e={}){let t=Pb(e);yb(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return Tq(n),Jl(t).api}function $e({keyboardState:e,pointerState:t,...r}={},n){let a=Pb(r,Sb,n);yb(a.document);var o;let i=(o=t??e)!==null&&o!==void 0?o:new Cb;return{api:Jl(a,i).api,system:i}}function _M(e){return Jl({...this.config,...e},this.system).api}function EM(e,t){function r(...n){return Ir(e,je.Call),gM(()=>t.apply(e,n).then(async a=>(await Pr(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Jl(e,t=new Cb){let r={};return Object.assign(r,{config:e,dispatchEvent:gb.bind(r),dispatchUIEvent:wx.bind(r),system:t,levelRefs:{},...Uc}),{instance:r,api:{...Object.fromEntries(Object.entries(Uc).map(([n,a])=>[n,EM(r,a)])),setup:_M.bind(r)}}}function wM(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&Ox(t))!==null&&a!==void 0?a:r.document}var Ob={};Ai(Ob,{clear:()=>CM,click:()=>RM,copy:()=>TM,cut:()=>SM,dblClick:()=>PM,deselectOptions:()=>OM,hover:()=>AM,keyboard:()=>qM,paste:()=>MM,pointer:()=>xM,selectOptions:()=>$M,tab:()=>BM,tripleClick:()=>NM,type:()=>jM,unhover:()=>IM,upload:()=>LM});function CM(e){return $e().api.clear(e)}function RM(e,t={}){return $e(t,e).api.click(e)}function TM(e={}){return $e(e).api.copy()}function SM(e={}){return $e(e).api.cut()}function PM(e,t={}){return $e(t).api.dblClick(e)}function OM(e,t,r={}){return $e(r).api.deselectOptions(e,t)}function AM(e,t={}){return $e(t).api.hover(e)}async function qM(e,t={}){let{api:r,system:n}=$e(t);return r.keyboard(e).then(()=>n)}async function xM(e,t={}){let{api:r,system:n}=$e(t);return r.pointer(e).then(()=>n)}function MM(e,t){return $e(t).api.paste(e)}function $M(e,t,r={}){return $e(r).api.selectOptions(e,t)}function NM(e,t={}){return $e(t).api.tripleClick(e)}function jM(e,t,r={}){return $e(r,e).api.type(e,t,r)}function IM(e,t={}){let{api:r,system:n}=$e(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function LM(e,t,r={}){return $e(r).api.upload(e,t)}function BM(e={}){return $e().api.tab(e)}var kM={...Ob,setup:vM};function DM(e){for(var t=[],r=1;rt[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});bi.screen=new Proxy(bi.screen,{get(e,t,r){return a_.warn(FM` + You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. + More info: https://storybook.js.org/docs/essentials/interactions + `),Reflect.get(e,t,r)}});var{buildQueries:XM,configure:QM,createEvent:ZM,fireEvent:e$,findAllByAltText:t$,findAllByDisplayValue:r$,findAllByLabelText:n$,findAllByPlaceholderText:a$,findAllByRole:o$,findAllByTestId:i$,findAllByText:l$,findAllByTitle:s$,findByAltText:u$,findByDisplayValue:c$,findByLabelText:d$,findByPlaceholderText:f$,findByRole:p$,findByTestId:h$,findByText:m$,findByTitle:b$,getAllByAltText:g$,getAllByDisplayValue:y$,getAllByLabelText:v$,getAllByPlaceholderText:_$,getAllByRole:E$,getAllByTestId:w$,getAllByText:C$,getAllByTitle:R$,getByAltText:T$,getByDisplayValue:S$,getByLabelText:P$,getByPlaceholderText:O$,getByRole:A$,getByTestId:q$,getByText:x$,getByTitle:M$,getConfig:$$,getDefaultNormalizer:N$,getElementError:j$,getNodeText:I$,getQueriesForElement:L$,getRoles:B$,getSuggestedQuery:k$,isInaccessible:D$,logDOM:F$,logRoles:U$,prettyDOM:H$,queries:z$,queryAllByAltText:V$,queryAllByAttribute:G$,queryAllByDisplayValue:W$,queryAllByLabelText:K$,queryAllByPlaceholderText:Y$,queryAllByRole:J$,queryAllByTestId:X$,queryAllByText:Q$,queryAllByTitle:Z$,queryByAltText:eN,queryByAttribute:tN,queryByDisplayValue:rN,queryByLabelText:nN,queryByPlaceholderText:aN,queryByRole:oN,queryByTestId:iN,queryByText:lN,queryByTitle:sN,queryHelpers:uN,screen:cN,waitFor:dN,waitForElementToBeRemoved:fN,within:UM,prettyFormat:pN}=bi;la({userEvent:kM},{intercept:!0});la({expect:Ch},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===P){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 HM=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?fO():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?dO():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&pO()},gi=(e,t=0,r)=>{var n;if(t>5||e==null)return e;if(ph(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=uO(e);return r&&a.mockName(r),a}if(Array.isArray(e))return t++,e.map(a=>gi(a,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[a,o]of Object.entries(e))(n=Object.getOwnPropertyDescriptor(e,a))!=null&&n.writable&&(e[a]=gi(o,t,a));return e}return e},zM=({initialArgs:e})=>{gi(e)},VM=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=UM(e.canvasElement))};Sd.__STORYBOOK_TEST_LOADERS__=[HM,zM,VM];Sd.__STORYBOOK_TEST_ON_MOCK_CALL__=sO;var{step:hN}=la({step:(e,t,r)=>t(r)},{intercept:!0}),mN={throwPlayFunctionExceptions:!1};export{mN as parameters,hN as runStep}; diff --git a/storybook-static/assets/preview-BWzBA1C2.js b/storybook-static/assets/preview-BWzBA1C2.js new file mode 100644 index 00000000..38fec57a --- /dev/null +++ b/storybook-static/assets/preview-BWzBA1C2.js @@ -0,0 +1,396 @@ +import{d as $}from"./index-DrFu-skq.js";const{useMemo:x,useEffect:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var m="outline",u=i=>{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}};function s(i){return $` + ${i} body { + outline: 1px solid #2980b9 !important; + } + + ${i} article { + outline: 1px solid #3498db !important; + } + + ${i} nav { + outline: 1px solid #0088c3 !important; + } + + ${i} aside { + outline: 1px solid #33a0ce !important; + } + + ${i} section { + outline: 1px solid #66b8da !important; + } + + ${i} header { + outline: 1px solid #99cfe7 !important; + } + + ${i} footer { + outline: 1px solid #cce7f3 !important; + } + + ${i} h1 { + outline: 1px solid #162544 !important; + } + + ${i} h2 { + outline: 1px solid #314e6e !important; + } + + ${i} h3 { + outline: 1px solid #3e5e85 !important; + } + + ${i} h4 { + outline: 1px solid #449baf !important; + } + + ${i} h5 { + outline: 1px solid #c7d1cb !important; + } + + ${i} h6 { + outline: 1px solid #4371d0 !important; + } + + ${i} main { + outline: 1px solid #2f4f90 !important; + } + + ${i} address { + outline: 1px solid #1a2c51 !important; + } + + ${i} div { + outline: 1px solid #036cdb !important; + } + + ${i} p { + outline: 1px solid #ac050b !important; + } + + ${i} hr { + outline: 1px solid #ff063f !important; + } + + ${i} pre { + outline: 1px solid #850440 !important; + } + + ${i} blockquote { + outline: 1px solid #f1b8e7 !important; + } + + ${i} ol { + outline: 1px solid #ff050c !important; + } + + ${i} ul { + outline: 1px solid #d90416 !important; + } + + ${i} li { + outline: 1px solid #d90416 !important; + } + + ${i} dl { + outline: 1px solid #fd3427 !important; + } + + ${i} dt { + outline: 1px solid #ff0043 !important; + } + + ${i} dd { + outline: 1px solid #e80174 !important; + } + + ${i} figure { + outline: 1px solid #ff00bb !important; + } + + ${i} figcaption { + outline: 1px solid #bf0032 !important; + } + + ${i} table { + outline: 1px solid #00cc99 !important; + } + + ${i} caption { + outline: 1px solid #37ffc4 !important; + } + + ${i} thead { + outline: 1px solid #98daca !important; + } + + ${i} tbody { + outline: 1px solid #64a7a0 !important; + } + + ${i} tfoot { + outline: 1px solid #22746b !important; + } + + ${i} tr { + outline: 1px solid #86c0b2 !important; + } + + ${i} th { + outline: 1px solid #a1e7d6 !important; + } + + ${i} td { + outline: 1px solid #3f5a54 !important; + } + + ${i} col { + outline: 1px solid #6c9a8f !important; + } + + ${i} colgroup { + outline: 1px solid #6c9a9d !important; + } + + ${i} button { + outline: 1px solid #da8301 !important; + } + + ${i} datalist { + outline: 1px solid #c06000 !important; + } + + ${i} fieldset { + outline: 1px solid #d95100 !important; + } + + ${i} form { + outline: 1px solid #d23600 !important; + } + + ${i} input { + outline: 1px solid #fca600 !important; + } + + ${i} keygen { + outline: 1px solid #b31e00 !important; + } + + ${i} label { + outline: 1px solid #ee8900 !important; + } + + ${i} legend { + outline: 1px solid #de6d00 !important; + } + + ${i} meter { + outline: 1px solid #e8630c !important; + } + + ${i} optgroup { + outline: 1px solid #b33600 !important; + } + + ${i} option { + outline: 1px solid #ff8a00 !important; + } + + ${i} output { + outline: 1px solid #ff9619 !important; + } + + ${i} progress { + outline: 1px solid #e57c00 !important; + } + + ${i} select { + outline: 1px solid #e26e0f !important; + } + + ${i} textarea { + outline: 1px solid #cc5400 !important; + } + + ${i} details { + outline: 1px solid #33848f !important; + } + + ${i} summary { + outline: 1px solid #60a1a6 !important; + } + + ${i} command { + outline: 1px solid #438da1 !important; + } + + ${i} menu { + outline: 1px solid #449da6 !important; + } + + ${i} del { + outline: 1px solid #bf0000 !important; + } + + ${i} ins { + outline: 1px solid #400000 !important; + } + + ${i} img { + outline: 1px solid #22746b !important; + } + + ${i} iframe { + outline: 1px solid #64a7a0 !important; + } + + ${i} embed { + outline: 1px solid #98daca !important; + } + + ${i} object { + outline: 1px solid #00cc99 !important; + } + + ${i} param { + outline: 1px solid #37ffc4 !important; + } + + ${i} video { + outline: 1px solid #6ee866 !important; + } + + ${i} audio { + outline: 1px solid #027353 !important; + } + + ${i} source { + outline: 1px solid #012426 !important; + } + + ${i} canvas { + outline: 1px solid #a2f570 !important; + } + + ${i} track { + outline: 1px solid #59a600 !important; + } + + ${i} map { + outline: 1px solid #7be500 !important; + } + + ${i} area { + outline: 1px solid #305900 !important; + } + + ${i} a { + outline: 1px solid #ff62ab !important; + } + + ${i} em { + outline: 1px solid #800b41 !important; + } + + ${i} strong { + outline: 1px solid #ff1583 !important; + } + + ${i} i { + outline: 1px solid #803156 !important; + } + + ${i} b { + outline: 1px solid #cc1169 !important; + } + + ${i} u { + outline: 1px solid #ff0430 !important; + } + + ${i} s { + outline: 1px solid #f805e3 !important; + } + + ${i} small { + outline: 1px solid #d107b2 !important; + } + + ${i} abbr { + outline: 1px solid #4a0263 !important; + } + + ${i} q { + outline: 1px solid #240018 !important; + } + + ${i} cite { + outline: 1px solid #64003c !important; + } + + ${i} dfn { + outline: 1px solid #b4005a !important; + } + + ${i} sub { + outline: 1px solid #dba0c8 !important; + } + + ${i} sup { + outline: 1px solid #cc0256 !important; + } + + ${i} time { + outline: 1px solid #d6606d !important; + } + + ${i} code { + outline: 1px solid #e04251 !important; + } + + ${i} kbd { + outline: 1px solid #5e001f !important; + } + + ${i} samp { + outline: 1px solid #9c0033 !important; + } + + ${i} var { + outline: 1px solid #d90047 !important; + } + + ${i} mark { + outline: 1px solid #ff0053 !important; + } + + ${i} bdi { + outline: 1px solid #bf3668 !important; + } + + ${i} bdo { + outline: 1px solid #6f1400 !important; + } + + ${i} ruby { + outline: 1px solid #ff7b93 !important; + } + + ${i} rt { + outline: 1px solid #ff2f54 !important; + } + + ${i} rp { + outline: 1px solid #803e49 !important; + } + + ${i} span { + outline: 1px solid #cc2643 !important; + } + + ${i} br { + outline: 1px solid #db687d !important; + } + + ${i} wbr { + outline: 1px solid #db175b !important; + }`}var e=(i,t)=>{let{globals:o}=t,n=[!0,"true"].includes(o[m]),d=t.viewMode==="docs",l=x(()=>s(d?'[data-story-block="true"]':".sb-show-main"),[t]);return f(()=>{let a=d?`addon-outline-docs-${t.id}`:"addon-outline";return n?b(a,l):u(a),()=>{u(a)}},[n,l,t]),i()},h=[e],g={[m]:!1};export{h as decorators,g as initialGlobals}; diff --git a/storybook-static/assets/preview-BhhEZcNS.js b/storybook-static/assets/preview-BhhEZcNS.js new file mode 100644 index 00000000..6ceca25e --- /dev/null +++ b/storybook-static/assets/preview-BhhEZcNS.js @@ -0,0 +1 @@ +import"./index-D-8MO0q_.js";const{STORY_CHANGED:O,SELECT_STORY:E}=__STORYBOOK_MODULE_CORE_EVENTS__,{makeDecorator:l,addons:_}=__STORYBOOK_MODULE_PREVIEW_API__,{global:L}=__STORYBOOK_MODULE_GLOBAL__;var c="links",{document:i,HTMLElement:m}=L,v=e=>_.getChannel().emit(E,e),o=e=>{let{target:t}=e;if(!(t instanceof m))return;let s=t,{sbKind:a,sbStory:r}=s.dataset;(a||r)&&(e.preventDefault(),v({kind:a,story:r}))},n=!1,d=()=>{n||(n=!0,i.addEventListener("click",o))},k=()=>{n&&(n=!1,i.removeEventListener("click",o))},R=l({name:"withLinks",parameterName:c,wrapper:(e,t)=>(d(),_.getChannel().once(O,k),e(t))}),T=[R];export{T as decorators}; diff --git a/storybook-static/assets/preview-C2bnlms1.css b/storybook-static/assets/preview-C2bnlms1.css new file mode 100644 index 00000000..b689f521 --- /dev/null +++ b/storybook-static/assets/preview-C2bnlms1.css @@ -0,0 +1 @@ +@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(./Roboto-Thin-De1td4fW.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(./Roboto-Light-DClj45N0.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(./Roboto-Regular-WRKLzXY7.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(./Roboto-Medium-cNKjeBYp.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(./Roboto-Bold-Bw9hF51Y.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:local("Roboto Black"),local("Roboto-Black"),url(./Roboto-Black-C0mwRDn7.ttf) format("truetype")}@font-face{font-family:Euclid Circular B;font-style:normal;font-weight:400;src:url(./EuclidCircularB-Regular-WebXL-ByWvSc4G.ttf) format("truetype")}@font-face{font-family:Euclid Circular B;font-style:italic;font-weight:400;src:url(./EuclidCircularB-RegularItalic-WebXL-Bw8O5q78.ttf) format("truetype")}@font-face{font-family:Euclid Circular B;font-style:normal;font-weight:500;src:url(./EuclidCircularB-Medium-D0UuEiHi.ttf) format("truetype")}@font-face{font-family:Euclid Circular B;font-style:normal;font-weight:700;src:url(./EuclidCircularB-Bold-WebXL-DSa3cfOr.ttf) format("truetype")}:root{--brand-colors-grey-grey100: #d6d9dc;--brand-colors-grey-grey200: #bbc0c5;--brand-colors-grey-grey300: #9fa6ae;--brand-colors-grey-grey400: #848c96;--brand-colors-grey-grey500: #6a737d;--brand-colors-grey-grey600: #535a61;--brand-colors-grey-grey700: #3b4046;--brand-colors-grey-grey800: #24272a;--brand-colors-grey-grey900: #141618;--brand-colors-grey-grey1000: #000000;--brand-colors-grey-grey050: #f2f4f6;--brand-colors-grey-grey000: #ffffff;--brand-colors-grey-grey025: #fafbfc;--brand-colors-blue-blue100: #a7d9fe;--brand-colors-blue-blue200: #75c4fd;--brand-colors-blue-blue300: #43aefc;--brand-colors-blue-blue400: #1098fc;--brand-colors-blue-blue500: #0376c9;--brand-colors-blue-blue600: #0260a4;--brand-colors-blue-blue700: #024272;--brand-colors-blue-blue800: #01253f;--brand-colors-blue-blue900: #00080d;--brand-colors-blue-blue050: #eaf6ff;--brand-colors-blue-blue025: #eaf6ff;--brand-colors-green-green100: #afecbd;--brand-colors-green-green200: #5dd879;--brand-colors-green-green300: #28a745;--brand-colors-green-green400: #28a745;--brand-colors-green-green500: #1c8234;--brand-colors-green-green600: #145523;--brand-colors-green-green700: #145523;--brand-colors-green-green800: #0a2c12;--brand-colors-green-green900: #041007;--brand-colors-green-green050: #d6ffdf;--brand-colors-green-green025: #f3fcf5;--brand-colors-red-red100: #f7d5d8;--brand-colors-red-red200: #f1b9be;--brand-colors-red-red300: #e88f97;--brand-colors-red-red400: #e06470;--brand-colors-red-red500: #d73847;--brand-colors-red-red600: #8e1d28;--brand-colors-red-red700: #64141c;--brand-colors-red-red800: #3a0c10;--brand-colors-red-red900: #3a0c10;--brand-colors-red-red050: #fcf2f3;--brand-colors-red-red025: #fcf2f3;--brand-colors-yellow-yellow100: #ffdf70;--brand-colors-yellow-yellow200: #ffc70a;--brand-colors-yellow-yellow300: #f8883b;--brand-colors-yellow-yellow400: #f66a0a;--brand-colors-yellow-yellow500: #bf5208;--brand-colors-yellow-yellow600: #954005;--brand-colors-yellow-yellow700: #632b04;--brand-colors-yellow-yellow800: #321602;--brand-colors-yellow-yellow900: #321602;--brand-colors-yellow-yellow050: #fff2c5;--brand-colors-yellow-yellow025: #fefcde;--brand-colors-orange-orange100: #fbc49d;--brand-colors-orange-orange200: #faa66c;--brand-colors-orange-orange300: #f8883b;--brand-colors-orange-orange400: #f66a0a;--brand-colors-orange-orange500: #bf5208;--brand-colors-orange-orange600: #954005;--brand-colors-orange-orange700: #632b04;--brand-colors-orange-orange800: #321602;--brand-colors-orange-orange900: #321602;--brand-colors-orange-orange050: #fde2cf;--brand-colors-orange-orange025: #fef5ef;--brand-colors-purple-purple100: #efd2ff;--brand-colors-purple-purple200: #cfb5f0;--brand-colors-purple-purple300: #d27dff;--brand-colors-purple-purple400: #b864f5;--brand-colors-purple-purple500: #8b45b6;--brand-colors-purple-purple600: #6c2ab2;--brand-colors-purple-purple700: #4c1178;--brand-colors-purple-purple800: #32054d;--brand-colors-purple-purple900: #280a00;--brand-colors-purple-purple050: #fbf2ff;--brand-colors-purple-purple025: #fcf6ff;--brand-colors-lime-lime100: #b8ef4a;--brand-colors-lime-lime200: #95ca45;--brand-colors-lime-lime300: #7ab040;--brand-colors-lime-lime400: #64993d;--brand-colors-lime-lime500: #457a39;--brand-colors-lime-lime600: #275b35;--brand-colors-lime-lime700: #093a31;--brand-colors-lime-lime800: #022321;--brand-colors-lime-lime900: #011515;--brand-colors-lime-lime025: #effed9;--brand-colors-lime-lime050: #e3febd;--brand-colors-white: #ffffff;--brand-colors-black: #000000}:root,[data-theme=light],.light{--color-background-default: var(--brand-colors-grey-grey000);--color-background-alternative: var(--brand-colors-grey-grey050);--color-background-default-hover: #f5f5f5;--color-background-default-pressed: #ebebeb;--color-background-alternative-hover: #e7ebee;--color-background-alternative-pressed: #dbe0e6;--color-background-hover: #0000000a;--color-background-pressed: #00000014;--color-text-default: var(--brand-colors-grey-grey900);--color-text-alternative: var(--brand-colors-grey-grey500);--color-text-muted: var(--brand-colors-grey-grey300);--color-icon-default: var(--brand-colors-grey-grey900);--color-icon-alternative: var(--brand-colors-grey-grey500);--color-icon-muted: var(--brand-colors-grey-grey300);--color-border-default: var(--brand-colors-grey-grey200);--color-border-muted: #bbc0c566;--color-overlay-default: #00000099;--color-overlay-alternative: #000000cc;--color-overlay-inverse: var(--brand-colors-grey-grey000);--color-primary-default: var(--brand-colors-blue-blue500);--color-primary-alternative: var(--brand-colors-blue-blue600);--color-primary-muted: #0376c91a;--color-primary-inverse: var(--brand-colors-grey-grey000);--color-primary-default-hover: #036ab5;--color-primary-default-pressed: #025ea1;--color-error-default: var(--brand-colors-red-red500);--color-error-alternative: var(--brand-colors-red-red600);--color-error-muted: #d738471a;--color-error-inverse: var(--brand-colors-grey-grey000);--color-error-default-hover: #d02a3a;--color-error-default-pressed: #bf2635;--color-warning-default: var(--brand-colors-yellow-yellow500);--color-warning-muted: #bf52081a;--color-warning-inverse: var(--brand-colors-grey-grey000);--color-warning-default-hover: #ac4a07;--color-warning-default-pressed: #984106;--color-success-default: var(--brand-colors-green-green500);--color-success-muted: #1c82341a;--color-success-inverse: var(--brand-colors-grey-grey000);--color-success-default-hover: #18712d;--color-success-default-pressed: #156127;--color-info-default: var(--brand-colors-blue-blue500);--color-info-muted: #0376c91a;--color-info-inverse: var(--brand-colors-grey-grey000);--color-flask-default: var(--brand-colors-purple-purple500);--color-flask-inverse: var(--brand-colors-grey-grey000);--color-shadow-default: #0000001a;--color-shadow-primary: #0376c933;--color-shadow-error: #ca354266}[data-theme=dark],.dark{--color-background-default: var(--brand-colors-grey-grey800);--color-background-alternative: var(--brand-colors-grey-grey900);--color-background-default-hover: #313235;--color-background-default-pressed: #3f4145;--color-background-alternative-hover: #1f2123;--color-background-alternative-pressed: #2e3033;--color-background-hover: #ffffff0a;--color-background-pressed: #ffffff14;--color-text-default: var(--brand-colors-grey-grey000);--color-text-alternative: var(--brand-colors-grey-grey200);--color-text-muted: var(--brand-colors-grey-grey400);--color-icon-default: var(--brand-colors-grey-grey000);--color-icon-alternative: var(--brand-colors-grey-grey200);--color-icon-muted: var(--brand-colors-grey-grey400);--color-border-default: var(--brand-colors-grey-grey400);--color-border-muted: #848c9629;--color-overlay-default: #00000099;--color-overlay-alternative: #000000cc;--color-overlay-inverse: var(--brand-colors-grey-grey000);--color-primary-default: var(--brand-colors-blue-blue300);--color-primary-alternative: var(--brand-colors-blue-blue200);--color-primary-muted: #43aefc26;--color-primary-inverse: var(--brand-colors-grey-grey900);--color-primary-default-hover: #26a2fc;--color-primary-default-pressed: #3baafd;--color-error-default: var(--brand-colors-red-red300);--color-error-alternative: var(--brand-colors-red-red200);--color-error-muted: #e88f9726;--color-error-inverse: var(--brand-colors-grey-grey900);--color-error-default-hover: #e47782;--color-error-default-pressed: #e78891;--color-warning-default: var(--brand-colors-yellow-yellow100);--color-warning-muted: #ffdf7026;--color-warning-inverse: var(--brand-colors-grey-grey900);--color-warning-default-hover: #ffe485;--color-warning-default-pressed: #ffe899;--color-success-default: var(--brand-colors-green-green300);--color-success-muted: #28a74526;--color-success-inverse: var(--brand-colors-grey-grey900);--color-success-default-hover: #2cb94c;--color-success-default-pressed: #30ca53;--color-info-default: var(--brand-colors-blue-blue300);--color-info-muted: #43aefc26;--color-info-inverse: var(--brand-colors-grey-grey900);--color-flask-default: var(--brand-colors-purple-purple300);--color-flask-inverse: var(--brand-colors-grey-grey900);--color-shadow-default: #00000066;--color-shadow-primary: #43aefc33;--color-shadow-error: #ff758466}:root{--font-family-euclid-circular-b: "Euclid Circular B", sans-serif;--font-family-roboto: "Roboto", sans-serif;--font-family-sans: "Euclid Circular B", "Roboto", sans-serif;--font-size-base: 16px;--font-size-1: .625rem;--font-size-2: .75rem;--font-size-3: .875rem;--font-size-4: 1rem;--font-size-5: 1.125rem;--font-size-6: 1.5rem;--font-size-7: 2rem;--font-size-8: 3rem;--line-height-1: 1rem;--line-height-2: 1.25rem;--line-height-3: 1.375rem;--line-height-4: 1.5rem;--line-height-5: 2rem;--line-height-6: 2.5rem;--line-height-7: 3.5rem;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-bold: 700;--letter-spacing-0: 0;--letter-spacing-1: 2.5%;--typography-s-display-md-font-family: var(--font-family-sans);--typography-s-display-md-font-size: var(--font-size-7);--typography-s-display-md-line-height: var(--line-height-6);--typography-s-display-md-font-weight: var(--font-weight-bold);--typography-s-display-md-letter-spacing: var(--letter-spacing-0);--typography-s-heading-lg-font-family: var(--font-family-sans);--typography-s-heading-lg-font-size: var(--font-size-6);--typography-s-heading-lg-line-height: var(--line-height-5);--typography-s-heading-lg-font-weight: var(--font-weight-bold);--typography-s-heading-lg-letter-spacing: var(--letter-spacing-0);--typography-s-heading-md-font-family: var(--font-family-sans);--typography-s-heading-md-font-size: var(--font-size-5);--typography-s-heading-md-line-height: var(--line-height-4);--typography-s-heading-md-font-weight: var(--font-weight-bold);--typography-s-heading-md-letter-spacing: var(--letter-spacing-0);--typography-s-heading-sm-font-family: var(--font-family-sans);--typography-s-heading-sm-font-size: var(--font-size-4);--typography-s-heading-sm-line-height: var(--line-height-4);--typography-s-heading-sm-font-weight: var(--font-weight-bold);--typography-s-heading-sm-letter-spacing: var(--letter-spacing-0);--typography-s-heading-sm-regular-font-family: var(--font-family-sans);--typography-s-heading-sm-regular-font-size: var(--font-size-4);--typography-s-heading-sm-regular-line-height: var(--line-height-4);--typography-s-heading-sm-regular-font-weight: var(--font-weight-regular);--typography-s-heading-sm-regular-letter-spacing: var(--letter-spacing-0);--typography-s-body-lg-medium-font-family: var(--font-family-sans);--typography-s-body-lg-medium-font-size: var(--font-size-4);--typography-s-body-lg-medium-line-height: var(--line-height-4);--typography-s-body-lg-medium-font-weight: var(--font-weight-medium);--typography-s-body-lg-medium-letter-spacing: var(--letter-spacing-0);--typography-s-body-lg-regular-font-family: var(--font-family-sans);--typography-s-body-lg-regular-font-size: var(--font-size-4);--typography-s-body-lg-regular-line-height: var(--line-height-4);--typography-s-body-lg-regular-font-weight: var(--font-weight-medium);--typography-s-body-lg-regular-letter-spacing: var(--letter-spacing-0);--typography-s-body-md-bold-font-family: var(--font-family-sans);--typography-s-body-md-bold-font-size: var(--font-size-3);--typography-s-body-md-bold-line-height: var(--line-height-3);--typography-s-body-md-bold-font-weight: var(--font-weight-bold);--typography-s-body-md-bold-letter-spacing: var(--letter-spacing-0);--typography-s-body-md-medium-font-family: var(--font-family-sans);--typography-s-body-md-medium-font-size: var(--font-size-3);--typography-s-body-md-medium-line-height: var(--line-height-3);--typography-s-body-md-medium-font-weight: var(--font-weight-medium);--typography-s-body-md-medium-letter-spacing: var(--letter-spacing-0);--typography-s-body-md-font-family: var(--font-family-sans);--typography-s-body-md-font-size: var(--font-size-3);--typography-s-body-md-line-height: var(--line-height-3);--typography-s-body-md-font-weight: var(--font-weight-regular);--typography-s-body-md-letter-spacing: var(--letter-spacing-0);--typography-s-body-sm-bold-font-family: var(--font-family-sans);--typography-s-body-sm-bold-font-size: var(--font-size-2);--typography-s-body-sm-bold-line-height: var(--line-height-2);--typography-s-body-sm-bold-font-weight: var(--font-weight-bold);--typography-s-body-sm-bold-letter-spacing: var(--letter-spacing-0);--typography-s-body-sm-medium-font-family: var(--font-family-sans);--typography-s-body-sm-medium-font-size: var(--font-size-2);--typography-s-body-sm-medium-line-height: var(--line-height-2);--typography-s-body-sm-medium-font-weight: var(--font-weight-medium);--typography-s-body-sm-medium-letter-spacing: var(--letter-spacing-0);--typography-s-body-sm-font-family: var(--font-family-sans);--typography-s-body-sm-font-size: var(--font-size-2);--typography-s-body-sm-line-height: var(--line-height-2);--typography-s-body-sm-font-weight: var(--font-weight-regular);--typography-s-body-sm-letter-spacing: var(--letter-spacing-0);--typography-s-body-xs-medium-font-family: var(--font-family-sans);--typography-s-body-xs-medium-font-size: var(--font-size-1);--typography-s-body-xs-medium-line-height: var(--line-height-1);--typography-s-body-xs-medium-font-weight: var(--font-weight-medium);--typography-s-body-xs-medium-letter-spacing: var(--letter-spacing-0);--typography-s-body-xs-font-family: var(--font-family-sans);--typography-s-body-xs-font-size: var(--font-size-1);--typography-s-body-xs-line-height: var(--line-height-1);--typography-s-body-xs-font-weight: var(--font-weight-regular);--typography-s-body-xs-letter-spacing: var(--letter-spacing-0);--typography-l-display-md-font-family: var(--font-family-sans);--typography-l-display-md-font-size: var(--font-size-8);--typography-l-display-md-line-height: var(--line-height-7);--typography-l-display-md-font-weight: var(--font-weight-medium);--typography-l-display-md-letter-spacing: var(--letter-spacing-0);--typography-l-heading-lg-font-family: var(--font-family-sans);--typography-l-heading-lg-font-size: var(--font-size-7);--typography-l-heading-lg-line-height: var(--line-height-6);--typography-l-heading-lg-font-weight: var(--font-weight-bold);--typography-l-heading-lg-letter-spacing: var(--letter-spacing-0);--typography-l-heading-md-font-family: var(--font-family-sans);--typography-l-heading-md-font-size: var(--font-size-6);--typography-l-heading-md-line-height: var(--line-height-5);--typography-l-heading-md-font-weight: var(--font-weight-bold);--typography-l-heading-md-letter-spacing: var(--letter-spacing-0);--typography-l-heading-sm-font-family: var(--font-family-sans);--typography-l-heading-sm-font-size: var(--font-size-5);--typography-l-heading-sm-line-height: var(--line-height-4);--typography-l-heading-sm-font-weight: var(--font-weight-bold);--typography-l-heading-sm-letter-spacing: var(--letter-spacing-0);--typography-l-heading-sm-regular-font-family: var(--font-family-sans);--typography-l-heading-sm-regular-font-size: var(--font-size-5);--typography-l-heading-sm-regular-line-height: var(--line-height-4);--typography-l-heading-sm-regular-font-weight: var(--font-weight-regular);--typography-l-heading-sm-regular-letter-spacing: var(--letter-spacing-0);--typography-l-body-lg-medium-font-family: var(--font-family-sans);--typography-l-body-lg-medium-font-size: var(--font-size-5);--typography-l-body-lg-medium-line-height: var(--line-height-4);--typography-l-body-lg-medium-font-weight: var(--font-weight-medium);--typography-l-body-lg-medium-letter-spacing: var(--letter-spacing-0);--typography-l-body-md-bold-font-family: var(--font-family-sans);--typography-l-body-md-bold-font-size: var(--font-size-4);--typography-l-body-md-bold-line-height: var(--line-height-4);--typography-l-body-md-bold-font-weight: var(--font-weight-bold);--typography-l-body-md-bold-letter-spacing: var(--letter-spacing-0);--typography-l-body-md-medium-font-family: var(--font-family-sans);--typography-l-body-md-medium-font-size: var(--font-size-4);--typography-l-body-md-medium-line-height: var(--line-height-4);--typography-l-body-md-medium-font-weight: var(--font-weight-medium);--typography-l-body-md-medium-letter-spacing: var(--letter-spacing-0);--typography-l-body-md-font-family: var(--font-family-sans);--typography-l-body-md-font-size: var(--font-size-4);--typography-l-body-md-line-height: var(--line-height-4);--typography-l-body-md-font-weight: var(--font-weight-regular);--typography-l-body-md-letter-spacing: var(--letter-spacing-0);--typography-l-body-sm-bold-font-family: var(--font-family-sans);--typography-l-body-sm-bold-font-size: var(--font-size-3);--typography-l-body-sm-bold-line-height: var(--line-height-3);--typography-l-body-sm-bold-font-weight: var(--font-weight-bold);--typography-l-body-sm-bold-letter-spacing: var(--letter-spacing-0);--typography-l-body-sm-medium-font-family: var(--font-family-sans);--typography-l-body-sm-medium-font-size: var(--font-size-3);--typography-l-body-sm-medium-line-height: var(--line-height-3);--typography-l-body-sm-medium-font-weight: var(--font-weight-medium);--typography-l-body-sm-medium-letter-spacing: var(--letter-spacing-0);--typography-l-body-sm-font-family: var(--font-family-sans);--typography-l-body-sm-font-size: var(--font-size-3);--typography-l-body-sm-line-height: var(--line-height-3);--typography-l-body-sm-font-weight: var(--font-weight-regular);--typography-l-body-sm-letter-spacing: var(--letter-spacing-0);--typography-l-body-xs-medium-font-family: var(--font-family-sans);--typography-l-body-xs-medium-font-size: var(--font-size-2);--typography-l-body-xs-medium-line-height: var(--line-height-2);--typography-l-body-xs-medium-font-weight: var(--font-weight-medium);--typography-l-body-xs-medium-letter-spacing: var(--letter-spacing-0);--typography-l-body-xs-font-family: var(--font-family-sans);--typography-l-body-xs-font-size: var(--font-size-2);--typography-l-body-xs-line-height: var(--line-height-2);--typography-l-body-xs-font-weight: var(--font-weight-regular);--typography-l-body-xs-letter-spacing: var(--letter-spacing-0)}:root{--shadow-size-xs: 0 2px 4px 0;--shadow-size-sm: 0 2px 8px 0;--shadow-size-md: 0 2px 16px 0;--shadow-size-lg: 0 2px 40px 0} diff --git a/storybook-static/assets/preview-CFgKly6U.js b/storybook-static/assets/preview-CFgKly6U.js new file mode 100644 index 00000000..9ed13e33 --- /dev/null +++ b/storybook-static/assets/preview-CFgKly6U.js @@ -0,0 +1 @@ +var j="Invariant failed";function S(e,t){if(!e)throw new Error(j)}const{useEffect:T}=__STORYBOOK_MODULE_PREVIEW_API__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;var K="measureEnabled";function Y(){let e=d.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function G(){let e=d.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");S(t!=null);let{width:o,height:l}=Y();return A(e,t,{width:o,height:l}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",d.document.body.appendChild(e),{canvas:e,context:t,width:o,height:l}}function A(e,t,{width:o,height:l}){e.style.width=`${o}px`,e.style.height=`${l}px`;let i=d.window.devicePixelRatio;e.width=Math.floor(o*i),e.height=Math.floor(l*i),t.scale(i,i)}var h={};function U(){h.canvas||(h=G())}function H(){h.context&&h.context.clearRect(0,0,h.width??0,h.height??0)}function V(e){H(),e(h.context)}function Z(){S(h.canvas),S(h.context),A(h.canvas,h.context,{width:0,height:0});let{width:e,height:t}=Y();A(h.canvas,h.context,{width:e,height:t}),h.width=e,h.height=t}function J(){var e;h.canvas&&(H(),(e=h.canvas.parentNode)==null||e.removeChild(h.canvas),h={})}var w={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},c=6;function W(e,{x:t,y:o,w:l,h:i,r:n}){t=t-l/2,o=o-i/2,l<2*n&&(n=l/2),i<2*n&&(n=i/2),e.beginPath(),e.moveTo(t+n,o),e.arcTo(t+l,o,t+l,o+i,n),e.arcTo(t+l,o+i,t,o+i,n),e.arcTo(t,o+i,t,o,n),e.arcTo(t,o,t+l,o,n),e.closePath()}function Q(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom,s=r+o.left+t.left,u=n+o.top+t.top;return e==="top"?s+=f/2:e==="right"?(s+=f,u+=a/2):e==="bottom"?(s+=f/2,u+=a):e==="left"?u+=a/2:e==="center"&&(s+=f/2,u+=a/2),{x:s,y:u}}function x(e,t,{margin:o,border:l,padding:i},n,r){let f=m=>0,a=0,s=0,u=r?1:.5,g=r?n*2:0;return e==="padding"?f=m=>i[m]*u+g:e==="border"?f=m=>i[m]+l[m]*u+g:e==="margin"&&(f=m=>i[m]+l[m]+o[m]*u+g),t==="top"?s=-f("top"):t==="right"?a=f("right"):t==="bottom"?s=f("bottom"):t==="left"&&(a=-f("left")),{offsetX:a,offsetY:s}}function tt(e,t){return Math.abs(e.x-t.x){let f=l&&n.position==="center"?lt(e,t,n):ot(e,t,n,i[r-1],l);i[r]=f})}function nt(e,t,o,l){let i=o.reduce((n,r)=>{var f;return Object.prototype.hasOwnProperty.call(n,r.position)||(n[r.position]=[]),(f=n[r.position])==null||f.push(r),n},{});i.top&&E(e,t,i.top,l),i.right&&E(e,t,i.right,l),i.bottom&&E(e,t,i.bottom,l),i.left&&E(e,t,i.left,l),i.center&&E(e,t,i.center,l)}var L={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},B=30;function p(e){return parseInt(e.replace("px",""),10)}function b(e){return Number.isInteger(e)?e:e.toFixed(2)}function P(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function ft(e){let t={top:d.window.scrollY,bottom:d.window.scrollY+d.window.innerHeight,left:d.window.scrollX,right:d.window.scrollX+d.window.innerWidth},o={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:o.left>o.right?"left":"right",y:o.top>o.bottom?"top":"bottom"}}function rt(e){let t=d.getComputedStyle(e),{top:o,left:l,right:i,bottom:n,width:r,height:f}=e.getBoundingClientRect(),{marginTop:a,marginBottom:s,marginLeft:u,marginRight:g,paddingTop:m,paddingBottom:v,paddingLeft:k,paddingRight:F,borderBottomWidth:I,borderTopWidth:D,borderLeftWidth:$,borderRightWidth:N}=t;o=o+d.window.scrollY,l=l+d.window.scrollX,n=n+d.window.scrollY,i=i+d.window.scrollX;let y={top:p(a),bottom:p(s),left:p(u),right:p(g)},q={top:p(m),bottom:p(v),left:p(k),right:p(F)},z={top:p(D),bottom:p(I),left:p($),right:p(N)},_={top:o-y.top,bottom:n+y.bottom,left:l-y.left,right:i+y.right};return{margin:y,padding:q,border:z,top:o,left:l,bottom:n,right:i,width:r,height:f,extremities:_,floatingAlignment:ft(_)}}function at(e,{margin:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l+t.bottom+t.top;e.fillStyle=L.margin,e.fillRect(n,i-t.top,o,t.top),e.fillRect(f,i-t.top,t.right,a),e.fillRect(n,r,o,t.bottom),e.fillRect(n-t.left,i-t.top,t.left,a);let s=[{type:"margin",text:b(t.top),position:"top"},{type:"margin",text:b(t.right),position:"right"},{type:"margin",text:b(t.bottom),position:"bottom"},{type:"margin",text:b(t.left),position:"left"}];return P(s)}function st(e,{padding:t,border:o,width:l,height:i,top:n,left:r,bottom:f,right:a}){let s=l-o.left-o.right,u=i-t.top-t.bottom-o.top-o.bottom;e.fillStyle=L.padding,e.fillRect(r+o.left,n+o.top,s,t.top),e.fillRect(a-t.right-o.right,n+t.top+o.top,t.right,u),e.fillRect(r+o.left,f-t.bottom-o.bottom,s,t.bottom),e.fillRect(r+o.left,n+t.top+o.top,t.left,u);let g=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return P(g)}function ht(e,{border:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l-t.top-t.bottom;e.fillStyle=L.border,e.fillRect(n,i,o,t.top),e.fillRect(n,r-t.bottom,o,t.bottom),e.fillRect(n,i+t.top,t.left,a),e.fillRect(f-t.right,i+t.top,t.right,a);let s=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return P(s)}function ut(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom;return e.fillStyle=L.content,e.fillRect(r+o.left+t.left,n+o.top+t.top,f,a),[{type:"content",position:"center",text:`${b(f)} x ${b(a)}`}]}function dt(e){return t=>{if(e&&t){let o=rt(e),l=at(t,o),i=st(t,o),n=ht(t,o),r=ut(t,o),f=o.width<=B*3||o.height<=B;nt(t,o,[...r,...i,...n,...l],f)}}}function mt(e){V(dt(e))}var gt=(e,t)=>{let o=d.document.elementFromPoint(e,t),l=i=>{if(i&&i.shadowRoot){let n=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(n)?i:n.shadowRoot?l(n):n}return i};return l(o)||o},O,M={x:0,y:0};function R(e,t){O=gt(e,t),mt(O)}var pt=(e,t)=>{let{measureEnabled:o}=t.globals;return T(()=>{let l=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),M.x=i.clientX,M.y=i.clientY})};return document.addEventListener("pointermove",l),()=>{document.removeEventListener("pointermove",l)}},[]),T(()=>{let l=n=>{window.requestAnimationFrame(()=>{n.stopPropagation(),R(n.clientX,n.clientY)})},i=()=>{window.requestAnimationFrame(()=>{Z()})};return t.viewMode==="story"&&o&&(document.addEventListener("pointerover",l),U(),window.addEventListener("resize",i),R(M.x,M.y)),()=>{window.removeEventListener("resize",i),J()}},[o,t.viewMode]),e()},ct=[pt],wt={[K]:!1};export{ct as decorators,wt as initialGlobals}; diff --git a/storybook-static/assets/preview-CsOdZhRM.js b/storybook-static/assets/preview-CsOdZhRM.js new file mode 100644 index 00000000..c01dcb69 --- /dev/null +++ b/storybook-static/assets/preview-CsOdZhRM.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-DMtBhNdE.js","./iframe-C4LTHpTP.js","./index-DJO9vBfz.js","./index-DvvF0ogX.js","./jsx-runtime-CkxqCPlQ.js","./index-DJdX7xnk.js","./index-D-8MO0q_.js","./index-j_8AUxV0.js","./index-DrFu-skq.js","./react-18-BWhC85Cb.js"])))=>i.map(i=>d[i]); +import{_ as a}from"./iframe-C4LTHpTP.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-DMtBhNdE.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/storybook-static/assets/preview-D34b2_xx.js b/storybook-static/assets/preview-D34b2_xx.js new file mode 100644 index 00000000..717aa9e3 --- /dev/null +++ b/storybook-static/assets/preview-D34b2_xx.js @@ -0,0 +1 @@ +const o={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}},storySort:{order:["Getting Started",["Introduction"],"Colors","Shadows","Typography","Doc Components"]}},tags:["autodocs"]};export{o as default}; diff --git a/storybook-static/assets/preview-D77C14du.js b/storybook-static/assets/preview-D77C14du.js new file mode 100644 index 00000000..e5a4f3c4 --- /dev/null +++ b/storybook-static/assets/preview-D77C14du.js @@ -0,0 +1,34 @@ +import{d as Y}from"./index-DrFu-skq.js";const{useEffect:_,useMemo:h}=__STORYBOOK_MODULE_PREVIEW_API__,{global:H}=__STORYBOOK_MODULE_GLOBAL__,{logger:K}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var g="backgrounds",C={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:$,window:T}=H,I=()=>{var r;return!!((r=T==null?void 0:T.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&r.matches)},A=r=>{(Array.isArray(r)?r:[r]).forEach(P)},P=r=>{var t;let e=$.getElementById(r);e&&((t=e.parentElement)==null||t.removeChild(e))},z=(r,e)=>{let t=$.getElementById(r);if(t)t.innerHTML!==e&&(t.innerHTML=e);else{let d=$.createElement("style");d.setAttribute("id",r),d.innerHTML=e,$.head.appendChild(d)}},U=(r,e,t)=>{var a;let d=$.getElementById(r);if(d)d.innerHTML!==e&&(d.innerHTML=e);else{let o=$.createElement("style");o.setAttribute("id",r),o.innerHTML=e;let i=`addon-backgrounds-grid${t?`-docs-${t}`:""}`,n=$.getElementById(i);n?(a=n.parentElement)==null||a.insertBefore(o,n):$.head.appendChild(o)}},j={cellSize:100,cellAmount:10,opacity:.8},w="addon-backgrounds",R="addon-backgrounds-grid",X=I()?"":"transition: background-color 0.3s;",N=(r,e)=>{let{globals:t,parameters:d,viewMode:a,id:o}=e,{options:i=C,disable:n,grid:s=j}=d[g]||{},c=t[g]||{},u=c.value,l=u?i[u]:void 0,b=(l==null?void 0:l.value)||"transparent",f=c.grid||!1,y=!!l&&!n,m=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",E=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",D=d.layout===void 0||d.layout==="padded",L=a==="docs"?20:D?16:0,{cellAmount:k,cellSize:p,opacity:x,offsetX:v=L,offsetY:S=L}=s,B=a==="docs"?`${w}-docs-${o}`:`${w}-color`,G=a==="docs"?o:null;_(()=>{let O=` + ${m} { + background: ${b} !important; + ${X} + }`;if(!y){A(B);return}U(B,O,G)},[m,B,G,y,b]);let M=a==="docs"?`${R}-docs-${o}`:`${R}`;return _(()=>{if(!f){A(M);return}let O=[`${p*k}px ${p*k}px`,`${p*k}px ${p*k}px`,`${p}px ${p}px`,`${p}px ${p}px`].join(", "),F=` + ${E} { + background-size: ${O} !important; + background-position: ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px !important; + background-blend-mode: difference !important; + background-image: linear-gradient(rgba(130, 130, 130, ${x}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${x}) 1px, transparent 1px), + linear-gradient(rgba(130, 130, 130, ${x/2}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${x/2}) 1px, transparent 1px) !important; + } + `;z(M,F)},[k,p,E,M,f,v,S,x]),r()},W=(r,e=[],t)=>{if(r==="transparent")return"transparent";if(e.find(a=>a.value===r)||r)return r;let d=e.find(a=>a.name===t);if(d)return d.value;if(t){let a=e.map(o=>o.name).join(", ");K.warn(Y` + Backgrounds Addon: could not find the default color "${t}". + These are the available colors for your story based on your configuration: + ${a}. + `)}return"transparent"},q=(r,e)=>{var u;let{globals:t,parameters:d}=e,a=(u=t[g])==null?void 0:u.value,o=d[g],i=h(()=>o.disable?"transparent":W(a,o.values,o.default),[o,a]),n=h(()=>i&&i!=="transparent",[i]),s=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",c=h(()=>` + ${s} { + background: ${i} !important; + ${I()?"":"transition: background-color 0.3s;"} + } + `,[i,s]);return _(()=>{let l=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!n){A(l);return}U(l,c,e.viewMode==="docs"?e.id:null)},[n,c,e]),r()},J=(r,e)=>{var y;let{globals:t,parameters:d}=e,a=d[g].grid,o=((y=t[g])==null?void 0:y.grid)===!0&&a.disable!==!0,{cellAmount:i,cellSize:n,opacity:s}=a,c=e.viewMode==="docs",u=d.layout===void 0||d.layout==="padded"?16:0,l=a.offsetX??(c?20:u),b=a.offsetY??(c?20:u),f=h(()=>{let m=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",E=[`${n*i}px ${n*i}px`,`${n*i}px ${n*i}px`,`${n}px ${n}px`,`${n}px ${n}px`].join(", ");return` + ${m} { + background-size: ${E} !important; + background-position: ${l}px ${b}px, ${l}px ${b}px, ${l}px ${b}px, ${l}px ${b}px !important; + background-blend-mode: difference !important; + background-image: linear-gradient(rgba(130, 130, 130, ${s}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${s}) 1px, transparent 1px), + linear-gradient(rgba(130, 130, 130, ${s/2}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${s/2}) 1px, transparent 1px) !important; + } + `},[n]);return _(()=>{let m=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!o){A(m);return}z(m,f)},[o,f,e]),r()},V=FEATURES!=null&&FEATURES.backgroundsStoryGlobals?[N]:[J,q],ee={[g]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1,...!(FEATURES!=null&&FEATURES.backgroundsStoryGlobals)&&{values:Object.values(C)}}},Q={[g]:{value:void 0,grid:!1}},re=FEATURES!=null&&FEATURES.backgroundsStoryGlobals?Q:{[g]:null};export{V as decorators,re as initialGlobals,ee as parameters}; diff --git a/storybook-static/assets/preview-DFmD0pui.js b/storybook-static/assets/preview-DFmD0pui.js new file mode 100644 index 00000000..58e38a87 --- /dev/null +++ b/storybook-static/assets/preview-DFmD0pui.js @@ -0,0 +1 @@ +var e="viewport",o={[e]:{value:void 0,isRotated:!1}},t={viewport:"reset",viewportRotated:!1},r=FEATURES!=null&&FEATURES.viewportStoryGlobals?o:t;export{r as initialGlobals}; diff --git a/storybook-static/assets/preview-DGUiP6tS.js b/storybook-static/assets/preview-DGUiP6tS.js new file mode 100644 index 00000000..61e89314 --- /dev/null +++ b/storybook-static/assets/preview-DGUiP6tS.js @@ -0,0 +1,7 @@ +const{STORY_CHANGED:r}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:s}=__STORYBOOK_MODULE_PREVIEW_API__,{global:O}=__STORYBOOK_MODULE_GLOBAL__;var d="storybook/highlight",i="storybookHighlight",g=`${d}/add`,E=`${d}/reset`,{document:l}=O,H=(e="#FF4785",t="dashed")=>` + outline: 2px ${t} ${e}; + outline-offset: 2px; + box-shadow: 0 0 0 6px rgba(255,255,255,0.6); +`,h=s.getChannel(),T=e=>{let t=i;n();let o=Array.from(new Set(e.elements)),_=l.createElement("style");_.setAttribute("id",t),_.innerHTML=o.map(a=>`${a}{ + ${H(e.color,e.style)} + }`).join(" "),l.head.appendChild(_)},n=()=>{var o;let e=i,t=l.getElementById(e);t&&((o=t.parentNode)==null||o.removeChild(t))};h.on(r,n);h.on(E,n);h.on(g,T); diff --git a/storybook-static/assets/preview-aVwhiz9X.js b/storybook-static/assets/preview-aVwhiz9X.js new file mode 100644 index 00000000..904b8bbf --- /dev/null +++ b/storybook-static/assets/preview-aVwhiz9X.js @@ -0,0 +1 @@ +let l;const S=new Uint8Array(16);function A(){if(!l&&(l=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!l))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return l(S)}const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function D(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}const I=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),m={randomUUID:I};function v(e,t,r){if(m.randomUUID&&!t&&!e)return m.randomUUID();e=e||{};const n=e.random||(e.rng||A)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,D(n)}const{addons:w}=__STORYBOOK_MODULE_PREVIEW_API__,{ImplicitActionsDuringRendering:U}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var f="storybook/actions",j=`${f}/action-event`,V={depth:10,clearOnStoryChange:!0,limit:50},E=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:E(r,t)},C=e=>!!(typeof e=="object"&&e&&E(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),K=e=>{if(C(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},L=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?v():Date.now().toString(36)+Math.random().toString(36).substring(2);function u(e,t={}){let r={...V,...t},n=function(...c){var g,O;if(t.implicit){let y=(g="__STORYBOOK_PREVIEW__"in p?p.__STORYBOOK_PREVIEW__:void 0)==null?void 0:g.storyRenders.find(d=>d.phase==="playing"||d.phase==="rendering");if(y){let d=!((O=window==null?void 0:window.FEATURES)!=null&&O.disallowImplicitActionsInRenderV8),R=new U({phase:y.phase,name:e,deprecated:d});if(d)console.warn(R);else throw R}}let i=w.getChannel(),s=L(),a=5,_=c.map(K),b=c.length>1?_:_[0],x={id:s,count:0,data:{name:e,args:b},options:{...r,maxDepth:a+(r.depth||3),allowFunction:r.allowFunction||!1}};i.emit(j,x)};return n.isAction=!0,n.implicit=t.implicit,n}var T=(e,t)=>typeof t[e]>"u"&&!(e in t),B=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:c}}=e;if(!c||c.disable||!c.argTypesRegex||!r)return{};let i=new RegExp(c.argTypesRegex);return Object.entries(r).filter(([s])=>!!i.test(s)).reduce((s,[a,_])=>(T(a,t)&&(s[a]=u(a,{implicit:!0,id:n})),s),{})},M=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([c,i])=>!!i.action).reduce((c,[i,s])=>(T(i,t)&&(c[i]=u(typeof s.action=="string"?s.action:i)),c),{})},Y=[M,B],h=!1,P=e=>{let{parameters:{actions:t}}=e;if(!(t!=null&&t.disable)&&!h&&"__STORYBOOK_TEST_ON_MOCK_CALL__"in p&&typeof p.__STORYBOOK_TEST_ON_MOCK_CALL__=="function"){let r=p.__STORYBOOK_TEST_ON_MOCK_CALL__;r((n,c)=>{let i=n.getMockName();i!=="spy"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(s=>i.startsWith(s)))&&u(i)(c)}),h=!0}},N=[P];export{Y as argsEnhancers,N as loaders}; diff --git a/storybook-static/assets/react-18-BWhC85Cb.js b/storybook-static/assets/react-18-BWhC85Cb.js new file mode 100644 index 00000000..c0a6481b --- /dev/null +++ b/storybook-static/assets/react-18-BWhC85Cb.js @@ -0,0 +1 @@ +import{r as s}from"./index-DJO9vBfz.js";import{r as l}from"./index-DJdX7xnk.js";var u,a=l;u=a.createRoot,a.hydrateRoot;var n=new Map;function c(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var R=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var f=async(e,t,r)=>{let o=await v(t,r);if(c()){o.render(e);return}let{promise:i,resolve:m}=Promise.withResolvers();return o.render(s.createElement(R,{callback:m},e)),i},h=(e,t)=>{let r=n.get(e);r&&(r.unmount(),n.delete(e))},v=async(e,t)=>{let r=n.get(e);return r||(r=u(e,t),n.set(e,r)),r};export{f as renderElement,h as unmountElement}; diff --git a/storybook-static/assets/shadows-C-ttOB05.js b/storybook-static/assets/shadows-C-ttOB05.js new file mode 100644 index 00000000..3b0b5d59 --- /dev/null +++ b/storybook-static/assets/shadows-C-ttOB05.js @@ -0,0 +1 @@ +import{f as t}from"./fontFamilies-hd_sU_9-.js";const i={fontSize1:10,fontSize2:12,fontSize3:14,fontSize4:16,fontSize5:18,fontSize6:24,fontSize7:32,fontSize8:48},l={regular:"400",medium:"500",bold:"700"},a={letterSpacing0:0,letterSpacing1:.25},r={lineHeight1:16,lineHeight2:20,lineHeight3:22,lineHeight4:24,lineHeight5:32,lineHeight6:40,lineHeight7:56},o={sDisplayMD:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize7,lineHeight:r.lineHeight6,letterSpacing:a.letterSpacing0},sHeadingLG:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize6,lineHeight:r.lineHeight5,letterSpacing:a.letterSpacing0},sHeadingMD:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize5,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},sHeadingSM:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize4,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},sHeadingSMRegular:{fontFamily:t.euclidCircularB,fontWeight:l.regular,fontSize:i.fontSize4,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},sBodyLGMedium:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize4,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},sBodyMD:{fontFamily:t.euclidCircularB,fontWeight:l.regular,fontSize:i.fontSize3,lineHeight:r.lineHeight3,letterSpacing:a.letterSpacing0},sBodyMDMedium:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize3,lineHeight:r.lineHeight3,letterSpacing:a.letterSpacing0},sBodyMDBold:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize3,lineHeight:r.lineHeight3,letterSpacing:a.letterSpacing0},sBodySM:{fontFamily:t.euclidCircularB,fontWeight:l.regular,fontSize:i.fontSize2,lineHeight:r.lineHeight2,letterSpacing:a.letterSpacing0},sBodySMMedium:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize2,lineHeight:r.lineHeight2,letterSpacing:a.letterSpacing0},sBodySMBold:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize2,lineHeight:r.lineHeight2,letterSpacing:a.letterSpacing0},sBodyXS:{fontFamily:t.euclidCircularB,fontWeight:l.regular,fontSize:i.fontSize1,lineHeight:r.lineHeight1,letterSpacing:a.letterSpacing1},sBodyXSMedium:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize1,lineHeight:r.lineHeight1,letterSpacing:a.letterSpacing1},lDisplayMD:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize8,lineHeight:r.lineHeight7,letterSpacing:a.letterSpacing0},lHeadingLG:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize7,lineHeight:r.lineHeight6,letterSpacing:a.letterSpacing0},lHeadingMD:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize6,lineHeight:r.lineHeight5,letterSpacing:a.letterSpacing0},lHeadingSM:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize5,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},lHeadingSMRegular:{fontFamily:t.euclidCircularB,fontWeight:l.regular,fontSize:i.fontSize5,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},lBodyLGMedium:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize5,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},lBodyMD:{fontFamily:t.euclidCircularB,fontWeight:l.regular,fontSize:i.fontSize4,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},lBodyMDMedium:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize4,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},lBodyMDBold:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize4,lineHeight:r.lineHeight4,letterSpacing:a.letterSpacing0},lBodySM:{fontFamily:t.euclidCircularB,fontWeight:l.regular,fontSize:i.fontSize3,lineHeight:r.lineHeight3,letterSpacing:a.letterSpacing0},lBodySMMedium:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize3,lineHeight:r.lineHeight3,letterSpacing:a.letterSpacing0},lBodySMBold:{fontFamily:t.euclidCircularB,fontWeight:l.bold,fontSize:i.fontSize3,lineHeight:r.lineHeight3,letterSpacing:a.letterSpacing0},lBodyXS:{fontFamily:t.euclidCircularB,fontWeight:l.regular,fontSize:i.fontSize2,lineHeight:r.lineHeight2,letterSpacing:a.letterSpacing1},lBodyXSMedium:{fontFamily:t.euclidCircularB,fontWeight:l.medium,fontSize:i.fontSize2,lineHeight:r.lineHeight2,letterSpacing:a.letterSpacing1}},e={grey100:"#d6d9dc",grey200:"#bbc0c5",grey300:"#9fa6ae",grey400:"#848c96",grey500:"#6a737d",grey600:"#535a61",grey700:"#3b4046",grey800:"#24272a",grey900:"#141618",grey1000:"#000000",grey050:"#f2f4f6",grey000:"#ffffff",grey025:"#fafbfc",blue100:"#a7d9fe",blue200:"#75c4fd",blue300:"#43aefc",blue400:"#1098fc",blue500:"#0376c9",blue600:"#0260a4",blue700:"#024272",blue800:"#01253f",blue900:"#00080d",blue050:"#eaf6ff",blue025:"#eaf6ff",green100:"#afecbd",green200:"#5dd879",green300:"#28a745",green400:"#28a745",green500:"#1c8234",green600:"#145523",green700:"#145523",green800:"#0a2c12",green900:"#041007",green050:"#d6ffdf",green025:"#f3fcf5",red100:"#f7d5d8",red200:"#f1b9be",red300:"#e88f97",red400:"#e06470",red500:"#d73847",red600:"#8e1d28",red700:"#64141c",red800:"#3a0c10",red900:"#3a0c10",red050:"#fcf2f3",red025:"#fcf2f3",yellow100:"#ffdf70",yellow200:"#ffc70a",yellow300:"#f8883b",yellow400:"#f66a0a",yellow500:"#bf5208",yellow600:"#954005",yellow700:"#632b04",yellow800:"#321602",yellow900:"#321602",yellow050:"#fff2c5",yellow025:"#fefcde",orange100:"#fbc49d",orange200:"#faa66c",orange300:"#f8883b",orange400:"#f66a0a",orange500:"#bf5208",orange600:"#954005",orange700:"#632b04",orange800:"#321602",orange900:"#321602",orange050:"#fde2cf",orange025:"#fef5ef",purple100:"#efd2ff",purple200:"#cfb5f0",purple300:"#d27dff",purple400:"#b864f5",purple500:"#8b45b6",purple600:"#6c2ab2",purple700:"#4c1178",purple800:"#32054d",purple900:"#280a00",purple050:"#fbf2ff",purple025:"#fcf6ff",lime100:"#b8ef4a",lime200:"#95ca45",lime300:"#7ab040",lime400:"#64993d",lime500:"#457a39",lime600:"#275b35",lime700:"#093a31",lime800:"#022321",lime900:"#011515",lime025:"#effed9",lime050:"#e3febd",white:"#ffffff",black:"#000000"},n={background:{default:e.grey000,alternative:e.grey050,defaultHover:"#f5f5f5",defaultPressed:"#ebebeb",alternativeHover:"#e7ebee",alternativePressed:"#dbe0e6",hover:"#0000000a",pressed:"#00000014"},text:{default:e.grey900,alternative:e.grey500,muted:e.grey300},icon:{default:e.grey900,alternative:e.grey500,muted:e.grey300},border:{default:e.grey200,muted:"#bbc0c566"},overlay:{default:"#00000099",alternative:"#000000cc",inverse:e.grey000},primary:{default:e.blue500,alternative:e.blue600,muted:"#0376c91a",inverse:e.grey000,defaultHover:"#036ab5",defaultPressed:"#025ea1"},error:{default:e.red500,alternative:e.red600,muted:"#d738471a",inverse:e.grey000,defaultHover:"#d02a3a",defaultPressed:"#bf2635"},warning:{default:e.yellow500,muted:"#bf52081a",inverse:e.grey000,defaultHover:"#ac4a07",defaultPressed:"#984106"},success:{default:e.green500,muted:"#1c82341a",inverse:e.grey000,defaultHover:"#18712d",defaultPressed:"#156127"},info:{default:e.blue500,muted:"#0376c91a",inverse:e.grey000},flask:{default:e.purple500,inverse:e.grey000},shadow:{default:"#0000001a",primary:"#0376c933",error:"#ca354266"}},d={size:{xs:{shadowColor:n.shadow.default,shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:4},sm:{shadowColor:n.shadow.default,shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:8},md:{shadowColor:n.shadow.default,shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:16},lg:{shadowColor:n.shadow.default,shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:40}}},c={colors:n,typography:o,shadows:d},f={background:{default:e.grey800,alternative:e.grey900,defaultHover:"#313235",defaultPressed:"#3f4145",alternativeHover:"#1f2123",alternativePressed:"#2e3033",hover:"#ffffff0a",pressed:"#ffffff14"},text:{default:e.grey000,alternative:e.grey200,muted:e.grey400},icon:{default:e.grey000,alternative:e.grey200,muted:e.grey400},border:{default:e.grey400,muted:"#848c9629"},overlay:{default:"#00000099",alternative:"#000000cc",inverse:e.grey000},primary:{default:e.blue300,alternative:e.blue200,muted:"#43aefc26",inverse:e.grey900,defaultHover:"#26a2fc",defaultPressed:"#3baafd"},error:{default:e.red300,alternative:e.red200,muted:"#e88f9726",inverse:e.grey900,defaultHover:"#e47782",defaultPressed:"#e78891"},warning:{default:e.yellow100,muted:"#ffdf7026",inverse:e.grey900,defaultHover:"#ffe485",defaultPressed:"#ffe899"},success:{default:e.green300,muted:"#28a74526",inverse:e.grey900,defaultHover:"#2cb94c",defaultPressed:"#30ca53"},info:{default:e.blue300,muted:"#43aefc26",inverse:e.grey900},flask:{default:e.purple300,inverse:e.grey900},shadow:{default:"#00000066",primary:"#43aefc33",error:"#ff758466"}},u={size:{xs:{shadowColor:f.shadow.default,shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:4},sm:{shadowColor:f.shadow.default,shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:8},md:{shadowColor:f.shadow.default,shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:16},lg:{shadowColor:f.shadow.default,shadowOffset:{width:0,height:2},shadowOpacity:1,shadowRadius:40}}};export{r as a,e as b,l as c,a as d,f as e,i as f,c as l,u as s,o as t}; diff --git a/storybook-static/assets/useJsonColor-DYnRusTp.js b/storybook-static/assets/useJsonColor-DYnRusTp.js new file mode 100644 index 00000000..fa937ea8 --- /dev/null +++ b/storybook-static/assets/useJsonColor-DYnRusTp.js @@ -0,0 +1 @@ +import{r as b}from"./index-DJO9vBfz.js";const de=a=>{const i={};return Array.from(document.styleSheets).flatMap(r=>{try{return Array.from(r.cssRules)}catch(n){return n instanceof Error?console.error("Access denied to stylesheet: ",r.href,"; Error: ",n.message):console.error("Access denied to stylesheet: ",r.href,"; Unknown error occurred."),[]}}).filter(r=>r.type===CSSRule.STYLE_RULE).filter(r=>r.selectorText.split(",").some(o=>o.trim()===":root"||o.trim()==="[data-theme='light']")).forEach(r=>{const n=r.style;for(let o=0;o/^#[0-9A-F]{6}$/iu.test(a)||/^#[0-9A-F]{8}$/iu.test(a),pe=()=>{const[a,i]=b.useState({});return b.useEffect(()=>{const r=(e,l)=>{if(e.startsWith("{")&&e.endsWith("}")){const c=e.slice(1,-1).split(".");let t=l;for(const d of c)if(t=t[d],!t)return e;return t.value}return e},o=(e=>{const l={};return Object.entries(e).forEach(([c,t])=>{const d={};Object.entries(t).forEach(([f,u])=>{if(typeof u.value=="string")d[f]={...u,value:r(u.value,v)};else{const y={};Object.entries(u).forEach(([k,p])=>{var h;let s=r(p.value,v);if(!se(s)){const C=s.slice(1,-1).split("."),m=C[0],g=C[1];m&&((h=t[m])!=null&&h[g]?s=r(t[m][g].value,v):console.error("Invalid reference:",s))}const T=p.description??"",F=String(p.value),B=p.value===s?"":` ${F}`;y[k]={...p,value:s,description:T+B}}),d[f]=y}}),l[c]=d}),l})({brandColor:{...v},lightTheme:le,darkTheme:z});i(o)},[]),a};export{v as b,de as g,pe as u}; diff --git a/storybook-static/favicon.svg b/storybook-static/favicon.svg new file mode 100644 index 00000000..571f90fe --- /dev/null +++ b/storybook-static/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook-static/iframe.html b/storybook-static/iframe.html new file mode 100644 index 00000000..e590f09b --- /dev/null +++ b/storybook-static/iframe.html @@ -0,0 +1,639 @@ + + + + + + Storybook + + + + + + + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

No Preview

+

Sorry, but you either have no stories or none are selected somehow.

+
    +
  • Please check the Storybook config.
  • +
  • Try reloading the page.
  • +
+

+ If the problem persists, check the browser console, or the terminal you've run Storybook from. +

+
+
+ +
+
+

+

+ 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/storybook-static/index.html b/storybook-static/index.html new file mode 100644 index 00000000..c2d4aeef --- /dev/null +++ b/storybook-static/index.html @@ -0,0 +1,181 @@ + + + + + + @storybook/core - Storybook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + diff --git a/storybook-static/index.json b/storybook-static/index.json new file mode 100644 index 00000000..7c129839 --- /dev/null +++ b/storybook-static/index.json @@ -0,0 +1 @@ +{"v":5,"entries":{"getting-started-introduction--docs":{"id":"getting-started-introduction--docs","title":"Getting Started/Introduction","name":"Docs","importPath":"./docs/Introduction.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"colors-introduction--docs":{"id":"colors-introduction--docs","title":"Colors / Introduction","name":"Docs","importPath":"./docs/IntroductionColor.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"colors-brand-colors--docs":{"id":"colors-brand-colors--docs","title":"Colors/Brand Colors","name":"Docs","importPath":"./docs/BrandColors.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"colors-brand-colors--figma":{"type":"story","id":"colors-brand-colors--figma","name":"Figma","title":"Colors/Brand Colors","importPath":"./docs/BrandColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"colors-brand-colors--css":{"type":"story","id":"colors-brand-colors--css","name":"CSS","title":"Colors/Brand Colors","importPath":"./docs/BrandColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"colors-brand-colors--js":{"type":"story","id":"colors-brand-colors--js","name":"JS","title":"Colors/Brand Colors","importPath":"./docs/BrandColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"shadows-shadows--docs":{"id":"shadows-shadows--docs","title":"Shadows/Shadows","name":"Docs","importPath":"./docs/Shadows.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"shadows-shadows--default-story":{"type":"story","id":"shadows-shadows--default-story","name":"Default","title":"Shadows/Shadows","importPath":"./docs/Shadows.stories.tsx","tags":["dev","test","autodocs"]},"shadows-shadows--size":{"type":"story","id":"shadows-shadows--size","name":"Size","title":"Shadows/Shadows","importPath":"./docs/Shadows.stories.tsx","tags":["dev","test","autodocs"]},"shadows-shadows--color":{"type":"story","id":"shadows-shadows--color","name":"Color","title":"Shadows/Shadows","importPath":"./docs/Shadows.stories.tsx","tags":["dev","test","autodocs"]},"shadows-shadows--example-usage":{"type":"story","id":"shadows-shadows--example-usage","name":"Example Usage","title":"Shadows/Shadows","importPath":"./docs/Shadows.stories.tsx","tags":["dev","test","autodocs"]},"colors-theme-colors--docs":{"id":"colors-theme-colors--docs","title":"Colors/Theme Colors","name":"Docs","importPath":"./docs/ThemeColors.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"colors-theme-colors--figma-light-theme":{"type":"story","id":"colors-theme-colors--figma-light-theme","name":"Figma Light Theme","title":"Colors/Theme Colors","importPath":"./docs/ThemeColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"colors-theme-colors--figma-dark-theme":{"type":"story","id":"colors-theme-colors--figma-dark-theme","name":"Figma Dark Theme","title":"Colors/Theme Colors","importPath":"./docs/ThemeColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"colors-theme-colors--css-light-theme":{"type":"story","id":"colors-theme-colors--css-light-theme","name":"CSS Light Theme","title":"Colors/Theme Colors","importPath":"./docs/ThemeColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"colors-theme-colors--css-dark-theme":{"type":"story","id":"colors-theme-colors--css-dark-theme","name":"CSS Dark Theme","title":"Colors/Theme Colors","importPath":"./docs/ThemeColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"colors-theme-colors--js-light-theme":{"type":"story","id":"colors-theme-colors--js-light-theme","name":"JS Light Theme","title":"Colors/Theme Colors","importPath":"./docs/ThemeColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"colors-theme-colors--js-dark-theme":{"type":"story","id":"colors-theme-colors--js-dark-theme","name":"JS Dark Theme","title":"Colors/Theme Colors","importPath":"./docs/ThemeColors.stories.tsx","componentPath":"./docs/components","tags":["dev","test","autodocs"]},"typography-typography--docs":{"id":"typography-typography--docs","title":"Typography/Typography","name":"Docs","importPath":"./docs/Typography.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"typography-typography--font-family":{"type":"story","id":"typography-typography--font-family","name":"Font Family","title":"Typography/Typography","importPath":"./docs/Typography.stories.tsx","tags":["dev","test","autodocs"]},"typography-typography--small-screen":{"type":"story","id":"typography-typography--small-screen","name":"Small Screen","title":"Typography/Typography","importPath":"./docs/Typography.stories.tsx","tags":["dev","test","autodocs"]},"typography-typography--large-screen":{"type":"story","id":"typography-typography--large-screen","name":"Large Screen","title":"Typography/Typography","importPath":"./docs/Typography.stories.tsx","tags":["dev","test","autodocs"]},"typography-typography--font-weight":{"type":"story","id":"typography-typography--font-weight","name":"Font Weight","title":"Typography/Typography","importPath":"./docs/Typography.stories.tsx","tags":["dev","test","autodocs"]},"typography-typography--small-screen-css":{"type":"story","id":"typography-typography--small-screen-css","name":"Small Screen CSS","title":"Typography/Typography","importPath":"./docs/Typography.stories.tsx","tags":["dev","test","autodocs"]},"typography-typography--large-screen-css":{"type":"story","id":"typography-typography--large-screen-css","name":"Large Screen CSS","title":"Typography/Typography","importPath":"./docs/Typography.stories.tsx","tags":["dev","test","autodocs"]},"documentation-components-colorswatch--docs":{"id":"documentation-components-colorswatch--docs","title":"Documentation Components/ColorSwatch","name":"Docs","importPath":"./docs/components/ColorSwatch/ColorSwatch.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"documentation-components-colorswatch--default":{"type":"story","id":"documentation-components-colorswatch--default","name":"Default","title":"Documentation Components/ColorSwatch","importPath":"./docs/components/ColorSwatch/ColorSwatch.stories.tsx","componentPath":"./docs/components/ColorSwatch/ColorSwatch.tsx","tags":["dev","test","autodocs"]},"documentation-components-colorswatchgroup--docs":{"id":"documentation-components-colorswatchgroup--docs","title":"Documentation Components/ColorSwatchGroup","name":"Docs","importPath":"./docs/components/ColorSwatchGroup/ColorSwatchGroup.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"documentation-components-colorswatchgroup--default":{"type":"story","id":"documentation-components-colorswatchgroup--default","name":"Default","title":"Documentation Components/ColorSwatchGroup","importPath":"./docs/components/ColorSwatchGroup/ColorSwatchGroup.stories.tsx","componentPath":"./docs/components/ColorSwatchGroup/ColorSwatchGroup.tsx","tags":["dev","test","autodocs"]},"documentation-components-text--docs":{"id":"documentation-components-text--docs","title":"Documentation Components/Text","name":"Docs","importPath":"./docs/components/Text/Text.stories.tsx","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"documentation-components-text--default-story":{"type":"story","id":"documentation-components-text--default-story","name":"Default","title":"Documentation Components/Text","importPath":"./docs/components/Text/Text.stories.tsx","tags":["dev","test","autodocs"]}}} \ No newline at end of file diff --git a/storybook-static/nunito-sans-bold-italic.woff2 b/storybook-static/nunito-sans-bold-italic.woff2 new file mode 100644 index 00000000..33563d8b Binary files /dev/null and b/storybook-static/nunito-sans-bold-italic.woff2 differ diff --git a/storybook-static/nunito-sans-bold.woff2 b/storybook-static/nunito-sans-bold.woff2 new file mode 100644 index 00000000..19fcc944 Binary files /dev/null and b/storybook-static/nunito-sans-bold.woff2 differ diff --git a/storybook-static/nunito-sans-italic.woff2 b/storybook-static/nunito-sans-italic.woff2 new file mode 100644 index 00000000..827096da Binary files /dev/null and b/storybook-static/nunito-sans-italic.woff2 differ diff --git a/storybook-static/nunito-sans-regular.woff2 b/storybook-static/nunito-sans-regular.woff2 new file mode 100644 index 00000000..c527ba49 Binary files /dev/null and b/storybook-static/nunito-sans-regular.woff2 differ diff --git a/storybook-static/project.json b/storybook-static/project.json new file mode 100644 index 00000000..072a7b14 --- /dev/null +++ b/storybook-static/project.json @@ -0,0 +1 @@ +{"generatedAt":1731105154503,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@metamask/eslint-config-jest":"12.1.0","@types/jest":"27.5.2","eslint-plugin-jest":"27.9.0","jest":"27.5.1","jest-it-up":"2.2.0","ts-jest":"27.1.5"},"packageManager":{"type":"yarn","version":"4.1.1"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"storybookVersion":"8.4.2","storybookVersionSpecifier":"^8.3.5","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.4.2"},"@storybook/react":{"version":"8.4.2"},"@storybook/react-vite":{"version":"8.4.2"},"@storybook/test":{"version":"8.4.2"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.4.2"}},"addons":{"@storybook/addon-links":{"version":"8.4.2"},"@storybook/addon-essentials":{"version":"8.4.2"},"@chromatic-com/storybook":{"version":"1.9.0"},"@storybook/addon-interactions":{"version":"8.4.2"},"@storybook/addon-docs":{"version":"8.4.2"}}} \ No newline at end of file diff --git a/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js b/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js new file mode 100644 index 00000000..61dbfe78 --- /dev/null +++ b/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js @@ -0,0 +1,333 @@ +try{ +(()=>{var mc=Object.create;var Ua=Object.defineProperty;var pc=Object.getOwnPropertyDescriptor;var hc=Object.getOwnPropertyNames;var fc=Object.getPrototypeOf,gc=Object.prototype.hasOwnProperty;var Jt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var $a=(e,t)=>()=>(e&&(t=e(e=0)),t);var vc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),yc=(e,t)=>{for(var n in t)Ua(e,n,{get:t[n],enumerable:!0})},tl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of hc(t))!gc.call(e,i)&&i!==n&&Ua(e,i,{get:()=>t[i],enumerable:!(r=pc(t,i))||r.enumerable});return e};var bc=(e,t,n)=>(n=e!=null?mc(fc(e)):{},tl(t||!e||!e.__esModule?Ua(n,"default",{value:e,enumerable:!0}):n,e)),nl=e=>tl(Ua({},"__esModule",{value:!0}),e);var Ee=$a(()=>{});var Je,ke=$a(()=>{Je={NODE_ENV:"production",NODE_PATH:[],STORYBOOK:"true",PUBLIC_URL:"."}});var we=$a(()=>{});var Wa={};yc(Wa,{Children:()=>kc,Component:()=>jt,Fragment:()=>wc,Profiler:()=>Cc,PureComponent:()=>Sc,StrictMode:()=>xc,Suspense:()=>Mc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Nc,cloneElement:()=>Fc,createContext:()=>Xe,createElement:()=>x,createFactory:()=>Ac,createRef:()=>Oc,default:()=>a,forwardRef:()=>Q,isValidElement:()=>di,lazy:()=>Lc,memo:()=>Tc,startTransition:()=>_c,unstable_act:()=>Zc,useCallback:()=>W,useContext:()=>Xt,useDebugValue:()=>Ic,useDeferredValue:()=>Rc,useEffect:()=>oe,useId:()=>Bc,useImperativeHandle:()=>Pc,useInsertionEffect:()=>Vc,useLayoutEffect:()=>jc,useMemo:()=>Dt,useReducer:()=>ui,useRef:()=>Pe,useState:()=>Re,useSyncExternalStore:()=>Dc,useTransition:()=>Hc,version:()=>zc});var a,kc,jt,wc,Cc,Sc,xc,Mc,Nc,Fc,Xe,x,Ac,Oc,Q,di,Lc,Tc,_c,Zc,W,Xt,Ic,Rc,oe,Bc,Pc,Vc,jc,Dt,ui,Pe,Re,Dc,Hc,zc,Yn=$a(()=>{Ee();ke();we();a=__REACT__,{Children:kc,Component:jt,Fragment:wc,Profiler:Cc,PureComponent:Sc,StrictMode:xc,Suspense:Mc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Nc,cloneElement:Fc,createContext:Xe,createElement:x,createFactory:Ac,createRef:Oc,forwardRef:Q,isValidElement:di,lazy:Lc,memo:Tc,startTransition:_c,unstable_act:Zc,useCallback:W,useContext:Xt,useDebugValue:Ic,useDeferredValue:Rc,useEffect:oe,useId:Bc,useImperativeHandle:Pc,useInsertionEffect:Vc,useLayoutEffect:jc,useMemo:Dt,useReducer:ui,useRef:Pe,useState:Re,useSyncExternalStore:Dc,useTransition:Hc,version:zc}=__REACT__});var yl=vc((Xn,yi)=>{Ee();ke();we();(function(e,t){typeof Xn=="object"&&typeof yi=="object"?yi.exports=t((Yn(),nl(Wa))):typeof define=="function"&&define.amd?define(["react"],t):typeof Xn=="object"?Xn.ReactConfetti=t((Yn(),nl(Wa))):e.ReactConfetti=t(e.React)})(typeof self<"u"?self:Xn,function(e){return function(t){var n={};function r(i){if(n[i])return n[i].exports;var o=n[i]={i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(i,o,l){r.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:l})},r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,o){if(1&o&&(i=r(i)),8&o||4&o&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),2&o&&typeof i!="string")for(var s in i)r.d(l,s,(function(c){return i[c]}).bind(null,s));return l},r.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(o,"a",o),o},r.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},r.p="",r(r.s=2)}([function(t,n){t.exports=e},function(t,n,r){"use strict";var i={linear:function(o,l,s,c){return(s-l)*o/c+l},easeInQuad:function(o,l,s,c){return(s-l)*(o/=c)*o+l},easeOutQuad:function(o,l,s,c){return-(s-l)*(o/=c)*(o-2)+l},easeInOutQuad:function(o,l,s,c){var d=s-l;return(o/=c/2)<1?d/2*o*o+l:-d/2*(--o*(o-2)-1)+l},easeInCubic:function(o,l,s,c){return(s-l)*(o/=c)*o*o+l},easeOutCubic:function(o,l,s,c){return(s-l)*((o=o/c-1)*o*o+1)+l},easeInOutCubic:function(o,l,s,c){var d=s-l;return(o/=c/2)<1?d/2*o*o*o+l:d/2*((o-=2)*o*o+2)+l},easeInQuart:function(o,l,s,c){return(s-l)*(o/=c)*o*o*o+l},easeOutQuart:function(o,l,s,c){return-(s-l)*((o=o/c-1)*o*o*o-1)+l},easeInOutQuart:function(o,l,s,c){var d=s-l;return(o/=c/2)<1?d/2*o*o*o*o+l:-d/2*((o-=2)*o*o*o-2)+l},easeInQuint:function(o,l,s,c){return(s-l)*(o/=c)*o*o*o*o+l},easeOutQuint:function(o,l,s,c){return(s-l)*((o=o/c-1)*o*o*o*o+1)+l},easeInOutQuint:function(o,l,s,c){var d=s-l;return(o/=c/2)<1?d/2*o*o*o*o*o+l:d/2*((o-=2)*o*o*o*o+2)+l},easeInSine:function(o,l,s,c){var d=s-l;return-d*Math.cos(o/c*(Math.PI/2))+d+l},easeOutSine:function(o,l,s,c){return(s-l)*Math.sin(o/c*(Math.PI/2))+l},easeInOutSine:function(o,l,s,c){return-(s-l)/2*(Math.cos(Math.PI*o/c)-1)+l},easeInExpo:function(o,l,s,c){return o==0?l:(s-l)*Math.pow(2,10*(o/c-1))+l},easeOutExpo:function(o,l,s,c){var d=s-l;return o==c?l+d:d*(1-Math.pow(2,-10*o/c))+l},easeInOutExpo:function(o,l,s,c){var d=s-l;return o===0?l:o===c?l+d:(o/=c/2)<1?d/2*Math.pow(2,10*(o-1))+l:d/2*(2-Math.pow(2,-10*--o))+l},easeInCirc:function(o,l,s,c){return-(s-l)*(Math.sqrt(1-(o/=c)*o)-1)+l},easeOutCirc:function(o,l,s,c){return(s-l)*Math.sqrt(1-(o=o/c-1)*o)+l},easeInOutCirc:function(o,l,s,c){var d=s-l;return(o/=c/2)<1?-d/2*(Math.sqrt(1-o*o)-1)+l:d/2*(Math.sqrt(1-(o-=2)*o)+1)+l},easeInElastic:function(o,l,s,c){var d,u,m,p=s-l;return m=1.70158,o===0?l:(o/=c)==1?l+p:((u=0)||(u=.3*c),(d=p)=1&&this.rotationDirection===o.Positive?this.rotationDirection=o.Negative:this.rotateY<=-1&&this.rotationDirection===o.Negative&&(this.rotationDirection=o.Positive);var _e=.1*this.rotationDirection;if(this.rotateY+=_e,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=be,this.context.lineCap="round",this.context.lineWidth=2,ge&&typeof ge=="function")ge.call(this,this.context);else switch(this.shape){case i.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case i.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case i.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&m(M.prototype,F),N&&m(M,N),C}();function f(C,M,F){return M in C?Object.defineProperty(C,M,{value:F,enumerable:!0,configurable:!0,writable:!0}):C[M]=F,C}var y=function C(M,F){var N=this;(function(re,P){if(!(re instanceof P))throw new TypeError("Cannot call a class as a function")})(this,C),f(this,"canvas",void 0),f(this,"context",void 0),f(this,"getOptions",void 0),f(this,"x",0),f(this,"y",0),f(this,"w",0),f(this,"h",0),f(this,"lastNumberOfPieces",0),f(this,"tweenInitTime",Date.now()),f(this,"particles",[]),f(this,"particlesGenerated",0),f(this,"removeParticleAt",function(re){N.particles.splice(re,1)}),f(this,"getParticle",function(){var re=u(N.x,N.w+N.x),P=u(N.y,N.h+N.y);return new g(N.context,N.getOptions,re,P)}),f(this,"animate",function(){var re=N.canvas,P=N.context,ve=N.particlesGenerated,be=N.lastNumberOfPieces,ge=N.getOptions(),_e=ge.run,Vt=ge.recycle,ze=ge.numberOfPieces,gn=ge.debug,li=ge.tweenFunction,Wn=ge.tweenDuration;if(!_e)return!1;var si=N.particles.length,qn=Vt?si:ve,ci=Date.now();if(qnWn?Wn:Math.max(0,ci-Ko),qn,ze,Wn),Jo=Math.round(uc-qn),Xo=0;Xore.height||Gn.y<-100||Gn.x>re.width+100||Gn.x<-100)&&(Vt&&qn<=ze?N.particles[el]=N.getParticle():N.removeParticleAt(el))}),si>0||qn0&&_e.call(P,P),P._options.run=!1)}),v(this,"reset",function(){P.generator&&P.generator.particlesGenerated>0&&(P.generator.particlesGenerated=0,P.generator.particles=[],P.generator.lastNumberOfPieces=0)}),v(this,"stop",function(){P.options={run:!1},P.rafId&&(cancelAnimationFrame(P.rafId),P.rafId=void 0)}),this.canvas=ie;var ve=this.canvas.getContext("2d");if(!ve)throw new Error("Could not get canvas context");this.context=ve,this.generator=new y(this.canvas,function(){return P.options}),this.options=re,this.update()}var M,F,N;return M=C,(F=[{key:"options",get:function(){return this._options},set:function(ie){var re=this._options&&this._options.run,P=this._options&&this._options.recycle;this.setOptionsWithDefaults(ie),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof ie.recycle=="boolean"&&ie.recycle&&P===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof ie.run=="boolean"&&ie.run&&re===!1&&this.update()}}])&&h(M.prototype,F),N&&h(M,N),C}();function B(C){return function(M){if(Array.isArray(M))return xe(M)}(C)||function(M){if(typeof Symbol<"u"&&Symbol.iterator in Object(M))return Array.from(M)}(C)||Ae(C)||function(){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 j(C){return(j=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(M){return typeof M}:function(M){return M&&typeof Symbol=="function"&&M.constructor===Symbol&&M!==Symbol.prototype?"symbol":typeof M})(C)}function Y(){return(Y=Object.assign||function(C){for(var M=1;M"u"||!(Symbol.iterator in Object(F)))){var ie=[],re=!0,P=!1,ve=void 0;try{for(var be,ge=F[Symbol.iterator]();!(re=(be=ge.next()).done)&&(ie.push(be.value),!N||ie.length!==N);re=!0);}catch(_e){P=!0,ve=_e}finally{try{re||ge.return==null||ge.return()}finally{if(P)throw ve}}return ie}}(C,M)||Ae(C,M)||function(){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 Ae(C,M){if(C){if(typeof C=="string")return xe(C,M);var F=Object.prototype.toString.call(C).slice(8,-1);return F==="Object"&&C.constructor&&(F=C.constructor.name),F==="Map"||F==="Set"?Array.from(C):F==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(F)?xe(C,M):void 0}}function xe(C,M){(M==null||M>C.length)&&(M=C.length);for(var F=0,N=new Array(M);F"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var F,N=Pt(C);if(M){var ie=Pt(this).constructor;F=Reflect.construct(N,arguments,ie)}else F=N.apply(this,arguments);return Bt(this,F)}}function Bt(C,M){return!M||j(M)!=="object"&&typeof M!="function"?Te(C):M}function Te(C){if(C===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return C}function Pt(C){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(M){return M.__proto__||Object.getPrototypeOf(M)})(C)}function Kt(C,M,F){return M in C?Object.defineProperty(C,M,{value:F,enumerable:!0,configurable:!0,writable:!0}):C[M]=F,C}var oi=s.a.createRef(),Un=function(C){(function(P,ve){if(typeof ve!="function"&&ve!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(ve&&ve.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),ve&&Ke(P,ve)})(re,C);var M,F,N,ie=Ie(re);function re(P){var ve;Ge(this,re);for(var be=arguments.length,ge=new Array(be>1?be-1:0),_e=1;_e8&&(k>0&&(k+=8-b),b=8),m===qc)return b;if(h===0)v[0]=0,S=v[1]=gi.symbol[u][t?ml:pl][b];else{E=h/(r===2?Math.pow(2,b*10):Math.pow(1e3,b)),t&&(E=E*8,E>=B&&b<8&&(E=E/B,b++));let ce=Math.pow(10,b>0?i:0);v[0]=J(E*ce)/ce,v[0]===B&&b<8&&f===-1&&(v[0]=1,b++),S=v[1]=r===10&&b===1?t?td:nd:gi.symbol[u][t?ml:pl][b]}if(Y&&(v[0]=-v[0]),k>0&&(v[0]=v[0].toPrecision(k)),v[1]=d[v[1]]||v[1],o===!0?v[0]=v[0].toLocaleString():o.length>0?v[0]=v[0].toLocaleString(o,l):s.length>0&&(v[0]=v[0].toString().replace(fl,s)),n&&i>0){let ce=v[0].toString(),Se=s||(ce.match(/(\D)/g)||[]).pop()||fl,Ae=ce.toString().split(Se),xe=Ae[1]||En,Ge=xe.length,pe=i-Ge;v[0]=`${Ae[0]}${Se}${xe.padEnd(Ge+pe,id)}`}return j&&(v[1]=g[b]?g[b]:gi.fullform[u][b]+(t?$c:Wc)+(v[0]===1?En:Xc)),m===Uc?v:m===Kc?{value:v[0],symbol:v[1],exponent:b,unit:S}:v.join(c)}Ee();ke();we();var Kn=__REACT_DOM__,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:I9,createPortal:Jn,createRoot:R9,findDOMNode:B9,flushSync:P9,hydrate:V9,hydrateRoot:j9,render:D9,unmountComponentAtNode:gl,unstable_batchedUpdates:H9,unstable_renderSubtreeIntoContainer:vl,version:z9}=__REACT_DOM__;var ts=bc(yl(),1);Ee();ke();we();Ee();ke();we();function bi({onlyFirst:e=!1}={}){let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(n,e?void 0:"g")}var ld=bi();function Ei(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(ld,"")}var sd=Object.create,ns=Object.defineProperty,cd=Object.getOwnPropertyDescriptor,dd=Object.getOwnPropertyNames,ud=Object.getPrototypeOf,md=Object.prototype.hasOwnProperty,pd=(e=>typeof Jt<"u"?Jt:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof Jt<"u"?Jt:t)[n]}):e)(function(e){if(typeof Jt<"u")return Jt.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')}),Qt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),hd=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of dd(t))!md.call(e,i)&&i!==n&&ns(e,i,{get:()=>t[i],enumerable:!(r=cd(t,i))||r.enumerable});return e},ft=(e,t,n)=>(n=e!=null?sd(ud(e)):{},hd(t||!e||!e.__esModule?ns(n,"default",{value:e,enumerable:!0}):n,e)),Dr=Qt((e,t)=>{(function(n,r){typeof pd=="function"&&typeof e=="object"&&typeof t=="object"?t.exports=r():typeof define=="function"&&define.amd?define(function(){return r()}):n.pluralize=r()})(e,function(){var n=[],r=[],i={},o={},l={};function s(y){return typeof y=="string"?new RegExp("^"+y+"$","i"):y}function c(y,k){return y===k?k:y===y.toLowerCase()?k.toLowerCase():y===y.toUpperCase()?k.toUpperCase():y[0]===y[0].toUpperCase()?k.charAt(0).toUpperCase()+k.substr(1).toLowerCase():k.toLowerCase()}function d(y,k){return y.replace(/\$(\d{1,2})/g,function(b,h){return k[h]||""})}function u(y,k){return y.replace(k[0],function(b,h){var v=d(k[1],arguments);return c(b===""?y[h-1]:b,v)})}function m(y,k,b){if(!y.length||i.hasOwnProperty(y))return k;for(var h=b.length;h--;){var v=b[h];if(v[0].test(k))return u(k,v)}return k}function p(y,k,b){return function(h){var v=h.toLowerCase();return k.hasOwnProperty(v)?c(h,v):y.hasOwnProperty(v)?c(h,y[v]):m(v,h,b)}}function g(y,k,b,h){return function(v){var E=v.toLowerCase();return k.hasOwnProperty(E)?!0:y.hasOwnProperty(E)?!1:m(E,E,b)===E}}function f(y,k,b){var h=k===1?f.singular(y):f.plural(y);return(b?k+" ":"")+h}return f.plural=p(l,o,n),f.isPlural=g(l,o,n),f.singular=p(o,l,r),f.isSingular=g(o,l,r),f.addPluralRule=function(y,k){n.push([s(y),k])},f.addSingularRule=function(y,k){r.push([s(y),k])},f.addUncountableRule=function(y){if(typeof y=="string"){i[y.toLowerCase()]=!0;return}f.addPluralRule(y,"$0"),f.addSingularRule(y,"$0")},f.addIrregularRule=function(y,k){k=k.toLowerCase(),y=y.toLowerCase(),l[y]=k,o[k]=y},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(y){return f.addIrregularRule(y[0],y[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(y){return f.addPluralRule(y[0],y[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(y){return f.addSingularRule(y[0],y[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(f.addUncountableRule),f})}),fd=Qt((e,t)=>{var n=new Error("Element already at target scroll position"),r=new Error("Scroll cancelled"),i=Math.min,o=Date.now;t.exports={left:l("scrollLeft"),top:l("scrollTop")};function l(d){return function(u,m,p,g){p=p||{},typeof p=="function"&&(g=p,p={}),typeof g!="function"&&(g=c);var f=o(),y=u[d],k=p.ease||s,b=isNaN(p.duration)?350:+p.duration,h=!1;return y===m?g(n,u[d]):requestAnimationFrame(E),v;function v(){h=!0}function E(S){if(h)return g(r,u[d]);var B=o(),j=i(1,(B-f)/b),Y=k(j);u[d]=Y*(m-y)+y,j<1?requestAnimationFrame(E):requestAnimationFrame(function(){g(null,u[d])})}}}function s(d){return .5*(1-Math.cos(Math.PI*d))}function c(){}}),gd=Qt((e,t)=>{(function(n,r){typeof define=="function"&&define.amd?define([],r):typeof t=="object"&&t.exports?t.exports=r():n.Scrollparent=r()})(e,function(){function n(i){var o=getComputedStyle(i,null).getPropertyValue("overflow");return o.indexOf("scroll")>-1||o.indexOf("auto")>-1}function r(i){if(i instanceof HTMLElement||i instanceof SVGElement){for(var o=i.parentNode;o.parentNode;){if(n(o))return o;o=o.parentNode}return document.scrollingElement||document.documentElement}}return r})}),ko=Qt((e,t)=>{var n=function(v){return r(v)&&!i(v)};function r(v){return!!v&&typeof v=="object"}function i(v){var E=Object.prototype.toString.call(v);return E==="[object RegExp]"||E==="[object Date]"||s(v)}var o=typeof Symbol=="function"&&Symbol.for,l=o?Symbol.for("react.element"):60103;function s(v){return v.$$typeof===l}function c(v){return Array.isArray(v)?[]:{}}function d(v,E){return E.clone!==!1&&E.isMergeableObject(v)?b(c(v),v,E):v}function u(v,E,S){return v.concat(E).map(function(B){return d(B,S)})}function m(v,E){if(!E.customMerge)return b;var S=E.customMerge(v);return typeof S=="function"?S:b}function p(v){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(v).filter(function(E){return Object.propertyIsEnumerable.call(v,E)}):[]}function g(v){return Object.keys(v).concat(p(v))}function f(v,E){try{return E in v}catch{return!1}}function y(v,E){return f(v,E)&&!(Object.hasOwnProperty.call(v,E)&&Object.propertyIsEnumerable.call(v,E))}function k(v,E,S){var B={};return S.isMergeableObject(v)&&g(v).forEach(function(j){B[j]=d(v[j],S)}),g(E).forEach(function(j){y(v,j)||(f(v,j)&&S.isMergeableObject(E[j])?B[j]=m(j,S)(v[j],E[j],S):B[j]=d(E[j],S))}),B}function b(v,E,S){S=S||{},S.arrayMerge=S.arrayMerge||u,S.isMergeableObject=S.isMergeableObject||n,S.cloneUnlessOtherwiseSpecified=d;var B=Array.isArray(E),j=Array.isArray(v),Y=B===j;return Y?B?S.arrayMerge(v,E,S):k(v,E,S):d(E,S)}b.all=function(v,E){if(!Array.isArray(v))throw new Error("first argument should be an array");return v.reduce(function(S,B){return b(S,B,E)},{})};var h=b;t.exports=h}),vd=Qt((e,t)=>{var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n}),yd=Qt((e,t)=>{var n=vd();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function o(c,d,u,m,p,g){if(g!==n){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function l(){return o}var s={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:l,element:o,elementType:o,instanceOf:l,node:o,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:i,resetWarningCache:r};return s.PropTypes=s,s}}),bd=Qt((e,t)=>{t.exports=yd()()}),Ed=Qt((e,t)=>{var n=function(o){return Object.prototype.hasOwnProperty.call(o,"props")},r=function(o,l){return o+i(l)},i=function(o){return o===null||typeof o=="boolean"||typeof o>"u"?"":typeof o=="number"?o.toString():typeof o=="string"?o:Array.isArray(o)?o.reduce(r,""):n(o)&&Object.prototype.hasOwnProperty.call(o.props,"children")?i(o.props.children):""};i.default=i,t.exports=i}),kd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),as=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),wd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Wt=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),Cd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),rs=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("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:e}),x("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:e}))),Sd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),xd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),Md=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),Nd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),wo=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),bl=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),Fd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Co=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Di=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),Ad=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),qt=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),is=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),Od=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),os=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Ld=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),Td=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),ls=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),x("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),_d=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("g",{clipPath:"url(#prefix__clip0_1449_588)"},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),x("defs",null,x("clipPath",{id:"prefix__clip0_1449_588"},x("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),ss=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),Zd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),Id=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),Rd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),Bd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),Pd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),Vd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),cs=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),jd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),Dd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),Hd=Q(({color:e="currentColor",size:t=14,...n},r)=>x("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},x("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),{CHROMATIC_INDEX_URL:zd,CHROMATIC_BASE_URL:Hr=zd||"https://www.chromatic.com",CHROMATIC_API_URL:Ud=`${Hr}/api`}=Je,z="chromaui/addon-visual-tests",Vn=`${z}/panel`,$d=`${z}/sidebarTop`,Wd=`${z}/sidebarBottom`,Hi=`${z}/access-token/${Hr}`,So=`${z}/configInfo`,El=`${z}/configInfoDismissed`,qd=`${z}/gitInfo`,ds=`${z}/gitInfoError`,us=`${z}/projectInfo`,ms=`${z}/isOffline`,zi=`${z}/isOutdated`,Gd=`${z}/startBuild`,Yd=`${z}/stopBuild`,ps=`${z}/localBuildProgress`,Qd=`${z}/selectedModeName`,Kd=`${z}/selectedBrowserId`,Jd=`${z}/telemetry`,Ui=`${z}/enableFilter`,hs=`${z}/removeAddon`,Xd="chromatic",e5=`${z}/ChannelFetch/aborted`,t5=`${z}ChannelFetch/request`,n5=`${z}ChannelFetch/response`,a5={autoAcceptChanges:!1,exitOnceUploaded:!1,exitZeroOnChanges:!0,forceRebuild:!0,fromCI:!1,interactive:!1,isLocalBuild:!0,skip:!1,skipUpdateCheck:!0,storybookBuildDir:void 0},fs="https://www.chromatic.com/docs/visual-tests-addon",r5=ft(Dr()),i5=(e,t)=>t&&{positive:{color:e.color.positiveText},warning:{color:e.color.warningText}}[t]||{},lt=w(sl)(({active:e,variant:t,theme:n})=>({display:"inline-flex",alignItems:"center",verticalAlign:"top",gap:6,margin:0,color:e||t==="outline"?n.color.secondary:n.color.mediumdark,fontWeight:"normal","& > svg":{width:"auto"}}),({active:e,status:t,theme:n})=>!e&&i5(n,t),({active:e,theme:t})=>{let n=t.background.content===t.color.lightest,r=n?"rgb(241,248,255)":"rgb(28,37,45)",i=n?"rgb(229,243,255)":"rgb(29,44,56)";return{"--bg-color":e?r:t.background.content,"&:hover":{"--bg-color":i,color:t.color.secondary}}}),o5=w(mi)(({theme:e})=>({padding:"4px 8px",fontSize:e.typography.size.s1})),l5=w(lt)(({theme:e})=>({fontSize:e.typography.size.s2,"&:hover [data-badge][data-status=warning], [data-badge=true][data-status=warning]":{background:"#E3F3FF",borderColor:"rgba(2, 113, 182, 0.1)",color:"#0271B6"},"&:hover [data-badge][data-status=critical], [data-badge=true][data-status=critical]":{background:e.background.negative,boxShadow:"inset 0 0 0 1px rgba(182, 2, 2, 0.1)",color:e.color.negativeText}}),({active:e,theme:t})=>!e&&he({"&:hover":{color:t.base==="light"?t.color.defaultText:t.color.light}})),s5=w.span(({theme:e})=>({color:e.base==="light"?e.color.defaultText:e.color.light})),kl=({active:e,count:t,label:n,status:r,...i})=>a.createElement(l5,{active:e,...i},a.createElement(o5,{status:r,"data-badge":e,"data-status":r},t),a.createElement(s5,null,(0,r5.default)(n,t))),c5=()=>!0,d5=({status:e})=>e?.[z]?.status==="warn",u5=({status:e})=>e?.[z]?.status==="error",m5=({status:e})=>e?.[z]?.status==="warn"||e?.[z]?.status==="error",p5=(e=!1,t=!1)=>e&&t?m5:e?d5:t?u5:c5,h5=w.div({display:"flex",gap:5}),f5=({api:e,status:t})=>{let[n,r]=a.useState(!1),[i,o]=a.useState(!1),l=Object.values(t).filter(p=>p[z]?.status==="warn"),s=Object.values(t).filter(p=>p[z]?.status==="error"),c=l.length>0,d=s.length>0,u=W(()=>r(p=>!p),[]),m=W(()=>o(p=>!p),[]);return oe(()=>{let p=p5(c&&n,d&&i);e.experimental_setFilter(z,p),e.emit(Ui,p)},[e,c,d,n,i]),!c&&!d?null:a.createElement(h5,{id:"sidebar-bottom-wrapper"},c&&a.createElement(kl,{id:"warnings-found-filter",active:n,count:l.length,label:"Change",status:"warning",onClick:u}),d&&a.createElement(kl,{id:"errors-found-filter",active:i,count:s.length,label:"Error",status:"critical",onClick:m}))},g5=e=>{let{status:t}=yn();return a.createElement(f5,{...e,status:t})},ki=ft(Dr()),xo=()=>{},tt=xo;function gt(e){return{tag:0,0:e}}function Za(e){return{tag:1,0:e}}var wl=()=>typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator",v5=e=>e;function Ye(e){return t=>n=>{var r=tt;t(i=>{i===0?n(0):i.tag===0?(r=i[0],n(i)):e(i[0])?n(i):r(0)})}}function $i(e){return t=>n=>t(r=>{r===0||r.tag===0?n(r):n(Za(e(r[0])))})}function ur(e){return t=>n=>{var r=[],i=tt,o=!1,l=!1;t(s=>{l||(s===0?(l=!0,r.length||n(0)):s.tag===0?i=s[0]:(o=!1,function(c){var d=tt;c(u=>{if(u===0){if(r.length){var m=r.indexOf(d);m>-1&&(r=r.slice()).splice(m,1),r.length||(l?n(0):o||(o=!0,i(0)))}}else u.tag===0?(r.push(d=u[0]),d(0)):r.length&&(n(u),d(0))})}(e(s[0])),o||(o=!0,i(0))))}),n(gt(s=>{if(s===1){l||(l=!0,i(1));for(var c=0,d=r,u=r.length;cn=>{var r=!1;t(i=>{if(!r)if(i===0)r=!0,n(0),e();else if(i.tag===0){var o=i[0];n(gt(l=>{l===1?(r=!0,o(1),e()):o(l)}))}else n(i)})}}function mr(e){return t=>n=>{var r=!1;t(i=>{if(!r)if(i===0)r=!0,n(0);else if(i.tag===0){var o=i[0];n(gt(l=>{l===1&&(r=!0),o(l)}))}else e(i[0]),n(i)})}}function Wi(e){return t=>n=>t(r=>{r===0?n(0):r.tag===0?(n(r),e()):n(r)})}function ya(e){var t=[],n=tt,r=!1;return i=>{t.push(i),t.length===1&&e(o=>{if(o===0){for(var l=0,s=t,c=t.length;l{if(o===1){var l=t.indexOf(i);l>-1&&(t=t.slice()).splice(l,1),t.length||n(1)}else r||(r=!0,n(0))}))}}function Cl(e){return t=>n=>{var r=tt,i=tt,o=!1,l=!1,s=!1,c=!1;t(d=>{c||(d===0?(c=!0,s||n(0)):d.tag===0?r=d[0]:(s&&(i(1),i=tt),o?o=!1:(o=!0,r(0)),function(u){s=!0,u(m=>{s&&(m===0?(s=!1,c?n(0):o||(o=!0,r(0))):m.tag===0?(l=!1,(i=m[0])(0)):(n(m),l?l=!1:i(0)))})}(e(d[0]))))}),n(gt(d=>{d===1?(c||(c=!0,r(1)),s&&(s=!1,i(1))):(!c&&!o&&(o=!0,r(0)),s&&!l&&(l=!0,i(0)))}))}}function zr(e){return t=>n=>{var r=tt,i=!1,o=0;t(l=>{i||(l===0?(i=!0,n(0)):l.tag===0?e<=0?(i=!0,n(0),l[0](1)):r=l[0]:o++=e&&(i=!0,n(0),r(1))):n(l))}),n(gt(l=>{l===1&&!i?(i=!0,r(1)):l===0&&!i&&on=>{var r=tt,i=tt,o=!1;t(l=>{o||(l===0?(o=!0,i(1),n(0)):l.tag===0?(r=l[0],e(s=>{s===0||(s.tag===0?(i=s[0])(0):(o=!0,i(1),r(1),n(0)))})):n(l))}),n(gt(l=>{l===1&&!o?(o=!0,r(1),i(1)):o||r(0)}))}}function vs(e,t){return n=>r=>{var i=tt,o=!1;n(l=>{o||(l===0?(o=!0,r(0)):l.tag===0?(i=l[0],r(l)):e(l[0])?r(l):(o=!0,t&&r(l),r(0),i(1)))})}}function b5(e){return t=>e()(t)}function ys(e){return t=>{var n=e[wl()]&&e[wl()]()||e,r=!1,i=!1,o=!1,l;t(gt(async s=>{if(s===1)r=!0,n.return&&n.return();else if(i)o=!0;else{for(o=i=!0;o&&!r;)if((l=await n.next()).done)r=!0,n.return&&await n.return(),t(0);else try{o=!1,t(Za(l.value))}catch(c){if(n.throw)(r=!!(await n.throw(c)).done)&&t(0);else throw c}i=!1}}))}}function E5(e){return e[Symbol.asyncIterator]?ys(e):t=>{var n=e[Symbol.iterator](),r=!1,i=!1,o=!1,l;t(gt(s=>{if(s===1)r=!0,n.return&&n.return();else if(i)o=!0;else{for(o=i=!0;o&&!r;)if((l=n.next()).done)r=!0,n.return&&n.return(),t(0);else try{o=!1,t(Za(l.value))}catch(c){if(n.throw)(r=!!n.throw(c).done)&&t(0);else throw c}i=!1}}))}}var k5=E5;function pa(e){return t=>{var n=!1;t(gt(r=>{r===1?n=!0:n||(n=!0,t(Za(e)),t(0))}))}}function bs(e){return t=>{var n=!1,r=e({next(i){n||t(Za(i))},complete(){n||(n=!0,t(0))}});t(gt(i=>{i===1&&!n&&(n=!0,r())}))}}function qi(){var e,t;return{source:ya(bs(n=>(e=n.next,t=n.complete,xo))),next(n){e&&e(n)},complete(){t&&t()}}}function Sl(e){return bs(t=>(e.then(n=>{Promise.resolve(n).then(()=>{t.next(n),t.complete()})}),xo))}function An(e){return t=>{var n=tt,r=!1;return t(i=>{i===0?r=!0:i.tag===0?(n=i[0])(0):r||(e(i[0]),n(0))}),{unsubscribe(){r||(r=!0,n(1))}}}}function w5(e){An(t=>{})(e)}function No(e){return new Promise(t=>{var n=tt,r;e(i=>{i===0?Promise.resolve(r).then(t):i.tag===0?(n=i[0])(0):(r=i[0],n(0))})})}var C5={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"},Gi=class extends Error{constructor(e,t,n,r,i,o,l){super(e),this.name="GraphQLError",this.message=e,i&&(this.path=i),t&&(this.nodes=Array.isArray(t)?t:[t]),n&&(this.source=n),r&&(this.positions=r),o&&(this.originalError=o);var s=l;if(!s&&o){var c=o.extensions;c&&typeof c=="object"&&(s=c)}this.extensions=s||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}},Ce,ee;function Le(e){return new Gi(`Syntax Error: Unexpected token at ${ee} in ${e}`)}function et(e){if(e.lastIndex=ee,e.test(Ce))return Ce.slice(ee,ee=e.lastIndex)}var Ya=/ +(?=[^\s])/y;function S5(e){for(var t=e.split(` +`),n="",r=0,i=0,o=t.length-1,l=0;l!(!e||!e.length),Ve={OperationDefinition(e){if(e.operation==="query"&&!e.name&&!at(e.variableDefinitions)&&!at(e.directives))return Ve.SelectionSet(e.selectionSet);var t=e.operation;return e.name&&(t+=" "+e.name.value),at(e.variableDefinitions)&&(e.name||(t+=" "),t+="("+e.variableDefinitions.map(Ve.VariableDefinition).join(", ")+")"),at(e.directives)&&(t+=" "+e.directives.map(Ve.Directive).join(" ")),t+" "+Ve.SelectionSet(e.selectionSet)},VariableDefinition(e){var t=Ve.Variable(e.variable)+": "+rt(e.type);return e.defaultValue&&(t+=" = "+rt(e.defaultValue)),at(e.directives)&&(t+=" "+e.directives.map(Ve.Directive).join(" ")),t},Field(e){var t=(e.alias?e.alias.value+": ":"")+e.name.value;if(at(e.arguments)){var n=e.arguments.map(Ve.Argument),r=t+"("+n.join(", ")+")";t=r.length>80?t+`( + `+n.join(` +`).replace(/\n/g,` + `)+` +)`:r}return at(e.directives)&&(t+=" "+e.directives.map(Ve.Directive).join(" ")),e.selectionSet?t+" "+Ve.SelectionSet(e.selectionSet):t},StringValue:e=>e.block?D5(e.value):j5(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+e.values.map(rt).join(", ")+"]",ObjectValue:e=>"{"+e.fields.map(Ve.ObjectField).join(", ")+"}",ObjectField:e=>e.name.value+": "+rt(e.value),Document:e=>at(e.definitions)?e.definitions.map(rt).join(` + +`):"",SelectionSet:e=>`{ + `+e.selections.map(rt).join(` +`).replace(/\n/g,` + `)+` +}`,Argument:e=>e.name.value+": "+rt(e.value),FragmentSpread(e){var t="..."+e.name.value;return at(e.directives)&&(t+=" "+e.directives.map(Ve.Directive).join(" ")),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),at(e.directives)&&(t+=" "+e.directives.map(Ve.Directive).join(" ")),t+" "+rt(e.selectionSet)},FragmentDefinition(e){var t="fragment "+e.name.value;return t+=" on "+e.typeCondition.name.value,at(e.directives)&&(t+=" "+e.directives.map(Ve.Directive).join(" ")),t+" "+rt(e.selectionSet)},Directive(e){var t="@"+e.name.value;return at(e.arguments)&&(t+="("+e.arguments.map(Ve.Argument).join(", ")+")"),t},NamedType:e=>e.name.value,ListType:e=>"["+rt(e.type)+"]",NonNullType:e=>rt(e.type)+"!"};function rt(e){return Ve[e.kind]?Ve[e.kind](e):""}var H5=e=>e&&e.message&&(e.extensions||e.name==="GraphQLError")?e:typeof e=="object"&&e.message?new Gi(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new Gi(e),Fo=class extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(H5),n=((r,i)=>{var o="";if(r)return`[Network] ${r.message}`;if(i)for(var l of i)o&&(o+=` +`),o+=`[GraphQL] ${l.message}`;return o})(e.networkError,t);super(n),this.name="CombinedError",this.message=n,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}},Yi=(e,t)=>{for(var n=0|(t||5381),r=0,i=0|e.length;r{if(e===null||on.has(e))return"null";if(typeof e!="object")return JSON.stringify(e)||"";if(e.toJSON)return Cn(e.toJSON());if(Array.isArray(e)){var t="[";for(var n of e)t.length>1&&(t+=","),t+=Cn(n)||"null";return t+="]"}else if(fr!==Ln&&e instanceof fr||gr!==Ln&&e instanceof gr)return"null";var r=Object.keys(e).sort();if(!r.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var i=xl.get(e)||Math.random().toString(36).slice(2);return xl.set(e,i),Cn({__key:i})}on.add(e);var o="{";for(var l of r){var s=Cn(e[l]);s&&(o.length>1&&(o+=","),o+=Cn(l)+":"+s)}return on.delete(e),o+="}"},Qi=(e,t,n)=>{if(!(n==null||typeof n!="object"||n.toJSON||on.has(n)))if(Array.isArray(n))for(var r=0,i=n.length;r(on.clear(),Cn(e)),Ln=class{},fr=typeof File<"u"?File:Ln,gr=typeof Blob<"u"?Blob:Ln,z5=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,U5=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,$5=(e,t)=>t%2==0?e.replace(U5,` +`):e,Ml=e=>e.split(z5).map($5).join("").trim(),Nl=new Map,sr=new Map,Ao=e=>{var t;return typeof e=="string"?t=Ml(e):e.loc&&sr.get(e.__key)===e?t=e.loc.source.body:(t=Nl.get(e)||Ml(rt(e)),Nl.set(e,t)),typeof e!="string"&&!e.loc&&(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},Fl=e=>{var t=Yi(Ao(e));if(e.definitions){var n=xs(e);n&&(t=Yi(` +# ${n}`,t))}return t},W5=e=>{var t,n;return typeof e=="string"?(t=Fl(e),n=sr.get(t)||V5(e)):(t=e.__key||Fl(e),n=sr.get(t)||e),n.loc||Ao(n),n.__key=t,sr.set(t,n),n},Nn=(e,t,n)=>{var r=t||{},i=W5(e),o=hr(r),l=i.__key;return o!=="{}"&&(l=Yi(o,l)),{key:l,query:i,variables:r,extensions:n}},xs=e=>{for(var t of e.definitions)if(t.kind===C5.OPERATION_DEFINITION)return t.name?t.name.value:void 0},Al=(e,t,n)=>{if(!("data"in t||"errors"in t&&Array.isArray(t.errors)))throw new Error("No Content");var r=e.kind==="subscription";return{operation:e,data:t.data,error:Array.isArray(t.errors)?new Fo({graphQLErrors:t.errors,response:n}):void 0,extensions:t.extensions?{...t.extensions}:void 0,hasNext:t.hasNext==null?r:t.hasNext,stale:!1}},Ki=(e,t)=>{if(typeof e=="object"&&e!=null&&(!e.constructor||e.constructor===Object||Array.isArray(e))){e=Array.isArray(e)?[...e]:{...e};for(var n of Object.keys(t))e[n]=Ki(e[n],t[n]);return e}return t},q5=(e,t,n,r)=>{var i=e.error?e.error.graphQLErrors:[],o=!!e.extensions||!!t.extensions,l={...e.extensions,...t.extensions},s=t.incremental;"path"in t&&(s=[t]);var c={data:e.data};if(s){var d=function(m){Array.isArray(m.errors)&&i.push(...m.errors),m.extensions&&(Object.assign(l,m.extensions),o=!0);var p="data",g=c,f=[];if(m.path)f=m.path;else if(r){var y=r.find(S=>S.id===m.id);m.subPath?f=[...y.path,...m.subPath]:f=y.path}for(var k=0,b=f.length;k=0?p:0,v=0,E=m.items.length;v({operation:e,data:void 0,error:new Fo({networkError:t,response:n}),extensions:void 0,hasNext:!1,stale:!1});function G5(e){return{query:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss?void 0:Ao(e.query),operationName:xs(e.query),variables:e.variables||void 0,extensions:e.extensions}}var Y5=(e,t)=>{var n=e.kind==="query"&&e.context.preferGetMethod;if(!n||!t)return e.context.url;var r=new URL(e.context.url);for(var i in t){var o=t[i];o&&r.searchParams.set(i,typeof o=="object"?hr(o):o)}var l=r.toString();return l.length>2047&&n!=="force"?(e.context.preferGetMethod=!1,e.context.url):l},Q5=(e,t)=>{if(t&&!(e.kind==="query"&&e.context.preferGetMethod)){var n=hr(t),r=(s=>{var c=new Map;return(fr!==Ln||gr!==Ln)&&(on.clear(),Qi(c,"variables",s)),c})(t.variables);if(r.size){var i=new FormData;i.append("operations",n),i.append("map",hr({...[...r.keys()].map(s=>[s])}));var o=0;for(var l of r.values())i.append(""+o++,l);return i}return n}},K5=(e,t)=>{var n={accept:e.kind==="subscription"?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},r=(typeof e.context.fetchOptions=="function"?e.context.fetchOptions():e.context.fetchOptions)||{};if(r.headers)for(var i in r.headers)n[i.toLowerCase()]=r.headers[i];var o=Q5(e,t);return typeof o=="string"&&!n["content-type"]&&(n["content-type"]="application/json"),{...r,method:o?"POST":"GET",body:o,headers:n}},J5=typeof TextDecoder<"u"?new TextDecoder:null,X5=/boundary="?([^=";]+)"?/i,eu=/data: ?([^\n]+)/,Ol=e=>e.constructor.name==="Buffer"?e.toString():J5.decode(e);async function*Ll(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield Ol(t);else{var n=e.body.getReader(),r;try{for(;!(r=await n.read()).done;)yield Ol(r.value)}finally{n.cancel()}}}async function*Tl(e,t){var n="",r;for await(var i of e)for(n+=i;(r=n.indexOf(t))>-1;)yield n.slice(0,r),n=n.slice(r+t.length)}async function*tu(e,t,n){var r=!0,i=null,o;try{yield await Promise.resolve();var l=(o=await(e.context.fetch||fetch)(t,n)).headers.get("Content-Type")||"",s;/multipart\/mixed/i.test(l)?s=async function*(u,m){var p=u.match(X5),g="--"+(p?p[1]:"-"),f=!0,y;for await(var k of Tl(Ll(m),`\r +`+g)){if(f){f=!1;var b=k.indexOf(g);if(b>-1)k=k.slice(b+g.length);else continue}try{yield y=JSON.parse(k.slice(k.indexOf(`\r +\r +`)+4))}catch(h){if(!y)throw h}if(y&&y.hasNext===!1)break}y&&y.hasNext!==!1&&(yield{hasNext:!1})}(l,o):/text\/event-stream/i.test(l)?s=async function*(u){var m;for await(var p of Tl(Ll(u),` + +`)){var g=p.match(eu);if(g){var f=g[1];try{yield m=JSON.parse(f)}catch(y){if(!m)throw y}if(m&&m.hasNext===!1)break}}m&&m.hasNext!==!1&&(yield{hasNext:!1})}(o):/text\//i.test(l)?s=async function*(u){var m=await u.text();try{var p=JSON.parse(m);yield p}catch{throw new Error(m)}}(o):s=async function*(u){yield JSON.parse(await u.text())}(o);var c;for await(var d of s)d.pending&&!i?c=d.pending:d.pending&&(c=[...c,...d.pending]),i=i?q5(i,d,o,c):Al(e,d,o),r=!1,yield i,r=!0;i||(yield i=Al(e,{},o))}catch(u){if(!r)throw u;yield Ms(e,o&&(o.status<200||o.status>=300)&&o.statusText?new Error(o.statusText):u,o)}}function nu(e,t,n){var r;return typeof AbortController<"u"&&(n.signal=(r=new AbortController).signal),Mo(()=>{r&&r.abort()})(Ye(i=>!!i)(ys(tu(e,t,n))))}var Ji=(e,t)=>{if(!e||typeof e!="object")return e;if(Array.isArray(e))return e.map(i=>Ji(i));if(e&&typeof e=="object"&&(t||"__typename"in e)){var n={};for(var r in e)r==="__typename"?Object.defineProperty(n,"__typename",{enumerable:!1,value:e.__typename}):n[r]=Ji(e[r]);return n}else return e};function _l(e){var t=n=>e(n);return t.toPromise=()=>No(zr(1)(Ye(n=>!n.stale&&!n.hasNext)(t))),t.then=(n,r)=>t.toPromise().then(n,r),t.subscribe=n=>An(n)(t),t}function vr(e,t,n){return{...t,kind:e,context:t.context?{...t.context,...n}:n||t.context}}var au=()=>{},ru=({forward:e,dispatchDebug:t})=>n=>{var r=ur(o=>{var l=G5(o),s=Y5(o,l),c=K5(o,l),d=gs(Ye(u=>u.kind==="teardown"&&u.key===o.key)(n))(nu(o,s,c));return d})(Ye(o=>o.kind!=="teardown"&&(o.kind!=="subscription"||!!o.context.fetchSubscriptions))(n)),i=e(Ye(o=>o.kind==="teardown"||o.kind==="subscription"&&!o.context.fetchSubscriptions)(n));return va([r,i])},iu=e=>({client:t,forward:n,dispatchDebug:r})=>e.reduceRight((i,o)=>o({client:t,forward(l){return ya(i(ya(l)))},dispatchDebug(l){}}),n),ou=({onOperation:e,onResult:t,onError:n})=>({forward:r})=>i=>ur(o=>{n&&o.error&&n(o.error,o.operation);var l=t&&t(o)||o;return"then"in l?Sl(l):pa(l)})(r(ur(o=>{var l=e&&e(o)||o;return"then"in l?Sl(l):pa(l)})(i))),lu=({dispatchDebug:e})=>t=>Ye(n=>!1)(t),su=function e(t){var n=0,r=new Map,i=new Map,o=new Set,l=[],s={url:t.url,fetchSubscriptions:t.fetchSubscriptions,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:t.preferGetMethod,requestPolicy:t.requestPolicy||"cache-first"},c=qi();function d(h){(h.kind==="mutation"||h.kind==="teardown"||!o.has(h.key))&&(h.kind==="teardown"?o.delete(h.key):h.kind!=="mutation"&&o.add(h.key),c.next(h))}var u=!1;function m(h){if(h&&d(h),!u){for(u=!0;u&&(h=l.shift());)d(h);u=!1}}var p=h=>{var v=gs(Ye(E=>E.kind==="teardown"&&E.key===h.key)(c.source))(Ye(E=>E.operation.kind===h.kind&&E.operation.key===h.key&&(!E.operation.context._instance||E.operation.context._instance===h.context._instance))(b));return t.maskTypename&&(v=$i(E=>({...E,data:Ji(E.data,!0)}))(v)),h.kind!=="query"?v=vs(E=>!!E.hasNext,!0)(v):v=Cl(E=>{var S=pa(E);return E.stale||E.hasNext?S:va([S,$i(()=>(E.stale=!0,E))(zr(1)(Ye(B=>B.key===h.key)(c.source)))])})(v),h.kind!=="mutation"?v=Mo(()=>{o.delete(h.key),r.delete(h.key),i.delete(h.key),u=!1;for(var E=l.length-1;E>=0;E--)l[E].key===h.key&&l.splice(E,1);d(vr("teardown",h,h.context))})(mr(E=>{if(E.stale){for(var S of l)if(S.key===E.operation.key){o.delete(S.key);break}}else E.hasNext||o.delete(h.key);r.set(h.key,E)})(v)):v=Wi(()=>{d(h)})(v),ya(v)},g=this instanceof e?this:Object.create(e.prototype),f=Object.assign(g,{suspense:!!t.suspense,operations$:c.source,reexecuteOperation(h){if(h.kind==="teardown")m(h);else if(h.kind==="mutation"||i.has(h.key)){for(var v=!1,E=0;E{var v=i.get(h.key);v||i.set(h.key,v=p(h)),v=Wi(()=>{m(h)})(v);var E=r.get(h.key);return h.kind==="query"&&E&&(E.stale||E.hasNext)?Cl(pa)(va([v,Ye(S=>S===r.get(h.key))(pa(E))])):v}))},executeQuery(h,v){var E=f.createRequestOperation("query",h,v);return f.executeRequestOperation(E)},executeSubscription(h,v){var E=f.createRequestOperation("subscription",h,v);return f.executeRequestOperation(E)},executeMutation(h,v){var E=f.createRequestOperation("mutation",h,v);return f.executeRequestOperation(E)},readQuery(h,v,E){var S=null;return An(B=>{S=B})(f.query(h,v,E)).unsubscribe(),S},query:(h,v,E)=>f.executeQuery(Nn(h,v),E),subscription:(h,v,E)=>f.executeSubscription(Nn(h,v),E),mutation:(h,v,E)=>f.executeMutation(Nn(h,v),E)}),y=au,k=iu(t.exchanges),b=ya(k({client:f,dispatchDebug:y,forward:lu({dispatchDebug:y})})(c.source));return w5(b),f},wi=(e,t)=>vr(e.kind,e,{...e.context,authAttempt:t});function cu(e){return({client:t,forward:n})=>{var r=new Set,i=qi(),o=qi(),l=new Map;function s(){d=void 0;var m=l;l=new Map,m.forEach(i.next)}function c(m){d=void 0;var p=l;l=new Map,p.forEach(g=>{o.next(Ms(g,m))})}var d,u=null;return m=>{function p(){d=Promise.resolve().then(()=>e({mutate(b,h,v){var E=t.createRequestOperation("mutation",Nn(b,h),v);return No(zr(1)(Ye(S=>S.operation.key===E.key&&E.context._instance===S.operation.context._instance)(Wi(()=>{var S=f(E);r.add(S.context._instance),i.next(S)})(k))))},appendHeaders(b,h){var v=typeof b.context.fetchOptions=="function"?b.context.fetchOptions():b.context.fetchOptions||{};return vr(b.kind,b,{...b.context,fetchOptions:{...v,headers:{...v.headers,...h}}})}})).then(b=>{b&&(u=b),s()}).catch(b=>{c(b)})}p();function g(b){l.set(b.key,wi(b,!0)),u&&!d&&(d=u.refreshAuth().then(s).catch(c))}function f(b){return u?u.addAuthToOperation(b):b}var y=Ye(Boolean)($i(b=>b.kind==="teardown"?(l.delete(b.key),b):b.context._instance&&r.has(b.context._instance)?b:b.context.authAttempt?f(b):d||!u?(d||p(),l.has(b.key)||l.set(b.key,wi(b,!1)),null):function(h){return!h.context.authAttempt&&u&&u.willAuthError&&u.willAuthError(h)}(b)?(g(b),null):f(wi(b,!1)))(va([i.source,m]))),k=n(y);return va([o.source,Ye(b=>!r.has(b.operation.context._instance)&&b.error&&function(h){return u&&u.didAuthError&&u.didAuthError(h.error,h.operation)}(b)&&!b.operation.context.authAttempt?(g(b.operation),!1):(r.has(b.operation.context._instance)&&r.delete(b.operation.context._instance),!0))(k)])}}}var du={},$r=Xe(du),uu=$r.Provider;$r.Consumer;$r.displayName="UrqlContext";var Oo=()=>{var e=Xt($r);return e},Xi={fetching:!1,stale:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},mu=(e,t)=>e===t||!(!e||!t||e.key!==t.key),Ci=(e,t)=>{var n={...e,...t,data:t.data!==void 0||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale};return((r,i)=>{for(var o in r)if(!(o in i))return!0;for(var l in i)if(l==="operation"?!mu(r[l],i[l]):r[l]!==i[l])return!0;return!1})(e,n)?n:e},pu=(e,t)=>{for(var n=0,r=t.length;n(yr(i,{...Xi,fetching:!0}),No(zr(1)(Ye(c=>!c.hasNext)(mr(c=>{t.current&&yr(i,{fetching:!1,stale:c.stale,data:c.data,error:c.error,extensions:c.extensions,operation:c.operation})})(n.executeMutation(Nn(e,l),s||{})))))),[n,e,i]);return oe(()=>(t.current=!0,()=>{t.current=!1}),[]),[r,o]}function hu(e,t){var n=Pe(void 0);return Dt(()=>{var r=Nn(e,t);return n.current!==void 0&&n.current.key===r.key?n.current:(n.current=r,r)},[e,t])}var fu=e=>{if(!e._react){var t=new Set,n=new Map;e.operations$&&An(r=>{r.kind==="teardown"&&t.has(r.key)&&(t.delete(r.key),n.delete(r.key))})(e.operations$),e._react={get:r=>n.get(r),set(r,i){t.delete(r),n.set(r,i)},dispose(r){t.add(r)}}}return e._react},gu=(e,t)=>t&&t.suspense!==void 0?!!t.suspense:e.suspense;function Lo(e){var t=Oo(),n=fu(t),r=gu(t,e.context),i=hu(e.query,e.variables),o=Dt(()=>{if(e.pause)return null;var p=t.executeQuery(i,{requestPolicy:e.requestPolicy,...e.context});return r?mr(g=>{n.set(i.key,g)})(p):p},[n,t,i,r,e.pause,e.requestPolicy,e.context]),l=W((p,g)=>{if(!p)return{fetching:!1};var f=n.get(i.key);if(f){if(g&&f!=null&&"then"in f)throw f}else{var y,k=An(h=>{f=h,y&&y(f)})(vs(()=>g&&!y||!f)(p));if(f==null&&g){var b=new Promise(h=>{y=h});throw n.set(i.key,b),b}else k.unsubscribe()}return f||{fetching:!0}},[n,i]),s=[t,i,e.requestPolicy,e.context,e.pause],[c,d]=Re(()=>[o,Ci(Xi,l(o,r)),s]),u=c[1];o!==c[0]&&pu(c[2],s)&&d([o,u=Ci(c[1],l(o,r)),s]),oe(()=>{var p=c[0],g=c[2][1],f=!1,y=b=>{f=!0,yr(d,h=>{var v=Ci(h[1],b);return h[1]!==v?[h[0],v,h[2]]:h})};if(p){var k=An(y)(Mo(()=>{y({fetching:!1})})(p));return f||y({fetching:!0}),()=>{n.dispose(g.key),k.unsubscribe()}}else y({fetching:!1})},[n,c[0],c[2][1]]);var m=W(p=>{var g={requestPolicy:e.requestPolicy,...e.context,...p};yr(d,f=>[r?mr(y=>{n.set(i.key,y)})(t.executeQuery(i,g)):t.executeQuery(i,g),f[1],s])},[t,n,i,r,e.requestPolicy,e.context,e.pause]);return[u,m]}var Qa,vu=new Uint8Array(16);function yu(){if(!Qa&&(Qa=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Qa))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Qa(vu)}var Be=[];for(let e=0;e<256;++e)Be.push((e+256).toString(16).slice(1));function bu(e,t=0){return Be[e[t+0]]+Be[e[t+1]]+Be[e[t+2]]+Be[e[t+3]]+"-"+Be[e[t+4]]+Be[e[t+5]]+"-"+Be[e[t+6]]+Be[e[t+7]]+"-"+Be[e[t+8]]+Be[e[t+9]]+"-"+Be[e[t+10]]+Be[e[t+11]]+Be[e[t+12]]+Be[e[t+13]]+Be[e[t+14]]+Be[e[t+15]]}var Eu=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Zl={randomUUID:Eu};function ku(e,t,n){if(Zl.randomUUID&&!t&&!e)return Zl.randomUUID();e=e||{};let r=e.random||(e.rng||yu)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return bu(r)}var wu=ku,kt,ha,br=e=>{try{let{exp:t}=e?JSON.parse(atob(e.split(".")[1])):{exp:null};kt=e,ha=t}catch{kt=null,ha=null}kt?localStorage.setItem(Hi,kt):localStorage.removeItem(Hi)};br(localStorage.getItem(Hi));var Fs=()=>{let[{token:e},t]=al(`${z}/accessToken`,{token:kt}),n=a.useCallback(r=>{br(r),t({token:kt})},[t]);return[e,n]},Cu=wu(),As=e=>({headers:{Accept:"*/*",...e&&{Authorization:`Bearer ${e}`},"X-Chromatic-Session-ID":Cu}}),Os=e=>new su({url:Ud,exchanges:[ou({onResult(t){t.data?.viewer===null&&br(null)}}),cu(async t=>({addAuthToOperation(n){return kt?t.appendHeaders(n,{Authorization:`Bearer ${kt}`}):n},didAuthError:n=>n.response.status===401||n.graphQLErrors.some(r=>r.message.includes("Must login")),async refreshAuth(){br(null)},willAuthError(){if(!kt)return!0;try{if(!ha){let{exp:n}=JSON.parse(atob(kt.split(".")[1]));ha=n}return Date.now()/1e3>(ha||0)}catch{return!0}}})),ru],fetchOptions:As(),...e}),Su=({children:e,value:t=Os()})=>a.createElement(uu,{value:t},e),Ot=(e,t)=>{let n=Xt(e);if(n==null)throw new Error(`Missing context value for ${t}`);return n},Wr=Xe(null),xu=({children:e,value:t})=>a.createElement(Wr.Provider,{value:t},e),nt=(e,t)=>{let n=Ot(Wr,"Telemetry");oe(()=>n({location:e,screen:t}),[e,t,n])},Ls=({localBuildProgress:e,accessToken:t})=>{let n=qa({}),r=Xt(Wr),[i,o]=Re(!1),[l,s]=Re(!1),c=e?["initialize","build","upload"].includes(e?.currentStep):!1,d=e?!["aborted","complete","error","limited"].includes(e.currentStep):i,u=W(()=>{s(!1),o(!0),n(Gd,{accessToken:t}),r?.({action:"startBuild"})},[t,n,r]),m=W(()=>{c?(o(!1),n(Yd),r?.({action:"stopBuild"})):s(!0)},[c,n,r]);return oe(()=>{let p=i&&setTimeout(()=>o(!1),5e3);return()=>{p&&clearTimeout(p)}},[i]),{isDisallowed:l,isRunning:d,startBuild:u,stopBuild:m}},Il="experimental_useSharedState_getValue",Ka="experimental_useSharedState_setValue",Si=new Map,Ts=class{constructor(e){this.channel=e,this.listeners=[],this.state={},this.channel.on(Ka,(t,n,r)=>{this.state?.[t]?.index>=r||(this.state[t]={index:r,value:n})}),this.channel.on(Il,t=>{let n=this.state[t]?.index??0,r=this.state[t]?.value;this.channel.emit(Ka,t,r,n)})}get(e){return this.state[e]||this.channel.emit(Il,e),this.state[e]?.value}set(e,t){let n=(this.state[e]?.index??0)+1;this.state[e]={index:n,value:t},this.channel.emit(Ka,e,t,n)}static subscribe(e,t){let n=Si.get(e)||new Ts(t);return Si.has(e)||(Si.set(e,n),n.channel.on(Ka,(r,i)=>{r===e&&n.listeners.forEach(o=>o(i))})),{get value(){return n.get(e)},set value(r){n.set(e,r)},on(r,i){if(r!=="change")throw new Error("unsupported event");n.listeners.push(i)},off(r,i){if(r!=="change")throw new Error("unsupported event");let o=n.listeners.indexOf(i);o>=0&&n.listeners.splice(o,1)}}}};function Ze(e){let t=vn().getChannel();if(!t)throw new Error("Channel not available");let n=Pe(Ts.subscribe(e,t)),[r,i]=Re(n.current.value);return oe(()=>{let o=n.current;return o.on("change",i),()=>o.off("change",i)},[n]),[r,W(o=>{i(o),n.current.value=o},[])]}var _s=()=>{let[e,t]=Ze(us),{projectId:n,written:r,dismissed:i,configFile:o}=e||{};return{loading:!e,projectId:n,configFile:o,updateProject:W(l=>t({...e,projectId:l,dismissed:!1}),[e,t]),projectUpdatingFailed:!i&&r===!1,projectIdUpdated:!i&&r===!0,clearProjectIdUpdated:W(()=>t({...e,dismissed:!0}),[e,t])}},eo=["initialize","build","upload","verify","snapshot"],Zs={initialize:{key:"initialize",emoji:"\u{1F680}",renderName:()=>"Initialize build",renderProgress:()=>"Initializing build...",renderComplete:()=>"Initialized",estimateDuration:2e3},build:{key:"build",emoji:"\u{1F3D7}",renderName:()=>"Build Storybook",renderProgress:()=>"Building your Storybook...",renderComplete:()=>"Storybook built",estimateDuration:2e4},upload:{key:"upload",emoji:"\u{1F4E1}",renderName:()=>"Publish your Storybook",renderProgress:({stepProgress:e})=>{let{numerator:t,denominator:n}=e.upload;if(!n||!t)return"Uploading files...";let{value:r,exponent:i}=vi(n,{output:"object",round:1}),{value:o,symbol:l}=vi(t,{exponent:i,output:"object",round:1});return`Uploading files (${o}/${r} ${l})...`},renderComplete:()=>"Publish complete",estimateDuration:2e4},verify:{key:"verify",emoji:"\u{1F50D}",renderName:()=>"Verify your Storybook",renderProgress:()=>"Verifying contents...",renderComplete:()=>"Storybook verified",estimateDuration:2e4},snapshot:{key:"snapshot",emoji:"\u{1F4F8}",renderName:()=>"Run visual tests",renderProgress:({stepProgress:e})=>{let{numerator:t,denominator:n}=e.snapshot;return n?`Running visual tests (${t}/${n})...`:"Running visual tests..."},renderComplete:()=>"Tested your stories",estimateDuration:9e4},aborted:{key:"aborted",emoji:"\u270B",renderName:()=>"Build canceled",renderProgress:()=>"Build canceled",renderComplete:()=>"Build canceled",estimateDuration:0},complete:{key:"complete",emoji:"\u{1F389}",renderName:()=>"Visual tests completed!",renderProgress:()=>"Visual tests completed!",renderComplete:()=>"Visual tests completed!",estimateDuration:0},error:{key:"error",emoji:"\u{1F6A8}",renderName:()=>"Build failed",renderProgress:()=>"Build failed",renderComplete:()=>"Build failed",estimateDuration:0},limited:{key:"error",emoji:"\u{1F6A8}",renderName:()=>"Build limited",renderProgress:()=>"Build limited",renderComplete:()=>"Build limited",estimateDuration:0}},Mu={buildProgressPercentage:0,currentStep:eo[0],stepProgress:Object.fromEntries(eo.map(e=>[e,{}]))};JSON.stringify(Mu);var q=w.div(({center:e,small:t,block:n,theme:r})=>({display:n?"block":"inline-block",color:r.color.defaultText,fontSize:t?r.typography.size.s1:r.typography.size.s2,lineHeight:t?"18px":"20px",textAlign:e?"center":"left",textWrap:"balance"}),({muted:e,theme:t})=>e&&{color:t.base==="light"?t.color.dark:"#C9CDCF"},({theme:e})=>({b:{color:e.color.defaultText},code:{fontSize:e.typography.size.s1,border:`1px solid ${e.appBorderColor}`,borderRadius:3,padding:2},small:{fontSize:e.typography.size.s1},span:{whiteSpace:"nowrap"},svg:{verticalAlign:"top"}})),To=({localBuildProgress:e,withEmoji:t=!1,...n})=>{let{emoji:r,renderProgress:i}=Zs[e.currentStep],o=i(e);return a.createElement(q,{...n},t&&r," ",o)};function Er(){return Er=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&i<1?(s=o,c=l):i>=1&&i<2?(s=l,c=o):i>=2&&i<3?(c=o,d=l):i>=3&&i<4?(c=l,d=o):i>=4&&i<5?(s=l,d=o):i>=5&&i<6&&(s=o,d=l);var u=n-o/2,m=s+u,p=c+u,g=d+u;return r(m,p,g)}var Rl={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 Tu(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Rl[t]?"#"+Rl[t]:e}var _u=/^#[a-fA-F0-9]{6}$/,Zu=/^#[a-fA-F0-9]{8}$/,Iu=/^#[a-fA-F0-9]{3}$/,Ru=/^#[a-fA-F0-9]{4}$/,Mi=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Bu=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Pu=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Vu=/^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 Rs(e){if(typeof e!="string")throw new wt(3);var t=Tu(e);if(t.match(_u))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(Zu)){var n=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:n}}if(t.match(Iu))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(Ru)){var r=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:r}}var i=Mi.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var o=Bu.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 l=Pu.exec(t);if(l){var s=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,u="rgb("+Ea(s,c,d)+")",m=Mi.exec(u);if(!m)throw new wt(4,t,u);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var p=Vu.exec(t.substring(0,50));if(p){var g=parseInt(""+p[1],10),f=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,k="rgb("+Ea(g,f,y)+")",b=Mi.exec(k);if(!b)throw new wt(4,t,k);return{red:parseInt(""+b[1],10),green:parseInt(""+b[2],10),blue:parseInt(""+b[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new wt(5)}function ju(e){var t=e.red/255,n=e.green/255,r=e.blue/255,i=Math.max(t,n,r),o=Math.min(t,n,r),l=(i+o)/2;if(i===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var s,c=i-o,d=l>.5?c/(2-i-o):c/(i+o);switch(i){case t:s=(n-r)/c+(n=1?kr(e,t,n):"rgba("+Ea(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?kr(e.hue,e.saturation,e.lightness):"rgba("+Ea(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new wt(2)}function ro(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return ao("#"+tn(e)+tn(t)+tn(n));if(typeof e=="object"&&t===void 0&&n===void 0)return ao("#"+tn(e.red)+tn(e.green)+tn(e.blue));throw new wt(6)}function io(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var i=Rs(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?ro(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?ro(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new wt(7)}var $u=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Wu=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},qu=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Gu=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Ps(e){if(typeof e!="object")throw new wt(8);if(Wu(e))return io(e);if($u(e))return ro(e);if(Gu(e))return Uu(e);if(qu(e))return zu(e);throw new wt(8)}function Vs(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Vs(e,t,r)}}function js(e){return Vs(e,e.length,[])}function Ds(e,t,n){return Math.max(e,Math.min(t,n))}function Yu(e,t){if(t==="transparent")return t;var n=Bs(t);return Ps(Er({},n,{lightness:Ds(0,1,n.lightness-parseFloat(e))}))}var Qu=js(Yu),nn=Qu;function Ku(e,t){if(t==="transparent")return t;var n=Bs(t);return Ps(Er({},n,{lightness:Ds(0,1,n.lightness+parseFloat(e))}))}var Ju=js(Ku),cr=Ju,U={primary:"#FF4785",secondary:"#029CFD",tertiary:"#E3E6E8",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",red:"#ff4400",bluelight:"#E3F3FF",bluelighter:"#F5FBFF",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",tr10:"rgba(0, 0, 0, 0.1)",tr5:"rgba(0, 0, 0, 0.05)",border:"hsla(203, 50%, 30%, 0.15)",positive:"#448028",negative:"#D43900",warning:"#A15C20",selected:"#0271B6"},_o={padding:{small:10,medium:20,large:30},borderRadius:{small:5,default:10}},H={type:{primary:'var(--nunito-sans, "Nunito Sans"), "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',code:'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace'},weight:{regular:"400",bold:"700",extrabold:"800"},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Ja=600,Xa=5.55555;he({padding:`0 ${_o.padding.medium}px`,[`@media (min-width: ${Ja*1}px)`]:{margin:`0 ${Xa*1}%`},[`@media (min-width: ${Ja*2}px)`]:{margin:`0 ${Xa*2}%`},[`@media (min-width: ${Ja*3}px)`]:{margin:`0 ${Xa*3}%`},[`@media (min-width: ${Ja*4}px)`]:{margin:`0 ${Xa*4}%`}});he({border:`1px solid ${U.border}`,borderRadius:`${_o.borderRadius.small}px`,transition:"background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out","&:hover, &.__hover":{borderColor:`${io(U.secondary,.5)}`,transform:"translate3d(0, -3px, 0)",boxShadow:"rgba(0, 0, 0, 0.08) 0 3px 10px 0"},"&:active, &.__active":{borderColor:`${io(U.secondary,1)}`,transform:"translate3d(0, 0, 0)"}});he({fontSize:H.size.l3,fontWeight:H.weight.bold}),he({fontSize:H.size.l2,fontWeight:H.weight.bold}),he({fontSize:H.size.l1,fontWeight:H.weight.bold}),he({fontSize:H.size.m3,fontWeight:H.weight.bold}),he({fontSize:H.size.m2,fontWeight:H.weight.bold}),he({fontSize:H.size.m1,fontWeight:H.weight.bold}),he({fontSize:H.size.s3,fontWeight:H.weight.bold}),he({fontSize:H.size.s2,fontWeight:H.weight.bold});he({fontSize:14,fontWeight:H.weight.extrabold,lineHeight:"18px",letterSpacing:"0.38em"}),he({fontSize:11,fontWeight:H.weight.extrabold,lineHeight:"16px",letterSpacing:"0.38em"});he({fontSize:14,fontWeight:H.weight.bold,lineHeight:"18px"}),he({fontSize:14,fontWeight:H.weight.regular,lineHeight:"18px"}),he({fontSize:H.size.s3,fontWeight:H.weight.bold,lineHeight:"24px"}),he({fontSize:H.size.s1,fontWeight:H.weight.regular,lineHeight:"18px"}),he({fontSize:H.size.s2,fontWeight:H.weight.bold,lineHeight:"20px"}),he({fontSize:H.size.s1,fontWeight:H.weight.bold,lineHeight:"18px"}),he({fontSize:H.size.s3,fontWeight:H.weight.regular,lineHeight:"24px"}),he({fontSize:H.size.s2,fontWeight:H.weight.regular,lineHeight:"20px"});he({fontFamily:H.type.code,fontSize:H.size.s2,fontWeight:H.weight.regular,lineHeight:"17px"}),he({fontFamily:H.type.code,fontSize:H.size.s1,fontWeight:H.weight.regular,lineHeight:"14px"});var Hs=Ht({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),zs=Ht({"0%, 100%":{opacity:1},"50%":{opacity:.4}});Ht({"0%":{transform:"translateY(1px)"},"25%":{transform:"translateY(0px)"},"50%":{transform:"translateY(-3px)"},"100%":{transform:"translateY(1px)"}});var Us=Ht({"0%, 100%":{transform:"translate3d(0,0,0)"},"12.5%, 62.5%":{transform:"translate3d(-4px,0,0)"},"37.5%, 87.5%":{transform:"translate3d(4px,0,0)"}});Ht({"0%":{transform:"rotate(-3deg)"},"1.68421%":{transform:"rotate(3deg)"},"2.10526%":{transform:"rotate(6deg)"},"3.78947%":{transform:"rotate(-6deg)"},"4.21053%":{transform:"rotate(-6deg)"},"5.89474%":{transform:"rotate(6deg)"},"6.31579%":{transform:"rotate(6deg)"},"8%":{transform:"rotate(-6deg)"},"8.42105%":{transform:"rotate(-6deg)"},"10.10526%":{transform:"rotate(6deg)"},"10.52632%":{transform:"rotate(6deg)"},"12.21053%":{transform:"rotate(-6deg)"},"12.63158%":{transform:"rotate(-6deg)"},"14.31579%":{transform:"rotate(6deg)"},"15.78947%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(0deg)"}});var Xu=he({animation:`${zs} 1.5s ease-in-out infinite`,background:U.tr5,color:"transparent",cursor:"progress"}),e2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}}]},t2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}}]},n2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}}]},a2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},r2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SelectedBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"number"}},{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"Field",name:{kind:"Name",value:"uncommittedHash"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},i2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VisualTestsProjectCountQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectCount"}},{kind:"Field",name:{kind:"Name",value:"accounts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"newProjectUrl"}}]}}]}}]}}]},o2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SelectProjectsQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accounts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"avatarUrl"}},{kind:"Field",name:{kind:"Name",value:"newProjectUrl"}},{kind:"Field",name:{kind:"Name",value:"projects"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"number"}}]}}]}}]}}]}}]}}]},l2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProjectQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"number"}}]}}]}}]}}]},s2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserPreferences"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserPreferencesInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserPreferences"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updatedPreferences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vtaOnboarding"}}]}}]}}]}}]},c2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AddonVisualTestsBuild"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"branch"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gitUserEmailHash"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"repositoryOwnerName"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"storyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TestStatus"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"selectedBuildId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"manageUrl"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"billingUrl"}},{kind:"Field",name:{kind:"Name",value:"suspensionReason"}}]}},{kind:"Field",name:{kind:"Name",value:"features"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uiTests"}}]}},{kind:"Field",alias:{kind:"Name",value:"lastBuildOnBranch"},name:{kind:"Name",value:"lastBuild"},arguments:[{kind:"Argument",name:{kind:"Name",value:"branches"},value:{kind:"ListValue",values:[{kind:"Variable",name:{kind:"Name",value:"branch"}}]}},{kind:"Argument",name:{kind:"Name",value:"repositoryOwnerName"},value:{kind:"Variable",name:{kind:"Name",value:"repositoryOwnerName"}}},{kind:"Argument",name:{kind:"Name",value:"localBuilds"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"localBuildEmailHash"},value:{kind:"Variable",name:{kind:"Name",value:"gitUserEmailHash"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SelectedBuildFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}}}]}]}]}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"branch"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"selectedBuild"},name:{kind:"Name",value:"build"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"selectedBuildId"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SelectedBuildFields"}}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"preferences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vtaOnboarding"}}]}},{kind:"Field",name:{kind:"Name",value:"projectMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"userCanReview"},name:{kind:"Name",value:"meetsAccessLevel"},arguments:[{kind:"Argument",name:{kind:"Name",value:"minimumAccessLevel"},value:{kind:"EnumValue",value:"REVIEWER"}}]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SelectedBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"number"}},{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"Field",name:{kind:"Name",value:"uncommittedHash"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}}]}}]},d2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ReviewTest"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReviewTestInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reviewTest"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updatedTests"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}},{kind:"Field",name:{kind:"Name",value:"userErrors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UserError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BuildSupersededError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"build"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TestUnreviewableError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"test"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]}}]},$s=w.div(({status:e,theme:t})=>({display:"inline-block",width:6,height:6,borderRadius:"50%",background:e&&{IN_PROGRESS:"transparent",PASSED:t.color.positive,PENDING:t.color.gold,ACCEPTED:t.color.positive,DENIED:t.color.positive,BROKEN:t.color.negative,FAILED:t.color.negative,EQUAL:t.color.positive,FIXED:t.color.positive,ADDED:t.color.gold,CHANGED:t.color.gold,REMOVED:t.color.gold,CAPTURE_ERROR:t.color.negative,SYSTEM_ERROR:t.color.negative,positive:t.color.positive,negative:t.color.negative,warning:t.color.gold,notification:t.color.secondary}[e]}),({overlay:e,theme:t})=>e&&he({position:"absolute",top:-1,right:-2,width:7,height:7,border:"1px solid rgba(0, 0, 0, 0.1)",boxShadow:`0 0 0 2px var(--bg-color, ${t.background.bar})`,boxSizing:"border-box"})),Ws=({status:e})=>a.createElement($s,{status:e}),u2=w.div({position:"relative",display:"inline-flex",justifyContent:"center","img, svg":{verticalAlign:"top"}}),wr=({status:e,children:t})=>a.createElement(u2,null,t,a.createElement($s,{overlay:!0,status:e})),je=w(ul)(({theme:e})=>({marginBottom:"-4px",marginTop:"-4px",left:-8})),m2=w.div(({theme:e})=>({width:220,padding:3,color:e.base==="light"?e.color.defaultText:e.color.light,"& > div":{margin:7}})),Zo=w.div(({theme:e})=>({height:5,background:e.background.hoverable,borderRadius:5,overflow:"hidden"})),qs=w(Zo)(({theme:e})=>({background:e.color.secondary,transition:"width 3s ease-out"})),p2=Ht({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Fi=w.svg(({progress:e,theme:t})=>({position:"absolute",width:"24px!important",height:"24px!important",transform:"rotate(-90deg)",color:t.color.secondary,circle:{r:"10",cx:"12",cy:"12",fill:"transparent",stroke:e?"currentColor":t.background.hoverable,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:Math.PI*20}}),({spinner:e,theme:t})=>e&&{animation:`${p2} 1s linear infinite`,circle:{stroke:`${t.color.secondary}33`}}),h2=w.div(({theme:e})=>({color:e.color.warningText,"&&":{marginTop:10}})),ea=w(lt)(({isDisallowed:e,theme:t})=>({position:"relative",overflow:"visible",color:t.textMutedColor,marginTop:0,zIndex:1,marginRight:4,...e&&{animation:`${Us} 700ms ease-out`}})),f2=({isDisabled:e=!1,isDisallowed:t=!1,isOutdated:n=!1,isRunning:r=!1,localBuildProgress:i,warning:o,clickWarning:l,startBuild:s,stopBuild:c})=>{if(e)return o?a.createElement(Oe,{tooltip:a.createElement(je,{note:o}),trigger:"hover",hasChrome:!1},a.createElement(ea,{id:"button-run-tests","aria-label":"Visual Tests locked",disabled:!l,onClick:l},a.createElement(wr,{status:"warning"},a.createElement(Wt,null)))):a.createElement(ea,{id:"button-run-tests","aria-label":"Visual Tests locked",disabled:!0},a.createElement(Wt,null));if(r&&i){let{buildProgressPercentage:d}=i;return a.createElement(Oe,{trigger:"hover",tooltip:a.createElement(m2,null,a.createElement("div",null,a.createElement(To,{localBuildProgress:i,small:!0,withEmoji:!0})),a.createElement(Zo,null,typeof d=="number"&&a.createElement(qs,{style:{width:`${d}%`}})),t&&a.createElement(h2,null,"This job has already reached the capture cloud and cannot be stopped locally."))},a.createElement(ea,{"aria-label":"Stop tests",isDisallowed:t,onClick:()=>c()},a.createElement(Cd,{style:{width:10,margin:2}}),a.createElement(Fi,{xmlns:"http://www.w3.org/2000/svg"},a.createElement("circle",null)),a.createElement(Fi,{xmlns:"http://www.w3.org/2000/svg",spinner:!0},a.createElement("circle",{strokeDashoffset:Math.PI*20*(1-d/100)})),typeof d=="number"&&a.createElement(Fi,{xmlns:"http://www.w3.org/2000/svg",progress:!0},a.createElement("circle",{strokeDashoffset:Math.PI*20*(1-d/100)}))))}return n?a.createElement(Oe,{tooltip:a.createElement(je,{note:"Code changes detected; click to run tests"}),trigger:"hover",hasChrome:!1},a.createElement(ea,{id:"button-run-tests","aria-label":"Run tests",onClick:()=>s()},a.createElement(wr,{status:"notification"},a.createElement(Wt,null)))):a.createElement(Oe,{trigger:"hover",hasChrome:!1,tooltip:a.createElement(je,{note:"No code changes detected. Rerun tests to take new snapshots."})},a.createElement(ea,{id:"button-run-tests","aria-label":"Run tests",onClick:()=>s()},a.createElement(Wt,null)))},g2=({api:e})=>{let{addNotification:t,clearNotification:n,selectStory:r,setOptions:i,togglePanel:o}=e,l=Xt(Wr),{projectId:s}=_s(),[c]=Fs(),d=!!c,[u,m]=Ze(ms),[p]=Ze(zi),[g]=Ze(ps),[f]=Ze(So),y=Object.keys(f?.problems||{}).length>0,[k]=Ze(ds),b=Pe(g?.currentStep),{index:h,status:v,storyId:E,viewMode:S}=yn(),B=Object.values(v).filter(pe=>pe[z]?.status==="warn"),j=W(pe=>{if(i({selectedPanel:Vn}),o(!0),h&&S!=="story"){let Ke=Object.keys(h).indexOf(E),Ie=Object.entries(h).slice(Ke>0?Ke:0),[Bt]=Ie.find(([,{type:Te}])=>Te==="story")||[];Bt&&r(Bt)}pe&&l?.({action:"openWarning",warning:pe})},[i,o,l,h,r,E,S]),Y=W(({onDismiss:pe})=>{pe(),j()},[j]);oe(()=>{let pe=()=>m(!0),Ke=()=>m(!1);return window.addEventListener("offline",pe),window.addEventListener("online",Ke),()=>{window.removeEventListener("offline",pe),window.removeEventListener("online",Ke)}},[m]),oe(()=>{if(g?.currentStep!==b.current){if(b.current=g?.currentStep,g?.currentStep==="initialize"){let pe=`${z}/build-initialize/${Date.now()}`;t({id:pe,content:{headline:"Build started",subHeadline:"Check the visual test addon to see the progress of your build."},icon:a.createElement(Di,{color:Lt.positive}),duration:8e3,onClick:Y}),setTimeout(()=>n(pe),8e3)}if(g?.currentStep==="aborted"){let pe=`${z}/build-aborted/${Date.now()}`;t({id:pe,content:{headline:"Build canceled",subHeadline:"Aborted by user."},icon:a.createElement(qt,{color:Lt.negative}),duration:8e3,onClick:Y}),setTimeout(()=>n(pe),8e3)}if(g?.currentStep==="complete"){let pe=`${z}/build-complete/${Date.now()}`;t({id:pe,content:{headline:"Build complete",subHeadline:g.errorCount?`Encountered ${(0,ki.default)("component error",g.errorCount,!0)}`:B.length?`Found ${(0,ki.default)("story",B.length,!0)} with ${(0,ki.default)("change",B.length)}`:"No visual changes detected"},icon:a.createElement(Di,{color:Lt.positive}),duration:8e3,onClick:Y}),setTimeout(()=>n(pe),8e3)}g?.currentStep==="error"&&t({id:`${z}/build-error/${Date.now()}`,content:{headline:"Build error",subHeadline:"Check the Storybook process on the command line for more details."},icon:a.createElement(qt,{color:Lt.negative}),onClick:Y}),g?.currentStep==="limited"&&t({id:`${z}/build-limited/${Date.now()}`,content:{headline:"Build limited",subHeadline:"Your account has insufficient snapshots remaining to run this build. Visit your billing page to find out more."},icon:a.createElement(qt,{color:Lt.negative}),onClick:Y})}},[t,n,Y,g?.currentStep,g?.errorCount,g?.changeCount,B.length]);let{isDisallowed:J,isRunning:ce,startBuild:Se,stopBuild:Ae}=Ls({localBuildProgress:g,accessToken:c}),xe;s||(xe="Visual tests locked until a project is selected."),d||(xe="Visual tests locked until you are logged in."),k&&(xe="Visual tests locked due to Git synchronization problem."),y&&(xe="Visual tests locked due to configuration problem."),u&&(xe="Visual tests locked while offline.");let Ge=W(()=>j(xe),[j,xe]);return window.CONFIG_TYPE!=="DEVELOPMENT"?null:a.createElement(f2,{isDisabled:!!xe,isDisallowed:J,isOutdated:p,isRunning:ce,localBuildProgress:g,warning:xe,clickWarning:Ge,startBuild:Se,stopBuild:Ae})},Gs=Xe(null),v2=({children:e,value:t})=>a.createElement(Gs.Provider,{value:t},e),Ys=()=>Ot(Gs,"AuthState"),y2={user:a.createElement(a.Fragment,null,a.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0ZM2.67 11.15c.7-1 2.6-1.81 3.2-1.9.22-.04.23-.66.23-.66s-.67-.66-.81-1.55c-.4 0-.63-.94-.24-1.27l-.02-.13c-.06-.6-.28-2.6 1.97-2.6s2.03 2 1.97 2.6l-.02.13c.4.33.15 1.27-.24 1.27-.14.89-.8 1.55-.8 1.55s0 .62.22.66c.6.09 2.5.9 3.2 1.9a6 6 0 1 0-8.66 0Z"})),useralt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.27 13.16a11.39 11.39 0 0 0 5.18-1.23v-.25c0-1.57-3.24-3-4.1-3.13-.27-.05-.28-.79-.28-.79s.8-.78.96-1.83c.47 0 .75-1.12.29-1.52.02-.41.6-3.25-2.32-3.25S4.65 4 4.67 4.41c-.46.4-.17 1.52.29 1.52.17 1.05.96 1.83.96 1.83s0 .74-.27.79c-.86.13-4.04 1.53-4.1 3.08a11.44 11.44 0 0 0 5.72 1.53Z"})),useradd:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.18 11.9c-.4-.17-.8-.36-1.18-.58.06-1.44 3.02-2.74 3.82-2.87.25-.04.26-.73.26-.73s-.74-.73-.9-1.7c-.43 0-.7-1.05-.27-1.42l-.01-.14c-.07-.67-.31-2.88 2.18-2.88 2.48 0 2.24 2.2 2.17 2.88l-.01.14c.43.37.16 1.41-.27 1.41-.16.98-.9 1.71-.9 1.71s.01.69.26.73c.8.13 3.82 1.46 3.82 2.91v.24a10.63 10.63 0 0 1-8.97.3ZM11.5 2.16c.28 0 .5.22.5.5v1.5h1.5a.5.5 0 0 1 0 1H12v1.5a.5.5 0 0 1-1 0v-1.5H9.5a.5.5 0 1 1 0-1H11v-1.5c0-.28.22-.5.5-.5Z"})),users:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.21 11.62A10.59 10.59 0 0 1 0 11.07c.06-1.35 2.93-2.58 3.7-2.7.25-.03.26-.68.26-.68s-.72-.69-.87-1.6c-.42 0-.68-.99-.26-1.33 0-.03 0-.08-.02-.14-.07-.63-.3-2.71 2.12-2.71 2.41 0 2.18 2.08 2.11 2.71l-.01.14c.42.34.16 1.32-.26 1.32-.16.92-.87 1.6-.87 1.6s0 .66.25.7c.78.11 3.7 1.36 3.7 2.73v.22l-.64.3Z"}),a.createElement("path",{d:"M8.81 8.42a9.64 9.64 0 0 0-.74-.4 5.2 5.2 0 0 1 1.7-.76c.17-.02.17-.47.17-.47s-.49-.47-.6-1.1c-.28 0-.46-.68-.17-.91l-.01-.1c-.05-.43-.2-1.86 1.45-1.86 1.66 0 1.5 1.43 1.45 1.86v.1c.28.23.1.9-.18.9-.11.64-.6 1.11-.6 1.11s0 .45.17.47c.54.08 2.55.94 2.55 1.89v.62a10.6 10.6 0 0 1-3.3.56 2.97 2.97 0 0 0-.58-.88c-.37-.41-.85-.76-1.31-1.03Z"})),profile:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.1 7.35a5.06 5.06 0 0 1-4.52-.28C4.6 6.4 6.02 5.77 6.4 5.7c.12-.02.12-.35.12-.35s-.35-.34-.43-.81c-.2 0-.33-.5-.12-.67l-.01-.07C5.93 3.48 5.81 2.42 7 2.42S8.07 3.48 8.04 3.8v.07c.2.17.07.67-.13.67-.08.47-.43.81-.43.81s0 .33.12.35c.38.06 1.82.7 1.82 1.4v.1c-.1.06-.2.1-.31.15Zm-5.35 3.9c0-.14.11-.25.25-.25h6a.25.25 0 1 1 0 .5H4a.25.25 0 0 1-.25-.25ZM4 9a.25.25 0 0 0 0 .5h6a.25.25 0 1 0 0-.5H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 .5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v13a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V.5ZM2 13V1h10v12H2Z"})),facehappy:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.97 8.75a.5.5 0 0 0-.87.5 4.5 4.5 0 0 0 7.8 0 .5.5 0 1 0-.87-.5 3.5 3.5 0 0 1-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),faceneutral:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),facesad:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.97 10.25a.5.5 0 0 1-.87-.5 4.5 4.5 0 0 1 7.8 0 .5.5 0 1 1-.87.5 3.5 3.5 0 0 0-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),accessibility:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"}),a.createElement("path",{d:"M7 4.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),accessibilityalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM8 3.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"})),arrowup:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35 2.9 5.5 5.5a.5.5 0 0 1-.7.7L7 3.96 1.85 9.1a.5.5 0 1 1-.7-.7l5.5-5.5c.2-.2.5-.2.7 0Z"})),arrowdown:a.createElement(a.Fragment,null,a.createElement("path",{d:"m1.15 5.6 5.5 5.5c.2.2.5.2.7 0l5.5-5.5a.5.5 0 0 0-.7-.7L7 10.04 1.85 4.9a.5.5 0 1 0-.7.7Z"})),arrowleft:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.76 7.1c.02.09.06.18.14.25l5.5 5.5a.5.5 0 0 0 .7-.7L3.96 7 9.1 1.85a.5.5 0 1 0-.7-.7l-5.5 5.5a.5.5 0 0 0-.14.45Z"})),arrowright:a.createElement(a.Fragment,null,a.createElement("path",{d:"m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z"})),arrowupalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.85 4.65 7.35.15a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 1 0 .7.7L6.5 1.71V13.5a.5.5 0 0 0 1 0V1.7l3.65 3.65a.5.5 0 0 0 .7-.7Z"})),arrowdownalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v11.8L2.85 8.64a.5.5 0 1 0-.7.7l4.5 4.5A.5.5 0 0 0 7 14a.5.5 0 0 0 .35-.15l4.5-4.5a.5.5 0 0 0-.7-.7L7.5 12.29V.5Z"})),arrowleftalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.35 2.15c.2.2.2.5 0 .7L1.71 6.5H13.5a.5.5 0 0 1 0 1H1.7l3.65 3.65a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z"})),arrowrightalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.65 2.15c.2-.2.5-.2.7 0l4.5 4.5c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7-.7l3.64-3.65H.5a.5.5 0 0 1 0-1h11.8L8.64 2.85a.5.5 0 0 1 0-.7Z"})),expandalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35.15 4 4a.5.5 0 0 1-.7.7L7 1.21 3.35 4.85a.5.5 0 1 1-.7-.7l4-4c.2-.2.5-.2.7 0ZM11.35 9.15c.2.2.2.5 0 .7l-4 4a.5.5 0 0 1-.7 0l-4-4a.5.5 0 1 1 .7-.7L7 12.79l3.65-3.64c.2-.2.5-.2.7 0Z"})),collapse:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.354.146a.5.5 0 1 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0-.708-.708L7 3.793 3.354.146Zm3.292 9a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708L7 10.207l-3.646 3.647a.5.5 0 0 1-.708-.708l4-4Z"})),expand:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1h2a.5.5 0 0 1 0 1h-.8l3.15 3.15a.5.5 0 1 1-.7.7L2 2.71v.79a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 1.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-.8L8.85 5.86a.5.5 0 1 1-.7-.7L11.29 2h-.79a.5.5 0 0 1-.5-.5ZM12.5 10c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h.8L8.14 8.85a.5.5 0 1 1 .7-.7L12 11.29v-.79c0-.28.22-.5.5-.5ZM2 11.3v-.8a.5.5 0 0 0-1 0v2c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1h-.8l3.15-3.15a.5.5 0 1 0-.7-.7L2 11.29Z"})),unfold:a.createElement(a.Fragment,null,a.createElement("path",{d:"m6.65.15-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64V5a.5.5 0 0 0 1 0V1.7l.65.65a.5.5 0 1 0 .7-.7L7.35.15a.5.5 0 0 0-.7 0Z"}),a.createElement("path",{d:"M1.3 4.04a.5.5 0 0 0-.16.82L3.3 7 1.15 9.15a.5.5 0 0 0 .35.85h3a.5.5 0 0 0 0-1H2.7l1.5-1.5h5.6l2.35 2.35a.5.5 0 0 0 .7-.7L10.71 7l2.14-2.15.11-.54-.1.54A.5.5 0 0 0 13 4.5a.5.5 0 0 0-.14-.35.5.5 0 0 0-.36-.15h-3a.5.5 0 0 0 0 1h1.8L9.8 6.5H4.2L2.7 5h1.8a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.2.04Z"}),a.createElement("path",{d:"M7 8.5c.28 0 .5.22.5.5v3.3l.65-.65a.5.5 0 0 1 .7.7l-1.5 1.5a.5.5 0 0 1-.7 0l-1.5-1.5a.5.5 0 0 1 .7-.7l.65.64V9c0-.28.22-.5.5-.5ZM9 9.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z"})),transfer:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.65 2.65c.2-.2.5-.2.7 0l1.5 1.5c.2.2.2.5 0 .7l-1.5 1.5a.5.5 0 0 1-.7-.7l.64-.65H1.5a.5.5 0 0 1 0-1h9.8l-.65-.65a.5.5 0 0 1 0-.7ZM3.35 8.35 2.71 9h9.79a.5.5 0 0 1 0 1H2.7l.65.65a.5.5 0 0 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7Z"})),redirect:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1c.28 0 .5.22.5.5V10a2 2 0 0 0 4 0V4a3 3 0 0 1 6 0v7.8l1.15-1.15a.5.5 0 0 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 .7-.7L11 11.79V4a2 2 0 1 0-4 0v6a3 3 0 0 1-6 0V1.5c0-.28.22-.5.5-.5Z"})),undo:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.15 3.85a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7L2.71 3H9a4 4 0 0 1 0 8H3a.5.5 0 0 1 0-1h6a3 3 0 1 0 0-6H2.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2Z"})),reply:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.35 2.15c.2.2.2.5 0 .7L1.71 5.5H9.5A4.5 4.5 0 0 1 14 10v1.5a.5.5 0 0 1-1 0V10a3.5 3.5 0 0 0-3.5-3.5H1.7l2.65 2.65a.5.5 0 1 1-.7.7l-3.5-3.5a.5.5 0 0 1 0-.7l3.5-3.5c.2-.2.5-.2.7 0Z"})),sync:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.5 1A.5.5 0 0 0 5 .5H2a.5.5 0 0 0 0 1h1.53a6.5 6.5 0 0 0 2.39 11.91.5.5 0 1 0 .16-.99A5.5 5.5 0 0 1 4.5 2.1V4a.5.5 0 0 0 1 0V1ZM7.5 1a.5.5 0 0 1 .58-.41 6.5 6.5 0 0 1 2.39 11.91H12a.5.5 0 0 1 0 1H9a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 1 0v1.9A5.5 5.5 0 0 0 7.92 1.58.5.5 0 0 1 7.5 1Z"})),upload:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.65 5.85 7.5 4.71v5.79a.5.5 0 0 1-1 0V4.7L5.35 5.86a.5.5 0 1 1-.7-.7l2-2c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),download:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.35 8.15 6.5 9.29V3.5a.5.5 0 0 1 1 0v5.8l1.15-1.15a.5.5 0 1 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 1 1 .7-.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm1 0a6 6 0 1 1 12 0A6 6 0 0 1 1 7Z"})),back:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.85 5.35 4.71 6.5h5.79a.5.5 0 0 1 0 1H4.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Z"})),proceed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5h5.8L8.14 5.35a.5.5 0 1 1 .7-.7l2 2c.2.2.2.5 0 .7l-2 2a.5.5 0 1 1-.7-.7L9.29 7.5H3.5a.5.5 0 0 1 0-1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 1 7 0a7 7 0 0 1 0 14Zm0-1A6 6 0 1 1 7 1a6 6 0 0 1 0 12Z"})),refresh:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.1.5H7a6.5 6.5 0 1 0 6.41 7.58.5.5 0 1 0-.99-.16A5.47 5.47 0 0 1 7 12.5a5.5 5.5 0 0 1 0-11 5.5 5.5 0 0 1 4.9 3H10a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-1 0v1.53A6.5 6.5 0 0 0 7.1.5Z"})),globe:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 0 0 7a7 7 0 0 0 14 0Zm-6.53 5.74c-.24.23-.4.26-.47.26-.08 0-.23-.03-.47-.26-.23-.24-.5-.62-.73-1.18A11.57 11.57 0 0 1 5 7.5h4a11.57 11.57 0 0 1-.8 4.06c-.24.56-.5.94-.73 1.18ZM8.99 6.5H5.01c.05-1.62.35-3.04.79-4.06.24-.56.5-.94.73-1.18.24-.23.4-.26.47-.26.08 0 .23.03.47.26.23.24.5.62.73 1.18.44 1.02.74 2.44.8 4.06Zm1 1c-.06 2.18-.56 4.08-1.28 5.25a6 6 0 0 0 4.27-5.25H9.99Zm2.99-1H9.99c-.06-2.18-.56-4.08-1.28-5.25a6 6 0 0 1 4.27 5.25ZM4 6.5c.06-2.18.56-4.08 1.28-5.25A6 6 0 0 0 1.02 6.5h2.99Zm-2.99 1a6 6 0 0 0 4.27 5.25c-.72-1.17-1.22-3.07-1.28-5.25H1.02Z"})),compass:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10.09 3.4 5.95 5.8a.37.37 0 0 0-.11.09.38.38 0 0 0-.04.05l-2.4 4.15a.37.37 0 0 0 0 .38c.1.18.33.24.5.14l4.15-2.4a.37.37 0 0 0 .15-.15l2.4-4.15a.37.37 0 0 0-.03-.44.37.37 0 0 0-.48-.07ZM4.75 9.25 7.6 7.6 6.4 6.4 4.75 9.25Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),location:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm6.5 3.5v2.48A6 6 0 0 1 1.02 7.5H3.5a.5.5 0 0 0 0-1H1.02A6 6 0 0 1 6.5 1.02V3.5a.5.5 0 0 0 1 0V1.02a6 6 0 0 1 5.48 5.48H10.5a.5.5 0 0 0 0 1h2.48a6 6 0 0 1-5.48 5.48V10.5a.5.5 0 0 0-1 0Z"})),pin:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 5A5 5 0 0 0 2 5c0 2.63 2.27 6.15 4.65 8.64.2.2.5.2.7 0C9.73 11.15 12 7.64 12 5ZM7 1a4 4 0 0 1 4 4c0 1.06-.47 2.42-1.3 3.88A21.23 21.23 0 0 1 7 12.55c-1-1.1-1.97-2.39-2.7-3.67A8.46 8.46 0 0 1 3 5a4 4 0 0 1 4-4Z"})),time:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 2c.28 0 .5.22.5.5v4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V2.5c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),dashboard:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.8 4.1a.5.5 0 0 1 .1.7L7.92 7.58A1 1 0 1 1 7.1 7l2-2.8a.5.5 0 0 1 .7-.12Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2.07 12.97a7 7 0 1 1 9.86 0 12.96 12.96 0 0 0-9.86 0Zm9.58-1.18a6 6 0 1 0-9.3 0 13.98 13.98 0 0 1 9.3 0Z"})),timer:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 4.5a.5.5 0 0 0-1 0v2.63a1 1 0 1 0 1 0V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.5.5c0-.28.22-.5.5-.5h2a.5.5 0 0 1 0 1h-.5v1.02c1.28.1 2.45.61 3.37 1.4l.78-.77a.5.5 0 0 1 .7.7l-.77.78a6 6 0 1 1-5.08-2.1V1H6a.5.5 0 0 1-.5-.5ZM7 3a5 5 0 1 0 0 10A5 5 0 0 0 7 3Z"})),home:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35 1.15 5.5 5.5a.5.5 0 0 1-.7.7L12 7.21v5.29a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V9H6v3.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V7.2l-.15.15a.5.5 0 1 1-.7-.7l1-1 4.5-4.5c.2-.2.5-.2.7 0ZM3 6.2V12h2V8.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5V12h2V6.2l-4-4-4 4Z"})),admin:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1.21 4.1a.5.5 0 0 1 .06-.04l5.48-3a.5.5 0 0 1 .5 0l5.48 3a.5.5 0 0 1 .27.39.5.5 0 0 1-.51.55H1.51a.5.5 0 0 1-.3-.9ZM3.46 4h7.08L7 2.07 3.46 4Z"}),a.createElement("path",{d:"M4 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM11 6a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V6ZM5.75 5.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM8.75 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM1.5 12.5c0-.27.22-.5.5-.5h10a.5.5 0 0 1 0 1H2a.5.5 0 0 1-.5-.5Z"})),info:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM7 4.5A.75.75 0 1 0 7 3a.75.75 0 0 0 0 1.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),question:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 1 1 7 7a.5.5 0 0 0-.5.5V9a.5.5 0 0 0 1 0V7.95a2.75 2.75 0 1 0-3.25-2.7.5.5 0 0 0 1 0ZM7 11.5A.75.75 0 1 0 7 10a.75.75 0 0 0 0 1.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),support:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-3.52 4.9a5.97 5.97 0 0 1-6.96 0l1.45-1.45a3.98 3.98 0 0 0 4.06 0l1.45 1.44Zm-.03-2.87 1.44 1.45a5.97 5.97 0 0 0 0-6.96l-1.44 1.45a3.98 3.98 0 0 1 0 4.06ZM9.03 3.55l1.45-1.44a5.97 5.97 0 0 0-6.96 0l1.45 1.44a3.98 3.98 0 0 1 4.06 0ZM3.55 4.97 2.11 3.52a5.97 5.97 0 0 0 0 6.96l1.44-1.45a3.98 3.98 0 0 1 0-4.06ZM10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})),alert:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 4.5c.28 0 .5.22.5.5v3.5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM7.75 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7.2 1.04a.5.5 0 0 1 .24.21l6.49 11a.5.5 0 0 1-.44.75H.51a.5.5 0 0 1-.5-.45.5.5 0 0 1 .06-.31l6.5-10.99a.5.5 0 0 1 .64-.2ZM7 2.48 1.38 12h11.24L7 2.48Z"})),email:a.createElement(a.Fragment,null,a.createElement("path",{d:"M0 2.5c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-9Zm1 1.02V11h12V3.52L7.31 7.89a.5.5 0 0 1-.52.07.5.5 0 0 1-.1-.07L1 3.52ZM12.03 3H1.97L7 6.87 12.03 3Z"})),phone:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m7.76 8.13-.05.05a.2.2 0 0 1-.28.03A6.76 6.76 0 0 1 5.8 6.56a.21.21 0 0 1 .04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 0 0-.51.13A3.23 3.23 0 0 0 .9 3.42c-.13 1.1.26 2.37 1.17 3.78a16.68 16.68 0 0 0 4.55 4.6 6.57 6.57 0 0 0 3.53 1.32A3.2 3.2 0 0 0 13 11.46c.14-.24.24-.64-.07-1.18a7.8 7.8 0 0 0-1.73-1.8c-.64-.5-1.52-1.12-2.13-1.12a.97.97 0 0 0-.34.06c-.47.17-.74.46-.95.69l-.02.02Zm4.32 2.68a6.8 6.8 0 0 0-1.48-1.54h-.02c-.3-.25-.64-.49-.95-.67a2.7 2.7 0 0 0-.56-.24h-.01c-.23.09-.34.21-.56.45l-.02.02-.04.04a1.2 1.2 0 0 1-1.6.15 7.76 7.76 0 0 1-1.86-1.89l-.01-.01-.02-.02a1.21 1.21 0 0 1 .2-1.53l.06-.06.02-.02c.22-.2.35-.31.43-.53v-.02c0-.02 0-.06-.03-.14a3.7 3.7 0 0 0-.5-.88h-.01V3.9c-.23-.33-.65-.87-1.1-1.32H4c-.31-.32-.55-.5-.72-.6a.6.6 0 0 0-.22-.1h-.03a2.23 2.23 0 0 0-1.15 1.66c-.09.78.18 1.8 1.02 3.1a15.68 15.68 0 0 0 4.27 4.33l.02.01.02.02a5.57 5.57 0 0 0 2.97 1.11 2.2 2.2 0 0 0 1.93-1.14h.01v-.05a.57.57 0 0 0-.05-.12Z"})),link:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.84 2.16a2.25 2.25 0 0 0-3.18 0l-2.5 2.5c-.88.88-.88 2.3 0 3.18a.5.5 0 0 1-.7.7 3.25 3.25 0 0 1 0-4.59l2.5-2.5a3.25 3.25 0 0 1 4.59 4.6L10.48 8.1c.04-.44.01-.89-.09-1.32l1.45-1.45c.88-.88.88-2.3 0-3.18Z"}),a.createElement("path",{d:"M3.6 7.2c-.1-.42-.12-.87-.08-1.31L1.45 7.95a3.25 3.25 0 1 0 4.6 4.6l2.5-2.5a3.25 3.25 0 0 0 0-4.6.5.5 0 0 0-.7.7c.87.89.87 2.31 0 3.2l-2.5 2.5a2.25 2.25 0 1 1-3.2-3.2l1.46-1.44Z"})),unlink:a.createElement(a.Fragment,null,a.createElement("path",{d:"m1.45 7.95 1.3-1.3.71.7-1.3 1.3a2.25 2.25 0 1 0 3.18 3.2l1.3-1.31.71.7-1.3 1.3a3.25 3.25 0 0 1-4.6-4.59ZM12.55 6.05l-1.3 1.3-.71-.7 1.3-1.3a2.25 2.25 0 1 0-3.18-3.2l-1.3 1.31-.71-.7 1.3-1.3a3.25 3.25 0 0 1 4.6 4.59ZM1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),bell:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8 1.11a1 1 0 1 0-1.99 0A4.5 4.5 0 0 0 2.5 5.5v3.88l-.94 1.89a.5.5 0 0 0-.06.3.5.5 0 0 0 .51.43h3.58a1.5 1.5 0 1 0 2.82 0H12a.5.5 0 0 0 .45-.73l-.94-1.89V5.5A4.5 4.5 0 0 0 8 1.11ZM2.8 11h8.4l-.5-1H3.3l-.5 1Zm7.7-2V5.5a3.5 3.5 0 1 0-7 0V9h7Zm-4 3.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z"})),rss:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5.5c0-.28.22-.5.5-.5a12 12 0 0 1 12 12 .5.5 0 0 1-1 0A11 11 0 0 0 2 1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{d:"M1.5 4.5c0-.28.22-.5.5-.5a8 8 0 0 1 8 8 .5.5 0 0 1-1 0 7 7 0 0 0-7-7 .5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-1 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"})),sharealt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7.5a.5.5 0 0 0-1 0V12H2V2h4.5a.5.5 0 0 0 0-1H2Z"}),a.createElement("path",{d:"M7.35 7.36 12 2.7v1.8a.5.5 0 0 0 1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 0 0 1h1.8L6.64 6.64a.5.5 0 1 0 .7.7Z"})),share:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.65.15c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7L7.5 1.72v6.8a.5.5 0 0 1-1 0V1.7L5.35 2.86a.5.5 0 1 1-.7-.71l2-2Z"}),a.createElement("path",{d:"M2 4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9.5a.5.5 0 1 0 0 1H12v7H2V5h2.5a.5.5 0 0 0 0-1H2Z"})),circlehollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 13A6 6 0 1 0 7 1a6 6 0 0 0 0 12Zm0 1A7 7 0 1 0 7 0a7 7 0 0 0 0 14Z"})),circle:a.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Z"}),bookmarkhollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5ZM4 12.41l2.66-2.28a.45.45 0 0 1 .38-.13c.1.01.2.05.29.12l2.67 2.3V1H4v11.41Z"})),bookmark:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5Z"})),diamond:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.41 1.59a2 2 0 0 0-2.82 0l-4 4a2 2 0 0 0 0 2.82l4 4a2 2 0 0 0 2.82 0l4-4a2 2 0 0 0 0-2.82l-4-4Zm.71-.71a3 3 0 0 0-4.24 0l-4 4a3 3 0 0 0 0 4.24l4 4a3 3 0 0 0 4.24 0l4-4a3 3 0 0 0 0-4.24l-4-4Z"})),hearthollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59ZM1.2 3.53A2.2 2.2 0 0 1 2.57 2.2M1.2 3.53c-.13.33-.2.72-.2 1.18 0 .22.03.45.1.68a3.97 3.97 0 0 0 .79 1.46c.19.23.38.45.59.65l4.51 4.36 4.52-4.35c.2-.2.4-.4.59-.65.18-.23.34-.47.49-.73.13-.23.23-.48.3-.73.08-.23.11-.46.11-.7 0-.45-.07-.84-.2-1.18-.12-.33-.3-.6-.51-.8v-.01c-.22-.2-.5-.38-.85-.51-.34-.13-.75-.2-1.24-.2-.2 0-.4.03-.6.09a4.95 4.95 0 0 0-1.9 1.22l-.68.67-.7-.65a9.97 9.97 0 0 0-.62-.53c-.2-.16-.42-.3-.63-.42h-.01c-.21-.12-.43-.22-.66-.29C4.2 2.03 4 2 3.77 2c-.48 0-.88.07-1.21.2"})),heart:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59Z"})),starhollow:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.32.78a.75.75 0 0 1 1.36 0l1.63 3.54 3.87.46c.63.07.89.86.42 1.3l-2.86 2.64.76 3.81a.75.75 0 0 1-1.1.8L7 11.43l-3.4 1.9a.75.75 0 0 1-1.1-.8l.76-3.81L.4 6.07a.75.75 0 0 1 .42-1.3l3.87-.45L6.32.78ZM7 1.7 5.54 4.86c-.11.24-.34.4-.6.43l-3.46.42 2.56 2.37c.2.17.28.44.23.7l-.68 3.42 3.04-1.7c.23-.14.5-.14.74 0l3.04 1.7-.68-3.43a.75.75 0 0 1 .23-.7l2.56-2.36-3.47-.42a.75.75 0 0 1-.59-.43L7 1.7Z"})),star:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.68.78a.75.75 0 0 0-1.36 0L4.69 4.32l-3.87.46a.75.75 0 0 0-.42 1.3l2.86 2.64-.76 3.81a.75.75 0 0 0 1.1.8l3.4-1.9 3.4 1.9a.75.75 0 0 0 1.1-.8l-.76-3.81 2.86-2.65a.75.75 0 0 0-.42-1.3L9.3 4.33 7.68.78Z"})),certificate:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7.85A4.49 4.49 0 0 0 7 0a4.5 4.5 0 0 0-3 7.85V13a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.15L7 11.21l2.15 2.14A.5.5 0 0 0 10 13V7.85ZM7 8a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm-.35 2.15c.2-.2.5-.2.7 0L9 11.79V8.53a4.48 4.48 0 0 1-4 0v3.26l1.65-1.64Z"})),verified:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.56 13.12a1 1 0 0 1 .88 0l.98.49a1 1 0 0 0 1.31-.43l.52-.97a1 1 0 0 1 .7-.51l1.08-.2a1 1 0 0 0 .81-1.1l-.15-1.1a1 1 0 0 1 .27-.82l.76-.8a1 1 0 0 0 0-1.37l-.76-.79a1 1 0 0 1-.27-.83l.15-1.08a1 1 0 0 0-.8-1.12l-1.09-.19a1 1 0 0 1-.7-.5L9.73.81A1 1 0 0 0 8.43.4l-1 .49a1 1 0 0 1-.87 0L5.58.39a1 1 0 0 0-1.31.43l-.52.97a1 1 0 0 1-.7.51l-1.08.2a1 1 0 0 0-.81 1.1l.15 1.1a1 1 0 0 1-.27.82l-.76.8a1 1 0 0 0 0 1.37l.76.79a1 1 0 0 1 .27.83l-.15 1.08a1 1 0 0 0 .8 1.12l1.09.19a1 1 0 0 1 .7.5l.52.98a1 1 0 0 0 1.3.43l1-.49Zm4.3-8.47c.19.2.19.5 0 .7l-4.5 4.5a.5.5 0 0 1-.71 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),thumbsup:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.5 5.5 0 0 1-1.3-.16c-.42-.1-.91-.25-1.47-.45-.3-.12-.63-.21-.95-.27H2.88a.84.84 0 0 1-.62-.26.84.84 0 0 1-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 0 1 .62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 0 1 .62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7a2.94 2.94 0 0 1 .21 1.58 3 3 0 0 1-.3 1h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98.07.54-.07 1.08-.4 1.51a1.9 1.9 0 0 1-.57 1.5Zm.47-5.33a.96.96 0 0 0 .03-.25.74.74 0 0 0-.23-.51.68.68 0 0 0-.52-.23H7.93l.73-1.45a2 2 0 0 0 .21-.87c0-.44-.07-.7-.13-.82a.53.53 0 0 0-.24-.24 1.3 1.3 0 0 0-.54-.12.99.99 0 0 0-.14.28c-.08.27-.13.52-.18.76-.06.38-.2.77-.48 1.07v.01l-.02.01c-.2.2-.4.46-.67.8l-.61.76c-.15.17-.35.38-.54.51l-.26.18H5v4.13h.02c.38.08.76.18 1.12.32.53.2.98.33 1.35.42.36.09.71.13 1.07.13h.88c.43 0 .68-.11.87-.29a.9.9 0 0 0 .26-.7l-.02-.37.22-.3c.17-.23.25-.5.2-.78l-.04-.33.17-.3a.97.97 0 0 0 .13-.48c0-.09 0-.13-.02-.15l-.15-.46.26-.4c.1-.15.13-.25.15-.33ZM3.5 10.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),shield:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.76 2.08a.5.5 0 0 1 .24.42v6a.5.5 0 0 1-.17.38l-4.5 3.99a.5.5 0 0 1-.67 0l-4.49-4A.5.5 0 0 1 2 8.5V2.5c0-.18.1-.34.24-.42l.01-.02a2.5 2.5 0 0 1 .3-.16c.22-.1.52-.24.92-.37C4.27 1.26 5.44 1 7 1c1.56 0 2.73.26 3.53.53a6.97 6.97 0 0 1 1.22.53l.01.02ZM3 2.79v5.49l1.07.94 6.59-6.58-.44-.17C9.52 2.24 8.44 2 7 2c-1.44 0-2.52.24-3.22.47-.35.12-.6.24-.78.32Zm4 9.04L4.82 9.9 11 3.71v4.57l-4 3.55Z"})),basket:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.35 2.85a.5.5 0 1 0-.7-.7l-3 3a.5.5 0 1 0 .7.7l3-3Z"}),a.createElement("path",{d:"M2.09 6H4.5a.5.5 0 0 0 0-1H1.8a.75.75 0 0 0-.74.87l.8 4.88A1.5 1.5 0 0 0 3.36 12h7.3a1.5 1.5 0 0 0 1.48-1.25l.81-4.88A.75.75 0 0 0 12.2 5H10a.5.5 0 0 0 0 1h1.91l-.76 4.58a.5.5 0 0 1-.5.42h-7.3a.5.5 0 0 1-.5-.42L2.1 6Z"}),a.createElement("path",{d:"M4.5 7c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 7.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2ZM6.5 9.5v-2a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0Z"})),beaker:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 2h.75v3.87l-3.03 5.26c-.48.83.12 1.87 1.08 1.87h7.4c.96 0 1.57-1.04 1.08-1.87L8.75 5.87V2h.75a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm1.75 4V2h1.5v4.13l.07.12 1 1.75H5.18l1.01-1.75.07-.12V6ZM4.6 9l-1.52 2.63c-.1.16.03.37.22.37h7.4c.2 0 .31-.2.22-.37L9.4 9H4.6Z"})),hourglass:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.5 1a.5.5 0 0 0-.5.5c0 1.06.14 1.9.68 2.97.34.7.86 1.5 1.6 2.53a16.53 16.53 0 0 0-1.8 2.96A6 6 0 0 0 3 12.49v.01a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5 6 6 0 0 0-.48-2.54c-.34-.8-.9-1.71-1.8-2.96a19.78 19.78 0 0 0 1.6-2.53c.54-1.08.68-1.9.68-2.97a.5.5 0 0 0-.5-.5h-7Zm6.49 11a4.68 4.68 0 0 0-.39-1.65c-.27-.65-.73-1.4-1.5-2.5a133 133 0 0 1-.75 1 .5.5 0 0 1-.56.1.5.5 0 0 1-.2-.16l-.7-.94a14.36 14.36 0 0 0-1.5 2.5A4.68 4.68 0 0 0 4.02 12H10ZM6.3 6.72l.7.94a90.06 90.06 0 0 0 .7-.96c.49-.67.87-1.22 1.17-1.7H5.13A32.67 32.67 0 0 0 6.3 6.72ZM4.56 4h4.88c.36-.73.5-1.31.55-2H4c.04.69.19 1.27.55 2Z"})),flag:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.5 1h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 1 0V8h8.5a.5.5 0 0 0 .35-.85L9.21 4.5l2.64-2.65A.5.5 0 0 0 11.5 1ZM8.15 4.15 10.29 2H3v5h7.3L8.14 4.85a.5.5 0 0 1 0-.7Z"})),cloudhollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7V6a3 3 0 0 0-5.9-.74l-.18.68-.7.07A2.5 2.5 0 0 0 3.5 11h3.19l.07-.01h.08L7 11h4a2 2 0 1 0 0-4h-1ZM3.12 5.02A3.5 3.5 0 0 0 3.5 12H11a3 3 0 1 0 0-6 4 4 0 0 0-7.88-.98Z"})),cloud:a.createElement("path",{d:"M7 2a4 4 0 0 1 4 4 3 3 0 1 1 0 6H3.5a3.5 3.5 0 0 1-.38-6.98A4 4 0 0 1 7 2Z"}),edit:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m13.85 2.15-2-2a.5.5 0 0 0-.7 0l-1.5 1.5-9 9a.5.5 0 0 0-.14.26L0 13.39a.5.5 0 0 0 .14.46.5.5 0 0 0 .46.14l2.48-.5a.5.5 0 0 0 .27-.14l9-9 1.5-1.5a.5.5 0 0 0 0-.7ZM12 3.29l.8-.79-1.3-1.3-.8.8L12 3.3Zm-2-.58L1.7 11 3 12.3 11.3 4 10 2.7ZM1.14 12.86l.17-.85.68.68-.85.17Z"})),cog:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.59 5.59a2 2 0 0 1 3.27 2.14.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 1 0-.36-.94A2 2 0 0 1 5.6 5.6Z",fill:"#333"}),a.createElement("path",{fillRule:"evenodd",d:"M.94 6.53c.13.12.19.3.18.46 0 .17-.05.34-.18.47L0 8.39c.19.94.55 1.81 1.07 2.58h1.32c.18 0 .34.07.46.2.12.11.2.27.2.45v1.32c.76.51 1.62.88 2.55 1.06l.94-.94a.63.63 0 0 1 .45-.19h.03c.16 0 .33.07.45.19l.94.94a7.1 7.1 0 0 0 2.55-1.06v-1.33c0-.18.07-.35.2-.46.11-.12.27-.2.45-.2h1.33A7.1 7.1 0 0 0 14 8.4l-.95-.94a.64.64 0 0 1-.18-.47c0-.17.06-.34.18-.46l.95-.95a7.1 7.1 0 0 0-1.05-2.52h-1.34a.63.63 0 0 1-.46-.2.64.64 0 0 1-.2-.46V1.06A7.1 7.1 0 0 0 8.42 0l-.94.94a.63.63 0 0 1-.45.19H7a.63.63 0 0 1-.45-.19L5.6 0a7.1 7.1 0 0 0-2.56 1.06v1.33c0 .18-.07.34-.2.46a.63.63 0 0 1-.45.2H1.06A7.1 7.1 0 0 0 0 5.59l.94.94Zm.7 1.63c.33-.32.49-.75.48-1.17 0-.42-.15-.85-.47-1.17l-.54-.54c.12-.43.3-.85.51-1.23h.77c.46 0 .87-.2 1.17-.5.3-.29.48-.7.48-1.16v-.77c.4-.22.81-.39 1.25-.52l.54.55c.33.32.75.48 1.16.48h.03c.42 0 .84-.16 1.16-.48l.54-.54c.44.12.85.3 1.24.5v.8c0 .45.19.87.49 1.16.3.3.7.5 1.16.5h.78c.2.37.38.78.5 1.2l-.54.55c-.33.32-.49.75-.48 1.17 0 .42.15.85.48 1.17l.55.55c-.13.44-.3.85-.52 1.24h-.77c-.45 0-.87.2-1.16.5-.3.29-.5.7-.5 1.16v.77c-.38.21-.8.39-1.23.51l-.54-.54a1.64 1.64 0 0 0-1.16-.48H7c-.41 0-.83.16-1.16.48l-.54.55a6.1 6.1 0 0 1-1.25-.52v-.76c0-.45-.19-.87-.48-1.16-.3-.3-.71-.5-1.17-.5h-.76a6.1 6.1 0 0 1-.53-1.25l.55-.55Z"})),nut:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.59 8.41a2 2 0 1 1 3.27-.68.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 0 0-.36-.94 2 2 0 0 1-2.14-.45Z"}),a.createElement("path",{fillRule:"evenodd",d:"M6.5.29a1 1 0 0 1 1 0l5.06 2.92c.31.18.5.51.5.87v5.84a1 1 0 0 1-.5.87L7.5 13.7a1 1 0 0 1-1 0L1.44 10.8a1 1 0 0 1-.5-.87V4.08a1 1 0 0 1 .5-.87L6.5.3Zm.5.86 5.06 2.93v5.84L7 12.85 1.94 9.92V4.08L7 1.15Z"})),wrench:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.5 1c.44 0 .56.52.25.83l-.8.81c-.2.2-.2.52 0 .72l.69.7c.2.2.52.2.72 0l.8-.81c.32-.31.84-.2.84.25a2.5 2.5 0 0 1-3.41 2.33L2.7 12.7a1 1 0 0 1-1.42-1.42l6.88-6.88A2.5 2.5 0 0 1 10.5 1ZM2 12.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),ellipsis:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM13 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})),check:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.85 3.35a.5.5 0 0 0-.7-.7L5 10.79.85 6.65a.5.5 0 1 0-.7.7l4.5 4.5c.2.2.5.2.7 0l8.5-8.5Z"})),form:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6.4a.5.5 0 0 0-1 0V12H2V2h7.5a.5.5 0 0 0 0-1H2Z"}),a.createElement("path",{d:"m6.35 9.86 7.5-7.5a.5.5 0 0 0-.7-.71L6 8.8 3.85 6.65a.5.5 0 1 0-.7.7l2.5 2.5c.2.2.5.2.7 0Z"})),batchdeny:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.646.646a.5.5 0 0 1 0 .708L5.207 7l3.647 3.646a.5.5 0 0 1-.708.708L4.5 7.707.854 11.354a.5.5 0 0 1-.708-.708L3.793 7 .146 3.354a.5.5 0 1 1 .708-.708L4.5 6.293l3.646-3.647a.5.5 0 0 1 .708 0ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),batchaccept:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.2.6a.5.5 0 0 1 .1.7l-5.995 7.993a.505.505 0 0 1-.37.206.5.5 0 0 1-.395-.152L.146 8.854a.5.5 0 1 1 .708-.708l2.092 2.093L8.6 2.7a.5.5 0 0 1 .7-.1ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),controls:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.5 1c.28 0 .5.22.5.5V2h1.5a.5.5 0 0 1 0 1H11v.5a.5.5 0 0 1-1 0V3H1.5a.5.5 0 0 1 0-1H10v-.5c0-.28.22-.5.5-.5ZM1.5 11a.5.5 0 0 0 0 1H10v.5a.5.5 0 0 0 1 0V12h1.5a.5.5 0 0 0 0-1H11v-.5a.5.5 0 0 0-1 0v.5H1.5ZM1 7c0-.28.22-.5.5-.5H3V6a.5.5 0 0 1 1 0v.5h8.5a.5.5 0 0 1 0 1H4V8a.5.5 0 0 1-1 0v-.5H1.5A.5.5 0 0 1 1 7Z"})),plus:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6h-6a.5.5 0 0 0 0 1h6v6a.5.5 0 0 0 1 0v-6h6a.5.5 0 0 0 0-1h-6v-6Z"})),closeAlt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.03.97A.75.75 0 0 0 .97 2.03L5.94 7 .97 11.97a.75.75 0 1 0 1.06 1.06L7 8.06l4.97 4.97a.75.75 0 1 0 1.06-1.06L8.06 7l4.97-4.97A.75.75 0 0 0 11.97.97L7 5.94 2.03.97Z"})),cross:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7L6.29 7l-5.14 5.15a.5.5 0 0 0 .7.7L7 7.71l5.15 5.14a.5.5 0 0 0 .7-.7L7.71 7l5.14-5.15a.5.5 0 0 0-.7-.7L7 6.29 1.85 1.15Z"})),trash:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.5 4.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM9 5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M4.5.5c0-.28.22-.5.5-.5h4c.28 0 .5.22.5.5V2h3a.5.5 0 0 1 0 1H12v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h-.5a.5.5 0 0 1 0-1h3V.5ZM3 3v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3H3Zm2.5-2h3v1h-3V1Z"})),pinalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5 5H3.66A4 4 0 0 0 .83 6.17l-.48.48a.5.5 0 0 0 0 .7l2.8 2.8-3 3a.5.5 0 0 0 .7.7l3-3 2.8 2.8c.2.2.5.2.7 0l.48-.48A4 4 0 0 0 9 10.34V9l2-2c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM11 5.59l-3 3v1.75a3 3 0 0 1-.88 2.12L7 12.6 1.41 7l.13-.12A3 3 0 0 1 3.66 6H5.4l3-3-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6Z"})),unpin:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5.7 4.3l.71.7 2-2-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6l-2 2 .7.7L11 7c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM.83 6.17A4 4 0 0 1 3.59 5l1 1h-.93a3 3 0 0 0-2.12.88L1.4 7 7 12.59l.12-.13A3 3 0 0 0 8 10.34v-.93l1 1a4 4 0 0 1-1.17 2.76l-.48.48a.5.5 0 0 1-.7 0l-2.8-2.8-3 3a.5.5 0 0 1-.7-.7l3-3-2.8-2.8a.5.5 0 0 1 0-.7l.48-.48Zm1.02-5.02a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),add:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 3c.28 0 .5.22.5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),subtract:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),close:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.85 4.15c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),delete:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0a6 6 0 0 1-9.87 4.58l8.45-8.45A5.98 5.98 0 0 1 13 7ZM2.42 10.87l8.45-8.45a6 6 0 0 0-8.46 8.46Z"})),passed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm3.85-9.35c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),changed:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"})),failed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm2.85-9.85c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"})),clear:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M5 2h7a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-1.41-.59l-3-3a2 2 0 0 1 0-2.82l3-3A2 2 0 0 1 5 2Zm1.15 3.15c.2-.2.5-.2.7 0L8 6.29l1.15-1.14a.5.5 0 1 1 .7.7L8.71 7l1.14 1.15a.5.5 0 0 1-.7.7L8 7.71 6.85 8.85a.5.5 0 1 1-.7-.7L7.29 7 6.15 5.85a.5.5 0 0 1 0-.7Z"})),comment:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 5a.5.5 0 1 0 0 1h7a.5.5 0 0 0 0-1h-7ZM3 8.5c0-.27.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12.5 12H5.7l-1.85 1.86a.5.5 0 0 1-.35.14.5.5 0 0 1-.5-.5V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5ZM2 11V3h10v8H2Z"})),commentadd:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 5a.5.5 0 1 0-1 0v1.5H5a.5.5 0 1 0 0 1h1.5V9a.5.5 0 0 0 1 0V7.5H9a.5.5 0 0 0 0-1H7.5V5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),requestchange:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.85 6.65c.2.2.2.51 0 .7l-2 2a.5.5 0 1 1-.7-.7L8.3 7.5H4.5a.5.5 0 0 1 0-1h3.79L7.15 5.36a.5.5 0 1 1 .7-.71l2 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),comments:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.5 7a.5.5 0 0 0 0-1h-5a.5.5 0 1 0 0 1h5ZM9 8.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h5c.28 0 .5.23.5.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 11.5V10h1.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5H2v1.5a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.14L4.71 12h6.79a.5.5 0 0 0 .5-.5ZM3 3V2h10v7h-1V3.5a.5.5 0 0 0-.5-.5H3Zm-2 8V4h10v7H1Z"})),lock:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8 8a1 1 0 0 1-.5.87v1.63a.5.5 0 0 1-1 0V8.87A1 1 0 1 1 8 8Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3 4a4 4 0 1 1 8 0v1h1.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4Zm7 1V4a3 3 0 1 0-6 0v1h6Zm2 1H2v7h10V6Z"})),unlock:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.5 8.87a1 1 0 1 1 1 0v1.63a.5.5 0 0 1-1 0V8.87Z"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 0 0-3 3v1h8.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4a4 4 0 0 1 7.76-1.38.5.5 0 0 1-.94.34A3 3 0 0 0 7 1ZM2 6h10v7H2V6Z"})),key:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7.5 8.53v.97a.5.5 0 0 1-.5.5H5.5v1.5a.5.5 0 0 1-.5.5H3.5v1.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .15-.36l5.12-5.11a4.5 4.5 0 1 1 2.23 2.5ZM6 4.5a3.5 3.5 0 1 1 1.5 2.87c-.29-.2-1-.37-1 .48V9H5a.5.5 0 0 0-.5.5V11H3a.5.5 0 0 0-.5.5V13H1v-1.3l5.2-5.19c.15-.16.18-.4.1-.6A3.47 3.47 0 0 1 6 4.5Z"})),outbox:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.35.15a.5.5 0 0 0-.7 0l-2 2a.5.5 0 1 0 .7.7L6.5 1.72v6.8a.5.5 0 0 0 1 0V1.7l1.15 1.15a.5.5 0 1 0 .7-.71l-2-2Z"}),a.createElement("path",{d:"M2 7.5a.5.5 0 1 0-1 0v5c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-1 0V12H2V7.5Z"})),credit:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 8a.5.5 0 1 0 0 1h3a.5.5 0 0 0 0-1h-3Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 11.5c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0-.5.5v9ZM1 3v1h12V3H1Zm0 8h12V6H1v5Z"})),button:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h3.5a.5.5 0 1 0 0-1H1V4h12v5h-1a.5.5 0 0 0 0 1h1a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H1Z"}),a.createElement("path",{d:"M6.45 7a.5.5 0 0 1 .3.08l3.48 2.02a.5.5 0 0 1 0 .87l-1.08.62.75 1.3a.75.75 0 0 1-1.3.75l-.75-1.3-1.07.62a.5.5 0 0 1-.67-.13.5.5 0 0 1-.1-.3L6 7.5a.5.5 0 0 1 .45-.5Z"})),type:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 1.5c0-.27.22-.5.5-.5h5a.5.5 0 1 1 0 1h-2v10h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2V2h-2a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{d:"M0 4.5c0-.27.22-.5.5-.5h4a.5.5 0 1 1 0 1H1v4h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-5ZM9.5 4a.5.5 0 1 0 0 1H13v4H9.5a.5.5 0 1 0 0 1h4a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-4Z"})),pointerdefault:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.94 12.46c.11 0 .2-.06.25-.15l1.58-3.16 2.54 2.54c.04.05.1.07.19.07a.3.3 0 0 0 .2-.07l.8-.8a.27.27 0 0 0 0-.38L8.9 7.9l3.4-1.7c.06-.03.1-.07.12-.11a.22.22 0 0 0 .04-.14.33.33 0 0 0-.06-.16.17.17 0 0 0-.09-.07h-.02L1.91 1.55a.27.27 0 0 0-.35.36l4.15 10.37c.04.09.12.16.23.17Zm-.03 1h-.02a1.28 1.28 0 0 1-1.1-.8L.62 2.29A1.27 1.27 0 0 1 2.3.63l10.35 4.15c.52.18.79.65.81 1.11.04.53-.27.98-.7 1.2l-2.17 1.08L12.2 9.8c.5.5.5 1.3 0 1.8l-.8.8v.01c-.5.46-1.3.48-1.8-.01l-1.56-1.56-.95 1.92c-.23.45-.68.7-1.15.7h-.03Z"})),pointerhand:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.87 6v-.02c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47V5.17a.6.6 0 0 0 0-.05c-.02-.27-.23-.5-.47-.5a.5.5 0 0 0-.52.5v1.65l-.01.1a.49.49 0 0 1-.46.37.48.48 0 0 1-.47-.47V4.62a.6.6 0 0 0 0-.05c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 0 1-.47-.47V1.75c-.02-.27-.22-.5-.47-.5a.5.5 0 0 0-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47v-.26a.78.78 0 0 0-.06-.31.65.65 0 0 0-.16-.22l-.2-.19A6.37 6.37 0 0 0 3.06 7h-.02c-.43-.34-.62-.25-.69-.2-.26.14-.29.5-.13.74l1.73 2.6v.01h-.01l-.04.02.05-.02s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.04-.6.04-1.19.03-1.78V6Zm.97 2.38c-.06 1.29-.26 2.67-1.08 3.72-.88 1.12-2.29 1.65-4.23 1.65a4.64 4.64 0 0 1-3.4-1.62 6.96 6.96 0 0 1-1.05-1.5v-.02L1.4 8.1A1.6 1.6 0 0 1 1.15 7c.05-.38.26-.8.69-1.04.2-.13.48-.23.85-.19.36.05.68.22.98.45.14.1.27.22.4.33v-4.8A1.5 1.5 0 0 1 5.63.25c.93.04 1.43.86 1.43 1.55v1.33c.17-.05.35-.07.53-.06h.02c.5.04.91.33 1.15.71a1.5 1.5 0 0 1 .74-.16c.66.03 1.12.46 1.32.97a1.5 1.5 0 0 1 .64-.1h.02c.85.06 1.39.8 1.39 1.55v.48c0 .6 0 1.24-.03 1.86Z"})),browser:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5H.5Zm.5-1V4h12v8H1Zm1-9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),tablet:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0C2.67 0 2 .68 2 1.5v11c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-11c0-.82-.67-1.5-1.5-1.5h-7Zm0 1h7c.28 0 .5.23.5.5V11H3V1.5c0-.27.22-.5.5-.5ZM6 12a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1H6Z"})),mobile:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 1.5C3 .68 3.67 0 4.5 0h5c.83 0 1.5.68 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 3 12.5v-11ZM4 12V2h6v10H4Z"})),watch:a.createElement(a.Fragment,null,a.createElement("path",{key:"watch",fillRule:"evenodd",d:"M4 .5c0-.27.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5A.5.5 0 0 1 4 .5ZM9.5 3h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Zm-5-1C3.67 2 3 2.68 3 3.5v7c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-7c0-.82-.67-1.5-1.5-1.5h-5ZM7 4c.28 0 .5.23.5.5v2h1a.5.5 0 1 1 0 1H7a.5.5 0 0 1-.5-.5V4.5c0-.27.22-.5.5-.5Zm-2.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"})),sidebar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2ZM6 2h6v10H6V2Z"})),sidebaralt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5ZM10 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h6v10H2ZM9 2h3v10H9V2Z"})),sidebaralttoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 4.5A.5.5 0 0 0 11 4h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5ZM11 6a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1h1Zm.5 2.5A.5.5 0 0 0 11 8h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11ZM9 12h3V2H9v10Zm-1 0H2V2h6v4.5H5.2l.66-.65a.5.5 0 1 0-.71-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7l-.64-.65H8V12Z"})),sidebartoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2Zm4 0V7.5h2.8l-.65.65a.5.5 0 1 0 .7.7l1.5-1.5a.5.5 0 0 0 0-.7l-1.5-1.5a.5.5 0 1 0-.7.7l.64.65H6V2h6v10H6Z"})),bottombar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3 10.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 8V2h10v6H2Zm10 1v3H2V9h10Z"})),bottombartoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 10a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 12.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5Zm1-.5V9h10v3H2Zm4.5-4H2V2h10v6H7.5V5.21l.65.65a.5.5 0 1 0 .7-.71l-1.5-1.5a.5.5 0 0 0-.7 0l-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64v2.8Z"})),cpu:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M5 5.5c0-.27.22-.5.5-.5h3c.28 0 .5.23.5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3ZM6 8V6h2v2H6Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.5 0c.28 0 .5.23.5.5V2h2V.5a.5.5 0 0 1 1 0V2h2.5c.28 0 .5.23.5.5V5h1.5a.5.5 0 0 1 0 1H12v2h1.5a.5.5 0 0 1 0 1H12v2.5a.5.5 0 0 1-.5.5H9v1.5a.5.5 0 0 1-1 0V12H6v1.5a.5.5 0 0 1-1 0V12H2.5a.5.5 0 0 1-.5-.5V9H.5a.5.5 0 0 1 0-1H2V6H.5a.5.5 0 0 1 0-1H2V2.5c0-.27.22-.5.5-.5H5V.5c0-.27.22-.5.5-.5ZM11 3H3v8h8V3Z"})),database:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12 3c0-1.1-2.24-2-5-2s-5 .9-5 2v8c0 .43.26.75.54.98.3.23.68.41 1.12.55.88.3 2.06.47 3.34.47 1.28 0 2.46-.17 3.34-.46.44-.15.83-.33 1.12-.56.28-.23.54-.55.54-.98V3Zm-1.03 0a2.45 2.45 0 0 0-.8-.49A8.88 8.88 0 0 0 7 2c-1.29 0-2.4.21-3.16.51a2.45 2.45 0 0 0-.81.49l.05.05c.13.13.37.28.76.44C4.6 3.79 5.7 4 7 4s2.4-.21 3.16-.51a2.45 2.45 0 0 0 .81-.49ZM11 5.75V4.2A8.9 8.9 0 0 1 7 5a8.98 8.98 0 0 1-4-.8v1.55l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 6.75a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03v-.01ZM3 7.01c.2.1.42.2.66.28.88.29 2.06.46 3.34.46 1.28 0 2.46-.17 3.34-.46.24-.08.46-.17.66-.28V8.5l-.02.04a.62.62 0 0 1-.14.15c-.17.13-.44.27-.82.4A10 10 0 0 1 7 9.5a10 10 0 0 1-3.02-.41 2.76 2.76 0 0 1-.82-.4.62.62 0 0 1-.14-.15.15.15 0 0 1-.02-.03V7Zm0 2.75V11l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 12a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03V9.76c-.2.1-.42.2-.66.28-.88.29-2.06.46-3.34.46-1.28 0-2.46-.17-3.34-.46A4.77 4.77 0 0 1 3 9.76Z"})),memory:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 3a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0V3Zm2-.5c.28 0 .5.22.5.5v3a.5.5 0 0 1-1 0V3c0-.28.22-.5.5-.5Zm3 2a.5.5 0 1 0-1 0V6a.5.5 0 0 0 1 0V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 3.54a.5.5 0 0 0-.15-.39l-3-3a.5.5 0 0 0-.38-.14H2.5a.5.5 0 0 0-.5.5v13c0 .27.22.5.5.5h9a.5.5 0 0 0 .5-.5V3.53ZM3 1h5.3L11 3.71v5.3H3V1Zm0 9v3h8v-3H3Z"})),structure:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.16 3.45a1.5 1.5 0 1 0-2.33 0l-4.02 6.58A1.5 1.5 0 1 0 2.91 12h8.18a1.5 1.5 0 1 0 1.1-1.97L8.16 3.45Zm-1.47.52a1.5 1.5 0 0 0 .62 0l4.03 6.58c-.11.14-.2.29-.25.45H2.9a1.5 1.5 0 0 0-.25-.45L6.7 3.97Z"})),box:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m7.21.05 6.49 2.99a.5.5 0 0 1 .3.47v6.98a.5.5 0 0 1-.3.47l-6.47 2.98a.5.5 0 0 1-.46 0L.3 10.96a.5.5 0 0 1-.3-.47V3.5a.5.5 0 0 1 .3-.47L6.79.05a.5.5 0 0 1 .43 0ZM1 4.28v5.9l5.5 2.54v-5.9L1 4.28Zm6.5 8.44 5.5-2.54v-5.9L7.5 6.82v5.9Zm4.8-9.22L7 5.95 1.7 3.5 7 1.05l5.3 2.45Z"})),power:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0v-6Z"}),a.createElement("path",{d:"M4.27 2.8a.5.5 0 0 0-.54-.83 6 6 0 1 0 6.54 0 .5.5 0 0 0-.54.84 5 5 0 1 1-5.46 0Z"})),photo:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6.25 4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M13 1.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5ZM2 9.3V2h10v5.3L9.85 5.15a.5.5 0 0 0-.7 0L6.5 7.8 5.35 6.65a.5.5 0 0 0-.7 0L2 9.3Zm7.5-3.1L12 8.7V12H2v-1.3l3-3 3.15 3.15a.5.5 0 0 0 .7-.71L7.21 8.5 9.5 6.21Z"})),component:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 1A2.5 2.5 0 0 0 1 3.5v7A2.5 2.5 0 0 0 3.5 13h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 10.5 1h-7ZM12 6.5H7.5V2h3c.83 0 1.5.68 1.5 1.5v3Zm0 1v3c0 .83-.67 1.5-1.5 1.5h-3V7.5H12ZM6.5 12V7.5H2v3c0 .83.67 1.5 1.5 1.5h3ZM2 6.5h4.5V2h-3C2.67 2 2 2.68 2 3.5v3Z"})),grid:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5H6c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H1.5A.5.5 0 0 1 1 6V1.5Zm1 4V2h3.5v3.5H2Zm5.5-4c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V1.5Zm1 4V2H12v3.5H8.5Zm-7 2A.5.5 0 0 0 1 8v4.5c0 .28.22.5.5.5H6a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5H1.5Zm.5 1V12h3.5V8.5H2ZM7.5 8c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5v4.5a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V8Zm1 4V8.5H12V12H8.5Z"})),outline:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 2v2H1V1.5c0-.27.22-.5.5-.5H4v1H2ZM1 9V5h1v4H1Zm0 1v2.5c0 .28.22.5.5.5H4v-1H2v-2H1Zm9 3h2.5a.5.5 0 0 0 .5-.5V10h-1v2h-2v1Zm2-9h1V1.5a.5.5 0 0 0-.5-.5H10v1h2v2Zm-3 8v1H5v-1h4ZM9 1v1H5V1h4Zm4 8h-1V5h1v4ZM7 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})),photodrag:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.25 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5V6h1V4h2v6.5c0 .28.22.5.5.5H10v2H8v1h2.5a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V7ZM4 1v5.8l1.65-1.65c.2-.2.5-.2.7 0L7.5 6.3l2.65-2.65c.2-.2.5-.2.7 0L13 5.8V1H4Zm9 6.21-2.5-2.5-2.3 2.3 1.15 1.14a.5.5 0 1 1-.7.7L6 6.22l-2 2v1.8h9V7.2Z"}),a.createElement("path",{d:"M0 10V7h1v3H0Zm0 3.5V11h1v2h2v1H.5a.5.5 0 0 1-.5-.5Zm7 .5H4v-1h3v1Z"})),search:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoom:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6 3.5c.28 0 .5.22.5.5v1.5H8a.5.5 0 0 1 0 1H6.5V8a.5.5 0 0 1-1 0V6.5H4a.5.5 0 0 1 0-1h1.5V4c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoomout:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 5.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M6 11.5c1.35 0 2.59-.49 3.54-1.3.03.06.06.11.1.15l3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1A5.5 5.5 0 1 0 6 11.5Zm0-1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"})),zoomreset:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 2.84V1.5a.5.5 0 0 0-1 0V4c0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H2.26a4.5 4.5 0 1 1-.5 4.02.5.5 0 1 0-.94.33 5.5 5.5 0 0 0 8.72 2.36l.1.14 3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1 5.5 5.5 0 1 0-8.7-6.7Z"})),eye:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"}),a.createElement("path",{fillRule:"evenodd",d:"m14 7-.2.3c-.13.16-3.06 4.2-6.8 4.2C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3C.34 6.55 3.27 2.5 7 2.5c3.74 0 6.67 4.04 6.8 4.2l.2.3ZM2.9 5.3A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8 1.52 0 2.96-.83 4.1-1.8A13 13 0 0 0 12.76 7a13 13 0 0 0-1.66-1.7C9.96 4.33 8.52 3.5 7 3.5c-1.52 0-2.96.83-4.1 1.8Z"})),eyeclose:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11ZM11.1 8.7c-.17.15-.36.3-.55.44l.72.71a13.25 13.25 0 0 0 2.52-2.56L14 7l-.2-.3c-.13-.16-3.06-4.2-6.8-4.2-.89 0-1.73.23-2.5.58l.76.76A4.86 4.86 0 0 1 7 3.5c1.52 0 2.96.83 4.1 1.8A13 13 0 0 1 12.76 7a13 13 0 0 1-1.66 1.7ZM.2 6.7c.08-.09 1.04-1.41 2.53-2.55l.72.71c-.2.14-.38.3-.55.44A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8.6 0 1.18-.13 1.74-.34l.77.76c-.78.35-1.62.58-2.51.58C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3Z"}),a.createElement("path",{d:"M4.5 7c0-.32.06-.63.17-.91l3.24 3.24A2.5 2.5 0 0 1 4.5 7Zm4.83.91L6.09 4.67a2.5 2.5 0 0 1 3.24 3.24Z"})),lightning:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .28.09.5.5 0 0 0 .35-.14L11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L2.52 6.6Zm7.72.63-3.07-.8 1.85-4.14-5.2 4.51 2.94.77-1.27 4.28 4.75-4.62Zm-5.73 6.2.04.02Z"})),lightningoff:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.14 8.72 11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L5.46 4.05l.71.7L9.02 2.3 7.38 5.97l.7.7 2.16.56-.8.79.7.7ZM2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .63-.05l3.84-3.74-.7-.7-2.51 2.43 1.13-3.81-.68-.69L3.8 6.8l.85-.73-.71-.7L2.52 6.6Zm-.67-5.45a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),contrast:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h10a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3Zm1 1v2.3L6.3 4H4ZM3 4v6.5a.5.5 0 0 0 .5.5H10v2H1V4h2Zm1-1h6.5a.5.5 0 0 1 .5.5V10h2V1H4v2Zm6 7V7.71l-2.3 2.3H10Zm0-3.7V4.7L4.7 10h1.6L10 6.3ZM9.3 4H7.7L4 7.71V9.3L9.3 4Z"})),switchalt:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 3V.5c0-.27.22-.5.5-.5h10c.28 0 .5.23.5.5v10a.5.5 0 0 1-.5.5H11v2.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-10c0-.27.22-.5.5-.5H3Zm1 0V1h9v9h-2V3.5a.5.5 0 0 0-.5-.5H4Zm6 8v2H1V4h2v6.5c0 .28.22.5.5.5H10Zm0-1H4V4h6v6Z"})),mirror:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12h10V2L2 12Z"})),grow:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1a.5.5 0 1 0 0 1H12v10.5a.5.5 0 0 0 1 0V2a1 1 0 0 0-1-1H1.5Z"}),a.createElement("path",{d:"M1 3.5c0-.27.22-.5.5-.5H10a1 1 0 0 1 1 1v8.5a.5.5 0 0 1-1 0V4H1.5a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7ZM2 6v6h6V6H2Z"})),paintbrush:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.8535.1464a.5.5 0 0 0-.7071 0L2.9827 8.3102a2.2396 2.2396 0 0 0-1.0737.599C.6772 10.141.2402 11.903.0852 12.9978 0 13.5998 0 14.0002 0 14.0002s.4004 0 1.0023-.0853c1.095-.155 2.8569-.5919 4.0887-1.8237.307-.307.5067-.6806.5992-1.0743l8.1633-8.1633a.5.5 0 0 0 0-.7071l-2-2Zm-6.253 9.546L6.543 8.75l-1.293-1.2929-.9424.9424a2.242 2.242 0 0 1 .7835.5097c.23.2302.4.4977.5095.7831ZM7.25 8.0428 12.7929 2.5 11.5 1.2071 5.957 6.75 7.25 8.0429ZM4.3839 9.6163c.4881.4882.4881 1.2796 0 1.7678-.7665.7664-1.832 1.1845-2.7791 1.403a8.6972 8.6972 0 0 1-.49.0982 8.7151 8.7151 0 0 1 .0982-.4899c.2186-.9471.6367-2.0126 1.403-2.779.4882-.4882 1.2797-.4882 1.7679 0Z"})),ruler:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1c.28 0 .5.23.5.5V2h10v-.5a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0V3H2v.5a.5.5 0 0 1-1 0v-2c0-.27.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 6a.5.5 0 0 0-.5.5v6c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-11ZM2 7v5h10V7h-1v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H7.5v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H4v2.5a.5.5 0 0 1-1 0V7H2Z"})),stop:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 4a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),camera:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 7a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2.5 1a.5.5 0 0 0-.5.5V2H.5a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H6v-.5a.5.5 0 0 0-.5-.5h-3ZM1 3v8h12V3H1Z"})),video:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 10a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 4c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v.5l3.19-2.4a.5.5 0 0 1 .81.4v9a.5.5 0 0 1-.8.4L10 9.5v.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm9 0v1.5a.5.5 0 0 0 .8.4L13 3.5v7L9.8 8.1a.5.5 0 0 0-.8.4V10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1Z"})),speaker:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 4.50004V9.50004C1 9.77618 1.22386 10 1.5 10H4L7.17075 12.7744C7.49404 13.0573 8 12.8277 8 12.3982V1.60192C8 1.17235 7.49404 0.942757 7.17075 1.22564L4 4.00004H1.5C1.22386 4.00004 1 4.2239 1 4.50004ZM4 9.00004V5.00004H2V9.00004H4ZM4.99804 9.54456C4.99934 9.52989 5 9.51505 5 9.50004V4.50004C5 4.48504 4.99934 4.47019 4.99804 4.45552L7 2.70381V11.2963L4.99804 9.54456Z"}),a.createElement("path",{d:"M10.1498 1.75202C9.88637 1.66927 9.60572 1.81577 9.52297 2.07922C9.44023 2.34267 9.58672 2.62332 9.85017 2.70607C11.6763 3.27963 13 4.98596 13 7.00014C13 9.01433 11.6763 10.7207 9.85017 11.2942C9.58672 11.377 9.44023 11.6576 9.52297 11.9211C9.60572 12.1845 9.88637 12.331 10.1498 12.2483C12.3808 11.5476 14 9.4636 14 7.00014C14 4.53669 12.3808 2.45272 10.1498 1.75202Z"}),a.createElement("path",{d:"M10.2504 3.96861C10.0113 3.83033 9.70547 3.91201 9.5672 4.15105C9.42893 4.39008 9.51061 4.69594 9.74964 4.83421C10.4982 5.26723 11 6.07534 11 7.00006C11 7.92479 10.4982 8.7329 9.74964 9.16591C9.51061 9.30418 9.42893 9.61005 9.5672 9.84908C9.70547 10.0881 10.0113 10.1698 10.2504 10.0315C11.2952 9.42711 12 8.29619 12 7.00006C12 5.70394 11.2952 4.57302 10.2504 3.96861Z"})),play:a.createElement(a.Fragment,null,a.createElement("path",{d:"m12.81 7.43-9.05 5.6A.5.5 0 0 1 3 12.6V1.4c0-.4.43-.63.76-.43l9.05 5.6a.5.5 0 0 1 0 .86Z"})),playback:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.24 12.04 3.7 7.42a.5.5 0 0 1-.2-.23v4.05a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0V6.8a.5.5 0 0 1 .2-.23l7.54-4.6a.5.5 0 0 1 .76.42v9.22a.5.5 0 0 1-.76.43Z"})),playnext:a.createElement(a.Fragment,null,a.createElement("path",{d:"m2.76 12.04 7.54-4.61a.5.5 0 0 0 .2-.23v4.05a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0V6.8a.5.5 0 0 0-.2-.23l-7.54-4.6a.5.5 0 0 0-.76.42v9.22c0 .39.43.63.76.43Z"})),rewind:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9 2.42v2.32L13.23 2a.5.5 0 0 1 .77.42v9.16a.5.5 0 0 1-.77.42L9 9.26v2.32a.5.5 0 0 1-.77.42L1.5 7.65v3.6a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0v3.6L8.23 2a.5.5 0 0 1 .77.42Z"})),fastforward:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.42v2.32L.77 2a.5.5 0 0 0-.77.42v9.16c0 .4.44.64.77.42L5 9.26v2.32c0 .4.44.64.77.42l6.73-4.35v3.6a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0v3.6L5.77 2a.5.5 0 0 0-.77.42Z"})),stopalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11Z"})),sidebyside:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12V2h5v10H2Z"})),stacked:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12.5 1c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11ZM2 2h10v5H2V2Z"})),sun:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0V2a.5.5 0 0 0 1 0V.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),a.createElement("path",{d:"M7 11.5c.28 0 .5.22.5.5v1.5a.5.5 0 0 1-1 0V12c0-.28.22-.5.5-.5ZM11.5 7c0-.28.22-.5.5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5ZM.5 6.5a.5.5 0 0 0 0 1H2a.5.5 0 0 0 0-1H.5ZM3.82 10.18c.2.2.2.51 0 .7l-1.06 1.07a.5.5 0 1 1-.71-.7l1.06-1.07c.2-.2.51-.2.7 0ZM11.95 2.76a.5.5 0 1 0-.7-.71l-1.07 1.06a.5.5 0 1 0 .7.7l1.07-1.05ZM10.18 10.18c.2-.2.51-.2.7 0l1.07 1.06a.5.5 0 1 1-.7.71l-1.07-1.06a.5.5 0 0 1 0-.7ZM2.76 2.05a.5.5 0 1 0-.71.7l1.06 1.07a.5.5 0 0 0 .7-.7L2.77 2.04Z"})),moon:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7.78.04a7.03 7.03 0 0 0-4.28.9 7 7 0 1 0 9.87 8.96c.1-.21-.14-.41-.36-.32a4.98 4.98 0 0 1-2 .42A5 5 0 0 1 8.53.65c.2-.12.19-.44-.04-.49a7.04 7.04 0 0 0-.72-.12Zm-1.27.98a6 6 0 0 0 4.98 9.96 6 6 0 1 1-4.98-9.96Z"})),book:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M13 2a2 2 0 0 0-2-2H1.5a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5H11a2 2 0 0 0 2-2V2ZM3 13h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H7v6a.5.5 0 0 1-.86.36L5.5 6.7l-.65.65A.5.5 0 0 1 4 7V1H3v12ZM5 1v4.8l.15-.15a.5.5 0 0 1 .74.04l.11.1V1H5Z"})),document:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 5.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM4 10.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 0a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5V3.2a.5.5 0 0 0-.15-.35l-2.7-2.7A.5.5 0 0 0 9.79 0H1.5ZM2 1h7.5v2c0 .28.22.5.5.5h2V13H2V1Z"})),copy:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.75.07A.5.5 0 0 0 11.5 0h-6a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5V11h4.5a.5.5 0 0 0 .5-.5V2.51a.5.5 0 0 0-.15-.36l-2-2a.5.5 0 0 0-.1-.08ZM9 10h4V3h-1.5a.5.5 0 0 1-.5-.5V1H6v2h.5a.5.5 0 0 1 .36.15l1.99 2c.1.09.15.21.15.35v4.51ZM1 4v9h7V6H6.5a.5.5 0 0 1-.5-.5V4H1Z"})),category:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3 1.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-1 2c0-.27.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 5.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7ZM2 12V6h10v6H2Z"})),folder:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6.59 3.5 5.09 2H1v9h12V3.5H6.59Zm.41-1L5.8 1.3a1 1 0 0 0-.71-.3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H7Z"})),print:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 8a.5.5 0 1 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2 1.5c0-.27.22-.5.5-.5h8a.5.5 0 0 1 .36.15l.99 1c.1.09.15.21.15.35v1.51h1.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-.5.5H12v2.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10H.5a.5.5 0 0 1-.5-.5v-5c0-.28.22-.5.5-.5H2V1.5ZM13 9h-1V6.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V9H1V5h12v4Zm-2-6v1H3V2h7v.5c0 .28.22.5.5.5h.5Zm-8 9h8V7H3v5Z"})),graphline:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.15 6.15c.2-.2.5-.2.7 0L7 7.3l2.15-2.15c.2-.2.5-.2.7 0l1 1a.5.5 0 0 1-.7.7l-.65-.64-2.15 2.15a.5.5 0 0 1-.7 0L5.5 7.2 3.85 8.86a.5.5 0 1 1-.7-.71l2-2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 1a.5.5 0 0 0-.5.5v11c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-11ZM2 2v10h10V2H2Z"})),calendar:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0c.28 0 .5.22.5.5V1h6V.5a.5.5 0 0 1 1 0V1h1.5c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.28.22-.5.5-.5H3V.5c0-.28.22-.5.5-.5ZM2 4v2.3h3V4H2Zm0 5.2V6.8h3v2.4H2Zm0 .5V12h3V9.7H2Zm3.5 0V12h3V9.7h-3Zm3.5 0V12h3V9.7H9Zm3-.5H9V6.8h3v2.4Zm-3.5 0h-3V6.8h3v2.4ZM9 4v2.3h3V4H9ZM5.5 6.3h3V4h-3v2.3Z"})),graphbar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12 2.5a.5.5 0 0 0-1 0v10a.5.5 0 0 0 1 0v-10Zm-3 2a.5.5 0 0 0-1 0v8a.5.5 0 0 0 1 0v-8ZM5.5 7c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5ZM3 10.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2Z"})),menu:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13 2a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-3 3a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h9Zm1.5 3.5A.5.5 0 0 0 11 8H1a.5.5 0 0 0 0 1h10a.5.5 0 0 0 .5-.5Zm-4 2.5a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h6.5Z"})),menualt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm3 3a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H4ZM2.5 8.5c0-.28.22-.5.5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5Zm4 2.5a.5.5 0 0 0 0 1H13a.5.5 0 0 0 0-1H6.5Z"})),filter:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm2 3a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1H3Zm1.5 3.5c0-.28.22-.5.5-.5h4a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5Zm2 2.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"})),docchart:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5C1 1.22386 1.22386 1 1.5 1H12.5C12.7761 1 13 1.22386 13 1.5V12.5C13 12.7761 12.7761 13 12.5 13H1.5C1.22386 13 1 12.7761 1 12.5V1.5ZM2 4V6.2998H5V4H2ZM2 9.2002V6.7998H5V9.2002H2ZM2 9.7002V12H5V9.7002H2ZM5.5 9.7002V12H8.5V9.7002H5.5ZM9 9.7002V12H12V9.7002H9ZM12 9.2002H9V6.7998H12V9.2002ZM8.5 9.2002H5.5V6.7998H8.5V9.2002ZM9 6.2998H12V4H9V6.2998ZM5.5 6.2998H8.5V4H5.5V6.2998Z"})),doclist:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5ZM4 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 4v8h10V4H2Z"})),markup:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.98 1.63a.5.5 0 0 0-.96-.26l-3 11a.5.5 0 1 0 .96.26l3-11ZM3.32 3.62a.5.5 0 0 1 .06.7L1.15 7l2.23 2.68a.5.5 0 1 1-.76.64l-2.5-3a.5.5 0 0 1 0-.64l2.5-3a.5.5 0 0 1 .7-.06Zm7.36 0a.5.5 0 0 0-.06.7L12.85 7l-2.23 2.68a.5.5 0 0 0 .76.64l2.5-3a.5.5 0 0 0 0-.64l-2.5-3a.5.5 0 0 0-.7-.06Z"})),bold:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 0 0 1.8-5.4A2.74 2.74 0 0 0 8 2H3Zm5 5.5H5.5v3H8a1.5 1.5 0 1 0 0-3Zm-.25-4H5.5V6h2.25a1.25 1.25 0 1 0 0-2.5Z"})),italic:a.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2Z"}),paperclip:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.55 2.27a1.5 1.5 0 0 0-2.12 0L2.78 7.92a2.5 2.5 0 0 0 3.53 3.54l3.54-3.54a.5.5 0 1 1 .7.71l-3.53 3.54a3.5 3.5 0 0 1-4.96-4.94v-.01l5.66-5.66h.01a2.5 2.5 0 0 1 3.53 3.53L5.6 10.76a1.5 1.5 0 0 1-2.12-2.12L7.02 5.1a.5.5 0 1 1 .7.7L4.2 9.34a.5.5 0 0 0 .7.7l5.66-5.65a1.5 1.5 0 0 0 0-2.12Z"})),listordered:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm.5 4a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm-3-9H1v1h1v3h1V2.5a.5.5 0 0 0-.5-.5ZM3 8.5v1a.5.5 0 0 1-1 0V9h-.5a.5.5 0 0 1 0-1h1c.28 0 .5.22.5.5Zm-1 2a.5.5 0 0 0-1 0V12h2v-1H2v-.5Z"})),listunordered:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.75 2.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM5.5 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 9a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM2 12.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm-3 .75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"})),paragraph:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6 7a3 3 0 1 1 0-6h5.5a.5.5 0 0 1 0 1H10v10.5a.5.5 0 0 1-1 0V2H7v10.5a.5.5 0 0 1-1 0V7Z"})),markdown:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 4.5h1.5L5 6.38 6.5 4.5H8v5H6.5V7L5 8.88 3.5 7v2.5H2v-5Zm7.75 0h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M.5 2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5ZM1 3v8h12V3H1Z"})),repository:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.5C5 2.77614 4.77614 3 4.5 3C4.22386 3 4 2.77614 4 2.5C4 2.22386 4.22386 2 4.5 2C4.77614 2 5 2.22386 5 2.5Z"}),a.createElement("path",{d:"M4.5 5C4.77614 5 5 4.77614 5 4.5C5 4.22386 4.77614 4 4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5Z"}),a.createElement("path",{d:"M5 6.5C5 6.77614 4.77614 7 4.5 7C4.22386 7 4 6.77614 4 6.5C4 6.22386 4.22386 6 4.5 6C4.77614 6 5 6.22386 5 6.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M11 0C12.1046 0 13 0.895431 13 2V12C13 13.1046 12.1046 14 11 14H1.5C1.22386 14 1 13.7761 1 13.5V0.5C1 0.223857 1.22386 0 1.5 0H11ZM11 1H3V13H11C11.5523 13 12 12.5523 12 12V2C12 1.44772 11.5523 1 11 1Z"})),commit:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.03 7.5a4 4 0 0 0 7.94 0h2.53a.5.5 0 0 0 0-1h-2.53a4 4 0 0 0-7.94 0H.5a.5.5 0 0 0 0 1h2.53ZM7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"})),branch:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6 2.5c0 .65-.42 1.2-1 1.41v4.06A3.36 3.36 0 0 1 7.5 7a2.7 2.7 0 0 0 1.81-.56c.22-.18.38-.4.48-.62a1.5 1.5 0 1 1 1.03.15c-.16.42-.43.87-.86 1.24-.57.47-1.37.79-2.46.79-1.04 0-1.64.42-2 .92-.26.37-.4.8-.47 1.18A1.5 1.5 0 1 1 4 10.09V3.9a1.5 1.5 0 1 1 2-1.4Zm-2 9a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm1-9a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm6 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),pullrequest:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.35 1.35 7.71 2h.79A2.5 2.5 0 0 1 11 4.5v5.59a1.5 1.5 0 1 1-1 0V4.5C10 3.67 9.33 3 8.5 3h-.8l.65.65a.5.5 0 1 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7ZM11 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM4 3.91a1.5 1.5 0 1 0-1 0v6.18a1.5 1.5 0 1 0 1 0V3.9ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm0-8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),merge:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M4.1 3.87a1.5 1.5 0 1 0-1.1.04v6.18a1.5 1.5 0 1 0 1 0V6.4c.26.4.57.77.93 1.08A6.57 6.57 0 0 0 9.08 9a1.5 1.5 0 1 0 0-1 5.57 5.57 0 0 1-3.5-1.25 4.74 4.74 0 0 1-1.47-2.87ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM4 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm7 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),apple:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.03 8.1a3.05 3.05 0 0 1-.2-1.74 2.7 2.7 0 0 1 1.4-1.94 3.13 3.13 0 0 0-2.35-1.4c-.84-.08-2.01.56-2.65.57h-.02c-.63 0-1.81-.65-2.64-.57-.42.04-1.75.32-2.55 1.6-.28.44-.5 1.01-.58 1.74a6.36 6.36 0 0 0 .02 1.74 7.5 7.5 0 0 0 1.35 3.33c.7 1.01 1.51 1.6 1.97 1.6.93.02 1.74-.6 2.41-.6l.02.01h.04c.67-.02 1.48.61 2.42.6.45-.02 1.26-.6 1.97-1.6a7.95 7.95 0 0 0 .97-1.86 2.6 2.6 0 0 1-1.58-1.48ZM8.86 2.13c.72-.85.7-2.07.63-2.12-.07-.06-1.25.16-1.99.98a2.78 2.78 0 0 0-.62 2.13c.06.05 1.27-.14 1.98-.99Z"})),linux:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 0a3 3 0 0 1 3 3v1.24c.13.13.25.27.36.42l.52.43.2.15c.32.26.7.59 1.09.97A6.28 6.28 0 0 1 14 9.54a.5.5 0 0 1-.35.44c-.31.1-.8.18-1.34.13-.33-.03-.7-.12-1.05-.3-.04.17-.1.34-.17.51a2 2 0 1 1-2.89 2.56 5.5 5.5 0 0 1-2.4 0 2 2 0 1 1-2.9-2.56 5.56 5.56 0 0 1-.16-.51c-.35.18-.72.27-1.05.3a3.4 3.4 0 0 1-1.34-.13.5.5 0 0 1-.35-.44l.01-.14a6.28 6.28 0 0 1 1.82-3.2 13.42 13.42 0 0 1 1.3-1.11c.22-.19.4-.32.5-.43.12-.15.24-.29.37-.42V3a3 3 0 0 1 3-3Zm1 11.9a2 2 0 0 1 2.14-1.9 5.5 5.5 0 0 0 .36-2c0-.51-.1-1.07-.3-1.6l-.03-.02a4.4 4.4 0 0 0-.86-.42 6.71 6.71 0 0 0-1-.31l-.86.64c-.27.2-.63.2-.9 0l-.85-.64a6.72 6.72 0 0 0-1.87.73l-.03.02A4.6 4.6 0 0 0 3.5 8c0 .68.11 1.39.36 2H4a2 2 0 0 1 2 1.9 4.49 4.49 0 0 0 2 0ZM5 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.1 4.3a1.5 1.5 0 0 1 1.8 0l.27.2L7 5.38 5.83 4.5l.27-.2ZM8.5 2c.28 0 .5.22.5.5V3a.5.5 0 0 1-1 0v-.5c0-.28.22-.5.5-.5ZM6 2.5a.5.5 0 0 0-1 0V3a.5.5 0 0 0 1 0v-.5Z"})),ubuntu:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12.26 2.07c0 1.14-.89 2.06-1.99 2.06s-1.99-.92-1.99-2.06c0-1.14.9-2.07 2-2.07s1.98.93 1.98 2.07ZM3.98 6.6c0 1.14-.9 2.07-2 2.07C.9 8.67 0 7.74 0 6.6c0-1.14.9-2.07 1.99-2.07 1.1 0 1.99.93 1.99 2.07ZM6.47 11.92a4.76 4.76 0 0 1-3.3-2.62c-.53.25-1.12.33-1.7.22a6.72 6.72 0 0 0 1.84 2.63 6.38 6.38 0 0 0 4.24 1.58c-.37-.5-.57-1.1-.59-1.73a4.77 4.77 0 0 1-.49-.08ZM11.81 11.93c0 1.14-.89 2.07-1.99 2.07s-1.98-.93-1.98-2.07c0-1.14.89-2.06 1.98-2.06 1.1 0 2 .92 2 2.06ZM12.6 11.17a6.93 6.93 0 0 0 .32-7.93A2.95 2.95 0 0 1 11.8 4.6a5.23 5.23 0 0 1-.16 5.03c.47.4.8.94.95 1.54ZM1.99 3.63h-.15A6.48 6.48 0 0 1 8 .24a3.07 3.07 0 0 0-.6 1.68 4.7 4.7 0 0 0-3.9 2.17c-.46-.3-.98-.45-1.51-.45Z"})),windows:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.5 1H1v5.5h5.5V1ZM13 1H7.5v5.5H13V1ZM7.5 7.5H13V13H7.5V7.5ZM6.5 7.5H1V13h5.5V7.5Z"})),storybook:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.04.62a.7.7 0 0 0-.66.72l.44 11.56c.01.37.3.66.67.68l9.4.42h.02a.7.7 0 0 0 .7-.7V.66a.7.7 0 0 0-.74-.66l-.77.05.05 1.62a.1.1 0 0 1-.17.08l-.52-.4-.61.46a.1.1 0 0 1-.17-.09L9.75.13l-7.7.49Zm8 4.74c-.24.2-2.09.33-2.09.05.04-1.04-.43-1.09-.69-1.09-.24 0-.66.08-.66.64 0 .57.6.89 1.32 1.27 1.02.53 2.24 1.18 2.24 2.82 0 1.57-1.27 2.43-2.9 2.43-1.67 0-3.14-.68-2.97-3.03.06-.27 2.2-.2 2.2 0-.03.97.19 1.26.75 1.26.43 0 .62-.24.62-.64 0-.6-.63-.95-1.36-1.36-.99-.56-2.15-1.2-2.15-2.7 0-1.5 1.03-2.5 2.86-2.5 1.83 0 2.84.99 2.84 2.85Z"})),azuredevops:a.createElement(a.Fragment,null,a.createElement("path",{d:"m0 5.18 1.31-1.73 4.9-2V.01l4.3 3.15-8.78 1.7v4.8L0 9.16V5.18Zm14-2.6v8.55l-3.36 2.86-5.42-1.79V14L1.73 9.66l8.78 1.05V3.16L14 2.58Z"})),bitbucket:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.52A.41.41 0 0 0 .59 2l1.74 10.6c.05.26.28.46.55.46h8.37c.2 0 .38-.14.42-.34l1.01-6.25H8.81l-.46 2.71H5.68L4.95 5.4h7.91L13.4 2a.41.41 0 0 0-.41-.48H1Z"})),chrome:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M13.02 3.43a.11.11 0 0 1-.1.17H7a3.4 3.4 0 0 0-3.3 2.55.11.11 0 0 1-.21.03L1.52 2.76a.11.11 0 0 1 0-.12 6.97 6.97 0 0 1 9-1.7c1.03.6 1.9 1.47 2.5 2.5ZM7 9.62a2.62 2.62 0 1 1 0-5.24 2.62 2.62 0 0 1 0 5.24Zm1.03.7a.11.11 0 0 0-.12-.04 3.4 3.4 0 0 1-4-1.84L1.1 3.57a.11.11 0 0 0-.2 0 7 7 0 0 0 5.07 10.35c.04 0 .08-.02.1-.05l1.97-3.42a.11.11 0 0 0 0-.13Zm1.43-5.95h3.95c.05 0 .1.03.1.07a6.97 6.97 0 0 1-1.53 7.48A6.96 6.96 0 0 1 7.08 14a.11.11 0 0 1-.1-.17l2.81-4.88h.01a3.38 3.38 0 0 0-.42-4.38.11.11 0 0 1 .08-.2Z"})),chromatic:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 0 14 0A7 7 0 0 0 0 7Zm5.22-3.87a1.97 1.97 0 0 1 3.75.83v1.29L5.61 3.32a2.49 2.49 0 0 0-.4-.19ZM8.7 5.71 5.35 3.78a1.97 1.97 0 0 0-2.6 2.83c.12-.1.24-.18.37-.26l1.51-.87a.27.27 0 0 1 .27 0L7 6.69l1.7-.98Zm-.32 4.97-1.52-.87a.27.27 0 0 1-.13-.23V7.15l-1.7-.97v3.86a1.97 1.97 0 0 0 3.75.83 2.5 2.5 0 0 1-.4-.19Zm.26-.46a1.97 1.97 0 0 0 2.6-2.83c-.11.1-.23.18-.36.26L7.53 9.58l1.11.64Zm-4.1.26h-.17a1.97 1.97 0 0 1-1.9-2.47 2 2 0 0 1 .92-1.2l1.11-.63v3.86c0 .14.01.29.04.44Zm6.79-5.98a1.97 1.97 0 0 0-1.87-.97c.03.14.04.29.04.43v1.75c0 .1-.05.19-.14.23l-2.1 1.22V9.1l3.35-1.93a1.97 1.97 0 0 0 .72-2.68Z"})),componentdriven:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.85 2.18 8.87.2a.69.69 0 0 0-.97 0L3.09 5.01a.69.69 0 0 0 0 .97l2.46 2.46-2.4 2.4a.69.69 0 0 0 0 .98l1.98 1.98c.27.27.7.27.97 0l4.8-4.81a.69.69 0 0 0 0-.97L8.45 5.56l2.4-2.4a.69.69 0 0 0 0-.98Z"})),discord:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.85 2.88C10.95 2.48 10 2.18 9 2a7.05 7.05 0 0 0-.4.75 10.66 10.66 0 0 0-3.2 0c-.1-.23-.24-.5-.36-.73A.04.04 0 0 0 4.99 2a11.51 11.51 0 0 0-2.86.9 11.82 11.82 0 0 0-2.05 8 11.6 11.6 0 0 0 3.5 1.77c.01 0 .03 0 .04-.02.27-.36.51-.75.72-1.16a.04.04 0 0 0-.03-.06 7.66 7.66 0 0 1-1.09-.52.04.04 0 0 1 0-.08 5.96 5.96 0 0 0 .26-.17 8.28 8.28 0 0 0 7.08 0l.22.17c.02.02.02.06 0 .08-.36.2-.72.37-1.1.52a.04.04 0 0 0-.02.06c.2.4.45.8.71 1.16.01.02.03.02.05.02a11.57 11.57 0 0 0 3.52-1.8 11.74 11.74 0 0 0-2.09-7.99Zm-7.17 6.4c-.7 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.56 1.42-1.26 1.42Zm4.65 0c-.69 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.55 1.42-1.26 1.42Z"})),facebook:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.4 14H5.06V7H3.5V4.59h1.56V3.17C5.06 1.2 5.53 0 7.6 0h1.72v2.41H8.25c-.8 0-.85.34-.85.97v1.2h1.93L9.11 7H7.4l-.01 7Z"})),figma:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9.2 0H4.8a2.6 2.6 0 0 0-1.4 4.8 2.6 2.6 0 0 0 0 4.4 2.6 2.6 0 1 0 4 2.2V8.89a2.6 2.6 0 1 0 3.2-4.09A2.6 2.6 0 0 0 9.2 0ZM7.4 7A1.8 1.8 0 1 0 11 7a1.8 1.8 0 0 0-3.6 0Zm-.8 2.6H4.8a1.8 1.8 0 1 0 1.8 1.8V9.6ZM4.8 4.4h1.8V.8H4.8a1.8 1.8 0 0 0 0 3.59Zm0 .8a1.8 1.8 0 0 0 0 3.6h1.8V5.2H4.8Zm4.4-.8H7.4V.8h1.8a1.8 1.8 0 1 1 0 3.59Z"})),gdrive:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.37 8.77 4.33 12.3h6.75l2.04-3.54H6.38Zm6.18-1-3.5-6.08h-4.1l3.51 6.08h4.09ZM4.38 2.7.88 8.77l2.04 3.54 3.5-6.07L4.38 2.7Z"})),github:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 0a7 7 0 0 0-2.21 13.64c.35.06.48-.15.48-.33L5.26 12c-1.76.32-2.21-.43-2.35-.83-.08-.2-.43-.82-.72-.99-.25-.13-.6-.45-.01-.46.55 0 .94.5 1.07.72.63 1.06 1.64.76 2.04.58.07-.46.25-.77.45-.94-1.56-.18-3.19-.78-3.19-3.46 0-.76.28-1.39.72-1.88-.07-.17-.31-.9.07-1.85 0 0 .59-.19 1.93.71a6.5 6.5 0 0 1 3.5 0c1.34-.9 1.92-.71 1.92-.71.39.96.14 1.68.07 1.85.45.5.72 1.11.72 1.88 0 2.69-1.64 3.28-3.2 3.46.26.22.48.64.48 1.3l-.01 1.92c0 .18.13.4.48.33A7.01 7.01 0 0 0 7 0Z"})),gitlab:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.53 5.58H1.07l1.49-4.55a.26.26 0 0 1 .48 0l1.49 4.55ZM7 13.15 1.07 5.58l-.75 2.3a.5.5 0 0 0 .18.57l6.5 4.7Zm0 0 6.5-4.7a.5.5 0 0 0 .18-.57l-.75-2.3L7 13.15l2.47-7.57H4.53L7 13.15Zm2.47-7.57h3.46l-1.49-4.55a.26.26 0 0 0-.48 0L9.47 5.58Z"})),google:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.92 1.1H7.26c-1.64 0-3.19 1.24-3.19 2.68 0 1.47 1.12 2.66 2.8 2.66l.33-.01c-.1.2-.18.44-.18.68 0 .41.22.75.5 1.02h-.64c-2.03 0-3.6 1.3-3.6 2.64 0 1.32 1.72 2.15 3.75 2.15 2.32 0 3.6-1.31 3.6-2.64 0-1.06-.31-1.7-1.28-2.38-.33-.23-.96-.8-.96-1.14 0-.39.1-.58.7-1.04a2.46 2.46 0 0 0 1.03-1.92c0-.92-.4-1.82-1.18-2.11h1.17l.81-.6ZM9.6 10.04c.03.13.05.25.05.38 0 1.07-.7 1.9-2.67 1.9-1.4 0-2.42-.88-2.42-1.95 0-1.05 1.26-1.92 2.66-1.9a3 3 0 0 1 .92.14c.76.53 1.3.83 1.46 1.43ZM7.34 6.07c-.94-.03-1.84-1.06-2-2.3-.17-1.24.47-2.19 1.41-2.16.94.03 1.84 1.03 2 2.26.17 1.24-.47 2.23-1.41 2.2Z"})),graphql:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.87 11.6a1.17 1.17 0 0 0-1.7-.02l-2.71-1.56.01-.04h7.07l.02.07-2.69 1.56Zm-1.7-9.18.03.03-3.54 6.12h-.04V5.43a1.17 1.17 0 0 0 .84-1.46l2.7-1.56Zm4.38 1.56a1.17 1.17 0 0 0 .84 1.46v3.12l-.04.01-3.54-6.12c.02 0 .03-.02.04-.03l2.7 1.56ZM3.47 9.42a1.17 1.17 0 0 0-.32-.57l3.53-6.12a1.17 1.17 0 0 0 .65 0l3.54 6.12a1.17 1.17 0 0 0-.33.57H3.47Zm8.8-.74c-.1-.05-.21-.1-.32-.12V5.44a1.17 1.17 0 1 0-1.12-1.94l-2.7-1.56a1.17 1.17 0 1 0-2.24 0L3.19 3.5a1.17 1.17 0 1 0-1.13 1.94v3.12a1.17 1.17 0 1 0 1.12 1.94l2.7 1.56a1.17 1.17 0 1 0 2.24-.03l2.69-1.55a1.17 1.17 0 1 0 1.45-1.8Z"})),medium:a.createElement(a.Fragment,null,a.createElement("path",{d:"M0 0v14h14V0H0Zm11.63 3.32-.75.72a.22.22 0 0 0-.08.2v5.33c0 .07.03.14.08.18l.73.72v.16H7.92v-.16l.76-.74c.08-.07.08-.1.08-.21V5.24l-2.11 5.37h-.29L3.9 5.24v3.67c0 .13.05.25.14.34l.99 1.2v.16h-2.8v-.16l.98-1.2a.48.48 0 0 0 .13-.41V4.65c0-.11-.04-.2-.12-.27l-.88-1.06v-.16h2.73l2.1 4.62 1.86-4.62h2.6v.16Z"})),redux:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.06 9.69c.02.49.42.88.91.88H5a.91.91 0 0 0-.03-1.83h-.03c-.03 0-.08 0-.11.02a5.97 5.97 0 0 1-.85-3.62c.06-.98.39-1.82.96-2.52.47-.6 1.39-.9 2-.92 1.73-.03 2.47 2.12 2.51 2.99.22.04.57.16.82.24-.2-2.64-1.83-4-3.4-4-1.46 0-2.81 1.05-3.35 2.61a6.67 6.67 0 0 0 .65 5.68.74.74 0 0 0-.11.47Zm8.28-2.3a6.62 6.62 0 0 0-5.15-2.25h-.26a.9.9 0 0 0-.8-.49H6.1a.91.91 0 0 0 .03 1.83h.03a.92.92 0 0 0 .8-.56h.3c1.23 0 2.4.36 3.47 1.06.81.54 1.4 1.24 1.72 2.09.28.68.26 1.35-.03 1.92a2.4 2.4 0 0 1-2.23 1.34c-.65 0-1.27-.2-1.6-.34-.18.16-.5.42-.73.58.7.33 1.41.5 2.1.5 1.56 0 2.72-.85 3.16-1.72.47-.94.44-2.57-.78-3.96ZM4.9 12.9a4 4 0 0 1-.98.11c-1.2 0-2.3-.5-2.84-1.32C.38 10.6.13 8.3 2.5 6.58c.05.26.15.62.22.83-.31.23-.8.68-1.11 1.3a2.4 2.4 0 0 0 .13 2.53c.36.54.93.86 1.66.96.9.11 1.8-.05 2.66-.5a5.83 5.83 0 0 0 2.67-2.56.91.91 0 0 1 .62-1.55h.03a.92.92 0 0 1 .1 1.82 6.26 6.26 0 0 1-4.56 3.49Z"})),twitter:a.createElement(a.Fragment,null,a.createElement("path",{d:"M14 2.55c-.51.23-1.07.39-1.65.46.6-.36 1.05-.94 1.26-1.63-.55.34-1.17.58-1.82.72a2.84 2.84 0 0 0-2.1-.93 2.9 2.9 0 0 0-2.8 3.61 8.09 8.09 0 0 1-5.9-3.07 2.99 2.99 0 0 0 .88 3.93 2.8 2.8 0 0 1-1.3-.37v.04c0 1.42 1 2.61 2.3 2.89a2.82 2.82 0 0 1-1.3.05 2.89 2.89 0 0 0 2.7 2.04A5.67 5.67 0 0 1 0 11.51a7.98 7.98 0 0 0 4.4 1.32c5.29 0 8.17-4.48 8.17-8.38v-.38A5.93 5.93 0 0 0 14 2.55Z"})),youtube:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.99 8.17V5.83a14.95 14.95 0 0 0-.23-2.22c-.09-.38-.27-.7-.55-.96s-.6-.41-.97-.45A51.3 51.3 0 0 0 7 2c-2.34 0-4.09.07-5.24.2A1.78 1.78 0 0 0 .25 3.61 15.26 15.26 0 0 0 0 7v1.16a15.24 15.24 0 0 0 .24 2.22c.09.38.27.7.55.96.27.26.6.41.97.45 1.15.13 2.9.2 5.24.2 2.34 0 4.08-.06 5.24-.2.37-.04.7-.19.97-.45s.45-.58.54-.96a15.26 15.26 0 0 0 .24-2.22Zm-4.23-1.6c.16.1.24.24.24.43 0 .2-.08.33-.24.42l-4 2.5a.44.44 0 0 1-.26.08.54.54 0 0 1-.24-.06A.46.46 0 0 1 5 9.5v-5c0-.2.08-.34.26-.44.17-.1.34-.09.5.02l4 2.5Z"})),linkedin:a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 13H2.33333C1.59695 13 1 12.403 1 11.6667V2.33333C1 1.59695 1.59695 1 2.33333 1H11.6667C12.403 1 13 1.59695 13 2.33333V11.6667C13 12.403 12.403 13 11.6667 13ZM9.55293 11.3333H11.3337V7.67516C11.3337 6.12737 10.4563 5.379 9.23075 5.379C8.00467 5.379 7.48867 6.33378 7.48867 6.33378V5.55552H5.77255V11.3333H7.48867V8.30031C7.48867 7.48764 7.86276 7.00405 8.57878 7.00405C9.23696 7.00405 9.55293 7.46875 9.55293 8.30031V11.3333ZM2.66699 3.73279C2.66699 4.32157 3.14067 4.79896 3.72522 4.79896C4.30977 4.79896 4.78316 4.32157 4.78316 3.73279C4.78316 3.14402 4.30977 2.66663 3.72522 2.66663C3.14067 2.66663 2.66699 3.14402 2.66699 3.73279ZM4.62856 11.3333H2.83908V5.55552H4.62856V11.3333Z",fill:"#1EA7FD"}),vscode:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.24.04c.13 0 .26.03.38.09L13.5 1.5a.87.87 0 0 1 .5.8v.03-.01 9.39c0 .33-.2.63-.5.78l-2.88 1.38a.87.87 0 0 1-1-.17l-5.5-5.03-2.4 1.83a.58.58 0 0 1-.75-.04l-.77-.7a.58.58 0 0 1 0-.86L2.27 7 .2 5.1a.58.58 0 0 1 0-.86l.77-.7c.21-.2.52-.2.75-.04l2.4 1.83L9.63.3a.87.87 0 0 1 .61-.26Zm.26 3.78L6.32 7l4.18 3.18V3.82Z"}))},b2=w.svg({display:"inline-block",shapeRendering:"inherit",transform:"translate3d(0, 0, 0)",verticalAlign:"middle",path:{fill:"currentColor"}}),Io=({icon:e,...t})=>a.createElement(b2,{viewBox:"0 0 14 14",width:"14px",height:"14px",...t},a.createElement(a.Fragment,null,y2[e])),an={large:40,medium:28,small:20,tiny:16},E2=w.div({background:"transparent",display:"inline-block",verticalAlign:"top",overflow:"hidden",textTransform:"uppercase",img:{width:"100%",height:"auto",display:"block"}},e=>({borderRadius:e.type==="user"?"50%":5,height:`${an[e.size||"medium"]}px`,width:`${an[e.size||"medium"]}px`,lineHeight:`${an[e.size||"medium"]}px`,...e.isLoading&&{background:U.light,filter:"grayscale(1)"},...!e.src&&!e.isLoading&&{background:"#37D5D3"}})),k2=w(Io)({position:"relative",margin:"0 auto",display:"block",verticalAlign:"top",path:{fill:U.medium,animation:`${zs} 1.5s ease-in-out infinite`}},e=>({bottom:`${e.type==="user"?-2:-4}px`,height:`${e.type==="user"?100:70}%`,width:`${e.type==="user"?100:70}%`})),w2=w.div({color:U.lightest,textAlign:"center"},e=>({tiny:{fontSize:`${H.size.s1-2}px`,lineHeight:`${an.tiny}px`},small:{fontSize:`${H.size.s1}px`,lineHeight:`${an.small}px`},medium:{fontSize:`${H.size.s2}px`,lineHeight:`${an.medium}px`},large:{fontSize:`${H.size.s3}px`,lineHeight:`${an.large}px`}})[e.size||"medium"]),C2=({isLoading:e=!1,username:t="loading",src:n=void 0,size:r="medium",type:i="user",...o})=>{let l=a.createElement(k2,{icon:i==="user"?"useralt":"repository",type:i}),s={};return e?(s["aria-busy"]=!0,s["aria-label"]="Loading avatar ..."):n?l=a.createElement("img",{src:n,alt:t}):(s["aria-label"]=t,l=a.createElement(w2,{size:r,"aria-hidden":"true"},t.substring(0,1))),a.createElement(E2,{size:r,isLoading:e,src:n,type:i,...s,...o},l)},S2=w.span(e=>e.withArrow&&{"> svg:last-of-type":{height:"0.65em",width:"0.65em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}),x2=w.a({display:"inline-block",transition:"transform 150ms ease-out, color 150ms ease-out",textDecoration:"none",color:U.secondary,"&:hover, &:focus-visible":{cursor:"pointer",transform:"translateY(-1px)",color:nn(.07,U.secondary)},"&:active":{transform:"translateY(0)",color:nn(.1,U.secondary)},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em"}},e=>({...e.secondary&&{color:e.theme.base==="light"?U.mediumdark:U.medium,"&:hover":{color:e.theme.base==="light"?U.dark:U.light},"&:active":{color:e.theme.base==="light"?U.darker:U.lighter}},...e.tertiary&&{color:U.dark,"&:hover":{color:U.darkest},"&:active":{color:U.mediumdark}},...e.nochrome&&{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}},...e.inverse&&{color:U.lightest,"&:hover":{color:U.lighter},"&:active":{color:U.light}}})),M2=w.a({}),N2=w.button({background:"none",border:"none",padding:"0",font:"inherit",cursor:"pointer"}),Qs=Q(({inverse:e,isButton:t,LinkWrapper:n,nochrome:r,secondary:i,tertiary:o,...l},s)=>t?a.createElement(N2,{...l,ref:s}):n?a.createElement(n,{...l,ref:s}):a.createElement(M2,{...l,ref:s}));Qs.displayName="LinkComponentPicker";var $e=Q(({children:e,withArrow:t,...n},r)=>{let i=a.createElement(a.Fragment,null,a.createElement(S2,{withArrow:!!t},e,t&&a.createElement(Io,{icon:"arrowright"})));return a.createElement(x2,{as:Qs,ref:r,...n},i)});$e.displayName="Link";$e.defaultProps={withArrow:!1,isButton:!1,secondary:!1,tertiary:!1,nochrome:!1,inverse:!1};var F2=w.label(e=>({...e.appearance!=="code"&&{fontWeight:H.weight.bold},...e.appearance==="code"?{fontFamily:H.type.code,fontSize:`${H.size.s1-1}px`,lineHeight:"16px"}:{fontSize:`${H.size.s2}px`,lineHeight:"20px"}})),A2=w.div([{marginBottom:8},e=>e.hideLabel&&{border:"0px !important",clip:"rect(0 0 0 0) !important",WebkitClipPath:"inset(100%) !important",clipPath:"inset(100%) !important",height:"1px !important",overflow:"hidden !important",padding:"0px !important",position:"absolute !important",whiteSpace:"nowrap !important",width:"1px !important"}]),O2=w.input({"&::placeholder":{color:U.mediumdark},appearance:"none",border:"none",boxSizing:"border-box",display:"block",outline:"none",width:"100%",margin:"0","&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${U.lightest} inset`}}),L2=e=>{let t={position:"relative",...e.error&&{zIndex:1},"&:focus":{zIndex:2}};switch(e.stackLevel){case"top":return{borderTopLeftRadius:"4px",borderTopRightRadius:"4px",borderBottomLeftRadius:0,borderBottomRightRadius:0,...t};case"middle":return{borderRadius:0,marginTop:-1,...t};case"bottom":return{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px",borderTopLeftRadius:0,borderTopRightRadius:0,marginTop:-1,...t};default:return{borderRadius:"4px"}}},T2=w.div(e=>({display:"inline-block",position:"relative",verticalAlign:"top",width:"100%",".sbds-input-el":{position:"relative",...L2(e),background:U.lightest,color:U.darkest,fontSize:`${H.size.s2}px`,lineHeight:"20px",padding:"10px 15px",boxShadow:`${U.border} 0 0 0 1px inset`,"&:focus":{boxShadow:`${U.secondary} 0 0 0 1px inset`},...e.appearance==="pill"&&{fontSize:`${H.size.s1}px`,lineHeight:"16px",padding:"6px 12px",borderRadius:"3em",background:"transparent"},...e.appearance==="code"&&{fontSize:`${H.size.s1-1}px`,lineHeight:"16px",fontFamily:H.type.code,borderRadius:`${_o.borderRadius.small}px`,background:U.lightest,padding:"8px 10px"},...e.startingType==="password"&&{paddingRight:52},...e.icon&&{paddingLeft:40,...(e.appearance==="pill"||e.appearance==="code")&&{paddingLeft:30},"&:focus + svg path":{fill:U.darker}},...e.error&&{boxShadow:`${U.red} 0 0 0 1px inset`,"&:focus":{boxShadow:`${U.red} 0 0 0 1px inset !important`}}},"> svg":{...e.icon&&{transition:"all 150ms ease-out",position:"absolute",top:"50%",zIndex:3,background:"transparent",...e.appearance==="pill"||e.appearance==="code"?{fontSize:`${H.size.s1}px`,height:12,marginTop:-6,width:12,left:10}:{fontSize:`${H.size.s2}px`,height:14,marginTop:-7,width:14,left:e.appearance==="tertiary"?0:15},path:{transition:"all 150ms ease-out",fill:U.mediumdark}},...e.error&&{animation:`${Us} 700ms ease-out`,path:{fill:U.red}}}})),_2=w.div(e=>e.orientation==="horizontal"&&{display:"table-row",".sbds-input-label-wrapper, .sbds-input-input-wrapper":{display:"table-cell"},".sbds-input-label-wrapper":{width:1,paddingRight:20,verticalAlign:"middle"},".sbds-input-input-wrapper":{width:"auto"}}),Z2=w(Oe)({width:"100%"}),I2=w(dl)({width:170}),R2=w.div({position:"absolute",right:"0",minWidth:45,top:"50%",transform:"translateY(-50%)",fontWeight:"bold",fontSize:11,zIndex:2}),Bl=({error:e,value:t,lastErrorValue:n})=>{let r=typeof e=="function"?e(t):e;return n&&t!==n&&(r=null),r},Ks=Q(({id:e,appearance:t="default",className:n=void 0,error:r=null,errorTooltipPlacement:i="right",hideLabel:o=!1,icon:l=void 0,label:s,lastErrorValue:c=void 0,onActionClick:d=void 0,orientation:u="vertical",stackLevel:m=void 0,startingType:p="text",suppressErrorMessage:g=!1,type:f="text",value:y="",...k},b)=>{let[h,v]=Re(Bl({error:r,value:y,lastErrorValue:c})),E=`${e}-error`;oe(()=>{v(Bl({error:r,value:y,lastErrorValue:c}))},[y,r,c]);let S=a.createElement(O2,{className:"sbds-input-el",id:e,ref:b,value:y,type:f,"aria-describedby":E,"aria-invalid":!!r,...k});return a.createElement(_2,{orientation:u,className:n},a.createElement(A2,{className:"sbds-input-label-wrapper",hideLabel:o},a.createElement(F2,{htmlFor:e,appearance:t},s)),a.createElement(T2,{className:"sbds-input-input-wrapper",error:h,"data-error":h,icon:l,appearance:t,stackLevel:m,startingType:p},l&&a.createElement(Io,{icon:l,"aria-hidden":!0}),a.createElement(Z2,{tabIndex:-1,placement:i,startOpen:!0,hasChrome:!!h&&!g,tooltip:h&&!g&&a.createElement(I2,{desc:h}),role:"none"},S),p==="password"&&a.createElement(R2,null,a.createElement($e,{isButton:!0,tertiary:!0,onClick:d,type:"button"},f==="password"?"Show":"Hide"))))});Ks.displayName="PureInput";var Js=Q(({type:e,startFocused:t,...n},r)=>{let[i,o]=Re(e),l=W(u=>{if(u.preventDefault(),u.stopPropagation(),i==="password"){o("text");return}o("password")},[i,o]),s=Pe(),c=r||s,d=Pe(!1);return oe(()=>{c.current&&t&&!d.current&&(c.current.focus(),d.current=!0)},[c,t,d]),a.createElement(Ks,{ref:c,startingType:e,type:i,onActionClick:l,...n})});Js.displayName="Input";var B2=w.div({borderRadius:"3em",cursor:"progress",display:"inline-block",overflow:"hidden",position:["relative","absolute"],transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-16,marginLeft:-16,height:32,width:32,animation:`${Hs} 0.7s linear infinite`,borderWidth:2,borderStyle:"solid",borderColor:"rgba(0, 0, 0, 0.03)",borderTopColor:"rgba(0, 0, 0, 0.15)"},e=>({...e.inverse&&{borderColor:"rgba(255, 255, 255, 0.2)",borderTopColor:"rgba(255, 255, 255, 0.4)"},...e.inForm&&{marginTop:-6,marginLeft:-6,height:12,width:12,border:`1px solid ${U.secondary}`,borderBottomColor:"transparent"},...e.inline&&{position:"relative",top:"initial",left:"initial",marginTop:"initial",marginLeft:"initial",verticalAlign:"middle",height:8,width:8,border:"1px solid",borderTopColor:U.secondary,borderLeftColor:U.secondary,borderRightColor:U.secondary,borderBottomColor:"transparent",...e.positive&&{borderTopColor:U.positive,borderLeftColor:U.positive,borderRightColor:U.positive},...e.negative&&{borderTopColor:U.red,borderLeftColor:U.red,borderRightColor:U.red},...e.neutral&&{borderTopColor:U.dark,borderLeftColor:U.dark,borderRightColor:U.dark},...e.inverse&&{borderTopColor:U.lightest,borderLeftColor:U.lightest,borderRightColor:U.lightest}}})),oo=e=>a.createElement(B2,{"aria-label":"Content is loading ...","aria-live":"polite",role:"status",...e}),P2=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},V2=w.span({}),j2=w.span(({theme:e})=>({fontWeight:e.typography.weight.bold,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"})),D2=w.span({}),H2=w.span({}),Pl=w.li(({theme:e})=>({listStyle:"none","&:not(:first-of-type)":{borderTop:`1px solid ${e.appBorderColor}`}})),z2=w.span({lineHeight:"18px",padding:"7px 15px",display:"flex",alignItems:"center",justifyContent:"space-between",".sbds-list-item-title":{display:"block",flex:"0 1 auto",marginRight:"auto"},".sbds-list-item-left, .sbds-list-item-center, .sbds-list-item-right":{display:"inline-flex"},".sbds-list-item-center":{flex:"0 1 auto",marginLeft:"auto",marginRight:"auto"},".sbds-list-item-left, .sbds-list-item-right":{flex:"0 1 auto"},".sbds-list-item-right":{flex:"none",textAlign:"right",marginLeft:10}}),Ro=({active:e,activeColor:t,disabled:n,isLoading:r,theme:i})=>({fontSize:`${i.typography.size.s1}px`,transition:"all 150ms ease-out",color:i.color.mediumdark,textDecoration:"none",display:"block",".sbds-list-item-title":{color:i.base==="light"?i.color.darker:i.color.lighter},".sbds-list-item-right svg":{transition:"all 200ms ease-out",opacity:0,height:12,width:12,margin:"3px 0",verticalAlign:"top",path:{fill:i.color.mediumdark}},"&:hover":{background:i.background.hoverable,cursor:"pointer",".sbds-list-item-right svg":{opacity:1}},...e&&{".sbds-list-item-title":{fontWeight:i.typography.weight.bold},".sbds-list-item-title, .sbds-list-item-center":{color:t},".sbds-list-item-right svg":{opacity:1,path:{fill:t}}},...r&&{".sbds-list-item-title":{...Xu,flex:"0 1 auto",display:"inline-block"}},...n&&{cursor:"not-allowed !important",".sbds-list-item-title, .sbds-list-item-center":{color:i.color.mediumdark}}}),U2=w(({active:e,activeColor:t,isLoading:n,...r})=>a.createElement("a",{...r}))(Ro),$2=w.span(Ro),W2=P2(e=>w(({active:t,isLoading:n,activeColor:r,...i})=>a.createElement(e,{...i}))(Ro)),ut=({appearance:e="primary",left:t,title:n=a.createElement("span",null,"Loading"),center:r,right:i,onClick:o,LinkWrapper:l,isLink:s=!0,...c})=>{let d=en().color[e],u=a.createElement(z2,{onClick:o,role:"presentation"},t&&a.createElement(V2,{className:"sbds-list-item-left"},t),n&&a.createElement(j2,{className:"sbds-list-item-title"},n),r&&a.createElement(D2,{className:"sbds-list-item-center"},r),i&&a.createElement(H2,{className:"sbds-list-item-right"},i));if(l){let m=W2(l);return a.createElement(Pl,null,a.createElement(m,{activeColor:d,...c},u))}return a.createElement(Pl,null,a.createElement(s?U2:$2,{activeColor:d,...c},u))};function ua(e){function t(B,j){return B>>>j|B<<32-j}for(var n,r,i=Math.pow,o=i(2,32),l="",s=[],c=8*e.length,d=ua.h=ua.h||[],u=ua.k=ua.k||[],m=u.length,p={},g=2;m<64;g++)if(!p[g]){for(n=0;n<313;n+=g)p[n]=g;d[m]=i(g,.5)*o|0,u[m++]=i(g,1/3)*o|0}for(e+="\x80";e.length%64-56;)e+="\0";for(n=0;n>8)return;s[n>>2]|=r<<(3-n)%4*8}for(s[s.length]=c/o|0,s[s.length]=c,r=0;r>>3)+f[n-7]+(t(b,17)^t(b,19)^b>>>10)|0);(d=[E+((t(h,2)^t(h,13)^t(h,22))+(h&d[1]^h&d[2]^d[1]&d[2]))|0].concat(d))[4]=d[4]+E|0}for(n=0;n<8;n++)d[n]=d[n]+y[n]|0}for(n=0;n<8;n++)for(r=3;r+1;r--){var S=d[n]>>8*r&255;l+=(S<16?0:"")+S.toString(16)}return l}var q2=e=>new Uint8Array(e).reduce((t,n)=>t+String.fromCharCode(n),""),G2=e=>window.btoa(Array.isArray(e)?q2(e):e),Vl=e=>G2(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),Y2=e=>Array.from(e.match(/.{1,2}/g)??[],t=>parseInt(t,16)),Q2=()=>Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10),Xs=e=>Object.entries(e).map(([t,n])=>`${encodeURIComponent(t)}=${encodeURIComponent(n)}`).join("&"),K2=({error:e})=>e==="authorization_pending",J2=({error_description:e})=>e==="Not OAuth beta user",X2=async e=>{let t=Vl(Q2()),n=Vl(Y2(ua(t))),r=await fetch(`${Hr}/authorize`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:Xs({client_id:"chromaui:addon-visual-tests",code_challenge:n})}),{device_code:i,user_code:o,verification_uri_complete:l,expires_in:s,interval:c}=await r.json(),d=e?l.replace("https://www",`https://${e}`):l;return{expires:Date.now()+s*1e3,interval:c*1e3,user_code:o,device_code:i,verifier:t,verificationUrl:d}},em=async({expires:e,device_code:t,verifier:n})=>{if(Date.now()>=e)throw new Error("Token exchange expired, please restart sign in.");try{let r=await(await fetch(`${Hr}/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:Xs({client_id:"chromaui:addon-visual-tests",grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:t,code_verifier:n,scope:"user:read account:read project:read project:write"})})).json();if(K2(r))throw new Error("You have not authorized the Visual Tests addon for Chromatic, please try again");if(r.access_token)return r.access_token;if(J2(r))return alert("You must be a beta user to use this addon at this time."),null;throw new Error}catch(r){throw console.warn(r),r}};function e0(){let e=vn(),{addNotification:t,setOptions:n,togglePanel:r}=e,i=W(({onDismiss:o})=>{o(),n({selectedPanel:Vn}),r(!0)},[n,r]);return W((o,l)=>{t({id:`${z}/error/${Date.now()}`,content:{headline:o,subHeadline:l.toString()},icon:a.createElement(qt,{color:Lt.negative}),onClick:i})},[t,i])}var ta=new Map,tm=(e,t,n)=>{let r=()=>{window.clearTimeout(ta.get(e)),ta.delete(e)},i=(...o)=>{ta.has(e)?r():t(...o),ta.set(e,window.setTimeout(()=>ta.delete(e)&&t(...o),n))};return i.cancel=r,i};function it(e,t){let n=W(()=>{try{let s=sessionStorage.getItem(`${z}/state/${e}`);if(s!=null)return JSON.parse(s)}catch{}return typeof t=="function"?t():t},[e,t]),[r,i]=Re(n),o=Dt(()=>tm(e,s=>{let c=new Set(sessionStorage.getItem(`${z}/state`)?.split(";"));s==null?(sessionStorage.removeItem(`${z}/state/${e}`),c.delete(e)):(sessionStorage.setItem(`${z}/state/${e}`,JSON.stringify(s)),c.add(e)),sessionStorage.setItem(`${z}/state`,Array.from(c).join(";")),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))},1e3),[e]);oe(()=>o.cancel,[o]);let l=W(s=>{let c=s;(!c.key||c.key===e)&&i(n())},[e,n]);return oe(()=>(window.addEventListener("storage",l),window.addEventListener("session-storage",l),()=>{window.removeEventListener("storage",l),window.removeEventListener("session-storage",l)}),[l]),[r,W(s=>i(c=>{let d=typeof s=="function"?s(c):s;return o(d),d}),[o])]}function nm(...e){let t=sessionStorage.getItem(`${z}/state`)?.split(";")||[];e.length?(e.forEach(n=>sessionStorage.removeItem(`${z}/state/${n}`)),sessionStorage.setItem(`${z}/state`,t.filter(n=>!e.includes(n)).join(";"))):(t.forEach(n=>sessionStorage.removeItem(`${z}/state/${n}`)),sessionStorage.removeItem(`${z}/state`))}var t0=Xe(void 0),am=({children:e,addonUninstalled:t,setAddonUninstalled:n})=>{let r=vn().getChannel();if(!r)throw new Error("Channel not available");let i=()=>{r.emit(hs),n(!0)};return a.createElement(t0.Provider,{value:{addonUninstalled:t,uninstallAddon:i}},e)},Bo=()=>Ot(t0,"Uninstall Addon"),ye=w.div({display:"flex",flexDirection:"column",flexGrow:1,alignItems:"center",justifyContent:"center",padding:10}),fe=w.h1(({theme:e})=>({marginTop:0,marginBottom:4,fontSize:"1em",fontWeight:"bold",color:e.base==="light"?e.color.defaultText:e.color.lightest})),n0=e=>a.createElement("svg",{width:"58",height:"53",viewBox:"0 0 58 53",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("g",{filter:"url(#filter0_dd_304_317890)"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"#FF4785",shapeRendering:"crispEdges"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5005 11.0555C16.8471 11.0963 16.3455 11.6508 16.37 12.3051L17.1135 32.1151C17.137 32.7426 17.6379 33.2471 18.2651 33.2753L34.3716 33.9987C34.3896 33.9995 34.4077 33.9999 34.4257 33.9999C35.0921 33.9999 35.6324 33.4597 35.6324 32.7932V11.2067C35.6324 11.1816 35.6316 11.1565 35.63 11.1314C35.5885 10.4663 35.0156 9.96082 34.3505 10.0024L33.0259 10.0853L33.1227 12.8548C33.1261 12.9541 33.0484 13.0375 32.949 13.041C32.9065 13.0424 32.8648 13.0288 32.8314 13.0025L31.939 12.2995L30.8825 13.1009C30.8033 13.161 30.6904 13.1455 30.6303 13.0663C30.605 13.033 30.5921 12.9919 30.5939 12.9501L30.707 10.2302L17.5005 11.0555ZM31.221 19.1936C30.7965 19.5234 27.6343 19.7484 27.6343 19.2789C27.7011 17.4876 26.8991 17.409 26.4536 17.409C26.0303 17.409 25.3174 17.537 25.3174 18.4966C25.3174 19.4746 26.3592 20.0267 27.582 20.6747C29.3191 21.5952 31.4215 22.7093 31.4215 25.5128C31.4215 28.1998 29.2383 29.6842 26.4536 29.6842C23.5797 29.6842 21.0683 28.5215 21.352 24.4904C21.4633 24.0171 25.1169 24.1296 25.1169 24.4904C25.0723 26.1538 25.4511 26.6431 26.409 26.6431C27.1442 26.6431 27.4783 26.2379 27.4783 25.5554C27.4783 24.5227 26.3929 23.9133 25.1442 23.2122C23.4534 22.2629 21.4633 21.1456 21.4633 18.5819C21.4633 16.0229 23.2233 14.3168 26.3645 14.3168C29.5056 14.3168 31.221 15.9967 31.221 19.1936Z",fill:"white"})),a.createElement("circle",{cx:"46",cy:"22",r:"2.5",fill:"white",stroke:"#FF4785"}),a.createElement("path",{d:"M57.8536 22.3536C58.0488 22.1583 58.0488 21.8417 57.8536 21.6464L54.6716 18.4645C54.4763 18.2692 54.1597 18.2692 53.9645 18.4645C53.7692 18.6597 53.7692 18.9763 53.9645 19.1716L56.7929 22L53.9645 24.8284C53.7692 25.0237 53.7692 25.3403 53.9645 25.5355C54.1597 25.7308 54.4763 25.7308 54.6716 25.5355L57.8536 22.3536ZM48.5 22.5H57.5V21.5H48.5V22.5Z",fill:"#FF4785"}),a.createElement("defs",null,a.createElement("filter",{id:"filter0_dd_304_317890",x:"0",y:"0",width:"52",height:"53",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"5"}),a.createElement("feGaussianBlur",{stdDeviation:"3"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_304_317890"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"1"}),a.createElement("feGaussianBlur",{stdDeviation:"1.5"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_304_317890",result:"effect2_dropShadow_304_317890"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_304_317890",result:"shape"})))),pn=e=>a.createElement("svg",{width:"52",height:"53",viewBox:"0 0 52 53",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("g",{filter:"url(#filter0_dd_304_317945)"},a.createElement("g",{clipPath:"url(#clip0_304_317945)"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"#288041"}),a.createElement("g",{clipPath:"url(#clip1_304_317945)"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"#215D31"}),a.createElement("rect",{x:"20.6104",y:"20.1591",width:"20.1485",height:"20.1485",transform:"rotate(45 20.6104 20.1591)",fill:"#93D4A5"}),a.createElement("rect",{x:"30.9502",y:"16.59",width:"20.1485",height:"20.1485",transform:"rotate(45 30.9502 16.59)",fill:"#93D4A5"}),a.createElement("circle",{cx:"20.435",cy:"16.2246",r:"2.45455",fill:"#93D4A5"})),a.createElement("rect",{x:"7.05469",y:"3",width:"53.75",height:"32.25",transform:"rotate(45 7.05469 3)",fill:"#67B47C"}),a.createElement("g",{clipPath:"url(#clip2_304_317945)"},a.createElement("g",{clipPath:"url(#clip3_304_317945)"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"#2B733F"}),a.createElement("rect",{x:"21.3604",y:"21.6592",width:"20.1485",height:"20.1485",transform:"rotate(45 21.3604 21.6592)",fill:"#A9E0B8"}),a.createElement("rect",{x:"32.2012",y:"18.5908",width:"20.1485",height:"20.1485",transform:"rotate(45 32.2012 18.5908)",fill:"#A9E0B8"}),a.createElement("circle",{cx:"21.685",cy:"17.9746",r:"2.45455",fill:"#A9E0B8"}))))),a.createElement("defs",null,a.createElement("filter",{id:"filter0_dd_304_317945",x:"0",y:"0",width:"52",height:"53",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"5"}),a.createElement("feGaussianBlur",{stdDeviation:"3"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_304_317945"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"1"}),a.createElement("feGaussianBlur",{stdDeviation:"1.5"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_304_317945",result:"effect2_dropShadow_304_317945"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_304_317945",result:"shape"})),a.createElement("clipPath",{id:"clip0_304_317945"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"white"})),a.createElement("clipPath",{id:"clip1_304_317945"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"white"})),a.createElement("clipPath",{id:"clip2_304_317945"},a.createElement("rect",{width:"60.7428",height:"29.9046",fill:"white",transform:"translate(7.20801 3.17212) rotate(45)"})),a.createElement("clipPath",{id:"clip3_304_317945"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"white"})))),rm=ft(Dr()),a0=w.div({display:"flex",flexDirection:"column"}),lo=w.div(({theme:e})=>({padding:15,lineHeight:"18px",borderBottom:`1px solid ${e.appBorderColor}`,p:{margin:"10px 0","&:last-of-type":{marginBottom:0}},dl:{display:"grid",gridTemplateColumns:"auto 1fr",gap:10,margin:"10px 0 0 0"},dt:{color:e.color.mediumdark,fontWeight:700},dd:{marginLeft:0},"button + button":{marginLeft:10}})),Cr=w.div({display:"flex",fontWeight:"bold",marginBottom:15}),jl=w(Od)(({theme:e})=>({width:12,height:12,margin:"3px 6px",verticalAlign:"top",color:e.color.mediumdark})),qr={width:14,height:14,margin:"2px 6px 2px 0",verticalAlign:"top"},im=w(Dd)(qr),om=w(wd)(qr),lm=w(as)(qr),sm=w(Sd)(qr),Po=w(Co)({marginLeft:"auto"}),Vo=w(lt)({margin:-5,marginLeft:"auto"}),ue=w(pi)({"&&":{display:"inline-flex",borderRadius:4,fontSize:13,lineHeight:"14px",padding:"9px 12px",alignItems:"center","@container (min-width: 800px)":{padding:"8px 10px"}}},({link:e,theme:t})=>e&&he({"&&":{background:"none",boxShadow:"none",padding:2,fontWeight:"normal",color:t.base==="light"?t.color.dark:"#C9CDCF",opacity:.8,transition:"opacity 150ms ease-out","&:hover, &:focus":{opacity:1},"&:focus:not(:active)":{outline:`1px solid ${t.color.secondary}`}}}),({tertiary:e})=>e&&he({"&&:hover":{boxShadow:"none"}}),({belowText:e})=>e&&{marginTop:7}),He=w(ll)(({theme:e})=>({color:e.base==="light"?e.color.darker:e.color.lighter,border:`1px solid ${e.appBorderColor}`,fontSize:"12px",padding:"2px 3px"})),cm={autoAcceptChanges:{description:"Automatically accept visual changes - usually for a specific branch name.",type:"true or branch name"},buildScriptName:{description:"The package.json script that builds your Storybook.",type:"string"},cypress:{description:"Run build against `@chromatic-com/cypress` test archives.",type:"boolean"},debug:{description:"Output verbose logs and debug information.",type:"boolean"},diagnosticsFile:{description:"Write process information to a JSON file.",type:"string or boolean"},exitOnceUploaded:{description:"Exit the process as soon as your Storybook is published.",type:"string or boolean"},exitZeroOnChanges:{description:"Exit the process succesfully even when visual changes are found.",type:"string or boolean"},externals:{description:"Disable TurboSnap when any of these files have changed since the baseline build.",type:"string: ['public/**']"},fileHashing:{description:"Apply file hashing to skip uploading unchanged files - default: true",type:"boolean"},ignoreLastBuildOnBranch:{description:"Do not use the last build on this branch as a baseline if it is no longer in history (i.e. branch was rebased).",type:"string"},junitReport:{description:"Write build results to a JUnit XML file.",type:"string or boolean"},logFile:{description:"Write Chromatic CLI logs to a file.",type:"string or boolean"},onlyChanged:{description:"Enables TurboSnap to only run stories affected by files changed since the baseline build.",type:"true or string (branch name)",glob:!0},onlyStoryFiles:{description:"Only run a single story or a subset of stories by their filename(s).",type:"string[]"},onlyStoryNames:{description:"Only run a single story or a subset of stories by their name(s).",type:"string[]"},outputDir:{description:"Relative path to target directory for building your Storybook, in case you want to preserve it.",type:"string"},playwright:{description:"Run build against `@chromatic-com/playwright` test archives.",type:"boolean"},projectId:{description:"Unique identifier for your project. ",type:"string"},projectToken:{description:"Secret token for your project. Preferably configured through CHROMATIC_PROJECT_TOKEN.",type:"string"},skip:{description:"Skip Chromatic tests, but mark the commit as passing. Avoids blocking PRs due to required merge checks.",type:"string or boolean"},storybookBaseDir:{description:"Relative path from repository root to Storybook project root.",type:"string"},storybookBuildDir:{description:"Path to the directory of an already built Storybook.",type:"string"},storybookConfigDir:{description:"Relative path from where you run Chromatic to your Storybook config directory.",type:"string"},storybookLogFile:{description:"Write Storybook build logs to a file.",type:"string or boolean"},untraced:{description:"Disregard these files and their dependencies when tracing dependent stories for TurboSnap.",type:"string[]"},uploadMetadata:{description:"Upload Chromatic metadata files as part of the published Storybook.",type:"boolean"},zip:{description:"Publish your Storybook to Chromatic as a single zip file instead of individual content files.",type:"boolean"}},dm=w(Vo)({position:"absolute",right:16,top:10}),um=w.div(({theme:e})=>({backgroundColor:e.background.content,display:"flex",flexDirection:"column",minHeight:"100%",overflowY:"auto",padding:20,position:"relative"})),mm=w.div({margin:"0 auto",maxWidth:600,width:"100%"}),Dl=w.div(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,marginBottom:20,paddingBottom:20,code:{fontSize:"90%"}})),pm=w(Cr)({marginBottom:10}),hm=w.div({display:"flex",flexDirection:"column",gap:20}),Hl=w.div(({theme:e})=>({alignItems:"center",borderRadius:e.appBorderRadius,display:"flex",flexWrap:"wrap","> div":{width:"100%"}})),zl=w.div(({theme:e})=>({display:"flex",flexGrow:1,flexWrap:"wrap",gap:"5px 10px"})),Ul=w.div(({theme:e})=>({fontWeight:e.typography.weight.bold,div:{marginLeft:5,position:"relative",top:2}})),$l=w.div({marginTop:10}),fm=w.div(({hideBorderRadius:e,theme:t})=>({background:t.base==="dark"?t.color.darkest:t.color.lighter,border:`1px solid ${t.appBorderColor}`,borderRadius:t.appBorderRadius,borderBottomLeftRadius:e?0:t.appBorderRadius,borderBottomRightRadius:e?0:t.appBorderRadius,color:t.base==="dark"?t.color.medium:t.color.dark,fontFamily:t.typography.fonts.mono,fontSize:13,lineHeight:"20px",padding:"5px 10px",wordWrap:"break-word"})),gm=w.div(({theme:e})=>({color:e.color.warningText})),Wl=w.div(({theme:e})=>({color:e.base==="dark"?e.color.medium:e.color.dark,marginTop:2})),ql=w.div(({warning:e,theme:t})=>({alignItems:"center",display:"flex",backgroundColor:e?t.base==="dark"?"#342E1A":t.background.warning:t.background.hoverable,border:`1px solid ${t.appBorderColor}`,borderRadius:3,borderTopLeftRadius:0,borderTopRightRadius:0,borderTop:0,fontSize:t.typography.size.s1,gap:5,lineHeight:"20px",padding:5,svg:{color:e?t.base==="dark"?t.color.warning:t.color.warningText:t.color.secondary,flexShrink:0},code:{fontSize:"85%"}})),vm=w.div(({theme:e})=>({"&:nth-last-of-type(2)":{borderBottom:`1px solid ${e.appBorderColor}`,paddingBottom:30}})),r0={height:12,margin:2,verticalAlign:"top",width:12},ym=w(Td)(r0),bm=w(Nd)(r0),Em=({onClose:e})=>{let{uninstallAddon:t}=Bo(),[n]=Ze(So),{configuration:r={},problems:i={},suggestions:o={}}=n||{},{configFile:l,...s}=r,c=Object.keys({...s,...i,...o}).sort().map(d=>({key:d,value:d in s?s[d]:void 0,problem:i[d],suggestion:o[d]}));return a.createElement(um,null,a.createElement(dm,{onClick:e,style:{marginRight:-8}},a.createElement(Po,{"aria-label":"Close"})),a.createElement(mm,null,a.createElement(pm,null,"Configuration"),l?a.createElement(Dl,null,"This is a read-only representation of the Chromatic configuration options found in"," ",a.createElement(He,null,l),". Changes to the config file will be reflected here."," ",a.createElement(bn,{href:"https://www.chromatic.com/docs/cli/#configuration-options",target:"_blank",withArrow:!0},"Learn more")):a.createElement(Dl,null,"To configure this addon, create ",a.createElement(He,null,"chromatic.config.json")," in your project's root directory."," ",a.createElement(bn,{href:"https://www.chromatic.com/docs/cli/#configuration-options",target:"_blank",withArrow:!0},"Learn more")),c&&a.createElement(hm,null,c.map(({key:d,value:u,problem:m,suggestion:p})=>a.createElement(vm,{key:d,id:`${d}-option`},a.createElement(Hl,null,a.createElement(zl,null,a.createElement(Ul,null,d," "),d in a5&&a.createElement(gm,null,"*Disabled for local builds")),a.createElement(Wl,null,cm[d]?.description),a.createElement($l,null,a.createElement(fm,{hideBorderRadius:!!(m||p)},u===void 0?"undefined":JSON.stringify(u)))),m!==void 0&&a.createElement(ql,{warning:!0},a.createElement(ym,null),m===null?a.createElement("span",null,a.createElement("strong",null,"Warning: "),"This should be removed."):a.createElement("span",null,a.createElement("strong",null,"Warning: "),"This should be: ",a.createElement(He,null,JSON.stringify(m)))),p!==void 0&&a.createElement(ql,null,a.createElement(bm,null),a.createElement("span",null,a.createElement("strong",null,"Hint: "),"Try setting as ",a.createElement(He,null,JSON.stringify(p)))))),a.createElement("div",null,a.createElement(Hl,null,a.createElement(zl,null,a.createElement(Ul,null,"Uninstall addon")),a.createElement(Wl,null,"Removing the addon updates your Storybook configuration and uninstalls the dependency."),a.createElement($l,null,a.createElement(ue,{onClick:t},"Uninstall")))))))},i0={configVisible:!1,settingsVisible:!1,warningsVisible:!1,baselineImageVisible:!1,focusVisible:!1,diffVisible:!1},kn=e=>(t,n)=>({...t,[e]:typeof n=="boolean"?n:!t[e]}),km={toggleDiff:kn("diffVisible"),toggleFocus:kn("focusVisible"),toggleConfig:kn("configVisible"),toggleSettings:kn("settingsVisible"),toggleWarnings:kn("warningsVisible"),toggleBaselineImage:kn("baselineImageVisible")},wm=(e,t)=>km[t.type](e,t.payload),o0=Xe(i0),l0=Xe(()=>{}),Gr=()=>Ot(o0,"Controls"),jn=()=>{let e=Ot(l0,"ControlsDispatch");return Dt(()=>({toggleDiff:t=>e({type:"toggleDiff",payload:t}),toggleFocus:t=>e({type:"toggleFocus",payload:t}),toggleConfig:t=>e({type:"toggleConfig",payload:t}),toggleSettings:t=>e({type:"toggleSettings",payload:t}),toggleWarnings:t=>e({type:"toggleWarnings",payload:t}),toggleBaselineImage:t=>e({type:"toggleBaselineImage",payload:t})}),[e])},Cm=({children:e,initialState:t=i0})=>{let[n,r]=ui(wm,t);return a.createElement(o0.Provider,{value:n},a.createElement(l0.Provider,{value:r},e))},Sm=w.div({"& > div":{minWidth:120}}),ka=({children:e,links:t,note:n,...r})=>{let[i,o]=a.useState(!1),l=a.createElement(Oe,{closeOnOutsideClick:!0,closeOnTriggerHidden:!0,onVisibleChange:s=>o(s),tooltip:({onHide:s})=>a.createElement(Sm,null,a.createElement(cl,{links:t.map(c=>({...c,onClick:(...d)=>(s(),c.onClick?.(...d))}))})),trigger:"click",...r},typeof e=="function"?e(i):a.createElement(lt,{active:i},e));return n?a.createElement(Oe,{tooltip:a.createElement(je,{note:n}),trigger:"hover",hasChrome:!1},l):l},Yr=()=>{let{accessToken:e,setAccessToken:t}=Ys(),{toggleConfig:n}=jn(),[r]=Ze(us),{projectId:i}=r||{},o=[{id:"learn",title:"About this addon",icon:a.createElement(os,{"aria-hidden":!0}),href:"https://www.chromatic.com/docs/visual-testing-addon",target:"_blank"},{id:"configuration",title:"Configuration",icon:a.createElement(xd,{"aria-hidden":!0}),onClick:()=>n()},...i?[{id:"visit",title:"View project on Chromatic",icon:a.createElement(ls,{"aria-hidden":!0}),href:i?`https://www.chromatic.com/builds?appId=${i?.split(":")[1]}`:"https://www.chromatic.com/start",target:"_blank"}]:[],...e?[{id:"logout",title:"Log out",icon:a.createElement(Hd,{"aria-hidden":!0}),onClick:()=>t(null)}]:[]];return a.createElement(ka,{placement:"top",links:o},a.createElement(Md,null))};w.div(({hidden:e,theme:t})=>({background:t.background.app,containerType:"size",display:e?"none":"flex",flexDirection:"column",height:"100%"}));var xm=w.div({display:"flex",flexDirection:"column",flexGrow:1},({hidden:e})=>e&&{display:"none"}),fa=w.div(({grow:e})=>e&&{flexGrow:e?1:"auto"}),ma=w.div({display:"flex",flexDirection:"row",margin:15},({header:e,theme:t})=>e&&{margin:0,padding:15,borderBottom:`1px solid ${t.appBorderColor}`,"@container (min-width: 800px)":{height:40,alignItems:"center",justifyContent:"space-between",padding:"5px 15px"}}),Mm=w(ma)({alignItems:"center",height:40,margin:"0 10px"}),st=w.div({display:"flex",flexDirection:"column",alignItems:"center"},({push:e})=>e&&{marginLeft:"auto"}),Gl=w.div(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,display:"flex",alignItems:"center",minHeight:40,lineHeight:"20px",padding:"5px 15px"})),Nm=w(fa)(({theme:e})=>({background:e.background.warning,color:e.color.warningText})),Fm=w(fa)(({theme:e})=>({background:e.background.hoverable,color:e.color.defaultText})),Am=({hidden:e,ignoreConfig:t,ignoreSuggestions:n,onOpen:r})=>{let[i]=Ze(So),o=Object.keys(i?.problems||{}),l=Object.keys(i?.suggestions||{}),[s,c]=Re(()=>!!localStorage.getItem(El)),d=W(()=>{c(!0),localStorage.setItem(El,"true")},[]),u=a.createElement($e,{isButton:!0,onClick:()=>r(o[0]||l[0]),withArrow:!0},"Show details");return o.length>0&&!t?a.createElement(Nm,{hidden:e},a.createElement(Gl,null,a.createElement(st,null,a.createElement("span",null,"Visual tests locked due to configuration ",(0,rm.default)("problem",o.length),"."," ",u)))):l.length>0&&!s&&!t&&!n?a.createElement(Fm,{hidden:e},a.createElement(Gl,null,a.createElement(st,null,a.createElement("span",null,"Configuration could be improved. ",u)),a.createElement(st,{push:!0},a.createElement(lt,{onClick:d},a.createElement(Co,null))))):null},Om=w.div({display:"flex",flexDirection:"column",height:"100%"}),Yl=w.div(({hidden:e,theme:t})=>({background:t.background.app,display:e?"none":"flex",flexDirection:"column",flexGrow:1,height:"100%",overflowY:"auto"})),Qr=w.div(({theme:e})=>({background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,display:"flex",flexDirection:"row",alignItems:"center",height:39,flexShrink:0,padding:"0 10px"})),Ne=({children:e,footer:t=a.createElement(Qr,null,a.createElement(st,{push:!0}),a.createElement(st,null,a.createElement(Yr,null))),ignoreConfig:n=!1,ignoreSuggestions:r=!t})=>{let{configVisible:i}=Gr(),{toggleConfig:o}=jn(),l=W(s=>{o(!0),s&&setTimeout(()=>{document.getElementById(`${s}-option`)?.scrollIntoView({behavior:"smooth",inline:"nearest"})},200)},[o]);return a.createElement(Om,null,a.createElement(Am,{onOpen:l,hidden:i,ignoreConfig:n,ignoreSuggestions:r}),a.createElement(Yl,{hidden:i},e),a.createElement(Yl,{hidden:!i},a.createElement(Em,{onClose:()=>o(!1)})),t)},Lm=w.div(({theme:e})=>({position:"relative","&& input":{color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2,lineHeight:"20px"}})),Tm=w.div(({theme:e})=>({pointerEvents:"none",position:"absolute",top:0,left:40,right:0,zIndex:2,overflow:"hidden",height:40,display:"flex",alignItems:"center",lineHeight:"20px",color:e.input.color||"inherit",fontSize:e.typography.size.s2,span:{opacity:0}})),_m=({value:e,placeholder:t,suffix:n})=>a.createElement(Tm,null,a.createElement("span",null,e||t),a.createElement("b",null,n)),Zm=({id:e,value:t,placeholder:n,suffix:r,...i})=>a.createElement(Lm,null,a.createElement(Js,{id:e,hideLabel:!0,label:"",value:t,placeholder:n,crossOrigin:void 0,enterKeyHint:void 0,...i}),a.createElement(_m,{value:t,placeholder:n,suffix:r})),Ql=w(lt)(({theme:e})=>({color:e.base==="light"?"currentColor":e.color.medium,fontSize:e.typography.size.s2,fontWeight:e.typography.weight.bold})),Kr=({onBack:e})=>a.createElement(Mm,null,e&&a.createElement(st,null,a.createElement(Ql,{onClick:e},a.createElement(Zd,null),"Back")),a.createElement(st,{push:!0},a.createElement(Oe,{as:"div",hasChrome:!1,trigger:"hover",tooltip:a.createElement(je,{note:"Learn about Visual Tests"})},a.createElement(Ql,{as:"a",href:"https://www.chromatic.com/features/visual-test",target:"_blank"},a.createElement(os,null))))),Im=w.form({position:"relative",display:"flex",flexDirection:"column",width:"100%",maxWidth:300,margin:10}),Rm=w(pi)({"&&":{fontSize:13,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:4,borderBottomRightRadius:4}}),Bm=({onBack:e,onSignIn:t})=>{let[n,r]=Re(""),[i,o]=Re(null),l=W(c=>{let d=c.target.value.replace(/[^a-z0-9-]/g,"");r(d),o(null)},[]),s=W(c=>{c.preventDefault(),n?t(n):o("Please enter a subdomain")},[n,t]);return a.createElement(Ne,{footer:null,ignoreConfig:!0},a.createElement(Kr,{onBack:e}),a.createElement(ye,null,a.createElement("div",null,a.createElement(n0,null),a.createElement(pn,null)),a.createElement(fe,null,"Sign in with SSO"),a.createElement(q,{muted:!0},"Enter your team's Chromatic URL."),a.createElement(Im,{onSubmit:s},a.createElement(Zm,{autoFocus:!0,icon:"users",value:n,placeholder:"yourteam",suffix:".chromatic.com",onChange:l,id:"subdomain-input",stackLevel:"top",error:i,errorTooltipPlacement:"top"}),a.createElement(Rm,{type:"submit",variant:"solid",size:"medium"},"Continue"))))},Ft=w.div(()=>({display:"flex",flexDirection:"column",gap:5,alignItems:"center",textAlign:"center"})),de=w.div(e=>({display:"flex",flexDirection:"column",gap:15,alignItems:e.alignItems??"center",textAlign:e.textAlign??"center"})),Pm=({onBack:e,onSignIn:t,onSignInWithSSO:n})=>a.createElement(Ne,{footer:null,ignoreConfig:!0},a.createElement(Kr,{onBack:e}),a.createElement(ye,null,a.createElement(de,{alignItems:"center",textAlign:"center"},a.createElement("div",null,a.createElement(n0,null),a.createElement(pn,null),a.createElement(fe,null,"Sign in to begin visual testing"),a.createElement(q,{center:!0,muted:!0},"Pinpoint bugs instantly by connecting with cloud browsers that run visual tests in parallel.")),a.createElement(Ft,null,a.createElement(ue,{variant:"solid",size:"medium",onClick:()=>t()},"Sign in with Chromatic"),a.createElement(ue,{link:!0,onClick:()=>n()},"Sign in with SSO")))));function Fn(e,t){return t}var Vm={"\n query VisualTestsProjectCountQuery {\n viewer {\n projectCount\n accounts {\n newProjectUrl\n }\n }\n }\n":i2,"\n query SelectProjectsQuery {\n viewer {\n accounts {\n id\n name\n avatarUrl\n newProjectUrl\n projects {\n id\n name\n webUrl\n lastBuild {\n branch\n number\n }\n }\n }\n }\n }\n":o2,"\n query ProjectQuery($projectId: ID!) {\n project(id: $projectId) {\n id\n name\n webUrl\n lastBuild {\n branch\n number\n }\n }\n }\n":l2,"\n mutation UpdateUserPreferences($input: UserPreferencesInput!) {\n updateUserPreferences(input: $input) {\n updatedPreferences {\n vtaOnboarding\n }\n }\n }\n":s2,"\n query AddonVisualTestsBuild(\n $projectId: ID!\n $branch: String!\n $gitUserEmailHash: String!\n $repositoryOwnerName: String\n $storyId: String!\n $testStatuses: [TestStatus!]!\n $selectedBuildId: ID!\n $hasSelectedBuildId: Boolean!\n ) {\n project(id: $projectId) {\n name\n manageUrl\n account {\n billingUrl\n suspensionReason\n }\n features {\n uiTests\n }\n lastBuildOnBranch: lastBuild(\n branches: [$branch]\n repositoryOwnerName: $repositoryOwnerName\n localBuilds: { localBuildEmailHash: $gitUserEmailHash }\n ) {\n ...LastBuildOnBranchBuildFields\n ...SelectedBuildFields @skip(if: $hasSelectedBuildId)\n }\n lastBuild {\n id\n slug\n branch\n }\n }\n selectedBuild: build(id: $selectedBuildId) @include(if: $hasSelectedBuildId) {\n ...SelectedBuildFields\n }\n viewer {\n preferences {\n vtaOnboarding\n }\n projectMembership(projectId: $projectId) {\n userCanReview: meetsAccessLevel(minimumAccessLevel: REVIEWER)\n }\n }\n }\n":c2,"\n fragment LastBuildOnBranchBuildFields on Build {\n __typename\n id\n status\n committedAt\n ... on StartedBuild {\n testsForStatus: tests(first: 1000, statuses: $testStatuses) {\n nodes {\n ...StatusTestFields\n }\n }\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...LastBuildOnBranchTestFields\n }\n }\n }\n ... on CompletedBuild {\n result\n testsForStatus: tests(first: 1000, statuses: $testStatuses) {\n nodes {\n ...StatusTestFields\n }\n }\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...LastBuildOnBranchTestFields\n }\n }\n }\n }\n":n2,"\n fragment SelectedBuildFields on Build {\n __typename\n id\n number\n branch\n commit\n committedAt\n uncommittedHash\n status\n ... on StartedBuild {\n startedAt\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...StoryTestFields\n }\n }\n }\n ... on CompletedBuild {\n startedAt\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...StoryTestFields\n }\n }\n }\n }\n":r2,"\n fragment StatusTestFields on Test {\n id\n status\n result\n story {\n storyId\n }\n }\n":e2,"\n fragment LastBuildOnBranchTestFields on Test {\n status\n result\n }\n":t2,"\n fragment StoryTestFields on Test {\n id\n status\n result\n webUrl\n comparisons {\n id\n result\n browser {\n id\n key\n name\n version\n }\n captureDiff {\n diffImage(signed: true) {\n imageUrl\n imageWidth\n }\n focusImage(signed: true) {\n imageUrl\n imageWidth\n }\n }\n headCapture {\n captureImage(signed: true) {\n backgroundColor\n imageUrl\n imageWidth\n imageHeight\n thumbnailUrl\n }\n captureError {\n kind\n ... on CaptureErrorInteractionFailure {\n error\n }\n ... on CaptureErrorJSError {\n error\n }\n ... on CaptureErrorFailedJS {\n error\n }\n }\n }\n baseCapture {\n captureImage(signed: true) {\n imageUrl\n imageWidth\n imageHeight\n }\n }\n }\n mode {\n name\n globals\n }\n story {\n storyId\n name\n component {\n name\n }\n }\n }\n":a2,"\n mutation ReviewTest($input: ReviewTestInput!) {\n reviewTest(input: $input) {\n updatedTests {\n id\n status\n }\n userErrors {\n ... on UserError {\n __typename\n message\n }\n ... on BuildSupersededError {\n build {\n id\n }\n }\n ... on TestUnreviewableError {\n test {\n id\n }\n }\n }\n }\n }\n":d2};function vt(e){return Vm[e]??{}}var se;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{let o={};for(let l of i)o[l]=l;return o},e.getValidEnumValues=i=>{let o=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),l={};for(let s of o)l[s]=i[s];return e.objectValues(l)},e.objectValues=i=>e.objectKeys(i).map(function(o){return i[o]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{let o=[];for(let l in i)Object.prototype.hasOwnProperty.call(i,l)&&o.push(l);return o},e.find=(i,o)=>{for(let l of i)if(o(l))return l},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function r(i,o=" | "){return i.map(l=>typeof l=="string"?`'${l}'`:l).join(o)}e.joinValues=r,e.jsonStringifyReplacer=(i,o)=>typeof o=="bigint"?o.toString():o})(se||(se={}));var so;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(so||(so={}));var L=se.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),zt=e=>{switch(typeof e){case"undefined":return L.undefined;case"string":return L.string;case"number":return isNaN(e)?L.nan:L.number;case"boolean":return L.boolean;case"function":return L.function;case"bigint":return L.bigint;case"symbol":return L.symbol;case"object":return Array.isArray(e)?L.array:e===null?L.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?L.promise:typeof Map<"u"&&e instanceof Map?L.map:typeof Set<"u"&&e instanceof Set?L.set:typeof Date<"u"&&e instanceof Date?L.date:L.object;default:return L.unknown}},A=se.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),jm=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),pt=class extends Error{constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(i){return i.message},n={_errors:[]},r=i=>{for(let o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(r);else if(o.code==="invalid_return_type")r(o.returnTypeError);else if(o.code==="invalid_arguments")r(o.argumentsError);else if(o.path.length===0)n._errors.push(t(o));else{let l=n,s=0;for(;st.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};pt.create=e=>new pt(e);var wa=(e,t)=>{let n;switch(e.code){case A.invalid_type:e.received===L.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case A.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,se.jsonStringifyReplacer)}`;break;case A.unrecognized_keys:n=`Unrecognized key(s) in object: ${se.joinValues(e.keys,", ")}`;break;case A.invalid_union:n="Invalid input";break;case A.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${se.joinValues(e.options)}`;break;case A.invalid_enum_value:n=`Invalid enum value. Expected ${se.joinValues(e.options)}, received '${e.received}'`;break;case A.invalid_arguments:n="Invalid function arguments";break;case A.invalid_return_type:n="Invalid function return type";break;case A.invalid_date:n="Invalid date";break;case A.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:se.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case A.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case A.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case A.custom:n="Invalid input";break;case A.invalid_intersection_types:n="Intersection results could not be merged";break;case A.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case A.not_finite:n="Number must be finite";break;default:n=t.defaultError,se.assertNever(e)}return{message:n}},s0=wa;function Dm(e){s0=e}function Sr(){return s0}var xr=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],l={...i,path:o},s="",c=r.filter(d=>!!d).slice().reverse();for(let d of c)s=d(l,{data:t,defaultError:s}).message;return{...i,path:o,message:i.message||s}},Hm=[];function Z(e,t){let n=xr({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,Sr(),wa].filter(r=>!!r)});e.common.issues.push(n)}var We=class{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if(r.status==="aborted")return G;r.status==="dirty"&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let r of t)n.push({key:await r.key,value:await r.value});return We.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:i,value:o}=r;if(i.status==="aborted"||o.status==="aborted")return G;i.status==="dirty"&&e.dirty(),o.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||r.alwaysSet)&&(n[i.value]=o.value)}return{status:e.value,value:n}}},G=Object.freeze({status:"aborted"}),c0=e=>({status:"dirty",value:e}),qe=e=>({status:"valid",value:e}),co=e=>e.status==="aborted",uo=e=>e.status==="dirty",Ca=e=>e.status==="valid",Mr=e=>typeof Promise<"u"&&e instanceof Promise,D;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(D||(D={}));var At=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Kl=(e,t)=>{if(Ca(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new pt(e.common.issues);return this._error=n,this._error}}};function K(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,l)=>o.code!=="invalid_type"?{message:l.defaultError}:typeof l.data>"u"?{message:r??l.defaultError}:{message:n??l.defaultError},description:i}}var te=class{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return zt(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:zt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new We,ctx:{common:e.parent.common,data:e.data,parsedType:zt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(Mr(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:(n=t?.async)!==null&&n!==void 0?n:!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:zt(e)},i=this._parseSync({data:e,path:r.path,parent:r});return Kl(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:zt(e)},r=this._parse({data:e,path:n.path,parent:n}),i=await(Mr(r)?r:Promise.resolve(r));return Kl(n,i)}refine(e,t){let n=r=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(r):t;return this._refinement((r,i)=>{let o=e(r),l=()=>i.addIssue({code:A.custom,...n(r)});return typeof Promise<"u"&&o instanceof Promise?o.then(s=>s?!0:(l(),!1)):o?!0:(l(),!1)})}refinement(e,t){return this._refinement((n,r)=>e(n)?!0:(r.addIssue(typeof t=="function"?t(n,r):t),!1))}_refinement(e){return new ht({schema:this,typeName:$.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Zt.create(this,this._def)}nullable(){return un.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Mt.create(this,this._def)}promise(){return In.create(this,this._def)}or(e){return Na.create([this,e],this._def)}and(e){return Fa.create(this,e,this._def)}transform(e){return new ht({...K(this._def),schema:this,typeName:$.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t=typeof e=="function"?e:()=>e;return new Ta({...K(this._def),innerType:this,defaultValue:t,typeName:$.ZodDefault})}brand(){return new u0({typeName:$.ZodBranded,type:this,...K(this._def)})}catch(e){let t=typeof e=="function"?e:()=>e;return new Lr({...K(this._def),innerType:this,catchValue:t,typeName:$.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Jr.create(this,e)}readonly(){return _r.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},zm=/^c[^\s-]{8,}$/i,Um=/^[a-z][a-z0-9]*$/,$m=/^[0-9A-HJKMNP-TV-Z]{26}$/,Wm=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,qm=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Gm="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",Ai,Ym=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,Qm=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,Km=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function Jm(e,t){return!!((t==="v4"||!t)&&Ym.test(e)||(t==="v6"||!t)&&Qm.test(e))}var Ct=class extends te{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==L.string){let r=this._getOrReturnCtx(e);return Z(r,{code:A.invalid_type,expected:L.string,received:r.parsedType}),G}let t=new We,n;for(let r of this._def.checks)if(r.kind==="min")e.data.lengthr.value&&(n=this._getOrReturnCtx(e,n),Z(n,{code:A.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind==="length"){let i=e.data.length>r.value,o=e.data.lengthe.test(r),{validation:t,code:A.invalid_string,...D.errToObj(n)})}_addCheck(e){return new Ct({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...D.errToObj(e)})}url(e){return this._addCheck({kind:"url",...D.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...D.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...D.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...D.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...D.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...D.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...D.errToObj(e)})}datetime(e){var t;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(t=e?.offset)!==null&&t!==void 0?t:!1,...D.errToObj(e?.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...D.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...D.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...D.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...D.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...D.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...D.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...D.errToObj(t)})}nonempty(e){return this.min(1,D.errToObj(e))}trim(){return new Ct({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ct({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ct({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value{var t;return new Ct({checks:[],typeName:$.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...K(e)})};function Xm(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,o=parseInt(e.toFixed(i).replace(".","")),l=parseInt(t.toFixed(i).replace(".",""));return o%l/Math.pow(10,i)}var sn=class extends te{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==L.number){let r=this._getOrReturnCtx(e);return Z(r,{code:A.invalid_type,expected:L.number,received:r.parsedType}),G}let t,n=new We;for(let r of this._def.checks)r.kind==="int"?se.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),Z(t,{code:A.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),Z(t,{code:A.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind==="multipleOf"?Xm(e.data,r.value)!==0&&(t=this._getOrReturnCtx(e,t),Z(t,{code:A.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),Z(t,{code:A.not_finite,message:r.message}),n.dirty()):se.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,D.toString(t))}gt(e,t){return this.setLimit("min",e,!1,D.toString(t))}lte(e,t){return this.setLimit("max",e,!0,D.toString(t))}lt(e,t){return this.setLimit("max",e,!1,D.toString(t))}setLimit(e,t,n,r){return new sn({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:D.toString(r)}]})}_addCheck(e){return new sn({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:D.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:D.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:D.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:D.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:D.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:D.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:D.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:D.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:D.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.valuee.kind==="int"||e.kind==="multipleOf"&&se.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(e===null||n.valuenew sn({checks:[],typeName:$.ZodNumber,coerce:e?.coerce||!1,...K(e)});var cn=class extends te{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==L.bigint){let r=this._getOrReturnCtx(e);return Z(r,{code:A.invalid_type,expected:L.bigint,received:r.parsedType}),G}let t,n=new We;for(let r of this._def.checks)r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),Z(t,{code:A.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),Z(t,{code:A.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):se.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,D.toString(t))}gt(e,t){return this.setLimit("min",e,!1,D.toString(t))}lte(e,t){return this.setLimit("max",e,!0,D.toString(t))}lt(e,t){return this.setLimit("max",e,!1,D.toString(t))}setLimit(e,t,n,r){return new cn({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:D.toString(r)}]})}_addCheck(e){return new cn({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:D.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:D.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:D.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:D.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:D.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value{var t;return new cn({checks:[],typeName:$.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...K(e)})};var Sa=class extends te{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==L.boolean){let t=this._getOrReturnCtx(e);return Z(t,{code:A.invalid_type,expected:L.boolean,received:t.parsedType}),G}return qe(e.data)}};Sa.create=e=>new Sa({typeName:$.ZodBoolean,coerce:e?.coerce||!1,...K(e)});var Tn=class extends te{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==L.date){let r=this._getOrReturnCtx(e);return Z(r,{code:A.invalid_type,expected:L.date,received:r.parsedType}),G}if(isNaN(e.data.getTime())){let r=this._getOrReturnCtx(e);return Z(r,{code:A.invalid_date}),G}let t=new We,n;for(let r of this._def.checks)r.kind==="min"?e.data.getTime()r.value&&(n=this._getOrReturnCtx(e,n),Z(n,{code:A.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),t.dirty()):se.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new Tn({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:D.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:D.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.valuenew Tn({checks:[],coerce:e?.coerce||!1,typeName:$.ZodDate,...K(e)});var Nr=class extends te{_parse(e){if(this._getType(e)!==L.symbol){let t=this._getOrReturnCtx(e);return Z(t,{code:A.invalid_type,expected:L.symbol,received:t.parsedType}),G}return qe(e.data)}};Nr.create=e=>new Nr({typeName:$.ZodSymbol,...K(e)});var xa=class extends te{_parse(e){if(this._getType(e)!==L.undefined){let t=this._getOrReturnCtx(e);return Z(t,{code:A.invalid_type,expected:L.undefined,received:t.parsedType}),G}return qe(e.data)}};xa.create=e=>new xa({typeName:$.ZodUndefined,...K(e)});var Ma=class extends te{_parse(e){if(this._getType(e)!==L.null){let t=this._getOrReturnCtx(e);return Z(t,{code:A.invalid_type,expected:L.null,received:t.parsedType}),G}return qe(e.data)}};Ma.create=e=>new Ma({typeName:$.ZodNull,...K(e)});var _n=class extends te{constructor(){super(...arguments),this._any=!0}_parse(e){return qe(e.data)}};_n.create=e=>new _n({typeName:$.ZodAny,...K(e)});var ln=class extends te{constructor(){super(...arguments),this._unknown=!0}_parse(e){return qe(e.data)}};ln.create=e=>new ln({typeName:$.ZodUnknown,...K(e)});var It=class extends te{_parse(e){let t=this._getOrReturnCtx(e);return Z(t,{code:A.invalid_type,expected:L.never,received:t.parsedType}),G}};It.create=e=>new It({typeName:$.ZodNever,...K(e)});var Fr=class extends te{_parse(e){if(this._getType(e)!==L.undefined){let t=this._getOrReturnCtx(e);return Z(t,{code:A.invalid_type,expected:L.void,received:t.parsedType}),G}return qe(e.data)}};Fr.create=e=>new Fr({typeName:$.ZodVoid,...K(e)});var Mt=class extends te{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==L.array)return Z(t,{code:A.invalid_type,expected:L.array,received:t.parsedType}),G;if(r.exactLength!==null){let o=t.data.length>r.exactLength.value,l=t.data.lengthr.maxLength.value&&(Z(t,{code:A.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((o,l)=>r.type._parseAsync(new At(t,o,t.path,l)))).then(o=>We.mergeArray(n,o));let i=[...t.data].map((o,l)=>r.type._parseSync(new At(t,o,t.path,l)));return We.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new Mt({...this._def,minLength:{value:e,message:D.toString(t)}})}max(e,t){return new Mt({...this._def,maxLength:{value:e,message:D.toString(t)}})}length(e,t){return new Mt({...this._def,exactLength:{value:e,message:D.toString(t)}})}nonempty(e){return this.min(1,e)}};Mt.create=(e,t)=>new Mt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:$.ZodArray,...K(t)});function Sn(e){if(e instanceof Fe){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=Zt.create(Sn(r))}return new Fe({...e._def,shape:()=>t})}else return e instanceof Mt?new Mt({...e._def,type:Sn(e.element)}):e instanceof Zt?Zt.create(Sn(e.unwrap())):e instanceof un?un.create(Sn(e.unwrap())):e instanceof Rt?Rt.create(e.items.map(t=>Sn(t))):e}var Fe=class extends te{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=se.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==L.object){let s=this._getOrReturnCtx(e);return Z(s,{code:A.invalid_type,expected:L.object,received:s.parsedType}),G}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),o=[];if(!(this._def.catchall instanceof It&&this._def.unknownKeys==="strip"))for(let s in n.data)i.includes(s)||o.push(s);let l=[];for(let s of i){let c=r[s],d=n.data[s];l.push({key:{status:"valid",value:s},value:c._parse(new At(n,d,n.path,s)),alwaysSet:s in n.data})}if(this._def.catchall instanceof It){let s=this._def.unknownKeys;if(s==="passthrough")for(let c of o)l.push({key:{status:"valid",value:c},value:{status:"valid",value:n.data[c]}});else if(s==="strict")o.length>0&&(Z(n,{code:A.unrecognized_keys,keys:o}),t.dirty());else if(s!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let s=this._def.catchall;for(let c of o){let d=n.data[c];l.push({key:{status:"valid",value:c},value:s._parse(new At(n,d,n.path,c)),alwaysSet:c in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let s=[];for(let c of l){let d=await c.key;s.push({key:d,value:await c.value,alwaysSet:c.alwaysSet})}return s}).then(s=>We.mergeObjectSync(t,s)):We.mergeObjectSync(t,l)}get shape(){return this._def.shape()}strict(e){return D.errToObj,new Fe({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,n)=>{var r,i,o,l;let s=(o=(i=(r=this._def).errorMap)===null||i===void 0?void 0:i.call(r,t,n).message)!==null&&o!==void 0?o:n.defaultError;return t.code==="unrecognized_keys"?{message:(l=D.errToObj(e).message)!==null&&l!==void 0?l:s}:{message:s}}}:{}})}strip(){return new Fe({...this._def,unknownKeys:"strip"})}passthrough(){return new Fe({...this._def,unknownKeys:"passthrough"})}extend(e){return new Fe({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Fe({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:$.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new Fe({...this._def,catchall:e})}pick(e){let t={};return se.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new Fe({...this._def,shape:()=>t})}omit(e){let t={};return se.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new Fe({...this._def,shape:()=>t})}deepPartial(){return Sn(this)}partial(e){let t={};return se.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new Fe({...this._def,shape:()=>t})}required(e){let t={};return se.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let r=this.shape[n];for(;r instanceof Zt;)r=r._def.innerType;t[n]=r}}),new Fe({...this._def,shape:()=>t})}keyof(){return d0(se.objectKeys(this.shape))}};Fe.create=(e,t)=>new Fe({shape:()=>e,unknownKeys:"strip",catchall:It.create(),typeName:$.ZodObject,...K(t)});Fe.strictCreate=(e,t)=>new Fe({shape:()=>e,unknownKeys:"strict",catchall:It.create(),typeName:$.ZodObject,...K(t)});Fe.lazycreate=(e,t)=>new Fe({shape:e,unknownKeys:"strip",catchall:It.create(),typeName:$.ZodObject,...K(t)});var Na=class extends te{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(i){for(let l of i)if(l.result.status==="valid")return l.result;for(let l of i)if(l.result.status==="dirty")return t.common.issues.push(...l.ctx.common.issues),l.result;let o=i.map(l=>new pt(l.ctx.common.issues));return Z(t,{code:A.invalid_union,unionErrors:o}),G}if(t.common.async)return Promise.all(n.map(async i=>{let o={...t,common:{...t.common,issues:[]},parent:null};return{result:await i._parseAsync({data:t.data,path:t.path,parent:o}),ctx:o}})).then(r);{let i,o=[];for(let s of n){let c={...t,common:{...t.common,issues:[]},parent:null},d=s._parseSync({data:t.data,path:t.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!i&&(i={result:d,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(i)return t.common.issues.push(...i.ctx.common.issues),i.result;let l=o.map(s=>new pt(s));return Z(t,{code:A.invalid_union,unionErrors:l}),G}}get options(){return this._def.options}};Na.create=(e,t)=>new Na({options:e,typeName:$.ZodUnion,...K(t)});var dr=e=>e instanceof Aa?dr(e.schema):e instanceof ht?dr(e.innerType()):e instanceof Oa?[e.value]:e instanceof dn?e.options:e instanceof La?Object.keys(e.enum):e instanceof Ta?dr(e._def.innerType):e instanceof xa?[void 0]:e instanceof Ma?[null]:null,jo=class extends te{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==L.object)return Z(t,{code:A.invalid_type,expected:L.object,received:t.parsedType}),G;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(Z(t,{code:A.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),G)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let i of t){let o=dr(i.shape[e]);if(!o)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let l of o){if(r.has(l))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(l)}`);r.set(l,i)}}return new jo({typeName:$.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...K(n)})}};function mo(e,t){let n=zt(e),r=zt(t);if(e===t)return{valid:!0,data:e};if(n===L.object&&r===L.object){let i=se.objectKeys(t),o=se.objectKeys(e).filter(s=>i.indexOf(s)!==-1),l={...e,...t};for(let s of o){let c=mo(e[s],t[s]);if(!c.valid)return{valid:!1};l[s]=c.data}return{valid:!0,data:l}}else if(n===L.array&&r===L.array){if(e.length!==t.length)return{valid:!1};let i=[];for(let o=0;o{if(co(i)||co(o))return G;let l=mo(i.value,o.value);return l.valid?((uo(i)||uo(o))&&t.dirty(),{status:t.value,value:l.data}):(Z(n,{code:A.invalid_intersection_types}),G)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([i,o])=>r(i,o)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};Fa.create=(e,t,n)=>new Fa({left:e,right:t,typeName:$.ZodIntersection,...K(n)});var Rt=class extends te{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==L.array)return Z(n,{code:A.invalid_type,expected:L.array,received:n.parsedType}),G;if(n.data.lengththis._def.items.length&&(Z(n,{code:A.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((i,o)=>{let l=this._def.items[o]||this._def.rest;return l?l._parse(new At(n,i,n.path,o)):null}).filter(i=>!!i);return n.common.async?Promise.all(r).then(i=>We.mergeArray(t,i)):We.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new Rt({...this._def,rest:e})}};Rt.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Rt({items:e,typeName:$.ZodTuple,rest:null,...K(t)})};var Ar=class extends te{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==L.object)return Z(n,{code:A.invalid_type,expected:L.object,received:n.parsedType}),G;let r=[],i=this._def.keyType,o=this._def.valueType;for(let l in n.data)r.push({key:i._parse(new At(n,l,n.path,l)),value:o._parse(new At(n,n.data[l],n.path,l))});return n.common.async?We.mergeObjectAsync(t,r):We.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return t instanceof te?new Ar({keyType:e,valueType:t,typeName:$.ZodRecord,...K(n)}):new Ar({keyType:Ct.create(),valueType:e,typeName:$.ZodRecord,...K(t)})}},Or=class extends te{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==L.map)return Z(n,{code:A.invalid_type,expected:L.map,received:n.parsedType}),G;let r=this._def.keyType,i=this._def.valueType,o=[...n.data.entries()].map(([l,s],c)=>({key:r._parse(new At(n,l,n.path,[c,"key"])),value:i._parse(new At(n,s,n.path,[c,"value"]))}));if(n.common.async){let l=new Map;return Promise.resolve().then(async()=>{for(let s of o){let c=await s.key,d=await s.value;if(c.status==="aborted"||d.status==="aborted")return G;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),l.set(c.value,d.value)}return{status:t.value,value:l}})}else{let l=new Map;for(let s of o){let c=s.key,d=s.value;if(c.status==="aborted"||d.status==="aborted")return G;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),l.set(c.value,d.value)}return{status:t.value,value:l}}}};Or.create=(e,t,n)=>new Or({valueType:t,keyType:e,typeName:$.ZodMap,...K(n)});var Zn=class extends te{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==L.set)return Z(n,{code:A.invalid_type,expected:L.set,received:n.parsedType}),G;let r=this._def;r.minSize!==null&&n.data.sizer.maxSize.value&&(Z(n,{code:A.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function o(s){let c=new Set;for(let d of s){if(d.status==="aborted")return G;d.status==="dirty"&&t.dirty(),c.add(d.value)}return{status:t.value,value:c}}let l=[...n.data.values()].map((s,c)=>i._parse(new At(n,s,n.path,c)));return n.common.async?Promise.all(l).then(s=>o(s)):o(l)}min(e,t){return new Zn({...this._def,minSize:{value:e,message:D.toString(t)}})}max(e,t){return new Zn({...this._def,maxSize:{value:e,message:D.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};Zn.create=(e,t)=>new Zn({valueType:e,minSize:null,maxSize:null,typeName:$.ZodSet,...K(t)});var ga=class extends te{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==L.function)return Z(t,{code:A.invalid_type,expected:L.function,received:t.parsedType}),G;function n(l,s){return xr({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Sr(),wa].filter(c=>!!c),issueData:{code:A.invalid_arguments,argumentsError:s}})}function r(l,s){return xr({data:l,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Sr(),wa].filter(c=>!!c),issueData:{code:A.invalid_return_type,returnTypeError:s}})}let i={errorMap:t.common.contextualErrorMap},o=t.data;if(this._def.returns instanceof In){let l=this;return qe(async function(...s){let c=new pt([]),d=await l._def.args.parseAsync(s,i).catch(m=>{throw c.addIssue(n(s,m)),c}),u=await Reflect.apply(o,this,d);return await l._def.returns._def.type.parseAsync(u,i).catch(m=>{throw c.addIssue(r(u,m)),c})})}else{let l=this;return qe(function(...s){let c=l._def.args.safeParse(s,i);if(!c.success)throw new pt([n(s,c.error)]);let d=Reflect.apply(o,this,c.data),u=l._def.returns.safeParse(d,i);if(!u.success)throw new pt([r(d,u.error)]);return u.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ga({...this._def,args:Rt.create(e).rest(ln.create())})}returns(e){return new ga({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new ga({args:e||Rt.create([]).rest(ln.create()),returns:t||ln.create(),typeName:$.ZodFunction,...K(n)})}},Aa=class extends te{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};Aa.create=(e,t)=>new Aa({getter:e,typeName:$.ZodLazy,...K(t)});var Oa=class extends te{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return Z(t,{received:t.data,code:A.invalid_literal,expected:this._def.value}),G}return{status:"valid",value:e.data}}get value(){return this._def.value}};Oa.create=(e,t)=>new Oa({value:e,typeName:$.ZodLiteral,...K(t)});function d0(e,t){return new dn({values:e,typeName:$.ZodEnum,...K(t)})}var dn=class extends te{_parse(e){if(typeof e.data!="string"){let t=this._getOrReturnCtx(e),n=this._def.values;return Z(t,{expected:se.joinValues(n),received:t.parsedType,code:A.invalid_type}),G}if(this._def.values.indexOf(e.data)===-1){let t=this._getOrReturnCtx(e),n=this._def.values;return Z(t,{received:t.data,code:A.invalid_enum_value,options:n}),G}return qe(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return dn.create(e)}exclude(e){return dn.create(this.options.filter(t=>!e.includes(t)))}};dn.create=d0;var La=class extends te{_parse(e){let t=se.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==L.string&&n.parsedType!==L.number){let r=se.objectValues(t);return Z(n,{expected:se.joinValues(r),received:n.parsedType,code:A.invalid_type}),G}if(t.indexOf(e.data)===-1){let r=se.objectValues(t);return Z(n,{received:n.data,code:A.invalid_enum_value,options:r}),G}return qe(e.data)}get enum(){return this._def.values}};La.create=(e,t)=>new La({values:e,typeName:$.ZodNativeEnum,...K(t)});var In=class extends te{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==L.promise&&t.common.async===!1)return Z(t,{code:A.invalid_type,expected:L.promise,received:t.parsedType}),G;let n=t.parsedType===L.promise?t.data:Promise.resolve(t.data);return qe(n.then(r=>this._def.type.parseAsync(r,{path:t.path,errorMap:t.common.contextualErrorMap})))}};In.create=(e,t)=>new In({type:e,typeName:$.ZodPromise,...K(t)});var ht=class extends te{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===$.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:o=>{Z(n,o),o.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){let o=r.transform(n.data,i);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(o).then(l=>this._def.schema._parseAsync({data:l,path:n.path,parent:n})):this._def.schema._parseSync({data:o,path:n.path,parent:n})}if(r.type==="refinement"){let o=l=>{let s=r.refinement(l,i);if(n.common.async)return Promise.resolve(s);if(s instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(n.common.async===!1){let l=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return l.status==="aborted"?G:(l.status==="dirty"&&t.dirty(),o(l.value),{status:t.value,value:l.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(l=>l.status==="aborted"?G:(l.status==="dirty"&&t.dirty(),o(l.value).then(()=>({status:t.value,value:l.value}))))}if(r.type==="transform")if(n.common.async===!1){let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Ca(o))return o;let l=r.transform(o.value,i);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:l}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>Ca(o)?Promise.resolve(r.transform(o.value,i)).then(l=>({status:t.value,value:l})):o);se.assertNever(r)}};ht.create=(e,t,n)=>new ht({schema:e,typeName:$.ZodEffects,effect:t,...K(n)});ht.createWithPreprocess=(e,t,n)=>new ht({schema:t,effect:{type:"preprocess",transform:e},typeName:$.ZodEffects,...K(n)});var Zt=class extends te{_parse(e){return this._getType(e)===L.undefined?qe(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Zt.create=(e,t)=>new Zt({innerType:e,typeName:$.ZodOptional,...K(t)});var un=class extends te{_parse(e){return this._getType(e)===L.null?qe(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};un.create=(e,t)=>new un({innerType:e,typeName:$.ZodNullable,...K(t)});var Ta=class extends te{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===L.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};Ta.create=(e,t)=>new Ta({innerType:e,typeName:$.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...K(t)});var Lr=class extends te{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Mr(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new pt(n.common.issues)},input:n.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new pt(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};Lr.create=(e,t)=>new Lr({innerType:e,typeName:$.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...K(t)});var Tr=class extends te{_parse(e){if(this._getType(e)!==L.nan){let t=this._getOrReturnCtx(e);return Z(t,{code:A.invalid_type,expected:L.nan,received:t.parsedType}),G}return{status:"valid",value:e.data}}};Tr.create=e=>new Tr({typeName:$.ZodNaN,...K(e)});var e4=Symbol("zod_brand"),u0=class extends te{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},Jr=class extends te{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let r=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return r.status==="aborted"?G:r.status==="dirty"?(t.dirty(),c0(r.value)):this._def.out._parseAsync({data:r.value,path:n.path,parent:n})})();{let r=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return r.status==="aborted"?G:r.status==="dirty"?(t.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:n.path,parent:n})}}static create(e,t){return new Jr({in:e,out:t,typeName:$.ZodPipeline})}},_r=class extends te{_parse(e){let t=this._def.innerType._parse(e);return Ca(t)&&(t.value=Object.freeze(t.value)),t}};_r.create=(e,t)=>new _r({innerType:e,typeName:$.ZodReadonly,...K(t)});var m0=(e,t={},n)=>e?_n.create().superRefine((r,i)=>{var o,l;if(!e(r)){let s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,c=(l=(o=s.fatal)!==null&&o!==void 0?o:n)!==null&&l!==void 0?l:!0,d=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...d,fatal:c})}}):_n.create(),t4={object:Fe.lazycreate},$;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})($||($={}));var n4=(e,t={message:`Input not instance of ${e.name}`})=>m0(n=>n instanceof e,t),p0=Ct.create,h0=sn.create,a4=Tr.create,r4=cn.create,f0=Sa.create,i4=Tn.create,o4=Nr.create,l4=xa.create,s4=Ma.create,c4=_n.create,d4=ln.create,u4=It.create,m4=Fr.create,p4=Mt.create,h4=Fe.create,f4=Fe.strictCreate,g4=Na.create,v4=jo.create,y4=Fa.create,b4=Rt.create,E4=Ar.create,k4=Or.create,w4=Zn.create,C4=ga.create,S4=Aa.create,x4=Oa.create,M4=dn.create,N4=La.create,F4=In.create,Jl=ht.create,A4=Zt.create,O4=un.create,L4=ht.createWithPreprocess,T4=Jr.create,_4=()=>p0().optional(),Z4=()=>h0().optional(),I4=()=>f0().optional(),R4={string:e=>Ct.create({...e,coerce:!0}),number:e=>sn.create({...e,coerce:!0}),boolean:e=>Sa.create({...e,coerce:!0}),bigint:e=>cn.create({...e,coerce:!0}),date:e=>Tn.create({...e,coerce:!0})},B4=G,Tt=Object.freeze({__proto__:null,defaultErrorMap:wa,setErrorMap:Dm,getErrorMap:Sr,makeIssue:xr,EMPTY_PATH:Hm,addIssueToContext:Z,ParseStatus:We,INVALID:G,DIRTY:c0,OK:qe,isAborted:co,isDirty:uo,isValid:Ca,isAsync:Mr,get util(){return se},get objectUtil(){return so},ZodParsedType:L,getParsedType:zt,ZodType:te,ZodString:Ct,ZodNumber:sn,ZodBigInt:cn,ZodBoolean:Sa,ZodDate:Tn,ZodSymbol:Nr,ZodUndefined:xa,ZodNull:Ma,ZodAny:_n,ZodUnknown:ln,ZodNever:It,ZodVoid:Fr,ZodArray:Mt,ZodObject:Fe,ZodUnion:Na,ZodDiscriminatedUnion:jo,ZodIntersection:Fa,ZodTuple:Rt,ZodRecord:Ar,ZodMap:Or,ZodSet:Zn,ZodFunction:ga,ZodLazy:Aa,ZodLiteral:Oa,ZodEnum:dn,ZodNativeEnum:La,ZodPromise:In,ZodEffects:ht,ZodTransformer:ht,ZodOptional:Zt,ZodNullable:un,ZodDefault:Ta,ZodCatch:Lr,ZodNaN:Tr,BRAND:e4,ZodBranded:u0,ZodPipeline:Jr,ZodReadonly:_r,custom:m0,Schema:te,ZodSchema:te,late:t4,get ZodFirstPartyTypeKind(){return $},coerce:R4,any:c4,array:p4,bigint:r4,boolean:f0,date:i4,discriminatedUnion:v4,effect:Jl,enum:M4,function:C4,instanceof:n4,intersection:y4,lazy:S4,literal:x4,map:k4,nan:a4,nativeEnum:N4,never:u4,null:s4,nullable:O4,number:h0,object:h4,oboolean:I4,onumber:Z4,optional:A4,ostring:_4,pipeline:T4,preprocess:L4,promise:F4,record:E4,set:w4,strictObject:f4,string:p0,symbol:o4,transformer:Jl,tuple:b4,undefined:l4,union:g4,unknown:d4,void:m4,NEVER:B4,ZodIssueCode:A,quotelessJson:jm,ZodError:pt}),P4=Tt.union([Tt.object({message:Tt.literal("login")}),Tt.object({message:Tt.literal("grant"),denied:Tt.boolean()}),Tt.object({message:Tt.literal("createdProject"),projectId:Tt.string()})]),g0=e=>{let t=Pe(),n=Pe();return oe(()=>{let r=({origin:i,data:o})=>{if(i===n.current){let l;try{l=P4.parse(o)}catch{return}e?.(l)}};return window.addEventListener("message",r),()=>window.removeEventListener("message",r)},[e]),[W(r=>{if(window.innerWidth>800&&window.innerHeight>800){let o=(window.innerWidth-800)/2+window.screenLeft,l=`scrollbars=yes,width=800,height=800,top=${(window.innerHeight-800)/2+window.screenTop},left=${o}`;t.current=window.open(r,"chromatic-dialog",l),t.current?.focus()}else t.current=window.open(r,"_blank");let{origin:i}=new URL(r);n.current=i},[]),W(()=>t.current?.close(),[])]},V4=w.ol(({theme:e})=>({display:"inline-flex",listStyle:"none",marginTop:15,marginBottom:5,padding:0,gap:5,"li:not(:empty)":{display:"flex",alignItems:"center",justifyContent:"center",border:`1px dashed ${e.input.border}`,borderRadius:4,width:28,height:32}})),j4=vt(` + query VisualTestsProjectCountQuery { + viewer { + projectCount + accounts { + newProjectUrl + } + } + } +`),D4=({onBack:e,hasProjectId:t,setAccessToken:n,setCreatedProjectId:r,exchangeParameters:i})=>{let o=Oo(),l=e0(),{user_code:s,verificationUrl:c}=i,d=Pe(),u=Pe(),m=Pe(),p=W(async y=>{if(y.message==="login"&&u.current?.(c),y.message==="grant")try{let k=await em(i);if(!k)throw new Error("Failed to fetch an access token");d.current=k;let b=As(k),{data:h}=await o.query(j4,{},{fetchOptions:b});if(!h?.viewer)throw new Error("Failed to fetch initial project list");if(h.viewer.projectCount>0||t)n(d.current),m.current?.();else{if(!h.viewer.accounts[0])throw new Error("User has no accounts!");if(!h.viewer.accounts[0].newProjectUrl)throw new Error("Unexpected missing project URL");u.current?.(h.viewer.accounts[0].newProjectUrl)}}catch(k){l("Login Error",k)}y.message==="createdProject"&&(d.current?(n(d.current),r(`Project:${y.projectId}`),m.current?.()):l("Unexpected missing access token",new Error))},[c,i,o,t,n,l,r]),[g,f]=g0(p);return u.current=g,m.current=f,a.createElement(Ne,{footer:null,ignoreConfig:!0},a.createElement(Kr,{onBack:e}),a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Verify your account"),a.createElement("div",null,a.createElement(q,{center:!0,muted:!0},"Check this verification code on Chromatic to grant access to your published Storybooks.")),a.createElement(V4,null,s?.split("").map((y,k)=>a.createElement("li",{key:`${k}-${y}`},y.replace(/[^A-Z0-9]/,""))))),a.createElement(ue,{variant:"solid",size:"medium",onClick:()=>g(c)},"Go to Chromatic"))))},H4=({onNext:e,onUninstall:t})=>a.createElement(Ne,{footer:null,ignoreConfig:!0},a.createElement(Kr,null),a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(pn,null),a.createElement(fe,null,"Visual tests"),a.createElement(q,{center:!0,muted:!0},"Catch bugs in UI appearance automatically. Compare image snapshots to detect visual changes.")),a.createElement(Ft,null,a.createElement(ue,{variant:"solid",size:"medium",onClick:e},"Enable"),a.createElement(ue,{link:!0,onClick:()=>t()},"Uninstall"))))),z4=({setAccessToken:e,setCreatedProjectId:t,hasProjectId:n})=>{let[r,i]=it("authenticationScreen",n?"signin":"welcome"),[o,l]=it("exchangeParameters"),s=e0(),{uninstallAddon:c}=Bo();nt("Authentication",r.charAt(0).toUpperCase()+r.slice(1));let d=W(async u=>{try{l(await X2(u)),i("verify")}catch(m){s("Sign in Error",m)}},[s,l,i]);if(r==="welcome"&&!n)return a.createElement(H4,{onNext:()=>i("signin"),onUninstall:c});if(r==="signin"||r==="welcome"&&n)return a.createElement(Pm,{...n?{}:{onBack:()=>i("welcome")},onSignIn:d,onSignInWithSSO:()=>i("subdomain")});if(r==="subdomain")return a.createElement(Bm,{onBack:()=>i("signin"),onSignIn:d});if(r==="verify"){if(!o)throw new Error("Expected to have a `exchangeParameters` if at `verify` step");return a.createElement(D4,{onBack:()=>i("signin"),hasProjectId:n,setAccessToken:e,setCreatedProjectId:t,exchangeParameters:o})}return null},v0=w.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",borderRadius:e.appBorderRadius,background:e.base==="light"?e.color.lightest:e.color.darkest,border:`1px solid ${e.appBorderColor}`,padding:15,flex:1,gap:14,maxWidth:"500px",width:"100%"}),({theme:e,warning:t})=>t&&{background:e.base==="dark"?"#342e1a":e.background.warning}),U4=w.b(()=>({display:"block",marginBottom:2})),$4=()=>{nt("Errors","GitNotFound");let{uninstallAddon:e}=Bo();return a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(pn,null),a.createElement(fe,null,"Visual tests"),a.createElement(q,{center:!0,muted:!0},"Catch bugs in UI appearance automatically. Compare image snapshots to detect visual changes.")),a.createElement(v0,null,a.createElement(is,{style:{flexShrink:0}}),a.createElement(q,null,a.createElement(U4,null,"Git not detected"),"This addon requires Git to associate test results with commits and branches. Run"," ",a.createElement(He,null,"git init")," and make your first commit",a.createElement(He,null,"git commit -m")," to get started!")),a.createElement($e,{target:"_blank",href:"https://www.chromatic.com/docs/visual-tests-addon#git-addon",withArrow:!0,secondary:!0},"Visual tests requirements"),a.createElement($e,{withArrow:!0,onClick:()=>e()},"Uninstall"))))},W4=w(wo)(({theme:e})=>({width:40,height:40,padding:10,background:e.color.positive,borderRadius:"100%",color:"white"})),q4=w($e)(()=>({marginTop:5})),G4=vt(` + query ProjectQuery($projectId: ID!) { + project(id: $projectId) { + id + name + webUrl + lastBuild { + branch + number + } + } + } +`),Y4=({projectId:e,configFile:t,goToNext:n})=>{nt("LinkProject","LinkedProject");let[{data:r,fetching:i,error:o}]=Lo({query:G4,variables:{projectId:e}});return a.createElement(Ne,{footer:a.createElement(Qr,null,a.createElement(st,null,r?.project?.lastBuild&&a.createElement(q,{style:{marginLeft:5}},"Last build: ",r.project.lastBuild.number," on branch"," ",r.project.lastBuild.branch)),a.createElement(st,{push:!0},a.createElement(Yr,null)))},a.createElement(ye,null,a.createElement(de,null,i&&a.createElement("p",null,"Loading..."),o&&a.createElement("p",null,o.message),r?.project&&a.createElement(a.Fragment,null,a.createElement(W4,null),a.createElement("div",null,a.createElement(fe,null,"Project linked!"),a.createElement(q,{center:!0,muted:!0,style:{maxWidth:500}},"The ",a.createElement(He,null,"projectId")," for ",a.createElement("strong",null,r.project.name)," was added in"," ",a.createElement(He,null,t)," to sync tests with Chromatic. Please commit this change to continue using this addon.")),a.createElement(Ft,null,a.createElement(ue,{variant:"solid",size:"medium",onClick:()=>n()},"Catch a UI change"),a.createElement(q4,{href:"https://www.chromatic.com/docs/cli",target:"_blank",withArrow:!0,secondary:!0},"What's a project ID?"))))))};function Q4(e){for(var t=[],n=1;n({"&& > *":{margin:0},"&& pre":{color:e.base==="light"?e.color.darker:e.color.lighter,background:e.base==="light"?e.color.lightest:e.color.darkest,fontSize:"12px",lineHeight:"16px",textAlign:"left",padding:"15px !important"}})),J4="https://www.chromatic.com/docs/visual-tests-addon/#configure";function X4({projectId:e,configFile:t}){return nt("LinkProject","LinkingProjectFailed"),a.createElement(Ne,null,a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Add the project ID to your Chromatic config"),a.createElement(q,{center:!0,muted:!0},"The ",a.createElement(He,null,"projectId")," will be used to sync tests with Chromatic. Please commit this change to continue using the addon. The file should be saved at"," ",a.createElement(He,null,t),".")),a.createElement(K4,null,a.createElement(He,null,Q4` + { + "projectId": "${e}", + } + `)),a.createElement($e,{secondary:!0,withArrow:!0,target:"_blank",href:J4},"What's this for?"))))}var ep=vt(` + query SelectProjectsQuery { + viewer { + accounts { + id + name + avatarUrl + newProjectUrl + projects { + id + name + webUrl + lastBuild { + branch + number + } + } + } + } + } +`),tp=({createdProjectId:e,setCreatedProjectId:t,onUpdateProject:n})=>{let r=a.useCallback(async i=>{await n(i)},[n]);return a.createElement(rp,{createdProjectId:e,setCreatedProjectId:t,onSelectProjectId:r})},er=w.div(({theme:e})=>({fontSize:`${e.typography.size.s1-1}px`,fontWeight:e.typography.weight.bold,color:e.base==="light"?e.color.dark:e.color.light,backgroundColor:"inherit",padding:"7px 15px",borderBottom:`1px solid ${e.appBorderColor}`,lineHeight:"18px",letterSpacing:"0.38em",textTransform:"uppercase"})),Xl=w.div(({theme:e})=>({})),e1=w.div(({theme:e})=>({background:e.base==="light"?e.color.lighter:e.color.darker})),t1=w.div(({theme:e})=>({background:e.base==="light"?e.color.lightest:e.color.darkest,borderRadius:5,border:`1px solid ${e.appBorderColor}`,height:260,maxWidth:420,minWidth:260,width:"100%",overflow:"hidden",textAlign:"left",position:"relative",display:"flex","> *":{flex:1,display:"flex",flexDirection:"column",width:"50%"}})),tr=w.div({height:"100%",overflowY:"auto"}),np=w(de)({width:"100%"}),ap=w(C2)({marginRight:10});function rp({createdProjectId:e,setCreatedProjectId:t,onSelectProjectId:n}){let[{data:r,fetching:i,error:o},l]=Lo({query:ep});oe(()=>{let h=setInterval(l,5e3);return()=>clearInterval(h)},[l]);let[s,c]=it("selectedAccountId"),d=r?.viewer?.accounts.find(h=>h.id===s),u=W(h=>c(h.id),[c]);oe(()=>{!s&&r?.viewer?.accounts&&u(r.viewer.accounts[0])},[r,s,u]);let[m,p]=it("isSelectingProject",!1),g=W(h=>{p(!0),n(h.id);let v=setTimeout(()=>{p(!1)},1e3);return()=>clearTimeout(v)},[n,p]),f=W(async h=>{h.message==="createdProject"&&(l(),t(h.projectId))},[l,t]),[y,k]=g0(f),b=e&&d?.projects?.find(h=>h?.id.endsWith(e));return oe(()=>{b&&(k(),g(b))},[b,g,k]),nt("LinkProject","LinkProject"),a.createElement(Ne,null,a.createElement(ye,null,a.createElement(np,null,a.createElement("div",null,a.createElement(fe,null,"Select a project"),a.createElement(q,{muted:!0},"Your tests will sync with this project.")),o&&a.createElement("p",null,o.message),!r&&i&&a.createElement(t1,null,a.createElement(Xl,null,a.createElement(er,null,"Accounts"),a.createElement(tr,null,a.createElement(ut,{appearance:"secondary",isLoading:!0}),a.createElement(ut,{appearance:"secondary",isLoading:!0}),a.createElement(ut,{appearance:"secondary",isLoading:!0}),a.createElement(ut,{appearance:"secondary",isLoading:!0}),a.createElement(ut,{appearance:"secondary",isLoading:!0}))),a.createElement(e1,null,a.createElement(er,null,"Projects"),a.createElement(tr,{"data-testid":"right-list"},a.createElement(ut,{appearance:"secondary",isLoading:!0}),a.createElement(ut,{appearance:"secondary",isLoading:!0}),a.createElement(ut,{appearance:"secondary",isLoading:!0})))),r?.viewer?.accounts&&a.createElement(t1,null,a.createElement(Xl,null,a.createElement(er,null,"Accounts"),a.createElement(tr,{"data-testid":"left-list"},r.viewer.accounts?.map(h=>a.createElement(ut,{key:h.id,title:h.name,appearance:"secondary",left:a.createElement(ap,{src:h.avatarUrl??void 0,size:"tiny"}),onClick:()=>u(h),active:s===h.id})))),a.createElement(e1,null,a.createElement(er,null,"Projects"),a.createElement(tr,{"data-testid":"right-list"},d&&a.createElement(ut,{isLink:!1,onClick:()=>{if(!d?.newProjectUrl)throw new Error("Unexpected missing `newProjectUrl` on account");y(d.newProjectUrl)},title:a.createElement($e,{isButton:!0,withArrow:!0},"Create new project")}),d?.projects?.map(h=>h&&a.createElement(ut,{appearance:"secondary",key:h.id,title:h.name,right:a.createElement(Fd,{"aria-label":h.name}),onClick:()=>g(h),disabled:m}))))))))}var ip=()=>a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(pn,null),a.createElement(fe,null,"Visual tests"),a.createElement(q,{center:!0,muted:!0},"Visual tests only runs locally. To test this Storybook, clone it to your machine and run ",a.createElement(He,null,"npx storybook dev"),"."))))),op=({offline:e=!1})=>a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Can't connect to Chromatic"),a.createElement(q,{center:!0,muted:!0},e?"You're offline. Double check your internet connection.":"We're having trouble connecting to the Chromatic API.")),!e&&a.createElement($e,{href:"https://status.chromatic.com",target:"_blank",rel:"noreferrer",withArrow:!0},"Chromatic API status")))),lp=()=>(nt("Uninstalled","uninstalled"),a.createElement(Ne,{footer:!1},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(pn,null),a.createElement(fe,null,"Uninstall complete"),a.createElement(q,{center:!0,muted:!0},"Visual Tests will vanish the next time you restart your Storybook.")))))),y0={isRunning:!1,startBuild:()=>{},stopBuild:()=>{}},b0=Xe(y0),Ia=()=>Ot(b0,"RunBuild"),sp=({children:e,watchState:t=y0})=>a.createElement(b0.Provider,{value:t},e),E0={PENDING:"warn",FAILED:"error",DENIED:"error",BROKEN:"error"},Oi=[null,"unknown","pending","success","warn","error"];function cp(e,t){return Oi[Math.max(Oi.indexOf(e),Oi.indexOf(t))]}function dp(e,t){let n={};t.forEach(i=>{!i.story||!i.status||(n[i.story.storyId]=cp(E0[i.status]||null,n[i.story.storyId]))});let r=()=>{e.setSelectedPanel(Vn),e.togglePanel(!0)};return Object.fromEntries(Object.entries(n).map(([i,o])=>[i,o&&{status:o,title:"Visual Tests",description:"Chromatic Visual Tests",onClick:r}]))}function up(e,{shouldSwitchToLastBuildOnBranch:t,lastBuildOnBranchId:n,storyId:r}){if(!t)return e?{...e,storyId:r}:void 0;if(!n)throw new Error("Impossible state");return{buildId:n,storyId:r}}var n1={EXCEEDED_THRESHOLD:{heading:"Snapshot limit reached",message:"Your account has reached its monthly snapshot limit. Visual testing is disabled. Upgrade your plan to increase your quota.",action:"Upgrade plan"},PAYMENT_REQUIRED:{heading:"Payment required",message:"Your subscription payment is past due. Review or replace your payment method to continue using Chromatic.",action:"Review billing details"},OTHER:{heading:"Account suspended",message:"Your account has been suspended. Contact customer support for details.",action:"Billing details"}},k0=({children:e,billingUrl:t,suspensionReason:n="OTHER"})=>{nt("Errors","AccountSuspended");let{heading:r,message:i,action:o}=n1[n]||n1.OTHER;return a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,r),a.createElement(q,{center:!0,muted:!0},i)),t&&a.createElement(ue,{asChild:!0,size:"medium",variant:"solid"},a.createElement("a",{href:t,target:"_new"},o)),e)))},mp=({children:e,manageUrl:t})=>(nt("Errors","VisualTestsDisabled"),a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Visual Tests disabled for your project"),a.createElement(q,{center:!0,muted:!0},"Update your project settings to enable visual testing.")),a.createElement(ue,{asChild:!0,size:"medium",variant:"solid"},a.createElement("a",{href:t,target:"_new"},"Manage project settings")),e))));function w0(e){return t=>typeof t===e}var pp=w0("function"),hp=e=>e===null,a1=e=>Object.prototype.toString.call(e).slice(8,-1)==="RegExp",r1=e=>!fp(e)&&!hp(e)&&(pp(e)||typeof e=="object"),fp=w0("undefined");function gp(e,t){let{length:n}=e;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Ue(e[r],t[r]))return!1;return!0}function vp(e,t){if(e.byteLength!==t.byteLength)return!1;let n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;for(;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function yp(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;for(let n of e.entries())if(!Ue(n[1],t.get(n[0])))return!1;return!0}function bp(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;return!0}function Ue(e,t){if(e===t)return!0;if(e&&r1(e)&&t&&r1(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return gp(e,t);if(e instanceof Map&&t instanceof Map)return yp(e,t);if(e instanceof Set&&t instanceof Set)return bp(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return vp(e,t);if(a1(e)&&a1(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(let i=n.length;i--!==0;){let o=n[i];if(!(o==="_owner"&&e.$$typeof)&&!Ue(e[o],t[o]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}var Ep=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],kp=["bigint","boolean","null","number","string","symbol","undefined"];function Xr(e){let t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(wp(t))return t}function yt(e){return t=>Xr(t)===e}function wp(e){return Ep.includes(e)}function Dn(e){return t=>typeof t===e}function Cp(e){return kp.includes(e)}var Sp=["innerHTML","ownerDocument","style","attributes","nodeValue"];function T(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}return T.array(e)?"Array":T.plainFunction(e)?"Function":Xr(e)||"Object"}T.array=Array.isArray;T.arrayOf=(e,t)=>!T.array(e)&&!T.function(t)?!1:e.every(n=>t(n));T.asyncGeneratorFunction=e=>Xr(e)==="AsyncGeneratorFunction";T.asyncFunction=yt("AsyncFunction");T.bigint=Dn("bigint");T.boolean=e=>e===!0||e===!1;T.date=yt("Date");T.defined=e=>!T.undefined(e);T.domElement=e=>T.object(e)&&!T.plainObject(e)&&e.nodeType===1&&T.string(e.nodeName)&&Sp.every(t=>t in e);T.empty=e=>T.string(e)&&e.length===0||T.array(e)&&e.length===0||T.object(e)&&!T.map(e)&&!T.set(e)&&Object.keys(e).length===0||T.set(e)&&e.size===0||T.map(e)&&e.size===0;T.error=yt("Error");T.function=Dn("function");T.generator=e=>T.iterable(e)&&T.function(e.next)&&T.function(e.throw);T.generatorFunction=yt("GeneratorFunction");T.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;T.iterable=e=>!T.nullOrUndefined(e)&&T.function(e[Symbol.iterator]);T.map=yt("Map");T.nan=e=>Number.isNaN(e);T.null=e=>e===null;T.nullOrUndefined=e=>T.null(e)||T.undefined(e);T.number=e=>Dn("number")(e)&&!T.nan(e);T.numericString=e=>T.string(e)&&e.length>0&&!Number.isNaN(Number(e));T.object=e=>!T.nullOrUndefined(e)&&(T.function(e)||typeof e=="object");T.oneOf=(e,t)=>T.array(e)?e.indexOf(t)>-1:!1;T.plainFunction=yt("Function");T.plainObject=e=>{if(Xr(e)!=="Object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};T.primitive=e=>T.null(e)||Cp(typeof e);T.promise=yt("Promise");T.propertyOf=(e,t,n)=>{if(!T.object(e)||!t)return!1;let r=e[t];return T.function(n)?n(r):T.defined(r)};T.regexp=yt("RegExp");T.set=yt("Set");T.string=Dn("string");T.symbol=Dn("symbol");T.undefined=Dn("undefined");T.weakMap=yt("WeakMap");T.weakSet=yt("WeakSet");var I=T;function xp(...e){return e.every(t=>I.string(t)||I.array(t)||I.plainObject(t))}function Mp(e,t,n){return C0(e,t)?[e,t].every(I.array)?!e.some(c1(n))&&t.some(c1(n)):[e,t].every(I.plainObject)?!Object.entries(e).some(s1(n))&&Object.entries(t).some(s1(n)):t===n:!1}function i1(e,t,n){let{actual:r,key:i,previous:o,type:l}=n,s=St(e,i),c=St(t,i),d=[s,c].every(I.number)&&(l==="increased"?sc);return I.undefined(r)||(d=d&&c===r),I.undefined(o)||(d=d&&s===o),d}function o1(e,t,n){let{key:r,type:i,value:o}=n,l=St(e,r),s=St(t,r),c=i==="added"?l:s,d=i==="added"?s:l;if(!I.nullOrUndefined(o)){if(I.defined(c)){if(I.array(c)||I.plainObject(c))return Mp(c,d,o)}else return Ue(d,o);return!1}return[l,s].every(I.array)?!d.every(Do(c)):[l,s].every(I.plainObject)?Np(Object.keys(c),Object.keys(d)):![l,s].every(u=>I.primitive(u)&&I.defined(u))&&(i==="added"?!I.defined(l)&&I.defined(s):I.defined(l)&&!I.defined(s))}function l1(e,t,{key:n}={}){let r=St(e,n),i=St(t,n);if(!C0(r,i))throw new TypeError("Inputs have different types");if(!xp(r,i))throw new TypeError("Inputs don't have length");return[r,i].every(I.plainObject)&&(r=Object.keys(r),i=Object.keys(i)),[r,i]}function s1(e){return([t,n])=>I.array(e)?Ue(e,n)||e.some(r=>Ue(r,n)||I.array(n)&&Do(n)(r)):I.plainObject(e)&&e[t]?!!e[t]&&Ue(e[t],n):Ue(e,n)}function Np(e,t){return t.some(n=>!e.includes(n))}function c1(e){return t=>I.array(e)?e.some(n=>Ue(n,t)||I.array(t)&&Do(t)(n)):Ue(e,t)}function na(e,t){return I.array(e)?e.some(n=>Ue(n,t)):Ue(e,t)}function Do(e){return t=>e.some(n=>Ue(n,t))}function C0(...e){return e.every(I.array)||e.every(I.number)||e.every(I.plainObject)||e.every(I.string)}function St(e,t){return I.plainObject(e)||I.array(e)?I.string(t)?t.split(".").reduce((n,r)=>n&&n[r],e):I.number(t)?e[t]:e:e}function Zr(e,t){if([e,t].some(I.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(n=>I.plainObject(n)||I.array(n)))throw new Error("Expected plain objects or array");return{added:(n,r)=>{try{return o1(e,t,{key:n,type:"added",value:r})}catch{return!1}},changed:(n,r,i)=>{try{let o=St(e,n),l=St(t,n),s=I.defined(r),c=I.defined(i);if(s||c){let d=c?na(i,o):!na(r,o),u=na(r,l);return d&&u}return[o,l].every(I.array)||[o,l].every(I.plainObject)?!Ue(o,l):o!==l}catch{return!1}},changedFrom:(n,r,i)=>{if(!I.defined(n))return!1;try{let o=St(e,n),l=St(t,n),s=I.defined(i);return na(r,o)&&(s?na(i,l):!s)}catch{return!1}},decreased:(n,r,i)=>{if(!I.defined(n))return!1;try{return i1(e,t,{key:n,actual:r,previous:i,type:"decreased"})}catch{return!1}},emptied:n=>{try{let[r,i]=l1(e,t,{key:n});return!!r.length&&!i.length}catch{return!1}},filled:n=>{try{let[r,i]=l1(e,t,{key:n});return!r.length&&!!i.length}catch{return!1}},increased:(n,r,i)=>{if(!I.defined(n))return!1;try{return i1(e,t,{key:n,actual:r,previous:i,type:"increased"})}catch{return!1}},removed:(n,r)=>{try{return o1(e,t,{key:n,type:"removed",value:r})}catch{return!1}}}}var Fp=ft(fd(),1),S0=ft(gd(),1);function Ap(e,...t){if(!I.plainObject(e))throw new TypeError("Expected an object");let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}function Op(e,...t){if(!I.plainObject(e))throw new TypeError("Expected an object");if(!t.length)return e;let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&t.includes(r)&&(n[r]=e[r]);return n}var nr=ft(ko(),1),Li=ft(ko(),1),O=ft(bd()),Ra=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",Lp=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();function Tp(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function _p(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Lp))}}var Zp=Ra&&window.Promise,Ip=Zp?Tp:_p;function x0(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function hn(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function Ho(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function Ba(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=hn(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:Ba(Ho(e))}function M0(e){return e&&e.referenceNode?e.referenceNode:e}var d1=Ra&&!!(window.MSInputMethodContext&&document.documentMode),u1=Ra&&/MSIE 10/.test(navigator.userAgent);function Hn(e){return e===11?d1:e===10?u1:d1||u1}function Rn(e){if(!e)return document.documentElement;for(var t=Hn(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return!r||r==="BODY"||r==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&hn(n,"position")==="static"?Rn(n):n}function Rp(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||Rn(e.firstElementChild)===e}function po(e){return e.parentNode!==null?po(e.parentNode):e}function Ir(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var l=o.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return Rp(l)?l:Rn(l);var s=po(e);return s.host?Ir(s.host,t):Ir(e,po(t).host)}function Bn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=t==="top"?"scrollTop":"scrollLeft",r=e.nodeName;if(r==="BODY"||r==="HTML"){var i=e.ownerDocument.documentElement,o=e.ownerDocument.scrollingElement||i;return o[n]}return e[n]}function Bp(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=Bn(t,"top"),i=Bn(t,"left"),o=n?-1:1;return e.top+=r*o,e.bottom+=r*o,e.left+=i*o,e.right+=i*o,e}function m1(e,t){var n=t==="x"?"Left":"Top",r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function p1(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Hn(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function N0(e){var t=e.body,n=e.documentElement,r=Hn(10)&&getComputedStyle(n);return{height:p1("Height",t,n,r),width:p1("Width",t,n,r)}}var Pp=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Vp=function(){function e(t,n){for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=Hn(10),i=t.nodeName==="HTML",o=ho(e),l=ho(t),s=Ba(e),c=hn(t),d=parseFloat(c.borderTopWidth),u=parseFloat(c.borderLeftWidth);n&&i&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var m=Yt({top:o.top-l.top-d,left:o.left-l.left-u,width:o.width,height:o.height});if(m.marginTop=0,m.marginLeft=0,!r&&i){var p=parseFloat(c.marginTop),g=parseFloat(c.marginLeft);m.top-=d-p,m.bottom-=d-p,m.left-=u-g,m.right-=u-g,m.marginTop=p,m.marginLeft=g}return(r&&!n?t.contains(s):t===s&&s.nodeName!=="BODY")&&(m=Bp(m,t)),m}function jp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=zo(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),l=t?0:Bn(n),s=t?0:Bn(n,"left"),c={top:l-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o};return Yt(c)}function F0(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(hn(e,"position")==="fixed")return!0;var n=Ho(e);return n?F0(n):!1}function A0(e){if(!e||!e.parentElement||Hn())return document.documentElement;for(var t=e.parentElement;t&&hn(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function Uo(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,o={top:0,left:0},l=i?A0(e):Ir(e,M0(t));if(r==="viewport")o=jp(l,i);else{var s=void 0;r==="scrollParent"?(s=Ba(Ho(t)),s.nodeName==="BODY"&&(s=e.ownerDocument.documentElement)):r==="window"?s=e.ownerDocument.documentElement:s=r;var c=zo(s,l,i);if(s.nodeName==="HTML"&&!F0(l)){var d=N0(e.ownerDocument),u=d.height,m=d.width;o.top+=c.top-c.marginTop,o.bottom=u+c.top,o.left+=c.left-c.marginLeft,o.right=m+c.left}else o=c}n=n||0;var p=typeof n=="number";return o.left+=p?n:n.left||0,o.top+=p?n:n.top||0,o.right-=p?n:n.right||0,o.bottom-=p?n:n.bottom||0,o}function Dp(e){var t=e.width,n=e.height;return t*n}function O0(e,t,n,r,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var l=Uo(n,r,o,i),s={top:{width:l.width,height:t.top-l.top},right:{width:l.right-t.right,height:l.height},bottom:{width:l.width,height:l.bottom-t.bottom},left:{width:t.left-l.left,height:l.height}},c=Object.keys(s).map(function(p){return ot({key:p},s[p],{area:Dp(s[p])})}).sort(function(p,g){return g.area-p.area}),d=c.filter(function(p){var g=p.width,f=p.height;return g>=n.clientWidth&&f>=n.clientHeight}),u=d.length>0?d[0].key:c[0].key,m=e.split("-")[1];return u+(m?"-"+m:"")}function L0(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=r?A0(t):Ir(t,M0(n));return zo(n,i,r)}function T0(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),o={width:e.offsetWidth+i,height:e.offsetHeight+r};return o}function Rr(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(n){return t[n]})}function _0(e,t,n){n=n.split("-")[0];var r=T0(e),i={width:r.width,height:r.height},o=["right","left"].indexOf(n)!==-1,l=o?"top":"left",s=o?"left":"top",c=o?"height":"width",d=o?"width":"height";return i[l]=t[l]+t[c]/2-r[c]/2,n===s?i[s]=t[s]-r[d]:i[s]=t[Rr(s)],i}function Pa(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Hp(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===n});var r=Pa(e,function(i){return i[t]===n});return e.indexOf(r)}function Z0(e,t,n){var r=n===void 0?e:e.slice(0,Hp(e,"name",n));return r.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var o=i.function||i.fn;i.enabled&&x0(o)&&(t.offsets.popper=Yt(t.offsets.popper),t.offsets.reference=Yt(t.offsets.reference),t=o(t,i))}),t}function zp(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L0(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O0(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=_0(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Z0(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function I0(e,t){return e.some(function(n){var r=n.name,i=n.enabled;return i&&r===t})}function $o(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;rl[g]&&(e.offsets.popper[m]+=s[m]+f-l[g]),e.offsets.popper=Yt(e.offsets.popper);var y=s[m]+s[d]/2-f/2,k=hn(e.instance.popper),b=parseFloat(k["margin"+u]),h=parseFloat(k["border"+u+"Width"]),v=y-e.offsets.popper[m]-b-h;return v=Math.max(Math.min(l[d]-f,v),0),e.arrowElement=r,e.offsets.arrow=(n={},Pn(n,m,Math.round(v)),Pn(n,p,""),n),e}function n3(e){return e==="end"?"start":e==="start"?"end":e}var V0=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Ti=V0.slice(3);function h1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Ti.indexOf(e),r=Ti.slice(n+1).concat(Ti.slice(0,n));return t?r.reverse():r}var _i={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function a3(e,t){if(I0(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=Uo(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=Rr(r),o=e.placement.split("-")[1]||"",l=[];switch(t.behavior){case _i.FLIP:l=[r,i];break;case _i.CLOCKWISE:l=h1(r);break;case _i.COUNTERCLOCKWISE:l=h1(r,!0);break;default:l=t.behavior}return l.forEach(function(s,c){if(r!==s||l.length===c+1)return e;r=e.placement.split("-")[0],i=Rr(r);var d=e.offsets.popper,u=e.offsets.reference,m=Math.floor,p=r==="left"&&m(d.right)>m(u.left)||r==="right"&&m(d.left)m(u.top)||r==="bottom"&&m(d.top)m(n.right),y=m(d.top)m(n.bottom),b=r==="left"&&g||r==="right"&&f||r==="top"&&y||r==="bottom"&&k,h=["top","bottom"].indexOf(r)!==-1,v=!!t.flipVariations&&(h&&o==="start"&&g||h&&o==="end"&&f||!h&&o==="start"&&y||!h&&o==="end"&&k),E=!!t.flipVariationsByContent&&(h&&o==="start"&&f||h&&o==="end"&&g||!h&&o==="start"&&k||!h&&o==="end"&&y),S=v||E;(p||b||S)&&(e.flipped=!0,(p||b)&&(r=l[c+1]),S&&(o=n3(o)),e.placement=r+(o?"-"+o:""),e.offsets.popper=ot({},e.offsets.popper,_0(e.instance.popper,e.offsets.reference,e.placement)),e=Z0(e.instance.modifiers,e,"flip"))}),e}function r3(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],o=Math.floor,l=["top","bottom"].indexOf(i)!==-1,s=l?"right":"bottom",c=l?"left":"top",d=l?"width":"height";return n[s]o(r[s])&&(e.offsets.popper[c]=o(r[s])),e}function i3(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],l=i[2];if(!o)return e;if(l.indexOf("%")===0){var s=void 0;switch(l){case"%p":s=n;break;case"%":case"%r":default:s=r}var c=Yt(s);return c[t]/100*o}else if(l==="vh"||l==="vw"){var d=void 0;return l==="vh"?d=Math.max(document.documentElement.clientHeight,window.innerHeight||0):d=Math.max(document.documentElement.clientWidth,window.innerWidth||0),d/100*o}else return o}function o3(e,t,n,r){var i=[0,0],o=["right","left"].indexOf(r)!==-1,l=e.split(/(\+|\-)/).map(function(u){return u.trim()}),s=l.indexOf(Pa(l,function(u){return u.search(/,|\s/)!==-1}));l[s]&&l[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,d=s!==-1?[l.slice(0,s).concat([l[s].split(c)[0]]),[l[s].split(c)[1]].concat(l.slice(s+1))]:[l];return d=d.map(function(u,m){var p=(m===1?!o:o)?"height":"width",g=!1;return u.reduce(function(f,y){return f[f.length-1]===""&&["+","-"].indexOf(y)!==-1?(f[f.length-1]=y,g=!0,f):g?(f[f.length-1]+=y,g=!1,f):f.concat(y)},[]).map(function(f){return i3(f,p,t,n)})}),d.forEach(function(u,m){u.forEach(function(p,g){Wo(p)&&(i[m]+=p*(u[g-1]==="-"?-1:1))})}),i}function l3(e,t){var n=t.offset,r=e.placement,i=e.offsets,o=i.popper,l=i.reference,s=r.split("-")[0],c=void 0;return Wo(+n)?c=[+n,0]:c=o3(n,o,l,s),s==="left"?(o.top+=c[0],o.left-=c[1]):s==="right"?(o.top+=c[0],o.left+=c[1]):s==="top"?(o.left+=c[0],o.top-=c[1]):s==="bottom"&&(o.left+=c[0],o.top+=c[1]),e.popper=o,e}function s3(e,t){var n=t.boundariesElement||Rn(e.instance.popper);e.instance.reference===n&&(n=Rn(n));var r=$o("transform"),i=e.instance.popper.style,o=i.top,l=i.left,s=i[r];i.top="",i.left="",i[r]="";var c=Uo(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=o,i.left=l,i[r]=s,t.boundaries=c;var d=t.priority,u=e.offsets.popper,m={primary:function(p){var g=u[p];return u[p]c[p]&&!t.escapeWithReference&&(f=Math.min(u[g],c[p]-(p==="right"?u.width:u.height))),Pn({},g,f)}};return d.forEach(function(p){var g=["left","top"].indexOf(p)!==-1?"primary":"secondary";u=ot({},u,m[g](p))}),e.offsets.popper=u,e}function c3(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,o=i.reference,l=i.popper,s=["bottom","top"].indexOf(n)!==-1,c=s?"left":"top",d=s?"width":"height",u={start:Pn({},c,o[c]),end:Pn({},c,o[c]+o[d]-l[d])};e.offsets.popper=ot({},l,u[r])}return e}function d3(e){if(!P0(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Pa(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&arguments[2]!==void 0?arguments[2]:{};Pp(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Ip(this.update.bind(this)),this.options=ot({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(ot({},e.Defaults.modifiers,i.modifiers)).forEach(function(l){r.options.modifiers[l]=ot({},e.Defaults.modifiers[l]||{},i.modifiers?i.modifiers[l]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(l){return ot({name:l},r.options.modifiers[l])}).sort(function(l,s){return l.order-s.order}),this.modifiers.forEach(function(l){l.enabled&&x0(l.onLoad)&&l.onLoad(r.reference,r.popper,r.options,l,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return Vp(e,[{key:"update",value:function(){return zp.call(this)}},{key:"destroy",value:function(){return Up.call(this)}},{key:"enableEventListeners",value:function(){return Wp.call(this)}},{key:"disableEventListeners",value:function(){return Gp.call(this)}}]),e}();ei.Utils=window.PopperUtils;ei.placements=V0;ei.Defaults=p3;var f1=ei,go=ft(ko()),h3=["innerHTML","ownerDocument","style","attributes","nodeValue"],f3=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],g3=["bigint","boolean","null","number","string","symbol","undefined"];function ti(e){var t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(v3(t))return t}function bt(e){return function(t){return ti(t)===e}}function v3(e){return f3.includes(e)}function zn(e){return function(t){return typeof t===e}}function y3(e){return g3.includes(e)}function _(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(_.array(e))return"Array";if(_.plainFunction(e))return"Function";var t=ti(e);return t||"Object"}_.array=Array.isArray;_.arrayOf=function(e,t){return!_.array(e)&&!_.function(t)?!1:e.every(function(n){return t(n)})};_.asyncGeneratorFunction=function(e){return ti(e)==="AsyncGeneratorFunction"};_.asyncFunction=bt("AsyncFunction");_.bigint=zn("bigint");_.boolean=function(e){return e===!0||e===!1};_.date=bt("Date");_.defined=function(e){return!_.undefined(e)};_.domElement=function(e){return _.object(e)&&!_.plainObject(e)&&e.nodeType===1&&_.string(e.nodeName)&&h3.every(function(t){return t in e})};_.empty=function(e){return _.string(e)&&e.length===0||_.array(e)&&e.length===0||_.object(e)&&!_.map(e)&&!_.set(e)&&Object.keys(e).length===0||_.set(e)&&e.size===0||_.map(e)&&e.size===0};_.error=bt("Error");_.function=zn("function");_.generator=function(e){return _.iterable(e)&&_.function(e.next)&&_.function(e.throw)};_.generatorFunction=bt("GeneratorFunction");_.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};_.iterable=function(e){return!_.nullOrUndefined(e)&&_.function(e[Symbol.iterator])};_.map=bt("Map");_.nan=function(e){return Number.isNaN(e)};_.null=function(e){return e===null};_.nullOrUndefined=function(e){return _.null(e)||_.undefined(e)};_.number=function(e){return zn("number")(e)&&!_.nan(e)};_.numericString=function(e){return _.string(e)&&e.length>0&&!Number.isNaN(Number(e))};_.object=function(e){return!_.nullOrUndefined(e)&&(_.function(e)||typeof e=="object")};_.oneOf=function(e,t){return _.array(e)?e.indexOf(t)>-1:!1};_.plainFunction=bt("Function");_.plainObject=function(e){if(ti(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};_.primitive=function(e){return _.null(e)||y3(typeof e)};_.promise=bt("Promise");_.propertyOf=function(e,t,n){if(!_.object(e)||!t)return!1;var r=e[t];return _.function(n)?n(r):_.defined(r)};_.regexp=bt("RegExp");_.set=bt("Set");_.string=zn("string");_.symbol=zn("symbol");_.undefined=zn("undefined");_.weakMap=bt("WeakMap");_.weakSet=bt("WeakSet");var V=_;function j0(e){return function(t){return typeof t===e}}var b3=j0("function"),E3=function(e){return e===null},g1=function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},v1=function(e){return!k3(e)&&!E3(e)&&(b3(e)||typeof e=="object")},k3=j0("undefined"),vo=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function w3(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;r--!==0;)if(!Qe(e[r],t[r]))return!1;return!0}function C3(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function S3(e,t){var n,r,i,o;if(e.size!==t.size)return!1;try{for(var l=vo(e.entries()),s=l.next();!s.done;s=l.next()){var c=s.value;if(!t.has(c[0]))return!1}}catch(m){n={error:m}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}try{for(var d=vo(e.entries()),u=d.next();!u.done;u=d.next()){var c=u.value;if(!Qe(c[1],t.get(c[0])))return!1}}catch(m){i={error:m}}finally{try{u&&!u.done&&(o=d.return)&&o.call(d)}finally{if(i)throw i.error}}return!0}function x3(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var i=vo(e.entries()),o=i.next();!o.done;o=i.next()){var l=o.value;if(!t.has(l[0]))return!1}}catch(s){n={error:s}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!0}function Qe(e,t){if(e===t)return!0;if(e&&v1(e)&&t&&v1(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return w3(e,t);if(e instanceof Map&&t instanceof Map)return S3(e,t);if(e instanceof Set&&t instanceof Set)return x3(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return C3(e,t);if(g1(e)&&g1(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(var i=n.length;i--!==0;){var o=n[i];if(!(o==="_owner"&&e.$$typeof)&&!Qe(e[o],t[o]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}function M3(){for(var e=[],t=0;tc);return V.undefined(r)||(d=d&&c===r),V.undefined(o)||(d=d&&s===o),d}function b1(e,t,n){var r=n.key,i=n.type,o=n.value,l=xt(e,r),s=xt(t,r),c=i==="added"?l:s,d=i==="added"?s:l;if(!V.nullOrUndefined(o)){if(V.defined(c)){if(V.array(c)||V.plainObject(c))return N3(c,d,o)}else return Qe(d,o);return!1}return[l,s].every(V.array)?!d.every(qo(c)):[l,s].every(V.plainObject)?F3(Object.keys(c),Object.keys(d)):![l,s].every(function(u){return V.primitive(u)&&V.defined(u)})&&(i==="added"?!V.defined(l)&&V.defined(s):V.defined(l)&&!V.defined(s))}function E1(e,t,n){var r=n===void 0?{}:n,i=r.key,o=xt(e,i),l=xt(t,i);if(!D0(o,l))throw new TypeError("Inputs have different types");if(!M3(o,l))throw new TypeError("Inputs don't have length");return[o,l].every(V.plainObject)&&(o=Object.keys(o),l=Object.keys(l)),[o,l]}function k1(e){return function(t){var n=t[0],r=t[1];return V.array(e)?Qe(e,r)||e.some(function(i){return Qe(i,r)||V.array(r)&&qo(r)(i)}):V.plainObject(e)&&e[n]?!!e[n]&&Qe(e[n],r):Qe(e,r)}}function F3(e,t){return t.some(function(n){return!e.includes(n)})}function w1(e){return function(t){return V.array(e)?e.some(function(n){return Qe(n,t)||V.array(t)&&qo(t)(n)}):Qe(e,t)}}function aa(e,t){return V.array(e)?e.some(function(n){return Qe(n,t)}):Qe(e,t)}function qo(e){return function(t){return e.some(function(n){return Qe(n,t)})}}function D0(){for(var e=[],t=0;t"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 L3(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function H0(e,t){if(e==null)return{};var n=L3(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T3(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _t(e)}function Ha(e){var t=O3();return function(){var n=Br(e),r;if(t){var i=Br(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return T3(this,r)}}function _3(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function z0(e){var t=_3(e,"string");return typeof t=="symbol"?t:String(t)}var Z3={flip:{padding:20},preventOverflow:{padding:10}},I3="The typeValidator argument must be a function with the signature function(props, propName, componentName).",R3="The error message is optional, but must be a string if provided.";function B3(e,t,n,r){return typeof e=="boolean"?e:typeof e=="function"?e(t,n,r):e?!!e:!1}function P3(e,t){return Object.hasOwnProperty.call(e,t)}function V3(e,t,n,r){return r?new Error(r):new Error("Required ".concat(e[t]," `").concat(t,"` was not specified in `").concat(n,"`."))}function j3(e,t){if(typeof e!="function")throw new TypeError(I3);if(t&&typeof t!="string")throw new TypeError(R3)}function x1(e,t,n){return j3(e,n),function(r,i,o){for(var l=arguments.length,s=new Array(l>3?l-3:0),c=3;c3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,n,r)}function H3(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,n,r)}function z3(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;i=function(o){n(o),H3(e,t,i)},D3(e,t,i,r)}function M1(){}var U0=function(e){Da(n,e);var t=Ha(n);function n(){return Va(this,n),t.apply(this,arguments)}return ja(n,[{key:"componentDidMount",value:function(){Et()&&(this.node||this.appendNode(),ra||this.renderPortal())}},{key:"componentDidUpdate",value:function(){Et()&&(ra||this.renderPortal())}},{key:"componentWillUnmount",value:function(){!Et()||!this.node||(ra||Kn.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var r=this.props,i=r.id,o=r.zIndex;this.node||(this.node=document.createElement("div"),i&&(this.node.id=i),o&&(this.node.style.zIndex=o),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!Et())return null;var r=this.props,i=r.children,o=r.setRef;if(this.node||this.appendNode(),ra)return Kn.createPortal(i,this.node);var l=Kn.unstable_renderSubtreeIntoContainer(this,i.length>1?a.createElement("div",null,i):i[0],this.node);return o(l),null}},{key:"renderReact16",value:function(){var r=this.props,i=r.hasChildren,o=r.placement,l=r.target;return i?this.renderPortal():l||o==="center"?this.renderPortal():null}},{key:"render",value:function(){return ra?this.renderReact16():null}}]),n}(a.Component);De(U0,"propTypes",{children:O.default.oneOfType([O.default.element,O.default.array]),hasChildren:O.default.bool,id:O.default.oneOfType([O.default.string,O.default.number]),placement:O.default.string,setRef:O.default.func.isRequired,target:O.default.oneOfType([O.default.object,O.default.string]),zIndex:O.default.number});var $0=function(e){Da(n,e);var t=Ha(n);function n(){return Va(this,n),t.apply(this,arguments)}return ja(n,[{key:"parentStyle",get:function(){var r=this.props,i=r.placement,o=r.styles,l=o.arrow.length,s={pointerEvents:"none",position:"absolute",width:"100%"};return i.startsWith("top")?(s.bottom=0,s.left=0,s.right=0,s.height=l):i.startsWith("bottom")?(s.left=0,s.right=0,s.top=0,s.height=l):i.startsWith("left")?(s.right=0,s.top=0,s.bottom=0):i.startsWith("right")&&(s.left=0,s.top=0),s}},{key:"render",value:function(){var r=this.props,i=r.placement,o=r.setArrowRef,l=r.styles,s=l.arrow,c=s.color,d=s.display,u=s.length,m=s.margin,p=s.position,g=s.spread,f={display:d,position:p},y,k=g,b=u;return i.startsWith("top")?(y="0,0 ".concat(k/2,",").concat(b," ").concat(k,",0"),f.bottom=0,f.marginLeft=m,f.marginRight=m):i.startsWith("bottom")?(y="".concat(k,",").concat(b," ").concat(k/2,",0 0,").concat(b),f.top=0,f.marginLeft=m,f.marginRight=m):i.startsWith("left")?(b=g,k=u,y="0,0 ".concat(k,",").concat(b/2," 0,").concat(b),f.right=0,f.marginTop=m,f.marginBottom=m):i.startsWith("right")&&(b=g,k=u,y="".concat(k,",").concat(b," ").concat(k,",0 0,").concat(b/2),f.left=0,f.marginTop=m,f.marginBottom=m),a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},a.createElement("span",{ref:o,style:f},a.createElement("svg",{width:k,height:b,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},a.createElement("polygon",{points:y,fill:c}))))}}]),n}(a.Component);De($0,"propTypes",{placement:O.default.string.isRequired,setArrowRef:O.default.func.isRequired,styles:O.default.object.isRequired});var U3=["color","height","width"];function W0(e){var t=e.handleClick,n=e.styles,r=n.color,i=n.height,o=n.width,l=H0(n,U3);return a.createElement("button",{"aria-label":"close",onClick:t,style:l,type:"button"},a.createElement("svg",{width:"".concat(o,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},a.createElement("g",null,a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}W0.propTypes={handleClick:O.default.func.isRequired,styles:O.default.object.isRequired};function q0(e){var t=e.content,n=e.footer,r=e.handleClick,i=e.open,o=e.positionWrapper,l=e.showCloseButton,s=e.title,c=e.styles,d={content:a.isValidElement(t)?t:a.createElement("div",{className:"__floater__content",style:c.content},t)};return s&&(d.title=a.isValidElement(s)?s:a.createElement("div",{className:"__floater__title",style:c.title},s)),n&&(d.footer=a.isValidElement(n)?n:a.createElement("div",{className:"__floater__footer",style:c.footer},n)),(l||o)&&!V.boolean(i)&&(d.close=a.createElement(W0,{styles:c.close,handleClick:r})),a.createElement("div",{className:"__floater__container",style:c.container},d.close,d.title,d.content,d.footer)}q0.propTypes={content:O.default.node.isRequired,footer:O.default.node,handleClick:O.default.func.isRequired,open:O.default.bool,positionWrapper:O.default.bool.isRequired,showCloseButton:O.default.bool.isRequired,styles:O.default.object.isRequired,title:O.default.node};var G0=function(e){Da(n,e);var t=Ha(n);function n(){return Va(this,n),t.apply(this,arguments)}return ja(n,[{key:"style",get:function(){var r=this.props,i=r.disableAnimation,o=r.component,l=r.placement,s=r.hideArrow,c=r.status,d=r.styles,u=d.arrow.length,m=d.floater,p=d.floaterCentered,g=d.floaterClosing,f=d.floaterOpening,y=d.floaterWithAnimation,k=d.floaterWithComponent,b={};return s||(l.startsWith("top")?b.padding="0 0 ".concat(u,"px"):l.startsWith("bottom")?b.padding="".concat(u,"px 0 0"):l.startsWith("left")?b.padding="0 ".concat(u,"px 0 0"):l.startsWith("right")&&(b.padding="0 0 0 ".concat(u,"px"))),[le.OPENING,le.OPEN].indexOf(c)!==-1&&(b=Me(Me({},b),f)),c===le.CLOSING&&(b=Me(Me({},b),g)),c===le.OPEN&&!i&&(b=Me(Me({},b),y)),l==="center"&&(b=Me(Me({},b),p)),o&&(b=Me(Me({},b),k)),Me(Me({},m),b)}},{key:"render",value:function(){var r=this.props,i=r.component,o=r.handleClick,l=r.hideArrow,s=r.setFloaterRef,c=r.status,d={},u=["__floater"];return i?a.isValidElement(i)?d.content=a.cloneElement(i,{closeFn:o}):d.content=i({closeFn:o}):d.content=a.createElement(q0,this.props),c===le.OPEN&&u.push("__floater__open"),l||(d.arrow=a.createElement($0,this.props)),a.createElement("div",{ref:s,className:u.join(" "),style:this.style},a.createElement("div",{className:"__floater__body"},d.content,d.arrow))}}]),n}(a.Component);De(G0,"propTypes",{component:O.default.oneOfType([O.default.func,O.default.element]),content:O.default.node,disableAnimation:O.default.bool.isRequired,footer:O.default.node,handleClick:O.default.func.isRequired,hideArrow:O.default.bool.isRequired,open:O.default.bool,placement:O.default.string.isRequired,positionWrapper:O.default.bool.isRequired,setArrowRef:O.default.func.isRequired,setFloaterRef:O.default.func.isRequired,showCloseButton:O.default.bool,status:O.default.string.isRequired,styles:O.default.object.isRequired,title:O.default.node});var Y0=function(e){Da(n,e);var t=Ha(n);function n(){return Va(this,n),t.apply(this,arguments)}return ja(n,[{key:"render",value:function(){var r=this.props,i=r.children,o=r.handleClick,l=r.handleMouseEnter,s=r.handleMouseLeave,c=r.setChildRef,d=r.setWrapperRef,u=r.style,m=r.styles,p;if(i)if(a.Children.count(i)===1)if(!a.isValidElement(i))p=a.createElement("span",null,i);else{var g=V.function(i.type)?"innerRef":"ref";p=a.cloneElement(a.Children.only(i),De({},g,c))}else p=i;return p?a.createElement("span",{ref:d,style:Me(Me({},m),u),onClick:o,onMouseEnter:l,onMouseLeave:s},p):null}}]),n}(a.Component);De(Y0,"propTypes",{children:O.default.node,handleClick:O.default.func.isRequired,handleMouseEnter:O.default.func.isRequired,handleMouseLeave:O.default.func.isRequired,setChildRef:O.default.func.isRequired,setWrapperRef:O.default.func.isRequired,style:O.default.object,styles:O.default.object.isRequired});var $3={zIndex:100};function W3(e){var t=(0,go.default)($3,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}var q3=["arrow","flip","offset"],G3=["position","top","right","bottom","left"],Go=function(e){Da(n,e);var t=Ha(n);function n(r){var i;return Va(this,n),i=t.call(this,r),De(_t(i),"setArrowRef",function(o){i.arrowRef=o}),De(_t(i),"setChildRef",function(o){i.childRef=o}),De(_t(i),"setFloaterRef",function(o){i.floaterRef=o}),De(_t(i),"setWrapperRef",function(o){i.wrapperRef=o}),De(_t(i),"handleTransitionEnd",function(){var o=i.state.status,l=i.props.callback;i.wrapperPopper&&i.wrapperPopper.instance.update(),i.setState({status:o===le.OPENING?le.OPEN:le.IDLE},function(){var s=i.state.status;l(s===le.OPEN?"open":"close",i.props)})}),De(_t(i),"handleClick",function(){var o=i.props,l=o.event,s=o.open;if(!V.boolean(s)){var c=i.state,d=c.positionWrapper,u=c.status;(i.event==="click"||i.event==="hover"&&d)&&(ar({title:"click",data:[{event:l,status:u===le.OPEN?"closing":"opening"}],debug:i.debug}),i.toggle())}}),De(_t(i),"handleMouseEnter",function(){var o=i.props,l=o.event,s=o.open;if(!(V.boolean(s)||Zi())){var c=i.state.status;i.event==="hover"&&c===le.IDLE&&(ar({title:"mouseEnter",data:[{key:"originalEvent",value:l}],debug:i.debug}),clearTimeout(i.eventDelayTimeout),i.toggle())}}),De(_t(i),"handleMouseLeave",function(){var o=i.props,l=o.event,s=o.eventDelay,c=o.open;if(!(V.boolean(c)||Zi())){var d=i.state,u=d.status,m=d.positionWrapper;i.event==="hover"&&(ar({title:"mouseLeave",data:[{key:"originalEvent",value:l}],debug:i.debug}),s?[le.OPENING,le.OPEN].indexOf(u)!==-1&&!m&&!i.eventDelayTimeout&&(i.eventDelayTimeout=setTimeout(function(){delete i.eventDelayTimeout,i.toggle()},s*1e3)):i.toggle(le.IDLE))}}),i.state={currentPlacement:r.placement,needsUpdate:!1,positionWrapper:r.wrapperOptions.position&&!!r.target,status:le.INIT,statusWrapper:le.INIT},i._isMounted=!1,i.hasMounted=!1,Et()&&window.addEventListener("load",function(){i.popper&&i.popper.instance.update(),i.wrapperPopper&&i.wrapperPopper.instance.update()}),i}return ja(n,[{key:"componentDidMount",value:function(){if(Et()){var r=this.state.positionWrapper,i=this.props,o=i.children,l=i.open,s=i.target;this._isMounted=!0,ar({title:"init",data:{hasChildren:!!o,hasTarget:!!s,isControlled:V.boolean(l),positionWrapper:r,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!o&&s&&V.boolean(l)}}},{key:"componentDidUpdate",value:function(r,i){if(Et()){var o=this.props,l=o.autoOpen,s=o.open,c=o.target,d=o.wrapperOptions,u=A3(i,this.state),m=u.changedFrom,p=u.changed;if(r.open!==s){var g;V.boolean(s)&&(g=s?le.OPENING:le.CLOSING),this.toggle(g)}(r.wrapperOptions.position!==d.position||r.target!==c)&&this.changeWrapperPosition(this.props),p("status",le.IDLE)&&s?this.toggle(le.OPEN):m("status",le.INIT,le.IDLE)&&l&&this.toggle(le.OPEN),this.popper&&p("status",le.OPENING)&&this.popper.instance.update(),this.floaterRef&&(p("status",le.OPENING)||p("status",le.CLOSING))&&z3(this.floaterRef,"transitionend",this.handleTransitionEnd),p("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){Et()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var r=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,o=this.state.positionWrapper,l=this.props,s=l.disableFlip,c=l.getPopper,d=l.hideArrow,u=l.offset,m=l.placement,p=l.wrapperOptions,g=m==="top"||m==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(m==="center")this.setState({status:le.IDLE});else if(i&&this.floaterRef){var f=this.options,y=f.arrow,k=f.flip,b=f.offset,h=H0(f,q3);new f1(i,this.floaterRef,{placement:m,modifiers:Me({arrow:Me({enabled:!d,element:this.arrowRef},y),flip:Me({enabled:!s,behavior:g},k),offset:Me({offset:"0, ".concat(u,"px")},b)},h),onCreate:function(E){var S;if(r.popper=E,!((S=r.floaterRef)!==null&&S!==void 0&&S.isConnected)){r.setState({needsUpdate:!0});return}c(E,"floater"),r._isMounted&&r.setState({currentPlacement:E.placement,status:le.IDLE}),m!==E.placement&&setTimeout(function(){E.instance.update()},1)},onUpdate:function(E){r.popper=E;var S=r.state.currentPlacement;r._isMounted&&E.placement!==S&&r.setState({currentPlacement:E.placement})}})}if(o){var v=V.undefined(p.offset)?0:p.offset;new f1(this.target,this.wrapperRef,{placement:p.placement||m,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(v,"px")},flip:{enabled:!1}},onCreate:function(E){r.wrapperPopper=E,r._isMounted&&r.setState({statusWrapper:le.IDLE}),c(E,"wrapper"),m!==E.placement&&setTimeout(function(){E.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var r=this;this.floaterRefInterval=setInterval(function(){var i;(i=r.floaterRef)!==null&&i!==void 0&&i.isConnected&&(clearInterval(r.floaterRefInterval),r.setState({needsUpdate:!1}),r.initPopper())},50)}},{key:"changeWrapperPosition",value:function(r){var i=r.target,o=r.wrapperOptions;this.setState({positionWrapper:o.position&&!!i})}},{key:"toggle",value:function(r){var i=this.state.status,o=i===le.OPEN?le.CLOSING:le.OPENING;V.undefined(r)||(o=r),this.setState({status:o})}},{key:"debug",get:function(){var r=this.props.debug;return r||Et()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug}},{key:"event",get:function(){var r=this.props,i=r.disableHoverToClick,o=r.event;return o==="hover"&&Zi()&&!i?"click":o}},{key:"options",get:function(){var r=this.props.options;return(0,go.default)(Z3,r||{})}},{key:"styles",get:function(){var r=this,i=this.state,o=i.status,l=i.positionWrapper,s=i.statusWrapper,c=this.props.styles,d=(0,go.default)(W3(c),c);if(l){var u;[le.IDLE].indexOf(o)===-1||[le.IDLE].indexOf(s)===-1?u=d.wrapperPosition:u=this.wrapperPopper.styles,d.wrapper=Me(Me({},d.wrapper),u)}if(this.target){var m=window.getComputedStyle(this.target);this.wrapperStyles?d.wrapper=Me(Me({},d.wrapper),this.wrapperStyles):["relative","static"].indexOf(m.position)===-1&&(this.wrapperStyles={},l||(G3.forEach(function(p){r.wrapperStyles[p]=m[p]}),d.wrapper=Me(Me({},d.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return d}},{key:"target",get:function(){if(!Et())return null;var r=this.props.target;return r?V.domElement(r)?r:document.querySelector(r):this.childRef||this.wrapperRef}},{key:"render",value:function(){var r=this.state,i=r.currentPlacement,o=r.positionWrapper,l=r.status,s=this.props,c=s.children,d=s.component,u=s.content,m=s.disableAnimation,p=s.footer,g=s.hideArrow,f=s.id,y=s.open,k=s.showCloseButton,b=s.style,h=s.target,v=s.title,E=a.createElement(Y0,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:b,styles:this.styles.wrapper},c),S={};return o?S.wrapperInPortal=E:S.wrapperAsChildren=E,a.createElement("span",null,a.createElement(U0,{hasChildren:!!c,id:f,placement:i,setRef:this.setFloaterRef,target:h,zIndex:this.styles.options.zIndex},a.createElement(G0,{component:d,content:u,disableAnimation:m,footer:p,handleClick:this.handleClick,hideArrow:g||i==="center",open:y,placement:i,positionWrapper:o,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:k,status:l,styles:this.styles,title:v}),S.wrapperInPortal),S.wrapperAsChildren)}}]),n}(a.Component);De(Go,"propTypes",{autoOpen:O.default.bool,callback:O.default.func,children:O.default.node,component:x1(O.default.oneOfType([O.default.func,O.default.element]),function(e){return!e.content}),content:x1(O.default.node,function(e){return!e.component}),debug:O.default.bool,disableAnimation:O.default.bool,disableFlip:O.default.bool,disableHoverToClick:O.default.bool,event:O.default.oneOf(["hover","click"]),eventDelay:O.default.number,footer:O.default.node,getPopper:O.default.func,hideArrow:O.default.bool,id:O.default.oneOfType([O.default.string,O.default.number]),offset:O.default.number,open:O.default.bool,options:O.default.object,placement:O.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:O.default.bool,style:O.default.object,styles:O.default.object,target:O.default.oneOfType([O.default.object,O.default.string]),title:O.default.node,wrapperOptions:O.default.shape({offset:O.default.number,placement:O.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:O.default.bool})});De(Go,"defaultProps",{autoOpen:!1,callback:M1,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:M1,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});var Y3=ft(Ed(),1),Q3=Object.defineProperty,K3=(e,t,n)=>t in e?Q3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R=(e,t,n)=>(K3(e,typeof t!="symbol"?t+"":t,n),n),me={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},mt={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},X={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},ne={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"};function Ut(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Q0(e){return e?e.getBoundingClientRect():null}function J3(){let{body:e,documentElement:t}=document;return!e||!t?0:Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight)}function Gt(e){return typeof e=="string"?document.querySelector(e):e}function X3(e){return!e||e.nodeType!==1?null:getComputedStyle(e)}function ni(e,t,n){if(!e)return rn();let r=(0,S0.default)(e);if(r){if(r.isSameNode(rn()))return n?document:rn();if(!(r.scrollHeight>r.offsetHeight)&&!t)return r.style.overflow="initial",rn()}return r}function ai(e,t){if(!e)return!1;let n=ni(e,t);return n?!n.isSameNode(rn()):!1}function eh(e){return e.offsetParent!==document.body}function _a(e,t="fixed"){if(!e||!(e instanceof HTMLElement))return!1;let{nodeName:n}=e,r=X3(e);return n==="BODY"||n==="HTML"?!1:r&&r.position===t?!0:e.parentNode?_a(e.parentNode,t):!1}function th(e){var t;if(!e)return!1;let n=e;for(;n&&n!==document.body;){if(n instanceof HTMLElement){let{display:r,visibility:i}=getComputedStyle(n);if(r==="none"||i==="hidden")return!1}n=(t=n.parentElement)!=null?t:null}return!0}function nh(e,t,n){var r;let i=Q0(e),o=ni(e,n),l=ai(e,n),s=0,c=(r=i?.top)!=null?r:0;return o instanceof HTMLElement&&(s=o.scrollTop,!l&&!_a(e)&&(c+=s),o.isSameNode(rn())||(c+=rn().scrollTop)),Math.floor(c-t)}function ah(e,t,n){var r;if(!e)return 0;let{offsetTop:i=0,scrollTop:o=0}=(r=(0,S0.default)(e))!=null?r:{},l=e.getBoundingClientRect().top+o;i&&(ai(e,n)||eh(e))&&(l-=i);let s=Math.floor(l-t);return s<0?0:s}function rn(){var e;return(e=document.scrollingElement)!=null?e:document.documentElement}function rh(e,t){let{duration:n,element:r}=t;return new Promise((i,o)=>{let{scrollTop:l}=r,s=e>l?e-l:l-e;Fp.default.top(r,e,{duration:s<100?50:n},c=>c&&c.message!=="Element already at target scroll position"?o(c):i())})}var ia=Jn!==void 0;function K0(e=navigator.userAgent){let t=e;return typeof window>"u"?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":window.opera||e.includes(" OPR/")?t="opera":typeof window.InstallTrigger<"u"?t="firefox":window.chrome?t="chrome":/(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function $t(e){let t=[],n=r=>{if(typeof r=="string"||typeof r=="number")t.push(r);else if(Array.isArray(r))r.forEach(i=>n(i));else if(di(r)){let{children:i}=r.props;Array.isArray(i)?i.forEach(o=>n(o)):n(i)}};return n(e),t.join(" ").trim()}function ih(e,t){return!I.plainObject(e)||!I.array(t)?!1:Object.keys(e).every(n=>t.includes(n))}function oh(e){let t=/^#?([\da-f])([\da-f])([\da-f])$/i,n=e.replace(t,(i,o,l,s)=>o+o+l+l+s+s),r=/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(n);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function N1(e){return e.disableBeacon||e.placement==="center"}function F1(){return!["chrome","safari","firefox","opera"].includes(K0())}function mn({data:e,debug:t=!1,title:n,warn:r=!1}){let i=r?console.warn||console.error:console.log;t&&(n&&e?(console.groupCollapsed(`%creact-joyride: ${n}`,"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(e)?e.forEach(o=>{I.plainObject(o)&&o.key?i.apply(console,[o.key,o.value]):i.apply(console,[o])}):i.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}function lh(e){let{isFirstStep:t,lifecycle:n,previousLifecycle:r,scrollToFirstStep:i,step:o,target:l}=e;return!o.disableScrolling&&(!t||i||n===X.TOOLTIP)&&o.placement!=="center"&&(!o.isFixed||!_a(l))&&r!==n&&[X.BEACON,X.TOOLTIP].includes(n)}var sh={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},J0={back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},ch={event:"click",placement:"bottom",offset:10,disableBeacon:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrollParentFix:!1,disableScrolling:!1,hideBackButton:!1,hideCloseButton:!1,hideFooter:!1,isFixed:!1,locale:J0,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},dh={continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:void 0,hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]},uh={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",width:380,zIndex:100},oa={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},A1={borderRadius:4,position:"absolute"};function mh(e,t){let n=(0,Li.default)(e??{},t??{}),r=(0,Li.default)(uh,n.options||{}),{width:i}=r;window.innerWidth>480&&(i=380),"width"in r&&(i=typeof r.width=="number"&&window.innerWidthX0(n,t)):(mn({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var hh={action:"init",controlled:!1,index:0,lifecycle:X.INIT,size:0,status:ne.IDLE},L1=["action","index","lifecycle","status"],fh=class{constructor(e){R(this,"beaconPopper"),R(this,"tooltipPopper"),R(this,"data",new Map),R(this,"listener"),R(this,"store",new Map),R(this,"addListener",i=>{this.listener=i}),R(this,"setSteps",i=>{let{size:o,status:l}=this.getState(),s={size:i.length,status:l};this.data.set("steps",i),l===ne.WAITING&&!o&&i.length&&(s.status=ne.RUNNING),this.setState(s)}),R(this,"getPopper",i=>i==="beacon"?this.beaconPopper:this.tooltipPopper),R(this,"setPopper",(i,o)=>{i==="beacon"?this.beaconPopper=o:this.tooltipPopper=o}),R(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),R(this,"close",()=>{let{index:i,status:o}=this.getState();o===ne.RUNNING&&this.setState({...this.getNextState({action:me.CLOSE,index:i+1})})}),R(this,"go",i=>{let{controlled:o,status:l}=this.getState();if(o||l!==ne.RUNNING)return;let s=this.getSteps()[i];this.setState({...this.getNextState({action:me.GO,index:i}),status:s?l:ne.FINISHED})}),R(this,"info",()=>this.getState()),R(this,"next",()=>{let{index:i,status:o}=this.getState();o===ne.RUNNING&&this.setState(this.getNextState({action:me.NEXT,index:i+1}))}),R(this,"open",()=>{let{status:i}=this.getState();i===ne.RUNNING&&this.setState({...this.getNextState({action:me.UPDATE,lifecycle:X.TOOLTIP})})}),R(this,"prev",()=>{let{index:i,status:o}=this.getState();o===ne.RUNNING&&this.setState({...this.getNextState({action:me.PREV,index:i-1})})}),R(this,"reset",(i=!1)=>{let{controlled:o}=this.getState();o||this.setState({...this.getNextState({action:me.RESET,index:0}),status:i?ne.RUNNING:ne.READY})}),R(this,"skip",()=>{let{status:i}=this.getState();i===ne.RUNNING&&this.setState({action:me.SKIP,lifecycle:X.INIT,status:ne.SKIPPED})}),R(this,"start",i=>{let{index:o,size:l}=this.getState();this.setState({...this.getNextState({action:me.START,index:I.number(i)?i:o},!0),status:l?ne.RUNNING:ne.WAITING})}),R(this,"stop",(i=!1)=>{let{index:o,status:l}=this.getState();[ne.FINISHED,ne.SKIPPED].includes(l)||this.setState({...this.getNextState({action:me.STOP,index:o+(i?1:0)}),status:ne.PAUSED})}),R(this,"update",i=>{var o;if(!ih(i,L1))throw new Error(`State is not valid. Valid keys: ${L1.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...i,action:(o=i.action)!=null?o:me.UPDATE},!0)})});let{continuous:t=!1,stepIndex:n,steps:r=[]}=e??{};this.setState({action:me.INIT,controlled:I.number(n),continuous:t,index:I.number(n)?n:0,lifecycle:X.INIT,status:r.length?ne.READY:ne.IDLE},!0),this.beaconPopper=null,this.tooltipPopper=null,this.listener=null,this.setSteps(r)}getState(){return this.store.size?{action:this.store.get("action")||"",controlled:this.store.get("controlled")||!1,index:parseInt(this.store.get("index"),10),lifecycle:this.store.get("lifecycle")||"",size:this.store.get("size")||0,status:this.store.get("status")||""}:{...hh}}getNextState(e,t=!1){var n,r,i,o;let{action:l,controlled:s,index:c,size:d,status:u}=this.getState(),m=I.number(e.index)?e.index:c,p=s&&!t?c:Math.min(Math.max(m,0),d);return{action:(n=e.action)!=null?n:l,controlled:s,index:p,lifecycle:(r=e.lifecycle)!=null?r:X.INIT,size:(i=e.size)!=null?i:d,status:p===d?ne.FINISHED:(o=e.status)!=null?o:u}}getSteps(){let e=this.data.get("steps");return Array.isArray(e)?e:[]}hasUpdatedState(e){let t=JSON.stringify(e),n=JSON.stringify(this.getState());return t!==n}setState(e,t=!1){let n=this.getState(),{action:r,index:i,lifecycle:o,size:l,status:s}={...n,...e};this.store.set("action",r),this.store.set("index",i),this.store.set("lifecycle",o),this.store.set("size",l),this.store.set("status",s),t&&(this.store.set("controlled",e.controlled),this.store.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(n)&&this.listener(this.getState())}getHelpers(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}};function gh(e){return new fh(e)}var vh=class{constructor(e,t){if(R(this,"element"),R(this,"options"),R(this,"canBeTabbed",n=>{let{tabIndex:r}=n;return r===null||r<0?!1:this.canHaveFocus(n)}),R(this,"canHaveFocus",n=>{let r=/input|select|textarea|button|object/,i=n.nodeName.toLowerCase();return(r.test(i)&&!n.getAttribute("disabled")||i==="a"&&!!n.getAttribute("href"))&&this.isVisible(n)}),R(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),R(this,"handleKeyDown",n=>{let{code:r="Tab"}=this.options;n.code===r&&this.interceptTab(n)}),R(this,"interceptTab",n=>{n.preventDefault();let r=this.findValidTabElements(),{shiftKey:i}=n;if(!r.length)return;let o=document.activeElement?r.indexOf(document.activeElement):0;o===-1||!i&&o+1===r.length?o=0:i&&o===0?o=r.length-1:o+=i?-1:1,r[o].focus()}),R(this,"isHidden",n=>{let r=n.offsetWidth<=0&&n.offsetHeight<=0,i=window.getComputedStyle(n);return r&&!n.innerHTML?!0:r&&i.getPropertyValue("overflow")!=="visible"||i.getPropertyValue("display")==="none"}),R(this,"isVisible",n=>{let r=n;for(;r;)if(r instanceof HTMLElement){if(r===document.body)break;if(this.isHidden(r))return!1;r=r.parentNode}return!0}),R(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),R(this,"checkFocus",n=>{document.activeElement!==n&&(n.focus(),window.requestAnimationFrame(()=>this.checkFocus(n)))}),R(this,"setFocus",()=>{let{selector:n}=this.options;if(!n)return;let r=this.element.querySelector(n);r&&window.requestAnimationFrame(()=>this.checkFocus(r))}),!(e instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=t,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}},yh=class extends jt{constructor(e){if(super(e),R(this,"beacon",null),R(this,"setBeaconRef",i=>{this.beacon=i}),e.beaconComponent)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id="joyride-beacon-animation",e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode(` + @keyframes joyride-beacon-inner { + 20% { + opacity: 0.9; + } + + 90% { + opacity: 0.7; + } + } + + @keyframes joyride-beacon-outer { + 0% { + transform: scale(1); + } + + 45% { + opacity: 0.7; + transform: scale(0.75); + } + + 100% { + opacity: 0.9; + transform: scale(1); + } + } + `)),t.appendChild(n)}componentDidMount(){let{shouldFocus:e}=this.props;setTimeout(()=>{I.domElement(this.beacon)&&e&&this.beacon.focus()},0)}componentWillUnmount(){let e=document.getElementById("joyride-beacon-animation");e?.parentNode&&e.parentNode.removeChild(e)}render(){let{beaconComponent:e,continuous:t,index:n,isLastStep:r,locale:i,onClickOrHover:o,size:l,step:s,styles:c}=this.props,d=I.string(i.open)?i.open:(0,Y3.default)(i.open),u={"aria-label":d,onClick:o,onMouseEnter:o,ref:this.setBeaconRef,title:d},m;return e?m=x(e,{continuous:t,index:n,isLastStep:r,size:l,step:s,...u}):m=x("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:c.beacon,type:"button",...u},x("span",{style:c.beaconInner}),x("span",{style:c.beaconOuter})),m}};function bh({styles:e}){return x("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})}var Eh=bh,kh=class extends jt{constructor(){super(...arguments),R(this,"isActive",!1),R(this,"resizeTimeout"),R(this,"scrollTimeout"),R(this,"scrollParent"),R(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),R(this,"handleMouseMove",e=>{let{mouseOverSpotlight:t}=this.state,{height:n,left:r,position:i,top:o,width:l}=this.spotlightStyles,s=i==="fixed"?e.clientY:e.pageY,c=i==="fixed"?e.clientX:e.pageX,d=s>=o&&s<=o+n,u=c>=r&&c<=r+l&&d;u!==t&&this.updateState({mouseOverSpotlight:u})}),R(this,"handleScroll",()=>{let{target:e}=this.props,t=Gt(e);if(this.scrollParent!==document){let{isScrolling:n}=this.state;n||this.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout(()=>{this.updateState({isScrolling:!1,showSpotlight:!0})},50)}else _a(t,"sticky")&&this.updateState({})}),R(this,"handleResize",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.isActive&&this.forceUpdate()},100)})}componentDidMount(){let{debug:e,disableScrolling:t,disableScrollParentFix:n=!1,target:r}=this.props,i=Gt(r);this.scrollParent=ni(i??document.body,n,!0),this.isActive=!0,window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var t;let{lifecycle:n,spotlightClicks:r}=this.props,{changed:i}=Zr(e,this.props);i("lifecycle",X.TOOLTIP)&&((t=this.scrollParent)==null||t.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{let{isScrolling:o}=this.state;o||this.updateState({showSpotlight:!0})},100)),(i("spotlightClicks")||i("disableOverlay")||i("lifecycle"))&&(r&&n===X.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):n!==X.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}componentWillUnmount(){var e;this.isActive=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),(e=this.scrollParent)==null||e.removeEventListener("scroll",this.handleScroll)}get spotlightStyles(){var e,t,n;let{showSpotlight:r}=this.state,{disableScrollParentFix:i=!1,spotlightClicks:o,spotlightPadding:l=0,styles:s,target:c}=this.props,d=Gt(c),u=Q0(d),m=_a(d),p=nh(d,l,i);return{...F1()?s.spotlightLegacy:s.spotlight,height:Math.round(((e=u?.height)!=null?e:0)+l*2),left:Math.round(((t=u?.left)!=null?t:0)-l),opacity:r?1:0,pointerEvents:o?"none":"auto",position:m?"fixed":"absolute",top:p,transition:"opacity 0.2s",width:Math.round(((n=u?.width)!=null?n:0)+l*2)}}updateState(e){this.isActive&&this.setState(t=>({...t,...e}))}render(){let{mouseOverSpotlight:e,showSpotlight:t}=this.state,{disableOverlay:n,disableOverlayClose:r,lifecycle:i,onClickOverlay:o,placement:l,styles:s}=this.props;if(n||i!==X.TOOLTIP)return null;let c=s.overlay;F1()&&(c=l==="center"?s.overlayLegacyCenter:s.overlayLegacy);let d={cursor:r?"default":"pointer",height:J3(),pointerEvents:e?"none":"auto",...c},u=l!=="center"&&t&&x(Eh,{styles:this.spotlightStyles});if(K0()==="safari"){let{mixBlendMode:m,zIndex:p,...g}=d;u=x("div",{style:{...g}},u),delete d.backgroundColor}return x("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:o,role:"presentation",style:d},u)}},wh=class extends jt{constructor(){super(...arguments),R(this,"node",null)}componentDidMount(){let{id:e}=this.props;Ut()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),ia||this.renderReact15())}componentDidUpdate(){Ut()&&(ia||this.renderReact15())}componentWillUnmount(){!Ut()||!this.node||(ia||gl(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!Ut())return;let{children:e}=this.props;this.node&&vl(this,e,this.node)}renderReact16(){if(!Ut()||!ia)return null;let{children:e}=this.props;return this.node?Jn(e,this.node):null}render(){return ia?this.renderReact16():null}};function Ch({styles:e,...t}){let{color:n,height:r,width:i,...o}=e;return a.createElement("button",{style:o,type:"button",...t},a.createElement("svg",{height:typeof r=="number"?`${r}px`:r,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:typeof i=="number"?`${i}px`:i,xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:n}))))}var Sh=Ch;function xh(e){let{backProps:t,closeProps:n,continuous:r,index:i,isLastStep:o,primaryProps:l,size:s,skipProps:c,step:d,tooltipProps:u}=e,{content:m,hideBackButton:p,hideCloseButton:g,hideFooter:f,locale:y,showProgress:k,showSkipButton:b,styles:h,title:v}=d,{back:E,close:S,last:B,next:j,skip:Y}=y,J={primary:S};return r&&(J.primary=o?B:j,k&&(J.primary=x("span",null,J.primary," (",i+1,"/",s,")"))),b&&!o&&(J.skip=x("button",{"aria-live":"off","data-test-id":"button-skip",style:h.buttonSkip,type:"button",...c},Y)),!p&&i>0&&(J.back=x("button",{"data-test-id":"button-back",style:h.buttonBack,type:"button",...t},E)),J.close=!g&&x(Sh,{"data-test-id":"button-close",styles:h.buttonClose,...n}),x("div",{key:"JoyrideTooltip","aria-label":$t(v)||$t(m),className:"react-joyride__tooltip",style:h.tooltip,...u},x("div",{style:h.tooltipContainer},v&&x("h1",{"aria-label":$t(v),style:h.tooltipTitle},v),x("div",{style:h.tooltipContent},m)),!f&&x("div",{style:h.tooltipFooter},x("div",{style:h.tooltipFooterSpacer},J.skip),J.back,x("button",{"data-test-id":"button-primary",style:h.buttonNext,type:"button",...l},J.primary)),J.close)}var Mh=xh,Nh=class extends jt{constructor(){super(...arguments),R(this,"handleClickBack",e=>{e.preventDefault();let{helpers:t}=this.props;t.prev()}),R(this,"handleClickClose",e=>{e.preventDefault();let{helpers:t}=this.props;t.close()}),R(this,"handleClickPrimary",e=>{e.preventDefault();let{continuous:t,helpers:n}=this.props;if(!t){n.close();return}n.next()}),R(this,"handleClickSkip",e=>{e.preventDefault();let{helpers:t}=this.props;t.skip()}),R(this,"getElementsProps",()=>{let{continuous:e,isLastStep:t,setTooltipRef:n,step:r}=this.props,i=$t(r.locale.back),o=$t(r.locale.close),l=$t(r.locale.last),s=$t(r.locale.next),c=$t(r.locale.skip),d=e?s:o;return t&&(d=l),{backProps:{"aria-label":i,"data-action":"back",onClick:this.handleClickBack,role:"button",title:i},closeProps:{"aria-label":o,"data-action":"close",onClick:this.handleClickClose,role:"button",title:o},primaryProps:{"aria-label":d,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:d},skipProps:{"aria-label":c,"data-action":"skip",onClick:this.handleClickSkip,role:"button",title:c},tooltipProps:{"aria-modal":!0,ref:n,role:"alertdialog"}}})}render(){let{continuous:e,index:t,isLastStep:n,setTooltipRef:r,size:i,step:o}=this.props,{beaconComponent:l,tooltipComponent:s,...c}=o,d;if(s){let u={...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:i,step:c,setTooltipRef:r};d=x(s,{...u})}else d=x(Mh,{...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:i,step:o});return d}},Fh=class extends jt{constructor(){super(...arguments),R(this,"scope",null),R(this,"tooltip",null),R(this,"handleClickHoverBeacon",e=>{let{step:t,store:n}=this.props;e.type==="mouseenter"&&t.event!=="hover"||n.update({lifecycle:X.TOOLTIP})}),R(this,"handleClickOverlay",()=>{let{helpers:e,step:t}=this.props;t.disableOverlayClose||e.close()}),R(this,"setTooltipRef",e=>{this.tooltip=e}),R(this,"setPopper",(e,t)=>{var n;let{action:r,step:i,store:o}=this.props;t==="wrapper"?o.setPopper("beacon",e):o.setPopper("tooltip",e),o.getPopper("beacon")&&o.getPopper("tooltip")&&o.update({action:r,lifecycle:X.READY}),(n=i.floaterProps)!=null&&n.getPopper&&i.floaterProps.getPopper(e,t)}),R(this,"renderTooltip",e=>{let{continuous:t,helpers:n,index:r,size:i,step:o}=this.props;return x(Nh,{continuous:t,helpers:n,index:r,isLastStep:r+1===i,setTooltipRef:this.setTooltipRef,size:i,step:o,...e})})}componentDidMount(){let{debug:e,index:t}=this.props;mn({title:`step:${t}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var t;let{action:n,callback:r,continuous:i,controlled:o,debug:l,index:s,lifecycle:c,size:d,status:u,step:m,store:p}=this.props,{changed:g,changedFrom:f}=Zr(e,this.props),y={action:n,controlled:o,index:s,lifecycle:c,size:d,status:u},k=i&&n!==me.CLOSE&&(s>0||n===me.PREV),b=g("action")||g("index")||g("lifecycle")||g("status"),h=f("lifecycle",[X.TOOLTIP,X.INIT],X.INIT),v=g("action",[me.NEXT,me.PREV,me.SKIP,me.CLOSE]),E=o&&s===e.index;if(v&&(h||E)&&r({...y,index:e.index,lifecycle:X.COMPLETE,step:e.step,type:mt.STEP_AFTER}),m.placement==="center"&&u===ne.RUNNING&&g("index")&&n!==me.START&&c===X.INIT&&p.update({lifecycle:X.READY}),b){let S=Gt(m.target),B=!!S;B&&th(S)?(f("status",ne.READY,ne.RUNNING)||f("lifecycle",X.INIT,X.READY))&&r({...y,step:m,type:mt.STEP_BEFORE}):(console.warn(B?"Target not visible":"Target not mounted",m),r({...y,type:mt.TARGET_NOT_FOUND,step:m}),o||p.update({index:s+(n===me.PREV?-1:1)}))}f("lifecycle",X.INIT,X.READY)&&p.update({lifecycle:N1(m)||k?X.TOOLTIP:X.BEACON}),g("index")&&mn({title:`step:${c}`,data:[{key:"props",value:this.props}],debug:l}),g("lifecycle",X.BEACON)&&r({...y,step:m,type:mt.BEACON}),g("lifecycle",X.TOOLTIP)&&(r({...y,step:m,type:mt.TOOLTIP}),this.tooltip&&(this.scope=new vh(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),f("lifecycle",[X.TOOLTIP,X.INIT],X.INIT)&&((t=this.scope)==null||t.removeScope(),p.cleanupPoppers())}componentWillUnmount(){var e;(e=this.scope)==null||e.removeScope()}get open(){let{lifecycle:e,step:t}=this.props;return N1(t)||e===X.TOOLTIP}render(){let{continuous:e,debug:t,index:n,lifecycle:r,nonce:i,shouldScroll:o,size:l,step:s}=this.props,c=Gt(s.target);return!X0(s)||!I.domElement(c)?null:x("div",{key:`JoyrideStep-${n}`,className:"react-joyride__step"},x(wh,{id:"react-joyride-portal"},x(kh,{...s,debug:t,lifecycle:r,onClickOverlay:this.handleClickOverlay})),x(Go,{...s.floaterProps,component:this.renderTooltip,debug:t,getPopper:this.setPopper,id:`react-joyride-step-${n}`,open:this.open,placement:s.placement,target:s.target},x(yh,{beaconComponent:s.beaconComponent,continuous:e,index:n,isLastStep:n+1===l,locale:s.locale,nonce:i,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:o,size:l,step:s,styles:s.styles})))}},ec=class extends jt{constructor(e){super(e),R(this,"helpers"),R(this,"store"),R(this,"callback",l=>{let{callback:s}=this.props;I.function(s)&&s(l)}),R(this,"handleKeyboard",l=>{let{index:s,lifecycle:c}=this.state,{steps:d}=this.props,u=d[s];c===X.TOOLTIP&&l.code==="Escape"&&u&&!u.disableCloseOnEsc&&this.store.close()}),R(this,"syncState",l=>{this.setState(l)});let{debug:t,getHelpers:n,run:r,stepIndex:i}=e;this.store=gh({...e,controlled:r&&I.number(i)}),this.helpers=this.store.getHelpers();let{addListener:o}=this.store;mn({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:t}),o(this.syncState),n&&n(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!Ut())return;let{debug:e,disableCloseOnEsc:t,run:n,steps:r}=this.props,{start:i}=this.store;O1(r,e)&&n&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,t){if(!Ut())return;let{action:n,controlled:r,index:i,lifecycle:o,status:l}=this.state,{debug:s,run:c,stepIndex:d,steps:u}=this.props,{stepIndex:m,steps:p}=e,{reset:g,setSteps:f,start:y,stop:k,update:b}=this.store,{changed:h}=Zr(e,this.props),{changed:v,changedFrom:E}=Zr(t,this.state),S=la(u[i],this.props),B=!Ue(p,u),j=I.number(d)&&h("stepIndex"),Y=Gt(S.target);if(B&&(O1(u,s)?f(u):console.warn("Steps are not valid",u)),h("run")&&(c?y(d):k()),j){let ce=I.number(m)&&m=0?y:0,r===ne.RUNNING&&rh(y,{element:f,duration:l}).then(()=>{setTimeout(()=>{var h;(h=this.store.getPopper("tooltip"))==null||h.instance.update()},10)})}}render(){if(!Ut())return null;let{index:e,status:t}=this.state,{continuous:n=!1,debug:r=!1,nonce:i,scrollToFirstStep:o=!1,steps:l}=this.props,s;if(t===ne.RUNNING&&l[e]){let c=la(l[e],this.props);s=x(Fh,{...this.state,callback:this.callback,continuous:n,debug:r,helpers:this.helpers,nonce:i,shouldScroll:!c.disableScrolling&&(e!==0||o),step:c,store:this.store})}return x("div",{className:"react-joyride"},s)}};R(ec,"defaultProps",dh);var Ah=ec,T1=[void 0,"EQUAL","FIXED","ADDED","CHANGED","REMOVED","CAPTURE_ERROR","SYSTEM_ERROR"],Pr=([e,...t])=>t.reduce((n,r)=>T1.indexOf(r)>T1.indexOf(n)?r:n,e);function Oh(e){return(e.FAILED??0)>0?"FAILED":(e.IN_PROGRESS??0)>0?"IN_PROGRESS":(e.BROKEN??0)>0?"BROKEN":(e.DENIED??0)>0?"DENIED":(e.PENDING??0)>0?"PENDING":(e.ACCEPTED??0)>0?"ACCEPTED":"PASSED"}function Yo(e){let{statusCounts:t,isInProgress:n,changeCount:r,brokenCount:i,resultsByBrowser:o,resultsByMode:l,modesByName:s}=e.reduce((m,p)=>(m.statusCounts[p.status]=(m.statusCounts[p.status]||0)+1,p.status==="IN_PROGRESS"&&(m.isInProgress=!0),p.result&&["CHANGED","ADDED"].includes(p.result)&&(m.changeCount+=1),p.result&&["CAPTURE_ERROR","SYSTEM_ERROR"].includes(p.result)&&(m.brokenCount+=1),p.comparisons?.forEach(({browser:g,result:f})=>{m.resultsByBrowser[g.id]=Pr([f??void 0,m.resultsByBrowser[g.id]])}),p.comparisons?.forEach(({result:g})=>{m.resultsByMode[p.mode.name]=Pr([g??void 0,m.resultsByMode[p.mode.name]])}),m.modesByName[p.mode.name]=p.mode,m),{statusCounts:{},isInProgress:!1,changeCount:0,brokenCount:0,resultsByBrowser:{},resultsByMode:{},modesByName:{}}),c=e.length?Object.fromEntries(e[0].comparisons.map(m=>[m.browser.id,m.browser])):{},d=Object.entries(o).map(([m,p])=>({browser:c[m],result:p})),u=Object.entries(l).map(([m,p])=>({mode:s[m],result:p}));return{status:Oh(t),isInProgress:n,changeCount:r,brokenCount:i,browserResults:d,modeResults:u}}var Lh=e=>{try{return[il()[0][e],rl()[e]]}catch{return[null,null]}},tc=({result:e})=>e!=="EQUAL"&&e!=="FIXED",Th=(e,t)=>{let n=e.filter(i=>i.comparisons.some(tc)),r=n.length?n:e;return r.find(i=>i.mode.name===t)||r[0]},_h=(e,t)=>{let n=e.filter(tc),r=n.length?n:e;return r.find(i=>i.browser.id===t)||r[0]};function Zh(e){let[t,n]=Re(!0),r=Lh("theme")[1],[i,o]=Ze(Qd),[l,s]=Ze(Kd),c,d;return e.length&&(c=t?Th(e,i):e.find(({mode:u})=>u.name===i)||e[0],d=t?_h(c.comparisons,l):c?.comparisons.find(({browser:u})=>u.id===l)||c?.comparisons[0],t&&(i!==c?.mode.name&&o(c?.mode.name),l!==d?.browser.id&&s(d?.browser.id),n(!1))),{modeOrder:r?.toolbar?.items?.map(u=>u.title),selectedTest:c,selectedComparison:d,onSelectBrowser:W(u=>s(u.id),[s]),onSelectMode:W(u=>o(u.name),[o])}}var Ih=vt(` + query AddonVisualTestsBuild( + $projectId: ID! + $branch: String! + $gitUserEmailHash: String! + $repositoryOwnerName: String + $storyId: String! + $testStatuses: [TestStatus!]! + $selectedBuildId: ID! + $hasSelectedBuildId: Boolean! + ) { + project(id: $projectId) { + name + manageUrl + account { + billingUrl + suspensionReason + } + features { + uiTests + } + lastBuildOnBranch: lastBuild( + branches: [$branch] + repositoryOwnerName: $repositoryOwnerName + localBuilds: { localBuildEmailHash: $gitUserEmailHash } + ) { + ...LastBuildOnBranchBuildFields + ...SelectedBuildFields @skip(if: $hasSelectedBuildId) + } + lastBuild { + id + slug + branch + } + } + selectedBuild: build(id: $selectedBuildId) @include(if: $hasSelectedBuildId) { + ...SelectedBuildFields + } + viewer { + preferences { + vtaOnboarding + } + projectMembership(projectId: $projectId) { + userCanReview: meetsAccessLevel(minimumAccessLevel: REVIEWER) + } + } + } +`),Rh=vt(` + fragment LastBuildOnBranchBuildFields on Build { + __typename + id + status + committedAt + ... on StartedBuild { + testsForStatus: tests(first: 1000, statuses: $testStatuses) { + nodes { + ...StatusTestFields + } + } + testsForStory: tests(storyId: $storyId) { + nodes { + ...LastBuildOnBranchTestFields + } + } + } + ... on CompletedBuild { + result + testsForStatus: tests(first: 1000, statuses: $testStatuses) { + nodes { + ...StatusTestFields + } + } + testsForStory: tests(storyId: $storyId) { + nodes { + ...LastBuildOnBranchTestFields + } + } + } + } +`),Bh=vt(` + fragment SelectedBuildFields on Build { + __typename + id + number + branch + commit + committedAt + uncommittedHash + status + ... on StartedBuild { + startedAt + testsForStory: tests(storyId: $storyId) { + nodes { + ...StoryTestFields + } + } + } + ... on CompletedBuild { + startedAt + testsForStory: tests(storyId: $storyId) { + nodes { + ...StoryTestFields + } + } + } + } +`),nc=vt(` + fragment StatusTestFields on Test { + id + status + result + story { + storyId + } + } +`),Ph=vt(` + fragment LastBuildOnBranchTestFields on Test { + status + result + } +`),Vh=vt(` + fragment StoryTestFields on Test { + id + status + result + webUrl + comparisons { + id + result + browser { + id + key + name + version + } + captureDiff { + diffImage(signed: true) { + imageUrl + imageWidth + } + focusImage(signed: true) { + imageUrl + imageWidth + } + } + headCapture { + captureImage(signed: true) { + backgroundColor + imageUrl + imageWidth + imageHeight + thumbnailUrl + } + captureError { + kind + ... on CaptureErrorInteractionFailure { + error + } + ... on CaptureErrorJSError { + error + } + ... on CaptureErrorFailedJS { + error + } + } + } + baseCapture { + captureImage(signed: true) { + imageUrl + imageWidth + imageHeight + } + } + } + mode { + name + globals + } + story { + storyId + name + component { + name + } + } + } +`),jh=vt(` + mutation ReviewTest($input: ReviewTestInput!) { + reviewTest(input: $input) { + updatedTests { + id + status + } + userErrors { + ... on UserError { + __typename + message + } + ... on BuildSupersededError { + build { + id + } + } + ... on TestUnreviewableError { + test { + id + } + } + } + } + } +`),Dh=({projectId:e,storyId:t,gitInfo:n,selectedBuildInfo:r})=>{let[{data:i,error:o,operation:l},s]=Lo({query:Ih,variables:{projectId:e,storyId:t,testStatuses:Object.keys(E0),branch:n.branch||"",...n.slug?{repositoryOwnerName:n.slug.split("/",1)[0]}:{},gitUserEmailHash:n.userEmailHash,selectedBuildId:r?.buildId||"",hasSelectedBuildId:!!r}});oe(()=>{let y=setInterval(s,5e3);return()=>clearInterval(y)},[s]);let c=l&&t&&l.variables.storyId!==t,d=Fn(Rh,i?.project?.lastBuildOnBranch),u=[...Fn(Ph,d&&"testsForStory"in d&&d.testsForStory?d.testsForStory.nodes:[])],m=d?.committedAt>n.committedAt,p=!!d&&!m,g=!!d&&u.every(y=>y.status!=="IN_PROGRESS"),f=Fn(Bh,i?.selectedBuild??(g?i?.project?.lastBuildOnBranch:void 0));return{account:i?.project?.account,features:i?.project?.features,manageUrl:i?.project?.manageUrl,hasData:!!i&&!c,hasProject:!!i?.project,hasSelectedBuild:f?.branch.split(":").at(-1)===n.branch,lastBuildOnBranch:d,lastBuildOnBranchIsNewer:m,lastBuildOnBranchIsReady:g,lastBuildOnBranchIsSelectable:p,selectedBuild:f,selectedBuildMatchesGit:f?.branch.split(":").at(-1)===n.branch&&f?.commit===n.commit&&f?.uncommittedHash===n.uncommittedHash,rerunQuery:s,queryError:o,userCanReview:!!i?.viewer?.projectMembership?.userCanReview,vtaOnboarding:i?.viewer?.preferences?.vtaOnboarding}},Qo=Xe(null),ac=Xe(null),Hh=()=>Ot(Qo,"Build"),rc=()=>{let{selectedBuild:e}=Ot(Qo,"Build");if(!e)throw new Error("No selectedBuild on Build context");return e},fn=()=>Ot(ac,"Story"),Ii=({children:e,watchState:t})=>{let n=!!t?.selectedBuild&&"testsForStory"in t.selectedBuild,r=t?.selectedBuild&&"testsForStory"in t.selectedBuild&&t.selectedBuild.testsForStory?.nodes,i=[...Fn(Vh,r||[])],o=Yo(i),{toggleDiff:l}=jn();return oe(()=>l(o.changeCount>0),[l,o.changeCount]),a.createElement(Qo.Provider,{value:Dt(()=>t,[JSON.stringify(t?.selectedBuild)])},a.createElement(ac.Provider,{value:{hasTests:n,tests:i,summary:o,...Zh(i)}},e))},zh=w.div(({width:e,height:t,left:n,top:r})=>({width:`${e}px`,height:`${t}px`,left:`${n}px`,top:`${r}px`,position:"relative",overflow:"hidden"}));function Uh({top:e=0,left:t=0,width:n=window.innerWidth,height:r=window.innerHeight,colors:i=["#CA90FF","#FC521F","#66BF3C","#FF4785","#FFAE00","#1EA7FD"],...o}){let[l]=Re(()=>{let s=document.createElement("div");return s.setAttribute("id","confetti-container"),s.setAttribute("style","position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999;"),s});return oe(()=>(document.body.appendChild(l),()=>{document.body.removeChild(l)}),[l]),Jn(a.createElement(zh,{top:e,left:t,width:n,height:r},a.createElement(ts.default,{colors:i,drawShape:Wh,...o})),l)}function $h(e,t){return Math.floor(Math.random()*(t-e))+e}function Wh(e){let t=this;switch(t.shape=t.shape||$h(1,6),t.shape){case 2:{let n=t.w/2,r=t.h/2;e.moveTo(-n+2,-r),e.lineTo(n-2,-r),e.arcTo(n,-r,n,-r+2,2),e.lineTo(n,r-2),e.arcTo(n,r,n-2,r,2),e.lineTo(-n+2,r),e.arcTo(-n,r,-n,r-2,2),e.lineTo(-n,-r+2),e.arcTo(-n,-r,-n+2,-r,2);break}case 3:{e.rect(-4,-4,8,16),e.rect(-12,-4,24,8);break}case 4:{e.rect(-4,-4,8,16),e.rect(-4,-4,24,8);break}case 1:{e.arc(0,0,t.radius,0,2*Math.PI);break}case 5:{e.moveTo(16,4),e.lineTo(4,24),e.lineTo(24,24);break}case 6:{e.arc(4,-4,4,-Math.PI/2,0),e.lineTo(4,0);break}}e.closePath(),e.fill()}var qh=w.div(({theme:e})=>({background:e.base==="light"?e.color.lightest:"#292A2C",width:260,padding:15,borderRadius:5,boxShadow:"0px 0px 32px 0px #00000029"})),Gh=w.div({display:"flex",flexDirection:"column",alignItems:"flex-start"}),Yh=w.div(({theme:e})=>({fontSize:13,lineHeight:"18px",fontWeight:700,color:e.color.defaultText})),Qh=w.div(({theme:e})=>({fontSize:13,lineHeight:"18px",textAlign:"start",color:e.color.defaultText,margin:0,marginTop:5})),Kh=w.div({display:"flex",justifyContent:"flex-end",marginTop:15}),Jh=({isLastStep:e,step:t,primaryProps:n,tooltipProps:r})=>a.createElement(qh,{...r},a.createElement(Gh,null,t.title&&a.createElement(Yh,null,t.title),a.createElement(Qh,null,t.content)),(t.hideNextButton||t.hideBackButton)&&a.createElement(Kh,{id:"buttonSkip"},!t.hideSkipButton&&!e&&a.createElement(ue,{size:"medium",onClick:t.onSkipWalkthroughButtonClick,link:!0,style:{paddingRight:12,paddingLeft:12,marginRight:8}},"Skip"),!t.hideNextButton&&a.createElement(ue,{...n,onClick:n.onClick,variant:"solid",...t.onNextButtonClick?{onClick:t.onNextButtonClick}:{}},t.nextButtonText||"Next"))),_1="setFilter",Xh=({managerApi:e,skipWalkthrough:t,startWalkthrough:n,completeWalkthrough:r})=>{let i=en(),o=fn(),l=o?.selectedTest?.result==="CHANGED",s=o?.selectedTest?.status!=="ACCEPTED",c=JSON.stringify(yn().layout),d=Pe(c);d.current!==c&&(window.dispatchEvent(new Event("resize")),d.current=c),oe(()=>{n()}),oe(()=>{e.getCurrentStoryData()?.type!=="story"&&e.jumpToStory(1),e.togglePanel(!0),e.togglePanelPosition("right"),e.setSelectedPanel(Vn)},[e]);let[u,m]=it("showConfetti",!1),[p,g]=it("stepIndex",0),f=()=>g((y=0)=>y+1);return oe(()=>{let y=document.getElementById("storybook-explorer-tree"),k=Array.from(y instanceof HTMLElement?y.children:[]).filter(b=>b instanceof HTMLElement).slice(1);return k.forEach(b=>b.style.display="none"),()=>k.forEach(b=>b.style.display="")},[]),oe(()=>{let y=()=>{g(1),setTimeout(()=>{window.dispatchEvent(new Event("resize"))},100)};return e.on(Ui,y),e.on(_1,y),()=>{e.off(Ui,y),e.off(_1,y)}},[e,g]),oe(()=>{o?.selectedTest?.status==="ACCEPTED"&&p===5&&(m(!0),g(6))},[o?.selectedTest?.status,u,m,p,g]),a.createElement(a.Fragment,null,u&&a.createElement(Uh,{numberOfPieces:800,recycle:!1,tweenDuration:2e4,onConfettiComplete:y=>{y?.reset(),m(!1)}}),a.createElement(Ah,{steps:[{target:"#sidebar-bottom-wrapper",title:"Changes found",content:a.createElement(a.Fragment,null,"The visual tests addon will detect changes in all of your stories and allow you to review them before opening a pull request.",a.createElement("br",null),a.createElement("br",null),"Click this button to see the changes in the sidebar."),floaterProps:{target:"#warnings-found-filter",options:{preventOverflow:{boundariesElement:"window"}}},placement:"top",disableBeacon:!0,hideNextButton:!0,spotlightClicks:!0,onSkipWalkthroughButtonClick:t},l&&s?{target:"#storybook-explorer-tree > div",title:"Stories with changes",content:a.createElement(a.Fragment,null,"Here you have a filtered list of only stories with changes."),placement:"right",disableBeacon:!0,spotlightClicks:!0,onNextButtonClick:f,onSkipWalkthroughButtonClick:t}:{target:"#storybook-explorer-tree > div",title:"Stories with changes",content:a.createElement(a.Fragment,null,"Here you have a list of all stories in your Storybook.",a.createElement("br",null),a.createElement("br",null),"Select a story with changes to see the exact pixels that changed."),placement:"right",disableBeacon:!0,spotlightClicks:!0,hideNextButton:!0,onSkipWalkthroughButtonClick:t},{target:"#panel-tab-content",title:"Inspect changes",content:a.createElement(a.Fragment,null,"The results of the changes are shown here. The pixels that changed are highlighted in green."),disableBeacon:!0,placement:"left",onNextButtonClick:f,onSkipWalkthroughButtonClick:t},{target:"#button-diff-visible",title:"Toggle the diff",content:a.createElement(a.Fragment,null,"This button shows or hides the visual diff. Use it to make the visual changes in your stories obvious. Try it out."),onNextButtonClick:f,onSkipWalkthroughButtonClick:t,spotlightClicks:!0,disableBeacon:!0,placement:"bottom",disableOverlay:!0},{target:"#button-toggle-snapshot",title:"This is the Switch button",content:a.createElement(a.Fragment,null,"Switch between the baseline snapshot (old) and the latest snapshot. The info bar will let you know which version you're looking at."),onNextButtonClick:f,onSkipWalkthroughButtonClick:t,spotlightClicks:!0,disableBeacon:!0,placement:"bottom",disableOverlay:!0},{target:"#button-toggle-accept-story",title:"Accept changes",content:a.createElement(a.Fragment,null,"If the visual changes are intentional, accept them to update the test baselines. The next time you run visual tests, future changes will be compared to these new baselines. This can be undone."),disableBeacon:!0,spotlightClicks:!0,onNextButtonClick:f,hideNextButton:!0,placement:"bottom",disableOverlay:!0,onSkipWalkthroughButtonClick:t},{target:"#button-toggle-accept-story",title:"Perfection!",placement:"bottom",disableOverlay:!0,content:a.createElement(a.Fragment,null,"You've got the basics down! You can always unaccept if you're not happy with the changes."),onNextButtonClick:f,onSkipWalkthroughButtonClick:t},{target:"#button-run-tests",title:"You are ready to test",placement:"bottom",disableOverlay:!0,content:a.createElement(a.Fragment,null,"Any time you want to run tests, tap this button in the sidebar to see exactly what changed across your Storybook."),disableBeacon:!0,nextButtonText:"Done",onNextButtonClick:r}],continuous:!0,stepIndex:p,spotlightPadding:0,hideBackButton:!0,disableCloseOnEsc:!0,disableOverlayClose:!0,disableScrolling:!0,hideCloseButton:!0,showSkipButton:!0,floaterProps:{options:{offset:{offset:"0, 6"}},styles:{floater:{padding:0,paddingLeft:8,paddingTop:8,filter:i.base==="light"?"drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1))":"drop-shadow(#fff5 0px 0px 0.5px) drop-shadow(#fff5 0px 0px 0.5px)"}}},tooltipComponent:Jh,styles:{overlay:{mixBlendMode:"unset",backgroundColor:"none"},spotlight:{backgroundColor:"none",border:`solid 2px ${i.color.secondary}`,boxShadow:"0px 0px 0px 9999px rgba(0,0,0,0.4)"},options:{zIndex:1e4,primaryColor:i.color.secondary,arrowColor:i.base==="light"?i.color.lightest:"#292A2C"}}}))},e7=({content:e})=>{let t=e.split(/\r?\n/);return a.createElement(a.Fragment,null,t.reduce((n,r,i)=>n.concat([i&&a.createElement("br",null),r].filter(Boolean)),[]))},ic=({localBuildProgress:e,title:t})=>a.createElement(v0,{warning:!0},a.createElement(q,null,a.createElement("span",null,t&&a.createElement("b",null,t,": "),a.createElement(e7,{content:Ei(Array.isArray(e.originalError)?e.originalError[0]?.message:e.originalError?.message||"Unknown error")}))," ",a.createElement($e,{target:"_blank",href:e.errorDetailsUrl||`${fs}#troubleshooting`,withArrow:!0},e.errorDetailsUrl?"Details":"Troubleshoot"))),t7=({children:e,localBuildProgress:t})=>(nt("Errors","BuildError"),a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Build failed"),a.createElement(q,{center:!0,muted:!0},"Check the Storybook process on the command line for more details.")),a.createElement(ic,{localBuildProgress:t}),e)))),n7=w(q)({display:"flex",flexDirection:"column",gap:10,width:200,marginTop:15});function ri({localBuildProgress:e}){return a.createElement(n7,{center:!0,small:!0},a.createElement(Zo,null,typeof e.buildProgressPercentage=="number"&&a.createElement(qs,{style:{width:`${e.buildProgressPercentage}%`}})),a.createElement(To,{center:!0,muted:!0,small:!0,localBuildProgress:e}))}var a7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHUSURBVHgB7ZfPTupAFMa/mbb0XkAk6r2516jRnXHlxr0+ib4J+iTqm7Bx5YaVcWPQECUoGiJCpX/mOKcxRo2DILa44Jc0Taad+b45mZkzR+CZaq2+CcsqAWIdoCKSowyFw5WFvwcvLRf1m1Kt0SSv51OkFCVJx+sRa1W1JmuLav16x5Zyf/7PDKQQSAM9RVzd3CH0aUsKEtsz0/nUxBnWmisWAItKkkCbWddF2mQcm1/rEmPiOeJF2/TD+f0pKo0jBKqHUcg5U1ib28ByYfXD78YInDSPRxZnOkE7nogJ2a/jd9FvImNbAz/GgHERZp08pjJ8OA3uMVIh2kELXvAwcB/j6HmnOJQ4Y0kbBW16GGS/wb7CsKYni9AYZ9f6haydhzCEVFGEbtiFH3kYBWMEfts5o3jcUVjIaYOjIvsJfIb4hhQ+WYQTAz/XgDXALuCz4D2ckN7Dt6KhDfzLLcGxMsaORApe2MFbQyrOhq9xpIu12Q3jOMaTcNqdjZ+k0REQLS4UxoXUZ1nFD0KkTffR51dZUhTuNVttpBkF1rq717cmFR3GDdXLxm6tcUudxx4lCRe+XACz1pnWZO2XbMJFKteJXKohMYTeIlRBFO2tLP4vc8sThEpu8pkDBW8AAAAASUVORK5CYII=",r7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN0SURBVHgBvVdLTxNRFP7uUDpSC7Q8rFSLqWJEExOfC1/xHWPiQuPShS50Y/wP6F9wq1HZuTAxMXFlNGzUhWIQDWICLYhSC4XWlj5m2pnjvS20NNDhltB+i870zpnzffece8/cw7CI4FToDBoa+gB2ACAXaocBmOj3b9/yrDgyGZrtmwpHKK3pZJgm1RLJtEaCK8g5BTcLhmZu2RTlqbezDQpjqAf4FDE9O4+cTmcVRuxmW6uzbuQCgqvD1QI0UJ9CoDMOVUW9YW+0icsBG9YDLQNMjIAS0fxf1u4FvH5A3STtYjHiruoEcGL6/Bb07X3ZMImfZjfYnkNgR86jGsgL4LM1Xz3OXys9F+KQiIGdvQ5ZKLKGBefRte1+DoKG30MWcgKmg9zxF8iCBt8W1slGCaDgCKqCIA8FpEzlIjAXQrWgiNw70mugVpDaBczF9/nXvzy03NxmAo4sqEUrN2rls3YUPLIUkOnoQpOEb0sBWVPDp5l3SOqjuDjeVi5KzYG2x0E9KZi7eCVYVoNEXXgY2YpdvOaf38bgtlfmqJiCZDaO15P9CMS/I9xtILzDKDfg0WD7LwHnzpWRC3w0TiBGbgxGgEejhKiO6gW8+f0cC9l/JadXNCRdVDI42QtcPQrFcwHMubM4HCIv3hmlahjlmXoRIFQlQMx6ObnAQivhzY10SQQnLzrxFAh/GHvxJHsbGSoPSSABjFSoYauugV8LY6saCxEv76bgne5Ec5MCj65DIxMxeDBE9xDIeVEJIh373JICotoMrDDevQlz8fIIpRu5d4tch9IicivPHOuqA8Ts2CisKsBpa7F8yWbMrxgzcw2W77jtTF6Ax+GDFexmFIyyZeQ5zToqhzsgL6DXfQR2xfp006oPF++zKYelrShE/mbIC7ArKo51XYYVnLw6qkaYz1xFJu60tL3SzauhWoUAAd/mHpzedg3Oxsrr4ZQaxUGbu+JzMfM7vWzV7bcEy2+BEOHz9+QL01RiDLqZyadms70FPudueJoKa+V4J/AhzM8t6RJxF8/K4XZepdf43LHg9Gy0e2u7q559wRImQrP8dAwM6dkc6o1UJl+1BhQycg8isUS+XaoXBNd8fIHfGP35geCf8P2p8BwlMxrVEqLxFQ2w4BrnnIK7mHjRpIo+UbRqqBlYjBfyIRjGA7+va0CM/AdEDxpHNfo8owAAAABJRU5ErkJggg==",i7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMJSURBVHgB7VfNblJBFD5z+5e0poXGNqnFRFxoUly0K+vCpG7aFyhrTRofwBcQ6974AIZo1/QFyorEBezsQkhqYqkBSoBaAcWW3+N8dxh+hFJI+Nn0S264d+65c77znXNmGEFVhCPxDRobcxGJVSK20ODgowrt2W2Ln2ojP+IpVyRxxhf5ApcrFR4kchd5hq+w9AnfIhxPvhg3jI93FubJEIKGARkinabOqVTgZ4Zg8Xx+7tbQnAPwddsySzTGLoOJN6anpmjYmJwYx8+qQSNCVXHLyAho3BAY78bo5WemFau6D/0i+vC0fx1zLYFQmmjTJshpV8+BpLrWF6kvuDYFB1GuOQfg+CDG1C90lQIgKKWH8EiFbZooWySanWi18yeRJjbfA7DZkgraZqh3Aoh+a1nl21uNesUqzAk9YaadB/VagMP3X5W9876okYvmVMoyxWZ7jY4pCKSoVnyNQDTZQvOY51g5QIq8kjjIvP2iSG8jhawKuGsCYL5iUYyhxJNFYV6IBkCEWmYAxYpv3EfwJejVI0Gv15RSAFQLprl7AoEknNYnR2S4/Ek1CWTWk5vPdkXWYVV23phKydxk55a9sgYiMprtGRWlzi8Qy9UVaJQUaYENfh0WVXTrUrHoH+qdACK2zYiaI9da+ygQtV4T3N+Y3j0WJlnUQzCtbPDssoreCCDnyCGwL2WO5JrfO+SEm8vKMaJGznW3uI/YJKbbTivXEwENFFVGRqDJaMBJtlhvNbzVXYGxjLyfnVRKOKyda6ClCHXFAyhEHVkjMKnOP2whc6ha4TsPhVknnmNl126xakSLAvsnaD82VzQosG1v/QjSY4PyV1sSZKAS5DadyujniqpjMIe2w73zv/lE+DTJ95YWqF8AGSiCGrhq+dU4iae63wu6RbuVsxNu/hFJAiKNg8LICMgmOywUSzRs/L00Fw6fweXS7ln6Nw1TBfg6z8pNolLeMwfCscSbSOIn5y7zPEjg4IsDMHx9lz7hu7bM4ZCKcyKOajQwCLlF8SGVy7v2u0s+jPwDEeUTfjDhTd4AAAAASUVORK5CYII=",o7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALVSURBVHgBxZfLbtNAFIb/8TgJCbm2adNUIOiuYpUN+7JiySPAm5Q+CfQBeIcuWYDaVYWEUIQqCLmQpEmaJq7Hw5y4dpOOadwEh0+yZnx8OWfm/HNjuKZ6VtsD5/sAqwAyj+g4goPDnUeb733L91pz/6zekpdjSwrHkVFycTmW5KuqfJJvVq013piG8W57Yw0GY1gFqon42WzDtuQLg0n2ei2XXplzgnwV81mAy31DQu6lEgmsmnjMpKJi4D9x3eN58/YDabdUkmrAuboMDqTXgV4DSOWgkuZei9iEElzyCRDbmvGnBYDmZ6C4rWIr39i8ejy1uI0aN/gKVpgNQE9BtoDIeJDUTHoP2GPVAvfFL708jrtlCMmxCClu4Vm2gd1s1zUM2kBybgCWXz3tbSJtmlicxKQBfgCkiVvoKUiv+dWhiGNZZnpv1Nee683rNWcFeM2lfQzH/oi++IUcL6LvdJAziuiIunsvOsjwAobSQT7+Ui0ruwiD3gOp4HVI2J9UtBIFXlIf8Ylzwr9XQVCZZjE0Rx8C/4EH6RABkAgDGDkNhKXA/zKSSITzA7ACv02yhwgLpSWQ+4pwmgvZQ1i89GgEiFAPgEQYQIaFn6D6Tjv0u6FF2JdDhCXJy8EPlhHheuKVGmISV9LCQA1BKs+dltpdiUlJUO6lGium+TzwH0EivHMmnIbGdSHpjm2vHV7pza5bmMN9RWgygWVJ8aubm/vOhJV8Ta0HJTUlx7AIJnPUP+p3v6NZpkRIi4i/kPwLaGNyCz0FSmiR0dFnU60HWPwpZPdUaSHjqpaE4+WOhtEiNkdpKbMJtl6ZHwDiJbCNklv35D29iVjGFoBKAes6UXb7HAy1OT6xrmysmuFoMt8cGVLYB61uH6vsBfLV7g1IG4cTQ/VH/e1Z/be8GI1llNDBlw7A5Oub8km+/QMhHVLpnEhHNUQGU5OKPIEQBzuPy0dk+QPy8+sGXJtnqwAAAABJRU5ErkJggg==",l7=w.div(({theme:e})=>({border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,padding:"6px 10px",fontSize:13,lineHeight:"18px"})),s7=w.div(({theme:e})=>({lineHeight:"18px",position:"relative",borderRadius:5,display:"block",minWidth:"80%",color:e.color.warningText,background:e.background.warning,border:`1px solid ${cr(.5,e.color.warningText)}`,padding:15,margin:0})),c7=w(q)(({theme:e})=>({color:e.color.darkest})),d7=({onSkip:e,runningSecondBuild:t})=>a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Make a change to this story"),a.createElement(q,{center:!0,muted:!0,block:!0},"In your code, adjust the markup, styling, or assets to see how visual testing works. Don't worry, you can undo it later. Here are a few ideas to get you started.")),a.createElement(de,{style:{display:"flex",alignItems:"flex-start",gap:"8px",margin:"10px 0"}},a.createElement(ma,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:r7,alt:"Color Palette",style:{width:32,height:32}}),"Shift the color palette"),a.createElement(ma,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:i7,alt:"Embiggen",style:{width:32,height:32}})," ","Embiggen the type"),a.createElement(ma,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:o7,alt:"Layout",style:{width:32,height:32}}),"Change the layout"),a.createElement(ma,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:a7,alt:"Adjust",style:{width:32,height:32}}),"Adjust the size or scale")),a.createElement(Ft,null,t?a.createElement(s7,null,a.createElement(c7,null,"No changes found in the Storybook you published. Make a UI tweak and try again to continue.")):a.createElement(l7,null,"Awaiting changes..."),a.createElement(ue,{link:!0,onClick:e},"Skip walkthrough"))))),u7=({isRunning:e,setRunningSecondBuild:t,startBuild:n,setInitialGitHash:r,uncommittedHash:i})=>a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Changes detected"),a.createElement(q,{center:!0,muted:!0},"Time to run your first visual tests to pinpoint the exact changes made to this story.")),a.createElement(ue,{variant:"solid",size:"medium",disabled:e,onClick:()=>{t(!0),n(),setTimeout(()=>{r(i)},1e4)}},a.createElement(Wt,null),"Run visual tests")))),m7=({localBuildProgress:e})=>a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Running your first test"),a.createElement(q,{center:!0,muted:!0},"A new snapshot is being created in a standardized cloud browser. Once complete, you'll be able to pinpoint exactly what changed.")),a.createElement(ri,{localBuildProgress:e})))),p7=({isUnchanged:e,localBuildProgress:t,...n})=>(nt("Onboarding","CatchAChange"),n.isRunning&&t?a.createElement(m7,{localBuildProgress:t}):e?a.createElement(d7,{...n}):a.createElement(u7,{...n})),h7=w.div(({status:e,theme:t})=>({position:"relative",display:"inline-flex",border:`1px solid ${e==="positive"?t.color.green:t.appBorderColor}`,borderRadius:5,margin:"15px 15px 0",minHeight:200,minWidth:200,maxWidth:500,img:{display:"block",maxWidth:"100%"},svg:{position:"absolute",top:-12,left:-12,width:24,height:24,padding:5,color:t.color.lightest,borderRadius:"50%",backgroundColor:t.color.green}})),f7=w.div({width:"100%",margin:2,background:"white",borderRadius:3,overflow:"hidden",div:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"}}),bo=({backgroundColor:e,status:t,thumbnailUrl:n})=>a.createElement(h7,{status:t},a.createElement(f7,null,a.createElement("div",{style:e?{backgroundColor:e}:{}},a.createElement("img",{alt:"Snapshot thumbnail",src:n}))),t==="positive"&&a.createElement(wo,null)),Z1=w(q)({marginBottom:5}),I1=({onComplete:e,onSkip:t,ranSecondBuild:n=!1})=>{nt("Onboarding","CatchAChangeComplete");let r=fn();return a.createElement(Ne,{footer:null},a.createElement(ye,{style:{overflowY:"auto"}},n?a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Nice. Your stories were saved as test baselines."),a.createElement(q,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser."),r.selectedComparison?.headCapture?.captureImage&&a.createElement(bo,{...r.selectedComparison?.headCapture?.captureImage,status:"positive"})),a.createElement(Ft,null,a.createElement(Z1,null,"You're ready to start testing!"),a.createElement(ue,{variant:"solid",size:"medium",onClick:e},"Done"),a.createElement(ue,{link:!0,onClick:t},"Skip walkthrough"))):a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Nice. You ran your first tests!"),a.createElement(q,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser and changes were found."),r.selectedComparison?.headCapture?.captureImage&&a.createElement(bo,{...r.selectedComparison?.headCapture?.captureImage,status:"positive"})),a.createElement(Ft,null,a.createElement(Z1,null,"It's time to review changes!"),a.createElement(ue,{variant:"solid",size:"medium",onClick:e},"Take a tour"),a.createElement(ue,{link:!0,onClick:t},"Skip walkthrough")))))},R1=()=>a.createElement("div",null,a.createElement(pn,null),a.createElement(fe,null,"Get started with visual testing"),a.createElement(q,{center:!0,muted:!0},'Take an image snapshot of your stories to save their "last known good state" as test baselines.')),g7=({isRunning:e,localBuildProgress:t,startBuild:n,onSkip:r})=>(nt("Onboarding","InitialBuild"),a.createElement(Ne,{footer:null},a.createElement(ye,null,t?a.createElement(de,null,a.createElement(R1,null),a.createElement(ri,{localBuildProgress:t})):a.createElement(de,null,a.createElement(R1,null),a.createElement(Ft,null,a.createElement(ue,{disabled:e,size:"medium",variant:"solid",onClick:n},"Take snapshots"),a.createElement(ue,{onClick:r,link:!0},"Skip walkthrough")))))),v7=w(q)({marginBottom:5}),y7=({onCatchAChange:e,onSkip:t})=>{nt("Onboarding","InitialBuildComplete");let n=fn();return a.createElement(Ne,{footer:null},a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Nice. Your stories were saved as test baselines."),a.createElement(q,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser."),n?.selectedComparison?.headCapture?.captureImage&&a.createElement(bo,{...n?.selectedComparison?.headCapture.captureImage,status:"positive"})),a.createElement(Ft,null,a.createElement(v7,{muted:!0},"Let's see the superpower of catching visual changes."),a.createElement(ue,{variant:"solid",size:"medium",onClick:e},"Catch a UI change"),a.createElement(ue,{link:!0,onClick:t},"Skip walkthrough")))))},b7=({dismissBuildError:e,localBuildProgress:t,showInitialBuildScreen:n,gitInfo:r,lastBuildHasChangesForStory:i,onComplete:o,onSkip:l})=>{let{isRunning:s,startBuild:c}=Ia(),[d,u]=it("showInitialBuild",n);oe(()=>{n&&u(!0)},[n,u]);let[m,p]=it("showCatchAChange",!d),[g,f]=it("initialGitHash",r.uncommittedHash),y=()=>{f(r.uncommittedHash),p(!0)},[k,b]=it("runningSecondBuild",!1);return t?.currentStep==="error"?a.createElement(t7,{localBuildProgress:t},a.createElement(Ft,null,a.createElement(ue,{variant:"solid",size:"medium",onClick:c},"Try again"),a.createElement(ue,{link:!0,onClick:l},"Skip walkthrough"))):t?.currentStep==="limited"?a.createElement(k0,{billingUrl:t.errorDetailsUrl,suspensionReason:"EXCEEDED_THRESHOLD"},a.createElement(ue,{link:!0,onClick:e},"Continue")):d&&(!t||t&&s)?a.createElement(g7,{isRunning:s,localBuildProgress:t,startBuild:c,onSkip:l}):t?.currentStep==="complete"&&!m&&!k?i?a.createElement(I1,{onComplete:o,onSkip:l}):a.createElement(y7,{onCatchAChange:y,onSkip:l}):m&&!i?a.createElement(p7,{isRunning:s,isUnchanged:g===r.uncommittedHash,localBuildProgress:t,onSkip:l,runningSecondBuild:k,setInitialGitHash:f,setRunningSecondBuild:b,startBuild:c,uncommittedHash:r.uncommittedHash}):i?a.createElement(I1,{onComplete:o,onSkip:l,ranSecondBuild:m&&k}):null},E7=w.div(({theme:e})=>({background:e.background.app,padding:"10px 15px",lineHeight:"20px",color:e.color.defaultText,borderBottom:`1px solid ${e.appBorderColor}`})),k7=Ht({from:{transform:"rotate(0deg)"},to:{transform:"rotate(359deg)"}}),w7=w(cs)({animation:`${k7} 1s linear infinite`}),rr={width:10,marginRight:8},B1=w.button(({isWarning:e,onClick:t,theme:n})=>{let r=n.base==="light"?n.background.warning:"#2e271a";return{position:"relative",display:"flex",width:"100%",lineHeight:"20px",padding:"5px 7px 5px 15px",justifyContent:"space-between",alignItems:"center",background:e?r:n.background.app,border:"none",borderBottom:`1px solid ${n.appBorderColor}`,color:n.color.defaultText,cursor:t?"pointer":"default",textAlign:"left","& > *":{zIndex:1},code:{fontFamily:n.typography.fonts.mono,fontSize:"12px"}}}),P1=w.div(({isWarning:e,percentage:t,theme:n})=>{let r=n.base==="light"?"#FFE6B1":"#43361f";return{display:"block",position:"absolute",top:"0",height:"100%",left:"0",width:`${t}%`,transition:"width 3s ease-out",backgroundColor:e?r:n.background.hoverable,pointerEvents:"none",zIndex:0}}),ir=w.div({padding:"5px 0"}),C7=w.div(({expanded:e,theme:t})=>({display:"grid",gridTemplateRows:e?"1fr":"0fr",background:t.background.app,borderBottom:e?`1px solid ${t.appBorderColor}`:"none",transition:"grid-template-rows 150ms ease-out"})),S7=w.div(({theme:e})=>({whiteSpace:"nowrap",overflow:"hidden",color:e.base==="light"?e.color.dark:e.color.lightest})),x7=w.div(({isCurrent:e,isFailed:t,isPending:n,theme:r})=>({display:"flex",flexDirection:"row",gap:8,opacity:n?.7:1,color:t?r.color.negativeText:"inherit",fontWeight:e||t?"bold":"normal",fontFamily:"Menlo, monospace",fontSize:12,lineHeight:"24px",margin:"0 15px","&:first-of-type":{marginTop:10},"&:last-of-type":{marginBottom:10},"& > div":{display:"flex",alignItems:"center"}})),M7=({localBuildProgress:e,expanded:t=!1})=>{let n=Pe({});oe(()=>{n.current[e.currentStep]={...e}},[e]);let r=["aborted","error"].includes(e.currentStep),i=eo.map(o=>{let{startedAt:l,completedAt:s}=e.stepProgress[o],c=!!l&&!s,d=c&&r,u=!l,m={...Zs[o],isCurrent:c,isFailed:d,isPending:u};return d?{...m,icon:a.createElement(qt,{style:rr}),renderLabel:m.renderProgress}:c?{...m,icon:a.createElement(w7,{style:rr}),renderLabel:m.renderProgress}:u?{...m,icon:a.createElement(Id,{style:rr}),renderLabel:m.renderName}:{...m,icon:a.createElement(wo,{style:rr}),renderLabel:m.renderComplete}});return a.createElement(C7,{expanded:t},a.createElement(S7,null,i.map(({icon:o,isCurrent:l,isFailed:s,isPending:c,key:d,renderLabel:u})=>a.createElement(x7,{isCurrent:l,isFailed:s,isPending:c,key:d},a.createElement("div",null,o,u(n.current[d]||e))))))},N7=({branch:e,dismissBuildError:t,localBuildProgress:n,lastBuildOnBranchInProgress:r,switchToLastBuildOnBranch:i})=>{let[o,l]=a.useState(!1),s=()=>{l(!o)};if(n){let d=n.currentStep==="aborted",u=n.currentStep==="error",m=d||u;return a.createElement(a.Fragment,null,a.createElement(B1,{as:u?"div":"button",onClick:u?void 0:s,isWarning:m},a.createElement(P1,{percentage:n.buildProgressPercentage,isWarning:m}),a.createElement(ir,null,a.createElement(To,{localBuildProgress:n,withEmoji:!0})),u?a.createElement(lt,{onClick:t},a.createElement(Co,{"aria-label":"Dismiss"})):a.createElement(lt,{as:"div"},o?a.createElement(Bd,null):a.createElement(Rd,null))),a.createElement(M7,{localBuildProgress:n,expanded:o||u}))}function c(){return i?r?a.createElement(ir,null,"Reviewing is disabled because there's a newer build in progress on"," ",a.createElement(He,null,e),". This can happen when a build runs in CI."):a.createElement(ir,null,"There's a newer snapshot with changes."," ",a.createElement(bn,{withArrow:!0,onClick:i},"Switch to newer snapshot")):a.createElement(ir,null,"Reviewing is disabled because there's a newer build on ",a.createElement(He,null,e),".")}return a.createElement(B1,{onClick:i},a.createElement(P1,{percentage:100}),c())},F7=({onClose:e})=>a.createElement(a0,null,a.createElement(lo,null,a.createElement(Cr,null,"Render settings",a.createElement(jl,null),a.createElement(Vo,{onClick:e},a.createElement(Po,{"aria-label":"Close"}))),a.createElement("p",null,a.createElement(im,null),"Delay: 300ms"),a.createElement("p",null,a.createElement(om,null),"Animation pause: Ends"),a.createElement("p",null,a.createElement(lm,null),"Threshold: 0.2"),a.createElement("p",null,a.createElement(sm,null),"Anti-alias: Included")),a.createElement(lo,null,a.createElement(Cr,null,"Bounding box",a.createElement(jl,null)),a.createElement("dl",null,a.createElement("dt",null,"Width:"),a.createElement("dd",null,"Fill viewport"),a.createElement("dt",null,"Height:"),a.createElement("dd",null,"Hug contents")))),oc={isReviewing:!1,userCanReview:!1,buildIsReviewable:!1,acceptTest:(e,t="SPEC")=>Promise.resolve(),unacceptTest:(e,t="SPEC")=>Promise.resolve()},lc=Xe(oc),sc=()=>Ot(lc,"ReviewTest"),A7=({children:e,watchState:t=oc})=>a.createElement(lc.Provider,{value:t},e),O7=w.div(({theme:e})=>({position:"relative",display:"flex",background:"transparent",overflow:"hidden",margin:2,maxWidth:"calc(100% - 4px)","& > div":{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",p:{maxWidth:380,textAlign:"center"},svg:{width:24,height:24}},"& > svg":{position:"absolute",left:"calc(50% - 14px)",top:"calc(50% - 14px)",width:20,height:20,color:e.color.lightest,opacity:0,transition:"opacity 0.1s ease-in-out",pointerEvents:"none"}}),({href:e})=>e&&{display:"inline-flex",cursor:"pointer","&:hover":{"& > svg":{opacity:1},img:{filter:"brightness(85%)"}}}),V1=w.div(({isVisible:e})=>({position:e?"static":"absolute",visibility:e?"visible":"hidden",maxWidth:"100%",minHeight:100})),or=w.img({display:"block",width:"100%",height:"auto",transition:"filter 0.1s ease-in-out, opacity 0.1s ease-in-out","&[data-overlay]":{position:"absolute",opacity:.7,pointerEvents:"none",transition:"opacity 0.1s ease-in-out"}}),L7=w(de)({margin:"30px 15px"}),T7=({comparisonImageLoaded:e,focusImageLoaded:t,showDiff:n,showFocus:r})=>n&&r?e&&t:n?e:r?t:!0,_7=({componentName:e,storyName:t,testUrl:n,comparisonResult:r,latestImage:i,baselineImage:o,baselineImageVisible:l,diffImage:s,focusImage:c,diffVisible:d,focusVisible:u,...m})=>{let p=en(),g=!!i&&!!s&&r==="CHANGED",f=r==="CAPTURE_ERROR",y=g&&!!c,k=g?{as:"a",href:n,target:"_blank",title:"View on Chromatic.com"}:{},b=g&&d,h=y&&u,[v,E]=a.useState(!1),[S,B]=a.useState(!1),[j,Y]=a.useState(!1),[J,ce]=a.useState(!1),Se=l?S:v,Ae=T7({comparisonImageLoaded:j,focusImageLoaded:J,showDiff:b,showFocus:h});return a.createElement(O7,{...m,...k},i&&a.createElement(V1,{isVisible:!o||!l,style:{aspectRatio:`${i.imageWidth} / ${i.imageHeight}`,width:i.imageWidth}},(!v||!Ae)&&a.createElement(oo,null),a.createElement(or,{alt:`Latest snapshot for the '${t}' story of the '${e}' component`,src:i.imageUrl,style:{opacity:v?1:0},onLoad:()=>E(!0)})),o&&a.createElement(V1,{isVisible:l,style:{aspectRatio:`${o.imageWidth} / ${o.imageHeight}`,width:o.imageWidth}},(!S||!Ae)&&a.createElement(oo,null),a.createElement(or,{alt:`Baseline snapshot for the '${t}' story of the '${e}' component`,src:o.imageUrl,style:{opacity:S?1:0},onLoad:()=>B(!0)})),g&&Se&&a.createElement(or,{alt:"","data-overlay":"diff",src:s.imageUrl,style:{width:s.imageWidth,maxWidth:`${s.imageWidth/i.imageWidth*100}%`,opacity:b&&j?.7:0},onLoad:()=>Y(!0)}),y&&Se&&a.createElement(or,{alt:"","data-overlay":"focus",src:c.imageUrl,style:{width:c.imageWidth,maxWidth:`${c.imageWidth/i.imageWidth*100}%`,opacity:h&&J?.7:0,filter:h?"blur(2px)":"none"},onLoad:()=>ce(!0)}),g&&a.createElement(ls,null),f&&!i&&a.createElement(L7,null,a.createElement(kd,{color:p.base==="light"?"currentColor":p.color.medium}),a.createElement(q,{center:!0,muted:!0},"A snapshot couldn't be captured. This often occurs when a story has a code error. Confirm that this story successfully renders in your local Storybook and run the build again.")))},Z7=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.06982 9.68493L7.99484 4.63927L14.5786 4.62406C14.5252 4.52043 14.4696 4.41742 14.4109 4.31532C12.372 0.768556 7.84405 -0.453864 4.29726 1.58495C3.24614 2.1892 2.39921 3.01211 1.78076 3.96327L5.06982 9.68493Z",fill:"#DB4437"}),a.createElement("path",{d:"M10.9276 9.68457L5.09539 9.6743L1.79036 3.98022C1.72727 4.07822 1.66591 4.17795 1.60682 4.27985C-0.445348 7.81892 0.759985 12.3515 4.29905 14.4037C5.34791 15.0118 6.48403 15.3338 7.617 15.3939L10.9276 9.68457Z",fill:"#0F9D58"}),a.createElement("path",{d:"M7.98649 4.61194L10.9032 9.66241L7.63525 15.3778C7.75167 15.3833 7.86871 15.3863 7.98649 15.3863C12.0775 15.3863 15.3939 12.0699 15.3939 7.97893C15.3939 6.76648 15.1025 5.62211 14.5861 4.61194L7.98649 4.61194Z",fill:"#FFCD40"}),a.createElement("path",{d:"M8.01367 4.6366V6.40005L14.613 4.6366H8.01367Z",fill:"url(#paint0_radial_466_21161)"}),a.createElement("path",{d:"M1.78198 4.00098L6.60102 8.8192L5.09764 9.687L1.78198 4.00098Z",fill:"url(#paint1_radial_466_21161)"}),a.createElement("path",{d:"M7.6626 15.4017L9.42689 8.81921L10.9303 9.68702L7.6626 15.4017Z",fill:"url(#paint2_radial_466_21161)"}),a.createElement("ellipse",{cx:"8.01347",cy:"8.00358",rx:"3.36699",ry:"3.36699",fill:"#F1F1F1"}),a.createElement("ellipse",{cx:"8.01367",cy:"8.00354",rx:"2.69361",ry:"2.6936",fill:"#4285F4"}),a.createElement("defs",null,a.createElement("radialGradient",{id:"paint0_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.69229 4.63226) scale(7.07721 1.89116)"},a.createElement("stop",{stopColor:"#3E2723",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#3E2723",stopOpacity:"0.01"})),a.createElement("radialGradient",{id:"paint1_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(1.77445 4.00677) scale(6.56938 7.75127)"},a.createElement("stop",{stopColor:"#3E2723",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#3E2723",stopOpacity:"0.01"})),a.createElement("radialGradient",{id:"paint2_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00025 8.01489) scale(7.39644 14.8995)"},a.createElement("stop",{stopColor:"#263238",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#263238",stopOpacity:"0.01"})))),I7=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("circle",{cx:"8.00009",cy:"7.99997",r:"7.7037",fill:"url(#paint0_linear_466_21186)"}),a.createElement("ellipse",{cx:"8.00094",cy:"8.00094",rx:"7.06173",ry:"7.06173",fill:"url(#paint1_radial_466_21186)"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.07134 1.36353C8.03043 1.36353 7.99727 1.39669 7.99727 1.4376V2.56469C7.99727 2.6056 8.03043 2.63877 8.07134 2.63877C8.11225 2.63877 8.14542 2.6056 8.14542 2.56469V1.4376C8.14542 1.39669 8.11225 1.36353 8.07134 1.36353ZM8.07134 14.7792C8.11225 14.7792 8.14542 14.746 8.14542 14.7051V13.578C8.14542 13.5371 8.11225 13.5039 8.07134 13.5039C8.03043 13.5039 7.99727 13.5371 7.99727 13.578V14.7051C7.99727 14.746 8.03043 14.7792 8.07134 14.7792ZM8.64883 1.46214C8.65292 1.42143 8.68923 1.39175 8.72994 1.39584C8.77064 1.39993 8.80032 1.43625 8.79623 1.47695L8.74793 1.95766C8.74384 1.99836 8.70752 2.02804 8.66682 2.02395C8.62612 2.01986 8.59643 1.98355 8.60052 1.94284L8.64883 1.46214ZM7.41372 14.7468C7.45442 14.7509 7.49074 14.7213 7.49483 14.6806L7.54313 14.1998C7.54722 14.1591 7.51754 14.1228 7.47683 14.1187C7.43613 14.1146 7.39982 14.1443 7.39573 14.185L7.34742 14.6657C7.34333 14.7064 7.37301 14.7428 7.41372 14.7468ZM14.7051 7.99727C14.746 7.99727 14.7792 8.03043 14.7792 8.07134C14.7792 8.11225 14.746 8.14542 14.7051 8.14542H13.578C13.5371 8.14542 13.5039 8.11225 13.5039 8.07134C13.5039 8.03043 13.5371 7.99727 13.578 7.99727H14.7051ZM1.36353 8.07134C1.36353 8.11225 1.39669 8.14542 1.4376 8.14542H2.56469C2.6056 8.14542 2.63877 8.11225 2.63877 8.07134C2.63877 8.03043 2.6056 7.99727 2.56469 7.99727H1.4376C1.39669 7.99727 1.36353 8.03043 1.36353 8.07134ZM14.6806 8.64883C14.7213 8.65292 14.7509 8.68923 14.7468 8.72994C14.7428 8.77064 14.7064 8.80032 14.6657 8.79623L14.185 8.74793C14.1443 8.74384 14.1146 8.70752 14.1187 8.66682C14.1228 8.62612 14.1591 8.59643 14.1998 8.60052L14.6806 8.64883ZM1.39584 7.41372C1.39175 7.45442 1.42143 7.49074 1.46214 7.49483L1.94284 7.54313C1.98355 7.54722 2.01986 7.51754 2.02395 7.47683C2.02804 7.43613 1.99836 7.39982 1.95766 7.39573L1.47695 7.34742C1.43625 7.34333 1.39993 7.37301 1.39584 7.41372ZM12.7097 3.3282C12.7387 3.29927 12.7856 3.29927 12.8145 3.3282C12.8434 3.35713 12.8434 3.40403 12.8145 3.43296L12.0175 4.22994C11.9886 4.25887 11.9417 4.25887 11.9127 4.22994C11.8838 4.20101 11.8838 4.15411 11.9127 4.12518L12.7097 3.3282ZM3.3282 12.8145C3.35713 12.8434 3.40403 12.8434 3.43296 12.8145L4.22994 12.0175C4.25887 11.9886 4.25887 11.9417 4.22994 11.9127C4.20101 11.8838 4.15411 11.8838 4.12518 11.9127L3.3282 12.7097C3.29927 12.7387 3.29927 12.7856 3.3282 12.8145ZM13.1523 3.80568C13.1839 3.77973 13.2306 3.78433 13.2566 3.81595C13.2825 3.84757 13.2779 3.89425 13.2463 3.9202L12.8729 4.22664C12.8413 4.2526 12.7946 4.248 12.7686 4.21638C12.7427 4.18475 12.7473 4.13808 12.7789 4.11212L13.1523 3.80568ZM2.88614 12.3267C2.91209 12.3584 2.95876 12.363 2.99039 12.337L3.36378 12.0306C3.3954 12.0046 3.4 11.9579 3.37404 11.9263C3.34809 11.8947 3.30142 11.8901 3.26979 11.916L2.8964 12.2225C2.86478 12.2484 2.86018 12.2951 2.88614 12.3267ZM12.8145 12.7097C12.8434 12.7387 12.8434 12.7856 12.8145 12.8145C12.7856 12.8434 12.7387 12.8434 12.7097 12.8145L11.9127 12.0175C11.8838 11.9886 11.8838 11.9417 11.9127 11.9127C11.9417 11.8838 11.9886 11.8838 12.0175 11.9127L12.8145 12.7097ZM3.3282 3.3282C3.29927 3.35713 3.29927 3.40403 3.3282 3.43296L4.12518 4.22994C4.15411 4.25887 4.20101 4.25887 4.22994 4.22994C4.25887 4.20101 4.25887 4.15411 4.22994 4.12518L3.43296 3.3282C3.40403 3.29927 3.35713 3.29927 3.3282 3.3282ZM12.337 13.1523C12.363 13.1839 12.3584 13.2306 12.3267 13.2566C12.2951 13.2825 12.2484 13.2779 12.2225 13.2463L11.916 12.8729C11.8901 12.8413 11.8947 12.7946 11.9263 12.7686C11.9579 12.7427 12.0046 12.7473 12.0306 12.7789L12.337 13.1523ZM3.81595 2.88614C3.78433 2.91209 3.77973 2.95876 3.80568 2.99039L4.11212 3.36378C4.13808 3.3954 4.18475 3.4 4.21638 3.37404C4.248 3.34809 4.2526 3.30142 4.22664 3.26979L3.9202 2.8964C3.89425 2.86478 3.84757 2.86018 3.81595 2.88614ZM10.5415 1.91422C10.5572 1.87643 10.6005 1.85848 10.6383 1.87413C10.6761 1.88979 10.6941 1.93312 10.6784 1.97092L10.2471 3.01221C10.2314 3.05 10.1881 3.06795 10.1503 3.05229C10.1125 3.03664 10.0946 2.99331 10.1102 2.95551L10.5415 1.91422ZM5.50437 14.2686C5.54216 14.2842 5.58549 14.2663 5.60115 14.2285L6.03247 13.1872C6.04813 13.1494 6.03018 13.1061 5.99238 13.0904C5.95459 13.0747 5.91126 13.0927 5.8956 13.1305L5.46428 14.1718C5.44862 14.2096 5.46657 14.2529 5.50437 14.2686ZM11.1332 2.18598C11.1524 2.1499 11.1973 2.13628 11.2334 2.15557C11.2695 2.17486 11.2831 2.21974 11.2638 2.25582L11.0361 2.68183C11.0168 2.7179 10.9719 2.73152 10.9358 2.71223C10.8998 2.69295 10.8861 2.64806 10.9054 2.61199L11.1332 2.18598ZM4.90931 13.9871C4.94539 14.0064 4.99027 13.9928 5.00955 13.9567L5.23726 13.5307C5.25654 13.4946 5.24293 13.4497 5.20685 13.4305C5.17077 13.4112 5.12589 13.4248 5.1066 13.4609L4.8789 13.8869C4.85961 13.923 4.87323 13.9678 4.90931 13.9871ZM14.2285 10.5415C14.2663 10.5572 14.2842 10.6005 14.2686 10.6383C14.2529 10.6761 14.2096 10.6941 14.1718 10.6784L13.1305 10.2471C13.0927 10.2314 13.0747 10.1881 13.0904 10.1503C13.1061 10.1125 13.1494 10.0946 13.1872 10.1102L14.2285 10.5415ZM1.87412 5.50437C1.85846 5.54216 1.87641 5.58549 1.91421 5.60115L2.95551 6.03247C2.99331 6.04813 3.03664 6.03018 3.05229 5.99238C3.06795 5.95459 3.05 5.91126 3.0122 5.8956L1.9709 5.46428C1.9331 5.44862 1.88977 5.46657 1.87412 5.50437ZM13.9567 11.1332C13.9928 11.1524 14.0064 11.1973 13.9871 11.2334C13.9678 11.2695 13.923 11.2831 13.8869 11.2638L13.4609 11.0361C13.4248 11.0168 13.4112 10.9719 13.4305 10.9358C13.4497 10.8998 13.4946 10.8861 13.5307 10.9054L13.9567 11.1332ZM2.15557 4.90929C2.13628 4.94537 2.1499 4.99025 2.18598 5.00954L2.61199 5.23726C2.64806 5.25654 2.69295 5.24293 2.71223 5.20685C2.73152 5.17077 2.7179 5.12589 2.68183 5.1066L2.25582 4.87888C2.21974 4.8596 2.17486 4.87321 2.15557 4.90929ZM14.1718 5.46428C14.2096 5.44862 14.2529 5.46657 14.2686 5.50437C14.2842 5.54216 14.2663 5.58549 14.2285 5.60115L13.1872 6.03247C13.1494 6.04813 13.1061 6.03018 13.0904 5.99238C13.0747 5.95459 13.0927 5.91126 13.1305 5.8956L14.1718 5.46428ZM1.87413 10.6383C1.88979 10.6761 1.93312 10.6941 1.97092 10.6784L3.01221 10.2471C3.05 10.2314 3.06795 10.1881 3.05229 10.1503C3.03664 10.1125 2.99331 10.0946 2.95551 10.1102L1.91422 10.5415C1.87643 10.5572 1.85848 10.6005 1.87413 10.6383ZM14.3979 6.07477C14.4371 6.0629 14.4785 6.08501 14.4903 6.12416C14.5022 6.1633 14.4801 6.20467 14.441 6.21654L13.9787 6.35677C13.9396 6.36864 13.8982 6.34654 13.8863 6.30739C13.8744 6.26824 13.8965 6.22688 13.9357 6.215L14.3979 6.07477ZM1.65237 10.0185C1.66425 10.0577 1.70561 10.0798 1.74476 10.0679L2.20699 9.92769C2.24614 9.91581 2.26825 9.87445 2.25637 9.8353C2.2445 9.79615 2.20313 9.77404 2.16399 9.78592L1.70175 9.92615C1.6626 9.93802 1.64049 9.97939 1.65237 10.0185ZM10.6383 14.2686C10.6005 14.2842 10.5572 14.2663 10.5415 14.2285L10.1102 13.1872C10.0946 13.1494 10.1125 13.1061 10.1503 13.0904C10.1881 13.0747 10.2314 13.0927 10.2471 13.1305L10.6784 14.1718C10.6941 14.2096 10.6761 14.2529 10.6383 14.2686ZM5.50437 1.87413C5.46657 1.88979 5.44862 1.93312 5.46428 1.97092L5.8956 3.01221C5.91126 3.05 5.95459 3.06795 5.99238 3.05229C6.03018 3.03664 6.04813 2.99331 6.03247 2.95551L5.60115 1.91422C5.58549 1.87643 5.54216 1.85848 5.50437 1.87413ZM10.0679 14.3979C10.0798 14.4371 10.0577 14.4785 10.0185 14.4903C9.97939 14.5022 9.93802 14.4801 9.92615 14.441L9.78592 13.9787C9.77404 13.9396 9.79615 13.8982 9.8353 13.8863C9.87445 13.8744 9.91581 13.8965 9.92769 13.9357L10.0679 14.3979ZM6.12417 1.65237C6.08502 1.66424 6.06291 1.70561 6.07479 1.74475L6.215 2.20699C6.22688 2.24614 6.26824 2.26825 6.30739 2.25637C6.34654 2.2445 6.36864 2.20314 6.35677 2.16399L6.21656 1.70175C6.20468 1.6626 6.16332 1.64049 6.12417 1.65237ZM9.29287 1.55062C9.30085 1.5105 9.33985 1.48444 9.37997 1.49242C9.4201 1.5004 9.44615 1.5394 9.43817 1.57952L9.21829 2.68496C9.21031 2.72508 9.17131 2.75114 9.13119 2.74316C9.09107 2.73518 9.06501 2.69618 9.07299 2.65606L9.29287 1.55062ZM6.76272 14.6503C6.80284 14.6583 6.84184 14.6322 6.84982 14.5921L7.0697 13.4866C7.07768 13.4465 7.05162 13.4075 7.0115 13.3995C6.97137 13.3916 6.93238 13.4176 6.9244 13.4577L6.70452 14.5632C6.69654 14.6033 6.72259 14.6423 6.76272 14.6503ZM9.92615 1.70175C9.93802 1.6626 9.97939 1.64049 10.0185 1.65237C10.0577 1.66425 10.0798 1.70561 10.0679 1.74476L9.92769 2.20699C9.91581 2.24614 9.87445 2.26825 9.8353 2.25637C9.79615 2.2445 9.77404 2.20313 9.78592 2.16399L9.92615 1.70175ZM6.12417 14.4903C6.16332 14.5022 6.20469 14.4801 6.21656 14.441L6.35677 13.9787C6.36864 13.9396 6.34653 13.8982 6.30739 13.8863C6.26824 13.8744 6.22687 13.8965 6.215 13.9357L6.07479 14.398C6.06291 14.4371 6.08502 14.4785 6.12417 14.4903ZM14.5921 9.29287C14.6322 9.30085 14.6583 9.33985 14.6503 9.37997C14.6423 9.4201 14.6033 9.44615 14.5632 9.43817L13.4577 9.21829C13.4176 9.21031 13.3916 9.17131 13.3995 9.13119C13.4075 9.09107 13.4465 9.06501 13.4866 9.07299L14.5921 9.29287ZM1.49242 6.76272C1.48444 6.80284 1.5105 6.84184 1.55062 6.84982L2.65606 7.0697C2.69618 7.07768 2.73518 7.05162 2.74316 7.0115C2.75114 6.97137 2.72508 6.93238 2.68496 6.9244L1.57952 6.70452C1.5394 6.69654 1.5004 6.72259 1.49242 6.76272ZM14.441 9.92615C14.4801 9.93802 14.5022 9.97939 14.4903 10.0185C14.4785 10.0577 14.4371 10.0798 14.3979 10.0679L13.9357 9.92769C13.8965 9.91581 13.8744 9.87445 13.8863 9.8353C13.8982 9.79615 13.9396 9.77404 13.9787 9.78592L14.441 9.92615ZM1.65237 6.12415C1.64049 6.1633 1.6626 6.20467 1.70175 6.21654L2.16399 6.35677C2.20313 6.36864 2.2445 6.34654 2.25637 6.30739C2.26825 6.26824 2.24614 6.22688 2.20699 6.215L1.74476 6.07477C1.70561 6.0629 1.66425 6.08501 1.65237 6.12415ZM13.5459 4.32424C13.58 4.30151 13.626 4.31066 13.6487 4.34468C13.6714 4.37869 13.6623 4.42469 13.6282 4.44742L12.6911 5.0736C12.6571 5.09633 12.6111 5.08718 12.5884 5.05317C12.5656 5.01915 12.5748 4.97315 12.6088 4.95042L13.5459 4.32424ZM2.494 11.798C2.51673 11.832 2.56273 11.8412 2.59675 11.8184L3.53389 11.1923C3.56791 11.1695 3.57706 11.1235 3.55433 11.0895C3.5316 11.0555 3.4856 11.0464 3.45159 11.0691L2.51444 11.6953C2.48043 11.718 2.47128 11.764 2.494 11.798ZM13.8869 4.87888C13.923 4.8596 13.9678 4.87321 13.9871 4.90929C14.0064 4.94537 13.9928 4.99025 13.9567 5.00954L13.5307 5.23726C13.4946 5.25654 13.4497 5.24293 13.4305 5.20685C13.4112 5.17077 13.4248 5.12589 13.4609 5.1066L13.8869 4.87888ZM2.15557 11.2334C2.17486 11.2695 2.21974 11.2831 2.25582 11.2638L2.68183 11.0361C2.7179 11.0168 2.73152 10.9719 2.71223 10.9358C2.69295 10.8998 2.64806 10.8861 2.61199 10.9054L2.18598 11.1332C2.1499 11.1524 2.13628 11.1973 2.15557 11.2334ZM11.8184 13.5459C11.8412 13.58 11.832 13.626 11.798 13.6487C11.764 13.6714 11.718 13.6623 11.6953 13.6282L11.0691 12.6911C11.0464 12.6571 11.0555 12.6111 11.0895 12.5884C11.1235 12.5656 11.1695 12.5748 11.1923 12.6088L11.8184 13.5459ZM4.34468 2.494C4.31066 2.51673 4.30151 2.56273 4.32424 2.59675L4.95042 3.53389C4.97315 3.56791 5.01915 3.57706 5.05317 3.55433C5.08718 3.5316 5.09633 3.4856 5.0736 3.45159L4.44742 2.51444C4.42469 2.48043 4.37869 2.47128 4.34468 2.494ZM11.2638 13.8869C11.2831 13.923 11.2695 13.9678 11.2334 13.9871C11.1973 14.0064 11.1524 13.9928 11.1331 13.9567L10.9054 13.5307C10.8861 13.4946 10.8998 13.4497 10.9358 13.4305C10.9719 13.4112 11.0168 13.4248 11.0361 13.4609L11.2638 13.8869ZM4.90931 2.15557C4.87323 2.17485 4.85961 2.21974 4.8789 2.25581L5.1066 2.68182C5.12589 2.7179 5.17077 2.73152 5.20685 2.71223C5.24293 2.69295 5.25654 2.64807 5.23726 2.61199L5.00955 2.18598C4.99027 2.1499 4.94539 2.13628 4.90931 2.15557ZM11.6953 2.51444C11.718 2.48043 11.764 2.47128 11.798 2.494C11.832 2.51673 11.8412 2.56273 11.8184 2.59675L11.1923 3.53389C11.1695 3.56791 11.1235 3.57706 11.0895 3.55433C11.0555 3.5316 11.0464 3.4856 11.0691 3.45159L11.6953 2.51444ZM4.34468 13.6487C4.37869 13.6714 4.42469 13.6623 4.44742 13.6282L5.0736 12.6911C5.09633 12.6571 5.08718 12.6111 5.05317 12.5884C5.01915 12.5656 4.97315 12.5748 4.95042 12.6088L4.32424 13.5459C4.30151 13.58 4.31066 13.626 4.34468 13.6487ZM12.2225 2.8964C12.2484 2.86478 12.2951 2.86018 12.3267 2.88614C12.3584 2.91209 12.363 2.95876 12.337 2.99039L12.0306 3.36378C12.0046 3.3954 11.9579 3.4 11.9263 3.37404C11.8947 3.34809 11.8901 3.30142 11.916 3.26979L12.2225 2.8964ZM3.81595 13.2566C3.84757 13.2825 3.89425 13.2779 3.9202 13.2463L4.22664 12.8729C4.2526 12.8413 4.248 12.7946 4.21638 12.7686C4.18475 12.7427 4.13808 12.7473 4.11212 12.7789L3.80568 13.1523C3.77973 13.1839 3.78433 13.2306 3.81595 13.2566ZM13.6282 11.6953C13.6623 11.718 13.6714 11.764 13.6487 11.798C13.626 11.832 13.58 11.8412 13.5459 11.8184L12.6088 11.1923C12.5748 11.1695 12.5656 11.1235 12.5884 11.0895C12.6111 11.0555 12.6571 11.0464 12.6911 11.0691L13.6282 11.6953ZM2.494 4.34468C2.47128 4.37869 2.48043 4.42469 2.51444 4.44742L3.45159 5.0736C3.4856 5.09633 3.5316 5.08718 3.55433 5.05317C3.57706 5.01915 3.56791 4.97315 3.53389 4.95042L2.59675 4.32424C2.56273 4.30151 2.51673 4.31066 2.494 4.34468ZM13.2463 12.2225C13.2779 12.2484 13.2825 12.2951 13.2566 12.3267C13.2306 12.3584 13.1839 12.363 13.1523 12.337L12.7789 12.0306C12.7473 12.0046 12.7427 11.9579 12.7686 11.9263C12.7946 11.8947 12.8413 11.8901 12.8729 11.916L13.2463 12.2225ZM2.88614 3.81595C2.86018 3.84757 2.86478 3.89425 2.8964 3.9202L3.26979 4.22664C3.30142 4.2526 3.34809 4.248 3.37404 4.21638C3.4 4.18475 3.3954 4.13808 3.36378 4.11212L2.99039 3.80568C2.95876 3.77973 2.91209 3.78433 2.88614 3.81595ZM14.5632 6.70452C14.6033 6.69654 14.6423 6.72259 14.6503 6.76272C14.6583 6.80284 14.6322 6.84184 14.5921 6.84982L13.4866 7.0697C13.4465 7.07768 13.4075 7.05162 13.3995 7.0115C13.3916 6.97137 13.4176 6.93238 13.4577 6.9244L14.5632 6.70452ZM1.49242 9.37997C1.5004 9.4201 1.5394 9.44615 1.57952 9.43817L2.68496 9.21829C2.72508 9.21031 2.75114 9.17131 2.74316 9.13119C2.73518 9.09107 2.69618 9.06501 2.65606 9.07299L1.55062 9.29287C1.5105 9.30085 1.48444 9.33985 1.49242 9.37997ZM14.6657 7.34742C14.7064 7.34333 14.7428 7.37301 14.7468 7.41372C14.7509 7.45442 14.7213 7.49074 14.6806 7.49483L14.1998 7.54313C14.1591 7.54722 14.1228 7.51754 14.1187 7.47683C14.1146 7.43613 14.1443 7.39982 14.185 7.39573L14.6657 7.34742ZM1.39584 8.72994C1.39993 8.77064 1.43625 8.80032 1.47695 8.79623L1.95766 8.74793C1.99836 8.74384 2.02804 8.70752 2.02395 8.66682C2.01986 8.62612 1.98355 8.59643 1.94284 8.60052L1.46214 8.64883C1.42143 8.65292 1.39175 8.68923 1.39584 8.72994ZM9.43817 14.5632C9.44615 14.6033 9.4201 14.6423 9.37997 14.6503C9.33985 14.6583 9.30085 14.6322 9.29287 14.5921L9.07299 13.4866C9.06501 13.4465 9.09107 13.4075 9.13119 13.3995C9.17131 13.3916 9.21031 13.4176 9.21829 13.4577L9.43817 14.5632ZM6.76272 1.49242C6.72259 1.5004 6.69654 1.5394 6.70452 1.57952L6.9244 2.68496C6.93238 2.72508 6.97137 2.75114 7.0115 2.74316C7.05162 2.73518 7.07768 2.69618 7.0697 2.65606L6.84982 1.55062C6.84184 1.5105 6.80284 1.48444 6.76272 1.49242ZM8.79623 14.6657C8.80032 14.7064 8.77064 14.7428 8.72994 14.7468C8.68923 14.7509 8.65292 14.7213 8.64883 14.6806L8.60052 14.1998C8.59643 14.1591 8.62612 14.1228 8.66682 14.1187C8.70752 14.1146 8.74384 14.1443 8.74793 14.185L8.79623 14.6657ZM7.41372 1.39584C7.37301 1.39993 7.34333 1.43625 7.34742 1.47695L7.39573 1.95766C7.39982 1.99836 7.43613 2.02804 7.47683 2.02395C7.51754 2.01986 7.54722 1.98355 7.54313 1.94284L7.49483 1.46214C7.49074 1.42143 7.45442 1.39175 7.41372 1.39584Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M3.14941 12.8505L7.29562 7.28674L7.99989 7.99218L3.14941 12.8505Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M7.28662 7.29574L12.8504 3.14954L7.99204 8.00002L7.28662 7.29574Z",fill:"#EE4444"}),a.createElement("path",{d:"M12.8505 3.14954L8.70427 8.71332L8 8.00789L12.8505 3.14954Z",fill:"#CC0000"}),a.createElement("path",{d:"M3.14941 12.8505L8.7132 8.70427L8.00777 8L3.14941 12.8505Z",fill:"#AAAAAA"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21186",x1:"0.300303",y1:"0.300951",x2:"0.300303",y2:"15.7084",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#F8F8F8"}),a.createElement("stop",{offset:"1",stopColor:"#CCCCCC"})),a.createElement("radialGradient",{id:"paint1_radial_466_21186",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00216 8.0046) scale(7.06173)"},a.createElement("stop",{stopColor:"#00F0FF"}),a.createElement("stop",{offset:"1",stopColor:"#0070E0"})))),R7=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M14.9596 5.19849C14.6332 4.41337 13.9721 3.56574 13.453 3.29783C13.8755 4.12612 14.12 4.95699 14.2134 5.57708C14.2134 5.5783 14.2139 5.58133 14.2149 5.58958C13.3657 3.47293 11.9257 2.61943 10.7499 0.761053C10.6905 0.667084 10.631 0.572865 10.573 0.473553C10.5434 0.422834 10.5159 0.371004 10.4903 0.318178C10.4414 0.223861 10.4038 0.124166 10.378 0.0211155C10.3782 0.0162369 10.3765 0.0114673 10.3734 0.00774353C10.3702 0.0040198 10.3658 0.00161108 10.3609 0.000990505C10.3563 -0.000330168 10.3515 -0.000330168 10.3468 0.000990505C10.3458 0.0013655 10.3442 0.00258425 10.3431 0.00302175C10.3414 0.003678 10.3393 0.005178 10.3376 0.00614675C10.3384 0.00502175 10.3402 0.0024905 10.3407 0.00189675C8.45416 1.10677 7.81416 3.15068 7.75535 4.17327C7.00199 4.22506 6.28171 4.50262 5.68841 4.96977C5.62629 4.9173 5.56135 4.86827 5.49388 4.8229C5.3227 4.22402 5.31543 3.59017 5.47282 2.98752C4.70132 3.3388 4.10126 3.89408 3.66501 4.3844H3.66154C3.36382 4.0073 3.38482 2.76337 3.40179 2.50365C3.39822 2.48755 3.17969 2.61708 3.15107 2.63662C2.88835 2.82414 2.64275 3.03454 2.41713 3.26537C2.16039 3.52573 1.92581 3.80705 1.71582 4.1064C1.71582 4.10677 1.7156 4.10721 1.71547 4.10758C1.71547 4.10718 1.71569 4.10677 1.71582 4.1064C1.23289 4.79075 0.890387 5.56404 0.7081 6.38155C0.704506 6.39783 0.701475 6.41471 0.697975 6.43112C0.68385 6.49724 0.632975 6.82799 0.624068 6.89987C0.623381 6.9054 0.623068 6.91071 0.622412 6.91624C0.556638 7.2582 0.515905 7.60451 0.500537 7.9524C0.500537 7.96521 0.499756 7.9779 0.499756 7.99074C0.499881 12.138 3.86238 15.5 8.01001 15.5C11.7245 15.5 14.8088 12.8035 15.4126 9.26152C15.4253 9.1654 15.4355 9.06877 15.4467 8.9718C15.596 7.68399 15.4301 6.3304 14.9596 5.19849ZM6.30351 11.0764C6.33863 11.0932 6.37163 11.1116 6.40769 11.1276C6.40919 11.1287 6.41126 11.1298 6.41279 11.1308C6.37608 11.1132 6.33965 11.0951 6.30351 11.0764ZM14.2155 5.59143L14.2145 5.58415C14.2149 5.5868 14.2153 5.58958 14.2158 5.59224L14.2155 5.59143Z",fill:"url(#paint0_linear_466_21172)"}),a.createElement("path",{d:"M14.9598 5.19851C14.6334 4.41338 13.9723 3.56576 13.4532 3.29785C13.8757 4.12613 14.1202 4.95701 14.2136 5.5771C14.2136 5.57529 14.214 5.5786 14.2148 5.58416C14.2151 5.58682 14.2156 5.5896 14.216 5.59226C14.9246 7.5132 14.5386 9.46657 13.9823 10.6602C13.1217 12.5071 11.0381 14.3999 7.77678 14.3076C4.25319 14.2078 1.149 11.5934 0.569531 8.16904C0.463937 7.62904 0.569531 7.35485 0.622656 6.91641C0.557938 7.25441 0.533281 7.35204 0.500781 7.95257C0.500781 7.96538 0.5 7.97807 0.5 7.99091C0.500063 12.138 3.86256 15.5 8.01019 15.5C11.7247 15.5 14.8089 12.8035 15.4128 9.26154C15.4255 9.16541 15.4357 9.06879 15.4469 8.97182C15.5962 7.68401 15.4303 6.33041 14.9598 5.19851Z",fill:"url(#paint1_radial_466_21172)"}),a.createElement("path",{d:"M14.9598 5.19851C14.6334 4.41338 13.9723 3.56576 13.4532 3.29785C13.8757 4.12613 14.1202 4.95701 14.2136 5.5771C14.2136 5.57529 14.214 5.5786 14.2148 5.58416C14.2151 5.58682 14.2156 5.5896 14.216 5.59226C14.9246 7.5132 14.5386 9.46657 13.9823 10.6602C13.1217 12.5071 11.0381 14.3999 7.77678 14.3076C4.25319 14.2078 1.149 11.5934 0.569531 8.16904C0.463937 7.62904 0.569531 7.35485 0.622656 6.91641C0.557938 7.25441 0.533281 7.35204 0.500781 7.95257C0.500781 7.96538 0.5 7.97807 0.5 7.99091C0.500063 12.138 3.86256 15.5 8.01019 15.5C11.7247 15.5 14.8089 12.8035 15.4128 9.26154C15.4255 9.16541 15.4357 9.06879 15.4469 8.97182C15.5962 7.68401 15.4303 6.33041 14.9598 5.19851Z",fill:"url(#paint2_radial_466_21172)"}),a.createElement("path",{d:"M11.3101 6.08127C11.3265 6.09277 11.3413 6.10421 11.3567 6.11564C11.1683 5.78113 10.9336 5.47487 10.6596 5.20589C8.32502 2.87164 10.0474 0.144581 10.3379 0.00608106C10.3387 0.00495606 10.3405 0.0024248 10.341 0.00183105C8.45443 1.10671 7.81443 3.15061 7.75562 4.17321C7.84312 4.16714 7.93037 4.1598 8.01943 4.1598C9.42727 4.1598 10.6535 4.93386 11.3101 6.08127Z",fill:"url(#paint3_radial_466_21172)"}),a.createElement("path",{d:"M8.02405 6.54735C8.01177 6.73417 7.35173 7.37838 7.12092 7.37838C4.98533 7.37838 4.63867 8.6701 4.63867 8.6701C4.73327 9.75792 5.49058 10.6537 6.40777 11.1277C6.44961 11.1493 6.49195 11.1689 6.53433 11.1882C6.60698 11.2203 6.68054 11.2504 6.75492 11.2784C7.0694 11.3897 7.39881 11.4532 7.73214 11.4668C11.4753 11.6424 12.2005 6.99201 9.49917 5.64157C10.191 5.52126 10.909 5.79948 11.31 6.08117C10.6534 4.93385 9.4272 4.15979 8.01939 4.15979C7.93033 4.15979 7.84311 4.16713 7.75558 4.1732C7.00222 4.22499 6.28194 4.50255 5.68864 4.9697C5.80314 5.06657 5.93239 5.19607 6.2047 5.46432C6.71414 5.96642 8.02127 6.48635 8.02405 6.54735Z",fill:"url(#paint4_radial_466_21172)"}),a.createElement("path",{d:"M8.02405 6.54735C8.01177 6.73417 7.35173 7.37838 7.12092 7.37838C4.98533 7.37838 4.63867 8.6701 4.63867 8.6701C4.73327 9.75792 5.49058 10.6537 6.40777 11.1277C6.44961 11.1493 6.49195 11.1689 6.53433 11.1882C6.60698 11.2203 6.68054 11.2504 6.75492 11.2784C7.0694 11.3897 7.39881 11.4532 7.73214 11.4668C11.4753 11.6424 12.2005 6.99201 9.49917 5.64157C10.191 5.52126 10.909 5.79948 11.31 6.08117C10.6534 4.93385 9.4272 4.15979 8.01939 4.15979C7.93033 4.15979 7.84311 4.16713 7.75558 4.1732C7.00222 4.22499 6.28194 4.50255 5.68864 4.9697C5.80314 5.06657 5.93239 5.19607 6.2047 5.46432C6.71414 5.96642 8.02127 6.48635 8.02405 6.54735Z",fill:"url(#paint5_radial_466_21172)"}),a.createElement("path",{d:"M5.3385 4.71992C5.39081 4.75366 5.4427 4.78804 5.49416 4.82305C5.32298 4.22417 5.31571 3.59032 5.4731 2.98767C4.7016 3.33895 4.10153 3.89423 3.66528 4.38455C3.70138 4.38351 4.79072 4.36392 5.3385 4.71992Z",fill:"url(#paint6_radial_466_21172)"}),a.createElement("path",{d:"M0.569399 8.16902C1.14887 11.5933 4.25305 14.2078 7.77665 14.3076C11.0379 14.3999 13.1216 12.507 13.9821 10.6602C14.5384 9.46646 14.9245 7.51333 14.2159 5.59224L14.2156 5.59142L14.2146 5.58414C14.2138 5.57858 14.2134 5.57527 14.2135 5.57708C14.2135 5.5783 14.214 5.58133 14.215 5.58958C14.4813 7.32899 13.5965 9.01408 12.2134 10.1535L12.2092 10.1632C9.51406 12.3577 6.93502 11.4872 6.41284 11.1309C6.37613 11.1133 6.33967 11.0951 6.30346 11.0765C4.73215 10.3255 4.08302 8.89402 4.22221 7.66633C2.89543 7.66633 2.44302 6.5473 2.44302 6.5473C2.44302 6.5473 3.63424 5.69796 5.20421 6.43664C6.65827 7.1208 8.02384 6.54736 8.02399 6.5473C8.02121 6.4863 6.71409 5.96636 6.20452 5.4643C5.93224 5.19605 5.80296 5.06671 5.68846 4.96967C5.62634 4.91721 5.5614 4.86817 5.49393 4.8228C5.44241 4.78788 5.39052 4.7535 5.33827 4.71967C4.79052 4.36367 3.70115 4.38327 3.66505 4.38421H3.66159C3.36387 4.00711 3.38487 2.76317 3.40184 2.50346C3.39827 2.48736 3.17974 2.61689 3.15112 2.63642C2.8884 2.82395 2.6428 3.03435 2.41718 3.26517C2.16043 3.5256 1.92585 3.80698 1.71587 4.10639C1.71587 4.10677 1.71565 4.10721 1.71552 4.10758C1.71552 4.10717 1.71574 4.10677 1.71587 4.10639C1.23294 4.79075 0.890436 5.56403 0.708149 6.38155C0.704555 6.39783 0.437836 7.56411 0.569399 8.16902Z",fill:"url(#paint7_radial_466_21172)"}),a.createElement("path",{d:"M10.6595 5.2058C10.9335 5.47478 11.1682 5.78104 11.3566 6.11555C11.398 6.14662 11.4366 6.17759 11.4694 6.2078C13.172 7.77655 12.2799 9.9953 12.2134 10.1534C13.5965 9.01405 14.4813 7.32896 14.215 5.58955C13.3657 3.47293 11.9258 2.61943 10.7499 0.761053C10.6905 0.667084 10.631 0.572866 10.573 0.473553C10.5435 0.422834 10.5159 0.371004 10.4903 0.318178C10.4415 0.223861 10.4038 0.124166 10.3781 0.0211155C10.3782 0.0162369 10.3766 0.0114673 10.3734 0.00774353C10.3703 0.0040198 10.3658 0.00161108 10.361 0.000990505C10.3564 -0.000330168 10.3515 -0.000330168 10.3469 0.000990505C10.3458 0.0013655 10.3443 0.00258425 10.3431 0.00302176C10.3415 0.003678 10.3394 0.00517801 10.3376 0.00614676C10.0473 0.144522 8.32493 2.87158 10.6595 5.2058Z",fill:"url(#paint8_radial_466_21172)"}),a.createElement("path",{d:"M11.4694 6.20779C11.4366 6.17757 11.398 6.1466 11.3566 6.11554C11.3413 6.10404 11.3263 6.0926 11.31 6.08117C10.909 5.79948 10.1909 5.52126 9.49912 5.64157C12.2004 6.99201 11.4752 11.6424 7.73209 11.4668C7.39876 11.4532 7.06935 11.3897 6.75487 11.2784C6.6805 11.2504 6.60694 11.2203 6.53428 11.1882C6.4919 11.1689 6.44956 11.1493 6.40771 11.1277C6.40921 11.1287 6.41128 11.1299 6.41281 11.1308C6.935 11.4871 9.51403 12.3576 12.2092 10.1631L12.2133 10.1534C12.2799 9.99542 13.1719 7.77657 11.4694 6.20779Z",fill:"url(#paint9_radial_466_21172)"}),a.createElement("path",{d:"M4.63871 8.67006C4.63871 8.67006 4.98537 7.37834 7.12096 7.37834C7.35183 7.37834 8.01187 6.73412 8.02408 6.54731C8.0363 6.36049 6.65846 7.12081 5.2043 6.43665C3.63433 5.69796 2.44312 6.54731 2.44312 6.54731C2.44312 6.54731 2.89552 7.66634 4.2223 7.66634C4.08315 8.89402 4.73227 10.3257 6.30355 11.0765C6.33868 11.0932 6.37168 11.1116 6.40774 11.1277C5.49062 10.6537 4.7333 9.75787 4.63871 8.67006Z",fill:"url(#paint10_radial_466_21172)"}),a.createElement("path",{d:"M14.9597 5.19849C14.6333 4.41337 13.9722 3.56574 13.4531 3.29783C13.8756 4.12612 14.1201 4.95699 14.2136 5.57708C14.2136 5.5783 14.214 5.58133 14.215 5.58958C13.3658 3.47293 11.9258 2.61943 10.75 0.761053C10.6906 0.667084 10.6311 0.572865 10.5731 0.473553C10.5436 0.422834 10.516 0.371004 10.4904 0.318178C10.4416 0.223861 10.4039 0.124166 10.3781 0.0211155C10.3783 0.0162369 10.3767 0.0114673 10.3735 0.00774353C10.3703 0.0040198 10.3659 0.00161108 10.3611 0.000990505C10.3565 -0.000330168 10.3516 -0.000330168 10.347 0.000990505C10.3459 0.0013655 10.3443 0.00258425 10.3432 0.00302175C10.3416 0.003678 10.3395 0.005178 10.3377 0.00614675C10.3386 0.00502175 10.3403 0.0024905 10.3408 0.00189675C8.45428 1.10677 7.81428 3.15068 7.75547 4.17327C7.84297 4.16721 7.93022 4.15987 8.01928 4.15987C9.42719 4.15987 10.6534 4.93393 11.3099 6.08124C10.9089 5.79955 10.1908 5.52133 9.49906 5.64165C12.2003 6.99208 11.4752 11.6425 7.73203 11.4669C7.3987 11.4533 7.06929 11.3898 6.75481 11.2784C6.68044 11.2505 6.60688 11.2204 6.53422 11.1882C6.49184 11.1689 6.4495 11.1494 6.40766 11.1278C6.40916 11.1288 6.41122 11.13 6.41275 11.1309C6.37605 11.1132 6.33958 11.0951 6.30337 11.0764C6.3385 11.0932 6.3715 11.1116 6.40756 11.1276C5.49038 10.6536 4.73306 9.75786 4.63847 8.67005C4.63847 8.67005 4.98513 7.37833 7.12072 7.37833C7.35159 7.37833 8.01162 6.73412 8.02384 6.5473C8.02106 6.4863 6.71394 5.96637 6.20437 5.4643C5.93209 5.19605 5.80281 5.06671 5.68831 4.96968C5.62619 4.91721 5.56125 4.86818 5.49378 4.8228C5.3226 4.22393 5.31533 3.59008 5.47272 2.98743C4.70122 3.33871 4.10116 3.89399 3.66491 4.3843H3.66144C3.36372 4.00721 3.38472 2.76327 3.40169 2.50355C3.39812 2.48746 3.17959 2.61699 3.15097 2.63652C2.88825 2.82404 2.64265 3.03445 2.41703 3.26527C2.16036 3.52567 1.92585 3.80702 1.71594 4.1064C1.71594 4.10677 1.71572 4.10721 1.71559 4.10758C1.71559 4.10718 1.71581 4.10677 1.71594 4.1064C1.23301 4.79075 0.890506 5.56404 0.708219 6.38155C0.704625 6.39783 0.701594 6.41471 0.698094 6.43112C0.683969 6.49724 0.620406 6.83277 0.611531 6.90474C0.610844 6.91027 0.612187 6.89924 0.611531 6.90474C0.553567 7.25147 0.516583 7.60137 0.500781 7.95255C0.500781 7.96537 0.5 7.97805 0.5 7.9909C0.5 12.138 3.8625 15.5 8.01012 15.5C11.7247 15.5 14.8089 12.8035 15.4127 9.26152C15.4254 9.1654 15.4356 9.06877 15.4468 8.9718C15.5961 7.68399 15.4302 6.3304 14.9597 5.19849ZM14.2147 5.58415C14.2151 5.5868 14.2155 5.58958 14.2159 5.59224L14.2157 5.59143L14.2147 5.58415Z",fill:"url(#paint11_linear_466_21172)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21172",x1:"13.5874",y1:"2.40249",x2:"1.52839",y2:"14.0351",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0.05",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.37",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.7",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint1_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(10.8936 1.72781) scale(15.3601 15.6187)"},a.createElement("stop",{offset:"0.13",stopColor:"#FFBD4F"}),a.createElement("stop",{offset:"0.28",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.47",stopColor:"#FF3750"}),a.createElement("stop",{offset:"0.78",stopColor:"#EB0878"}),a.createElement("stop",{offset:"0.86",stopColor:"#E50080"})),a.createElement("radialGradient",{id:"paint2_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.43979 8.1787) scale(15.7441 15.6187)"},a.createElement("stop",{offset:"0.3",stopColor:"#960E18"}),a.createElement("stop",{offset:"0.35",stopColor:"#B11927",stopOpacity:"0.74"}),a.createElement("stop",{offset:"0.43",stopColor:"#DB293D",stopOpacity:"0.34"}),a.createElement("stop",{offset:"0.5",stopColor:"#F5334B",stopOpacity:"0.09"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF3750",stopOpacity:"0"})),a.createElement("radialGradient",{id:"paint3_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(9.48415 -0.731827) scale(5.04157 8.55934)"},a.createElement("stop",{offset:"0.13",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF980E"})),a.createElement("radialGradient",{id:"paint4_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.15707 12.2109) scale(6.67134 7.31187)"},a.createElement("stop",{offset:"0.35",stopColor:"#3A8EE6"}),a.createElement("stop",{offset:"0.67",stopColor:"#9059FF"}),a.createElement("stop",{offset:"1",stopColor:"#C139E6"})),a.createElement("radialGradient",{id:"paint5_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.29699 6.57271) scale(3.54248 4.314)"},a.createElement("stop",{offset:"0.21",stopColor:"#9059FF",stopOpacity:"0"}),a.createElement("stop",{offset:"0.97",stopColor:"#6E008B",stopOpacity:"0.6"})),a.createElement("radialGradient",{id:"paint6_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.50592 1.1523) scale(5.30374 5.32259)"},a.createElement("stop",{offset:"0.1",stopColor:"#FFE226"}),a.createElement("stop",{offset:"0.79",stopColor:"#FF7139"})),a.createElement("radialGradient",{id:"paint7_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12.3495 -2.33951) scale(25.3212 21.2557)"},a.createElement("stop",{offset:"0.11",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.46",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.72",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.9",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint8_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(2.94576 4.67997) rotate(77.3946) scale(8.03354 34.7519)"},a.createElement("stop",{stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.3",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.57",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.74",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint9_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.56027 3.06659) scale(14.5381 14.2827)"},a.createElement("stop",{offset:"0.14",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.48",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.66",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.9",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint10_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(11.3337 3.90193) scale(17.4743 15.6328)"},a.createElement("stop",{offset:"0.09",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.63",stopColor:"#FF980E"})),a.createElement("linearGradient",{id:"paint11_linear_466_21172",x1:"12.5",y1:"2.16999",x2:"2.85701",y2:"12.7061",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0.17",stopColor:"#FFF44F",stopOpacity:"0.8"}),a.createElement("stop",{offset:"0.6",stopColor:"#FFF44F",stopOpacity:"0"})))),B7=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("circle",{cx:"8.00009",cy:"7.99997",r:"7.7037",fill:"url(#paint0_linear_466_21186)"}),a.createElement("ellipse",{cx:"8.00094",cy:"8.00094",rx:"7.06173",ry:"7.06173",fill:"url(#paint1_radial_466_21186)"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.07134 1.36353C8.03043 1.36353 7.99727 1.39669 7.99727 1.4376V2.56469C7.99727 2.6056 8.03043 2.63877 8.07134 2.63877C8.11225 2.63877 8.14542 2.6056 8.14542 2.56469V1.4376C8.14542 1.39669 8.11225 1.36353 8.07134 1.36353ZM8.07134 14.7792C8.11225 14.7792 8.14542 14.746 8.14542 14.7051V13.578C8.14542 13.5371 8.11225 13.5039 8.07134 13.5039C8.03043 13.5039 7.99727 13.5371 7.99727 13.578V14.7051C7.99727 14.746 8.03043 14.7792 8.07134 14.7792ZM8.64883 1.46214C8.65292 1.42143 8.68923 1.39175 8.72994 1.39584C8.77064 1.39993 8.80032 1.43625 8.79623 1.47695L8.74793 1.95766C8.74384 1.99836 8.70752 2.02804 8.66682 2.02395C8.62612 2.01986 8.59643 1.98355 8.60052 1.94284L8.64883 1.46214ZM7.41372 14.7468C7.45442 14.7509 7.49074 14.7213 7.49483 14.6806L7.54313 14.1998C7.54722 14.1591 7.51754 14.1228 7.47683 14.1187C7.43613 14.1146 7.39982 14.1443 7.39573 14.185L7.34742 14.6657C7.34333 14.7064 7.37301 14.7428 7.41372 14.7468ZM14.7051 7.99727C14.746 7.99727 14.7792 8.03043 14.7792 8.07134C14.7792 8.11225 14.746 8.14542 14.7051 8.14542H13.578C13.5371 8.14542 13.5039 8.11225 13.5039 8.07134C13.5039 8.03043 13.5371 7.99727 13.578 7.99727H14.7051ZM1.36353 8.07134C1.36353 8.11225 1.39669 8.14542 1.4376 8.14542H2.56469C2.6056 8.14542 2.63877 8.11225 2.63877 8.07134C2.63877 8.03043 2.6056 7.99727 2.56469 7.99727H1.4376C1.39669 7.99727 1.36353 8.03043 1.36353 8.07134ZM14.6806 8.64883C14.7213 8.65292 14.7509 8.68923 14.7468 8.72994C14.7428 8.77064 14.7064 8.80032 14.6657 8.79623L14.185 8.74793C14.1443 8.74384 14.1146 8.70752 14.1187 8.66682C14.1228 8.62612 14.1591 8.59643 14.1998 8.60052L14.6806 8.64883ZM1.39584 7.41372C1.39175 7.45442 1.42143 7.49074 1.46214 7.49483L1.94284 7.54313C1.98355 7.54722 2.01986 7.51754 2.02395 7.47683C2.02804 7.43613 1.99836 7.39982 1.95766 7.39573L1.47695 7.34742C1.43625 7.34333 1.39993 7.37301 1.39584 7.41372ZM12.7097 3.3282C12.7387 3.29927 12.7856 3.29927 12.8145 3.3282C12.8434 3.35713 12.8434 3.40403 12.8145 3.43296L12.0175 4.22994C11.9886 4.25887 11.9417 4.25887 11.9127 4.22994C11.8838 4.20101 11.8838 4.15411 11.9127 4.12518L12.7097 3.3282ZM3.3282 12.8145C3.35713 12.8434 3.40403 12.8434 3.43296 12.8145L4.22994 12.0175C4.25887 11.9886 4.25887 11.9417 4.22994 11.9127C4.20101 11.8838 4.15411 11.8838 4.12518 11.9127L3.3282 12.7097C3.29927 12.7387 3.29927 12.7856 3.3282 12.8145ZM13.1523 3.80568C13.1839 3.77973 13.2306 3.78433 13.2566 3.81595C13.2825 3.84757 13.2779 3.89425 13.2463 3.9202L12.8729 4.22664C12.8413 4.2526 12.7946 4.248 12.7686 4.21638C12.7427 4.18475 12.7473 4.13808 12.7789 4.11212L13.1523 3.80568ZM2.88614 12.3267C2.91209 12.3584 2.95876 12.363 2.99039 12.337L3.36378 12.0306C3.3954 12.0046 3.4 11.9579 3.37404 11.9263C3.34809 11.8947 3.30142 11.8901 3.26979 11.916L2.8964 12.2225C2.86478 12.2484 2.86018 12.2951 2.88614 12.3267ZM12.8145 12.7097C12.8434 12.7387 12.8434 12.7856 12.8145 12.8145C12.7856 12.8434 12.7387 12.8434 12.7097 12.8145L11.9127 12.0175C11.8838 11.9886 11.8838 11.9417 11.9127 11.9127C11.9417 11.8838 11.9886 11.8838 12.0175 11.9127L12.8145 12.7097ZM3.3282 3.3282C3.29927 3.35713 3.29927 3.40403 3.3282 3.43296L4.12518 4.22994C4.15411 4.25887 4.20101 4.25887 4.22994 4.22994C4.25887 4.20101 4.25887 4.15411 4.22994 4.12518L3.43296 3.3282C3.40403 3.29927 3.35713 3.29927 3.3282 3.3282ZM12.337 13.1523C12.363 13.1839 12.3584 13.2306 12.3267 13.2566C12.2951 13.2825 12.2484 13.2779 12.2225 13.2463L11.916 12.8729C11.8901 12.8413 11.8947 12.7946 11.9263 12.7686C11.9579 12.7427 12.0046 12.7473 12.0306 12.7789L12.337 13.1523ZM3.81595 2.88614C3.78433 2.91209 3.77973 2.95876 3.80568 2.99039L4.11212 3.36378C4.13808 3.3954 4.18475 3.4 4.21638 3.37404C4.248 3.34809 4.2526 3.30142 4.22664 3.26979L3.9202 2.8964C3.89425 2.86478 3.84757 2.86018 3.81595 2.88614ZM10.5415 1.91422C10.5572 1.87643 10.6005 1.85848 10.6383 1.87413C10.6761 1.88979 10.6941 1.93312 10.6784 1.97092L10.2471 3.01221C10.2314 3.05 10.1881 3.06795 10.1503 3.05229C10.1125 3.03664 10.0946 2.99331 10.1102 2.95551L10.5415 1.91422ZM5.50437 14.2686C5.54216 14.2842 5.58549 14.2663 5.60115 14.2285L6.03247 13.1872C6.04813 13.1494 6.03018 13.1061 5.99238 13.0904C5.95459 13.0747 5.91126 13.0927 5.8956 13.1305L5.46428 14.1718C5.44862 14.2096 5.46657 14.2529 5.50437 14.2686ZM11.1332 2.18598C11.1524 2.1499 11.1973 2.13628 11.2334 2.15557C11.2695 2.17486 11.2831 2.21974 11.2638 2.25582L11.0361 2.68183C11.0168 2.7179 10.9719 2.73152 10.9358 2.71223C10.8998 2.69295 10.8861 2.64806 10.9054 2.61199L11.1332 2.18598ZM4.90931 13.9871C4.94539 14.0064 4.99027 13.9928 5.00955 13.9567L5.23726 13.5307C5.25654 13.4946 5.24293 13.4497 5.20685 13.4305C5.17077 13.4112 5.12589 13.4248 5.1066 13.4609L4.8789 13.8869C4.85961 13.923 4.87323 13.9678 4.90931 13.9871ZM14.2285 10.5415C14.2663 10.5572 14.2842 10.6005 14.2686 10.6383C14.2529 10.6761 14.2096 10.6941 14.1718 10.6784L13.1305 10.2471C13.0927 10.2314 13.0747 10.1881 13.0904 10.1503C13.1061 10.1125 13.1494 10.0946 13.1872 10.1102L14.2285 10.5415ZM1.87412 5.50437C1.85846 5.54216 1.87641 5.58549 1.91421 5.60115L2.95551 6.03247C2.99331 6.04813 3.03664 6.03018 3.05229 5.99238C3.06795 5.95459 3.05 5.91126 3.0122 5.8956L1.9709 5.46428C1.9331 5.44862 1.88977 5.46657 1.87412 5.50437ZM13.9567 11.1332C13.9928 11.1524 14.0064 11.1973 13.9871 11.2334C13.9678 11.2695 13.923 11.2831 13.8869 11.2638L13.4609 11.0361C13.4248 11.0168 13.4112 10.9719 13.4305 10.9358C13.4497 10.8998 13.4946 10.8861 13.5307 10.9054L13.9567 11.1332ZM2.15557 4.90929C2.13628 4.94537 2.1499 4.99025 2.18598 5.00954L2.61199 5.23726C2.64806 5.25654 2.69295 5.24293 2.71223 5.20685C2.73152 5.17077 2.7179 5.12589 2.68183 5.1066L2.25582 4.87888C2.21974 4.8596 2.17486 4.87321 2.15557 4.90929ZM14.1718 5.46428C14.2096 5.44862 14.2529 5.46657 14.2686 5.50437C14.2842 5.54216 14.2663 5.58549 14.2285 5.60115L13.1872 6.03247C13.1494 6.04813 13.1061 6.03018 13.0904 5.99238C13.0747 5.95459 13.0927 5.91126 13.1305 5.8956L14.1718 5.46428ZM1.87413 10.6383C1.88979 10.6761 1.93312 10.6941 1.97092 10.6784L3.01221 10.2471C3.05 10.2314 3.06795 10.1881 3.05229 10.1503C3.03664 10.1125 2.99331 10.0946 2.95551 10.1102L1.91422 10.5415C1.87643 10.5572 1.85848 10.6005 1.87413 10.6383ZM14.3979 6.07477C14.4371 6.0629 14.4785 6.08501 14.4903 6.12416C14.5022 6.1633 14.4801 6.20467 14.441 6.21654L13.9787 6.35677C13.9396 6.36864 13.8982 6.34654 13.8863 6.30739C13.8744 6.26824 13.8965 6.22688 13.9357 6.215L14.3979 6.07477ZM1.65237 10.0185C1.66425 10.0577 1.70561 10.0798 1.74476 10.0679L2.20699 9.92769C2.24614 9.91581 2.26825 9.87445 2.25637 9.8353C2.2445 9.79615 2.20313 9.77404 2.16399 9.78592L1.70175 9.92615C1.6626 9.93802 1.64049 9.97939 1.65237 10.0185ZM10.6383 14.2686C10.6005 14.2842 10.5572 14.2663 10.5415 14.2285L10.1102 13.1872C10.0946 13.1494 10.1125 13.1061 10.1503 13.0904C10.1881 13.0747 10.2314 13.0927 10.2471 13.1305L10.6784 14.1718C10.6941 14.2096 10.6761 14.2529 10.6383 14.2686ZM5.50437 1.87413C5.46657 1.88979 5.44862 1.93312 5.46428 1.97092L5.8956 3.01221C5.91126 3.05 5.95459 3.06795 5.99238 3.05229C6.03018 3.03664 6.04813 2.99331 6.03247 2.95551L5.60115 1.91422C5.58549 1.87643 5.54216 1.85848 5.50437 1.87413ZM10.0679 14.3979C10.0798 14.4371 10.0577 14.4785 10.0185 14.4903C9.97939 14.5022 9.93802 14.4801 9.92615 14.441L9.78592 13.9787C9.77404 13.9396 9.79615 13.8982 9.8353 13.8863C9.87445 13.8744 9.91581 13.8965 9.92769 13.9357L10.0679 14.3979ZM6.12417 1.65237C6.08502 1.66424 6.06291 1.70561 6.07479 1.74475L6.215 2.20699C6.22688 2.24614 6.26824 2.26825 6.30739 2.25637C6.34654 2.2445 6.36864 2.20314 6.35677 2.16399L6.21656 1.70175C6.20468 1.6626 6.16332 1.64049 6.12417 1.65237ZM9.29287 1.55062C9.30085 1.5105 9.33985 1.48444 9.37997 1.49242C9.4201 1.5004 9.44615 1.5394 9.43817 1.57952L9.21829 2.68496C9.21031 2.72508 9.17131 2.75114 9.13119 2.74316C9.09107 2.73518 9.06501 2.69618 9.07299 2.65606L9.29287 1.55062ZM6.76272 14.6503C6.80284 14.6583 6.84184 14.6322 6.84982 14.5921L7.0697 13.4866C7.07768 13.4465 7.05162 13.4075 7.0115 13.3995C6.97137 13.3916 6.93238 13.4176 6.9244 13.4577L6.70452 14.5632C6.69654 14.6033 6.72259 14.6423 6.76272 14.6503ZM9.92615 1.70175C9.93802 1.6626 9.97939 1.64049 10.0185 1.65237C10.0577 1.66425 10.0798 1.70561 10.0679 1.74476L9.92769 2.20699C9.91581 2.24614 9.87445 2.26825 9.8353 2.25637C9.79615 2.2445 9.77404 2.20313 9.78592 2.16399L9.92615 1.70175ZM6.12417 14.4903C6.16332 14.5022 6.20469 14.4801 6.21656 14.441L6.35677 13.9787C6.36864 13.9396 6.34653 13.8982 6.30739 13.8863C6.26824 13.8744 6.22687 13.8965 6.215 13.9357L6.07479 14.398C6.06291 14.4371 6.08502 14.4785 6.12417 14.4903ZM14.5921 9.29287C14.6322 9.30085 14.6583 9.33985 14.6503 9.37997C14.6423 9.4201 14.6033 9.44615 14.5632 9.43817L13.4577 9.21829C13.4176 9.21031 13.3916 9.17131 13.3995 9.13119C13.4075 9.09107 13.4465 9.06501 13.4866 9.07299L14.5921 9.29287ZM1.49242 6.76272C1.48444 6.80284 1.5105 6.84184 1.55062 6.84982L2.65606 7.0697C2.69618 7.07768 2.73518 7.05162 2.74316 7.0115C2.75114 6.97137 2.72508 6.93238 2.68496 6.9244L1.57952 6.70452C1.5394 6.69654 1.5004 6.72259 1.49242 6.76272ZM14.441 9.92615C14.4801 9.93802 14.5022 9.97939 14.4903 10.0185C14.4785 10.0577 14.4371 10.0798 14.3979 10.0679L13.9357 9.92769C13.8965 9.91581 13.8744 9.87445 13.8863 9.8353C13.8982 9.79615 13.9396 9.77404 13.9787 9.78592L14.441 9.92615ZM1.65237 6.12415C1.64049 6.1633 1.6626 6.20467 1.70175 6.21654L2.16399 6.35677C2.20313 6.36864 2.2445 6.34654 2.25637 6.30739C2.26825 6.26824 2.24614 6.22688 2.20699 6.215L1.74476 6.07477C1.70561 6.0629 1.66425 6.08501 1.65237 6.12415ZM13.5459 4.32424C13.58 4.30151 13.626 4.31066 13.6487 4.34468C13.6714 4.37869 13.6623 4.42469 13.6282 4.44742L12.6911 5.0736C12.6571 5.09633 12.6111 5.08718 12.5884 5.05317C12.5656 5.01915 12.5748 4.97315 12.6088 4.95042L13.5459 4.32424ZM2.494 11.798C2.51673 11.832 2.56273 11.8412 2.59675 11.8184L3.53389 11.1923C3.56791 11.1695 3.57706 11.1235 3.55433 11.0895C3.5316 11.0555 3.4856 11.0464 3.45159 11.0691L2.51444 11.6953C2.48043 11.718 2.47128 11.764 2.494 11.798ZM13.8869 4.87888C13.923 4.8596 13.9678 4.87321 13.9871 4.90929C14.0064 4.94537 13.9928 4.99025 13.9567 5.00954L13.5307 5.23726C13.4946 5.25654 13.4497 5.24293 13.4305 5.20685C13.4112 5.17077 13.4248 5.12589 13.4609 5.1066L13.8869 4.87888ZM2.15557 11.2334C2.17486 11.2695 2.21974 11.2831 2.25582 11.2638L2.68183 11.0361C2.7179 11.0168 2.73152 10.9719 2.71223 10.9358C2.69295 10.8998 2.64806 10.8861 2.61199 10.9054L2.18598 11.1332C2.1499 11.1524 2.13628 11.1973 2.15557 11.2334ZM11.8184 13.5459C11.8412 13.58 11.832 13.626 11.798 13.6487C11.764 13.6714 11.718 13.6623 11.6953 13.6282L11.0691 12.6911C11.0464 12.6571 11.0555 12.6111 11.0895 12.5884C11.1235 12.5656 11.1695 12.5748 11.1923 12.6088L11.8184 13.5459ZM4.34468 2.494C4.31066 2.51673 4.30151 2.56273 4.32424 2.59675L4.95042 3.53389C4.97315 3.56791 5.01915 3.57706 5.05317 3.55433C5.08718 3.5316 5.09633 3.4856 5.0736 3.45159L4.44742 2.51444C4.42469 2.48043 4.37869 2.47128 4.34468 2.494ZM11.2638 13.8869C11.2831 13.923 11.2695 13.9678 11.2334 13.9871C11.1973 14.0064 11.1524 13.9928 11.1331 13.9567L10.9054 13.5307C10.8861 13.4946 10.8998 13.4497 10.9358 13.4305C10.9719 13.4112 11.0168 13.4248 11.0361 13.4609L11.2638 13.8869ZM4.90931 2.15557C4.87323 2.17485 4.85961 2.21974 4.8789 2.25581L5.1066 2.68182C5.12589 2.7179 5.17077 2.73152 5.20685 2.71223C5.24293 2.69295 5.25654 2.64807 5.23726 2.61199L5.00955 2.18598C4.99027 2.1499 4.94539 2.13628 4.90931 2.15557ZM11.6953 2.51444C11.718 2.48043 11.764 2.47128 11.798 2.494C11.832 2.51673 11.8412 2.56273 11.8184 2.59675L11.1923 3.53389C11.1695 3.56791 11.1235 3.57706 11.0895 3.55433C11.0555 3.5316 11.0464 3.4856 11.0691 3.45159L11.6953 2.51444ZM4.34468 13.6487C4.37869 13.6714 4.42469 13.6623 4.44742 13.6282L5.0736 12.6911C5.09633 12.6571 5.08718 12.6111 5.05317 12.5884C5.01915 12.5656 4.97315 12.5748 4.95042 12.6088L4.32424 13.5459C4.30151 13.58 4.31066 13.626 4.34468 13.6487ZM12.2225 2.8964C12.2484 2.86478 12.2951 2.86018 12.3267 2.88614C12.3584 2.91209 12.363 2.95876 12.337 2.99039L12.0306 3.36378C12.0046 3.3954 11.9579 3.4 11.9263 3.37404C11.8947 3.34809 11.8901 3.30142 11.916 3.26979L12.2225 2.8964ZM3.81595 13.2566C3.84757 13.2825 3.89425 13.2779 3.9202 13.2463L4.22664 12.8729C4.2526 12.8413 4.248 12.7946 4.21638 12.7686C4.18475 12.7427 4.13808 12.7473 4.11212 12.7789L3.80568 13.1523C3.77973 13.1839 3.78433 13.2306 3.81595 13.2566ZM13.6282 11.6953C13.6623 11.718 13.6714 11.764 13.6487 11.798C13.626 11.832 13.58 11.8412 13.5459 11.8184L12.6088 11.1923C12.5748 11.1695 12.5656 11.1235 12.5884 11.0895C12.6111 11.0555 12.6571 11.0464 12.6911 11.0691L13.6282 11.6953ZM2.494 4.34468C2.47128 4.37869 2.48043 4.42469 2.51444 4.44742L3.45159 5.0736C3.4856 5.09633 3.5316 5.08718 3.55433 5.05317C3.57706 5.01915 3.56791 4.97315 3.53389 4.95042L2.59675 4.32424C2.56273 4.30151 2.51673 4.31066 2.494 4.34468ZM13.2463 12.2225C13.2779 12.2484 13.2825 12.2951 13.2566 12.3267C13.2306 12.3584 13.1839 12.363 13.1523 12.337L12.7789 12.0306C12.7473 12.0046 12.7427 11.9579 12.7686 11.9263C12.7946 11.8947 12.8413 11.8901 12.8729 11.916L13.2463 12.2225ZM2.88614 3.81595C2.86018 3.84757 2.86478 3.89425 2.8964 3.9202L3.26979 4.22664C3.30142 4.2526 3.34809 4.248 3.37404 4.21638C3.4 4.18475 3.3954 4.13808 3.36378 4.11212L2.99039 3.80568C2.95876 3.77973 2.91209 3.78433 2.88614 3.81595ZM14.5632 6.70452C14.6033 6.69654 14.6423 6.72259 14.6503 6.76272C14.6583 6.80284 14.6322 6.84184 14.5921 6.84982L13.4866 7.0697C13.4465 7.07768 13.4075 7.05162 13.3995 7.0115C13.3916 6.97137 13.4176 6.93238 13.4577 6.9244L14.5632 6.70452ZM1.49242 9.37997C1.5004 9.4201 1.5394 9.44615 1.57952 9.43817L2.68496 9.21829C2.72508 9.21031 2.75114 9.17131 2.74316 9.13119C2.73518 9.09107 2.69618 9.06501 2.65606 9.07299L1.55062 9.29287C1.5105 9.30085 1.48444 9.33985 1.49242 9.37997ZM14.6657 7.34742C14.7064 7.34333 14.7428 7.37301 14.7468 7.41372C14.7509 7.45442 14.7213 7.49074 14.6806 7.49483L14.1998 7.54313C14.1591 7.54722 14.1228 7.51754 14.1187 7.47683C14.1146 7.43613 14.1443 7.39982 14.185 7.39573L14.6657 7.34742ZM1.39584 8.72994C1.39993 8.77064 1.43625 8.80032 1.47695 8.79623L1.95766 8.74793C1.99836 8.74384 2.02804 8.70752 2.02395 8.66682C2.01986 8.62612 1.98355 8.59643 1.94284 8.60052L1.46214 8.64883C1.42143 8.65292 1.39175 8.68923 1.39584 8.72994ZM9.43817 14.5632C9.44615 14.6033 9.4201 14.6423 9.37997 14.6503C9.33985 14.6583 9.30085 14.6322 9.29287 14.5921L9.07299 13.4866C9.06501 13.4465 9.09107 13.4075 9.13119 13.3995C9.17131 13.3916 9.21031 13.4176 9.21829 13.4577L9.43817 14.5632ZM6.76272 1.49242C6.72259 1.5004 6.69654 1.5394 6.70452 1.57952L6.9244 2.68496C6.93238 2.72508 6.97137 2.75114 7.0115 2.74316C7.05162 2.73518 7.07768 2.69618 7.0697 2.65606L6.84982 1.55062C6.84184 1.5105 6.80284 1.48444 6.76272 1.49242ZM8.79623 14.6657C8.80032 14.7064 8.77064 14.7428 8.72994 14.7468C8.68923 14.7509 8.65292 14.7213 8.64883 14.6806L8.60052 14.1998C8.59643 14.1591 8.62612 14.1228 8.66682 14.1187C8.70752 14.1146 8.74384 14.1443 8.74793 14.185L8.79623 14.6657ZM7.41372 1.39584C7.37301 1.39993 7.34333 1.43625 7.34742 1.47695L7.39573 1.95766C7.39982 1.99836 7.43613 2.02804 7.47683 2.02395C7.51754 2.01986 7.54722 1.98355 7.54313 1.94284L7.49483 1.46214C7.49074 1.42143 7.45442 1.39175 7.41372 1.39584Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M3.14941 12.8505L7.29562 7.28674L7.99989 7.99218L3.14941 12.8505Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M7.28662 7.29574L12.8504 3.14954L7.99204 8.00002L7.28662 7.29574Z",fill:"#EE4444"}),a.createElement("path",{d:"M12.8505 3.14954L8.70427 8.71332L8 8.00789L12.8505 3.14954Z",fill:"#CC0000"}),a.createElement("path",{d:"M3.14941 12.8505L8.7132 8.70427L8.00777 8L3.14941 12.8505Z",fill:"#AAAAAA"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21186",x1:"0.300303",y1:"0.300951",x2:"0.300303",y2:"15.7084",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#F8F8F8"}),a.createElement("stop",{offset:"1",stopColor:"#CCCCCC"})),a.createElement("radialGradient",{id:"paint1_radial_466_21186",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00216 8.0046) scale(7.06173)"},a.createElement("stop",{stopColor:"#00F0FF"}),a.createElement("stop",{offset:"1",stopColor:"#0070E0"})))),j1={CHROME:a.createElement(Z7,{alt:"Chrome"}),FIREFOX:a.createElement(R7,{alt:"Firefox"}),SAFARI:a.createElement(B7,{alt:"Safari"}),EDGE:a.createElement(I7,{alt:"Edge"})},P7=w.div(({theme:e})=>({alignItems:"center",color:e.base==="light"?e.color.dark:e.color.light,display:"inline-flex",gap:6,height:16,margin:"6px 7px",svg:{verticalAlign:"top"}})),D1=w.span(({theme:e})=>({color:e.base==="light"?e.color.dark:e.color.light,display:"none",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,"@container (min-width: 300px)":{display:"inline-block"},"+ svg":{color:e.base==="light"?e.color.dark:e.color.light},"button:hover > &, button:hover > & + svg":{color:e.color.secondary}})),V7=({isAccepted:e,selectedBrowser:t,browserResults:n,onSelectBrowser:r})=>{en();let i=Pr(n.map(({result:s})=>s));if(!i)return null;let o=j1[t.key];!e&&i!=="EQUAL"&&n.length>=2&&(o=a.createElement(wr,{status:i},o));let l=n.length>1&&n.map(({browser:s,result:c})=>({active:t===s,id:s.id,onClick:()=>r(s),right:!e&&c!=="EQUAL"&&a.createElement(Ws,{status:c}),icon:j1[s.key],title:s.name}));return a.createElement(Oe,{key:t.key,hasChrome:!1,placement:"top",trigger:"hover",tooltip:a.createElement(je,{note:l?"Switch browser":`Tested in ${n[0].browser.name}`})},l?a.createElement(ka,{placement:"bottom",links:l},o,a.createElement(D1,null,t.name),a.createElement(ss,{size:10})):a.createElement(P7,null,o,a.createElement(D1,null,t.name)))},j7=w.div(({theme:e})=>({alignItems:"center",color:e.base==="light"?e.color.darkest:e.color.light,display:"inline-flex",gap:6,height:14,margin:"7px 7px",svg:{verticalAlign:"top",path:{fill:e.base==="light"?e.color.dark:e.color.light}}})),D7=w(ka)(({theme:e})=>({button:{svg:{verticalAlign:"top",path:{fill:e.base==="light"?e.color.dark:e.color.light}},"&:hover":{svg:{path:{fill:e.color.secondary}}}}})),H1=w.span(({theme:e})=>({color:e.base==="light"?e.color.dark:e.color.light,display:"none",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,"@container (min-width: 300px)":{display:"inline-block"},"button:hover > &":{color:e.color.secondary}})),H7=({isAccepted:e,modeOrder:t,modeResults:n,onSelectMode:r,selectedMode:i})=>{en();let o=Pr(n.map(({result:c})=>c));if(!o)return null;let l=a.createElement(_d,null);!e&&o!=="EQUAL"&&n.length>=2&&(l=a.createElement(wr,{status:o},l));let s=n.length>1&&n.map(({mode:c,result:d})=>({id:c.name,title:c.name,right:!e&&d!=="EQUAL"&&a.createElement(Ws,{status:d}),onClick:()=>r(c),active:i.name===c.name})).sort((c,d)=>{if(!t)return 0;let u=t.indexOf(c.title),m=t.indexOf(d.title);return u!==-1&&m!==-1?u-m:0});return a.createElement(Oe,{key:i.name,hasChrome:!1,placement:"top",trigger:"hover",tooltip:a.createElement(je,{note:s?"Switch mode":`View mode: ${n[0].mode.name}`})},s?a.createElement(D7,{placement:"bottom",links:s},l,a.createElement(H1,null,i.name),a.createElement(ss,{size:10})):a.createElement(j7,null,l,a.createElement(H1,null,i.name)))},z1=()=>{let e=fn(),{browserResults:t,modeResults:n}=e.summary;return a.createElement(Qr,null,n.length>0&&e.selectedTest&&a.createElement(H7,{isAccepted:e.summary.status==="ACCEPTED",modeOrder:e.modeOrder,selectedMode:e.selectedTest.mode,modeResults:n,onSelectMode:e.onSelectMode}),t.length>0&&e.selectedComparison&&a.createElement(V7,{isAccepted:e.summary.status==="ACCEPTED",selectedBrowser:e.selectedComparison.browser,browserResults:t,onSelectBrowser:e.onSelectBrowser}),a.createElement(st,{push:!0},a.createElement(Yr,null)))},z7=({theme:e,status:t,variant:n})=>n==="outline"?{color:e.base==="light"?e.color.dark:e.color.medium,backgroundColor:e.background.app,borderColor:e.base==="light"?e.color.medium:e.color.darker,"&:hover":{color:e.base==="light"?e.color.darkest:e.color.lighter,backgroundColor:nn(.03,e.background.app)}}:t==="positive"?{color:e.color.positiveText,backgroundColor:e.background.positive,borderColor:cr(.5,e.color.positiveText),"&:hover":{color:e.color.positiveText,backgroundColor:nn(.05,e.background.positive)}}:t==="warning"?{color:e.color.warningText,backgroundColor:e.background.warning,borderColor:cr(.5,e.color.warningText),"&:hover":{color:e.color.warningText,backgroundColor:nn(.05,e.background.warning)}}:{color:e.color.lightest,backgroundColor:e.color.secondary,borderWidth:0,borderColor:e.base==="light"?cr(.2,e.color.secondary):nn(.1,e.color.secondary),"&:hover":{color:e.color.lightest,backgroundColor:nn(.05,e.color.secondary)}},xn=w(lt)(({square:e})=>({border:"1px solid transparent",boxShadow:"none",fontSize:12,fontWeight:700,height:28,padding:e?"8px 6px":8,transition:"background-color 150ms ease-out","@container (min-width: 300px)":{height:32,width:e?32:"auto",padding:e?"9px 8px":9},"@container (min-width: 800px)":{height:28,fontSize:12,width:e?28:"auto",padding:e?"8px 6px":8}}),z7,({side:e})=>({...e==="left"&&{borderRightWidth:1,borderTopRightRadius:0,borderBottomRightRadius:0},...e==="right"&&{borderLeftWidth:0,borderTopLeftRadius:0,borderBottomLeftRadius:0}})),U1=w.div({display:"flex",flexDirection:"row"}),Vr=w.div(({theme:e})=>({width:12,height:12,margin:"3px 6px",verticalAlign:"top",display:"inline-block",animation:`${Hs} 0.7s linear infinite`,border:"2px solid transparent",borderLeftColor:e.base==="light"?"#00aaff":"#58faf9",borderBottomColor:"#25ccfd",borderRightColor:e.base==="light"?"#58faf9":"#00aaff",borderRadius:"100%",transform:"translate3d(0, 0, 0)"}),({parentComponent:e})=>e&&he({margin:e==="IconButton"?1:0,borderWidth:1,borderLeftColor:"currentcolor",borderBottomColor:"currentcolor",borderRightColor:"currentcolor"})),Ri=w.div(({theme:e,width:t=14,height:n=14,marginLeft:r=7,marginRight:i=8})=>({display:"inline-block",backgroundColor:e.appBorderColor,borderRadius:3,animation:`${e.animation.glow} 1.5s ease-in-out infinite`,height:n,width:t,margin:7,marginLeft:r,marginRight:i})),U7=w.div(({theme:e})=>({gridArea:"label",margin:"8px 15px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:6,span:{display:"none","@container (min-width: 300px)":{display:"initial"}},"@container (min-width: 800px)":{borderLeft:`1px solid ${e.appBorderColor}`,paddingLeft:10,marginLeft:0}})),$1=w.div({gridArea:"controls",margin:"6px 15px",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:6,"@container (min-width: 800px)":{margin:8}}),$7=w.div(({theme:e})=>({padding:9,"> svg":{display:"block"},path:{fill:e.color.mediumdark}})),W7=w.div(({theme:e,showDivider:t})=>({gridArea:"actions",display:"flex",alignItems:"center",justifyContent:"flex-end",margin:"0px 15px",gap:6,"@container (min-width: 300px)":{alignItems:"flex-start",margin:"15px 15px 15px 0px"},"@container (min-width: 800px)":{alignItems:"center",borderLeft:t?`1px solid ${e.appBorderColor}`:"none",margin:"8px 15px 8px 0px",paddingLeft:8}})),q7=({isOutdated:e})=>{let{baselineImageVisible:t,diffVisible:n,focusVisible:r}=Gr(),{toggleBaselineImage:i,toggleDiff:o,toggleFocus:l}=jn(),{isRunning:s,startBuild:c}=Ia(),{selectedTest:d,selectedComparison:u,summary:m}=fn(),{changeCount:p,isInProgress:g}=m,{isReviewing:f,buildIsReviewable:y,userCanReview:k,acceptTest:b,unacceptTest:h}=sc();if(g)return a.createElement($1,null,a.createElement(Ri,null),a.createElement(Ri,null),a.createElement(Ri,null));let v=p>0&&d?.status!=="ACCEPTED",E=p>0&&d?.status==="ACCEPTED",S=u?.result==="CHANGED";return a.createElement(a.Fragment,null,S&&a.createElement(U7,null,a.createElement(q,null,a.createElement("b",null,t?"Baseline":"Latest",a.createElement("span",null," snapshot")))),S&&a.createElement($1,null,a.createElement(Oe,{tooltip:a.createElement(je,{note:t?"Show latest snapshot":"Show baseline snapshot"}),trigger:"hover",hasChrome:!1},a.createElement(lt,{id:"button-toggle-snapshot","aria-label":t?"Show latest snapshot":"Show baseline snapshot",onClick:()=>i()},a.createElement(Pd,null))),a.createElement(Oe,{tooltip:a.createElement(je,{note:r?"Hide spotlight":"Show spotlight"}),trigger:"hover",hasChrome:!1},a.createElement(lt,{id:"button-toggle-spotlight",active:r,"aria-label":r?"Hide spotlight":"Show spotlight",onClick:()=>l(!r)},a.createElement(jd,null))),a.createElement(Oe,{tooltip:a.createElement(je,{note:n?"Hide diff":"Show diff"}),trigger:"hover",hasChrome:!1},a.createElement(lt,{id:"button-diff-visible",active:n,"aria-label":n?"Hide diff":"Show diff",onClick:()=>o(!n)},a.createElement(as,null)))),(v||E)&&a.createElement(W7,{showDivider:S},k&&y&&v&&d&&a.createElement(U1,null,a.createElement(Oe,{tooltip:a.createElement(je,{note:"Accept this story"}),trigger:"hover",hasChrome:!1},a.createElement(xn,{id:"button-toggle-accept-story",disabled:f,"aria-label":"Accept this story",onClick:()=>b(d.id,"SPEC"),side:"left"},"Accept")),a.createElement(Oe,{tooltip:a.createElement(je,{note:"Batch accept options"}),trigger:"hover",hasChrome:!1},a.createElement(ka,{placement:"bottom",links:[{id:"acceptComponent",title:"Accept component",center:"Accept all unreviewed changes for this component",onClick:()=>b(d.id,"COMPONENT"),disabled:f,loading:f},{id:"acceptBuild",title:"Accept entire build",center:"Accept all unreviewed changes for every story in the Storybook",onClick:()=>b(d.id,"BUILD"),disabled:f,loading:f}]},B=>a.createElement(xn,{square:!0,active:B,disabled:f,"aria-label":"Batch accept options",side:"right"},f?a.createElement(Vr,{parentComponent:"IconButton"}):a.createElement(bl,null))))),k&&y&&E&&a.createElement(U1,null,a.createElement(Oe,{tooltip:a.createElement(je,{note:"Unaccept this story"}),trigger:"hover",hasChrome:!1},a.createElement(xn,{id:"button-toggle-accept-story",disabled:f,"aria-label":"Unaccept this story",onClick:()=>h(d.id,"SPEC"),side:"left",status:"positive"},a.createElement(Vd,null),"Unaccept")),a.createElement(Oe,{tooltip:a.createElement(je,{note:"Batch unaccept options"}),trigger:"hover",hasChrome:!1},a.createElement(ka,{placement:"bottom",links:[{id:"unacceptComponent",title:"Unaccept component",center:"Unaccept all unreviewed changes for this component",onClick:()=>h(d.id,"COMPONENT"),disabled:f,loading:f},{id:"unacceptBuild",title:"Unaccept entire build",center:"Unaccept all unreviewed changes for every story in the Storybook",onClick:()=>h(d.id,"BUILD"),disabled:f,loading:f}]},B=>a.createElement(xn,{square:!0,active:B,disabled:f,"aria-label":"Batch unaccept options",side:"right",status:"positive"},f?a.createElement(Vr,{parentComponent:"IconButton"}):a.createElement(bl,null))))),!(k&&y)&&a.createElement(Oe,{tooltip:a.createElement(je,{note:"Reviewing disabled"}),trigger:"hover",hasChrome:!1},a.createElement($7,null,a.createElement(is,null))),a.createElement(Oe,{tooltip:a.createElement(je,{note:e?"Run new tests":"Rerun tests"}),trigger:"hover",hasChrome:!1},a.createElement(xn,{square:!0,"aria-label":e?"Run new tests":"Rerun tests",onClick:c,disabled:s,variant:"outline"},e?a.createElement(Wt,null):a.createElement(cs,null)))))},lr=ft(Dr()),G7=e=>a.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:"3px 6px",verticalAlign:"top"},...e},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0C9.31371 0 12 2.68629 12 6ZM5.57143 6.85714C5.57143 7.09384 5.76331 7.28571 6 7.28571C6.23669 7.28571 6.42857 7.09384 6.42857 6.85714L6.42857 3.42857C6.42857 3.19188 6.23669 3 6 3C5.76331 3 5.57143 3.19188 5.57143 3.42857V6.85714ZM5.35714 8.78572C5.35714 8.43067 5.64496 8.14286 6 8.14286C6.35504 8.14286 6.64286 8.43067 6.64286 8.78571C6.64286 9.14075 6.35504 9.42857 6 9.42857C5.64496 9.42857 5.35714 9.14075 5.35714 8.78572Z",fill:"#73828C"})),Bi={width:12,height:12,margin:"3px 3px 3px 6px",verticalAlign:"top"},Y7=({icon:e})=>{let{color:t}=en();return{passed:a.createElement(Di,{style:{...Bi,color:t.positive}}),changed:a.createElement(Ad,{style:{...Bi,color:t.warning}}),failed:a.createElement(qt,{style:{...Bi,color:t.negative}})}[e]};function Eo(e){"@babel/helpers - typeof";return Eo=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},Eo(e)}function ii(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Mn(e){ii(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Eo(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}var Q7={};function K7(){return Q7}function W1(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function J7(e,t){ii(2,arguments);var n=Mn(e),r=Mn(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var X7={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},e6=function(e,t,n){var r,i=X7[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},t6=e6;function Pi(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var n6={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},a6={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},r6={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},i6={date:Pi({formats:n6,defaultWidth:"full"}),time:Pi({formats:a6,defaultWidth:"full"}),dateTime:Pi({formats:r6,defaultWidth:"full"})},o6=i6,l6={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},s6=function(e,t,n,r){return l6[e]},c6=s6;function sa(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):o;i=e.formattingValues[l]||e.formattingValues[o]}else{var s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[s]}var d=e.argumentCallback?e.argumentCallback(t):t;return i[d]}}var d6={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},u6={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},m6={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},p6={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},h6={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},f6={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},g6=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},v6={ordinalNumber:g6,era:sa({values:d6,defaultWidth:"wide"}),quarter:sa({values:u6,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:sa({values:m6,defaultWidth:"wide"}),day:sa({values:p6,defaultWidth:"wide"}),dayPeriod:sa({values:h6,defaultWidth:"wide",formattingValues:f6,defaultFormattingWidth:"wide"})},y6=v6;function ca(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;var l=o[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?E6(s,function(m){return m.test(l)}):b6(s,function(m){return m.test(l)}),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;var u=t.slice(l.length);return{value:d,rest:u}}}function b6(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function E6(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var l=e.valueCallback?e.valueCallback(o[0]):o[0];l=n.valueCallback?n.valueCallback(l):l;var s=t.slice(i.length);return{value:l,rest:s}}}var w6=/^(\d+)(th|st|nd|rd)?/i,C6=/\d+/i,S6={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},x6={any:[/^b/i,/^(a|c)/i]},M6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},N6={any:[/1/i,/2/i,/3/i,/4/i]},F6={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},A6={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},O6={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},L6={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},T6={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_6={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Z6={ordinalNumber:k6({matchPattern:w6,parsePattern:C6,valueCallback:function(e){return parseInt(e,10)}}),era:ca({matchPatterns:S6,defaultMatchWidth:"wide",parsePatterns:x6,defaultParseWidth:"any"}),quarter:ca({matchPatterns:M6,defaultMatchWidth:"wide",parsePatterns:N6,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ca({matchPatterns:F6,defaultMatchWidth:"wide",parsePatterns:A6,defaultParseWidth:"any"}),day:ca({matchPatterns:O6,defaultMatchWidth:"wide",parsePatterns:L6,defaultParseWidth:"any"}),dayPeriod:ca({matchPatterns:T6,defaultMatchWidth:"any",parsePatterns:_6,defaultParseWidth:"any"})},I6=Z6,R6={code:"en-US",formatDistance:t6,formatLong:o6,formatRelative:c6,localize:y6,match:I6,options:{weekStartsOn:0,firstWeekContainsDate:1}},cc=R6,B6=cc;function dc(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function P6(e){return dc({},e)}var q1=1e3*60,jr=60*24,G1=jr*30,Y1=jr*365;function V6(e,t,n){var r,i,o;ii(2,arguments);var l=K7(),s=(r=(i=n?.locale)!==null&&i!==void 0?i:l.locale)!==null&&r!==void 0?r:B6;if(!s.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var c=J7(e,t);if(isNaN(c))throw new RangeError("Invalid time value");var d=dc(P6(n),{addSuffix:!!n?.addSuffix,comparison:c}),u,m;c>0?(u=Mn(t),m=Mn(e)):(u=Mn(e),m=Mn(t));var p=String((o=n?.roundingMethod)!==null&&o!==void 0?o:"round"),g;if(p==="floor")g=Math.floor;else if(p==="ceil")g=Math.ceil;else if(p==="round")g=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var f=m.getTime()-u.getTime(),y=f/q1,k=W1(m)-W1(u),b=(f-k)/q1,h=n?.unit,v;if(h?v=String(h):y<1?v="second":y<60?v="minute":y0?`in ${r}`:`${r} ago`:r}var z6=e=>j6(e,{addSuffix:!0,locale:{...cc,formatDistance:H6}}),da=w.div(({theme:e})=>({gridArea:"info",display:"flex",justifySelf:"start",justifyContent:"center",flexDirection:"column",margin:15,lineHeight:"18px",color:e.base==="light"?`${e.color.defaultText}99`:`${e.color.light}99`,b:{color:e.base==="light"?`${e.color.defaultText}`:`${e.color.light}`},small:{fontSize:e.typography.size.s1},"@container (min-width: 800px)":{margin:"6px 10px 6px 15px",alignItems:"center",flexDirection:"row",small:{fontSize:"inherit"},"[data-hidden-large]":{display:"none"},"& > span:first-of-type":{display:"inline-flex",alignItems:"center",height:24,marginRight:6}}})),U6=w.div({gridArea:"actions",display:"flex",justifySelf:"end",justifyContent:"center",alignItems:"start",margin:15,"@container (min-width: 800px)":{margin:"6px 15px 0 0"}}),$6=({isStarting:e,tests:t,startedAt:n,isBuildFailed:r,isOutdated:i,shouldSwitchToLastBuildOnBranch:o,switchToLastBuildOnBranch:l})=>{let{isRunning:s,startBuild:c}=Ia(),{status:d,isInProgress:u,changeCount:m,brokenCount:p,modeResults:g,browserResults:f}=Yo(t??[]),y=!e&&n&&z6(new Date(n).getTime()),k=e||u,b=r||d==="FAILED",h=b||d==="BROKEN",v=(h||i)&&!k&&!m,E;return i?E=a.createElement(da,null,a.createElement("span",null,a.createElement("b",null,"Code edits detected")),a.createElement("small",null,a.createElement("span",null,"Run tests to see what changed"))):b?E=a.createElement(da,null,a.createElement("span",null,a.createElement("b",null,"Build failed"),a.createElement(G7,null)),a.createElement("small",null,a.createElement("span",null,"An infrastructure error occured"))):k?E=a.createElement(da,null,a.createElement("span",null,a.createElement("b",null,"Running tests..."),a.createElement(Vr,null)),a.createElement("small",null,a.createElement("span",null,"Test in progress..."))):o?E=a.createElement(da,null,a.createElement("span",null,a.createElement("b",null,a.createElement(bn,{isButton:!0,onClick:l},"View latest snapshot"))),a.createElement("span",null,"Newer test results are available for this story")):E=a.createElement(da,null,a.createElement("span",null,a.createElement("b",null,p?null:m?`${(0,lr.default)("change",m,!0)}${d==="ACCEPTED"?" accepted":""}`:"No changes",p?(0,lr.default)("error",p,!0):null),a.createElement(Y7,{icon:p?"failed":d==="PENDING"?"changed":"passed"})),a.createElement("small",null,g.length>0&&a.createElement("span",{"data-hidden-large":!0},(0,lr.default)("mode",g.length,!0),", ",(0,lr.default)("browser",f.length,!0)),g.length>0&&a.createElement("span",{"data-hidden-large":!0}," \u2022 "),u&&a.createElement("span",null,"Test in progress..."),!u&&n&&a.createElement("span",{title:new Date(n).toUTCString()},"Ran ",y))),a.createElement(a.Fragment,null,E,v&&a.createElement(U6,null,a.createElement(xn,{onClick:c,disabled:s},s?a.createElement(Vr,{parentComponent:"Button"}):a.createElement(Wt,null),h?"Rerun tests":"Run tests")))},Q1=w.div(({theme:e})=>({display:"grid",gridTemplateAreas:` + "info info" + "actions actions" + "label controls" + `,gridTemplateColumns:"1fr fit-content(50%)",gridTemplateRows:"auto auto auto",borderBottom:`1px solid ${e.appBorderColor}`,"@container (min-width: 300px)":{gridTemplateAreas:` + "info actions" + "label controls" + `,gridTemplateColumns:"1fr auto",gridTemplateRows:"auto auto"},"@container (min-width: 800px)":{gridTemplateAreas:'"info label controls actions"',gridTemplateColumns:"auto 1fr auto auto",gridTemplateRows:40}})),K1=w.div(({theme:e})=>({display:"grid",gridTemplateAreas:` + "header" + "main" + "footer" + `,gridTemplateColumns:"1fr",gridTemplateRows:"auto 1fr auto",height:"100%","&[hidden]":{display:"none"}})),J1=w.div(({theme:e})=>({gridArea:"header",position:"sticky",zIndex:1,top:0,background:e.background.content,"@container (min-width: 800px)":{background:e.background.app}})),W6=w.div(({theme:e})=>({gridArea:"main",overflowY:"auto",maxHeight:"100%",background:e.background.content})),X1=w.div(({theme:e})=>({gridArea:"footer",position:"sticky",zIndex:1,bottom:0})),q6=w.div(({children:e,theme:t})=>({display:"flex",alignItems:"center",border:`0px solid ${t.appBorderColor}`,borderTopWidth:1,borderBottomWidth:e?1:0,height:e?40:0,padding:e?"0 15px":0})),G6=w.div(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,color:e.color.defaultText,lineHeight:"18px",padding:15,whiteSpace:"pre-wrap",wordBreak:"break-word"})),Vi=w.div(({theme:e})=>({background:e.background.hoverable,padding:"10px 15px",lineHeight:"18px",position:"relative",borderBottom:`1px solid ${e.appBorderColor}`})),Y6=({isOutdated:e,isStarting:t,isBuildFailed:n,shouldSwitchToLastBuildOnBranch:r,switchToLastBuildOnBranch:i,hidden:o,storyId:l})=>{let{baselineImageVisible:s,diffVisible:c,focusVisible:d}=Gr(),{toggleBaselineImage:u,toggleSettings:m,toggleWarnings:p}=jn(),g=rc(),f="startedAt"in g&&g.startedAt,y=fn(),{tests:k}=y,b=a.useRef(l),h=a.useRef(y.selectedComparison?.id),v=a.useRef(g.id),{selectedTest:E,selectedComparison:S}=y,B=k.every(({result:xe,status:Ge})=>xe==="ADDED"&&Ge!=="ACCEPTED"),j=!B&&E?.result==="ADDED"&&E?.status!=="ACCEPTED",Y=!B&&S?.result==="ADDED"&&E?.result!=="ADDED"&&E?.status!=="ACCEPTED";oe(()=>{(b.current!==l||h.current!==y.selectedComparison?.id||v.current!==g.id||B||j||Y)&&(u(!1),m(!1),p(!1)),h.current=y.selectedComparison?.id,b.current=l,v.current=g.id},[g.id,l,y,u,m,p,B,j,Y]);let J=a.createElement($6,{tests:k,startedAt:f,isStarting:t,isBuildFailed:n,isOutdated:e,shouldSwitchToLastBuildOnBranch:r,switchToLastBuildOnBranch:i});if(t||!k.length)return a.createElement(K1,{hidden:o},a.createElement(J1,null,a.createElement(Q1,null,J)),a.createElement(X1,null,a.createElement(z1,null)));let ce=Yo(k),{isInProgress:Se}=ce,Ae=S?.headCapture?.captureError&&"error"in S?.headCapture?.captureError&&S?.headCapture?.captureError?.error;return a.createElement(K1,{hidden:o},a.createElement(J1,null,a.createElement(Q1,null,J,a.createElement(q7,{isOutdated:e}))),a.createElement(W6,null,Se&&a.createElement(hi,null),!Se&&B&&a.createElement(Vi,null,a.createElement(q,null,"New story found. Accept this snapshot as a test baseline."," ",a.createElement($e,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!Se&&j&&a.createElement(Vi,null,a.createElement(q,null,"New mode found. Accept this snapshot as a test baseline."," ",a.createElement($e,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!Se&&Y&&a.createElement(Vi,null,a.createElement(q,null,"New browser found. Accept this snapshot as a test baseline."," ",a.createElement($e,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!Se&&S&&a.createElement(_7,{key:S.id,componentName:E?.story?.component?.name,storyName:E?.story?.name,testUrl:E?.webUrl,comparisonResult:S.result??void 0,latestImage:S.headCapture?.captureImage??void 0,baselineImage:S.baseCapture?.captureImage??void 0,baselineImageVisible:s,diffImage:S.captureDiff?.diffImage??void 0,focusImage:S.captureDiff?.focusImage??void 0,diffVisible:c,focusVisible:d}),!Se&&Ae&&a.createElement(a.Fragment,null,a.createElement(q6,null,a.createElement("b",null,"Error stack trace")),a.createElement(G6,null,Ae.stack||Ae.message))),a.createElement(X1,null,a.createElement(z1,null)))},Q6=w(mi)({padding:"4px 8px",margin:"0 6px"}),K6=({onClose:e})=>a.createElement(a0,null,a.createElement(lo,null,a.createElement(Cr,null,"Warnings",a.createElement(Q6,{status:"warning"},"2"),a.createElement(Vo,{onClick:e},a.createElement(Po,{"aria-label":"Close"}))),a.createElement("p",null,"It's essential that your components and stories render in a consistent fashion to prevent false positives. Two issues detected in this story may cause false positives."),a.createElement("p",null,a.createElement(ue,{variant:"outline"},a.createElement(rs,null),"Docs"),a.createElement(ue,{variant:"outline"},a.createElement(Ld,null),"Get support"))));w.div(({theme:e})=>({color:e.color.warning,background:e.background.warning,padding:10,lineHeight:"18px",position:"relative"}));var J6=({branch:e,dismissBuildError:t,isOutdated:n,localBuildProgress:r,switchToLastBuildOnBranch:i,storyId:o})=>{let{settingsVisible:l,warningsVisible:s}=Gr(),{toggleSettings:c,toggleWarnings:d}=jn(),{isRunning:u,startBuild:m,stopBuild:p}=Ia(),{lastBuildOnBranch:g,lastBuildOnBranchIsReady:f,lastBuildOnBranchIsSelectable:y}=Hh(),k=rc(),b=fn(),{buildIsReviewable:h,userCanReview:v}=sc(),E=!!(!h&&f&&y&&i),S=g?.status==="IN_PROGRESS",B=u||!h&&!E,j=r&&r?.buildId===g?.id,Y=B&&a.createElement(N7,{branch:e,dismissBuildError:t,localBuildProgress:j||u?r:void 0,lastBuildOnBranchInProgress:S,switchToLastBuildOnBranch:i}),J=b?.hasTests&&b?.tests.length===0,ce=k.id!==`Build:${r?.buildId}`;if(J)return a.createElement(Ne,null,a.createElement(ye,null,r&&ce?a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Snapshotting new story"),a.createElement(q,{center:!0,muted:!0},'A new snapshot is being created in a standardized cloud browser to save its "last known good state" as a test baseline.')),a.createElement(ri,{localBuildProgress:r})):a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"New story found"),a.createElement(q,{center:!0,muted:!0},'Take an image snapshot of this story to save its "last known good state" as a test baseline. This unlocks visual regression testing so you can see exactly what has changed down to the pixel.')),a.createElement(ue,{belowText:!0,size:"medium",variant:"solid",onClick:u?p:m},u?"Cancel build":"Create visual test"))));if(b?.tests?.find(pe=>pe.result==="SKIPPED"))return a.createElement(Ne,null,Y,a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"This story was skipped"),a.createElement(q,{center:!0,muted:!0},"If you would like to resume testing it, comment out or remove",a.createElement(He,null,"disableSnapshot = true")," from the CSF file.")),a.createElement(ue,{asChild:!0,size:"medium",variant:"outline"},a.createElement("a",{href:"https://www.chromatic.com/docs/ignoring-elements#ignore-stories",target:"_new"},a.createElement(rs,null),"View docs")))));let{status:Se}=k,Ae=["ANNOUNCED","PUBLISHED","PREPARED"].includes(Se),xe=Se==="FAILED",Ge=Se==="PENDING"&&(!v||!h);return a.createElement(Ne,{footer:null},a.createElement(xm,null,Y,!Y&&Ge&&a.createElement(E7,null,v?a.createElement(a.Fragment,null,"Reviewing is disabled because there's a newer build on ",a.createElement(He,null,e),"."):a.createElement(a.Fragment,null,"You don't have permission to accept changes."," ",a.createElement(bn,{href:"https://www.chromatic.com/docs/collaborators#roles",target:"_blank",withArrow:!0},"Learn about roles"))),a.createElement(fa,{grow:!0,hidden:l||s},a.createElement(Y6,{hidden:l||s,isOutdated:n,isStarting:Ae,isBuildFailed:xe,shouldSwitchToLastBuildOnBranch:E,switchToLastBuildOnBranch:i,selectedBuild:k,storyId:o})),a.createElement(fa,{grow:!0,hidden:!l},a.createElement(F7,{onClose:()=>c(!1)})),a.createElement(fa,{grow:!0,hidden:!s},a.createElement(K6,{onClose:()=>d(!1)}))))},ji=w($e)(()=>({marginTop:5})),X6=({queryError:e,hasData:t,hasProject:n,hasSelectedBuild:r,localBuildProgress:i,branch:o})=>{let{setAccessToken:l}=Ys(),{isRunning:s,startBuild:c}=Ia(),{disable:d,disableSnapshot:u,docsOnly:m}=ol("chromatic",{}),p=()=>{let g=a.createElement(ue,{disabled:s,size:"medium",variant:"solid",onClick:c},a.createElement(Wt,null),"Take snapshots");return i?i.currentStep==="error"?a.createElement(a.Fragment,null,a.createElement(ic,{localBuildProgress:i,title:"Build failed"}),g):a.createElement(ri,{localBuildProgress:i}):g};return a.createElement(Ne,{footer:a.createElement(Qr,null,a.createElement(st,null,t&&!e&&n&&a.createElement(q,{muted:!0,style:{marginLeft:5}},"Waiting for build on ",o)),a.createElement(st,{push:!0},a.createElement(Yr,null)))},e?.networkError?a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Network error"),a.createElement(q,null,e.networkError.message)),a.createElement(ue,{size:"medium",variant:"solid",onClick:()=>l(null)},"Log out"))):e?.graphQLErrors?.length?a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,e.graphQLErrors[0].message),a.createElement(q,{center:!0,muted:!0},e.graphQLErrors[0].extensions.code==="FORBIDDEN"?"You may have insufficient permissions. Try logging out and back in again.":"Try logging out or clear your browser's local storage.")),a.createElement(Ft,null,a.createElement(ue,{size:"medium",variant:"solid",onClick:()=>l(null)},"Log out"),a.createElement(ji,{withArrow:!0,href:`${fs}#troubleshooting`,target:"_blank"},"Troubleshoot")))):t?n?d||u||m?a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Visual Tests disabled for this story"),a.createElement(q,{center:!0,muted:!0},"Update ",a.createElement("code",null,"parameters.chromatic.",d?"disable":u?"disableSnapshot":"docsOnly")," to enable snapshots for this story.")),a.createElement(ji,{withArrow:!0,href:"https://www.chromatic.com/docs/ignoring-elements/#ignore-stories",target:"_blank"},"Read more"))):r?null:a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Create a test baseline"),a.createElement(q,{center:!0,muted:!0},'Take an image snapshot of your stories to save their "last known good state" as test baselines.')),p())):a.createElement(ye,null,a.createElement(de,null,a.createElement("div",null,a.createElement(fe,null,"Project not found"),a.createElement(q,{center:!0,muted:!0},"You may not have access to this project or it may not exist.")),a.createElement(ji,{isButton:!0,onClick:()=>l(null),withArrow:!0},"Switch account"))):a.createElement(hi,null))},ef=e=>Object.fromEntries(Object.entries(e).map(([t])=>[t,null])),tf=({buildIsReviewable:e,userCanReview:t,onReviewSuccess:n,onReviewError:r})=>{let[{fetching:i},o]=Ns(jh),l=W(async d=>{try{if(!e)throw new Error("Build is not reviewable");if(!t)throw new Error("No permission to review tests");let{error:u}=await o({input:d});if(u)throw u;n?.(d)}catch(u){r?.(u,d)}},[n,r,o,e,t]),s=W((d,u="SPEC")=>l({status:"ACCEPTED",testId:d,batch:u}),[l]),c=W((d,u="SPEC")=>l({status:"PENDING",testId:d,batch:u}),[l]);return{isReviewing:i,acceptTest:s,unacceptTest:c,buildIsReviewable:e,userCanReview:t}},nf=vt(` + mutation UpdateUserPreferences($input: UserPreferencesInput!) { + updateUserPreferences(input: $input) { + updatedPreferences { + vtaOnboarding + } + } + } +`),af=({lastBuildOnBranch:e,vtaOnboarding:t})=>{let n=vn(),{notifications:r,storyId:i}=yn(),[o,l]=a.useState(!1),s=a.useCallback(()=>{l(!0),r.forEach(({id:h})=>n.clearNotification(h))},[n,r]),[c,d]=a.useState(!1),u=a.useCallback(()=>d(!0),[]),[m,p]=a.useState(!0);a.useEffect(()=>{if(n?.getUrlState?.().queryParams.vtaOnboarding==="true"){p(!1);return}t&&p(t==="COMPLETED"||t==="DISMISSED")},[n,t]);let[{fetching:g},f]=Ns(nf),y=a.useCallback(async h=>{await f({input:{vtaOnboarding:h?"COMPLETED":"DISMISSED"}}),p(!0),d(!1);let E=new URL(window.location.href);E.searchParams.has("vtaOnboarding")&&(E.searchParams.delete("vtaOnboarding"),window.history.replaceState({},"",E.href))},[f]),k=a.useMemo(()=>(e&&"testsForStatus"in e&&e.testsForStatus?.nodes&&Fn(nc,e.testsForStatus.nodes)||[]).some(h=>h?.status==="PENDING"&&h?.result==="CHANGED"&&h?.story?.storyId===i),[e,i]),b=!o&&!m&&!c;return{showOnboarding:b,showGuidedTour:!b&&!m,completeOnboarding:s,skipOnboarding:a.useCallback(()=>y(!1),[y]),completeWalkthrough:a.useCallback(()=>y(!0),[y]),skipWalkthrough:a.useCallback(()=>y(!1),[y]),startWalkthrough:u,lastBuildHasChangesForStory:k,isUpdating:g}},rf=({isOutdated:e,selectedBuildInfo:t,setSelectedBuildInfo:n,dismissBuildError:r,localBuildProgress:i,setOutdated:o,updateBuildStatus:l,projectId:s,gitInfo:c,storyId:d})=>{let u=vn(),{addNotification:m,setOptions:p,togglePanel:g}=u,f=Dh({projectId:s,storyId:d,gitInfo:c,selectedBuildInfo:t}),{account:y,features:k,manageUrl:b,hasData:h,hasProject:v,hasSelectedBuild:E,lastBuildOnBranch:S,lastBuildOnBranchIsReady:B,lastBuildOnBranchIsSelectable:j,selectedBuild:Y,selectedBuildMatchesGit:J,queryError:ce,rerunQuery:Se,userCanReview:Ae}=f,xe=W(({onDismiss:C})=>{C(),p({selectedPanel:Vn}),g(!0)},[p,g]),Ge=tf({buildIsReviewable:!!Y&&Y.id===S?.id,userCanReview:Ae,onReviewSuccess:Se,onReviewError:(C,M)=>{C instanceof Error&&m({id:`${z}/errorAccepting/${Date.now()}`,content:{headline:`Failed to ${M.status==="ACCEPTED"?"accept":"unaccept"} changes`,subHeadline:C.message},icon:a.createElement(qt,{color:Lt.negative}),duration:8e3,onClick:xe})}});oe(()=>o(!J),[J,o]);let pe=S&&"testsForStatus"in S&&S.testsForStatus?.nodes&&Fn(nc,S.testsForStatus.nodes),Ke=j&&dp(u,pe||[]);oe(()=>{l(C=>({...ef(C),...Ke}))},[JSON.stringify(Ke),l]),oe(()=>{n(C=>up(C,{shouldSwitchToLastBuildOnBranch:j&&B,lastBuildOnBranchId:S?.id,storyId:d}))},[j,B,S?.id,n,d]);let Ie=W(()=>S?.id&&j&&n({buildId:S.id,storyId:d}),[n,j,S?.id,d]),{showOnboarding:Bt,showGuidedTour:Te,completeOnboarding:Pt,completeWalkthrough:Kt,skipOnboarding:oi,skipWalkthrough:Un,startWalkthrough:$n,lastBuildHasChangesForStory:za}=af(f);return k&&!k.uiTests?a.createElement(mp,{manageUrl:b}):y?.suspensionReason?a.createElement(k0,{billingUrl:y.billingUrl,suspensionReason:y.suspensionReason}):Bt&&v?a.createElement(a.Fragment,null,!h||ce?a.createElement(a.Fragment,null):a.createElement(Ii,{watchState:f},a.createElement(b7,{gitInfo:c,projectId:s,updateBuildStatus:l,dismissBuildError:r,localBuildProgress:i,showInitialBuildScreen:!Y,onComplete:Pt,onSkip:oi,lastBuildHasChangesForStory:za}))):a.createElement(a.Fragment,null,!Y||!E||!h||ce?a.createElement(X6,{queryError:ce,hasData:h,hasProject:v,hasSelectedBuild:E,branch:c.branch,dismissBuildError:r,isOutdated:e,localBuildProgress:i,...j&&{switchToLastBuildOnBranch:Ie}}):a.createElement(A7,{watchState:Ge},a.createElement(Ii,{watchState:f},a.createElement(J6,{branch:c.branch,dismissBuildError:r,isOutdated:e,localBuildProgress:i,...S&&{lastBuildOnBranch:S},...j&&{switchToLastBuildOnBranch:Ie},userCanReview:Ae,storyId:d}))),Te&&a.createElement(Ii,{watchState:{selectedBuild:Y}},a.createElement(Xh,{managerApi:u,skipWalkthrough:Un,startWalkthrough:$n,completeWalkthrough:Kt})))},of=e=>{let[t,n]=it("selectedBuildInfo");return a.createElement(rf,{selectedBuildInfo:t,setSelectedBuildInfo:n,...e})},wn=new Map,lf=()=>{let e=qa({[n5]:t=>{let n=wn.get(t.requestId);if(n)if(wn.delete(t.requestId),"error"in t)n.reject(new Error(t.error));else{let{body:r,headers:i,status:o,statusText:l}=t.response,s=new Response(r,{headers:i,status:o,statusText:l});n.resolve(s)}}});return async(t,{signal:n,...r}={})=>{if(n?.aborted)return Promise.reject(n.reason);let i=Math.random().toString(36).slice(2);return n?.addEventListener("abort",()=>{e(e5,{requestId:i}),wn.get(i)?.reject(n.reason),wn.delete(i)}),e(t5,{requestId:i,input:t,init:r}),new Promise((o,l)=>{wn.set(i,{resolve:o,reject:l}),setTimeout(()=>{l(new Error("Request timed out")),wn.delete(i)},3e4)})}},sf=({active:e,api:t})=>{let[n,r]=Fs(),i=W(Te=>{r(Te),Te||nm("authenticationScreen","exchangeParameters")},[r]),{storyId:o}=yn(),[l,s]=Re(window.navigator.onLine);oe(()=>{let Te=()=>s(!0),Pt=()=>s(!1);return window.addEventListener("online",Te),window.addEventListener("offline",Pt),()=>{window.removeEventListener("online",Te),window.removeEventListener("offline",Pt)}},[]);let[c]=Ze(qd),[d]=Ze(ds),[u]=Ze(ms),[m]=Ze(zi),[p,g]=Ze(ps),[,f]=Ze(zi),y=qa({}),k=W(Te=>t.experimental_updateStatus(z,Te),[t]),{loading:b,projectId:h,configFile:v,updateProject:E,projectUpdatingFailed:S,projectIdUpdated:B,clearProjectIdUpdated:j}=_s(),[Y,J]=it("createdProjectId"),[ce,Se]=Ze(hs),Ae=W(Te=>y(Jd,Te),[y]),{isRunning:xe,startBuild:Ge,stopBuild:pe}=Ls({localBuildProgress:p,accessToken:n}),Ke=lf(),Ie=Te=>a.createElement(Su,{value:Os({fetch:Ke})},a.createElement(xu,{value:Ae},a.createElement(v2,{value:{accessToken:n,setAccessToken:i}},a.createElement(am,{addonUninstalled:ce,setAddonUninstalled:Se},a.createElement(Cm,null,a.createElement(sp,{watchState:{isRunning:xe,startBuild:Ge,stopBuild:pe}},a.createElement("div",{hidden:!e,style:{containerType:"size",height:"100%"}},Te)))))));if(!e)return Ie(null);if(window.CONFIG_TYPE!=="DEVELOPMENT")return Ie(a.createElement(ip,null));if(ce)return Ie(a.createElement(lp,null));if(u)return Ie(a.createElement(op,{offline:u}));if(!n)return Ie(a.createElement(z4,{setAccessToken:i,setCreatedProjectId:J,hasProjectId:!!h}));if(b)return e?a.createElement(oo,null):null;if(!h)return Ie(a.createElement(tp,{createdProjectId:Y,setCreatedProjectId:J,onUpdateProject:E}));if(d||!c)return console.error(d),Ie(a.createElement($4,null));if(S){if(!v)throw new Error("Missing config file after configuration failure");return Ie(a.createElement(X4,{projectId:h,configFile:v}))}if(B){if(!v)throw new Error("Missing config file after configuration success");return Ie(a.createElement(Y4,{projectId:h,configFile:v,goToNext:j}))}let Bt=c.branch===p?.branch;return Ie(a.createElement(of,{dismissBuildError:()=>g(void 0),isOutdated:!!m,localBuildProgress:Bt?p:void 0,setOutdated:f,updateBuildStatus:k,projectId:h,gitInfo:c,storyId:o}))},es;Qn.register(z,e=>{Qn.add(Vn,{type:Ga.PANEL,title:"Visual Tests",paramKey:Xd,match:({viewMode:r})=>r==="story",render:({active:r})=>a.createElement(sf,{active:!!r,api:e})}),Qn.add($d,{type:Ga.experimental_SIDEBAR_TOP,render:()=>a.createElement(g2,{api:e})}),Qn.add(Wd,{type:Ga.experimental_SIDEBAR_BOTTOM,render:()=>a.createElement(g5,{api:e})});let t=e.getChannel();if(!t)return;let n;t.on(`${z}/heartbeat`,()=>{clearTimeout(es),n&&(e.clearNotification(n),n=void 0),es=setTimeout(()=>{n=`${z}/connection-lost/${Date.now()}`,e.addNotification({id:n,content:{headline:"Connection lost",subHeadline:"Lost connection to the Storybook server. Try refreshing the page."},icon:a.createElement(qt,{color:Lt.negative}),link:void 0})},3e3)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..bcd288f5 --- /dev/null +++ b/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt @@ -0,0 +1,40 @@ +Bundled license information: + +filesize/dist/filesize.esm.js: + /** + * filesize + * + * @copyright 2024 Jason Mulligan + * @license BSD-3-Clause + * @version 10.1.6 + */ + +@chromatic-com/storybook/dist/manager.mjs: + /*! Bundled license information: + + popper.js/dist/esm/popper.js: + (**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.16.1 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + *) + */ diff --git a/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js b/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js new file mode 100644 index 00000000..cf2463e7 --- /dev/null +++ b/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var o=__REACT__,{Children:Te,Component:_e,Fragment:ve,Profiler:Jr,PureComponent:qr,StrictMode:Xr,Suspense:Zr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kr,cloneElement:Qr,createContext:Z,createElement:en,createFactory:tn,createRef:rn,forwardRef:Se,isValidElement:nn,lazy:an,memo:U,startTransition:on,unstable_act:sn,useCallback:x,useContext:K,useDebugValue:ln,useDeferredValue:un,useEffect:Re,useId:cn,useImperativeHandle:pn,useInsertionEffect:fn,useLayoutEffect:Ae,useMemo:Ce,useReducer:dn,useRef:Ne,useState:j,useSyncExternalStore:mn,useTransition:gn,version:bn}=__REACT__;var Tn=__STORYBOOK_COMPONENTS__,{A:_n,ActionBar:we,AddonPanel:vn,Badge:xe,Bar:Sn,Blockquote:Rn,Button:An,ClipboardCode:Cn,Code:Nn,DL:wn,Div:xn,DocumentWrapper:Ln,EmptyTabContent:In,ErrorFormatter:Dn,FlexBar:Mn,Form:Pn,H1:Bn,H2:Fn,H3:Hn,H4:zn,H5:Un,H6:jn,HR:kn,IconButton:Gn,IconButtonSkeleton:Wn,Icons:Vn,Img:$n,LI:Yn,Link:Jn,ListItem:qn,Loader:Xn,Modal:Zn,OL:Kn,P:Qn,Placeholder:ea,Pre:ta,ResetWrapper:ra,ScrollArea:Le,Separator:na,Spaced:Ie,Span:aa,StorybookIcon:oa,StorybookLogo:ia,Symbols:sa,SyntaxHighlighter:la,TT:ua,TabBar:ca,TabButton:pa,TabWrapper:fa,Table:da,Tabs:ma,TabsState:ga,TooltipLinkList:ba,TooltipMessage:ha,TooltipNote:Ea,UL:ya,WithTooltip:Oa,WithTooltipPure:Ta,Zoom:_a,codeCommon:va,components:Sa,createCopyToClipboardFunction:Ra,getStoryHref:Aa,icons:Ca,interleaveSeparators:Na,nameSpaceClassNames:wa,resetComponents:xa,withReset:La}=__STORYBOOK_COMPONENTS__;var Ba=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:Fa,ARGTYPES_INFO_RESPONSE:Ha,CHANNEL_CREATED:za,CHANNEL_WS_DISCONNECT:Ua,CONFIG_ERROR:ja,CREATE_NEW_STORYFILE_REQUEST:ka,CREATE_NEW_STORYFILE_RESPONSE:Ga,CURRENT_STORY_WAS_SET:Wa,DOCS_PREPARED:Va,DOCS_RENDERED:$a,FILE_COMPONENT_SEARCH_REQUEST:Ya,FILE_COMPONENT_SEARCH_RESPONSE:Ja,FORCE_REMOUNT:qa,FORCE_RE_RENDER:Xa,GLOBALS_UPDATED:Za,NAVIGATE_URL:Ka,PLAY_FUNCTION_THREW_EXCEPTION:Qa,PRELOAD_ENTRIES:eo,PREVIEW_BUILDER_PROGRESS:to,PREVIEW_KEYDOWN:ro,REGISTER_SUBSCRIPTION:no,REQUEST_WHATS_NEW_DATA:ao,RESET_STORY_ARGS:oo,RESULT_WHATS_NEW_DATA:io,SAVE_STORY_REQUEST:so,SAVE_STORY_RESPONSE:lo,SELECT_STORY:uo,SET_CONFIG:co,SET_CURRENT_STORY:po,SET_FILTER:fo,SET_GLOBALS:mo,SET_INDEX:go,SET_STORIES:bo,SET_WHATS_NEW_CACHE:ho,SHARED_STATE_CHANGED:Eo,SHARED_STATE_SET:yo,STORIES_COLLAPSE_ALL:Oo,STORIES_EXPAND_ALL:To,STORY_ARGS_UPDATED:_o,STORY_CHANGED:k,STORY_ERRORED:vo,STORY_INDEX_INVALIDATED:So,STORY_MISSING:Ro,STORY_PREPARED:Ao,STORY_RENDERED:Co,STORY_RENDER_PHASE_CHANGED:No,STORY_SPECIFIED:wo,STORY_THREW_EXCEPTION:xo,STORY_UNCHANGED:Lo,TELEMETRY_ERROR:Io,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Do,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Mo,TESTING_MODULE_CRASH_REPORT:Po,TESTING_MODULE_PROGRESS_REPORT:Bo,TESTING_MODULE_RUN_ALL_REQUEST:Fo,TESTING_MODULE_RUN_REQUEST:Ho,TESTING_MODULE_WATCH_MODE_REQUEST:zo,TOGGLE_WHATS_NEW_NOTIFICATIONS:Uo,UNHANDLED_ERRORS_WHILE_PLAYING:jo,UPDATE_GLOBALS:ko,UPDATE_QUERY_PARAMS:Go,UPDATE_STORY_ARGS:Wo}=__STORYBOOK_CORE_EVENTS__;var ei=__STORYBOOK_API__,{ActiveTabs:ti,Consumer:ri,ManagerContext:ni,Provider:ai,RequestResponseError:oi,addons:Q,combineParameters:ii,controlOrMetaKey:si,controlOrMetaSymbol:li,eventMatchesShortcut:ui,eventToShortcut:ci,experimental_requestResponse:pi,isMacLike:fi,isShortcutTaken:di,keyToSymbol:mi,merge:gi,mockChannel:bi,optionOrAltSymbol:hi,shortcutMatchesShortcut:Ei,shortcutToHumanString:yi,types:De,useAddonState:Me,useArgTypes:Oi,useArgs:Ti,useChannel:Pe,useGlobalTypes:_i,useGlobals:vi,useParameter:Si,useSharedState:Ri,useStoryPrepared:Ai,useStorybookApi:Ci,useStorybookState:Ni}=__STORYBOOK_API__;var Be=Object.prototype.hasOwnProperty;function Fe(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=Fe(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=Fe(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(Be.call(e,r)&&++n&&!Be.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 Fi=__STORYBOOK_THEMING__,{CacheProvider:Hi,ClassNames:zi,Global:Ui,ThemeProvider:ji,background:ki,color:Gi,convert:Wi,create:Vi,createCache:$i,createGlobal:Yi,createReset:Ji,css:qi,darken:Xi,ensure:Zi,ignoreSsrWarning:Ki,isPropValid:Qi,jsx:es,keyframes:ts,lighten:rs,styled:B,themes:ns,typography:as,useTheme:os,withTheme:He}=__STORYBOOK_THEMING__;function T(){return T=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}$/,re=/^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=re.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("+F(l,u,c)+")",d=re.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,O="rgb("+F(E,m,y)+")",w=re.exec(O);if(!w)throw new _(4,t,O);return{red:parseInt(""+w[1],10),green:parseInt(""+w[2],10),blue:parseInt(""+w[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?V(e,t,r):"rgba("+F(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?V(e.hue,e.saturation,e.lightness):"rgba("+F(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new _(2)}function oe(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ae("#"+N(e)+N(t)+N(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ae("#"+N(e.red)+N(e.green)+N(e.blue));throw new _(6)}function $(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?oe(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?oe(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")},Nt=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},wt=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(Nt(e))return $(e);if(Ct(e))return oe(e);if(xt(e))return At(e);if(wt(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(T({},r,{hue:r.hue+parseFloat(e)}))}var pl=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(T({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var fl=v(It);function Dt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var dl=v(Dt);function Mt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var ml=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=T({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=I(r),s=T({},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 $(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=T({},r,{alpha:D(0,1,(n*100+parseFloat(e)*100)/100)});return $(a)}var Ht=v(Ft),qe=Ht;function zt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var gl=v(zt);function Ut(e,t){return t==="transparent"?t:C(T({},A(t),{hue:parseFloat(e)}))}var bl=v(Ut);function jt(e,t){return t==="transparent"?t:C(T({},A(t),{lightness:parseFloat(e)}))}var hl=v(jt);function kt(e,t){return t==="transparent"?t:C(T({},A(t),{saturation:parseFloat(e)}))}var El=v(kt);function Gt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(0, 0, 0)",t)}var yl=v(Gt);function Wt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(255, 255, 255)",t)}var Ol=v(Wt);function Vt(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return $(a)}var Tl=v(Vt);var $t="actions",z="storybook/actions",Yt=`${z}/panel`,se=`${z}/action-event`,et=`${z}/action-clear`,Jt=Object.create,pe=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,tt=Object.getOwnPropertyNames,Xt=Object.getPrototypeOf,Zt=Object.prototype.hasOwnProperty,fe=(e,t)=>function(){return t||(0,e[tt(e)[0]])((t={exports:{}}).exports,t),t.exports},Kt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Qt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of tt(t))!Zt.call(e,a)&&a!==r&&pe(e,a,{get:()=>t[a],enumerable:!(n=qt(t,a))||n.enumerable});return e},er=(e,t,r)=>(r=e!=null?Jt(Xt(e)):{},Qt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),tr=fe({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),rr=fe({"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}}}),nr=fe({"node_modules/is-dom/index.js"(e,t){var r=tr(),n=rr();function a(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=a}}),q={};Kt(q,{chromeDark:()=>ar,chromeLight:()=>or});var ar={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"},or={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"},rt=Z([{},()=>{}]),ie={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},Y=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,...ie},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`}:{},...ie},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,...ie}}),le="chromeLight",nt=Z(Y(q[le])),S=e=>K(nt)[e],de=e=>({theme:t=le,...r})=>{let n=Ce(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return Y(q[t]);case"[object Object]":return Y(t);default:return Y(q[le])}},[t]);return o.createElement(nt.Provider,{value:n},o.createElement(e,{...r}))},ir=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),sr=U(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||Te.count(n)>0?o.createElement(ir,{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))}),X="$",Xe="*";function J(e,t){return!t(e).next().done}var lr=e=>Array.from({length:e},(t,r)=>[X].concat(Array.from({length:r},()=>"*")).join(".")),ur=(e,t,r,n,a)=>{let i=[].concat(lr(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)J(p,t)&&(E===X||E===Xe)&&c(p,X,f+1);else if(E===Xe)for(let{name:m,data:y}of t(p))J(y,t)&&c(y,`${d}.${m}`,f+1);else{let m=p[E];J(m,t)&&c(m,`${d}.${E}`,f+1)}};c(e,"",0)}),s.reduce((l,u)=>(l[u]=!0,l),{...a})},at=U(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=K(rt),u=J(t,r),c=!!s[n],p=x(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(sr,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(at,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),ot=U(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=S("TreeView"),l=j({}),[,u]=l;return Ae(()=>u(c=>ur(t,r,a,i,c)),[t,r,a,i]),o.createElement(rt.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(at,{name:e,data:t,dataIterator:r,depth:0,path:X,nodeRenderer:n})))}),me=({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)},H=({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)}},it=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable;function ue(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 ce=({data:e})=>{let t=S("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(H,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(H,{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(it.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=ue(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(me,{name:s||'""'}),":\xA0",o.createElement(H,{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,", "),"}"))}},pr=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(me,{name:e}),o.createElement("span",null,": "),o.createElement(ce,{data:t})):o.createElement(ce,{data:t}),fr=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return o.createElement("span",null,typeof e=="string"?o.createElement(me,{name:e,dimmed:r}):o.createElement(ce,{data:e}),o.createElement("span",null,": "),o.createElement(H,{object:n}))},dr=(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(cr.call(r,i)){let s=ue(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=ue(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})}},mr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(pr,{name:t,data:r}):o.createElement(fr,{name:t,data:r,isNonenumerable:n}),gr=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=dr(e,t),i=r||mr;return o.createElement(ot,{nodeRenderer:i,dataIterator:a,...n})},br=de(gr);function hr(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 Er=({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&&it.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(H,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},yr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),Or=({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]=j(!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(yr,null,o.createElement(Or,{sortAscending:e})))},Tr=({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))))))},_r=({data:e,columns:t})=>{let r=S("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=j({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:O})=>({sorted:!0,sortIndexColumn:!1,sortColumn:m,sortAscending:m===y?!O:!0}))},[]);if(typeof e!="object"||e===null)return o.createElement("div",null);let{rowHeaders:p,colHeaders:d}=hr(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=(O,w)=>(ut,ct)=>{let ge=O(ut),be=O(ct),he=typeof ge,Ee=typeof be,ye=(P,Oe)=>POe?1:0,M;if(he===Ee)M=ye(ge,be);else{let P={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=ye(P[he],P[Ee])}return w||(M=-M),M},y=E.sort(m(O=>O[0],s)).map(O=>O[1]);p=y.map(O=>p[O]),f=y.map(O=>f[O])}return o.createElement("div",{style:r.base},o.createElement(Tr,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(Er,{rows:p,columns:d,rowsData:f}))},vr=de(_r),Sr=80,st=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"),Qe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Ar={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Cr=({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(Rr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),st(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,Ar[t.nodeType])}},Nr=function*(e){if(e&&e.childNodes){if(st(e))return;for(let t=0;to.createElement(ot,{nodeRenderer:Cr,dataIterator:Nr,...e}),xr=de(wr),Lr=er(nr()),Ir=({table:e=!1,data:t,...r})=>e?o.createElement(vr,{data:t,...r}):(0,Lr.default)(t)?o.createElement(xr,{data:t,...r}):o.createElement(br,{data:t,...r}),Dr=B.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),Mr=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"})),Pr=B.div({flex:1,padding:"0 0 0 5px"}),lt=Se(({children:e,className:t},r)=>o.createElement(Le,{ref:r,horizontal:!0,vertical:!0,className:t},e));lt.displayName="UnstyledWrapped";var Br=B(lt)({margin:0,padding:"10px 5px 20px"}),Fr=He(({theme:e,...t})=>o.createElement(Ir,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Hr=({actions:e,onClear:t})=>{let r=Ne(null),n=r.current,a=n&&n.scrollHeight-n.scrollTop===n.clientHeight;return Re(()=>{a&&(r.current.scrollTop=r.current.scrollHeight)},[a,e.length]),o.createElement(ve,null,o.createElement(Br,{ref:r},e.map(i=>o.createElement(Dr,{key:i.id},i.count>1&&o.createElement(Mr,null,i.count),o.createElement(Pr,null,o.createElement(Fr,{sortObjectKeys:!0,showNonenumerable:!1,name:i.data.name,data:i.data.args??i.data}))))),o.createElement(we,{actionItems:[{title:"Clear",onClick:t}]}))},zr=(e,t)=>{try{return L(e,t)}catch{return!1}},Ur=class extends _e{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&&zr(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(et),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(se,this.addAction),e.on(k,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(k,this.handleStoryChange),e.off(se,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(Hr,{...r}):null}};function jr(){let[{count:e},t]=Me(z,{count:0});return Pe({[se]:()=>{t(r=>({...r,count:r.count+1}))},[k]:()=>{t(r=>({...r,count:0}))},[et]:()=>{t(r=>({...r,count:0}))}}),o.createElement("div",null,o.createElement(Ie,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":o.createElement(xe,{status:"neutral"},e)))}Q.register(z,e=>{Q.add(Yt,{title:jr,type:De.PANEL,render:({active:t})=>o.createElement(Ur,{api:e,active:!!t}),paramKey:$t})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js b/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js new file mode 100644 index 00000000..23a17bf8 --- /dev/null +++ b/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js @@ -0,0 +1,12 @@ +try{ +(()=>{var re=Object.create;var Y=Object.defineProperty;var ce=Object.getOwnPropertyDescriptor;var ie=Object.getOwnPropertyNames;var ae=Object.getPrototypeOf,le=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 M=(e,o)=>()=>(e&&(o=e(e=0)),o);var se=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ue=(e,o,a,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of ie(o))!le.call(e,c)&&c!==a&&Y(e,c,{get:()=>o[c],enumerable:!(r=ce(o,c))||r.enumerable});return e};var Ie=(e,o,a)=>(a=e!=null?re(ae(e)):{},ue(o||!e||!e.__esModule?Y(a,"default",{value:e,enumerable:!0}):a,e));var p=M(()=>{});var h=M(()=>{});var f=M(()=>{});var X=se((Q,V)=>{p();h();f();(function(e){if(typeof Q=="object"&&typeof V<"u")V.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,d,l){function t(i,I){if(!d[i]){if(!c[i]){var s=typeof E=="function"&&E;if(!I&&s)return s(i,!0);if(n)return n(i,!0);var C=new Error("Cannot find module '"+i+"'");throw C.code="MODULE_NOT_FOUND",C}var m=d[i]={exports:{}};c[i][0].call(m.exports,function(b){var y=c[i][1][b];return t(y||b)},m,m.exports,r,c,d,l)}return d[i].exports}for(var n=typeof E=="function"&&E,u=0;u=0)return this.lastItem=this.list[n],this.list[n].val},l.prototype.set=function(t,n){var u;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(u=this.indexOf(t),u>=0?(this.lastItem=this.list[u],this.list[u].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},l.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]},l.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)},l.prototype.forEach=function(t,n){var u;for(u=0;u0&&(x[_]={cacheItem:b,arg:arguments[_]},O?t(s,x):s.push(x),s.length>i&&n(s.shift())),m.wasMemoized=O,m.numArgs=_+1,R};return m.limit=i,m.wasMemoized=!1,m.cache=I,m.lru=s,m}};function t(i,I){var s=i.length,C=I.length,m,b,y;for(b=0;b=0&&(s=i[m],C=s.cacheItem.get(s.arg),!C||!C.size);m--)s.cacheItem.delete(s.arg)}function u(i,I){return i===I||i!==i&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});p();h();f();p();h();f();p();h();f();p();h();f();var g=__REACT__,{Children:Ee,Component:we,Fragment:D,Profiler:Be,PureComponent:Re,StrictMode:xe,Suspense:Le,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pe,cloneElement:Me,createContext:De,createElement:Ge,createFactory:Fe,createRef:Ne,forwardRef:Ue,isValidElement:He,lazy:qe,memo:w,startTransition:ze,unstable_act:Ke,useCallback:G,useContext:Ve,useDebugValue:We,useDeferredValue:Ye,useEffect:je,useId:$e,useImperativeHandle:Ze,useInsertionEffect:Je,useLayoutEffect:Qe,useMemo:j,useReducer:Xe,useRef:eo,useState:F,useSyncExternalStore:oo,useTransition:no,version:to}=__REACT__;p();h();f();var lo=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:Io,Provider:mo,RequestResponseError:po,addons:N,combineParameters:ho,controlOrMetaKey:fo,controlOrMetaSymbol:go,eventMatchesShortcut:bo,eventToShortcut:Co,experimental_requestResponse:yo,isMacLike:So,isShortcutTaken:ko,keyToSymbol:vo,merge:To,mockChannel:_o,optionOrAltSymbol:Ao,shortcutMatchesShortcut:Oo,shortcutToHumanString:Eo,types:$,useAddonState:wo,useArgTypes:Bo,useArgs:Ro,useChannel:xo,useGlobalTypes:Lo,useGlobals:L,useParameter:P,useSharedState:Po,useStoryPrepared:Mo,useStorybookApi:Do,useStorybookState:Go}=__STORYBOOK_API__;p();h();f();var qo=__STORYBOOK_COMPONENTS__,{A:zo,ActionBar:Ko,AddonPanel:Vo,Badge:Wo,Bar:Yo,Blockquote:jo,Button:$o,ClipboardCode:Zo,Code:Jo,DL:Qo,Div:Xo,DocumentWrapper:en,EmptyTabContent:on,ErrorFormatter:nn,FlexBar:tn,Form:rn,H1:cn,H2:an,H3:ln,H4:sn,H5:un,H6:In,HR:dn,IconButton:B,IconButtonSkeleton:mn,Icons:pn,Img:hn,LI:fn,Link:gn,ListItem:bn,Loader:Cn,Modal:yn,OL:Sn,P:kn,Placeholder:vn,Pre:Tn,ResetWrapper:_n,ScrollArea:An,Separator:On,Spaced:En,Span:wn,StorybookIcon:Bn,StorybookLogo:Rn,Symbols:xn,SyntaxHighlighter:Ln,TT:Pn,TabBar:Mn,TabButton:Dn,TabWrapper:Gn,Table:Fn,Tabs:Nn,TabsState:Un,TooltipLinkList:U,TooltipMessage:Hn,TooltipNote:qn,UL:zn,WithTooltip:H,WithTooltipPure:Kn,Zoom:Vn,codeCommon:Wn,components:Yn,createCopyToClipboardFunction:jn,getStoryHref:$n,icons:Zn,interleaveSeparators:Jn,nameSpaceClassNames:Qn,resetComponents:Xn,withReset:et}=__STORYBOOK_COMPONENTS__;p();h();f();var ct=__STORYBOOK_ICONS__,{AccessibilityAltIcon:it,AccessibilityIcon:at,AddIcon:lt,AdminIcon:st,AlertAltIcon:ut,AlertIcon:It,AlignLeftIcon:dt,AlignRightIcon:mt,AppleIcon:pt,ArrowBottomLeftIcon:ht,ArrowBottomRightIcon:ft,ArrowDownIcon:gt,ArrowLeftIcon:bt,ArrowRightIcon:Ct,ArrowSolidDownIcon:yt,ArrowSolidLeftIcon:St,ArrowSolidRightIcon:kt,ArrowSolidUpIcon:vt,ArrowTopLeftIcon:Tt,ArrowTopRightIcon:_t,ArrowUpIcon:At,AzureDevOpsIcon:Ot,BackIcon:Et,BasketIcon:wt,BatchAcceptIcon:Bt,BatchDenyIcon:Rt,BeakerIcon:xt,BellIcon:Lt,BitbucketIcon:Pt,BoldIcon:Mt,BookIcon:Dt,BookmarkHollowIcon:Gt,BookmarkIcon:Ft,BottomBarIcon:Nt,BottomBarToggleIcon:Ut,BoxIcon:Ht,BranchIcon:qt,BrowserIcon:zt,ButtonIcon:Kt,CPUIcon:Vt,CalendarIcon:Wt,CameraIcon:Yt,CategoryIcon:jt,CertificateIcon:$t,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:lr,CircleHollowIcon:sr,CircleIcon:Z,ClearIcon:ur,CloseAltIcon:Ir,CloseIcon:dr,CloudHollowIcon:mr,CloudIcon:pr,CogIcon:hr,CollapseIcon:fr,CommandIcon:gr,CommentAddIcon:br,CommentIcon:Cr,CommentsIcon:yr,CommitIcon:Sr,CompassIcon:kr,ComponentDrivenIcon:vr,ComponentIcon:Tr,ContrastIcon:_r,ControlsIcon:Ar,CopyIcon:Or,CreditIcon:Er,CrossIcon:wr,DashboardIcon:Br,DatabaseIcon:Rr,DeleteIcon:xr,DiamondIcon:Lr,DirectionIcon:Pr,DiscordIcon:Mr,DocChartIcon:Dr,DocListIcon:Gr,DocumentIcon:Fr,DownloadIcon:Nr,DragIcon:Ur,EditIcon:Hr,EllipsisIcon:qr,EmailIcon:zr,ExpandAltIcon:Kr,ExpandIcon:Vr,EyeCloseIcon:Wr,EyeIcon:Yr,FaceHappyIcon:jr,FaceNeutralIcon:$r,FaceSadIcon:Zr,FacebookIcon:Jr,FailedIcon:Qr,FastForwardIcon:Xr,FigmaIcon:ec,FilterIcon:oc,FlagIcon:nc,FolderIcon:tc,FormIcon:rc,GDriveIcon:cc,GithubIcon:ic,GitlabIcon:ac,GlobeIcon:lc,GoogleIcon:sc,GraphBarIcon:uc,GraphLineIcon:Ic,GraphqlIcon:dc,GridAltIcon:mc,GridIcon:q,GrowIcon:pc,HeartHollowIcon:hc,HeartIcon:fc,HomeIcon:gc,HourglassIcon:bc,InfoIcon:Cc,ItalicIcon:yc,JumpToIcon:Sc,KeyIcon:kc,LightningIcon:vc,LightningOffIcon:Tc,LinkBrokenIcon:_c,LinkIcon:Ac,LinkedinIcon:Oc,LinuxIcon:Ec,ListOrderedIcon:wc,ListUnorderedIcon:Bc,LocationIcon:Rc,LockIcon:xc,MarkdownIcon:Lc,MarkupIcon:Pc,MediumIcon:Mc,MemoryIcon:Dc,MenuIcon:Gc,MergeIcon:Fc,MirrorIcon:Nc,MobileIcon:Uc,MoonIcon:Hc,NutIcon:qc,OutboxIcon:zc,OutlineIcon:Kc,PaintBrushIcon:Vc,PaperClipIcon:Wc,ParagraphIcon:Yc,PassedIcon:jc,PhoneIcon:$c,PhotoDragIcon:Zc,PhotoIcon:z,PinAltIcon:Jc,PinIcon:Qc,PlayAllHollowIcon:Xc,PlayBackIcon:ei,PlayHollowIcon:oi,PlayIcon:ni,PlayNextIcon:ti,PlusIcon:ri,PointerDefaultIcon:ci,PointerHandIcon:ii,PowerIcon:ai,PrintIcon:li,ProceedIcon:si,ProfileIcon:ui,PullRequestIcon:Ii,QuestionIcon:di,RSSIcon:mi,RedirectIcon:pi,ReduxIcon:hi,RefreshIcon:J,ReplyIcon:fi,RepoIcon:gi,RequestChangeIcon:bi,RewindIcon:Ci,RulerIcon:yi,SaveIcon:Si,SearchIcon:ki,ShareAltIcon:vi,ShareIcon:Ti,ShieldIcon:_i,SideBySideIcon:Ai,SidebarAltIcon:Oi,SidebarAltToggleIcon:Ei,SidebarIcon:wi,SidebarToggleIcon:Bi,SpeakerIcon:Ri,StackedIcon:xi,StarHollowIcon:Li,StarIcon:Pi,StatusFailIcon:Mi,StatusPassIcon:Di,StatusWarnIcon:Gi,StickerIcon:Fi,StopAltHollowIcon:Ni,StopAltIcon:Ui,StopIcon:Hi,StorybookIcon:qi,StructureIcon:zi,SubtractIcon:Ki,SunIcon:Vi,SupportIcon:Wi,SwitchAltIcon:Yi,SyncIcon:ji,TabletIcon:$i,ThumbsUpIcon:Zi,TimeIcon:Ji,TimerIcon:Qi,TransferIcon:Xi,TrashIcon:ea,TwitterIcon:oa,TypeIcon:na,UbuntuIcon:ta,UndoIcon:ra,UnfoldIcon:ca,UnlockIcon:ia,UnpinIcon:aa,UploadIcon:la,UserAddIcon:sa,UserAltIcon:ua,UserIcon:Ia,UsersIcon:da,VSCodeIcon:ma,VerifiedIcon:pa,VideoIcon:ha,WandIcon:fa,WatchIcon:ga,WindowsIcon:ba,WrenchIcon:Ca,XIcon:ya,YoutubeIcon:Sa,ZoomIcon:ka,ZoomOutIcon:va,ZoomResetIcon:Ta,iconList:_a}=__STORYBOOK_ICONS__;p();h();f();var Ba=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Ra,logger:K,once:xa,pretty:La}=__STORYBOOK_CLIENT_LOGGER__;var W=Ie(X());p();h();f();var qa=__STORYBOOK_THEMING__,{CacheProvider:za,ClassNames:Ka,Global:Va,ThemeProvider:Wa,background:Ya,color:ja,convert:$a,create:Za,createCache:Ja,createGlobal:Qa,createReset:Xa,css:el,darken:ol,ensure:nl,ignoreSsrWarning:tl,isPropValid:rl,jsx:cl,keyframes:il,lighten:al,styled:ee,themes:ll,typography:sl,useTheme:ul,withTheme:Il}=__STORYBOOK_THEMING__;p();h();f();function oe(e){for(var o=[],a=1;a{r({[S]:I})},[r]);return g.createElement(D,null,g.createElement(B,{key:"grid",active:n,disabled:t,title:"Apply a grid to the preview",onClick:()=>i({value:l,grid:!n})},g.createElement(q,null)),a>0?g.createElement(H,{key:"background",placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:I})=>g.createElement(U,{links:[...o?[{id:"reset",title:"Reset background",icon:g.createElement(J,null),onClick:()=>{i({value:void 0,grid:n}),I()}}]:[],...Object.entries(d).map(([s,C])=>({id:s,title:C.name,icon:g.createElement(Z,{color:C?.value||"grey"}),active:s===l,onClick:()=>{i({value:s,grid:n}),I()}}))]}),onVisibleChange:c},g.createElement(B,{disabled:t,key:"background",title:"Change the background of the preview",active:!!o||u},g.createElement(z,null))):null)}),he=ee.span(({background:e})=>({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),fe=(e,o=[],a)=>{if(e==="transparent")return"transparent";if(o.find(c=>c.value===e)||e)return e;let r=o.find(c=>c.name===a);if(r)return r.value;if(a){let c=o.map(d=>d.name).join(", ");K.warn(oe` + Backgrounds Addon: could not find the default color "${a}". + These are the available colors for your story based on your configuration: + ${c}. + `)}return"transparent"},te=(0,W.default)(1e3)((e,o,a,r,c,d)=>({id:e||o,title:o,onClick:()=>{c({selected:a,name:o})},value:a,right:r?g.createElement(he,{background:a}):void 0,active:d})),ge=(0,W.default)(10)((e,o,a)=>{let r=e.map(({name:c,value:d})=>te(null,c,d,!0,a,d===o));return o!=="transparent"?[te("reset","Clear background","transparent",null,a,!1),...r]:r}),be={default:null,disable:!0,values:[]},Ce=w(function(){let e=P(S,be),[o,a]=F(!1),[r,c]=L(),d=r[S]?.value,l=j(()=>fe(d,e.values,e.default),[e,d]);Array.isArray(e)&&K.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=G(n=>{c({[S]:{...r[S],value:n}})},[e,r,c]);return e.disable?null:g.createElement(H,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:n})=>g.createElement(U,{links:ge(e.values,l,({selected:u})=>{l!==u&&t(u),n()})}),onVisibleChange:a},g.createElement(B,{key:"background",title:"Change the background of the preview",active:l!=="transparent"||o},g.createElement(z,null)))}),ye=w(function(){let[e,o]=L(),{grid:a}=P(S,{grid:{disable:!1}});if(a?.disable)return null;let r=e[S]?.grid||!1;return g.createElement(B,{key:"background",active:r,title:"Apply a grid to the preview",onClick:()=>o({[S]:{...e[S],grid:!r}})},g.createElement(q,null))});N.register(ne,()=>{N.add(ne,{title:"Backgrounds",type:$.TOOL,match:({viewMode:e,tabId:o})=>!!(e&&e.match(/^(story|docs)$/))&&!o,render:()=>FEATURES?.backgroundsStoryGlobals?g.createElement(me,null):g.createElement(D,null,g.createElement(Ce,null),g.createElement(ye,null))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js b/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js new file mode 100644 index 00000000..b6b2f660 --- /dev/null +++ b/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js @@ -0,0 +1,391 @@ +try{ +(()=>{var fp=Object.create;var kn=Object.defineProperty;var hp=Object.getOwnPropertyDescriptor;var mp=Object.getOwnPropertyNames;var yp=Object.getPrototypeOf,gp=Object.prototype.hasOwnProperty;var Pe=(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 Qe=(e,t)=>()=>(e&&(t=e(e=0)),t);var bp=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qa=(e,t)=>{for(var r in t)kn(e,r,{get:t[r],enumerable:!0})},Ep=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of mp(t))!gp.call(e,o)&&o!==r&&kn(e,o,{get:()=>t[o],enumerable:!(n=hp(t,o))||n.enumerable});return e};var vp=(e,t,r)=>(r=e!=null?fp(yp(e)):{},Ep(t||!e||!e.__esModule?kn(r,"default",{value:e,enumerable:!0}):r,e));var V=Qe(()=>{});var J=Qe(()=>{});var z=Qe(()=>{});function Cp(e,t,{signal:r,edges:n}={}){let o,a=null,i=n!=null&&n.includes("leading"),l=n==null||n.includes("trailing"),s=()=>{a!==null&&(e.apply(o,a),o=void 0,a=null)},c=()=>{l&&s(),f()},d=null,p=()=>{d!=null&&clearTimeout(d),d=setTimeout(()=>{d=null,c()},t)},h=()=>{d!==null&&(clearTimeout(d),d=null)},f=()=>{h(),o=void 0,a=null},b=()=>{h(),s()},g=function(...x){if(r?.aborted)return;o=this,a=x;let S=d==null;p(),i&&S&&s()};return g.schedule=p,g.cancel=f,g.flush=b,r?.addEventListener("abort",f,{once:!0}),g}function Ha(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:a=!0,maxWait:i}=r,l=Array(2);o&&(l[0]="leading"),a&&(l[1]="trailing");let s,c=null,d=Cp(function(...f){s=e.apply(this,f),c=null},t,{signal:n,edges:l}),p=function(...f){if(i!=null){if(c===null)c=Date.now();else if(Date.now()-c>=i)return s=e.apply(this,f),c=Date.now(),d.cancel(),d.schedule(),s}return d.apply(this,f),s},h=()=>(d.flush(),s);return p.cancel=d.cancel,p.flush=h,p}function Ga(e){return Array.from(new Set(e))}function Wa(e,t){let r={},n=Object.entries(e);for(let o=0;o{V();J();z();Bt=(e=>typeof Pe<"u"?Pe:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Pe<"u"?Pe:t)[r]}):e)(function(e){if(typeof Pe<"u")return Pe.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),xp=Object.create,Ja=Object.defineProperty,Sp=Object.getOwnPropertyDescriptor,za=Object.getOwnPropertyNames,wp=Object.getPrototypeOf,Ap=Object.prototype.hasOwnProperty,sr=(e=>typeof Bt<"u"?Bt:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Bt<"u"?Bt:t)[r]}):e)(function(e){if(typeof Bt<"u")return Bt.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),je=(e,t)=>function(){return t||(0,e[za(e)[0]])((t={exports:{}}).exports,t),t.exports},Tp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of za(t))!Ap.call(e,o)&&o!==r&&Ja(e,o,{get:()=>t[o],enumerable:!(n=Sp(t,o))||n.enumerable});return e},Lt=(e,t,r)=>(r=e!=null?xp(wp(e)):{},Tp(t||!e||!e.__esModule?Ja(r,"default",{value:e,enumerable:!0}):r,e));Op="[object String]",Dp="[object Number]",Rp="[object Boolean]",_p="[object Arguments]";Fe=e=>`control-${e.replace(/\s+/g,"-")}`,lr=e=>`set-${e.replace(/\s+/g,"-")}`});var m,Ya,it,Wv,Kv,Yv,Xv,Xa,Qv,ue,ur,On,Zv,ex,tx,rx,Qa,nx,ox,ax,xe,Za,ix,sx,Se,lx,ux,cx,ei,st,dx,Re,X,px,fx,hx,Dr=Qe(()=>{V();J();z();m=__REACT__,{Children:Ya,Component:it,Fragment:Wv,Profiler:Kv,PureComponent:Yv,StrictMode:Xv,Suspense:Xa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Qv,cloneElement:ue,createContext:ur,createElement:On,createFactory:Zv,createRef:ex,forwardRef:tx,isValidElement:rx,lazy:Qa,memo:nx,startTransition:ox,unstable_act:ax,useCallback:xe,useContext:Za,useDebugValue:ix,useDeferredValue:sx,useEffect:Se,useId:lx,useImperativeHandle:ux,useInsertionEffect:cx,useLayoutEffect:ei,useMemo:st,useReducer:dx,useRef:Re,useState:X,useSyncExternalStore:px,useTransition:fx,version:hx}=__REACT__});var ti={};qa(ti,{A:()=>Np,ActionBar:()=>Dn,AddonPanel:()=>Rn,Badge:()=>_n,Bar:()=>Pn,Blockquote:()=>Bp,Button:()=>lt,ClipboardCode:()=>jp,Code:()=>Lp,DL:()=>Mp,Div:()=>Up,DocumentWrapper:()=>$p,EmptyTabContent:()=>Fn,ErrorFormatter:()=>qp,FlexBar:()=>Nn,Form:()=>Ve,H1:()=>Vp,H2:()=>Bn,H3:()=>Jp,H4:()=>zp,H5:()=>Hp,H6:()=>Gp,HR:()=>Wp,IconButton:()=>ze,IconButtonSkeleton:()=>Kp,Icons:()=>Yp,Img:()=>Xp,LI:()=>Qp,Link:()=>xt,ListItem:()=>Zp,Loader:()=>ef,Modal:()=>He,OL:()=>tf,P:()=>rf,Placeholder:()=>nf,Pre:()=>of,ResetWrapper:()=>jn,ScrollArea:()=>af,Separator:()=>sf,Spaced:()=>Ln,Span:()=>lf,StorybookIcon:()=>uf,StorybookLogo:()=>cf,Symbols:()=>df,SyntaxHighlighter:()=>Rr,TT:()=>pf,TabBar:()=>ff,TabButton:()=>hf,TabWrapper:()=>mf,Table:()=>yf,Tabs:()=>gf,TabsState:()=>bf,TooltipLinkList:()=>Ef,TooltipMessage:()=>vf,TooltipNote:()=>St,UL:()=>xf,WithTooltip:()=>ut,WithTooltipPure:()=>Mn,Zoom:()=>Un,codeCommon:()=>Mt,components:()=>$n,createCopyToClipboardFunction:()=>Sf,default:()=>Fp,getStoryHref:()=>wf,icons:()=>Af,interleaveSeparators:()=>Tf,nameSpaceClassNames:()=>qn,resetComponents:()=>Cf,withReset:()=>Ut});var Fp,Np,Dn,Rn,_n,Pn,Bp,lt,jp,Lp,Mp,Up,$p,Fn,qp,Nn,Ve,Vp,Bn,Jp,zp,Hp,Gp,Wp,ze,Kp,Yp,Xp,Qp,xt,Zp,ef,He,tf,rf,nf,of,jn,af,sf,Ln,lf,uf,cf,df,Rr,pf,ff,hf,mf,yf,gf,bf,Ef,vf,St,xf,ut,Mn,Un,Mt,$n,Sf,wf,Af,Tf,qn,Cf,Ut,_r=Qe(()=>{V();J();z();Fp=__STORYBOOK_COMPONENTS__,{A:Np,ActionBar:Dn,AddonPanel:Rn,Badge:_n,Bar:Pn,Blockquote:Bp,Button:lt,ClipboardCode:jp,Code:Lp,DL:Mp,Div:Up,DocumentWrapper:$p,EmptyTabContent:Fn,ErrorFormatter:qp,FlexBar:Nn,Form:Ve,H1:Vp,H2:Bn,H3:Jp,H4:zp,H5:Hp,H6:Gp,HR:Wp,IconButton:ze,IconButtonSkeleton:Kp,Icons:Yp,Img:Xp,LI:Qp,Link:xt,ListItem:Zp,Loader:ef,Modal:He,OL:tf,P:rf,Placeholder:nf,Pre:of,ResetWrapper:jn,ScrollArea:af,Separator:sf,Spaced:Ln,Span:lf,StorybookIcon:uf,StorybookLogo:cf,Symbols:df,SyntaxHighlighter:Rr,TT:pf,TabBar:ff,TabButton:hf,TabWrapper:mf,Table:yf,Tabs:gf,TabsState:bf,TooltipLinkList:Ef,TooltipMessage:vf,TooltipNote:St,UL:xf,WithTooltip:ut,WithTooltipPure:Mn,Zoom:Un,codeCommon:Mt,components:$n,createCopyToClipboardFunction:Sf,getStoryHref:wf,icons:Af,interleaveSeparators:Tf,nameSpaceClassNames:qn,resetComponents:Cf,withReset:Ut}=__STORYBOOK_COMPONENTS__});var NS,BS,jS,LS,ki,MS,Ur,Ii,US,$S,qS,VS,JS,zS,HS,Oi,GS,WS,Kn,KS,R,Yn,YS,Xn,XS,Qn=Qe(()=>{V();J();z();NS=__STORYBOOK_THEMING__,{CacheProvider:BS,ClassNames:jS,Global:LS,ThemeProvider:ki,background:MS,color:Ur,convert:Ii,create:US,createCache:$S,createGlobal:qS,createReset:VS,css:JS,darken:zS,ensure:HS,ignoreSsrWarning:Oi,isPropValid:GS,jsx:WS,keyframes:Kn,lighten:KS,styled:R,themes:Yn,typography:YS,useTheme:Xn,withTheme:XS}=__STORYBOOK_THEMING__});var iw,sw,lw,Zn,uw,cw,dw,pw,fw,hw,mw,yw,gw,bw,Ew,vw,xw,Sw,ww,Aw,Tw,Cw,kw,Iw,Ow,Dw,Rw,_w,Pw,Fw,Nw,Bw,jw,Lw,Mw,Uw,$w,qw,Vw,Jw,zw,Hw,Gw,Ww,Kw,Yw,Xw,_i,Pi,Qw,Fi,eo,Zw,eA,Ni,tA,rA,nA,oA,aA,iA,sA,lA,uA,cA,dA,pA,fA,hA,mA,yA,gA,bA,EA,vA,xA,SA,wA,AA,TA,CA,kA,IA,OA,DA,RA,_A,PA,$r,FA,NA,BA,jA,LA,MA,UA,Bi,ji,$A,qA,VA,JA,zA,HA,GA,WA,KA,YA,XA,QA,ZA,eT,tT,rT,nT,oT,aT,iT,sT,lT,uT,cT,dT,pT,fT,hT,mT,yT,gT,bT,ET,Li,vT,xT,ST,wT,AT,TT,CT,Mi,kT,IT,OT,DT,RT,_T,PT,FT,NT,BT,jT,LT,MT,UT,$T,qT,VT,JT,zT,HT,GT,WT,KT,YT,XT,QT,ZT,eC,tC,rC,nC,oC,aC,iC,sC,lC,uC,cC,dC,pC,fC,hC,mC,yC,gC,bC,EC,vC,xC,SC,wC,AC,TC,CC,kC,IC,OC,DC,RC,_C,PC,FC,NC,BC,jC,Ui,LC,MC,UC,$C,qC,VC,JC,zC,HC,GC,WC,KC,YC,to,XC,QC,ZC,e5,t5,r5,n5,o5,a5,i5,$i,s5,l5,u5,c5,d5,p5,qi,Vi,Ji,f5,ro=Qe(()=>{V();J();z();iw=__STORYBOOK_ICONS__,{AccessibilityAltIcon:sw,AccessibilityIcon:lw,AddIcon:Zn,AdminIcon:uw,AlertAltIcon:cw,AlertIcon:dw,AlignLeftIcon:pw,AlignRightIcon:fw,AppleIcon:hw,ArrowBottomLeftIcon:mw,ArrowBottomRightIcon:yw,ArrowDownIcon:gw,ArrowLeftIcon:bw,ArrowRightIcon:Ew,ArrowSolidDownIcon:vw,ArrowSolidLeftIcon:xw,ArrowSolidRightIcon:Sw,ArrowSolidUpIcon:ww,ArrowTopLeftIcon:Aw,ArrowTopRightIcon:Tw,ArrowUpIcon:Cw,AzureDevOpsIcon:kw,BackIcon:Iw,BasketIcon:Ow,BatchAcceptIcon:Dw,BatchDenyIcon:Rw,BeakerIcon:_w,BellIcon:Pw,BitbucketIcon:Fw,BoldIcon:Nw,BookIcon:Bw,BookmarkHollowIcon:jw,BookmarkIcon:Lw,BottomBarIcon:Mw,BottomBarToggleIcon:Uw,BoxIcon:$w,BranchIcon:qw,BrowserIcon:Vw,ButtonIcon:Jw,CPUIcon:zw,CalendarIcon:Hw,CameraIcon:Gw,CategoryIcon:Ww,CertificateIcon:Kw,ChangedIcon:Yw,ChatIcon:Xw,CheckIcon:_i,ChevronDownIcon:Pi,ChevronLeftIcon:Qw,ChevronRightIcon:Fi,ChevronSmallDownIcon:eo,ChevronSmallLeftIcon:Zw,ChevronSmallRightIcon:eA,ChevronSmallUpIcon:Ni,ChevronUpIcon:tA,ChromaticIcon:rA,ChromeIcon:nA,CircleHollowIcon:oA,CircleIcon:aA,ClearIcon:iA,CloseAltIcon:sA,CloseIcon:lA,CloudHollowIcon:uA,CloudIcon:cA,CogIcon:dA,CollapseIcon:pA,CommandIcon:fA,CommentAddIcon:hA,CommentIcon:mA,CommentsIcon:yA,CommitIcon:gA,CompassIcon:bA,ComponentDrivenIcon:EA,ComponentIcon:vA,ContrastIcon:xA,ControlsIcon:SA,CopyIcon:wA,CreditIcon:AA,CrossIcon:TA,DashboardIcon:CA,DatabaseIcon:kA,DeleteIcon:IA,DiamondIcon:OA,DirectionIcon:DA,DiscordIcon:RA,DocChartIcon:_A,DocListIcon:PA,DocumentIcon:$r,DownloadIcon:FA,DragIcon:NA,EditIcon:BA,EllipsisIcon:jA,EmailIcon:LA,ExpandAltIcon:MA,ExpandIcon:UA,EyeCloseIcon:Bi,EyeIcon:ji,FaceHappyIcon:$A,FaceNeutralIcon:qA,FaceSadIcon:VA,FacebookIcon:JA,FailedIcon:zA,FastForwardIcon:HA,FigmaIcon:GA,FilterIcon:WA,FlagIcon:KA,FolderIcon:YA,FormIcon:XA,GDriveIcon:QA,GithubIcon:ZA,GitlabIcon:eT,GlobeIcon:tT,GoogleIcon:rT,GraphBarIcon:nT,GraphLineIcon:oT,GraphqlIcon:aT,GridAltIcon:iT,GridIcon:sT,GrowIcon:lT,HeartHollowIcon:uT,HeartIcon:cT,HomeIcon:dT,HourglassIcon:pT,InfoIcon:fT,ItalicIcon:hT,JumpToIcon:mT,KeyIcon:yT,LightningIcon:gT,LightningOffIcon:bT,LinkBrokenIcon:ET,LinkIcon:Li,LinkedinIcon:vT,LinuxIcon:xT,ListOrderedIcon:ST,ListUnorderedIcon:wT,LocationIcon:AT,LockIcon:TT,MarkdownIcon:CT,MarkupIcon:Mi,MediumIcon:kT,MemoryIcon:IT,MenuIcon:OT,MergeIcon:DT,MirrorIcon:RT,MobileIcon:_T,MoonIcon:PT,NutIcon:FT,OutboxIcon:NT,OutlineIcon:BT,PaintBrushIcon:jT,PaperClipIcon:LT,ParagraphIcon:MT,PassedIcon:UT,PhoneIcon:$T,PhotoDragIcon:qT,PhotoIcon:VT,PinAltIcon:JT,PinIcon:zT,PlayAllHollowIcon:HT,PlayBackIcon:GT,PlayHollowIcon:WT,PlayIcon:KT,PlayNextIcon:YT,PlusIcon:XT,PointerDefaultIcon:QT,PointerHandIcon:ZT,PowerIcon:eC,PrintIcon:tC,ProceedIcon:rC,ProfileIcon:nC,PullRequestIcon:oC,QuestionIcon:aC,RSSIcon:iC,RedirectIcon:sC,ReduxIcon:lC,RefreshIcon:uC,ReplyIcon:cC,RepoIcon:dC,RequestChangeIcon:pC,RewindIcon:fC,RulerIcon:hC,SaveIcon:mC,SearchIcon:yC,ShareAltIcon:gC,ShareIcon:bC,ShieldIcon:EC,SideBySideIcon:vC,SidebarAltIcon:xC,SidebarAltToggleIcon:SC,SidebarIcon:wC,SidebarToggleIcon:AC,SpeakerIcon:TC,StackedIcon:CC,StarHollowIcon:kC,StarIcon:IC,StatusFailIcon:OC,StatusPassIcon:DC,StatusWarnIcon:RC,StickerIcon:_C,StopAltHollowIcon:PC,StopAltIcon:FC,StopIcon:NC,StorybookIcon:BC,StructureIcon:jC,SubtractIcon:Ui,SunIcon:LC,SupportIcon:MC,SwitchAltIcon:UC,SyncIcon:$C,TabletIcon:qC,ThumbsUpIcon:VC,TimeIcon:JC,TimerIcon:zC,TransferIcon:HC,TrashIcon:GC,TwitterIcon:WC,TypeIcon:KC,UbuntuIcon:YC,UndoIcon:to,UnfoldIcon:XC,UnlockIcon:QC,UnpinIcon:ZC,UploadIcon:e5,UserAddIcon:t5,UserAltIcon:r5,UserIcon:n5,UsersIcon:o5,VSCodeIcon:a5,VerifiedIcon:i5,VideoIcon:$i,WandIcon:s5,WatchIcon:l5,WindowsIcon:u5,WrenchIcon:c5,XIcon:d5,YoutubeIcon:p5,ZoomIcon:qi,ZoomOutIcon:Vi,ZoomResetIcon:Ji,iconList:f5}=__STORYBOOK_ICONS__});var Xl=bp((rn,Yl)=>{V();J();z();(function(e,t){typeof rn=="object"&&typeof Yl<"u"?t(rn):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.jtpp={}))})(rn,function(e){"use strict";function t(u){return u.text!==void 0&&u.text!==""?`'${u.type}' with value '${u.text}'`:`'${u.type}'`}class r extends Error{constructor(y){super(`No parslet found for token: ${t(y)}`),this.token=y,Object.setPrototypeOf(this,r.prototype)}getToken(){return this.token}}class n extends Error{constructor(y){super(`The parsing ended early. The next token was: ${t(y)}`),this.token=y,Object.setPrototypeOf(this,n.prototype)}getToken(){return this.token}}class o extends Error{constructor(y,v){let O=`Unexpected type: '${y.type}'.`;v!==void 0&&(O+=` Message: ${v}`),super(O),Object.setPrototypeOf(this,o.prototype)}}function a(u){return y=>y.startsWith(u)?{type:u,text:u}:null}function i(u){let y=0,v,O=u[0],j=!1;if(O!=="'"&&O!=='"')return null;for(;y{let y=c(u);return y==null?null:{type:"Identifier",text:y}};function f(u){return y=>{if(!y.startsWith(u))return null;let v=y[u.length];return v!==void 0&&s.test(v)?null:{type:u,text:u}}}let b=u=>{let y=i(u);return y==null?null:{type:"StringValue",text:y}},g=u=>u.length>0?null:{type:"EOF",text:""},x=u=>{let y=p(u);return y===null?null:{type:"Number",text:y}},S=[g,a("=>"),a("("),a(")"),a("{"),a("}"),a("["),a("]"),a("|"),a("&"),a("<"),a(">"),a(","),a(";"),a("*"),a("?"),a("!"),a("="),a(":"),a("..."),a("."),a("#"),a("~"),a("/"),a("@"),f("undefined"),f("null"),f("function"),f("this"),f("new"),f("module"),f("event"),f("external"),f("typeof"),f("keyof"),f("readonly"),f("import"),f("is"),f("in"),f("asserts"),x,h,b],A=/^\s*\n\s*/;class k{static create(y){let v=this.read(y);y=v.text;let O=this.read(y);return y=O.text,new k(y,void 0,v.token,O.token)}constructor(y,v,O,j){this.text="",this.text=y,this.previous=v,this.current=O,this.next=j}static read(y,v=!1){v=v||A.test(y),y=y.trim();for(let O of S){let j=O(y);if(j!==null){let q=Object.assign(Object.assign({},j),{startOfLine:v});return y=y.slice(q.text.length),{text:y,token:q}}}throw new Error("Unexpected Token "+y)}advance(){let y=k.read(this.text);return new k(y.text,this.current,this.next,y.token)}}function T(u){if(u===void 0)throw new Error("Unexpected undefined");if(u.type==="JsdocTypeKeyValue"||u.type==="JsdocTypeParameterList"||u.type==="JsdocTypeProperty"||u.type==="JsdocTypeReadonlyProperty"||u.type==="JsdocTypeObjectField"||u.type==="JsdocTypeJsdocObjectField"||u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType")throw new o(u);return u}function I(u){return u.type==="JsdocTypeKeyValue"?F(u):T(u)}function D(u){return u.type==="JsdocTypeName"?u:F(u)}function F(u){if(u.type!=="JsdocTypeKeyValue")throw new o(u);return u}function P(u){var y;if(u.type==="JsdocTypeVariadic"){if(((y=u.element)===null||y===void 0?void 0:y.type)==="JsdocTypeName")return u;throw new o(u)}if(u.type!=="JsdocTypeNumber"&&u.type!=="JsdocTypeName")throw new o(u);return u}function L(u){return u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType"}var B;(function(u){u[u.ALL=0]="ALL",u[u.PARAMETER_LIST=1]="PARAMETER_LIST",u[u.OBJECT=2]="OBJECT",u[u.KEY_VALUE=3]="KEY_VALUE",u[u.INDEX_BRACKETS=4]="INDEX_BRACKETS",u[u.UNION=5]="UNION",u[u.INTERSECTION=6]="INTERSECTION",u[u.PREFIX=7]="PREFIX",u[u.INFIX=8]="INFIX",u[u.TUPLE=9]="TUPLE",u[u.SYMBOL=10]="SYMBOL",u[u.OPTIONAL=11]="OPTIONAL",u[u.NULLABLE=12]="NULLABLE",u[u.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",u[u.FUNCTION=14]="FUNCTION",u[u.ARROW=15]="ARROW",u[u.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",u[u.GENERIC=17]="GENERIC",u[u.NAME_PATH=18]="NAME_PATH",u[u.PARENTHESIS=19]="PARENTHESIS",u[u.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(B||(B={}));class G{constructor(y,v,O){this.grammar=y,typeof v=="string"?this._lexer=k.create(v):this._lexer=v,this.baseParser=O}get lexer(){return this._lexer}parse(){let y=this.parseType(B.ALL);if(this.lexer.current.type!=="EOF")throw new n(this.lexer.current);return y}parseType(y){return T(this.parseIntermediateType(y))}parseIntermediateType(y){let v=this.tryParslets(null,y);if(v===null)throw new r(this.lexer.current);return this.parseInfixIntermediateType(v,y)}parseInfixIntermediateType(y,v){let O=this.tryParslets(y,v);for(;O!==null;)y=O,O=this.tryParslets(y,v);return y}tryParslets(y,v){for(let O of this.grammar){let j=O(this,v,y);if(j!==null)return j}return null}consume(y){return Array.isArray(y)||(y=[y]),y.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(y){this._lexer=y.lexer}}function $(u){return u==="EOF"||u==="|"||u===","||u===")"||u===">"}let H=(u,y,v)=>{let O=u.lexer.current.type,j=u.lexer.next.type;return v==null&&O==="?"&&!$(j)||v!=null&&O==="?"?(u.consume("?"),v==null?{type:"JsdocTypeNullable",element:u.parseType(B.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:T(v),meta:{position:"suffix"}}):null};function w(u){let y=(v,O,j)=>{let q=v.lexer.current.type,W=v.lexer.next.type;if(j===null){if("parsePrefix"in u&&u.accept(q,W))return u.parsePrefix(v)}else if("parseInfix"in u&&u.precedence>O&&u.accept(q,W))return u.parseInfix(v,j);return null};return Object.defineProperty(y,"name",{value:u.name}),y}let C=w({name:"optionalParslet",accept:u=>u==="=",precedence:B.OPTIONAL,parsePrefix:u=>(u.consume("="),{type:"JsdocTypeOptional",element:u.parseType(B.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(u,y)=>(u.consume("="),{type:"JsdocTypeOptional",element:T(y),meta:{position:"suffix"}})}),_=w({name:"numberParslet",accept:u=>u==="Number",parsePrefix:u=>{let y=parseFloat(u.lexer.current.text);return u.consume("Number"),{type:"JsdocTypeNumber",value:y}}}),M=w({name:"parenthesisParslet",accept:u=>u==="(",parsePrefix:u=>{if(u.consume("("),u.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let y=u.parseIntermediateType(B.ALL);if(!u.consume(")"))throw new Error("Unterminated parenthesis");return y.type==="JsdocTypeParameterList"?y:y.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[y]}:{type:"JsdocTypeParenthesis",element:T(y)}}}),U=w({name:"specialTypesParslet",accept:(u,y)=>u==="?"&&$(y)||u==="null"||u==="undefined"||u==="*",parsePrefix:u=>{if(u.consume("null"))return{type:"JsdocTypeNull"};if(u.consume("undefined"))return{type:"JsdocTypeUndefined"};if(u.consume("*"))return{type:"JsdocTypeAny"};if(u.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+u.lexer.current.text)}}),K=w({name:"notNullableParslet",accept:u=>u==="!",precedence:B.NULLABLE,parsePrefix:u=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:u.parseType(B.NULLABLE),meta:{position:"prefix"}}),parseInfix:(u,y)=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:T(y),meta:{position:"suffix"}})});function re({allowTrailingComma:u}){return w({name:"parameterListParslet",accept:y=>y===",",precedence:B.PARAMETER_LIST,parseInfix:(y,v)=>{let O=[I(v)];y.consume(",");do try{let j=y.parseIntermediateType(B.PARAMETER_LIST);O.push(I(j))}catch(j){if(u&&j instanceof r)break;throw j}while(y.consume(","));if(O.length>0&&O.slice(0,-1).some(j=>j.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:O}}})}let Z=w({name:"genericParslet",accept:(u,y)=>u==="<"||u==="."&&y==="<",precedence:B.GENERIC,parseInfix:(u,y)=>{let v=u.consume(".");u.consume("<");let O=[];do O.push(u.parseType(B.PARAMETER_LIST));while(u.consume(","));if(!u.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:T(y),elements:O,meta:{brackets:"angle",dot:v}}}}),Y=w({name:"unionParslet",accept:u=>u==="|",precedence:B.UNION,parseInfix:(u,y)=>{u.consume("|");let v=[];do v.push(u.parseType(B.UNION));while(u.consume("|"));return{type:"JsdocTypeUnion",elements:[T(y),...v]}}}),ee=[H,C,_,M,U,K,re({allowTrailingComma:!0}),Z,Y,C];function ye({allowSquareBracketsOnAnyType:u,allowJsdocNamePaths:y,pathGrammar:v}){return function(j,q,W){if(W==null||q>=B.NAME_PATH)return null;let te=j.lexer.current.type,Ce=j.lexer.next.type;if(!(te==="."&&Ce!=="<"||te==="["&&(u||W.type==="JsdocTypeName")||y&&(te==="~"||te==="#")))return null;let Le,Or=!1;j.consume(".")?Le="property":j.consume("[")?(Le="property-brackets",Or=!0):j.consume("~")?Le="inner":(j.consume("#"),Le="instance");let Ua=v!==null?new G(v,j.lexer,j):j,Xe=Ua.parseIntermediateType(B.NAME_PATH);j.acceptLexerState(Ua);let ir;switch(Xe.type){case"JsdocTypeName":ir={type:"JsdocTypeProperty",value:Xe.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":ir={type:"JsdocTypeProperty",value:Xe.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":ir={type:"JsdocTypeProperty",value:Xe.value,meta:{quote:Xe.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Xe.specialType==="event")ir=Xe;else throw new o(Xe,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new o(Xe,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Or&&!j.consume("]")){let $a=j.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${$a.type}' with text '${$a.text}'`)}return{type:"JsdocTypeNamePath",left:T(W),right:ir,pathType:Le}}}function le({allowedAdditionalTokens:u}){return w({name:"nameParslet",accept:y=>y==="Identifier"||y==="this"||y==="new"||u.includes(y),parsePrefix:y=>{let{type:v,text:O}=y.lexer.current;return y.consume(v),{type:"JsdocTypeName",value:O}}})}let Ae=w({name:"stringValueParslet",accept:u=>u==="StringValue",parsePrefix:u=>{let y=u.lexer.current.text;return u.consume("StringValue"),{type:"JsdocTypeStringValue",value:y.slice(1,-1),meta:{quote:y[0]==="'"?"single":"double"}}}});function ne({pathGrammar:u,allowedTypes:y}){return w({name:"specialNamePathParslet",accept:v=>y.includes(v),parsePrefix:v=>{let O=v.lexer.current.type;if(v.consume(O),!v.consume(":"))return{type:"JsdocTypeName",value:O};let j,q=v.lexer.current;if(v.consume("StringValue"))j={type:"JsdocTypeSpecialNamePath",value:q.text.slice(1,-1),specialType:O,meta:{quote:q.text[0]==="'"?"single":"double"}};else{let Ce="",ve=["Identifier","@","/"];for(;ve.some(Le=>v.consume(Le));)Ce+=q.text,q=v.lexer.current;j={type:"JsdocTypeSpecialNamePath",value:Ce,specialType:O,meta:{quote:void 0}}}let W=new G(u,v.lexer,v),te=W.parseInfixIntermediateType(j,B.ALL);return v.acceptLexerState(W),T(te)}})}let qe=[le({allowedAdditionalTokens:["external","module"]}),Ae,_,ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Be=[...qe,ne({allowedTypes:["event"],pathGrammar:qe})];function Ye(u){let y;if(u.type==="JsdocTypeParameterList")y=u.elements;else if(u.type==="JsdocTypeParenthesis")y=[u.element];else throw new o(u);return y.map(v=>I(v))}function nr(u){let y=Ye(u);if(y.some(v=>v.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return y}function Ft({allowNamedParameters:u,allowNoReturnType:y,allowWithoutParenthesis:v,allowNewAsFunctionKeyword:O}){return w({name:"functionParslet",accept:(j,q)=>j==="function"||O&&j==="new"&&q==="(",parsePrefix:j=>{let q=j.consume("new");j.consume("function");let W=j.lexer.current.type==="(";if(!W){if(!v)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let te={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:q,parenthesis:W},Ce=j.parseIntermediateType(B.FUNCTION);if(u===void 0)te.parameters=nr(Ce);else{if(q&&Ce.type==="JsdocTypeFunction"&&Ce.arrow)return te=Ce,te.constructor=!0,te;te.parameters=Ye(Ce);for(let ve of te.parameters)if(ve.type==="JsdocTypeKeyValue"&&!u.includes(ve.key))throw new Error(`only allowed named parameters are ${u.join(", ")} but got ${ve.type}`)}if(j.consume(":"))te.returnType=j.parseType(B.PREFIX);else if(!y)throw new Error("function is missing return type");return te}})}function or({allowPostfix:u,allowEnclosingBrackets:y}){return w({name:"variadicParslet",accept:v=>v==="...",precedence:B.PREFIX,parsePrefix:v=>{v.consume("...");let O=y&&v.consume("[");try{let j=v.parseType(B.PREFIX);if(O&&!v.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:T(j),meta:{position:"prefix",squareBrackets:O}}}catch(j){if(j instanceof r){if(O)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw j}},parseInfix:u?(v,O)=>(v.consume("..."),{type:"JsdocTypeVariadic",element:T(O),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Cr=w({name:"symbolParslet",accept:u=>u==="(",precedence:B.SYMBOL,parseInfix:(u,y)=>{if(y.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");u.consume("(");let v={type:"JsdocTypeSymbol",value:y.value};if(!u.consume(")")){let O=u.parseIntermediateType(B.SYMBOL);if(v.element=P(O),!u.consume(")"))throw new Error("Symbol does not end after value")}return v}}),_e=w({name:"arrayBracketsParslet",precedence:B.ARRAY_BRACKETS,accept:(u,y)=>u==="["&&y==="]",parseInfix:(u,y)=>(u.consume("["),u.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[T(y)],meta:{brackets:"square",dot:!1}})});function De({objectFieldGrammar:u,allowKeyTypes:y}){return w({name:"objectParslet",accept:v=>v==="{",parsePrefix:v=>{v.consume("{");let O={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!v.consume("}")){let j,q=new G(u,v.lexer,v);for(;;){q.acceptLexerState(v);let W=q.parseIntermediateType(B.OBJECT);v.acceptLexerState(q),W===void 0&&y&&(W=v.parseIntermediateType(B.OBJECT));let te=!1;if(W.type==="JsdocTypeNullable"&&(te=!0,W=W.element),W.type==="JsdocTypeNumber"||W.type==="JsdocTypeName"||W.type==="JsdocTypeStringValue"){let ve;W.type==="JsdocTypeStringValue"&&(ve=W.meta.quote),O.elements.push({type:"JsdocTypeObjectField",key:W.value.toString(),right:void 0,optional:te,readonly:!1,meta:{quote:ve}})}else if(W.type==="JsdocTypeObjectField"||W.type==="JsdocTypeJsdocObjectField")O.elements.push(W);else throw new o(W);if(v.lexer.current.startOfLine)j="linebreak";else if(v.consume(","))j="comma";else if(v.consume(";"))j="semicolon";else break;if(v.lexer.current.type==="}")break}if(O.meta.separator=j??"comma",!v.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return O}})}function nt({allowSquaredProperties:u,allowKeyTypes:y,allowReadonly:v,allowOptional:O}){return w({name:"objectFieldParslet",precedence:B.KEY_VALUE,accept:j=>j===":",parseInfix:(j,q)=>{var W;let te=!1,Ce=!1;O&&q.type==="JsdocTypeNullable"&&(te=!0,q=q.element),v&&q.type==="JsdocTypeReadonlyProperty"&&(Ce=!0,q=q.element);let ve=(W=j.baseParser)!==null&&W!==void 0?W:j;if(ve.acceptLexerState(j),q.type==="JsdocTypeNumber"||q.type==="JsdocTypeName"||q.type==="JsdocTypeStringValue"||L(q)){if(L(q)&&!u)throw new o(q);ve.consume(":");let Le;q.type==="JsdocTypeStringValue"&&(Le=q.meta.quote);let Or=ve.parseType(B.KEY_VALUE);return j.acceptLexerState(ve),{type:"JsdocTypeObjectField",key:L(q)?q:q.value.toString(),right:Or,optional:te,readonly:Ce,meta:{quote:Le}}}else{if(!y)throw new o(q);ve.consume(":");let Le=ve.parseType(B.KEY_VALUE);return j.acceptLexerState(ve),{type:"JsdocTypeJsdocObjectField",left:T(q),right:Le}}}})}function Nt({allowOptional:u,allowVariadic:y}){return w({name:"keyValueParslet",precedence:B.KEY_VALUE,accept:v=>v===":",parseInfix:(v,O)=>{let j=!1,q=!1;if(u&&O.type==="JsdocTypeNullable"&&(j=!0,O=O.element),y&&O.type==="JsdocTypeVariadic"&&O.element!==void 0&&(q=!0,O=O.element),O.type!=="JsdocTypeName")throw new o(O);v.consume(":");let W=v.parseType(B.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:O.value,right:W,optional:j,variadic:q}}})}let kr=[...ee,Ft({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Ae,ne({allowedTypes:["module","external","event"],pathGrammar:Be}),or({allowEnclosingBrackets:!0,allowPostfix:!0}),le({allowedAdditionalTokens:["keyof"]}),Cr,_e,ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Be})],An=[...kr,De({objectFieldGrammar:[le({allowedAdditionalTokens:["module","in"]}),nt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...kr],allowKeyTypes:!0}),Nt({allowOptional:!0,allowVariadic:!0})],Na=w({name:"typeOfParslet",accept:u=>u==="typeof",parsePrefix:u=>(u.consume("typeof"),{type:"JsdocTypeTypeof",element:T(u.parseType(B.KEY_OF_TYPE_OF))})}),Vd=[le({allowedAdditionalTokens:["module","keyof","event","external","in"]}),H,C,Ae,_,nt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Jd=[...ee,De({allowKeyTypes:!1,objectFieldGrammar:Vd}),le({allowedAdditionalTokens:["event","external","in"]}),Na,Ft({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),or({allowEnclosingBrackets:!1,allowPostfix:!1}),le({allowedAdditionalTokens:["keyof"]}),ne({allowedTypes:["module"],pathGrammar:Be}),ye({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Be}),Nt({allowOptional:!1,allowVariadic:!1}),Cr],zd=w({name:"assertsParslet",accept:u=>u==="asserts",parsePrefix:u=>{u.consume("asserts");let y=u.parseIntermediateType(B.SYMBOL);if(y.type!=="JsdocTypeName")throw new o(y,"A typescript asserts always has to have a name on the left side.");return u.consume("is"),{type:"JsdocTypeAsserts",left:y,right:T(u.parseIntermediateType(B.INFIX))}}});function Hd({allowQuestionMark:u}){return w({name:"tupleParslet",accept:y=>y==="[",parsePrefix:y=>{y.consume("[");let v={type:"JsdocTypeTuple",elements:[]};if(y.consume("]"))return v;let O=y.parseIntermediateType(B.ALL);if(O.type==="JsdocTypeParameterList"?O.elements[0].type==="JsdocTypeKeyValue"?v.elements=O.elements.map(F):v.elements=O.elements.map(T):O.type==="JsdocTypeKeyValue"?v.elements=[F(O)]:v.elements=[T(O)],!y.consume("]"))throw new Error("Unterminated '['");if(!u&&v.elements.some(j=>j.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return v}})}let Gd=w({name:"keyOfParslet",accept:u=>u==="keyof",parsePrefix:u=>(u.consume("keyof"),{type:"JsdocTypeKeyof",element:T(u.parseType(B.KEY_OF_TYPE_OF))})}),Wd=w({name:"importParslet",accept:u=>u==="import",parsePrefix:u=>{if(u.consume("import"),!u.consume("("))throw new Error("Missing parenthesis after import keyword");let y=u.parseType(B.PREFIX);if(y.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!u.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:y}}}),Kd=w({name:"readonlyPropertyParslet",accept:u=>u==="readonly",parsePrefix:u=>(u.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:u.parseType(B.KEY_VALUE)})}),Yd=w({name:"arrowFunctionParslet",precedence:B.ARROW,accept:u=>u==="=>",parseInfix:(u,y)=>(u.consume("=>"),{type:"JsdocTypeFunction",parameters:Ye(y).map(D),arrow:!0,constructor:!1,parenthesis:!0,returnType:u.parseType(B.OBJECT)})}),Xd=w({name:"intersectionParslet",accept:u=>u==="&",precedence:B.INTERSECTION,parseInfix:(u,y)=>{u.consume("&");let v=[];do v.push(u.parseType(B.INTERSECTION));while(u.consume("&"));return{type:"JsdocTypeIntersection",elements:[T(y),...v]}}}),Qd=w({name:"predicateParslet",precedence:B.INFIX,accept:u=>u==="is",parseInfix:(u,y)=>{if(y.type!=="JsdocTypeName")throw new o(y,"A typescript predicate always has to have a name on the left side.");return u.consume("is"),{type:"JsdocTypePredicate",left:y,right:T(u.parseIntermediateType(B.INFIX))}}}),Zd=w({name:"objectSquareBracketPropertyParslet",accept:u=>u==="[",parsePrefix:u=>{if(u.baseParser===void 0)throw new Error("Only allowed inside object grammar");u.consume("[");let y=u.lexer.current.text;u.consume("Identifier");let v;if(u.consume(":")){let O=u.baseParser;O.acceptLexerState(u),v={type:"JsdocTypeIndexSignature",key:y,right:O.parseType(B.INDEX_BRACKETS)},u.acceptLexerState(O)}else if(u.consume("in")){let O=u.baseParser;O.acceptLexerState(u),v={type:"JsdocTypeMappedType",key:y,right:O.parseType(B.ARRAY_BRACKETS)},u.acceptLexerState(O)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!u.consume("]"))throw new Error("Unterminated square brackets");return v}}),ep=[Kd,le({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),H,C,Ae,_,nt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Zd],tp=[...ee,De({allowKeyTypes:!1,objectFieldGrammar:ep}),Na,Gd,Wd,Ae,Ft({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Hd({allowQuestionMark:!1}),or({allowEnclosingBrackets:!1,allowPostfix:!1}),zd,le({allowedAdditionalTokens:["event","external","in"]}),ne({allowedTypes:["module"],pathGrammar:Be}),_e,Yd,ye({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Be}),Xd,Qd,Nt({allowVariadic:!0,allowOptional:!0})];function Ba(u,y){switch(y){case"closure":return new G(Jd,u).parse();case"jsdoc":return new G(An,u).parse();case"typescript":return new G(tp,u).parse()}}function rp(u,y=["typescript","closure","jsdoc"]){let v;for(let O of y)try{return Ba(u,O)}catch(j){v=j}throw v}function ar(u,y){let v=u[y.type];if(v===void 0)throw new Error(`In this set of transform rules exists no rule for type ${y.type}.`);return v(y,O=>ar(u,O))}function Te(u){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function ja(u){let y={params:[]};for(let v of u.parameters)v.type==="JsdocTypeKeyValue"?v.key==="this"?y.this=v.right:v.key==="new"?y.new=v.right:y.params.push(v):y.params.push(v);return y}function Ir(u,y,v){return u==="prefix"?v+y:y+v}function ot(u,y){switch(y){case"double":return`"${u}"`;case"single":return`'${u}'`;case void 0:return u}}function La(){return{JsdocTypeParenthesis:(u,y)=>`(${u.element!==void 0?y(u.element):""})`,JsdocTypeKeyof:(u,y)=>`keyof ${y(u.element)}`,JsdocTypeFunction:(u,y)=>{if(u.arrow){if(u.returnType===void 0)throw new Error("Arrow function needs a return type.");let v=`(${u.parameters.map(y).join(", ")}) => ${y(u.returnType)}`;return u.constructor&&(v="new "+v),v}else{let v=u.constructor?"new":"function";return u.parenthesis&&(v+=`(${u.parameters.map(y).join(", ")})`,u.returnType!==void 0&&(v+=`: ${y(u.returnType)}`)),v}},JsdocTypeName:u=>u.value,JsdocTypeTuple:(u,y)=>`[${u.elements.map(y).join(", ")}]`,JsdocTypeVariadic:(u,y)=>u.meta.position===void 0?"...":Ir(u.meta.position,y(u.element),"..."),JsdocTypeNamePath:(u,y)=>{let v=y(u.left),O=y(u.right);switch(u.pathType){case"inner":return`${v}~${O}`;case"instance":return`${v}#${O}`;case"property":return`${v}.${O}`;case"property-brackets":return`${v}[${O}]`}},JsdocTypeStringValue:u=>ot(u.value,u.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(u,y)=>{if(u.meta.brackets==="square"){let v=u.elements[0],O=y(v);return v.type==="JsdocTypeUnion"||v.type==="JsdocTypeIntersection"?`(${O})[]`:`${O}[]`}else return`${y(u.left)}${u.meta.dot?".":""}<${u.elements.map(y).join(", ")}>`},JsdocTypeImport:(u,y)=>`import(${y(u.element)})`,JsdocTypeObjectField:(u,y)=>{let v="";return u.readonly&&(v+="readonly "),typeof u.key=="string"?v+=ot(u.key,u.meta.quote):v+=y(u.key),u.optional&&(v+="?"),u.right===void 0?v:v+`: ${y(u.right)}`},JsdocTypeJsdocObjectField:(u,y)=>`${y(u.left)}: ${y(u.right)}`,JsdocTypeKeyValue:(u,y)=>{let v=u.key;return u.optional&&(v+="?"),u.variadic&&(v="..."+v),u.right===void 0?v:v+`: ${y(u.right)}`},JsdocTypeSpecialNamePath:u=>`${u.specialType}:${ot(u.value,u.meta.quote)}`,JsdocTypeNotNullable:(u,y)=>Ir(u.meta.position,y(u.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(u,y)=>Ir(u.meta.position,y(u.element),"?"),JsdocTypeNumber:u=>u.value.toString(),JsdocTypeObject:(u,y)=>`{${u.elements.map(y).join((u.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(u,y)=>Ir(u.meta.position,y(u.element),"="),JsdocTypeSymbol:(u,y)=>`${u.value}(${u.element!==void 0?y(u.element):""})`,JsdocTypeTypeof:(u,y)=>`typeof ${y(u.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(u,y)=>u.elements.map(y).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(u,y)=>u.elements.map(y).join(" & "),JsdocTypeProperty:u=>ot(u.value,u.meta.quote),JsdocTypePredicate:(u,y)=>`${y(u.left)} is ${y(u.right)}`,JsdocTypeIndexSignature:(u,y)=>`[${u.key}: ${y(u.right)}]`,JsdocTypeMappedType:(u,y)=>`[${u.key} in ${y(u.right)}]`,JsdocTypeAsserts:(u,y)=>`asserts ${y(u.left)} is ${y(u.right)}`}}let np=La();function op(u){return ar(np,u)}let ap=["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 at(u){let y={type:"NameExpression",name:u};return ap.includes(u)&&(y.reservedWord=!0),y}let ip={JsdocTypeOptional:(u,y)=>{let v=y(u.element);return v.optional=!0,v},JsdocTypeNullable:(u,y)=>{let v=y(u.element);return v.nullable=!0,v},JsdocTypeNotNullable:(u,y)=>{let v=y(u.element);return v.nullable=!1,v},JsdocTypeVariadic:(u,y)=>{if(u.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let v=y(u.element);return v.repeatable=!0,v},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:u=>at(ot(u.value,u.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(u,y)=>{let v=ja(u),O={type:"FunctionType",params:v.params.map(y)};return v.this!==void 0&&(O.this=y(v.this)),v.new!==void 0&&(O.new=y(v.new)),u.returnType!==void 0&&(O.result=y(u.returnType)),O},JsdocTypeGeneric:(u,y)=>({type:"TypeApplication",applications:u.elements.map(v=>y(v)),expression:y(u.left)}),JsdocTypeSpecialNamePath:u=>at(u.specialType+":"+ot(u.value,u.meta.quote)),JsdocTypeName:u=>u.value!=="function"?at(u.value):{type:"FunctionType",params:[]},JsdocTypeNumber:u=>at(u.value.toString()),JsdocTypeObject:(u,y)=>{let v={type:"RecordType",fields:[]};for(let O of u.elements)O.type!=="JsdocTypeObjectField"&&O.type!=="JsdocTypeJsdocObjectField"?v.fields.push({type:"FieldType",key:y(O),value:void 0}):v.fields.push(y(O));return v},JsdocTypeObjectField:(u,y)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:at(ot(u.key,u.meta.quote)),value:u.right===void 0?void 0:y(u.right)}},JsdocTypeJsdocObjectField:(u,y)=>({type:"FieldType",key:y(u.left),value:y(u.right)}),JsdocTypeUnion:(u,y)=>({type:"TypeUnion",elements:u.elements.map(v=>y(v))}),JsdocTypeKeyValue:(u,y)=>({type:"FieldType",key:at(u.key),value:u.right===void 0?void 0:y(u.right)}),JsdocTypeNamePath:(u,y)=>{let v=y(u.left),O;u.right.type==="JsdocTypeSpecialNamePath"?O=y(u.right).name:O=ot(u.right.value,u.right.meta.quote);let j=u.pathType==="inner"?"~":u.pathType==="instance"?"#":".";return at(`${v.name}${j}${O}`)},JsdocTypeSymbol:u=>{let y="",v=u.element,O=!1;return v?.type==="JsdocTypeVariadic"&&(v.meta.position==="prefix"?y="...":O=!0,v=v.element),v?.type==="JsdocTypeName"?y+=v.value:v?.type==="JsdocTypeNumber"&&(y+=v.value.toString()),O&&(y+="..."),at(`${u.value}(${y})`)},JsdocTypeParenthesis:(u,y)=>y(T(u.element)),JsdocTypeMappedType:Te,JsdocTypeIndexSignature:Te,JsdocTypeImport:Te,JsdocTypeKeyof:Te,JsdocTypeTuple:Te,JsdocTypeTypeof:Te,JsdocTypeIntersection:Te,JsdocTypeProperty:Te,JsdocTypePredicate:Te,JsdocTypeAsserts:Te};function sp(u){return ar(ip,u)}function Et(u){switch(u){case void 0:return"none";case"single":return"single";case"double":return"double"}}function lp(u){switch(u){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Tn(u,y){return y.length===2?{type:u,left:y[0],right:y[1]}:{type:u,left:y[0],right:Tn(u,y.slice(1))}}let up={JsdocTypeOptional:(u,y)=>({type:"OPTIONAL",value:y(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(u,y)=>({type:"NULLABLE",value:y(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(u,y)=>({type:"NOT_NULLABLE",value:y(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(u,y)=>{let v={type:"VARIADIC",meta:{syntax:u.meta.position==="prefix"?"PREFIX_DOTS":u.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return u.element!==void 0&&(v.value=y(u.element)),v},JsdocTypeName:u=>({type:"NAME",name:u.value}),JsdocTypeTypeof:(u,y)=>({type:"TYPE_QUERY",name:y(u.element)}),JsdocTypeTuple:(u,y)=>({type:"TUPLE",entries:u.elements.map(y)}),JsdocTypeKeyof:(u,y)=>({type:"KEY_QUERY",value:y(u.element)}),JsdocTypeImport:u=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:Et(u.element.meta.quote),string:u.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(u,y)=>{let v=ja(u),O={type:u.arrow?"ARROW":"FUNCTION",params:v.params.map(j=>{if(j.type==="JsdocTypeKeyValue"){if(j.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:j.key,typeName:y(j.right)}}else return y(j)}),new:null,returns:null};return v.this!==void 0?O.this=y(v.this):u.arrow||(O.this=null),v.new!==void 0&&(O.new=y(v.new)),u.returnType!==void 0&&(O.returns=y(u.returnType)),O},JsdocTypeGeneric:(u,y)=>{let v={type:"GENERIC",subject:y(u.left),objects:u.elements.map(y),meta:{syntax:u.meta.brackets==="square"?"SQUARE_BRACKET":u.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return u.meta.brackets==="square"&&u.elements[0].type==="JsdocTypeFunction"&&!u.elements[0].parenthesis&&(v.objects[0]={type:"NAME",name:"function"}),v},JsdocTypeObjectField:(u,y)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:Et(u.meta.quote),value:null,readonly:!1};let v=y(u.right);return u.optional&&(v={type:"OPTIONAL",value:v,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key.toString(),quoteStyle:Et(u.meta.quote),value:v,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(u,y)=>{if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:null,readonly:!1};let v=y(u.right);return u.optional&&(v={type:"OPTIONAL",value:v,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:v,readonly:!1}},JsdocTypeObject:(u,y)=>{let v=[];for(let O of u.elements)(O.type==="JsdocTypeObjectField"||O.type==="JsdocTypeJsdocObjectField")&&v.push(y(O));return{type:"RECORD",entries:v}},JsdocTypeSpecialNamePath:u=>{if(u.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${u.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:Et(u.meta.quote),path:u.value}}},JsdocTypeNamePath:(u,y)=>{let v=!1,O,j;u.right.type==="JsdocTypeSpecialNamePath"&&u.right.specialType==="event"?(v=!0,O=u.right.value,j=Et(u.right.meta.quote)):(O=u.right.value,j=Et(u.right.meta.quote));let q={type:lp(u.pathType),owner:y(u.left),name:O,quoteStyle:j,hasEventPrefix:v};if(q.owner.type==="MODULE"){let W=q.owner;return q.owner=q.owner.value,W.value=q,W}else return q},JsdocTypeUnion:(u,y)=>Tn("UNION",u.elements.map(y)),JsdocTypeParenthesis:(u,y)=>({type:"PARENTHESIS",value:y(T(u.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:u=>({type:"STRING_VALUE",quoteStyle:Et(u.meta.quote),string:u.value}),JsdocTypeIntersection:(u,y)=>Tn("INTERSECTION",u.elements.map(y)),JsdocTypeNumber:u=>({type:"NUMBER_VALUE",number:u.value.toString()}),JsdocTypeSymbol:Te,JsdocTypeProperty:Te,JsdocTypePredicate:Te,JsdocTypeMappedType:Te,JsdocTypeIndexSignature:Te,JsdocTypeAsserts:Te};function cp(u){return ar(up,u)}function dp(){return{JsdocTypeIntersection:(u,y)=>({type:"JsdocTypeIntersection",elements:u.elements.map(y)}),JsdocTypeGeneric:(u,y)=>({type:"JsdocTypeGeneric",left:y(u.left),elements:u.elements.map(y),meta:{dot:u.meta.dot,brackets:u.meta.brackets}}),JsdocTypeNullable:u=>u,JsdocTypeUnion:(u,y)=>({type:"JsdocTypeUnion",elements:u.elements.map(y)}),JsdocTypeUnknown:u=>u,JsdocTypeUndefined:u=>u,JsdocTypeTypeof:(u,y)=>({type:"JsdocTypeTypeof",element:y(u.element)}),JsdocTypeSymbol:(u,y)=>{let v={type:"JsdocTypeSymbol",value:u.value};return u.element!==void 0&&(v.element=y(u.element)),v},JsdocTypeOptional:(u,y)=>({type:"JsdocTypeOptional",element:y(u.element),meta:{position:u.meta.position}}),JsdocTypeObject:(u,y)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:u.elements.map(y)}),JsdocTypeNumber:u=>u,JsdocTypeNull:u=>u,JsdocTypeNotNullable:(u,y)=>({type:"JsdocTypeNotNullable",element:y(u.element),meta:{position:u.meta.position}}),JsdocTypeSpecialNamePath:u=>u,JsdocTypeObjectField:(u,y)=>({type:"JsdocTypeObjectField",key:u.key,right:u.right===void 0?void 0:y(u.right),optional:u.optional,readonly:u.readonly,meta:u.meta}),JsdocTypeJsdocObjectField:(u,y)=>({type:"JsdocTypeJsdocObjectField",left:y(u.left),right:y(u.right)}),JsdocTypeKeyValue:(u,y)=>({type:"JsdocTypeKeyValue",key:u.key,right:u.right===void 0?void 0:y(u.right),optional:u.optional,variadic:u.variadic}),JsdocTypeImport:(u,y)=>({type:"JsdocTypeImport",element:y(u.element)}),JsdocTypeAny:u=>u,JsdocTypeStringValue:u=>u,JsdocTypeNamePath:u=>u,JsdocTypeVariadic:(u,y)=>{let v={type:"JsdocTypeVariadic",meta:{position:u.meta.position,squareBrackets:u.meta.squareBrackets}};return u.element!==void 0&&(v.element=y(u.element)),v},JsdocTypeTuple:(u,y)=>({type:"JsdocTypeTuple",elements:u.elements.map(y)}),JsdocTypeName:u=>u,JsdocTypeFunction:(u,y)=>{let v={type:"JsdocTypeFunction",arrow:u.arrow,parameters:u.parameters.map(y),constructor:u.constructor,parenthesis:u.parenthesis};return u.returnType!==void 0&&(v.returnType=y(u.returnType)),v},JsdocTypeKeyof:(u,y)=>({type:"JsdocTypeKeyof",element:y(u.element)}),JsdocTypeParenthesis:(u,y)=>({type:"JsdocTypeParenthesis",element:y(u.element)}),JsdocTypeProperty:u=>u,JsdocTypePredicate:(u,y)=>({type:"JsdocTypePredicate",left:y(u.left),right:y(u.right)}),JsdocTypeIndexSignature:(u,y)=>({type:"JsdocTypeIndexSignature",key:u.key,right:y(u.right)}),JsdocTypeMappedType:(u,y)=>({type:"JsdocTypeMappedType",key:u.key,right:y(u.right)}),JsdocTypeAsserts:(u,y)=>({type:"JsdocTypeAsserts",left:y(u.left),right:y(u.right)})}}let Ma={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Cn(u,y,v,O,j){O?.(u,y,v);let q=Ma[u.type];for(let W of q){let te=u[W];if(te!==void 0)if(Array.isArray(te))for(let Ce of te)Cn(Ce,u,W,O,j);else Cn(te,u,W,O,j)}j?.(u,y,v)}function pp(u,y,v){Cn(u,void 0,void 0,y,v)}e.catharsisTransform=sp,e.identityTransformRules=dp,e.jtpTransform=cp,e.parse=Ba,e.stringify=op,e.stringifyRules=La,e.transform=ar,e.traverse=pp,e.tryParse=rp,e.visitorKeys=Ma})});var fc={};qa(fc,{ColorControl:()=>pc,default:()=>Qy});function Ot(){return(Ot=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function Xo(e){var t=Re(e),r=Re(function(n){t.current&&t.current(n)});return t.current=e,r.current}function lc(e,t,r){var n=Xo(r),o=X(function(){return e.toHsva(t)}),a=o[0],i=o[1],l=Re({color:t,hsva:a});Se(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},i(c)}},[t,e]),Se(function(){var c;ic(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},n(c))},[a,e,n]);var s=xe(function(c){i(function(d){return Object.assign({},d,c)})},[]);return[a,s]}var fy,ec,hy,my,Ue,Kt,Er,Qo,Ku,Yu,na,vr,oa,Ee,yy,gy,Zo,by,Ey,vy,xy,tc,ea,ln,rc,Sy,on,wy,nc,oc,ac,ic,sc,Ay,Ty,Cy,Xu,uc,ky,Iy,Oy,Dy,cc,Ry,_y,Py,Fy,Ny,By,jy,Ly,My,Uy,$y,Qu,qy,Vy,dc,an,Jy,zy,Hy,ta,Gy,Wy,sn,Zu,Wt,Ky,Yy,un,Xy,pc,Qy,hc=Qe(()=>{V();J();z();In();Dr();_r();Qn();ro();fy=je({"../../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]}}}),ec=je({"../../node_modules/color-convert/conversions.js"(e,t){var r=fy(),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:l,labels:s}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:l}),Object.defineProperty(o[i],"labels",{value:s})}o.rgb.hsl=function(i){let l=i[0]/255,s=i[1]/255,c=i[2]/255,d=Math.min(l,s,c),p=Math.max(l,s,c),h=p-d,f,b;p===d?f=0:l===p?f=(s-c)/h:s===p?f=2+(c-l)/h:c===p&&(f=4+(l-s)/h),f=Math.min(f*60,360),f<0&&(f+=360);let g=(d+p)/2;return p===d?b=0:g<=.5?b=h/(p+d):b=h/(2-p-d),[f,b*100,g*100]},o.rgb.hsv=function(i){let l,s,c,d,p,h=i[0]/255,f=i[1]/255,b=i[2]/255,g=Math.max(h,f,b),x=g-Math.min(h,f,b),S=function(A){return(g-A)/6/x+1/2};return x===0?(d=0,p=0):(p=x/g,l=S(h),s=S(f),c=S(b),h===g?d=c-s:f===g?d=1/3+l-c:b===g&&(d=2/3+s-l),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,g*100]},o.rgb.hwb=function(i){let l=i[0],s=i[1],c=i[2],d=o.rgb.hsl(i)[0],p=1/255*Math.min(l,Math.min(s,c));return c=1-1/255*Math.max(l,Math.max(s,c)),[d,p*100,c*100]},o.rgb.cmyk=function(i){let l=i[0]/255,s=i[1]/255,c=i[2]/255,d=Math.min(1-l,1-s,1-c),p=(1-l-d)/(1-d)||0,h=(1-s-d)/(1-d)||0,f=(1-c-d)/(1-d)||0;return[p*100,h*100,f*100,d*100]};function a(i,l){return(i[0]-l[0])**2+(i[1]-l[1])**2+(i[2]-l[2])**2}o.rgb.keyword=function(i){let l=n[i];if(l)return l;let s=1/0,c;for(let d of Object.keys(r)){let p=r[d],h=a(i,p);h.04045?((l+.055)/1.055)**2.4:l/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let d=l*.4124+s*.3576+c*.1805,p=l*.2126+s*.7152+c*.0722,h=l*.0193+s*.1192+c*.9505;return[d*100,p*100,h*100]},o.rgb.lab=function(i){let l=o.rgb.xyz(i),s=l[0],c=l[1],d=l[2];s/=95.047,c/=100,d/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*c-16,h=500*(s-c),f=200*(c-d);return[p,h,f]},o.hsl.rgb=function(i){let l=i[0]/360,s=i[1]/100,c=i[2]/100,d,p,h;if(s===0)return h=c*255,[h,h,h];c<.5?d=c*(1+s):d=c+s-c*s;let f=2*c-d,b=[0,0,0];for(let g=0;g<3;g++)p=l+1/3*-(g-1),p<0&&p++,p>1&&p--,6*p<1?h=f+(d-f)*6*p:2*p<1?h=d:3*p<2?h=f+(d-f)*(2/3-p)*6:h=f,b[g]=h*255;return b},o.hsl.hsv=function(i){let l=i[0],s=i[1]/100,c=i[2]/100,d=s,p=Math.max(c,.01);c*=2,s*=c<=1?c:2-c,d*=p<=1?p:2-p;let h=(c+s)/2,f=c===0?2*d/(p+d):2*s/(c+s);return[l,f*100,h*100]},o.hsv.rgb=function(i){let l=i[0]/60,s=i[1]/100,c=i[2]/100,d=Math.floor(l)%6,p=l-Math.floor(l),h=255*c*(1-s),f=255*c*(1-s*p),b=255*c*(1-s*(1-p));switch(c*=255,d){case 0:return[c,b,h];case 1:return[f,c,h];case 2:return[h,c,b];case 3:return[h,f,c];case 4:return[b,h,c];case 5:return[c,h,f]}},o.hsv.hsl=function(i){let l=i[0],s=i[1]/100,c=i[2]/100,d=Math.max(c,.01),p,h;h=(2-s)*c;let f=(2-s)*d;return p=s*d,p/=f<=1?f:2-f,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(i){let l=i[0]/360,s=i[1]/100,c=i[2]/100,d=s+c,p;d>1&&(s/=d,c/=d);let h=Math.floor(6*l),f=1-c;p=6*l-h,h&1&&(p=1-p);let b=s+p*(f-s),g,x,S;switch(h){default:case 6:case 0:g=f,x=b,S=s;break;case 1:g=b,x=f,S=s;break;case 2:g=s,x=f,S=b;break;case 3:g=s,x=b,S=f;break;case 4:g=b,x=s,S=f;break;case 5:g=f,x=s,S=b;break}return[g*255,x*255,S*255]},o.cmyk.rgb=function(i){let l=i[0]/100,s=i[1]/100,c=i[2]/100,d=i[3]/100,p=1-Math.min(1,l*(1-d)+d),h=1-Math.min(1,s*(1-d)+d),f=1-Math.min(1,c*(1-d)+d);return[p*255,h*255,f*255]},o.xyz.rgb=function(i){let l=i[0]/100,s=i[1]/100,c=i[2]/100,d,p,h;return d=l*3.2406+s*-1.5372+c*-.4986,p=l*-.9689+s*1.8758+c*.0415,h=l*.0557+s*-.204+c*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*255]},o.xyz.lab=function(i){let l=i[0],s=i[1],c=i[2];l/=95.047,s/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*s-16,p=500*(l-s),h=200*(s-c);return[d,p,h]},o.lab.xyz=function(i){let l=i[0],s=i[1],c=i[2],d,p,h;p=(l+16)/116,d=s/500+p,h=p-c/200;let f=p**3,b=d**3,g=h**3;return p=f>.008856?f:(p-16/116)/7.787,d=b>.008856?b:(d-16/116)/7.787,h=g>.008856?g:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},o.lab.lch=function(i){let l=i[0],s=i[1],c=i[2],d;d=Math.atan2(c,s)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(s*s+c*c);return[l,p,d]},o.lch.lab=function(i){let l=i[0],s=i[1],c=i[2]/360*2*Math.PI,d=s*Math.cos(c),p=s*Math.sin(c);return[l,d,p]},o.rgb.ansi16=function(i,l=null){let[s,c,d]=i,p=l===null?o.rgb.hsv(i)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(d/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let l=i[0],s=i[1],c=i[2];return l===s&&s===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(s/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(i){let l=i%10;if(l===0||l===7)return i>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let s=(~~(i>50)+1)*.5,c=(l&1)*s*255,d=(l>>1&1)*s*255,p=(l>>2&1)*s*255;return[c,d,p]},o.ansi256.rgb=function(i){if(i>=232){let p=(i-232)*10+8;return[p,p,p]}i-=16;let l,s=Math.floor(i/36)/5*255,c=Math.floor((l=i%36)/6)/5*255,d=l%6/5*255;return[s,c,d]},o.rgb.hex=function(i){let l=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(i){let l=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let s=l[0];l[0].length===3&&(s=s.split("").map(f=>f+f).join(""));let c=parseInt(s,16),d=c>>16&255,p=c>>8&255,h=c&255;return[d,p,h]},o.rgb.hcg=function(i){let l=i[0]/255,s=i[1]/255,c=i[2]/255,d=Math.max(Math.max(l,s),c),p=Math.min(Math.min(l,s),c),h=d-p,f,b;return h<1?f=p/(1-h):f=0,h<=0?b=0:d===l?b=(s-c)/h%6:d===s?b=2+(c-l)/h:b=4+(l-s)/h,b/=6,b%=1,[b*360,h*100,f*100]},o.hsl.hcg=function(i){let l=i[1]/100,s=i[2]/100,c=s<.5?2*l*s:2*l*(1-s),d=0;return c<1&&(d=(s-.5*c)/(1-c)),[i[0],c*100,d*100]},o.hsv.hcg=function(i){let l=i[1]/100,s=i[2]/100,c=l*s,d=0;return c<1&&(d=(s-c)/(1-c)),[i[0],c*100,d*100]},o.hcg.rgb=function(i){let l=i[0]/360,s=i[1]/100,c=i[2]/100;if(s===0)return[c*255,c*255,c*255];let d=[0,0,0],p=l%1*6,h=p%1,f=1-h,b=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=f,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=f,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=f}return b=(1-s)*c,[(s*d[0]+b)*255,(s*d[1]+b)*255,(s*d[2]+b)*255]},o.hcg.hsv=function(i){let l=i[1]/100,s=i[2]/100,c=l+s*(1-l),d=0;return c>0&&(d=l/c),[i[0],d*100,c*100]},o.hcg.hsl=function(i){let l=i[1]/100,s=i[2]/100*(1-l)+.5*l,c=0;return s>0&&s<.5?c=l/(2*s):s>=.5&&s<1&&(c=l/(2*(1-s))),[i[0],c*100,s*100]},o.hcg.hwb=function(i){let l=i[1]/100,s=i[2]/100,c=l+s*(1-l);return[i[0],(c-l)*100,(1-c)*100]},o.hwb.hcg=function(i){let l=i[1]/100,s=1-i[2]/100,c=s-l,d=0;return c<1&&(d=(s-c)/(1-c)),[i[0],c*100,d*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 l=Math.round(i[0]/100*255)&255,s=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),hy=je({"../../node_modules/color-convert/route.js"(e,t){var r=ec();function n(){let l={},s=Object.keys(r);for(let c=s.length,d=0;d1&&(d=p),s(d))};return"conversion"in s&&(c.conversion=s.conversion),c}function l(s){let c=function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let h=s(d);if(typeof h=="object")for(let f=h.length,b=0;b{o[s]={},Object.defineProperty(o[s],"channels",{value:r[s].channels}),Object.defineProperty(o[s],"labels",{value:r[s].labels});let c=n(s);Object.keys(c).forEach(d=>{let p=c[d];o[s][d]=l(p),o[s][d].raw=i(p)})}),t.exports=o}}),Ue=Lt(my());Kt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:x.buttons>0)&&o.current?a(Ku(o.current,x,l.current)):g(!1)},b=function(){return g(!1)};function g(x){var S=s.current,A=Qo(o.current),k=x?A.addEventListener:A.removeEventListener;k(S?"touchmove":"mousemove",f),k(S?"touchend":"mouseup",b)}return[function(x){var S=x.nativeEvent,A=o.current;if(A&&(Yu(S),!function(T,I){return I&&!Er(T)}(S,s.current)&&A)){if(Er(S)){s.current=!0;var k=S.changedTouches||[];k.length&&(l.current=k[0].identifier)}A.focus(),a(Ku(A,S,l.current)),g(!0)}},function(x){var S=x.which||x.keyCode;S<37||S>40||(x.preventDefault(),i({left:S===39?.05:S===37?-.05:0,top:S===40?.05:S===38?-.05:0}))},g]},[i,a]),d=c[0],p=c[1],h=c[2];return Se(function(){return h},[h]),m.createElement("div",Ot({},n,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:p,tabIndex:0,role:"slider"}))}),vr=function(e){return e.filter(Boolean).join(" ")},oa=function(e){var t=e.color,r=e.left,n=e.top,o=n===void 0?.5:n,a=vr(["react-colorful__pointer",e.className]);return m.createElement("div",{className:a,style:{top:100*o+"%",left:100*r+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Ee=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},yy={grad:.9,turn:360,rad:360/(2*Math.PI)},gy=function(e){return nc(Zo(e))},Zo=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?Ee(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?Ee(parseInt(e.substring(6,8),16)/255,2):1}},by=function(e,t){return t===void 0&&(t="deg"),Number(e)*(yy[t]||1)},Ey=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?vy({h:by(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}},vy=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}},xy=function(e){return wy(rc(e))},tc=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:Ee(e.h),s:Ee(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:Ee(o/2),a:Ee(n,2)}},ea=function(e){var t=tc(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},ln=function(e){var t=tc(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},rc=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),l=n*(1-(t-a)*r),s=n*(1-(1-t+a)*r),c=a%6;return{r:Ee(255*[n,l,i,i,s,n][c]),g:Ee(255*[s,n,n,l,i,i][c]),b:Ee(255*[i,i,s,n,n,l][c]),a:Ee(o,2)}},Sy=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?nc({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}},on=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},wy=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=o<1?on(Ee(255*o)):"";return"#"+on(t)+on(r)+on(n)+a},nc=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),l=i?a===t?(r-n)/i:a===r?2+(n-t)/i:4+(t-r)/i:0;return{h:Ee(60*(l<0?l+6:l)),s:Ee(a?i/a*100:0),v:Ee(a/255*100),a:o}},oc=m.memo(function(e){var t=e.hue,r=e.onChange,n=vr(["react-colorful__hue",e.className]);return m.createElement("div",{className:n},m.createElement(na,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:Kt(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":Ee(t),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(oa,{className:"react-colorful__hue-pointer",left:t/360,color:ea({h:t,s:100,v:100,a:1})})))}),ac=m.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:ea({h:t.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:n},m.createElement(na,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:Kt(t.s+100*o.left,0,100),v:Kt(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Ee(t.s)+"%, Brightness "+Ee(t.v)+"%"},m.createElement(oa,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:ea(t)})))}),ic=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},sc=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Ay=function(e,t){return e.toLowerCase()===t.toLowerCase()||ic(Zo(e),Zo(t))};Ty=typeof window<"u"?ei:Se,Cy=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},Xu=new Map,uc=function(e){Ty(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!Xu.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}`,Xu.set(t,r);var n=Cy();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},ky=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=ra(e,["className","colorModel","color","onChange"]),l=Re(null);uc(l);var s=lc(r,o,a),c=s[0],d=s[1],p=vr(["react-colorful",t]);return m.createElement("div",Ot({},i,{ref:l,className:p}),m.createElement(ac,{hsva:c,onChange:d}),m.createElement(oc,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Iy={defaultColor:"000",toHsva:gy,fromHsva:function(e){return xy({h:e.h,s:e.s,v:e.v,a:1})},equal:Ay},Oy=function(e){return m.createElement(ky,Ot({},e,{colorModel:Iy}))},Dy=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+ln(Object.assign({},r,{a:0}))+", "+ln(Object.assign({},r,{a:1}))+")"},a=vr(["react-colorful__alpha",t]),i=Ee(100*r.a);return m.createElement("div",{className:a},m.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),m.createElement(na,{onMove:function(l){n({a:l.left})},onKey:function(l){n({a:Kt(r.a+l.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(oa,{className:"react-colorful__alpha-pointer",left:r.a,color:ln(r)})))},cc=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=ra(e,["className","colorModel","color","onChange"]),l=Re(null);uc(l);var s=lc(r,o,a),c=s[0],d=s[1],p=vr(["react-colorful",t]);return m.createElement("div",Ot({},i,{ref:l,className:p}),m.createElement(ac,{hsva:c,onChange:d}),m.createElement(oc,{hue:c.h,onChange:d}),m.createElement(Dy,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ry={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Ey,fromHsva:ln,equal:sc},_y=function(e){return m.createElement(cc,Ot({},e,{colorModel:Ry}))},Py={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Sy,fromHsva:function(e){var t=rc(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:sc},Fy=function(e){return m.createElement(cc,Ot({},e,{colorModel:Py}))},Ny=R.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),By=R(ut)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),jy=R.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"}}),Ly=R(St)(({theme:e})=>({fontFamily:e.typography.fonts.base})),My=R.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Uy=R.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})),$y=`url('data:image/svg+xml;charset=utf-8,')`,Qu=({value:e,style:t,...r})=>{let n=`linear-gradient(${e}, ${e}), ${$y}, linear-gradient(#fff, #fff)`;return m.createElement(Uy,{...r,style:{...t,backgroundImage:n}})},qy=R(Ve.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vy=R(Mi)(({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})),dc=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(dc||{}),an=Object.values(dc),Jy=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,zy=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Hy=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,ta=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Gy=/^\s*#?([0-9a-f]{3})\s*$/i,Wy={hex:Oy,rgb:Fy,hsl:_y},sn={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Zu=e=>{let t=e?.match(Jy);if(!t)return[0,0,0,1];let[,r,n,o,a=1]=t;return[r,n,o,a].map(Number)},Wt=e=>{if(!e)return;let t=!0;if(zy.test(e)){let[i,l,s,c]=Zu(e),[d,p,h]=Ue.default.rgb.hsl([i,l,s])||[0,0,0];return{valid:t,value:e,keyword:Ue.default.rgb.keyword([i,l,s]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${p}%, ${h}%, ${c})`,hex:`#${Ue.default.rgb.hex([i,l,s]).toLowerCase()}`}}if(Hy.test(e)){let[i,l,s,c]=Zu(e),[d,p,h]=Ue.default.hsl.rgb([i,l,s])||[0,0,0];return{valid:t,value:e,keyword:Ue.default.hsl.keyword([i,l,s]),colorSpace:"hsl",rgb:`rgba(${d}, ${p}, ${h}, ${c})`,hsl:e,hex:`#${Ue.default.hsl.hex([i,l,s]).toLowerCase()}`}}let r=e.replace("#",""),n=Ue.default.keyword.rgb(r)||Ue.default.hex.rgb(r),o=Ue.default.rgb.hsl(n),a=e;if(/[^#a-f0-9]/i.test(e)?a=r:ta.test(e)&&(a=`#${r}`),a.startsWith("#"))t=ta.test(a);else try{Ue.default.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:Ue.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}},Ky=(e,t,r)=>{if(!e||!t?.valid)return sn[r];if(r!=="hex")return t?.[r]||sn[r];if(!t.hex.startsWith("#"))try{return`#${Ue.default.keyword.hex(t.hex)}`}catch{return sn.hex}let n=t.hex.match(Gy);if(!n)return ta.test(t.hex)?t.hex:sn.hex;let[o,a,i]=n[1].split("");return`#${o}${o}${a}${a}${i}${i}`},Yy=(e,t)=>{let[r,n]=X(e||""),[o,a]=X(()=>Wt(r)),[i,l]=X(o?.colorSpace||"hex");Se(()=>{let p=e||"",h=Wt(p);n(p),a(h),l(h?.colorSpace||"hex")},[e]);let s=st(()=>Ky(r,o,i).toLowerCase(),[r,o,i]),c=xe(p=>{let h=Wt(p),f=h?.value||p||"";n(f),f===""&&(a(void 0),t(void 0)),h&&(a(h),l(h.colorSpace),t(h.value))},[t]),d=xe(()=>{let p=an.indexOf(i)+1;p>=an.length&&(p=0),l(an[p]);let h=o?.[an[p]]||"";n(h),t(h)},[o,i,t]);return{value:r,realValue:s,updateValue:c,color:o,colorSpace:i,cycleColorSpace:d}},un=e=>e.replace(/\s*/,"").toLowerCase(),Xy=(e,t,r)=>{let[n,o]=X(t?.valid?[t]:[]);Se(()=>{t===void 0&&o([])},[t]);let a=st(()=>(e||[]).map(l=>typeof l=="string"?Wt(l):l.title?{...Wt(l.color),keyword:l.title}:Wt(l.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=xe(l=>{l?.valid&&(a.some(s=>un(s[r])===un(l[r]))||o(s=>s.concat(l)))},[r,a]);return{presets:a,addPreset:i}},pc=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,presetColors:a,startOpen:i=!1,argType:l})=>{let s=xe(Ha(r,200),[r]),{value:c,realValue:d,updateValue:p,color:h,colorSpace:f,cycleColorSpace:b}=Yy(t,s),{presets:g,addPreset:x}=Xy(a,h,f),S=Wy[f],A=!!l?.table?.readonly;return m.createElement(Ny,{"aria-readonly":A},m.createElement(By,{startOpen:i,trigger:A?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>x(h),tooltip:m.createElement(jy,null,m.createElement(S,{color:d==="transparent"?"#000000":d,onChange:p,onFocus:n,onBlur:o}),g.length>0&&m.createElement(My,null,g.map((k,T)=>m.createElement(ut,{key:`${k.value}-${T}`,hasChrome:!1,tooltip:m.createElement(Ly,{note:k.keyword||k.value})},m.createElement(Qu,{value:k[f],active:h&&un(k[f])===un(h[f]),onClick:()=>p(k.value)})))))},m.createElement(Qu,{value:d,style:{margin:4}})),m.createElement(qy,{id:Fe(e),value:c,onChange:k=>p(k.target.value),onFocus:k=>k.target.select(),readOnly:A,placeholder:"Choose color..."}),c?m.createElement(Vy,{onClick:b}):null)},Qy=pc});V();J();z();V();J();z();V();J();z();In();Dr();Dr();_r();V();J();z();V();J();z();var xx=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:ri,ARGTYPES_INFO_RESPONSE:Vn,CHANNEL_CREATED:Sx,CHANNEL_WS_DISCONNECT:wx,CONFIG_ERROR:ni,CREATE_NEW_STORYFILE_REQUEST:Ax,CREATE_NEW_STORYFILE_RESPONSE:Tx,CURRENT_STORY_WAS_SET:Jn,DOCS_PREPARED:oi,DOCS_RENDERED:Pr,FILE_COMPONENT_SEARCH_REQUEST:Cx,FILE_COMPONENT_SEARCH_RESPONSE:kx,FORCE_REMOUNT:ai,FORCE_RE_RENDER:Fr,GLOBALS_UPDATED:$t,NAVIGATE_URL:ii,PLAY_FUNCTION_THREW_EXCEPTION:si,PRELOAD_ENTRIES:li,PREVIEW_BUILDER_PROGRESS:Ix,PREVIEW_KEYDOWN:ui,REGISTER_SUBSCRIPTION:Ox,REQUEST_WHATS_NEW_DATA:Dx,RESET_STORY_ARGS:Nr,RESULT_WHATS_NEW_DATA:Rx,SAVE_STORY_REQUEST:zn,SAVE_STORY_RESPONSE:Br,SELECT_STORY:_x,SET_CONFIG:Px,SET_CURRENT_STORY:ci,SET_FILTER:Fx,SET_GLOBALS:di,SET_INDEX:Nx,SET_STORIES:Bx,SET_WHATS_NEW_CACHE:jx,SHARED_STATE_CHANGED:Lx,SHARED_STATE_SET:Mx,STORIES_COLLAPSE_ALL:Ux,STORIES_EXPAND_ALL:$x,STORY_ARGS_UPDATED:pi,STORY_CHANGED:fi,STORY_ERRORED:hi,STORY_INDEX_INVALIDATED:mi,STORY_MISSING:Hn,STORY_PREPARED:yi,STORY_RENDERED:cr,STORY_RENDER_PHASE_CHANGED:qt,STORY_SPECIFIED:gi,STORY_THREW_EXCEPTION:bi,STORY_UNCHANGED:Ei,TELEMETRY_ERROR:qx,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Vx,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Jx,TESTING_MODULE_CRASH_REPORT:zx,TESTING_MODULE_PROGRESS_REPORT:Hx,TESTING_MODULE_RUN_ALL_REQUEST:Gx,TESTING_MODULE_RUN_REQUEST:Wx,TESTING_MODULE_WATCH_MODE_REQUEST:Kx,TOGGLE_WHATS_NEW_NOTIFICATIONS:Yx,UNHANDLED_ERRORS_WHILE_PLAYING:vi,UPDATE_GLOBALS:jr,UPDATE_QUERY_PARAMS:xi,UPDATE_STORY_ARGS:Lr}=__STORYBOOK_CORE_EVENTS__;V();J();z();var iS=__STORYBOOK_API__,{ActiveTabs:sS,Consumer:lS,ManagerContext:uS,Provider:cS,RequestResponseError:dS,addons:Mr,combineParameters:pS,controlOrMetaKey:fS,controlOrMetaSymbol:hS,eventMatchesShortcut:mS,eventToShortcut:yS,experimental_requestResponse:Gn,isMacLike:gS,isShortcutTaken:bS,keyToSymbol:ES,merge:vS,mockChannel:xS,optionOrAltSymbol:SS,shortcutMatchesShortcut:wS,shortcutToHumanString:AS,types:Si,useAddonState:TS,useArgTypes:Wn,useArgs:wi,useChannel:CS,useGlobalTypes:kS,useGlobals:Ai,useParameter:Ti,useSharedState:IS,useStoryPrepared:OS,useStorybookApi:DS,useStorybookState:Ci}=__STORYBOOK_API__;Qn();V();J();z();var Di=Object.prototype.hasOwnProperty;function Ri(e,t,r){for(r of e.keys())if(wt(r,t))return r}function wt(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--&&wt(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=Ri(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=Ri(t,o),!o)||!wt(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(Di.call(e,r)&&++n&&!Di.call(t,r)||!(r in t)||!wt(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}ro();V();J();z();var b5=__STORYBOOK_CLIENT_LOGGER__,{deprecate:E5,logger:qr,once:zi,pretty:v5}=__STORYBOOK_CLIENT_LOGGER__;V();J();z();V();J();z();V();J();z();var T5=__STORYBOOK_CHANNELS__,{Channel:Hi,PostMessageTransport:C5,WebsocketTransport:k5,createBrowserChannel:I5}=__STORYBOOK_CHANNELS__;V();J();z();var P5=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Ze,logger:Q,once:ct,pretty:F5}=__STORYBOOK_CLIENT_LOGGER__;V();J();z();var kf=Object.defineProperty,ce=(e,t)=>kf(e,"name",{value:t,configurable:!0});function de(e){for(var t=[],r=1;r` - ${i}`).join(` +`)}`),`${o}${a!=null?` + +More info: ${a} +`:""}`}};ce(Gi,"StorybookError");var ge=Gi,If=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e))(If||{}),Ki=class extends ge{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}};ce(Ki,"MissingStoryAfterHmrError");var Yi=Ki,Of=class extends ge{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}};ce(Of,"ImplicitActionsDuringRendering");var Xi=class extends ge{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.`})}};ce(Xi,"CalledExtractOnStoreError");var Qi=Xi,Zi=class extends ge{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"})}};ce(Zi,"MissingRenderToCanvasError");var es=Zi,ts=class extends ge{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}};ce(ts,"CalledPreviewMethodBeforeInitializationError");var Ne=ts,rs=class extends ge{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}};ce(rs,"StoryIndexFetchError");var ns=rs,os=class extends ge{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}};ce(os,"MdxFileWithNoCsfReferencesError");var as=os,is=class extends ge{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.`})}};ce(is,"EmptyIndexError");var ss=is,ls=class extends ge{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}};ce(ls,"NoStoryMatchError");var us=ls,cs=class extends ge{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}};ce(cs,"MissingStoryFromCsfFileError");var ds=cs,ps=class extends ge{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`})}};ce(ps,"StoryStoreAccessedBeforeInitializationError");var fs=ps,hs=class extends ge{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}};ce(hs,"MountMustBeDestructuredError");var Vr=hs,ms=class extends ge{constructor(t){super({category:"PREVIEW_API",code:14,message:de` + No render function available for storyId '${t.id}' + `}),this.data=t}};ce(ms,"NoRenderFunctionError");var ys=ms,gs=class extends ge{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. + `})}};ce(gs,"NoStoryMountedError");var bs=gs,Df=class extends ge{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. + `})}};ce(Df,"NextJsSharpError");var Rf=class extends ge{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}};ce(Rf,"NextjsRouterMocksNotAvailable");var Es=class extends ge{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}};ce(Es,"UnknownArgTypesError");var Jr=Es,_f=class extends ge{constructor(t){super({category:"ADDON_VITEST",code:1,message:de` + Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension. + + The Storybook plugin only supports values in the following units: + - px, vh, vw, em, rem and %. + + You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags + `}),this.data=t}};ce(_f,"UnsupportedViewportDimensionError");V();J();z();var Pf=Object.create,ws=Object.defineProperty,Ff=Object.getOwnPropertyDescriptor,Nf=Object.getOwnPropertyNames,Bf=Object.getPrototypeOf,jf=Object.prototype.hasOwnProperty,Lf=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Nf(t))!jf.call(e,o)&&o!==r&&ws(e,o,{get:()=>t[o],enumerable:!(n=Ff(t,o))||n.enumerable});return e},Uf=(e,t,r)=>(r=e!=null?Pf(Bf(e)):{},Mf(t||!e||!e.__esModule?ws(r,"default",{value:e,enumerable:!0}):r,e)),$f=Lf(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(l,s,c){var d,p,h,f=t.call(l),b=t.call(s);if(l===s)return!0;if(l==null||s==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(s)>-1)return!0;if(c.push(l,s),f!=b||(d=n(l),p=n(s),d.length!=p.length||d.some(function(g){return!i(l[g],s[g],c)})))return!1;switch(f.slice(8,-1)){case"Symbol":return l.valueOf()==s.valueOf();case"Date":case"Number":return+l==+s||+l!=+l&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+s;case"Set":case"Map":d=l.entries(),p=s.entries();do if(!i((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),s=new Uint8Array(s);case"DataView":l=new Uint8Array(l.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(l.length!=s.length)return!1;for(h=0;h`${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 vs=Uf($f()),As=e=>e.map(t=>typeof t<"u").filter(Boolean).length,Vf=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(As([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,vs.isEqual)(t,n);if(typeof o<"u")return!(0,vs.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},Ts=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(As([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return Vf(e.if,a)},oo=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),xs=(e,t)=>{let r=oo(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},Cs=(e,t)=>`${xs(e,"kind")}${t?`--${xs(t,"name")}`:""}`,ks=e=>qf(e);function Ss(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function zr(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Ss(e,t))&&(!r||!Ss(e,r))}var Is=(...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 Jf=Object.create,ko=Object.defineProperty,zf=Object.getOwnPropertyDescriptor,Hf=Object.getOwnPropertyNames,Gf=Object.getPrototypeOf,Wf=Object.prototype.hasOwnProperty,E=(e,t)=>ko(e,"name",{value:t,configurable:!0}),Hr=(e=>typeof Pe<"u"?Pe:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Pe<"u"?Pe:t)[r]}):e)(function(e){if(typeof Pe<"u")return Pe.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),we=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Hf(t))!Wf.call(e,o)&&o!==r&&ko(e,o,{get:()=>t[o],enumerable:!(n=zf(t,o))||n.enumerable});return e},Ht=(e,t,r)=>(r=e!=null?Jf(Gf(e)):{},Kf(t||!e||!e.__esModule?ko(r,"default",{value:e,enumerable:!0}):r,e)),Js=we((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 E(function a(i,l,s){function c(h,f){if(!l[h]){if(!i[h]){var b=typeof Hr=="function"&&Hr;if(!f&&b)return b(h,!0);if(d)return d(h,!0);var g=new Error("Cannot find module '"+h+"'");throw g.code="MODULE_NOT_FOUND",g}var x=l[h]={exports:{}};i[h][0].call(x.exports,function(S){var A=i[h][1][S];return c(A||S)},x,x.exports,a,i,l,s)}return l[h].exports}E(c,"s");for(var d=typeof Hr=="function"&&Hr,p=0;p=0)return this.lastItem=this.list[d],this.list[d].val},s.prototype.set=function(c,d){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=d,this):(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],this.list[p].val=d,this):(this.lastItem={key:c,val:d},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),d=this.indexOf(c),d>=0)return this.size--,this.list.splice(d,1)[0]},s.prototype.has=function(c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],!0):!1)},s.prototype.forEach=function(c,d){var p;for(p=0;p0&&(I[T]={cacheItem:S,arg:arguments[T]},D?c(b,I):b.push(I),b.length>h&&d(b.shift())),x.wasMemoized=D,x.numArgs=T+1,k},"memoizerific");return x.limit=h,x.wasMemoized=!1,x.cache=f,x.lru=b,x}};function c(h,f){var b=h.length,g=f.length,x,S,A;for(S=0;S=0&&(b=h[x],g=b.cacheItem.get(b.arg),!g||!g.size);x--)b.cacheItem.delete(b.arg)}E(d,"removeCachedResult");function p(h,f){return h===f||h!==h&&f!==f}E(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),zs=we(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let a=o.length;if(a===0)return"";let i="",l=0,s=0;e:for(;s>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=s+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++s,s>=a)throw new Error("URI malformed");let d=o.charCodeAt(s)&1023;l=s+1,c=65536+((c&1023)<<10|d),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=zs(),r=E(a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=E(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=E(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Hs=we(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=Io(),r=zs();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}E(n,"isPrototypeKey");function o(p,h,f,b,g){if(n(h))return p;let x=p[h];return typeof x=="object"&&x!==null?x:!b&&(g||typeof f=="number"||typeof f=="string"&&f*0===0&&f.indexOf(".")===-1)?p[h]=[]:p[h]={}}E(o,"getDeepObject");var a=20,i="[]",l="[",s="]",c=".";function d(p,h,f=0,b,g){let{nestingSyntax:x=t.defaultOptions.nestingSyntax,arrayRepeat:S=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:A=t.defaultOptions.arrayRepeatSyntax,nesting:k=t.defaultOptions.nesting,delimiter:T=t.defaultOptions.delimiter,valueSerializer:I=t.defaultOptions.valueSerializer,shouldSerializeObject:D=t.defaultOptions.shouldSerializeObject}=h,F=typeof T=="number"?String.fromCharCode(T):T,P=g===!0&&S,L=x==="dot"||x==="js"&&!g;if(f>a)return"";let B="",G=!0,$=!1;for(let H in p){let w=p[H],C;b?(C=b,P?A==="bracket"&&(C+=i):L?(C+=c,C+=H):(C+=l,C+=H,C+=s)):C=H,G||(B+=F),typeof w=="object"&&w!==null&&!D(w)?($=w.pop!==void 0,(k||S&&$)&&(B+=d(w,h,f+1,C,$))):(B+=(0,r.encodeString)(C),B+="=",B+=I(w,H)),G&&(G=!1)}return B}E(d,"stringifyObject")}),Yf=we((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(s){var c=s.indexOf("%");if(c===-1)return s;for(var d=s.length,p="",h=0,f=0,b=c,g=r;c>-1&&c>10),56320+(f&1023)),f=0,h=c+3,c=b=s.indexOf("%",h);else{if(g===n)return null;if(c+=3,c{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=Hs(),n=Io(),o=t(Yf()),a=E(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=a;var i=E(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=i;var l=/\+/g,s=E(function(){},"Empty");s.prototype=Object.create(null);function c(p,h,f,b,g){let x=p.substring(h,f);return b&&(x=x.replace(l," ")),g&&(x=(0,o.default)(x)||x),x}E(c,"computeKeySlice");function d(p,h){let{valueDeserializer:f=n.defaultOptions.valueDeserializer,keyDeserializer:b=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:g=n.defaultOptions.arrayRepeatSyntax,nesting:x=n.defaultOptions.nesting,arrayRepeat:S=n.defaultOptions.arrayRepeat,nestingSyntax:A=n.defaultOptions.nestingSyntax,delimiter:k=n.defaultOptions.delimiter}=h??{},T=typeof k=="string"?k.charCodeAt(0):k,I=A==="js",D=new s;if(typeof p!="string")return D;let F=p.length,P="",L=-1,B=-1,G=-1,$=D,H,w="",C="",_=!1,M=!1,U=!1,K=!1,re=!1,Z=!1,Y=!1,ee=0,ye=-1,le=-1,Ae=-1;for(let ne=0;neL,Y||(B=ne),G!==B-1&&(C=c(p,G+1,ye>-1?ye:B,U,_),w=b(C),H!==void 0&&($=(0,r.getDeepObject)($,H,w,I&&re,I&&Z))),Y||w!==""){Y&&(P=p.slice(B+1,ne),K&&(P=P.replace(l," ")),M&&(P=(0,o.default)(P)||P));let qe=f(P,w);if(S){let Be=$[w];Be===void 0?ye>-1?$[w]=[qe]:$[w]=qe:Be.pop?Be.push(qe):$[w]=[Be,qe]}else $[w]=qe}P="",L=ne,B=ne,_=!1,M=!1,U=!1,K=!1,re=!1,Z=!1,ye=-1,G=ne,$=D,H=void 0,w=""}else ee===93?(S&&g==="bracket"&&Ae===91&&(ye=le),x&&(A==="index"||I)&&B<=L&&(G!==le&&(C=c(p,G+1,ne,U,_),w=b(C),H!==void 0&&($=(0,r.getDeepObject)($,H,w,void 0,I)),H=w,U=!1,_=!1),G=ne,Z=!0,re=!1)):ee===46?x&&(A==="dot"||I)&&B<=L&&(G!==le&&(C=c(p,G+1,ne,U,_),w=b(C),H!==void 0&&($=(0,r.getDeepObject)($,H,w,I)),H=w,U=!1,_=!1),re=!0,Z=!1,G=ne):ee===91?x&&(A==="index"||I)&&B<=L&&(G!==le&&(C=c(p,G+1,ne,U,_),w=b(C),I&&H!==void 0&&($=(0,r.getDeepObject)($,H,w,I)),H=w,U=!1,_=!1,re=!1,Z=!0),G=ne):ee===61?B<=L?B=ne:M=!0:ee===43?B>L?K=!0:U=!0:ee===37&&(B>L?M=!0:_=!0);le=ne,Ae=ee}return D}E(d,"parse")}),Qf=we(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Hs();function r(n,o){if(n===null||typeof n!="object")return"";let a=o??{};return(0,t.stringifyObject)(n,a)}E(r,"stringify")}),Oo=we(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,i,l,s){s===void 0&&(s=l);var c=Object.getOwnPropertyDescriptor(i,l);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:E(function(){return i[l]},"get")}),Object.defineProperty(a,s,c)}:function(a,i,l,s){s===void 0&&(s=l),a[s]=i[l]}),r=e&&e.__exportStar||function(a,i){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(i,l)&&t(i,a,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=Xf();Object.defineProperty(e,"parse",{enumerable:!0,get:E(function(){return n.parse},"get")});var o=Qf();Object.defineProperty(e,"stringify",{enumerable:!0,get:E(function(){return o.stringify},"get")}),r(Io(),e)}),Gs=we((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"}}),Zf=we((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"}}),Ws=we((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),eh=we((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}}),th=we(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(eh()),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))}E(o,"decodeCodePoint"),e.default=o}),Os=we(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Gs()),n=t(Zf()),o=t(Ws()),a=t(th()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=c(d);return function(h){return String(h).replace(i,p)}}E(l,"getStrictDecoder");var s=E(function(d,p){return d{"use strict";var t=e&&e.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(Ws()),n=s(r.default),o=c(n);e.encodeXML=S(n);var a=t(Gs()),i=s(a.default),l=c(i);e.encodeHTML=f(i,l),e.encodeNonAsciiHTML=S(i);function s(A){return Object.keys(A).sort().reduce(function(k,T){return k[A[T]]="&"+T+";",k},{})}E(s,"getInverseObj");function c(A){for(var k=[],T=[],I=0,D=Object.keys(A);I1?p(A):A.charCodeAt(0)).toString(16).toUpperCase()+";"}E(h,"singleCharReplacer");function f(A,k){return function(T){return T.replace(k,function(I){return A[I]}).replace(d,h)}}E(f,"getInverse");var b=new RegExp(o.source+"|"+d.source,"g");function g(A){return A.replace(b,h)}E(g,"escape"),e.escape=g;function x(A){return A.replace(o,h)}E(x,"escapeUTF8"),e.escapeUTF8=x;function S(A){return function(k){return k.replace(b,function(T){return A[T]||h(T)})}}E(S,"getASCIIEncoder")}),rh=we(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=Os(),r=Ds();function n(s,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(s)}E(n,"decode"),e.decode=n;function o(s,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(s)}E(o,"decodeStrict"),e.decodeStrict=o;function a(s,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(s)}E(a,"encode"),e.encode=a;var i=Ds();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:E(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:E(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:E(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:E(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:E(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:E(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:E(function(){return i.encodeHTML},"get")});var l=Os();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:E(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:E(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:E(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:E(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:E(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:E(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:E(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:E(function(){return l.decodeXML},"get")})}),nh=we((e,t)=>{"use strict";function r(w,C){if(!(w instanceof C))throw new TypeError("Cannot call a class as a function")}E(r,"_classCallCheck");function n(w,C){for(var _=0;_=w.length?{done:!0}:{done:!1,value:w[M++]}},"n"),e:E(function(Y){throw Y},"e"),f:U}}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 K=!0,re=!1,Z;return{s:E(function(){_=_.call(w)},"s"),n:E(function(){var Y=_.next();return K=Y.done,Y},"n"),e:E(function(Y){re=!0,Z=Y},"e"),f:E(function(){try{!K&&_.return!=null&&_.return()}finally{if(re)throw Z}},"f")}}E(a,"_createForOfIteratorHelper");function i(w,C){if(w){if(typeof w=="string")return l(w,C);var _=Object.prototype.toString.call(w).slice(8,-1);if(_==="Object"&&w.constructor&&(_=w.constructor.name),_==="Map"||_==="Set")return Array.from(w);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return l(w,C)}}E(i,"_unsupportedIterableToArray");function l(w,C){(C==null||C>w.length)&&(C=w.length);for(var _=0,M=new Array(C);_0?w*40+55:0,re=C>0?C*40+55:0,Z=_>0?_*40+55:0;M[U]=f([K,re,Z])}E(p,"setStyleColor");function h(w){for(var C=w.toString(16);C.length<2;)C="0"+C;return C}E(h,"toHexString");function f(w){var C=[],_=a(w),M;try{for(_.s();!(M=_.n()).done;){var U=M.value;C.push(h(U))}}catch(K){_.e(K)}finally{_.f()}return"#"+C.join("")}E(f,"toColorHexString");function b(w,C,_,M){var U;return C==="text"?U=I(_,M):C==="display"?U=x(w,_,M):C==="xterm256Foreground"?U=P(w,M.colors[_]):C==="xterm256Background"?U=L(w,M.colors[_]):C==="rgb"&&(U=g(w,_)),U}E(b,"generateOutput");function g(w,C){C=C.substring(2).slice(0,-1);var _=+C.substr(0,2),M=C.substring(5).split(";"),U=M.map(function(K){return("0"+Number(K).toString(16)).substr(-2)}).join("");return F(w,(_===38?"color:#":"background-color:#")+U)}E(g,"handleRgb");function x(w,C,_){C=parseInt(C,10);var M={"-1":E(function(){return"
"},"_"),0:E(function(){return w.length&&S(w)},"_"),1:E(function(){return D(w,"b")},"_"),3:E(function(){return D(w,"i")},"_"),4:E(function(){return D(w,"u")},"_"),8:E(function(){return F(w,"display:none")},"_"),9:E(function(){return D(w,"strike")},"_"),22:E(function(){return F(w,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:E(function(){return B(w,"i")},"_"),24:E(function(){return B(w,"u")},"_"),39:E(function(){return P(w,_.fg)},"_"),49:E(function(){return L(w,_.bg)},"_"),53:E(function(){return F(w,"text-decoration:overline")},"_")},U;return M[C]?U=M[C]():4"}).join("")}E(S,"resetStyles");function A(w,C){for(var _=[],M=w;M<=C;M++)_.push(M);return _}E(A,"range");function k(w){return function(C){return(w===null||C.category!==w)&&w!=="all"}}E(k,"notCategory");function T(w){w=parseInt(w,10);var C=null;return w===0?C="all":w===1?C="bold":2")}E(D,"pushTag");function F(w,C){return D(w,"span",C)}E(F,"pushStyle");function P(w,C){return D(w,"span","color:"+C)}E(P,"pushForegroundColor");function L(w,C){return D(w,"span","background-color:"+C)}E(L,"pushBackgroundColor");function B(w,C){var _;if(w.slice(-1)[0]===C&&(_=w.pop()),_)return""}E(B,"closeTag");function G(w,C,_){var M=!1,U=3;function K(){return""}E(K,"remove");function re(_e,De){return _("xterm256Foreground",De),""}E(re,"removeXterm256Foreground");function Z(_e,De){return _("xterm256Background",De),""}E(Z,"removeXterm256Background");function Y(_e){return C.newline?_("display",-1):_("text",_e),""}E(Y,"newline");function ee(_e,De){M=!0,De.trim().length===0&&(De="0"),De=De.trimRight(";").split(";");var nt=a(De),Nt;try{for(nt.s();!(Nt=nt.n()).done;){var kr=Nt.value;_("display",kr)}}catch(An){nt.e(An)}finally{nt.f()}return""}E(ee,"ansiMess");function ye(_e){return _("text",_e),""}E(ye,"realText");function le(_e){return _("rgb",_e),""}E(le,"rgb");var Ae=[{pattern:/^\x08+/,sub:K},{pattern:/^\x1b\[[012]?K/,sub:K},{pattern:/^\x1b\[\(B/,sub:K},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:le},{pattern:/^\x1b\[38;5;(\d+)m/,sub:re},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:Y},{pattern:/^\r+\n/,sub:Y},{pattern:/^\r/,sub:Y},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ee},{pattern:/^\x1b\[\d?J/,sub:K},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:K},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:K},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ye}];function ne(_e,De){De>U&&M||(M=!1,w=w.replace(_e.pattern,_e.sub))}E(ne,"process");var qe=[],Be=w,Ye=Be.length;e:for(;Ye>0;){for(var nr=0,Ft=0,or=Ae.length;Ft{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 Ks(){let e={setHandler:E(()=>{},"setHandler"),send:E(()=>{},"send")};return new Hi({transport:e})}E(Ks,"mockChannel");var Ys=class{constructor(){this.getChannel=E(()=>{if(!this.channel){let t=Ks();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=E(()=>this.promise,"ready"),this.hasChannel=E(()=>!!this.channel,"hasChannel"),this.setChannel=E(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};E(Ys,"AddonStore");var oh=Ys,ao="__STORYBOOK_ADDONS_PREVIEW";function Xs(){return be[ao]||(be[ao]=new oh),be[ao]}E(Xs,"getAddonsStore");var Ct=Xs(),Qs=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=E(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Ct.getChannel().on(cr,this.renderListener)}removeRenderListeners(){Ct.getChannel().removeListener(cr,this.renderListener)}};E(Qs,"HooksContext");var Zs=Qs;function fo(e){let t=E((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let s=be.STORYBOOK_HOOKS_CONTEXT;be.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(be.STORYBOOK_HOOKS_CONTEXT=s,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=l,c},"hookified");return t.originalFn=e,t}E(fo,"hookify");var io=0,ah=25,ih=E(e=>(t,r)=>{let n=e(fo(t),r.map(o=>fo(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(io=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),io+=1,io>ah)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),sh=E((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Do=E(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Ro(){return be.STORYBOOK_HOOKS_CONTEXT||null}E(Ro,"getHooksContextOrNull");function Zr(){let e=Ro();if(e==null)throw Do();return e}E(Zr,"getHooksContextOrThrow");function el(e,t,r){let n=Zr();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Q.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&&Q.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&&Q.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&&Q.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||!sh(r,o.deps))&&(t(o),o.deps=r),o}throw Do()}E(el,"useHook");function hr(e,t,r){let{memoizedState:n}=el(e,o=>{o.memoizedState=t()},r);return n}E(hr,"useMemoLike");function lh(e,t){return hr("useMemo",e,t)}E(lh,"useMemo");function fr(e,t){return hr("useCallback",()=>e,t)}E(fr,"useCallback");function _o(e,t){return hr(e,()=>({current:t}),[])}E(_o,"useRefLike");function uh(e){return _o("useRef",e)}E(uh,"useRef");function tl(){let e=Ro();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Ct.getChannel().emit(Fr)}catch{Q.warn("State updates of Storybook preview hooks work only in browser")}}E(tl,"triggerUpdate");function Po(e,t){let r=_o(e,typeof t=="function"?t():t),n=E(o=>{r.current=typeof o=="function"?o(r.current):o,tl()},"setState");return[r.current,n]}E(Po,"useStateLike");function ch(e){return Po("useState",e)}E(ch,"useState");function dh(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=Po("useReducer",n);return[o,E(i=>a(l=>e(l,i)),"dispatch")]}E(dh,"useReducer");function rl(e,t){let r=Zr(),n=hr("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}E(rl,"useEffect");function ph(e,t=[]){let r=Ct.getChannel();return rl(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),fr(r.emit.bind(r),[r])}E(ph,"useChannel");function en(){let{currentContext:e}=Zr();if(e==null)throw Do();return e}E(en,"useStoryContext");function fh(e,t){let{parameters:r}=en();if(e)return r[e]??t}E(fh,"useParameter");function hh(){let e=Ct.getChannel(),{id:t,args:r}=en(),n=fr(a=>e.emit(Lr,{storyId:t,updatedArgs:a}),[e,t]),o=fr(a=>e.emit(Nr,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}E(hh,"useArgs");function mh(){let e=Ct.getChannel(),{globals:t}=en(),r=fr(n=>e.emit(jr,{globals:n}),[e]);return[t,r]}E(mh,"useGlobals");var yk=E(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=E(a=>(i,l)=>{let s=l.parameters&&l.parameters[t];return s&&s.disable||n&&!a&&!s?i(l):r(i,l,{options:a,parameters:s})},"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");function nl(e,t){let r={},n=Object.entries(e);for(let o=0;oObject.prototype.propertyIsEnumerable.call(e,t))}E(ho,"getSymbols");function mo(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}E(mo,"getTag");function il(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Ge(e,t)}return Ge(e,t)}E(il,"isEqual");function Ge(e,t,r){if(Object.is(e,t))return!0;let n=mo(e),o=mo(t);if(n===Rs&&(n=so),o===Rs&&(o=so),n!==o)return!1;switch(n){case gh:return e.toString()===t.toString();case bh:{let l=e.valueOf(),s=t.valueOf();return l===s||Number.isNaN(l)&&Number.isNaN(s)}case Eh:case xh:case vh:return Object.is(e.valueOf(),t.valueOf());case yh:return e.source===t.source&&e.flags===t.flags;case Th:return e===t}r=r??new Map;let a=r.get(e),i=r.get(t);if(a!=null&&i!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(n){case Sh:{if(e.size!==t.size)return!1;for(let[l,s]of e.entries())if(!t.has(l)||!Ge(s,t.get(l),r))return!1;return!0}case wh:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),s=Array.from(t.values());for(let c=0;cGe(d,h,r));if(p===-1)return!1;s.splice(p,1)}return!0}case Ah:case Oh:case Dh:case Rh:case _h:case Ph:case Fh:case Nh:case Bh:case jh:case Lh:case Mh:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l{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)?Vt:e.reduce((n,o,a)=>{let i=yo(o,{type:r.value});return i!==Vt&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Vt:Object.entries(e).reduce((n,[o,a])=>{let i=yo(a,{type:r.value[o]});return i===Vt?n:Object.assign(n,{[o]:i})},{});default:return Vt}},"map"),Uh=E((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=yo(o,t[n]);return a===Vt?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),go=E((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=go(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Je(e)||!Je(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=go(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),$h=E((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(E(a,"allowArg"),!o)return a();if(!Array.isArray(o))return ct.error(Me` + Invalid argType: '${n}.options' should be an array. + + More info: https://storybook.js.org/docs/api/arg-types + `),a();if(o.some(p=>p&&["object","function"].includes(typeof p)))return ct.error(Me` + Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. + + More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + `),a();let i=Array.isArray(e[n]),l=i&&e[n].findIndex(p=>!o.includes(p)),s=i&&l===-1;if(e[n]===void 0||o.includes(e[n])||s)return a();let c=i?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return ct.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),dr=Symbol("Deeply equal"),Kr=E((e,t)=>{if(typeof e!=typeof t)return t;if(il(e,t))return dr;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=Kr(e[a],o);return i!==dr&&(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 Je(e)&&Je(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Kr(e?.[n],t?.[n]);return o===dr?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),sl="UNTARGETED";function ll({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=sl}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}E(ll,"groupArgsByTarget");function ul(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}E(ul,"deleteUndefined");var cl=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Kr(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==dr&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=$h(r,t.argTypes);this.argsByStoryId[t.id]=go(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=Uh(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]=ul({...this.argsByStoryId[t],...r})}};E(cl,"ArgsStore");var qh=cl,dl=E((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),pl=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Kr(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=dl(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==dr&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:Q.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)}}};E(pl,"GlobalsStore");var Vh=pl,Jh=Ht(Js(),1),zh=(0,Jh.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),fl=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(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 Yi({storyId:t});return r}importPathToEntry(t){return zh(this.entries)[t]}};E(fl,"StoryIndexStore");var Hh=fl,Gh=E(e=>typeof e=="string"?{name:e}:e,"normalizeType"),Wh=E(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),Kh=E((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=Gh(r)),n?a.control=Wh(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Yr=E(e=>kt(e,Kh),"normalizeInputTypes"),pe=E(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),Yh=Me` +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. +`;function Fo(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(Q.debug("deprecated story",a),Ze(Yh));let i=ks(e),l=typeof n!="function"&&n.name||n.storyName||a?.name||i,s=[...pe(n.decorators),...pe(a?.decorators)],c={...a?.parameters,...n.parameters},d={...a?.args,...n.args},p={...a?.argTypes,...n.argTypes},h=[...pe(n.loaders),...pe(a?.loaders)],f=[...pe(n.beforeEach),...pe(a?.beforeEach)],{render:b,play:g,tags:x=[],globals:S={}}=n,A=c.__id||Cs(r.id,i);return{moduleExport:t,id:A,name:l,tags:x,decorators:s,parameters:c,args:d,argTypes:Yr(p),loaders:h,beforeEach:f,globals:S,...b&&{render:b},...o&&{userStoryFn:o},...g&&{play:g}}}E(Fo,"normalizeStory");function No(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:oo(n||t),...e,title:t,...o&&{argTypes:Yr(o)},parameters:{fileName:r,...e.parameters}}}E(No,"normalizeComponentAnnotations");var Xh=E(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Q.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),Qh=E(e=>{let{options:t}=e;t?.storySort&&Q.error("The storySort option parameter can only be set globally")},"checkStorySort"),_s=E(e=>{e&&(Xh(e),Qh(e))},"checkDisallowedParameters");function hl(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=No(n,r,t);_s(i.parameters);let l={meta:i,stories:{},moduleExports:e};return Object.keys(a).forEach(s=>{if(zr(s,i)){let c=Fo(s,a[s],i);_s(c.parameters),l.stories[c.id]=c}}),l}E(hl,"processCSFFile");function ml(e){return e!=null&&yl(e).includes("mount")}E(ml,"mountDestructured");function yl(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=bo(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?bo(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}E(yl,"getUsedProps");function bo(e){let t=[],r=[],n=0;for(let a=0;at(n,o)}E(gl,"decorateStory");function bl({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:l,argTypes:s,...c}={}){return c}E(bl,"sanitizeStoryContextUpdate");function El(e,t){let r={},n=E(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...bl(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>gl(a,i,n),e);return a=>(r.value=a,o(a))}E(El,"defaultDecorateStory");var et=E((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,l])=>{let s=o[i];Array.isArray(l)||typeof s>"u"?o[i]=l:Je(l)&&Je(s)?t[i]=!0:typeof l<"u"&&(o[i]=l)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>Je(i))?n[o]=et(...a):n[o]=a[a.length-1]}),n},"combineParameters");function Bo(e,t,r){let{moduleExport:n,id:o,name:a}=e||{},i=jo(e,t,r),l=E(async I=>{let D={};for(let F of[..."__STORYBOOK_TEST_LOADERS__"in be&&Array.isArray(be.__STORYBOOK_TEST_LOADERS__)?[be.__STORYBOOK_TEST_LOADERS__]:[],pe(r.loaders),pe(t.loaders),pe(e.loaders)]){if(I.abortSignal.aborted)return D;let P=await Promise.all(F.map(L=>L(I)));Object.assign(D,...P)}return D},"applyLoaders"),s=E(async I=>{let D=new Array;for(let F of[...pe(r.beforeEach),...pe(t.beforeEach),...pe(e.beforeEach)]){if(I.abortSignal.aborted)return D;let P=await F(I);P&&D.push(P)}return D},"applyBeforeEach"),c=E(I=>I.originalStoryFn(I.args,I),"undecoratedStoryFn"),{applyDecorators:d=El,runStep:p}=r,h=[...pe(e?.decorators),...pe(t?.decorators),...pe(r?.decorators)],f=e?.userStoryFn||e?.render||t.render||r.render,b=ih(d)(c,h),g=E(I=>b(I),"unboundStoryFn"),x=e?.play??t?.play,S=ml(x);if(!f&&!S)throw new ys({id:o});let A=E(I=>async()=>(await I.renderToCanvas(),I.canvas),"defaultMount"),k=e.mount??t.mount??r.mount??A,T=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:f,undecoratedStoryFn:c,unboundStoryFn:g,applyLoaders:l,applyBeforeEach:s,playFunction:x,runStep:p,mount:k,testingLibraryRender:T,renderToCanvas:r.renderToCanvas,usesMount:S}}E(Bo,"prepareStory");function vl(e,t,r){return{...jo(void 0,e,t),moduleExport:r}}E(vl,"prepareMeta");function jo(e,t,r){let n=["dev","test"],o=be.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=Is(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),i=et(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:s=[]}=r,c=et(r.argTypes,t.argTypes,e?.argTypes);if(e){let S=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=S&&S.length>0}let d={...r.args,...t.args,...e?.args},p={...t.globals,...e?.globals},h={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:d,argTypes:c,storyGlobals:p};h.argTypes=l.reduce((S,A)=>A({...h,argTypes:S}),h.argTypes);let f={...d};h.initialArgs=s.reduce((S,A)=>({...S,...A({...h,initialArgs:S})}),f);let{name:b,story:g,...x}=h;return x}E(jo,"preparePartialAnnotations");function Lo(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(be.FEATURES?.argTypeTargetsV7){let a=ll(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[sl]||{}}}let n=Object.entries(r.args).reduce((a,[i,l])=>{if(!r.argTypes[i]?.mapping)return a[i]=l,a;let s=E(c=>{let d=r.argTypes[i].mapping;return d&&c in d?d[c]:c},"mappingFn");return a[i]=Array.isArray(l)?l.map(s):s(l),a},{}),o=Object.entries(n).reduce((a,[i,l])=>{let s=r.argTypes[i]||{};return Ts(s,n,r.globals)&&(a[i]=l),a},{});return{...r,unmappedArgs:t,args:o}}E(Lo,"prepareContext");var Eo=E((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)?(Q.warn(Me` + 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/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Eo(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:kt(e,o=>Eo(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),xl=E(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=kt(n,(i,l)=>({name:l,type:Eo(i,`${t}.${l}`,new Set)})),a=kt(r,(i,l)=>({name:l}));return et(o,a,r)},"inferArgTypes");xl.secondPass=!0;var Ps=E((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),Zh=E((e,t,r)=>!t&&!r?e:e&&al(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||Ps(a,t))&&(!r||!Ps(a,r))}),"filterArgTypes"),em=E((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"&&Q.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"),Sl=E(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=Zh(t,n,o),l=kt(i,(s,c)=>s?.type&&em(s,c.toString(),a));return et(l,i)},"inferControls");Sl.secondPass=!0;function Xr({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,globals:i,initialGlobals:l,...s}){return i&&Object.keys(i).length>0&&Ze(Me` + 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:Yr(e)},...t&&{globalTypes:Yr(t)},decorators:pe(n),loaders:pe(o),beforeEach:pe(a),argTypesEnhancers:[...r||[],xl,Sl],initialGlobals:et(l,i),...s}}E(Xr,"normalizeProjectAnnotations");var tm=E(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 wl(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}E(wl,"composeStepRunners");function zt(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}E(zt,"getField");function dt(e,t,r={}){return zt(e,t).reduce((n,o)=>{let a=pe(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}E(dt,"getArrayField");function Jt(e,t){return Object.assign({},...zt(e,t))}E(Jt,"getObjectField");function At(e,t){return zt(e,t).pop()}E(At,"getSingletonField");function Qr(e){let t=dt(e,"argTypesEnhancers"),r=zt(e,"runStep"),n=dt(e,"beforeAll");return{parameters:et(...zt(e,"parameters")),decorators:dt(e,"decorators",{reverseFileOrder:!(be.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Jt(e,"args"),argsEnhancers:dt(e,"argsEnhancers"),argTypes:Jt(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:Jt(e,"globals"),initialGlobals:Jt(e,"initialGlobals"),globalTypes:Jt(e,"globalTypes"),loaders:dt(e,"loaders"),beforeAll:tm(n),beforeEach:dt(e,"beforeEach"),render:At(e,"render"),renderToCanvas:At(e,"renderToCanvas"),renderToDOM:At(e,"renderToDOM"),applyDecorators:At(e,"applyDecorators"),runStep:wl(r),tags:dt(e,"tags"),mount:At(e,"mount"),testingLibraryRender:At(e,"testingLibraryRender")}}E(Qr,"composeConfigs");function rm(e){globalThis.defaultProjectAnnotations=e}E(rm,"setDefaultProjectAnnotations");var nm="ComposedStory",om="Unnamed Story";function Al(e){return e?"default"in e?e.default:e:{}}E(Al,"extractAnnotation");function am(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Qr(t.map(Al)),Qr([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}E(am,"setProjectAnnotations");var pt=[];function Tl(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??nm;let a=No(t),i=o||e.storyName||e.story?.name||e.name||om,l=Fo(i,e,a),s=Xr(Qr([n&&Object.keys(n).length>0?n:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),c=Bo(l,a,s),d={...dl(s.globalTypes),...s.initialGlobals,...c.storyGlobals},p=E(()=>{let x=Lo({hooks:new Zs,globals:d,args:{...c.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:E((S,A)=>c.runStep(S,A,x),"step"),canvasElement:null,canvas:{},globalTypes:s.globalTypes,...c,context:null,mount:null});return x.context=x,c.renderToCanvas&&(x.renderToCanvas=async()=>{let S=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:E(()=>{},"showMain"),showError:E(A=>{throw new Error(`${A.title} +${A.description}`)},"showError"),showException:E(A=>{throw A},"showException"),forceRemount:!0,storyContext:x,storyFn:E(()=>c.unboundStoryFn(x),"storyFn"),unboundStoryFn:c.unboundStoryFn},x.canvasElement);S&&pt.push(S)}),x.mount=c.mount(x),x},"initializeContext"),h,f=E(async x=>{let S=p();return S.canvasElement??=globalThis?.document?.body,h&&(S.loaded=h.loaded),Object.assign(S,x),c.playFunction(S)},"play"),b=E(x=>{let S=p();return Object.assign(S,x),Cl(c,S)},"run"),g=c.playFunction?f:void 0;return Object.assign(E(function(x){let S=p();return h&&(S.loaded=h.loaded),S.args={...S.initialArgs,...x},c.unboundStoryFn(S)},"storyFn"),{id:c.id,storyName:i,load:E(async()=>{for(let S of[...pt].reverse())await S();pt.length=0;let x=p();x.loaded=await c.applyLoaders(x),pt.push(...(await c.applyBeforeEach(x)).filter(Boolean)),h=x},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:g,run:b,tags:c.tags})}E(Tl,"composeStory");var im=E((e,t,r,n)=>Tl(e,t,r,{},n),"defaultComposeStory");function sm(e,t,r=im){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e;return Object.entries(i).reduce((l,[s,c])=>zr(s,n)?Object.assign(l,{[s]:r(c,n,t,s)}):l,{})}E(sm,"composeStories");function lm(e){return e.extend({mount:E(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(Me` + 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 l=>{let s=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in s?s.type:s)?.load?.()},o);let i=await t(o,...a);return await r.evaluate(async l=>{let s=await globalThis.__pwUnwrapObject?.(l),c="__pw_type"in s?s.type:s,d=document.querySelector("#root");return c?.play?.({canvasElement:d})},o),i})},"mount")})}E(lm,"createPlaywrightTest");async function Cl(e,t){for(let o of[...pt].reverse())await o();if(pt.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,pt.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;pt.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 Vr({playFunction:r.toString()})}),await r(t))}E(Cl,"runStory");function vo(e,t){return nl(ol(e,t),r=>r===void 0)}E(vo,"picky");var Fs=1e3,um=1e4,kl=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=E(()=>{let i=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:kt(i.stories,s=>{let{importPath:c}=this.storyIndex.entries[s.id];return{...vo(s,["id","name","title"]),importPath:c,kind:s.title,story:s.name,parameters:{...vo(s.parameters,l),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new Hh(t),this.projectAnnotations=Xr(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new qh,this.userGlobals=new Vh({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,lo.default)(Fs)(hl),this.prepareMetaWithCache=(0,lo.default)(Fs)(vl),this.prepareStoryWithCache=(0,lo.default)(um)(Bo)}setProjectAnnotations(t){this.projectAnnotations=Xr(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new ds({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 Zs,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 l=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return Lo({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,globals:{...n,...t.storyGlobals},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 Qi;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let l=r[i],s=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&s.parameters.docsOnly||(n[o]=Object.entries(s).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:s.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.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return Ze("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(Ze("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:E(a=>{let i={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:E((l,s)=>o.runStep(l,s,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...i,...a})},"storyFn")}}};E(kl,"StoryStore");var cm=kl;function Il(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}E(Il,"slash");var dm=E(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 xo(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}E(xo,"pathJoin");var pm=E((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:a=""}=t||{};typeof e=="number"&&ct.warn(Me` + 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=Il(String(e));if(o.exec(i)){if(!r){let l=i.replace(n,""),s=xo([a,l]).split("/");return s=dm(s),s.join("/")}return a?xo([a,r]):r}},"userOrAutoTitleFromSpecifier"),Mk=E((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(Ns),i=r.title.trim().split(Ns);e.includeNames&&(a.push(t.name),i.push(r.name));let l=0;for(;a[l]||i[l];){if(!a[l])return-1;if(!i[l])return 1;let s=a[l],c=i[l];if(s!==c){let p=o.indexOf(s),h=o.indexOf(c),f=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(f!==-1?p=f:p=o.length),h===-1&&(f!==-1?h=f:h=o.length),p-h):n==="configure"?0:s.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=o.indexOf(s);d===-1&&(d=o.indexOf("*")),o=d!==-1&&Array.isArray(o[d+1])?o[d+1]:[],l+=1}return 0},"storySort"),hm=E((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=fm(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),Uk=E((e,t,r)=>{try{return hm(e,t,r)}catch(n){throw new Error(Me` + 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"),tn=new Error("prepareAborted"),{AbortController:Bs}=globalThis;function So(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)}}}E(So,"serializeError");var Ol=class{constructor(t,r,n,o,a,i,l={autoplay:!0,forceInitialArgs:!1},s){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=E(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Bs,s&&(this.story=s,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(qt,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(qt,{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),tn}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:l,name:s,tags:c,applyLoaders:d,applyBeforeEach:p,unboundStoryFn:h,playFunction:f,runStep:b}=o;r&&!t&&(this.cancelRender(),this.abortController=new Bs);let g=this.abortController.signal,x=!1,S=o.usesMount;try{let A={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:E((P,L)=>b(P,L,A),"step"),context:null,canvas:{},renderToCanvas:E(async()=>{let P=await this.renderToScreen(k,n);this.teardownRender=P||(()=>{}),x=!0},"renderToCanvas"),mount:E(async(...P)=>{this.callbacks.showStoryDuringRender?.();let L=null;return await this.runPhase(g,"rendering",async()=>{L=await o.mount(A)(...P)}),S&&await this.runPhase(g,"playing"),L},"mount")};A.context=A;let k={componentId:i,title:l,kind:l,id:a,name:s,story:s,tags:c,...this.callbacks,showError:E(P=>(this.phase="errored",this.callbacks.showError(P)),"showError"),showException:E(P=>(this.phase="errored",this.callbacks.showException(P)),"showException"),forceRemount:r||this.notYetRendered,storyContext:A,storyFn:E(()=>h(A),"storyFn"),unboundStoryFn:h};if(await this.runPhase(g,"loading",async()=>{A.loaded=await d(A)}),g.aborted)return;let T=await p(A);if(this.store.addCleanupCallbacks(o,T),this.checkIfAborted(g)||(!x&&!S&&await A.mount(),this.notYetRendered=!1,g.aborted))return;let I=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,D=new Set,F=E(P=>D.add("error"in P?P.error:P.reason),"onError");if(this.renderOptions.autoplay&&r&&f&&this.phase!=="errored"){window.addEventListener("error",F),window.addEventListener("unhandledrejection",F),this.disableKeyListeners=!0;try{if(S?await f(A):(A.mount=async()=>{throw new Vr({playFunction:f.toString()})},await this.runPhase(g,"playing",async()=>f(A))),!x)throw new bs;this.checkIfAborted(g),!I&&D.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(P){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(si,So(P))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw P;console.error(P)}if(!I&&D.size>0&&this.channel.emit(vi,Array.from(D).map(So)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",F),window.removeEventListener("error",F),g.aborted)return}await this.runPhase(g,"completed",async()=>this.channel.emit(cr,a))}catch(A){this.phase="errored",this.callbacks.showException(A)}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(()=>{})}};E(Ol,"StoryRender");var wo=Ol,{fetch:mm}=be,ym="./index.json",Dl=class{constructor(t,r,n=Ct.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:E((t,r)=>{if(this.storyStoreValue)return Ze("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new fs},"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(mi,this.onStoryIndexChanged.bind(this)),this.channel.on(jr,this.onUpdateGlobals.bind(this)),this.channel.on(Lr,this.onUpdateArgs.bind(this)),this.channel.on(ri,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Nr,this.onResetArgs.bind(this)),this.channel.on(Fr,this.onForceReRender.bind(this)),this.channel.on(ai,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new es;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 mm(ym);if(t.status===200)return t.json();throw new ns({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new cm(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Ne({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(di,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 Ne({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Ne({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit($t,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:i})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit($t,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new Ne({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(pi,{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(Vn,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Vn,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new Ne({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 Ne({methodName:"renderStoryToElement"});let a=new wo(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 Ne({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Ne({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new Ne({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,Q.error(t),Q.error(r),this.channel.emit(ni,r)}};E(Dl,"Preview");var gm=Dl,bm=!1,uo="Invariant failed";function Gr(e,t){if(!e){if(bm)throw new Error(uo);var r=typeof t=="function"?t():t,n=r?"".concat(uo,": ").concat(r):uo;throw new Error(n)}}E(Gr,"invariant");var Rl=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=E(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=E(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=E(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=E(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let i=this.storyIdToCSFFile.get(a);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:i})},"storyById"),this.getStoryContext=E(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=E(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,i)=>{this.referenceCSFFile(a)})}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(Me`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}}};E(Rl,"DocsContext");var _l=Rl,Pl=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw tn;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 _l(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,l=E(async()=>{try{await i(n,o,t),this.channel.emit(Pr,this.id)}catch(s){this.callbacks.showException(s)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:s})=>{!s||!t||a.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};E(Pl,"CsfDocsRender");var js=Pl,Fl=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw tn;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 _l(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:l}=i,s=E(async()=>{try{await l(n,a,t),this.channel.emit(Pr,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(i.unmount(t),this.torndown=!0)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};E(Fl,"MdxDocsRender");var Ls=Fl,Em=globalThis;function Nl(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}E(Nl,"focusInInput");var Bl="attached-mdx",vm="unattached-mdx";function jl({tags:e}){return e?.includes(vm)||e?.includes(Bl)}E(jl,"isMdxEntry");function Wr(e){return e.type==="story"}E(Wr,"isStoryRender");function Ll(e){return e.type==="docs"}E(Ll,"isDocsRender");function Ml(e){return Ll(e)&&e.subtype==="csf"}E(Ml,"isCsfDocsRender");var Ul=class extends gm{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Em.onkeydown=this.onKeydown.bind(this),this.channel.on(ci,this.onSetCurrentStory.bind(this)),this.channel.on(xi,this.onUpdateQueryParams.bind(this)),this.channel.on(li,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Ne({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Ne({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 ss):this.renderStoryLoadingException(t,new us({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(gi,this.selectionStore.selection),this.channel.emit(Jn,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)&&!Nl(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:l,keyCode:s}=t;this.channel.emit(ui,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:l,keyCode:s}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Jn,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof wo&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Ls||this.currentRender instanceof js)&&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 Ne({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(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,h);return}let i=this.currentSelection?.storyId!==o,l=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let s;a.type==="story"?s=new wo(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):jl(a)?s=new Ls(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):s=new js(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(h){d&&await this.teardownRender(d),h!==tn&&this.renderStoryLoadingException(o,h);return}let p=!i&&d&&!s.isEqual(d);if(t&&Wr(s)&&(Gr(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,t)),d&&!d.torndown&&!i&&!p&&!l){this.currentRender=d,this.channel.emit(Ei,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),c&&(i||l)&&this.channel.emit(fi,o),Wr(s)){Gr(!!s.story);let{parameters:h,initialArgs:f,argTypes:b,unmappedArgs:g,initialGlobals:x,userGlobals:S,storyGlobals:A,globals:k}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(yi,{id:o,parameters:h,initialArgs:f,argTypes:b,args:g}),this.channel.emit($t,{userGlobals:S,storyGlobals:A,globals:k,initialGlobals:x})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:f,globals:b}=this.storyStoreValue.userGlobals;if(this.channel.emit($t,{globals:b,initialGlobals:f,storyGlobals:{},userGlobals:b}),Ml(s)||s.entry.tags?.includes(Bl)){if(!s.csfFiles)throw new as({storyId:o});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit(oi,{id:o,parameters:h})}Wr(s)?(Gr(!!s.story),this.storyRenders.push(s),this.currentRender.renderToElement(this.view.prepareForStory(s.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:E(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:E(()=>this.view.showMain(),"showMain"),showError:E(r=>this.renderError(t,r),"showError"),showException:E(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Hn)}renderStoryLoadingException(t,r){Q.error(r),this.view.showErrorDisplay(r),this.channel.emit(Hn,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(bi,{name:n,message:o,stack:a}),this.channel.emit(qt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),Q.error(`Error rendering story '${t}':`),Q.error(r)}renderError(t,{title:r,description:n}){Q.error(`Error rendering story ${r}: ${n}`),this.channel.emit(hi,{title:r,description:n}),this.channel.emit(qt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};E(Ul,"PreviewWithSelection");var xm=Ul,Ao=Ht(Oo(),1),Sm=Ht(Oo(),1),Ms=/^[a-zA-Z0-9 _-]*$/,$l=/^-?[0-9]+(\.[0-9]+)?$/,wm=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,ql=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,To=E((e="",t)=>e===null||e===""||!Ms.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Ms.test(t)||$l.test(t)||wm.test(t)||ql.test(t):Array.isArray(t)?t.every(r=>To(e,r)):Je(t)?Object.entries(t).every(([r,n])=>To(r,n)):!1,"validateArgs"),Am={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(ql);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return $l.test(e)?Number(e):e}},Us=E(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Sm.parse)(t.join(";"),Am)).reduce((r,[n,o])=>To(n,o)?Object.assign(r,{[n]:o}):(ct.warn(Me` + Omitted potentially unsafe URL args. + + More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url + `),r),{})},"parseArgsParam"),{history:Vl,document:ft}=be;function Jl(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}E(Jl,"pathToId");var zl=E(({selection:e,extraParams:t})=>{let r=ft?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...i}=(0,Ao.parse)(r);return`?${(0,Ao.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),Tm=E(e=>{if(!e)return;let t=zl({selection:e}),{hash:r=""}=ft.location;ft.title=e.storyId,Vl.replaceState({},"",`${ft.location.pathname}${t}${r}`)},"setPath"),Cm=E(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),pr=E(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return pr(e[0]);if(Cm(e))return pr(Object.values(e).filter(Boolean))}},"getFirstString"),km=E(()=>{if(typeof ft<"u"){let e=ft.location.search.slice(1),t=(0,Ao.parse)(e),r=typeof t.args=="string"?Us(t.args):void 0,n=typeof t.globals=="string"?Us(t.globals):void 0,o=pr(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=pr(t.path),i=a?Jl(a):pr(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),Hl=class{constructor(){this.selectionSpecifier=km()}setSelection(t){this.selection=t,Tm(this.selection)}setQueryParams(t){let r=zl({extraParams:t}),{hash:n=""}=ft.location;Vl.replaceState({},"",`${ft.location.pathname}${r}${n}`)}};E(Hl,"UrlStore");var Im=Hl,Om=Ht(nh(),1),Dm=Ht(Oo(),1),{document:ke}=be,$s=100,Gl=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(Gl||{}),co={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},po={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},qs=new Om.default({escapeXML:!0}),Wl=class{constructor(){if(this.testing=!1,typeof ke<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,Dm.parse)(ke.location.search.slice(1));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),ke.documentElement.scrollTop=0,ke.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return ke.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),ke.documentElement.scrollTop=0,ke.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return ke.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){ke.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=po[t];ke.body.classList.remove(this.currentLayoutClass),ke.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){po[t]||Q.warn(Me` + The desired layout: ${t} is not a valid option. + The possible options are: ${Object.keys(po).join(", ")}, none. + `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(Gl).forEach(r=>{r===t?ke.body.classList.add(co[r]):ke.body.classList.remove(co[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/,"")),ke.getElementById("error-message").innerHTML=qs.toHtml(n),ke.getElementById("error-stack").innerHTML=qs.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"),$s)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),$s)}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(){ke.body.classList.add(co.MAIN)}};E(Wl,"WebView");var Rm=Wl,_m=class extends xm{constructor(t,r){super(t,r,new Im,new Rm),this.importFn=t,this.getProjectAnnotations=r,be.__STORYBOOK_PREVIEW__=this}};E(_m,"PreviewWeb");var{document:Tt}=be,Pm=["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"],Fm="script",Vs="scripts-root";function Co(){let e=Tt.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Tt.dispatchEvent(e)}E(Co,"simulateDOMContentLoaded");function Kl(e,t,r){let n=Tt.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):Tt.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}E(Kl,"insertScript");function Mo(e,t,r=0){e[r](()=>{r++,r===e.length?t():Mo(e,t,r)})}E(Mo,"insertScriptsSequentially");function Nm(e){let t=Tt.getElementById(Vs);t?t.innerHTML="":(t=Tt.createElement("div"),t.id=Vs,Tt.body.appendChild(t));let r=Array.from(e.querySelectorAll(Fm));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||Pm.includes(a))&&n.push(i=>Kl(o,i,t))}),n.length&&Mo(n,Co,void 0)}else Co()}E(Nm,"simulatePageLoad");V();J();z();V();J();z();var Gt=vp(Xl(),1);var Bm=Object.defineProperty,N=(e,t)=>Bm(e,"name",{value:t,configurable:!0}),jm=N(e=>e.name==="literal","isLiteral"),Lm=N(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),Mm=N(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=yr(r.value)}),{name:"object",value:t};default:throw new Jr({type:e,language:"Flow"})}},"convertSig"),yr=N(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(yr)};case"signature":return{...n,...Mm(e)};case"union":return e.elements?.every(jm)?{...n,name:"enum",value:e.elements?.map(Lm)}:{...n,name:t,value:e.elements?.map(yr)};case"intersection":return{...n,name:t,value:e.elements?.map(yr)};default:return{...n,name:"other",value:t}}},"convert");function Ql(e,t){let r={},n=Object.keys(e);for(let o=0;oe.replace(Zl,""),"trimQuotes"),$m=N(e=>Zl.test(e),"includesQuotes"),eu=N(e=>{let t=Um(e);return $m(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),qm=/^\(.*\) => /,mr=N(e=>{let{name:t,raw:r,computed:n,value:o}=e,a={};switch(typeof r<"u"&&(a.raw=r),t){case"enum":{let l=n?o:o.map(s=>eu(s.value));return{...a,name:t,value:l}}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&&mr(o)};case"object":return{...a,name:t};case"objectOf":return{...a,name:t,value:mr(o)};case"shape":case"exact":let i=Ql(o,l=>mr(l));return{...a,name:"object",value:i};case"union":return{...a,name:"union",value:o.map(l=>mr(l))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let c=t.split("|").map(d=>JSON.parse(d));return{...a,name:"enum",value:c}}catch{}let l=o?`${t}(${o})`:t,s=qm.test(t)?"function":"other";return{...a,name:s,value:l}}}},"convert"),Vm=N(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=gr(r.value)}),{name:"object",value:t};default:throw new Jr({type:e,language:"Typescript"})}},"convertSig"),gr=N(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(gr)};case"signature":return{...n,...Vm(e)};case"union":let o;return e.elements?.every(a=>a.name==="literal")?o={...n,name:"enum",value:e.elements?.map(a=>eu(a.value))}:o={...n,name:t,value:e.elements?.map(gr)},o;case"intersection":return{...n,name:t,value:e.elements?.map(gr)};default:return{...n,name:"other",value:t}}},"convert"),Uo=N(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return mr(t);if(r!=null)return gr(r);if(n!=null)return yr(n)}catch(o){console.error(o)}return null},"convert"),Jm=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(Jm||{}),zm=["null","undefined"];function nn(e){return zm.some(t=>t===e)}N(nn,"isDefaultValueBlacklisted");var Hm=N(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function $o(e){return!!e.__docgenInfo}N($o,"hasDocgen");function tu(e){return e!=null&&Object.keys(e).length>0}N(tu,"isValidDocgenSection");function ru(e,t){return $o(e)?e.__docgenInfo[t]:null}N(ru,"getDocgenSection");function nu(e){return $o(e)?Hm(e.__docgenInfo.description):""}N(nu,"getDocgenDescription");var ht;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(ht=ht||(ht={}));function ou(e){return/^\s+$/.test(e)}N(ou,"isSpace");function au(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}N(au,"splitCR");function It(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}N(It,"splitSpace");function iu(e){return e.split(/\n/)}N(iu,"splitLines");function su(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}N(su,"seedSpec");function lu(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}N(lu,"seedTokens");var Gm=/^@\S+/;function uu({fence:e="```"}={}){let t=cu(e),r=N((n,o)=>t(n)?!o:o,"toggleFence");return N(function(n){let o=[[]],a=!1;for(let i of n)Gm.test(i.tokens.description)&&!a?o.push([i]):o[o.length-1].push(i),a=r(i.tokens.description,a);return o},"parseBlock")}N(uu,"getParser");function cu(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}N(cu,"getFencer");function du({startLine:e=0,markers:t=ht}={}){let r=null,n=e;return N(function(o){let a=o,i=lu();if([i.lineEnd,a]=au(a),[i.start,a]=It(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]=It(a)),r===null)return n++,null;let l=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]=It(a)),l){let s=a.trimRight();i.end=a.slice(s.length-t.end.length),a=s.slice(0,-t.end.length)}if(i.description=a,r.push({number:n,source:o,tokens:i}),n++,l){let s=r.slice();return r=null,s}return null},"parseSource")}N(du,"getParser");function pu({tokenizers:e}){return N(function(t){var r;let n=su({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")}N(pu,"getParser");function fu(){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)}}N(fu,"tagTokenizer");function hu(e="compact"){let t=mu(e);return r=>{let n=0,o=[];for(let[l,{tokens:s}]of r.source.entries()){let c="";if(l===0&&s.description[0]!=="{")return r;for(let d of s.description)if(d==="{"&&n++,d==="}"&&n--,c+=d,n===0)break;if(o.push([s,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let a=[],i=o[0][0].postDelimiter.length;for(let[l,[s,c]]of o.entries())s.type=c,l>0&&(s.type=s.postDelimiter.slice(i)+c,s.postDelimiter=s.postDelimiter.slice(0,i)),[s.postType,s.description]=It(s.description.slice(c.length)),a.push(s.type);return a[0]=a[0].slice(1),a[a.length-1]=a[a.length-1].slice(0,-1),r.type=t(a),r}}N(hu,"typeTokenizer");var Wm=N(e=>e.trim(),"trim");function mu(e){return e==="compact"?t=>t.map(Wm).join(""):e==="preserve"?t=>t.join(` +`):e}N(mu,"getJoiner");var Km=N(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function yu(){let e=N((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]=It(n.slice(r.name.length)),t;let a=0,i="",l=!1,s;for(let d of n){if(a===0&&ou(d))break;d==="["&&a++,d==="]"&&a--,i+=d}if(a!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=i;if(i[0]==="["&&i[i.length-1]==="]"){l=!0,i=i.slice(1,-1);let d=i.split("=");if(i=d[0].trim(),d[1]!==void 0&&(s=d.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(s==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!Km(s)&&/=(?!>)/.test(s))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=i,r.name=c,s!==void 0&&(t.default=s),[r.postName,r.description]=It(n.slice(r.name.length)),t}}N(yu,"nameTokenizer");function gu(e="compact",t=ht){let r=qo(e);return n=>(n.description=r(n.source,t),n)}N(gu,"descriptionTokenizer");function qo(e){return e==="compact"?bu:e==="preserve"?Eu:e}N(qo,"getJoiner");function bu(e,t=ht){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}N(bu,"compactJoiner");var Ym=N((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),Xm=N(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function Eu(e,t=ht){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(Ym,0)),e.map(Xm).join(` +`)}N(Eu,"preserveJoiner");function vu({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=ht,tokenizers:o=[fu(),hu(r),yu(),gu(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let a=du({startLine:e,markers:n}),i=uu({fence:t}),l=pu({tokenizers:o}),s=qo(r);return function(c){let d=[];for(let p of iu(c)){let h=a(p);if(h===null)continue;let f=i(h),b=f.slice(1).map(l);d.push({description:s(f[0],n),tags:b,source:h,problems:b.reduce((g,x)=>g.concat(x.problems),[])})}return d}}N(vu,"getParser");function xu(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}N(xu,"join");function Su(){return e=>e.source.map(({tokens:t})=>xu(t)).join(` +`)}N(Su,"getStringifier");var Qm={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},wI=Object.keys(Qm);function wu(e,t={}){return vu(t)(e)}N(wu,"parse");var AI=Su();function Au(e){return e!=null&&e.includes("@")}N(Au,"containsJsDoc");function Tu(e){let t=`/** +`+(e??"").split(` +`).map(n=>` * ${n}`).join(` +`)+` +*/`,r=wu(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}N(Tu,"parse");var Zm={tags:["param","arg","argument","returns","ignore","deprecated"]},ey=N((e,t=Zm)=>{if(!Au(e))return{includesJsDoc:!1,ignore:!1};let r=Tu(e),n=Cu(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function Cu(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=Iu(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=Ou(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=Du(n);o!=null&&(r.returns=o);break}default:break}return r}N(Cu,"extractJsDocTags");function ku(e){return e.replace(/[\.-]$/,"")}N(ku,"normaliseParamName");function Iu(e){if(!e.name||e.name==="-")return null;let t=zo(e.type);return{name:e.name,type:t,description:Jo(e.description),getPrettyName:N(()=>ku(e.name),"getPrettyName"),getTypeName:N(()=>t?Ho(t):null,"getTypeName")}}N(Iu,"extractParam");function Ou(e){return e.name?Vo(e.name,e.description):null}N(Ou,"extractDeprecated");function Vo(e,t){let r=e===""?t:`${e} ${t}`;return Jo(r)}N(Vo,"joinNameAndDescription");function Jo(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}N(Jo,"normaliseDescription");function Du(e){let t=zo(e.type);return t?{type:t,description:Vo(e.name,e.description),getTypeName:N(()=>Ho(t),"getTypeName")}:null}N(Du,"extractReturns");var mt=(0,Gt.stringifyRules)(),ty=mt.JsdocTypeObject;mt.JsdocTypeAny=()=>"any";mt.JsdocTypeObject=(e,t)=>`(${ty(e,t)})`;mt.JsdocTypeOptional=(e,t)=>t(e.element);mt.JsdocTypeNullable=(e,t)=>t(e.element);mt.JsdocTypeNotNullable=(e,t)=>t(e.element);mt.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function zo(e){try{return(0,Gt.parse)(e,"typescript")}catch{return null}}N(zo,"extractType");function Ho(e){return(0,Gt.transform)(mt,e)}N(Ho,"extractTypeName");function Go(e){return e.length>90}N(Go,"isTooLongForTypeSummary");function Ru(e){return e.length>50}N(Ru,"isTooLongForDefaultValueSummary");function fe(e,t){return e===t?{summary:e}:{summary:e,detail:t}}N(fe,"createSummaryValue");var TI=N(e=>e.replace(/\\r\\n/g,"\\n"),"normalizeNewlines");function _u(e,t){if(e!=null){let{value:r}=e;if(!nn(r))return Ru(r)?fe(t?.name,r):fe(r)}return null}N(_u,"createDefaultValue");function Wo({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(Wo).join(" | "):n??e)}N(Wo,"generateUnionElement");function Pu({name:e,raw:t,elements:r}){return r!=null?fe(r.map(Wo).join(" | ")):t!=null?fe(t.replace(/^\|\s*/,"")):fe(e)}N(Pu,"generateUnion");function Fu({type:e,raw:t}){return t!=null?fe(t):fe(e)}N(Fu,"generateFuncSignature");function Nu({type:e,raw:t}){return t!=null?Go(t)?fe(e,t):fe(t):fe(e)}N(Nu,"generateObjectSignature");function Bu(e){let{type:t}=e;return t==="object"?Nu(e):Fu(e)}N(Bu,"generateSignature");function ju({name:e,raw:t}){return t!=null?Go(t)?fe(e,t):fe(t):fe(e)}N(ju,"generateDefault");function Lu(e){if(e==null)return null;switch(e.name){case"union":return Pu(e);case"signature":return Bu(e);default:return ju(e)}}N(Lu,"createType");var ry=N((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:a}=t;return{name:e,type:Lu(r),required:o,description:n,defaultValue:_u(a??null,r??null)}},"createFlowPropDef");function Mu({defaultValue:e}){if(e!=null){let{value:t}=e;if(!nn(t))return fe(t)}return null}N(Mu,"createDefaultValue");function Uu({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),fe(["Array","Record","signature"].includes(e.name)?e.raw:r)}N(Uu,"createType");var ny=N((e,t)=>{let{description:r,required:n}=t;return{name:e,type:Uu(t),required:n,description:r,defaultValue:Mu(t)}},"createTsPropDef");function $u(e){return e!=null?fe(e.name):null}N($u,"createType");function qu(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}N(qu,"isReactDocgenTypescript");function Vu(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}N(Vu,"isStringValued");function Ju(e,t){if(e!=null){let{value:r}=e;if(!nn(r))return qu(e)&&Vu(t)?fe(JSON.stringify(r)):fe(r)}return null}N(Ju,"createDefaultValue");function Ko(e,t,r){let{description:n,required:o,defaultValue:a}=r;return{name:e,type:$u(t),required:o,description:n,defaultValue:Ju(a,t)}}N(Ko,"createBasicPropDef");function br(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}N(br,"applyJsDocResult");var oy=N((e,t,r)=>{let n=Ko(e,t.type,t);return n.sbType=Uo(t),br(n,r)},"javaScriptFactory"),ay=N((e,t,r)=>{let n=ny(e,t);return n.sbType=Uo(t),br(n,r)},"tsFactory"),iy=N((e,t,r)=>{let n=ry(e,t);return n.sbType=Uo(t),br(n,r)},"flowFactory"),sy=N((e,t,r)=>{let n=Ko(e,{name:"unknown"},t);return br(n,r)},"unknownFactory"),zu=N(e=>{switch(e){case"JavaScript":return oy;case"TypeScript":return ay;case"Flow":return iy;default:return sy}},"getPropDefFactory"),Hu=N(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),ly=N(e=>{let t=Hu(e[0]),r=zu(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),Yo(o.name,o,t,r)})},"extractComponentSectionArray"),uy=N(e=>{let t=Object.keys(e),r=Hu(e[t[0]]),n=zu(r);return t.map(o=>{let a=e[o];return a!=null?Yo(o,a,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),CI=N((e,t)=>{let r=ru(e,t);return tu(r)?Array.isArray(r)?ly(r):uy(r):[]},"extractComponentProps");function Yo(e,t,r,n){let o=ey(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}N(Yo,"extractProp");function cy(e){return e!=null?nu(e):""}N(cy,"extractComponentDescription");var II=N(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n,a=o&&t?o(t):{};return a?et(a,r):r},"enhanceArgTypes"),Gu="storybook/docs",OI=`${Gu}/panel`;var DI=`${Gu}/snippet-rendered`,dy=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(dy||{}),py=/(addons\/|addon-|addon-essentials\/)(docs|controls)/,RI=N(e=>e.presetsList?.some(t=>py.test(t.name)),"hasDocsOrControls");V();J();z();V();J();z();var zI=__STORYBOOK_CHANNELS__,{Channel:HI,PostMessageTransport:GI,WebsocketTransport:WI,createBrowserChannel:KI}=__STORYBOOK_CHANNELS__;V();J();z();var Wu=(()=>{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 Zy=Object.create,zc=Object.defineProperty,eg=Object.getOwnPropertyDescriptor,tg=Object.getOwnPropertyNames,rg=Object.getPrototypeOf,ng=Object.prototype.hasOwnProperty,og=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ag=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of tg(t))!ng.call(e,o)&&o!==r&&zc(e,o,{get:()=>t[o],enumerable:!(n=eg(t,o))||n.enumerable});return e},ig=(e,t,r)=>(r=e!=null?Zy(rg(e)):{},ag(t||!e||!e.__esModule?zc(r,"default",{value:e,enumerable:!0}):r,e)),sg=og(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(l,s,c){var d,p,h,f=t.call(l),b=t.call(s);if(l===s)return!0;if(l==null||s==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(s)>-1)return!0;if(c.push(l,s),f!=b||(d=n(l),p=n(s),d.length!=p.length||d.some(function(g){return!i(l[g],s[g],c)})))return!1;switch(f.slice(8,-1)){case"Symbol":return l.valueOf()==s.valueOf();case"Date":case"Number":return+l==+s||+l!=+l&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+s;case"Set":case"Map":d=l.entries(),p=s.entries();do if(!i((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),s=new Uint8Array(s);case"DataView":l=new Uint8Array(l.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(l.length!=s.length)return!1;for(h=0;he.map(t=>typeof t<"u").filter(Boolean).length,lg=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(Hc([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,mc.isEqual)(t,n);if(typeof o<"u")return!(0,mc.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},ug=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Hc([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return lg(e.if,a)},Gc=je({"../../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(c,d){if(!o[c]){if(!n[c]){var p=typeof sr=="function"&&sr;if(!d&&p)return p(c,!0);if(l)return l(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var f=o[c]={exports:{}};n[c][0].call(f.exports,function(b){var g=n[c][1][b];return i(g||b)},f,f.exports,r,n,o,a)}return o[c].exports}for(var l=typeof sr=="function"&&sr,s=0;s=0)return this.lastItem=this.list[l],this.list[l].val},a.prototype.set=function(i,l){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=l,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=l,this):(this.lastItem={key:i,val:l},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),l=this.indexOf(i),l>=0)return this.size--,this.list.splice(l,1)[0]},a.prototype.has=function(i){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],!0):!1)},a.prototype.forEach=function(i,l){var s;for(s=0;s0&&(A[S]={cacheItem:b,arg:arguments[S]},k?i(p,A):p.push(A),p.length>c&&l(p.shift())),f.wasMemoized=k,f.numArgs=S+1,x};return f.limit=c,f.wasMemoized=!1,f.cache=d,f.lru=p,f}};function i(c,d){var p=c.length,h=d.length,f,b,g;for(b=0;b=0&&(p=c[f],h=p.cacheItem.get(p.arg),!h||!h.size);f--)p.cacheItem.delete(p.arg)}function s(c,d){return c===d||c!==c&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})}}),cg=je({"../../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}}}),dg=je({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,i,l=!0,s=" ";function c(T,I){var D=I.appendChild(p(T));if(T.children.length){var F=h(T.isCollapsed);T.children.forEach(function(P){c(P,F)}),D.appendChild(F)}}function d(T,I){var D=!1,F=h(D);if(I.forEach(function(P){c(P,F)}),i=T||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),I.length===0?i:i.appendChild(F)}function p(T){var I=document.createElement("li"),D=document.createElement("a");return r.listItemClass&&I.setAttribute("class",r.listItemClass),r.onClick&&(D.onclick=r.onClick),r.includeTitleTags&&D.setAttribute("title",T.textContent),r.includeHtml&&T.childNodes.length?n.call(T.childNodes,function(F){D.appendChild(F.cloneNode(!0))}):D.textContent=T.textContent,D.setAttribute("href",r.basePath+"#"+T.id),D.setAttribute("class",r.linkClass+s+"node-name--"+T.nodeName+s+r.extraLinkClasses),I.appendChild(D),I}function h(T){var I=r.orderedList?"ol":"ul",D=document.createElement(I),F=r.listClass+s+r.extraListClasses;return T&&(F=F+s+r.collapsibleClass,F=F+s+r.isCollapsedClass),D.setAttribute("class",F),D}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var T;T=document.querySelector(r.scrollContainer).scrollTop}else T=document.documentElement.scrollTop||a.scrollTop;var I=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),T>r.fixedSidebarOffset?I.className.indexOf(r.positionFixedClass)===-1&&(I.className+=s+r.positionFixedClass):I.className=I.className.replace(s+r.positionFixedClass,"")}function b(T){var I=0;return T!==null&&(I=T.offsetTop,r.hasInnerContainers&&(I+=b(T.offsetParent))),I}function g(T,I){return T&&T.className!==I&&(T.className=I),T}function x(T){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 D=T,F;if(l&&i!==null&&D.length>0){o.call(D,function(w,C){if(b(w)>I+r.headingsOffset+10){var _=C===0?C:C-1;return F=D[_],!0}else if(C===D.length-1)return F=D[D.length-1],!0});var P=i.querySelector("."+r.activeLinkClass),L=i.querySelector("."+r.linkClass+".node-name--"+F.nodeName+'[href="'+r.basePath+"#"+F.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(P===L)return;var B=i.querySelectorAll("."+r.linkClass);n.call(B,function(w){g(w,w.className.replace(s+r.activeLinkClass,""))});var G=i.querySelectorAll("."+r.listItemClass);n.call(G,function(w){g(w,w.className.replace(s+r.activeListItemClass,""))}),L&&L.className.indexOf(r.activeLinkClass)===-1&&(L.className+=s+r.activeLinkClass);var $=L&&L.parentNode;$&&$.className.indexOf(r.activeListItemClass)===-1&&($.className+=s+r.activeListItemClass);var H=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(H,function(w){w.className.indexOf(r.isCollapsedClass)===-1&&(w.className+=s+r.isCollapsedClass)}),L&&L.nextSibling&&L.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(L.nextSibling,L.nextSibling.className.replace(s+r.isCollapsedClass,"")),S(L&&L.parentNode.parentNode)}}function S(T){return T&&T.className.indexOf(r.collapsibleClass)!==-1&&T.className.indexOf(r.isCollapsedClass)!==-1?(g(T,T.className.replace(s+r.isCollapsedClass,"")),S(T.parentNode.parentNode)):T}function A(T){var I=T.target||T.srcElement;typeof I.className!="string"||I.className.indexOf(r.linkClass)===-1||(l=!1)}function k(){l=!0}return{enableTocAnimation:k,disableTocAnimation:A,render:d,updateToc:x}}}}),pg=je({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(p){return p[p.length-1]}function a(p){return+p.nodeName.toUpperCase().replace("H","")}function i(p){try{return p instanceof window.HTMLElement||p instanceof window.parent.HTMLElement}catch{return p instanceof window.HTMLElement}}function l(p){if(!i(p))return p;if(r.ignoreHiddenElements&&(!p.offsetHeight||!p.offsetParent))return null;let h=p.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(p.innerText)):(p.innerText||p.textContent).trim());var f={id:p.id,children:[],nodeName:p.nodeName,headingLevel:a(p),textContent:h};return r.includeHtml&&(f.childNodes=p.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,p):f}function s(p,h){for(var f=l(p),b=f.headingLevel,g=h,x=o(g),S=x?x.headingLevel:0,A=b-S;A>0&&(x=o(g),!(x&&b===x.headingLevel));)x&&x.children!==void 0&&(g=x.children),A--;return b>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function c(p,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(b){return b.trim()+":not("+r.ignoreSelector+")"}));try{return p.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function d(p){return n.call(p,function(h,f){var b=l(f);return b&&s(b,h.nest),h},{nest:[]})}return{nestHeadingsArray:d,selectHeadings:c}}}}),fg=je({"../../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)}}}}),hg=je({"../../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?c(location.href):location.href;l();function l(){document.body.addEventListener("click",p,!1);function p(h){!s(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:o,offset:a,callback:function(){d(h.target.hash)}})}}function s(p){return p.tagName.toLowerCase()==="a"&&(p.hash.length>0||p.href.charAt(p.href.length-1)==="#")&&(c(p.href)===i||c(p.href)+"#"===i)}function c(p){return p.slice(0,p.lastIndexOf("#"))}function d(p){var h=document.getElementById(p.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,o){var a=window.pageYOffset,i={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||b},l=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),s=typeof n=="string"?i.offset+(n?l&&l.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,c=typeof i.duration=="function"?i.duration(s):i.duration,d,p;requestAnimationFrame(function(g){d=g,h(g)});function h(g){p=g-d,window.scrollTo(0,i.easing(p,a,s,c)),p"u"&&!p)return;var h,f=Object.prototype.hasOwnProperty;function b(){for(var A={},k=0;k1?o-1:0),i=1;i=0&&o<1?(l=a,s=i):o>=1&&o<2?(l=i,s=a):o>=2&&o<3?(s=a,c=i):o>=3&&o<4?(s=i,c=a):o>=4&&o<5?(l=i,c=a):o>=5&&o<6&&(l=a,c=i);var d=r-a/2,p=l+d,h=s+d,f=c+d;return n(p,h,f)}var yc={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 wg(e){if(typeof e!="string")return e;var t=e.toLowerCase();return yc[t]?"#"+yc[t]:e}var Ag=/^#[a-fA-F0-9]{6}$/,Tg=/^#[a-fA-F0-9]{8}$/,Cg=/^#[a-fA-F0-9]{3}$/,kg=/^#[a-fA-F0-9]{4}$/,ia=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Ig=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Og=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Dg=/^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 yn(e){if(typeof e!="string")throw new Ke(3);var t=wg(e);if(t.match(Ag))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(Tg)){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(Cg))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(kg)){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=ia.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=Ig.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=Og.exec(t);if(i){var l=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,c=parseInt(""+i[3],10)/100,d="rgb("+Ar(l,s,c)+")",p=ia.exec(d);if(!p)throw new Ke(4,t,d);return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10)}}var h=Dg.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),b=parseInt(""+h[2],10)/100,g=parseInt(""+h[3],10)/100,x="rgb("+Ar(f,b,g)+")",S=ia.exec(x);if(!S)throw new Ke(4,t,x);return{red:parseInt(""+S[1],10),green:parseInt(""+S[2],10),blue:parseInt(""+S[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Ke(5)}function Rg(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 l,s=o-a,c=i>.5?s/(2-o-a):s/(o+a);switch(o){case t:l=(r-n)/s+(r=1?mn(e,t,r):"rgba("+Ar(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?mn(e.hue,e.saturation,e.lightness):"rgba("+Ar(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ke(2)}function va(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ea("#"+Dt(e)+Dt(t)+Dt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ea("#"+Dt(e.red)+Dt(e.green)+Dt(e.blue));throw new Ke(6)}function rt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=yn(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?va(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?va(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ke(7)}var Bg=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},jg=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Lg=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Mg=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Yc(e){if(typeof e!="object")throw new Ke(8);if(jg(e))return rt(e);if(Bg(e))return va(e);if(Mg(e))return Ng(e);if(Lg(e))return Fg(e);throw new Ke(8)}function Xc(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Xc(e,t,n)}}function gn(e){return Xc(e,e.length,[])}function bn(e,t,r){return Math.max(e,Math.min(t,r))}function Ug(e,t){if(t==="transparent")return t;var r=Kc(t);return Yc(Qt({},r,{lightness:bn(0,1,r.lightness-parseFloat(e))}))}var $g=gn(Ug),We=$g;function qg(e,t){if(t==="transparent")return t;var r=Kc(t);return Yc(Qt({},r,{lightness:bn(0,1,r.lightness+parseFloat(e))}))}var Vg=gn(qg),Rt=Vg;function Jg(e,t){if(t==="transparent")return t;var r=yn(t),n=typeof r.alpha=="number"?r.alpha:1,o=Qt({},r,{alpha:bn(0,1,(n*100+parseFloat(e)*100)/100)});return rt(o)}var zg=gn(Jg),cn=zg;function Hg(e,t){if(t==="transparent")return t;var r=yn(t),n=typeof r.alpha=="number"?r.alpha:1,o=Qt({},r,{alpha:bn(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return rt(o)}var Gg=gn(Hg),se=Gg,Wg=R.div(Ut,({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:se(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Qc=e=>m.createElement(Wg,{...e,className:"docblock-emptyblock sb-unstyled"}),Kg=R(Rr)(({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"}})),Yg=R.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"})),dn=R.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Oi}`]:{margin:0}})),Xg=()=>m.createElement(Yg,null,m.createElement(dn,null),m.createElement(dn,{style:{width:"80%"}}),m.createElement(dn,{style:{width:"30%"}}),m.createElement(dn,{style:{width:"80%"}})),Qg=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...i})=>{let{typography:l}=Xn();if(e)return m.createElement(Xg,null);if(t)return m.createElement(Qc,null,t);let s=m.createElement(Kg,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof o>"u")return s;let c=o?Yn.dark:Yn.light;return m.createElement(ki,{theme:Ii({...c,fontCode:l.fonts.mono,fontBase:l.fonts.base})},s)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Ca=600;R.h1(Ut,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Ca}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}}));R.h2(Ut,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Ca}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:se(.25,e.color.defaultText)}));R.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"?se(.1,e.color.defaultText):se(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("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}},[he("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}},[he("div")]:t,[he("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}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("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"}},[he("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"}}},[he("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}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}});R.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Ca}px)`]:{}}));var En=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}`}),Zg=ur({scale:1});R.strong(({theme:e})=>({color:e.color.orange}));var e0=R(Nn)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),t0=R.div({display:"flex",alignItems:"center",gap:4}),r0=R.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`})),n0=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>m.createElement(e0,{...a},m.createElement(t0,{key:"left"},e?[1,2,3].map(i=>m.createElement(r0,{key:i})):m.createElement(m.Fragment,null,m.createElement(ze,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},m.createElement(qi,null)),m.createElement(ze,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},m.createElement(Vi,null)),m.createElement(ze,{key:"zoomreset",onClick:i=>{i.preventDefault(),o()},title:"Reset zoom"},m.createElement(Ji,null))))),o0=R.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)`}}:{}),gc=R(Qg)(({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)":We(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":We(.05,e.background.content)}})),a0=R.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...En(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),i0=(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(gc,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:m.createElement(gc,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function s0(e){if(Ya.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var l0=R(n0)({position:"absolute",top:0,left:0,right:0,height:40}),u0=R.div({overflow:"hidden",position:"relative"}),c0=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:i=!1,additionalActions:l,className:s,layout:c="padded",...d})=>{let[p,h]=X(i),{source:f,actionItem:b}=i0(o,p,h),[g,x]=X(1),S=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),A=o?[b]:[],[k,T]=X(l?[...l]:[]),I=[...A,...k],{window:D}=globalThis,F=xe(async L=>{let{createCopyToClipboardFunction:B}=await Promise.resolve().then(()=>(_r(),ti));B()},[]),P=L=>{let B=D.getSelection();B&&B.type==="Range"||(L.preventDefault(),k.filter(G=>G.title==="Copied").length===0&&F(f.props.code).then(()=>{T([...k,{title:"Copied",onClick:()=>{}}]),D.setTimeout(()=>T(k.filter(G=>G.title!=="Copied")),1500)}))};return m.createElement(a0,{withSource:o,withToolbar:a,...d,className:S.join(" ")},a&&m.createElement(l0,{isLoading:e,border:!0,zoom:L=>x(g*L),resetZoom:()=>x(1),storyId:s0(n),baseUrl:"./iframe.html"}),m.createElement(Zg.Provider,{value:{scale:g}},m.createElement(u0,{className:"docs-story",onCopyCapture:o&&P},m.createElement(o0,{isColumn:t||!Array.isArray(n),columns:r,layout:c},m.createElement(Un.Element,{scale:g},Array.isArray(n)?n.map((L,B)=>m.createElement("div",{key:B},L)):m.createElement("div",null,n))),m.createElement(Dn,{actionItems:I}))),o&&p&&f)};R(c0)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function _t(){return _t=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),xc={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},p0=["style","script"],f0=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,h0=/mailto:/i,m0=/\n{2,}$/,Zc=/^(\s*>[\s\S]*?)(?=\n{2,})/,y0=/^ *> ?/gm,g0=/^ {2,}\n/,b0=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,ed=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,td=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,E0=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,v0=/^(?:\n *)*\n/,x0=/\r\n?/g,S0=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,w0=/^\[\^([^\]]+)]/,A0=/\f/g,T0=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,C0=/^\s*?\[(x|\s)\]/,rd=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,nd=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,od=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,xa=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,k0=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,ad=/^)/,I0=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Sa=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,O0=/^\{.*\}$/,D0=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,R0=/^<([^ >]+@[^ >]+)>/,_0=/^<([^ >]+:\/[^ >]+)>/,P0=/-([a-z])?/gi,id=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,F0=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,N0=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,B0=/^\[([^\]]*)\] ?\[([^\]]*)\]/,j0=/(\[|\])/g,L0=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,M0=/\t/g,U0=/^ *\| */,$0=/(^ *\||\| *$)/g,q0=/ *$/,V0=/^ *:-+: *$/,J0=/^ *:-+ *$/,z0=/^ *-+: *$/,vn="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",H0=new RegExp(`^([*_])\\1${vn}\\1\\1(?!\\1)`),G0=new RegExp(`^([*_])${vn}\\1(?!\\1|\\w)`),W0=new RegExp(`^==${vn}==`),K0=new RegExp(`^~~${vn}~~`),Y0=/^\\([^0-9A-Za-z\s])/,X0=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,Q0=/^\n+/,Z0=/^([ \t]*)/,e2=/\\([^\\])/g,Sc=/ *\n+$/,t2=/(?:^|\n)( *)$/,ka="(?:\\d+\\.)",Ia="(?:[*+-])";function sd(e){return"( *)("+(e===1?ka:Ia)+") +"}var ld=sd(1),ud=sd(2);function cd(e){return new RegExp("^"+(e===1?ld:ud))}var r2=cd(1),n2=cd(2);function dd(e){return new RegExp("^"+(e===1?ld:ud)+"[^\\n]*(?:\\n(?!\\1"+(e===1?ka:Ia)+" )[^\\n]*)*(\\n|$)","gm")}var pd=dd(1),fd=dd(2);function hd(e){let t=e===1?ka:Ia;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var md=hd(1),yd=hd(2);function wc(e,t){let r=t===1,n=r?md:yd,o=r?pd:fd,a=r?r2:n2;return{match(i,l,s){let c=t2.exec(s);return c&&(l.list||!l.inline&&!l.simple)?n.exec(i=c[1]+i):null},order:1,parse(i,l,s){let c=r?+i[2]:void 0,d=i[0].replace(m0,` +`).match(o),p=!1;return{items:d.map(function(h,f){let b=a.exec(h)[0].length,g=new RegExp("^ {1,"+b+"}","gm"),x=h.replace(g,"").replace(a,""),S=f===d.length-1,A=x.indexOf(` + +`)!==-1||S&&p;p=A;let k=s.inline,T=s.list,I;s.list=!0,A?(s.inline=!1,I=x.replace(Sc,` + +`)):(s.inline=!0,I=x.replace(Sc,""));let D=l(I,s);return s.inline=k,s.list=T,D}),ordered:r,start:c}},render:(i,l,s)=>e(i.ordered?"ol":"ul",{key:s.key,start:i.type==="20"?i.start:void 0},i.items.map(function(c,d){return e("li",{key:d},l(c,s))}))}}var o2=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),a2=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,gd=[Zc,ed,td,rd,od,nd,ad,id,pd,md,fd,yd],i2=[...gd,/^[^\n]+(?: \n|\n{2,})/,xa,Sa];function s2(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 l2(e){return z0.test(e)?"right":V0.test(e)?"center":J0.test(e)?"left":null}function Ac(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,l){i.type==="26"?l!==0&&l!==o.length-1&&a.push([]):(i.type!=="27"||o[l+1]!=null&&o[l+1].type!=="26"||(i.text=i.text.replace(q0,"")),a[a.length-1].push(i))}),a}function u2(e,t,r){r.inline=!0;let n=Ac(e[1],t,r),o=e[2].replace($0,"").split("|").map(l2),a=function(i,l,s){return i.trim().split(` +`).map(function(c){return Ac(c,l,s)})}(e[3],t,r);return r.inline=!1,{align:o,cells:a,header:n,type:"25"}}function Tc(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function yt(e){return function(t,r){return r.inline?e.exec(t):null}}function gt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function tt(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function xr(e){return function(t){return e.exec(t)}}function c2(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(a=>!gd.some(i=>i.test(a))&&(n+=a+` +`,a.trim()));let o=n.trimEnd();return o==""?null:[n,o]}function Yt(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 Cc(e){return e.replace(e2,"$1")}function hn(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 d2(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 p2(e,t,r){return r.inline=!1,e(t,r)}var la=(e,t,r)=>({children:hn(t,e[1],r)});function ua(){return{}}function ca(){return null}function f2(...e){return e.filter(Boolean).join(" ")}function da(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 h2(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||s2,t.namedCodesToUnicode=t.namedCodesToUnicode?_t({},xc,t.namedCodesToUnicode):xc;let r=t.createElement||On;function n(f,b,...g){let x=da(t.overrides,`${f}.props`,{});return r(function(S,A){let k=da(A,S);return k?typeof k=="function"||typeof k=="object"&&"render"in k?k:da(A,`${S}.component`,S):S}(f,t.overrides),_t({},b,x,{className:f2(b?.className,x.className)||void 0}),...g)}function o(f){f=f.replace(T0,"");let b=!1;t.forceInline?b=!0:t.forceBlock||(b=L0.test(f)===!1);let g=d(c(b?f:`${f.trimEnd().replace(Q0,"")} + +`,{inline:b}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let x=t.wrapper||(b?"span":"div"),S;if(g.length>1||t.forceWrapper)S=g;else{if(g.length===1)return S=g[0],typeof S=="string"?n("span",{key:"outer"},S):S;S=null}return On(x,{key:"outer"},S)}function a(f){let b=f.match(f0);return b?b.reduce(function(g,x,S){let A=x.indexOf("=");if(A!==-1){let k=function(F){return F.indexOf("-")!==-1&&F.match(I0)===null&&(F=F.replace(P0,function(P,L){return L.toUpperCase()})),F}(x.slice(0,A)).trim(),T=function(F){let P=F[0];return(P==='"'||P==="'")&&F.length>=2&&F[F.length-1]===P?F.slice(1,-1):F}(x.slice(A+1).trim()),I=vc[k]||k,D=g[I]=function(F,P){return F==="style"?P.split(/;\s?/).reduce(function(L,B){let G=B.slice(0,B.indexOf(":"));return L[G.trim().replace(/(-[a-z])/g,$=>$[1].toUpperCase())]=B.slice(G.length+1).trim(),L},{}):F==="href"||F==="src"?Yt(P):(P.match(O0)&&(P=P.slice(1,P.length-1)),P==="true"||P!=="false"&&P)}(k,T);typeof D=="string"&&(xa.test(D)||Sa.test(D))&&(g[I]=ue(o(D.trim()),{key:S}))}else x!=="style"&&(g[vc[x]||x]=!0);return g},{}):null}let i=[],l={},s={0:{match:tt(Zc),order:1,parse:(f,b,g)=>({children:b(f[0].replace(y0,""),g)}),render:(f,b,g)=>n("blockquote",{key:g.key},b(f.children,g))},1:{match:xr(g0),order:1,parse:ua,render:(f,b,g)=>n("br",{key:g.key})},2:{match:tt(b0),order:1,parse:ua,render:(f,b,g)=>n("hr",{key:g.key})},3:{match:tt(td),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,b,g)=>n("pre",{key:g.key},n("code",_t({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:tt(ed),order:0,parse:f=>({attrs:a(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:gt(E0),order:3,parse:f=>({text:f[2]}),render:(f,b,g)=>n("code",{key:g.key},f.text)},6:{match:tt(S0),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:ca},7:{match:yt(w0),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,b,g)=>n("a",{key:g.key,href:Yt(f.target)},n("sup",{key:g.key},f.text))},8:{match:yt(C0),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,b,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:tt(t.enforceAtxHeadings?nd:rd),order:1,parse:(f,b,g)=>({children:hn(b,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,b,g)=>n(`h${f.level}`,{id:f.id,key:g.key},b(f.children,g))},10:{match:tt(od),order:0,parse:(f,b,g)=>({children:hn(b,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:xr(xa),order:1,parse(f,b,g){let[,x]=f[3].match(Z0),S=new RegExp(`^${x}`,"gm"),A=f[3].replace(S,""),k=(T=A,i2.some(P=>P.test(T))?p2:hn);var T;let I=f[1].toLowerCase(),D=p0.indexOf(I)!==-1,F={attrs:a(f[2]),noInnerParse:D,tag:(D?I:f[1]).trim()};return g.inAnchor=g.inAnchor||I==="a",D?F.text=f[3]:F.children=k(b,A,g),g.inAnchor=!1,F},render:(f,b,g)=>n(f.tag,_t({key:g.key},f.attrs),f.text||b(f.children,g))},13:{match:xr(Sa),order:1,parse:f=>({attrs:a(f[2]||""),tag:f[1].trim()}),render:(f,b,g)=>n(f.tag,_t({},f.attrs,{key:g.key}))},12:{match:xr(ad),order:1,parse:()=>({}),render:ca},14:{match:gt(a2),order:1,parse:f=>({alt:f[1],target:Cc(f[2]),title:f[3]}),render:(f,b,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:Yt(f.target)})},15:{match:yt(o2),order:3,parse:(f,b,g)=>({children:d2(b,f[1],g),target:Cc(f[2]),title:f[3]}),render:(f,b,g)=>n("a",{key:g.key,href:Yt(f.target),title:f.title},b(f.children,g))},16:{match:yt(_0),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,b)=>b.inAnchor?null:yt(D0)(f,b),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:yt(R0),order:0,parse(f){let b=f[1],g=f[1];return h0.test(g)||(g="mailto:"+g),{children:[{text:b.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:wc(n,1),33:wc(n,2),19:{match:tt(v0),order:3,parse:ua,render:()=>` +`},21:{match:c2,order:3,parse:la,render:(f,b,g)=>n("p",{key:g.key},b(f.children,g))},22:{match:yt(F0),order:0,parse:f=>(l[f[1]]={target:f[2],title:f[4]},{}),render:ca},23:{match:gt(N0),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,b,g)=>l[f.ref]?n("img",{key:g.key,alt:f.alt,src:Yt(l[f.ref].target),title:l[f.ref].title}):null},24:{match:yt(B0),order:0,parse:(f,b,g)=>({children:b(f[1],g),fallbackChildren:b(f[0].replace(j0,"\\$1"),g),ref:f[2]}),render:(f,b,g)=>l[f.ref]?n("a",{key:g.key,href:Yt(l[f.ref].target),title:l[f.ref].title},b(f.children,g)):n("span",{key:g.key},b(f.fallbackChildren,g))},25:{match:tt(id),order:1,parse:u2,render:(f,b,g)=>n("table",{key:g.key},n("thead",null,n("tr",null,f.header.map(function(x,S){return n("th",{key:S,style:Tc(f,S)},b(x,g))}))),n("tbody",null,f.cells.map(function(x,S){return n("tr",{key:S},x.map(function(A,k){return n("td",{key:k,style:Tc(f,k)},b(A,g))}))})))},26:{match:function(f,b){return b.inTable?(b.inline=!0,U0.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:xr(X0),order:4,parse:f=>({text:f[0].replace(k0,(b,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:b)}),render:f=>f.text},28:{match:gt(H0),order:2,parse:(f,b,g)=>({children:b(f[2],g)}),render:(f,b,g)=>n("strong",{key:g.key},b(f.children,g))},29:{match:gt(G0),order:3,parse:(f,b,g)=>({children:b(f[2],g)}),render:(f,b,g)=>n("em",{key:g.key},b(f.children,g))},30:{match:gt(Y0),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:gt(W0),order:3,parse:la,render:(f,b,g)=>n("mark",{key:g.key},b(f.children,g))},32:{match:gt(K0),order:3,parse:la,render:(f,b,g)=>n("del",{key:g.key},b(f.children,g))}};t.disableParsingRawHTML===!0&&(delete s[11],delete s[13]);let c=function(f){let b=Object.keys(f);function g(x,S){let A=[],k="";for(;x;){let T=0;for(;TA(g,x,S),g,x,S):A(g,x,S)}}(s,t.renderRule),function f(b,g={}){if(Array.isArray(b)){let x=g.key,S=[],A=!1;for(let k=0;k{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var i,l,s={},c=Object.keys(o);for(l=0;l=0||(s[i]=o[i]);return s}(e,d0);return ue(h2(t,r),n)},y2=R.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:se(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${cn(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${cn(.05,e.appBorderColor)} 0 0 0 2px inset`,color:cn(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"?`${cn(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),g2=e=>e==="true",b2=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{let i=xe(()=>r(!1),[r]),l=!!a?.table?.readonly;if(t===void 0)return m.createElement(lt,{variant:"outline",size:"medium",id:lr(e),onClick:i,disabled:l},"Set boolean");let s=Fe(e),c=typeof t=="string"?g2(t):t;return m.createElement(y2,{"aria-disabled":l,htmlFor:s,"aria-label":e},m.createElement("input",{id:s,type:"checkbox",onChange:d=>r(d.target.checked),checked:c,role:"switch",disabled:l,name:e,onBlur:n,onFocus:o}),m.createElement("span",{"aria-hidden":"true"},"False"),m.createElement("span",{"aria-hidden":"true"},"True"))},E2=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},v2=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},x2=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}`},S2=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},kc=R(Ve.Input)(({readOnly:e})=>({opacity:e?.5:1})),w2=R.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}})),A2=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{let[i,l]=X(!0),s=Re(),c=Re(),d=!!a?.table?.readonly;Se(()=>{i!==!1&&(s&&s.current&&(s.current.value=t?x2(t):""),c&&c.current&&(c.current.value=t?S2(t):""))},[t]);let p=b=>{if(!b.target.value)return r();let g=E2(b.target.value),x=new Date(t);x.setFullYear(g.getFullYear(),g.getMonth(),g.getDate());let S=x.getTime();S&&r(S),l(!!S)},h=b=>{if(!b.target.value)return r();let g=v2(b.target.value),x=new Date(t);x.setHours(g.getHours()),x.setMinutes(g.getMinutes());let S=x.getTime();S&&r(S),l(!!S)},f=Fe(e);return m.createElement(w2,null,m.createElement(kc,{type:"date",max:"9999-12-31",ref:s,id:`${f}-date`,name:`${f}-date`,readOnly:d,onChange:p,onFocus:n,onBlur:o}),m.createElement(kc,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:c,onChange:h,readOnly:d,onFocus:n,onBlur:o}),i?null:m.createElement("div",null,"invalid"))},T2=R.label({display:"flex"}),C2=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},k2=R(Ve.Input)(({readOnly:e})=>({opacity:e?.5:1})),I2=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:i,onFocus:l,argType:s})=>{let[c,d]=X(typeof t=="number"?t:""),[p,h]=X(!1),[f,b]=X(null),g=!!s?.table?.readonly,x=xe(k=>{d(k.target.value);let T=parseFloat(k.target.value);Number.isNaN(T)?b(new Error(`'${k.target.value}' is not a number`)):(r(T),b(null))},[r,b]),S=xe(()=>{d("0"),r(0),h(!0)},[h]),A=Re(null);return Se(()=>{p&&A.current&&A.current.select()},[p]),Se(()=>{c!==(typeof t=="number"?t:"")&&d(t)},[t]),t===void 0?m.createElement(lt,{variant:"outline",size:"medium",id:lr(e),onClick:S,disabled:g},"Set number"):m.createElement(T2,null,m.createElement(k2,{ref:A,id:Fe(e),type:"number",onChange:x,size:"flex",placeholder:"Edit number...",value:c,valid:f?"error":null,autoFocus:p,readOnly:g,name:e,min:n,max:o,step:a,onFocus:l,onBlur:i}))},bd=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},wa=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Ed=(e,t)=>e&&t&&e.map(r=>t[r]),O2=R.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"}}}),D2=R.span({"[aria-readonly=true] &":{opacity:.5}}),R2=R.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Ic=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return qr.warn(`Checkbox with no options: ${e}`),m.createElement(m.Fragment,null,"-");let i=wa(r,t),[l,s]=X(i),c=!!a?.table?.readonly,d=h=>{let f=h.target.value,b=[...l];b.includes(f)?b.splice(b.indexOf(f),1):b.push(f),n(Ed(b,t)),s(b)};Se(()=>{s(wa(r,t))},[r]);let p=Fe(e);return m.createElement(O2,{"aria-readonly":c,isInline:o},Object.keys(t).map((h,f)=>{let b=`${p}-${f}`;return m.createElement(R2,{key:b,htmlFor:b},m.createElement("input",{type:"checkbox",disabled:c,id:b,name:b,value:h,onChange:d,checked:l?.includes(h)}),m.createElement(D2,null,h))}))},_2=R.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"}}}),P2=R.span({"[aria-readonly=true] &":{opacity:.5}}),F2=R.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Oc=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return qr.warn(`Radio with no options: ${e}`),m.createElement(m.Fragment,null,"-");let i=bd(r,t),l=Fe(e),s=!!a?.table?.readonly;return m.createElement(_2,{"aria-readonly":s,isInline:o},Object.keys(t).map((c,d)=>{let p=`${l}-${d}`;return m.createElement(F2,{key:p,htmlFor:p},m.createElement("input",{type:"radio",id:p,name:l,disabled:s,value:c,onChange:h=>n(t[h.currentTarget.value]),checked:c===i}),m.createElement(P2,null,c))}))},N2={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},vd=R.select(N2,({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}}})),xd=R.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}}})),Dc="Choose option...",B2=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=c=>{n(r[c.currentTarget.value])},i=bd(t,r)||Dc,l=Fe(e),s=!!o?.table?.readonly;return m.createElement(xd,null,m.createElement(eo,null),m.createElement(vd,{disabled:s,id:l,value:i,onChange:a},m.createElement("option",{key:"no-selection",disabled:!0},Dc),Object.keys(r).map(c=>m.createElement("option",{key:c,value:c},c))))},j2=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=c=>{let d=Array.from(c.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(Ed(d,r))},i=wa(t,r),l=Fe(e),s=!!o?.table?.readonly;return m.createElement(xd,null,m.createElement(vd,{disabled:s,id:l,multiple:!0,value:i,onChange:a},Object.keys(r).map(c=>m.createElement("option",{key:c,value:c},c))))},Rc=e=>{let{name:t,options:r}=e;return r?e.isMulti?m.createElement(j2,{...e}):m.createElement(B2,{...e}):(qr.warn(`Select with no options: ${t}`),m.createElement(m.Fragment,null,"-"))},L2=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,M2={check:Ic,"inline-check":Ic,radio:Oc,"inline-radio":Oc,select:Rc,"multi-select":Rc},Xt=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?L2(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=M2[t];if(a)return m.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},U2="Error",$2="Object",q2="Array",V2="String",J2="Number",z2="Boolean",H2="Date",G2="Null",W2="Undefined",K2="Function",Y2="Symbol",Sd="ADD_DELTA_TYPE",wd="REMOVE_DELTA_TYPE",Ad="UPDATE_DELTA_TYPE",Oa="value",X2="key";function Pt(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 Td(e,t){let r=Pt(e),n=Pt(t);return(r==="Function"||n==="Function")&&n!==r}var Da=class extends it{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,l={};if(!t){if(!a.value)return;l.key=a.value}l.newValue=r(!1,n,o,l.key,i.value),e(l)}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,l=ue(r,{onClick:this.onSubmit}),s=ue(n,{onClick:e}),c=o(Oa,a,i),d=ue(c,{placeholder:"Value",ref:this.refInputValue}),p=null;if(!t){let h=o(X2,a,i);p=ue(h,{placeholder:"Key",ref:this.refInputKey})}return m.createElement("span",{className:"rejt-add-value-node"},p,d,s,l)}};Da.defaultProps={onlyValue:!1,addButtonElement:m.createElement("button",null,"+"),cancelButtonElement:m.createElement("button",null,"c")};var Cd=class extends it{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 l={keyPath:o,deep:a,key:e,oldValue:i,type:wd};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:c}=this.props;s(o[o.length-1],n),c(l)}).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:l,onDeltaUpdate:s}=this.props;l(r[r.length-1],i),s({type:Sd,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:l}=this.state,s=a[e];o(e,i,l,s,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(i[i.length-1],a),d({type:Ad,keyPath:i,deep:l,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:i,dataType:l,minusMenuElement:s}=this.props,{minus:c,collapsed:d}=i(e,t,r,n,l),p=a(e,t,r,n,l),h=ue(s,{onClick:o,className:"rejt-minus-menu",style:c});return m.createElement("span",{className:"rejt-collapsed"},m.createElement("span",{className:"rejt-collapsed-text",style:d,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!p&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:i,handleRemove:l,onDeltaUpdate:s,readOnly:c,getStyle:d,dataType:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:b,inputElementGenerator:g,textareaElementGenerator:x,minusMenuElement:S,plusMenuElement:A,beforeRemoveAction:k,beforeAddAction:T,beforeUpdateAction:I,logger:D,onSubmitValueParser:F}=this.props,{minus:P,plus:L,delimiter:B,ul:G,addForm:$}=d(e,t,r,n,p),H=c(e,t,r,n,p),w=ue(A,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:L}),C=ue(S,{onClick:l,className:"rejt-minus-menu",style:P});return m.createElement("span",{className:"rejt-not-collapsed"},m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:B},"["),!o&&w,m.createElement("ul",{className:"rejt-not-collapsed-list",style:G},t.map((_,M)=>m.createElement(xn,{key:M,name:M.toString(),data:_,keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveItem(M),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:c,getStyle:d,addButtonElement:h,cancelButtonElement:f,editButtonElement:b,inputElementGenerator:g,textareaElementGenerator:x,minusMenuElement:S,plusMenuElement:A,beforeRemoveAction:k,beforeAddAction:T,beforeUpdateAction:I,logger:D,onSubmitValueParser:F}))),!H&&o&&m.createElement("div",{className:"rejt-add-form",style:$},m.createElement(Da,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:F})),m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:B},"]"),!H&&C)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:i}=this.props,l=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,o,a);return m.createElement("div",{className:"rejt-array-node"},m.createElement("span",{onClick:this.handleCollapseMode},m.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),l)}};Cd.defaultProps={keyPath:[],deep:0,minusMenuElement:m.createElement("span",null," - "),plusMenuElement:m.createElement("span",null," + ")};var kd=class extends it{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:l}=this.props,s=i(r,n,o,a,l);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:o}=this.props,{inputRef:a,name:i,deep:l}=this.state;if(!a)return;let s=n(!0,o,l,i,a.value);e({value:s,key:i}).then(()=>{Td(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:o}=this.state,{handleRemove:a,originalValue:i,readOnly:l,dataType:s,getStyle:c,editButtonElement:d,cancelButtonElement:p,textareaElementGenerator:h,minusMenuElement:f,keyPath:b}=this.props,g=c(e,i,n,o,s),x=null,S=null,A=l(e,i,n,o,s);if(r&&!A){let k=h(Oa,b,o,e,i,s),T=ue(d,{onClick:this.handleEdit}),I=ue(p,{onClick:this.handleCancelEdit}),D=ue(k,{ref:this.refInput,defaultValue:i});x=m.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",I,T),S=null}else{x=m.createElement("span",{className:"rejt-value",style:g.value,onClick:A?null:this.handleEditMode},t);let k=ue(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});S=A?null:k}return m.createElement("li",{className:"rejt-function-value-node",style:g.li},m.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),x,S)}};kd.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:m.createElement("button",null,"e"),cancelButtonElement:m.createElement("button",null,"c"),minusMenuElement:m.createElement("span",null," - ")};var xn=class extends it{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:l,onDeltaUpdate:s,readOnly:c,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,textareaElementGenerator:g,minusMenuElement:x,plusMenuElement:S,beforeRemoveAction:A,beforeAddAction:k,beforeUpdateAction:T,logger:I,onSubmitValueParser:D}=this.props,F=()=>!0,P=Pt(e);switch(P){case U2:return m.createElement(Aa,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:l,onDeltaUpdate:s,readOnly:F,dataType:P,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,textareaElementGenerator:g,minusMenuElement:x,plusMenuElement:S,beforeRemoveAction:A,beforeAddAction:k,beforeUpdateAction:T,logger:I,onSubmitValueParser:D});case $2:return m.createElement(Aa,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:l,onDeltaUpdate:s,readOnly:c,dataType:P,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,textareaElementGenerator:g,minusMenuElement:x,plusMenuElement:S,beforeRemoveAction:A,beforeAddAction:k,beforeUpdateAction:T,logger:I,onSubmitValueParser:D});case q2:return m.createElement(Cd,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:l,onDeltaUpdate:s,readOnly:c,dataType:P,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,textareaElementGenerator:g,minusMenuElement:x,plusMenuElement:S,beforeRemoveAction:A,beforeAddAction:k,beforeUpdateAction:T,logger:I,onSubmitValueParser:D});case V2:return m.createElement(bt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:P,getStyle:d,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,minusMenuElement:x,logger:I,onSubmitValueParser:D});case J2:return m.createElement(bt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:P,getStyle:d,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,minusMenuElement:x,logger:I,onSubmitValueParser:D});case z2:return m.createElement(bt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:P,getStyle:d,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,minusMenuElement:x,logger:I,onSubmitValueParser:D});case H2:return m.createElement(bt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:F,dataType:P,getStyle:d,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,minusMenuElement:x,logger:I,onSubmitValueParser:D});case G2:return m.createElement(bt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:P,getStyle:d,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,minusMenuElement:x,logger:I,onSubmitValueParser:D});case W2:return m.createElement(bt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:P,getStyle:d,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,minusMenuElement:x,logger:I,onSubmitValueParser:D});case K2:return m.createElement(kd,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:P,getStyle:d,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:x,logger:I,onSubmitValueParser:D});case Y2:return m.createElement(bt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:F,dataType:P,getStyle:d,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:b,minusMenuElement:x,logger:I,onSubmitValueParser:D});default:return null}}};xn.defaultProps={keyPath:[],deep:0};var Aa=class extends it{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:l,onDeltaUpdate:s}=this.props;l(n[n.length-1],r),s({type:Sd,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 l={keyPath:o,deep:a,key:e,oldValue:i,type:wd};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:c}=this.props;s(o[o.length-1],n),c(l)}).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:l}=this.state,s=a[e];o(e,i,l,s,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(i[i.length-1],a),d({type:Ad,keyPath:i,deep:l,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:i,getStyle:l,minusMenuElement:s}=this.props,{minus:c,collapsed:d}=l(e,n,t,r,i),p=Object.getOwnPropertyNames(n),h=a(e,n,t,r,i),f=ue(s,{onClick:o,className:"rejt-minus-menu",style:c});return m.createElement("span",{className:"rejt-collapsed"},m.createElement("span",{className:"rejt-collapsed-text",style:d,onClick:this.handleCollapseMode},"{...}"," ",p.length," ",p.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:i,handleRemove:l,onDeltaUpdate:s,readOnly:c,getStyle:d,dataType:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:b,inputElementGenerator:g,textareaElementGenerator:x,minusMenuElement:S,plusMenuElement:A,beforeRemoveAction:k,beforeAddAction:T,beforeUpdateAction:I,logger:D,onSubmitValueParser:F}=this.props,{minus:P,plus:L,addForm:B,ul:G,delimiter:$}=d(e,t,r,n,p),H=Object.getOwnPropertyNames(t),w=c(e,t,r,n,p),C=ue(A,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:L}),_=ue(S,{onClick:l,className:"rejt-minus-menu",style:P}),M=H.map(U=>m.createElement(xn,{key:U,name:U,data:t[U],keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveValue(U),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:c,getStyle:d,addButtonElement:h,cancelButtonElement:f,editButtonElement:b,inputElementGenerator:g,textareaElementGenerator:x,minusMenuElement:S,plusMenuElement:A,beforeRemoveAction:k,beforeAddAction:T,beforeUpdateAction:I,logger:D,onSubmitValueParser:F}));return m.createElement("span",{className:"rejt-not-collapsed"},m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:$},"{"),!w&&C,m.createElement("ul",{className:"rejt-not-collapsed-list",style:G},M),!w&&a&&m.createElement("div",{className:"rejt-add-form",style:B},m.createElement(Da,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:F})),m.createElement("span",{className:"rejt-not-collapsed-delimiter",style:$},"}"),!w&&_)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:i}=this.props,l=t?this.renderCollapsed():this.renderNotCollapsed(),s=a(e,r,n,o,i);return m.createElement("div",{className:"rejt-object-node"},m.createElement("span",{onClick:this.handleCollapseMode},m.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),l)}};Aa.defaultProps={keyPath:[],deep:0,minusMenuElement:m.createElement("span",null," - "),plusMenuElement:m.createElement("span",null," + ")};var bt=class extends it{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:l}=this.props,s=i(r,n,o,a,l);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:o}=this.props,{inputRef:a,name:i,deep:l}=this.state;if(!a)return;let s=n(!0,o,l,i,a.value);e({value:s,key:i}).then(()=>{Td(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:o}=this.state,{handleRemove:a,originalValue:i,readOnly:l,dataType:s,getStyle:c,editButtonElement:d,cancelButtonElement:p,inputElementGenerator:h,minusMenuElement:f,keyPath:b}=this.props,g=c(e,i,n,o,s),x=l(e,i,n,o,s),S=r&&!x,A=h(Oa,b,o,e,i,s),k=ue(d,{onClick:this.handleEdit}),T=ue(p,{onClick:this.handleCancelEdit}),I=ue(A,{ref:this.refInput,defaultValue:JSON.stringify(i)}),D=ue(f,{onClick:a,className:"rejt-minus-menu",style:g.minus});return m.createElement("li",{className:"rejt-value-node",style:g.li},m.createElement("span",{className:"rejt-name",style:g.name},e," : "),S?m.createElement("span",{className:"rejt-edit-form",style:g.editForm},I," ",T,k):m.createElement("span",{className:"rejt-value",style:g.value,onClick:x?null:this.handleEditMode},String(t)),!x&&!S&&D)}};bt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:m.createElement("button",null,"e"),cancelButtonElement:m.createElement("button",null,"c"),minusMenuElement:m.createElement("span",null," - ")};function Q2(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Z2={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},eb={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},tb={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},Id=class extends it{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:l,editButtonElement:s,inputElement:c,textareaElement:d,minusMenuElement:p,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:b,beforeUpdateAction:g,logger:x,onSubmitValueParser:S,fallback:A=null}=this.props,k=Pt(e),T=o;Pt(o)==="Boolean"&&(T=()=>o);let I=c;c&&Pt(c)!=="Function"&&(I=()=>c);let D=d;return d&&Pt(d)!=="Function"&&(D=()=>d),k==="Object"||k==="Array"?m.createElement("div",{className:"rejt-tree"},m.createElement(xn,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:T,getStyle:a,addButtonElement:i,cancelButtonElement:l,editButtonElement:s,inputElementGenerator:I,textareaElementGenerator:D,minusMenuElement:p,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:b,beforeUpdateAction:g,logger:x,onSubmitValueParser:S})):A}};Id.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return Z2;case"Array":return eb;default:return tb}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>Q2(o),inputElement:()=>m.createElement("input",null),textareaElement:()=>m.createElement("textarea",null),fallback:null};var{window:rb}=globalThis,nb=R.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}})),pa=R.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})),ob=R(Zn)(({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}})),ab=R(Ui)(({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}})),_c=R.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}`}})),ib=R(ze)(({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}})),sb=R(Ve.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"}})),lb={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},ub=e=>{e.currentTarget.dispatchEvent(new rb.KeyboardEvent("keydown",lb))},cb=e=>{e.currentTarget.select()},db=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),Pc=({name:e,value:t,onChange:r,argType:n})=>{let o=Xn(),a=st(()=>t&&Ka(t),[t]),i=a!=null,[l,s]=X(!i),[c,d]=X(null),p=!!n?.table?.readonly,h=xe(k=>{try{k&&r(JSON.parse(k)),d(void 0)}catch(T){d(T)}},[r]),[f,b]=X(!1),g=xe(()=>{r({}),b(!0)},[b]),x=Re(null);if(Se(()=>{f&&x.current&&x.current.select()},[f]),!i)return m.createElement(lt,{disabled:p,id:lr(e),onClick:g},"Set object");let S=m.createElement(sb,{ref:x,id:Fe(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:k=>h(k.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:c?"error":null,readOnly:p}),A=Array.isArray(t)||typeof t=="object"&&t?.constructor===Object;return m.createElement(nb,{"aria-readonly":p},A&&m.createElement(ib,{onClick:k=>{k.preventDefault(),s(T=>!T)}},l?m.createElement(Bi,null):m.createElement(ji,null),m.createElement("span",null,"RAW")),l?S:m.createElement(Id,{readOnly:p||!A,isCollapsed:A?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:db(o),cancelButtonElement:m.createElement(pa,{type:"button"},"Cancel"),editButtonElement:m.createElement(pa,{type:"submit"},"Save"),addButtonElement:m.createElement(pa,{type:"submit",primary:!0},"Save"),plusMenuElement:m.createElement(ob,null),minusMenuElement:m.createElement(ab,null),inputElement:(k,T,I,D)=>D?m.createElement(_c,{onFocus:cb,onBlur:ub}):m.createElement(_c,null),fallback:S}))},pb=R.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}%, + ${We(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${We(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Rt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Rt(.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 ${rt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${rt(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${We(.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:rt(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}%, + ${We(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${We(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Rt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Rt(.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 ${rt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${rt(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${We(.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}%, + ${We(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${We(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Rt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Rt(.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 ${rt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Od=R.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),fb=R(Od)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),hb=R.div({display:"flex",alignItems:"center",width:"100%"});function mb(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 yb=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:i,onFocus:l,argType:s})=>{let c=f=>{r(C2(f.target.value))},d=t!==void 0,p=st(()=>mb(a),[a]),h=!!s?.table?.readonly;return m.createElement(hb,{"aria-readonly":h},m.createElement(Od,null,n),m.createElement(pb,{id:Fe(e),type:"range",disabled:h,onChange:c,name:e,value:t,min:n,max:o,step:a,onFocus:l,onBlur:i}),m.createElement(fb,{numberOFDecimalsPlaces:p,max:o},d?t.toFixed(p):"--"," / ",o))},gb=R.label({display:"flex"}),bb=R.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),Eb=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:i})=>{let l=f=>{r(f.target.value)},s=!!i?.table?.readonly,[c,d]=X(!1),p=xe(()=>{r(""),d(!0)},[d]);if(t===void 0)return m.createElement(lt,{variant:"outline",size:"medium",disabled:s,id:lr(e),onClick:p},"Set string");let h=typeof t=="string";return m.createElement(gb,null,m.createElement(Ve.Textarea,{id:Fe(e),maxLength:a,onChange:l,disabled:s,size:"flex",placeholder:"Edit string...",autoFocus:c,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:o}),a&&m.createElement(bb,{isMaxed:t?.length===a},t?.length??0," / ",a))},vb=R(Ve.Input)({padding:10});function xb(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Sb=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{let a=Re(null),i=o?.control?.readOnly;function l(s){if(!s.target.files)return;let c=Array.from(s.target.files).map(d=>URL.createObjectURL(d));e(c),xb(n)}return Se(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),m.createElement(vb,{ref:a,id:Fe(t),type:"file",name:t,multiple:!0,disabled:i,onChange:l,accept:r,size:"flex"})},wb=Qa(()=>Promise.resolve().then(()=>(hc(),fc))),Ab=e=>m.createElement(Xa,{fallback:m.createElement("div",null)},m.createElement(wb,{...e})),Tb={array:Pc,object:Pc,boolean:b2,color:Ab,date:A2,number:I2,check:Xt,"inline-check":Xt,radio:Xt,"inline-radio":Xt,select:Xt,"multi-select":Xt,range:yb,text:Eb,file:Sb},Fc=()=>m.createElement(m.Fragment,null,"-"),Cb=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:a}=e,[i,l]=X(!1),[s,c]=X({value:t});Se(()=>{i||c({value:t})},[i,t]);let d=xe(g=>(c({value:g}),r({[o]:g}),g),[r,o]),p=xe(()=>l(!1),[]),h=xe(()=>l(!0),[]);if(!a||a.disable){let g=a?.disable!==!0&&e?.type?.name!=="function";return n&&g?m.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):m.createElement(Fc,null)}let f={name:o,argType:e,value:s.value,onChange:d,onBlur:p,onFocus:h},b=Tb[a.type]||Fc;return m.createElement(b,{...f,...a,controlType:a.type})},kb=R.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:Mt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),Ib=({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:m.createElement(m.Fragment,null,m.createElement(kb,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(a=>m.createElement("tr",{key:a.name},m.createElement("td",null,m.createElement("code",null,a.name)),m.createElement("td",null,a.description))),o&&m.createElement("tr",{key:"returns"},m.createElement("td",null,m.createElement("code",null,"Returns")),m.createElement("td",null,e.returns.description)))))},Ob=Lt(Gc()),Ta=8,Nc=R.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),Db=R.span(Mt,({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}})),Rb=R.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),_b=R.div(Mt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),Pb=R.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"}})),Fb=R(Ni)({marginLeft:4}),Nb=R(eo)({marginLeft:4}),Bb=()=>m.createElement("span",null,"-"),Dd=({text:e,simple:t})=>m.createElement(Db,{simple:t},e),jb=(0,Ob.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),Lb=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Ga(t)},Bc=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Ta)),r.map(n=>m.createElement(Dd,{key:n,text:n===""?'""':n}))},Mb=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=X(!1),[i,l]=X(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(Dd,{text:s});let c=Lb(s),d=c.length;return d>Ta?m.createElement(Nc,{isExpanded:i},Bc(c,i),m.createElement(Rb,{onClick:()=>l(!i)},i?"Show less...":`Show ${d-Ta} more...`)):m.createElement(Nc,null,Bc(c))}return m.createElement(Mn,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:c=>{a(c)},tooltip:m.createElement(Pb,{width:jb(n)},m.createElement(Rr,{language:"jsx",format:!1},n))},m.createElement(_b,{className:"sbdocs-expandable"},m.createElement("span",null,s),o?m.createElement(Fb,null):m.createElement(Nb,null)))},fa=({value:e,initialExpandedArgs:t})=>e==null?m.createElement(Bb,null):m.createElement(Mb,{value:e,initialExpandedArgs:t}),Ub=R.span({fontWeight:"bold"}),$b=R.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),qb=R.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Mt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),Vb=R.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?se(.1,e.color.defaultText):se(.2,e.color.defaultText),marginTop:t?4:0})),Jb=R.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?se(.1,e.color.defaultText):se(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),zb=R.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Hb=e=>e&&{summary:typeof e=="string"?e:e.name},pn=e=>{let[t,r]=X(!1),{row:n,updateArgs:o,compact:a,expandable:i,initialExpandedArgs:l}=e,{name:s,description:c}=n,d=n.table||{},p=d.type||Hb(n.type),h=d.defaultValue||n.defaultValue,f=n.type?.required,b=c!=null&&c!=="";return m.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},m.createElement(zb,{expandable:i},m.createElement(Ub,null,s),f?m.createElement($b,{title:"Required"},"*"):null),a?null:m.createElement("td",null,b&&m.createElement(qb,null,m.createElement(m2,null,c)),d.jsDocTags!=null?m.createElement(m.Fragment,null,m.createElement(Jb,{hasDescription:b},m.createElement(fa,{value:p,initialExpandedArgs:l})),m.createElement(Ib,{tags:d.jsDocTags})):m.createElement(Vb,{hasDescription:b},m.createElement(fa,{value:p,initialExpandedArgs:l}))),a?null:m.createElement("td",null,m.createElement(fa,{value:h,initialExpandedArgs:l})),o?m.createElement("td",null,m.createElement(Cb,{...e,isHovered:t})):null)},Gb=R.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"})),Wb=R.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Kb=R.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Yb=({inAddonPanel:e})=>{let[t,r]=X(!0);return Se(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:m.createElement(Gb,{inAddonPanel:e},m.createElement(Fn,{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(Wb,null,e&&m.createElement(m.Fragment,null,m.createElement(xt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},m.createElement($i,null)," Watch 5m video"),m.createElement(Kb,null),m.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement($r,null)," Read docs")),!e&&m.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},m.createElement($r,null)," Learn how to set that up"))}))},Xb=R(Pi)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?se(.25,e.color.defaultText):se(.3,e.color.defaultText),border:"none",display:"inline-block"})),Qb=R(Fi)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?se(.25,e.color.defaultText):se(.3,e.color.defaultText),border:"none",display:"inline-block"})),Zb=R.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),e1=R.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"?se(.4,e.color.defaultText):se(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),t1=R.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),r1=R.td(()=>({position:"relative"})),n1=R.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Rt(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),jc=R.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"})),ha=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,i]=X(n),l=e==="subsection"?t1:e1,s=r?.length||0,c=e==="subsection"?`${s} item${s!==1?"s":""}`:"",d=`${a?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return m.createElement(m.Fragment,null,m.createElement(n1,{title:d},m.createElement(l,{colSpan:1},m.createElement(jc,{onClick:p=>i(!a),tabIndex:0},d),m.createElement(Zb,null,a?m.createElement(Xb,null):m.createElement(Qb,null),t)),m.createElement(r1,{colSpan:o-1},m.createElement(jc,{onClick:p=>i(!a),tabIndex:-1,style:{outline:"none"}},d),a?null:c)),a?r:null)},fn=R.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ie=R.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=R.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})),Oe=[2,4,2,2],o1=()=>m.createElement(m.Fragment,null,m.createElement(fn,null,m.createElement(Ie,{numColumn:Oe[0]},m.createElement(me,{width:"60%"})),m.createElement(Ie,{numColumn:Oe[1]},m.createElement(me,{width:"30%"})),m.createElement(Ie,{numColumn:Oe[2]},m.createElement(me,{width:"60%"})),m.createElement(Ie,{numColumn:Oe[3]},m.createElement(me,{width:"60%"}))),m.createElement(fn,null,m.createElement(Ie,{numColumn:Oe[0]},m.createElement(me,{width:"60%"})),m.createElement(Ie,{numColumn:Oe[1]},m.createElement(me,{width:"80%"}),m.createElement(me,{width:"30%"})),m.createElement(Ie,{numColumn:Oe[2]},m.createElement(me,{width:"60%"})),m.createElement(Ie,{numColumn:Oe[3]},m.createElement(me,{width:"60%"}))),m.createElement(fn,null,m.createElement(Ie,{numColumn:Oe[0]},m.createElement(me,{width:"60%"})),m.createElement(Ie,{numColumn:Oe[1]},m.createElement(me,{width:"80%"}),m.createElement(me,{width:"30%"})),m.createElement(Ie,{numColumn:Oe[2]},m.createElement(me,{width:"60%"})),m.createElement(Ie,{numColumn:Oe[3]},m.createElement(me,{width:"60%"}))),m.createElement(fn,null,m.createElement(Ie,{numColumn:Oe[0]},m.createElement(me,{width:"60%"})),m.createElement(Ie,{numColumn:Oe[1]},m.createElement(me,{width:"80%"}),m.createElement(me,{width:"30%"})),m.createElement(Ie,{numColumn:Oe[2]},m.createElement(me,{width:"60%"})),m.createElement(Ie,{numColumn:Oe[3]},m.createElement(me,{width:"60%"})))),a1=R.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"?se(.25,e.color.defaultText):se(.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}}}}})),i1=R(ze)(({theme:e})=>({margin:"-4px -12px -4px 0"})),s1=R.span({display:"flex",justifyContent:"space-between"}),l1={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},u1=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,i])=>{let{category:l,subcategory:s}=i?.table||{};if(l){let c=r.sections[l]||{ungrouped:[],subsections:{}};if(!s)c.ungrouped.push({key:a,...i});else{let d=c.subsections[s]||[];d.push({key:a,...i}),c.subsections[s]=d}r.sections[l]=c}else if(s){let c=r.ungroupedSubsections[s]||[];c.push({key:a,...i}),r.ungroupedSubsections[s]=c}else r.ungrouped.push({key:a,...i})});let n=l1[t],o=a=>n?Object.keys(a).reduce((i,l)=>({...i,[l]:a[l].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)}}),{})}},c1=(e,t,r)=>{try{return ug(e,t,r)}catch(n){return zi.warn(n.message),!1}},d1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:i="none",isLoading:l}=e;if("error"in e){let{error:A}=e;return m.createElement(Qc,null,A,"\xA0",m.createElement(xt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},m.createElement($r,null)," Read the docs"))}if(l)return m.createElement(o1,null);let{rows:s,args:c,globals:d}="rows"in e&&e,p=u1(Wa(s||{},A=>!A?.table?.disable&&c1(A,c||{},d||{})),i),h=p.ungrouped.length===0,f=Object.entries(p.sections).length===0,b=Object.entries(p.ungroupedSubsections).length===0;if(h&&f&&b)return m.createElement(Yb,{inAddonPanel:o});let g=1;t&&(g+=1),n||(g+=2);let x=Object.keys(p.sections).length>0,S={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return m.createElement(jn,null,m.createElement(a1,{compact:n,inAddonPanel:o,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(s1,null,"Control"," ",!l&&r&&m.createElement(i1,{onClick:()=>r(),title:"Reset controls"},m.createElement(to,{"aria-hidden":!0})))):null)),m.createElement("tbody",{className:"docblock-argstable-body"},p.ungrouped.map(A=>m.createElement(pn,{key:A.key,row:A,arg:c&&c[A.key],...S})),Object.entries(p.ungroupedSubsections).map(([A,k])=>m.createElement(ha,{key:A,label:A,level:"subsection",colSpan:g},k.map(T=>m.createElement(pn,{key:T.key,row:T,arg:c&&c[T.key],expandable:x,...S})))),Object.entries(p.sections).map(([A,k])=>m.createElement(ha,{key:A,label:A,level:"section",colSpan:g},k.ungrouped.map(T=>m.createElement(pn,{key:T.key,row:T,arg:c&&c[T.key],...S})),Object.entries(k.subsections).map(([T,I])=>m.createElement(ha,{key:T,label:T,level:"subsection",colSpan:g},I.map(D=>m.createElement(pn,{key:D.key,row:D,arg:c&&c[D.key],expandable:x,...S})))))))))};R.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText)}));R.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});R.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});R.div(Ut,({theme:e})=>({...En(e),margin:"25px 0 40px",padding:"30px 20px"}));R.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));R.div(({theme:e})=>({color:e.base==="light"?se(.2,e.color.defaultText):se(.6,e.color.defaultText)}));R.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});R.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"?se(.4,e.color.defaultText):se(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));R.div({display:"flex",flexDirection:"row"});R.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));R.div(({theme:e})=>({...En(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"}));R.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});R.div({flex:1,display:"flex",flexDirection:"row"});R.div({display:"flex",alignItems:"flex-start"});R.div({flex:"0 0 30%"});R.div({flex:1});R.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText)}));R.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));R.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));R.div(({theme:e})=>({...En(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));R.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});R.div({display:"flex",flexFlow:"row wrap"});globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=ur(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var p1=globalThis?globalThis.__DOCS_CONTEXT__:ur(null),f1=Object.create,Rd=Object.defineProperty,h1=Object.getOwnPropertyDescriptor,_d=Object.getOwnPropertyNames,m1=Object.getPrototypeOf,y1=Object.prototype.hasOwnProperty,$e=(e,t)=>function(){return t||(0,e[_d(e)[0]])((t={exports:{}}).exports,t),t.exports},g1=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of _d(t))!y1.call(e,o)&&o!==r&&Rd(e,o,{get:()=>t[o],enumerable:!(n=h1(t,o))||n.enumerable});return e},Ra=(e,t,r)=>(r=e!=null?f1(m1(e)):{},g1(t||!e||!e.__esModule?Rd(r,"default",{value:e,enumerable:!0}):r,e)),b1=Lt(Gc(),1),Pd=$e({"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 l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==a||l.enumerable!==!0)return!1}return!0}}}),Fd=$e({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Pd();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),E1=$e({"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 l=this;if(typeof l!="function"||o.call(l)!==a)throw new TypeError(r+l);for(var s=n.call(arguments,1),c,d=function(){if(this instanceof c){var g=l.apply(this,s.concat(n.call(arguments)));return Object(g)===g?g:this}else return l.apply(i,s.concat(n.call(arguments)))},p=Math.max(0,l.length-s.length),h=[],f=0;f"u"?r:p(Uint8Array),b={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%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%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!d?r:p(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"||!d?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%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 $(H){var w;if(H==="%AsyncFunction%")w=i("async function () {}");else if(H==="%GeneratorFunction%")w=i("function* () {}");else if(H==="%AsyncGeneratorFunction%")w=i("async function* () {}");else if(H==="%AsyncGenerator%"){var C=$("%AsyncGeneratorFunction%");C&&(w=C.prototype)}else if(H==="%AsyncIteratorPrototype%"){var _=$("%AsyncGenerator%");_&&(w=p(_.prototype))}return b[H]=w,w},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"]},S=_a(),A=v1(),k=S.call(Function.call,Array.prototype.concat),T=S.call(Function.apply,Array.prototype.splice),I=S.call(Function.call,String.prototype.replace),D=S.call(Function.call,String.prototype.slice),F=S.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,L=/\\(\\)?/g,B=function($){var H=D($,0,1),w=D($,-1);if(H==="%"&&w!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(w==="%"&&H!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var C=[];return I($,P,function(_,M,U,K){C[C.length]=U?I(K,L,"$1"):M||_}),C},G=function($,H){var w=$,C;if(A(x,w)&&(C=x[w],w="%"+C[0]+"%"),A(b,w)){var _=b[w];if(_===h&&(_=g(w)),typeof _>"u"&&!H)throw new a("intrinsic "+$+" exists, but is not available. Please file an issue!");return{alias:C,name:w,value:_}}throw new n("intrinsic "+$+" does not exist!")};t.exports=function($,H){if(typeof $!="string"||$.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof H!="boolean")throw new a('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,$)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var w=B($),C=w.length>0?w[0]:"",_=G("%"+C+"%",H),M=_.name,U=_.value,K=!1,re=_.alias;re&&(C=re[0],T(w,k([0,1],re)));for(var Z=1,Y=!0;Z=w.length){var Ae=l(U,ee);Y=!!Ae,Y&&"get"in Ae&&!("originalValue"in Ae.get)?U=Ae.get:U=U[ee]}else Y=A(U,ee),U=U[ee];Y&&!K&&(b[M]=U)}}return U}}}),x1=$e({"node_modules/call-bind/index.js"(e,t){var r=_a(),n=Nd(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),l=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(p){var h=i(r,a,arguments);if(l&&s){var f=l(h,"length");f.configurable&&s(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h};var d=function(){return i(r,o,arguments)};s?s(t.exports,"apply",{value:d}):t.exports.apply=d}}),S1=$e({"node_modules/call-bind/callBound.js"(e,t){var r=Nd(),n=x1(),o=n(r("String.prototype.indexOf"));t.exports=function(a,i){var l=r(a,!!i);return typeof l=="function"&&o(a,".prototype.")>-1?n(l):l}}}),w1=$e({"node_modules/has-tostringtag/shams.js"(e,t){var r=Pd();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),A1=$e({"node_modules/is-regex/index.js"(e,t){var r=S1(),n=w1()(),o,a,i,l;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},s=function(){throw i},l={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=s));var s,c=r("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=d(h,"lastIndex"),b=f&&o(f,"value");if(!b)return!1;try{a(h,l)}catch(g){return g===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p}}}),T1=$e({"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)}}}),C1=$e({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Fd()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=function(l){return typeof l.valueOf()!="symbol"?!1:a.test(o.call(l))},t.exports=function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return i(l)}catch{return!1}}):t.exports=function(l){return!1};var o,a,i}});Ra(A1());Ra(T1());Ra(C1());var k1=typeof window=="object"&&window&&window.Object===Object&&window,I1=k1,O1=typeof self=="object"&&self&&self.Object===Object&&self,D1=I1||O1||Function("return this")(),Pa=D1,R1=Pa.Symbol,Zt=R1,Bd=Object.prototype,_1=Bd.hasOwnProperty,P1=Bd.toString,Sr=Zt?Zt.toStringTag:void 0;function F1(e){var t=_1.call(e,Sr),r=e[Sr];try{e[Sr]=void 0;var n=!0}catch{}var o=P1.call(e);return n&&(t?e[Sr]=r:delete e[Sr]),o}var N1=F1,B1=Object.prototype,j1=B1.toString;function L1(e){return j1.call(e)}var M1=L1,U1="[object Null]",$1="[object Undefined]",Lc=Zt?Zt.toStringTag:void 0;function q1(e){return e==null?e===void 0?$1:U1:Lc&&Lc in Object(e)?N1(e):M1(e)}var V1=q1,Mc=Zt?Zt.prototype:void 0;Mc&&Mc.toString;function J1(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jd=J1,z1="[object AsyncFunction]",H1="[object Function]",G1="[object GeneratorFunction]",W1="[object Proxy]";function K1(e){if(!jd(e))return!1;var t=V1(e);return t==H1||t==G1||t==z1||t==W1}var Y1=K1,X1=Pa["__core-js_shared__"],ma=X1,Uc=function(){var e=/[^.]+$/.exec(ma&&ma.keys&&ma.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Q1(e){return!!Uc&&Uc in e}var Z1=Q1,eE=Function.prototype,tE=eE.toString;function rE(e){if(e!=null){try{return tE.call(e)}catch{}try{return e+""}catch{}}return""}var nE=rE,oE=/[\\^$.*+?()[\]{}|]/g,aE=/^\[object .+?Constructor\]$/,iE=Function.prototype,sE=Object.prototype,lE=iE.toString,uE=sE.hasOwnProperty,cE=RegExp("^"+lE.call(uE).replace(oE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function dE(e){if(!jd(e)||Z1(e))return!1;var t=Y1(e)?cE:aE;return t.test(nE(e))}var pE=dE;function fE(e,t){return e?.[t]}var hE=fE;function mE(e,t){var r=hE(e,t);return pE(r)?r:void 0}var Ld=mE;function yE(e,t){return e===t||e!==e&&t!==t}var gE=yE,bE=Ld(Object,"create"),Tr=bE;function EE(){this.__data__=Tr?Tr(null):{},this.size=0}var vE=EE;function xE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var SE=xE,wE="__lodash_hash_undefined__",AE=Object.prototype,TE=AE.hasOwnProperty;function CE(e){var t=this.__data__;if(Tr){var r=t[e];return r===wE?void 0:r}return TE.call(t,e)?t[e]:void 0}var kE=CE,IE=Object.prototype,OE=IE.hasOwnProperty;function DE(e){var t=this.__data__;return Tr?t[e]!==void 0:OE.call(t,e)}var RE=DE,_E="__lodash_hash_undefined__";function PE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Tr&&t===void 0?_E:t,this}var FE=PE;function er(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var zE=JE;function HE(e,t){var r=this.__data__,n=Sn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var GE=HE;function tr(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;igv(e).replace(/\n\s*/g,"").trim());ur({sources:{}});var{document:bv}=globalThis;function Ev(e,t){e.channel.emit(ii,t)}$n.a;var Ud=["h1","h2","h3","h4","h5","h6"],vv=Ud.reduce((e,t)=>({...e,[t]:R(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),xv=R.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Sv=({as:e,id:t,children:r,...n})=>{let o=Za(p1),a=vv[e],i=`#${t}`;return m.createElement(a,{id:t,...n},m.createElement(xv,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:l=>{bv.getElementById(t)&&Ev(o,i)}},m.createElement(Li,null)),r)},$d=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return m.createElement(Sv,{as:t,id:r,...o},n);let a=t,{as:i,...l}=e;return m.createElement(a,{...qn(l,t)})};Ud.reduce((e,t)=>({...e,[t]:r=>m.createElement($d,{as:t,...r})}),{});var wv=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(wv||{});Lt(mg());R.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}}));R.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"}}));R.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var Av=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return m.createElement(Bn,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return m.createElement($d,{as:"h2",id:n,...r},e)};R(Av)(({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 Tv=Kn({from:{transform:"translateY(40px)"},to:{transform:"translateY(0)"}}),Cv=Kn({from:{background:"var(--highlight-bg-color)"},to:{}}),kv=R.div({containerType:"size",position:"sticky",bottom:0,height:39,overflow:"hidden",zIndex:1}),Iv=R(Pn)(({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:`${Tv} 300ms, ${Cv} 2s`,background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,fontSize:e.typography.size.s2,"@container (max-width: 799px)":{flexDirection:"row",justifyContent:"flex-end"}})),Ov=R.div({display:"flex",flex:"99 0 auto",alignItems:"center",marginLeft:10,gap:6}),Dv=R.div(({theme:e})=>({display:"flex",flex:"1 0 0",alignItems:"center",gap:2,color:e.color.mediumdark,fontSize:e.typography.size.s2})),ya=R.div({"@container (max-width: 799px)":{lineHeight:0,textIndent:"-9999px","&::after":{content:"attr(data-short-label)",display:"block",lineHeight:"initial",textIndent:"0"}}}),Rv=R(Ve.Input)(({theme:e})=>({"::placeholder":{color:e.color.mediumdark},"&:invalid:not(:placeholder-shown)":{boxShadow:`${e.color.negative} 0 0 0 1px inset`}})),_v=({saveStory:e,createStory:t,resetArgs:r})=>{let n=m.useRef(null),[o,a]=m.useState(!1),[i,l]=m.useState(!1),[s,c]=m.useState(""),[d,p]=m.useState(null),h=async()=>{o||(a(!0),await e().catch(()=>{}),a(!1))},f=()=>{l(!0),c(""),setTimeout(()=>n.current?.focus(),0)},b=g=>{let x=g.target.value.replace(/^[^a-z]/i,"").replace(/[^a-z0-9-_ ]/gi,"").replaceAll(/([-_ ]+[a-z0-9])/gi,S=>S.toUpperCase().replace(/[-_ ]/g,""));c(x.charAt(0).toUpperCase()+x.slice(1))};return m.createElement(kv,{id:"save-from-controls"},m.createElement(Iv,null,m.createElement(Dv,null,m.createElement(ut,{as:"div",hasChrome:!1,trigger:"hover",tooltip:m.createElement(St,{note:"Save changes to story"})},m.createElement(ze,{"aria-label":"Save changes to story",disabled:o,onClick:h},m.createElement(_i,null),m.createElement(ya,{"data-short-label":"Save"},"Update story"))),m.createElement(ut,{as:"div",hasChrome:!1,trigger:"hover",tooltip:m.createElement(St,{note:"Create new story with these settings"})},m.createElement(ze,{"aria-label":"Create new story with these settings",onClick:f},m.createElement(Zn,null),m.createElement(ya,{"data-short-label":"New"},"Create new story"))),m.createElement(ut,{as:"div",hasChrome:!1,trigger:"hover",tooltip:m.createElement(St,{note:"Reset changes"})},m.createElement(ze,{"aria-label":"Reset changes",onClick:()=>r()},m.createElement(to,null),m.createElement("span",null,"Reset")))),m.createElement(Ov,null,m.createElement(ya,{"data-short-label":"Unsaved changes"},"You modified this story. Do you want to save your changes?")),m.createElement(He,{width:350,open:i,onOpenChange:l},m.createElement(Ve,{onSubmit:async g=>{if(g.preventDefault(),!o)try{p(null),a(!0),await t(s.replace(/^[^a-z]/i,"").replaceAll(/[^a-z0-9]/gi,"")),l(!1),a(!1)}catch(x){p(x.message),a(!1)}},id:"create-new-story-form"},m.createElement(He.Content,null,m.createElement(He.Header,null,m.createElement(He.Title,null,"Create new story"),m.createElement(He.Description,null,"This will add a new story to your existing stories file.")),m.createElement(Rv,{onChange:b,placeholder:"Story export name",readOnly:o,ref:n,value:s}),m.createElement(He.Actions,null,m.createElement(lt,{disabled:o||!s,size:"medium",type:"submit",variant:"solid"},"Create"),m.createElement(He.Dialog.Close,{asChild:!0},m.createElement(lt,{disabled:o,size:"medium",type:"reset"},"Cancel"))))),d&&m.createElement(He.Error,null,d))))},qc="addon-controls",qd="controls",Vc=e=>Object.entries(e).reduce((t,[r,n])=>n!==void 0?Object.assign(t,{[r]:n}):t,{}),Pv=R.div({display:"grid",gridTemplateRows:"1fr 39px",height:"100%",maxHeight:"100vh",overflowY:"auto"}),Fv=({saveStory:e,createStory:t})=>{let[r,n]=X(!0),[o,a,i,l]=wi(),[s]=Ai(),c=Wn(),{expanded:d,sort:p,presetColors:h,disableSaveFromUI:f=!1}=Ti(qd,{}),{path:b,previewInitialized:g}=Ci();Se(()=>{g&&n(!1)},[g]);let x=Object.values(c).some(k=>k?.control),S=Object.entries(c).reduce((k,[T,I])=>{let D=I?.control;return typeof D!="object"||D?.type!=="color"||D?.presetColors?k[T]=I:k[T]={...I,control:{...D,presetColors:h}},k},{}),A=st(()=>!!o&&!!l&&!wt(Vc(o),Vc(l)),[o,l]);return m.createElement(Pv,null,m.createElement(d1,{key:b,compact:!d&&x,rows:S,args:o,globals:s,updateArgs:a,resetArgs:i,inAddonPanel:!0,sort:p,isLoading:r}),x&&A&&Wu.CONFIG_TYPE==="DEVELOPMENT"&&f!==!0&&m.createElement(_v,{resetArgs:i,saveStory:e,createStory:t}))};function Nv(){let e=Wn(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return m.createElement("div",null,m.createElement(Ln,{col:1},m.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":m.createElement(_n,{status:"neutral"},t)))}var Jc=e=>JSON.stringify(e,(t,r)=>typeof r=="function"?"__sb_empty_function_arg__":r);Mr.register(qc,e=>{let t=Mr.getChannel(),r=async()=>{let o=e.getCurrentStoryData();if(o.type!=="story")throw new Error("Not a story");try{let a=await Gn(t,zn,Br,{args:Jc(Object.entries(o.args||{}).reduce((i,[l,s])=>(wt(s,o.initialArgs?.[l])||(i[l]=s),i),{})),csfId:o.id,importPath:o.importPath});e.addNotification({id:"save-story-success",icon:{name:"passed",color:Ur.positive},content:{headline:"Story saved",subHeadline:m.createElement(m.Fragment,null,"Updated story ",m.createElement("b",null,a.sourceStoryName),".")},duration:8e3})}catch(a){throw e.addNotification({id:"save-story-error",icon:{name:"failed",color:Ur.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 Gn(t,zn,Br,{args:a.args&&Jc(a.args),csfId:a.id,importPath:a.importPath,name:o});e.addNotification({id:"save-story-success",icon:{name:"passed",color:Ur.positive},content:{headline:"Story created",subHeadline:m.createElement(m.Fragment,null,"Added story ",m.createElement("b",null,i.newStoryName)," based on ",m.createElement("b",null,i.sourceStoryName),".")},duration:8e3,onClick:({onDismiss:l})=>{l(),e.selectStory(i.newStoryId)}})};Mr.add(qc,{title:Nv,type:Si.PANEL,paramKey:qd,render:({active:o})=>!o||!e.getCurrentStoryData()?null:m.createElement(Rn,{active:o},m.createElement(Fv,{saveStory:r,createStory:n}))}),t.on(Br,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/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js b/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js new file mode 100644 index 00000000..74a13e41 --- /dev/null +++ b/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var t=__REACT__,{Children:f,Component:k,Fragment:R,Profiler:P,PureComponent:w,StrictMode:L,Suspense:E,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:D,cloneElement:M,createContext:H,createElement:v,createFactory:x,createRef:F,forwardRef:U,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:X,useMemo:$,useReducer:j,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var so=__STORYBOOK_API__,{ActiveTabs:io,Consumer:uo,ManagerContext:mo,Provider:po,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:Ao,eventMatchesShortcut:bo,eventToShortcut:To,experimental_requestResponse:_o,isMacLike:go,isShortcutTaken:yo,keyToSymbol:Bo,merge:Oo,mockChannel:fo,optionOrAltSymbol:ko,shortcutMatchesShortcut:Ro,shortcutToHumanString:Po,types:m,useAddonState:wo,useArgTypes:Lo,useArgs:Eo,useChannel:Do,useGlobalTypes:Mo,useGlobals:p,useParameter:Ho,useSharedState:vo,useStoryPrepared:xo,useStorybookApi:S,useStorybookState:Fo}=__STORYBOOK_API__;var Ko=__STORYBOOK_COMPONENTS__,{A:Yo,ActionBar:qo,AddonPanel:Vo,Badge:Zo,Bar:zo,Blockquote:Jo,Button:Qo,ClipboardCode:Xo,Code:$o,DL:jo,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:An,ListItem:bn,Loader:Tn,Modal:_n,OL:gn,P:yn,Placeholder:Bn,Pre:On,ResetWrapper:fn,ScrollArea:kn,Separator:Rn,Spaced:Pn,Span:wn,StorybookIcon:Ln,StorybookLogo:En,Symbols:Dn,SyntaxHighlighter:Mn,TT:Hn,TabBar:vn,TabButton:xn,TabWrapper:Fn,Table:Un,Tabs:Nn,TabsState:Gn,TooltipLinkList:Wn,TooltipMessage:Kn,TooltipNote:Yn,UL:qn,WithTooltip:Vn,WithTooltipPure:Zn,Zoom:zn,codeCommon:Jn,components:Qn,createCopyToClipboardFunction:Xn,getStoryHref:$n,icons:jn,interleaveSeparators:oe,nameSpaceClassNames:ne,resetComponents:ee,withReset:ce}=__STORYBOOK_COMPONENTS__;var le=__STORYBOOK_ICONS__,{AccessibilityAltIcon:se,AccessibilityIcon:ie,AddIcon:ue,AdminIcon:de,AlertAltIcon:me,AlertIcon:pe,AlignLeftIcon:Se,AlignRightIcon:Ce,AppleIcon:he,ArrowBottomLeftIcon:Ae,ArrowBottomRightIcon:be,ArrowDownIcon:Te,ArrowLeftIcon:_e,ArrowRightIcon:ge,ArrowSolidDownIcon:ye,ArrowSolidLeftIcon:Be,ArrowSolidRightIcon:Oe,ArrowSolidUpIcon:fe,ArrowTopLeftIcon:ke,ArrowTopRightIcon:Re,ArrowUpIcon:Pe,AzureDevOpsIcon:we,BackIcon:Le,BasketIcon:Ee,BatchAcceptIcon:De,BatchDenyIcon:Me,BeakerIcon:He,BellIcon:ve,BitbucketIcon:xe,BoldIcon:Fe,BookIcon:Ue,BookmarkHollowIcon:Ne,BookmarkIcon:Ge,BottomBarIcon:We,BottomBarToggleIcon:Ke,BoxIcon:Ye,BranchIcon:qe,BrowserIcon:Ve,ButtonIcon:Ze,CPUIcon:ze,CalendarIcon:Je,CameraIcon:Qe,CategoryIcon:Xe,CertificateIcon:$e,ChangedIcon:je,ChatIcon:oc,CheckIcon:nc,ChevronDownIcon:ec,ChevronLeftIcon:cc,ChevronRightIcon:tc,ChevronSmallDownIcon:rc,ChevronSmallLeftIcon:Ic,ChevronSmallRightIcon:ac,ChevronSmallUpIcon:lc,ChevronUpIcon:sc,ChromaticIcon:ic,ChromeIcon:uc,CircleHollowIcon:dc,CircleIcon:mc,ClearIcon:pc,CloseAltIcon:Sc,CloseIcon:Cc,CloudHollowIcon:hc,CloudIcon:Ac,CogIcon:bc,CollapseIcon:Tc,CommandIcon:_c,CommentAddIcon:gc,CommentIcon:yc,CommentsIcon:Bc,CommitIcon:Oc,CompassIcon:fc,ComponentDrivenIcon:kc,ComponentIcon:Rc,ContrastIcon:Pc,ControlsIcon:wc,CopyIcon:Lc,CreditIcon:Ec,CrossIcon:Dc,DashboardIcon:Mc,DatabaseIcon:Hc,DeleteIcon:vc,DiamondIcon:xc,DirectionIcon:Fc,DiscordIcon:Uc,DocChartIcon:Nc,DocListIcon:Gc,DocumentIcon:Wc,DownloadIcon:Kc,DragIcon:Yc,EditIcon:qc,EllipsisIcon:Vc,EmailIcon:Zc,ExpandAltIcon:zc,ExpandIcon:Jc,EyeCloseIcon:Qc,EyeIcon:Xc,FaceHappyIcon:$c,FaceNeutralIcon:jc,FaceSadIcon:ot,FacebookIcon:nt,FailedIcon:et,FastForwardIcon:ct,FigmaIcon:tt,FilterIcon:rt,FlagIcon:It,FolderIcon:at,FormIcon:lt,GDriveIcon:st,GithubIcon:it,GitlabIcon:ut,GlobeIcon:dt,GoogleIcon:mt,GraphBarIcon:pt,GraphLineIcon:St,GraphqlIcon:Ct,GridAltIcon:ht,GridIcon:At,GrowIcon:bt,HeartHollowIcon:Tt,HeartIcon:_t,HomeIcon:gt,HourglassIcon:yt,InfoIcon:Bt,ItalicIcon:Ot,JumpToIcon:ft,KeyIcon:kt,LightningIcon:Rt,LightningOffIcon:Pt,LinkBrokenIcon:wt,LinkIcon:Lt,LinkedinIcon:Et,LinuxIcon:Dt,ListOrderedIcon:Mt,ListUnorderedIcon:Ht,LocationIcon:vt,LockIcon:xt,MarkdownIcon:Ft,MarkupIcon:Ut,MediumIcon:Nt,MemoryIcon:Gt,MenuIcon:Wt,MergeIcon:Kt,MirrorIcon:Yt,MobileIcon:qt,MoonIcon:Vt,NutIcon:Zt,OutboxIcon:zt,OutlineIcon:Jt,PaintBrushIcon:Qt,PaperClipIcon:Xt,ParagraphIcon:$t,PassedIcon:jt,PhoneIcon:or,PhotoDragIcon:nr,PhotoIcon:er,PinAltIcon:cr,PinIcon:tr,PlayAllHollowIcon:rr,PlayBackIcon:Ir,PlayHollowIcon:ar,PlayIcon:lr,PlayNextIcon:sr,PlusIcon:ir,PointerDefaultIcon:ur,PointerHandIcon:dr,PowerIcon:mr,PrintIcon:pr,ProceedIcon:Sr,ProfileIcon:Cr,PullRequestIcon:hr,QuestionIcon:Ar,RSSIcon:br,RedirectIcon:Tr,ReduxIcon:_r,RefreshIcon:gr,ReplyIcon:yr,RepoIcon:Br,RequestChangeIcon:Or,RewindIcon:fr,RulerIcon:h,SaveIcon:kr,SearchIcon:Rr,ShareAltIcon:Pr,ShareIcon:wr,ShieldIcon:Lr,SideBySideIcon:Er,SidebarAltIcon:Dr,SidebarAltToggleIcon:Mr,SidebarIcon:Hr,SidebarToggleIcon:vr,SpeakerIcon:xr,StackedIcon:Fr,StarHollowIcon:Ur,StarIcon:Nr,StatusFailIcon:Gr,StatusPassIcon:Wr,StatusWarnIcon:Kr,StickerIcon:Yr,StopAltHollowIcon:qr,StopAltIcon:Vr,StopIcon:Zr,StorybookIcon:zr,StructureIcon:Jr,SubtractIcon:Qr,SunIcon:Xr,SupportIcon:$r,SwitchAltIcon:jr,SyncIcon:oI,TabletIcon:nI,ThumbsUpIcon:eI,TimeIcon:cI,TimerIcon:tI,TransferIcon:rI,TrashIcon:II,TwitterIcon:aI,TypeIcon:lI,UbuntuIcon:sI,UndoIcon:iI,UnfoldIcon:uI,UnlockIcon:dI,UnpinIcon:mI,UploadIcon:pI,UserAddIcon:SI,UserAltIcon:CI,UserIcon:hI,UsersIcon:AI,VSCodeIcon:bI,VerifiedIcon:TI,VideoIcon:_I,WandIcon:gI,WatchIcon:yI,WindowsIcon:BI,WrenchIcon:OI,XIcon:fI,YoutubeIcon:kI,ZoomIcon:RI,ZoomOutIcon:PI,ZoomResetIcon:wI,iconList:LI}=__STORYBOOK_ICONS__;var s="storybook/measure-addon",A=`${s}/tool`,b=()=>{let[r,c]=p(),{measureEnabled:I}=r,i=S(),a=u(()=>c({measureEnabled:!I}),[c,I]);return d(()=>{i.setAddonShortcut(s,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:a})},[a,i]),t.createElement(C,{key:A,active:I,title:"Enable measure",onClick:a},t.createElement(h,null))};l.register(s,()=>{l.add(A,{type:m.TOOL,title:"Measure",match:({viewMode:r,tabId:c})=>r==="story"&&!c,render:()=>t.createElement(b,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js b/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js new file mode 100644 index 00000000..68fba32d --- /dev/null +++ b/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var t=__REACT__,{Children:k,Component:R,Fragment:P,Profiler:w,PureComponent:L,StrictMode:E,Suspense:D,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:H,cloneElement:v,createContext:x,createElement:M,createFactory:F,createRef:U,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:X,useMemo:$,useReducer:j,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:To,eventToShortcut:_o,experimental_requestResponse:bo,isMacLike:go,isShortcutTaken:yo,keyToSymbol:Oo,merge:Bo,mockChannel:fo,optionOrAltSymbol:ko,shortcutMatchesShortcut:Ro,shortcutToHumanString:Po,types:m,useAddonState:wo,useArgTypes:Lo,useArgs:Eo,useChannel:Do,useGlobalTypes:Ho,useGlobals:S,useParameter:vo,useSharedState:xo,useStoryPrepared:Mo,useStorybookApi:C,useStorybookState:Fo}=__STORYBOOK_API__;var Ko=__STORYBOOK_COMPONENTS__,{A:Yo,ActionBar:qo,AddonPanel:Vo,Badge:Zo,Bar:zo,Blockquote:Jo,Button:Qo,ClipboardCode:Xo,Code:$o,DL:jo,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:Tn,Loader:_n,Modal:bn,OL:gn,P:yn,Placeholder:On,Pre:Bn,ResetWrapper:fn,ScrollArea:kn,Separator:Rn,Spaced:Pn,Span:wn,StorybookIcon:Ln,StorybookLogo:En,Symbols:Dn,SyntaxHighlighter:Hn,TT:vn,TabBar:xn,TabButton:Mn,TabWrapper:Fn,Table:Un,Tabs:Nn,TabsState:Gn,TooltipLinkList:Wn,TooltipMessage:Kn,TooltipNote:Yn,UL:qn,WithTooltip:Vn,WithTooltipPure:Zn,Zoom:zn,codeCommon:Jn,components:Qn,createCopyToClipboardFunction:Xn,getStoryHref:$n,icons:jn,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,ArrowBottomLeftIcon:Ae,ArrowBottomRightIcon:Te,ArrowDownIcon:_e,ArrowLeftIcon:be,ArrowRightIcon:ge,ArrowSolidDownIcon:ye,ArrowSolidLeftIcon:Oe,ArrowSolidRightIcon:Be,ArrowSolidUpIcon:fe,ArrowTopLeftIcon:ke,ArrowTopRightIcon:Re,ArrowUpIcon:Pe,AzureDevOpsIcon:we,BackIcon:Le,BasketIcon:Ee,BatchAcceptIcon:De,BatchDenyIcon:He,BeakerIcon:ve,BellIcon:xe,BitbucketIcon:Me,BoldIcon:Fe,BookIcon:Ue,BookmarkHollowIcon:Ne,BookmarkIcon:Ge,BottomBarIcon:We,BottomBarToggleIcon:Ke,BoxIcon:Ye,BranchIcon:qe,BrowserIcon:Ve,ButtonIcon:Ze,CPUIcon:ze,CalendarIcon:Je,CameraIcon:Qe,CategoryIcon:Xe,CertificateIcon:$e,ChangedIcon:je,ChatIcon:oc,CheckIcon:nc,ChevronDownIcon:ec,ChevronLeftIcon:cc,ChevronRightIcon:tc,ChevronSmallDownIcon:rc,ChevronSmallLeftIcon:Ic,ChevronSmallRightIcon:ac,ChevronSmallUpIcon:lc,ChevronUpIcon:ic,ChromaticIcon:sc,ChromeIcon:uc,CircleHollowIcon:dc,CircleIcon:pc,ClearIcon:mc,CloseAltIcon:Sc,CloseIcon:Cc,CloudHollowIcon:hc,CloudIcon:Ac,CogIcon:Tc,CollapseIcon:_c,CommandIcon:bc,CommentAddIcon:gc,CommentIcon:yc,CommentsIcon:Oc,CommitIcon:Bc,CompassIcon:fc,ComponentDrivenIcon:kc,ComponentIcon:Rc,ContrastIcon:Pc,ControlsIcon:wc,CopyIcon:Lc,CreditIcon:Ec,CrossIcon:Dc,DashboardIcon:Hc,DatabaseIcon:vc,DeleteIcon:xc,DiamondIcon:Mc,DirectionIcon:Fc,DiscordIcon:Uc,DocChartIcon:Nc,DocListIcon:Gc,DocumentIcon:Wc,DownloadIcon:Kc,DragIcon:Yc,EditIcon:qc,EllipsisIcon:Vc,EmailIcon:Zc,ExpandAltIcon:zc,ExpandIcon:Jc,EyeCloseIcon:Qc,EyeIcon:Xc,FaceHappyIcon:$c,FaceNeutralIcon:jc,FaceSadIcon:ot,FacebookIcon:nt,FailedIcon:et,FastForwardIcon:ct,FigmaIcon:tt,FilterIcon:rt,FlagIcon:It,FolderIcon:at,FormIcon:lt,GDriveIcon:it,GithubIcon:st,GitlabIcon:ut,GlobeIcon:dt,GoogleIcon:pt,GraphBarIcon:mt,GraphLineIcon:St,GraphqlIcon:Ct,GridAltIcon:ht,GridIcon:At,GrowIcon:Tt,HeartHollowIcon:_t,HeartIcon:bt,HomeIcon:gt,HourglassIcon:yt,InfoIcon:Ot,ItalicIcon:Bt,JumpToIcon:ft,KeyIcon:kt,LightningIcon:Rt,LightningOffIcon:Pt,LinkBrokenIcon:wt,LinkIcon:Lt,LinkedinIcon:Et,LinuxIcon:Dt,ListOrderedIcon:Ht,ListUnorderedIcon:vt,LocationIcon:xt,LockIcon:Mt,MarkdownIcon:Ft,MarkupIcon:Ut,MediumIcon:Nt,MemoryIcon:Gt,MenuIcon:Wt,MergeIcon:Kt,MirrorIcon:Yt,MobileIcon:qt,MoonIcon:Vt,NutIcon:Zt,OutboxIcon:zt,OutlineIcon:A,PaintBrushIcon:Jt,PaperClipIcon:Qt,ParagraphIcon:Xt,PassedIcon:$t,PhoneIcon:jt,PhotoDragIcon:or,PhotoIcon:nr,PinAltIcon:er,PinIcon:cr,PlayAllHollowIcon:tr,PlayBackIcon:rr,PlayHollowIcon:Ir,PlayIcon:ar,PlayNextIcon:lr,PlusIcon:ir,PointerDefaultIcon:sr,PointerHandIcon:ur,PowerIcon:dr,PrintIcon:pr,ProceedIcon:mr,ProfileIcon:Sr,PullRequestIcon:Cr,QuestionIcon:hr,RSSIcon:Ar,RedirectIcon:Tr,ReduxIcon:_r,RefreshIcon:br,ReplyIcon:gr,RepoIcon:yr,RequestChangeIcon:Or,RewindIcon:Br,RulerIcon:fr,SaveIcon:kr,SearchIcon:Rr,ShareAltIcon:Pr,ShareIcon:wr,ShieldIcon:Lr,SideBySideIcon:Er,SidebarAltIcon:Dr,SidebarAltToggleIcon:Hr,SidebarIcon:vr,SidebarToggleIcon:xr,SpeakerIcon:Mr,StackedIcon:Fr,StarHollowIcon:Ur,StarIcon:Nr,StatusFailIcon:Gr,StatusPassIcon:Wr,StatusWarnIcon:Kr,StickerIcon:Yr,StopAltHollowIcon:qr,StopAltIcon:Vr,StopIcon:Zr,StorybookIcon:zr,StructureIcon:Jr,SubtractIcon:Qr,SunIcon:Xr,SupportIcon:$r,SwitchAltIcon:jr,SyncIcon:oI,TabletIcon:nI,ThumbsUpIcon:eI,TimeIcon:cI,TimerIcon:tI,TransferIcon:rI,TrashIcon:II,TwitterIcon:aI,TypeIcon:lI,UbuntuIcon:iI,UndoIcon:sI,UnfoldIcon:uI,UnlockIcon:dI,UnpinIcon:pI,UploadIcon:mI,UserAddIcon:SI,UserAltIcon:CI,UserIcon:hI,UsersIcon:AI,VSCodeIcon:TI,VerifiedIcon:_I,VideoIcon:bI,WandIcon:gI,WatchIcon:yI,WindowsIcon:OI,WrenchIcon:BI,XIcon:fI,YoutubeIcon:kI,ZoomIcon:RI,ZoomOutIcon:PI,ZoomResetIcon:wI,iconList:LI}=__STORYBOOK_ICONS__;var i="storybook/outline",T="outline",_=u(function(){let[c,r]=S(),s=C(),I=[!0,"true"].includes(c[T]),a=d(()=>r({[T]:!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(_,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js b/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js new file mode 100644 index 00000000..aa88ebe0 --- /dev/null +++ b/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var l=__REACT__,{Children:se,Component:ie,Fragment:ue,Profiler:ce,PureComponent:pe,StrictMode:me,Suspense:de,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:be,cloneElement:Se,createContext:Te,createElement:ye,createFactory:_e,createRef:fe,forwardRef:Ce,isValidElement:ve,lazy:Ie,memo:Oe,startTransition:Ee,unstable_act:xe,useCallback:C,useContext:ge,useDebugValue:ke,useDeferredValue:he,useEffect:g,useId:Ae,useImperativeHandle:Re,useInsertionEffect:Le,useLayoutEffect:Be,useMemo:Me,useReducer:Pe,useRef:L,useState:B,useSyncExternalStore:Ne,useTransition:we,version:Ve}=__REACT__;var We=__STORYBOOK_API__,{ActiveTabs:Ke,Consumer:Ye,ManagerContext:$e,Provider:qe,RequestResponseError:ze,addons:k,combineParameters:Ue,controlOrMetaKey:je,controlOrMetaSymbol:Ze,eventMatchesShortcut:Je,eventToShortcut:Qe,experimental_requestResponse:Xe,isMacLike:et,isShortcutTaken:tt,keyToSymbol:ot,merge:rt,mockChannel:at,optionOrAltSymbol:lt,shortcutMatchesShortcut:nt,shortcutToHumanString:st,types:M,useAddonState:it,useArgTypes:ut,useArgs:ct,useChannel:pt,useGlobalTypes:P,useGlobals:h,useParameter:mt,useSharedState:dt,useStoryPrepared:bt,useStorybookApi:N,useStorybookState:St}=__STORYBOOK_API__;var Ct=__STORYBOOK_COMPONENTS__,{A:vt,ActionBar:It,AddonPanel:Ot,Badge:Et,Bar:xt,Blockquote:gt,Button:kt,ClipboardCode:ht,Code:At,DL:Rt,Div:Lt,DocumentWrapper:Bt,EmptyTabContent:Mt,ErrorFormatter:Pt,FlexBar:Nt,Form:wt,H1:Vt,H2:Dt,H3:Ht,H4:Ft,H5:Gt,H6:Wt,HR:Kt,IconButton:w,IconButtonSkeleton:Yt,Icons:A,Img:$t,LI:qt,Link:zt,ListItem:Ut,Loader:jt,Modal:Zt,OL:Jt,P:Qt,Placeholder:Xt,Pre:eo,ResetWrapper:to,ScrollArea:oo,Separator:V,Spaced:ro,Span:ao,StorybookIcon:lo,StorybookLogo:no,Symbols:so,SyntaxHighlighter:io,TT:uo,TabBar:co,TabButton:po,TabWrapper:mo,Table:bo,Tabs:So,TabsState:To,TooltipLinkList:D,TooltipMessage:yo,TooltipNote:_o,UL:fo,WithTooltip:H,WithTooltipPure:Co,Zoom:vo,codeCommon:Io,components:Oo,createCopyToClipboardFunction:Eo,getStoryHref:xo,icons:go,interleaveSeparators:ko,nameSpaceClassNames:ho,resetComponents:Ao,withReset:Ro}=__STORYBOOK_COMPONENTS__;var K={type:"item",value:""},Y=(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),{...K,...r}})}}),$=["reset"],q=o=>o.filter(t=>!$.includes(t.type)).map(t=>t.value),S="addon-toolbars",z=async(o,t,e)=>{e&&e.next&&await o.setAddonShortcut(S,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await o.setAddonShortcut(S,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await o.setAddonShortcut(S,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},U=o=>t=>{let{id:e,toolbar:{items:r,shortcuts:a}}=t,c=N(),[T,i]=h(),n=L([]),u=T[e],v=C(()=>{i({[e]:""})},[i]),I=C(()=>{let s=n.current,m=s.indexOf(u),d=m===s.length-1?0:m+1,p=n.current[d];i({[e]:p})},[n,u,i]),O=C(()=>{let s=n.current,m=s.indexOf(u),d=m>-1?m:0,p=d===0?s.length-1:d-1,b=n.current[p];i({[e]:b})},[n,u,i]);return g(()=>{a&&z(c,e,{next:{...a.next,action:I},previous:{...a.previous,action:O},reset:{...a.reset,action:v}})},[c,e,a,I,O,v]),g(()=>{n.current=q(r)},[]),l.createElement(o,{cycleValues:n.current,...t})},F=({currentValue:o,items:t})=>o!=null&&t.find(e=>e.value===o&&e.type!=="reset"),j=({currentValue:o,items:t})=>{let e=F({currentValue:o,items:t});if(e)return e.icon},Z=({currentValue:o,items:t})=>{let e=F({currentValue:o,items:t});if(e)return e.title},J=({active:o,disabled:t,title:e,icon:r,description:a,onClick:c})=>l.createElement(w,{active:o,title:a,disabled:t,onClick:t?()=>{}:c},r&&l.createElement(A,{icon:r,__suppressDeprecationWarning:!0}),e?`\xA0${e}`:null),Q=({right:o,title:t,value:e,icon:r,hideIcon:a,onClick:c,disabled:T,currentValue:i})=>{let n=r&&l.createElement(A,{style:{opacity:1},icon:r}),u={id:e??"_reset",active:i===e,right:o,title:t,disabled:T,onClick:c};return r&&!a&&(u.icon=n),u},X=U(({id:o,name:t,description:e,toolbar:{icon:r,items:a,title:c,preventDynamicIcon:T,dynamicTitle:i}})=>{let[n,u,v]=h(),[I,O]=B(!1),s=n[o],m=!!s,d=o in v,p=r,b=c;T||(p=j({currentValue:s,items:a})||p),i&&(b=Z({currentValue:s,items:a})||b),!b&&!p&&console.warn(`Toolbar '${t}' has no title or icon`);let G=C(x=>{u({[o]:x})},[o,u]);return l.createElement(H,{placement:"top",tooltip:({onHide:x})=>{let W=a.filter(({type:E})=>{let R=!0;return E==="reset"&&!s&&(R=!1),R}).map(E=>Q({...E,currentValue:s,disabled:d,onClick:()=>{G(E.value),x()}}));return l.createElement(D,{links:W})},closeOnOutsideClick:!0,onVisibleChange:O},l.createElement(J,{active:I||m,disabled:d,description:e||"",icon:p,title:b||""}))}),ee=()=>{let o=P(),t=Object.keys(o).filter(e=>!!o[e].toolbar);return t.length?l.createElement(l.Fragment,null,l.createElement(V,null),t.map(e=>{let r=Y(e,o[e]);return l.createElement(X,{key:e,id:e,...r})})):null};k.register(S,()=>k.add(S,{title:S,type:M.TOOL,match:({tabId:o})=>!o,render:()=>l.createElement(ee,null)}));})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js b/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js new file mode 100644 index 00000000..6166c19a --- /dev/null +++ b/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var he=Object.create;var J=Object.defineProperty;var me=Object.getOwnPropertyDescriptor;var fe=Object.getOwnPropertyNames;var ge=Object.getPrototypeOf,we=Object.prototype.hasOwnProperty;var O=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,a)=>(typeof require<"u"?require:t)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var H=(e,t)=>()=>(e&&(t=e(e=0)),t);var be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ye=(e,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of fe(t))!we.call(e,c)&&c!==a&&J(e,c,{get:()=>t[c],enumerable:!(s=me(t,c))||s.enumerable});return e};var Se=(e,t,a)=>(a=e!=null?he(ge(e)):{},ye(t||!e||!e.__esModule?J(a,"default",{value:e,enumerable:!0}):a,e));var f=H(()=>{});var g=H(()=>{});var w=H(()=>{});var le=be((ce,Z)=>{f();g();w();(function(e){if(typeof ce=="object"&&typeof Z<"u")Z.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,a;return function s(c,b,p){function o(n,d){if(!b[n]){if(!c[n]){var r=typeof O=="function"&&O;if(!d&&r)return r(n,!0);if(i)return i(n,!0);var u=new Error("Cannot find module '"+n+"'");throw u.code="MODULE_NOT_FOUND",u}var I=b[n]={exports:{}};c[n][0].call(I.exports,function(m){var y=c[n][1][m];return o(y||m)},I,I.exports,s,c,b,p)}return b[n].exports}for(var i=typeof O=="function"&&O,h=0;h=0)return this.lastItem=this.list[i],this.list[i].val},p.prototype.set=function(o,i){var h;return this.lastItem&&this.isEqual(this.lastItem.key,o)?(this.lastItem.val=i,this):(h=this.indexOf(o),h>=0?(this.lastItem=this.list[h],this.list[h].val=i,this):(this.lastItem={key:o,val:i},this.list.push(this.lastItem),this.size++,this))},p.prototype.delete=function(o){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,o)&&(this.lastItem=void 0),i=this.indexOf(o),i>=0)return this.size--,this.list.splice(i,1)[0]},p.prototype.has=function(o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,o)?!0:(i=this.indexOf(o),i>=0?(this.lastItem=this.list[i],!0):!1)},p.prototype.forEach=function(o,i){var h;for(h=0;h0&&(M[S]={cacheItem:m,arg:arguments[S]},A?o(r,M):r.push(M),r.length>n&&i(r.shift())),I.wasMemoized=A,I.numArgs=S+1,k};return I.limit=n,I.wasMemoized=!1,I.cache=d,I.lru=r,I}};function o(n,d){var r=n.length,u=d.length,I,m,y;for(m=0;m=0&&(r=n[I],u=r.cacheItem.get(r.arg),!u||!u.size);I--)r.cacheItem.delete(r.arg)}function h(n,d){return n===d||n!==n&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})});f();g();w();f();g();w();f();g();w();f();g();w();var l=__REACT__,{Children:$e,Component:Je,Fragment:V,Profiler:Qe,PureComponent:Xe,StrictMode:et,Suspense:tt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ot,cloneElement:nt,createContext:rt,createElement:N,createFactory:it,createRef:at,forwardRef:ct,isValidElement:lt,lazy:st,memo:Q,startTransition:ut,unstable_act:It,useCallback:X,useContext:pt,useDebugValue:dt,useDeferredValue:ht,useEffect:_,useId:mt,useImperativeHandle:ft,useInsertionEffect:gt,useLayoutEffect:wt,useMemo:bt,useReducer:yt,useRef:ee,useState:z,useSyncExternalStore:St,useTransition:vt,version:Ct}=__REACT__;f();g();w();var kt=__STORYBOOK_API__,{ActiveTabs:At,Consumer:xt,ManagerContext:Ot,Provider:_t,RequestResponseError:Lt,addons:G,combineParameters:Bt,controlOrMetaKey:Pt,controlOrMetaSymbol:Mt,eventMatchesShortcut:Vt,eventToShortcut:Dt,experimental_requestResponse:Ht,isMacLike:Nt,isShortcutTaken:zt,keyToSymbol:Gt,merge:Ft,mockChannel:Ut,optionOrAltSymbol:qt,shortcutMatchesShortcut:Wt,shortcutToHumanString:Yt,types:te,useAddonState:jt,useArgTypes:Kt,useArgs:Zt,useChannel:$t,useGlobalTypes:Jt,useGlobals:F,useParameter:U,useSharedState:Qt,useStoryPrepared:Xt,useStorybookApi:oe,useStorybookState:eo}=__STORYBOOK_API__;f();g();w();var io=__STORYBOOK_COMPONENTS__,{A:ao,ActionBar:co,AddonPanel:lo,Badge:so,Bar:uo,Blockquote:Io,Button:po,ClipboardCode:ho,Code:mo,DL:fo,Div:go,DocumentWrapper:wo,EmptyTabContent:bo,ErrorFormatter:yo,FlexBar:So,Form:vo,H1:Co,H2:Eo,H3:Ro,H4:To,H5:ko,H6:Ao,HR:xo,IconButton:L,IconButtonSkeleton:Oo,Icons:_o,Img:Lo,LI:Bo,Link:Po,ListItem:Mo,Loader:Vo,Modal:Do,OL:Ho,P:No,Placeholder:zo,Pre:Go,ResetWrapper:Fo,ScrollArea:Uo,Separator:qo,Spaced:Wo,Span:Yo,StorybookIcon:jo,StorybookLogo:Ko,Symbols:Zo,SyntaxHighlighter:$o,TT:Jo,TabBar:Qo,TabButton:Xo,TabWrapper:en,Table:tn,Tabs:on,TabsState:nn,TooltipLinkList:q,TooltipMessage:rn,TooltipNote:an,UL:cn,WithTooltip:W,WithTooltipPure:ln,Zoom:sn,codeCommon:un,components:In,createCopyToClipboardFunction:pn,getStoryHref:dn,icons:hn,interleaveSeparators:mn,nameSpaceClassNames:fn,resetComponents:gn,withReset:wn}=__STORYBOOK_COMPONENTS__;f();g();w();var Cn=__STORYBOOK_THEMING__,{CacheProvider:En,ClassNames:Rn,Global:Y,ThemeProvider:Tn,background:kn,color:An,convert:xn,create:On,createCache:_n,createGlobal:Ln,createReset:Bn,css:Pn,darken:Mn,ensure:Vn,ignoreSsrWarning:Dn,isPropValid:Hn,jsx:Nn,keyframes:zn,lighten:Gn,styled:v,themes:Fn,typography:Un,useTheme:qn,withTheme:Wn}=__STORYBOOK_THEMING__;f();g();w();var $n=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Jn,AccessibilityIcon:Qn,AddIcon:Xn,AdminIcon:er,AlertAltIcon:tr,AlertIcon:or,AlignLeftIcon:nr,AlignRightIcon:rr,AppleIcon:ir,ArrowBottomLeftIcon:ar,ArrowBottomRightIcon:cr,ArrowDownIcon:lr,ArrowLeftIcon:sr,ArrowRightIcon:ur,ArrowSolidDownIcon:Ir,ArrowSolidLeftIcon:pr,ArrowSolidRightIcon:dr,ArrowSolidUpIcon:hr,ArrowTopLeftIcon:mr,ArrowTopRightIcon:fr,ArrowUpIcon:gr,AzureDevOpsIcon:wr,BackIcon:br,BasketIcon:yr,BatchAcceptIcon:Sr,BatchDenyIcon:vr,BeakerIcon:Cr,BellIcon:Er,BitbucketIcon:Rr,BoldIcon:Tr,BookIcon:kr,BookmarkHollowIcon:Ar,BookmarkIcon:xr,BottomBarIcon:Or,BottomBarToggleIcon:_r,BoxIcon:Lr,BranchIcon:Br,BrowserIcon:ne,ButtonIcon:Pr,CPUIcon:Mr,CalendarIcon:Vr,CameraIcon:Dr,CategoryIcon:Hr,CertificateIcon:Nr,ChangedIcon:zr,ChatIcon:Gr,CheckIcon:Fr,ChevronDownIcon:Ur,ChevronLeftIcon:qr,ChevronRightIcon:Wr,ChevronSmallDownIcon:Yr,ChevronSmallLeftIcon:jr,ChevronSmallRightIcon:Kr,ChevronSmallUpIcon:Zr,ChevronUpIcon:$r,ChromaticIcon:Jr,ChromeIcon:Qr,CircleHollowIcon:Xr,CircleIcon:ei,ClearIcon:ti,CloseAltIcon:oi,CloseIcon:ni,CloudHollowIcon:ri,CloudIcon:ii,CogIcon:ai,CollapseIcon:ci,CommandIcon:li,CommentAddIcon:si,CommentIcon:ui,CommentsIcon:Ii,CommitIcon:pi,CompassIcon:di,ComponentDrivenIcon:hi,ComponentIcon:mi,ContrastIcon:fi,ControlsIcon:gi,CopyIcon:wi,CreditIcon:bi,CrossIcon:yi,DashboardIcon:Si,DatabaseIcon:vi,DeleteIcon:Ci,DiamondIcon:Ei,DirectionIcon:Ri,DiscordIcon:Ti,DocChartIcon:ki,DocListIcon:Ai,DocumentIcon:xi,DownloadIcon:Oi,DragIcon:_i,EditIcon:Li,EllipsisIcon:Bi,EmailIcon:Pi,ExpandAltIcon:Mi,ExpandIcon:Vi,EyeCloseIcon:Di,EyeIcon:Hi,FaceHappyIcon:Ni,FaceNeutralIcon:zi,FaceSadIcon:Gi,FacebookIcon:Fi,FailedIcon:Ui,FastForwardIcon:qi,FigmaIcon:Wi,FilterIcon:Yi,FlagIcon:ji,FolderIcon:Ki,FormIcon:Zi,GDriveIcon:$i,GithubIcon:Ji,GitlabIcon:Qi,GlobeIcon:Xi,GoogleIcon:ea,GraphBarIcon:ta,GraphLineIcon:oa,GraphqlIcon:na,GridAltIcon:ra,GridIcon:ia,GrowIcon:j,HeartHollowIcon:aa,HeartIcon:ca,HomeIcon:la,HourglassIcon:sa,InfoIcon:ua,ItalicIcon:Ia,JumpToIcon:pa,KeyIcon:da,LightningIcon:ha,LightningOffIcon:ma,LinkBrokenIcon:fa,LinkIcon:ga,LinkedinIcon:wa,LinuxIcon:ba,ListOrderedIcon:ya,ListUnorderedIcon:Sa,LocationIcon:va,LockIcon:Ca,MarkdownIcon:Ea,MarkupIcon:Ra,MediumIcon:Ta,MemoryIcon:ka,MenuIcon:Aa,MergeIcon:xa,MirrorIcon:Oa,MobileIcon:re,MoonIcon:_a,NutIcon:La,OutboxIcon:Ba,OutlineIcon:Pa,PaintBrushIcon:Ma,PaperClipIcon:Va,ParagraphIcon:Da,PassedIcon:Ha,PhoneIcon:Na,PhotoDragIcon:za,PhotoIcon:Ga,PinAltIcon:Fa,PinIcon:Ua,PlayAllHollowIcon:qa,PlayBackIcon:Wa,PlayHollowIcon:Ya,PlayIcon:ja,PlayNextIcon:Ka,PlusIcon:Za,PointerDefaultIcon:$a,PointerHandIcon:Ja,PowerIcon:Qa,PrintIcon:Xa,ProceedIcon:ec,ProfileIcon:tc,PullRequestIcon:oc,QuestionIcon:nc,RSSIcon:rc,RedirectIcon:ic,ReduxIcon:ac,RefreshIcon:ie,ReplyIcon:cc,RepoIcon:lc,RequestChangeIcon:sc,RewindIcon:uc,RulerIcon:Ic,SaveIcon:pc,SearchIcon:dc,ShareAltIcon:hc,ShareIcon:mc,ShieldIcon:fc,SideBySideIcon:gc,SidebarAltIcon:wc,SidebarAltToggleIcon:bc,SidebarIcon:yc,SidebarToggleIcon:Sc,SpeakerIcon:vc,StackedIcon:Cc,StarHollowIcon:Ec,StarIcon:Rc,StatusFailIcon:Tc,StatusPassIcon:kc,StatusWarnIcon:Ac,StickerIcon:xc,StopAltHollowIcon:Oc,StopAltIcon:_c,StopIcon:Lc,StorybookIcon:Bc,StructureIcon:Pc,SubtractIcon:Mc,SunIcon:Vc,SupportIcon:Dc,SwitchAltIcon:Hc,SyncIcon:Nc,TabletIcon:ae,ThumbsUpIcon:zc,TimeIcon:Gc,TimerIcon:Fc,TransferIcon:K,TrashIcon:Uc,TwitterIcon:qc,TypeIcon:Wc,UbuntuIcon:Yc,UndoIcon:jc,UnfoldIcon:Kc,UnlockIcon:Zc,UnpinIcon:$c,UploadIcon:Jc,UserAddIcon:Qc,UserAltIcon:Xc,UserIcon:el,UsersIcon:tl,VSCodeIcon:ol,VerifiedIcon:nl,VideoIcon:rl,WandIcon:il,WatchIcon:al,WindowsIcon:cl,WrenchIcon:ll,XIcon:sl,YoutubeIcon:ul,ZoomIcon:Il,ZoomOutIcon:pl,ZoomResetIcon:dl,iconList:hl}=__STORYBOOK_ICONS__;var $=Se(le()),B="storybook/viewport",x="viewport",Ie={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"}},P={name:"Reset viewport",styles:{height:"100%",width:"100%"},type:"desktop"},Ce={[x]:{value:void 0,isRotated:!1}},Ee={viewport:"reset",viewportRotated:!1},Re=FEATURES?.viewportStoryGlobals?Ce:Ee,pe=(e,t)=>e.indexOf(t),Te=(e,t)=>{let a=pe(e,t);return a===e.length-1?e[0]:e[a+1]},ke=(e,t)=>{let a=pe(e,t);return a<1?e[e.length-1]:e[a-1]},de=async(e,t,a,s)=>{await e.setAddonShortcut(B,{label:"Previous viewport",defaultShortcut:["alt","shift","V"],actionName:"previous",action:()=>{a({viewport:ke(s,t)})}}),await e.setAddonShortcut(B,{label:"Next viewport",defaultShortcut:["alt","V"],actionName:"next",action:()=>{a({viewport:Te(s,t)})}}),await e.setAddonShortcut(B,{label:"Reset viewport",defaultShortcut:["alt","control","V"],actionName:"reset",action:()=>{a(Re)}})},Ae=v.div(()=>({display:"inline-flex",alignItems:"center"})),se=v.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"})),xe=v(L)(()=>({display:"inline-flex",alignItems:"center"})),Oe=v.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),_e={desktop:l.createElement(ne,null),mobile:l.createElement(re,null),tablet:l.createElement(ae,null),other:l.createElement(V,null)},Le=({api:e})=>{let t=U(x),[a,s,c]=F(),[b,p]=z(!1),{options:o=Ie,disable:i}=t||{},h=a?.[x]||{},n=h.value,d=h.isRotated,r=o[n]||P,u=b||r!==P,I=x in c,m=Object.keys(o).length;if(_(()=>{de(e,n,s,Object.keys(o))},[o,n,s,e]),r.styles===null||!o||m<1)return null;if(typeof r.styles=="function")return console.warn("Addon Viewport no longer supports dynamic styles using a function, use css calc() instead"),null;let y=d?r.styles.height:r.styles.width,k=d?r.styles.width:r.styles.height;return i?null:l.createElement(Be,{item:r,updateGlobals:s,viewportMap:o,viewportName:n,isRotated:d,setIsTooltipVisible:p,isLocked:I,isActive:u,width:y,height:k})},Be=l.memo(function(e){let{item:t,viewportMap:a,viewportName:s,isRotated:c,updateGlobals:b,setIsTooltipVisible:p,isLocked:o,isActive:i,width:h,height:n}=e,d=X(r=>b({[x]:r}),[b]);return l.createElement(V,null,l.createElement(W,{placement:"bottom",tooltip:({onHide:r})=>l.createElement(q,{links:[...length>0&&t!==P?[{id:"reset",title:"Reset viewport",icon:l.createElement(ie,null),onClick:()=>{d({value:void 0,isRotated:!1}),r()}}]:[],...Object.entries(a).map(([u,I])=>({id:u,title:I.name,icon:_e[I.type],active:u===s,onClick:()=>{d({value:u,isRotated:!1}),r()}}))]}),closeOnOutsideClick:!0,onVisibleChange:p},l.createElement(xe,{disabled:o,key:"viewport",title:"Change the size of the preview",active:i,onDoubleClick:()=>{d({value:void 0,isRotated:!1})}},l.createElement(j,null),t!==P?l.createElement(Oe,null,t.name," ",c?"(L)":"(P)"):null)),l.createElement(Y,{styles:{'iframe[data-is-storybook="true"]':{width:h,height:n}}}),t!==P?l.createElement(Ae,null,l.createElement(se,{title:"Viewport width"},h.replace("px","")),o?"/":l.createElement(L,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{d({value:s,isRotated:!c})}},l.createElement(K,null)),l.createElement(se,{title:"Viewport height"},n.replace("px",""))):null)}),Pe=(0,$.default)(50)(e=>[...Me,...Object.entries(e).map(([t,{name:a,...s}])=>({...s,id:t,title:a}))]),D={id:"reset",title:"Reset viewport",styles:null,type:"other"},Me=[D],Ve=(0,$.default)(50)((e,t,a,s)=>e.filter(c=>c.id!==D.id||t.id!==c.id).map(c=>({...c,onClick:()=>{a({viewport:c.id}),s()}}))),De=({width:e,height:t,...a})=>({...a,height:e,width:t}),He=v.div(()=>({display:"inline-flex",alignItems:"center"})),ue=v.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"})),Ne=v(L)(()=>({display:"inline-flex",alignItems:"center"})),ze=v.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Ge=(e,t,a)=>{if(t===null)return;let s=typeof t=="function"?t(e):t;return a?De(s):s},Fe=Q(function(){let[e,t]=F(),{viewports:a=Ie,defaultOrientation:s,defaultViewport:c,disable:b}=U(x,{}),p=Pe(a),o=oe(),[i,h]=z(!1);c&&!p.find(u=>u.id===c)&&console.warn(`Cannot find "defaultViewport" of "${c}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),_(()=>{de(o,e,t,Object.keys(a))},[a,e,e.viewport,t,o]),_(()=>{let u=s==="landscape";(c&&e.viewport!==c||s&&e.viewportRotated!==u)&&t({viewport:c,viewportRotated:u})},[s,c,t]);let n=p.find(u=>u.id===e.viewport)||p.find(u=>u.id===c)||p.find(u=>u.default)||D,d=ee(),r=Ge(d.current,n.styles,e.viewportRotated);return _(()=>{d.current=r},[n]),b||Object.entries(a).length===0?null:l.createElement(V,null,l.createElement(W,{placement:"top",tooltip:({onHide:u})=>l.createElement(q,{links:Ve(p,n,t,u)}),closeOnOutsideClick:!0,onVisibleChange:h},l.createElement(Ne,{key:"viewport",title:"Change the size of the preview",active:i||!!r,onDoubleClick:()=>{t({viewport:D.id})}},l.createElement(j,null),r?l.createElement(ze,null,e.viewportRotated?`${n.title} (L)`:`${n.title} (P)`):null)),r?l.createElement(He,null,l.createElement(Y,{styles:{'iframe[data-is-storybook="true"]':{...r||{width:"100%",height:"100%"}}}}),l.createElement(ue,{title:"Viewport width"},r.width.replace("px","")),l.createElement(L,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{t({viewportRotated:!e.viewportRotated})}},l.createElement(K,null)),l.createElement(ue,{title:"Viewport height"},r.height.replace("px",""))):null)});G.register(B,e=>{G.add(B,{title:"viewport / media-queries",type:te.TOOL,match:({viewMode:t,tabId:a})=>t==="story"&&!a,render:()=>FEATURES?.viewportStoryGlobals?N(Le,{api:e}):N(Fe,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/interactions-10/manager-bundle.js b/storybook-static/sb-addons/interactions-10/manager-bundle.js new file mode 100644 index 00000000..2b28faed --- /dev/null +++ b/storybook-static/sb-addons/interactions-10/manager-bundle.js @@ -0,0 +1,210 @@ +try{ +(()=>{var ye=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var m=__REACT__,{Children:Ed,Component:Ad,Fragment:vt,Profiler:Sd,PureComponent:wd,StrictMode:Cd,Suspense:vd,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Dd,cloneElement:xd,createContext:Fd,createElement:z,createFactory:Td,createRef:Od,forwardRef:Rd,isValidElement:Id,lazy:_d,memo:Dt,startTransition:Bd,unstable_act:Pd,useCallback:Tn,useContext:Ld,useDebugValue:Nd,useDeferredValue:kd,useEffect:Le,useId:jd,useImperativeHandle:Md,useInsertionEffect:qd,useLayoutEffect:$d,useMemo:On,useReducer:zd,useRef:xt,useState:Fe,useSyncExternalStore:Hd,useTransition:Ud,version:Vd}=__REACT__;var Kd=__STORYBOOK_COMPONENTS__,{A:Xd,ActionBar:Jd,AddonPanel:Rn,Badge:ur,Bar:In,Blockquote:Qd,Button:_n,ClipboardCode:Zd,Code:eh,DL:th,Div:rh,DocumentWrapper:nh,EmptyTabContent:Bn,ErrorFormatter:oh,FlexBar:uh,Form:ah,H1:ih,H2:sh,H3:lh,H4:ch,H5:ph,H6:dh,HR:hh,IconButton:ar,IconButtonSkeleton:fh,Icons:mh,Img:gh,LI:yh,Link:ir,ListItem:bh,Loader:Eh,Modal:Ah,OL:Sh,P:Pn,Placeholder:wh,Pre:Ch,ResetWrapper:vh,ScrollArea:Dh,Separator:Ln,Spaced:Nn,Span:xh,StorybookIcon:Fh,StorybookLogo:Th,Symbols:Oh,SyntaxHighlighter:Rh,TT:Ih,TabBar:_h,TabButton:Bh,TabWrapper:Ph,Table:Lh,Tabs:Nh,TabsState:kh,TooltipLinkList:jh,TooltipMessage:Mh,TooltipNote:sr,UL:qh,WithTooltip:Ge,WithTooltipPure:$h,Zoom:zh,codeCommon:Hh,components:Uh,createCopyToClipboardFunction:Vh,getStoryHref:Gh,icons:Wh,interleaveSeparators:Yh,nameSpaceClassNames:Kh,resetComponents:Xh,withReset:Jh}=__STORYBOOK_COMPONENTS__;var rf=__STORYBOOK_API__,{ActiveTabs:nf,Consumer:kn,ManagerContext:of,Provider:uf,RequestResponseError:af,addons:lr,combineParameters:sf,controlOrMetaKey:lf,controlOrMetaSymbol:cf,eventMatchesShortcut:pf,eventToShortcut:df,experimental_requestResponse:hf,isMacLike:ff,isShortcutTaken:mf,keyToSymbol:gf,merge:yf,mockChannel:bf,optionOrAltSymbol:Ef,shortcutMatchesShortcut:Af,shortcutToHumanString:Sf,types:jn,useAddonState:cr,useArgTypes:wf,useArgs:Cf,useChannel:Mn,useGlobalTypes:vf,useGlobals:Df,useParameter:qn,useSharedState:xf,useStoryPrepared:Ff,useStorybookApi:$n,useStorybookState:Tf}=__STORYBOOK_API__;var Bf=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:zn,ARGTYPES_INFO_RESPONSE:pr,CHANNEL_CREATED:Pf,CHANNEL_WS_DISCONNECT:Lf,CONFIG_ERROR:Hn,CREATE_NEW_STORYFILE_REQUEST:Nf,CREATE_NEW_STORYFILE_RESPONSE:kf,CURRENT_STORY_WAS_SET:dr,DOCS_PREPARED:Un,DOCS_RENDERED:Ft,FILE_COMPONENT_SEARCH_REQUEST:jf,FILE_COMPONENT_SEARCH_RESPONSE:Mf,FORCE_REMOUNT:dt,FORCE_RE_RENDER:Tt,GLOBALS_UPDATED:et,NAVIGATE_URL:qf,PLAY_FUNCTION_THREW_EXCEPTION:Ot,PRELOAD_ENTRIES:Vn,PREVIEW_BUILDER_PROGRESS:$f,PREVIEW_KEYDOWN:Gn,REGISTER_SUBSCRIPTION:zf,REQUEST_WHATS_NEW_DATA:Hf,RESET_STORY_ARGS:Rt,RESULT_WHATS_NEW_DATA:Uf,SAVE_STORY_REQUEST:Vf,SAVE_STORY_RESPONSE:Gf,SELECT_STORY:Wf,SET_CONFIG:Yf,SET_CURRENT_STORY:hr,SET_FILTER:Kf,SET_GLOBALS:Wn,SET_INDEX:Xf,SET_STORIES:Jf,SET_WHATS_NEW_CACHE:Qf,SHARED_STATE_CHANGED:Zf,SHARED_STATE_SET:e0,STORIES_COLLAPSE_ALL:t0,STORIES_EXPAND_ALL:r0,STORY_ARGS_UPDATED:Yn,STORY_CHANGED:Kn,STORY_ERRORED:Xn,STORY_INDEX_INVALIDATED:Jn,STORY_MISSING:fr,STORY_PREPARED:Qn,STORY_RENDERED:ht,STORY_RENDER_PHASE_CHANGED:_e,STORY_SPECIFIED:Zn,STORY_THREW_EXCEPTION:It,STORY_UNCHANGED:eo,TELEMETRY_ERROR:n0,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:o0,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:u0,TESTING_MODULE_CRASH_REPORT:a0,TESTING_MODULE_PROGRESS_REPORT:i0,TESTING_MODULE_RUN_ALL_REQUEST:s0,TESTING_MODULE_RUN_REQUEST:l0,TESTING_MODULE_WATCH_MODE_REQUEST:c0,TOGGLE_WHATS_NEW_NOTIFICATIONS:p0,UNHANDLED_ERRORS_WHILE_PLAYING:_t,UPDATE_GLOBALS:Bt,UPDATE_QUERY_PARAMS:to,UPDATE_STORY_ARGS:Pt}=__STORYBOOK_CORE_EVENTS__;var ft=(()=>{let t;return typeof window<"u"?t=window:typeof globalThis<"u"?t=globalThis:typeof window<"u"?t=window:typeof self<"u"?t=self:t={},t})();var D0=__STORYBOOK_CLIENT_LOGGER__,{deprecate:x0,logger:F0,once:Ci,pretty:T0}=__STORYBOOK_CLIENT_LOGGER__;var B0=__STORYBOOK_CHANNELS__,{Channel:ro,PostMessageTransport:P0,WebsocketTransport:L0,createBrowserChannel:N0}=__STORYBOOK_CHANNELS__;var $0=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Be,logger:ee,once:Ne,pretty:z0}=__STORYBOOK_CLIENT_LOGGER__;var vi=Object.defineProperty,oe=(t,e)=>vi(t,"name",{value:e,configurable:!0});function ie(t){for(var e=[],r=1;r` - ${a}`).join(` +`)}`),`${o}${u!=null?` + +More info: ${u} +`:""}`}};oe(no,"StorybookError");var le=no,Di=(t=>(t.BLOCKS="BLOCKS",t.DOCS_TOOLS="DOCS-TOOLS",t.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",t.PREVIEW_CHANNELS="PREVIEW_CHANNELS",t.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",t.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",t.PREVIEW_API="PREVIEW_API",t.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",t.PREVIEW_ROUTER="PREVIEW_ROUTER",t.PREVIEW_THEMING="PREVIEW_THEMING",t.RENDERER_HTML="RENDERER_HTML",t.RENDERER_PREACT="RENDERER_PREACT",t.RENDERER_REACT="RENDERER_REACT",t.RENDERER_SERVER="RENDERER_SERVER",t.RENDERER_SVELTE="RENDERER_SVELTE",t.RENDERER_VUE="RENDERER_VUE",t.RENDERER_VUE3="RENDERER_VUE3",t.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",t.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",t.ADDON_VITEST="ADDON_VITEST",t))(Di||{}),uo=class extends le{constructor(e){super({category:"PREVIEW_API",code:1,message:ie` + Couldn't find story matching id '${e.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 '${e.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=e}};oe(uo,"MissingStoryAfterHmrError");var ao=uo,xi=class extends le{constructor(e){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:ie` + We detected that you use an implicit action arg while ${e.phase} of your story. + ${e.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: { + ${e.name}: fn() + }`}),this.data=e}};oe(xi,"ImplicitActionsDuringRendering");var io=class extends le{constructor(){super({category:"PREVIEW_API",code:3,message:ie` + Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. + + You probably meant to call \`await preview.extract()\` which does the above for you.`})}};oe(io,"CalledExtractOnStoreError");var so=io,lo=class extends le{constructor(){super({category:"PREVIEW_API",code:4,message:ie` + 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"})}};oe(lo,"MissingRenderToCanvasError");var co=lo,po=class extends le{constructor(e){super({category:"PREVIEW_API",code:5,message:ie` + Called \`Preview.${e.methodName}()\` before initialization. + + The preview needs to load the story index before most methods can be called. If you want + to call \`${e.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=e}};oe(po,"CalledPreviewMethodBeforeInitializationError");var be=po,ho=class extends le{constructor(e){super({category:"PREVIEW_API",code:6,message:ie` + Error fetching \`/index.json\`: + + ${e.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=e}};oe(ho,"StoryIndexFetchError");var fo=ho,mo=class extends le{constructor(e){super({category:"PREVIEW_API",code:7,message:ie` + Tried to render docs entry ${e.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=e}};oe(mo,"MdxFileWithNoCsfReferencesError");var go=mo,yo=class extends le{constructor(){super({category:"PREVIEW_API",code:8,message:ie` + 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.`})}};oe(yo,"EmptyIndexError");var bo=yo,Eo=class extends le{constructor(e){super({category:"PREVIEW_API",code:9,message:ie` + Couldn't find story matching '${e.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=e}};oe(Eo,"NoStoryMatchError");var Ao=Eo,So=class extends le{constructor(e){super({category:"PREVIEW_API",code:10,message:ie` + Couldn't find story matching id '${e.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=e}};oe(So,"MissingStoryFromCsfFileError");var wo=So,Co=class extends le{constructor(){super({category:"PREVIEW_API",code:11,message:ie` + 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`})}};oe(Co,"StoryStoreAccessedBeforeInitializationError");var vo=Co,Do=class extends le{constructor(e){super({category:"PREVIEW_API",code:12,message:ie` + 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: + ${e.playFunction}`}),this.data=e}};oe(Do,"MountMustBeDestructuredError");var Lt=Do,xo=class extends le{constructor(e){super({category:"PREVIEW_API",code:14,message:ie` + No render function available for storyId '${e.id}' + `}),this.data=e}};oe(xo,"NoRenderFunctionError");var Fo=xo,To=class extends le{constructor(){super({category:"PREVIEW_API",code:15,message:ie` + 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. + `})}};oe(To,"NoStoryMountedError");var Oo=To,Fi=class extends le{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:ie` + 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. + `})}};oe(Fi,"NextJsSharpError");var Ti=class extends le{constructor(e){super({category:"FRAMEWORK_NEXTJS",code:2,message:ie` + Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment. + `}),this.data=e}};oe(Ti,"NextjsRouterMocksNotAvailable");var Oi=class extends le{constructor(e){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:ie` + There was a failure when generating detailed ArgTypes in ${e.language} for: + ${JSON.stringify(e.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=e}};oe(Oi,"UnknownArgTypesError");var Ri=class extends le{constructor(e){super({category:"ADDON_VITEST",code:1,message:ie` + Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension. + + The Storybook plugin only supports values in the following units: + - px, vh, vw, em, rem and %. + + You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags + `}),this.data=e}};oe(Ri,"UnsupportedViewportDimensionError");var Ii=Object.create,Bo=Object.defineProperty,_i=Object.getOwnPropertyDescriptor,Bi=Object.getOwnPropertyNames,Pi=Object.getPrototypeOf,Li=Object.prototype.hasOwnProperty,Ni=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ki=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Bi(e))!Li.call(t,o)&&o!==r&&Bo(t,o,{get:()=>e[o],enumerable:!(n=_i(e,o))||n.enumerable});return t},ji=(t,e,r)=>(r=t!=null?Ii(Pi(t)):{},ki(e||!t||!t.__esModule?Bo(r,"default",{value:t,enumerable:!0}):r,t)),Mi=Ni(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEqual=function(){var e=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,u){return function a(i,s,l){var f,h,g,b=e.call(i),w=e.call(s);if(i===s)return!0;if(i==null||s==null)return!1;if(l.indexOf(i)>-1&&l.indexOf(s)>-1)return!0;if(l.push(i,s),b!=w||(f=n(i),h=n(s),f.length!=h.length||f.some(function(v){return!a(i[v],s[v],l)})))return!1;switch(b.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":f=i.entries(),h=s.entries();do if(!a((g=f.next()).value,h.next().value,l))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;g`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(e,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(e,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(e,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(e,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var Ro=ji(Mi()),Po=t=>t.map(e=>typeof e<"u").filter(Boolean).length,$i=(t,e)=>{let{exists:r,eq:n,neq:o,truthy:u}=t;if(Po([r,n,o,u])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,Ro.isEqual)(e,n);if(typeof o<"u")return!(0,Ro.isEqual)(e,o);if(typeof r<"u"){let a=typeof e<"u";return r?a:!a}return typeof u>"u"||u?!!e:!e},Lo=(t,e,r)=>{if(!t.if)return!0;let{arg:n,global:o}=t.if;if(Po([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let u=n?e[n]:r[o];return $i(t.if,u)},gr=t=>t.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),Io=(t,e)=>{let r=gr(t);if(r==="")throw new Error(`Invalid ${e} '${t}', must include alphanumeric characters`);return r},No=(t,e)=>`${Io(t,"kind")}${e?`--${Io(e,"name")}`:""}`,ko=t=>qi(t);function _o(t,e){return Array.isArray(e)?e.includes(t):t.match(e)}function Nt(t,{includeStories:e,excludeStories:r}){return t!=="__esModule"&&(!e||_o(t,e))&&(!r||!_o(t,r))}var jo=(...t)=>{let e=t.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(e)};var zi=Object.create,jr=Object.defineProperty,Hi=Object.getOwnPropertyDescriptor,Ui=Object.getOwnPropertyNames,Vi=Object.getPrototypeOf,Gi=Object.prototype.hasOwnProperty,p=(t,e)=>jr(t,"name",{value:e,configurable:!0}),kt=(t=>typeof ye<"u"?ye:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof ye<"u"?ye:e)[r]}):t)(function(t){if(typeof ye<"u")return ye.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Wi=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Ui(e))!Gi.call(t,o)&&o!==r&&jr(t,o,{get:()=>e[o],enumerable:!(n=Hi(e,o))||n.enumerable});return t},ot=(t,e,r)=>(r=t!=null?zi(Vi(t)):{},Wi(e||!t||!t.__esModule?jr(r,"default",{value:t,enumerable:!0}):r,t)),eu=pe((t,e)=>{(function(r){if(typeof t=="object"&&typeof e<"u")e.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 p(function u(a,i,s){function l(g,b){if(!i[g]){if(!a[g]){var w=typeof kt=="function"&&kt;if(!b&&w)return w(g,!0);if(f)return f(g,!0);var v=new Error("Cannot find module '"+g+"'");throw v.code="MODULE_NOT_FOUND",v}var S=i[g]={exports:{}};a[g][0].call(S.exports,function(A){var E=a[g][1][A];return l(E||A)},S,S.exports,u,a,i,s)}return i[g].exports}p(l,"s");for(var f=typeof kt=="function"&&kt,h=0;h=0)return this.lastItem=this.list[f],this.list[f].val},s.prototype.set=function(l,f){var h;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=f,this):(h=this.indexOf(l),h>=0?(this.lastItem=this.list[h],this.list[h].val=f,this):(this.lastItem={key:l,val:f},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(l){var f;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),f=this.indexOf(l),f>=0)return this.size--,this.list.splice(f,1)[0]},s.prototype.has=function(l){var f;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(f=this.indexOf(l),f>=0?(this.lastItem=this.list[f],!0):!1)},s.prototype.forEach=function(l,f){var h;for(h=0;h0&&(I[F]={cacheItem:A,arg:arguments[F]},R?l(w,I):w.push(I),w.length>g&&f(w.shift())),S.wasMemoized=R,S.numArgs=F+1,O},"memoizerific");return S.limit=g,S.wasMemoized=!1,S.cache=b,S.lru=w,S}};function l(g,b){var w=g.length,v=b.length,S,A,E;for(A=0;A=0&&(w=g[S],v=w.cacheItem.get(w.arg),!v||!v.size);S--)w.cacheItem.delete(w.arg)}p(f,"removeCachedResult");function h(g,b){return g===b||g!==g&&b!==b}p(h,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),tu=pe(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeString=n;var e=Array.from({length:256},(o,u)=>"%"+((u<16?"0":"")+u.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let u=o.length;if(u===0)return"";let a="",i=0,s=0;e:for(;s>6]+e[128|l&63];continue}if(l<55296||l>=57344){i=s+1,a+=e[224|l>>12]+e[128|l>>6&63]+e[128|l&63];continue}if(++s,s>=u)throw new Error("URI malformed");let f=o.charCodeAt(s)&1023;i=s+1,l=65536+((l&1023)<<10|f),a+=e[240|l>>18]+e[128|l>>12&63]+e[128|l>>6&63]+e[128|l&63]}return i===0?o:i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=t.defaultShouldSerializeObject=t.defaultValueSerializer=void 0;var e=tu(),r=p(u=>{switch(typeof u){case"string":return(0,e.encodeString)(u);case"bigint":case"boolean":return""+u;case"number":if(Number.isFinite(u))return u<1e21?""+u:(0,e.encodeString)(""+u);break}return u instanceof Date?(0,e.encodeString)(u.toISOString()):""},"defaultValueSerializer");t.defaultValueSerializer=r;var n=p(u=>u instanceof Date,"defaultShouldSerializeObject");t.defaultShouldSerializeObject=n;var o=p(u=>u,"identityFunc");t.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:t.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:t.defaultShouldSerializeObject}}),ru=pe(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDeepObject=o,t.stringifyObject=f;var e=Mr(),r=tu();function n(h){return h==="__proto__"||h==="constructor"||h==="prototype"}p(n,"isPrototypeKey");function o(h,g,b,w,v){if(n(g))return h;let S=h[g];return typeof S=="object"&&S!==null?S:!w&&(v||typeof b=="number"||typeof b=="string"&&b*0===0&&b.indexOf(".")===-1)?h[g]=[]:h[g]={}}p(o,"getDeepObject");var u=20,a="[]",i="[",s="]",l=".";function f(h,g,b=0,w,v){let{nestingSyntax:S=e.defaultOptions.nestingSyntax,arrayRepeat:A=e.defaultOptions.arrayRepeat,arrayRepeatSyntax:E=e.defaultOptions.arrayRepeatSyntax,nesting:O=e.defaultOptions.nesting,delimiter:F=e.defaultOptions.delimiter,valueSerializer:I=e.defaultOptions.valueSerializer,shouldSerializeObject:R=e.defaultOptions.shouldSerializeObject}=g,T=typeof F=="number"?String.fromCharCode(F):F,x=v===!0&&A,P=S==="dot"||S==="js"&&!v;if(b>u)return"";let N="",M=!0,q=!1;for(let $ in h){let c=h[$],d;w?(d=w,x?E==="bracket"&&(d+=a):P?(d+=l,d+=$):(d+=i,d+=$,d+=s)):d=$,M||(N+=T),typeof c=="object"&&c!==null&&!R(c)?(q=c.pop!==void 0,(O||A&&q)&&(N+=f(c,g,b+1,d,q))):(N+=(0,r.encodeString)(d),N+="=",N+=I(c,$)),M&&(M=!1)}return N}p(f,"stringifyObject")}),Yi=pe((t,e)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function u(s){var l=s.indexOf("%");if(l===-1)return s;for(var f=s.length,h="",g=0,b=0,w=l,v=r;l>-1&&l>10),56320+(b&1023)),b=0,g=l+3,l=w=s.indexOf("%",g);else{if(v===n)return null;if(l+=3,l{"use strict";var e=t&&t.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.numberValueDeserializer=t.numberKeyDeserializer=void 0,t.parse=f;var r=ru(),n=Mr(),o=e(Yi()),u=p(h=>{let g=Number(h);return Number.isNaN(g)?h:g},"numberKeyDeserializer");t.numberKeyDeserializer=u;var a=p(h=>{let g=Number(h);return Number.isNaN(g)?h:g},"numberValueDeserializer");t.numberValueDeserializer=a;var i=/\+/g,s=p(function(){},"Empty");s.prototype=Object.create(null);function l(h,g,b,w,v){let S=h.substring(g,b);return w&&(S=S.replace(i," ")),v&&(S=(0,o.default)(S)||S),S}p(l,"computeKeySlice");function f(h,g){let{valueDeserializer:b=n.defaultOptions.valueDeserializer,keyDeserializer:w=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:v=n.defaultOptions.arrayRepeatSyntax,nesting:S=n.defaultOptions.nesting,arrayRepeat:A=n.defaultOptions.arrayRepeat,nestingSyntax:E=n.defaultOptions.nestingSyntax,delimiter:O=n.defaultOptions.delimiter}=g??{},F=typeof O=="string"?O.charCodeAt(0):O,I=E==="js",R=new s;if(typeof h!="string")return R;let T=h.length,x="",P=-1,N=-1,M=-1,q=R,$,c="",d="",y=!1,D=!1,C=!1,_=!1,B=!1,L=!1,k=!1,Q=0,re=-1,W=-1,ne=-1;for(let U=0;UP,k||(N=U),M!==N-1&&(d=l(h,M+1,re>-1?re:N,C,y),c=w(d),$!==void 0&&(q=(0,r.getDeepObject)(q,$,c,I&&B,I&&L))),k||c!==""){k&&(x=h.slice(N+1,U),_&&(x=x.replace(i," ")),D&&(x=(0,o.default)(x)||x));let ae=b(x,c);if(A){let ge=q[c];ge===void 0?re>-1?q[c]=[ae]:q[c]=ae:ge.pop?ge.push(ae):q[c]=[ge,ae]}else q[c]=ae}x="",P=U,N=U,y=!1,D=!1,C=!1,_=!1,B=!1,L=!1,re=-1,M=U,q=R,$=void 0,c=""}else Q===93?(A&&v==="bracket"&&ne===91&&(re=W),S&&(E==="index"||I)&&N<=P&&(M!==W&&(d=l(h,M+1,U,C,y),c=w(d),$!==void 0&&(q=(0,r.getDeepObject)(q,$,c,void 0,I)),$=c,C=!1,y=!1),M=U,L=!0,B=!1)):Q===46?S&&(E==="dot"||I)&&N<=P&&(M!==W&&(d=l(h,M+1,U,C,y),c=w(d),$!==void 0&&(q=(0,r.getDeepObject)(q,$,c,I)),$=c,C=!1,y=!1),B=!0,L=!1,M=U):Q===91?S&&(E==="index"||I)&&N<=P&&(M!==W&&(d=l(h,M+1,U,C,y),c=w(d),I&&$!==void 0&&(q=(0,r.getDeepObject)(q,$,c,I)),$=c,C=!1,y=!1,B=!1,L=!0),M=U):Q===61?N<=P?N=U:D=!0:Q===43?N>P?_=!0:C=!0:Q===37&&(N>P?D=!0:y=!0);W=U,ne=Q}return R}p(f,"parse")}),Xi=pe(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=r;var e=ru();function r(n,o){if(n===null||typeof n!="object")return"";let u=o??{};return(0,e.stringifyObject)(n,u)}p(r,"stringify")}),qr=pe(t=>{"use strict";var e=t&&t.__createBinding||(Object.create?function(u,a,i,s){s===void 0&&(s=i);var l=Object.getOwnPropertyDescriptor(a,i);(!l||("get"in l?!a.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:p(function(){return a[i]},"get")}),Object.defineProperty(u,s,l)}:function(u,a,i,s){s===void 0&&(s=i),u[s]=a[i]}),r=t&&t.__exportStar||function(u,a){for(var i in u)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&e(a,u,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var n=Ki();Object.defineProperty(t,"parse",{enumerable:!0,get:p(function(){return n.parse},"get")});var o=Xi();Object.defineProperty(t,"stringify",{enumerable:!0,get:p(function(){return o.stringify},"get")}),r(Mr(),t)}),nu=pe((t,e)=>{e.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"}}),Ji=pe((t,e)=>{e.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"}}),ou=pe((t,e)=>{e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),Qi=pe((t,e)=>{e.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}}),Zi=pe(t=>{"use strict";var e=t&&t.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(Qi()),n=String.fromCodePoint||function(u){var a="";return u>65535&&(u-=65536,a+=String.fromCharCode(u>>>10&1023|55296),u=56320|u&1023),a+=String.fromCharCode(u),a};function o(u){return u>=55296&&u<=57343||u>1114111?"\uFFFD":(u in r.default&&(u=r.default[u]),n(u))}p(o,"decodeCodePoint"),t.default=o}),Mo=pe(t=>{"use strict";var e=t&&t.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=e(nu()),n=e(Ji()),o=e(ou()),u=e(Zi()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=i(o.default),t.decodeHTMLStrict=i(r.default);function i(f){var h=l(f);return function(g){return String(g).replace(a,h)}}p(i,"getStrictDecoder");var s=p(function(f,h){return f{"use strict";var e=t&&t.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var r=e(ou()),n=s(r.default),o=l(n);t.encodeXML=A(n);var u=e(nu()),a=s(u.default),i=l(a);t.encodeHTML=b(a,i),t.encodeNonAsciiHTML=A(a);function s(E){return Object.keys(E).sort().reduce(function(O,F){return O[E[F]]="&"+F+";",O},{})}p(s,"getInverseObj");function l(E){for(var O=[],F=[],I=0,R=Object.keys(E);I1?h(E):E.charCodeAt(0)).toString(16).toUpperCase()+";"}p(g,"singleCharReplacer");function b(E,O){return function(F){return F.replace(O,function(I){return E[I]}).replace(f,g)}}p(b,"getInverse");var w=new RegExp(o.source+"|"+f.source,"g");function v(E){return E.replace(w,g)}p(v,"escape"),t.escape=v;function S(E){return E.replace(o,g)}p(S,"escapeUTF8"),t.escapeUTF8=S;function A(E){return function(O){return O.replace(w,function(F){return E[F]||g(F)})}}p(A,"getASCIIEncoder")}),es=pe(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=Mo(),r=qo();function n(s,l){return(!l||l<=0?e.decodeXML:e.decodeHTML)(s)}p(n,"decode"),t.decode=n;function o(s,l){return(!l||l<=0?e.decodeXML:e.decodeHTMLStrict)(s)}p(o,"decodeStrict"),t.decodeStrict=o;function u(s,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(s)}p(u,"encode"),t.encode=u;var a=qo();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:p(function(){return a.encodeXML},"get")}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:p(function(){return a.encodeHTML},"get")}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:p(function(){return a.encodeNonAsciiHTML},"get")}),Object.defineProperty(t,"escape",{enumerable:!0,get:p(function(){return a.escape},"get")}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:p(function(){return a.escapeUTF8},"get")}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:p(function(){return a.encodeHTML},"get")}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:p(function(){return a.encodeHTML},"get")});var i=Mo();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:p(function(){return i.decodeXML},"get")}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:p(function(){return i.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:p(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:p(function(){return i.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:p(function(){return i.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:p(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:p(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:p(function(){return i.decodeXML},"get")})}),ts=pe((t,e)=>{"use strict";function r(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}p(r,"_classCallCheck");function n(c,d){for(var y=0;y=c.length?{done:!0}:{done:!1,value:c[D++]}},"n"),e:p(function(k){throw k},"e"),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 _=!0,B=!1,L;return{s:p(function(){y=y.call(c)},"s"),n:p(function(){var k=y.next();return _=k.done,k},"n"),e:p(function(k){B=!0,L=k},"e"),f:p(function(){try{!_&&y.return!=null&&y.return()}finally{if(B)throw L}},"f")}}p(u,"_createForOfIteratorHelper");function a(c,d){if(c){if(typeof c=="string")return i(c,d);var y=Object.prototype.toString.call(c).slice(8,-1);if(y==="Object"&&c.constructor&&(y=c.constructor.name),y==="Map"||y==="Set")return Array.from(c);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return i(c,d)}}p(a,"_unsupportedIterableToArray");function i(c,d){(d==null||d>c.length)&&(d=c.length);for(var y=0,D=new Array(d);y0?c*40+55:0,B=d>0?d*40+55:0,L=y>0?y*40+55:0;D[C]=b([_,B,L])}p(h,"setStyleColor");function g(c){for(var d=c.toString(16);d.length<2;)d="0"+d;return d}p(g,"toHexString");function b(c){var d=[],y=u(c),D;try{for(y.s();!(D=y.n()).done;){var C=D.value;d.push(g(C))}}catch(_){y.e(_)}finally{y.f()}return"#"+d.join("")}p(b,"toColorHexString");function w(c,d,y,D){var C;return d==="text"?C=I(y,D):d==="display"?C=S(c,y,D):d==="xterm256Foreground"?C=x(c,D.colors[y]):d==="xterm256Background"?C=P(c,D.colors[y]):d==="rgb"&&(C=v(c,y)),C}p(w,"generateOutput");function v(c,d){d=d.substring(2).slice(0,-1);var y=+d.substr(0,2),D=d.substring(5).split(";"),C=D.map(function(_){return("0"+Number(_).toString(16)).substr(-2)}).join("");return T(c,(y===38?"color:#":"background-color:#")+C)}p(v,"handleRgb");function S(c,d,y){d=parseInt(d,10);var D={"-1":p(function(){return"
"},"_"),0:p(function(){return c.length&&A(c)},"_"),1:p(function(){return R(c,"b")},"_"),3:p(function(){return R(c,"i")},"_"),4:p(function(){return R(c,"u")},"_"),8:p(function(){return T(c,"display:none")},"_"),9:p(function(){return R(c,"strike")},"_"),22:p(function(){return T(c,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:p(function(){return N(c,"i")},"_"),24:p(function(){return N(c,"u")},"_"),39:p(function(){return x(c,y.fg)},"_"),49:p(function(){return P(c,y.bg)},"_"),53:p(function(){return T(c,"text-decoration:overline")},"_")},C;return D[d]?C=D[d]():4"}).join("")}p(A,"resetStyles");function E(c,d){for(var y=[],D=c;D<=d;D++)y.push(D);return y}p(E,"range");function O(c){return function(d){return(c===null||d.category!==c)&&c!=="all"}}p(O,"notCategory");function F(c){c=parseInt(c,10);var d=null;return c===0?d="all":c===1?d="bold":2")}p(R,"pushTag");function T(c,d){return R(c,"span",d)}p(T,"pushStyle");function x(c,d){return R(c,"span","color:"+d)}p(x,"pushForegroundColor");function P(c,d){return R(c,"span","background-color:"+d)}p(P,"pushBackgroundColor");function N(c,d){var y;if(c.slice(-1)[0]===d&&(y=c.pop()),y)return""}p(N,"closeTag");function M(c,d,y){var D=!1,C=3;function _(){return""}p(_,"remove");function B(Z,Y){return y("xterm256Foreground",Y),""}p(B,"removeXterm256Foreground");function L(Z,Y){return y("xterm256Background",Y),""}p(L,"removeXterm256Background");function k(Z){return d.newline?y("display",-1):y("text",Z),""}p(k,"newline");function Q(Z,Y){D=!0,Y.trim().length===0&&(Y="0"),Y=Y.trimRight(";").split(";");var ve=u(Y),pt;try{for(ve.s();!(pt=ve.n()).done;){var nr=pt.value;y("display",nr)}}catch(or){ve.e(or)}finally{ve.f()}return""}p(Q,"ansiMess");function re(Z){return y("text",Z),""}p(re,"realText");function W(Z){return y("rgb",Z),""}p(W,"rgb");var ne=[{pattern:/^\x08+/,sub:_},{pattern:/^\x1b\[[012]?K/,sub:_},{pattern:/^\x1b\[\(B/,sub:_},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:W},{pattern:/^\x1b\[38;5;(\d+)m/,sub:B},{pattern:/^\x1b\[48;5;(\d+)m/,sub:L},{pattern:/^\n/,sub:k},{pattern:/^\r+\n/,sub:k},{pattern:/^\r/,sub:k},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Q},{pattern:/^\x1b\[\d?J/,sub:_},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:_},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:_},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:re}];function U(Z,Y){Y>C&&D||(D=!1,c=c.replace(Z.pattern,Z.sub))}p(U,"process");var ae=[],ge=c,he=ge.length;e:for(;he>0;){for(var Ce=0,Ve=0,ct=ne.length;Ve{let t;return typeof window<"u"?t=window:typeof globalThis<"u"?t=globalThis:typeof window<"u"?t=window:typeof self<"u"?t=self:t={},t})();function uu(){let t={setHandler:p(()=>{},"setHandler"),send:p(()=>{},"send")};return new ro({transport:t})}p(uu,"mockChannel");var au=class{constructor(){this.getChannel=p(()=>{if(!this.channel){let e=uu();return this.setChannel(e),e}return this.channel},"getChannel"),this.ready=p(()=>this.promise,"ready"),this.hasChannel=p(()=>!!this.channel,"hasChannel"),this.setChannel=p(e=>{this.channel=e,this.resolve()},"setChannel"),this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}};p(au,"AddonStore");var rs=au,yr="__STORYBOOK_ADDONS_PREVIEW";function iu(){return ce[yr]||(ce[yr]=new rs),ce[yr]}p(iu,"getAddonsStore");var qe=iu(),su=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=p(e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),qe.getChannel().on(ht,this.renderListener)}removeRenderListeners(){qe.getChannel().removeListener(ht,this.renderListener)}};p(su,"HooksContext");var lu=su;function vr(t){let e=p((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,u=n.currentHooks,a=n.nextHookIndex,i=n.currentDecoratorName;n.currentDecoratorName=t.name,n.prevMountedDecorators.has(t)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(t)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(t,n.currentHooks),n.prevMountedDecorators.add(t)),n.nextHookIndex=0;let s=ce.STORYBOOK_HOOKS_CONTEXT;ce.STORYBOOK_HOOKS_CONTEXT=n;let l=t(...r);if(ce.STORYBOOK_HOOKS_CONTEXT=s,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=u,n.nextHookIndex=a,n.currentDecoratorName=i,l},"hookified");return e.originalFn=t,e}p(vr,"hookify");var br=0,ns=25,os=p(t=>(e,r)=>{let n=t(vr(e),r.map(o=>vr(o)));return o=>{let{hooks:u}=o;u.prevMountedDecorators??=new Set,u.mountedDecorators=new Set([e,...r]),u.currentContext=o,u.hasUpdates=!1;let a=n(o);for(br=1;u.hasUpdates;)if(u.hasUpdates=!1,u.currentEffects=[],a=n(o),br+=1,br>ns)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return u.addRenderListeners(),a}},"applyHooks"),us=p((t,e)=>t.length===e.length&&t.every((r,n)=>r===e[n]),"areDepsEqual"),$r=p(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function zr(){return ce.STORYBOOK_HOOKS_CONTEXT||null}p(zr,"getHooksContextOrNull");function Ut(){let t=zr();if(t==null)throw $r();return t}p(Ut,"getHooksContextOrThrow");function cu(t,e,r){let n=Ut();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ee.warn(`${t} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:t,deps:r};return n.currentHooks.push(o),e(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!==t&&ee.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&&ee.warn(`${t} 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&&ee.warn(`The final argument passed to ${t} changed size between renders. The order and size of this array must remain constant. +Previous: ${o.deps} +Incoming: ${r}`),(r==null||o.deps==null||!us(r,o.deps))&&(e(o),o.deps=r),o}throw $r()}p(cu,"useHook");function bt(t,e,r){let{memoizedState:n}=cu(t,o=>{o.memoizedState=e()},r);return n}p(bt,"useMemoLike");function as(t,e){return bt("useMemo",t,e)}p(as,"useMemo");function yt(t,e){return bt("useCallback",()=>t,e)}p(yt,"useCallback");function Hr(t,e){return bt(t,()=>({current:e}),[])}p(Hr,"useRefLike");function is(t){return Hr("useRef",t)}p(is,"useRef");function pu(){let t=zr();if(t!=null&&t.currentPhase!=="NONE")t.hasUpdates=!0;else try{qe.getChannel().emit(Tt)}catch{ee.warn("State updates of Storybook preview hooks work only in browser")}}p(pu,"triggerUpdate");function Ur(t,e){let r=Hr(t,typeof e=="function"?e():e),n=p(o=>{r.current=typeof o=="function"?o(r.current):o,pu()},"setState");return[r.current,n]}p(Ur,"useStateLike");function ss(t){return Ur("useState",t)}p(ss,"useState");function ls(t,e,r){let n=r!=null?()=>r(e):e,[o,u]=Ur("useReducer",n);return[o,p(a=>u(i=>t(i,a)),"dispatch")]}p(ls,"useReducer");function du(t,e){let r=Ut(),n=bt("useEffect",()=>({create:t}),e);r.currentEffects.includes(n)||r.currentEffects.push(n)}p(du,"useEffect");function cs(t,e=[]){let r=qe.getChannel();return du(()=>(Object.entries(t).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(t).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(t),...e]),yt(r.emit.bind(r),[r])}p(cs,"useChannel");function Vt(){let{currentContext:t}=Ut();if(t==null)throw $r();return t}p(Vt,"useStoryContext");function ps(t,e){let{parameters:r}=Vt();if(t)return r[t]??e}p(ps,"useParameter");function ds(){let t=qe.getChannel(),{id:e,args:r}=Vt(),n=yt(u=>t.emit(Pt,{storyId:e,updatedArgs:u}),[t,e]),o=yt(u=>t.emit(Rt,{storyId:e,argNames:u}),[t,e]);return[r,n,o]}p(ds,"useArgs");function hs(){let t=qe.getChannel(),{globals:e}=Vt(),r=yt(n=>t.emit(Bt,{globals:n}),[t]);return[e,r]}p(hs,"useGlobals");var vm=p(({name:t,parameterName:e,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=p(u=>(a,i)=>{let s=i.parameters&&i.parameters[e];return s&&s.disable||n&&!u&&!s?a(i):r(a,i,{options:u,parameters:s})},"decorator");return(...u)=>typeof u[0]=="function"?o()(...u):(...a)=>{if(a.length>1)return u.length>1?o(u)(...a):o(...u)(...a);throw new Error(`Passing stories directly into ${t}() is not allowed, + instead use addDecorator(${t}) and pass options with the '${e}' parameter`)}},"makeDecorator");function hu(t,e){let r={},n=Object.entries(t);for(let o=0;oObject.prototype.propertyIsEnumerable.call(t,e))}p(Dr,"getSymbols");function xr(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}p(xr,"getTag");function gu(t,e){if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return Oe(t,e)}return Oe(t,e)}p(gu,"isEqual");function Oe(t,e,r){if(Object.is(t,e))return!0;let n=xr(t),o=xr(e);if(n===$o&&(n=Er),o===$o&&(o=Er),n!==o)return!1;switch(n){case ms:return t.toString()===e.toString();case gs:{let i=t.valueOf(),s=e.valueOf();return i===s||Number.isNaN(i)&&Number.isNaN(s)}case ys:case Es:case bs:return Object.is(t.valueOf(),e.valueOf());case fs:return t.source===e.source&&t.flags===e.flags;case Cs:return t===e}r=r??new Map;let u=r.get(t),a=r.get(e);if(u!=null&&a!=null)return u===e;r.set(t,e),r.set(e,t);try{switch(n){case As:{if(t.size!==e.size)return!1;for(let[i,s]of t.entries())if(!e.has(i)||!Oe(s,e.get(i),r))return!1;return!0}case Ss:{if(t.size!==e.size)return!1;let i=Array.from(t.values()),s=Array.from(e.values());for(let l=0;lOe(f,g,r));if(h===-1)return!1;s.splice(h,1)}return!0}case ws:case Fs:case Ts:case Os:case Rs:case Is:case _s:case Bs:case Ps:case Ls:case Ns:case ks:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let i=0;i{let r=e.type;if(t==null||!r||e.mapping)return t;switch(r.name){case"string":return String(t);case"enum":return t;case"number":return Number(t);case"boolean":return String(t)==="true";case"array":return!r.value||!Array.isArray(t)?tt:t.reduce((n,o,u)=>{let a=Fr(o,{type:r.value});return a!==tt&&(n[u]=a),n},new Array(t.length));case"object":return typeof t=="string"||typeof t=="number"?t:!r.value||typeof t!="object"?tt:Object.entries(t).reduce((n,[o,u])=>{let a=Fr(u,{type:r.value[o]});return a===tt?n:Object.assign(n,{[o]:a})},{});default:return tt}},"map"),js=p((t,e)=>Object.entries(t).reduce((r,[n,o])=>{if(!e[n])return r;let u=Fr(o,e[n]);return u===tt?r:Object.assign(r,{[n]:u})},{}),"mapArgsToTypes"),Tr=p((t,e)=>Array.isArray(t)&&Array.isArray(e)?e.reduce((r,n,o)=>(r[o]=Tr(t[o],e[o]),r),[...t]).filter(r=>r!==void 0):!Te(t)||!Te(e)?e:Object.keys({...t,...e}).reduce((r,n)=>{if(n in e){let o=Tr(t[n],e[n]);o!==void 0&&(r[n]=o)}else r[n]=t[n];return r},{}),"combineArgs"),Ms=p((t,e)=>Object.entries(e).reduce((r,[n,{options:o}])=>{function u(){return n in t&&(r[n]=t[n]),r}if(p(u,"allowArg"),!o)return u();if(!Array.isArray(o))return Ne.error(De` + Invalid argType: '${n}.options' should be an array. + + More info: https://storybook.js.org/docs/api/arg-types + `),u();if(o.some(h=>h&&["object","function"].includes(typeof h)))return Ne.error(De` + Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. + + More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + `),u();let a=Array.isArray(t[n]),i=a&&t[n].findIndex(h=>!o.includes(h)),s=a&&i===-1;if(t[n]===void 0||o.includes(t[n])||s)return u();let l=a?`${n}[${i}]`:n,f=o.map(h=>typeof h=="string"?`'${h}'`:String(h)).join(", ");return Ne.warn(`Received illegal value for '${l}'. Supported options: ${f}`),r},{}),"validateOptions"),mt=Symbol("Deeply equal"),qt=p((t,e)=>{if(typeof t!=typeof e)return e;if(gu(t,e))return mt;if(Array.isArray(t)&&Array.isArray(e)){let r=e.reduce((n,o,u)=>{let a=qt(t[u],o);return a!==mt&&(n[u]=a),n},new Array(e.length));return e.length>=t.length?r:r.concat(new Array(t.length-e.length).fill(void 0))}return Te(t)&&Te(e)?Object.keys({...t,...e}).reduce((r,n)=>{let o=qt(t?.[n],e?.[n]);return o===mt?r:Object.assign(r,{[n]:o})},{}):e},"deepDiff"),yu="UNTARGETED";function bu({args:t,argTypes:e}){let r={};return Object.entries(t).forEach(([n,o])=>{let{target:u=yu}=e[n]||{};r[u]=r[u]||{},r[u][n]=o}),r}p(bu,"groupArgsByTarget");function Eu(t){return Object.keys(t).forEach(e=>t[e]===void 0&&delete t[e]),t}p(Eu,"deleteUndefined");var Au=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let r=qt(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,r!==mt&&this.updateFromDelta(e,r)}}updateFromDelta(e,r){let n=Ms(r,e.argTypes);this.argsByStoryId[e.id]=Tr(this.argsByStoryId[e.id],n)}updateFromPersisted(e,r){let n=js(r,e.argTypes);return this.updateFromDelta(e,n)}update(e,r){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=Eu({...this.argsByStoryId[e],...r})}};p(Au,"ArgsStore");var qs=Au,Su=p((t={})=>Object.entries(t).reduce((e,[r,{defaultValue:n}])=>(typeof n<"u"&&(e[r]=n),e),{}),"getValuesFromArgTypes"),wu=class{constructor({globals:e={},globalTypes:r={}}){this.set({globals:e,globalTypes:r})}set({globals:e={},globalTypes:r={}}){let n=this.initialGlobals&&qt(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(r)]);let o=Su(r);this.initialGlobals={...o,...e},this.globals=this.initialGlobals,n&&n!==mt&&this.updateFromPersisted(n)}filterAllowedGlobals(e){return Object.entries(e).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:ee.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(e){let r=this.filterAllowedGlobals(e);this.globals={...this.globals,...r}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)}}};p(wu,"GlobalsStore");var $s=wu,zs=ot(eu(),1),Hs=(0,zs.default)(1)(t=>Object.values(t).reduce((e,r)=>(e[r.importPath]=e[r.importPath]||r,e),{})),Cu=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let r=Object.values(this.entries);if(e==="*")return r[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:r.find(u=>u.id.startsWith(e));let{name:n,title:o}=e;return r.find(u=>u.name===n&&u.title===o)}storyIdToEntry(e){let r=this.entries[e];if(!r)throw new ao({storyId:e});return r}importPathToEntry(e){return Hs(this.entries)[e]}};p(Cu,"StoryIndexStore");var Us=Cu,Vs=p(t=>typeof t=="string"?{name:t}:t,"normalizeType"),Gs=p(t=>typeof t=="string"?{type:t}:t,"normalizeControl"),Ws=p((t,e)=>{let{type:r,control:n,...o}=t,u={name:e,...o};return r&&(u.type=Vs(r)),n?u.control=Gs(n):n===!1&&(u.control={disable:!0}),u},"normalizeInputType"),$t=p(t=>Ke(t,Ws),"normalizeInputTypes"),se=p(t=>Array.isArray(t)?t:t?[t]:[],"normalizeArrays"),Ys=De` +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. +`;function Vr(t,e,r){let n=e,o=typeof e=="function"?e:null,{story:u}=n;u&&(ee.debug("deprecated story",u),Be(Ys));let a=ko(t),i=typeof n!="function"&&n.name||n.storyName||u?.name||a,s=[...se(n.decorators),...se(u?.decorators)],l={...u?.parameters,...n.parameters},f={...u?.args,...n.args},h={...u?.argTypes,...n.argTypes},g=[...se(n.loaders),...se(u?.loaders)],b=[...se(n.beforeEach),...se(u?.beforeEach)],{render:w,play:v,tags:S=[],globals:A={}}=n,E=l.__id||No(r.id,a);return{moduleExport:e,id:E,name:i,tags:S,decorators:s,parameters:l,args:f,argTypes:$t(h),loaders:g,beforeEach:b,globals:A,...w&&{render:w},...o&&{userStoryFn:o},...v&&{play:v}}}p(Vr,"normalizeStory");function Gr(t,e=t.title,r){let{id:n,argTypes:o}=t;return{id:gr(n||e),...t,title:e,...o&&{argTypes:$t(o)},parameters:{fileName:r,...t.parameters}}}p(Gr,"normalizeComponentAnnotations");var Ks=p(t=>{let{globals:e,globalTypes:r}=t;(e||r)&&ee.error("Global args/argTypes can only be set globally",JSON.stringify({globals:e,globalTypes:r}))},"checkGlobals"),Xs=p(t=>{let{options:e}=t;e?.storySort&&ee.error("The storySort option parameter can only be set globally")},"checkStorySort"),zo=p(t=>{t&&(Ks(t),Xs(t))},"checkDisallowedParameters");function vu(t,e,r){let{default:n,__namedExportsOrder:o,...u}=t,a=Gr(n,r,e);zo(a.parameters);let i={meta:a,stories:{},moduleExports:t};return Object.keys(u).forEach(s=>{if(Nt(s,a)){let l=Vr(s,u[s],a);zo(l.parameters),i.stories[l.id]=l}}),i}p(vu,"processCSFFile");function Du(t){return t!=null&&xu(t).includes("mount")}p(Du,"mountDestructured");function xu(t){let e=t.toString().match(/[^(]*\(([^)]*)/);if(!e)return[];let r=Or(e[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Or(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}p(xu,"getUsedProps");function Or(t){let e=[],r=[],n=0;for(let u=0;ue(n,o)}p(Fu,"decorateStory");function Tu({componentId:t,title:e,kind:r,id:n,name:o,story:u,parameters:a,initialArgs:i,argTypes:s,...l}={}){return l}p(Tu,"sanitizeStoryContextUpdate");function Ou(t,e){let r={},n=p(u=>a=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Tu(a)},u(r.value)},"bindWithContext"),o=e.reduce((u,a)=>Fu(u,a,n),t);return u=>(r.value=u,o(u))}p(Ou,"defaultDecorateStory");var Xe=p((...t)=>{let e={},r=t.filter(Boolean),n=r.reduce((o,u)=>(Object.entries(u).forEach(([a,i])=>{let s=o[a];Array.isArray(i)||typeof s>"u"?o[a]=i:Te(i)&&Te(s)?e[a]=!0:typeof i<"u"&&(o[a]=i)}),o),{});return Object.keys(e).forEach(o=>{let u=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");u.every(a=>Te(a))?n[o]=Xe(...u):n[o]=u[u.length-1]}),n},"combineParameters");function Wr(t,e,r){let{moduleExport:n,id:o,name:u}=t||{},a=Yr(t,e,r),i=p(async I=>{let R={};for(let T of[..."__STORYBOOK_TEST_LOADERS__"in ce&&Array.isArray(ce.__STORYBOOK_TEST_LOADERS__)?[ce.__STORYBOOK_TEST_LOADERS__]:[],se(r.loaders),se(e.loaders),se(t.loaders)]){if(I.abortSignal.aborted)return R;let x=await Promise.all(T.map(P=>P(I)));Object.assign(R,...x)}return R},"applyLoaders"),s=p(async I=>{let R=new Array;for(let T of[...se(r.beforeEach),...se(e.beforeEach),...se(t.beforeEach)]){if(I.abortSignal.aborted)return R;let x=await T(I);x&&R.push(x)}return R},"applyBeforeEach"),l=p(I=>I.originalStoryFn(I.args,I),"undecoratedStoryFn"),{applyDecorators:f=Ou,runStep:h}=r,g=[...se(t?.decorators),...se(e?.decorators),...se(r?.decorators)],b=t?.userStoryFn||t?.render||e.render||r.render,w=os(f)(l,g),v=p(I=>w(I),"unboundStoryFn"),S=t?.play??e?.play,A=Du(S);if(!b&&!A)throw new Fo({id:o});let E=p(I=>async()=>(await I.renderToCanvas(),I.canvas),"defaultMount"),O=t.mount??e.mount??r.mount??E,F=r.testingLibraryRender;return{storyGlobals:{},...a,moduleExport:n,id:o,name:u,story:u,originalStoryFn:b,undecoratedStoryFn:l,unboundStoryFn:v,applyLoaders:i,applyBeforeEach:s,playFunction:S,runStep:h,mount:O,testingLibraryRender:F,renderToCanvas:r.renderToCanvas,usesMount:A}}p(Wr,"prepareStory");function Ru(t,e,r){return{...Yr(void 0,t,e),moduleExport:r}}p(Ru,"prepareMeta");function Yr(t,e,r){let n=["dev","test"],o=ce.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],u=jo(...n,...o,...r.tags??[],...e.tags??[],...t?.tags??[]),a=Xe(r.parameters,e.parameters,t?.parameters),{argTypesEnhancers:i=[],argsEnhancers:s=[]}=r,l=Xe(r.argTypes,e.argTypes,t?.argTypes);if(t){let A=t?.userStoryFn||t?.render||e.render||r.render;a.__isArgsStory=A&&A.length>0}let f={...r.args,...e.args,...t?.args},h={...e.globals,...t?.globals},g={componentId:e.id,title:e.title,kind:e.title,id:t?.id||e.id,name:t?.name||"__meta",story:t?.name||"__meta",component:e.component,subcomponents:e.subcomponents,tags:u,parameters:a,initialArgs:f,argTypes:l,storyGlobals:h};g.argTypes=i.reduce((A,E)=>E({...g,argTypes:A}),g.argTypes);let b={...f};g.initialArgs=s.reduce((A,E)=>({...A,...E({...g,initialArgs:A})}),b);let{name:w,story:v,...S}=g;return S}p(Yr,"preparePartialAnnotations");function Kr(t){let{args:e}=t,r={...t,allArgs:void 0,argsByTarget:void 0};if(ce.FEATURES?.argTypeTargetsV7){let u=bu(t);r={...t,allArgs:t.args,argsByTarget:u,args:u[yu]||{}}}let n=Object.entries(r.args).reduce((u,[a,i])=>{if(!r.argTypes[a]?.mapping)return u[a]=i,u;let s=p(l=>{let f=r.argTypes[a].mapping;return f&&l in f?f[l]:l},"mappingFn");return u[a]=Array.isArray(i)?i.map(s):s(i),u},{}),o=Object.entries(n).reduce((u,[a,i])=>{let s=r.argTypes[a]||{};return Lo(s,n,r.globals)&&(u[a]=i),u},{});return{...r,unmappedArgs:e,args:o}}p(Kr,"prepareContext");var Rr=p((t,e,r)=>{let n=typeof t;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return t?r.has(t)?(ee.warn(De` + We've detected a cycle in arg '${e}'. Args should be JSON-serializable. + + Consider using the mapping feature or fully custom args: + - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(t),Array.isArray(t)?{name:"array",value:t.length>0?Rr(t[0],e,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Ke(t,o=>Rr(o,e,new Set(r)))}):{name:"object",value:{}}},"inferType"),Iu=p(t=>{let{id:e,argTypes:r={},initialArgs:n={}}=t,o=Ke(n,(a,i)=>({name:i,type:Rr(a,`${e}.${i}`,new Set)})),u=Ke(r,(a,i)=>({name:i}));return Xe(o,u,r)},"inferArgTypes");Iu.secondPass=!0;var Ho=p((t,e)=>Array.isArray(e)?e.includes(t):t.match(e),"matches"),Js=p((t,e,r)=>!e&&!r?t:t&&mu(t,(n,o)=>{let u=n.name||o.toString();return!!(!e||Ho(u,e))&&(!r||!Ho(u,r))}),"filterArgTypes"),Qs=p((t,e,r)=>{let{type:n,options:o}=t;if(n){if(r.color&&r.color.test(e)){let u=n.name;if(u==="string")return{control:{type:"color"}};u!=="enum"&&ee.warn(`Addon controls: Control of type color only supports string, received "${u}" instead`)}if(r.date&&r.date.test(e))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:u}=n;return{control:{type:u?.length<=5?"radio":"select"},options:u}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),_u=p(t=>{let{argTypes:e,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:u={}}={}}}=t;if(!r)return e;let a=Js(e,n,o),i=Ke(a,(s,l)=>s?.type&&Qs(s,l.toString(),u));return Xe(i,a)},"inferControls");_u.secondPass=!0;function zt({argTypes:t,globalTypes:e,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:u,globals:a,initialGlobals:i,...s}){return a&&Object.keys(a).length>0&&Be(De` + 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 + `),{...t&&{argTypes:$t(t)},...e&&{globalTypes:$t(e)},decorators:se(n),loaders:se(o),beforeEach:se(u),argTypesEnhancers:[...r||[],Iu,_u],initialGlobals:Xe(i,a),...s}}p(zt,"normalizeProjectAnnotations");var Zs=p(t=>async()=>{let e=[];for(let r of t){let n=await r();n&&e.unshift(n)}return async()=>{for(let r of e)await r()}},"composeBeforeAllHooks");function Bu(t){return async(e,r,n)=>{await t.reduceRight((o,u)=>async()=>u(e,o,n),async()=>r(n))()}}p(Bu,"composeStepRunners");function nt(t,e){return t.map(r=>r.default?.[e]??r[e]).filter(Boolean)}p(nt,"getField");function ke(t,e,r={}){return nt(t,e).reduce((n,o)=>{let u=se(o);return r.reverseFileOrder?[...u,...n]:[...n,...u]},[])}p(ke,"getArrayField");function rt(t,e){return Object.assign({},...nt(t,e))}p(rt,"getObjectField");function We(t,e){return nt(t,e).pop()}p(We,"getSingletonField");function Ht(t){let e=ke(t,"argTypesEnhancers"),r=nt(t,"runStep"),n=ke(t,"beforeAll");return{parameters:Xe(...nt(t,"parameters")),decorators:ke(t,"decorators",{reverseFileOrder:!(ce.FEATURES?.legacyDecoratorFileOrder??!1)}),args:rt(t,"args"),argsEnhancers:ke(t,"argsEnhancers"),argTypes:rt(t,"argTypes"),argTypesEnhancers:[...e.filter(o=>!o.secondPass),...e.filter(o=>o.secondPass)],globals:rt(t,"globals"),initialGlobals:rt(t,"initialGlobals"),globalTypes:rt(t,"globalTypes"),loaders:ke(t,"loaders"),beforeAll:Zs(n),beforeEach:ke(t,"beforeEach"),render:We(t,"render"),renderToCanvas:We(t,"renderToCanvas"),renderToDOM:We(t,"renderToDOM"),applyDecorators:We(t,"applyDecorators"),runStep:Bu(r),tags:ke(t,"tags"),mount:We(t,"mount"),testingLibraryRender:We(t,"testingLibraryRender")}}p(Ht,"composeConfigs");function el(t){globalThis.defaultProjectAnnotations=t}p(el,"setDefaultProjectAnnotations");var tl="ComposedStory",rl="Unnamed Story";function Pu(t){return t?"default"in t?t.default:t:{}}p(Pu,"extractAnnotation");function nl(t){let e=Array.isArray(t)?t:[t];return globalThis.globalProjectAnnotations=Ht(e.map(Pu)),Ht([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}p(nl,"setProjectAnnotations");var je=[];function Lu(t,e,r,n,o){if(t===void 0)throw new Error("Expected a story but received undefined.");e.title=e.title??tl;let u=Gr(e),a=o||t.storyName||t.story?.name||t.name||rl,i=Vr(a,t,u),s=zt(Ht([n&&Object.keys(n).length>0?n:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),l=Wr(i,u,s),f={...Su(s.globalTypes),...s.initialGlobals,...l.storyGlobals},h=p(()=>{let S=Kr({hooks:new lu,globals:f,args:{...l.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:p((A,E)=>l.runStep(A,E,S),"step"),canvasElement:null,canvas:{},globalTypes:s.globalTypes,...l,context:null,mount:null});return S.context=S,l.renderToCanvas&&(S.renderToCanvas=async()=>{let A=await l.renderToCanvas?.({componentId:l.componentId,title:l.title,id:l.id,name:l.name,tags:l.tags,showMain:p(()=>{},"showMain"),showError:p(E=>{throw new Error(`${E.title} +${E.description}`)},"showError"),showException:p(E=>{throw E},"showException"),forceRemount:!0,storyContext:S,storyFn:p(()=>l.unboundStoryFn(S),"storyFn"),unboundStoryFn:l.unboundStoryFn},S.canvasElement);A&&je.push(A)}),S.mount=l.mount(S),S},"initializeContext"),g,b=p(async S=>{let A=h();return A.canvasElement??=globalThis?.document?.body,g&&(A.loaded=g.loaded),Object.assign(A,S),l.playFunction(A)},"play"),w=p(S=>{let A=h();return Object.assign(A,S),Nu(l,A)},"run"),v=l.playFunction?b:void 0;return Object.assign(p(function(S){let A=h();return g&&(A.loaded=g.loaded),A.args={...A.initialArgs,...S},l.unboundStoryFn(A)},"storyFn"),{id:l.id,storyName:a,load:p(async()=>{for(let A of[...je].reverse())await A();je.length=0;let S=h();S.loaded=await l.applyLoaders(S),je.push(...(await l.applyBeforeEach(S)).filter(Boolean)),g=S},"load"),globals:f,args:l.initialArgs,parameters:l.parameters,argTypes:l.argTypes,play:v,run:w,tags:l.tags})}p(Lu,"composeStory");var ol=p((t,e,r,n)=>Lu(t,e,r,{},n),"defaultComposeStory");function ul(t,e,r=ol){let{default:n,__esModule:o,__namedExportsOrder:u,...a}=t;return Object.entries(a).reduce((i,[s,l])=>Nt(s,n)?Object.assign(i,{[s]:r(l,n,e,s)}):i,{})}p(ul,"composeStories");function al(t){return t.extend({mount:p(async({mount:e,page:r},n)=>{await n(async(o,...u)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(De` + 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 i=>{let s=await globalThis.__pwUnwrapObject?.(i);return("__pw_type"in s?s.type:s)?.load?.()},o);let a=await e(o,...u);return await r.evaluate(async i=>{let s=await globalThis.__pwUnwrapObject?.(i),l="__pw_type"in s?s.type:s,f=document.querySelector("#root");return l?.play?.({canvasElement:f})},o),a})},"mount")})}p(al,"createPlaywrightTest");async function Nu(t,e){for(let o of[...je].reverse())await o();if(je.length=0,!e.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),e.canvasElement=o,je.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(e.loaded=await t.applyLoaders(e),e.abortSignal.aborted)return;je.push(...(await t.applyBeforeEach(e)).filter(Boolean));let r=t.playFunction,n=t.usesMount;n||await e.mount(),!e.abortSignal.aborted&&r&&(n||(e.mount=async()=>{throw new Lt({playFunction:r.toString()})}),await r(e))}p(Nu,"runStory");function Ir(t,e){return hu(fu(t,e),r=>r===void 0)}p(Ir,"picky");var Uo=1e3,il=1e4,ku=class{constructor(e,r,n){this.importFn=r,this.getStoriesJsonData=p(()=>{let a=this.getSetStoriesPayload(),i=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Ke(a.stories,s=>{let{importPath:l}=this.storyIndex.entries[s.id];return{...Ir(s,["id","name","title"]),importPath:l,kind:s.title,story:s.name,parameters:{...Ir(s.parameters,i),fileName:l}}})}},"getStoriesJsonData"),this.storyIndex=new Us(e),this.projectAnnotations=zt(n);let{initialGlobals:o,globalTypes:u}=this.projectAnnotations;this.args=new qs,this.userGlobals=new $s({globals:o,globalTypes:u}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ar.default)(Uo)(vu),this.prepareMetaWithCache=(0,Ar.default)(Uo)(Ru),this.prepareStoryWithCache=(0,Ar.default)(il)(Wr)}setProjectAnnotations(e){this.projectAnnotations=zt(e);let{initialGlobals:r,globalTypes:n}=e;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:e,storyIndex:r}){e&&(this.importFn=e),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(e),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{e[n]=r}),(await Promise.all(Object.entries(e).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:e}){let r=e.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let r=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:r})}storyFromCSFFile({storyId:e,csfFile:r}){let n=r.stories[e];if(!n)throw new wo({storyId:e});let o=r.meta,u=this.prepareStoryWithCache(n,o,this.projectAnnotations);return this.args.setInitial(u),this.hooks[u.id]=this.hooks[u.id]||new lu,u}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(r=>!!e.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:e}))}async loadEntry(e){let r=await this.storyIdToEntry(e),n=r.type==="docs"?r.storiesImports:[],[o,...u]=await Promise.all([this.importFn(r.importPath),...n.map(a=>{let i=this.storyIndex.importPathToEntry(a);return this.loadCSFFileByStoryId(i.id)})]);return{entryExports:o,csfFiles:u}}getStoryContext(e,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return Kr({...e,args:r?e.initialArgs:this.args.get(e.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,globals:{...n,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,r){this.cleanupCallbacks[e.id]=r}async cleanupStory(e){this.hooks[e.id].clean();let r=this.cleanupCallbacks[e.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new so;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:u,importPath:a}])=>{if(u==="docs")return n;let i=r[a],s=this.storyFromCSFFile({storyId:o,csfFile:i});return!e.includeDocsOnly&&s.parameters.docsOnly||(n[o]=Object.entries(s).reduce((l,[f,h])=>f==="moduleExport"||typeof h=="function"?l:Array.isArray(h)?Object.assign(l,{[f]:h.slice().sort()}):Object.assign(l,{[f]:h}),{args:s.initialArgs})),n},{})}getSetStoriesPayload(){let e=this.extract({includeDocsOnly:!0}),r=Object.values(e).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:e}}raw(){return Be("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:e})=>this.fromId(e)).filter(Boolean)}fromId(e){if(Be("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(e))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:e,csfFile:n});return{...o,storyFn:p(u=>{let a={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:p((i,s)=>o.runStep(i,s,a),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...a,...u})},"storyFn")}}};p(ku,"StoryStore");var sl=ku;function ju(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}p(ju,"slash");var ll=p(t=>{if(t.length===0)return t;let e=t[t.length-1],r=e?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(t.length===1)return[r];let n=t[t.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...t.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(e)||/^index$/i.test(r))?t.slice(0,-1):[...t.slice(0,-1),r]},"sanitize");function _r(t){return t.flatMap(e=>e.split("/")).filter(Boolean).join("/")}p(_r,"pathJoin");var cl=p((t,e,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:u=""}=e||{};typeof t=="number"&&Ne.warn(De` + 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 a=ju(String(t));if(o.exec(a)){if(!r){let i=a.replace(n,""),s=_r([u,i]).split("/");return s=ll(s),s.join("/")}return u?_r([u,r]):r}},"userOrAutoTitleFromSpecifier"),Wm=p((t,e,r)=>{for(let n=0;n(e,r)=>{if(e.title===r.title&&!t.includeNames)return 0;let n=t.method||"configure",o=t.order||[],u=e.title.trim().split(Vo),a=r.title.trim().split(Vo);t.includeNames&&(u.push(e.name),a.push(r.name));let i=0;for(;u[i]||a[i];){if(!u[i])return-1;if(!a[i])return 1;let s=u[i],l=a[i];if(s!==l){let h=o.indexOf(s),g=o.indexOf(l),b=o.indexOf("*");return h!==-1||g!==-1?(h===-1&&(b!==-1?h=b:h=o.length),g===-1&&(b!==-1?g=b:g=o.length),h-g):n==="configure"?0:s.localeCompare(l,t.locales?t.locales:void 0,{numeric:!0,sensitivity:"accent"})}let f=o.indexOf(s);f===-1&&(f=o.indexOf("*")),o=f!==-1&&Array.isArray(o[f+1])?o[f+1]:[],i+=1}return 0},"storySort"),dl=p((t,e,r)=>{if(e){let n;typeof e=="function"?n=e:n=pl(e),t.sort(n)}else t.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return t},"sortStoriesCommon"),Ym=p((t,e,r)=>{try{return dl(t,e,r)}catch(n){throw new Error(De` + Error sorting stories with sort parameter ${e}: + + > ${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"),Gt=new Error("prepareAborted"),{AbortController:Go}=globalThis;function Br(t){try{let{name:e="Error",message:r=String(t),stack:n}=t;return{name:e,message:r,stack:n}}catch{return{name:"Error",message:String(t)}}}p(Br,"serializeError");var Mu=class{constructor(e,r,n,o,u,a,i={autoplay:!0,forceInitialArgs:!1},s){this.channel=e,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=u,this.viewMode=a,this.renderOptions=i,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=p(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Go,s&&(this.story=s,this.phase="preparing")}async runPhase(e,r,n){this.phase=r,this.channel.emit(_e,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted?(this.phase="aborted",this.channel.emit(_e,{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),Gt}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!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:u,componentId:a,title:i,name:s,tags:l,applyLoaders:f,applyBeforeEach:h,unboundStoryFn:g,playFunction:b,runStep:w}=o;r&&!e&&(this.cancelRender(),this.abortController=new Go);let v=this.abortController.signal,S=!1,A=o.usesMount;try{let E={...this.storyContext(),viewMode:this.viewMode,abortSignal:v,canvasElement:n,loaded:{},step:p((x,P)=>w(x,P,E),"step"),context:null,canvas:{},renderToCanvas:p(async()=>{let x=await this.renderToScreen(O,n);this.teardownRender=x||(()=>{}),S=!0},"renderToCanvas"),mount:p(async(...x)=>{this.callbacks.showStoryDuringRender?.();let P=null;return await this.runPhase(v,"rendering",async()=>{P=await o.mount(E)(...x)}),A&&await this.runPhase(v,"playing"),P},"mount")};E.context=E;let O={componentId:a,title:i,kind:i,id:u,name:s,story:s,tags:l,...this.callbacks,showError:p(x=>(this.phase="errored",this.callbacks.showError(x)),"showError"),showException:p(x=>(this.phase="errored",this.callbacks.showException(x)),"showException"),forceRemount:r||this.notYetRendered,storyContext:E,storyFn:p(()=>g(E),"storyFn"),unboundStoryFn:g};if(await this.runPhase(v,"loading",async()=>{E.loaded=await f(E)}),v.aborted)return;let F=await h(E);if(this.store.addCleanupCallbacks(o,F),this.checkIfAborted(v)||(!S&&!A&&await E.mount(),this.notYetRendered=!1,v.aborted))return;let I=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,R=new Set,T=p(x=>R.add("error"in x?x.error:x.reason),"onError");if(this.renderOptions.autoplay&&r&&b&&this.phase!=="errored"){window.addEventListener("error",T),window.addEventListener("unhandledrejection",T),this.disableKeyListeners=!0;try{if(A?await b(E):(E.mount=async()=>{throw new Lt({playFunction:b.toString()})},await this.runPhase(v,"playing",async()=>b(E))),!S)throw new Oo;this.checkIfAborted(v),!I&&R.size>0?await this.runPhase(v,"errored"):await this.runPhase(v,"played")}catch(x){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(v,"errored",async()=>{this.channel.emit(Ot,Br(x))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw x;console.error(x)}if(!I&&R.size>0&&this.channel.emit(_t,Array.from(R).map(Br)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",T),window.removeEventListener("error",T),v.aborted)return}await this.runPhase(v,"completed",async()=>this.channel.emit(ht,u))}catch(E){this.phase="errored",this.callbacks.showException(E)}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 e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};p(Mu,"StoryRender");var Pr=Mu,{fetch:hl}=ce,fl="./index.json",qu=class{constructor(e,r,n=qe.getChannel(),o=!0){this.importFn=e,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((u,a)=>{this.resolveStoreInitializationPromise=u,this.rejectStoreInitializationPromise=a}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:p((e,r)=>{if(this.storyStoreValue)return Be("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new vo},"get")})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e)}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Jn,this.onStoryIndexChanged.bind(this)),this.channel.on(Bt,this.onUpdateGlobals.bind(this)),this.channel.on(Pt,this.onUpdateArgs.bind(this)),this.channel.on(zn,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Rt,this.onResetArgs.bind(this)),this.channel.on(Tt,this.onForceReRender.bind(this)),this.channel.on(dt,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new co;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(e){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await e.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let e=await hl(fl);if(e.status===200)return e.json();throw new fo({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new sl(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new be({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(Wn,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;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 e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:r}){if(!this.storyStoreValue)throw new be({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:r})}async onUpdateGlobals({globals:e,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new be({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),r){let{initialGlobals:n,storyGlobals:o,userGlobals:u,globals:a}=this.storyStoreValue.getStoryContext(r);this.channel.emit(et,{initialGlobals:n,userGlobals:u,storyGlobals:o,globals:a})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(et,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:r}){if(!this.storyStoreValue)throw new be({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,r),await Promise.all(this.storyRenders.filter(n=>n.id===e&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(Yn,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(pr,{id:e,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(pr,{id:e,success:!1,error:n?.message})}}async onResetArgs({storyId:e,argNames:r}){if(!this.storyStoreValue)throw new be({methodName:"onResetArgs"});let n=this.storyRenders.find(u=>u.id===e)?.story||await this.storyStoreValue.loadStory({storyId:e}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((u,a)=>(u[a]=n.initialArgs[a],u),{});await this.onUpdateArgs({storyId:e,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(r=>r.id===e).map(r=>r.remount()))}renderStoryToElement(e,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new be({methodName:"renderStoryToElement"});let u=new Pr(this.channel,this.storyStoreValue,this.renderToCanvas,n,e.id,"docs",o,e);return u.renderToElement(r),this.storyRenders.push(u),async()=>{await this.teardownRender(u)}}async teardownRender(e,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==e),await e?.teardown?.({viewModeChanged:r})}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new be({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new be({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:r})}async extract(e){if(!this.storyStoreValue)throw new be({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,r){this.previewEntryError=r,ee.error(e),ee.error(r),this.channel.emit(Hn,r)}};p(qu,"Preview");var ml=qu,gl=!1,Sr="Invariant failed";function jt(t,e){if(!t){if(gl)throw new Error(Sr);var r=typeof e=="function"?e():e,n=r?"".concat(Sr,": ").concat(r):Sr;throw new Error(n)}}p(jt,"invariant");var $u=class{constructor(e,r,n,o){this.channel=e,this.store=r,this.renderStoryToElement=n,this.storyIdByName=p(u=>{let a=this.nameToStoryId.get(u);if(a)return a;throw new Error(`No story found with that name: ${u}`)},"storyIdByName"),this.componentStories=p(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=p(u=>this.store.componentStoriesFromCSFFile({csfFile:u}),"componentStoriesFromCSFFile"),this.storyById=p(u=>{if(!u){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let a=this.storyIdToCSFFile.get(u);if(!a)throw new Error(`Called \`storyById\` for story that was never loaded: ${u}`);return this.store.storyFromCSFFile({storyId:u,csfFile:a})},"storyById"),this.getStoryContext=p(u=>({...this.store.getStoryContext(u),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=p(u=>this.store.loadStory({storyId:u}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((u,a)=>{this.referenceCSFFile(u)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{let n=e.stories[r.id];this.storyIdToCSFFile.set(n.id,e),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(e,r){let n=this.resolveModuleExport(e);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:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="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(e==="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(e){let r=this.exportsToCSFFile.get(e);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(e);return n?{type:"story",story:n}:{type:"component",component:e}}resolveOf(e,r=[]){let n;if(["component","meta","story"].includes(e)){let o=e;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(e);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(De`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}}};p($u,"DocsContext");var zu=$u,Hu=class{constructor(e,r,n,o){this.channel=e,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Gt;let{importPath:n,title:o}=this.entry,u=this.store.processCSFFileWithCache(e,n,o),a=Object.keys(u.stories)[0];this.story=this.store.storyFromCSFFile({storyId:a,csfFile:u}),this.csfFiles=[u,...r],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new zu(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(e,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 u=await o.renderer(),{render:a}=u,i=p(async()=>{try{await a(n,o,e),this.channel.emit(Ft,this.id)}catch(s){this.callbacks.showException(s)}},"renderDocs");return this.rerender=async()=>i(),this.teardownRender=async({viewModeChanged:s})=>{!s||!e||u.unmount(e)},i()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}};p(Hu,"CsfDocsRender");var Wo=Hu,Uu=class{constructor(e,r,n,o){this.channel=e,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Gt;this.csfFiles=r,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new zu(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,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 u={...o,page:this.exports.default},a=await o.renderer(),{render:i}=a,s=p(async()=>{try{await i(n,u,e),this.channel.emit(Ft,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l}={})=>{!l||!e||(a.unmount(e),this.torndown=!0)},s()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}};p(Uu,"MdxDocsRender");var Yo=Uu,yl=globalThis;function Vu(t){let e=t.composedPath&&t.composedPath()[0]||t.target;return/input|textarea/i.test(e.tagName)||e.getAttribute("contenteditable")!==null}p(Vu,"focusInInput");var Gu="attached-mdx",bl="unattached-mdx";function Wu({tags:t}){return t?.includes(bl)||t?.includes(Gu)}p(Wu,"isMdxEntry");function Mt(t){return t.type==="story"}p(Mt,"isStoryRender");function Yu(t){return t.type==="docs"}p(Yu,"isDocsRender");function Ku(t){return Yu(t)&&t.subtype==="csf"}p(Ku,"isCsfDocsRender");var Xu=class extends ml{constructor(e,r,n,o){super(e,r,void 0,!1),this.importFn=e,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),yl.onkeydown=this.onKeydown.bind(this),this.channel.on(hr,this.onSetCurrentStory.bind(this)),this.channel.on(to,this.onUpdateQueryParams.bind(this)),this.channel.on(Vn,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new be({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new be({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!n){e==="*"?this.renderStoryLoadingException(e,new bo):this.renderStoryLoadingException(e,new Ao({storySpecifier:e.toString()}));return}let{id:o,type:u}=n;this.selectionStore.setSelection({storyId:o,viewMode:u}),this.channel.emit(Zn,this.selectionStore.selection),this.channel.emit(dr,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:r}){await super.onStoriesChanged({importFn:e,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!Vu(e)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:u,key:a,code:i,keyCode:s}=e;this.channel.emit(Gn,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:u,key:a,code:i,keyCode:s}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(dr,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let r=this.currentRender instanceof Pr&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:r}),(this.currentRender instanceof Yo||this.currentRender instanceof Wo)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:e,updatedArgs:r}){super.onUpdateArgs({storyId:e,updatedArgs:r})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:e}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new be({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,u;try{u=await this.storyStoreValue.storyIdToEntry(o)}catch(g){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,g);return}let a=this.currentSelection?.storyId!==o,i=this.currentRender?.type!==u.type;u.type==="story"?this.view.showPreparingStory({immediate:i}):this.view.showPreparingDocs({immediate:i}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let s;u.type==="story"?s=new Pr(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Wu(u)?s=new Yo(this.channel,this.storyStoreValue,u,this.mainStoryCallbacks(o)):s=new Wo(this.channel,this.storyStoreValue,u,this.mainStoryCallbacks(o));let l=this.currentSelection;this.currentSelection=n;let f=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(g){f&&await this.teardownRender(f),g!==Gt&&this.renderStoryLoadingException(o,g);return}let h=!a&&f&&!s.isEqual(f);if(e&&Mt(s)&&(jt(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,e)),f&&!f.torndown&&!a&&!h&&!i){this.currentRender=f,this.channel.emit(eo,o),this.view.showMain();return}if(f&&await this.teardownRender(f,{viewModeChanged:i}),l&&(a||i)&&this.channel.emit(Kn,o),Mt(s)){jt(!!s.story);let{parameters:g,initialArgs:b,argTypes:w,unmappedArgs:v,initialGlobals:S,userGlobals:A,storyGlobals:E,globals:O}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(Qn,{id:o,parameters:g,initialArgs:b,argTypes:w,args:v}),this.channel.emit(et,{userGlobals:A,storyGlobals:E,globals:O,initialGlobals:S})}else{let{parameters:g}=this.storyStoreValue.projectAnnotations,{initialGlobals:b,globals:w}=this.storyStoreValue.userGlobals;if(this.channel.emit(et,{globals:w,initialGlobals:b,storyGlobals:{},userGlobals:w}),Ku(s)||s.entry.tags?.includes(Gu)){if(!s.csfFiles)throw new go({storyId:o});({parameters:g}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit(Un,{id:o,parameters:g})}Mt(s)?(jt(!!s.story),this.storyRenders.push(s),this.currentRender.renderToElement(this.view.prepareForStory(s.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==e),await e?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(e){return{showStoryDuringRender:p(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:p(()=>this.view.showMain(),"showMain"),showError:p(r=>this.renderError(e,r),"showError"),showException:p(r=>this.renderException(e,r),"showException")}}renderPreviewEntryError(e,r){super.renderPreviewEntryError(e,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(fr)}renderStoryLoadingException(e,r){ee.error(r),this.view.showErrorDisplay(r),this.channel.emit(fr,e)}renderException(e,r){let{name:n="Error",message:o=String(r),stack:u}=r;this.channel.emit(It,{name:n,message:o,stack:u}),this.channel.emit(_e,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay(r),ee.error(`Error rendering story '${e}':`),ee.error(r)}renderError(e,{title:r,description:n}){ee.error(`Error rendering story ${r}: ${n}`),this.channel.emit(Xn,{title:r,description:n}),this.channel.emit(_e,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay({message:r,stack:n})}};p(Xu,"PreviewWithSelection");var El=Xu,Lr=ot(qr(),1),Al=ot(qr(),1),Ko=/^[a-zA-Z0-9 _-]*$/,Ju=/^-?[0-9]+(\.[0-9]+)?$/,Sl=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Qu=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Nr=p((t="",e)=>t===null||t===""||!Ko.test(t)?!1:e==null||e instanceof Date||typeof e=="number"||typeof e=="boolean"?!0:typeof e=="string"?Ko.test(e)||Ju.test(e)||Sl.test(e)||Qu.test(e):Array.isArray(e)?e.every(r=>Nr(t,r)):Te(e)?Object.entries(e).every(([r,n])=>Nr(r,n)):!1,"validateArgs"),wl={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(t){if(t.startsWith("!")){if(t==="!undefined")return;if(t==="!null")return null;if(t==="!true")return!0;if(t==="!false")return!1;if(t.startsWith("!date(")&&t.endsWith(")"))return new Date(t.replaceAll(" ","+").slice(6,-1));if(t.startsWith("!hex(")&&t.endsWith(")"))return`#${t.slice(5,-1)}`;let e=t.slice(1).match(Qu);if(e)return t.startsWith("!rgba")||t.startsWith("!RGBA")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]}, ${e[5]})`:t.startsWith("!hsla")||t.startsWith("!HSLA")?`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%, ${e[5]})`:t.startsWith("!rgb")||t.startsWith("!RGB")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]})`:`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%)`}return Ju.test(t)?Number(t):t}},Xo=p(t=>{let e=t.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Al.parse)(e.join(";"),wl)).reduce((r,[n,o])=>Nr(n,o)?Object.assign(r,{[n]:o}):(Ne.warn(De` + Omitted potentially unsafe URL args. + + More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url + `),r),{})},"parseArgsParam"),{history:Zu,document:Me}=ce;function ea(t){let e=(t||"").match(/^\/story\/(.+)/);if(!e)throw new Error(`Invalid path '${t}', must start with '/story/'`);return e[1]}p(ea,"pathToId");var ta=p(({selection:t,extraParams:e})=>{let r=Me?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:u,...a}=(0,Lr.parse)(r);return`?${(0,Lr.stringify)({...a,...e,...t&&{id:t.storyId,viewMode:t.viewMode}})}`},"getQueryString"),Cl=p(t=>{if(!t)return;let e=ta({selection:t}),{hash:r=""}=Me.location;Me.title=t.storyId,Zu.replaceState({},"",`${Me.location.pathname}${e}${r}`)},"setPath"),vl=p(t=>t!=null&&typeof t=="object"&&Array.isArray(t)===!1,"isObject"),gt=p(t=>{if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t))return gt(t[0]);if(vl(t))return gt(Object.values(t).filter(Boolean))}},"getFirstString"),Dl=p(()=>{if(typeof Me<"u"){let t=Me.location.search.slice(1),e=(0,Lr.parse)(t),r=typeof e.args=="string"?Xo(e.args):void 0,n=typeof e.globals=="string"?Xo(e.globals):void 0,o=gt(e.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let u=gt(e.path),a=u?ea(u):gt(e.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),ra=class{constructor(){this.selectionSpecifier=Dl()}setSelection(e){this.selection=e,Cl(this.selection)}setQueryParams(e){let r=ta({extraParams:e}),{hash:n=""}=Me.location;Zu.replaceState({},"",`${Me.location.pathname}${r}${n}`)}};p(ra,"UrlStore");var xl=ra,Fl=ot(ts(),1),Tl=ot(qr(),1),{document:fe}=ce,Jo=100,na=(t=>(t.MAIN="MAIN",t.NOPREVIEW="NOPREVIEW",t.PREPARING_STORY="PREPARING_STORY",t.PREPARING_DOCS="PREPARING_DOCS",t.ERROR="ERROR",t))(na||{}),wr={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Cr={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Qo=new Fl.default({escapeXML:!0}),oa=class{constructor(){if(this.testing=!1,typeof fe<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,Tl.parse)(fe.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),fe.documentElement.scrollTop=0,fe.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return fe.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),fe.documentElement.scrollTop=0,fe.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return fe.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){fe.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let r=Cr[e];fe.body.classList.remove(this.currentLayoutClass),fe.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(e){Cr[e]||ee.warn(De` + The desired layout: ${e} is not a valid option. + The possible options are: ${Object.keys(Cr).join(", ")}, none. + `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(na).forEach(r=>{r===e?fe.body.classList.add(wr[r]):fe.body.classList.remove(wr[r])})}showErrorDisplay({message:e="",stack:r=""}){let n=e,o=r,u=e.split(` +`);u.length>1&&([n]=u,o=u.slice(1).join(` +`).replace(/^\n/,"")),fe.getElementById("error-message").innerHTML=Qo.toHtml(n),fe.getElementById("error-stack").innerHTML=Qo.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Jo)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Jo)}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(){fe.body.classList.add(wr.MAIN)}};p(oa,"WebView");var Ol=oa,Rl=class extends El{constructor(e,r){super(e,r,new xl,new Ol),this.importFn=e,this.getProjectAnnotations=r,ce.__STORYBOOK_PREVIEW__=this}};p(Rl,"PreviewWeb");var{document:Ye}=ce,Il=["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"],_l="script",Zo="scripts-root";function kr(){let t=Ye.createEvent("Event");t.initEvent("DOMContentLoaded",!0,!0),Ye.dispatchEvent(t)}p(kr,"simulateDOMContentLoaded");function ua(t,e,r){let n=Ye.createElement("script");n.type=t.type==="module"?"module":"text/javascript",t.src?(n.onload=e,n.onerror=e,n.src=t.src):n.textContent=t.innerText,r?r.appendChild(n):Ye.head.appendChild(n),t.parentNode.removeChild(t),t.src||e()}p(ua,"insertScript");function Xr(t,e,r=0){t[r](()=>{r++,r===t.length?e():Xr(t,e,r)})}p(Xr,"insertScriptsSequentially");function Bl(t){let e=Ye.getElementById(Zo);e?e.innerHTML="":(e=Ye.createElement("div"),e.id=Zo,Ye.body.appendChild(e));let r=Array.from(t.querySelectorAll(_l));if(r.length){let n=[];r.forEach(o=>{let u=o.getAttribute("type");(!u||Il.includes(u))&&n.push(a=>ua(o,a,e))}),n.length&&Xr(n,kr,void 0)}else kr()}p(Bl,"simulatePageLoad");var Pl=(t=>typeof ye<"u"?ye:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof ye<"u"?ye:e)[r]}):t)(function(t){if(typeof ye<"u")return ye.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),Ll={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},Nl=Object.entries(Ll);function en(t){return String(t)}en.open="";en.close="";function kl(t=!1){let e=typeof process<"u"?process:void 0,r=e?.env||{},n=e?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||e?.platform==="win32"||t&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function jl(t=!1){let e=kl(t),r=(a,i,s,l)=>{let f="",h=0;do f+=a.substring(h,l)+s,h=l+i.length,l=a.indexOf(i,h);while(~l);return f+a.substring(h)},n=(a,i,s=a)=>{let l=f=>{let h=String(f),g=h.indexOf(i,a.length);return~g?a+r(h,i,s,g)+i:a+h+i};return l.open=a,l.close=i,l},o={isColorSupported:e},u=a=>`\x1B[${a}m`;for(let[a,i]of Nl)o[a]=e?n(u(i[0]),u(i[1]),i[2]):en;return o}var Rg=jl(!1);function Ml(t,e){let r=Object.keys(t),n=e===null?r:r.sort(e);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(t))Object.getOwnPropertyDescriptor(t,o).enumerable&&n.push(o);return n}function tn(t,e,r,n,o,u,a=": "){let i="",s=0,l=t.next();if(!l.done){i+=e.spacingOuter;let f=r+e.indent;for(;!l.done;){if(i+=f,s++===e.maxWidth){i+="\u2026";break}let h=u(l.value[0],e,f,n,o),g=u(l.value[1],e,f,n,o);i+=h+a+g,l=t.next(),l.done?e.min||(i+=","):i+=`,${e.spacingInner}`}i+=e.spacingOuter+r}return i}function fa(t,e,r,n,o,u){let a="",i=0,s=t.next();if(!s.done){a+=e.spacingOuter;let l=r+e.indent;for(;!s.done;){if(a+=l,i++===e.maxWidth){a+="\u2026";break}a+=u(s.value,e,l,n,o),s=t.next(),s.done?e.min||(a+=","):a+=`,${e.spacingInner}`}a+=e.spacingOuter+r}return a}function ma(t,e,r,n,o,u){let a="";t=t instanceof ArrayBuffer?new DataView(t):t;let i=l=>l instanceof DataView,s=i(t)?t.byteLength:t.length;if(s>0){a+=e.spacingOuter;let l=r+e.indent;for(let f=0;f0){a+=e.spacingOuter;let s=r+e.indent;for(let l=0;l{let a=t.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>e.maxDepth?`[${a}]`:`${a+Jr}[${ma(t.sample,e,r,n,o,u)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>e.maxDepth?`[${a}]`:`${a+Jr}{${ga(t.sample,e,r,n,o,u)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Jr+u(t.sample,e,r,n,o);if(typeof t.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${t.constructor.name} does not implement toAsymmetricMatcher()`);return t.toAsymmetricMatcher()},zl=t=>t&&t.$$typeof===ql,Hl={serialize:$l,test:zl},Ul=" ",ya=new Set(["DOMStringMap","NamedNodeMap"]),Vl=/^(?:HTML\w*Collection|NodeList)$/;function Gl(t){return ya.has(t)||Vl.test(t)}var Wl=t=>t&&t.constructor&&!!t.constructor.name&&Gl(t.constructor.name);function Yl(t){return t.constructor.name==="NamedNodeMap"}var Kl=(t,e,r,n,o,u)=>{let a=t.constructor.name;return++n>e.maxDepth?`[${a}]`:(e.min?"":a+Ul)+(ya.has(a)?`{${ga(Yl(t)?[...t].reduce((i,s)=>(i[s.name]=s.value,i),{}):{...t},e,r,n,o,u)}}`:`[${ma([...t],e,r,n,o,u)}]`)},Xl={serialize:Kl,test:Wl};function ba(t){return t.replaceAll("<","<").replaceAll(">",">")}function rn(t,e,r,n,o,u,a){let i=n+r.indent,s=r.colors;return t.map(l=>{let f=e[l],h=a(f,r,i,o,u);return typeof f!="string"&&(h.includes(` +`)&&(h=r.spacingOuter+i+h+r.spacingOuter+n),h=`{${h}}`),`${r.spacingInner+n+s.prop.open+l+s.prop.close}=${s.value.open}${h}${s.value.close}`}).join("")}function nn(t,e,r,n,o,u){return t.map(a=>e.spacingOuter+r+(typeof a=="string"?Ea(a,e):u(a,e,r,n,o))).join("")}function Ea(t,e){let r=e.colors.content;return r.open+ba(t)+r.close}function Jl(t,e){let r=e.colors.comment;return`${r.open}${r.close}`}function on(t,e,r,n,o){let u=n.colors.tag;return`${u.open}<${t}${e&&u.close+e+n.spacingOuter+o+u.open}${r?`>${u.close}${r}${n.spacingOuter}${o}${u.open}${u.close}`}function un(t,e){let r=e.colors.tag;return`${r.open}<${t}${r.close} \u2026${r.open} />${r.close}`}var Ql=1,Aa=3,Sa=8,wa=11,Zl=/^(?:(?:HTML|SVG)\w*)?Element$/;function ec(t){try{return typeof t.hasAttribute=="function"&&t.hasAttribute("is")}catch{return!1}}function tc(t){let e=t.constructor.name,{nodeType:r,tagName:n}=t,o=typeof n=="string"&&n.includes("-")||ec(t);return r===Ql&&(Zl.test(e)||o)||r===Aa&&e==="Text"||r===Sa&&e==="Comment"||r===wa&&e==="DocumentFragment"}var rc=t=>{var e;return((e=t?.constructor)==null?void 0:e.name)&&tc(t)};function nc(t){return t.nodeType===Aa}function oc(t){return t.nodeType===Sa}function Qr(t){return t.nodeType===wa}var uc=(t,e,r,n,o,u)=>{if(nc(t))return Ea(t.data,e);if(oc(t))return Jl(t.data,e);let a=Qr(t)?"DocumentFragment":t.tagName.toLowerCase();return++n>e.maxDepth?un(a,e):on(a,rn(Qr(t)?[]:Array.from(t.attributes,i=>i.name).sort(),Qr(t)?{}:[...t.attributes].reduce((i,s)=>(i[s.name]=s.value,i),{}),e,r+e.indent,n,o,u),nn(Array.prototype.slice.call(t.childNodes||t.children),e,r+e.indent,n,o,u),e,r)},ac={serialize:uc,test:rc},ic="@@__IMMUTABLE_ITERABLE__@@",sc="@@__IMMUTABLE_LIST__@@",lc="@@__IMMUTABLE_KEYED__@@",cc="@@__IMMUTABLE_MAP__@@",aa="@@__IMMUTABLE_ORDERED__@@",pc="@@__IMMUTABLE_RECORD__@@",dc="@@__IMMUTABLE_SEQ__@@",hc="@@__IMMUTABLE_SET__@@",fc="@@__IMMUTABLE_STACK__@@",ut=t=>`Immutable.${t}`,Yt=t=>`[${t}]`,Et=" ",ia="\u2026";function mc(t,e,r,n,o,u,a){return++n>e.maxDepth?Yt(ut(a)):`${ut(a)+Et}{${tn(t.entries(),e,r,n,o,u)}}`}function gc(t){let e=0;return{next(){if(ee.maxDepth?Yt(a):`${a+Et}{${tn(gc(t),e,r,n,o,u)}}`}function bc(t,e,r,n,o,u){let a=ut("Seq");return++n>e.maxDepth?Yt(a):t[lc]?`${a+Et}{${t._iter||t._object?tn(t.entries(),e,r,n,o,u):ia}}`:`${a+Et}[${t._iter||t._array||t._collection||t._iterable?fa(t.values(),e,r,n,o,u):ia}]`}function Zr(t,e,r,n,o,u,a){return++n>e.maxDepth?Yt(ut(a)):`${ut(a)+Et}[${fa(t.values(),e,r,n,o,u)}]`}var Ec=(t,e,r,n,o,u)=>t[cc]?mc(t,e,r,n,o,u,t[aa]?"OrderedMap":"Map"):t[sc]?Zr(t,e,r,n,o,u,"List"):t[hc]?Zr(t,e,r,n,o,u,t[aa]?"OrderedSet":"Set"):t[fc]?Zr(t,e,r,n,o,u,"Stack"):t[dc]?bc(t,e,r,n,o,u):yc(t,e,r,n,o,u),Ac=t=>t&&(t[ic]===!0||t[pc]===!0),Sc={serialize:Ec,test:Ac},sa={exports:{}},V={},la;function wc(){return la||(la=1,function(){var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),a=Symbol.for("react.context"),i=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),w=!1,v=!1,S=!1,A=!1,E=!1,O;O=Symbol.for("react.module.reference");function F(j){return!!(typeof j=="string"||typeof j=="function"||j===r||j===o||E||j===n||j===l||j===f||A||j===b||w||v||S||typeof j=="object"&&j!==null&&(j.$$typeof===g||j.$$typeof===h||j.$$typeof===u||j.$$typeof===a||j.$$typeof===s||j.$$typeof===O||j.getModuleId!==void 0))}function I(j){if(typeof j=="object"&&j!==null){var Z=j.$$typeof;switch(Z){case t:var Y=j.type;switch(Y){case r:case o:case n:case l:case f:return Y;default:var ve=Y&&Y.$$typeof;switch(ve){case i:case a:case s:case g:case h:case u:return ve;default:return Z}}case e:return Z}}}var R=a,T=u,x=t,P=s,N=r,M=g,q=h,$=e,c=o,d=n,y=l,D=f,C=!1,_=!1;function B(j){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function L(j){return _||(_=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function k(j){return I(j)===a}function Q(j){return I(j)===u}function re(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function W(j){return I(j)===s}function ne(j){return I(j)===r}function U(j){return I(j)===g}function ae(j){return I(j)===h}function ge(j){return I(j)===e}function he(j){return I(j)===o}function Ce(j){return I(j)===n}function Ve(j){return I(j)===l}function ct(j){return I(j)===f}V.ContextConsumer=R,V.ContextProvider=T,V.Element=x,V.ForwardRef=P,V.Fragment=N,V.Lazy=M,V.Memo=q,V.Portal=$,V.Profiler=c,V.StrictMode=d,V.Suspense=y,V.SuspenseList=D,V.isAsyncMode=B,V.isConcurrentMode=L,V.isContextConsumer=k,V.isContextProvider=Q,V.isElement=re,V.isForwardRef=W,V.isFragment=ne,V.isLazy=U,V.isMemo=ae,V.isPortal=ge,V.isProfiler=he,V.isStrictMode=Ce,V.isSuspense=Ve,V.isSuspenseList=ct,V.isValidElementType=F,V.typeOf=I}()),V}var ca;function Cc(){return ca||(ca=1,sa.exports=wc()),sa.exports}var Je=Cc();function Ca(t,e=[]){if(Array.isArray(t))for(let r of t)Ca(r,e);else t!=null&&t!==!1&&t!==""&&e.push(t);return e}function pa(t){let e=t.type;if(typeof e=="string")return e;if(typeof e=="function")return e.displayName||e.name||"Unknown";if(Je.isFragment(t))return"React.Fragment";if(Je.isSuspense(t))return"React.Suspense";if(typeof e=="object"&&e!==null){if(Je.isContextProvider(t))return"Context.Provider";if(Je.isContextConsumer(t))return"Context.Consumer";if(Je.isForwardRef(t)){if(e.displayName)return e.displayName;let r=e.render.displayName||e.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Je.isMemo(t)){let r=e.displayName||e.type.displayName||e.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function vc(t){let{props:e}=t;return Object.keys(e).filter(r=>r!=="children"&&e[r]!==void 0).sort()}var Dc=(t,e,r,n,o,u)=>++n>e.maxDepth?un(pa(t),e):on(pa(t),rn(vc(t),t.props,e,r+e.indent,n,o,u),nn(Ca(t.props.children),e,r+e.indent,n,o,u),e,r),xc=t=>t!=null&&Je.isElement(t),Fc={serialize:Dc,test:xc},Tc=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Oc(t){let{props:e}=t;return e?Object.keys(e).filter(r=>e[r]!==void 0).sort():[]}var Rc=(t,e,r,n,o,u)=>++n>e.maxDepth?un(t.type,e):on(t.type,t.props?rn(Oc(t),t.props,e,r+e.indent,n,o,u):"",t.children?nn(t.children,e,r+e.indent,n,o,u):"",e,r),Ic=t=>t&&t.$$typeof===Tc,_c={serialize:Rc,test:Ic};var Ig=Date.prototype.toISOString,_g=Error.prototype.toString,Bg=RegExp.prototype.toString;var va={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Pg=Object.keys(va),Lg={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:va};var Da={AsymmetricMatcher:Hl,DOMCollection:Xl,DOMElement:ac,Immutable:Sc,ReactElement:Fc,ReactTestComponent:_c};var Ng=Number.isNaN||(t=>t!==t);var kg=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g");var Bc=()=>"Promise{\u2026}";try{let{getPromiseDetails:t,kPending:e,kRejected:r}=process.binding("util");Array.isArray(t(Promise.resolve()))&&(Bc=(n,o)=>{let[u,a]=t(n);return u===e?"Promise{}":`Promise${u===r?"!":""}{${o.inspect(a,o)}}`})}catch{}var Pc=typeof Symbol=="function"&&typeof Symbol.for=="function",jg=Pc?Symbol.for("chai/inspect"):"@@chai/inspect",da=!1;try{let t=Pl("util");da=t.inspect?t.inspect.custom:!1}catch{da=!1}var{AsymmetricMatcher:Mg,DOMCollection:qg,DOMElement:$g,Immutable:zg,ReactElement:Hg,ReactTestComponent:Ug}=Da;function Lc(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Wt={},ha;function Nc(){if(ha)return Wt;ha=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.default=g;let t="diff-sequences",e=0,r=(b,w,v,S,A)=>{let E=0;for(;b{let E=0;for(;b<=w&&v<=S&&A(w,S);)w-=1,S-=1,E+=1;return E},o=(b,w,v,S,A,E,O)=>{let F=0,I=-b,R=E[F],T=R;E[F]+=r(R+1,w,S+R-I+1,v,A);let x=b{let F=0,I=b,R=E[F],T=R;E[F]-=n(w,R-1,v,S+R-I-1,A);let x=b{let x=S-w,P=v-w,N=A-S-P,M=-N-(b-1),q=-N+(b-1),$=e,c=b{let x=A-v,P=v-w,N=A-S-P,M=N-b,q=N+b,$=e,c=b{let R=S-w,T=A-v,x=v-w,P=A-S,N=P-x,M=x,q=x;if(O[0]=w-1,F[0]=v,N%2===0){let $=(b||N)/2,c=(x+P)/2;for(let d=1;d<=c;d+=1)if(M=o(d,v,A,R,E,O,M),d<$)q=u(d,w,S,T,E,F,q);else if(i(d,w,v,S,A,E,O,M,F,q,I))return}else{let $=((b||N)+1)/2,c=(x+P+1)/2,d=1;for(M=o(d,v,A,R,E,O,M),d+=1;d<=c;d+=1)if(q=u(d-1,w,S,T,E,F,q),d<$)M=o(d,v,A,R,E,O,M);else if(a(d,w,v,S,A,E,O,M,F,q,I))return}throw new Error(`${t}: no overlap aStart=${w} aEnd=${v} bStart=${S} bEnd=${A}`)},l=(b,w,v,S,A,E,O,F,I,R)=>{if(A-S{Q(W,U,ne)},isCommon:(W,ne)=>re(ne,W)}}let L=w,k=v;w=S,v=A,S=L,A=k}let{foundSubsequence:T,isCommon:x}=O[E?1:0];s(b,w,v,S,A,x,F,I,R);let{nChangePreceding:P,aEndPreceding:N,bEndPreceding:M,nCommonPreceding:q,aCommonPreceding:$,bCommonPreceding:c,nCommonFollowing:d,aCommonFollowing:y,bCommonFollowing:D,nChangeFollowing:C,aStartFollowing:_,bStartFollowing:B}=R;w{if(typeof w!="number")throw new TypeError(`${t}: ${b} typeof ${typeof w} is not a number`);if(!Number.isSafeInteger(w))throw new RangeError(`${t}: ${b} value ${w} is not a safe integer`);if(w<0)throw new RangeError(`${t}: ${b} value ${w} is a negative integer`)},h=(b,w)=>{let v=typeof w;if(v!=="function")throw new TypeError(`${t}: ${b} typeof ${v} is not a function`)};function g(b,w,v,S){f("aLength",b),f("bLength",w),h("isCommon",v),h("foundSubsequence",S);let A=r(0,b,0,w,v);if(A!==0&&S(A,0,0),b!==A||w!==A){let E=A,O=A,F=n(E,b-1,O,w-1,v),I=b-F,R=w-F,T=A+F;b!==T&&w!==T&&l(0,E,I,O,R,!1,[{foundSubsequence:S,isCommon:v}],[e],[e],{aCommonFollowing:e,aCommonPreceding:e,aEndPreceding:e,aStartFollowing:e,bCommonFollowing:e,bCommonPreceding:e,bEndPreceding:e,bStartFollowing:e,nChangeFollowing:e,nChangePreceding:e,nCommonFollowing:e,nCommonPreceding:e}),F!==0&&S(F,I,R)}}return Wt}var kc=Nc(),Vg=Lc(kc);var{AsymmetricMatcher:Gg,DOMCollection:Wg,DOMElement:Yg,Immutable:Kg,ReactElement:Xg,ReactTestComponent:Jg}=Da;var Qg=Object.getPrototypeOf({});var G=(t=>(t.DONE="done",t.ERROR="error",t.ACTIVE="active",t.WAITING="waiting",t))(G||{}),$e={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"};var Zg=new Error("This function ran after the play function completed. Did you forget to `await` it?");var u1=__STORYBOOK_THEMING__,{CacheProvider:a1,ClassNames:i1,Global:s1,ThemeProvider:l1,background:c1,color:p1,convert:d1,create:h1,createCache:f1,createGlobal:m1,createReset:g1,css:y1,darken:b1,ensure:E1,ignoreSsrWarning:A1,isPropValid:S1,jsx:w1,keyframes:C1,lighten:v1,styled:H,themes:D1,typography:Pe,useTheme:at,withTheme:x1}=__STORYBOOK_THEMING__;function me(){return me=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0&&o<1?(i=u,s=a):o>=1&&o<2?(i=a,s=u):o>=2&&o<3?(s=u,l=a):o>=3&&o<4?(s=a,l=u):o>=4&&o<5?(i=a,l=u):o>=5&&o<6&&(i=u,l=a);var f=r-u/2,h=i+f,g=s+f,b=l+f;return n(h,g,b)}var _a={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 $c(t){if(typeof t!="string")return t;var e=t.toLowerCase();return _a[e]?"#"+_a[e]:t}var zc=/^#[a-fA-F0-9]{6}$/,Hc=/^#[a-fA-F0-9]{8}$/,Uc=/^#[a-fA-F0-9]{3}$/,Vc=/^#[a-fA-F0-9]{4}$/,ln=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Gc=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Wc=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Yc=/^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 it(t){if(typeof t!="string")throw new Ee(3);var e=$c(t);if(e.match(zc))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(Hc)){var r=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:r}}if(e.match(Uc))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(Vc)){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 o=ln.exec(e);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var u=Gc.exec(e.substring(0,50));if(u)return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10),alpha:parseFloat(""+u[4])>1?parseFloat(""+u[4])/100:parseFloat(""+u[4])};var a=Wc.exec(e);if(a){var i=parseInt(""+a[1],10),s=parseInt(""+a[2],10)/100,l=parseInt(""+a[3],10)/100,f="rgb("+At(i,s,l)+")",h=ln.exec(f);if(!h)throw new Ee(4,e,f);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var g=Yc.exec(e.substring(0,50));if(g){var b=parseInt(""+g[1],10),w=parseInt(""+g[2],10)/100,v=parseInt(""+g[3],10)/100,S="rgb("+At(b,w,v)+")",A=ln.exec(S);if(!A)throw new Ee(4,e,S);return{red:parseInt(""+A[1],10),green:parseInt(""+A[2],10),blue:parseInt(""+A[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new Ee(5)}function Kc(t){var e=t.red/255,r=t.green/255,n=t.blue/255,o=Math.max(e,r,n),u=Math.min(e,r,n),a=(o+u)/2;if(o===u)return t.alpha!==void 0?{hue:0,saturation:0,lightness:a,alpha:t.alpha}:{hue:0,saturation:0,lightness:a};var i,s=o-u,l=a>.5?s/(2-o-u):s/(o+u);switch(o){case e:i=(r-n)/s+(r=1?Jt(t,e,r):"rgba("+At(t,e,r)+","+n+")";if(typeof t=="object"&&e===void 0&&r===void 0&&n===void 0)return t.alpha>=1?Jt(t.hue,t.saturation,t.lightness):"rgba("+At(t.hue,t.saturation,t.lightness)+","+t.alpha+")";throw new Ee(2)}function dn(t,e,r){if(typeof t=="number"&&typeof e=="number"&&typeof r=="number")return pn("#"+Qe(t)+Qe(e)+Qe(r));if(typeof t=="object"&&e===void 0&&r===void 0)return pn("#"+Qe(t.red)+Qe(t.green)+Qe(t.blue));throw new Ee(6)}function Qt(t,e,r,n){if(typeof t=="string"&&typeof e=="number"){var o=it(t);return"rgba("+o.red+","+o.green+","+o.blue+","+e+")"}else{if(typeof t=="number"&&typeof e=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?dn(t,e,r):"rgba("+t+","+e+","+r+","+n+")";if(typeof t=="object"&&e===void 0&&r===void 0&&n===void 0)return t.alpha>=1?dn(t.red,t.green,t.blue):"rgba("+t.red+","+t.green+","+t.blue+","+t.alpha+")"}throw new Ee(7)}var e2=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},t2=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},r2=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},n2=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Ue(t){if(typeof t!="object")throw new Ee(8);if(t2(t))return Qt(t);if(e2(t))return dn(t);if(n2(t))return Zc(t);if(r2(t))return Qc(t);throw new Ee(8)}function Pa(t,e,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=e?t.apply(this,o):Pa(t,e,o)}}function we(t){return Pa(t,t.length,[])}function o2(t,e){if(e==="transparent")return e;var r=He(e);return Ue(me({},r,{hue:r.hue+parseFloat(t)}))}var _y=we(o2);function st(t,e,r){return Math.max(t,Math.min(e,r))}function u2(t,e){if(e==="transparent")return e;var r=He(e);return Ue(me({},r,{lightness:st(0,1,r.lightness-parseFloat(t))}))}var By=we(u2);function a2(t,e){if(e==="transparent")return e;var r=He(e);return Ue(me({},r,{saturation:st(0,1,r.saturation-parseFloat(t))}))}var Py=we(a2);function i2(t,e){if(e==="transparent")return e;var r=He(e);return Ue(me({},r,{lightness:st(0,1,r.lightness+parseFloat(t))}))}var Ly=we(i2);function s2(t,e,r){if(e==="transparent")return r;if(r==="transparent")return e;if(t===0)return r;var n=it(e),o=me({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),u=it(r),a=me({},u,{alpha:typeof u.alpha=="number"?u.alpha:1}),i=o.alpha-a.alpha,s=parseFloat(t)*2-1,l=s*i===-1?s:s+i,f=1+s*i,h=(l/f+1)/2,g=1-h,b={red:Math.floor(o.red*h+a.red*g),green:Math.floor(o.green*h+a.green*g),blue:Math.floor(o.blue*h+a.blue*g),alpha:o.alpha*parseFloat(t)+a.alpha*(1-parseFloat(t))};return Qt(b)}var l2=we(s2),La=l2;function c2(t,e){if(e==="transparent")return e;var r=it(e),n=typeof r.alpha=="number"?r.alpha:1,o=me({},r,{alpha:st(0,1,(n*100+parseFloat(t)*100)/100)});return Qt(o)}var Ny=we(c2);function p2(t,e){if(e==="transparent")return e;var r=He(e);return Ue(me({},r,{saturation:st(0,1,r.saturation+parseFloat(t))}))}var ky=we(p2);function d2(t,e){return e==="transparent"?e:Ue(me({},He(e),{hue:parseFloat(t)}))}var jy=we(d2);function h2(t,e){return e==="transparent"?e:Ue(me({},He(e),{lightness:parseFloat(t)}))}var My=we(h2);function f2(t,e){return e==="transparent"?e:Ue(me({},He(e),{saturation:parseFloat(t)}))}var qy=we(f2);function m2(t,e){return e==="transparent"?e:La(parseFloat(t),"rgb(0, 0, 0)",e)}var $y=we(m2);function g2(t,e){return e==="transparent"?e:La(parseFloat(t),"rgb(255, 255, 255)",e)}var zy=we(g2);function y2(t,e){if(e==="transparent")return e;var r=it(e),n=typeof r.alpha=="number"?r.alpha:1,o=me({},r,{alpha:st(0,1,+(n*100-parseFloat(t)*100).toFixed(2)/100)});return Qt(o)}var b2=we(y2),Zt=b2;var Wy=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Yy,AccessibilityIcon:Ky,AddIcon:Xy,AdminIcon:Jy,AlertAltIcon:Qy,AlertIcon:Zy,AlignLeftIcon:eb,AlignRightIcon:tb,AppleIcon:rb,ArrowBottomLeftIcon:nb,ArrowBottomRightIcon:ob,ArrowDownIcon:ub,ArrowLeftIcon:ab,ArrowRightIcon:ib,ArrowSolidDownIcon:sb,ArrowSolidLeftIcon:lb,ArrowSolidRightIcon:cb,ArrowSolidUpIcon:pb,ArrowTopLeftIcon:db,ArrowTopRightIcon:hb,ArrowUpIcon:fb,AzureDevOpsIcon:mb,BackIcon:gb,BasketIcon:yb,BatchAcceptIcon:bb,BatchDenyIcon:Eb,BeakerIcon:Ab,BellIcon:Sb,BitbucketIcon:wb,BoldIcon:Cb,BookIcon:vb,BookmarkHollowIcon:Db,BookmarkIcon:xb,BottomBarIcon:Fb,BottomBarToggleIcon:Tb,BoxIcon:Ob,BranchIcon:Rb,BrowserIcon:Ib,ButtonIcon:_b,CPUIcon:Bb,CalendarIcon:Pb,CameraIcon:Lb,CategoryIcon:Nb,CertificateIcon:kb,ChangedIcon:jb,ChatIcon:Mb,CheckIcon:Na,ChevronDownIcon:qb,ChevronLeftIcon:$b,ChevronRightIcon:zb,ChevronSmallDownIcon:Hb,ChevronSmallLeftIcon:Ub,ChevronSmallRightIcon:Vb,ChevronSmallUpIcon:Gb,ChevronUpIcon:Wb,ChromaticIcon:Yb,ChromeIcon:Kb,CircleHollowIcon:Xb,CircleIcon:ka,ClearIcon:Jb,CloseAltIcon:Qb,CloseIcon:Zb,CloudHollowIcon:eE,CloudIcon:tE,CogIcon:rE,CollapseIcon:nE,CommandIcon:oE,CommentAddIcon:uE,CommentIcon:aE,CommentsIcon:iE,CommitIcon:sE,CompassIcon:lE,ComponentDrivenIcon:cE,ComponentIcon:pE,ContrastIcon:dE,ControlsIcon:hE,CopyIcon:fE,CreditIcon:mE,CrossIcon:gE,DashboardIcon:yE,DatabaseIcon:bE,DeleteIcon:EE,DiamondIcon:AE,DirectionIcon:SE,DiscordIcon:wE,DocChartIcon:CE,DocListIcon:vE,DocumentIcon:ja,DownloadIcon:DE,DragIcon:xE,EditIcon:FE,EllipsisIcon:TE,EmailIcon:OE,ExpandAltIcon:RE,ExpandIcon:IE,EyeCloseIcon:_E,EyeIcon:BE,FaceHappyIcon:PE,FaceNeutralIcon:LE,FaceSadIcon:NE,FacebookIcon:kE,FailedIcon:jE,FastForwardIcon:Ma,FigmaIcon:ME,FilterIcon:qE,FlagIcon:$E,FolderIcon:zE,FormIcon:HE,GDriveIcon:UE,GithubIcon:VE,GitlabIcon:GE,GlobeIcon:WE,GoogleIcon:YE,GraphBarIcon:KE,GraphLineIcon:XE,GraphqlIcon:JE,GridAltIcon:QE,GridIcon:ZE,GrowIcon:eA,HeartHollowIcon:tA,HeartIcon:rA,HomeIcon:nA,HourglassIcon:oA,InfoIcon:uA,ItalicIcon:aA,JumpToIcon:iA,KeyIcon:sA,LightningIcon:lA,LightningOffIcon:cA,LinkBrokenIcon:pA,LinkIcon:dA,LinkedinIcon:hA,LinuxIcon:fA,ListOrderedIcon:mA,ListUnorderedIcon:qa,LocationIcon:gA,LockIcon:yA,MarkdownIcon:bA,MarkupIcon:EA,MediumIcon:AA,MemoryIcon:SA,MenuIcon:wA,MergeIcon:CA,MirrorIcon:vA,MobileIcon:DA,MoonIcon:xA,NutIcon:FA,OutboxIcon:TA,OutlineIcon:OA,PaintBrushIcon:RA,PaperClipIcon:IA,ParagraphIcon:_A,PassedIcon:BA,PhoneIcon:PA,PhotoDragIcon:LA,PhotoIcon:NA,PinAltIcon:kA,PinIcon:jA,PlayAllHollowIcon:MA,PlayBackIcon:$a,PlayHollowIcon:qA,PlayIcon:za,PlayNextIcon:Ha,PlusIcon:$A,PointerDefaultIcon:zA,PointerHandIcon:HA,PowerIcon:UA,PrintIcon:VA,ProceedIcon:GA,ProfileIcon:WA,PullRequestIcon:YA,QuestionIcon:KA,RSSIcon:XA,RedirectIcon:JA,ReduxIcon:QA,RefreshIcon:ZA,ReplyIcon:eS,RepoIcon:tS,RequestChangeIcon:rS,RewindIcon:Ua,RulerIcon:nS,SaveIcon:oS,SearchIcon:uS,ShareAltIcon:aS,ShareIcon:iS,ShieldIcon:sS,SideBySideIcon:lS,SidebarAltIcon:cS,SidebarAltToggleIcon:pS,SidebarIcon:dS,SidebarToggleIcon:hS,SpeakerIcon:fS,StackedIcon:mS,StarHollowIcon:gS,StarIcon:yS,StatusFailIcon:bS,StatusPassIcon:ES,StatusWarnIcon:AS,StickerIcon:SS,StopAltHollowIcon:wS,StopAltIcon:Va,StopIcon:CS,StorybookIcon:vS,StructureIcon:DS,SubtractIcon:xS,SunIcon:FS,SupportIcon:TS,SwitchAltIcon:OS,SyncIcon:Ga,TabletIcon:RS,ThumbsUpIcon:IS,TimeIcon:_S,TimerIcon:BS,TransferIcon:PS,TrashIcon:LS,TwitterIcon:NS,TypeIcon:kS,UbuntuIcon:jS,UndoIcon:MS,UnfoldIcon:qS,UnlockIcon:$S,UnpinIcon:zS,UploadIcon:HS,UserAddIcon:US,UserAltIcon:VS,UserIcon:GS,UsersIcon:WS,VSCodeIcon:YS,VerifiedIcon:KS,VideoIcon:Wa,WandIcon:XS,WatchIcon:JS,WindowsIcon:QS,WrenchIcon:ZS,XIcon:ew,YoutubeIcon:tw,ZoomIcon:rw,ZoomOutIcon:nw,ZoomResetIcon:ow,iconList:uw}=__STORYBOOK_ICONS__;var E2=Object.create,si=Object.defineProperty,A2=Object.getOwnPropertyDescriptor,li=Object.getOwnPropertyNames,S2=Object.getPrototypeOf,w2=Object.prototype.hasOwnProperty,ue=(t,e)=>function(){return e||(0,t[li(t)[0]])((e={exports:{}}).exports,e),e.exports},C2=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of li(e))!w2.call(t,o)&&o!==r&&si(t,o,{get:()=>e[o],enumerable:!(n=A2(e,o))||n.enumerable});return t},xe=(t,e,r)=>(r=t!=null?E2(S2(t)):{},C2(e||!t||!t.__esModule?si(r,"default",{value:t,enumerable:!0}):r,t)),ci=ue({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"(t,e){e.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"}}}),v2=ue({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"(t,e){e.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"}}}),pi=ue({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"(t,e){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),D2=ue({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"(t,e){e.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}}}),x2=ue({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"(t){var e=t&&t.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(D2()),n=String.fromCodePoint||function(u){var a="";return u>65535&&(u-=65536,a+=String.fromCharCode(u>>>10&1023|55296),u=56320|u&1023),a+=String.fromCharCode(u),a};function o(u){return u>=55296&&u<=57343||u>1114111?"\uFFFD":(u in r.default&&(u=r.default[u]),n(u))}t.default=o}}),Ya=ue({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"(t){var e=t&&t.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=e(ci()),n=e(v2()),o=e(pi()),u=e(x2()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=i(o.default),t.decodeHTMLStrict=i(r.default);function i(f){var h=l(f);return function(g){return String(g).replace(a,h)}}var s=function(f,h){return f1?h(E):E.charCodeAt(0)).toString(16).toUpperCase()+";"}function b(E,O){return function(F){return F.replace(O,function(I){return E[I]}).replace(f,g)}}var w=new RegExp(o.source+"|"+f.source,"g");function v(E){return E.replace(w,g)}t.escape=v;function S(E){return E.replace(o,g)}t.escapeUTF8=S;function A(E){return function(O){return O.replace(w,function(F){return E[F]||g(F)})}}}}),F2=ue({"../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=Ya(),r=Ka();function n(s,l){return(!l||l<=0?e.decodeXML:e.decodeHTML)(s)}t.decode=n;function o(s,l){return(!l||l<=0?e.decodeXML:e.decodeHTMLStrict)(s)}t.decodeStrict=o;function u(s,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(s)}t.encode=u;var a=Ka();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var i=Ya();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})}}),T2=ue({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(t,e){function r(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}function n(c,d){for(var y=0;y=c.length?{done:!0}:{done:!1,value:c[D++]}},e:function(k){throw k},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 _=!0,B=!1,L;return{s:function(){y=y.call(c)},n:function(){var k=y.next();return _=k.done,k},e:function(k){B=!0,L=k},f:function(){try{!_&&y.return!=null&&y.return()}finally{if(B)throw L}}}}function a(c,d){if(c){if(typeof c=="string")return i(c,d);var y=Object.prototype.toString.call(c).slice(8,-1);if(y==="Object"&&c.constructor&&(y=c.constructor.name),y==="Map"||y==="Set")return Array.from(c);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return i(c,d)}}function i(c,d){(d==null||d>c.length)&&(d=c.length);for(var y=0,D=new Array(d);y0?c*40+55:0,B=d>0?d*40+55:0,L=y>0?y*40+55:0;D[C]=b([_,B,L])}function g(c){for(var d=c.toString(16);d.length<2;)d="0"+d;return d}function b(c){var d=[],y=u(c),D;try{for(y.s();!(D=y.n()).done;){var C=D.value;d.push(g(C))}}catch(_){y.e(_)}finally{y.f()}return"#"+d.join("")}function w(c,d,y,D){var C;return d==="text"?C=I(y,D):d==="display"?C=S(c,y,D):d==="xterm256Foreground"?C=x(c,D.colors[y]):d==="xterm256Background"?C=P(c,D.colors[y]):d==="rgb"&&(C=v(c,y)),C}function v(c,d){d=d.substring(2).slice(0,-1);var y=+d.substr(0,2),D=d.substring(5).split(";"),C=D.map(function(_){return("0"+Number(_).toString(16)).substr(-2)}).join("");return T(c,(y===38?"color:#":"background-color:#")+C)}function S(c,d,y){d=parseInt(d,10);var D={"-1":function(){return"
"},0:function(){return c.length&&A(c)},1:function(){return R(c,"b")},3:function(){return R(c,"i")},4:function(){return R(c,"u")},8:function(){return T(c,"display:none")},9:function(){return R(c,"strike")},22:function(){return T(c,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return N(c,"i")},24:function(){return N(c,"u")},39:function(){return x(c,y.fg)},49:function(){return P(c,y.bg)},53:function(){return T(c,"text-decoration:overline")}},C;return D[d]?C=D[d]():4"}).join("")}function E(c,d){for(var y=[],D=c;D<=d;D++)y.push(D);return y}function O(c){return function(d){return(c===null||d.category!==c)&&c!=="all"}}function F(c){c=parseInt(c,10);var d=null;return c===0?d="all":c===1?d="bold":2")}function T(c,d){return R(c,"span",d)}function x(c,d){return R(c,"span","color:"+d)}function P(c,d){return R(c,"span","background-color:"+d)}function N(c,d){var y;if(c.slice(-1)[0]===d&&(y=c.pop()),y)return""}function M(c,d,y){var D=!1,C=3;function _(){return""}function B(Z,Y){return y("xterm256Foreground",Y),""}function L(Z,Y){return y("xterm256Background",Y),""}function k(Z){return d.newline?y("display",-1):y("text",Z),""}function Q(Z,Y){D=!0,Y.trim().length===0&&(Y="0"),Y=Y.trimRight(";").split(";");var ve=u(Y),pt;try{for(ve.s();!(pt=ve.n()).done;){var nr=pt.value;y("display",nr)}}catch(or){ve.e(or)}finally{ve.f()}return""}function re(Z){return y("text",Z),""}function W(Z){return y("rgb",Z),""}var ne=[{pattern:/^\x08+/,sub:_},{pattern:/^\x1b\[[012]?K/,sub:_},{pattern:/^\x1b\[\(B/,sub:_},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:W},{pattern:/^\x1b\[38;5;(\d+)m/,sub:B},{pattern:/^\x1b\[48;5;(\d+)m/,sub:L},{pattern:/^\n/,sub:k},{pattern:/^\r+\n/,sub:k},{pattern:/^\r/,sub:k},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Q},{pattern:/^\x1b\[\d?J/,sub:_},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:_},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:_},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:re}];function U(Z,Y){Y>C&&D||(D=!1,c=c.replace(Z.pattern,Z.sub))}var ae=[],ge=c,he=ge.length;e:for(;he>0;){for(var Ce=0,Ve=0,ct=ne.length;Ve=0)&&(u[i]=n[i]);return u}e.exports=r}}),Cn=ue({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(t,e){var r=O2();function n(o,u){if(o==null)return{};var a=r(o,u),i,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(o,i)&&(a[i]=o[i])}return a}e.exports=n}}),R2=ue({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/defineProperty.js"(t,e){function r(n,o,u){return o in n?Object.defineProperty(n,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[o]=u,n}e.exports=r}}),I2=ue({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectSpread2.js"(t,e){var r=R2();function n(u,a){var i=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);a&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(u,l).enumerable})),i.push.apply(i,s)}return i}function o(u){for(var a=1;a=0)&&(u[i]=n[i]);return u}e.exports=r}}),B2=ue({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(t,e){var r=_2();function n(o,u){if(o==null)return{};var a=r(o,u),i,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(o,i)&&(a[i]=o[i])}return a}e.exports=n}}),P2=ue({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/defineProperty.js"(t,e){function r(n,o,u){return o in n?Object.defineProperty(n,o,{value:u,enumerable:!0,configurable:!0,writable:!0}):n[o]=u,n}e.exports=r}}),L2=ue({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectSpread2.js"(t,e){var r=P2();function n(u,a){var i=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);a&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(u,l).enumerable})),i.push.apply(i,s)}return i}function o(u){for(var a=1;a=0)&&(u[i]=n[i]);return u}e.exports=r}}),j2=ue({"../../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(t,e){var r=k2();function n(o,u){if(o==null)return{};var a=r(o,u),i,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(o,i)&&(a[i]=o[i])}return a}e.exports=n}}),M2=xe(T2());function q2(t){return di(t)||hi(t)}function di(t){return t&&typeof t=="object"&&"name"in t&&typeof t.name=="string"&&t.name==="AssertionError"}function hi(t){return t&&typeof t=="object"&&"message"in t&&typeof t.message=="string"&&t.message.startsWith("expect(")}function $2(t){return new M2.default({fg:t.color.defaultText,bg:t.background.content,escapeXML:!0})}function vn(){let t=at();return $2(t)}var tr="storybook/interactions",z2=`${tr}/panel`,H2="https://youtu.be/Waht9qq7AoA",U2="writing-tests/interaction-testing",V2=H.div(({theme:t})=>({display:"flex",fontSize:t.typography.size.s2-1,gap:25})),G2=H.div(({theme:t})=>({width:1,height:16,backgroundColor:t.appBorderColor})),W2=()=>{let[t,e]=Fe(!0),r=$n().getDocsUrl({subpath:U2,versioned:!0,renderer:!0});return Le(()=>{let n=setTimeout(()=>{e(!1)},100);return()=>clearTimeout(n)},[]),t?null:m.createElement(Bn,{title:"Interaction testing",description:m.createElement(m.Fragment,null,"Interaction tests allow you to verify the functional aspects of UIs. Write a play function for your story and you'll see it run here."),footer:m.createElement(V2,null,m.createElement(ir,{href:H2,target:"_blank",withArrow:!0},m.createElement(Wa,null)," Watch 8m video"),m.createElement(G2,null),m.createElement(ir,{href:r,target:"_blank",withArrow:!0},m.createElement(ja,null)," Read docs"))})},Y2=xe(wn()),K2=xe(Cn());function An(t){var e,r,n="";if(t)if(typeof t=="object")if(Array.isArray(t))for(e=0;eArray.isArray(t)||ArrayBuffer.isView(t)&&!(t instanceof DataView),fi=t=>t!==null&&typeof t=="object"&&!Dn(t)&&!(t instanceof Date)&&!(t instanceof RegExp)&&!(t instanceof Error)&&!(t instanceof WeakMap)&&!(t instanceof WeakSet),X2=t=>fi(t)||Dn(t)||typeof t=="function"||t instanceof Promise,mi=t=>{let e=/unique/;return Promise.race([t,e]).then(r=>r===e?["pending"]:["fulfilled",r],r=>["rejected",r])},Re=async(t,e,r,n,o,u)=>{let a={key:t,depth:r,value:e,type:"value",parent:void 0};if(e&&X2(e)&&r<100){let i=[],s="object";if(Dn(e)){for(let l=0;l{let f=await Re(l.toString(),e[l],r+1,n);return f.parent=a,f});s="array"}else{let l=Object.getOwnPropertyNames(e);n&&l.sort();for(let f=0;f{let g=await Re(l[f],h,r+1,n);return g.parent=a,g})}if(typeof e=="function"&&(s="function"),e instanceof Promise){let[f,h]=await mi(e);i.push(async()=>{let g=await Re("",f,r+1,n);return g.parent=a,g}),f!=="pending"&&i.push(async()=>{let g=await Re("",h,r+1,n);return g.parent=a,g}),s="promise"}if(e instanceof Map){let f=Array.from(e.entries()).map(h=>{let[g,b]=h;return{"":g,"":b}});i.push(async()=>{let h=await Re("",f,r+1,n);return h.parent=a,h}),i.push(async()=>{let h=await Re("size",e.size,r+1,n);return h.parent=a,h}),s="map"}if(e instanceof Set){let f=Array.from(e.entries()).map(h=>h[1]);i.push(async()=>{let h=await Re("",f,r+1,n);return h.parent=a,h}),i.push(async()=>{let h=await Re("size",e.size,r+1,n);return h.parent=a,h}),s="set"}}e!==Object.prototype&&u&&i.push(async()=>{let l=await Re("",Object.getPrototypeOf(e),r+1,n,!0);return l.parent=a,l}),a.type=s,a.children=i,a.isPrototype=o}return a},J2=(t,e,r)=>Re("root",t,0,e===!1?e:!0,void 0,r===!1?r:!0),Xa=xe(I2()),Q2=xe(B2()),Z2=["children"],Sn=m.createContext({theme:"chrome",colorScheme:"light"}),ep=t=>{let{children:e}=t,r=(0,Q2.default)(t,Z2),n=m.useContext(Sn);return m.createElement(Sn.Provider,{value:(0,Xa.default)((0,Xa.default)({},n),r)},e)},rr=(t,e={})=>{let r=m.useContext(Sn),n=t.theme||r.theme||"chrome",o=t.colorScheme||r.colorScheme||"light",u=Ie(e[n],e[o]);return{currentColorScheme:o,currentTheme:n,themeClass:u}},Ja=xe(L2()),hn=xe(N2()),tp=xe(j2()),rp=m.createContext({isChild:!1,depth:0,hasHover:!0}),fn=rp,Ae={tree:"Tree-tree-fbbbe38",item:"Tree-item-353d6f3",group:"Tree-group-d3c3d8a",label:"Tree-label-d819155",focusWhite:"Tree-focusWhite-f1e00c2",arrow:"Tree-arrow-03ab2e7",hover:"Tree-hover-3cc4e5d",open:"Tree-open-3f1a336",dark:"Tree-dark-1b4aa00",chrome:"Tree-chrome-bcbcac6",light:"Tree-light-09174ee"},np=["theme","hover","colorScheme","children","label","className","onUpdate","onSelect","open"],er=t=>{let{theme:e,hover:r,colorScheme:n,children:o,label:u,className:a,onUpdate:i,onSelect:s,open:l}=t,f=(0,tp.default)(t,np),{themeClass:h,currentTheme:g}=rr({theme:e,colorScheme:n},Ae),[b,w]=Fe(l);Le(()=>{w(l)},[l]);let v=C=>{w(C),i&&i(C)},S=m.Children.count(o)>0,A=(C,_)=>{if(C.isSameNode(_||null))return;C.querySelector('[tabindex="-1"]')?.focus(),C.setAttribute("aria-selected","true"),_?.removeAttribute("aria-selected")},E=(C,_)=>{let B=C;for(;B&&B.parentElement;){if(B.getAttribute("role")===_)return B;B=B.parentElement}return null},O=C=>{let _=E(C,"tree");return _?Array.from(_.querySelectorAll("li")):[]},F=C=>{let _=E(C,"group"),B=_?.previousElementSibling;if(B&&B.getAttribute("tabindex")==="-1"){let L=B.parentElement,k=C.parentElement;A(L,k)}},I=(C,_)=>{let B=O(C);B.forEach(L=>{L.removeAttribute("aria-selected")}),_==="start"&&B[0]&&A(B[0]),_==="end"&&B[B.length-1]&&A(B[B.length-1])},R=(C,_)=>{let B=O(C)||[];for(let L=0;L{let B=C.target;(C.key==="Enter"||C.key===" ")&&v(!b),C.key==="ArrowRight"&&b&&!_?R(B,"down"):C.key==="ArrowRight"&&v(!0),C.key==="ArrowLeft"&&(!b||_)?F(B):C.key==="ArrowLeft"&&v(!1),C.key==="ArrowDown"&&R(B,"down"),C.key==="ArrowUp"&&R(B,"up"),C.key==="Home"&&I(B,"start"),C.key==="End"&&I(B,"end")},x=(C,_)=>{let B=C.target,L=E(B,"treeitem"),k=O(B)||[],Q=!1;for(let re=0;re{let _=C.currentTarget;!_.contains(document.activeElement)&&_.getAttribute("role")==="tree"&&_.setAttribute("tabindex","0")},N=C=>{let _=C.target;if(_.getAttribute("role")==="tree"){let B=_.querySelector('[aria-selected="true"]');B?A(B):R(_,"down"),_.setAttribute("tabindex","-1")}},M=()=>{s?.()},q=C=>{let _=C*.9+.3;return{paddingLeft:`${_}em`,width:`calc(100% - ${_}em)`}},{isChild:$,depth:c,hasHover:d}=m.useContext(fn),y=d?r:!1;if(!$)return m.createElement("ul",(0,hn.default)({role:"tree",tabIndex:0,className:Ie(Ae.tree,Ae.group,h,a),onFocus:N,onBlur:P},f),m.createElement(fn.Provider,{value:{isChild:!0,depth:0,hasHover:y}},m.createElement(er,t)));if(!S)return m.createElement("li",(0,hn.default)({role:"treeitem",className:Ae.item},f),m.createElement("div",{role:"button",className:Ie(Ae.label,{[Ae.hover]:y,[Ae.focusWhite]:g==="firefox"}),tabIndex:-1,style:q(c),onKeyDown:C=>{T(C,$)},onClick:C=>x(C,!0),onFocus:M},m.createElement("span",null,u)));let D=Ie(Ae.arrow,{[Ae.open]:b});return m.createElement("li",{role:"treeitem","aria-expanded":b,className:Ae.item},m.createElement("div",{role:"button",tabIndex:-1,className:Ie(Ae.label,{[Ae.hover]:y,[Ae.focusWhite]:g==="firefox"}),style:q(c),onClick:C=>x(C),onKeyDown:C=>T(C),onFocus:M},m.createElement("span",null,m.createElement("span",{"aria-hidden":!0,className:D}),m.createElement("span",null,u))),m.createElement("ul",(0,hn.default)({role:"group",className:Ie(a,Ae.group)},f),b&&m.Children.map(o,C=>m.createElement(fn.Provider,{value:{isChild:!0,depth:c+1,hasHover:y}},C))))};er.defaultProps={open:!1,hover:!0};var op=xe(wn()),up=xe(Cn()),te={"object-inspector":"ObjectInspector-object-inspector-0c33e82",objectInspector:"ObjectInspector-object-inspector-0c33e82","object-label":"ObjectInspector-object-label-b81482b",objectLabel:"ObjectInspector-object-label-b81482b",text:"ObjectInspector-text-25f57f3",key:"ObjectInspector-key-4f712bb",value:"ObjectInspector-value-f7ec2e5",string:"ObjectInspector-string-c496000",regex:"ObjectInspector-regex-59d45a3",error:"ObjectInspector-error-b818698",boolean:"ObjectInspector-boolean-2dd1642",number:"ObjectInspector-number-a6daabb",undefined:"ObjectInspector-undefined-3a68263",null:"ObjectInspector-null-74acb50",function:"ObjectInspector-function-07bbdcd","function-decorator":"ObjectInspector-function-decorator-3d22c24",functionDecorator:"ObjectInspector-function-decorator-3d22c24",prototype:"ObjectInspector-prototype-f2449ee",dark:"ObjectInspector-dark-0c96c97",chrome:"ObjectInspector-chrome-2f3ca98",light:"ObjectInspector-light-78bef54"},ap=["ast","theme","showKey","colorScheme","className"],Se=(t,e,r,n,o)=>{let u=t.includes("-")?`"${t}"`:t,a=o<=0;return m.createElement("span",{className:te.text},!a&&n&&m.createElement(m.Fragment,null,m.createElement("span",{className:te.key},u),m.createElement("span",null,":\xA0")),m.createElement("span",{className:r},e))},gi=t=>{let{ast:e,theme:r,showKey:n,colorScheme:o,className:u}=t,a=(0,up.default)(t,ap),{themeClass:i}=rr({theme:r,colorScheme:o},te),[s,l]=Fe(m.createElement("span",null)),f=m.createElement("span",null);return Le(()=>{e.value instanceof Promise&&(async h=>{l(Se(e.key,`Promise { "${await mi(h)}" }`,te.key,n,e.depth))})(e.value)},[e,n]),typeof e.value=="number"||typeof e.value=="bigint"?f=Se(e.key,String(e.value),te.number,n,e.depth):typeof e.value=="boolean"?f=Se(e.key,String(e.value),te.boolean,n,e.depth):typeof e.value=="string"?f=Se(e.key,`"${e.value}"`,te.string,n,e.depth):typeof e.value>"u"?f=Se(e.key,"undefined",te.undefined,n,e.depth):typeof e.value=="symbol"?f=Se(e.key,e.value.toString(),te.string,n,e.depth):typeof e.value=="function"?f=Se(e.key,`${e.value.name}()`,te.key,n,e.depth):typeof e.value=="object"&&(e.value===null?f=Se(e.key,"null",te.null,n,e.depth):Array.isArray(e.value)?f=Se(e.key,`Array(${e.value.length})`,te.key,n,e.depth):e.value instanceof Date?f=Se(e.key,`Date ${e.value.toString()}`,te.value,n,e.depth):e.value instanceof RegExp?f=Se(e.key,e.value.toString(),te.regex,n,e.depth):e.value instanceof Error?f=Se(e.key,e.value.toString(),te.error,n,e.depth):fi(e.value)?f=Se(e.key,"{\u2026}",te.key,n,e.depth):f=Se(e.key,e.value.constructor.name,te.key,n,e.depth)),m.createElement("span",(0,op.default)({className:Ie(i,u)},a),s,f)};gi.defaultProps={showKey:!0};var yi=gi,lt=xe(wn()),ip=xe(Cn()),sp=["ast","theme","previewMax","open","colorScheme","className"],Ct=(t,e,r)=>{let n=[];for(let o=0;oe){n.push("\u2026 ");break}}return n},lp=(t,e,r,n)=>{let o=t.value.length;return e?m.createElement("span",null,"Array(",o,")"):m.createElement(m.Fragment,null,m.createElement("span",null,`${n==="firefox"?"Array":""}(${o}) [ `),Ct(t.children,r,!1),m.createElement("span",null,"]"))},cp=(t,e,r,n)=>t.isPrototype?m.createElement("span",null,`Object ${n==="firefox"?"{ \u2026 }":""}`):e?m.createElement("span",null,"{\u2026}"):m.createElement(m.Fragment,null,m.createElement("span",null,`${n==="firefox"?"Object ":""}{ `),Ct(t.children,r,!0),m.createElement("span",null,"}")),pp=(t,e,r)=>e?m.createElement("span",null,`Promise { "${String(t.children[0].value)}" }`):m.createElement(m.Fragment,null,m.createElement("span",null,"Promise { "),Ct(t.children,r,!0),m.createElement("span",null,"}")),dp=(t,e,r,n)=>{let{size:o}=t.value;return e?m.createElement("span",null,`Map(${o})`):m.createElement(m.Fragment,null,m.createElement("span",null,`Map${n==="chrome"?`(${o})`:""} { `),Ct(t.children,r,!0),m.createElement("span",null,"}"))},hp=(t,e,r)=>{let{size:n}=t.value;return e?m.createElement("span",null,"Set(",n,")"):m.createElement(m.Fragment,null,m.createElement("span",null,`Set(${t.value.size}) {`),Ct(t.children,r,!0),m.createElement("span",null,"}"))},bi=t=>{let{ast:e,theme:r,previewMax:n,open:o,colorScheme:u,className:a}=t,i=(0,ip.default)(t,sp),{themeClass:s,currentTheme:l}=rr({theme:r,colorScheme:u},te),f=e.isPrototype||!1,h=Ie(te.objectLabel,s,a,{[te.prototype]:f}),g=e.depth<=0,b=()=>m.createElement("span",{className:f?te.prototype:te.key},g?"":`${e.key}: `);return e.type==="array"?m.createElement("span",(0,lt.default)({className:h},i),m.createElement(b,null),lp(e,o,n,l)):e.type==="function"?m.createElement("span",(0,lt.default)({className:h},i),m.createElement(b,null),l==="chrome"&&m.createElement("span",{className:te.functionDecorator},"\u0192 "),m.createElement("span",{className:Ie({[te.function]:!f})},`${e.value.name}()`)):e.type==="promise"?m.createElement("span",(0,lt.default)({className:h},i),m.createElement(b,null),pp(e,o,n)):e.type==="map"?m.createElement("span",(0,lt.default)({className:h},i),m.createElement(b,null),dp(e,o,n,l)):e.type==="set"?m.createElement("span",(0,lt.default)({className:h},i),m.createElement(b,null),hp(e,o,n)):m.createElement("span",(0,lt.default)({className:h},i),m.createElement(b,null),cp(e,o,n,l))};bi.defaultProps={previewMax:8,open:!1};var fp=bi,xn=t=>{let{ast:e,expandLevel:r,depth:n}=t,[o,u]=Fe(),[a,i]=Fe(n{(async()=>{if(e.type!=="value"){let s=e.children.map(h=>h()),l=await Promise.all(s),f=(0,Ja.default)((0,Ja.default)({},e),{},{children:l});u(f)}})()},[e]),o?m.createElement(er,{hover:!1,open:a,label:m.createElement(fp,{open:a,ast:o}),onSelect:()=>{var s;(s=t.onSelect)===null||s===void 0||s.call(t,e)},onUpdate:s=>{i(s)}},o.children.map(s=>m.createElement(xn,{key:s.key,ast:s,depth:n+1,expandLevel:r,onSelect:t.onSelect}))):m.createElement(er,{hover:!1,label:m.createElement(yi,{ast:e}),onSelect:()=>{var s;(s=t.onSelect)===null||s===void 0||s.call(t,e)}})};xn.defaultProps={expandLevel:0,depth:0};var mp=xn,gp=["data","expandLevel","sortKeys","includePrototypes","className","theme","colorScheme","onSelect"],Ei=t=>{let{data:e,expandLevel:r,sortKeys:n,includePrototypes:o,className:u,theme:a,colorScheme:i,onSelect:s}=t,l=(0,K2.default)(t,gp),[f,h]=Fe(void 0),{themeClass:g,currentTheme:b,currentColorScheme:w}=rr({theme:a,colorScheme:i},te);return Le(()=>{(async()=>h(await J2(e,n,o)))()},[e,n,o]),m.createElement("div",(0,Y2.default)({className:Ie(te.objectInspector,u,g)},l),f&&m.createElement(ep,{theme:b,colorScheme:w},m.createElement(mp,{ast:f,expandLevel:r,onSelect:s})))};Ei.defaultProps={expandLevel:0,sortKeys:!0,includePrototypes:!0};var yp={base:"#444",nullish:"#7D99AA",string:"#16B242",number:"#5D40D0",boolean:"#f41840",objectkey:"#698394",instance:"#A15C20",function:"#EA7509",muted:"#7D99AA",tag:{name:"#6F2CAC",suffix:"#1F99E5"},date:"#459D9C",error:{name:"#D43900",message:"#444"},regex:{source:"#A15C20",flags:"#EA7509"},meta:"#EA7509",method:"#0271B6"},bp={base:"#eee",nullish:"#aaa",string:"#5FE584",number:"#6ba5ff",boolean:"#ff4191",objectkey:"#accfe6",instance:"#E3B551",function:"#E3B551",muted:"#aaa",tag:{name:"#f57bff",suffix:"#8EB5FF"},date:"#70D4D3",error:{name:"#f40",message:"#eee"},regex:{source:"#FAD483",flags:"#E3B551"},meta:"#FAD483",method:"#5EC1FF"},de=()=>{let{base:t}=at();return t==="dark"?bp:yp},Ep=/[^A-Z0-9]/i,Qa=/[\s.,…]+$/gm,Ai=(t,e)=>{if(t.length<=e)return t;for(let r=e-1;r>=0;r-=1)if(Ep.test(t[r])&&r>10)return`${t.slice(0,r).replace(Qa,"")}\u2026`;return`${t.slice(0,e).replace(Qa,"")}\u2026`},Ap=t=>{try{return JSON.stringify(t,null,1)}catch{return String(t)}},Si=(t,e)=>t.flatMap((r,n)=>n===t.length-1?[r]:[r,m.cloneElement(e,{key:`sep${n}`})]),Ze=({value:t,nested:e,showObjectInspector:r,callsById:n,...o})=>{switch(!0){case t===null:return m.createElement(Sp,{...o});case t===void 0:return m.createElement(wp,{...o});case Array.isArray(t):return m.createElement(xp,{...o,value:t,callsById:n});case typeof t=="string":return m.createElement(Cp,{...o,value:t});case typeof t=="number":return m.createElement(vp,{...o,value:t});case typeof t=="boolean":return m.createElement(Dp,{...o,value:t});case Object.prototype.hasOwnProperty.call(t,"__date__"):return m.createElement(Ip,{...o,...t.__date__});case Object.prototype.hasOwnProperty.call(t,"__error__"):return m.createElement(_p,{...o,...t.__error__});case Object.prototype.hasOwnProperty.call(t,"__regexp__"):return m.createElement(Bp,{...o,...t.__regexp__});case Object.prototype.hasOwnProperty.call(t,"__function__"):return m.createElement(Op,{...o,...t.__function__});case Object.prototype.hasOwnProperty.call(t,"__symbol__"):return m.createElement(Pp,{...o,...t.__symbol__});case Object.prototype.hasOwnProperty.call(t,"__element__"):return m.createElement(Rp,{...o,...t.__element__});case Object.prototype.hasOwnProperty.call(t,"__class__"):return m.createElement(Tp,{...o,...t.__class__});case Object.prototype.hasOwnProperty.call(t,"__callId__"):return m.createElement(Fn,{call:n.get(t.__callId__),callsById:n});case Object.prototype.toString.call(t)==="[object Object]":return m.createElement(Fp,{value:t,showInspector:r,callsById:n,...o});default:return m.createElement(Lp,{value:t,...o})}},Sp=t=>{let e=de();return m.createElement("span",{style:{color:e.nullish},...t},"null")},wp=t=>{let e=de();return m.createElement("span",{style:{color:e.nullish},...t},"undefined")},Cp=({value:t,...e})=>{let r=de();return m.createElement("span",{style:{color:r.string},...e},JSON.stringify(Ai(t,50)))},vp=({value:t,...e})=>{let r=de();return m.createElement("span",{style:{color:r.number},...e},t)},Dp=({value:t,...e})=>{let r=de();return m.createElement("span",{style:{color:r.boolean},...e},String(t))},xp=({value:t,nested:e=!1,callsById:r})=>{let n=de();if(e)return m.createElement("span",{style:{color:n.base}},"[\u2026]");let o=t.slice(0,3).map((a,i)=>m.createElement(Ze,{key:`${i}--${JSON.stringify(a)}`,value:a,nested:!0,callsById:r})),u=Si(o,m.createElement("span",null,", "));return t.length<=3?m.createElement("span",{style:{color:n.base}},"[",u,"]"):m.createElement("span",{style:{color:n.base}},"(",t.length,") [",u,", \u2026]")},Fp=({showInspector:t,value:e,callsById:r,nested:n=!1})=>{let o=at().base==="dark",u=de();if(t)return m.createElement(m.Fragment,null,m.createElement(Ei,{id:"interactions-object-inspector",data:e,includePrototypes:!1,colorScheme:o?"dark":"light"}));if(n)return m.createElement("span",{style:{color:u.base}},"{\u2026}");let a=Si(Object.entries(e).slice(0,2).map(([i,s])=>m.createElement(vt,{key:i},m.createElement("span",{style:{color:u.objectkey}},i,": "),m.createElement(Ze,{value:s,callsById:r,nested:!0}))),m.createElement("span",null,", "));return Object.keys(e).length<=2?m.createElement("span",{style:{color:u.base}},"{ ",a," }"):m.createElement("span",{style:{color:u.base}},"(",Object.keys(e).length,") ","{ ",a,", \u2026 }")},Tp=({name:t})=>{let e=de();return m.createElement("span",{style:{color:e.instance}},t)},Op=({name:t})=>{let e=de();return t?m.createElement("span",{style:{color:e.function}},t):m.createElement("span",{style:{color:e.nullish,fontStyle:"italic"}},"anonymous")},Rp=({prefix:t,localName:e,id:r,classNames:n=[],innerText:o})=>{let u=t?`${t}:${e}`:e,a=de();return m.createElement("span",{style:{wordBreak:"keep-all"}},m.createElement("span",{key:`${u}_lt`,style:{color:a.muted}},"<"),m.createElement("span",{key:`${u}_tag`,style:{color:a.tag.name}},u),m.createElement("span",{key:`${u}_suffix`,style:{color:a.tag.suffix}},r?`#${r}`:n.reduce((i,s)=>`${i}.${s}`,"")),m.createElement("span",{key:`${u}_gt`,style:{color:a.muted}},">"),!r&&n.length===0&&o&&m.createElement(m.Fragment,null,m.createElement("span",{key:`${u}_text`},o),m.createElement("span",{key:`${u}_close_lt`,style:{color:a.muted}},"<"),m.createElement("span",{key:`${u}_close_tag`,style:{color:a.tag.name}},"/",u),m.createElement("span",{key:`${u}_close_gt`,style:{color:a.muted}},">")))},Ip=({value:t})=>{let[e,r,n]=t.split(/[T.Z]/),o=de();return m.createElement("span",{style:{whiteSpace:"nowrap",color:o.date}},e,m.createElement("span",{style:{opacity:.7}},"T"),r==="00:00:00"?m.createElement("span",{style:{opacity:.7}},r):r,n==="000"?m.createElement("span",{style:{opacity:.7}},".",n):`.${n}`,m.createElement("span",{style:{opacity:.7}},"Z"))},_p=({name:t,message:e})=>{let r=de();return m.createElement("span",{style:{color:r.error.name}},t,e&&": ",e&&m.createElement("span",{style:{color:r.error.message},title:e.length>50?e:""},Ai(e,50)))},Bp=({flags:t,source:e})=>{let r=de();return m.createElement("span",{style:{whiteSpace:"nowrap",color:r.regex.flags}},"/",m.createElement("span",{style:{color:r.regex.source}},e),"/",t)},Pp=({description:t})=>{let e=de();return m.createElement("span",{style:{whiteSpace:"nowrap",color:e.instance}},"Symbol(",t&&m.createElement("span",{style:{color:e.meta}},'"',t,'"'),")")},Lp=({value:t})=>{let e=de();return m.createElement("span",{style:{color:e.meta}},Ap(t))},Np=({label:t})=>{let e=de(),{typography:r}=at();return m.createElement("span",{style:{color:e.base,fontFamily:r.fonts.base,fontSize:r.size.s2-1}},t)},Fn=({call:t,callsById:e})=>{if(!t)return null;if(t.method==="step"&&t.path.length===0)return m.createElement(Np,{label:t.args[0]});let r=t.path.flatMap((u,a)=>{let i=u.__callId__;return[i?m.createElement(Fn,{key:`elem${a}`,call:e.get(i),callsById:e}):m.createElement("span",{key:`elem${a}`},u),m.createElement("wbr",{key:`wbr${a}`}),m.createElement("span",{key:`dot${a}`},".")]}),n=t.args.flatMap((u,a,i)=>{let s=m.createElement(Ze,{key:`node${a}`,value:u,callsById:e});return a{for(let r=e,n=1;r{try{return t==="undefined"?void 0:JSON.parse(t)}catch{return t}},kp=H.span(({theme:t})=>({color:t.base==="light"?t.color.positiveText:t.color.positive})),jp=H.span(({theme:t})=>({color:t.base==="light"?t.color.negativeText:t.color.negative})),gn=({value:t,parsed:e})=>e?m.createElement(Ze,{showObjectInspector:!0,value:t,style:{color:"#D43900"}}):m.createElement(jp,null,t),yn=({value:t,parsed:e})=>e?typeof t=="string"&&t.startsWith("called with")?m.createElement(m.Fragment,null,t):m.createElement(Ze,{showObjectInspector:!0,value:t,style:{color:"#16B242"}}):m.createElement(kp,null,t),ei=({message:t,style:e={}})=>{let r=vn(),n=t.split(` +`);return m.createElement("pre",{style:{margin:0,padding:"8px 10px 8px 36px",fontSize:Pe.size.s1,...e}},n.flatMap((o,u)=>{if(o.startsWith("expect(")){let h=Za(o,7),g=h&&7+h.length,b=h&&o.slice(g).match(/\.(to|last|nth)[A-Z]\w+\(/);if(b){let w=g+b.index+b[0].length,v=Za(o,w);if(v)return["expect(",m.createElement(gn,{key:`received_${h}`,value:h}),o.slice(g,w),m.createElement(yn,{key:`expected_${v}`,value:v}),o.slice(w+v.length),m.createElement("br",{key:`br${u}`})]}}if(o.match(/^\s*- /))return[m.createElement(yn,{key:o+u,value:o}),m.createElement("br",{key:`br${u}`})];if(o.match(/^\s*\+ /)||o.match(/^Received: $/))return[m.createElement(gn,{key:o+u,value:o}),m.createElement("br",{key:`br${u}`})];let[,a,i]=o.match(/^(Expected|Received): (.*)$/)||[];if(a&&i)return a==="Expected"?["Expected: ",m.createElement(yn,{key:o+u,value:mn(i),parsed:!0}),m.createElement("br",{key:`br${u}`})]:["Received: ",m.createElement(gn,{key:o+u,value:mn(i),parsed:!0}),m.createElement("br",{key:`br${u}`})];let[,s,l]=o.match(/(Expected number|Received number|Number) of calls: (\d+)$/i)||[];if(s&&l)return[`${s} of calls: `,m.createElement(Ze,{key:o+u,value:Number(l)}),m.createElement("br",{key:`br${u}`})];let[,f]=o.match(/^Received has value: (.+)$/)||[];return f?["Received has value: ",m.createElement(Ze,{key:o+u,value:mn(f)}),m.createElement("br",{key:`br${u}`})]:[m.createElement("span",{key:o+u,dangerouslySetInnerHTML:{__html:r.toHtml(o)}}),m.createElement("br",{key:`br${u}`})]}))},Mp=H.div({width:14,height:14,display:"flex",alignItems:"center",justifyContent:"center"}),qp=({status:t})=>{let e=at();switch(t){case G.DONE:return m.createElement(Na,{color:e.color.positive,"data-testid":"icon-done"});case G.ERROR:return m.createElement(Va,{color:e.color.negative,"data-testid":"icon-error"});case G.ACTIVE:return m.createElement(za,{color:e.color.secondary,"data-testid":"icon-active"});case G.WAITING:return m.createElement(Mp,{"data-testid":"icon-waiting"},m.createElement(ka,{color:Zt(.5,"#CCCCCC"),size:6}));default:return null}},$p=H.div(()=>({fontFamily:Pe.fonts.mono,fontSize:Pe.size.s1,overflowWrap:"break-word",inlineSize:"calc( 100% - 40px )"})),zp=H("div",{shouldForwardProp:t=>!["call","pausedAt"].includes(t.toString())})(({theme:t,call:e})=>({position:"relative",display:"flex",flexDirection:"column",borderBottom:`1px solid ${t.appBorderColor}`,fontFamily:Pe.fonts.base,fontSize:13,...e.status===G.ERROR&&{backgroundColor:t.base==="dark"?Zt(.93,t.color.negative):t.background.warning},paddingLeft:e.ancestors.length*20}),({theme:t,call:e,pausedAt:r})=>r===e.id&&{"&::before":{content:'""',position:"absolute",top:-5,zIndex:1,borderTop:"4.5px solid transparent",borderLeft:`7px solid ${t.color.warning}`,borderBottom:"4.5px solid transparent"},"&::after":{content:'""',position:"absolute",top:-1,zIndex:1,width:"100%",borderTop:`1.5px solid ${t.color.warning}`}}),Hp=H.div(({theme:t,isInteractive:e})=>({display:"flex","&:hover":e?{}:{background:t.background.hoverable}})),Up=H("button",{shouldForwardProp:t=>!["call"].includes(t.toString())})(({theme:t,disabled:e,call:r})=>({flex:1,display:"grid",background:"none",border:0,gridTemplateColumns:"15px 1fr",alignItems:"center",minHeight:40,margin:0,padding:"8px 15px",textAlign:"start",cursor:e||r.status===G.ERROR?"default":"pointer","&:focus-visible":{outline:0,boxShadow:`inset 3px 0 0 0 ${r.status===G.ERROR?t.color.warning:t.color.secondary}`,background:r.status===G.ERROR?"transparent":t.background.hoverable},"& > div":{opacity:r.status===G.WAITING?.5:1}})),Vp=H.div({padding:6}),Gp=H(ar)(({theme:t})=>({color:t.textMutedColor,margin:"0 3px"})),Wp=H(sr)(({theme:t})=>({fontFamily:t.typography.fonts.base})),ti=H("div")(({theme:t})=>({padding:"8px 10px 8px 36px",fontSize:Pe.size.s1,color:t.color.defaultText,pre:{margin:0,padding:0}})),Yp=({exception:t})=>{let e=vn();if(hi(t))return z(ei,{...t});if(di(t))return z(ti,null,z(ei,{message:`${t.message}${t.diff?` + +${t.diff}`:""}`,style:{padding:0}}),z("p",null,"See the full stack trace in the browser console."));let r=t.message.split(` + +`),n=r.length>1;return z(ti,null,z("pre",{dangerouslySetInnerHTML:{__html:e.toHtml(r[0])}}),n&&z("p",null,"See the full stack trace in the browser console."))},Kp=({call:t,callsById:e,controls:r,controlStates:n,childCallIds:o,isHidden:u,isCollapsed:a,toggleCollapsed:i,pausedAt:s})=>{let[l,f]=Fe(!1),h=!n.goto||!t.interceptable||!!t.ancestors.length;return u?null:z(zp,{call:t,pausedAt:s},z(Hp,{isInteractive:h},z(Up,{"aria-label":"Interaction step",call:t,onClick:()=>r.goto(t.id),disabled:h,onMouseEnter:()=>n.goto&&f(!0),onMouseLeave:()=>n.goto&&f(!1)},z(qp,{status:l?G.ACTIVE:t.status}),z($p,{style:{marginLeft:6,marginBottom:1}},z(Fn,{call:t,callsById:e}))),z(Vp,null,o?.length>0&&z(Ge,{hasChrome:!1,tooltip:z(Wp,{note:`${a?"Show":"Hide"} interactions`})},z(Gp,{onClick:i},z(qa,null))))),t.status===G.ERROR&&t.exception?.callId===t.id&&z(Yp,{exception:t.exception}))},Xp=H.div(({theme:t,status:e})=>({padding:"4px 6px 4px 8px;",borderRadius:"4px",backgroundColor:{[G.DONE]:t.color.positive,[G.ERROR]:t.color.negative,[G.ACTIVE]:t.color.warning,[G.WAITING]:t.color.warning}[e],color:"white",fontFamily:Pe.fonts.base,textTransform:"uppercase",fontSize:Pe.size.s1,letterSpacing:3,fontWeight:Pe.weight.bold,width:65,textAlign:"center"})),Jp=({status:t})=>{let e={[G.DONE]:"Pass",[G.ERROR]:"Fail",[G.ACTIVE]:"Runs",[G.WAITING]:"Runs"}[t];return m.createElement(Xp,{"aria-label":"Status of the test run",status:t},e)},Qp=H.div(({theme:t})=>({background:t.background.app,borderBottom:`1px solid ${t.appBorderColor}`,position:"sticky",top:0,zIndex:1})),Zp=H.nav(({theme:t})=>({height:40,display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:15})),ed=H(_n)(({theme:t})=>({borderRadius:4,padding:6,color:t.textMutedColor,"&:not(:disabled)":{"&:hover,&:focus-visible":{color:t.color.secondary}}})),St=H(sr)(({theme:t})=>({fontFamily:t.typography.fonts.base})),wt=H(ar)(({theme:t})=>({color:t.textMutedColor,margin:"0 3px"})),td=H(Ln)({marginTop:0}),rd=H(Pn)(({theme:t})=>({color:t.textMutedColor,justifyContent:"flex-end",textAlign:"right",whiteSpace:"nowrap",marginTop:"auto",marginBottom:1,paddingRight:15,fontSize:13})),ri=H.div({display:"flex",alignItems:"center"}),nd=H(wt)({marginLeft:9}),od=H(ed)({marginLeft:9,marginRight:9,marginBottom:1,lineHeight:"12px"}),ud=H(wt)(({theme:t,animating:e,disabled:r})=>({opacity:r?.5:1,svg:{animation:e&&`${t.animation.rotate360} 200ms ease-out`}})),ad=({controls:t,controlStates:e,status:r,storyFileName:n,onScrollToEnd:o})=>{let u=r===G.ERROR?"Scroll to error":"Scroll to end";return m.createElement(Qp,null,m.createElement(In,null,m.createElement(Zp,null,m.createElement(ri,null,m.createElement(Jp,{status:r}),m.createElement(od,{onClick:o,disabled:!o},u),m.createElement(td,null),m.createElement(Ge,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(St,{note:"Go to start"})},m.createElement(nd,{"aria-label":"Go to start",onClick:t.start,disabled:!e.start},m.createElement(Ua,null))),m.createElement(Ge,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(St,{note:"Go back"})},m.createElement(wt,{"aria-label":"Go back",onClick:t.back,disabled:!e.back},m.createElement($a,null))),m.createElement(Ge,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(St,{note:"Go forward"})},m.createElement(wt,{"aria-label":"Go forward",onClick:t.next,disabled:!e.next},m.createElement(Ha,null))),m.createElement(Ge,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(St,{note:"Go to end"})},m.createElement(wt,{"aria-label":"Go to end",onClick:t.end,disabled:!e.end},m.createElement(Ma,null))),m.createElement(Ge,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(St,{note:"Rerun"})},m.createElement(ud,{"aria-label":"Rerun",onClick:t.rerun},m.createElement(Ga,null)))),n&&m.createElement(ri,null,m.createElement(rd,null,n)))))},id=H.div(({theme:t})=>({height:"100%",background:t.background.content})),ni=H.div(({theme:t})=>({borderBottom:`1px solid ${t.appBorderColor}`,backgroundColor:t.base==="dark"?Zt(.93,t.color.negative):t.background.warning,padding:15,fontSize:t.typography.size.s2-1,lineHeight:"19px"})),bn=H.code(({theme:t})=>({margin:"0 1px",padding:3,fontSize:t.typography.size.s1-1,lineHeight:1,verticalAlign:"top",background:"rgba(0, 0, 0, 0.05)",border:`1px solid ${t.appBorderColor}`,borderRadius:3})),oi=H.div({paddingBottom:4,fontWeight:"bold"}),sd=H.p({margin:0,padding:"0 0 20px"}),ui=H.pre(({theme:t})=>({margin:0,padding:0,"&:not(:last-child)":{paddingBottom:16},fontSize:t.typography.size.s1-1})),ld=Dt(function({calls:t,controls:e,controlStates:r,interactions:n,fileName:o,hasException:u,caughtException:a,unhandledErrors:i,isPlaying:s,pausedAt:l,onScrollToEnd:f,endRef:h}){let g=vn();return z(id,null,(n.length>0||u)&&z(ad,{controls:e,controlStates:r,status:s?G.ACTIVE:u?G.ERROR:G.DONE,storyFileName:o,onScrollToEnd:f}),z("div",{"aria-label":"Interactions list"},n.map(b=>z(Kp,{key:b.id,call:b,callsById:t,controls:e,controlStates:r,childCallIds:b.childCallIds,isHidden:b.isHidden,isCollapsed:b.isCollapsed,toggleCollapsed:b.toggleCollapsed,pausedAt:l}))),a&&!q2(a)&&z(ni,null,z(oi,null,"Caught exception in ",z(bn,null,"play")," function"),z(ui,{"data-chromatic":"ignore",dangerouslySetInnerHTML:{__html:g.toHtml(ai(a))}})),i&&z(ni,null,z(oi,null,"Unhandled Errors"),z(sd,null,"Found ",i.length," unhandled error",i.length>1?"s":""," ","while running the play function. This might cause false positive assertions. Resolve unhandled errors or ignore unhandled errors with setting the",z(bn,null,"test.dangerouslyIgnoreUnhandledErrors")," ","parameter to ",z(bn,null,"true"),"."),i.map((b,w)=>z(ui,{key:w,"data-chromatic":"ignore"},ai(b)))),z("div",{ref:h}),!s&&!a&&n.length===0&&z(W2,null))});function ai(t){return t.stack||`${t.name}: ${t.message}`}var En={start:!1,back:!1,goto:!1,next:!1,end:!1},ii=({log:t,calls:e,collapsed:r,setCollapsed:n})=>{let o=new Map,u=new Map;return t.map(({callId:a,ancestors:i,status:s})=>{let l=!1;return i.forEach(f=>{r.has(f)&&(l=!0),u.set(f,(u.get(f)||[]).concat(a))}),{...e.get(a),status:s,isHidden:l}}).map(a=>{let i=a.status===G.ERROR&&o.get(a.ancestors.slice(-1)[0])?.status===G.ACTIVE?G.ACTIVE:a.status;return o.set(a.id,{...a,status:i}),{...a,status:i,childCallIds:u.get(a.id),isCollapsed:r.has(a.id),toggleCollapsed:()=>n(s=>(s.has(a.id)?s.delete(a.id):s.add(a.id),new Set(s)))}})},cd=Dt(function({storyId:t}){let[e,r]=cr(tr,{controlStates:En,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0,unhandledErrors:void 0}),[n,o]=Fe(void 0),[u,a]=Fe(new Set),{controlStates:i=En,isErrored:s=!1,pausedAt:l=void 0,interactions:f=[],isPlaying:h=!1,caughtException:g=void 0,unhandledErrors:b=void 0}=e,w=xt([]),v=xt(new Map),S=({status:x,...P})=>v.current.set(P.id,P),A=xt();Le(()=>{let x;return ft.IntersectionObserver&&(x=new ft.IntersectionObserver(([P])=>o(P.isIntersecting?void 0:P.target),{root:ft.document.querySelector("#panel-tab-content")}),A.current&&x.observe(A.current)),()=>x?.disconnect()},[]);let E=Mn({[$e.CALL]:S,[$e.SYNC]:x=>{r(P=>{let N=ii({log:x.logItems,calls:v.current,collapsed:u,setCollapsed:a});return{...P,controlStates:x.controlStates,pausedAt:x.pausedAt,interactions:N,interactionsCount:N.filter(({method:M})=>M!=="step").length}}),w.current=x.logItems},[_e]:x=>{if(x.newPhase==="preparing"){r({controlStates:En,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0,unhandledErrors:void 0});return}r(P=>({...P,isPlaying:x.newPhase==="playing",pausedAt:void 0,...x.newPhase==="rendering"?{isErrored:!1,caughtException:void 0}:{}}))},[It]:()=>{r(x=>({...x,isErrored:!0,hasException:!0}))},[Ot]:x=>{r(P=>({...P,caughtException:x,hasException:!0}))},[_t]:x=>{r(P=>({...P,unhandledErrors:x,hasException:!0}))}},[u]);Le(()=>{r(x=>{let P=ii({log:w.current,calls:v.current,collapsed:u,setCollapsed:a});return{...x,interactions:P,interactionsCount:P.filter(({method:N})=>N!=="step").length}})},[u]);let O=On(()=>({start:()=>E($e.START,{storyId:t}),back:()=>E($e.BACK,{storyId:t}),goto:x=>E($e.GOTO,{storyId:t,callId:x}),next:()=>E($e.NEXT,{storyId:t}),end:()=>E($e.END,{storyId:t}),rerun:()=>{E(dt,{storyId:t})}}),[t]),F=qn("fileName",""),[I]=F.toString().split("/").slice(-1),R=()=>n?.scrollIntoView({behavior:"smooth",block:"end"}),T=!!g||!!b||f.some(x=>x.status===G.ERROR);return s?m.createElement(vt,{key:"interactions"}):m.createElement(vt,{key:"interactions"},m.createElement(ld,{calls:v.current,controls:O,controlStates:i,interactions:f,fileName:I,hasException:T,caughtException:g,unhandledErrors:b,isPlaying:h,pausedAt:l,endRef:A,onScrollToEnd:n&&R}))});function pd(){let[t={}]=cr(tr),{hasException:e,interactionsCount:r}=t;return m.createElement("div",null,m.createElement(Nn,{col:1},m.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Interactions"),r&&!e?m.createElement(ur,{status:"neutral"},r):null,e?m.createElement(ur,{status:"negative"},r):null))}lr.register(tr,t=>{lr.add(z2,{type:jn.PANEL,title:pd,match:({viewMode:e})=>e==="story",render:({active:e})=>{let r=Tn(({state:n})=>({storyId:n.storyId}),[]);return m.createElement(Rn,{active:e},m.createElement(kn,{filter:r},({storyId:n})=>m.createElement(cd,{storyId:n})))}})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/interactions-10/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/interactions-10/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/links-1/manager-bundle.js b/storybook-static/sb-addons/links-1/manager-bundle.js new file mode 100644 index 00000000..23729923 --- /dev/null +++ b/storybook-static/sb-addons/links-1/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var E=__STORYBOOK_API__,{ActiveTabs:T,Consumer:h,ManagerContext:p,Provider:A,RequestResponseError:b,addons:a,combineParameters:O,controlOrMetaKey:R,controlOrMetaSymbol:k,eventMatchesShortcut:v,eventToShortcut:g,experimental_requestResponse:I,isMacLike:C,isShortcutTaken:M,keyToSymbol:P,merge:x,mockChannel:f,optionOrAltSymbol:q,shortcutMatchesShortcut:D,shortcutToHumanString:G,types:K,useAddonState:V,useArgTypes:$,useArgs:B,useChannel:N,useGlobalTypes:Q,useGlobals:U,useParameter:Y,useSharedState:H,useStoryPrepared:L,useStorybookApi:j,useStorybookState:w}=__STORYBOOK_API__;var e="storybook/links",n={NAVIGATE:`${e}/navigate`,REQUEST:`${e}/request`,RECEIVE:`${e}/receive`};a.register(e,t=>{t.on(n.REQUEST,({kind:u,name:S})=>{let c=t.storyId(u,S);t.emit(n.RECEIVE,c)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/links-1/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/links-1/manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js b/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js new file mode 100644 index 00000000..de4e48be --- /dev/null +++ b/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var T=__STORYBOOK_API__,{ActiveTabs:_,Consumer:O,ManagerContext:f,Provider:A,RequestResponseError:v,addons:n,combineParameters:P,controlOrMetaKey:k,controlOrMetaSymbol:x,eventMatchesShortcut:M,eventToShortcut:R,experimental_requestResponse:w,isMacLike:C,isShortcutTaken:G,keyToSymbol:I,merge:K,mockChannel:q,optionOrAltSymbol:B,shortcutMatchesShortcut:F,shortcutToHumanString:Y,types:j,useAddonState:E,useArgTypes:H,useArgs:L,useChannel:N,useGlobalTypes:z,useGlobals:D,useParameter:J,useSharedState:Q,useStoryPrepared:U,useStorybookApi:V,useStorybookState:W}=__STORYBOOK_API__;var c=(()=>{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="tag-filters",d="static-filter";n.register(S,e=>{let u=Object.entries(c.TAGS_OPTIONS??{}).reduce((t,r)=>{let[o,i]=r;return i.excludeFromSidebar&&(t[o]=!0),t},{});e.experimental_setFilter(d,t=>{let r=t.tags??[];return(r.includes("dev")||t.type==="docs")&&r.filter(o=>u[o]).length===0})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt new file mode 100644 index 00000000..e69de29b diff --git a/storybook-static/sb-common-assets/favicon.svg b/storybook-static/sb-common-assets/favicon.svg new file mode 100644 index 00000000..571f90fe --- /dev/null +++ b/storybook-static/sb-common-assets/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 b/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 new file mode 100644 index 00000000..33563d8b Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-bold.woff2 b/storybook-static/sb-common-assets/nunito-sans-bold.woff2 new file mode 100644 index 00000000..19fcc944 Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-bold.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-italic.woff2 b/storybook-static/sb-common-assets/nunito-sans-italic.woff2 new file mode 100644 index 00000000..827096da Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-italic.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-regular.woff2 b/storybook-static/sb-common-assets/nunito-sans-regular.woff2 new file mode 100644 index 00000000..c527ba49 Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-regular.woff2 differ diff --git a/storybook-static/sb-manager/globals-module-info.js b/storybook-static/sb-manager/globals-module-info.js new file mode 100644 index 00000000..41ca415f --- /dev/null +++ b/storybook-static/sb-manager/globals-module-info.js @@ -0,0 +1,1028 @@ +import ESM_COMPAT_Module from "node:module"; +import { fileURLToPath as ESM_COMPAT_fileURLToPath } from 'node:url'; +import { dirname as ESM_COMPAT_dirname } from 'node:path'; +const __filename = ESM_COMPAT_fileURLToPath(import.meta.url); +const __dirname = ESM_COMPAT_dirname(__filename); +const require = ESM_COMPAT_Module.createRequire(import.meta.url); + +// src/manager/globals/exports.ts +var t = { + react: [ + "Children", + "Component", + "Fragment", + "Profiler", + "PureComponent", + "StrictMode", + "Suspense", + "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", + "cloneElement", + "createContext", + "createElement", + "createFactory", + "createRef", + "forwardRef", + "isValidElement", + "lazy", + "memo", + "startTransition", + "unstable_act", + "useCallback", + "useContext", + "useDebugValue", + "useDeferredValue", + "useEffect", + "useId", + "useImperativeHandle", + "useInsertionEffect", + "useLayoutEffect", + "useMemo", + "useReducer", + "useRef", + "useState", + "useSyncExternalStore", + "useTransition", + "version" + ], + "react-dom": [ + "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", + "createPortal", + "createRoot", + "findDOMNode", + "flushSync", + "hydrate", + "hydrateRoot", + "render", + "unmountComponentAtNode", + "unstable_batchedUpdates", + "unstable_renderSubtreeIntoContainer", + "version" + ], + "react-dom/client": ["createRoot", "hydrateRoot"], + "@storybook/icons": [ + "AccessibilityAltIcon", + "AccessibilityIcon", + "AddIcon", + "AdminIcon", + "AlertAltIcon", + "AlertIcon", + "AlignLeftIcon", + "AlignRightIcon", + "AppleIcon", + "ArrowBottomLeftIcon", + "ArrowBottomRightIcon", + "ArrowDownIcon", + "ArrowLeftIcon", + "ArrowRightIcon", + "ArrowSolidDownIcon", + "ArrowSolidLeftIcon", + "ArrowSolidRightIcon", + "ArrowSolidUpIcon", + "ArrowTopLeftIcon", + "ArrowTopRightIcon", + "ArrowUpIcon", + "AzureDevOpsIcon", + "BackIcon", + "BasketIcon", + "BatchAcceptIcon", + "BatchDenyIcon", + "BeakerIcon", + "BellIcon", + "BitbucketIcon", + "BoldIcon", + "BookIcon", + "BookmarkHollowIcon", + "BookmarkIcon", + "BottomBarIcon", + "BottomBarToggleIcon", + "BoxIcon", + "BranchIcon", + "BrowserIcon", + "ButtonIcon", + "CPUIcon", + "CalendarIcon", + "CameraIcon", + "CategoryIcon", + "CertificateIcon", + "ChangedIcon", + "ChatIcon", + "CheckIcon", + "ChevronDownIcon", + "ChevronLeftIcon", + "ChevronRightIcon", + "ChevronSmallDownIcon", + "ChevronSmallLeftIcon", + "ChevronSmallRightIcon", + "ChevronSmallUpIcon", + "ChevronUpIcon", + "ChromaticIcon", + "ChromeIcon", + "CircleHollowIcon", + "CircleIcon", + "ClearIcon", + "CloseAltIcon", + "CloseIcon", + "CloudHollowIcon", + "CloudIcon", + "CogIcon", + "CollapseIcon", + "CommandIcon", + "CommentAddIcon", + "CommentIcon", + "CommentsIcon", + "CommitIcon", + "CompassIcon", + "ComponentDrivenIcon", + "ComponentIcon", + "ContrastIcon", + "ControlsIcon", + "CopyIcon", + "CreditIcon", + "CrossIcon", + "DashboardIcon", + "DatabaseIcon", + "DeleteIcon", + "DiamondIcon", + "DirectionIcon", + "DiscordIcon", + "DocChartIcon", + "DocListIcon", + "DocumentIcon", + "DownloadIcon", + "DragIcon", + "EditIcon", + "EllipsisIcon", + "EmailIcon", + "ExpandAltIcon", + "ExpandIcon", + "EyeCloseIcon", + "EyeIcon", + "FaceHappyIcon", + "FaceNeutralIcon", + "FaceSadIcon", + "FacebookIcon", + "FailedIcon", + "FastForwardIcon", + "FigmaIcon", + "FilterIcon", + "FlagIcon", + "FolderIcon", + "FormIcon", + "GDriveIcon", + "GithubIcon", + "GitlabIcon", + "GlobeIcon", + "GoogleIcon", + "GraphBarIcon", + "GraphLineIcon", + "GraphqlIcon", + "GridAltIcon", + "GridIcon", + "GrowIcon", + "HeartHollowIcon", + "HeartIcon", + "HomeIcon", + "HourglassIcon", + "InfoIcon", + "ItalicIcon", + "JumpToIcon", + "KeyIcon", + "LightningIcon", + "LightningOffIcon", + "LinkBrokenIcon", + "LinkIcon", + "LinkedinIcon", + "LinuxIcon", + "ListOrderedIcon", + "ListUnorderedIcon", + "LocationIcon", + "LockIcon", + "MarkdownIcon", + "MarkupIcon", + "MediumIcon", + "MemoryIcon", + "MenuIcon", + "MergeIcon", + "MirrorIcon", + "MobileIcon", + "MoonIcon", + "NutIcon", + "OutboxIcon", + "OutlineIcon", + "PaintBrushIcon", + "PaperClipIcon", + "ParagraphIcon", + "PassedIcon", + "PhoneIcon", + "PhotoDragIcon", + "PhotoIcon", + "PinAltIcon", + "PinIcon", + "PlayAllHollowIcon", + "PlayBackIcon", + "PlayHollowIcon", + "PlayIcon", + "PlayNextIcon", + "PlusIcon", + "PointerDefaultIcon", + "PointerHandIcon", + "PowerIcon", + "PrintIcon", + "ProceedIcon", + "ProfileIcon", + "PullRequestIcon", + "QuestionIcon", + "RSSIcon", + "RedirectIcon", + "ReduxIcon", + "RefreshIcon", + "ReplyIcon", + "RepoIcon", + "RequestChangeIcon", + "RewindIcon", + "RulerIcon", + "SaveIcon", + "SearchIcon", + "ShareAltIcon", + "ShareIcon", + "ShieldIcon", + "SideBySideIcon", + "SidebarAltIcon", + "SidebarAltToggleIcon", + "SidebarIcon", + "SidebarToggleIcon", + "SpeakerIcon", + "StackedIcon", + "StarHollowIcon", + "StarIcon", + "StatusFailIcon", + "StatusPassIcon", + "StatusWarnIcon", + "StickerIcon", + "StopAltHollowIcon", + "StopAltIcon", + "StopIcon", + "StorybookIcon", + "StructureIcon", + "SubtractIcon", + "SunIcon", + "SupportIcon", + "SwitchAltIcon", + "SyncIcon", + "TabletIcon", + "ThumbsUpIcon", + "TimeIcon", + "TimerIcon", + "TransferIcon", + "TrashIcon", + "TwitterIcon", + "TypeIcon", + "UbuntuIcon", + "UndoIcon", + "UnfoldIcon", + "UnlockIcon", + "UnpinIcon", + "UploadIcon", + "UserAddIcon", + "UserAltIcon", + "UserIcon", + "UsersIcon", + "VSCodeIcon", + "VerifiedIcon", + "VideoIcon", + "WandIcon", + "WatchIcon", + "WindowsIcon", + "WrenchIcon", + "XIcon", + "YoutubeIcon", + "ZoomIcon", + "ZoomOutIcon", + "ZoomResetIcon", + "iconList" + ], + "storybook/internal/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "@storybook/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "@storybook/core/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "storybook/internal/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_requestResponse", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "@storybook/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_requestResponse", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "@storybook/core/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_requestResponse", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "storybook/internal/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "stringifyQuery", + "useNavigate" + ], + "@storybook/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "stringifyQuery", + "useNavigate" + ], + "@storybook/core/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "stringifyQuery", + "useNavigate" + ], + "storybook/internal/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "@storybook/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "@storybook/core/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "storybook/internal/theming/create": ["create", "themes"], + "@storybook/theming/create": ["create", "themes"], + "@storybook/core/theming/create": ["create", "themes"], + "storybook/internal/channels": [ + "Channel", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "@storybook/channels": [ + "Channel", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "@storybook/core/channels": [ + "Channel", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "storybook/internal/core-errors": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", + "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", + "TESTING_MODULE_CRASH_REPORT", + "TESTING_MODULE_PROGRESS_REPORT", + "TESTING_MODULE_RUN_ALL_REQUEST", + "TESTING_MODULE_RUN_REQUEST", + "TESTING_MODULE_WATCH_MODE_REQUEST", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "@storybook/core-events": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", + "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", + "TESTING_MODULE_CRASH_REPORT", + "TESTING_MODULE_PROGRESS_REPORT", + "TESTING_MODULE_RUN_ALL_REQUEST", + "TESTING_MODULE_RUN_REQUEST", + "TESTING_MODULE_WATCH_MODE_REQUEST", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "@storybook/core/core-events": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", + "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", + "TESTING_MODULE_CRASH_REPORT", + "TESTING_MODULE_PROGRESS_REPORT", + "TESTING_MODULE_RUN_ALL_REQUEST", + "TESTING_MODULE_RUN_REQUEST", + "TESTING_MODULE_WATCH_MODE_REQUEST", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "storybook/internal/types": ["Addon_TypesEnum"], + "@storybook/types": ["Addon_TypesEnum"], + "@storybook/core/types": ["Addon_TypesEnum"], + "storybook/internal/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "@storybook/core-events/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "@storybook/core/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "storybook/internal/client-logger": ["deprecate", "logger", "once", "pretty"], + "@storybook/client-logger": ["deprecate", "logger", "once", "pretty"], + "@storybook/core/client-logger": ["deprecate", "logger", "once", "pretty"] +}; + +// src/manager/globals/globals.ts +var e = { + react: "__REACT__", + "react-dom": "__REACT_DOM__", + "react-dom/client": "__REACT_DOM_CLIENT__", + "@storybook/icons": "__STORYBOOK_ICONS__", + "storybook/internal/manager-api": "__STORYBOOK_API__", + "@storybook/manager-api": "__STORYBOOK_API__", + "@storybook/core/manager-api": "__STORYBOOK_API__", + "storybook/internal/components": "__STORYBOOK_COMPONENTS__", + "@storybook/components": "__STORYBOOK_COMPONENTS__", + "@storybook/core/components": "__STORYBOOK_COMPONENTS__", + "storybook/internal/channels": "__STORYBOOK_CHANNELS__", + "@storybook/channels": "__STORYBOOK_CHANNELS__", + "@storybook/core/channels": "__STORYBOOK_CHANNELS__", + "storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__", + "@storybook/core-events": "__STORYBOOK_CORE_EVENTS__", + "@storybook/core/core-events": "__STORYBOOK_CORE_EVENTS__", + "storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "@storybook/core-events/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "@storybook/core/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "storybook/internal/router": "__STORYBOOK_ROUTER__", + "@storybook/router": "__STORYBOOK_ROUTER__", + "@storybook/core/router": "__STORYBOOK_ROUTER__", + "storybook/internal/theming": "__STORYBOOK_THEMING__", + "@storybook/theming": "__STORYBOOK_THEMING__", + "@storybook/core/theming": "__STORYBOOK_THEMING__", + "storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__", + "@storybook/theming/create": "__STORYBOOK_THEMING_CREATE__", + "@storybook/core/theming/create": "__STORYBOOK_THEMING_CREATE__", + "storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "@storybook/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "@storybook/core/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "storybook/internal/types": "__STORYBOOK_TYPES__", + "@storybook/types": "__STORYBOOK_TYPES__", + "@storybook/core/types": "__STORYBOOK_TYPES__" +}, n = Object.keys(e); + +// src/manager/globals/globals-module-info.ts +var S = n.reduce( + (r, o) => (r[o] = { + type: "esm", + varName: e[o], + namedExports: t[o], + defaultExport: !0 + }, r), + {} +); +export { + S as globalsModuleInfoMap +}; diff --git a/storybook-static/sb-manager/globals-runtime.js b/storybook-static/sb-manager/globals-runtime.js new file mode 100644 index 00000000..d65e5b6c --- /dev/null +++ b/storybook-static/sb-manager/globals-runtime.js @@ -0,0 +1,40861 @@ +var LM = Object.create; +var cd = Object.defineProperty; +var NM = Object.getOwnPropertyDescriptor; +var MM = Object.getOwnPropertyNames; +var BM = Object.getPrototypeOf, $M = Object.prototype.hasOwnProperty; +var a = (e, t) => cd(e, "name", { value: t, configurable: !0 }), uc = /* @__PURE__ */ ((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 T = (e, t) => () => (e && (t = e(e = 0)), t); +var F = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), he = (e, t) => { + for (var r in t) + cd(e, r, { get: t[r], enumerable: !0 }); +}, zM = (e, t, r, n) => { + if (t && typeof t == "object" || typeof t == "function") + for (let o of MM(t)) + !$M.call(e, o) && o !== r && cd(e, o, { get: () => t[o], enumerable: !(n = NM(t, o)) || n.enumerable }); + return e; +}; +var I = (e, t, r) => (r = e != null ? LM(BM(e)) : {}, zM( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + t || !e || !e.__esModule ? cd(r, "default", { value: e, enumerable: !0 }) : r, + e +)); + +// ../node_modules/@storybook/global/dist/index.mjs +var H, We = T(() => { + H = (() => { + 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; + })(); +}); + +// ../node_modules/react/cjs/react.production.min.js +var Ub = F((se) => { + "use strict"; + var mc = Symbol.for("react.element"), mB = Symbol.for("react.portal"), gB = Symbol.for("react.fragment"), vB = Symbol.for("react.strict_mo\ +de"), yB = Symbol.for("react.profiler"), wB = Symbol.for("react.provider"), bB = Symbol.for("react.context"), SB = Symbol.for("react.forward\ +_ref"), EB = Symbol.for("react.suspense"), xB = Symbol.for("react.memo"), CB = Symbol.for("react.lazy"), Ob = Symbol.iterator; + function DB(e) { + return e === null || typeof e != "object" ? null : (e = Ob && e[Ob] || e["@@iterator"], typeof e == "function" ? e : null); + } + a(DB, "A"); + var Mb = { isMounted: /* @__PURE__ */ a(function() { + return !1; + }, "isMounted"), enqueueForceUpdate: /* @__PURE__ */ a(function() { + }, "enqueueForceUpdate"), enqueueReplaceState: /* @__PURE__ */ a(function() { + }, "enqueueReplaceState"), enqueueSetState: /* @__PURE__ */ a(function() { + }, "enqueueSetState") }, Bb = Object.assign, $b = {}; + function ms(e, t, r) { + this.props = e, this.context = t, this.refs = $b, this.updater = r || Mb; + } + a(ms, "E"); + ms.prototype.isReactComponent = {}; + ms.prototype.setState = function(e, t) { + if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to updat\ +e or a function which returns an object of state variables."); + this.updater.enqueueSetState(this, e, t, "setState"); + }; + ms.prototype.forceUpdate = function(e) { + this.updater.enqueueForceUpdate(this, e, "forceUpdate"); + }; + function zb() { + } + a(zb, "F"); + zb.prototype = ms.prototype; + function c2(e, t, r) { + this.props = e, this.context = t, this.refs = $b, this.updater = r || Mb; + } + a(c2, "G"); + var p2 = c2.prototype = new zb(); + p2.constructor = c2; + Bb(p2, ms.prototype); + p2.isPureReactComponent = !0; + var Lb = Array.isArray, Hb = Object.prototype.hasOwnProperty, f2 = { current: null }, jb = { key: !0, ref: !0, __self: !0, __source: !0 }; + function Vb(e, t, r) { + var n, o = {}, i = null, s = null; + if (t != null) for (n in t.ref !== void 0 && (s = t.ref), t.key !== void 0 && (i = "" + t.key), t) Hb.call(t, n) && !jb.hasOwnProperty(n) && + (o[n] = t[n]); + var l = arguments.length - 2; + if (l === 1) o.children = r; + else if (1 < l) { + for (var u = Array(l), c = 0; c < l; c++) u[c] = arguments[c + 2]; + o.children = u; + } + if (e && e.defaultProps) for (n in l = e.defaultProps, l) o[n] === void 0 && (o[n] = l[n]); + return { $$typeof: mc, type: e, key: i, ref: s, props: o, _owner: f2.current }; + } + a(Vb, "M"); + function RB(e, t) { + return { $$typeof: mc, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner }; + } + a(RB, "N"); + function d2(e) { + return typeof e == "object" && e !== null && e.$$typeof === mc; + } + a(d2, "O"); + function AB(e) { + var t = { "=": "=0", ":": "=2" }; + return "$" + e.replace(/[=:]/g, function(r) { + return t[r]; + }); + } + a(AB, "escape"); + var Nb = /\/+/g; + function u2(e, t) { + return typeof e == "object" && e !== null && e.key != null ? AB("" + e.key) : t.toString(36); + } + a(u2, "Q"); + function dd(e, t, r, n, o) { + var i = typeof e; + (i === "undefined" || i === "boolean") && (e = null); + var s = !1; + if (e === null) s = !0; + else switch (i) { + case "string": + case "number": + s = !0; + break; + case "object": + switch (e.$$typeof) { + case mc: + case mB: + s = !0; + } + } + if (s) return s = e, o = o(s), e = n === "" ? "." + u2(s, 0) : n, Lb(o) ? (r = "", e != null && (r = e.replace(Nb, "$&/") + "/"), dd(o, t, + r, "", function(c) { + return c; + })) : o != null && (d2(o) && (o = RB(o, r + (!o.key || s && s.key === o.key ? "" : ("" + o.key).replace(Nb, "$&/") + "/") + e)), t.push( + o)), 1; + if (s = 0, n = n === "" ? "." : n + ":", Lb(e)) for (var l = 0; l < e.length; l++) { + i = e[l]; + var u = n + u2(i, l); + s += dd(i, t, r, u, o); + } + else if (u = DB(e), typeof u == "function") for (e = u.call(e), l = 0; !(i = e.next()).done; ) i = i.value, u = n + u2(i, l++), s += dd( + i, t, r, u, o); + else if (i === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "obje\ +ct with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."); + return s; + } + a(dd, "R"); + function fd(e, t, r) { + if (e == null) return e; + var n = [], o = 0; + return dd(e, n, "", "", function(i) { + return t.call(r, i, o++); + }), n; + } + a(fd, "S"); + function _B(e) { + if (e._status === -1) { + var t = e._result; + t = t(), t.then(function(r) { + (e._status === 0 || e._status === -1) && (e._status = 1, e._result = r); + }, function(r) { + (e._status === 0 || e._status === -1) && (e._status = 2, e._result = r); + }), e._status === -1 && (e._status = 0, e._result = t); + } + if (e._status === 1) return e._result.default; + throw e._result; + } + a(_B, "T"); + var Bt = { current: null }, hd = { transition: null }, TB = { ReactCurrentDispatcher: Bt, ReactCurrentBatchConfig: hd, ReactCurrentOwner: f2 }; + se.Children = { map: fd, forEach: /* @__PURE__ */ a(function(e, t, r) { + fd(e, function() { + t.apply(this, arguments); + }, r); + }, "forEach"), count: /* @__PURE__ */ a(function(e) { + var t = 0; + return fd(e, function() { + t++; + }), t; + }, "count"), toArray: /* @__PURE__ */ a(function(e) { + return fd(e, function(t) { + return t; + }) || []; + }, "toArray"), only: /* @__PURE__ */ a(function(e) { + if (!d2(e)) throw Error("React.Children.only expected to receive a single React element child."); + return e; + }, "only") }; + se.Component = ms; + se.Fragment = gB; + se.Profiler = yB; + se.PureComponent = c2; + se.StrictMode = vB; + se.Suspense = EB; + se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = TB; + se.cloneElement = function(e, t, r) { + if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + "."); + var n = Bb({}, e.props), o = e.key, i = e.ref, s = e._owner; + if (t != null) { + if (t.ref !== void 0 && (i = t.ref, s = f2.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var l = e.type. + defaultProps; + for (u in t) Hb.call(t, u) && !jb.hasOwnProperty(u) && (n[u] = t[u] === void 0 && l !== void 0 ? l[u] : t[u]); + } + var u = arguments.length - 2; + if (u === 1) n.children = r; + else if (1 < u) { + l = Array(u); + for (var c = 0; c < u; c++) l[c] = arguments[c + 2]; + n.children = l; + } + return { $$typeof: mc, type: e.type, key: o, ref: i, props: n, _owner: s }; + }; + se.createContext = function(e) { + return e = { $$typeof: bB, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, + e.Provider = { $$typeof: wB, _context: e }, e.Consumer = e; + }; + se.createElement = Vb; + se.createFactory = function(e) { + var t = Vb.bind(null, e); + return t.type = e, t; + }; + se.createRef = function() { + return { current: null }; + }; + se.forwardRef = function(e) { + return { $$typeof: SB, render: e }; + }; + se.isValidElement = d2; + se.lazy = function(e) { + return { $$typeof: CB, _payload: { _status: -1, _result: e }, _init: _B }; + }; + se.memo = function(e, t) { + return { $$typeof: xB, type: e, compare: t === void 0 ? null : t }; + }; + se.startTransition = function(e) { + var t = hd.transition; + hd.transition = {}; + try { + e(); + } finally { + hd.transition = t; + } + }; + se.unstable_act = function() { + throw Error("act(...) is not supported in production builds of React."); + }; + se.useCallback = function(e, t) { + return Bt.current.useCallback(e, t); + }; + se.useContext = function(e) { + return Bt.current.useContext(e); + }; + se.useDebugValue = function() { + }; + se.useDeferredValue = function(e) { + return Bt.current.useDeferredValue(e); + }; + se.useEffect = function(e, t) { + return Bt.current.useEffect(e, t); + }; + se.useId = function() { + return Bt.current.useId(); + }; + se.useImperativeHandle = function(e, t, r) { + return Bt.current.useImperativeHandle(e, t, r); + }; + se.useInsertionEffect = function(e, t) { + return Bt.current.useInsertionEffect(e, t); + }; + se.useLayoutEffect = function(e, t) { + return Bt.current.useLayoutEffect(e, t); + }; + se.useMemo = function(e, t) { + return Bt.current.useMemo(e, t); + }; + se.useReducer = function(e, t, r) { + return Bt.current.useReducer(e, t, r); + }; + se.useRef = function(e) { + return Bt.current.useRef(e); + }; + se.useState = function(e) { + return Bt.current.useState(e); + }; + se.useSyncExternalStore = function(e, t, r) { + return Bt.current.useSyncExternalStore(e, t, r); + }; + se.useTransition = function() { + return Bt.current.useTransition(); + }; + se.version = "18.2.0"; +}); + +// ../node_modules/react/index.js +var O = F(($0e, Wb) => { + "use strict"; + Wb.exports = Ub(); +}); + +// ../node_modules/scheduler/cjs/scheduler.production.min.js +var tS = F((Ee) => { + "use strict"; + function v2(e, t) { + var r = e.length; + e.push(t); + e: for (; 0 < r; ) { + var n = r - 1 >>> 1, o = e[n]; + if (0 < md(o, t)) e[n] = t, e[r] = o, r = n; + else break e; + } + } + a(v2, "f"); + function an(e) { + return e.length === 0 ? null : e[0]; + } + a(an, "h"); + function vd(e) { + if (e.length === 0) return null; + var t = e[0], r = e.pop(); + if (r !== t) { + e[0] = r; + e: for (var n = 0, o = e.length, i = o >>> 1; n < i; ) { + var s = 2 * (n + 1) - 1, l = e[s], u = s + 1, c = e[u]; + if (0 > md(l, r)) u < o && 0 > md(c, l) ? (e[n] = c, e[u] = r, n = u) : (e[n] = l, e[s] = r, n = s); + else if (u < o && 0 > md(c, r)) e[n] = c, e[u] = r, n = u; + else break e; + } + } + return t; + } + a(vd, "k"); + function md(e, t) { + var r = e.sortIndex - t.sortIndex; + return r !== 0 ? r : e.id - t.id; + } + a(md, "g"); + typeof performance == "object" && typeof performance.now == "function" ? (qb = performance, Ee.unstable_now = function() { + return qb.now(); + }) : (h2 = Date, Gb = h2.now(), Ee.unstable_now = function() { + return h2.now() - Gb; + }); + var qb, h2, Gb, On = [], Ko = [], kB = 1, Fr = null, _t = 3, yd = !1, ei = !1, vc = !1, Xb = typeof setTimeout == "function" ? setTimeout : + null, Qb = typeof clearTimeout == "function" ? clearTimeout : null, Yb = typeof setImmediate < "u" ? setImmediate : null; + typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending. + bind(navigator.scheduling); + function y2(e) { + for (var t = an(Ko); t !== null; ) { + if (t.callback === null) vd(Ko); + else if (t.startTime <= e) vd(Ko), t.sortIndex = t.expirationTime, v2(On, t); + else break; + t = an(Ko); + } + } + a(y2, "G"); + function w2(e) { + if (vc = !1, y2(e), !ei) if (an(On) !== null) ei = !0, S2(b2); + else { + var t = an(Ko); + t !== null && E2(w2, t.startTime - e); + } + } + a(w2, "H"); + function b2(e, t) { + ei = !1, vc && (vc = !1, Qb(yc), yc = -1), yd = !0; + var r = _t; + try { + for (y2(t), Fr = an(On); Fr !== null && (!(Fr.expirationTime > t) || e && !eS()); ) { + var n = Fr.callback; + if (typeof n == "function") { + Fr.callback = null, _t = Fr.priorityLevel; + var o = n(Fr.expirationTime <= t); + t = Ee.unstable_now(), typeof o == "function" ? Fr.callback = o : Fr === an(On) && vd(On), y2(t); + } else vd(On); + Fr = an(On); + } + if (Fr !== null) var i = !0; + else { + var s = an(Ko); + s !== null && E2(w2, s.startTime - t), i = !1; + } + return i; + } finally { + Fr = null, _t = r, yd = !1; + } + } + a(b2, "J"); + var wd = !1, gd = null, yc = -1, Jb = 5, Zb = -1; + function eS() { + return !(Ee.unstable_now() - Zb < Jb); + } + a(eS, "M"); + function m2() { + if (gd !== null) { + var e = Ee.unstable_now(); + Zb = e; + var t = !0; + try { + t = gd(!0, e); + } finally { + t ? gc() : (wd = !1, gd = null); + } + } else wd = !1; + } + a(m2, "R"); + var gc; + typeof Yb == "function" ? gc = /* @__PURE__ */ a(function() { + Yb(m2); + }, "S") : typeof MessageChannel < "u" ? (g2 = new MessageChannel(), Kb = g2.port2, g2.port1.onmessage = m2, gc = /* @__PURE__ */ a(function() { + Kb.postMessage(null); + }, "S")) : gc = /* @__PURE__ */ a(function() { + Xb(m2, 0); + }, "S"); + var g2, Kb; + function S2(e) { + gd = e, wd || (wd = !0, gc()); + } + a(S2, "I"); + function E2(e, t) { + yc = Xb(function() { + e(Ee.unstable_now()); + }, t); + } + a(E2, "K"); + Ee.unstable_IdlePriority = 5; + Ee.unstable_ImmediatePriority = 1; + Ee.unstable_LowPriority = 4; + Ee.unstable_NormalPriority = 3; + Ee.unstable_Profiling = null; + Ee.unstable_UserBlockingPriority = 2; + Ee.unstable_cancelCallback = function(e) { + e.callback = null; + }; + Ee.unstable_continueExecution = function() { + ei || yd || (ei = !0, S2(b2)); + }; + Ee.unstable_forceFrameRate = function(e) { + 0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not \ +supported") : Jb = 0 < e ? Math.floor(1e3 / e) : 5; + }; + Ee.unstable_getCurrentPriorityLevel = function() { + return _t; + }; + Ee.unstable_getFirstCallbackNode = function() { + return an(On); + }; + Ee.unstable_next = function(e) { + switch (_t) { + case 1: + case 2: + case 3: + var t = 3; + break; + default: + t = _t; + } + var r = _t; + _t = t; + try { + return e(); + } finally { + _t = r; + } + }; + Ee.unstable_pauseExecution = function() { + }; + Ee.unstable_requestPaint = function() { + }; + Ee.unstable_runWithPriority = function(e, t) { + switch (e) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + e = 3; + } + var r = _t; + _t = e; + try { + return t(); + } finally { + _t = r; + } + }; + Ee.unstable_scheduleCallback = function(e, t, r) { + var n = Ee.unstable_now(); + switch (typeof r == "object" && r !== null ? (r = r.delay, r = typeof r == "number" && 0 < r ? n + r : n) : r = n, e) { + case 1: + var o = -1; + break; + case 2: + o = 250; + break; + case 5: + o = 1073741823; + break; + case 4: + o = 1e4; + break; + default: + o = 5e3; + } + return o = r + o, e = { id: kB++, callback: t, priorityLevel: e, startTime: r, expirationTime: o, sortIndex: -1 }, r > n ? (e.sortIndex = + r, v2(Ko, e), an(On) === null && e === an(Ko) && (vc ? (Qb(yc), yc = -1) : vc = !0, E2(w2, r - n))) : (e.sortIndex = o, v2(On, e), ei || + yd || (ei = !0, S2(b2))), e; + }; + Ee.unstable_shouldYield = eS; + Ee.unstable_wrapCallback = function(e) { + var t = _t; + return function() { + var r = _t; + _t = t; + try { + return e.apply(this, arguments); + } finally { + _t = r; + } + }; + }; +}); + +// ../node_modules/scheduler/index.js +var nS = F((j0e, rS) => { + "use strict"; + rS.exports = tS(); +}); + +// ../node_modules/react-dom/cjs/react-dom.production.min.js +var ux = F((Er) => { + "use strict"; + var cE = O(), br = nS(); + function M(e) { + for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, r = 1; r < arguments.length; r++) t += "&args[]=" + encodeURIComponent( + arguments[r]); + return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors an\ +d additional helpful warnings."; + } + a(M, "p"); + var pE = /* @__PURE__ */ new Set(), zc = {}; + function di(e, t) { + Ns(e, t), Ns(e + "Capture", t); + } + a(di, "fa"); + function Ns(e, t) { + for (zc[e] = t, e = 0; e < t.length; e++) pE.add(t[e]); + } + a(Ns, "ha"); + var go = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), W2 = Object.prototype.hasOwnProperty, + IB = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, + oS = {}, aS = {}; + function PB(e) { + return W2.call(aS, e) ? !0 : W2.call(oS, e) ? !1 : IB.test(e) ? aS[e] = !0 : (oS[e] = !0, !1); + } + a(PB, "oa"); + function FB(e, t, r, n) { + if (r !== null && r.type === 0) return !1; + switch (typeof t) { + case "function": + case "symbol": + return !0; + case "boolean": + return n ? !1 : r !== null ? !r.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-"); + default: + return !1; + } + } + a(FB, "pa"); + function OB(e, t, r, n) { + if (t === null || typeof t > "u" || FB(e, t, r, n)) return !0; + if (n) return !1; + if (r !== null) switch (r.type) { + case 3: + return !t; + case 4: + return t === !1; + case 5: + return isNaN(t); + case 6: + return isNaN(t) || 1 > t; + } + return !1; + } + a(OB, "qa"); + function Ht(e, t, r, n, o, i, s) { + this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = n, this.attributeNamespace = o, this.mustUseProperty = r, this. + propertyName = e, this.type = t, this.sanitizeURL = i, this.removeEmptyString = s; + } + a(Ht, "v"); + var St = {}; + "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split( + " ").forEach(function(e) { + St[e] = new Ht(e, 0, !1, e, null, !1, !1); + }); + [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) { + var t = e[0]; + St[t] = new Ht(t, 1, !1, e[1], null, !1, !1); + }); + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) { + St[e] = new Ht(e, 2, !1, e.toLowerCase(), null, !1, !1); + }); + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) { + St[e] = new Ht(e, 2, !1, e, null, !1, !1); + }); + "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hid\ +den loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e) { + St[e] = new Ht(e, 3, !1, e.toLowerCase(), null, !1, !1); + }); + ["checked", "multiple", "muted", "selected"].forEach(function(e) { + St[e] = new Ht(e, 3, !0, e, null, !1, !1); + }); + ["capture", "download"].forEach(function(e) { + St[e] = new Ht(e, 4, !1, e, null, !1, !1); + }); + ["cols", "rows", "size", "span"].forEach(function(e) { + St[e] = new Ht(e, 6, !1, e, null, !1, !1); + }); + ["rowSpan", "start"].forEach(function(e) { + St[e] = new Ht(e, 5, !1, e.toLowerCase(), null, !1, !1); + }); + var M5 = /[\-:]([a-z])/g; + function B5(e) { + return e[1].toUpperCase(); + } + a(B5, "sa"); + "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filter\ +s color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size f\ +ont-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-ad\ +v-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness pai\ +nt-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness str\ +oke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration tex\ +t-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematic\ +al vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) { + var t = e.replace( + M5, + B5 + ); + St[t] = new Ht(t, 1, !1, e, null, !1, !1); + }); + "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) { + var t = e.replace(M5, B5); + St[t] = new Ht(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); + }); + ["xml:base", "xml:lang", "xml:space"].forEach(function(e) { + var t = e.replace(M5, B5); + St[t] = new Ht(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); + }); + ["tabIndex", "crossOrigin"].forEach(function(e) { + St[e] = new Ht(e, 1, !1, e.toLowerCase(), null, !1, !1); + }); + St.xlinkHref = new Ht("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); + ["src", "href", "action", "formAction"].forEach(function(e) { + St[e] = new Ht(e, 1, !1, e.toLowerCase(), null, !0, !0); + }); + function $5(e, t, r, n) { + var o = St.hasOwnProperty(t) ? St[t] : null; + (o !== null ? o.type !== 0 : n || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (OB(t, r, o, n) && + (r = null), n || o === null ? PB(t) && (r === null ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) : o.mustUseProperty ? e[o.propertyName] = + r === null ? o.type === 3 ? !1 : "" : r : (t = o.attributeName, n = o.attributeNamespace, r === null ? e.removeAttribute(t) : (o = o.type, + r = o === 3 || o === 4 && r === !0 ? "" : "" + r, n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r)))); + } + a($5, "ta"); + var bo = cE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, bd = Symbol.for("react.element"), ys = Symbol.for("react.portal"), ws = Symbol. + for("react.fragment"), z5 = Symbol.for("react.strict_mode"), q2 = Symbol.for("react.profiler"), fE = Symbol.for("react.provider"), dE = Symbol. + for("react.context"), H5 = Symbol.for("react.forward_ref"), G2 = Symbol.for("react.suspense"), Y2 = Symbol.for("react.suspense_list"), j5 = Symbol. + for("react.memo"), Qo = Symbol.for("react.lazy"); + Symbol.for("react.scope"); + Symbol.for("react.debug_trace_mode"); + var hE = Symbol.for("react.offscreen"); + Symbol.for("react.legacy_hidden"); + Symbol.for("react.cache"); + Symbol.for("react.tracing_marker"); + var iS = Symbol.iterator; + function wc(e) { + return e === null || typeof e != "object" ? null : (e = iS && e[iS] || e["@@iterator"], typeof e == "function" ? e : null); + } + a(wc, "Ka"); + var Ne = Object.assign, x2; + function Ac(e) { + if (x2 === void 0) try { + throw Error(); + } catch (r) { + var t = r.stack.trim().match(/\n( *(at )?)/); + x2 = t && t[1] || ""; + } + return ` +` + x2 + e; + } + a(Ac, "Ma"); + var C2 = !1; + function D2(e, t) { + if (!e || C2) return ""; + C2 = !0; + var r = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + try { + if (t) if (t = /* @__PURE__ */ a(function() { + throw Error(); + }, "b"), Object.defineProperty(t.prototype, "props", { set: /* @__PURE__ */ a(function() { + throw Error(); + }, "set") }), typeof Reflect == "object" && Reflect.construct) { + try { + Reflect.construct(t, []); + } catch (c) { + var n = c; + } + Reflect.construct(e, [], t); + } else { + try { + t.call(); + } catch (c) { + n = c; + } + e.call(t.prototype); + } + else { + try { + throw Error(); + } catch (c) { + n = c; + } + e(); + } + } catch (c) { + if (c && n && typeof c.stack == "string") { + for (var o = c.stack.split(` +`), i = n.stack.split(` +`), s = o.length - 1, l = i.length - 1; 1 <= s && 0 <= l && o[s] !== i[l]; ) l--; + for (; 1 <= s && 0 <= l; s--, l--) if (o[s] !== i[l]) { + if (s !== 1 || l !== 1) + do + if (s--, l--, 0 > l || o[s] !== i[l]) { + var u = ` +` + o[s].replace(" at new ", " at "); + return e.displayName && u.includes("") && (u = u.replace("", e.displayName)), u; + } + while (1 <= s && 0 <= l); + break; + } + } + } finally { + C2 = !1, Error.prepareStackTrace = r; + } + return (e = e ? e.displayName || e.name : "") ? Ac(e) : ""; + } + a(D2, "Oa"); + function LB(e) { + switch (e.tag) { + case 5: + return Ac(e.type); + case 16: + return Ac("Lazy"); + case 13: + return Ac("Suspense"); + case 19: + return Ac("SuspenseList"); + case 0: + case 2: + case 15: + return e = D2(e.type, !1), e; + case 11: + return e = D2(e.type.render, !1), e; + case 1: + return e = D2(e.type, !0), e; + default: + return ""; + } + } + a(LB, "Pa"); + function K2(e) { + if (e == null) return null; + if (typeof e == "function") return e.displayName || e.name || null; + if (typeof e == "string") return e; + switch (e) { + case ws: + return "Fragment"; + case ys: + return "Portal"; + case q2: + return "Profiler"; + case z5: + return "StrictMode"; + case G2: + return "Suspense"; + case Y2: + return "SuspenseList"; + } + if (typeof e == "object") switch (e.$$typeof) { + case dE: + return (e.displayName || "Context") + ".Consumer"; + case fE: + return (e._context.displayName || "Context") + ".Provider"; + case H5: + var t = e.render; + return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e; + case j5: + return t = e.displayName || null, t !== null ? t : K2(e.type) || "Memo"; + case Qo: + t = e._payload, e = e._init; + try { + return K2(e(t)); + } catch { + } + } + return null; + } + a(K2, "Qa"); + function NB(e) { + var t = e.type; + switch (e.tag) { + case 24: + return "Cache"; + case 9: + return (t.displayName || "Context") + ".Consumer"; + case 10: + return (t._context.displayName || "Context") + ".Provider"; + case 18: + return "DehydratedFragment"; + case 11: + return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"); + case 7: + return "Fragment"; + case 5: + return t; + case 4: + return "Portal"; + case 3: + return "Root"; + case 6: + return "Text"; + case 16: + return K2(t); + case 8: + return t === z5 ? "StrictMode" : "Mode"; + case 22: + return "Offscreen"; + case 12: + return "Profiler"; + case 21: + return "Scope"; + case 13: + return "Suspense"; + case 19: + return "SuspenseList"; + case 25: + return "TracingMarker"; + case 1: + case 0: + case 17: + case 2: + case 14: + case 15: + if (typeof t == "function") return t.displayName || t.name || null; + if (typeof t == "string") return t; + } + return null; + } + a(NB, "Ra"); + function pa(e) { + switch (typeof e) { + case "boolean": + case "number": + case "string": + case "undefined": + return e; + case "object": + return e; + default: + return ""; + } + } + a(pa, "Sa"); + function mE(e) { + var t = e.type; + return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio"); + } + a(mE, "Ta"); + function MB(e) { + var t = mE(e) ? "checked" : "value", r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), n = "" + e[t]; + if (!e.hasOwnProperty(t) && typeof r < "u" && typeof r.get == "function" && typeof r.set == "function") { + var o = r.get, i = r.set; + return Object.defineProperty(e, t, { configurable: !0, get: /* @__PURE__ */ a(function() { + return o.call(this); + }, "get"), set: /* @__PURE__ */ a(function(s) { + n = "" + s, i.call(this, s); + }, "set") }), Object.defineProperty(e, t, { enumerable: r.enumerable }), { getValue: /* @__PURE__ */ a(function() { + return n; + }, "getValue"), setValue: /* @__PURE__ */ a(function(s) { + n = "" + s; + }, "setValue"), stopTracking: /* @__PURE__ */ a(function() { + e._valueTracker = null, delete e[t]; + }, "stopTracking") }; + } + } + a(MB, "Ua"); + function Sd(e) { + e._valueTracker || (e._valueTracker = MB(e)); + } + a(Sd, "Va"); + function gE(e) { + if (!e) return !1; + var t = e._valueTracker; + if (!t) return !0; + var r = t.getValue(), n = ""; + return e && (n = mE(e) ? e.checked ? "true" : "false" : e.value), e = n, e !== r ? (t.setValue(e), !0) : !1; + } + a(gE, "Wa"); + function Kd(e) { + if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null; + try { + return e.activeElement || e.body; + } catch { + return e.body; + } + } + a(Kd, "Xa"); + function X2(e, t) { + var r = t.checked; + return Ne({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: r ?? e._wrapperState.initialChecked }); + } + a(X2, "Ya"); + function sS(e, t) { + var r = t.defaultValue == null ? "" : t.defaultValue, n = t.checked != null ? t.checked : t.defaultChecked; + r = pa(t.value != null ? t.value : r), e._wrapperState = { initialChecked: n, initialValue: r, controlled: t.type === "checkbox" || t.type === + "radio" ? t.checked != null : t.value != null }; + } + a(sS, "Za"); + function vE(e, t) { + t = t.checked, t != null && $5(e, "checked", t, !1); + } + a(vE, "ab"); + function Q2(e, t) { + vE(e, t); + var r = pa(t.value), n = t.type; + if (r != null) n === "number" ? (r === 0 && e.value === "" || e.value != r) && (e.value = "" + r) : e.value !== "" + r && (e.value = "" + + r); + else if (n === "submit" || n === "reset") { + e.removeAttribute("value"); + return; + } + t.hasOwnProperty("value") ? J2(e, t.type, r) : t.hasOwnProperty("defaultValue") && J2(e, t.type, pa(t.defaultValue)), t.checked == null && + t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked); + } + a(Q2, "bb"); + function lS(e, t, r) { + if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { + var n = t.type; + if (!(n !== "submit" && n !== "reset" || t.value !== void 0 && t.value !== null)) return; + t = "" + e._wrapperState.initialValue, r || t === e.value || (e.value = t), e.defaultValue = t; + } + r = e.name, r !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, r !== "" && (e.name = r); + } + a(lS, "db"); + function J2(e, t, r) { + (t !== "number" || Kd(e.ownerDocument) !== e) && (r == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + + r && (e.defaultValue = "" + r)); + } + a(J2, "cb"); + var _c = Array.isArray; + function ks(e, t, r, n) { + if (e = e.options, t) { + t = {}; + for (var o = 0; o < r.length; o++) t["$" + r[o]] = !0; + for (r = 0; r < e.length; r++) o = t.hasOwnProperty("$" + e[r].value), e[r].selected !== o && (e[r].selected = o), o && n && (e[r].defaultSelected = + !0); + } else { + for (r = "" + pa(r), t = null, o = 0; o < e.length; o++) { + if (e[o].value === r) { + e[o].selected = !0, n && (e[o].defaultSelected = !0); + return; + } + t !== null || e[o].disabled || (t = e[o]); + } + t !== null && (t.selected = !0); + } + } + a(ks, "fb"); + function Z2(e, t) { + if (t.dangerouslySetInnerHTML != null) throw Error(M(91)); + return Ne({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue }); + } + a(Z2, "gb"); + function uS(e, t) { + var r = t.value; + if (r == null) { + if (r = t.children, t = t.defaultValue, r != null) { + if (t != null) throw Error(M(92)); + if (_c(r)) { + if (1 < r.length) throw Error(M(93)); + r = r[0]; + } + t = r; + } + t == null && (t = ""), r = t; + } + e._wrapperState = { initialValue: pa(r) }; + } + a(uS, "hb"); + function yE(e, t) { + var r = pa(t.value), n = pa(t.defaultValue); + r != null && (r = "" + r, r !== e.value && (e.value = r), t.defaultValue == null && e.defaultValue !== r && (e.defaultValue = r)), n != null && + (e.defaultValue = "" + n); + } + a(yE, "ib"); + function cS(e) { + var t = e.textContent; + t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t); + } + a(cS, "jb"); + function wE(e) { + switch (e) { + case "svg": + return "http://www.w3.org/2000/svg"; + case "math": + return "http://www.w3.org/1998/Math/MathML"; + default: + return "http://www.w3.org/1999/xhtml"; + } + } + a(wE, "kb"); + function e5(e, t) { + return e == null || e === "http://www.w3.org/1999/xhtml" ? wE(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http:/\ +/www.w3.org/1999/xhtml" : e; + } + a(e5, "lb"); + var Ed, bE = function(e) { + return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, r, n, o) { + MSApp.execUnsafeLocalFunction(function() { + return e(t, r, n, o); + }); + } : e; + }(function(e, t) { + if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t; + else { + for (Ed = Ed || document.createElement("div"), Ed.innerHTML = "" + t.valueOf().toString() + "", t = Ed.firstChild; e.firstChild; ) + e.removeChild(e.firstChild); + for (; t.firstChild; ) e.appendChild(t.firstChild); + } + }); + function Hc(e, t) { + if (t) { + var r = e.firstChild; + if (r && r === e.lastChild && r.nodeType === 3) { + r.nodeValue = t; + return; + } + } + e.textContent = t; + } + a(Hc, "ob"); + var Ic = { + animationIterationCount: !0, + aspectRatio: !0, + borderImageOutset: !0, + borderImageSlice: !0, + borderImageWidth: !0, + boxFlex: !0, + boxFlexGroup: !0, + boxOrdinalGroup: !0, + columnCount: !0, + columns: !0, + flex: !0, + flexGrow: !0, + flexPositive: !0, + flexShrink: !0, + flexNegative: !0, + flexOrder: !0, + gridArea: !0, + gridRow: !0, + gridRowEnd: !0, + gridRowSpan: !0, + gridRowStart: !0, + gridColumn: !0, + gridColumnEnd: !0, + gridColumnSpan: !0, + gridColumnStart: !0, + fontWeight: !0, + lineClamp: !0, + lineHeight: !0, + opacity: !0, + order: !0, + orphans: !0, + tabSize: !0, + widows: !0, + zIndex: !0, + zoom: !0, + fillOpacity: !0, + floodOpacity: !0, + stopOpacity: !0, + strokeDasharray: !0, + strokeDashoffset: !0, + strokeMiterlimit: !0, + strokeOpacity: !0, + strokeWidth: !0 + }, BB = ["Webkit", "ms", "Moz", "O"]; + Object.keys(Ic).forEach(function(e) { + BB.forEach(function(t) { + t = t + e.charAt(0).toUpperCase() + e.substring(1), Ic[t] = Ic[e]; + }); + }); + function SE(e, t, r) { + return t == null || typeof t == "boolean" || t === "" ? "" : r || typeof t != "number" || t === 0 || Ic.hasOwnProperty(e) && Ic[e] ? ("" + + t).trim() : t + "px"; + } + a(SE, "rb"); + function EE(e, t) { + e = e.style; + for (var r in t) if (t.hasOwnProperty(r)) { + var n = r.indexOf("--") === 0, o = SE(r, t[r], n); + r === "float" && (r = "cssFloat"), n ? e.setProperty(r, o) : e[r] = o; + } + } + a(EE, "sb"); + var $B = Ne({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, + param: !0, source: !0, track: !0, wbr: !0 }); + function t5(e, t) { + if (t) { + if ($B[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(M(137, e)); + if (t.dangerouslySetInnerHTML != null) { + if (t.children != null) throw Error(M(60)); + if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(M(61)); + } + if (t.style != null && typeof t.style != "object") throw Error(M(62)); + } + } + a(t5, "ub"); + function r5(e, t) { + if (e.indexOf("-") === -1) return typeof t.is == "string"; + switch (e) { + case "annotation-xml": + case "color-profile": + case "font-face": + case "font-face-src": + case "font-face-uri": + case "font-face-format": + case "font-face-name": + case "missing-glyph": + return !1; + default: + return !0; + } + } + a(r5, "vb"); + var n5 = null; + function V5(e) { + return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : + e; + } + a(V5, "xb"); + var o5 = null, Is = null, Ps = null; + function pS(e) { + if (e = ap(e)) { + if (typeof o5 != "function") throw Error(M(280)); + var t = e.stateNode; + t && (t = x0(t), o5(e.stateNode, e.type, t)); + } + } + a(pS, "Bb"); + function xE(e) { + Is ? Ps ? Ps.push(e) : Ps = [e] : Is = e; + } + a(xE, "Eb"); + function CE() { + if (Is) { + var e = Is, t = Ps; + if (Ps = Is = null, pS(e), t) for (e = 0; e < t.length; e++) pS(t[e]); + } + } + a(CE, "Fb"); + function DE(e, t) { + return e(t); + } + a(DE, "Gb"); + function RE() { + } + a(RE, "Hb"); + var R2 = !1; + function AE(e, t, r) { + if (R2) return e(t, r); + R2 = !0; + try { + return DE(e, t, r); + } finally { + R2 = !1, (Is !== null || Ps !== null) && (RE(), CE()); + } + } + a(AE, "Jb"); + function jc(e, t) { + var r = e.stateNode; + if (r === null) return null; + var n = x0(r); + if (n === null) return null; + r = n[t]; + e: switch (t) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + case "onMouseEnter": + (n = !n.disabled) || (e = e.type, n = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !n; + break e; + default: + e = !1; + } + if (e) return null; + if (r && typeof r != "function") throw Error(M(231, t, typeof r)); + return r; + } + a(jc, "Kb"); + var a5 = !1; + if (go) try { + gs = {}, Object.defineProperty(gs, "passive", { get: /* @__PURE__ */ a(function() { + a5 = !0; + }, "get") }), window.addEventListener("test", gs, gs), window.removeEventListener("test", gs, gs); + } catch { + a5 = !1; + } + var gs; + function zB(e, t, r, n, o, i, s, l, u) { + var c = Array.prototype.slice.call(arguments, 3); + try { + t.apply(r, c); + } catch (p) { + this.onError(p); + } + } + a(zB, "Nb"); + var Pc = !1, Xd = null, Qd = !1, i5 = null, HB = { onError: /* @__PURE__ */ a(function(e) { + Pc = !0, Xd = e; + }, "onError") }; + function jB(e, t, r, n, o, i, s, l, u) { + Pc = !1, Xd = null, zB.apply(HB, arguments); + } + a(jB, "Tb"); + function VB(e, t, r, n, o, i, s, l, u) { + if (jB.apply(this, arguments), Pc) { + if (Pc) { + var c = Xd; + Pc = !1, Xd = null; + } else throw Error(M(198)); + Qd || (Qd = !0, i5 = c); + } + } + a(VB, "Ub"); + function hi(e) { + var t = e, r = e; + if (e.alternate) for (; t.return; ) t = t.return; + else { + e = t; + do + t = e, t.flags & 4098 && (r = t.return), e = t.return; + while (e); + } + return t.tag === 3 ? r : null; + } + a(hi, "Vb"); + function _E(e) { + if (e.tag === 13) { + var t = e.memoizedState; + if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated; + } + return null; + } + a(_E, "Wb"); + function fS(e) { + if (hi(e) !== e) throw Error(M(188)); + } + a(fS, "Xb"); + function UB(e) { + var t = e.alternate; + if (!t) { + if (t = hi(e), t === null) throw Error(M(188)); + return t !== e ? null : e; + } + for (var r = e, n = t; ; ) { + var o = r.return; + if (o === null) break; + var i = o.alternate; + if (i === null) { + if (n = o.return, n !== null) { + r = n; + continue; + } + break; + } + if (o.child === i.child) { + for (i = o.child; i; ) { + if (i === r) return fS(o), e; + if (i === n) return fS(o), t; + i = i.sibling; + } + throw Error(M(188)); + } + if (r.return !== n.return) r = o, n = i; + else { + for (var s = !1, l = o.child; l; ) { + if (l === r) { + s = !0, r = o, n = i; + break; + } + if (l === n) { + s = !0, n = o, r = i; + break; + } + l = l.sibling; + } + if (!s) { + for (l = i.child; l; ) { + if (l === r) { + s = !0, r = i, n = o; + break; + } + if (l === n) { + s = !0, n = i, r = o; + break; + } + l = l.sibling; + } + if (!s) throw Error(M(189)); + } + } + if (r.alternate !== n) throw Error(M(190)); + } + if (r.tag !== 3) throw Error(M(188)); + return r.stateNode.current === r ? e : t; + } + a(UB, "Yb"); + function TE(e) { + return e = UB(e), e !== null ? kE(e) : null; + } + a(TE, "Zb"); + function kE(e) { + if (e.tag === 5 || e.tag === 6) return e; + for (e = e.child; e !== null; ) { + var t = kE(e); + if (t !== null) return t; + e = e.sibling; + } + return null; + } + a(kE, "$b"); + var IE = br.unstable_scheduleCallback, dS = br.unstable_cancelCallback, WB = br.unstable_shouldYield, qB = br.unstable_requestPaint, qe = br. + unstable_now, GB = br.unstable_getCurrentPriorityLevel, U5 = br.unstable_ImmediatePriority, PE = br.unstable_UserBlockingPriority, Jd = br. + unstable_NormalPriority, YB = br.unstable_LowPriority, FE = br.unstable_IdlePriority, w0 = null, Bn = null; + function KB(e) { + if (Bn && typeof Bn.onCommitFiberRoot == "function") try { + Bn.onCommitFiberRoot(w0, e, void 0, (e.current.flags & 128) === 128); + } catch { + } + } + a(KB, "mc"); + var pn = Math.clz32 ? Math.clz32 : JB, XB = Math.log, QB = Math.LN2; + function JB(e) { + return e >>>= 0, e === 0 ? 32 : 31 - (XB(e) / QB | 0) | 0; + } + a(JB, "nc"); + var xd = 64, Cd = 4194304; + function Tc(e) { + switch (e & -e) { + case 1: + return 1; + case 2: + return 2; + case 4: + return 4; + case 8: + return 8; + case 16: + return 16; + case 32: + return 32; + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return e & 4194240; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return e & 130023424; + case 134217728: + return 134217728; + case 268435456: + return 268435456; + case 536870912: + return 536870912; + case 1073741824: + return 1073741824; + default: + return e; + } + } + a(Tc, "tc"); + function Zd(e, t) { + var r = e.pendingLanes; + if (r === 0) return 0; + var n = 0, o = e.suspendedLanes, i = e.pingedLanes, s = r & 268435455; + if (s !== 0) { + var l = s & ~o; + l !== 0 ? n = Tc(l) : (i &= s, i !== 0 && (n = Tc(i))); + } else s = r & ~o, s !== 0 ? n = Tc(s) : i !== 0 && (n = Tc(i)); + if (n === 0) return 0; + if (t !== 0 && t !== n && !(t & o) && (o = n & -n, i = t & -t, o >= i || o === 16 && (i & 4194240) !== 0)) return t; + if (n & 4 && (n |= r & 16), t = e.entangledLanes, t !== 0) for (e = e.entanglements, t &= n; 0 < t; ) r = 31 - pn(t), o = 1 << r, n |= e[r], + t &= ~o; + return n; + } + a(Zd, "uc"); + function ZB(e, t) { + switch (e) { + case 1: + case 2: + case 4: + return t + 250; + case 8: + case 16: + case 32: + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return t + 5e3; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return -1; + case 134217728: + case 268435456: + case 536870912: + case 1073741824: + return -1; + default: + return -1; + } + } + a(ZB, "vc"); + function e$(e, t) { + for (var r = e.suspendedLanes, n = e.pingedLanes, o = e.expirationTimes, i = e.pendingLanes; 0 < i; ) { + var s = 31 - pn(i), l = 1 << s, u = o[s]; + u === -1 ? (!(l & r) || l & n) && (o[s] = ZB(l, t)) : u <= t && (e.expiredLanes |= l), i &= ~l; + } + } + a(e$, "wc"); + function s5(e) { + return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0; + } + a(s5, "xc"); + function OE() { + var e = xd; + return xd <<= 1, !(xd & 4194240) && (xd = 64), e; + } + a(OE, "yc"); + function A2(e) { + for (var t = [], r = 0; 31 > r; r++) t.push(e); + return t; + } + a(A2, "zc"); + function np(e, t, r) { + e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - pn(t), e[t] = r; + } + a(np, "Ac"); + function t$(e, t) { + var r = e.pendingLanes & ~t; + e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e. + entanglements; + var n = e.eventTimes; + for (e = e.expirationTimes; 0 < r; ) { + var o = 31 - pn(r), i = 1 << o; + t[o] = 0, n[o] = -1, e[o] = -1, r &= ~i; + } + } + a(t$, "Bc"); + function W5(e, t) { + var r = e.entangledLanes |= t; + for (e = e.entanglements; r; ) { + var n = 31 - pn(r), o = 1 << n; + o & t | e[n] & t && (e[n] |= t), r &= ~o; + } + } + a(W5, "Cc"); + var me = 0; + function LE(e) { + return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1; + } + a(LE, "Dc"); + var NE, q5, ME, BE, $E, l5 = !1, Dd = [], na = null, oa = null, aa = null, Vc = /* @__PURE__ */ new Map(), Uc = /* @__PURE__ */ new Map(), + Zo = [], r$ = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart d\ +rop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); + function hS(e, t) { + switch (e) { + case "focusin": + case "focusout": + na = null; + break; + case "dragenter": + case "dragleave": + oa = null; + break; + case "mouseover": + case "mouseout": + aa = null; + break; + case "pointerover": + case "pointerout": + Vc.delete(t.pointerId); + break; + case "gotpointercapture": + case "lostpointercapture": + Uc.delete(t.pointerId); + } + } + a(hS, "Sc"); + function bc(e, t, r, n, o, i) { + return e === null || e.nativeEvent !== i ? (e = { blockedOn: t, domEventName: r, eventSystemFlags: n, nativeEvent: i, targetContainers: [ + o] }, t !== null && (t = ap(t), t !== null && q5(t)), e) : (e.eventSystemFlags |= n, t = e.targetContainers, o !== null && t.indexOf(o) === + -1 && t.push(o), e); + } + a(bc, "Tc"); + function n$(e, t, r, n, o) { + switch (t) { + case "focusin": + return na = bc(na, e, t, r, n, o), !0; + case "dragenter": + return oa = bc(oa, e, t, r, n, o), !0; + case "mouseover": + return aa = bc(aa, e, t, r, n, o), !0; + case "pointerover": + var i = o.pointerId; + return Vc.set(i, bc(Vc.get(i) || null, e, t, r, n, o)), !0; + case "gotpointercapture": + return i = o.pointerId, Uc.set(i, bc(Uc.get(i) || null, e, t, r, n, o)), !0; + } + return !1; + } + a(n$, "Uc"); + function zE(e) { + var t = ni(e.target); + if (t !== null) { + var r = hi(t); + if (r !== null) { + if (t = r.tag, t === 13) { + if (t = _E(r), t !== null) { + e.blockedOn = t, $E(e.priority, function() { + ME(r); + }); + return; + } + } else if (t === 3 && r.stateNode.current.memoizedState.isDehydrated) { + e.blockedOn = r.tag === 3 ? r.stateNode.containerInfo : null; + return; + } + } + } + e.blockedOn = null; + } + a(zE, "Vc"); + function $d(e) { + if (e.blockedOn !== null) return !1; + for (var t = e.targetContainers; 0 < t.length; ) { + var r = u5(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); + if (r === null) { + r = e.nativeEvent; + var n = new r.constructor(r.type, r); + n5 = n, r.target.dispatchEvent(n), n5 = null; + } else return t = ap(r), t !== null && q5(t), e.blockedOn = r, !1; + t.shift(); + } + return !0; + } + a($d, "Xc"); + function mS(e, t, r) { + $d(e) && r.delete(t); + } + a(mS, "Zc"); + function o$() { + l5 = !1, na !== null && $d(na) && (na = null), oa !== null && $d(oa) && (oa = null), aa !== null && $d(aa) && (aa = null), Vc.forEach(mS), + Uc.forEach(mS); + } + a(o$, "$c"); + function Sc(e, t) { + e.blockedOn === t && (e.blockedOn = null, l5 || (l5 = !0, br.unstable_scheduleCallback(br.unstable_NormalPriority, o$))); + } + a(Sc, "ad"); + function Wc(e) { + function t(o) { + return Sc(o, e); + } + if (a(t, "b"), 0 < Dd.length) { + Sc(Dd[0], e); + for (var r = 1; r < Dd.length; r++) { + var n = Dd[r]; + n.blockedOn === e && (n.blockedOn = null); + } + } + for (na !== null && Sc(na, e), oa !== null && Sc(oa, e), aa !== null && Sc(aa, e), Vc.forEach(t), Uc.forEach(t), r = 0; r < Zo.length; r++) + n = Zo[r], n.blockedOn === e && (n.blockedOn = null); + for (; 0 < Zo.length && (r = Zo[0], r.blockedOn === null); ) zE(r), r.blockedOn === null && Zo.shift(); + } + a(Wc, "bd"); + var Fs = bo.ReactCurrentBatchConfig, e0 = !0; + function a$(e, t, r, n) { + var o = me, i = Fs.transition; + Fs.transition = null; + try { + me = 1, G5(e, t, r, n); + } finally { + me = o, Fs.transition = i; + } + } + a(a$, "ed"); + function i$(e, t, r, n) { + var o = me, i = Fs.transition; + Fs.transition = null; + try { + me = 4, G5(e, t, r, n); + } finally { + me = o, Fs.transition = i; + } + } + a(i$, "gd"); + function G5(e, t, r, n) { + if (e0) { + var o = u5(e, t, r, n); + if (o === null) O2(e, t, n, t0, r), hS(e, n); + else if (n$(o, e, t, r, n)) n.stopPropagation(); + else if (hS(e, n), t & 4 && -1 < r$.indexOf(e)) { + for (; o !== null; ) { + var i = ap(o); + if (i !== null && NE(i), i = u5(e, t, r, n), i === null && O2(e, t, n, t0, r), i === o) break; + o = i; + } + o !== null && n.stopPropagation(); + } else O2(e, t, n, null, r); + } + } + a(G5, "fd"); + var t0 = null; + function u5(e, t, r, n) { + if (t0 = null, e = V5(n), e = ni(e), e !== null) if (t = hi(e), t === null) e = null; + else if (r = t.tag, r === 13) { + if (e = _E(t), e !== null) return e; + e = null; + } else if (r === 3) { + if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null; + e = null; + } else t !== e && (e = null); + return t0 = e, null; + } + a(u5, "Yc"); + function HE(e) { + switch (e) { + case "cancel": + case "click": + case "close": + case "contextmenu": + case "copy": + case "cut": + case "auxclick": + case "dblclick": + case "dragend": + case "dragstart": + case "drop": + case "focusin": + case "focusout": + case "input": + case "invalid": + case "keydown": + case "keypress": + case "keyup": + case "mousedown": + case "mouseup": + case "paste": + case "pause": + case "play": + case "pointercancel": + case "pointerdown": + case "pointerup": + case "ratechange": + case "reset": + case "resize": + case "seeked": + case "submit": + case "touchcancel": + case "touchend": + case "touchstart": + case "volumechange": + case "change": + case "selectionchange": + case "textInput": + case "compositionstart": + case "compositionend": + case "compositionupdate": + case "beforeblur": + case "afterblur": + case "beforeinput": + case "blur": + case "fullscreenchange": + case "focus": + case "hashchange": + case "popstate": + case "select": + case "selectstart": + return 1; + case "drag": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "mousemove": + case "mouseout": + case "mouseover": + case "pointermove": + case "pointerout": + case "pointerover": + case "scroll": + case "toggle": + case "touchmove": + case "wheel": + case "mouseenter": + case "mouseleave": + case "pointerenter": + case "pointerleave": + return 4; + case "message": + switch (GB()) { + case U5: + return 1; + case PE: + return 4; + case Jd: + case YB: + return 16; + case FE: + return 536870912; + default: + return 16; + } + default: + return 16; + } + } + a(HE, "jd"); + var ta = null, Y5 = null, zd = null; + function jE() { + if (zd) return zd; + var e, t = Y5, r = t.length, n, o = "value" in ta ? ta.value : ta.textContent, i = o.length; + for (e = 0; e < r && t[e] === o[e]; e++) ; + var s = r - e; + for (n = 1; n <= s && t[r - n] === o[i - n]; n++) ; + return zd = o.slice(e, 1 < n ? 1 - n : void 0); + } + a(jE, "nd"); + function Hd(e) { + var t = e.keyCode; + return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0; + } + a(Hd, "od"); + function Rd() { + return !0; + } + a(Rd, "pd"); + function gS() { + return !1; + } + a(gS, "qd"); + function Sr(e) { + function t(r, n, o, i, s) { + this._reactName = r, this._targetInst = o, this.type = n, this.nativeEvent = i, this.target = s, this.currentTarget = null; + for (var l in e) e.hasOwnProperty(l) && (r = e[l], this[l] = r ? r(i) : i[l]); + return this.isDefaultPrevented = (i.defaultPrevented != null ? i.defaultPrevented : i.returnValue === !1) ? Rd : gS, this.isPropagationStopped = + gS, this; + } + return a(t, "b"), Ne(t.prototype, { preventDefault: /* @__PURE__ */ a(function() { + this.defaultPrevented = !0; + var r = this.nativeEvent; + r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = Rd); + }, "preventDefault"), stopPropagation: /* @__PURE__ */ a(function() { + var r = this.nativeEvent; + r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped = + Rd); + }, "stopPropagation"), persist: /* @__PURE__ */ a(function() { + }, "persist"), isPersistent: Rd }), t; + } + a(Sr, "rd"); + var Vs = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: /* @__PURE__ */ a(function(e) { + return e.timeStamp || Date.now(); + }, "timeStamp"), defaultPrevented: 0, isTrusted: 0 }, K5 = Sr(Vs), op = Ne({}, Vs, { view: 0, detail: 0 }), s$ = Sr(op), _2, T2, Ec, b0 = Ne( + {}, op, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: X5, + button: 0, buttons: 0, relatedTarget: /* @__PURE__ */ a(function(e) { + return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget; + }, "relatedTarget"), movementX: /* @__PURE__ */ a(function(e) { + return "movementX" in e ? e.movementX : (e !== Ec && (Ec && e.type === "mousemove" ? (_2 = e.screenX - Ec.screenX, T2 = e.screenY - Ec.screenY) : + T2 = _2 = 0, Ec = e), _2); + }, "movementX"), movementY: /* @__PURE__ */ a(function(e) { + return "movementY" in e ? e.movementY : T2; + }, "movementY") }), vS = Sr(b0), l$ = Ne({}, b0, { dataTransfer: 0 }), u$ = Sr(l$), c$ = Ne({}, op, { relatedTarget: 0 }), k2 = Sr(c$), p$ = Ne( + {}, Vs, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), f$ = Sr(p$), d$ = Ne({}, Vs, { clipboardData: /* @__PURE__ */ a(function(e) { + return "clipboardData" in e ? e.clipboardData : window.clipboardData; + }, "clipboardData") }), h$ = Sr(d$), m$ = Ne({}, Vs, { data: 0 }), yS = Sr(m$), g$ = { + Esc: "Escape", + Spacebar: " ", + Left: "ArrowLeft", + Up: "ArrowUp", + Right: "ArrowRight", + Down: "ArrowDown", + Del: "Delete", + Win: "OS", + Menu: "ContextMenu", + Apps: "ContextMenu", + Scroll: "ScrollLock", + MozPrintableKey: "Unidentified" + }, v$ = { + 8: "Backspace", + 9: "Tab", + 12: "Clear", + 13: "Enter", + 16: "Shift", + 17: "Control", + 18: "Alt", + 19: "Pause", + 20: "CapsLock", + 27: "Escape", + 32: " ", + 33: "PageUp", + 34: "PageDown", + 35: "End", + 36: "Home", + 37: "ArrowLeft", + 38: "ArrowUp", + 39: "ArrowRight", + 40: "ArrowDown", + 45: "Insert", + 46: "Delete", + 112: "F1", + 113: "F2", + 114: "F3", + 115: "F4", + 116: "F5", + 117: "F6", + 118: "F7", + 119: "F8", + 120: "F9", + 121: "F10", + 122: "F11", + 123: "F12", + 144: "NumLock", + 145: "ScrollLock", + 224: "Meta" + }, y$ = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; + function w$(e) { + var t = this.nativeEvent; + return t.getModifierState ? t.getModifierState(e) : (e = y$[e]) ? !!t[e] : !1; + } + a(w$, "Pd"); + function X5() { + return w$; + } + a(X5, "zd"); + var b$ = Ne({}, op, { key: /* @__PURE__ */ a(function(e) { + if (e.key) { + var t = g$[e.key] || e.key; + if (t !== "Unidentified") return t; + } + return e.type === "keypress" ? (e = Hd(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? v$[e. + keyCode] || "Unidentified" : ""; + }, "key"), code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: X5, charCode: /* @__PURE__ */ a( + function(e) { + return e.type === "keypress" ? Hd(e) : 0; + }, "charCode"), keyCode: /* @__PURE__ */ a(function(e) { + return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; + }, "keyCode"), which: /* @__PURE__ */ a(function(e) { + return e.type === "keypress" ? Hd(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; + }, "which") }), S$ = Sr(b$), E$ = Ne({}, b0, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, + pointerType: 0, isPrimary: 0 }), wS = Sr(E$), x$ = Ne({}, op, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, + shiftKey: 0, getModifierState: X5 }), C$ = Sr(x$), D$ = Ne({}, Vs, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), R$ = Sr(D$), A$ = Ne( + {}, b0, { + deltaX: /* @__PURE__ */ a(function(e) { + return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; + }, "deltaX"), + deltaY: /* @__PURE__ */ a(function(e) { + return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0; + }, "deltaY"), + deltaZ: 0, + deltaMode: 0 + }), _$ = Sr(A$), T$ = [9, 13, 27, 32], Q5 = go && "CompositionEvent" in window, Fc = null; + go && "documentMode" in document && (Fc = document.documentMode); + var k$ = go && "TextEvent" in window && !Fc, VE = go && (!Q5 || Fc && 8 < Fc && 11 >= Fc), bS = " ", SS = !1; + function UE(e, t) { + switch (e) { + case "keyup": + return T$.indexOf(t.keyCode) !== -1; + case "keydown": + return t.keyCode !== 229; + case "keypress": + case "mousedown": + case "focusout": + return !0; + default: + return !1; + } + } + a(UE, "ge"); + function WE(e) { + return e = e.detail, typeof e == "object" && "data" in e ? e.data : null; + } + a(WE, "he"); + var bs = !1; + function I$(e, t) { + switch (e) { + case "compositionend": + return WE(t); + case "keypress": + return t.which !== 32 ? null : (SS = !0, bS); + case "textInput": + return e = t.data, e === bS && SS ? null : e; + default: + return null; + } + } + a(I$, "je"); + function P$(e, t) { + if (bs) return e === "compositionend" || !Q5 && UE(e, t) ? (e = jE(), zd = Y5 = ta = null, bs = !1, e) : null; + switch (e) { + case "paste": + return null; + case "keypress": + if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) { + if (t.char && 1 < t.char.length) return t.char; + if (t.which) return String.fromCharCode(t.which); + } + return null; + case "compositionend": + return VE && t.locale !== "ko" ? null : t.data; + default: + return null; + } + } + a(P$, "ke"); + var F$ = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, + tel: !0, text: !0, time: !0, url: !0, week: !0 }; + function ES(e) { + var t = e && e.nodeName && e.nodeName.toLowerCase(); + return t === "input" ? !!F$[e.type] : t === "textarea"; + } + a(ES, "me"); + function qE(e, t, r, n) { + xE(n), t = r0(t, "onChange"), 0 < t.length && (r = new K5("onChange", "change", null, r, n), e.push({ event: r, listeners: t })); + } + a(qE, "ne"); + var Oc = null, qc = null; + function O$(e) { + n7(e, 0); + } + a(O$, "re"); + function S0(e) { + var t = xs(e); + if (gE(t)) return e; + } + a(S0, "te"); + function L$(e, t) { + if (e === "change") return t; + } + a(L$, "ve"); + var GE = !1; + go && (go ? (_d = "oninput" in document, _d || (I2 = document.createElement("div"), I2.setAttribute("oninput", "return;"), _d = typeof I2. + oninput == "function"), Ad = _d) : Ad = !1, GE = Ad && (!document.documentMode || 9 < document.documentMode)); + var Ad, _d, I2; + function xS() { + Oc && (Oc.detachEvent("onpropertychange", YE), qc = Oc = null); + } + a(xS, "Ae"); + function YE(e) { + if (e.propertyName === "value" && S0(qc)) { + var t = []; + qE(t, qc, e, V5(e)), AE(O$, t); + } + } + a(YE, "Be"); + function N$(e, t, r) { + e === "focusin" ? (xS(), Oc = t, qc = r, Oc.attachEvent("onpropertychange", YE)) : e === "focusout" && xS(); + } + a(N$, "Ce"); + function M$(e) { + if (e === "selectionchange" || e === "keyup" || e === "keydown") return S0(qc); + } + a(M$, "De"); + function B$(e, t) { + if (e === "click") return S0(t); + } + a(B$, "Ee"); + function $$(e, t) { + if (e === "input" || e === "change") return S0(t); + } + a($$, "Fe"); + function z$(e, t) { + return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t; + } + a(z$, "Ge"); + var dn = typeof Object.is == "function" ? Object.is : z$; + function Gc(e, t) { + if (dn(e, t)) return !0; + if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1; + var r = Object.keys(e), n = Object.keys(t); + if (r.length !== n.length) return !1; + for (n = 0; n < r.length; n++) { + var o = r[n]; + if (!W2.call(t, o) || !dn(e[o], t[o])) return !1; + } + return !0; + } + a(Gc, "Ie"); + function CS(e) { + for (; e && e.firstChild; ) e = e.firstChild; + return e; + } + a(CS, "Je"); + function DS(e, t) { + var r = CS(e); + e = 0; + for (var n; r; ) { + if (r.nodeType === 3) { + if (n = e + r.textContent.length, e <= t && n >= t) return { node: r, offset: t - e }; + e = n; + } + e: { + for (; r; ) { + if (r.nextSibling) { + r = r.nextSibling; + break e; + } + r = r.parentNode; + } + r = void 0; + } + r = CS(r); + } + } + a(DS, "Ke"); + function KE(e, t) { + return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? KE(e, t.parentNode) : "contains" in e ? e.contains(t) : + e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1; + } + a(KE, "Le"); + function XE() { + for (var e = window, t = Kd(); t instanceof e.HTMLIFrameElement; ) { + try { + var r = typeof t.contentWindow.location.href == "string"; + } catch { + r = !1; + } + if (r) e = t.contentWindow; + else break; + t = Kd(e.document); + } + return t; + } + a(XE, "Me"); + function J5(e) { + var t = e && e.nodeName && e.nodeName.toLowerCase(); + return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || + t === "textarea" || e.contentEditable === "true"); + } + a(J5, "Ne"); + function H$(e) { + var t = XE(), r = e.focusedElem, n = e.selectionRange; + if (t !== r && r && r.ownerDocument && KE(r.ownerDocument.documentElement, r)) { + if (n !== null && J5(r)) { + if (t = n.start, e = n.end, e === void 0 && (e = t), "selectionStart" in r) r.selectionStart = t, r.selectionEnd = Math.min(e, r.value. + length); + else if (e = (t = r.ownerDocument || document) && t.defaultView || window, e.getSelection) { + e = e.getSelection(); + var o = r.textContent.length, i = Math.min(n.start, o); + n = n.end === void 0 ? i : Math.min(n.end, o), !e.extend && i > n && (o = n, n = i, i = o), o = DS(r, i); + var s = DS( + r, + n + ); + o && s && (e.rangeCount !== 1 || e.anchorNode !== o.node || e.anchorOffset !== o.offset || e.focusNode !== s.node || e.focusOffset !== + s.offset) && (t = t.createRange(), t.setStart(o.node, o.offset), e.removeAllRanges(), i > n ? (e.addRange(t), e.extend(s.node, s.offset)) : + (t.setEnd(s.node, s.offset), e.addRange(t))); + } + } + for (t = [], e = r; e = e.parentNode; ) e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); + for (typeof r.focus == "function" && r.focus(), r = 0; r < t.length; r++) e = t[r], e.element.scrollLeft = e.left, e.element.scrollTop = + e.top; + } + } + a(H$, "Oe"); + var j$ = go && "documentMode" in document && 11 >= document.documentMode, Ss = null, c5 = null, Lc = null, p5 = !1; + function RS(e, t, r) { + var n = r.window === r ? r.document : r.nodeType === 9 ? r : r.ownerDocument; + p5 || Ss == null || Ss !== Kd(n) || (n = Ss, "selectionStart" in n && J5(n) ? n = { start: n.selectionStart, end: n.selectionEnd } : (n = + (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection(), n = { anchorNode: n.anchorNode, anchorOffset: n.anchorOffset, + focusNode: n.focusNode, focusOffset: n.focusOffset }), Lc && Gc(Lc, n) || (Lc = n, n = r0(c5, "onSelect"), 0 < n.length && (t = new K5("\ +onSelect", "select", null, t, r), e.push({ event: t, listeners: n }), t.target = Ss))); + } + a(RS, "Ue"); + function Td(e, t) { + var r = {}; + return r[e.toLowerCase()] = t.toLowerCase(), r["Webkit" + e] = "webkit" + t, r["Moz" + e] = "moz" + t, r; + } + a(Td, "Ve"); + var Es = { animationend: Td("Animation", "AnimationEnd"), animationiteration: Td("Animation", "AnimationIteration"), animationstart: Td("A\ +nimation", "AnimationStart"), transitionend: Td("Transition", "TransitionEnd") }, P2 = {}, QE = {}; + go && (QE = document.createElement("div").style, "AnimationEvent" in window || (delete Es.animationend.animation, delete Es.animationiteration. + animation, delete Es.animationstart.animation), "TransitionEvent" in window || delete Es.transitionend.transition); + function E0(e) { + if (P2[e]) return P2[e]; + if (!Es[e]) return e; + var t = Es[e], r; + for (r in t) if (t.hasOwnProperty(r) && r in QE) return P2[e] = t[r]; + return e; + } + a(E0, "Ze"); + var JE = E0("animationend"), ZE = E0("animationiteration"), e7 = E0("animationstart"), t7 = E0("transitionend"), r7 = /* @__PURE__ */ new Map(), + AS = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dra\ +gStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetada\ +ta loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMov\ +e pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd to\ +uchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); + function da(e, t) { + r7.set(e, t), di(t, [e]); + } + a(da, "ff"); + for (kd = 0; kd < AS.length; kd++) + Id = AS[kd], _S = Id.toLowerCase(), TS = Id[0].toUpperCase() + Id.slice(1), da(_S, "on" + TS); + var Id, _S, TS, kd; + da(JE, "onAnimationEnd"); + da(ZE, "onAnimationIteration"); + da(e7, "onAnimationStart"); + da("dblclick", "onDoubleClick"); + da("focusin", "onFocus"); + da("focusout", "onBlur"); + da(t7, "onTransitionEnd"); + Ns("onMouseEnter", ["mouseout", "mouseover"]); + Ns("onMouseLeave", ["mouseout", "mouseover"]); + Ns("onPointerEnter", ["pointerout", "pointerover"]); + Ns("onPointerLeave", ["pointerout", "pointerover"]); + di("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); + di("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); + di("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); + di("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); + di("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); + di("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); + var kc = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing\ + progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), V$ = new Set("cancel close invalid l\ +oad scroll toggle".split(" ").concat(kc)); + function kS(e, t, r) { + var n = e.type || "unknown-event"; + e.currentTarget = r, VB(n, t, void 0, e), e.currentTarget = null; + } + a(kS, "nf"); + function n7(e, t) { + t = (t & 4) !== 0; + for (var r = 0; r < e.length; r++) { + var n = e[r], o = n.event; + n = n.listeners; + e: { + var i = void 0; + if (t) for (var s = n.length - 1; 0 <= s; s--) { + var l = n[s], u = l.instance, c = l.currentTarget; + if (l = l.listener, u !== i && o.isPropagationStopped()) break e; + kS(o, l, c), i = u; + } + else for (s = 0; s < n.length; s++) { + if (l = n[s], u = l.instance, c = l.currentTarget, l = l.listener, u !== i && o.isPropagationStopped()) break e; + kS(o, l, c), i = u; + } + } + } + if (Qd) throw e = i5, Qd = !1, i5 = null, e; + } + a(n7, "se"); + function Ce(e, t) { + var r = t[g5]; + r === void 0 && (r = t[g5] = /* @__PURE__ */ new Set()); + var n = e + "__bubble"; + r.has(n) || (o7(t, e, 2, !1), r.add(n)); + } + a(Ce, "D"); + function F2(e, t, r) { + var n = 0; + t && (n |= 4), o7(r, e, n, t); + } + a(F2, "qf"); + var Pd = "_reactListening" + Math.random().toString(36).slice(2); + function Yc(e) { + if (!e[Pd]) { + e[Pd] = !0, pE.forEach(function(r) { + r !== "selectionchange" && (V$.has(r) || F2(r, !1, e), F2(r, !0, e)); + }); + var t = e.nodeType === 9 ? e : e.ownerDocument; + t === null || t[Pd] || (t[Pd] = !0, F2("selectionchange", !1, t)); + } + } + a(Yc, "sf"); + function o7(e, t, r, n) { + switch (HE(t)) { + case 1: + var o = a$; + break; + case 4: + o = i$; + break; + default: + o = G5; + } + r = o.bind(null, t, r, e), o = void 0, !a5 || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (o = !0), n ? o !== void 0 ? e. + addEventListener(t, r, { capture: !0, passive: o }) : e.addEventListener(t, r, !0) : o !== void 0 ? e.addEventListener(t, r, { passive: o }) : + e.addEventListener(t, r, !1); + } + a(o7, "pf"); + function O2(e, t, r, n, o) { + var i = n; + if (!(t & 1) && !(t & 2) && n !== null) e: for (; ; ) { + if (n === null) return; + var s = n.tag; + if (s === 3 || s === 4) { + var l = n.stateNode.containerInfo; + if (l === o || l.nodeType === 8 && l.parentNode === o) break; + if (s === 4) for (s = n.return; s !== null; ) { + var u = s.tag; + if ((u === 3 || u === 4) && (u = s.stateNode.containerInfo, u === o || u.nodeType === 8 && u.parentNode === o)) return; + s = s.return; + } + for (; l !== null; ) { + if (s = ni(l), s === null) return; + if (u = s.tag, u === 5 || u === 6) { + n = i = s; + continue e; + } + l = l.parentNode; + } + } + n = n.return; + } + AE(function() { + var c = i, p = V5(r), h = []; + e: { + var m = r7.get(e); + if (m !== void 0) { + var g = K5, S = e; + switch (e) { + case "keypress": + if (Hd(r) === 0) break e; + case "keydown": + case "keyup": + g = S$; + break; + case "focusin": + S = "focus", g = k2; + break; + case "focusout": + S = "blur", g = k2; + break; + case "beforeblur": + case "afterblur": + g = k2; + break; + case "click": + if (r.button === 2) break e; + case "auxclick": + case "dblclick": + case "mousedown": + case "mousemove": + case "mouseup": + case "mouseout": + case "mouseover": + case "contextmenu": + g = vS; + break; + case "drag": + case "dragend": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "dragstart": + case "drop": + g = u$; + break; + case "touchcancel": + case "touchend": + case "touchmove": + case "touchstart": + g = C$; + break; + case JE: + case ZE: + case e7: + g = f$; + break; + case t7: + g = R$; + break; + case "scroll": + g = s$; + break; + case "wheel": + g = _$; + break; + case "copy": + case "cut": + case "paste": + g = h$; + break; + case "gotpointercapture": + case "lostpointercapture": + case "pointercancel": + case "pointerdown": + case "pointermove": + case "pointerout": + case "pointerover": + case "pointerup": + g = wS; + } + var v = (t & 4) !== 0, b = !v && e === "scroll", w = v ? m !== null ? m + "Capture" : null : m; + v = []; + for (var y = c, E; y !== null; ) { + E = y; + var x = E.stateNode; + if (E.tag === 5 && x !== null && (E = x, w !== null && (x = jc(y, w), x != null && v.push(Kc(y, x, E)))), b) break; + y = y.return; + } + 0 < v.length && (m = new g(m, S, null, r, p), h.push({ event: m, listeners: v })); + } + } + if (!(t & 7)) { + e: { + if (m = e === "mouseover" || e === "pointerover", g = e === "mouseout" || e === "pointerout", m && r !== n5 && (S = r.relatedTarget || + r.fromElement) && (ni(S) || S[vo])) break e; + if ((g || m) && (m = p.window === p ? p : (m = p.ownerDocument) ? m.defaultView || m.parentWindow : window, g ? (S = r.relatedTarget || + r.toElement, g = c, S = S ? ni(S) : null, S !== null && (b = hi(S), S !== b || S.tag !== 5 && S.tag !== 6) && (S = null)) : (g = null, + S = c), g !== S)) { + if (v = vS, x = "onMouseLeave", w = "onMouseEnter", y = "mouse", (e === "pointerout" || e === "pointerover") && (v = wS, x = "on\ +PointerLeave", w = "onPointerEnter", y = "pointer"), b = g == null ? m : xs(g), E = S == null ? m : xs(S), m = new v(x, y + "leave", g, r, p), + m.target = b, m.relatedTarget = E, x = null, ni(p) === c && (v = new v(w, y + "enter", S, r, p), v.target = E, v.relatedTarget = + b, x = v), b = x, g && S) t: { + for (v = g, w = S, y = 0, E = v; E; E = vs(E)) y++; + for (E = 0, x = w; x; x = vs(x)) E++; + for (; 0 < y - E; ) v = vs(v), y--; + for (; 0 < E - y; ) w = vs(w), E--; + for (; y--; ) { + if (v === w || w !== null && v === w.alternate) break t; + v = vs(v), w = vs(w); + } + v = null; + } + else v = null; + g !== null && IS(h, m, g, v, !1), S !== null && b !== null && IS(h, b, S, v, !0); + } + } + e: { + if (m = c ? xs(c) : window, g = m.nodeName && m.nodeName.toLowerCase(), g === "select" || g === "input" && m.type === "file") var C = L$; + else if (ES(m)) if (GE) C = $$; + else { + C = M$; + var D = N$; + } + else (g = m.nodeName) && g.toLowerCase() === "input" && (m.type === "checkbox" || m.type === "radio") && (C = B$); + if (C && (C = C(e, c))) { + qE(h, C, r, p); + break e; + } + D && D(e, m, c), e === "focusout" && (D = m._wrapperState) && D.controlled && m.type === "number" && J2(m, "number", m.value); + } + switch (D = c ? xs(c) : window, e) { + case "focusin": + (ES(D) || D.contentEditable === "true") && (Ss = D, c5 = c, Lc = null); + break; + case "focusout": + Lc = c5 = Ss = null; + break; + case "mousedown": + p5 = !0; + break; + case "contextmenu": + case "mouseup": + case "dragend": + p5 = !1, RS(h, r, p); + break; + case "selectionchange": + if (j$) break; + case "keydown": + case "keyup": + RS(h, r, p); + } + var R; + if (Q5) e: { + switch (e) { + case "compositionstart": + var A = "onCompositionStart"; + break e; + case "compositionend": + A = "onCompositionEnd"; + break e; + case "compositionupdate": + A = "onCompositionUpdate"; + break e; + } + A = void 0; + } + else bs ? UE(e, r) && (A = "onCompositionEnd") : e === "keydown" && r.keyCode === 229 && (A = "onCompositionStart"); + A && (VE && r.locale !== "ko" && (bs || A !== "onCompositionStart" ? A === "onCompositionEnd" && bs && (R = jE()) : (ta = p, Y5 = "v\ +alue" in ta ? ta.value : ta.textContent, bs = !0)), D = r0(c, A), 0 < D.length && (A = new yS(A, e, null, r, p), h.push({ event: A, listeners: D }), + R ? A.data = R : (R = WE(r), R !== null && (A.data = R)))), (R = k$ ? I$(e, r) : P$(e, r)) && (c = r0(c, "onBeforeInput"), 0 < c.length && + (p = new yS("onBeforeInput", "beforeinput", null, r, p), h.push({ event: p, listeners: c }), p.data = R)); + } + n7(h, t); + }); + } + a(O2, "hd"); + function Kc(e, t, r) { + return { instance: e, listener: t, currentTarget: r }; + } + a(Kc, "tf"); + function r0(e, t) { + for (var r = t + "Capture", n = []; e !== null; ) { + var o = e, i = o.stateNode; + o.tag === 5 && i !== null && (o = i, i = jc(e, r), i != null && n.unshift(Kc(e, i, o)), i = jc(e, t), i != null && n.push(Kc(e, i, o))), + e = e.return; + } + return n; + } + a(r0, "oe"); + function vs(e) { + if (e === null) return null; + do + e = e.return; + while (e && e.tag !== 5); + return e || null; + } + a(vs, "vf"); + function IS(e, t, r, n, o) { + for (var i = t._reactName, s = []; r !== null && r !== n; ) { + var l = r, u = l.alternate, c = l.stateNode; + if (u !== null && u === n) break; + l.tag === 5 && c !== null && (l = c, o ? (u = jc(r, i), u != null && s.unshift(Kc(r, u, l))) : o || (u = jc(r, i), u != null && s.push( + Kc(r, u, l)))), r = r.return; + } + s.length !== 0 && e.push({ event: t, listeners: s }); + } + a(IS, "wf"); + var U$ = /\r\n?/g, W$ = /\u0000|\uFFFD/g; + function PS(e) { + return (typeof e == "string" ? e : "" + e).replace(U$, ` +`).replace(W$, ""); + } + a(PS, "zf"); + function Fd(e, t, r) { + if (t = PS(t), PS(e) !== t && r) throw Error(M(425)); + } + a(Fd, "Af"); + function n0() { + } + a(n0, "Bf"); + var f5 = null, d5 = null; + function h5(e, t) { + return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == + "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null; + } + a(h5, "Ef"); + var m5 = typeof setTimeout == "function" ? setTimeout : void 0, q$ = typeof clearTimeout == "function" ? clearTimeout : void 0, FS = typeof Promise == + "function" ? Promise : void 0, G$ = typeof queueMicrotask == "function" ? queueMicrotask : typeof FS < "u" ? function(e) { + return FS.resolve(null).then(e).catch(Y$); + } : m5; + function Y$(e) { + setTimeout(function() { + throw e; + }); + } + a(Y$, "If"); + function L2(e, t) { + var r = t, n = 0; + do { + var o = r.nextSibling; + if (e.removeChild(r), o && o.nodeType === 8) if (r = o.data, r === "/$") { + if (n === 0) { + e.removeChild(o), Wc(t); + return; + } + n--; + } else r !== "$" && r !== "$?" && r !== "$!" || n++; + r = o; + } while (r); + Wc(t); + } + a(L2, "Kf"); + function ia(e) { + for (; e != null; e = e.nextSibling) { + var t = e.nodeType; + if (t === 1 || t === 3) break; + if (t === 8) { + if (t = e.data, t === "$" || t === "$!" || t === "$?") break; + if (t === "/$") return null; + } + } + return e; + } + a(ia, "Lf"); + function OS(e) { + e = e.previousSibling; + for (var t = 0; e; ) { + if (e.nodeType === 8) { + var r = e.data; + if (r === "$" || r === "$!" || r === "$?") { + if (t === 0) return e; + t--; + } else r === "/$" && t++; + } + e = e.previousSibling; + } + return null; + } + a(OS, "Mf"); + var Us = Math.random().toString(36).slice(2), Mn = "__reactFiber$" + Us, Xc = "__reactProps$" + Us, vo = "__reactContainer$" + Us, g5 = "_\ +_reactEvents$" + Us, K$ = "__reactListeners$" + Us, X$ = "__reactHandles$" + Us; + function ni(e) { + var t = e[Mn]; + if (t) return t; + for (var r = e.parentNode; r; ) { + if (t = r[vo] || r[Mn]) { + if (r = t.alternate, t.child !== null || r !== null && r.child !== null) for (e = OS(e); e !== null; ) { + if (r = e[Mn]) return r; + e = OS(e); + } + return t; + } + e = r, r = e.parentNode; + } + return null; + } + a(ni, "Wc"); + function ap(e) { + return e = e[Mn] || e[vo], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e; + } + a(ap, "Cb"); + function xs(e) { + if (e.tag === 5 || e.tag === 6) return e.stateNode; + throw Error(M(33)); + } + a(xs, "ue"); + function x0(e) { + return e[Xc] || null; + } + a(x0, "Db"); + var v5 = [], Cs = -1; + function ha(e) { + return { current: e }; + } + a(ha, "Uf"); + function De(e) { + 0 > Cs || (e.current = v5[Cs], v5[Cs] = null, Cs--); + } + a(De, "E"); + function xe(e, t) { + Cs++, v5[Cs] = e.current, e.current = t; + } + a(xe, "G"); + var fa = {}, Pt = ha(fa), or = ha(!1), li = fa; + function Ms(e, t) { + var r = e.type.contextTypes; + if (!r) return fa; + var n = e.stateNode; + if (n && n.__reactInternalMemoizedUnmaskedChildContext === t) return n.__reactInternalMemoizedMaskedChildContext; + var o = {}, i; + for (i in r) o[i] = t[i]; + return n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = o), o; + } + a(Ms, "Yf"); + function ar(e) { + return e = e.childContextTypes, e != null; + } + a(ar, "Zf"); + function o0() { + De(or), De(Pt); + } + a(o0, "$f"); + function LS(e, t, r) { + if (Pt.current !== fa) throw Error(M(168)); + xe(Pt, t), xe(or, r); + } + a(LS, "ag"); + function a7(e, t, r) { + var n = e.stateNode; + if (t = t.childContextTypes, typeof n.getChildContext != "function") return r; + n = n.getChildContext(); + for (var o in n) if (!(o in t)) throw Error(M(108, NB(e) || "Unknown", o)); + return Ne({}, r, n); + } + a(a7, "bg"); + function a0(e) { + return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || fa, li = Pt.current, xe(Pt, e), xe(or, or.current), !0; + } + a(a0, "cg"); + function NS(e, t, r) { + var n = e.stateNode; + if (!n) throw Error(M(169)); + r ? (e = a7(e, t, li), n.__reactInternalMemoizedMergedChildContext = e, De(or), De(Pt), xe(Pt, e)) : De(or), xe(or, r); + } + a(NS, "dg"); + var po = null, C0 = !1, N2 = !1; + function i7(e) { + po === null ? po = [e] : po.push(e); + } + a(i7, "hg"); + function Q$(e) { + C0 = !0, i7(e); + } + a(Q$, "ig"); + function ma() { + if (!N2 && po !== null) { + N2 = !0; + var e = 0, t = me; + try { + var r = po; + for (me = 1; e < r.length; e++) { + var n = r[e]; + do + n = n(!0); + while (n !== null); + } + po = null, C0 = !1; + } catch (o) { + throw po !== null && (po = po.slice(e + 1)), IE(U5, ma), o; + } finally { + me = t, N2 = !1; + } + } + return null; + } + a(ma, "jg"); + var Ds = [], Rs = 0, i0 = null, s0 = 0, Or = [], Lr = 0, ui = null, fo = 1, ho = ""; + function ti(e, t) { + Ds[Rs++] = s0, Ds[Rs++] = i0, i0 = e, s0 = t; + } + a(ti, "tg"); + function s7(e, t, r) { + Or[Lr++] = fo, Or[Lr++] = ho, Or[Lr++] = ui, ui = e; + var n = fo; + e = ho; + var o = 32 - pn(n) - 1; + n &= ~(1 << o), r += 1; + var i = 32 - pn(t) + o; + if (30 < i) { + var s = o - o % 5; + i = (n & (1 << s) - 1).toString(32), n >>= s, o -= s, fo = 1 << 32 - pn(t) + o | r << o | n, ho = i + e; + } else fo = 1 << i | r << o | n, ho = e; + } + a(s7, "ug"); + function Z5(e) { + e.return !== null && (ti(e, 1), s7(e, 1, 0)); + } + a(Z5, "vg"); + function ev(e) { + for (; e === i0; ) i0 = Ds[--Rs], Ds[Rs] = null, s0 = Ds[--Rs], Ds[Rs] = null; + for (; e === ui; ) ui = Or[--Lr], Or[Lr] = null, ho = Or[--Lr], Or[Lr] = null, fo = Or[--Lr], Or[Lr] = null; + } + a(ev, "wg"); + var wr = null, yr = null, Te = !1, cn = null; + function l7(e, t) { + var r = Nr(5, null, null, 0); + r.elementType = "DELETED", r.stateNode = t, r.return = e, t = e.deletions, t === null ? (e.deletions = [r], e.flags |= 16) : t.push(r); + } + a(l7, "Ag"); + function MS(e, t) { + switch (e.tag) { + case 5: + var r = e.type; + return t = t.nodeType !== 1 || r.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, wr = e, yr = ia( + t.firstChild), !0) : !1; + case 6: + return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, wr = e, yr = null, !0) : !1; + case 13: + return t = t.nodeType !== 8 ? null : t, t !== null ? (r = ui !== null ? { id: fo, overflow: ho } : null, e.memoizedState = { dehydrated: t, + treeContext: r, retryLane: 1073741824 }, r = Nr(18, null, null, 0), r.stateNode = t, r.return = e, e.child = r, wr = e, yr = null, !0) : + !1; + default: + return !1; + } + } + a(MS, "Cg"); + function y5(e) { + return (e.mode & 1) !== 0 && (e.flags & 128) === 0; + } + a(y5, "Dg"); + function w5(e) { + if (Te) { + var t = yr; + if (t) { + var r = t; + if (!MS(e, t)) { + if (y5(e)) throw Error(M(418)); + t = ia(r.nextSibling); + var n = wr; + t && MS(e, t) ? l7(n, r) : (e.flags = e.flags & -4097 | 2, Te = !1, wr = e); + } + } else { + if (y5(e)) throw Error(M(418)); + e.flags = e.flags & -4097 | 2, Te = !1, wr = e; + } + } + } + a(w5, "Eg"); + function BS(e) { + for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return; + wr = e; + } + a(BS, "Fg"); + function Od(e) { + if (e !== wr) return !1; + if (!Te) return BS(e), Te = !0, !1; + var t; + if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !h5(e.type, e.memoizedProps)), t && (t = + yr)) { + if (y5(e)) throw u7(), Error(M(418)); + for (; t; ) l7(e, t), t = ia(t.nextSibling); + } + if (BS(e), e.tag === 13) { + if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(M(317)); + e: { + for (e = e.nextSibling, t = 0; e; ) { + if (e.nodeType === 8) { + var r = e.data; + if (r === "/$") { + if (t === 0) { + yr = ia(e.nextSibling); + break e; + } + t--; + } else r !== "$" && r !== "$!" && r !== "$?" || t++; + } + e = e.nextSibling; + } + yr = null; + } + } else yr = wr ? ia(e.stateNode.nextSibling) : null; + return !0; + } + a(Od, "Gg"); + function u7() { + for (var e = yr; e; ) e = ia(e.nextSibling); + } + a(u7, "Hg"); + function Bs() { + yr = wr = null, Te = !1; + } + a(Bs, "Ig"); + function tv(e) { + cn === null ? cn = [e] : cn.push(e); + } + a(tv, "Jg"); + var J$ = bo.ReactCurrentBatchConfig; + function ln(e, t) { + if (e && e.defaultProps) { + t = Ne({}, t), e = e.defaultProps; + for (var r in e) t[r] === void 0 && (t[r] = e[r]); + return t; + } + return t; + } + a(ln, "Lg"); + var l0 = ha(null), u0 = null, As = null, rv = null; + function nv() { + rv = As = u0 = null; + } + a(nv, "Qg"); + function ov(e) { + var t = l0.current; + De(l0), e._currentValue = t; + } + a(ov, "Rg"); + function b5(e, t, r) { + for (; e !== null; ) { + var n = e.alternate; + if ((e.childLanes & t) !== t ? (e.childLanes |= t, n !== null && (n.childLanes |= t)) : n !== null && (n.childLanes & t) !== t && (n.childLanes |= + t), e === r) break; + e = e.return; + } + } + a(b5, "Sg"); + function Os(e, t) { + u0 = e, rv = As = null, e = e.dependencies, e !== null && e.firstContext !== null && (e.lanes & t && (nr = !0), e.firstContext = null); + } + a(Os, "Tg"); + function Br(e) { + var t = e._currentValue; + if (rv !== e) if (e = { context: e, memoizedValue: t, next: null }, As === null) { + if (u0 === null) throw Error(M(308)); + As = e, u0.dependencies = { lanes: 0, firstContext: e }; + } else As = As.next = e; + return t; + } + a(Br, "Vg"); + var oi = null; + function av(e) { + oi === null ? oi = [e] : oi.push(e); + } + a(av, "Xg"); + function c7(e, t, r, n) { + var o = t.interleaved; + return o === null ? (r.next = r, av(t)) : (r.next = o.next, o.next = r), t.interleaved = r, yo(e, n); + } + a(c7, "Yg"); + function yo(e, t) { + e.lanes |= t; + var r = e.alternate; + for (r !== null && (r.lanes |= t), r = e, e = e.return; e !== null; ) e.childLanes |= t, r = e.alternate, r !== null && (r.childLanes |= + t), r = e, e = e.return; + return r.tag === 3 ? r.stateNode : null; + } + a(yo, "Zg"); + var Jo = !1; + function iv(e) { + e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, + effects: null }; + } + a(iv, "ah"); + function p7(e, t) { + e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e. + lastBaseUpdate, shared: e.shared, effects: e.effects }); + } + a(p7, "bh"); + function mo(e, t) { + return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null }; + } + a(mo, "ch"); + function sa(e, t, r) { + var n = e.updateQueue; + if (n === null) return null; + if (n = n.shared, ce & 2) { + var o = n.pending; + return o === null ? t.next = t : (t.next = o.next, o.next = t), n.pending = t, yo(e, r); + } + return o = n.interleaved, o === null ? (t.next = t, av(n)) : (t.next = o.next, o.next = t), n.interleaved = t, yo(e, r); + } + a(sa, "dh"); + function jd(e, t, r) { + if (t = t.updateQueue, t !== null && (t = t.shared, (r & 4194240) !== 0)) { + var n = t.lanes; + n &= e.pendingLanes, r |= n, t.lanes = r, W5(e, r); + } + } + a(jd, "eh"); + function $S(e, t) { + var r = e.updateQueue, n = e.alternate; + if (n !== null && (n = n.updateQueue, r === n)) { + var o = null, i = null; + if (r = r.firstBaseUpdate, r !== null) { + do { + var s = { eventTime: r.eventTime, lane: r.lane, tag: r.tag, payload: r.payload, callback: r.callback, next: null }; + i === null ? o = i = s : i = i.next = s, r = r.next; + } while (r !== null); + i === null ? o = i = t : i = i.next = t; + } else o = i = t; + r = { baseState: n.baseState, firstBaseUpdate: o, lastBaseUpdate: i, shared: n.shared, effects: n.effects }, e.updateQueue = r; + return; + } + e = r.lastBaseUpdate, e === null ? r.firstBaseUpdate = t : e.next = t, r.lastBaseUpdate = t; + } + a($S, "fh"); + function c0(e, t, r, n) { + var o = e.updateQueue; + Jo = !1; + var i = o.firstBaseUpdate, s = o.lastBaseUpdate, l = o.shared.pending; + if (l !== null) { + o.shared.pending = null; + var u = l, c = u.next; + u.next = null, s === null ? i = c : s.next = c, s = u; + var p = e.alternate; + p !== null && (p = p.updateQueue, l = p.lastBaseUpdate, l !== s && (l === null ? p.firstBaseUpdate = c : l.next = c, p.lastBaseUpdate = + u)); + } + if (i !== null) { + var h = o.baseState; + s = 0, p = c = u = null, l = i; + do { + var m = l.lane, g = l.eventTime; + if ((n & m) === m) { + p !== null && (p = p.next = { + eventTime: g, + lane: 0, + tag: l.tag, + payload: l.payload, + callback: l.callback, + next: null + }); + e: { + var S = e, v = l; + switch (m = t, g = r, v.tag) { + case 1: + if (S = v.payload, typeof S == "function") { + h = S.call(g, h, m); + break e; + } + h = S; + break e; + case 3: + S.flags = S.flags & -65537 | 128; + case 0: + if (S = v.payload, m = typeof S == "function" ? S.call(g, h, m) : S, m == null) break e; + h = Ne({}, h, m); + break e; + case 2: + Jo = !0; + } + } + l.callback !== null && l.lane !== 0 && (e.flags |= 64, m = o.effects, m === null ? o.effects = [l] : m.push(l)); + } else g = { eventTime: g, lane: m, tag: l.tag, payload: l.payload, callback: l.callback, next: null }, p === null ? (c = p = g, u = + h) : p = p.next = g, s |= m; + if (l = l.next, l === null) { + if (l = o.shared.pending, l === null) break; + m = l, l = m.next, m.next = null, o.lastBaseUpdate = m, o.shared.pending = null; + } + } while (!0); + if (p === null && (u = h), o.baseState = u, o.firstBaseUpdate = c, o.lastBaseUpdate = p, t = o.shared.interleaved, t !== null) { + o = t; + do + s |= o.lane, o = o.next; + while (o !== t); + } else i === null && (o.shared.lanes = 0); + pi |= s, e.lanes = s, e.memoizedState = h; + } + } + a(c0, "gh"); + function zS(e, t, r) { + if (e = t.effects, t.effects = null, e !== null) for (t = 0; t < e.length; t++) { + var n = e[t], o = n.callback; + if (o !== null) { + if (n.callback = null, n = r, typeof o != "function") throw Error(M(191, o)); + o.call(n); + } + } + } + a(zS, "ih"); + var f7 = new cE.Component().refs; + function S5(e, t, r, n) { + t = e.memoizedState, r = r(n, t), r = r == null ? t : Ne({}, t, r), e.memoizedState = r, e.lanes === 0 && (e.updateQueue.baseState = r); + } + a(S5, "kh"); + var D0 = { isMounted: /* @__PURE__ */ a(function(e) { + return (e = e._reactInternals) ? hi(e) === e : !1; + }, "isMounted"), enqueueSetState: /* @__PURE__ */ a(function(e, t, r) { + e = e._reactInternals; + var n = zt(), o = ua(e), i = mo(n, o); + i.payload = t, r != null && (i.callback = r), t = sa(e, i, o), t !== null && (fn(t, e, o, n), jd(t, e, o)); + }, "enqueueSetState"), enqueueReplaceState: /* @__PURE__ */ a(function(e, t, r) { + e = e._reactInternals; + var n = zt(), o = ua(e), i = mo(n, o); + i.tag = 1, i.payload = t, r != null && (i.callback = r), t = sa(e, i, o), t !== null && (fn(t, e, o, n), jd(t, e, o)); + }, "enqueueReplaceState"), enqueueForceUpdate: /* @__PURE__ */ a(function(e, t) { + e = e._reactInternals; + var r = zt(), n = ua(e), o = mo(r, n); + o.tag = 2, t != null && (o.callback = t), t = sa(e, o, n), t !== null && (fn(t, e, n, r), jd(t, e, n)); + }, "enqueueForceUpdate") }; + function HS(e, t, r, n, o, i, s) { + return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(n, i, s) : t.prototype && t.prototype.isPureReactComponent ? + !Gc(r, n) || !Gc(o, i) : !0; + } + a(HS, "oh"); + function d7(e, t, r) { + var n = !1, o = fa, i = t.contextType; + return typeof i == "object" && i !== null ? i = Br(i) : (o = ar(t) ? li : Pt.current, n = t.contextTypes, i = (n = n != null) ? Ms(e, o) : + fa), t = new t(r, i), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = D0, e.stateNode = t, t._reactInternals = + e, n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = i), t; + } + a(d7, "ph"); + function jS(e, t, r, n) { + e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(r, n), typeof t.UNSAFE_componentWillReceiveProps == + "function" && t.UNSAFE_componentWillReceiveProps(r, n), t.state !== e && D0.enqueueReplaceState(t, t.state, null); + } + a(jS, "qh"); + function E5(e, t, r, n) { + var o = e.stateNode; + o.props = r, o.state = e.memoizedState, o.refs = f7, iv(e); + var i = t.contextType; + typeof i == "object" && i !== null ? o.context = Br(i) : (i = ar(t) ? li : Pt.current, o.context = Ms(e, i)), o.state = e.memoizedState, + i = t.getDerivedStateFromProps, typeof i == "function" && (S5(e, t, i, r), o.state = e.memoizedState), typeof t.getDerivedStateFromProps == + "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != + "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "\ +function" && o.UNSAFE_componentWillMount(), t !== o.state && D0.enqueueReplaceState(o, o.state, null), c0(e, r, o, n), o.state = e.memoizedState), + typeof o.componentDidMount == "function" && (e.flags |= 4194308); + } + a(E5, "rh"); + function xc(e, t, r) { + if (e = r.ref, e !== null && typeof e != "function" && typeof e != "object") { + if (r._owner) { + if (r = r._owner, r) { + if (r.tag !== 1) throw Error(M(309)); + var n = r.stateNode; + } + if (!n) throw Error(M(147, e)); + var o = n, i = "" + e; + return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === i ? t.ref : (t = /* @__PURE__ */ a(function(s) { + var l = o.refs; + l === f7 && (l = o.refs = {}), s === null ? delete l[i] : l[i] = s; + }, "b"), t._stringRef = i, t); + } + if (typeof e != "string") throw Error(M(284)); + if (!r._owner) throw Error(M(290, e)); + } + return e; + } + a(xc, "sh"); + function Ld(e, t) { + throw e = Object.prototype.toString.call(t), Error(M(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : + e)); + } + a(Ld, "th"); + function VS(e) { + var t = e._init; + return t(e._payload); + } + a(VS, "uh"); + function h7(e) { + function t(w, y) { + if (e) { + var E = w.deletions; + E === null ? (w.deletions = [y], w.flags |= 16) : E.push(y); + } + } + a(t, "b"); + function r(w, y) { + if (!e) return null; + for (; y !== null; ) t(w, y), y = y.sibling; + return null; + } + a(r, "c"); + function n(w, y) { + for (w = /* @__PURE__ */ new Map(); y !== null; ) y.key !== null ? w.set(y.key, y) : w.set(y.index, y), y = y.sibling; + return w; + } + a(n, "d"); + function o(w, y) { + return w = ca(w, y), w.index = 0, w.sibling = null, w; + } + a(o, "e"); + function i(w, y, E) { + return w.index = E, e ? (E = w.alternate, E !== null ? (E = E.index, E < y ? (w.flags |= 2, y) : E) : (w.flags |= 2, y)) : (w.flags |= + 1048576, y); + } + a(i, "f"); + function s(w) { + return e && w.alternate === null && (w.flags |= 2), w; + } + a(s, "g"); + function l(w, y, E, x) { + return y === null || y.tag !== 6 ? (y = V2(E, w.mode, x), y.return = w, y) : (y = o(y, E), y.return = w, y); + } + a(l, "h"); + function u(w, y, E, x) { + var C = E.type; + return C === ws ? p(w, y, E.props.children, x, E.key) : y !== null && (y.elementType === C || typeof C == "object" && C !== null && C. + $$typeof === Qo && VS(C) === y.type) ? (x = o(y, E.props), x.ref = xc(w, y, E), x.return = w, x) : (x = Yd(E.type, E.key, E.props, null, + w.mode, x), x.ref = xc(w, y, E), x.return = w, x); + } + a(u, "k"); + function c(w, y, E, x) { + return y === null || y.tag !== 4 || y.stateNode.containerInfo !== E.containerInfo || y.stateNode.implementation !== E.implementation ? + (y = U2(E, w.mode, x), y.return = w, y) : (y = o(y, E.children || []), y.return = w, y); + } + a(c, "l"); + function p(w, y, E, x, C) { + return y === null || y.tag !== 7 ? (y = si(E, w.mode, x, C), y.return = w, y) : (y = o(y, E), y.return = w, y); + } + a(p, "m"); + function h(w, y, E) { + if (typeof y == "string" && y !== "" || typeof y == "number") return y = V2("" + y, w.mode, E), y.return = w, y; + if (typeof y == "object" && y !== null) { + switch (y.$$typeof) { + case bd: + return E = Yd(y.type, y.key, y.props, null, w.mode, E), E.ref = xc(w, null, y), E.return = w, E; + case ys: + return y = U2(y, w.mode, E), y.return = w, y; + case Qo: + var x = y._init; + return h(w, x(y._payload), E); + } + if (_c(y) || wc(y)) return y = si(y, w.mode, E, null), y.return = w, y; + Ld(w, y); + } + return null; + } + a(h, "q"); + function m(w, y, E, x) { + var C = y !== null ? y.key : null; + if (typeof E == "string" && E !== "" || typeof E == "number") return C !== null ? null : l(w, y, "" + E, x); + if (typeof E == "object" && E !== null) { + switch (E.$$typeof) { + case bd: + return E.key === C ? u(w, y, E, x) : null; + case ys: + return E.key === C ? c(w, y, E, x) : null; + case Qo: + return C = E._init, m( + w, + y, + C(E._payload), + x + ); + } + if (_c(E) || wc(E)) return C !== null ? null : p(w, y, E, x, null); + Ld(w, E); + } + return null; + } + a(m, "r"); + function g(w, y, E, x, C) { + if (typeof x == "string" && x !== "" || typeof x == "number") return w = w.get(E) || null, l(y, w, "" + x, C); + if (typeof x == "object" && x !== null) { + switch (x.$$typeof) { + case bd: + return w = w.get(x.key === null ? E : x.key) || null, u(y, w, x, C); + case ys: + return w = w.get(x.key === null ? E : x.key) || null, c(y, w, x, C); + case Qo: + var D = x._init; + return g(w, y, E, D(x._payload), C); + } + if (_c(x) || wc(x)) return w = w.get(E) || null, p(y, w, x, C, null); + Ld(y, x); + } + return null; + } + a(g, "y"); + function S(w, y, E, x) { + for (var C = null, D = null, R = y, A = y = 0, _ = null; R !== null && A < E.length; A++) { + R.index > A ? (_ = R, R = null) : _ = R.sibling; + var P = m(w, R, E[A], x); + if (P === null) { + R === null && (R = _); + break; + } + e && R && P.alternate === null && t(w, R), y = i(P, y, A), D === null ? C = P : D.sibling = P, D = P, R = _; + } + if (A === E.length) return r(w, R), Te && ti(w, A), C; + if (R === null) { + for (; A < E.length; A++) R = h(w, E[A], x), R !== null && (y = i(R, y, A), D === null ? C = R : D.sibling = R, D = R); + return Te && ti(w, A), C; + } + for (R = n(w, R); A < E.length; A++) _ = g(R, w, A, E[A], x), _ !== null && (e && _.alternate !== null && R.delete(_.key === null ? A : + _.key), y = i(_, y, A), D === null ? C = _ : D.sibling = _, D = _); + return e && R.forEach(function(B) { + return t(w, B); + }), Te && ti(w, A), C; + } + a(S, "n"); + function v(w, y, E, x) { + var C = wc(E); + if (typeof C != "function") throw Error(M(150)); + if (E = C.call(E), E == null) throw Error(M(151)); + for (var D = C = null, R = y, A = y = 0, _ = null, P = E.next(); R !== null && !P.done; A++, P = E.next()) { + R.index > A ? (_ = R, R = null) : _ = R.sibling; + var B = m(w, R, P.value, x); + if (B === null) { + R === null && (R = _); + break; + } + e && R && B.alternate === null && t(w, R), y = i(B, y, A), D === null ? C = B : D.sibling = B, D = B, R = _; + } + if (P.done) return r( + w, + R + ), Te && ti(w, A), C; + if (R === null) { + for (; !P.done; A++, P = E.next()) P = h(w, P.value, x), P !== null && (y = i(P, y, A), D === null ? C = P : D.sibling = P, D = P); + return Te && ti(w, A), C; + } + for (R = n(w, R); !P.done; A++, P = E.next()) P = g(R, w, A, P.value, x), P !== null && (e && P.alternate !== null && R.delete(P.key === + null ? A : P.key), y = i(P, y, A), D === null ? C = P : D.sibling = P, D = P); + return e && R.forEach(function(z) { + return t(w, z); + }), Te && ti(w, A), C; + } + a(v, "t"); + function b(w, y, E, x) { + if (typeof E == "object" && E !== null && E.type === ws && E.key === null && (E = E.props.children), typeof E == "object" && E !== null) { + switch (E.$$typeof) { + case bd: + e: { + for (var C = E.key, D = y; D !== null; ) { + if (D.key === C) { + if (C = E.type, C === ws) { + if (D.tag === 7) { + r(w, D.sibling), y = o(D, E.props.children), y.return = w, w = y; + break e; + } + } else if (D.elementType === C || typeof C == "object" && C !== null && C.$$typeof === Qo && VS(C) === D.type) { + r(w, D.sibling), y = o(D, E.props), y.ref = xc(w, D, E), y.return = w, w = y; + break e; + } + r(w, D); + break; + } else t(w, D); + D = D.sibling; + } + E.type === ws ? (y = si(E.props.children, w.mode, x, E.key), y.return = w, w = y) : (x = Yd(E.type, E.key, E.props, null, w.mode, + x), x.ref = xc(w, y, E), x.return = w, w = x); + } + return s(w); + case ys: + e: { + for (D = E.key; y !== null; ) { + if (y.key === D) if (y.tag === 4 && y.stateNode.containerInfo === E.containerInfo && y.stateNode.implementation === E.implementation) { + r(w, y.sibling), y = o(y, E.children || []), y.return = w, w = y; + break e; + } else { + r(w, y); + break; + } + else t(w, y); + y = y.sibling; + } + y = U2(E, w.mode, x), y.return = w, w = y; + } + return s(w); + case Qo: + return D = E._init, b(w, y, D(E._payload), x); + } + if (_c(E)) return S(w, y, E, x); + if (wc(E)) return v(w, y, E, x); + Ld(w, E); + } + return typeof E == "string" && E !== "" || typeof E == "number" ? (E = "" + E, y !== null && y.tag === 6 ? (r(w, y.sibling), y = o(y, E), + y.return = w, w = y) : (r(w, y), y = V2(E, w.mode, x), y.return = w, w = y), s(w)) : r(w, y); + } + return a(b, "J"), b; + } + a(h7, "vh"); + var $s = h7(!0), m7 = h7(!1), ip = {}, $n = ha(ip), Qc = ha(ip), Jc = ha(ip); + function ai(e) { + if (e === ip) throw Error(M(174)); + return e; + } + a(ai, "Hh"); + function sv(e, t) { + switch (xe(Jc, t), xe(Qc, e), xe($n, ip), e = t.nodeType, e) { + case 9: + case 11: + t = (t = t.documentElement) ? t.namespaceURI : e5(null, ""); + break; + default: + e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = e5(t, e); + } + De($n), xe($n, t); + } + a(sv, "Ih"); + function zs() { + De($n), De(Qc), De(Jc); + } + a(zs, "Jh"); + function g7(e) { + ai(Jc.current); + var t = ai($n.current), r = e5(t, e.type); + t !== r && (xe(Qc, e), xe($n, r)); + } + a(g7, "Kh"); + function lv(e) { + Qc.current === e && (De($n), De(Qc)); + } + a(lv, "Lh"); + var Oe = ha(0); + function p0(e) { + for (var t = e; t !== null; ) { + if (t.tag === 13) { + var r = t.memoizedState; + if (r !== null && (r = r.dehydrated, r === null || r.data === "$?" || r.data === "$!")) return t; + } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) { + if (t.flags & 128) return t; + } else if (t.child !== null) { + t.child.return = t, t = t.child; + continue; + } + if (t === e) break; + for (; t.sibling === null; ) { + if (t.return === null || t.return === e) return null; + t = t.return; + } + t.sibling.return = t.return, t = t.sibling; + } + return null; + } + a(p0, "Mh"); + var M2 = []; + function uv() { + for (var e = 0; e < M2.length; e++) M2[e]._workInProgressVersionPrimary = null; + M2.length = 0; + } + a(uv, "Oh"); + var Vd = bo.ReactCurrentDispatcher, B2 = bo.ReactCurrentBatchConfig, ci = 0, Le = null, ot = null, pt = null, f0 = !1, Nc = !1, Zc = 0, Z$ = 0; + function Tt() { + throw Error(M(321)); + } + a(Tt, "Q"); + function cv(e, t) { + if (t === null) return !1; + for (var r = 0; r < t.length && r < e.length; r++) if (!dn(e[r], t[r])) return !1; + return !0; + } + a(cv, "Wh"); + function pv(e, t, r, n, o, i) { + if (ci = i, Le = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, Vd.current = e === null || e.memoizedState === null ? nz : + oz, e = r(n, o), Nc) { + i = 0; + do { + if (Nc = !1, Zc = 0, 25 <= i) throw Error(M(301)); + i += 1, pt = ot = null, t.updateQueue = null, Vd.current = az, e = r(n, o); + } while (Nc); + } + if (Vd.current = d0, t = ot !== null && ot.next !== null, ci = 0, pt = ot = Le = null, f0 = !1, t) throw Error(M(300)); + return e; + } + a(pv, "Xh"); + function fv() { + var e = Zc !== 0; + return Zc = 0, e; + } + a(fv, "bi"); + function Nn() { + var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; + return pt === null ? Le.memoizedState = pt = e : pt = pt.next = e, pt; + } + a(Nn, "ci"); + function $r() { + if (ot === null) { + var e = Le.alternate; + e = e !== null ? e.memoizedState : null; + } else e = ot.next; + var t = pt === null ? Le.memoizedState : pt.next; + if (t !== null) pt = t, ot = e; + else { + if (e === null) throw Error(M(310)); + ot = e, e = { memoizedState: ot.memoizedState, baseState: ot.baseState, baseQueue: ot.baseQueue, queue: ot.queue, next: null }, pt === + null ? Le.memoizedState = pt = e : pt = pt.next = e; + } + return pt; + } + a($r, "di"); + function ep(e, t) { + return typeof t == "function" ? t(e) : t; + } + a(ep, "ei"); + function $2(e) { + var t = $r(), r = t.queue; + if (r === null) throw Error(M(311)); + r.lastRenderedReducer = e; + var n = ot, o = n.baseQueue, i = r.pending; + if (i !== null) { + if (o !== null) { + var s = o.next; + o.next = i.next, i.next = s; + } + n.baseQueue = o = i, r.pending = null; + } + if (o !== null) { + i = o.next, n = n.baseState; + var l = s = null, u = null, c = i; + do { + var p = c.lane; + if ((ci & p) === p) u !== null && (u = u.next = { lane: 0, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, + next: null }), n = c.hasEagerState ? c.eagerState : e(n, c.action); + else { + var h = { + lane: p, + action: c.action, + hasEagerState: c.hasEagerState, + eagerState: c.eagerState, + next: null + }; + u === null ? (l = u = h, s = n) : u = u.next = h, Le.lanes |= p, pi |= p; + } + c = c.next; + } while (c !== null && c !== i); + u === null ? s = n : u.next = l, dn(n, t.memoizedState) || (nr = !0), t.memoizedState = n, t.baseState = s, t.baseQueue = u, r.lastRenderedState = + n; + } + if (e = r.interleaved, e !== null) { + o = e; + do + i = o.lane, Le.lanes |= i, pi |= i, o = o.next; + while (o !== e); + } else o === null && (r.lanes = 0); + return [t.memoizedState, r.dispatch]; + } + a($2, "fi"); + function z2(e) { + var t = $r(), r = t.queue; + if (r === null) throw Error(M(311)); + r.lastRenderedReducer = e; + var n = r.dispatch, o = r.pending, i = t.memoizedState; + if (o !== null) { + r.pending = null; + var s = o = o.next; + do + i = e(i, s.action), s = s.next; + while (s !== o); + dn(i, t.memoizedState) || (nr = !0), t.memoizedState = i, t.baseQueue === null && (t.baseState = i), r.lastRenderedState = i; + } + return [i, n]; + } + a(z2, "gi"); + function v7() { + } + a(v7, "hi"); + function y7(e, t) { + var r = Le, n = $r(), o = t(), i = !dn(n.memoizedState, o); + if (i && (n.memoizedState = o, nr = !0), n = n.queue, dv(S7.bind(null, r, n, e), [e]), n.getSnapshot !== t || i || pt !== null && pt.memoizedState. + tag & 1) { + if (r.flags |= 2048, tp(9, b7.bind(null, r, n, o, t), void 0, null), ft === null) throw Error(M(349)); + ci & 30 || w7(r, t, o); + } + return o; + } + a(y7, "ii"); + function w7(e, t, r) { + e.flags |= 16384, e = { getSnapshot: t, value: r }, t = Le.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Le.updateQueue = + t, t.stores = [e]) : (r = t.stores, r === null ? t.stores = [e] : r.push(e)); + } + a(w7, "ni"); + function b7(e, t, r, n) { + t.value = r, t.getSnapshot = n, E7(t) && x7(e); + } + a(b7, "mi"); + function S7(e, t, r) { + return r(function() { + E7(t) && x7(e); + }); + } + a(S7, "ki"); + function E7(e) { + var t = e.getSnapshot; + e = e.value; + try { + var r = t(); + return !dn(e, r); + } catch { + return !0; + } + } + a(E7, "oi"); + function x7(e) { + var t = yo(e, 1); + t !== null && fn(t, e, 1, -1); + } + a(x7, "pi"); + function US(e) { + var t = Nn(); + return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, + lastRenderedReducer: ep, lastRenderedState: e }, t.queue = e, e = e.dispatch = rz.bind(null, Le, e), [t.memoizedState, e]; + } + a(US, "qi"); + function tp(e, t, r, n) { + return e = { tag: e, create: t, destroy: r, deps: n, next: null }, t = Le.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, + Le.updateQueue = t, t.lastEffect = e.next = e) : (r = t.lastEffect, r === null ? t.lastEffect = e.next = e : (n = r.next, r.next = e, e. + next = n, t.lastEffect = e)), e; + } + a(tp, "li"); + function C7() { + return $r().memoizedState; + } + a(C7, "si"); + function Ud(e, t, r, n) { + var o = Nn(); + Le.flags |= e, o.memoizedState = tp(1 | t, r, void 0, n === void 0 ? null : n); + } + a(Ud, "ti"); + function R0(e, t, r, n) { + var o = $r(); + n = n === void 0 ? null : n; + var i = void 0; + if (ot !== null) { + var s = ot.memoizedState; + if (i = s.destroy, n !== null && cv(n, s.deps)) { + o.memoizedState = tp(t, r, i, n); + return; + } + } + Le.flags |= e, o.memoizedState = tp(1 | t, r, i, n); + } + a(R0, "ui"); + function WS(e, t) { + return Ud(8390656, 8, e, t); + } + a(WS, "vi"); + function dv(e, t) { + return R0(2048, 8, e, t); + } + a(dv, "ji"); + function D7(e, t) { + return R0(4, 2, e, t); + } + a(D7, "wi"); + function R7(e, t) { + return R0(4, 4, e, t); + } + a(R7, "xi"); + function A7(e, t) { + if (typeof t == "function") return e = e(), t(e), function() { + t(null); + }; + if (t != null) return e = e(), t.current = e, function() { + t.current = null; + }; + } + a(A7, "yi"); + function _7(e, t, r) { + return r = r != null ? r.concat([e]) : null, R0(4, 4, A7.bind(null, t, e), r); + } + a(_7, "zi"); + function hv() { + } + a(hv, "Ai"); + function T7(e, t) { + var r = $r(); + t = t === void 0 ? null : t; + var n = r.memoizedState; + return n !== null && t !== null && cv(t, n[1]) ? n[0] : (r.memoizedState = [e, t], e); + } + a(T7, "Bi"); + function k7(e, t) { + var r = $r(); + t = t === void 0 ? null : t; + var n = r.memoizedState; + return n !== null && t !== null && cv(t, n[1]) ? n[0] : (e = e(), r.memoizedState = [e, t], e); + } + a(k7, "Ci"); + function I7(e, t, r) { + return ci & 21 ? (dn(r, t) || (r = OE(), Le.lanes |= r, pi |= r, e.baseState = !0), t) : (e.baseState && (e.baseState = !1, nr = !0), e. + memoizedState = r); + } + a(I7, "Di"); + function ez(e, t) { + var r = me; + me = r !== 0 && 4 > r ? r : 4, e(!0); + var n = B2.transition; + B2.transition = {}; + try { + e(!1), t(); + } finally { + me = r, B2.transition = n; + } + } + a(ez, "Ei"); + function P7() { + return $r().memoizedState; + } + a(P7, "Fi"); + function tz(e, t, r) { + var n = ua(e); + if (r = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }, F7(e)) O7(t, r); + else if (r = c7(e, t, r, n), r !== null) { + var o = zt(); + fn(r, e, n, o), L7(r, t, n); + } + } + a(tz, "Gi"); + function rz(e, t, r) { + var n = ua(e), o = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }; + if (F7(e)) O7(t, o); + else { + var i = e.alternate; + if (e.lanes === 0 && (i === null || i.lanes === 0) && (i = t.lastRenderedReducer, i !== null)) try { + var s = t.lastRenderedState, l = i(s, r); + if (o.hasEagerState = !0, o.eagerState = l, dn(l, s)) { + var u = t.interleaved; + u === null ? (o.next = o, av(t)) : (o.next = u.next, u.next = o), t.interleaved = o; + return; + } + } catch { + } finally { + } + r = c7(e, t, o, n), r !== null && (o = zt(), fn(r, e, n, o), L7(r, t, n)); + } + } + a(rz, "ri"); + function F7(e) { + var t = e.alternate; + return e === Le || t !== null && t === Le; + } + a(F7, "Hi"); + function O7(e, t) { + Nc = f0 = !0; + var r = e.pending; + r === null ? t.next = t : (t.next = r.next, r.next = t), e.pending = t; + } + a(O7, "Ii"); + function L7(e, t, r) { + if (r & 4194240) { + var n = t.lanes; + n &= e.pendingLanes, r |= n, t.lanes = r, W5(e, r); + } + } + a(L7, "Ji"); + var d0 = { readContext: Br, useCallback: Tt, useContext: Tt, useEffect: Tt, useImperativeHandle: Tt, useInsertionEffect: Tt, useLayoutEffect: Tt, + useMemo: Tt, useReducer: Tt, useRef: Tt, useState: Tt, useDebugValue: Tt, useDeferredValue: Tt, useTransition: Tt, useMutableSource: Tt, useSyncExternalStore: Tt, + useId: Tt, unstable_isNewReconciler: !1 }, nz = { readContext: Br, useCallback: /* @__PURE__ */ a(function(e, t) { + return Nn().memoizedState = [e, t === void 0 ? null : t], e; + }, "useCallback"), useContext: Br, useEffect: WS, useImperativeHandle: /* @__PURE__ */ a(function(e, t, r) { + return r = r != null ? r.concat([e]) : null, Ud( + 4194308, + 4, + A7.bind(null, t, e), + r + ); + }, "useImperativeHandle"), useLayoutEffect: /* @__PURE__ */ a(function(e, t) { + return Ud(4194308, 4, e, t); + }, "useLayoutEffect"), useInsertionEffect: /* @__PURE__ */ a(function(e, t) { + return Ud(4, 2, e, t); + }, "useInsertionEffect"), useMemo: /* @__PURE__ */ a(function(e, t) { + var r = Nn(); + return t = t === void 0 ? null : t, e = e(), r.memoizedState = [e, t], e; + }, "useMemo"), useReducer: /* @__PURE__ */ a(function(e, t, r) { + var n = Nn(); + return t = r !== void 0 ? r(t) : t, n.memoizedState = n.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, + lastRenderedReducer: e, lastRenderedState: t }, n.queue = e, e = e.dispatch = tz.bind(null, Le, e), [n.memoizedState, e]; + }, "useReducer"), useRef: /* @__PURE__ */ a(function(e) { + var t = Nn(); + return e = { current: e }, t.memoizedState = e; + }, "useRef"), useState: US, useDebugValue: hv, useDeferredValue: /* @__PURE__ */ a(function(e) { + return Nn().memoizedState = e; + }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() { + var e = US(!1), t = e[0]; + return e = ez.bind(null, e[1]), Nn().memoizedState = e, [t, e]; + }, "useTransition"), useMutableSource: /* @__PURE__ */ a(function() { + }, "useMutableSource"), useSyncExternalStore: /* @__PURE__ */ a(function(e, t, r) { + var n = Le, o = Nn(); + if (Te) { + if (r === void 0) throw Error(M(407)); + r = r(); + } else { + if (r = t(), ft === null) throw Error(M(349)); + ci & 30 || w7(n, t, r); + } + o.memoizedState = r; + var i = { value: r, getSnapshot: t }; + return o.queue = i, WS(S7.bind( + null, + n, + i, + e + ), [e]), n.flags |= 2048, tp(9, b7.bind(null, n, i, r, t), void 0, null), r; + }, "useSyncExternalStore"), useId: /* @__PURE__ */ a(function() { + var e = Nn(), t = ft.identifierPrefix; + if (Te) { + var r = ho, n = fo; + r = (n & ~(1 << 32 - pn(n) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = Zc++, 0 < r && (t += "H" + r.toString(32)), t += ":"; + } else r = Z$++, t = ":" + t + "r" + r.toString(32) + ":"; + return e.memoizedState = t; + }, "useId"), unstable_isNewReconciler: !1 }, oz = { + readContext: Br, + useCallback: T7, + useContext: Br, + useEffect: dv, + useImperativeHandle: _7, + useInsertionEffect: D7, + useLayoutEffect: R7, + useMemo: k7, + useReducer: $2, + useRef: C7, + useState: /* @__PURE__ */ a(function() { + return $2(ep); + }, "useState"), + useDebugValue: hv, + useDeferredValue: /* @__PURE__ */ a(function(e) { + var t = $r(); + return I7(t, ot.memoizedState, e); + }, "useDeferredValue"), + useTransition: /* @__PURE__ */ a(function() { + var e = $2(ep)[0], t = $r().memoizedState; + return [e, t]; + }, "useTransition"), + useMutableSource: v7, + useSyncExternalStore: y7, + useId: P7, + unstable_isNewReconciler: !1 + }, az = { readContext: Br, useCallback: T7, useContext: Br, useEffect: dv, useImperativeHandle: _7, useInsertionEffect: D7, useLayoutEffect: R7, + useMemo: k7, useReducer: z2, useRef: C7, useState: /* @__PURE__ */ a(function() { + return z2(ep); + }, "useState"), useDebugValue: hv, useDeferredValue: /* @__PURE__ */ a(function(e) { + var t = $r(); + return ot === null ? t.memoizedState = e : I7(t, ot.memoizedState, e); + }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() { + var e = z2(ep)[0], t = $r().memoizedState; + return [e, t]; + }, "useTransition"), useMutableSource: v7, useSyncExternalStore: y7, useId: P7, unstable_isNewReconciler: !1 }; + function Hs(e, t) { + try { + var r = "", n = t; + do + r += LB(n), n = n.return; + while (n); + var o = r; + } catch (i) { + o = ` +Error generating stack: ` + i.message + ` +` + i.stack; + } + return { value: e, source: t, stack: o, digest: null }; + } + a(Hs, "Ki"); + function H2(e, t, r) { + return { value: e, source: null, stack: r ?? null, digest: t ?? null }; + } + a(H2, "Li"); + function x5(e, t) { + try { + console.error(t.value); + } catch (r) { + setTimeout(function() { + throw r; + }); + } + } + a(x5, "Mi"); + var iz = typeof WeakMap == "function" ? WeakMap : Map; + function N7(e, t, r) { + r = mo(-1, r), r.tag = 3, r.payload = { element: null }; + var n = t.value; + return r.callback = function() { + m0 || (m0 = !0, F5 = n), x5(e, t); + }, r; + } + a(N7, "Oi"); + function M7(e, t, r) { + r = mo(-1, r), r.tag = 3; + var n = e.type.getDerivedStateFromError; + if (typeof n == "function") { + var o = t.value; + r.payload = function() { + return n(o); + }, r.callback = function() { + x5(e, t); + }; + } + var i = e.stateNode; + return i !== null && typeof i.componentDidCatch == "function" && (r.callback = function() { + x5(e, t), typeof n != "function" && (la === null ? la = /* @__PURE__ */ new Set([this]) : la.add(this)); + var s = t.stack; + this.componentDidCatch(t.value, { componentStack: s !== null ? s : "" }); + }), r; + } + a(M7, "Ri"); + function qS(e, t, r) { + var n = e.pingCache; + if (n === null) { + n = e.pingCache = new iz(); + var o = /* @__PURE__ */ new Set(); + n.set(t, o); + } else o = n.get(t), o === void 0 && (o = /* @__PURE__ */ new Set(), n.set(t, o)); + o.has(r) || (o.add(r), e = bz.bind(null, e, t, r), t.then(e, e)); + } + a(qS, "Ti"); + function GS(e) { + do { + var t; + if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e; + e = e.return; + } while (e !== null); + return null; + } + a(GS, "Vi"); + function YS(e, t, r, n, o) { + return e.mode & 1 ? (e.flags |= 65536, e.lanes = o, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, + r.tag === 1 && (r.alternate === null ? r.tag = 17 : (t = mo(-1, 1), t.tag = 2, sa(r, t, 1))), r.lanes |= 1), e); + } + a(YS, "Wi"); + var sz = bo.ReactCurrentOwner, nr = !1; + function $t(e, t, r, n) { + t.child = e === null ? m7(t, null, r, n) : $s(t, e.child, r, n); + } + a($t, "Yi"); + function KS(e, t, r, n, o) { + r = r.render; + var i = t.ref; + return Os(t, o), n = pv(e, t, r, n, i, o), r = fv(), e !== null && !nr ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, + wo(e, t, o)) : (Te && r && Z5(t), t.flags |= 1, $t(e, t, n, o), t.child); + } + a(KS, "Zi"); + function XS(e, t, r, n, o) { + if (e === null) { + var i = r.type; + return typeof i == "function" && !Ev(i) && i.defaultProps === void 0 && r.compare === null && r.defaultProps === void 0 ? (t.tag = 15, + t.type = i, B7(e, t, i, n, o)) : (e = Yd(r.type, null, n, t, t.mode, o), e.ref = t.ref, e.return = t, t.child = e); + } + if (i = e.child, !(e.lanes & o)) { + var s = i.memoizedProps; + if (r = r.compare, r = r !== null ? r : Gc, r(s, n) && e.ref === t.ref) return wo(e, t, o); + } + return t.flags |= 1, e = ca(i, n), e.ref = t.ref, e.return = t, t.child = e; + } + a(XS, "aj"); + function B7(e, t, r, n, o) { + if (e !== null) { + var i = e.memoizedProps; + if (Gc(i, n) && e.ref === t.ref) if (nr = !1, t.pendingProps = n = i, (e.lanes & o) !== 0) e.flags & 131072 && (nr = !0); + else return t.lanes = e.lanes, wo(e, t, o); + } + return C5(e, t, r, n, o); + } + a(B7, "cj"); + function $7(e, t, r) { + var n = t.pendingProps, o = n.children, i = e !== null ? e.memoizedState : null; + if (n.mode === "hidden") if (!(t.mode & 1)) t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, xe(Ts, vr), vr |= r; + else { + if (!(r & 1073741824)) return e = i !== null ? i.baseLanes | r : r, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, + cachePool: null, transitions: null }, t.updateQueue = null, xe(Ts, vr), vr |= e, null; + t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, n = i !== null ? i.baseLanes : r, xe(Ts, vr), vr |= n; + } + else i !== null ? (n = i.baseLanes | r, t.memoizedState = null) : n = r, xe(Ts, vr), vr |= n; + return $t(e, t, o, r), t.child; + } + a($7, "ej"); + function z7(e, t) { + var r = t.ref; + (e === null && r !== null || e !== null && e.ref !== r) && (t.flags |= 512, t.flags |= 2097152); + } + a(z7, "hj"); + function C5(e, t, r, n, o) { + var i = ar(r) ? li : Pt.current; + return i = Ms(t, i), Os(t, o), r = pv(e, t, r, n, i, o), n = fv(), e !== null && !nr ? (t.updateQueue = e.updateQueue, t.flags &= -2053, + e.lanes &= ~o, wo(e, t, o)) : (Te && n && Z5(t), t.flags |= 1, $t(e, t, r, o), t.child); + } + a(C5, "dj"); + function QS(e, t, r, n, o) { + if (ar(r)) { + var i = !0; + a0(t); + } else i = !1; + if (Os(t, o), t.stateNode === null) Wd(e, t), d7(t, r, n), E5(t, r, n, o), n = !0; + else if (e === null) { + var s = t.stateNode, l = t.memoizedProps; + s.props = l; + var u = s.context, c = r.contextType; + typeof c == "object" && c !== null ? c = Br(c) : (c = ar(r) ? li : Pt.current, c = Ms(t, c)); + var p = r.getDerivedStateFromProps, h = typeof p == "function" || typeof s.getSnapshotBeforeUpdate == "function"; + h || typeof s.UNSAFE_componentWillReceiveProps != "function" && typeof s.componentWillReceiveProps != "function" || (l !== n || u !== c) && + jS(t, s, n, c), Jo = !1; + var m = t.memoizedState; + s.state = m, c0(t, n, s, o), u = t.memoizedState, l !== n || m !== u || or.current || Jo ? (typeof p == "function" && (S5(t, r, p, n), + u = t.memoizedState), (l = Jo || HS(t, r, l, n, m, u, c)) ? (h || typeof s.UNSAFE_componentWillMount != "function" && typeof s.componentWillMount != + "function" || (typeof s.componentWillMount == "function" && s.componentWillMount(), typeof s.UNSAFE_componentWillMount == "function" && + s.UNSAFE_componentWillMount()), typeof s.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof s.componentDidMount == "fu\ +nction" && (t.flags |= 4194308), t.memoizedProps = n, t.memoizedState = u), s.props = n, s.state = u, s.context = c, n = l) : (typeof s.componentDidMount == + "function" && (t.flags |= 4194308), n = !1); + } else { + s = t.stateNode, p7(e, t), l = t.memoizedProps, c = t.type === t.elementType ? l : ln(t.type, l), s.props = c, h = t.pendingProps, m = + s.context, u = r.contextType, typeof u == "object" && u !== null ? u = Br(u) : (u = ar(r) ? li : Pt.current, u = Ms(t, u)); + var g = r.getDerivedStateFromProps; + (p = typeof g == "function" || typeof s.getSnapshotBeforeUpdate == "function") || typeof s.UNSAFE_componentWillReceiveProps != "functi\ +on" && typeof s.componentWillReceiveProps != "function" || (l !== h || m !== u) && jS(t, s, n, u), Jo = !1, m = t.memoizedState, s.state = m, + c0(t, n, s, o); + var S = t.memoizedState; + l !== h || m !== S || or.current || Jo ? (typeof g == "function" && (S5(t, r, g, n), S = t.memoizedState), (c = Jo || HS(t, r, c, n, m, + S, u) || !1) ? (p || typeof s.UNSAFE_componentWillUpdate != "function" && typeof s.componentWillUpdate != "function" || (typeof s.componentWillUpdate == + "function" && s.componentWillUpdate(n, S, u), typeof s.UNSAFE_componentWillUpdate == "function" && s.UNSAFE_componentWillUpdate(n, S, u)), + typeof s.componentDidUpdate == "function" && (t.flags |= 4), typeof s.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof s. + componentDidUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != + "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 1024), t.memoizedProps = n, t.memoizedState = S), s.props = + n, s.state = S, s.context = u, n = c) : (typeof s.componentDidUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || + (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 1024), + n = !1); + } + return D5(e, t, r, n, i, o); + } + a(QS, "ij"); + function D5(e, t, r, n, o, i) { + z7(e, t); + var s = (t.flags & 128) !== 0; + if (!n && !s) return o && NS(t, r, !1), wo(e, t, i); + n = t.stateNode, sz.current = t; + var l = s && typeof r.getDerivedStateFromError != "function" ? null : n.render(); + return t.flags |= 1, e !== null && s ? (t.child = $s(t, e.child, null, i), t.child = $s(t, null, l, i)) : $t(e, t, l, i), t.memoizedState = + n.state, o && NS(t, r, !0), t.child; + } + a(D5, "kj"); + function H7(e) { + var t = e.stateNode; + t.pendingContext ? LS(e, t.pendingContext, t.pendingContext !== t.context) : t.context && LS(e, t.context, !1), sv(e, t.containerInfo); + } + a(H7, "lj"); + function JS(e, t, r, n, o) { + return Bs(), tv(o), t.flags |= 256, $t(e, t, r, n), t.child; + } + a(JS, "mj"); + var R5 = { dehydrated: null, treeContext: null, retryLane: 0 }; + function A5(e) { + return { baseLanes: e, cachePool: null, transitions: null }; + } + a(A5, "oj"); + function j7(e, t, r) { + var n = t.pendingProps, o = Oe.current, i = !1, s = (t.flags & 128) !== 0, l; + if ((l = s) || (l = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), l ? (i = !0, t.flags &= -129) : (e === null || e.memoizedState !== + null) && (o |= 1), xe(Oe, o & 1), e === null) + return w5(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = + 1073741824 : t.lanes = 1, null) : (s = n.children, e = n.fallback, i ? (n = t.mode, i = t.child, s = { mode: "hidden", children: s }, !(n & + 1) && i !== null ? (i.childLanes = 0, i.pendingProps = s) : i = T0(s, n, 0, null), e = si(e, n, r, null), i.return = t, e.return = t, i. + sibling = e, t.child = i, t.child.memoizedState = A5(r), t.memoizedState = R5, e) : mv(t, s)); + if (o = e.memoizedState, o !== null && (l = o.dehydrated, l !== null)) return lz(e, t, s, n, l, o, r); + if (i) { + i = n.fallback, s = t.mode, o = e.child, l = o.sibling; + var u = { mode: "hidden", children: n.children }; + return !(s & 1) && t.child !== o ? (n = t.child, n.childLanes = 0, n.pendingProps = u, t.deletions = null) : (n = ca(o, u), n.subtreeFlags = + o.subtreeFlags & 14680064), l !== null ? i = ca(l, i) : (i = si(i, s, r, null), i.flags |= 2), i.return = t, n.return = t, n.sibling = + i, t.child = n, n = i, i = t.child, s = e.child.memoizedState, s = s === null ? A5(r) : { baseLanes: s.baseLanes | r, cachePool: null, + transitions: s.transitions }, i.memoizedState = s, i.childLanes = e.childLanes & ~r, t.memoizedState = R5, n; + } + return i = e.child, e = i.sibling, n = ca(i, { mode: "visible", children: n.children }), !(t.mode & 1) && (n.lanes = r), n.return = t, n. + sibling = null, e !== null && (r = t.deletions, r === null ? (t.deletions = [e], t.flags |= 16) : r.push(e)), t.child = n, t.memoizedState = + null, n; + } + a(j7, "pj"); + function mv(e, t) { + return t = T0({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t; + } + a(mv, "rj"); + function Nd(e, t, r, n) { + return n !== null && tv(n), $s(t, e.child, null, r), e = mv(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e; + } + a(Nd, "tj"); + function lz(e, t, r, n, o, i, s) { + if (r) + return t.flags & 256 ? (t.flags &= -257, n = H2(Error(M(422))), Nd(e, t, s, n)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= + 128, null) : (i = n.fallback, o = t.mode, n = T0({ mode: "visible", children: n.children }, o, 0, null), i = si(i, o, s, null), i.flags |= + 2, n.return = t, i.return = t, n.sibling = i, t.child = n, t.mode & 1 && $s(t, e.child, null, s), t.child.memoizedState = A5(s), t.memoizedState = + R5, i); + if (!(t.mode & 1)) return Nd(e, t, s, null); + if (o.data === "$!") { + if (n = o.nextSibling && o.nextSibling.dataset, n) var l = n.dgst; + return n = l, i = Error(M(419)), n = H2(i, n, void 0), Nd(e, t, s, n); + } + if (l = (s & e.childLanes) !== 0, nr || l) { + if (n = ft, n !== null) { + switch (s & -s) { + case 4: + o = 2; + break; + case 16: + o = 8; + break; + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + o = 32; + break; + case 536870912: + o = 268435456; + break; + default: + o = 0; + } + o = o & (n.suspendedLanes | s) ? 0 : o, o !== 0 && o !== i.retryLane && (i.retryLane = o, yo(e, o), fn(n, e, o, -1)); + } + return Sv(), n = H2(Error(M(421))), Nd(e, t, s, n); + } + return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Sz.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, yr = ia( + o.nextSibling), wr = t, Te = !0, cn = null, e !== null && (Or[Lr++] = fo, Or[Lr++] = ho, Or[Lr++] = ui, fo = e.id, ho = e.overflow, ui = + t), t = mv(t, n.children), t.flags |= 4096, t); + } + a(lz, "sj"); + function ZS(e, t, r) { + e.lanes |= t; + var n = e.alternate; + n !== null && (n.lanes |= t), b5(e.return, t, r); + } + a(ZS, "wj"); + function j2(e, t, r, n, o) { + var i = e.memoizedState; + i === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: n, tail: r, tailMode: o } : (i.isBackwards = + t, i.rendering = null, i.renderingStartTime = 0, i.last = n, i.tail = r, i.tailMode = o); + } + a(j2, "xj"); + function V7(e, t, r) { + var n = t.pendingProps, o = n.revealOrder, i = n.tail; + if ($t(e, t, n.children, r), n = Oe.current, n & 2) n = n & 1 | 2, t.flags |= 128; + else { + if (e !== null && e.flags & 128) e: for (e = t.child; e !== null; ) { + if (e.tag === 13) e.memoizedState !== null && ZS(e, r, t); + else if (e.tag === 19) ZS(e, r, t); + else if (e.child !== null) { + e.child.return = e, e = e.child; + continue; + } + if (e === t) break e; + for (; e.sibling === null; ) { + if (e.return === null || e.return === t) break e; + e = e.return; + } + e.sibling.return = e.return, e = e.sibling; + } + n &= 1; + } + if (xe(Oe, n), !(t.mode & 1)) t.memoizedState = null; + else switch (o) { + case "forwards": + for (r = t.child, o = null; r !== null; ) e = r.alternate, e !== null && p0(e) === null && (o = r), r = r.sibling; + r = o, r === null ? (o = t.child, t.child = null) : (o = r.sibling, r.sibling = null), j2(t, !1, o, r, i); + break; + case "backwards": + for (r = null, o = t.child, t.child = null; o !== null; ) { + if (e = o.alternate, e !== null && p0(e) === null) { + t.child = o; + break; + } + e = o.sibling, o.sibling = r, r = o, o = e; + } + j2(t, !0, r, null, i); + break; + case "together": + j2(t, !1, null, null, void 0); + break; + default: + t.memoizedState = null; + } + return t.child; + } + a(V7, "yj"); + function Wd(e, t) { + !(t.mode & 1) && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2); + } + a(Wd, "jj"); + function wo(e, t, r) { + if (e !== null && (t.dependencies = e.dependencies), pi |= t.lanes, !(r & t.childLanes)) return null; + if (e !== null && t.child !== e.child) throw Error(M(153)); + if (t.child !== null) { + for (e = t.child, r = ca(e, e.pendingProps), t.child = r, r.return = t; e.sibling !== null; ) e = e.sibling, r = r.sibling = ca(e, e.pendingProps), + r.return = t; + r.sibling = null; + } + return t.child; + } + a(wo, "$i"); + function uz(e, t, r) { + switch (t.tag) { + case 3: + H7(t), Bs(); + break; + case 5: + g7(t); + break; + case 1: + ar(t.type) && a0(t); + break; + case 4: + sv(t, t.stateNode.containerInfo); + break; + case 10: + var n = t.type._context, o = t.memoizedProps.value; + xe(l0, n._currentValue), n._currentValue = o; + break; + case 13: + if (n = t.memoizedState, n !== null) + return n.dehydrated !== null ? (xe(Oe, Oe.current & 1), t.flags |= 128, null) : r & t.child.childLanes ? j7(e, t, r) : (xe(Oe, Oe. + current & 1), e = wo(e, t, r), e !== null ? e.sibling : null); + xe(Oe, Oe.current & 1); + break; + case 19: + if (n = (r & t.childLanes) !== 0, e.flags & 128) { + if (n) return V7(e, t, r); + t.flags |= 128; + } + if (o = t.memoizedState, o !== null && (o.rendering = null, o.tail = null, o.lastEffect = null), xe(Oe, Oe.current), n) break; + return null; + case 22: + case 23: + return t.lanes = 0, $7(e, t, r); + } + return wo(e, t, r); + } + a(uz, "zj"); + var U7, _5, W7, q7; + U7 = /* @__PURE__ */ a(function(e, t) { + for (var r = t.child; r !== null; ) { + if (r.tag === 5 || r.tag === 6) e.appendChild(r.stateNode); + else if (r.tag !== 4 && r.child !== null) { + r.child.return = r, r = r.child; + continue; + } + if (r === t) break; + for (; r.sibling === null; ) { + if (r.return === null || r.return === t) return; + r = r.return; + } + r.sibling.return = r.return, r = r.sibling; + } + }, "Aj"); + _5 = /* @__PURE__ */ a(function() { + }, "Bj"); + W7 = /* @__PURE__ */ a(function(e, t, r, n) { + var o = e.memoizedProps; + if (o !== n) { + e = t.stateNode, ai($n.current); + var i = null; + switch (r) { + case "input": + o = X2(e, o), n = X2(e, n), i = []; + break; + case "select": + o = Ne({}, o, { value: void 0 }), n = Ne({}, n, { value: void 0 }), i = []; + break; + case "textarea": + o = Z2(e, o), n = Z2(e, n), i = []; + break; + default: + typeof o.onClick != "function" && typeof n.onClick == "function" && (e.onclick = n0); + } + t5(r, n); + var s; + r = null; + for (c in o) if (!n.hasOwnProperty(c) && o.hasOwnProperty(c) && o[c] != null) if (c === "style") { + var l = o[c]; + for (s in l) l.hasOwnProperty(s) && (r || (r = {}), r[s] = ""); + } else c !== "dangerouslySetInnerHTML" && c !== "children" && c !== "suppressContentEditableWarning" && c !== "suppressHydrationWarnin\ +g" && c !== "autoFocus" && (zc.hasOwnProperty(c) ? i || (i = []) : (i = i || []).push(c, null)); + for (c in n) { + var u = n[c]; + if (l = o?.[c], n.hasOwnProperty(c) && u !== l && (u != null || l != null)) if (c === "style") if (l) { + for (s in l) !l.hasOwnProperty(s) || u && u.hasOwnProperty(s) || (r || (r = {}), r[s] = ""); + for (s in u) u.hasOwnProperty(s) && l[s] !== u[s] && (r || (r = {}), r[s] = u[s]); + } else r || (i || (i = []), i.push( + c, + r + )), r = u; + else c === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, l = l ? l.__html : void 0, u != null && l !== u && (i = i || []). + push(c, u)) : c === "children" ? typeof u != "string" && typeof u != "number" || (i = i || []).push(c, "" + u) : c !== "suppressCont\ +entEditableWarning" && c !== "suppressHydrationWarning" && (zc.hasOwnProperty(c) ? (u != null && c === "onScroll" && Ce("scroll", e), i || l === + u || (i = [])) : (i = i || []).push(c, u)); + } + r && (i = i || []).push("style", r); + var c = i; + (t.updateQueue = c) && (t.flags |= 4); + } + }, "Cj"); + q7 = /* @__PURE__ */ a(function(e, t, r, n) { + r !== n && (t.flags |= 4); + }, "Dj"); + function Cc(e, t) { + if (!Te) switch (e.tailMode) { + case "hidden": + t = e.tail; + for (var r = null; t !== null; ) t.alternate !== null && (r = t), t = t.sibling; + r === null ? e.tail = null : r.sibling = null; + break; + case "collapsed": + r = e.tail; + for (var n = null; r !== null; ) r.alternate !== null && (n = r), r = r.sibling; + n === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : n.sibling = null; + } + } + a(Cc, "Ej"); + function kt(e) { + var t = e.alternate !== null && e.alternate.child === e.child, r = 0, n = 0; + if (t) for (var o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags & 14680064, n |= o.flags & 14680064, o.return = + e, o = o.sibling; + else for (o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags, n |= o.flags, o.return = e, o = o.sibling; + return e.subtreeFlags |= n, e.childLanes = r, t; + } + a(kt, "S"); + function cz(e, t, r) { + var n = t.pendingProps; + switch (ev(t), t.tag) { + case 2: + case 16: + case 15: + case 0: + case 11: + case 7: + case 8: + case 12: + case 9: + case 14: + return kt(t), null; + case 1: + return ar(t.type) && o0(), kt(t), null; + case 3: + return n = t.stateNode, zs(), De(or), De(Pt), uv(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === + null || e.child === null) && (Od(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, + cn !== null && (N5(cn), cn = null))), _5(e, t), kt(t), null; + case 5: + lv(t); + var o = ai(Jc.current); + if (r = t.type, e !== null && t.stateNode != null) W7(e, t, r, n, o), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152); + else { + if (!n) { + if (t.stateNode === null) throw Error(M(166)); + return kt(t), null; + } + if (e = ai($n.current), Od(t)) { + n = t.stateNode, r = t.type; + var i = t.memoizedProps; + switch (n[Mn] = t, n[Xc] = i, e = (t.mode & 1) !== 0, r) { + case "dialog": + Ce("cancel", n), Ce("close", n); + break; + case "iframe": + case "object": + case "embed": + Ce("load", n); + break; + case "video": + case "audio": + for (o = 0; o < kc.length; o++) Ce(kc[o], n); + break; + case "source": + Ce("error", n); + break; + case "img": + case "image": + case "link": + Ce( + "error", + n + ), Ce("load", n); + break; + case "details": + Ce("toggle", n); + break; + case "input": + sS(n, i), Ce("invalid", n); + break; + case "select": + n._wrapperState = { wasMultiple: !!i.multiple }, Ce("invalid", n); + break; + case "textarea": + uS(n, i), Ce("invalid", n); + } + t5(r, i), o = null; + for (var s in i) if (i.hasOwnProperty(s)) { + var l = i[s]; + s === "children" ? typeof l == "string" ? n.textContent !== l && (i.suppressHydrationWarning !== !0 && Fd(n.textContent, l, e), + o = ["children", l]) : typeof l == "number" && n.textContent !== "" + l && (i.suppressHydrationWarning !== !0 && Fd( + n.textContent, + l, + e + ), o = ["children", "" + l]) : zc.hasOwnProperty(s) && l != null && s === "onScroll" && Ce("scroll", n); + } + switch (r) { + case "input": + Sd(n), lS(n, i, !0); + break; + case "textarea": + Sd(n), cS(n); + break; + case "select": + case "option": + break; + default: + typeof i.onClick == "function" && (n.onclick = n0); + } + n = o, t.updateQueue = n, n !== null && (t.flags |= 4); + } else { + s = o.nodeType === 9 ? o : o.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = wE(r)), e === "http://www.w3.org/1999/x\ +html" ? r === "script" ? (e = s.createElement("div"), e.innerHTML = "