diff --git a/v1-components/0.5.5/assets/Color-F6OSRLHC-B6OG_bnN.js b/v1-components/0.5.5/assets/Color-F6OSRLHC-B6OG_bnN.js new file mode 100644 index 0000000..e00b2d3 --- /dev/null +++ b/v1-components/0.5.5/assets/Color-F6OSRLHC-B6OG_bnN.js @@ -0,0 +1 @@ +import{ae as ce,af as M,a2 as J,a0 as he,N as fe,ag as de,ah as ge,ai as be,aj as q}from"./DocsRenderer-CFRXHY34-CM2fBbBM.js";import{e as m,r as p}from"./jsx-runtime-DQFc-wkB.js";import"./iframe-DS5W7qrz.js";import"../sb-preview/runtime.js";import"./index-C_1tOEKP.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./index-D-8MO0q_.js";import"./index-pVbLjA8_.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/v1-components/0.5.5/assets/DocsRenderer-CFRXHY34-CM2fBbBM.js b/v1-components/0.5.5/assets/DocsRenderer-CFRXHY34-CM2fBbBM.js new file mode 100644 index 0000000..78a83aa --- /dev/null +++ b/v1-components/0.5.5/assets/DocsRenderer-CFRXHY34-CM2fBbBM.js @@ -0,0 +1,730 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BSItYkoT.js","./iframe-DS5W7qrz.js","./jsx-runtime-DQFc-wkB.js","./_commonjsHelpers-Cpj98o6Y.js","./index-C_1tOEKP.js","./index-D-8MO0q_.js","./index-pVbLjA8_.js","./index-DrFu-skq.js","./Color-F6OSRLHC-B6OG_bnN.js","./index-BjypYOp6.js"])))=>i.map(i=>d[i]); +var Wx=Object.defineProperty;var Gx=(e,t,r)=>t in e?Wx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>Gx(e,typeof t!="symbol"?t+"":t,r);import{_ as K1}from"./iframe-DS5W7qrz.js";import{r as l,e as y,j as J}from"./jsx-runtime-DQFc-wkB.js";import{r as Ko,F as K4}from"./index-C_1tOEKP.js";import{O as Z4,P as Yx}from"./index-D-8MO0q_.js";import{y as mh,g as xu}from"./index-pVbLjA8_.js";import{d as Kx}from"./index-DrFu-skq.js";var Zx=Object.create,J4=Object.defineProperty,Jx=Object.getOwnPropertyDescriptor,X4=Object.getOwnPropertyNames,Xx=Object.getPrototypeOf,Qx=Object.prototype.hasOwnProperty,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')}),mn=(e,t)=>function(){return t||(0,e[X4(e)[0]])((t={exports:{}}).exports,t),t.exports},eD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of X4(t))!Qx.call(e,a)&&a!==r&&J4(e,a,{get:()=>t[a],enumerable:!(n=Jx(t,a))||n.enumerable});return e},Z1=(e,t,r)=>(r=e!=null?Zx(Xx(e)):{},eD(t||!e||!e.__esModule?J4(r,"default",{value:e,enumerable:!0}):r,e));function tD(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 EV(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=tD(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 rD(e){return Array.from(new Set(e))}function nD(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,ms=e=>`set-${e.replace(/\s+/g,"-")}`,dD=Object.create,J1=Object.defineProperty,pD=Object.getOwnPropertyDescriptor,fD=Object.getOwnPropertyNames,hD=Object.getPrototypeOf,mD=Object.prototype.hasOwnProperty,R=(e,t)=>J1(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')}),gs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),gD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of fD(t))!mD.call(e,a)&&a!==r&&J1(e,a,{get:()=>t[a],enumerable:!(n=pD(t,a))||n.enumerable});return e},X1=(e,t,r)=>(r=e!=null?dD(hD(e)):{},gD(t||!e||!e.__esModule?J1(r,"default",{value:e,enumerable:!0}):r,e)),vD=gs(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 xt=$.type;switch(xt){case d:case p:case a:case i:case o:case h:return xt;default:var Mr=xt&&xt.$$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 Et($){return C($)===i}R(Et,"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=Et,e.isStrictMode=He,e.isSuspense=tt,e.isValidElementType=b,e.typeOf=C})()}),yD=gs((e,t)=>{t.exports=vD()}),Q4=gs((e,t)=>{var r=yD(),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 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}R(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)}R(s,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}R(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function $t(){return $t=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?we(ka,--$e):0,la--,de===10&&(la=1,bs--),de}R(s3,"prev");function Oe(){return de=$e2||sa(de)>3?"":" "}R(u3,"whitespace");function c3(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(c3,"escaping");function Sl(e){for(;Oe();)switch(de){case e:return $e;case 34:case 39:e!==34&&e!==39&&Sl(de);break;case 40:e===41&&Sl(e);break;case 92:Oe();break}return $e}R(Sl,"delimiter");function d3(e,t){for(;Oe()&&e+de!==57&&!(e+de===84&&dt()===47););return"/*"+Aa(t,$e-1)+"*"+vs(e===47?e:Oe())}R(d3,"commenter");function p3(e){for(;!sa(dt());)Oe();return Aa(e,$e)}R(p3,"identifier");function f3(e){return ip(Eo("",null,null,null,[""],e=op(e),0,[0],e))}R(f3,"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){Cl(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+=u3(v);break;case 92:k+=c3(bo()-1,7);continue;case 47:switch(dt()){case 42:case 47:oo(h3(d3(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?ed(k+";",n,r,m-1):ed(ee(k," ","")+";",n,r,m-2),c);break;case 59:k+=";";default:if(oo(S=Q0(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(Q0(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&&s3()==125)continue}switch(k+=vs(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+=p3(bo())),D++;break;case 45:v===45&<(k)==2&&(g=0)}}return o}R(Eo,"parse");function Q0(e,t,r,n,a,o,i,s,c,d,p){for(var m=a-1,h=a===0?o:[""],f=ys(h),v=0,g=0,w=0;v0?h[x]+" "+D:ee(D,/&\f/g,h[x])))&&(c[w++]=E);return Zo(e,t,r,a===0?rp:s,c,d,p)}R(Q0,"ruleset");function h3(e,t,r){return Zo(e,t,r,tp,vs(l3()),ia(e,2,-2),0)}R(h3,"comment");function ed(e,t,r,n){return Zo(e,t,r,np,ia(e,0,n),ia(e,n+1,-1),n)}R(ed,"declaration");function an(e,t){for(var r="",n=ys(e),a=0;a-1},"isIgnoringComment"),TD=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(!v3(t[r]))return!0;return!1},"isPrependedWithRegularRules"),bh=R(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),LD=R(function(e,t,r){v3(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."),bh(e)):zD(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),bh(e)))},"incorrectImportAlarm");function lp(e,t){switch(n3(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+Dl+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"+Dl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cl(e,"stretch")?lp(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-(~Cl(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(lp,"prefix");var OD=R(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case np:e.return=lp(e.value,e.length);break;case r3:return an([$n(e,{value:ee(e.value,"@","@"+te)})],n);case rp:if(e.length)return o3(e.props,function(a){switch(a3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return an([$n(e,{props:[ee(a,/:(read-\w+)/,":"+Dl+"$1")]})],n);case"::placeholder":return an([$n(e,{props:[ee(a,/:(plac\w+)/,":"+te+"input-$1")]}),$n(e,{props:[ee(a,/:(plac\w+)/,":"+Dl+"$1")]}),$n(e,{props:[ee(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),MD=[OD],PD=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||MD;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(y3,"murmur2");var jD={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},wh=`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`,VD="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",UD=/[A-Z]|^ms/g,b3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sp=R(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),Eh=R(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Du=Q1(function(e){return sp(e)?e:e.replace(UD,"-$&").toLowerCase()}),kl=R(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(b3,function(r,n,a){return It={name:n,styles:a,next:It},n})}return jD[e]!==1&&!sp(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");xh=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Dh=["normal","none","initial","inherit","unset"],Ch=kl,Sh=/^-ms-/,kh=/-(.)/g,Cu={},kl=R(function(e,t){if(e==="content"&&(typeof t!="string"||Dh.indexOf(t)===-1&&!xh.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=Ch(e,t);return r!==""&&!sp(e)&&e.indexOf("-")!==-1&&Cu[e]===void 0&&(Cu[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Sh,"ms-").replace(kh,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var xh,Dh,Ch,Sh,kh,Cu,w3="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(w3);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return It={name:r.name,styles:r.styles,next:It},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)It={name:n.name,styles:n.styles,next:It},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return E3(e,t,r)}case"function":{if(e!==void 0){var o=It,i=r(e);return It=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(b3,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 E3(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 $t({},e,t)},"getTheme"),YD=vh(function(e){return vh(function(t){return GD(e,t)})}),S3=R(function(e){var t=l.useContext(ir);return e.theme!==t&&(t=YD(t)(e.theme)),l.createElement(ir.Provider,{value:t},e.children)},"ThemeProvider");function KD(e){var t=e.displayName||e.name||"Component",r=R(function(a,o){var i=l.useContext(ir);return l.createElement(e,$t({theme:i,ref:o},a))},"render"),n=l.forwardRef(r);return n.displayName="WithTheme("+t+")",ND(n,e)}R(KD,"withTheme");var _h="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Rh="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ZD=R(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Es(t,r,n),up(function(){return xs(t,r,n)}),null},"Insertion"),JD=Ds(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[_h],o=[n],i="";typeof e.className=="string"?i=ws(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[Rh];c&&(s=ca([s,"label:"+c+";"]))}i+=t.key+"-"+s.name;var d={};for(var p in e)WD.call(e,p)&&p!=="css"&&p!==_h&&p!==Rh&&(d[p]=e[p]);return d.ref=r,d.className=i,l.createElement(l.Fragment,null,l.createElement(ZD,{cache:t,serialized:s,isStringTag:typeof a=="string"}),l.createElement(a,d))});JD.displayName="EmotionCssPropInternal";X1(Q4());var XD={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"}}}}},Ih=!1,QD=Ds(function(e,t){!Ih&&(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?"),Ih=!0);var r=e.styles,n=ca([r],void 0,l.useContext(ir)),a=l.useRef();return Fh(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]),Fh(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&xs(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});QD.displayName="EmotionGlobal";function Cs(){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 k3(e,t,r){var n=[],a=ws(e,n,r);return n.length<2?r:a+t(n)}R(k3,"merge");var tC=R(function(e){var t=e.cache,r=e.serializedArr;return up(function(){for(var n=0;n96?nC:aC},"getDefaultShouldForwardProp"),zh=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"),Lh=`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`,oC=R(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Es(t,r,n),up(function(){return xs(t,r,n)}),null},"Insertion"),iC=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=zh(t,r,n),c=s||Th(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(Lh),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 Oh={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 T3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Oh[t]?"#"+Oh[t]:e}R(T3,"nameToHex");var uC=/^#[a-fA-F0-9]{6}$/,cC=/^#[a-fA-F0-9]{8}$/,dC=/^#[a-fA-F0-9]{3}$/,pC=/^#[a-fA-F0-9]{4}$/,Fu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,fC=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hC=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,mC=/^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 Jo(e){if(typeof e!="string")throw new Tt(3);var t=T3(e);if(t.match(uC))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(cC)){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(dC))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(pC)){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=Fu.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=fC.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=hC.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=Fu.exec(p);if(!m)throw new Tt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=mC.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=Fu.exec(w);if(!x)throw new Tt(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 Tt(5)}R(Jo,"parseToRgb");function z3(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 Tt(2)}R(M3,"hsla");function _l(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return td("#"+gr(e)+gr(t)+gr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return td("#"+gr(e.red)+gr(e.green)+gr(e.blue));throw new Tt(6)}R(_l,"rgb");function fa(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Jo(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?_l(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?_l(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Tt(7)}R(fa,"rgba");var vC=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"),yC=R(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),bC=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"),wC=R(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function fp(e){if(typeof e!="object")throw new Tt(8);if(yC(e))return fa(e);if(vC(e))return _l(e);if(wC(e))return M3(e);if(bC(e))return O3(e);throw new Tt(8)}R(fp,"toColorString");function hp(e,t,r){return R(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):hp(e,t,n)},"fn")}R(hp,"curried");function Xo(e){return hp(e,e.length,[])}R(Xo,"curry");function Qo(e,t,r){return Math.max(e,Math.min(t,r))}R(Qo,"guard");function P3(e,t){if(t==="transparent")return t;var r=pp(t);return fp($t({},r,{lightness:Qo(0,1,r.lightness-parseFloat(e))}))}R(P3,"darken");var EC=Xo(P3),xC=EC;function $3(e,t){if(t==="transparent")return t;var r=pp(t);return fp($t({},r,{lightness:Qo(0,1,r.lightness+parseFloat(e))}))}R($3,"lighten");var DC=Xo($3),CC=DC;function N3(e,t){if(t==="transparent")return t;var r=Jo(t),n=typeof r.alpha=="number"?r.alpha:1,a=$t({},r,{alpha:Qo(0,1,(n*100+parseFloat(e)*100)/100)});return fa(a)}R(N3,"opacify");var SC=Xo(N3),kC=SC;function H3(e,t){if(t==="transparent")return t;var r=Jo(t),n=typeof r.alpha=="number"?r.alpha:1,a=$t({},r,{alpha:Qo(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return fa(a)}R(H3,"transparentize");var AC=Xo(H3),FC=AC,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:FC(.9,H.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},zt={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}},j3=X1(bD(),1),_C=(0,j3.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,j3.default)(1)(({color:e,background:t,typography:r})=>{let n=_C({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var RC={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:H.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:zt.fonts.base,fontCode:zt.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},IC=RC,BC={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:vr.app,appContentBg:H.lightest,appPreviewBg:H.lightest,appBorderColor:H.border,appBorderRadius:4,fontBase:zt.fonts.base,fontCode:zt.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},Rl=BC,TC=(()=>{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:zC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:_u}=TC,LC=R(e=>({color:e}),"mkColor"),OC=R(e=>typeof e!="string"?(zC.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),MC=R(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),PC=R((e,t)=>e==="darken"?fa(`${xC(1,t)}`,.95):e==="lighten"?fa(`${CC(1,t)}`,.95):t,"applyPolished"),V3=R(e=>t=>{if(!OC(t)||!MC(t))return t;try{return PC(e,t)}catch{return t}},"colorFactory"),Ha=V3("lighten");V3("darken");var U3=R(()=>!_u||!_u.matchMedia?"light":_u.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),rd={light:Rl,dark:IC,normal:Rl};U3();var $C={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},NC=sr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,q3=sr` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,HC=sr` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,jC=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); } +`,VC=Cs` + animation: ${q3} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,UC=Cs` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,qC={rotate360:NC,glow:q3,float:HC,jiggle:jC,inlineGlow:VC,hoverable:UC},WC={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"},GC={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"},YC=R(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:LC(n)}),{}),"convertColors"),KC=R(({colors:e,mono:t})=>{let r=YC(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"),ZC={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},JC={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},XC=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"),nd=R((e=rd[U3()])=>{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:XC(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:zt.weight,size:zt.size},animation:qC,easing:$C,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:KC({colors:t==="light"?ZC:JC,mono:p}),addonActionsTheme:{...t==="light"?GC:WC,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:zt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:kC(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:zt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:QC}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var eS=R(e=>Object.keys(e).length===0,"isEmpty"),Ru=R(e=>e!=null&&typeof e=="object","isObject"),tS=R((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),rS=R(()=>Object.create(null),"makeObjectWithoutPrototype"),W3=R((e,t)=>e===t||!Ru(e)||!Ru(t)?{}:Object.keys(e).reduce((r,n)=>{if(tS(t,n)){let a=W3(e[n],t[n]);return Ru(a)&&eS(a)||(r[n]=a),r}return r[n]=void 0,r},rS()),"deletedDiff"),nS=W3;function G3(e){for(var t=[],r=1;r{if(!e)return nd(Rl);let t=nS(Rl,e);return Object.keys(t).length&&QC.warn(G3` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),nd(e)},"ensure"),ad="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",oS=Object.create,Ss=Object.defineProperty,iS=Object.getOwnPropertyDescriptor,lS=Object.getOwnPropertyNames,sS=Object.getPrototypeOf,uS=Object.prototype.hasOwnProperty,u=(e,t)=>Ss(e,"name",{value:t,configurable:!0}),Si=(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)Ss(e,r,{get:t[r],enumerable:!0})},cS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lS(t))!uS.call(e,a)&&a!==r&&Ss(e,a,{get:()=>t[a],enumerable:!(n=iS(t,a))||n.enumerable});return e},De=(e,t,r)=>(r=e!=null?oS(sS(e)):{},cS(t||!e||!e.__esModule?Ss(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 Y3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var dS=T(()=>{u(Y3,"_assertThisInitialized")});function ha(e,t){return ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},ha(e,t)}var mp=T(()=>{u(ha,"_setPrototypeOf")});function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Il(e)}var pS=T(()=>{u(Il,"_getPrototypeOf")}),ks,gp=T(()=>{ks=(()=>{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})()}),As=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 Si=="function"&&Si;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 Si=="function"&&Si,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 Fs(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 vp=T(()=>{u(Fs,"_objectWithoutPropertiesLoose")});function K3(e,t){if(e==null)return{};var r,n,a=Fs(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 fS=T(()=>{vp(),u(K3,"_objectWithoutProperties")});function Bl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{u(Bl,"_arrayLikeToArray")});function J3(e){if(Array.isArray(e))return Bl(e)}var hS=T(()=>{Z3(),u(J3,"_arrayWithoutHoles")});function X3(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var mS=T(()=>{u(X3,"_iterableToArray")});function Q3(e,t){if(e){if(typeof e=="string")return Bl(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)?Bl(e,t):void 0}}var gS=T(()=>{Z3(),u(Q3,"_unsupportedIterableToArray")});function ey(){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 vS=T(()=>{u(ey,"_nonIterableSpread")});function ty(e){return J3(e)||X3(e)||Q3(e)||ey()}var yS=T(()=>{hS(),mS(),gS(),vS(),u(ty,"_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 ry=T(()=>{u(ma,"_typeof")});function ny(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 bS=T(()=>{ry(),u(ny,"toPrimitive")});function ay(e){var t=ny(e,"string");return ma(t)=="symbol"?t:t+""}var wS=T(()=>{ry(),bS(),u(ay,"toPropertyKey")});function yp(e,t,r){return(t=ay(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oy=T(()=>{wS(),u(yp,"_defineProperty")});function od(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 ly(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return nl[t]||(nl[t]=iy(e)),nl[t]}function sy(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=ly(n);return a.reduce(function(o,i){return Xr(Xr({},o),r[i])},t)}function id(e){return e.join(" ")}function uy(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return _s({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function _s(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=uy(r,o),h;if(!o)h=Xr(Xr({},s),{},{className:id(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:id(g)||void 0,style:sy(s.className,Object.assign({},s.style,a),r)})}var w=m(t.children);return y.createElement(d,X({key:i},h),w)}}var nl,cy=T(()=>{yt(),oy(),u(od,"ownKeys"),u(Xr,"_objectSpread"),u(iy,"powerSetPermutations"),nl={},u(ly,"getClassNameCombinations"),u(sy,"createStyleObject"),u(id,"createClassNameString"),u(uy,"createChildren"),u(_s,"createElement")}),dy,ES=T(()=>{dy=u(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function ld(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=wp(s,S,i);C.unshift(bp(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=py(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{fS(),yS(),oy(),cy(),ES(),wy=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],u(ld,"ownKeys"),u(st,"_objectSpread"),Ey=/\n/g,u(py,"getNewLines"),u(fy,"getAllLineNumbers"),u(hy,"AllLineNumbers"),u(my,"getEmWidthOfNumber"),u(bp,"getInlineLineNumber"),u(wp,"assembleLineNumberStyles"),u(xo,"createLineElement"),u(Ep,"flattenCodeTree"),u(gy,"processLines"),u(vy,"defaultRenderer"),u(xp,"isHighlightJs"),u(yy,"getCodeTree"),u(by,"default")}),DS=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")}),CS=q((e,t)=>{var r=DS(),n=xy();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")}),Dy=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")}),Cp=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")}),Cy=q((e,t)=>{var r=Dy(),n=Cp();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=Dp(),n=xy(),a=Cy();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")}),SS=q((e,t)=>{var r=ei();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")}),kS=q((e,t)=>{var r=ei();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")}),AS=q((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}u(r,"caseSensitiveTransform")}),Sy=q((e,t)=>{var r=AS();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}u(n,"caseInsensitiveTransform")}),FS=q((e,t)=>{var r=ei(),n=Sy();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),_S=q((e,t)=>{var r=Cp(),n=ei(),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")}),RS=q((e,t)=>{var r=Cp(),n=ei(),a=Sy(),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}})}),IS=q((e,t)=>{var r=CS(),n=SS(),a=kS(),o=FS(),i=_S(),s=RS();t.exports=r([a,n,o,i,s])}),BS=q((e,t)=>{var r=Dp(),n=Cy(),a=Dy(),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")}),TS=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")}),LS=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")}),OS=q((e,t)=>{var r=BS(),n=Dp(),a=TS(),o=zS().parse,i=LS().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=IS(),n=OS(),a=n(r,"div");a.displayName="html",t.exports=a}),PS=q((e,t)=>{t.exports=MS()}),$S=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:"ÿ"}}),NS=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:"Ÿ"}}),ky=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")}),HS=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")}),jS=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")}),VS=q((e,t)=>{var r=jS(),n=ky();t.exports=a;function a(o){return r(o)||n(o)}u(a,"alphanumerical")}),US=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")}),qS=q((e,t)=>{var r=$S(),n=NS(),a=ky(),o=HS(),i=VS(),s=US();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,Et=K.reference,He=K.warning,tt=K.textContext,$=K.referenceContext,rt=K.warningContext,xt=K.position,Mr=K.indent||[],An=N.length,Dt=0,wi=-1,Re=xt.column||1,Pr=xt.line||1,Ct="",Fn=[],St,_n,kt,Se,nt,ye,ce,At,Ei,wu,$r,Pa,Nr,Kt,dh,$a,xi,Ft,be;for(typeof re=="string"&&(re=re.charCodeAt(0)),$a=Na(),At=He?qx:p,Dt--,An++;++Dt65535&&(ye-=65536,wu+=d(ye>>>10|55296),ye=56320|ye&1023),ye=wu+d(ye))):Kt!==A&&At(P,Ft)),ye?(ph(),$a=Na(),Dt=be-1,Re+=be-Nr+1,Fn.push(ye),xi=Na(),xi.offset++,Et&&Et.call($,ye,{start:$a,end:xi},N.slice(Nr-1,be)),$a=xi):(Se=N.slice(Nr-1,be),Ct+=Se,Re+=Se.length,Dt=be-1)}else nt===10&&(Pr++,wi++,Re=0),nt===nt?(Ct+=d(nt),Re++):ph();return Fn.join("");function Na(){return{line:Pr,column:Re,offset:Dt+(xt.offset||0)}}function qx(fh,hh){var Eu=Na();Eu.column+=hh,Eu.offset+=hh,He.call(rt,G[fh],Eu,fh)}function ph(){Ct&&(Fn.push(Ct),Ce&&Ce.call(tt,Ct,{start:$a,end:Na()}),Ct="")}}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")}),WS=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,$),Et&&f(b,V,Et),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")}),Fy=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")}),GS=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")}),YS=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")}),KS=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=PS(),o=qS(),i=WS(),s=Ay(),c=Fy(),d=GS(),p=YS();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{xS(),ki=De(KS()),Ai=by(ki.default,{}),Ai.registerLanguage=function(e,t){return ki.default.register(t)},Ai.alias=function(e,t){return ki.default.alias(e,t)},al=Ai}),JS=T(()=>{cy()}),XS=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{Mh=De(XS()),_y=Mh.default}),Ph,Ry,ek=T(()=>{Ph=De(Fy()),Ry=Ph.default}),tk=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")}),$h,Iy,rk=T(()=>{$h=De(tk()),Iy=$h.default}),nk=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{Nh=De(nk()),By=Nh.default}),ok=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")}),Hh,Ty,ik=T(()=>{Hh=De(ok()),Ty=Hh.default}),zy=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")}),jh,Ly,lk=T(()=>{jh=De(zy()),Ly=jh.default}),sk=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")}),Vh,Oy,uk=T(()=>{Vh=De(sk()),Oy=Vh.default}),Uh,My,ck=T(()=>{Uh=De(Ay()),My=Uh.default}),Py=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")}),dk=q((e,t)=>{var r=zy(),n=Py();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")}),qh,$y,pk=T(()=>{qh=De(dk()),$y=qh.default}),Wh,Ny,fk=T(()=>{Wh=De(Py()),Ny=Wh.default}),hk=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")}),Gh,Hy,mk=T(()=>{Gh=De(hk()),Hy=Gh.default}),Yh,Iu,Sp,jy=T(()=>{Yh=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Iu=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}),Iu.displayName="ActionButton",Sp=u(({actionItems:e,...t})=>y.createElement(Yh,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(Iu,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function Vy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Uy(...e){return t=>e.forEach(r=>Vy(r,t))}var gk=T(()=>{u(Vy,"setRef"),u(Uy,"composeRefs")});function Kh(e){return l.isValidElement(e)&&e.type===qy}function Zh(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 Jh(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 Tl,Fi,qy,Wy=T(()=>{gk(),Tl=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Kh);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(Fi,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return J.jsx(Fi,{...n,ref:t,children:r})}),Tl.displayName="Slot",Fi=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=Jh(r);return l.cloneElement(r,{...Zh(n,r.props),ref:t?Uy(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),Fi.displayName="SlotClone",qy=u(({children:e})=>J.jsx(J.Fragment,{children:e}),"Slottable"),u(Kh,"isSlottable"),u(Zh,"mergeProps"),u(Jh,"getElementRef")}),Xh,Nn,vk=T(()=>{Wy(),Xh=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Nn=Xh.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Tl: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 Gy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Yy(...e){return t=>e.forEach(r=>Gy(r,t))}function yr(...e){return l.useCallback(Yy(...e),e)}var Ky=T(()=>{u(Gy,"setRef"),u(Yy,"composeRefs"),u(yr,"useComposedRefs")}),zl,Zy=T(()=>{zl=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function Jy(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Qh(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Jy(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]),zl(()=>{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]),zl(()=>{if(t){let d=u(m=>{let h=io(n.current).includes(m.animationName);m.target===t&&h&&Ko.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 em(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,yk=T(()=>{"use client";Ky(),Zy(),u(Jy,"useStateMachine"),Gn=u(e=>{let{present:t,children:r}=e,n=Qh(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=yr(n.ref,em(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),Gn.displayName="Presence",u(Qh,"usePresence"),u(io,"getAnimationName"),u(em,"getElementRef")});function Xy(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,Qy(a,...t)]}function Qy(...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 bk=T(()=>{u(Xy,"createContextScope"),u(Qy,"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 wk=T(()=>{u(Er,"useCallbackRef")});function eb(e){let t=l.useContext(tb);return e||t||"ltr"}var tb,Ek=T(()=>{tb=l.createContext(void 0),u(eb,"useDirection")});function rb(e,[t,r]){return Math.min(r,Math.max(t,e))}var xk=T(()=>{u(rb,"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 Dk=T(()=>{u(hr,"composeEventHandlers")});function tm(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function ja(e){return e?parseInt(e,10):0}function sd(e,t){let r=e/t;return isNaN(r)?0:r}function Do(e){let t=sd(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function rm(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 kp([c,d],m)(e)}function Bu(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=rb(e,c);return kp([0,i],[0,s])(d)}function kp(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 Tu(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);zl(()=>{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 nm(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 _i,zu,Ck,am,je,Lu,Ou,Mu,at,Pu,om,im,$u,Ri,lm,sm,um,Nu,Hu,Ua,ju,cm,Ii,Vu,dm,pm,nb,ab,ob,ib,lb,Sk=T(()=>{"use client";vk(),yk(),bk(),Ky(),wk(),Ek(),Zy(),xk(),Dk(),u(tm,"useStateMachine"),_i="ScrollArea",[zu,Ck]=Xy(_i),[am,je]=zu(_i),Lu=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=eb(a);return J.jsx(am,{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}})})}),Lu.displayName=_i,Ou="ScrollAreaViewport",Mu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,s=je(Ou,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:nm({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}))})]})}),Mu.displayName=Ou,at="ScrollAreaScrollbar",Pu=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(om,{...n,ref:t,forceMount:r}):a.type==="scroll"?J.jsx(im,{...n,ref:t,forceMount:r}):a.type==="auto"?J.jsx($u,{...n,ref:t,forceMount:r}):a.type==="always"?J.jsx(Ri,{...n,ref:t}):null}),Pu.displayName=at,om=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($u,{"data-state":o?"visible":"hidden",...n,ref:t})})}),im=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]=tm("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(Ri,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:hr(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:hr(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),$u=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=sd(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 rm(h,i.current,s,f)}return u(m,"getScrollPosition"),r==="horizontal"?J.jsx(lm,{...p,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let h=a.viewport.scrollLeft,f=Bu(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(sm,{...p,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let h=a.viewport.scrollTop,f=Bu(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}),lm=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(Hu,{"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),Tu(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")})}),sm=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(Hu,{"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),Tu(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")})}),[um,Nu]=zu(at),Hu=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(um,{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",ju=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Nu(Ua,e.__scopeScrollArea);return J.jsx(Gn,{present:r||a.hasThumb,children:J.jsx(cm,{ref:t,...n})})}),cm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=je(Ua,r),i=Nu(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=pm(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)})}),ju.displayName=Ua,Ii="ScrollAreaCorner",Vu=l.forwardRef((e,t)=>{let r=je(Ii,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?J.jsx(dm,{...e,ref:t}):null}),Vu.displayName=Ii,dm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=je(Ii,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(sd,"getThumbRatio"),u(Do,"getThumbSize"),u(rm,"getScrollPositionFromPointer"),u(Bu,"getThumbOffsetFromScroll"),u(kp,"linearScale"),u(Tu,"isScrollingWithinScrollbarBounds"),pm=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(nm,"getSubtree"),nb=Lu,ab=Mu,ob=Pu,ib=ju,lb=Vu}),fm,hm,Uu,qu,Ll,Ap=T(()=>{Sk(),fm=F(nb)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),hm=F(ab)({width:"100%",height:"100%"}),Uu=F(ob)(({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}})),qu=F(ib)(({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%"}})),Ll=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>y.createElement(fm,{scrollbarsize:a,offset:n,className:o},y.createElement(hm,{ref:i},e),t&&y.createElement(Uu,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(qu,null)),r&&y.createElement(Uu,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(qu,null)),t&&r&&y.createElement(lb,null))),Ll.displayName="ScrollArea"}),Fp={};Fa(Fp,{SyntaxHighlighter:()=>Co,createCopyToClipboardFunction:()=>ud,default:()=>sb,supportedLanguages:()=>cd});const{logger:kk}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function ud(){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 mm,lo,Hn,gm,cd,vm,ym,bm,wm,Em,xm,Dm,Wu,Cm,Sm,Co,sb,Rs=T(()=>{gp(),mm=De(As(),1),JS(),QS(),ek(),rk(),ak(),ik(),lk(),uk(),ck(),pk(),fk(),mk(),ZS(),jy(),Ap(),{navigator:lo,document:Hn,window:gm}=ks,cd={jsextra:By,jsx:Ly,json:Ty,yml:Hy,md:Oy,bash:_y,css:Ry,html:My,tsx:$y,typescript:Ny,graphql:Iy},Object.entries(cd).forEach(([e,t])=>{al.registerLanguage(e,t)}),vm=(0,mm.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),ym=ud(),u(ud,"createCopyToClipboardFunction"),bm=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)"}}:{}),wm=u(({children:e,className:t})=>y.createElement(Ll,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),Em=F(wm)({position:"relative"},({theme:e})=>vm(e)),xm=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),Dm=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Wu=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"),Cm=u(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>_s({node:Wu(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),Sm=u((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Wu(a)),...n}):Cm: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(),ym(p).then(()=>{f(!0),gm.setTimeout(()=>f(!1),1500)}).catch(kk.error)},[p]),g=Sm(d.renderer,c);return y.createElement(bm,{bordered:n,padded:a,showLineNumbers:c,className:s},y.createElement(Em,null,y.createElement(al,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:xm,CodeTag:Dm,lineNumberContainerStyle:{},...d,renderer:g},p)),r?y.createElement(Sp,{actionItems:[{title:h?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),Co.registerLanguage=(...e)=>al.registerLanguage(...e),sb=Co});function km(e){if(typeof e=="string")return Ps;if(Array.isArray(e))return $s;if(!e)return;let{type:t}=e;if(Zp.has(t))return t}function Am(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(Ns(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=g7([...Zp].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 _p(e,t){return Fr(t),{type:Oo,contents:t,n:e}}function pe(e,t={}){return Fr(e),Hs(t.expandedStates,!0),{type:va,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function ub(e){return _p(Number.NEGATIVE_INFINITY,e)}function cb(e){return _p({type:"root"},e)}function Rp(e){return Hs(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 db(e,t){return Fr(e),{type:$o,contents:e,groupId:t.groupId,negate:t.negate}}function gn(e,t){Fr(e),Hs(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 jl:if(!e.contents)return"";break;case Po:if(!e.flatContents&&!e.breakContents)return"";break;case $s:{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 Ps:case Nl:case Hl:case Vl:case br:case Ul:case Ao:break;default:throw new Jp(e)}return e}function fb(e){return Is(e,t=>pb(t))}function Ke(e,t=v7){return Is(e,r=>typeof r=="string"?gn(t,r.split(` +`)):r)}function Fm(e,t){let r=t===!0||t===fo?fo:yd,n=r===fo?yd:fo,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function _m(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Rm(e){return(e==null?void 0:e.type)==="front-matter"}function Gu(e,t){var r;if(e.type==="text"||e.type==="comment"||si(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)w7.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 Im(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return cb([e.startDelimiter,e.explicitLanguage,ae,n,n?ae:"",e.endDelimiter])}}function ti(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):ti(o)}function Bm(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 dd(e,t){if(!t)return;let r=D7(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 hb(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 Tm(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=hb(r,t.language)??dd(r,t.physicalFile)??dd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function zm(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Ip(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")||Ts(e,t)&&!Nt(e)&&e.type!=="interpolation")}function ri(e){return e.type==="attribute"||!e.parent||!e.prev?!1:mb(e.prev)}function mb(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ue(e){return e.type==="text"||e.type==="comment"}function Nt(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 gb(e){return e.children&&!Nt(e)}function vb(e){return Nt(e)||e.type==="interpolation"||Bp(e)}function Bp(e){return $p(e).startsWith("pre")}function yb(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 si(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||Nt(e.parent)||ni(e.parent,t)||!Ab(e.parent.cssDisplay))||e.prev&&!Rb(e.prev.cssDisplay))}}function bb(e,t){return si(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||Nt(e.parent)||ni(e.parent,t)||!Fb(e.parent.cssDisplay))||e.next&&!_b(e.next.cssDisplay))}function wb(e){return Ib(e.cssDisplay)&&!Nt(e)}function so(e){return si(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>Db(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Lp(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Op(e.lastChild))}function Tp(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 ol(e){return Mp(e)||e.prev&&xb(e.prev)||zp(e)}function xb(e){return Mp(e)||e.type==="element"&&e.fullName==="br"||zp(e)}function zp(e){return Lp(e)&&Op(e)}function Lp(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 Mp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Bs(e){return e.lastChild?Bs(e.lastChild):e}function Db(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Pp(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 Cb(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":ui(t,{language:o})??Pp(a)}function Sb(e,t){if(!Ts(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return ui(t,{language:a})??Pp(n)}function kb(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?ui(t,{language:r}):"css"}function pd(e,t){return Cb(e,t)??kb(e,t)??Sb(e,t)}function _a(e){return e==="block"||e==="list-item"||e.startsWith("table")}function Ab(e){return!_a(e)&&e!=="inline-block"}function Fb(e){return!_a(e)&&e!=="inline-block"}function _b(e){return!_a(e)}function Rb(e){return!_a(e)}function Ib(e){return!_a(e)&&e!=="inline-block"}function un(e){return $p(e).startsWith("pre")}function Bb(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Tb(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(Bb(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))&&S7[e.name]||C7}}function $p(e){return e.type==="element"&&(!e.namespace||ba(e))&&A7[e.name]||k7}function zb(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 Hp(e){return Me(!1,Me(!1,e,"'","'"),""",'"')}function ur(e){return Hp(e.value)}function ni(e,t){return yn(e,t)&&!_7.has(e.fullName)}function yn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Ts(e,t){return yn(e,t)&&(ni(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Lb(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Ob(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 jp(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Ke(t):Ke(Np(Xp(t)),ae):gn(ve,ct.split(t))}function Vp(e,t){return yn(e,t)&&e.name==="script"}async function Mb(e,t){let r=[];for(let[n,a]of e.split(Qp).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 Bi({parser:e}){return(t,r,n)=>Je(ur(n.node),t,{parser:e},vn)}function Lm(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return R7;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return I7;if(n.startsWith("*"))return B7;let a=ur(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>ti(Rp(jp(r,a.trim())),!a.includes("@@"));if(Qp.test(a))return o=>Mb(a,o)}function Om(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 fd(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function Mm(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(O7),s>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}c=s,r=d(M7),n=[],r.slice(-1)===","?(r=r.replace(P7,""),h()):m()}function m(){for(d(L7),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(fd(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"&&!fd(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;xPb(ur(e.node))}function Pb(e){let t=N7(e),r=H7.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=wd[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 ti(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 $b(e,t){let{node:r}=e,n=ur(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>ti(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function $m(e,t){let{root:r}=e;return il.has(r)||il.set(r,r.children.some(n=>Vp(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),il.get(r)}function Nb(e,t,r){let{node:n}=r,a=ur(n);return Je(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},vn)}function Hb(e,t,{parseWithTs:r}){return Je(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function jb(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 Vb(e,t,r,n){let a=ur(r.node),{left:o,operator:i,right:s}=Ub(a),c=js(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 Ub(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 Nm(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return Vb;if(n==="generic"&&Vp(r.parent,t))return Nb;let a=ur(r),o=js(e,t);if(Lb(r)||Ob(r,t))return i=>Hb(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>qb(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>Wb(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>Up(a,i,{parseWithTs:o})}function qb(e,t,{parseWithTs:r}){return jb(e)?Up(e,t,{parseWithTs:r}):Je(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},vn)}function Wb(e,t,{parseWithTs:r}){return Je(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},vn)}function Up(e,t,{parseWithTs:r}){return Je(e,t,{parser:r?"__ts_expression":"__js_expression"},vn)}function Hm(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[j7,$b,z7,V7,T7]){let a=n(e,t);if(a)return Gb(a)}}}function Gb(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=Is(o,i=>typeof i=="string"?Me(!1,i,'"',"""):i),[n.node.rawName,'="',pe(o),'"']}}function jm(e){return Array.isArray(e)&&e.length>0}function ai(e){return e.sourceSpan.start.offset}function oi(e){return e.sourceSpan.end.offset}function Ol(e,t){return[e.isSelfClosing?"":Yb(e,t),Kn(e,t)]}function Yb(e,t){return e.lastChild&&ga(e.lastChild)?"":[Kb(e,t),zs(e,t)]}function Kn(e,t){return(e.next?kr(e.next):Ia(e.parent))?"":[Ra(e,t),Sr(e,t)]}function Kb(e,t){return Ia(e)?Ra(e.lastChild,t):""}function Sr(e,t){return ga(e)?zs(e.parent,t):ii(e)?Ls(e.next):""}function zs(e,t){if(ef(!e.isSelfClosing),qp(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 qp(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(ri(e)||Ip(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(Bs(e.lastChild))&&!un(e)}function ga(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ue(Bs(e))}function ii(e){return e.next&&!Ue(e.next)&&Ue(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Zb(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function li(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Jb(e,t,r){var n;let{node:a}=e;if(!Vs(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&Zb(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(ai(m),oi(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&&li(a.firstChild)||a.isSelfClosing&&Ia(a.parent)||c?p.push(a.isSelfClosing?" ":""):p.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ve:xe),p}function Xb(e){return e.firstChild&&li(e.firstChild)?"":Os(e)}function Ml(e,t,r){let{node:n}=e;return[Zn(n,t),Jb(e,t,r),n.isSelfClosing?"":Xb(n)]}function Zn(e,t){return e.prev&&ii(e.prev)?"":[Ar(e,t),Ls(e)]}function Ar(e,t){return li(e)?Os(e.parent):kr(e)?Ra(e.prev,t):""}function Ls(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Os(e){switch(ef(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Vm(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&li(e.firstChild)&&(r-=Os(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ga(e.lastChild)?n+=zs(e,t).length:Ia(e)&&(n-=Ra(e.lastChild,t).length),t.originalText.slice(r,n)}function Um(e,t){let{node:r}=e;switch(r.type){case"element":if(Nt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Ts(r,t)){let n=pd(r,t);return n?async(a,o)=>{let i=tf(r,t),s=/^\s*$/u.test(i),c="";return s||(c=await a(Xp(i),{parser:n,__embeddedInHtml:!0}),s=c===""),[Ar(r,t),pe(Ml(e,t,o)),s?"":ae,c,s?"":ae,Ol(r,t),Sr(r,t)]}:void 0}break;case"text":if(Nt(r.parent)){let n=pd(r.parent,t);if(n)return async a=>{let o=n==="markdown"?Np(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=js(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 U7(e,t);case"front-matter":return n=>E7(r,n);case"angularControlFlowBlockParameters":return q7.has(e.parent.name)?x7: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 Qb(e){return Jn(e)}function qm(e,t="type"){Qb(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 e7(e){return/^\s*/u.test(e)}function Wm(e){return` + +`+e}function Wp(e){let t=oi(e);return e.type==="element"&&!e.endSourceSpan&&Vs(e.children)?Math.max(t,Wp(ya(!1,e.children,-1))):t}function jn(e,t,r){let n=e.node;if(ri(n)){let a=Wp(n);return[Ar(n,t),Ke(ct.trimEnd(t.originalText.slice(ai(n)+(n.prev&&ii(n.prev)?Ls(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?ol(t)?ae:ve:"":ol(t)?ae:xe:ii(e)&&(ri(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&kr(t)?"":!t.isLeadingSpaceSensitive||ol(t)||kr(t)&&e.lastChild&&ga(e.lastChild)&&e.lastChild.lastChild&&ga(e.lastChild.lastChild)?ae:t.hasLeadingSpaces?ve:xe}function Ms(e,t,r){let{node:n}=e;if(Tp(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 t7(e,t,r){let{node:n}=e,a=[];r7(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",pe(r("parameters")),")"),a.push(" {");let o=Gp(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(bt([ae,Ms(e,t,r)])),o&&a.push(ae,"}")):o&&a.push("}"),pe(a,{shouldBreak:!0})}function Gp(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=W7.get(e.name))!=null&&r.has(e.next.name))}function r7(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!ri(t)&&!Gp(t)}function n7(e,t,r){return[bt([xe,gn([";",ve],e.map(r,"children"))]),xe]}function a7(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 o7(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 i7(e,t,r){let{node:n}=e;if(Ip(n,t))return[Ar(n,t),pe(Ml(e,t,r)),Ke(tf(n,t)),...Ol(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(Ml(e,t,r),{id:o}),p,Ol(n,t)]),"a"),s=u(p=>a?db(p,{groupId:o}):(Nt(n)||ni(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?ub(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([Eb(n)?Xn:"",s([c(),Ms(e,t,r)]),d()])}function So(e){return e>=9&&e<=32||e==160}function Pl(e){return 48<=e&&e<=57}function ko(e){return e>=97&&e<=122||e>=65&&e<=90}function l7(e){return e>=97&&e<=102||e>=65&&e<=70||Pl(e)}function Ti(e){return e===10||e===13}function Yu(e){return 48<=e&&e<=55}function zi(e){return e===39||e===34||e===96}function Gm(e){return e.replace(G7,(...t)=>t[1].toUpperCase())}function Ym(e,t){for(let r of Y7)r(e,t);return e}function Km(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 Zm(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 Xm(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 Qm(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(gb(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 eg(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=vb(t),n=Bp(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 rg(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 ng(e,t){e.walk(r=>{r.cssDisplay=Tb(r,t)})}function ag(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=wb(r);return}for(let a of n)a.isLeadingSpaceSensitive=yb(a,t),a.isTrailingSpaceSensitive=bb(a,t);for(let a=0;a{!Ga[t]&&co(t)===null&&(Ga[t]=new W({canSelfClose:!1}))})),Ga[e]??l5}function hd(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 lg(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];J7.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function sg(e,t,r,n={}){let a=new Q7(new rf(e,t),r,n);return a.tokenize(),new X7(u7(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function jr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Xu(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function ug(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ue(e){return!So(e)||e===0}function Qu(e){return So(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function cg(e){return(e<97||12257)}function dg(e){return e===59||e===0||!l7(e)}function pg(e){return e===59||e===0||!ko(e)}function fg(e){return e!==125}function hg(e,t){return md(e)===md(t)}function md(e){return e>=97&&e<=122?e-97+65:e}function ec(e){return ko(e)||Pl(e)||e===95}function tc(e){return e!==59&&ue(e)}function u7(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function nc(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 gd(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:s=!1}=t;return ew().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:s},a,o)}function mg(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function c7(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 gg(e){let t=c7(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Me(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function vg(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function d7(e,t){if(e.value)for(let{regex:r,parse:n}of aw){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function yg(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 bg(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Me(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function wg(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function p7(e){if(e.type==="block"){if(e.name=Me(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!Vs(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 f7(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 h7(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Yp(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}=gd(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 Yp(e,Ed,r);let D,E=u(()=>D??(D=gd(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(m7(S,r)){let _=E().errors.find(I=>I.span.start.offset>A.start.offset&&I.span.start.offset0&&vd(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=>ow.has(E))),i))for(let E of D.attrs)E.namespace||(E.name=v(E.name,b=>sl.has(D.name)&&(sl.get("*").has(b)||sl.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=$l(c?D.name:D.name.toLowerCase());!D.namespace||D.namespace===E.implicitNamespacePrefix||ba(D)?D.tagDefinition=E:D.tagDefinition=$l("")}},"F");return hd(new class extends Z7{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 m7(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||ui(t,{language:n})==="html"}function vd(e){let{msg:t,span:{start:r,end:n}}=e;throw tw(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Kp(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?rw(e):{frontMatter:null,content:e},i=new rf(e,r.filepath),s=new ql(i,0,0,0),c=s.moveBy(e.length),d={type:"root",sourceSpan:new Y(s,c),children:Yp(o,t,r)};if(a){let h=new ql(i,0,0,0),f=h.moveBy(a.raw.length);a.sourceSpan=new Y(h,f),d.children.unshift(a)}let p=new nw(d),m=u((h,f)=>{let{offset:v}=f,g=Me(!1,e.slice(0,v),/[^\n\r]/gu," "),w=Kp(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=d7(h,m);f&&h.parent.replaceChild(h,f)}p7(h),f7(h),h7(h)}),p}function Wa(e){return{parse:u((t,r)=>Kp(t,e,r),"parse"),hasPragma:e7,astFormat:"html",locStart:ai,locEnd:oi}}var Eg,ac,oc,ic,Zt,xg,Dg,lc,Cg,Me,Ps,$s,Nl,Lo,Oo,Hl,va,Mo,Po,$o,jl,Vl,br,Ul,Ao,Zp,Ns,g7,sc,Sg,Jp,uc,Fr,Hs,Xn,kg,Ag,ve,xe,ae,v7,Fg,ya,fo,yd,y7,ot,cc,_g,Rg,Ig,Bg,ct,dc,Tg,b7,si,zg,w7,Lg,E7,x7,D7,ui,C7,S7,k7,A7,ba,Og,Xp,F7,_7,Qp,R7,I7,B7,T7,z7,L7,O7,M7,P7,bd,$7,N7,wd,H7,j7,il,js,V7,U7,pc,ef,Vs,tf,q7,Mg,Vn,Pg,$g,Ng,Hg,jg,Vg,W7,G7,Li,ql,fc,rf,hc,Y,Oi,mc,gc,Y7,Ug,qg,Wg,Gg,vc,yc,Yg,Kg,bc,Zg,Jg,Xg,wc,Ec,Qr,Qg,ut,ll,xc,e5,t5,r5,n5,a5,o5,Dc,i5,Cc,K7,Sc,W,l5,Ga,kc,Vr,Ac,s5,Fc,u5,_c,c5,Rc,d5,Ic,p5,Bc,Jt,Tc,f5,zc,h5,Lc,Ur,Oc,Mc,Pc,$c,Nc,Z7,Fo,m5,J7,Mi,g5,Hc,jc,Pi,Vc,X7,v5,$i,Uc,Ni,qc,Q7,Ya,Wc,Ka,y5,Gc,Hi,ji,ke,Yc,b5,Kc,w5,Vi,E5,Zc,x5,Ui,ew,tw,Un,rw,Za,Jc,qr,nw,aw,sl,ow,Ed,D5,C5,S5,k5,A5,iw,Ak=T(()=>{Eg=Object.defineProperty,ac=u(e=>{throw TypeError(e)},"Xr"),oc=u((e,t)=>{for(var r in t)Eg(e,r,{get:t[r],enumerable:!0})},"Jr"),ic=u((e,t,r)=>t.has(e)||ac("Cannot "+r),"Zr"),Zt=u((e,t,r)=>(ic(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),xg=u((e,t,r)=>t.has(e)?ac("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),Dg=u((e,t,r,n)=>(ic(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),lc={},oc(lc,{languages:u(()=>Gg,"languages"),options:u(()=>Kg,"options"),parsers:u(()=>bc,"parsers"),printers:u(()=>A5,"printers")}),Cg=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=Cg,Ps="string",$s="array",Nl="cursor",Lo="indent",Oo="align",Hl="trim",va="group",Mo="fill",Po="if-break",$o="indent-if-break",jl="line-suffix",Vl="line-suffix-boundary",br="line",Ul="label",Ao="break-parent",Zp=new Set([Nl,Lo,Oo,Hl,va,Mo,Po,$o,jl,Vl,br,Ul,Ao]),u(km,"ii"),Ns=km,g7=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),u(Am,"oi"),Sg=(sc=class extends Error{constructor(t){super(Am(t));Rn(this,"name","InvalidDocError");this.doc=t}},u(sc,"lr"),sc),Jp=Sg,uc=u(()=>{},"rn"),Fr=uc,Hs=uc,u(bt,"k"),u(_p,"nn"),u(pe,"_"),u(ub,"sn"),u(cb,"an"),u(Rp,"At"),u(To,"ge"),u(db,"on"),Xn={type:Ao},kg={type:br,hard:!0},Ag={type:br,hard:!0,literal:!0},ve={type:br},xe={type:br,soft:!0},ae=[kg,Xn],v7=[Ag,Xn],u(gn,"q"),Fg=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=Fg,u(Is,"Dt"),u(pb,"pi"),u(fb,"ln"),u(Ke,"B"),fo="'",yd='"',u(Fm,"hi"),y7=Fm,u(_m,"cr"),_g=(cc=class{constructor(e){xg(this,ot),Dg(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=`[${_m([...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(cc,"pr"),cc),ot=new WeakMap,Rg=_g,Ig=[" ",` +`,"\f","\r"," "],Bg=new Rg(Ig),ct=Bg,Tg=(dc=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(dc,"hr"),dc),b7=Tg,u(Rm,"di"),si=Rm,zg=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),w7=new Set(["if","else if","for","switch","case"]),u(Gu,"fn"),Gu.ignoredProperties=zg,Lg=Gu,u(Im,"Si"),E7=Im,u(ti,"Ce"),u(vn,"j"),u(Je,"T"),u(Bm,"_i"),x7=Bm,D7=u(e=>String(e).split(/[/\\]/u).pop(),"Ei"),u(dd,"Sn"),u(hb,"Ai"),u(Tm,"Di"),ui=Tm,C7="inline",S7={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"},k7="normal",A7={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},u(zm,"vi"),ba=zm,Og=u(e=>Me(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Xp=u(e=>Og(ct.trimEnd(e)),"mr"),F7=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(Ip,"yt"),u(ri,"Ee"),u(mb,"wi"),u(Ue,"$"),u(Nt,"U"),u(gb,"yn"),u(vb,"wn"),u(Bp,"fr"),u(yb,"bn"),u(bb,"Tn"),u(wb,"xn"),u(so,"Qe"),u(Eb,"kn"),u(Tp,"dr"),u(ol,"wt"),u(xb,"bi"),u(zp,"Bn"),u(Lp,"Ln"),u(Op,"Fn"),u(Mp,"Nn"),u(Bs,"bt"),u(Db,"Ti"),u(Pp,"Pn"),u(Cb,"xi"),u(Sb,"ki"),u(kb,"Bi"),u(pd,"gr"),u(_a,"Xe"),u(Ab,"Li"),u(Fb,"Fi"),u(_b,"Ni"),u(Rb,"Pi"),u(Ib,"Ii"),u(un,"_e"),u(Bb,"Ri"),u(Tb,"In"),u($p,"Rn"),u(zb,"$i"),u(Np,"Cr"),u(Hp,"Sr"),u(ur,"P"),_7=new Set(["template","style","script"]),u(ni,"Je"),u(yn,"Ae"),u(Ts,"Tt"),u(Lb,"$n"),u(Ob,"On"),u(jp,"xt"),u(Vp,"kt"),Qp=/\{\{(.+?)\}\}/su,u(Mb,"Mn"),u(Bi,"Er"),R7=Bi({parser:"__ng_action"}),I7=Bi({parser:"__ng_binding"}),B7=Bi({parser:"__ng_directive"}),u(Lm,"Vi"),T7=Lm,u(Om,"Ui"),z7=Om,u(fd,"Vn"),L7=/^[ \t\n\r\u000c]+/,O7=/^[, \t\n\r\u000c]+/,M7=/^[^ \t\n\r\u000c]+/,P7=/[,]+$/,bd=/^\d+$/,$7=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u(Mm,"Ki"),N7=Mm,u(Pm,"Qi"),wd={width:"w",height:"h",density:"x"},H7=Object.keys(wd),u(Pb,"Ji"),j7=Pm,u($b,"Yn"),il=new WeakMap,u($m,"Zi"),js=$m,u(Nb,"jn"),u(Hb,"Kn"),u(jb,"Qn"),u(Vb,"Xn"),u(Ub,"ea"),u(Nm,"ta"),u(qb,"ra"),u(Wb,"na"),u(Up,"Jn"),V7=Nm,u(Hm,"sa"),u(Gb,"ia"),U7=Hm,pc=new Proxy(()=>{},{get:u(()=>pc,"get")}),ef=pc,u(jm,"aa"),Vs=jm,u(ai,"se"),u(oi,"ie"),u(Ol,"Ze"),u(Yb,"oa"),u(Kn,"De"),u(Kb,"ua"),u(Sr,"W"),u(zs,"Bt"),u(Ra,"ve"),u(qp,"rs"),u(kr,"K"),u(Ia,"ye"),u(ga,"we"),u(ii,"et"),u(Zb,"la"),u(li,"tt"),u(Jb,"ca"),u(Xb,"pa"),u(Ml,"rt"),u(Zn,"be"),u(Ar,"z"),u(Ls,"Lt"),u(Os,"Ft"),u(Vm,"ha"),tf=Vm,q7=new Set(["if","else if","for","switch","case"]),u(Um,"fa"),Mg=Um,Vn=null,u(Jn,"st"),Pg=10;for(let e=0;e<=Pg;e++)Jn();u(Qb,"vr"),u(qm,"ga"),$g=qm,Ng={"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"]},Hg=Ng,jg=$g(Hg),Vg=jg,u(e7,"os"),u(Wm,"us"),W7=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(Wp,"cs"),u(jn,"it"),u(uo,"Pt"),u(Ms,"He"),u(t7,"ps"),u(Gp,"hs"),u(r7,"_a"),u(n7,"ms"),u(a7,"fs"),u(o7,"ds"),u(i7,"gs"),u(So,"at"),u(Pl,"It"),u(ko,"ot"),u(l7,"Cs"),u(Ti,"Rt"),u(Yu,"yr"),u(zi,"$t"),G7=/-+([a-z0-9])/g,u(Gm,"_s"),ql=(Li=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 Li(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(mc,"Ue"),mc),Y7=[Km,Zm,Jm,Qm,eg,ng,tg,rg,ag,Xm],u(Ym,"Da"),u(Km,"va"),u(Zm,"ya"),u(s7,"wa"),u(Jm,"ba"),u(Xm,"Ta"),u(Qm,"xa"),u(eg,"ka"),u(tg,"Ba"),u(rg,"La"),u(ng,"Fa"),u(ag,"Na"),Ug=Ym,u(og,"Pa"),qg={preprocess:Ug,print:og,insertPragma:Wm,massageAstNode:Lg,embed:Mg,getVisitorKeys:Vg},Wg=qg,Gg=[{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"]}],vc={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."}},yc="HTML",Yg={bracketSameLine:vc.bracketSameLine,htmlWhitespaceSensitivity:{category:yc,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:vc.singleAttributePerLine,vueIndentScriptAndStyle:{category:yc,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Kg=Yg,bc={},oc(bc,{angular:u(()=>C5,"angular"),html:u(()=>D5,"html"),lwc:u(()=>k5,"lwc"),vue:u(()=>S5,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Zg||(Zg={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(Jg||(Jg={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Xg||(Xg={})),wc={name:"custom-elements"},Ec={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"}(Qg||(Qg={})),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(Ku,"xr"),u(Zu,"kr"),u(co,"We"),u(qa,"ze"),u(Ju,"Br"),u(po,"Mt"),e5=(xc=class{},u(xc,"Ht"),xc),t5="boolean",r5="number",n5="string",a5="object",o5=["[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:|"],Dc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),i5=Array.from(Dc).reduce((e,[t,r])=>(e.set(t,r),e),new Map),K7=(Cc=class extends e5{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,o5.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),t5);break;case"#":t.set(d.substring(1),r5);break;case"%":t.set(d.substring(1),a5);break;default:t.set(d,n5)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Ec.name))return!0;if(e.indexOf("-")>-1){if(Ku(e)||Zu(e))return!1;if(r.some(n=>n.name===wc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Ec.name)||e.indexOf("-")>-1&&(Ku(e)||Zu(e)||t.some(r=>r.name===wc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Ju()[e+"|"+t];return n||(n=Ju()["*|"+t],n||Qr.NONE)}getMappedPropName(e){return Dc.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=>i5.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Gm(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(ig(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(Cc,"Vt"),Cc),u(ig,"Ua"),W=(Sc=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(Sc,"m"),Sc),u($l,"Ge"),Vr=(kc=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},u(kc,"oe"),kc),s5=(Ac=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(Ac,"Ut"),Ac),u5=(Fc=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(Fc,"Wt"),Fc),c5=(_c=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(_c,"zt"),_c),d5=(Rc=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(Rc,"Gt"),Rc),p5=(Ic=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(Ic,"Yt"),Ic),Jt=(Bc=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(Bc,"G"),Bc),f5=(Tc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},u(Tc,"jt"),Tc),h5=(zc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},u(zc,"Kt"),zc),Ur=(Lc=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(Lc,"Z"),Lc),Mc=(Oc=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(Oc,"ct"),Oc),$c=(Pc=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(Pc,"pt"),Pc),u(hd,"Qt"),Z7=(Nc=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(hd(n,o,e))}return u(a,"i"),t(a),Array.prototype.concat.apply([],r)}},u(Nc,"ht"),Nc),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:"‌"},m5="",Fo.ngsp=m5,J7=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],u(lg,"Ls"),g5=(Mi=class{static fromArray(e){return e?(lg("interpolation",e),new Mi(e[0],e[1])):Hc}constructor(e,t){this.start=e,this.end=t}},u(Mi,"t"),Mi),Hc=new g5("{{","}}"),Pi=(jc=class extends gc{constructor(e,t,r){super(r,e),this.tokenType=t}},u(jc,"ft"),jc),X7=(Vc=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},u(Vc,"$r"),Vc),u(sg,"Ws"),v5=/\r\n?/g,u(jr,"je"),u(Xu,"Rs"),u(ug,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}($i||($i={})),Ni=(Uc=class{constructor(e){this.error=e}},u(Uc,"dt"),Uc),Q7=(qc=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||Hc,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 y5(e,n):new Wc(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(v5,` +`)}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:ec(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(tc);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&&zi(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(tc)}}_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)&&!Ti(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&&Pl(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;zi(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(fg(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 Pi("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 Pi("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 Pi(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Ni(r)}handleError(e){if(e instanceof Hi&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Ni)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return hg(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&&!cg(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(Qu,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 Ni){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(()=>Qu(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&&zi(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(),ec(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(qc,"Or"),qc),u(ue,"b"),u(Qu,"$s"),u(cg,"mo"),u(dg,"fo"),u(pg,"go"),u(fg,"Co"),u(hg,"So"),u(md,"Os"),u(ec,"Ms"),u(tc,"qs"),u(u7,"_o"),Wc=(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 Hi('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Ti(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 ql(e.file,e.state.offset,e.state.line,e.state.column)}},u(Ya,"t"),Ya),y5=(Ka=class extends Wc{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(Yu(e())){let t="",r=0,n=this.clone();for(;Yu(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 Ti(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 Hi("Invalid hexadecimal escape sequence",e);return n}},u(Ka,"t"),Ka),Hi=(Gc=class{constructor(e,t){this.msg=e,this.cursor=t}},u(Gc,"gt"),Gc),ke=(ji=class extends gc{static create(e,t,r){return new ji(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},u(ji,"t"),ji),b5=(Yc=class{constructor(e,t){this.rootNodes=e,this.errors=t}},u(Yc,"Vr"),Yc),w5=(Kc=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=sg(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 E5(d.tokens,i,p,m,n);return h.build(),new b5(h.rootNodes,d.errors.concat(h.errors))}},u(Kc,"nr"),Kc),E5=(Vi=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 d5(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(rc(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(rc(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,nc):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new s5(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,nc):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 p5(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 Mc(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 Mc(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 $c(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 $c(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(Vi,"t"),Vi),u(rc,"zs"),u(nc,"Gs"),x5=(Zc=class extends w5{constructor(){super($l)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},u(Zc,"sr"),Zc),Ui=null,ew=u(()=>(Ui||(Ui=new x5),Ui),"Eo"),u(gd,"zr"),u(mg,"Ao"),tw=mg,Un=3,u(c7,"Do"),u(gg,"vo"),rw=gg,Za={attrs:!0,children:!0,cases:!0,expression:!0},Jc=new Set(["parent"]),nw=(qr=class{constructor(e={}){for(let t of new Set([...Jc,...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))),!Jc.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=vg(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(vg,"yo"),aw=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),k5=Wa({name:"lwc",canSelfClose:!1}),A5={html:Wg},iw=lc});function Xt(){}function F5(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 Wl(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 Us(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function nf(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 uw(e){return di(!1,e,/\r\n?/gu,` +`)}function _5(e){if(typeof e=="string")return Br;if(Array.isArray(e))return Ht;if(!e)return;let{type:t}=e;if(gf.has(t))return t}function R5(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=Jw([...gf].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function I5(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===Vd){r(a.pop());continue}r&&a.push(o,Vd);let i=Tr(o);if(!i)throw new dn(o);if((t==null?void 0:t(o))!==!1)switch(i){case Ht:case ft:{let s=i===Ht?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 Vt:case jt:case Ut:case ht:case qt:a.push(o.contents);break;case Br:case xr:case Mt:case Pt:case Ee:case qe:break;default:throw new dn(o)}}}function No(e){return mt(e),{type:jt,contents:e}}function cn(e,t){return mt(t),{type:Vt,contents:t,n:e}}function xd(e,t={}){return mt(e),Gs(t.expandedStates,!0),{type:Le,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function B5(e){return cn(Number.NEGATIVE_INFINITY,e)}function T5(e){return cn({type:"root"},e)}function z5(e){return cn(-1,e)}function L5(e,t){return xd(e[0],{...t,expandedStates:e})}function Dd(e){return Gs(e),{type:ft,parts:e}}function O5(e,t="",r={}){return mt(e),t!==""&&mt(t),{type:Pe,breakContents:e,flatContents:t,groupId:r.groupId}}function M5(e,t){return mt(e),{type:Ut,contents:e,groupId:t.groupId,negate:t.negate}}function Gl(e){return mt(e),{type:qt,contents:e}}function Cd(e,t){mt(e),Gs(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===qt)return"lineSuffix("+n(o.contents)+")";if(o.type===Pt)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 $5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function N5(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 H5(e){if(!e)return 0;if(!e6.test(e))return e.length;e=e.replace(Xw()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Qw(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 Ht: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 Vt:case jt:case Ut:case ht:case qt:return t({...o,contents:n(o.contents)});case Br:case xr:case Mt:case Pt:case Ee:case qe:return t(o);default:throw new dn(o)}}}function Yl(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"),Xl(e,o),n}function dw(e){if(e.type===Le&&e.break||e.type===Ee&&e.hard||e.type===qe)return!0}function j5(e){return Yl(e,dw,!1)}function kd(e){if(e.length>0){let t=ge(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function pw(e){let t=new Set,r=[];function n(o){if(o.type===qe&&kd(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&&kd(r)}u(a,"o"),Xl(e,n,a,!0)}function fw(e){return e.type===Ee&&!e.hard?e.soft?"":" ":e.type===Pe?e.flatContents:e}function V5(e){return Ho(e,fw)}function Ad(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 jt:case Ut:case Le:case qt: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:Ad(e.parts)};case Ht:return Ad(e);case Br:return e.replace(/[\n\r]*$/u,"");case Vt:case xr:case Mt:case Pt:case Ee:case qe:break;default:throw new dn(e)}return e}function Fd(e){return Qn(mw(e))}function hw(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 Vt:case jt:case Ut:case qt:if(!e.contents)return"";break;case Pe:if(!e.flatContents&&!e.breakContents)return"";break;case Ht:{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 Mt:case Pt:case Ee:case ht:case qe:break;default:throw new dn(e)}return e}function mw(e){return Ho(e,t=>hw(t))}function U5(e,t=qd){return Ho(e,r=>typeof r=="string"?Cd(t,r.split(` +`)):r)}function gw(e){if(e.type===Ee)return!0}function q5(e){return Yl(e,gw,!1)}function af(e,t){return e.type===ht?{...e,contents:t(e.contents)}:t(e)}function of(){return{value:"",length:0,queue:[]}}function vw(e,t){return Kl(e,{type:"indent"},t)}function yw(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||of():t<0?Kl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Kl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Kl(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 Zl(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-=es(p);break;case Ht:case ft:{let h=m===Ht?p:p.parts;for(let f=h.length-1;f>=0;f--)s.push({mode:d,doc:h[f]});break}case jt:case Vt:case Ut:case ht:s.push({mode:d,doc:p.contents});break;case Mt:r+=Zl(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 qt:n=!0;break;case Pt:if(n)return!1;break}}return!1}function jo(e,t){let r={},n=t.printWidth,a=Us(t.endOfLine),o=0,i=[{ind:of(),mode:Be,doc:e}],s=[],c=!1,d=[],p=0;for(pw(e);i.length>0;){let{ind:h,mode:f,doc:v}=i.pop();switch(Tr(v)){case Br:{let g=a!==` +`?di(!1,v,` +`,a):v;s.push(g),i.length>0&&(o+=es(g));break}case Ht: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 jt:i.push({ind:vw(h,t),mode:f,doc:v.contents});break;case Vt:i.push({ind:yw(h,v.n,t),mode:f,doc:v.contents});break;case Mt:o-=Zl(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:Dd(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 Ut:{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 qt:d.push({ind:h,mode:f,doc:v.contents});break;case Pt:d.length>0&&i.push({ind:h,mode:f,doc:pl});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-=Zl(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 W5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=u(o=>r6(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*bw(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 J5(e){return e?t=>e(t,Yd):a6}function ww(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 qs(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=ww(e)}function en(e,t){t.leading=!0,t.trailing=!1,qs(e,t)}function Ro(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),qs(e,t)}function tn(e,t){t.leading=!1,t.trailing=!0,qs(e,t)}function Ws(e,t){if(fl.has(e))return fl.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))??[...lf(e,{getVisitorKeys:pi(a)})]).flatMap(c=>n(c)?[c]:Ws(c,t));return s.sort((c,d)=>o(c)-o(d)||i(c)-i(d)),fl.set(e,s),s}function sf(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),c=Ws(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 sf(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=ul(f,t,r);d&&ul(f,d,r)!==v&&(d=null),p&&ul(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function Ew(e,t){let{comments:r}=e;if(delete e.comments,!n6(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:c}=t,{ownLine:d=hl,endOfLine:p=hl,remaining:m=hl}=s,h=r.map((f,v)=>({...sf(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]),xw(E,b,h,f))g.placement="ownLine",d(...k)||(D?en(D,g):w?tn(w,g):Ro(x||C,g));else if(Dw(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&&_d(n,b),n.push(v)}else w?tn(w,g):D?en(D,g):Ro(x||C,g)}if(_d(n,t),!i)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function xw(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||!vf(e.slice(s(p),c)))break;c=i(p)}return ar(e,c,{backwards:!0})}function Dw(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];rs.strictEqual(p,o),rs.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 ul(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(Cw(e,t)):d&&(i=Sw(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function Aw(e,t,r){let{leading:n,trailing:a}=kw(e,r);return!n&&!a?t:af(t,o=>[n,o,a])}function Fw(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 Q5(e){return()=>{}}function Rd({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of Rw(Object.assign({},...e.map(({options:o})=>o),i6)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,..._w(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*_w(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 Rw(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 Id(e,t){if(!t)return;let r=l6(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 Iw(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 e2(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=Iw(r,t.language)??Id(r,t.physicalFile)??Id(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Xc(e,t,r,n){return[`Invalid ${rn.default.red(n.key(e))} value.`,`Expected ${rn.default.blue(r)},`,`but received ${t===Zd?rn.default.gray("nothing"):rn.default.red(n.value(t))}.`].join(" ")}function Bd({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=>Bd(a,r-Jd.length).replace(/^|\n/g,`$&${Jd}`))).join(` +`)),Td(n,r)}function Td(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 t2(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 r2(e,t){let r=new e(t),n=Object.create(r);for(let a of u6)a in t&&(n[a]=Bw(t[a],r,tr.prototype[a].length));return n}function Bw(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Qc({from:e,to:t}){return{from:[e],to:t}}function n2(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 a2(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 o2(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function i2(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function l2(e){return e===Math.floor(e)}function s2(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 u2(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function e0(e){return e===void 0?{}:e}function zd(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return Tw((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(zd)}}:{text:t}}function t0(e,t){return e===!0?!0:e===!1?{value:t}:e}function r0(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ld(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 cl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ld(r,t)):[Ld(e,t)]}function n0(e,t){let r=cl(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 Tw(e,t){if(!e)throw new Error(t)}function c2(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 Qd(h,f,{...v,schemas:w})},c=zw(t,{isCLI:n,FlagSchema:o}),d=new g6(c,{logger:r,unknown:s,descriptor:i}),p=r!==!1;p&&B0&&(d._hasDeprecationWarned=B0);let m=d.normalize(e);return p&&(B0=d._hasDeprecationWarned),m}function zw(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(d6.create({name:"_"}));for(let a of e)n.push(Lw(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(c6.create({name:a.alias,sourceName:a.name}));return n}function Lw(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=m6,t&&(o.preprocess=Number);break;case"string":i=e1;break;case"choice":i=h6,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":i=f6;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=e1;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?p6.create({...t?{preprocess:u(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function cf(e,t){if(!t)throw new Error("parserName is required.");let r=bf(!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 yf(n)}function Ow(e,t){if(!t)throw new Error("astFormat is required.");let r=bf(!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 yf(n)}function df({plugins:e,parser:t}){let r=cf(e,t);return pf(r,t)}function pf(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Mw(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function d2(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=s6(n,{physicalFile:n.filepath}),!n.parser)throw new Kd(`No parser could be inferred for file "${n.filepath}".`)}else throw new Kd("No parser and no file path given, couldn't infer a parser.");let a=Rd({plugins:e.plugins,showDeprecated:!0}).options,o={...t1,...Object.fromEntries(a.filter(h=>h.default!==void 0).map(h=>[h.name,h.default]))},i=cf(n.plugins,n.parser),s=await pf(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:Ow(n.plugins,s.astFormat),d=await Mw(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"),v6(n,a,{passThrough:Object.keys(t1),...t})}async function p2(e,t){let r=await df(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){Pw(o,e)}return{text:n,ast:a}}function Pw(e,t){let{loc:r}=e;if(r){let n=(0,y6.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function $w(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=pi(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 Nw(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 Nw(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 Fd(i)}function f2(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 ci(e,t){({ast:e}=await ff(e,t));let r=new Map,n=new t6(e),a=o6(t),o=new Map;await $w(n,s,t,ci,o);let i=await Od(n,t,s,void 0,o);return Fw(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=Od(n,t,s,d,o);return m&&r.set(p,h),h}}function Od(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=b6(e,t):a.has(i)?c=a.get(i):c=s.print(e,t,r,n),i===t.cursorNode&&(c=af(c,d=>[Ql,d,Ql])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(c=Aw(e,c,t)),c}async function ff(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,Ew(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function h2(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=pi(t.printer.getVisitorKeys),i=u(c=>n(c)<=r&&a(c)>=r,"i"),s=e;for(let c of bw(e,{getVisitorKeys:o,filter:i}))s=c;return s}function m2(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=pi(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 Hw(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>wf.has(a.type)&&n.has(a))}function Md(e){let t=x6(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function jw(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 Md(t.parentNodes))if(r(c)>=i)o=c;else break;let s=n(t.node);for(let c of Md(e.parentNodes)){if(n(c)<=s)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function Jl(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=Jl(r,n,t,(f,v)=>Pd(t,f,v),[],"rangeStart"),p=c?d:Jl(r,a,t,f=>Pd(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let m,h;if(D6(t)){let f=Hw(d,p);m=f,h=f}else({startNode:m,endNode:h}=jw(d,p,t));return{rangeStart:Math.min(o(m),o(h)),rangeEnd:Math.max(i(m),i(h))}}async function hf(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=w6(n,t));let o=await ci(n,t);r>0&&(o=Sd([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+Us(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,r1);let v=h.split(""),g=lw(f,v),w=m;for(let x of g)if(x.removed){if(x.value.includes(r1))break}else w+=x.count;return{formatted:i.formatted,cursorOffset:w,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function qw(e,t){let{ast:r,text:n}=await Ba(e,t),{rangeStart:a,rangeEnd:o}=Uw(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=ts(c,t.tabWidth),p=await hf(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=Us(t.endOfLine);h>=0&&v===`\r +`&&(h+=nf(f.slice(0,h),` +`)),f=di(!1,f,` +`,v)}return{formatted:f,cursorOffset:h,comments:p.comments}}function dl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function $d(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=dl(e,r,-1),n=dl(e,n,0),a=dl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function mf(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=$d(e,t),i=e.charAt(0)===Ef;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=sw(e)),e.includes("\r")){let s=u(c=>nf(e.slice(0,Math.max(c,0)),`\r +`),"s");r-=s(r),n-=s(n),a-=s(a),e=uw(e)}return{hasBOM:i,text:e,options:$d(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function Nd(e,t){let r=await df(t);return!r.hasPragma||r.hasPragma(e)}async function Hd(e,t){let{hasBOM:r,text:n,options:a}=mf(e,await bn(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await Nd(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function g2(e,t,r){let{text:n,options:a}=mf(e,await bn(t)),o=await Ba(n,a);return r&&(r.preprocessForPrint&&(o.ast=await ff(o.ast,a)),r.massage&&(o.ast=E6(o.ast,a))),o}async function v2(e,t){t=await bn(t);let r=await ci(e,t);return jo(r,t)}async function y2(e,t){let r=cw(e),{formatted:n}=await Hd(r,{...t,parser:"__js_expression"});return n}async function b2(e,t){t=await bn(t);let{ast:r}=await Ba(e,t);return ci(r,t)}async function w2(e,t){return jo(e,await bn(t))}function E2(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 A2(e,t){let r=Ks(e,t);return r===!1?"":e.charAt(r)}function F2(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 Gw(e,t,r){return Ks(e,r(t))}function I2(e,t){return arguments.length===2||typeof t=="number"?Ks(e,t):Gw(...arguments)}function Yw(e,t,r){return Ys(e,r(t))}function B2(e,t){return arguments.length===2||typeof t=="number"?Ys(e,t):Yw(...arguments)}function Kw(e,t,r){return os(e,r(t))}function T2(e,t){return arguments.length===2||typeof t=="number"?os(e,t):Kw(...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 jd(e,t){let{formatted:r}=await n1(e,{...t,cursorOffset:-1});return r}async function z2(e,t){return await jd(e,t)===e}var L2,Ja,O2,M2,P2,$2,a0,N2,qi,Xa,o0,Qa,H2,j2,V2,Bn,Wi,i0,U2,q2,W2,G2,Y2,l0,K2,di,s0,u0,c0,d0,Z2,J2,Zw,Tn,mo,Br,Ht,xr,jt,Vt,Mt,Le,ft,Pe,Ut,qt,Pt,Ee,ht,qe,gf,Tr,Jw,p0,X2,dn,Vd,Xl,f0,mt,Gs,Q2,go,ev,pl,h0,Ud,tv,Dr,qd,Ql,rv,ge,Xw,Qw,e6,es,Be,it,ea,ts,Wr,m0,Gi,g0,nv,t6,v0,rs,r6,av,lr,Wd,Gd,_r,ar,n6,Yd,a6,pi,fl,hl,vf,Ys,o6,y0,yf,b0,Kd,i6,l6,s6,Gr,w0,ov,rn,Zd,eo,Jd,iv,E0,ml,Xd,Qd,u6,x0,tr,D0,c6,C0,d6,S0,p6,k0,f6,A0,h6,F0,lv,_0,m6,R0,e1,sv,uv,cv,dv,I0,g6,B0,v6,pv,bf,t1,bn,y6,Ba,b6,w6,E6,fv,x6,D6,wf,C6,Ef,r1,T0,hv,mv,gv,vv,z0,ns,as,Ks,os,yv,bv,wv,Ev,xv,Dv,n1,Cv,Sv,S6,Fk=T(()=>{L2=Object.create,Ja=Object.defineProperty,O2=Object.getOwnPropertyDescriptor,M2=Object.getOwnPropertyNames,P2=Object.getPrototypeOf,$2=Object.prototype.hasOwnProperty,a0=u(e=>{throw TypeError(e)},"sr"),N2=u((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),qi=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"),o0=u((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of M2(t))!$2.call(e,a)&&a!==r&&Ja(e,a,{get:u(()=>t[a],"get"),enumerable:!(n=O2(t,a))||n.enumerable});return e},"ar"),Qa=u((e,t,r)=>(r=e!=null?L2(P2(e)):{},o0(t||!e||!e.__esModule?Ja(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),H2=u(e=>o0(Ja({},"__esModule",{value:!0}),e),"vu"),j2=u((e,t,r)=>t.has(e)||a0("Cannot "+r),"bu"),V2=u((e,t,r)=>t.has(e)?a0("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)=>(j2(e,t,"access private method"),r),"pe"),Wi=qi((e,t)=>{var r=new Proxy(String,{get:u(()=>r,"get")});t.exports=r}),i0={},Xa(i0,{default:u(()=>q2,"default"),shouldHighlight:u(()=>U2,"shouldHighlight")}),W2=N2(()=>{U2=u(()=>!1,"xo"),q2=String}),G2=qi((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}),Y2=qi(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=v;var t=(W2(),H2(i0)),r=a(G2(),!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")}),l0={},Xa(l0,{__debug:u(()=>Sv,"__debug"),check:u(()=>z2,"check"),doc:u(()=>T0,"doc"),format:u(()=>jd,"format"),formatWithCursor:u(()=>n1,"formatWithCursor"),getSupportInfo:u(()=>Cv,"getSupportInfo"),util:u(()=>z0,"util"),version:u(()=>vv,"version")}),K2=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"),di=K2,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(F5(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(Wl(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(Wl,"Bt"),mo=new Xt,mo.tokenize=function(e){return e.slice()},mo.join=mo.removeEmpty=function(e){return e},u(lw,"dr"),u(sw,"Fr"),u(Us,"Be"),u(nf,"wt"),u(uw,"mr"),Br="string",Ht="array",xr="cursor",jt="indent",Vt="align",Mt="trim",Le="group",ft="fill",Pe="if-break",Ut="indent-if-break",qt="line-suffix",Pt="line-suffix-boundary",Ee="line",ht="label",qe="break-parent",gf=new Set([xr,jt,Vt,Mt,Le,ft,Pe,Ut,qt,Pt,Ee,ht,qe]),u(_5,"Lu"),Tr=_5,Jw=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),u(R5,"Iu"),X2=(p0=class extends Error{constructor(t){super(R5(t));Rn(this,"name","InvalidDocError");this.doc=t}},u(p0,"xt"),p0),dn=X2,Vd={},u(I5,"Ru"),Xl=I5,f0=u(()=>{},"hr"),mt=f0,Gs=f0,u(No,"De"),u(cn,"ae"),u(xd,"_t"),u(B5,"Cr"),u(T5,"gr"),u(z5,"yr"),u(L5,"Ar"),u(Dd,"Ge"),u(O5,"Br"),u(M5,"wr"),u(Gl,"xe"),Q2={type:Pt},go={type:qe},ev={type:Mt},pl={type:Ee,hard:!0},h0={type:Ee,hard:!0,literal:!0},Ud={type:Ee},tv={type:Ee,soft:!0},Dr=[pl,go],qd=[h0,go],Ql={type:xr},u(Cd,"be"),u(Sd,"Je"),u(P5,"br"),u(_t,"ee"),u(cw,"Or"),rv=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=rv,Xw=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($5,"Nr"),u(N5,"Tr"),Qw=u(e=>!($5(e)||N5(e)),"kr"),e6=/[^\x20-\x7F]/u,u(H5,"Hu"),es=H5,u(Ho,"Ne"),u(Yl,"Xe"),u(dw,"Wu"),u(j5,"Ir"),u(kd,"Lr"),u(pw,"Rr"),u(fw,"Mu"),u(V5,"Yr"),u(Ad,"Pr"),u(Qn,"Se"),u(Fd,"Ze"),u(hw,"$u"),u(mw,"Vu"),u(U5,"jr"),u(gw,"Uu"),u(q5,"Hr"),u(af,"Qe"),Be=Symbol("MODE_BREAK"),it=Symbol("MODE_FLAT"),ea=Symbol("cursor"),u(of,"Wr"),u(vw,"zu"),u(yw,"Gu"),u(Kl,"bt"),u(Zl,"Ot"),u(ho,"et"),u(jo,"Fe"),u(W5,"Ku"),ts=W5,nv=(g0=class{constructor(e){V2(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,Gi).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,m0).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,m0).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,Gi).call(this))if(e(t))return t}hasAncestor(e){for(let t of Bn(this,Wr,Gi).call(this))if(e(t))return!0;return!1}},u(g0,"St"),g0),Wr=new WeakSet,m0=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"),Gi=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"),t6=nv,v0=new Proxy(()=>{},{get:u(()=>v0,"get")}),rs=v0,u(G5,"qu"),r6=G5,u(lf,"Tt"),u(bw,"Ur"),u(In,"Ee"),av=In(/\s/u),lr=In(" "),Wd=In(",; "),Gd=In(/[^\n\r]/u),u(Y5,"Ju"),_r=Y5,u(K5,"Xu"),ar=K5,u(Z5,"Zu"),n6=Z5,Yd=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),a6=u(e=>Object.keys(e).filter(t=>!Yd.has(t)),"Qu"),u(J5,"eo"),pi=J5,u(ww,"to"),u(qs,"Lt"),u(en,"ue"),u(Ro,"re"),u(tn,"oe"),fl=new WeakMap,u(Ws,"ut"),u(sf,"qr"),hl=u(()=>!1,"It"),u(Ew,"Jr"),vf=u(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),u(xw,"ro"),u(Dw,"no"),u(_d,"Kr"),u(ul,"Rt"),u(X5,"uo"),Ys=X5,u(uf,"Zr"),u(Cw,"oo"),u(Sw,"io"),u(kw,"so"),u(Aw,"Qr"),u(Fw,"en"),u(Q5,"ao"),o6=Q5,yf=(y0=class extends Error{constructor(){super(...arguments);Rn(this,"name","ConfigError")}},u(y0,"Pe"),y0),Kd=(b0=class extends Error{constructor(){super(...arguments);Rn(this,"name","UndefinedParserError")}},u(b0,"Ie"),b0),i6={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(Rd,"ot"),u(_w,"Do"),u(Rw,"lo"),l6=u(e=>String(e).split(/[/\\]/u).pop(),"co"),u(Id,"nn"),u(Iw,"fo"),u(e2,"po"),s6=e2,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")},w0=Qa(Wi(),1),ov=u((e,t,{descriptor:r})=>{let n=[`${w0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${w0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),rn=Qa(Wi(),1),Zd=Symbol.for("vnopts.VALUE_NOT_EXIST"),eo=Symbol.for("vnopts.VALUE_UNCHANGED"),Jd=" ".repeat(2),iv=u((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(Xc(e,t,n,r.descriptor)),a&&o.push([Xc(e,t,a.title,r.descriptor)].concat(a.values.map(i=>Bd(i,r.loggerPrintWidth))).join(` +`)),Td(o,r.loggerPrintWidth)},"cn"),u(Xc,"ln"),u(Bd,"fn"),u(Td,"pn"),E0=Qa(Wi(),1),ml=[],Xd=[],u(t2,"Ht"),Qd=u((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${E0.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>t2(e,s)<3);i&&o.push(`Did you mean ${E0.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"at"),u6=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],u(r2,"mo"),tr=(x0=class{static create(e){return r2(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(x0,"O"),x0),u(Bw,"Eo"),c6=(D0=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(D0,"Dt"),D0),d6=(C0=class extends tr{expected(){return"anything"}validate(){return!0}},u(C0,"lt"),C0),p6=(S0=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(Qc))}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(Qc))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},u(S0,"ct"),S0),u(Qc,"Fn"),f6=(k0=class extends tr{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},u(k0,"ft"),k0),u(n2,"En"),u(a2,"hn"),u(o2,"Cn"),u(i2,"gn"),u(l2,"yn"),u(s2,"An"),u(u2,"Bn"),u(e0,"Mt"),u(zd,"$t"),u(t0,"Vt"),u(r0,"Ut"),u(Ld,"mn"),u(cl,"pt"),u(n0,"zt"),u(Tw,"ho"),h6=(A0=class extends tr{constructor(e){super(e),this._choices=a2(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(s2).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(A0,"dt"),A0),lv=(F0=class extends tr{expected(){return"a number"}validate(e,t){return typeof e=="number"}},u(F0,"Ft"),F0),m6=(_0=class extends lv{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&l2(e)}},u(_0,"mt"),_0),e1=(R0=class extends tr{expected(){return"a string"}validate(e){return typeof e=="string"}},u(R0,"Re"),R0),sv=Gr,uv=Qd,cv=iv,dv=ov,g6=(I0=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=sv,unknown:o=uv,invalid:i=cv,deprecated:s=dv,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:n2(e,"name"),normalizeDefaultResult:e0,normalizeExpectedResult:zd,normalizeDeprecatedResult:r0,normalizeForwardResult:cl,normalizeRedirectResult:n0,normalizeValidateResult:t0},this._unknownHandler=o,this._invalidHandler=u2(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=o2()}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=e0(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=r0(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");cl(i.forward(s,this._utils),s).forEach(c);let p=n0(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,Zd,this._utils)}_partitionOptionKeys(e){let[t,r]=i2(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=t0(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(I0,"Et"),I0),u(c2,"go"),u(zw,"yo"),u(Lw,"Ao"),v6=c2,pv=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"),bf=pv,u(cf,"qt"),u(Ow,"On"),u(df,"ht"),u(pf,"Jt"),u(Mw,"Sn"),t1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},u(d2,"wo"),bn=d2,y6=Qa(Y2(),1),u(p2,"ko"),u(Pw,"Lo"),Ba=p2,u($w,"Un"),u(Nw,"Po"),u(f2,"Io"),b6=f2,u(ci,"Ye"),u(Od,"Gn"),u(ff,"Qt"),u(h2,"Ro"),w6=h2,u(m2,"Yo"),E6=m2,fv=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"),x6=fv,D6=u(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),u(Hw,"Wo"),u(Md,"Xn"),u(jw,"Mo"),u(Jl,"er"),u(Vw,"$o"),wf=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),C6=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),u(Pd,"Zn"),u(Uw,"eu"),Ef="\uFEFF",r1=Symbol("cursor"),u(hf,"ou"),u(qw,"Uo"),u(dl,"tr"),u($d,"ru"),u(mf,"iu"),u(Nd,"nu"),u(Hd,"rr"),u(g2,"su"),u(v2,"au"),u(y2,"Du"),u(b2,"lu"),u(w2,"cu"),T0={},Xa(T0,{builders:u(()=>hv,"builders"),printer:u(()=>mv,"printer"),utils:u(()=>gv,"utils")}),hv={join:Cd,line:Ud,softline:tv,hardline:Dr,literalline:qd,group:xd,conditionalGroup:L5,fill:Dd,lineSuffix:Gl,lineSuffixBoundary:Q2,cursor:Ql,breakParent:go,ifBreak:O5,trim:ev,indent:No,indentIfBreak:M5,align:cn,addAlignmentToDoc:Sd,markAsRoot:T5,dedentToRoot:B5,dedent:z5,hardlineWithoutBreakParent:pl,literallineWithoutBreakParent:h0,label:P5,concat:u(e=>e,"concat")},mv={printDocToString:jo},gv={willBreak:j5,traverseDoc:Xl,findInDoc:Yl,mapDoc:Ho,removeLines:V5,stripTrailingHardline:Fd,replaceEndOfLine:U5,canBreak:q5},vv="3.3.3",z0={},Xa(z0,{addDanglingComment:u(()=>Ro,"addDanglingComment"),addLeadingComment:u(()=>en,"addLeadingComment"),addTrailingComment:u(()=>tn,"addTrailingComment"),getAlignmentSize:u(()=>ts,"getAlignmentSize"),getIndentSize:u(()=>yv,"getIndentSize"),getMaxContinuousCount:u(()=>bv,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:u(()=>wv,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:u(()=>I2,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:u(()=>es,"getStringWidth"),hasNewline:u(()=>ar,"hasNewline"),hasNewlineInRange:u(()=>Ev,"hasNewlineInRange"),hasSpaces:u(()=>xv,"hasSpaces"),isNextLineEmpty:u(()=>T2,"isNextLineEmpty"),isNextLineEmptyAfterIndex:u(()=>os,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:u(()=>B2,"isPreviousLineEmpty"),makeString:u(()=>Dv,"makeString"),skip:u(()=>In,"skip"),skipEverythingButNewLine:u(()=>Gd,"skipEverythingButNewLine"),skipInlineComment:u(()=>ns,"skipInlineComment"),skipNewline:u(()=>_r,"skipNewline"),skipSpaces:u(()=>lr,"skipSpaces"),skipToLineEnd:u(()=>Wd,"skipToLineEnd"),skipTrailingComment:u(()=>as,"skipTrailingComment"),skipWhitespace:u(()=>av,"skipWhitespace")}),u(E2,"Jo"),ns=E2,u(x2,"Xo"),as=x2,u(D2,"Zo"),Ks=D2,u(C2,"Qo"),os=C2,u(S2,"ei"),yv=S2,u(Ww,"ur"),u(k2,"ti"),bv=k2,u(A2,"ri"),wv=A2,u(F2,"ni"),Ev=F2,u(_2,"ui"),xv=_2,u(R2,"oi"),Dv=R2,u(Gw,"ii"),u(I2,"si"),u(Yw,"ai"),u(B2,"Di"),u(Kw,"li"),u(T2,"ci"),u(dr,"fe"),n1=dr(Hd),u(jd,"gu"),u(z2,"fi"),Cv=dr(Rd,0),Sv={parse:dr(g2),formatAST:dr(v2),formatDoc:dr(y2),printToDoc:dr(b2),printDocToString:dr(w2)},S6=l0});function k6(e){for(var t=[],r=1;r{u(k6,"dedent")}),A6={};Fa(A6,{formatter:()=>F6});var kv,F6,Rk=T(()=>{kv=De(As(),1),Ak(),Fk(),_k(),F6=(0,kv.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?k6(t):(await S6.format(t,{parser:e,plugins:[iw],htmlWhitespaceSensitivity:"ignore"})).trim())}),a1,o1,Ik=T(()=>{a1=u(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),o1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Te,Ge,Ye,ze,is,ta,on,ra,_6,xf,qn,R6,i1,Df,Av,Fv,_v,Rv,Iv,Bv,Tv,zv,Lv,I6,Xe=T(()=>{Te="top",Ge="bottom",Ye="right",ze="left",is="auto",ta=[Te,Ge,Ye,ze],on="start",ra="end",_6="clippingParents",xf="viewport",qn="popper",R6="reference",i1=ta.reduce(function(e,t){return e.concat([t+"-"+on,t+"-"+ra])},[]),Df=[].concat(ta,[is]).reduce(function(e,t){return e.concat([t,t+"-"+on,t+"-"+ra])},[]),Av="beforeRead",Fv="read",_v="afterRead",Rv="beforeMain",Iv="main",Bv="afterMain",Tv="beforeWrite",zv="write",Lv="afterWrite",I6=[Av,Fv,_v,Rv,Iv,Bv,Tv,zv,Lv]});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 Gt=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 Zs(e){if(typeof ShadowRoot>"u")return!1;var t=Ne(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var Qe=T(()=>{Gt(),u(Rr,"isElement"),u(We,"isHTMLElement"),u(Zs,"isShadowRoot")});function Ov(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 Mv(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 B6,Bk=T(()=>{wn(),Qe(),u(Ov,"applyStyles"),u(Mv,"effect"),B6={name:"applyStyles",enabled:!0,phase:"write",fn:Ov,effect:Mv,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 ls(){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 T6=T(()=>{u(ls,"getUAString")});function Cf(){return!/^((?!chrome|android).)*safari/i.test(ls())}var z6=T(()=>{T6(),u(Cf,"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=!Cf()&&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 fi=T(()=>{Qe(),xn(),Gt(),z6(),u(fn,"getBoundingClientRect")});function Js(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 Sf=T(()=>{fi(),u(Js,"getLayoutRect")});function kf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Zs(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var L6=T(()=>{Qe(),u(kf,"contains")});function Wt(e){return Ne(e).getComputedStyle(e)}var hi=T(()=>{Gt(),u(Wt,"getComputedStyle")});function O6(e){return["table","td","th"].indexOf(gt(e))>=0}var Tk=T(()=>{wn(),u(O6,"isTableElement")});function cr(e){return((Rr(e)?e.ownerDocument:e.document)||window.document).documentElement}var zr=T(()=>{Qe(),u(cr,"getDocumentElement")});function mi(e){return gt(e)==="html"?e:e.assignedSlot||e.parentNode||(Zs(e)?e.host:null)||cr(e)}var Xs=T(()=>{wn(),zr(),Qe(),u(mi,"getParentNode")});function l1(e){return!We(e)||Wt(e).position==="fixed"?null:e.offsetParent}function M6(e){var t=/firefox/i.test(ls()),r=/Trident/i.test(ls());if(r&&We(e)){var n=Wt(e);if(n.position==="fixed")return null}var a=mi(e);for(Zs(a)&&(a=a.host);We(a)&&["html","body"].indexOf(gt(a))<0;){var o=Wt(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=l1(e);r&&O6(r)&&Wt(r).position==="static";)r=l1(r);return r&&(gt(r)==="html"||gt(r)==="body"&&Wt(r).position==="static")?t:r||M6(e)||t}var gi=T(()=>{Gt(),wn(),hi(),Qe(),Tk(),Xs(),T6(),u(l1,"getTrueOffsetParent"),u(M6,"getContainingBlock"),u(Ta,"getOffsetParent")});function Qs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Af=T(()=>{u(Qs,"getMainAxisFromPlacement")});function na(e,t,r){return Cr(e,Vo(t,r))}function P6(e,t,r){var n=na(e,t,r);return n>r?r:n}var $6=T(()=>{xn(),u(na,"within"),u(P6,"withinMaxClamp")});function Ff(){return{top:0,right:0,bottom:0,left:0}}var N6=T(()=>{u(Ff,"getFreshSideObject")});function _f(e){return Object.assign({},Ff(),e)}var H6=T(()=>{N6(),u(_f,"mergePaddingObject")});function Rf(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var j6=T(()=>{u(Rf,"expandToHashMap")});function Pv(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=Qs(s),d=[ze,Ye].indexOf(s)>=0,p=d?"height":"width";if(!(!o||!i)){var m=V6(a.padding,r),h=Js(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 $v(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)||kf(t.elements.popper,a)&&(t.elements.arrow=a))}var V6,U6,zk=T(()=>{En(),Sf(),L6(),gi(),Af(),$6(),H6(),j6(),Xe(),V6=u(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,_f(typeof e!="number"?e:Rf(e,ta))},"toPaddingObject"),u(Pv,"arrow"),u($v,"effect"),U6={name:"arrow",enabled:!0,phase:"main",fn:Pv,effect:$v,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function hn(e){return e.split("-")[1]}var yi=T(()=>{u(hn,"getVariation")});function q6(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 s1(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),Wt(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&&W6),z=p===!0?q6({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 Nv(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,s1(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,s1(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 W6,G6,Lk=T(()=>{Xe(),gi(),Gt(),zr(),hi(),En(),yi(),xn(),W6={top:"auto",right:"auto",bottom:"auto",left:"auto"},u(q6,"roundOffsetsByDPR"),u(s1,"mapToStyles"),u(Nv,"computeStyles"),G6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nv,data:{}}});function Hv(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,Y6,Ok=T(()=>{Gt(),vo={passive:!0},u(Hv,"effect"),Y6={name:"eventListeners",enabled:!0,phase:"write",fn:u(function(){},"fn"),effect:Hv,data:{}}});function Io(e){return e.replace(/left|right|bottom|top/g,function(t){return K6[t]})}var K6,Mk=T(()=>{K6={left:"right",right:"left",bottom:"top",top:"bottom"},u(Io,"getOppositePlacement")});function u1(e){return e.replace(/start|end/g,function(t){return Z6[t]})}var Z6,Pk=T(()=>{Z6={start:"end",end:"start"},u(u1,"getOppositeVariationPlacement")});function eu(e){var t=Ne(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var If=T(()=>{Gt(),u(eu,"getWindowScroll")});function tu(e){return fn(cr(e)).left+eu(e).scrollLeft}var Bf=T(()=>{fi(),zr(),If(),u(tu,"getWindowScrollBarX")});function J6(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=Cf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+tu(e),y:c}}var $k=T(()=>{Gt(),zr(),Bf(),z6(),u(J6,"getViewportRect")});function X6(e){var t,r=cr(e),n=eu(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+tu(e),c=-n.scrollTop;return Wt(a||r).direction==="rtl"&&(s+=Cr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}var Nk=T(()=>{zr(),hi(),Bf(),If(),xn(),u(X6,"getDocumentRect")});function ru(e){var t=Wt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var Tf=T(()=>{hi(),u(ru,"isScrollParent")});function zf(e){return["html","body","#document"].indexOf(gt(e))>=0?e.ownerDocument.body:We(e)&&ru(e)?e:zf(mi(e))}var Hk=T(()=>{Xs(),Tf(),wn(),Qe(),u(zf,"getScrollParent")});function aa(e,t){var r;t===void 0&&(t=[]);var n=zf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ne(n),i=a?[o].concat(o.visualViewport||[],ru(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(aa(mi(i)))}var Q6=T(()=>{Hk(),Xs(),Gt(),Tf(),u(aa,"listScrollParents")});function ss(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var e8=T(()=>{u(ss,"rectToClientRect")});function t8(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 c1(e,t,r){return t===xf?ss(J6(e,r)):Rr(t)?t8(t,r):ss(X6(cr(e)))}function r8(e){var t=aa(mi(e)),r=["absolute","fixed"].indexOf(Wt(e).position)>=0,n=r&&We(e)?Ta(e):e;return Rr(n)?t.filter(function(a){return Rr(a)&&kf(a,n)&>(a)!=="body"}):[]}function n8(e,t,r,n){var a=t==="clippingParents"?r8(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(c,d){var p=c1(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},c1(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 jk=T(()=>{Xe(),$k(),Nk(),Q6(),gi(),zr(),hi(),Qe(),fi(),Xs(),L6(),wn(),e8(),xn(),u(t8,"getInnerBoundingClientRect"),u(c1,"getClientRectFromMixedType"),u(r8,"getClippingParents"),u(n8,"getClippingRect")});function Lf(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?Qs(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 a8=T(()=>{En(),yi(),Af(),Xe(),u(Lf,"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?_6:s,d=r.rootBoundary,p=d===void 0?xf: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=_f(typeof w!="number"?w:Rf(w,ta)),D=h===qn?R6:qn,E=e.rects.popper,b=e.elements[v?D:h],C=n8(Rr(b)?b:b.contextElement||cr(e.elements.popper),c,p,i),S=fn(e.elements.reference),k=Lf({reference:S,element:E,strategy:"absolute",placement:a}),A=ss(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 nu=T(()=>{jk(),zr(),fi(),a8(),e8(),Xe(),Qe(),H6(),j6(),u(wa,"detectOverflow")});function o8(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?Df:c,p=hn(n),m=p?s?i1:i1.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 Vk=T(()=>{yi(),Xe(),nu(),En(),u(o8,"computeAutoPlacement")});function i8(e){if(pt(e)===is)return[];var t=Io(e);return[u1(e),t,u1(t)]}function jv(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)]:i8(w)),b=[w].concat(E).reduce(function(ie,N){return ie.concat(pt(N)===is?o8(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 l8,Uk=T(()=>{Mk(),En(),Pk(),nu(),Vk(),Xe(),yi(),u(i8,"getExpandedFallbackPlacements"),u(jv,"flip"),l8={name:"flip",enabled:!0,phase:"main",fn:jv,requiresIfExists:["offset"],data:{_skip:!1}}});function d1(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 p1(e){return[Te,Ye,Ge,ze].some(function(t){return e[t]>=0})}function Vv(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=d1(i,n),d=d1(s,a,o),p=p1(c),m=p1(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 s8,qk=T(()=>{Xe(),nu(),u(d1,"getSideOffsets"),u(p1,"isAnySideFullyClipped"),u(Vv,"hide"),s8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Vv}});function u8(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 Uv(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Df.reduce(function(p,m){return p[m]=u8(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 c8,Wk=T(()=>{En(),Xe(),u(u8,"distanceAndSkiddingToXY"),u(Uv,"offset"),c8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Uv}});function qv(e){var t=e.state,r=e.name;t.modifiersData[r]=Lf({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var d8,Gk=T(()=>{a8(),u(qv,"popperOffsets"),d8={name:"popperOffsets",enabled:!0,phase:"read",fn:qv,data:{}}});function p8(e){return e==="x"?"y":"x"}var Yk=T(()=>{u(p8,"getAltAxis")});function Wv(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=Qs(x),C=p8(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?Js(Z):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ff(),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,Et=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,xt=j+Et-$,Mr=na(f?Vo(U,rt):U,j,f?Cr(V,xt):V);S[b]=Mr,z[b]=Mr-j}if(s){var An,Dt=b==="x"?Te:ze,wi=b==="x"?Ge:Ye,Re=S[C],Pr=C==="y"?"height":"width",Ct=Re+w[Dt],Fn=Re-w[wi],St=[Te,ze].indexOf(x)!==-1,_n=(An=B==null?void 0:B[C])!=null?An:0,kt=St?Ct:Re-k[Pr]-A[Pr]-_n+I.altAxis,Se=St?Re+k[Pr]+A[Pr]-_n-I.altAxis:Fn,nt=f&&St?P6(kt,Re,Se):na(f?kt:Ct,Re,f?Se:Fn);S[C]=nt,z[C]=nt-Re}t.modifiersData[n]=z}}var f8,Kk=T(()=>{Xe(),En(),Af(),Yk(),$6(),Sf(),gi(),nu(),yi(),N6(),xn(),u(Wv,"preventOverflow"),f8={name:"preventOverflow",enabled:!0,phase:"main",fn:Wv,requiresIfExists:["offset"]}}),h8=T(()=>{});function m8(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var Zk=T(()=>{u(m8,"getHTMLElementScroll")});function g8(e){return e===Ne(e)||!We(e)?eu(e):m8(e)}var Jk=T(()=>{If(),Gt(),Qe(),Zk(),u(g8,"getNodeScroll")});function v8(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 y8(e,t,r){r===void 0&&(r=!1);var n=We(t),a=We(t)&&v8(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"||ru(o))&&(s=g8(t)),We(t)?(c=fn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=tu(o))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}var Xk=T(()=>{fi(),Jk(),wn(),Qe(),Bf(),zr(),Tf(),xn(),u(v8,"isElementScaled"),u(y8,"getCompositeRect")});function b8(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 w8(e){var t=b8(e);return I6.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var Qk=T(()=>{Xe(),u(b8,"order"),u(w8,"orderModifiers")});function E8(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var eA=T(()=>{u(E8,"debounce")});function x8(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 tA=T(()=>{u(x8,"mergeByName")});function f1(){for(var e=arguments.length,t=new Array(e),r=0;r{Xk(),Sf(),Q6(),gi(),Qk(),eA(),tA(),Qe(),h1={placement:"bottom",modifiers:[],strategy:"absolute"},u(f1,"areValidElements"),u(D8,"popperGenerator")}),Gv,C8,nA=T(()=>{rA(),Ok(),Gk(),Lk(),Bk(),Wk(),Uk(),Kk(),zk(),qk(),h8(),Gv=[Y6,d8,G6,B6,c8,l8,f8,U6,s8],C8=D8({defaultModifiers:Gv})}),aA=T(()=>{Xe(),h8(),nA()}),oA=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")}),Yv,Kv,S8,iA=T(()=>{aA(),Yv=De(oA()),Ik(),Kv=[],S8=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||Kv},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);Ko.flushSync(function(){s({styles:a1(f.map(function(v){return[v,h.styles[v]||{}]})),attributes:a1(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,Yv.default)(n.current,m)?n.current||m:(n.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),p=l.useRef();return o1(function(){p.current&&p.current.setOptions(d)},[d]),o1(function(){if(!(e==null||t==null)){var m=r.createPopper||C8,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")}),lA=T(()=>{iA()});function Of(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function k8(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?F8: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=Of(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 m1(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 A8(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(v1).reduce(function(O,P){var j;return X({},O,(j={},j[P]=O[P]!==void 0?O[P]:v1[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=k8({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=S8(o.followCursor?g1:d,h,s),E=D.styles,b=D.attributes,C=Fs(D,_8),S=C.update,k=Of({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;g1.getBoundingClientRect=m1(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 F8,_8,g1,v1,sA=T(()=>{vp(),yt(),lA(),u(Of,"useGetLatest"),F8=u(function(){},"noop"),u(k8,"useControlledState"),u(m1,"generateBoundingClientRect"),_8=["styles","attributes"],g1={getBoundingClientRect:m1()},v1={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(A8,"usePopperTooltip")}),Zv,Ve,Qt,Jv,Xv,y1,uA=T(()=>{Zv=De(As(),1),Ve=(0,Zv.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),Qt=8,Jv=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")})),Xv=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}:{}),y1=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},c)=>y.createElement(Xv,{"data-testid":"tooltip",hasChrome:t,ref:c,...s,color:o},t&&i&&y.createElement(Jv,{placement:e,...n,color:o}),r)),y1.displayName="Tooltip"}),Mf={};Fa(Mf,{WithToolTipState:()=>us,WithTooltip:()=>us,WithTooltipPure:()=>b1});var to,Qv,e4,b1,us,Pf=T(()=>{gp(),sA(),uA(),{document:to}=ks,Qv=F.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,e4=F.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,b1=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?e4:Qv,{getArrowProps:S,getTooltipProps:k,setTooltipRef:A,setTriggerRef:_,visible:I,state:B}=A8({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(y1,{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&&K4.createPortal(z,to.body))},"WithTooltipPure"),us=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(b1,{...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();dS();mp();function R8(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ha(e,t)}u(R8,"_inheritsLoose");pS();mp();function I8(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}u(I8,"_isNativeFunction");function $f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($f=u(function(){return!!e},"_isNativeReflectConstruct"))()}u($f,"_isNativeReflectConstruct");mp();function B8(e,t,r){if($f())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(B8,"_construct");function cs(e){var t=typeof Map=="function"?new Map:void 0;return cs=u(function(r){if(r===null||!I8(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 B8(r,arguments,Il(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"),cs(e)}u(cs,"_wrapNativeSuper");var cA={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 T8(){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 t4={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 L8(e){if(typeof e!="string")return e;var t=e.toLowerCase();return t4[t]?"#"+t4[t]:e}u(L8,"nameToHex");var dA=/^#[a-fA-F0-9]{6}$/,pA=/^#[a-fA-F0-9]{8}$/,fA=/^#[a-fA-F0-9]{3}$/,hA=/^#[a-fA-F0-9]{4}$/,L0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,mA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,gA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,vA=/^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 au(e){if(typeof e!="string")throw new Lt(3);var t=L8(e);if(t.match(dA))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(pA)){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(fA))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(hA)){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=L0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=mA.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=gA.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=L0.exec(p);if(!m)throw new Lt(4,t,p);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var h=vA.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=L0.exec(w);if(!x)throw new Lt(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 Lt(5)}u(au,"parseToRgb");function O8(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 Lt(2)}u($8,"hsla");function ds(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return w1("#"+wr(e)+wr(t)+wr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return w1("#"+wr(e.red)+wr(e.green)+wr(e.blue));throw new Lt(6)}u(ds,"rgb");function qo(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=au(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?ds(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?ds(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Lt(7)}u(qo,"rgba");var bA=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"),wA=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),EA=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"),xA=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Hf(e){if(typeof e!="object")throw new Lt(8);if(wA(e))return qo(e);if(bA(e))return ds(e);if(xA(e))return $8(e);if(EA(e))return P8(e);throw new Lt(8)}u(Hf,"toColorString");function jf(e,t,r){return u(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):jf(e,t,n)},"fn")}u(jf,"curried");function ou(e){return jf(e,e.length,[])}u(ou,"curry");function iu(e,t,r){return Math.max(e,Math.min(t,r))}u(iu,"guard");function N8(e,t){if(t==="transparent")return t;var r=Nf(t);return Hf(X({},r,{lightness:iu(0,1,r.lightness-parseFloat(e))}))}u(N8,"darken");var DA=ou(N8),Yn=DA;function H8(e,t){if(t==="transparent")return t;var r=Nf(t);return Hf(X({},r,{lightness:iu(0,1,r.lightness+parseFloat(e))}))}u(H8,"lighten");var CA=ou(H8),r4=CA;function j8(e,t){if(t==="transparent")return t;var r=au(t),n=typeof r.alpha=="number"?r.alpha:1,a=X({},r,{alpha:iu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return qo(a)}u(j8,"transparentize");var SA=ou(j8),Ze=SA,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"},V8=F.div(se),kA=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"),AA=F(kA)(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}})),FA=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}}));Rs();var _A=u(e=>typeof e=="string","isReactChildString"),RA=/[\n\r]/g,IA=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),BA=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"}})),U8=u(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(_A).some(o=>o.match(RA))?y.createElement(BA,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):y.createElement(IA,{...r,className:e},a)},"Code"),TA=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}}),zA=F.div(se),LA=F.h1(se,za,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),q8=F.h2(se,za,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),W8=F.h3(se,za,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),OA=F.h4(se,za,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),MA=F.h5(se,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),PA=F.h6(se,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),$A=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),NA=F.img({maxWidth:"100%"}),HA=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})})),jA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},VA=F.ol(se,Dn,jA,{listStyle:"decimal"}),UA=F.p(se,Dn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Lr({theme:e})})),qA=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"}})),WA=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"}}})),GA=F.title(Lr),YA=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}})),KA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},ZA=F.ul(se,Dn,KA,{listStyle:"disc"}),G8={h1:u(e=>y.createElement(LA,{...le(e,"h1")}),"h1"),h2:u(e=>y.createElement(q8,{...le(e,"h2")}),"h2"),h3:u(e=>y.createElement(W8,{...le(e,"h3")}),"h3"),h4:u(e=>y.createElement(OA,{...le(e,"h4")}),"h4"),h5:u(e=>y.createElement(MA,{...le(e,"h5")}),"h5"),h6:u(e=>y.createElement(PA,{...le(e,"h6")}),"h6"),pre:u(e=>y.createElement(qA,{...le(e,"pre")}),"pre"),a:u(e=>y.createElement(AA,{...le(e,"a")}),"a"),hr:u(e=>y.createElement($A,{...le(e,"hr")}),"hr"),dl:u(e=>y.createElement(TA,{...le(e,"dl")}),"dl"),blockquote:u(e=>y.createElement(FA,{...le(e,"blockquote")}),"blockquote"),table:u(e=>y.createElement(YA,{...le(e,"table")}),"table"),img:u(e=>y.createElement(NA,{...le(e,"img")}),"img"),div:u(e=>y.createElement(zA,{...le(e,"div")}),"div"),span:u(e=>y.createElement(WA,{...le(e,"span")}),"span"),li:u(e=>y.createElement(HA,{...le(e,"li")}),"li"),ul:u(e=>y.createElement(ZA,{...le(e,"ul")}),"ul"),ol:u(e=>y.createElement(VA,{...le(e,"ol")}),"ol"),p:u(e=>y.createElement(UA,{...le(e,"p")}),"p"),code:u(e=>y.createElement(U8,{...le(e,"code")}),"code"),tt:u(e=>y.createElement(GA,{...le(e,"tt")}),"tt"),resetwrapper:u(e=>y.createElement(V8,{...le(e,"resetwrapper")}),"resetwrapper")},JA=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{}}}),xV=u(({...e})=>y.createElement(JA,{...e}),"Badge"),Y8={};Fa(Y8,{AccessibilityAltIcon:()=>yB,AccessibilityIcon:()=>vB,AddIcon:()=>fR,AdminIcon:()=>lB,AlertAltIcon:()=>HR,AlertIcon:()=>NR,AlignLeftIcon:()=>UF,AlignRightIcon:()=>qF,AppleIcon:()=>c_,ArrowBottomLeftIcon:()=>TI,ArrowBottomRightIcon:()=>zI,ArrowDownIcon:()=>FI,ArrowLeftIcon:()=>_I,ArrowRightIcon:()=>RI,ArrowSolidDownIcon:()=>OI,ArrowSolidLeftIcon:()=>MI,ArrowSolidRightIcon:()=>PI,ArrowSolidUpIcon:()=>LI,ArrowTopLeftIcon:()=>II,ArrowTopRightIcon:()=>BI,ArrowUpIcon:()=>AI,AzureDevOpsIcon:()=>g_,BackIcon:()=>ZI,BasketIcon:()=>cI,BatchAcceptIcon:()=>iR,BatchDenyIcon:()=>oR,BeakerIcon:()=>dI,BellIcon:()=>WR,BitbucketIcon:()=>v_,BoldIcon:()=>XF,BookIcon:()=>LF,BookmarkHollowIcon:()=>QR,BookmarkIcon:()=>eI,BottomBarIcon:()=>V_,BottomBarToggleIcon:()=>U_,BoxIcon:()=>K_,BranchIcon:()=>l_,BrowserIcon:()=>L_,ButtonIcon:()=>IR,CPUIcon:()=>q_,CalendarIcon:()=>jF,CameraIcon:()=>bF,CategoryIcon:()=>PF,CertificateIcon:()=>iI,ChangedIcon:()=>yR,ChatIcon:()=>SR,CheckIcon:()=>nR,ChevronDownIcon:()=>EI,ChevronLeftIcon:()=>xI,ChevronRightIcon:()=>J8,ChevronSmallDownIcon:()=>CI,ChevronSmallLeftIcon:()=>SI,ChevronSmallRightIcon:()=>kI,ChevronSmallUpIcon:()=>DI,ChevronUpIcon:()=>wI,ChromaticIcon:()=>y_,ChromeIcon:()=>h_,CircleHollowIcon:()=>JR,CircleIcon:()=>XR,ClearIcon:()=>wR,CloseAltIcon:()=>uR,CloseIcon:()=>mR,CloudHollowIcon:()=>hI,CloudIcon:()=>mI,CogIcon:()=>X_,CollapseIcon:()=>NI,CommandIcon:()=>LR,CommentAddIcon:()=>xR,CommentIcon:()=>ER,CommentsIcon:()=>CR,CommitIcon:()=>i_,CompassIcon:()=>eB,ComponentDrivenIcon:()=>b_,ComponentIcon:()=>eF,ContrastIcon:()=>pF,ControlsIcon:()=>lR,CopyIcon:()=>MF,CreditIcon:()=>RR,CrossIcon:()=>Z8,DashboardIcon:()=>aB,DatabaseIcon:()=>W_,DeleteIcon:()=>gR,DiamondIcon:()=>tI,DirectionIcon:()=>sB,DiscordIcon:()=>w_,DocChartIcon:()=>GF,DocListIcon:()=>YF,DocumentIcon:()=>OF,DownloadIcon:()=>KI,DragIcon:()=>KF,EditIcon:()=>J_,EllipsisIcon:()=>tR,EmailIcon:()=>jR,ExpandAltIcon:()=>$I,ExpandIcon:()=>HI,EyeCloseIcon:()=>cF,EyeIcon:()=>uF,FaceHappyIcon:()=>hB,FaceNeutralIcon:()=>mB,FaceSadIcon:()=>gB,FacebookIcon:()=>E_,FailedIcon:()=>bR,FastForwardIcon:()=>kF,FigmaIcon:()=>x_,FilterIcon:()=>WF,FlagIcon:()=>fI,FolderIcon:()=>$F,FormIcon:()=>aR,GDriveIcon:()=>D_,GithubIcon:()=>C_,GitlabIcon:()=>S_,GlobeIcon:()=>QI,GoogleIcon:()=>k_,GraphBarIcon:()=>VF,GraphLineIcon:()=>HF,GraphqlIcon:()=>A_,GridAltIcon:()=>aF,GridIcon:()=>tF,GrowIcon:()=>mF,HeartHollowIcon:()=>rI,HeartIcon:()=>nI,HomeIcon:()=>iB,HourglassIcon:()=>pI,InfoIcon:()=>MR,ItalicIcon:()=>QF,JumpToIcon:()=>ZR,KeyIcon:()=>FR,LightningIcon:()=>dF,LightningOffIcon:()=>K8,LinkBrokenIcon:()=>qR,LinkIcon:()=>UR,LinkedinIcon:()=>T_,LinuxIcon:()=>d_,ListOrderedIcon:()=>t_,ListUnorderedIcon:()=>r_,LocationIcon:()=>tB,LockIcon:()=>kR,MarkdownIcon:()=>a_,MarkupIcon:()=>JF,MediumIcon:()=>F_,MemoryIcon:()=>G_,MenuIcon:()=>ZF,MergeIcon:()=>u_,MirrorIcon:()=>hF,MobileIcon:()=>M_,MoonIcon:()=>zF,NutIcon:()=>Q_,OutboxIcon:()=>_R,OutlineIcon:()=>rF,PaintBrushIcon:()=>gF,PaperClipIcon:()=>e_,ParagraphIcon:()=>n_,PassedIcon:()=>vR,PhoneIcon:()=>VR,PhotoDragIcon:()=>nF,PhotoIcon:()=>QA,PinAltIcon:()=>dR,PinIcon:()=>rB,PlayAllHollowIcon:()=>RF,PlayBackIcon:()=>DF,PlayHollowIcon:()=>_F,PlayIcon:()=>xF,PlayNextIcon:()=>CF,PlusIcon:()=>sR,PointerDefaultIcon:()=>TR,PointerHandIcon:()=>zR,PowerIcon:()=>Z_,PrintIcon:()=>NF,ProceedIcon:()=>JI,ProfileIcon:()=>fB,PullRequestIcon:()=>s_,QuestionIcon:()=>PR,RSSIcon:()=>GR,RedirectIcon:()=>UI,ReduxIcon:()=>__,RefreshIcon:()=>XI,ReplyIcon:()=>WI,RepoIcon:()=>o_,RequestChangeIcon:()=>DR,RewindIcon:()=>SF,RulerIcon:()=>vF,SaveIcon:()=>OR,SearchIcon:()=>oF,ShareAltIcon:()=>YR,ShareIcon:()=>KR,ShieldIcon:()=>uI,SideBySideIcon:()=>IF,SidebarAltIcon:()=>N_,SidebarAltToggleIcon:()=>H_,SidebarIcon:()=>$_,SidebarToggleIcon:()=>j_,SpeakerIcon:()=>EF,StackedIcon:()=>BF,StarHollowIcon:()=>aI,StarIcon:()=>oI,StatusFailIcon:()=>vI,StatusPassIcon:()=>bI,StatusWarnIcon:()=>yI,StickerIcon:()=>gI,StopAltHollowIcon:()=>FF,StopAltIcon:()=>AF,StopIcon:()=>yF,StorybookIcon:()=>m_,StructureIcon:()=>Y_,SubtractIcon:()=>hR,SunIcon:()=>TF,SupportIcon:()=>$R,SwitchAltIcon:()=>fF,SyncIcon:()=>GI,TabletIcon:()=>O_,ThumbsUpIcon:()=>sI,TimeIcon:()=>nB,TimerIcon:()=>oB,TransferIcon:()=>VI,TrashIcon:()=>cR,TwitterIcon:()=>R_,TypeIcon:()=>BR,UbuntuIcon:()=>p_,UndoIcon:()=>qI,UnfoldIcon:()=>jI,UnlockIcon:()=>AR,UnpinIcon:()=>pR,UploadIcon:()=>YI,UserAddIcon:()=>dB,UserAltIcon:()=>cB,UserIcon:()=>uB,UsersIcon:()=>pB,VSCodeIcon:()=>B_,VerifiedIcon:()=>lI,VideoIcon:()=>wF,WandIcon:()=>rR,WatchIcon:()=>P_,WindowsIcon:()=>f_,WrenchIcon:()=>eR,XIcon:()=>z_,YoutubeIcon:()=>I_,ZoomIcon:()=>iF,ZoomOutIcon:()=>lF,ZoomResetIcon:()=>sF,iconList:()=>XA});var XA=[{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"]}],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:"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}))),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",{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}))),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:"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}))),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:"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}))),nF=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}))),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:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",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:"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}))),iF=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}))),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:"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}))),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",{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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),pF=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}))),fF=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}))),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.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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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",{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}))),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",{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}))),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.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}))),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 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}))),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:"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}))),_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:"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}))),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",{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}))),IF=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}))),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",{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}))),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("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"}))))),zF=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"}))))),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",{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}))),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",{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}))),MF=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}))),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:"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}))),$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:"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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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 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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",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",{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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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("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"}))))),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:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",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("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"}))))),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:"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}))),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("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"}))))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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.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}))),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",{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}))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),__=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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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_=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}))),O_=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}))),M_=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}))),P_=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}))),$_=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}))),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",{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}))),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.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}))),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:"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}))),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:"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}))),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:"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}))),q_=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}))),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",{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}))),G_=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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),rR=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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),Z8=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}))),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:"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}))),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("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"}))))),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("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"}))))),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",{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}))),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:"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}))),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",{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}))),gR=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}))),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",{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}))),yR=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}))),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:"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}))),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",{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}))),ER=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}))),xR=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}))),DR=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}))),CR=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}))),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",{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}))),kR=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}))),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("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"}))))),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",{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}))),_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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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",{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"}))),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",{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}))),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:"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}))),$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:"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}))),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:"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}))),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:"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}))),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",{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}))),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",{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}))),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:"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}))),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:"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}))),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",{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}))),GR=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}))),YR=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}))),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:"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}))),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:"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}))),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",{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}))),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:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),QR=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}))),eI=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}))),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("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"}))))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),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.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}))),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.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}))),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:"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}))),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:"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}))),J8=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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),_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:"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}))),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",{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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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",{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}))),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:"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}))),$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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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.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}))),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",{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}))),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:"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}))),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:"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}))),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("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}))),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",{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}))),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:"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}))),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:"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}))),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",{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}))),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",{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}))),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("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"}))))),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",{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}))),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:"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}))),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:"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}))),pB=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}))),fB=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}))),hB=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}))),mB=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}))),gB=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}))),vB=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}))),yB=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}))),bB=0,wB=u(e=>e.button===bB&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),EB=u((e,t)=>{wB(e)&&(e.preventDefault(),t(e))},"cancelled"),xB=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}}:{}),DB=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(DB,{...s,onClick:r&&e?c=>EB(c,r):r,className:o},y.createElement(xB,{withArrow:n,containsIcon:a},t,n&&y.createElement(J8,null))),"Link"),DV=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,CB=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(Rs(),Fp));return ln.length>0&&(ln.forEach(t=>{e.registerLanguage(...t)}),ln=[]),xa===null&&(xa=e),{default:u(t=>y.createElement(e,{...t}),"default")}}),SB=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(Rs(),Fp)),Promise.resolve().then(()=>(Rk(),A6))]);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")}}),Vf=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},e.format!==!1?y.createElement(SB,{...e}):y.createElement(CB,{...e})),"SyntaxHighlighter");Vf.registerLanguage=(...e)=>{if(xa!==null){xa.registerLanguage(...e);return}ln.push(e)};Rs();jy();var X8={};Fa(X8,{Close:()=>u9,Content:()=>i9,Description:()=>s9,Dialog:()=>qE,DialogClose:()=>r9,DialogContent:()=>JE,DialogDescription:()=>t9,DialogOverlay:()=>ZE,DialogPortal:()=>KE,DialogTitle:()=>e9,DialogTrigger:()=>WE,Overlay:()=>o9,Portal:()=>a9,Root:()=>n9,Title:()=>l9,Trigger:()=>ET,WarningProvider:()=>wT,createDialogScope:()=>cT});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 Q8(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}u(Q8,"$6ed0406888f73fc4$var$setRef");function lu(...e){return t=>e.forEach(r=>Q8(r,t))}u(lu,"$6ed0406888f73fc4$export$43e446d32b3d21af");function Cn(...e){return l.useCallback(lu(...e),e)}u(Cn,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function eE(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(eE,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function tE(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,rE(a,...t)]}u(tE,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function rE(...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(rE,"$c512c27ab02ef895$var$composeContextScopes");var E1=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{},kB=l.useId||(()=>{}),AB=0;function yl(e){let[t,r]=l.useState(kB());return E1(()=>{e||r(n=>n??String(AB++))},[e]),e||(t?`radix-${t}`:"")}u(yl,"$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 nE({prop:e,defaultProp:t,onChange:r=u(()=>{},"onChange")}){let[n,a]=aE({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(nE,"$71cd76cc60e0454e$export$6f32135080cb4c3");function aE({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(aE,"$71cd76cc60e0454e$var$useUncontrolledState");yt();yt();yt();var oE=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(iE);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(x1,X({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(x1,X({},n,{ref:t}),r)});oE.displayName="Slot";var x1=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...lE(n,r.props),ref:t?lu(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});x1.displayName="SlotClone";var FB=u(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function iE(e){return l.isValidElement(e)&&e.type===FB}u(iE,"$5e63c961fc1ce211$var$isSlottable");function lE(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(lE,"$5e63c961fc1ce211$var$mergeProps");var _B=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Or=_B.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?oE: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 sE(e,t){e&&Ko.flushSync(()=>e.dispatchEvent(t))}u(sE,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function uE(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(uE,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var D1="dismissableLayer.update",RB="dismissableLayer.pointerDownOutside",IB="dismissableLayer.focusOutside",n4,BB=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),TB=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(BB),[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=cE(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=dE(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 uE(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&&(n4=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),C1(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=n4)}},[m,f,n,p]),l.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),C1())},[m,p]),l.useEffect(()=>{let A=u(()=>v({}),"handleUpdate");return document.addEventListener(D1,A),()=>document.removeEventListener(D1,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 cE(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(){Uf(RB,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(cE,"$5cb92bef7577960e$var$usePointerDownOutside");function dE(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&&Uf(IB,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(dE,"$5cb92bef7577960e$var$useFocusOutside");function C1(){let e=new CustomEvent(D1);document.dispatchEvent(e)}u(C1,"$5cb92bef7577960e$var$dispatchUpdate");function Uf(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?sE(a,o):a.dispatchEvent(o)}u(Uf,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");yt();var O0="focusScope.autoFocusOnMount",M0="focusScope.autoFocusOnUnmount",a4={bubbles:!1,cancelable:!0},zB=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){o4.add(f);let g=document.activeElement;if(!s.contains(g)){let w=new CustomEvent(O0,a4);s.addEventListener(O0,d),s.dispatchEvent(w),w.defaultPrevented||(pE(vE(qf(s)),{select:!0}),document.activeElement===g&&rr(s))}return()=>{s.removeEventListener(O0,d),setTimeout(()=>{let w=new CustomEvent(M0,a4);s.addEventListener(M0,p),s.dispatchEvent(w),w.defaultPrevented||rr(g??document.body,{select:!0}),s.removeEventListener(M0,p),o4.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]=fE(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 pE(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(rr(n,{select:t}),document.activeElement!==r)return}u(pE,"$d3863c46a17e8a28$var$focusFirst");function fE(e){let t=qf(e),r=S1(t,e),n=S1(t.reverse(),e);return[r,n]}u(fE,"$d3863c46a17e8a28$var$getTabbableEdges");function qf(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(qf,"$d3863c46a17e8a28$var$getTabbableCandidates");function S1(e,t){for(let r of e)if(!hE(r,{upTo:t}))return r}u(S1,"$d3863c46a17e8a28$var$findVisible");function hE(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(hE,"$d3863c46a17e8a28$var$isHidden");function mE(e){return e instanceof HTMLInputElement&&"select"in e}u(mE,"$d3863c46a17e8a28$var$isSelectableInput");function rr(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&mE(e)&&t&&e.select()}}u(rr,"$d3863c46a17e8a28$var$focus");var o4=gE();function gE(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=k1(e,t),e.unshift(t)},remove(t){var r;e=k1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}u(gE,"$d3863c46a17e8a28$var$createFocusScopesStack");function k1(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}u(k1,"$d3863c46a17e8a28$var$arrayRemove");function vE(e){return e.filter(t=>t.tagName!=="A")}u(vE,"$d3863c46a17e8a28$var$removeLinks");yt();var LB=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?K4.createPortal(l.createElement(Or.div,X({},a,{ref:t})),n):null});function yE(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}u(yE,"$fe963b355347cc68$export$3e6543de14f8614f");var su=u(e=>{let{present:t,children:r}=e,n=bE(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");su.displayName="Presence";function bE(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=yE(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]),E1(()=>{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]),E1(()=>{if(t){let d=u(m=>{let h=yo(n.current).includes(m.animationName);m.target===t&&h&&Ko.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(bE,"$921a889cee6df7e8$var$usePresence");function yo(e){return(e==null?void 0:e.animationName)||"none"}u(yo,"$921a889cee6df7e8$var$getAnimationName");var P0=0;function wE(){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:A1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:A1()),P0++,()=>{P0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),P0--}},[])}u(wE,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function A1(){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(A1,"$3db38b7d1fb3fe6a$var$createFocusGuard");var Bt=u(function(){return Bt=Object.assign||u(function(e){for(var t,r=1,n=arguments.length;r"u")return HB;var t=jB(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"),UB=TE(),ps="data-scroll-locked",qB=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(OB,` { + overflow: hidden `).concat(n,`; + padding-right: `).concat(s,"px ").concat(n,`; + } + body[`).concat(ps,`] { + 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(bl,` { + right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(wl,` { + margin-right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(bl," .").concat(bl,` { + right: 0 `).concat(n,`; + } + + .`).concat(wl," .").concat(wl,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(ps,`] { + `).concat(MB,": ").concat(s,`px; + } +`)},"getStyles"),WB=u(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return VB(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(ps,""),function(){document.body.removeAttribute(ps)}},[]),l.createElement(UB,{styles:qB(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),F1=!1;if(typeof window<"u")try{ro=Object.defineProperty({},"passive",{get:u(function(){return F1=!0,!0},"get")}),window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch{F1=!1}var ro,zn=F1?{passive:!1}:!1,GB=u(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),zE=u(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!GB(e)&&r[t]==="visible")},"elementCanBeScrolled"),YB=u(function(e){return zE(e,"overflowY")},"elementCouldBeVScrolled"),KB=u(function(e){return zE(e,"overflowX")},"elementCouldBeHScrolled"),l4=u(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=LE(e,r);if(n){var a=OE(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),ZB=u(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),JB=u(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),LE=u(function(e,t){return e==="v"?YB(t):KB(t)},"elementCouldBeScrolled"),OE=u(function(e,t){return e==="v"?ZB(t):JB(t)},"getScrollVariables"),XB=u(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),QB=u(function(e,t,r,n,a){var o=XB(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=OE(e,s),v=f[0],g=f[1],w=f[2],x=g-w-o*v;(v||x)&&LE(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"),Yi=u(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),s4=u(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),u4=u(function(e){return e&&"current"in e?e.current:e},"extractRef"),eT=u(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),tT=u(function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},"generateStyle"),rT=0,Ln=[];function ME(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(rT++)[0],o=l.useState(function(){return TE()})[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=EE([e.lockRef.current],(e.shards||[]).map(u4),!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=Yi(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=l4(k,S);if(!A)return!0;if(A?C=k:(C=k==="v"?"h":"v",A=l4(k,S)),!A)return!1;if(!n.current&&"changedTouches"in g&&(E||b)&&(n.current=C),!C)return!0;var _=n.current||C;return QB(_,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?s4(w):Yi(w),D=t.current.filter(function(C){return C.name===w.type&&C.target===w.target&&eT(C.delta,x)})[0];if(D&&D.should){w.cancelable&&w.preventDefault();return}if(!D){var E=(i.current.shards||[]).map(u4).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=Yi(g),n.current=void 0},[]),m=l.useCallback(function(g){d(g.type,s4(g),g.target,s(g,e.lockRef.current))},[]),h=l.useCallback(function(g){d(g.type,Yi(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:tT(a)}):null,f?l.createElement(WB,{gapMode:"margin"}):null)}u(ME,"RemoveScrollSideCar");var nT=FE(_E,ME),PE=l.forwardRef(function(e,t){return l.createElement(uu,Bt({},e,{ref:t,sideCar:nT}))});PE.classNames=uu.classNames;var aT=PE,oT=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,Ki=new WeakMap,Zi={},H0=0,$E=u(function(e){return e&&(e.host||$E(e.parentNode))},"unwrapHost"),iT=u(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=$E(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"),lT=u(function(e,t,r,n){var a=iT(t,Array.isArray(e)?e:[e]);Zi[r]||(Zi[r]=new WeakMap);var o=Zi[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&&Ki.set(h,!0),w===1&&h.setAttribute(r,"true"),v||h.setAttribute(n,"true")}})},"deep");return p(t),s.clear(),H0++,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||(Ki.has(m)||m.removeAttribute(n),Ki.delete(m)),f||m.removeAttribute(r)}),H0--,H0||(On=new WeakMap,On=new WeakMap,Ki=new WeakMap,Zi={})}},"applyAttributeToOthers"),sT=u(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||oT(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),lT(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");yt();var NE=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(HE);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(_1,X({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(_1,X({},n,{ref:t}),r)});NE.displayName="Slot";var _1=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...jE(n,r.props),ref:t?lu(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});_1.displayName="SlotClone";var uT=u(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function HE(e){return l.isValidElement(e)&&e.type===uT}u(HE,"$5e63c961fc1ce211$var$isSlottable");function jE(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(jE,"$5e63c961fc1ce211$var$mergeProps");var VE="Dialog",[UE,cT]=tE(VE),[dT,wt]=UE(VE),qE=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]=nE({prop:n,defaultProp:a,onChange:o});return l.createElement(dT,{scope:t,triggerRef:s,contentRef:c,contentId:yl(),titleId:yl(),descriptionId:yl(),open:d,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(m=>!m),[p]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),pT="DialogTrigger",WE=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(pT,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":cu(a.open)},n,{ref:o,onClick:or(e.onClick,a.onOpenToggle)}))}),GE="DialogPortal",[fT,YE]=UE(GE,{forceMount:void 0}),KE=u(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=wt(GE,t);return l.createElement(fT,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(su,{present:r||o.open},l.createElement(LB,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),R1="DialogOverlay",ZE=l.forwardRef((e,t)=>{let r=YE(R1,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=wt(R1,e.__scopeDialog);return o.modal?l.createElement(su,{present:n||o.open},l.createElement(hT,X({},a,{ref:t}))):null}),hT=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(R1,r);return l.createElement(aT,{as:NE,allowPinchZoom:!0,shards:[a.contentRef]},l.createElement(Or.div,X({"data-state":cu(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Da="DialogContent",JE=l.forwardRef((e,t)=>{let r=YE(Da,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=wt(Da,e.__scopeDialog);return l.createElement(su,{present:n||o.open},o.modal?l.createElement(mT,X({},a,{ref:t})):l.createElement(gT,X({},a,{ref:t})))}),mT=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 sT(o)},[]),l.createElement(XE,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())}))}),gT=l.forwardRef((e,t)=>{let r=wt(Da,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return l.createElement(XE,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")}))}),XE=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 wE(),l.createElement(l.Fragment,null,l.createElement(zB,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},l.createElement(TB,X({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":cu(s.open)},i,{ref:d,onDismiss:u(()=>s.onOpenChange(!1),"onDismiss")}))),!1)}),QE="DialogTitle",e9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(QE,r);return l.createElement(Or.h2,X({id:a.titleId},n,{ref:t}))}),vT="DialogDescription",t9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(vT,r);return l.createElement(Or.p,X({id:a.descriptionId},n,{ref:t}))}),yT="DialogClose",r9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=wt(yT,r);return l.createElement(Or.button,X({type:"button"},n,{ref:t,onClick:or(e.onClick,()=>a.onOpenChange(!1))}))});function cu(e){return e?"open":"closed"}u(cu,"$5d3850c4d0b4e6c7$var$getState");var bT="DialogTitleWarning",[wT,CV]=eE(bT,{contentName:Da,titleName:QE,docsSlug:"dialog"}),n9=qE,ET=WE,a9=KE,o9=ZE,i9=JE,l9=e9,s9=t9,u9=r9,c9={};Fa(c9,{Actions:()=>RT,CloseButton:()=>h9,Col:()=>g9,Container:()=>f9,Content:()=>kT,Description:()=>_T,Error:()=>IT,ErrorWrapper:()=>v9,Header:()=>AT,Overlay:()=>p9,Row:()=>m9,Title:()=>FT});Wy();const{deprecate:xT}=__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=Tl);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!=="");xT(`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(DT,{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 DT=F("button",{shouldForwardProp:u(e=>ep(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):r4(.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):r4(.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 d9=sr({from:{opacity:0},to:{opacity:1}}),CT=sr({from:{maxHeight:0},to:{}}),ST=sr({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),p9=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${d9} 200ms`}),f9=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:`${ST} 200ms`,"&:focus-visible":{outline:"none"}})),h9=u(e=>y.createElement(u9,{asChild:!0},y.createElement(sn,{...e},y.createElement(Z8,null))),"CloseButton"),kT=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),m9=F.div({display:"flex",justifyContent:"space-between",gap:16}),g9=F.div({display:"flex",flexDirection:"column",gap:4}),AT=u(e=>y.createElement(m9,null,y.createElement(g9,{...e}),y.createElement(h9,null)),"Header"),FT=F(l9)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),_T=F(s9)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),RT=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),v9=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${CT} 300ms, ${d9} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),IT=u(({children:e,...t})=>y.createElement(v9,{...t},y.createElement("div",null,e)),"Error");function y9({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=u(c=>c.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(n9,{...s},y.createElement(a9,{container:i},y.createElement(o9,{asChild:!0},y.createElement(p9,null)),y.createElement(i9,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(f9,{className:o,width:t,height:r},e))))}u(y9,"BaseModal");var SV=Object.assign(y9,c9,{Dialog:X8}),BT=u(e=>typeof e=="number"?e:Number(e),"toNumber"),TT=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${ad}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${ad}`]:{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{}}}),kV=u(({col:e,row:t,outer:r,children:n,...a})=>{let o=BT(typeof r=="number"||!r?r:e||t);return y.createElement(TT,{col:e,row:t,outer:o,...a},n)},"Spaced"),zT=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),LT=F.div(),OT=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),AV=u(({children:e,...t})=>{let[r,n]=l.Children.toArray(e);return y.createElement(OT,{...t},y.createElement(zT,null,r),n&&y.createElement(LT,null,n))},"Placeholder");Ap();function b9(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(b9,"useResolvedElement");function I1(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(I1,"extractSize");function Gf(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=b9(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=I1(f,v,"inlineSize"),w=I1(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(Gf,"useResizeObserver");var MT=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function w9({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]),Gf({ref:r,onResize:o}),y.createElement(MT,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}u(w9,"ZoomElement");var E9=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(E9,"ZoomIFrame");var PT=E9,$T={Element:w9,IFrame:PT};gp();var{document:NT}=ks,HT=F.strong(({theme:e})=>({color:e.color.orange})),jT=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),c4=F.em(({theme:e})=>({color:e.textMutedColor})),VT=/(Error): (.*)\n/,UT=/at (?:(.*) )?\(?(.+)\)?/,qT=/([^@]+)?(?:\/<)?@(.+)?/,WT=/([^@]+)?@(.+)?/,GT=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(VT);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(UT)||s.match(qT)||s.match(WT);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(NT.location.origin,"")}:null}).filter(Boolean);return y.createElement(l.Fragment,null,y.createElement("span",null,n),": ",y.createElement(HT,null,a),y.createElement("br",null),i.map((s,c)=>s!=null&&s.name?y.createElement(l.Fragment,{key:c}," ","at ",y.createElement(jT,null,s.name)," (",y.createElement(c4,null,s.location),")",y.createElement("br",null)):y.createElement(l.Fragment,{key:c}," ","at ",y.createElement(c4,null,s==null?void 0:s.location),y.createElement("br",null))))},"ErrorFormatter"),YT=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),KT=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),ZT=u(({label:e,children:t,...r})=>y.createElement(YT,{...r},e?y.createElement(KT,null,y.createElement("span",null,e)):null,t),"Field");yt();vp();var JT=l.useLayoutEffect,XT=JT,QT=u(function(e){var t=l.useRef(e);return XT(function(){t.current=e}),t},"useLatest"),d4=u(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),ez=u(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&d4(r.current,null),r.current=t,t&&d4(t,n)},[t])},"useComposedRef"),tz=ez,p4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},rz=u(function(e){Object.keys(p4).forEach(function(t){e.style.setProperty(t,p4[t],"important")})},"forceHiddenStyles"),f4=rz,Ie=null,h4=u(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function x9(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"),f4(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]}),f4(Ie),Ie.value=t;var c=h4(Ie,e);Ie.value=t,c=h4(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(x9,"calculateNodeHeight");var m4=u(function(){},"noop"),nz=u(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),az=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],oz=!!document.documentElement.currentStyle,iz=u(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=nz(az,t),n=r.boxSizing;if(n==="")return null;oz&&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"),lz=iz;function Yf(e,t,r){var n=QT(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(Yf,"useListener");var sz=u(function(e){Yf(window,"resize",e)},"useWindowResizeListener"),uz=u(function(e){Yf(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),cz=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],dz=u(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?m4:o,s=e.onHeightChange,c=s===void 0?m4:s,d=Fs(e,cz),p=d.value!==void 0,m=l.useRef(null),h=tz(m,t),f=l.useRef(0),v=l.useRef(),g=u(function(){var x=m.current,D=r&&v.current?v.current:lz(x);if(D){v.current=D;var E=x9(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),sz(g),uz(g),l.createElement("textarea",X({},d,{onChange:w,ref:h}))},"TextareaAutosize"),pz=l.forwardRef(dz),fz={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Kf=u(({theme:e})=>({...fz,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"),Zf=u(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),D9=u(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),Jf=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"),hz=Object.assign(F(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement("input",{...n,ref:a})},"Input")))(Kf,Zf,D9,Jf,{minHeight:32}),{displayName:"Input"}),mz=Object.assign(F(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement("select",{...n,ref:a})},"Select")))(Kf,Zf,Jf,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),gz=Object.assign(F(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement(pz,{...n,ref:a})},"Textarea")))(Kf,Zf,D9,Jf,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),bi=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:ZT,Input:hz,Select:mz,Textarea:gz,Button:Sn}),vz=l.lazy(()=>Promise.resolve().then(()=>(Pf(),Mf)).then(e=>({default:e.WithTooltip}))),_V=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(vz,{...e})),"WithTooltip"),yz=l.lazy(()=>Promise.resolve().then(()=>(Pf(),Mf)).then(e=>({default:e.WithTooltipPure}))),bz=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(yz,{...e})),"WithTooltipPure"),wz=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Ez=F.span(),xz=F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),Dz=F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),Cz=F.div({padding:15,width:280,boxSizing:"border-box"}),RV=u(({title:e,desc:t,links:r})=>y.createElement(Cz,null,y.createElement(Dz,null,e&&y.createElement(wz,null,e),t&&y.createElement(Ez,null,t)),r&&y.createElement(xz,null,r.map(({title:n,...a})=>y.createElement(oa,{...a,key:n},n)))),"TooltipMessage"),Sz=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})),IV=u(({note:e,...t})=>y.createElement(Sz,{...t},e),"TooltipNote"),kz=De(As(),1),Az=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)}:{}),Fz=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),_z=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),Rz=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}:{}),Iz=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),Bz=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"}),Tz=(0,kz.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),zz=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=Tz(c,s,p);return y.createElement(Bz,{...m,...h,...f},y.createElement(y.Fragment,null,d&&y.createElement(Iz,{...h},d),t||r?y.createElement(_z,{isIndented:!!(!d&&i)},t&&y.createElement(Az,{...h,loading:e},t),r&&y.createElement(Rz,{...h},r)):null,n&&y.createElement(Fz,{...h},n)))},"ListItem"),Lz=zz,Oz=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),Mz=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(Lz,{id:`list-item-${e}`,...r,...t&&{onClick:s}})},"Item"),Pz=u(({links:e,LinkWrapper:t,...r})=>{let n=e.some(a=>a.icon);return y.createElement(Oz,{...r},e.map(a=>y.createElement(Mz,{key:a.id,isIndented:n,LinkWrapper:t,...a})))},"TooltipLinkList");Ap();var B1=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}}:{});B1.displayName="Side";var $z=u(({children:e,className:t,scrollable:r})=>r?y.createElement(Ll,{vertical:!1,className:t},e):y.createElement("div",{className:t},e),"UnstyledBar"),C9=F($z)(({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}:{});C9.displayName="Bar";var Nz=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Xf=u(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return y.createElement(C9,{className:`sb-bar ${r}`,...n},y.createElement(Nz,{bgColor:t},y.createElement(B1,{scrollable:n.scrollable,left:!0},a),o?y.createElement(B1,{right:!0},o):null))},"FlexBar");Xf.displayName="FlexBar";var Hz=u(e=>typeof e.props.href=="string","isLink"),jz=u(e=>typeof e.props.href!="string","isButton");function S9({children:e,...t},r){let n={props:t,ref:r};if(Hz(n))return y.createElement("a",{ref:n.ref,...n.props},e);if(jz(n))return y.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}u(S9,"ForwardRefFunction");var k9=l.forwardRef(S9);k9.displayName="ButtonOrLink";var du=F(k9,{shouldForwardProp:ep})({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}});du.displayName="TabButton";var Vz=F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Uz=F.div(()=>({marginTop:6,padding:7,height:28})),BV=u(()=>y.createElement(Uz,null,y.createElement(Vz,null)),"IconButtonSkeleton"),qz=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),Wz=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),Gz=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),Yz=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),A9=u(({title:e,description:t,footer:r})=>y.createElement(qz,null,y.createElement(Wz,null,y.createElement(Gz,null,e),t&&y.createElement(Yz,null,t)),r),"EmptyTabContent"),F9=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),Kz=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(F9,{active:i,role:"tabpanel"},o)}}),"childrenToList");Pf();var Zz=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"})),Jz=F(du)(({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 _9(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=Gf({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(us,{interactive:!0,visible:g,onVisibleChange:w,placement:"bottom",delayHide:100,tooltip:y.createElement(Pz,{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(Jz,{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(Zz,{className:"addon-collapsible-icon",isActive:v||g}))),s.map(({title:x,id:D,color:E},b)=>{let C=`index-${b}`;return y.createElement(du,{id:`tabbutton-${Z4(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(_9,"useList");var Xz="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Qz=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"}),R9=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});R9.displayName="TabBar";var eL=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${Xz}`]:{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"}}:{}),TV=u(({active:e,render:t,children:r})=>y.createElement(F9,{active:e},t?t():r),"TabWrapper"),I9=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(()=>Kz(e).map((x,D)=>({...x,active:t?x.id===t:D===0})),[e,t]),{visibleList:h,tabBarRef:f,tabRefs:v,AddonTab:g}=_9(m),w=d??y.createElement(A9,{title:"Nothing found"});return!p&&m.length===0?w:y.createElement(Qz,{absolute:n,bordered:a,id:s},y.createElement(Xf,{scrollable:!1,border:!0,backgroundColor:i},y.createElement(R9,{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(du,{id:`tabbutton-${Z4(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(eL,{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))});I9.displayName="Tabs";var T1=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(I9,{bordered:t,absolute:r,selected:i,backgroundColor:a,menuName:o,actions:this.handlers},n)}};u(T1,"TabsState"),T1.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var tL=T1,B9=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});B9.displayName="Separator";var LV=u(e=>e.reduce((t,r,n)=>r?y.createElement(l.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?y.createElement(B9,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),rL=u(e=>{let t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),nL=u((e,t)=>{let r=rL(t);return e?t:r},"useUpdate"),OV=u(({active:e,children:t})=>y.createElement("div",{hidden:!e},nL(e,t)),"AddonPanel");const{deprecate:aL,logger:oL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var iL=Y8,lL=F.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,MV=u(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||aL(`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=z1[e]||null;if(!a)return oL.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=iL[a];return y.createElement(o,{...n})},"Icons"),PV=l.memo(u(function({icons:e=Object.keys(z1)}){return y.createElement(lL,{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},z1[t])))},"Symbols")),z1={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"},$V=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"),NV=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"),sL=sr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,uL=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:`${sL} 0.7s linear infinite`,mixBlendMode:"difference"})),g4=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),cL=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"})),dL=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),v4=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),pL=F(K8)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),fL=sr` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,hL=F.span({"&::after":{content:"'...'",animation:`${fL} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),mL=u(({progress:e,error:t,size:r,...n})=>{if(t)return y.createElement(g4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},y.createElement(pL,null),y.createElement(v4,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),y.createElement(g4,{"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(cL,null,y.createElement(dL,{style:{width:`${a*100}%`}})),y.createElement(v4,null,i,a<1&&y.createElement(hL,{key:i})))}return y.createElement(uL,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function T9(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...T9(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref"),vL=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: ${zt.fonts.mono}; + font-size: ${zt.size.s2-1}px; +`,HV=u(({code:e,...t})=>y.createElement(vL,{id:"clipboard-code",...t},e),"ClipboardCode"),yL=G8,bL={};Object.keys(G8).forEach(e=>{bL[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});var 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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),L1=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}))),jV=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}))),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:"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}))),AL=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}))),FL=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}))),_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:"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}))),RL=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}))),IL=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}))),z9=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}))),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:"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:TL,once:zL,logger:Qf}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:y4,composeConfigs:VV,Preview:UV,DocsContext:qV}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:b4,UPDATE_STORY_ARGS:LL,RESET_STORY_ARGS:OL,GLOBALS_UPDATED:w4,NAVIGATE_URL:ML}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var L9=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 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}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};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)})}}),PL=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}}}),$L=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}}}}),NL=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}}}}),HL=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)}}}}),jL=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 E4={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 JL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return E4[t]?"#"+E4[t]:e}var XL=/^#[a-fA-F0-9]{6}$/,QL=/^#[a-fA-F0-9]{8}$/,eO=/^#[a-fA-F0-9]{3}$/,tO=/^#[a-fA-F0-9]{4}$/,V0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rO=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,nO=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,aO=/^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 pu(e){if(typeof e!="string")throw new Ot(3);var t=JL(e);if(t.match(XL))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(QL)){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(eO))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(tO)){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=V0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=rO.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=nO.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=V0.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=aO.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=V0.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)}function oO(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?fs(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?fs(e.hue,e.saturation,e.lightness):"rgba("+Go(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ot(2)}function $1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return P1("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return P1("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new Ot(6)}function nr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=pu(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?$1(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?$1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ot(7)}var cO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},dO=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},pO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},fO=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function P9(e){if(typeof e!="object")throw new Ot(8);if(dO(e))return nr(e);if(cO(e))return $1(e);if(fO(e))return uO(e);if(pO(e))return sO(e);throw new Ot(8)}function $9(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):$9(e,t,n)}}function fu(e){return $9(e,e.length,[])}function hu(e,t,r){return Math.max(e,Math.min(t,r))}function hO(e,t){if(t==="transparent")return t;var r=M9(t);return P9(Ca({},r,{lightness:hu(0,1,r.lightness-parseFloat(e))}))}var mO=fu(hO),Rt=mO;function gO(e,t){if(t==="transparent")return t;var r=M9(t);return P9(Ca({},r,{lightness:hu(0,1,r.lightness+parseFloat(e))}))}var vO=fu(gO),Kr=vO;function yO(e,t){if(t==="transparent")return t;var r=pu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:hu(0,1,(n*100+parseFloat(e)*100)/100)});return nr(a)}var bO=fu(yO),Ji=bO;function wO(e,t){if(t==="transparent")return t;var r=pu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ca({},r,{alpha:hu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return nr(a)}var EO=fu(wO),oe=EO,xO=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})),N9=e=>y.createElement(xO,{...e,className:"docblock-emptyblock sb-unstyled"}),DO=F(Vf)(({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"}})),CO=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"})),Xi=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${ad}`]:{margin:0}})),SO=()=>y.createElement(CO,null,y.createElement(Xi,null),y.createElement(Xi,{style:{width:"80%"}}),y.createElement(Xi,{style:{width:"30%"}}),y.createElement(Xi,{style:{width:"80%"}})),H9=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=C3();if(e)return y.createElement(SO,null);if(t)return y.createElement(N9,null,t);let c=y.createElement(DO,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?rd.dark:rd.light;return y.createElement(S3,{theme:nd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,eh=600,kO=F.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${eh}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),AO=F.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${eh}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),FO=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"}}}),_O=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: ${eh}px)`]:{}})),RO=({children:e,toc:t})=>y.createElement(_O,{className:"sbdocs sbdocs-wrapper"},y.createElement(FO,{className:"sbdocs sbdocs-content"},e),t),mu=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:IO}=globalThis,BO=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=IO.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})}},j9=l.createContext({scale:1}),{PREVIEW_URL:TO}=globalThis,zO=TO||"iframe.html",N1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,LO=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(GT,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${N1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(V9,null),y.createElement("div",{ref:t,id:`${N1(e)}-inner`,"data-name":i.name}))},OO=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(j9.Consumer,null,({scale:r})=>y.createElement(BO,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:gL(zO,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),MO=F.strong(({theme:e})=>({color:e.color.orange})),PO=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(MO,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:N1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(LO,{...e}):y.createElement(OO,{...e}))},V9=()=>y.createElement(mL,null),$O=F(Xf)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),NO=F.div({display:"flex",alignItems:"center",gap:4}),HO=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`})),jO=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement($O,{...o},y.createElement(NO,{key:"left"},e?[1,2,3].map(i=>y.createElement(HO,{key:i})):y.createElement(y.Fragment,null,y.createElement(sn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(wL,null)),y.createElement(sn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(EL,null)),y.createElement(sn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(xL,null))))),VO=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)`}}:{}),x4=F(H9)(({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)":Rt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Rt(.05,e.background.content)}})),UO=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...mu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),qO=(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(x4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(x4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function WO(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var GO=F(jO)({position:"absolute",top:0,left:0,right:0,height:40}),YO=F.div({overflow:"hidden",position:"relative"}),U9=({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}=qO(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 K1(()=>import("./index-BSItYkoT.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(UO,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&y.createElement(GO,{isLoading:e,border:!0,zoom:_=>w(g*_),resetZoom:()=>w(1),storyId:WO(n),baseUrl:"./iframe.html"}),y.createElement(j9.Provider,{value:{scale:g}},y.createElement(YO,{className:"docs-story",onCopyCapture:a&&A},y.createElement(VO,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement($T.Element,{scale:g},Array.isArray(n)?n.map((_,I)=>y.createElement("div",{key:I},_)):y.createElement("div",null,n))),y.createElement(Sp,{actionItems:C}))),a&&m&&f)};F(U9)(()=>({".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"}),k4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},ZO=["style","script"],JO=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,XO=/mailto:/i,QO=/\n{2,}$/,q9=/^(\s*>[\s\S]*?)(?=\n{2,})/,eM=/^ *> ?/gm,tM=/^ {2,}\n/,rM=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,W9=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,G9=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,nM=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,aM=/^(?:\n *)*\n/,oM=/\r\n?/g,iM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,lM=/^\[\^([^\]]+)]/,sM=/\f/g,uM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,cM=/^\s*?\[(x|\s)\]/,Y9=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,K9=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Z9=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,H1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,dM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,J9=/^)/,pM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,j1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,fM=/^\{.*\}$/,hM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,mM=/^<([^ >]+@[^ >]+)>/,gM=/^<([^ >]+:\/[^ >]+)>/,vM=/-([a-z])?/gi,X9=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,yM=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,bM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,wM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,EM=/(\[|\])/g,xM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,DM=/\t/g,CM=/^ *\| */,SM=/(^ *\||\| *$)/g,kM=/ *$/,AM=/^ *:-+: *$/,FM=/^ *:-+ *$/,_M=/^ *-+: *$/,gu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",RM=new RegExp(`^([*_])\\1${gu}\\1\\1(?!\\1)`),IM=new RegExp(`^([*_])${gu}\\1(?!\\1|\\w)`),BM=new RegExp(`^==${gu}==`),TM=new RegExp(`^~~${gu}~~`),zM=/^\\([^0-9A-Za-z\s])/,LM=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,OM=/^\n+/,MM=/^([ \t]*)/,PM=/\\([^\\])/g,A4=/ *\n+$/,$M=/(?:^|\n)( *)$/,th="(?:\\d+\\.)",rh="(?:[*+-])";function Q9(e){return"( *)("+(e===1?th:rh)+") +"}var ex=Q9(1),tx=Q9(2);function rx(e){return new RegExp("^"+(e===1?ex:tx))}var NM=rx(1),HM=rx(2);function nx(e){return new RegExp("^"+(e===1?ex:tx)+"[^\\n]*(?:\\n(?!\\1"+(e===1?th:rh)+" )[^\\n]*)*(\\n|$)","gm")}var ax=nx(1),ox=nx(2);function ix(e){let t=e===1?th:rh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var lx=ix(1),sx=ix(2);function F4(e,t){let r=t===1,n=r?lx:sx,a=r?ax:ox,o=r?NM:HM;return{match(i,s,c){let d=$M.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(QO,` +`).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(A4,` + +`)):(c.inline=!0,C=w.replace(A4,""));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 jM=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),VM=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ux=[q9,W9,G9,Y9,Z9,K9,J9,X9,ax,lx,ox,sx],UM=[...ux,/^[^\n]+(?: \n|\n{2,})/,H1,j1];function qM(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 WM(e){return _M.test(e)?"right":AM.test(e)?"center":FM.test(e)?"left":null}function _4(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(kM,"")),o[o.length-1].push(i))}),o}function GM(e,t,r){r.inline=!0;let n=_4(e[1],t,r),a=e[2].replace(SM,"").split("|").map(WM),o=function(i,s,c){return i.trim().split(` +`).map(function(d){return _4(d,s,c)})}(e[3],t,r);return r.inline=!1,{align:a,cells:o,header:n,type:"25"}}function R4(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 YM(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!ux.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 I4(e){return e.replace(PM,"$1")}function xl(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 KM(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 ZM(e,t,r){return r.inline=!1,e(t,r)}var q0=(e,t,r)=>({children:xl(t,e[1],r)});function W0(){return{}}function G0(){return null}function JM(...e){return e.filter(Boolean).join(" ")}function Y0(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 XM(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||qM,t.namedCodesToUnicode=t.namedCodesToUnicode?Jr({},k4,t.namedCodesToUnicode):k4;let r=t.createElement||l.createElement;function n(f,v,...g){let w=Y0(t.overrides,`${f}.props`,{});return r(function(x,D){let E=Y0(D,x);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:Y0(D,`${x}.component`,x):x}(f,t.overrides),Jr({},v,w,{className:JM(v==null?void 0:v.className,w.className)||void 0}),...g)}function a(f){f=f.replace(uM,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=xM.test(f)===!1);let g=p(d(v?f:`${f.trimEnd().replace(OM,"")} + +`,{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(JO);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(pM)===null&&(k=k.replace(vM,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=S4[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(fM)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(E,b);typeof S=="string"&&(H1.test(S)||j1.test(S))&&(g[C]=l.cloneElement(a(S.trim()),{key:x}))}else w!=="style"&&(g[S4[w]||w]=!0);return g},{}):null}let i=[],s={},c={0:{match:er(q9),order:1,parse:(f,v,g)=>({children:v(f[0].replace(eM,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:no(tM),order:1,parse:W0,render:(f,v,g)=>n("br",{key:g.key})},2:{match:er(rM),order:1,parse:W0,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:er(G9),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(W9),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:fr(nM),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:er(iM),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:G0},7:{match:pr(lM),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(cM),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?K9:Y9),order:1,parse:(f,v,g)=>({children:xl(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(Z9),order:0,parse:(f,v,g)=>({children:xl(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:no(H1),order:1,parse(f,v,g){let[,w]=f[3].match(MM),x=new RegExp(`^${w}`,"gm"),D=f[3].replace(x,""),E=(b=D,UM.some(A=>A.test(b))?ZM:xl);var b;let C=f[1].toLowerCase(),S=ZO.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(j1),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(J9),order:1,parse:()=>({}),render:G0},14:{match:fr(VM),order:1,parse:f=>({alt:f[1],target:I4(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(jM),order:3,parse:(f,v,g)=>({children:KM(v,f[1],g),target:I4(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(gM),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:pr(hM)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:pr(mM),order:0,parse(f){let v=f[1],g=f[1];return XO.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:F4(n,1),33:F4(n,2),19:{match:er(aM),order:3,parse:W0,render:()=>` +`},21:{match:YM,order:3,parse:q0,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:pr(yM),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:G0},23:{match:fr(bM),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(wM),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(EM,"\\$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(X9),order:1,parse:GM,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:R4(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:R4(f,E)},v(D,g))}))})))},26:{match:function(f,v){return v.inTable?(v.inline=!0,CM.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:no(LM),order:4,parse:f=>({text:f[0].replace(dM,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:fr(RM),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(IM),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(zM),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:fr(BM),order:3,parse:q0,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:fr(TM),order:3,parse:q0,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,KO);return l.cloneElement(XM(t,r),n)},QM=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:`${Ji(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Ji(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Ji(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"?`${Ji(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),eP=e=>e==="true",tP=({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:ms(e),onClick:i,disabled:s},"Set boolean");let c=vt(e),d=typeof t=="string"?eP(t):t;return y.createElement(QM,{"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"))},rP=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},nP=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},aP=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}`},oP=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},B4=F(bi.Input)(({readOnly:e})=>({opacity:e?.5:1})),iP=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}})),lP=({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?aP(t):""),d&&d.current&&(d.current.value=t?oP(t):""))},[t]);let m=g=>{if(!g.target.value)return r();let w=rP(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=nP(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(iP,null,y.createElement(B4,{type:"date",max:"9999-12-31",ref:c,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:m,onFocus:n,onBlur:a}),y.createElement(B4,{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"))},sP=F.label({display:"flex"}),uP=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},cP=F(bi.Input)(({readOnly:e})=>({opacity:e?.5:1})),dP=({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:ms(e),onClick:x,disabled:g},"Set number"):y.createElement(sP,null,y.createElement(cP,{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}))},dx=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},V1=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],px=(e,t)=>e&&t&&e.map(r=>t[r]),pP=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"}}}),fP=F.span({"[aria-readonly=true] &":{opacity:.5}}),hP=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),T4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var h;if(!t)return Qf.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=V1(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(px(g,t)),c(g)};l.useEffect(()=>{c(V1(r,t))},[r]);let m=vt(e);return y.createElement(pP,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${m}-${v}`;return y.createElement(hP,{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(fP,null,f))}))},mP=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"}}}),gP=F.span({"[aria-readonly=true] &":{opacity:.5}}),vP=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),z4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Qf.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=dx(r,t),s=vt(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(mP,{"aria-readonly":c,isInline:a},Object.keys(t).map((p,m)=>{let h=`${s}-${m}`;return y.createElement(vP,{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(gP,null,p))}))},yP={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},fx=F.select(yP,({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}}})),hx=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}}})),L4="Choose option...",bP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=dx(t,r)||L4,s=vt(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(hx,null,y.createElement(z9,null),y.createElement(fx,{disabled:c,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},L4),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},wP=({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(px(m,r))},i=V1(t,r),s=vt(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(hx,null,y.createElement(fx,{disabled:c,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},O4=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(wP,{...e}):y.createElement(bP,{...e}):(Qf.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},EP=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,xP={check:T4,"inline-check":T4,radio:z4,"inline-radio":z4,select:O4,"multi-select":O4},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?EP(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=xP[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},DP="Error",CP="Object",SP="Array",kP="String",AP="Number",FP="Boolean",_P="Date",RP="Null",IP="Undefined",BP="Function",TP="Symbol",mx="ADD_DELTA_TYPE",gx="REMOVE_DELTA_TYPE",vx="UPDATE_DELTA_TYPE",nh="value",zP="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 yx(e,t){let r=nn(e),n=nn(t);return(r==="Function"||n==="Function")&&n!==r}var ah=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(nh,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let h=a(zP,o,i);m=l.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},m,p,c,s)}};ah.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var bx=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:gx};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:mx,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:vx,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(vu,{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(ah,{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)}};bx.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var wx=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(()=>{yx(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(nh,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)}};wx.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var vu=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 DP:return y.createElement(U1,{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 CP:return y.createElement(U1,{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 SP:return y.createElement(bx,{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 kP: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 AP: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 FP: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 _P: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 RP: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 IP: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 BP:return y.createElement(wx,{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 TP: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}}};vu.defaultProps={keyPath:[],deep:0};var U1=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:mx,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:gx};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:vx,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(vu,{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(ah,{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)}};U1.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(()=>{yx(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(nh,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 LP(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var OP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},MP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},PP={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},Ex=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(vu,{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}};Ex.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return OP;case"Array":return MP;default:return PP}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>LP(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:$P}=globalThis,NP=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}})),K0=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})),HP=F(kL)(({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}})),jP=F(AL)(({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}})),M4=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}`}})),VP=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}})),UP=F(bi.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"}})),qP={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},WP=e=>{e.currentTarget.dispatchEvent(new $P.KeyboardEvent("keydown",qP))},GP=e=>{e.currentTarget.select()},YP=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),P4=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=C3(),o=l.useMemo(()=>t&&cD(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:ms(e),onClick:g},"Set object");let x=y.createElement(UP,{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(NP,{"aria-readonly":m},D&&y.createElement(VP,{onClick:b=>{b.preventDefault(),c(C=>!C)}},s?y.createElement(CL,null):y.createElement(DL,null),y.createElement("span",null,"RAW")),s?x:y.createElement(Ex,{readOnly:m||!D,isCollapsed:D?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:YP(a),cancelButtonElement:y.createElement(K0,{type:"button"},"Cancel"),editButtonElement:y.createElement(K0,{type:"submit"},"Save"),addButtonElement:y.createElement(K0,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(HP,null),minusMenuElement:y.createElement(jP,null),inputElement:(b,C,S,k)=>k?y.createElement(M4,{onFocus:GP,onBlur:WP}):y.createElement(M4,null),fallback:x}))},KP=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}%, + ${Rt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Rt(.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:`${Rt(.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}%, + ${Rt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Rt(.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:`${Rt(.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}%, + ${Rt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Rt(.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"}}})),xx=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),ZP=F(xx)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),JP=F.div({display:"flex",alignItems:"center",width:"100%"});function XP(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 QP=({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(uP(v.target.value))},p=t!==void 0,m=l.useMemo(()=>XP(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return y.createElement(JP,{"aria-readonly":h},y.createElement(xx,null,n),y.createElement(KP,{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(ZP,{numberOFDecimalsPlaces:m,max:a},p?t.toFixed(m):"--"," / ",a))},e$=F.label({display:"flex"}),t$=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),r$=({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:ms(e),onClick:m},"Set string");let h=typeof t=="string";return y.createElement(e$,null,y.createElement(bi.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(t$,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},n$=F(bi.Input)({padding:10});function a$(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var o$=({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),a$(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(n$,{ref:o,id:vt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},i$=l.lazy(()=>K1(()=>import("./Color-F6OSRLHC-B6OG_bnN.js"),__vite__mapDeps([8,2,3,1,4,5,6,7]),import.meta.url)),l$=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(i$,{...e})),s$={array:P4,object:P4,boolean:tP,color:l$,date:lP,number:dP,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:QP,text:r$,file:o$},$4=()=>y.createElement(y.Fragment,null,"-"),u$=({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($4,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:m,onFocus:h},v=s$[o.type]||$4;return y.createElement(v,{...f,...o,controlType:o.type})},c$=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}}})),d$=({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(c$,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)))))},p$=Z1(L9()),q1=8,N4=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),f$=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}})),h$=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),m$=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"})),g$=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"}})),v$=F(IL)({marginLeft:4}),y$=F(z9)({marginLeft:4}),b$=()=>y.createElement("span",null,"-"),Dx=({text:e,simple:t})=>y.createElement(f$,{simple:t},e),w$=(0,p$.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),E$=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return rD(t)},H4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,q1)),r.map(n=>y.createElement(Dx,{key:n,text:n===""?'""':n}))},x$=({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(Dx,{text:c});let d=E$(c),p=d.length;return p>q1?y.createElement(N4,{isExpanded:i},H4(d,i),y.createElement(h$,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-q1} more...`)):y.createElement(N4,null,H4(d))}return y.createElement(bz,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(g$,{width:w$(n)},y.createElement(Vf,{language:"jsx",format:!1},n))},y.createElement(m$,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(v$,null):y.createElement(y$,null)))},Z0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(b$,null):y.createElement(x$,{value:e,initialExpandedArgs:t}),D$=F.span({fontWeight:"bold"}),C$=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),S$=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"}})),k$=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),A$=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})),F$=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),_$=e=>e&&{summary:typeof e=="string"?e:e.name},Qi=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||_$(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(F$,{expandable:i},y.createElement(D$,null,c),f?y.createElement(C$,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(S$,null,y.createElement(cx,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(A$,{hasDescription:v},y.createElement(Z0,{value:m,initialExpandedArgs:s})),y.createElement(d$,{tags:p.jsDocTags})):y.createElement(k$,{hasDescription:v},y.createElement(Z0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(Z0,{value:h,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(u$,{...e,isHovered:t})):null)},R$=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"})),I$=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),B$=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),T$=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(R$,{inAddonPanel:e},y.createElement(A9,{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(I$,null,e&&y.createElement(y.Fragment,null,y.createElement(oa,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(SL,null)," Watch 5m video"),y.createElement(B$,null),y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(L1,null)," Read docs")),!e&&y.createElement(oa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(L1,null)," Learn how to set that up"))}))},z$=F(_L)(({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"})),L$=F(RL)(({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"})),O$=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),M$=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`}})),P$=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),$$=F.td(()=>({position:"relative"})),N$=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"}})),j4=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"})),J0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?P$:M$,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(N$,{title:p},y.createElement(s,{colSpan:1},y.createElement(j4,{onClick:m=>i(!o),tabIndex:0},p),y.createElement(O$,null,o?y.createElement(z$,null):y.createElement(L$,null),t)),y.createElement($$,{colSpan:a-1},y.createElement(j4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},el=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],H$=()=>y.createElement(y.Fragment,null,y.createElement(el,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(el,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(el,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(el,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%"})))),j$=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}}}}})),V$=F(sn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),U$=F.span({display:"flex",justifyContent:"space-between"}),q$={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},W$=(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=q$[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)}}),{})}},G$=(e,t,r)=>{try{return Yx(e,t,r)}catch(n){return zL.warn(n.message),!1}},W1=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(N9,null,D," ",y.createElement(oa,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(L1,null)," Read the docs"))}if(s)return y.createElement(H$,null);let{rows:c,args:d,globals:p}="rows"in e&&e,m=W$(nD(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&G$(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(T$,{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(V8,null,y.createElement(j$,{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(U$,null,"Control"," ",!s&&r&&y.createElement(V$,{onClick:()=>r(),title:"Reset controls"},y.createElement(BL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(D=>y.createElement(Qi,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(m.ungroupedSubsections).map(([D,E])=>y.createElement(J0,{key:D,label:D,level:"subsection",colSpan:g},E.map(b=>y.createElement(Qi,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(m.sections).map(([D,E])=>y.createElement(J0,{key:D,label:D,level:"section",colSpan:g},E.ungrouped.map(b=>y.createElement(Qi,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>y.createElement(J0,{key:b,label:b,level:"subsection",colSpan:g},C.map(S=>y.createElement(Qi,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},Y$=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(W1,{...r[0][1],...t}):y.createElement(tL,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(W1,{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})=>({...mu(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})=>({...mu(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})=>({...mu(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 K$=e=>`anchor--${e}`,Z$=({storyId:e,children:t})=>y.createElement("div",{id:K$(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Yt=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(Yt).resolveOf(e,t),J$=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),X$=e=>{if(e)return typeof e=="string"?e.includes("-")?J$(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function Q$(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var eN=Object.create,Cx=Object.defineProperty,tN=Object.getOwnPropertyDescriptor,Sx=Object.getOwnPropertyNames,rN=Object.getPrototypeOf,nN=Object.prototype.hasOwnProperty,et=(e,t)=>function(){return t||(0,e[Sx(e)[0]])((t={exports:{}}).exports,t),t.exports},aN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Sx(t))!nN.call(e,a)&&a!==r&&Cx(e,a,{get:()=>t[a],enumerable:!(n=tN(t,a))||n.enumerable});return e},oh=(e,t,r)=>(r=e!=null?eN(rN(e)):{},aN(!e||!e.__esModule?Cx(r,"default",{value:e,enumerable:!0}):r,e)),oN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],iN=["detail"];function lN(e){let t=oN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&iN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var sN=Z1(L9(),1),kx=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}}}),Ax=et({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=kx();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),uN=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=ih(),D=cN(),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}}}),dN=et({"node_modules/call-bind/index.js"(e,t){var r=ih(),n=Fx(),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}}),pN=et({"node_modules/call-bind/callBound.js"(e,t){var r=Fx(),n=dN(),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}}}),fN=et({"node_modules/has-tostringtag/shams.js"(e,t){var r=kx();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),hN=et({"node_modules/is-regex/index.js"(e,t){var r=pN(),n=fN()(),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}}}),mN=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)}}}),gN=et({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Ax()();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}}),vN=oh(hN()),yN=oh(mN()),bN=oh(gN());function wN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var EN=typeof global=="object"&&global&&global.Object===Object&&global,xN=EN,DN=typeof self=="object"&&self&&self.Object===Object&&self,CN=xN||DN||Function("return this")(),lh=CN,SN=lh.Symbol,Sa=SN,_x=Object.prototype,kN=_x.hasOwnProperty,AN=_x.toString,ao=Sa?Sa.toStringTag:void 0;function FN(e){var t=kN.call(e,ao),r=e[ao];try{e[ao]=void 0;var n=!0}catch{}var a=AN.call(e);return n&&(t?e[ao]=r:delete e[ao]),a}var _N=FN,RN=Object.prototype,IN=RN.toString;function BN(e){return IN.call(e)}var TN=BN,zN="[object Null]",LN="[object Undefined]",V4=Sa?Sa.toStringTag:void 0;function ON(e){return e==null?e===void 0?LN:zN:V4&&V4 in Object(e)?_N(e):TN(e)}var MN=ON,U4=Sa?Sa.prototype:void 0;U4&&U4.toString;function PN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Rx=PN,$N="[object AsyncFunction]",NN="[object Function]",HN="[object GeneratorFunction]",jN="[object Proxy]";function VN(e){if(!Rx(e))return!1;var t=MN(e);return t==NN||t==HN||t==$N||t==jN}var UN=VN,qN=lh["__core-js_shared__"],X0=qN,q4=function(){var e=/[^.]+$/.exec(X0&&X0.keys&&X0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function WN(e){return!!q4&&q4 in e}var GN=WN,YN=Function.prototype,KN=YN.toString;function ZN(e){if(e!=null){try{return KN.call(e)}catch{}try{return e+""}catch{}}return""}var JN=ZN,XN=/[\\^$.*+?()[\]{}|]/g,QN=/^\[object .+?Constructor\]$/,eH=Function.prototype,tH=Object.prototype,rH=eH.toString,nH=tH.hasOwnProperty,aH=RegExp("^"+rH.call(nH).replace(XN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oH(e){if(!Rx(e)||GN(e))return!1;var t=UN(e)?aH:QN;return t.test(JN(e))}var iH=oH;function lH(e,t){return e==null?void 0:e[t]}var sH=lH;function uH(e,t){var r=sH(e,t);return iH(r)?r:void 0}var Ix=uH;function cH(e,t){return e===t||e!==e&&t!==t}var dH=cH,pH=Ix(Object,"create"),Yo=pH;function fH(){this.__data__=Yo?Yo(null):{},this.size=0}var hH=fH;function mH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gH=mH,vH="__lodash_hash_undefined__",yH=Object.prototype,bH=yH.hasOwnProperty;function wH(e){var t=this.__data__;if(Yo){var r=t[e];return r===vH?void 0:r}return bH.call(t,e)?t[e]:void 0}var EH=wH,xH=Object.prototype,DH=xH.hasOwnProperty;function CH(e){var t=this.__data__;return Yo?t[e]!==void 0:DH.call(t,e)}var SH=CH,kH="__lodash_hash_undefined__";function AH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Yo&&t===void 0?kH:t,this}var FH=AH;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var $H=PH;function NH(e,t){var r=this.__data__,n=yu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var HH=NH;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;ipj(e).replace(/\n\s*/g,"").trim()),hj=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},mj=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Tx(e){if(!dj(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=lN(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 gj=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 mj.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,vN.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,yN.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}|${fj(hj(o,p))}`}if((0,bN.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:Tx(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}}},vj={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},yj=(e,t={})=>{let r={...vj,...t};return JSON.stringify(Tx(e),gj(r),t.space)};function zx(e){return yj(e,{allowFunction:!1})}var Lx=l.createContext({sources:{}}),Ox="--unknown--",bj=({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?zx(d):Ox;n(f=>({...f,[c]:{...f[c],[h]:{code:p,format:m}}}))};return t.on(mh,a),()=>t.off(mh,a)},[]),y.createElement(Lx.Provider,{value:{sources:r}},e)},wj=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[zx(t)])||(a==null?void 0:a[Ox])||{code:""}},Ej=({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||xu.AUTO;if(o.code!==void 0)return o.code;let s=i===xu.DYNAMIC||i===xu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},xj=(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=wj(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:Ej({snippet:h.code,storyContext:{...p,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function Dj(e,t){let r=Cj([e],t);return r&&r[0]}function Cj(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 Sj=(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},kj=(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}},Aj=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(Yt),r=Sj(e,t),n=Dj(r,t);if(!n)return y.createElement(V9,null);let a=kj(e,n,t);return a?y.createElement(PO,{...a}):null},Fj=e=>{var h,f,v,g,w,x,D,E,b,C;let t=l.useContext(Yt),r=l.useContext(Lx),{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=xj({...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(U9,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:c,additionalActions:d,className:m,layout:s},y.createElement(Aj,{of:n||o.moduleExport,meta:e.meta,...e.story}))},_j=(e,t)=>{let r=Rj(e,t);if(!r)throw new Error("No result when story was defined");return r},Rj=(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(b4,c),()=>t.channel.off(b4,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(LL,{storyId:n,updatedArgs:c}),[n,t.channel]),s=l.useCallback(c=>t.channel.emit(OL,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,s]},Ij=(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(w4,o),()=>t.channel.off(w4,o)},[t.channel]),[n]};function Bj(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var Tj=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(Yt),{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]=_j(n,r),[g]=Ij(n,r),w=y4(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(w).length>0||Object.keys(h).length>0?y.createElement(W1,{rows:w,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v}):null;let x=X$(i),D=Object.fromEntries(Object.entries(s).map(([C,S])=>[C,{rows:y4(Bj(S,a),d,p),sort:m}])),E={[x]:{rows:w,sort:m},...D};return y.createElement(Y$,{tabs:E,sort:m,args:h,globals:g,updateArgs:f,resetArgs:v})},{document:Mx}=globalThis,Px=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(U8,null,t);let n=e&&e.split("-");return y.createElement(H9,{language:n&&n[1]||"text",format:!1,code:t,...r})};function uh(e,t){e.channel.emit(ML,t)}var G1=yL.a,zj=({hash:e,children:t})=>{let r=l.useContext(Yt);return y.createElement(G1,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);Mx.getElementById(a)&&uh(r,e)}},t)},$x=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(Yt);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(G1,{...e}):t.startsWith("#")?y.createElement(zj,{hash:t},n):y.createElement(G1,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),uh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},Nx=["h1","h2","h3","h4","h5","h6"],Lj=Nx.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Oj=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Mj=({as:e,id:t,children:r,...n})=>{let a=l.useContext(Yt),o=Lj[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(Oj,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{Mx.getElementById(t)&&uh(a,i)}},y.createElement(FL,null)),r)},ch=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Mj,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...le(s,t)})},Hx=Nx.reduce((e,t)=>({...e,[t]:r=>y.createElement(ch,{as:t,...r})}),{}),Pj=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(Kx`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(cx,{...e,options:{forceBlock:!0,overrides:{code:Px,a:$x,...Hx,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},$j=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))($j||{}),Nj=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}`)}},Y1=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=Nj(r);return n?y.createElement(Pj,null,n):null},G4=Z1(VL()),Hj=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),jj=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"}})),Vj=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Uj=({title:e})=>e===null?null:typeof e=="string"?y.createElement(Vj,null,e):e,qj=({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(()=>G4.init(i),100);return()=>{clearTimeout(s),G4.destroy()}},[t]),y.createElement(y.Fragment,null,y.createElement(Hj,null,t?null:y.createElement(jj,null,y.createElement(Uj,{title:e||null}),y.createElement("div",{className:"toc-wrapper"}))))),{document:Wj,window:Gj}=globalThis,Yj=({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(Gj.parent.location.toString()),d.hash){let p=Wj.getElementById(decodeURIComponent(d.hash.substring(1)));p&&setTimeout(()=>{Q$(p)},200)}}catch{}}),y.createElement(Yt.Provider,{value:e},y.createElement(bj,{channel:e.channel},y.createElement(S3,{theme:aS(t)},y.createElement(RO,{toc:n?y.createElement(qj,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Kj=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return y.createElement(W8,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return y.createElement(ch,{as:"h3",id:r},e)},jx=({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(Z$,{storyId:o.id},t&&y.createElement(y.Fragment,null,y.createElement(Kj,null,o.name),y.createElement(Y1,{of:e})),y.createElement(Fj,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},Zj=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(Yt).componentStoriesFromCSFFile(r)[0];return n?y.createElement(jx,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Jj=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return y.createElement(q8,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return y.createElement(ch,{as:"h2",id:n,...r},e)},Xj=F(Jj)(({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"}})),Qj=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(Yt),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(Xj,null,e),o.map(c=>c&&y.createElement(jx,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},eV="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",tV=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&&TL(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${eV}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?y.createElement(AO,{className:"sbdocs-subtitle sb-unstyled"},i):null},rV=/\s*\/\s*/,nV=e=>{let t=e.trim().split(rV);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},aV=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||nV(n==null?void 0:n.title);return a?y.createElement(kO,{className:"sbdocs-title sb-unstyled"},a):null},oV=()=>{let e=kn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return y.createElement(y.Fragment,null,y.createElement(aV,null),y.createElement(tV,null),y.createElement(Y1,{of:"meta"}),r?y.createElement(Y1,{of:"story"}):null,y.createElement(Zj,null),y.createElement(Tj,null),r?null:y.createElement(Qj,null))};function iV({context:e,docsParameter:t}){let r=t.container||Yj,n=t.page||oV;return y.createElement(r,{context:e,theme:t.theme},y.createElement(n,null))}var Vx,Y4=Ko;Vx=Y4.createRoot,Y4.hydrateRoot;var hs=new Map;function lV(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var sV=({callback:e,children:t})=>{let r=l.useRef();return l.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,n)=>{e=r,t=n}),resolve:e,reject:t}});var uV=async(e,t,r)=>{let n=await dV(t,r);if(lV()){n.render(e);return}let{promise:a,resolve:o}=Promise.withResolvers();return n.render(l.createElement(sV,{callback:o},e)),a},cV=(e,t)=>{let r=hs.get(e);r&&(r.unmount(),hs.delete(e))},dV=async(e,t)=>{let r=hs.get(e);return r||(r=Vx(e,t),hs.set(e,r)),r},Ux={code:Px,a:$x,...Hx},pV=class extends l.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:y.createElement(y.Fragment,null,t)}},fV=class{constructor(){this.render=async(e,t,r)=>{let n={...Ux,...t==null?void 0:t.components},a=iV;return new Promise((o,i)=>{K1(async()=>{const{MDXProvider:s}=await import("./index-BjypYOp6.js");return{MDXProvider:s}},__vite__mapDeps([9,2,3]),import.meta.url).then(({MDXProvider:s})=>uV(y.createElement(pV,{showException:i,key:Math.random()},y.createElement(s,{components:n},y.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>o())})},this.unmount=e=>{cV(e)}}};const WV=Object.freeze(Object.defineProperty({__proto__:null,DocsRenderer:fV,defaultComponents:Ux},Symbol.toStringTag,{value:"Module"}));export{A9 as $,NA as A,$V as B,OA as C,q8 as D,DV as E,HA as F,OV as G,PV as H,sn as I,Vf as J,xV as K,Sn as L,GA as M,bi as N,du as O,C9 as P,TV as Q,$A as R,PA as S,UA as T,YA as U,R9 as V,SV as W,I9 as X,tL as Y,Pz as Z,RV as _,Sp as a,IV as a0,ZA as a1,_V as a2,bz as a3,$T as a4,Lr as a5,yL as a6,ud as a7,gL as a8,z1 as a9,LV as aa,le as ab,bL as ac,se as ad,Z1 as ae,F as af,jV as ag,EV as ah,vt as ai,mn as aj,WV as ak,HV as b,zA as c,Xf as d,LA as e,MA as f,FA as g,BV as h,MV as i,oa as j,Lz as k,mL as l,AA as m,VA as n,qA as o,V8 as p,Ll as q,B9 as r,kV as s,AV as t,WA as u,U8 as v,TA as w,W8 as x,GT as y,NV as z}; diff --git a/v1-components/0.5.5/assets/Intro-CPVl_DoJ.js b/v1-components/0.5.5/assets/Intro-CPVl_DoJ.js new file mode 100644 index 0000000..8e71c27 --- /dev/null +++ b/v1-components/0.5.5/assets/Intro-CPVl_DoJ.js @@ -0,0 +1,34 @@ +import{j as e}from"./jsx-runtime-DQFc-wkB.js";import{useMDXComponents as i}from"./index-BjypYOp6.js";import"./_commonjsHelpers-Cpj98o6Y.js";function s(r){const n={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",li:"li",p:"p",pre:"pre",strong:"strong",ul:"ul",...i(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.h1,{id:"галерея-vue-компонентов-для-js-модулей",children:"Галерея Vue-компонентов для JS-модулей"}),` +`,e.jsx(n.p,{children:"В данной галерее представлены Vue-компоненты из интерфейса RetailCRM / Simla.com, которые доступны для использования в JS-модулях."}),` +`,e.jsx(n.h2,{id:"установка",children:"Установка"}),` +`,e.jsx(n.p,{children:"npm:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-shell",children:`npm i --save @retailcrm/embed-ui-v1-components +`})}),` +`,e.jsx(n.p,{children:"yarn:"}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-shell",children:`yarn add @retailcrm/embed-ui-v1-components +`})}),` +`,e.jsx(n.h2,{id:"применение-в-расширениях",children:"Применение в расширениях"}),` +`,e.jsxs(n.p,{children:["Все компоненты в расширениях надо импортировать из ",e.jsx(n.code,{children:"@retailcrm/embed-ui-v1-components/remote"})]}),` +`,e.jsxs(n.p,{children:["Пример импорта и использования кнопки ",e.jsx(n.code,{children:"UiButton"})]}),` +`,e.jsx(n.pre,{children:e.jsx(n.code,{className:"language-html",children:` + + + + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

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/v1-components/0.5.5/index.html b/v1-components/0.5.5/index.html new file mode 100644 index 0000000..81df87e --- /dev/null +++ b/v1-components/0.5.5/index.html @@ -0,0 +1,181 @@ + + + + + + @storybook/core - Storybook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + diff --git a/v1-components/0.5.5/index.json b/v1-components/0.5.5/index.json new file mode 100644 index 0000000..5950449 --- /dev/null +++ b/v1-components/0.5.5/index.json @@ -0,0 +1 @@ +{"v":5,"entries":{"intro--docs":{"id":"intro--docs","title":"Intro","name":"Docs","importPath":"./storybook/Intro.mdx","storiesImports":[],"type":"docs","tags":["dev","test","autodocs","unattached-mdx"]},"components-uibutton--docs":{"id":"components-uibutton--docs","title":"Components/UiButton","name":"Docs","importPath":"./storybook/stories/UiButton.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uicheckbox--docs":{"id":"components-uicheckbox--docs","title":"Components/UiCheckbox","name":"Docs","importPath":"./storybook/stories/UiCheckbox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uierror--docs":{"id":"components-uierror--docs","title":"Components/UiError","name":"Docs","importPath":"./storybook/stories/UiError.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uilink--docs":{"id":"components-uilink--docs","title":"Components/UiLink","name":"Docs","importPath":"./storybook/stories/UiLink.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uimodalsidebar--docs":{"id":"components-uimodalsidebar--docs","title":"Components/UiModalSidebar","name":"Docs","importPath":"./storybook/stories/UIModalSidebar.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uimodalwindow--docs":{"id":"components-uimodalwindow--docs","title":"Components/UiModalWindow","name":"Docs","importPath":"./storybook/stories/UiModalWindow.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uiradio--docs":{"id":"components-uiradio--docs","title":"Components/UiRadio","name":"Docs","importPath":"./storybook/stories/UiRadio.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uiscrollbox--docs":{"id":"components-uiscrollbox--docs","title":"Components/UiScrollBox","name":"Docs","importPath":"./storybook/stories/UiScrollBox.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uitag--docs":{"id":"components-uitag--docs","title":"Components/UiTag","name":"Docs","importPath":"./storybook/stories/UiTag.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uitoolbarbutton--docs":{"id":"components-uitoolbarbutton--docs","title":"Components/UiToolbarButton","name":"Docs","importPath":"./storybook/stories/UiToolbarButton.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uitoolbarlink--docs":{"id":"components-uitoolbarlink--docs","title":"Components/UiToolbarLink","name":"Docs","importPath":"./storybook/stories/UiToolbarLink.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"experimental-uiyandexmap--docs":{"id":"experimental-uiyandexmap--docs","title":"Experimental/UiYandexMap","name":"Docs","importPath":"./storybook/stories/UiYandexMap.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"components-uibutton--sandbox":{"type":"story","id":"components-uibutton--sandbox","name":"Sandbox","title":"Components/UiButton","importPath":"./storybook/stories/UiButton.stories.ts","componentPath":"./src/host/components/button/UiButton.vue","tags":["dev","test","autodocs"]},"components-uicheckbox--sandbox":{"type":"story","id":"components-uicheckbox--sandbox","name":"Sandbox","title":"Components/UiCheckbox","importPath":"./storybook/stories/UiCheckbox.stories.ts","componentPath":"./src/host/components/checkbox/UiCheckbox.vue","tags":["dev","test","autodocs"]},"components-uierror--sandbox":{"type":"story","id":"components-uierror--sandbox","name":"Sandbox","title":"Components/UiError","importPath":"./storybook/stories/UiError.stories.ts","componentPath":"./src/host/components/error/UiError.vue","tags":["dev","test","autodocs"]},"components-uilink--sandbox":{"type":"story","id":"components-uilink--sandbox","name":"Sandbox","title":"Components/UiLink","importPath":"./storybook/stories/UiLink.stories.ts","componentPath":"./src/host/components/link/UiLink.vue","tags":["dev","test","autodocs"]},"components-uimodalsidebar--sandbox":{"type":"story","id":"components-uimodalsidebar--sandbox","name":"Sandbox","title":"Components/UiModalSidebar","importPath":"./storybook/stories/UIModalSidebar.stories.ts","componentPath":"./src/host/components/modal-sidebar/UiModalSidebar.vue","tags":["dev","test","autodocs"]},"components-uimodalwindow--sandbox":{"type":"story","id":"components-uimodalwindow--sandbox","name":"Sandbox","title":"Components/UiModalWindow","importPath":"./storybook/stories/UiModalWindow.stories.ts","componentPath":"./src/host/components/modal-window/UiModalWindow.vue","tags":["dev","test","autodocs"]},"components-uiradio--sandbox":{"type":"story","id":"components-uiradio--sandbox","name":"Sandbox","title":"Components/UiRadio","importPath":"./storybook/stories/UiRadio.stories.ts","componentPath":"./src/host/components/radio/UiRadio.vue","tags":["dev","test","autodocs"]},"components-uiscrollbox--sandbox":{"type":"story","id":"components-uiscrollbox--sandbox","name":"Sandbox","title":"Components/UiScrollBox","importPath":"./storybook/stories/UiScrollBox.stories.ts","componentPath":"./src/host/components/scroll-box/UiScrollBox.vue","tags":["dev","test","autodocs"]},"components-uitag--sandbox":{"type":"story","id":"components-uitag--sandbox","name":"Sandbox","title":"Components/UiTag","importPath":"./storybook/stories/UiTag.stories.ts","componentPath":"./src/host/components/tag/UiTag.vue","tags":["dev","test","autodocs"]},"components-uitoolbarbutton--sandbox":{"type":"story","id":"components-uitoolbarbutton--sandbox","name":"Sandbox","title":"Components/UiToolbarButton","importPath":"./storybook/stories/UiToolbarButton.stories.ts","componentPath":"./src/host/components/toolbar/UiToolbarButton.vue","tags":["dev","test","autodocs"]},"components-uitoolbarlink--sandbox":{"type":"story","id":"components-uitoolbarlink--sandbox","name":"Sandbox","title":"Components/UiToolbarLink","importPath":"./storybook/stories/UiToolbarLink.stories.ts","componentPath":"./src/host/components/toolbar/UiToolbarLink.vue","tags":["dev","test","autodocs"]},"experimental-uiyandexmap--sandbox":{"type":"story","id":"experimental-uiyandexmap--sandbox","name":"Sandbox","title":"Experimental/UiYandexMap","importPath":"./storybook/stories/UiYandexMap.stories.ts","componentPath":"./src/host/components/yandex-map/UiYandexMap.vue","tags":["dev","test","autodocs"]}}} \ No newline at end of file diff --git a/v1-components/0.5.5/nunito-sans-bold-italic.woff2 b/v1-components/0.5.5/nunito-sans-bold-italic.woff2 new file mode 100644 index 0000000..33563d8 Binary files /dev/null and b/v1-components/0.5.5/nunito-sans-bold-italic.woff2 differ diff --git a/v1-components/0.5.5/nunito-sans-bold.woff2 b/v1-components/0.5.5/nunito-sans-bold.woff2 new file mode 100644 index 0000000..19fcc94 Binary files /dev/null and b/v1-components/0.5.5/nunito-sans-bold.woff2 differ diff --git a/v1-components/0.5.5/nunito-sans-italic.woff2 b/v1-components/0.5.5/nunito-sans-italic.woff2 new file mode 100644 index 0000000..827096d Binary files /dev/null and b/v1-components/0.5.5/nunito-sans-italic.woff2 differ diff --git a/v1-components/0.5.5/nunito-sans-regular.woff2 b/v1-components/0.5.5/nunito-sans-regular.woff2 new file mode 100644 index 0000000..c527ba4 Binary files /dev/null and b/v1-components/0.5.5/nunito-sans-regular.woff2 differ diff --git a/v1-components/0.5.5/project.json b/v1-components/0.5.5/project.json new file mode 100644 index 0000000..37d6c38 --- /dev/null +++ b/v1-components/0.5.5/project.json @@ -0,0 +1 @@ +{"generatedAt":1735387117612,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"testPackages":{},"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"4.5.1"},"framework":{"name":"@storybook/vue3-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/vue3","portableStoriesFileCount":0,"storybookVersion":"8.4.5","storybookVersionSpecifier":"^8.4.5","language":"typescript","storybookPackages":{"@storybook/addon-a11y":{"version":"8.4.5"},"@storybook/addon-essentials":{"version":"8.4.5"},"@storybook/addon-interactions":{"version":"8.4.5"},"@storybook/addon-links":{"version":"8.4.5"},"@storybook/addon-themes":{"version":"8.4.5"},"@storybook/blocks":{"version":"8.4.5"},"@storybook/builder-vite":{"version":"8.4.5"},"@storybook/manager-api":{"version":"8.4.5"},"@storybook/test":{"version":"8.4.5"},"@storybook/theming":{"version":"8.4.5"},"@storybook/types":{"version":"8.4.5"},"@storybook/vue3":{"version":"8.4.5"},"@storybook/vue3-vite":{"version":"8.4.5"},"storybook":{"version":"8.4.5"}},"addons":{"$SNIP/node_modules/@storybook/addon-essentials":{"version":null},"$SNIP/node_modules/@storybook/addon-links":{"version":null},"$SNIP/node_modules/@storybook/addon-themes":{"version":null}}} \ No newline at end of file diff --git a/v1-components/0.5.5/sb-addons/essentials-actions-2/manager-bundle.js b/v1-components/0.5.5/sb-addons/essentials-actions-2/manager-bundle.js new file mode 100644 index 0000000..cf2463e --- /dev/null +++ b/v1-components/0.5.5/sb-addons/essentials-actions-2/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/v1-components/0.5.5/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/essentials-actions-2/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/essentials-backgrounds-3/manager-bundle.js b/v1-components/0.5.5/sb-addons/essentials-backgrounds-3/manager-bundle.js new file mode 100644 index 0000000..23a17bf --- /dev/null +++ b/v1-components/0.5.5/sb-addons/essentials-backgrounds-3/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/v1-components/0.5.5/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/essentials-backgrounds-3/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/essentials-controls-1/manager-bundle.js b/v1-components/0.5.5/sb-addons/essentials-controls-1/manager-bundle.js new file mode 100644 index 0000000..b6b2f66 --- /dev/null +++ b/v1-components/0.5.5/sb-addons/essentials-controls-1/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/v1-components/0.5.5/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/essentials-controls-1/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/essentials-measure-6/manager-bundle.js b/v1-components/0.5.5/sb-addons/essentials-measure-6/manager-bundle.js new file mode 100644 index 0000000..74a13e4 --- /dev/null +++ b/v1-components/0.5.5/sb-addons/essentials-measure-6/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/v1-components/0.5.5/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/essentials-measure-6/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/essentials-outline-7/manager-bundle.js b/v1-components/0.5.5/sb-addons/essentials-outline-7/manager-bundle.js new file mode 100644 index 0000000..68fba32 --- /dev/null +++ b/v1-components/0.5.5/sb-addons/essentials-outline-7/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/v1-components/0.5.5/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/essentials-outline-7/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/essentials-toolbars-5/manager-bundle.js b/v1-components/0.5.5/sb-addons/essentials-toolbars-5/manager-bundle.js new file mode 100644 index 0000000..aa88ebe --- /dev/null +++ b/v1-components/0.5.5/sb-addons/essentials-toolbars-5/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/v1-components/0.5.5/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/essentials-toolbars-5/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/essentials-viewport-4/manager-bundle.js b/v1-components/0.5.5/sb-addons/essentials-viewport-4/manager-bundle.js new file mode 100644 index 0000000..6166c19 --- /dev/null +++ b/v1-components/0.5.5/sb-addons/essentials-viewport-4/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/v1-components/0.5.5/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/essentials-viewport-4/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/links-8/manager-bundle.js b/v1-components/0.5.5/sb-addons/links-8/manager-bundle.js new file mode 100644 index 0000000..8d2488b --- /dev/null +++ b/v1-components/0.5.5/sb-addons/links-8/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var p=__STORYBOOK_API__,{ActiveTabs:E,Consumer:T,ManagerContext:h,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/v1-components/0.5.5/sb-addons/links-8/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/links-8/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/storybook-10/manager-bundle.js b/v1-components/0.5.5/sb-addons/storybook-10/manager-bundle.js new file mode 100644 index 0000000..d64e15e --- /dev/null +++ b/v1-components/0.5.5/sb-addons/storybook-10/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var b=__STORYBOOK_API__,{ActiveTabs:y,Consumer:g,ManagerContext:v,Provider:h,RequestResponseError:k,addons:r,combineParameters:S,controlOrMetaKey:_,controlOrMetaSymbol:E,eventMatchesShortcut:C,eventToShortcut:f,experimental_requestResponse:x,isMacLike:T,isShortcutTaken:j,keyToSymbol:F,merge:B,mockChannel:M,optionOrAltSymbol:O,shortcutMatchesShortcut:R,shortcutToHumanString:A,types:I,useAddonState:P,useArgTypes:D,useArgs:q,useChannel:H,useGlobalTypes:K,useGlobals:U,useParameter:G,useSharedState:L,useStoryPrepared:Y,useStorybookApi:N,useStorybookState:w}=__STORYBOOK_API__;var W=__STORYBOOK_THEMING_CREATE__,{create:s,themes:X}=__STORYBOOK_THEMING_CREATE__;var i="@retailcrm/embed-ui-v1-components";var a=s({base:"light",appBg:"#F4F6F8",appBorderColor:"#DEE2E6",appBorderRadius:4,appContentBg:"#FFF",appPreviewBg:"#FFF",barBg:"#F4F6F8",barHoverColor:"hsl(220, 49%, 57%)",barSelectedColor:"#6528D7",barTextColor:"#6528D7",brandImage:"https://s3-s1.retailcrm.tech/eu-central-1/retailcrm-static/branding/retailcrm/logo/logo_horiz.svg",brandTitle:i,colorPrimary:"#005EEB",fontBase:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontCode:'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Monaco, Courier, monospace, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',inputBg:"#FFF",inputBorder:"#DEE2E6",inputBorderRadius:4,inputTextColor:"#1E2248",textColor:"#1E2248",textInverseColor:"red"});r.setConfig({selectedPanel:"controls",theme:a});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/v1-components/0.5.5/sb-addons/storybook-10/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/storybook-10/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js b/v1-components/0.5.5/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js new file mode 100644 index 0000000..de4e48b --- /dev/null +++ b/v1-components/0.5.5/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/v1-components/0.5.5/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-addons/themes-9/manager-bundle.js b/v1-components/0.5.5/sb-addons/themes-9/manager-bundle.js new file mode 100644 index 0000000..572c969 --- /dev/null +++ b/v1-components/0.5.5/sb-addons/themes-9/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var $=__STORYBOOK_API__,{ActiveTabs:Z,Consumer:j,ManagerContext:J,Provider:Q,RequestResponseError:X,addons:i,combineParameters:oo,controlOrMetaKey:eo,controlOrMetaSymbol:no,eventMatchesShortcut:to,eventToShortcut:co,experimental_requestResponse:ro,isMacLike:Io,isShortcutTaken:ao,keyToSymbol:lo,merge:io,mockChannel:so,optionOrAltSymbol:mo,shortcutMatchesShortcut:uo,shortcutToHumanString:ho,types:g,useAddonState:y,useArgTypes:po,useArgs:So,useChannel:R,useGlobalTypes:To,useGlobals:O,useParameter:f,useSharedState:Co,useStoryPrepared:_o,useStorybookApi:Eo,useStorybookState:Ao}=__STORYBOOK_API__;var e=__REACT__,{Children:Oo,Component:fo,Fragment:ko,Profiler:Bo,PureComponent:Lo,StrictMode:Po,Suspense:Do,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:wo,cloneElement:Ho,createContext:Mo,createElement:vo,createFactory:Go,createRef:xo,forwardRef:Fo,isValidElement:No,lazy:Uo,memo:Wo,startTransition:Ko,unstable_act:Yo,useCallback:Vo,useContext:qo,useDebugValue:zo,useDeferredValue:$o,useEffect:Zo,useId:jo,useImperativeHandle:Jo,useInsertionEffect:Qo,useLayoutEffect:Xo,useMemo:oe,useReducer:ee,useRef:ne,useState:te,useSyncExternalStore:ce,useTransition:re,version:Ie}=__REACT__;var me=__STORYBOOK_COMPONENTS__,{A:ue,ActionBar:de,AddonPanel:he,Badge:pe,Bar:Se,Blockquote:Te,Button:Ce,ClipboardCode:_e,Code:Ee,DL:Ae,Div:be,DocumentWrapper:ge,EmptyTabContent:ye,ErrorFormatter:Re,FlexBar:Oe,Form:fe,H1:ke,H2:Be,H3:Le,H4:Pe,H5:De,H6:we,HR:He,IconButton:p,IconButtonSkeleton:Me,Icons:ve,Img:Ge,LI:xe,Link:Fe,ListItem:Ne,Loader:Ue,Modal:We,OL:Ke,P:Ye,Placeholder:Ve,Pre:qe,ResetWrapper:ze,ScrollArea:$e,Separator:Ze,Spaced:je,Span:Je,StorybookIcon:Qe,StorybookLogo:Xe,Symbols:on,SyntaxHighlighter:en,TT:nn,TabBar:tn,TabButton:cn,TabWrapper:rn,Table:In,Tabs:an,TabsState:ln,TooltipLinkList:k,TooltipMessage:sn,TooltipNote:mn,UL:un,WithTooltip:B,WithTooltipPure:dn,Zoom:hn,codeCommon:pn,components:Sn,createCopyToClipboardFunction:Tn,getStoryHref:Cn,icons:_n,interleaveSeparators:En,nameSpaceClassNames:An,resetComponents:bn,withReset:gn}=__STORYBOOK_COMPONENTS__;var kn=__STORYBOOK_THEMING__,{CacheProvider:Bn,ClassNames:Ln,Global:Pn,ThemeProvider:Dn,background:wn,color:Hn,convert:Mn,create:vn,createCache:Gn,createGlobal:xn,createReset:Fn,css:Nn,darken:Un,ensure:Wn,ignoreSsrWarning:Kn,isPropValid:Yn,jsx:Vn,keyframes:qn,lighten:zn,styled:L,themes:$n,typography:Zn,useTheme:jn,withTheme:Jn}=__STORYBOOK_THEMING__;var nt=__STORYBOOK_ICONS__,{AccessibilityAltIcon:tt,AccessibilityIcon:ct,AddIcon:rt,AdminIcon:It,AlertAltIcon:at,AlertIcon:lt,AlignLeftIcon:it,AlignRightIcon:st,AppleIcon:mt,ArrowBottomLeftIcon:ut,ArrowBottomRightIcon:dt,ArrowDownIcon:ht,ArrowLeftIcon:pt,ArrowRightIcon:St,ArrowSolidDownIcon:Tt,ArrowSolidLeftIcon:Ct,ArrowSolidRightIcon:_t,ArrowSolidUpIcon:Et,ArrowTopLeftIcon:At,ArrowTopRightIcon:bt,ArrowUpIcon:gt,AzureDevOpsIcon:yt,BackIcon:Rt,BasketIcon:Ot,BatchAcceptIcon:ft,BatchDenyIcon:kt,BeakerIcon:Bt,BellIcon:Lt,BitbucketIcon:Pt,BoldIcon:Dt,BookIcon:wt,BookmarkHollowIcon:Ht,BookmarkIcon:Mt,BottomBarIcon:vt,BottomBarToggleIcon:Gt,BoxIcon:xt,BranchIcon:Ft,BrowserIcon:Nt,ButtonIcon:Ut,CPUIcon:Wt,CalendarIcon:Kt,CameraIcon:Yt,CategoryIcon:Vt,CertificateIcon:qt,ChangedIcon:zt,ChatIcon:$t,CheckIcon:Zt,ChevronDownIcon:jt,ChevronLeftIcon:Jt,ChevronRightIcon:Qt,ChevronSmallDownIcon:Xt,ChevronSmallLeftIcon:oc,ChevronSmallRightIcon:ec,ChevronSmallUpIcon:nc,ChevronUpIcon:tc,ChromaticIcon:cc,ChromeIcon:rc,CircleHollowIcon:Ic,CircleIcon:ac,ClearIcon:lc,CloseAltIcon:ic,CloseIcon:sc,CloudHollowIcon:mc,CloudIcon:uc,CogIcon:dc,CollapseIcon:hc,CommandIcon:pc,CommentAddIcon:Sc,CommentIcon:Tc,CommentsIcon:Cc,CommitIcon:_c,CompassIcon:Ec,ComponentDrivenIcon:Ac,ComponentIcon:bc,ContrastIcon:gc,ControlsIcon:yc,CopyIcon:Rc,CreditIcon:Oc,CrossIcon:fc,DashboardIcon:kc,DatabaseIcon:Bc,DeleteIcon:Lc,DiamondIcon:Pc,DirectionIcon:Dc,DiscordIcon:wc,DocChartIcon:Hc,DocListIcon:Mc,DocumentIcon:vc,DownloadIcon:Gc,DragIcon:xc,EditIcon:Fc,EllipsisIcon:Nc,EmailIcon:Uc,ExpandAltIcon:Wc,ExpandIcon:Kc,EyeCloseIcon:Yc,EyeIcon:Vc,FaceHappyIcon:qc,FaceNeutralIcon:zc,FaceSadIcon:$c,FacebookIcon:Zc,FailedIcon:jc,FastForwardIcon:Jc,FigmaIcon:Qc,FilterIcon:Xc,FlagIcon:or,FolderIcon:er,FormIcon:nr,GDriveIcon:tr,GithubIcon:cr,GitlabIcon:rr,GlobeIcon:Ir,GoogleIcon:ar,GraphBarIcon:lr,GraphLineIcon:ir,GraphqlIcon:sr,GridAltIcon:mr,GridIcon:ur,GrowIcon:dr,HeartHollowIcon:hr,HeartIcon:pr,HomeIcon:Sr,HourglassIcon:Tr,InfoIcon:Cr,ItalicIcon:_r,JumpToIcon:Er,KeyIcon:Ar,LightningIcon:br,LightningOffIcon:gr,LinkBrokenIcon:yr,LinkIcon:Rr,LinkedinIcon:Or,LinuxIcon:fr,ListOrderedIcon:kr,ListUnorderedIcon:Br,LocationIcon:Lr,LockIcon:Pr,MarkdownIcon:Dr,MarkupIcon:wr,MediumIcon:Hr,MemoryIcon:Mr,MenuIcon:vr,MergeIcon:Gr,MirrorIcon:xr,MobileIcon:Fr,MoonIcon:Nr,NutIcon:Ur,OutboxIcon:Wr,OutlineIcon:Kr,PaintBrushIcon:S,PaperClipIcon:Yr,ParagraphIcon:Vr,PassedIcon:qr,PhoneIcon:zr,PhotoDragIcon:$r,PhotoIcon:Zr,PinAltIcon:jr,PinIcon:Jr,PlayAllHollowIcon:Qr,PlayBackIcon:Xr,PlayHollowIcon:oI,PlayIcon:eI,PlayNextIcon:nI,PlusIcon:tI,PointerDefaultIcon:cI,PointerHandIcon:rI,PowerIcon:II,PrintIcon:aI,ProceedIcon:lI,ProfileIcon:iI,PullRequestIcon:sI,QuestionIcon:mI,RSSIcon:uI,RedirectIcon:dI,ReduxIcon:hI,RefreshIcon:pI,ReplyIcon:SI,RepoIcon:TI,RequestChangeIcon:CI,RewindIcon:_I,RulerIcon:EI,SaveIcon:AI,SearchIcon:bI,ShareAltIcon:gI,ShareIcon:yI,ShieldIcon:RI,SideBySideIcon:OI,SidebarAltIcon:fI,SidebarAltToggleIcon:kI,SidebarIcon:BI,SidebarToggleIcon:LI,SpeakerIcon:PI,StackedIcon:DI,StarHollowIcon:wI,StarIcon:HI,StatusFailIcon:MI,StatusPassIcon:vI,StatusWarnIcon:GI,StickerIcon:xI,StopAltHollowIcon:FI,StopAltIcon:NI,StopIcon:UI,StorybookIcon:WI,StructureIcon:KI,SubtractIcon:YI,SunIcon:VI,SupportIcon:qI,SwitchAltIcon:zI,SyncIcon:$I,TabletIcon:ZI,ThumbsUpIcon:jI,TimeIcon:JI,TimerIcon:QI,TransferIcon:XI,TrashIcon:oa,TwitterIcon:ea,TypeIcon:na,UbuntuIcon:ta,UndoIcon:ca,UnfoldIcon:ra,UnlockIcon:Ia,UnpinIcon:aa,UploadIcon:la,UserAddIcon:ia,UserAltIcon:sa,UserIcon:ma,UsersIcon:ua,VSCodeIcon:da,VerifiedIcon:ha,VideoIcon:pa,WandIcon:Sa,WatchIcon:Ta,WindowsIcon:Ca,WrenchIcon:_a,XIcon:Ea,YoutubeIcon:Aa,ZoomIcon:ba,ZoomOutIcon:ga,ZoomResetIcon:ya,iconList:Ra}=__STORYBOOK_ICONS__;var T="themes",C=`storybook/${T}`,v="theme",s=`${C}/theme-switcher`,G={themesList:[],themeDefault:void 0},x={},P={REGISTER_THEMES:`${C}/REGISTER_THEMES`},D=L.div(({theme:o})=>({fontSize:o.typography.size.s2-1})),F=o=>o.length>1,N=o=>o.length===2,U=e.memo(function(){let{themeOverride:o,disable:m}=f(T,x),[{theme:u},_,w]=O(),E=i.getChannel().last(P.REGISTER_THEMES),H=Object.assign({},G,{themesList:E?.[0]?.themes||[],themeDefault:E?.[0]?.defaultTheme||""}),[{themesList:l,themeDefault:A},M]=y(s,H),d=v in w||!!o;R({[P.REGISTER_THEMES]:({themes:a,defaultTheme:n})=>{M(h=>({...h,themesList:a,themeDefault:n}))}});let b=u||A,I="";if(d?I="Story override":b&&(I=`${b} theme`),m)return null;if(N(l)){let a=u||A,n=l.find(h=>h!==a);return e.createElement(p,{disabled:d,key:s,active:!o,title:"Theme",onClick:()=>{_({theme:n})}},e.createElement(S,null),I?e.createElement(D,null,I):null)}return F(l)?e.createElement(B,{placement:"top",trigger:"click",closeOnOutsideClick:!0,tooltip:({onHide:a})=>e.createElement(k,{links:l.map(n=>({id:n,title:n,active:u===n,onClick:()=>{_({theme:n}),a()}}))})},e.createElement(p,{key:s,active:!o,title:"Theme",disabled:d},e.createElement(S,null),I&&e.createElement(D,null,I))):null});i.register(C,()=>{i.add(s,{title:"Themes",type:g.TOOL,match:({viewMode:o,tabId:m})=>!!(o&&o.match(/^(story|docs)$/))&&!m,render:U,paramKey:T})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/v1-components/0.5.5/sb-addons/themes-9/manager-bundle.js.LEGAL.txt b/v1-components/0.5.5/sb-addons/themes-9/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..e69de29 diff --git a/v1-components/0.5.5/sb-common-assets/favicon.svg b/v1-components/0.5.5/sb-common-assets/favicon.svg new file mode 100644 index 0000000..571f90f --- /dev/null +++ b/v1-components/0.5.5/sb-common-assets/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/v1-components/0.5.5/sb-common-assets/nunito-sans-bold-italic.woff2 b/v1-components/0.5.5/sb-common-assets/nunito-sans-bold-italic.woff2 new file mode 100644 index 0000000..33563d8 Binary files /dev/null and b/v1-components/0.5.5/sb-common-assets/nunito-sans-bold-italic.woff2 differ diff --git a/v1-components/0.5.5/sb-common-assets/nunito-sans-bold.woff2 b/v1-components/0.5.5/sb-common-assets/nunito-sans-bold.woff2 new file mode 100644 index 0000000..19fcc94 Binary files /dev/null and b/v1-components/0.5.5/sb-common-assets/nunito-sans-bold.woff2 differ diff --git a/v1-components/0.5.5/sb-common-assets/nunito-sans-italic.woff2 b/v1-components/0.5.5/sb-common-assets/nunito-sans-italic.woff2 new file mode 100644 index 0000000..827096d Binary files /dev/null and b/v1-components/0.5.5/sb-common-assets/nunito-sans-italic.woff2 differ diff --git a/v1-components/0.5.5/sb-common-assets/nunito-sans-regular.woff2 b/v1-components/0.5.5/sb-common-assets/nunito-sans-regular.woff2 new file mode 100644 index 0000000..c527ba4 Binary files /dev/null and b/v1-components/0.5.5/sb-common-assets/nunito-sans-regular.woff2 differ diff --git a/v1-components/0.5.5/sb-manager/globals-module-info.js b/v1-components/0.5.5/sb-manager/globals-module-info.js new file mode 100644 index 0000000..41ca415 --- /dev/null +++ b/v1-components/0.5.5/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/v1-components/0.5.5/sb-manager/globals-runtime.js b/v1-components/0.5.5/sb-manager/globals-runtime.js new file mode 100644 index 0000000..fa565e1 --- /dev/null +++ b/v1-components/0.5.5/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 = "