diff --git a/assets/Color-KGDBMAHA-_o7Uj3n8.js b/assets/Color-KGDBMAHA-_o7Uj3n8.js new file mode 100644 index 0000000..5af07bc --- /dev/null +++ b/assets/Color-KGDBMAHA-_o7Uj3n8.js @@ -0,0 +1 @@ +import{aq as Me,ar as $,a2 as ie,a0 as Ce,w as $e,as as Oe,at as Ie}from"./index-Jk8GCfJX.js";import{R as h,r as m,g as ue}from"./index-aXz8NaAs.js";import{_ as Ne,i as fe}from"./index-CR2EVKgk.js";import"./iframe-_XbHwtE8.js";import"../sb-preview/runtime.js";import"./index-n3prD_Ok.js";import"./index-4FLvW62B.js";import"./extends-dGVwEr9R.js";import"./index-PPLHz8o0.js";function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(te(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=V(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ne(b),!function(k,O){return O&&!F(k)}(b,c.current)&&w)){if(F(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(te(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},je=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},ze=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:je(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},He=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},Te=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ve(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var qe=typeof window<"u"?m.useLayoutEffect:m.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},re=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!re.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,re.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Xe=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(be,{hsva:i,onChange:d}),h.createElement(me,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},De={defaultColor:"000",toHsva:Re,fromHsva:function(e){return He({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},We=function(e){return h.createElement(Xe,I({},e,{colorModel:De}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(be,{hsva:i,onChange:d}),h.createElement(me,{hue:i.h,onChange:d}),h.createElement(Ke,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ze,fromHsva:B,equal:pe},Ae=function(e){return h.createElement(we,I({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Te,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,I({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const H=Ye,ke={};for(const e of Object.keys(H))ke[H[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,c;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(H)){const a=H[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,c[i]=s*255;return c};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let c=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const X=_e;function Qe(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{N[e]={},Object.defineProperty(N[e],"channels",{value:U[e].channels}),Object.defineProperty(N[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=st(o),N[e][r].raw=at(o)})});var lt=N;const _=ue(lt);var ct=Ne,it=function(){return ct.Date.now()},ut=it,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,oe=fe,yt=Me,ae=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return ae;if(oe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=oe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?ae:+e}var Mt=Et,Ct=fe,W=ut,se=Mt,$t="Expected a function",Ot=Math.max,It=Math.min;function Nt(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=se(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Ot(se(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,z=o;return r=o=void 0,i=v,s=e.apply(z,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,z=v-i,ee=t-C;return f?It(ee,a-z):ee}function p(v){var C=v-c,z=v-i;return c===void 0||C>=t||C<0||f&&z>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function O(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return O.cancel=E,O.flush=k,O}var St=Nt;const Rt=ue(St);var jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),zt=$(ie)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ft=$.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ht=$(Ce)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$($e.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Oe)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:We,rgb:Ue,hsl:Ae},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(Rt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(zt,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(Ft,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,O)=>h.createElement(ie,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Ht,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ie(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},sn=Yt;export{Yt as ColorControl,sn as default}; diff --git a/assets/Color-RQJUDNI5-_YNRhai7.js b/assets/Color-RQJUDNI5-_YNRhai7.js deleted file mode 100644 index ec8b6e7..0000000 --- a/assets/Color-RQJUDNI5-_YNRhai7.js +++ /dev/null @@ -1 +0,0 @@ -import{n as M,i as ue,j as Me,F as Ce,k as $e,l as Ne}from"./index-5FojMo3J.js";import{R as h,r as b,g as fe}from"./index-OjgoNOWw.js";import{_ as Oe,i as J,a as Ie}from"./index-XkRcYS9h.js";import"./iframe-IJaDOTiX.js";import"../sb-preview/runtime.js";import"./index-mQqIOHEI.js";import"./index-Eok78svH.js";import"./index-ogXoivrg.js";import"./index-PPLHz8o0.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?y(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?Fe({h:Te(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{onClick:k}):null)},hn=tn;export{tn as ColorControl,hn as default}; diff --git a/assets/Colors-UaN7mZhQ.js b/assets/Colors-UaN7mZhQ.js deleted file mode 100644 index 9a05ecc..0000000 --- a/assets/Colors-UaN7mZhQ.js +++ /dev/null @@ -1,2 +0,0 @@ -import{j as o}from"./jsx-runtime-DtaoT6pD.js";import{useMDXComponents as s}from"./index-KwbRfTVY.js";import{M as d}from"./index-5FojMo3J.js";import"./index-OjgoNOWw.js";import"./iframe-IJaDOTiX.js";import"../sb-preview/runtime.js";import"./index-mQqIOHEI.js";import"./index-Eok78svH.js";import"./index-ogXoivrg.js";import"./index-XkRcYS9h.js";import"./index-PPLHz8o0.js";const e=["--cmpui-primary-color","--cmpui-primary-hover-color","--cmpui-primary-active-color","--cmpui-text-color","--cmpui-text2-color","--cmpui-text3-color","--cmpui-border-color","--cmpui-border-hover-color","--cmpui-overlay-color","--cmpui-float-shadow","--cmpui-error-color","--cmpui-contrast-text-color"],t=["--cmpui-primary-color","--cmpui-bg-color","--cmpui-bg-hover-color","--cmpui-bg-active-color","--cmpui-bg-focus-color","--cmpui-contrast-bg-color"];function l(){return o.jsxs("div",{children:[o.jsx("h1",{children:"Colors"}),o.jsx("h2",{children:"Background"}),o.jsxs("div",{style:{display:"flex"},children:[o.jsx("div",{style:{width:"100%",backgroundColor:"var(--cmpui-bg-color)",color:"var(--cmpui-text-color)"},children:t.map(r=>o.jsx("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px",borderBottom:"1px solid var(--cmpui-border-color)",backgroundColor:`var(${r})`},children:o.jsx("span",{children:r})},r))}),o.jsx("div",{style:{width:"100%",backgroundColor:"var(--cmpui-bg-color)",color:"var(--cmpui-text-color)"},"data-theme":"dark",children:t.map(r=>o.jsx("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px",borderBottom:"1px solid var(--cmpui-border-color)",backgroundColor:`var(${r})`},children:o.jsx("span",{children:r})},r))})]}),o.jsx("h2",{children:"Front"}),o.jsxs("div",{style:{display:"flex"},children:[o.jsx("div",{style:{width:"100%",backgroundColor:"var(--cmpui-bg-color)"},children:e.map(r=>o.jsx("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px",borderBottom:"1px solid var(--cmpui-border-color)",color:`var(${r})`},children:o.jsx("span",{children:r})},r))}),o.jsx("div",{style:{width:"100%",backgroundColor:"var(--cmpui-bg-color)"},"data-theme":"dark",children:e.map(r=>o.jsx("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px",borderBottom:"1px solid var(--cmpui-border-color)",color:`var(${r})`},children:o.jsx("span",{children:r})},r))})]})]})}l.__docgenInfo={description:"",methods:[],displayName:"Colors"};function c(r){return o.jsxs(o.Fragment,{children:[o.jsx(d,{title:"API/Colors"}),` -`,o.jsx(l,{})]})}function g(r={}){const{wrapper:i}={...s(),...r.components};return i?o.jsx(i,{...r,children:o.jsx(c,{...r})}):c()}export{g as default}; diff --git a/assets/Colors-VAoi-13u.js b/assets/Colors-VAoi-13u.js new file mode 100644 index 0000000..629da45 --- /dev/null +++ b/assets/Colors-VAoi-13u.js @@ -0,0 +1,2 @@ +import{j as o}from"./jsx-runtime-DvLKfCe6.js";import{useMDXComponents as s}from"./index-arM4ZSKl.js";import{ai as d}from"./index-Jk8GCfJX.js";import"./index-aXz8NaAs.js";import"./iframe-_XbHwtE8.js";import"../sb-preview/runtime.js";import"./index-n3prD_Ok.js";import"./index-4FLvW62B.js";import"./extends-dGVwEr9R.js";import"./index-CR2EVKgk.js";import"./index-PPLHz8o0.js";const e=["--cmpui-primary-color","--cmpui-primary-hover-color","--cmpui-primary-active-color","--cmpui-text-color","--cmpui-text2-color","--cmpui-text3-color","--cmpui-border-color","--cmpui-border-hover-color","--cmpui-overlay-color","--cmpui-float-shadow","--cmpui-error-color","--cmpui-contrast-text-color"],t=["--cmpui-primary-color","--cmpui-bg-color","--cmpui-bg-hover-color","--cmpui-bg-active-color","--cmpui-bg-focus-color","--cmpui-contrast-bg-color"];function l(){return o.jsxs("div",{children:[o.jsx("h1",{children:"Colors"}),o.jsx("h2",{children:"Background"}),o.jsxs("div",{style:{display:"flex"},children:[o.jsx("div",{style:{width:"100%",backgroundColor:"var(--cmpui-bg-color)",color:"var(--cmpui-text-color)"},children:t.map(r=>o.jsx("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px",borderBottom:"1px solid var(--cmpui-border-color)",backgroundColor:`var(${r})`},children:o.jsx("span",{children:r})},r))}),o.jsx("div",{style:{width:"100%",backgroundColor:"var(--cmpui-bg-color)",color:"var(--cmpui-text-color)"},"data-theme":"dark",children:t.map(r=>o.jsx("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px",borderBottom:"1px solid var(--cmpui-border-color)",backgroundColor:`var(${r})`},children:o.jsx("span",{children:r})},r))})]}),o.jsx("h2",{children:"Front"}),o.jsxs("div",{style:{display:"flex"},children:[o.jsx("div",{style:{width:"100%",backgroundColor:"var(--cmpui-bg-color)"},children:e.map(r=>o.jsx("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px",borderBottom:"1px solid var(--cmpui-border-color)",color:`var(${r})`},children:o.jsx("span",{children:r})},r))}),o.jsx("div",{style:{width:"100%",backgroundColor:"var(--cmpui-bg-color)"},"data-theme":"dark",children:e.map(r=>o.jsx("div",{style:{display:"flex",justifyContent:"space-between",padding:"10px",borderBottom:"1px solid var(--cmpui-border-color)",color:`var(${r})`},children:o.jsx("span",{children:r})},r))})]})]})}l.__docgenInfo={description:"",methods:[],displayName:"Colors"};function c(r){return o.jsxs(o.Fragment,{children:[o.jsx(d,{title:"API/Colors"}),` +`,o.jsx(l,{})]})}function g(r={}){const{wrapper:i}={...s(),...r.components};return i?o.jsx(i,{...r,children:o.jsx(c,{...r})}):c()}export{g as default}; diff --git a/assets/DocsRenderer-K4EAMTCU-tQuADqQd.js b/assets/DocsRenderer-K4EAMTCU-tQuADqQd.js deleted file mode 100644 index dd7b73c..0000000 --- a/assets/DocsRenderer-K4EAMTCU-tQuADqQd.js +++ /dev/null @@ -1,7 +0,0 @@ -import{_ as p}from"./iframe-IJaDOTiX.js";import{R as e,r as c}from"./index-OjgoNOWw.js";import{r as l,u}from"./react-18-DyM-o0Ps.js";import{C as h,A as E,H as d,D as x}from"./index-5FojMo3J.js";import"../sb-preview/runtime.js";import"./index-mQqIOHEI.js";import"./index-Eok78svH.js";import"./index-ogXoivrg.js";import"./index-XkRcYS9h.js";import"./index-PPLHz8o0.js";var _={code:h,a:E,...d},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},H=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((m,a)=>{p(()=>import("./index-KwbRfTVY.js"),__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:i})=>l(e.createElement(D,{showException:a,key:Math.random()},e.createElement(i,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>m())})},this.unmount=t=>{u(t)}}};export{H as DocsRenderer,_ as defaultComponents}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./index-KwbRfTVY.js","./index-OjgoNOWw.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} \ No newline at end of file diff --git a/assets/DocsRenderer-PKQXORMH-z5FEypL8.js b/assets/DocsRenderer-PKQXORMH-z5FEypL8.js new file mode 100644 index 0000000..21fb0b6 --- /dev/null +++ b/assets/DocsRenderer-PKQXORMH-z5FEypL8.js @@ -0,0 +1,7 @@ +import{_ as p}from"./iframe-_XbHwtE8.js";import{R as e,r as c}from"./index-aXz8NaAs.js";import{r as l,u}from"./react-18-MUTnB316.js";import{ae as h,af as E,ag as d,ah as x}from"./index-Jk8GCfJX.js";import"../sb-preview/runtime.js";import"./index-n3prD_Ok.js";import"./index-4FLvW62B.js";import"./extends-dGVwEr9R.js";import"./index-CR2EVKgk.js";import"./index-PPLHz8o0.js";var _={code:h,a:E,...d},f=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},O=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((a,m)=>{p(()=>import("./index-arM4ZSKl.js"),__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:i})=>l(e.createElement(f,{showException:m,key:Math.random()},e.createElement(i,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>a())})},this.unmount=t=>{u(t)}}};export{O as DocsRenderer,_ as defaultComponents}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index-arM4ZSKl.js","./index-aXz8NaAs.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/DropdownMenuItem-65YTI1pm.js b/assets/DropdownMenuItem-65YTI1pm.js deleted file mode 100644 index 22fd392..0000000 --- a/assets/DropdownMenuItem-65YTI1pm.js +++ /dev/null @@ -1 +0,0 @@ -import{j as p}from"./jsx-runtime-DtaoT6pD.js";import{F as _}from"./index-hC_OXdTA.js";import{_ as f,b as R}from"./index-Eok78svH.js";import{r as t}from"./index-OjgoNOWw.js";import{$ as M,b as C,a as O,c as $}from"./index-wq2dZbDE.js";import{$ as x,a as v,b as y,c as E,d as I}from"./index--q_WrUwI.js";import{$ as m}from"./index-nFE2FeW6.js";import{L as N}from"./index-14PbI9Yx.js";const h="DropdownMenu",[T,ee]=M(h,[x]),b=x(),[P,w]=T(h),j=e=>{const{__scopeDropdownMenu:r,children:c,dir:a,open:d,defaultOpen:o,onOpenChange:s,modal:n=!0}=e,i=b(r),g=t.useRef(null),[u=!1,l]=C({prop:d,defaultProp:o,onChange:s});return t.createElement(P,{scope:r,triggerId:m(),triggerRef:g,contentId:m(),open:u,onOpenChange:l,onOpenToggle:t.useCallback(()=>l(D=>!D),[l]),modal:n},t.createElement(v,f({},i,{open:u,onOpenChange:l,dir:a,modal:n}),c))},A="DropdownMenuTrigger",k=t.forwardRef((e,r)=>{const{__scopeDropdownMenu:c,disabled:a=!1,...d}=e,o=w(A,c),s=b(c);return t.createElement(y,f({asChild:!0},s),t.createElement(O.button,f({type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":a?"":void 0,disabled:a},d,{ref:R(r,o.triggerRef),onPointerDown:$(e.onPointerDown,n=>{!a&&n.button===0&&n.ctrlKey===!1&&(o.onOpenToggle(),o.open||n.preventDefault())}),onKeyDown:$(e.onKeyDown,n=>{a||(["Enter"," "].includes(n.key)&&o.onOpenToggle(),n.key==="ArrowDown"&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(n.key)&&n.preventDefault())})})))}),S="DropdownMenuContent",q=t.forwardRef((e,r)=>{const{__scopeDropdownMenu:c,...a}=e,d=w(S,c),o=b(c),s=t.useRef(!1);return t.createElement(E,f({id:d.contentId,"aria-labelledby":d.triggerId},o,a,{ref:r,onCloseAutoFocus:$(e.onCloseAutoFocus,n=>{var i;s.current||(i=d.triggerRef.current)===null||i===void 0||i.focus(),s.current=!1,n.preventDefault()}),onInteractOutside:$(e.onInteractOutside,n=>{const i=n.detail.originalEvent,g=i.button===0&&i.ctrlKey===!0,u=i.button===2||g;(!d.modal||u)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),F=t.forwardRef((e,r)=>{const{__scopeDropdownMenu:c,...a}=e,d=b(c);return t.createElement(I,f({},d,a,{ref:r}))}),K=j,L=k,G=q,z=F;function B(e){return p.jsxs(K,{open:e.open,onOpenChange:e.onOpenChange,children:[p.jsx(L,{asChild:!0,children:e.children}),p.jsx(G,{align:"start",sideOffset:2,collisionPadding:8,alignOffset:0,asChild:!0,children:p.jsx(_,{children:e.content})})]})}B.__docgenInfo={description:"",methods:[],displayName:"DropdownMenu",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},open:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(open: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"open"}],return:{name:"void"}}},description:""}}};function U({children:e,...r}){return p.jsx(z,{...r,asChild:!0,children:p.jsx(N,{size:"S",rounded:!0,children:e})})}U.__docgenInfo={description:"",methods:[],displayName:"DropdownMenuItem"};export{B as D,U as a}; diff --git a/assets/DropdownMenuItem-TbdlQnuP.js b/assets/DropdownMenuItem-TbdlQnuP.js new file mode 100644 index 0000000..2d7313d --- /dev/null +++ b/assets/DropdownMenuItem-TbdlQnuP.js @@ -0,0 +1 @@ +import{j as p}from"./jsx-runtime-DvLKfCe6.js";import{F as _}from"./index-D9RaxIjz.js";import{_ as f}from"./extends-dGVwEr9R.js";import{r as t}from"./index-aXz8NaAs.js";import{$ as R,d as M,c as C,e as O,f as $}from"./index-M7H33-mE.js";import{$ as x,a as v,b as y,c as E,d as I}from"./index-YkBf51cs.js";import{$ as m}from"./index-sSXR_LKw.js";import{L as N}from"./index-xX_uHqPz.js";const h="DropdownMenu",[T,ee]=R(h,[x]),b=x(),[P,w]=T(h),j=e=>{const{__scopeDropdownMenu:r,children:c,dir:a,open:d,defaultOpen:o,onOpenChange:s,modal:n=!0}=e,i=b(r),g=t.useRef(null),[u=!1,l]=M({prop:d,defaultProp:o,onChange:s});return t.createElement(P,{scope:r,triggerId:m(),triggerRef:g,contentId:m(),open:u,onOpenChange:l,onOpenToggle:t.useCallback(()=>l(D=>!D),[l]),modal:n},t.createElement(v,f({},i,{open:u,onOpenChange:l,dir:a,modal:n}),c))},A="DropdownMenuTrigger",k=t.forwardRef((e,r)=>{const{__scopeDropdownMenu:c,disabled:a=!1,...d}=e,o=w(A,c),s=b(c);return t.createElement(y,f({asChild:!0},s),t.createElement(C.button,f({type:"button",id:o.triggerId,"aria-haspopup":"menu","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":o.open?"open":"closed","data-disabled":a?"":void 0,disabled:a},d,{ref:O(r,o.triggerRef),onPointerDown:$(e.onPointerDown,n=>{!a&&n.button===0&&n.ctrlKey===!1&&(o.onOpenToggle(),o.open||n.preventDefault())}),onKeyDown:$(e.onKeyDown,n=>{a||(["Enter"," "].includes(n.key)&&o.onOpenToggle(),n.key==="ArrowDown"&&o.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(n.key)&&n.preventDefault())})})))}),S="DropdownMenuContent",q=t.forwardRef((e,r)=>{const{__scopeDropdownMenu:c,...a}=e,d=w(S,c),o=b(c),s=t.useRef(!1);return t.createElement(E,f({id:d.contentId,"aria-labelledby":d.triggerId},o,a,{ref:r,onCloseAutoFocus:$(e.onCloseAutoFocus,n=>{var i;s.current||(i=d.triggerRef.current)===null||i===void 0||i.focus(),s.current=!1,n.preventDefault()}),onInteractOutside:$(e.onInteractOutside,n=>{const i=n.detail.originalEvent,g=i.button===0&&i.ctrlKey===!0,u=i.button===2||g;(!d.modal||u)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),F=t.forwardRef((e,r)=>{const{__scopeDropdownMenu:c,...a}=e,d=b(c);return t.createElement(I,f({},d,a,{ref:r}))}),K=j,L=k,G=q,z=F;function B(e){return p.jsxs(K,{open:e.open,onOpenChange:e.onOpenChange,children:[p.jsx(L,{asChild:!0,children:e.children}),p.jsx(G,{align:"start",sideOffset:2,collisionPadding:8,alignOffset:0,asChild:!0,children:p.jsx(_,{children:e.content})})]})}B.__docgenInfo={description:"",methods:[],displayName:"DropdownMenu",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},open:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(open: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"open"}],return:{name:"void"}}},description:""}}};function U({children:e,...r}){return p.jsx(z,{...r,asChild:!0,children:p.jsx(N,{size:"S",rounded:!0,children:e})})}U.__docgenInfo={description:"",methods:[],displayName:"DropdownMenuItem"};export{B as D,U as a}; diff --git a/assets/Icon-znzPB4bR.js b/assets/Icon-4LS2xAFO.js similarity index 86% rename from assets/Icon-znzPB4bR.js rename to assets/Icon-4LS2xAFO.js index b49beac..bb71253 100644 --- a/assets/Icon-znzPB4bR.js +++ b/assets/Icon-4LS2xAFO.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime-DtaoT6pD.js";function o({name:e,filled:s,style:i,size:n,...r}){return t.jsx("span",{className:"material-symbols-outlined","data-filled":s,...r,style:{fontSize:n,...i},children:e})}o.__docgenInfo={description:"",methods:[],displayName:"Icon",props:{name:{required:!0,tsType:{name:"string"},description:""},filled:{required:!1,tsType:{name:"boolean"},description:""},size:{required:!1,tsType:{name:"number"},description:""}}};export{o as I}; +import{j as t}from"./jsx-runtime-DvLKfCe6.js";function o({name:e,filled:s,style:i,size:n,...r}){return t.jsx("span",{className:"material-symbols-outlined","data-filled":s,...r,style:{fontSize:n,...i},children:e})}o.__docgenInfo={description:"",methods:[],displayName:"Icon",props:{name:{required:!0,tsType:{name:"string"},description:""},filled:{required:!1,tsType:{name:"boolean"},description:""},size:{required:!1,tsType:{name:"number"},description:""}}};export{o as I}; diff --git a/assets/IconButtonGroup-N7RH39hC.js b/assets/IconButtonGroup-Vbjsao9W.js similarity index 62% rename from assets/IconButtonGroup-N7RH39hC.js rename to assets/IconButtonGroup-Vbjsao9W.js index 47dce19..3a322a5 100644 --- a/assets/IconButtonGroup-N7RH39hC.js +++ b/assets/IconButtonGroup-Vbjsao9W.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOWw.js";import{c as a}from"./classNames-pTwYsIK_.js";const c=t.forwardRef((o,r)=>s.jsx("div",{ref:r,className:a("cmpui_icon-button__group",o.className),children:o.children}));c.__docgenInfo={description:"",methods:[],displayName:"IconButtonGroup"};export{c as I}; +import{j as s}from"./jsx-runtime-DvLKfCe6.js";import{r as t}from"./index-aXz8NaAs.js";import{c as a}from"./classNames-pTwYsIK_.js";const c=t.forwardRef((o,r)=>s.jsx("div",{ref:r,className:a("cmpui_icon-button__group",o.className),children:o.children}));c.__docgenInfo={description:"",methods:[],displayName:"IconButtonGroup"};export{c as I}; diff --git a/assets/README-2ZnG_VyR.js b/assets/README-2ZnG_VyR.js new file mode 100644 index 0000000..658f7b1 --- /dev/null +++ b/assets/README-2ZnG_VyR.js @@ -0,0 +1,14 @@ +import{j as t}from"./jsx-runtime-DvLKfCe6.js";import{useMDXComponents as u}from"./index-arM4ZSKl.js";import{r as n}from"./index-aXz8NaAs.js";/* empty css */import"./index-Kq3z_NZE.js";import{B as d}from"./index-5ui4R9NG.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import"./index-0ceNsg1m.js";import{h as C,r as y,n as w,C as k}from"./index-yf8mkK-1.js";import"./index-AYEmu2YI.js";import"./index-uWlkGYMJ.js";import"./index-NAhdMhKS.js";import"./DropdownMenuItem-TbdlQnuP.js";import"./index-D9RaxIjz.js";import{G as v}from"./index-CYasbvvH.js";import"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-U9bU_qbB.js";import"./index-xX_uHqPz.js";import"./index-nuWmM7Ma.js";import{R as b}from"./index-9ZytVVav.js";import"./index-Oh1OAjsI.js";import"./index-btd8k4jy.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";import{ap as h}from"./index-Jk8GCfJX.js";import"./createDragHandler-nJMxlNVC.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./clamp-xqaTU5Qn.js";import"./extends-dGVwEr9R.js";import"./index-MW3rGVG_.js";import"./index-M7H33-mE.js";import"./index-n3prD_Ok.js";import"./index-YkBf51cs.js";import"./index-sSXR_LKw.js";import"./index-K1fIJHIl.js";import"./mergeRefs-mmWAE0a7.js";import"./useTouchStartPrevent-kBVXV8Ya.js";import"./iframe-_XbHwtE8.js";import"../sb-preview/runtime.js";import"./index-4FLvW62B.js";import"./index-CR2EVKgk.js";import"./index-PPLHz8o0.js";const a=128,c=30;function x(o){const[e,r]=n.useState({x:0,y:0,width:a,height:c,angle:-Math.PI/24}),[i,f]=n.useState(!1),p=n.useRef(null);return n.useEffect(()=>{if(i)return;const l=p.current;if(!l)return;const s=l.getBoundingClientRect(),g=s.left+s.width/2,j=s.top+s.height/2;r({...e,x:g,y:j}),f(!0)},[i,e]),t.jsxs(t.Fragment,{children:[t.jsx(v,{className:"grid",color:"color-mix(in srgb, var(--cmpui-primary-color) 50%, transparent)"}),t.jsx("div",{style:{height:64},children:t.jsx("div",{style:i?{top:e.y-c/2,left:e.x-a/2,width:a,height:c,transform:`rotate(${e.angle}rad) scale(${e.width/a}, ${e.height/c})`,pointerEvents:"none",position:"absolute",margin:0,zIndex:1}:void 0,children:t.jsx("h1",{ref:p,id:"title",children:"CmpUI"})})}),t.jsx("p",{style:{fontWeight:"bold",textAlign:"center"},children:"CmpUI is a component library designed for creating complex GUI applications in web browsers."}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[t.jsx(R,{}),t.jsx(L,{}),t.jsx("div",{style:{padding:"0 16px"},children:o.children})]}),i&&t.jsx(b,{angle:e.angle,height:e.height,width:e.width,x:e.x,y:e.y,onMove:l=>{r(s=>({...s,...l}))},isResizable:!0,isRotatable:!0})]})}function L(){const[o,e]=n.useState(C("#c649ba")),r=n.useCallback(i=>{document.documentElement.style.setProperty("--cmpui-primary-color",y(w(i))),e(i)},[]);return t.jsx("div",{style:{display:"flex",width:"100%",justifyContent:"center",alignItems:"center"},children:t.jsx("div",{style:{display:"flex"},children:t.jsx(k,{value:o,onChange:r})})})}const R=n.memo(function(){const e="https://toshusai.github.io/cmpui",r=window.self!==window.top;return t.jsxs("div",{style:{display:"flex",gap:16,justifyContent:"center",position:"relative"},children:[t.jsx(d,{as:"a",href:"https://github.com/toshusai/cmpui",style:{color:"white"},children:t.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[t.jsx(I,{}),"GitHub"]})}),!r&&t.jsx(d,{variant:"secondary",as:"a",href:e,style:{color:"white"},children:t.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[t.jsx(M,{}),"Storybook"]})})]})});function I(){return t.jsxs("svg",{height:"16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 97.707 95.707",children:[t.jsx("title",{children:"icon-github"}),t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"#fff"})]})}function M(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",height:"16",version:"1.1",viewBox:"0 0 52 64",children:[t.jsx("title",{children:"icon-storybook"}),t.jsx("defs",{children:t.jsx("path",{id:"path-1",d:"M1.94279175,57.1309472 L0.0022554267,5.95476663 C-0.0618328758,4.26461814 1.24754196,2.83223697 2.95307926,2.72673418 L46.9330824,0.00617628491 C48.6691159,-0.10121296 50.1644074,1.2046298 50.2729096,2.92285771 C50.2769973,2.98759391 50.2790429,3.05244063 50.2790429,3.11730315 L50.2790429,58.8828028 C50.2790429,60.6043831 48.8689636,62 47.1295431,62 C47.0824212,62 47.0353056,61.9989534 46.9882313,61.9968606 L4.94876437,60.1280997 C3.31149338,60.0553189 2.00425692,58.751918 1.94279175,57.1309472 Z"})}),t.jsx("g",{id:"icon-storybook-default",fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:t.jsxs("g",{id:"icon",transform:"translate(1.000000, 1.000000)",children:[t.jsx("path",{id:"Combined-Shape",fill:"#FF4785",fillRule:"nonzero",d:"M50.2729096,2.92285771 C50.2769973,2.98759391 50.2790429,3.05244063 50.2790429,3.11730315 L50.2790429,58.8828028 C50.2790429,60.6043831 48.8689636,62 47.1295431,62 C47.0824212,62 47.0353056,61.9989534 46.9882313,61.9968606 L4.94876437,60.1280997 C3.31149338,60.0553189 2.00425692,58.751918 1.94279175,57.1309472 L0.0022554267,5.95476663 C-0.0618328758,4.26461814 1.24754196,2.83223697 2.95307926,2.72673418 L37.427,0.594 L37.1272753,7.62078766 C37.1238721,7.70179664 37.1419373,7.78178731 37.179031,7.85305525 L37.2223772,7.92113026 C37.3791917,8.12573637 37.6738999,8.16578288 37.880626,8.0105767 L37.880626,8.0105767 L40.6382617,5.94019678 L42.9673936,7.75618537 C43.0546693,7.82423279 43.1634862,7.85946584 43.2745216,7.85562813 C43.5338374,7.84666553 43.7367132,7.6313391 43.7276576,7.37468316 L43.7276576,7.37468316 L43.467,0.22 L46.9330824,0.00617628491 C48.6691159,-0.10121296 50.1644074,1.2046298 50.2729096,2.92285771 Z"}),t.jsx("mask",{id:"mask-2",fill:"#fff",children:t.jsx("use",{xlinkHref:"#path-1"})}),t.jsx("path",{id:"S",fill:"#FFF",fillRule:"nonzero",d:"M29.4029796,23.368648 C29.4029796,24.58142 37.6567008,24.00017 38.7646901,23.1482813 C38.7646901,14.8895929 34.2873503,10.5497821 26.0885852,10.5497821 C17.88982,10.5497821 13.2961856,14.9571143 13.2961856,21.5681161 C13.2961856,33.0822778 28.9959487,33.3026444 28.9959487,39.5830962 C28.9959487,41.3460299 28.1237396,42.3927719 26.2048797,42.3927719 C23.7045471,42.3927719 22.7160434,41.1289316 22.832338,36.8317805 C22.832338,35.8995698 13.2961856,35.6089448 13.0054493,36.8317805 C12.2651161,47.2453073 18.8201763,50.248968 26.3211742,50.248968 C33.5895831,50.248968 39.2880157,46.4144645 39.2880157,39.4729126 C39.2880157,27.132376 23.3556634,27.4629261 23.3556634,21.3477494 C23.3556634,18.8686237 25.2163761,18.5380737 26.3211742,18.5380737 C27.4841196,18.5380737 29.5774214,18.7409467 29.4029796,23.368648 Z",mask:"url(#mask-2)"}),t.jsx("path",{id:"bookmark",fill:"#FFF",fillRule:"nonzero",d:"M37.1272753,7.62078766 L37.4276823,0.591583333 L43.4674595,0.218291667 L43.7276576,7.37468316 C43.7367132,7.6313391 43.5338374,7.84666553 43.2745216,7.85562813 C43.1634862,7.85946584 43.0546693,7.82423279 42.9673936,7.75618537 L40.6382617,5.94019678 L37.880626,8.0105767 C37.6738999,8.16578288 37.3791917,8.12573637 37.2223772,7.92113026 C37.1563661,7.83500129 37.1227378,7.72879963 37.1272753,7.62078766 Z",mask:"url(#mask-2)"})]})})]})}x.__docgenInfo={description:"",methods:[],displayName:"README",props:{children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};function m(o){const e={h2:"h2",h3:"h3",p:"p",...u(),...o.components};return t.jsxs(t.Fragment,{children:[` +`,` +`,t.jsxs(x,{children:[t.jsx(e.h2,{id:"installation",children:"Installation"}),t.jsx(e.p,{children:"A quick tutorial on how to use the package"}),t.jsx(e.h3,{id:"1-install-the-package",children:"1. Install the package"}),t.jsx(e.p,{children:"Install the package using your package manager of choice"}),t.jsx(h,{code:"pnpm add @toshusai/cmpui",language:"bash",dark:!0}),t.jsx(e.h3,{id:"2-import-the-component-and-the-styles",children:"2. Import the component and the styles"}),t.jsx(e.p,{children:"Import the component and the styles in your project"}),t.jsx(h,{code:` +import { Button } from '@toshusai/cmpui' +import '@toshusai/cmpui/dist/index.css' + +export default function App() { + return ( +
+ +
+ ) +} +`,language:"tsx",dark:!0}),t.jsx(e.h3,{id:"3-enjoy",children:"3. Enjoy"}),t.jsx(e.p,{children:"You can now use the component in your project"})]})]})}function v2(o={}){const{wrapper:e}={...u(),...o.components};return e?t.jsx(e,{...o,children:t.jsx(m,{...o})}):m(o)}export{v2 as default}; diff --git a/assets/README-ZVkbz3m0.js b/assets/README-ZVkbz3m0.js deleted file mode 100644 index 65abd42..0000000 --- a/assets/README-ZVkbz3m0.js +++ /dev/null @@ -1,14 +0,0 @@ -import{j as t}from"./jsx-runtime-DtaoT6pD.js";import{useMDXComponents as u}from"./index-KwbRfTVY.js";import{r as n}from"./index-OjgoNOWw.js";/* empty css */import"./index-EwGKNtg5.js";import{B as d}from"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-pk5nlV7d.js";import{h as C,r as y,n as w,C as k}from"./index-CzAlb3Z9.js";import"./index-3ZWm4lKU.js";import"./index-6uWyxtkv.js";import"./index-7FH3x4aD.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-hC_OXdTA.js";import{G as v}from"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-cYjXm3u-.js";import"./index-14PbI9Yx.js";import"./index-rAFazk-7.js";import{R as b}from"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./index-_tE33Gv2.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";import{h}from"./index-5FojMo3J.js";import"./createDragHandler-nJMxlNVC.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./clamp-xqaTU5Qn.js";import"./index-Eok78svH.js";import"./index-F4RL_6mv.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-nFE2FeW6.js";import"./index-Nn85PjCb.js";import"./mergeRefs-mmWAE0a7.js";import"./useTouchStartPrevent-SoOiKono.js";import"./iframe-IJaDOTiX.js";import"../sb-preview/runtime.js";import"./index-ogXoivrg.js";import"./index-XkRcYS9h.js";import"./index-PPLHz8o0.js";const a=128,c=30;function x(o){const[e,r]=n.useState({x:0,y:0,width:a,height:c,angle:-Math.PI/24}),[i,f]=n.useState(!1),p=n.useRef(null);return n.useEffect(()=>{if(i)return;const l=p.current;if(!l)return;const s=l.getBoundingClientRect(),g=s.left+s.width/2,j=s.top+s.height/2;r({...e,x:g,y:j}),f(!0)},[i,e]),t.jsxs(t.Fragment,{children:[t.jsx(v,{className:"grid",color:"color-mix(in srgb, var(--cmpui-primary-color) 50%, transparent)"}),t.jsx("div",{style:{height:64},children:t.jsx("div",{style:i?{top:e.y-c/2,left:e.x-a/2,width:a,height:c,transform:`rotate(${e.angle}rad) scale(${e.width/a}, ${e.height/c})`,pointerEvents:"none",position:"absolute",margin:0,zIndex:1}:void 0,children:t.jsx("h1",{ref:p,id:"title",children:"CmpUI"})})}),t.jsx("p",{style:{fontWeight:"bold",textAlign:"center"},children:"CmpUI is a component library designed for creating complex GUI applications in web browsers."}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16},children:[t.jsx(R,{}),t.jsx(L,{}),t.jsx("div",{style:{padding:"0 16px"},children:o.children})]}),i&&t.jsx(b,{angle:e.angle,height:e.height,width:e.width,x:e.x,y:e.y,onMove:l=>{r(s=>({...s,...l}))},isResizable:!0,isRotatable:!0})]})}function L(){const[o,e]=n.useState(C("#c649ba")),r=n.useCallback(i=>{document.documentElement.style.setProperty("--cmpui-primary-color",y(w(i))),e(i)},[]);return t.jsx("div",{style:{display:"flex",width:"100%",justifyContent:"center",alignItems:"center"},children:t.jsx("div",{style:{display:"flex"},children:t.jsx(k,{value:o,onChange:r})})})}const R=n.memo(function(){const e="https://toshusai.github.io/cmpui",r=window.self!==window.top;return t.jsxs("div",{style:{display:"flex",gap:16,justifyContent:"center",position:"relative"},children:[t.jsx(d,{as:"a",href:"https://github.com/toshusai/cmpui",style:{color:"white"},children:t.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[t.jsx(I,{}),"GitHub"]})}),!r&&t.jsx(d,{variant:"secondary",as:"a",href:e,style:{color:"white"},children:t.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[t.jsx(M,{}),"Storybook"]})})]})});function I(){return t.jsxs("svg",{height:"16",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 97.707 95.707",children:[t.jsx("title",{children:"icon-github"}),t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z",fill:"#fff"})]})}function M(){return t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",height:"16",version:"1.1",viewBox:"0 0 52 64",children:[t.jsx("title",{children:"icon-storybook"}),t.jsx("defs",{children:t.jsx("path",{id:"path-1",d:"M1.94279175,57.1309472 L0.0022554267,5.95476663 C-0.0618328758,4.26461814 1.24754196,2.83223697 2.95307926,2.72673418 L46.9330824,0.00617628491 C48.6691159,-0.10121296 50.1644074,1.2046298 50.2729096,2.92285771 C50.2769973,2.98759391 50.2790429,3.05244063 50.2790429,3.11730315 L50.2790429,58.8828028 C50.2790429,60.6043831 48.8689636,62 47.1295431,62 C47.0824212,62 47.0353056,61.9989534 46.9882313,61.9968606 L4.94876437,60.1280997 C3.31149338,60.0553189 2.00425692,58.751918 1.94279175,57.1309472 Z"})}),t.jsx("g",{id:"icon-storybook-default",fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:t.jsxs("g",{id:"icon",transform:"translate(1.000000, 1.000000)",children:[t.jsx("path",{id:"Combined-Shape",fill:"#FF4785",fillRule:"nonzero",d:"M50.2729096,2.92285771 C50.2769973,2.98759391 50.2790429,3.05244063 50.2790429,3.11730315 L50.2790429,58.8828028 C50.2790429,60.6043831 48.8689636,62 47.1295431,62 C47.0824212,62 47.0353056,61.9989534 46.9882313,61.9968606 L4.94876437,60.1280997 C3.31149338,60.0553189 2.00425692,58.751918 1.94279175,57.1309472 L0.0022554267,5.95476663 C-0.0618328758,4.26461814 1.24754196,2.83223697 2.95307926,2.72673418 L37.427,0.594 L37.1272753,7.62078766 C37.1238721,7.70179664 37.1419373,7.78178731 37.179031,7.85305525 L37.2223772,7.92113026 C37.3791917,8.12573637 37.6738999,8.16578288 37.880626,8.0105767 L37.880626,8.0105767 L40.6382617,5.94019678 L42.9673936,7.75618537 C43.0546693,7.82423279 43.1634862,7.85946584 43.2745216,7.85562813 C43.5338374,7.84666553 43.7367132,7.6313391 43.7276576,7.37468316 L43.7276576,7.37468316 L43.467,0.22 L46.9330824,0.00617628491 C48.6691159,-0.10121296 50.1644074,1.2046298 50.2729096,2.92285771 Z"}),t.jsx("mask",{id:"mask-2",fill:"#fff",children:t.jsx("use",{xlinkHref:"#path-1"})}),t.jsx("path",{id:"S",fill:"#FFF",fillRule:"nonzero",d:"M29.4029796,23.368648 C29.4029796,24.58142 37.6567008,24.00017 38.7646901,23.1482813 C38.7646901,14.8895929 34.2873503,10.5497821 26.0885852,10.5497821 C17.88982,10.5497821 13.2961856,14.9571143 13.2961856,21.5681161 C13.2961856,33.0822778 28.9959487,33.3026444 28.9959487,39.5830962 C28.9959487,41.3460299 28.1237396,42.3927719 26.2048797,42.3927719 C23.7045471,42.3927719 22.7160434,41.1289316 22.832338,36.8317805 C22.832338,35.8995698 13.2961856,35.6089448 13.0054493,36.8317805 C12.2651161,47.2453073 18.8201763,50.248968 26.3211742,50.248968 C33.5895831,50.248968 39.2880157,46.4144645 39.2880157,39.4729126 C39.2880157,27.132376 23.3556634,27.4629261 23.3556634,21.3477494 C23.3556634,18.8686237 25.2163761,18.5380737 26.3211742,18.5380737 C27.4841196,18.5380737 29.5774214,18.7409467 29.4029796,23.368648 Z",mask:"url(#mask-2)"}),t.jsx("path",{id:"bookmark",fill:"#FFF",fillRule:"nonzero",d:"M37.1272753,7.62078766 L37.4276823,0.591583333 L43.4674595,0.218291667 L43.7276576,7.37468316 C43.7367132,7.6313391 43.5338374,7.84666553 43.2745216,7.85562813 C43.1634862,7.85946584 43.0546693,7.82423279 42.9673936,7.75618537 L40.6382617,5.94019678 L37.880626,8.0105767 C37.6738999,8.16578288 37.3791917,8.12573637 37.2223772,7.92113026 C37.1563661,7.83500129 37.1227378,7.72879963 37.1272753,7.62078766 Z",mask:"url(#mask-2)"})]})})]})}x.__docgenInfo={description:"",methods:[],displayName:"README",props:{children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};function m(o){const e={h2:"h2",h3:"h3",p:"p",...u(),...o.components};return t.jsxs(t.Fragment,{children:[` -`,` -`,t.jsxs(x,{children:[t.jsx(e.h2,{id:"installation",children:"Installation"}),t.jsx(e.p,{children:"A quick tutorial on how to use the package"}),t.jsx(e.h3,{id:"1-install-the-package",children:"1. Install the package"}),t.jsx(e.p,{children:"Install the package using your package manager of choice"}),t.jsx(h,{code:"pnpm add @toshusai/cmpui",language:"bash",dark:!0}),t.jsx(e.h3,{id:"2-import-the-component-and-the-styles",children:"2. Import the component and the styles"}),t.jsx(e.p,{children:"Import the component and the styles in your project"}),t.jsx(h,{code:` -import { Button } from '@toshusai/cmpui' -import '@toshusai/cmpui/dist/index.css' - -export default function App() { - return ( -
- -
- ) -} -`,language:"tsx",dark:!0}),t.jsx(e.h3,{id:"3-enjoy",children:"3. Enjoy"}),t.jsx(e.p,{children:"You can now use the component in your project"})]})]})}function v2(o={}){const{wrapper:e}={...u(),...o.components};return e?t.jsx(e,{...o,children:t.jsx(m,{...o})}):m(o)}export{v2 as default}; diff --git a/assets/ShortcutListItem-KOfNuhqh.js b/assets/ShortcutListItem-YpM7ilT6.js similarity index 56% rename from assets/ShortcutListItem-KOfNuhqh.js rename to assets/ShortcutListItem-YpM7ilT6.js index 13c568c..b148d50 100644 --- a/assets/ShortcutListItem-KOfNuhqh.js +++ b/assets/ShortcutListItem-YpM7ilT6.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DtaoT6pD.js";/* empty css */import"./index-EwGKNtg5.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-pk5nlV7d.js";import"./index-CzAlb3Z9.js";import"./index-3ZWm4lKU.js";import"./index-6uWyxtkv.js";import"./index-7FH3x4aD.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-hC_OXdTA.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-cYjXm3u-.js";import{L as s}from"./index-14PbI9Yx.js";import"./index-rAFazk-7.js";import"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./index-_tE33Gv2.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";import"./index-OjgoNOWw.js";function p({disabled:r,shortcut:t,as:i=s,children:o,...n}){const m=i;return e.jsxs(m,{disabled:r,className:"shortcut-list-item",...n,children:[e.jsx("div",{style:{width:"100%"},children:o}),t&&e.jsx("div",{style:{fontSize:"10px",marginLeft:16,whiteSpace:"nowrap"},children:t})]})}p.__docgenInfo={description:"",methods:[],displayName:"ShortcutListItem",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},shortcut:{required:!1,tsType:{name:"string"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},as:{required:!1,tsType:{name:"ReactElementType",raw:"React.ElementType"},description:"",defaultValue:{value:`forwardRef(function ListItem< +import{j as e}from"./jsx-runtime-DvLKfCe6.js";/* empty css */import"./index-Kq3z_NZE.js";import"./index-5ui4R9NG.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import"./index-0ceNsg1m.js";import"./index-yf8mkK-1.js";import"./index-AYEmu2YI.js";import"./index-uWlkGYMJ.js";import"./index-NAhdMhKS.js";import"./DropdownMenuItem-TbdlQnuP.js";import"./index-D9RaxIjz.js";import"./index-CYasbvvH.js";import"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-U9bU_qbB.js";import{L as s}from"./index-xX_uHqPz.js";import"./index-nuWmM7Ma.js";import"./index-9ZytVVav.js";import"./index-Oh1OAjsI.js";import"./index-btd8k4jy.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";import"./index-aXz8NaAs.js";function p({disabled:r,shortcut:t,as:i=s,children:o,...n}){const m=i;return e.jsxs(m,{disabled:r,className:"shortcut-list-item",...n,children:[e.jsx("div",{style:{width:"100%"},children:o}),t&&e.jsx("div",{style:{fontSize:"10px",marginLeft:16,whiteSpace:"nowrap"},children:t})]})}p.__docgenInfo={description:"",methods:[],displayName:"ShortcutListItem",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},shortcut:{required:!1,tsType:{name:"string"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},as:{required:!1,tsType:{name:"ReactElementType",raw:"React.ElementType"},description:"",defaultValue:{value:`forwardRef(function ListItem< T extends CustomJSXElement, >( { diff --git a/assets/WithTooltip-Y7J54OF7-0N4mmDgr.js b/assets/WithTooltip-Y7J54OF7-0N4mmDgr.js deleted file mode 100644 index e777726..0000000 --- a/assets/WithTooltip-Y7J54OF7-0N4mmDgr.js +++ /dev/null @@ -1 +0,0 @@ -import{W as h,W as l,b as s}from"./index-5FojMo3J.js";import"./iframe-IJaDOTiX.js";import"../sb-preview/runtime.js";import"./index-OjgoNOWw.js";import"./index-mQqIOHEI.js";import"./index-Eok78svH.js";import"./index-ogXoivrg.js";import"./index-XkRcYS9h.js";import"./index-PPLHz8o0.js";export{h as WithToolTipState,l as WithTooltip,s as WithTooltipPure}; diff --git a/assets/alpha-checker-board-tCTBQaJF.js b/assets/alpha-checker-board-CANUayoU.js similarity index 96% rename from assets/alpha-checker-board-tCTBQaJF.js rename to assets/alpha-checker-board-CANUayoU.js index 55b6432..0614187 100644 --- a/assets/alpha-checker-board-tCTBQaJF.js +++ b/assets/alpha-checker-board-CANUayoU.js @@ -1,4 +1,4 @@ -import{j as z}from"./jsx-runtime-DtaoT6pD.js";import{r}from"./index-OjgoNOWw.js";import{c as O}from"./createDragHandler-nJMxlNVC.js";function _(o,f,l,i){r.useEffect(()=>{if(o.current!==null)return o.current.addEventListener(f,l,i),()=>{o.current!==null&&o.current.removeEventListener(f,l)}},[i,l,f,o])}function V({mouseZoomScale:o=.04,trackPadZoomScale:f=-.02,trackPadMoveScaleX:l=1,trackPadMoveScaleY:i=1,pointerDownZoomScale:g=100,minScale:y,maxScale:b,children:E,content:N,view:e,mode:a,onChangeView:c,style:q,...P}){const m=r.useRef(null),[x,u]=r.useState("auto"),R=r.useRef(a),d=r.useCallback((t,n,p)=>{var k;if(!m.current)return;let s=1+p/200;const Y=m.current.getBoundingClientRect();if(!((k=m.current.parentElement)==null?void 0:k.getBoundingClientRect()))return;const C=t-Y.left,M=n-Y.top,T=C-e.x,X=M-e.y;b!==void 0&&e.scale*s>b?s=b/e.scale:y!==void 0&&e.scale*s{const n=Number.isInteger(t.deltaY),p=t.ctrlKey||t.metaKey;if(n&&!p){c({x:e.x-t.deltaX*l,y:e.y-t.deltaY*i,scale:e.scale}),t.preventDefault();return}d(t.clientX,t.clientY,-t.deltaY),t.preventDefault()},[e,c,d,i,l]),r.useMemo(()=>({passive:!1}),[])),r.useEffect(()=>{u(a==="pan"?"grab":a==="zoom-in"?"zoom-in":a==="zoom-out"?"zoom-out":"auto"),R.current=a},[a]);const v=r.useMemo(()=>O({onDown:t=>a!=="pan"?!1:(u("grabbing"),{startX:t.clientX,startY:t.clientY,startOSX:e.x,startOSY:e.y}),onMove:(t,n)=>{if(n===void 0)return;const p=n.startX-t.clientX,s=n.startY-t.clientY;c({x:n.startOSX-p,y:n.startOSY-s,scale:e.scale})},onUp:()=>{R.current==="pan"?u("grab"):u("auto")}}),[a,e,c]),j=r.useCallback(t=>{a==="zoom-in"?d(t.pageX,t.pageY,g):a==="zoom-out"?d(t.pageX,t.pageY,-g):v(t)},[a,v,g,d]),D=r.useMemo(()=>({position:"absolute",pointerEvents:"none",transformOrigin:"0 0",top:`${e.y}px`,left:`${e.x}px`,transform:`scale(${e.scale})`}),[e.x,e.y,e.scale]),S=r.useMemo(()=>({cursor:x,...q}),[x,q]);return z.jsxs("div",{className:"cmpui_canvas-view__root",tabIndex:-1,ref:m,onPointerDown:j,style:S,...P,children:[z.jsx("div",{style:D,children:N}),E]})}V.__docgenInfo={description:"",methods:[],displayName:"CanvasView",props:{children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},onChangeView:{required:!0,tsType:{name:"signature",type:"function",raw:"(view: View) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ +import{j as z}from"./jsx-runtime-DvLKfCe6.js";import{r}from"./index-aXz8NaAs.js";import{c as O}from"./createDragHandler-nJMxlNVC.js";function _(o,f,l,i){r.useEffect(()=>{if(o.current!==null)return o.current.addEventListener(f,l,i),()=>{o.current!==null&&o.current.removeEventListener(f,l)}},[i,l,f,o])}function V({mouseZoomScale:o=.04,trackPadZoomScale:f=-.02,trackPadMoveScaleX:l=1,trackPadMoveScaleY:i=1,pointerDownZoomScale:g=100,minScale:y,maxScale:b,children:E,content:N,view:e,mode:a,onChangeView:c,style:q,...P}){const m=r.useRef(null),[x,u]=r.useState("auto"),R=r.useRef(a),d=r.useCallback((t,n,p)=>{var k;if(!m.current)return;let s=1+p/200;const Y=m.current.getBoundingClientRect();if(!((k=m.current.parentElement)==null?void 0:k.getBoundingClientRect()))return;const C=t-Y.left,M=n-Y.top,T=C-e.x,X=M-e.y;b!==void 0&&e.scale*s>b?s=b/e.scale:y!==void 0&&e.scale*s{const n=Number.isInteger(t.deltaY),p=t.ctrlKey||t.metaKey;if(n&&!p){c({x:e.x-t.deltaX*l,y:e.y-t.deltaY*i,scale:e.scale}),t.preventDefault();return}d(t.clientX,t.clientY,-t.deltaY),t.preventDefault()},[e,c,d,i,l]),r.useMemo(()=>({passive:!1}),[])),r.useEffect(()=>{u(a==="pan"?"grab":a==="zoom-in"?"zoom-in":a==="zoom-out"?"zoom-out":"auto"),R.current=a},[a]);const v=r.useMemo(()=>O({onDown:t=>a!=="pan"?!1:(u("grabbing"),{startX:t.clientX,startY:t.clientY,startOSX:e.x,startOSY:e.y}),onMove:(t,n)=>{if(n===void 0)return;const p=n.startX-t.clientX,s=n.startY-t.clientY;c({x:n.startOSX-p,y:n.startOSY-s,scale:e.scale})},onUp:()=>{R.current==="pan"?u("grab"):u("auto")}}),[a,e,c]),j=r.useCallback(t=>{a==="zoom-in"?d(t.pageX,t.pageY,g):a==="zoom-out"?d(t.pageX,t.pageY,-g):v(t)},[a,v,g,d]),D=r.useMemo(()=>({position:"absolute",pointerEvents:"none",transformOrigin:"0 0",top:`${e.y}px`,left:`${e.x}px`,transform:`scale(${e.scale})`}),[e.x,e.y,e.scale]),S=r.useMemo(()=>({cursor:x,...q}),[x,q]);return z.jsxs("div",{className:"cmpui_canvas-view__root",tabIndex:-1,ref:m,onPointerDown:j,style:S,...P,children:[z.jsx("div",{style:D,children:N}),E]})}V.__docgenInfo={description:"",methods:[],displayName:"CanvasView",props:{children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},onChangeView:{required:!0,tsType:{name:"signature",type:"function",raw:"(view: View) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ x: number; y: number; scale: number; diff --git a/assets/entry-preview-PfmdlAjE.js b/assets/entry-preview-PfmdlAjE.js new file mode 100644 index 0000000..80cc7e4 --- /dev/null +++ b/assets/entry-preview-PfmdlAjE.js @@ -0,0 +1 @@ +import{R as a,r as i}from"./index-aXz8NaAs.js";import{u as l,r as E}from"./react-18-MUTnB316.js";import"./index-n3prD_Ok.js";var v=Object.defineProperty,_=(r,e)=>{for(var t in e)v(r,t,{get:e[t],enumerable:!0})};const{global:f}=__STORYBOOK_MODULE_GLOBAL__;var g={};_(g,{mount:()=>M,parameters:()=>O,render:()=>w,renderToCanvas:()=>D});var w=(r,e)=>{let{id:t,component:n}=e;if(!n)throw new Error(`Unable to render story ${t} as the component annotation is missing from the default export`);return a.createElement(n,{...r})},{FRAMEWORK_OPTIONS:s}=f,b=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:r}=this.state,{showMain:e}=this.props;r||e()}componentDidCatch(r){let{showException:e}=this.props;e(r)}render(){let{hasError:r}=this.state,{children:e}=this.props;return r?null:e}},d=s!=null&&s.strictMode?i.StrictMode:i.Fragment;async function D({storyContext:r,unboundStoryFn:e,showMain:t,showException:n,forceRemount:u},o){var m,c;let p=a.createElement(b,{showMain:t,showException:n},a.createElement(e,{...r})),h=d?a.createElement(d,null,p):p;return u&&l(o),await E(h,o,(c=(m=r==null?void 0:r.parameters)==null?void 0:m.react)==null?void 0:c.rootOptions),()=>l(o)}var M=r=>async e=>(e!=null&&(r.originalStoryFn=()=>e),await r.renderToCanvas(),r.canvas),O={renderer:"react"};export{M as mount,O as parameters,w as render,D as renderToCanvas}; diff --git a/assets/entry-preview-docs-7_9Ieca4.js b/assets/entry-preview-docs-7_9Ieca4.js new file mode 100644 index 0000000..6de69db --- /dev/null +++ b/assets/entry-preview-docs-7_9Ieca4.js @@ -0,0 +1,54 @@ +import{a as xi,b as Yn,c as Fi,d as Zn,$ as eu,z as tu,e as ru,O as te,f as Wr,s as Gr,g as zr,K as iu,B as nu,P as $r,o as ft,H as uu}from"./index-CR2EVKgk.js";import{g as pt,c as lt,a as su,R as st,r as Ge}from"./index-aXz8NaAs.js";import{d as au}from"./index-PPLHz8o0.js";var vi={exports:{}},ou="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",lu=ou,cu=lu;function bi(){}function Si(){}Si.resetWarningCache=bi;var hu=function(){function e(i,u,s,a,f,p){if(p!==cu){var D=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw D.name="Invariant Violation",D}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Si,resetWarningCache:bi};return r.PropTypes=r,r};vi.exports=hu();var fu=vi.exports;const Jr=pt(fu),pu=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];var du=pu;const mu=pt(du);var _i={},Bi={};(function(e){(function t(r){var i,u,s,a,f,p;function D(g){var x={},F,B;for(F in g)g.hasOwnProperty(F)&&(B=g[F],typeof B=="object"&&B!==null?x[F]=D(B):x[F]=B);return x}function m(g,x){var F,B,R,N;for(B=g.length,R=0;B;)F=B>>>1,N=R+F,x(g[N])?B=F:(R=N+1,B-=F+1);return R}i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},s={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},a={},f={},p={},u={Break:a,Skip:f,Remove:p};function y(g,x){this.parent=g,this.key=x}y.prototype.replace=function(x){this.parent[this.key]=x},y.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function A(g,x,F,B){this.node=g,this.path=x,this.wrap=F,this.ref=B}function C(){}C.prototype.path=function(){var x,F,B,R,N,W;function q(M,X){if(Array.isArray(X))for(B=0,R=X.length;B=0;--F)if(g[F].node===x)return!0;return!1}C.prototype.traverse=function(x,F){var B,R,N,W,q,M,X,ne,oe,ie,Q,Ce;for(this.__initialize(x,F),Ce={},B=this.__worklist,R=this.__leavelist,B.push(new A(x,null,null,null)),R.push(new A(null,null,null,null));B.length;){if(N=B.pop(),N===Ce){if(N=R.pop(),M=this.__execute(F.leave,N),this.__state===a||M===a)return;continue}if(N.node){if(M=this.__execute(F.enter,N),this.__state===a||M===a)return;if(B.push(Ce),R.push(N),this.__state===f||M===f)continue;if(W=N.node,q=W.type||N.wrap,ie=this.__keys[q],!ie)if(this.__fallback)ie=this.__fallback(W);else throw new Error("Unknown node type "+q+".");for(ne=ie.length;(ne-=1)>=0;)if(X=ie[ne],Q=W[X],!!Q){if(Array.isArray(Q)){for(oe=Q.length;(oe-=1)>=0;)if(Q[oe]&&!b(R,Q[oe])){if(E(q,ie[ne]))N=new A(Q[oe],[X,oe],"Property",null);else if(v(Q[oe]))N=new A(Q[oe],[X,oe],null,null);else continue;B.push(N)}}else if(v(Q)){if(b(R,Q))continue;B.push(new A(Q,X,null,null))}}}}},C.prototype.replace=function(x,F){var B,R,N,W,q,M,X,ne,oe,ie,Q,Ce,Be;function Je(O){var Ve,Ct,Le,ee;if(O.ref.remove()){for(Ct=O.ref.key,ee=O.ref.parent,Ve=B.length;Ve--;)if(Le=B[Ve],Le.ref&&Le.ref.parent===ee){if(Le.ref.key=0;)if(Be=oe[X],ie=N[Be],!!ie)if(Array.isArray(ie)){for(ne=ie.length;(ne-=1)>=0;)if(ie[ne]){if(E(W,oe[X]))M=new A(ie[ne],[Be,ne],"Property",new y(ie,ne));else if(v(ie[ne]))M=new A(ie[ne],[Be,ne],null,new y(ie,ne));else continue;B.push(M)}}else v(ie)&&B.push(new A(ie,Be,null,new y(N,Be)))}}return Ce.root};function T(g,x){var F=new C;return F.traverse(g,x)}function I(g,x){var F=new C;return F.replace(g,x)}function V(g,x){var F;return F=m(x,function(R){return R.range[0]>g.range[0]}),g.extendedRange=[g.range[0],g.range[1]],F!==x.length&&(g.extendedRange[1]=x[F].range[0]),F-=1,F>=0&&(g.extendedRange[0]=x[F].range[1]),g}function S(g,x,F){var B=[],R,N,W,q;if(!g.range)throw new Error("attachComments needs range information");if(!F.length){if(x.length){for(W=0,N=x.length;WM.range[0]));)X.extendedRange[1]===M.range[0]?(M.leadingComments||(M.leadingComments=[]),M.leadingComments.push(X),B.splice(q,1)):q+=1;if(q===B.length)return u.Break;if(B[q].extendedRange[0]>M.range[1])return u.Skip}}),q=0,T(g,{leave:function(M){for(var X;qM.range[1])return u.Skip}}),g}return r.Syntax=i,r.traverse=T,r.replace=I,r.attachComments=S,r.VisitorKeys=s,r.VisitorOption=u,r.Controller=C,r.cloneEnvironment=function(){return t({})},r})(e)})(Bi);var St={},wi={exports:{}};(function(){function e(a){if(a==null)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(a){if(a==null)return!1;switch(a.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(a){if(a==null)return!1;switch(a.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(a){return r(a)||a!=null&&a.type==="FunctionDeclaration"}function u(a){switch(a.type){case"IfStatement":return a.alternate!=null?a.alternate:a.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return a.body}return null}function s(a){var f;if(a.type!=="IfStatement"||a.alternate==null)return!1;f=a.consequent;do{if(f.type==="IfStatement"&&f.alternate==null)return!0;f=u(f)}while(f);return!1}wi.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:i,isProblematicIfStatement:s,trailingStatement:u}})();var gu=wi.exports,ki={exports:{}};(function(){var e,t,r,i,u,s;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function a(b){return 48<=b&&b<=57}function f(b){return 48<=b&&b<=57||97<=b&&b<=102||65<=b&&b<=70}function p(b){return b>=48&&b<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function D(b){return b===32||b===9||b===11||b===12||b===160||b>=5760&&r.indexOf(b)>=0}function m(b){return b===10||b===13||b===8232||b===8233}function y(b){if(b<=65535)return String.fromCharCode(b);var T=String.fromCharCode(Math.floor((b-65536)/1024)+55296),I=String.fromCharCode((b-65536)%1024+56320);return T+I}for(i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||s===36||s===95;for(u=new Array(128),s=0;s<128;++s)u[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===36||s===95;function A(b){return b<128?i[b]:t.NonAsciiIdentifierStart.test(y(b))}function C(b){return b<128?u[b]:t.NonAsciiIdentifierPart.test(y(b))}function v(b){return b<128?i[b]:e.NonAsciiIdentifierStart.test(y(b))}function E(b){return b<128?u[b]:e.NonAsciiIdentifierPart.test(y(b))}ki.exports={isDecimalDigit:a,isHexDigit:f,isOctalDigit:p,isWhiteSpace:D,isLineTerminator:m,isIdentifierStartES5:A,isIdentifierPartES5:C,isIdentifierStartES6:v,isIdentifierPartES6:E}})();var Ii=ki.exports,Ti={exports:{}};(function(){var e=Ii;function t(A){switch(A){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(A,C){return!C&&A==="yield"?!1:i(A,C)}function i(A,C){if(C&&t(A))return!0;switch(A.length){case 2:return A==="if"||A==="in"||A==="do";case 3:return A==="var"||A==="for"||A==="new"||A==="try";case 4:return A==="this"||A==="else"||A==="case"||A==="void"||A==="with"||A==="enum";case 5:return A==="while"||A==="break"||A==="catch"||A==="throw"||A==="const"||A==="yield"||A==="class"||A==="super";case 6:return A==="return"||A==="typeof"||A==="delete"||A==="switch"||A==="export"||A==="import";case 7:return A==="default"||A==="finally"||A==="extends";case 8:return A==="function"||A==="continue"||A==="debugger";case 10:return A==="instanceof";default:return!1}}function u(A,C){return A==="null"||A==="true"||A==="false"||r(A,C)}function s(A,C){return A==="null"||A==="true"||A==="false"||i(A,C)}function a(A){return A==="eval"||A==="arguments"}function f(A){var C,v,E;if(A.length===0||(E=A.charCodeAt(0),!e.isIdentifierStartES5(E)))return!1;for(C=1,v=A.length;C=v||(b=A.charCodeAt(C),!(56320<=b&&b<=57343)))return!1;E=p(E,b)}if(!T(E))return!1;T=e.isIdentifierPartES6}return!0}function m(A,C){return f(A)&&!u(A,C)}function y(A,C){return D(A)&&!s(A,C)}Ti.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:u,isReservedWordES6:s,isRestrictedWord:a,isIdentifierNameES5:f,isIdentifierNameES6:D,isIdentifierES5:m,isIdentifierES6:y}})();var Du=Ti.exports;(function(){St.ast=gu,St.code=Ii,St.keyword=Du})();var it={},Zt={},Ft={},vt={},Hr;function Au(){if(Hr)return vt;Hr=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return vt.encode=function(t){if(0<=t&&t>1;return p?-D:D}return Ft.encode=function(p){var D="",m,y=s(p);do m=y&i,y>>>=t,y>0&&(m|=u),D+=e.encode(m);while(y>0);return D},Ft.decode=function(p,D,m){var y=p.length,A=0,C=0,v,E;do{if(D>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(E=e.decode(p.charCodeAt(D++)),E===-1)throw new Error("Invalid base64 digit: "+p.charAt(D-1));v=!!(E&u),E&=i,A=A+(E<=0;W--)R=B[W],R==="."?B.splice(W,1):R===".."?N++:N>0&&(R===""?(B.splice(W+1,N),N=0):(B.splice(W,2),N--));return g=B.join("/"),g===""&&(g=F?"/":"."),x?(x.path=g,s(x)):g}e.normalize=a;function f(S,g){S===""&&(S="."),g===""&&(g=".");var x=u(g),F=u(S);if(F&&(S=F.path||"/"),x&&!x.scheme)return F&&(x.scheme=F.scheme),s(x);if(x||g.match(i))return g;if(F&&!F.host&&!F.path)return F.host=g,s(F);var B=g.charAt(0)==="/"?g:a(S.replace(/\/+$/,"")+"/"+g);return F?(F.path=B,s(F)):B}e.join=f,e.isAbsolute=function(S){return S.charAt(0)==="/"||r.test(S)};function p(S,g){S===""&&(S="."),S=S.replace(/\/$/,"");for(var x=0;g.indexOf(S+"/")!==0;){var F=S.lastIndexOf("/");if(F<0||(S=S.slice(0,F),S.match(/^([^\/]+:\/)?\/*$/)))return g;++x}return Array(x+1).join("../")+g.substr(S.length+1)}e.relative=p;var D=function(){var S=Object.create(null);return!("__proto__"in S)}();function m(S){return S}function y(S){return C(S)?"$"+S:S}e.toSetString=D?m:y;function A(S){return C(S)?S.slice(1):S}e.fromSetString=D?m:A;function C(S){if(!S)return!1;var g=S.length;if(g<9||S.charCodeAt(g-1)!==95||S.charCodeAt(g-2)!==95||S.charCodeAt(g-3)!==111||S.charCodeAt(g-4)!==116||S.charCodeAt(g-5)!==111||S.charCodeAt(g-6)!==114||S.charCodeAt(g-7)!==112||S.charCodeAt(g-8)!==95||S.charCodeAt(g-9)!==95)return!1;for(var x=g-10;x>=0;x--)if(S.charCodeAt(x)!==36)return!1;return!0}function v(S,g,x){var F=b(S.source,g.source);return F!==0||(F=S.originalLine-g.originalLine,F!==0)||(F=S.originalColumn-g.originalColumn,F!==0||x)||(F=S.generatedColumn-g.generatedColumn,F!==0)||(F=S.generatedLine-g.generatedLine,F!==0)?F:b(S.name,g.name)}e.compareByOriginalPositions=v;function E(S,g,x){var F=S.generatedLine-g.generatedLine;return F!==0||(F=S.generatedColumn-g.generatedColumn,F!==0||x)||(F=b(S.source,g.source),F!==0)||(F=S.originalLine-g.originalLine,F!==0)||(F=S.originalColumn-g.originalColumn,F!==0)?F:b(S.name,g.name)}e.compareByGeneratedPositionsDeflated=E;function b(S,g){return S===g?0:S===null?1:g===null?-1:S>g?1:-1}function T(S,g){var x=S.generatedLine-g.generatedLine;return x!==0||(x=S.generatedColumn-g.generatedColumn,x!==0)||(x=b(S.source,g.source),x!==0)||(x=S.originalLine-g.originalLine,x!==0)||(x=S.originalColumn-g.originalColumn,x!==0)?x:b(S.name,g.name)}e.compareByGeneratedPositionsInflated=T;function I(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=I;function V(S,g,x){if(g=g||"",S&&(S[S.length-1]!=="/"&&g[0]!=="/"&&(S+="/"),g=S+g),x){var F=u(x);if(!F)throw new Error("sourceMapURL could not be parsed");if(F.path){var B=F.path.lastIndexOf("/");B>=0&&(F.path=F.path.substring(0,B+1))}g=f(s(F),g)}return a(g)}e.computeSourceURL=V}(er)),er}var tr={},Kr;function Ni(){if(Kr)return tr;Kr=1;var e=dt(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(s,a){for(var f=new i,p=0,D=s.length;p=0)return a}else{var f=e.toSetString(s);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+s+'" is not in the set.')},i.prototype.at=function(s){if(s>=0&&ss||a==s&&p>=f||e.compareByGeneratedPositionsInflated(i,u)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(u,s){this._array.forEach(u,s)},r.prototype.add=function(u){t(this._last,u)?(this._last=u,this._array.push(u)):(this._sorted=!1,this._array.push(u))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},rr.MappingList=r,rr}var Zr;function Li(){if(Zr)return Zt;Zr=1;var e=Pi(),t=dt(),r=Ni().ArraySet,i=Cu().MappingList;function u(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return u.prototype._version=3,u.fromSourceMap=function(a){var f=a.sourceRoot,p=new u({file:a.file,sourceRoot:f});return a.eachMapping(function(D){var m={generated:{line:D.generatedLine,column:D.generatedColumn}};D.source!=null&&(m.source=D.source,f!=null&&(m.source=t.relative(f,m.source)),m.original={line:D.originalLine,column:D.originalColumn},D.name!=null&&(m.name=D.name)),p.addMapping(m)}),a.sources.forEach(function(D){var m=D;f!==null&&(m=t.relative(f,D)),p._sources.has(m)||p._sources.add(m);var y=a.sourceContentFor(D);y!=null&&p.setSourceContent(D,y)}),p},u.prototype.addMapping=function(a){var f=t.getArg(a,"generated"),p=t.getArg(a,"original",null),D=t.getArg(a,"source",null),m=t.getArg(a,"name",null);this._skipValidation||this._validateMapping(f,p,D,m),D!=null&&(D=String(D),this._sources.has(D)||this._sources.add(D)),m!=null&&(m=String(m),this._names.has(m)||this._names.add(m)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:D,name:m})},u.prototype.setSourceContent=function(a,f){var p=a;this._sourceRoot!=null&&(p=t.relative(this._sourceRoot,p)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(p)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},u.prototype.applySourceMap=function(a,f,p){var D=f;if(f==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);D=a.file}var m=this._sourceRoot;m!=null&&(D=t.relative(m,D));var y=new r,A=new r;this._mappings.unsortedForEach(function(C){if(C.source===D&&C.originalLine!=null){var v=a.originalPositionFor({line:C.originalLine,column:C.originalColumn});v.source!=null&&(C.source=v.source,p!=null&&(C.source=t.join(p,C.source)),m!=null&&(C.source=t.relative(m,C.source)),C.originalLine=v.line,C.originalColumn=v.column,v.name!=null&&(C.name=v.name))}var E=C.source;E!=null&&!y.has(E)&&y.add(E);var b=C.name;b!=null&&!A.has(b)&&A.add(b)},this),this._sources=y,this._names=A,a.sources.forEach(function(C){var v=a.sourceContentFor(C);v!=null&&(p!=null&&(C=t.join(p,C)),m!=null&&(C=t.relative(m,C)),this.setSourceContent(C,v))},this)},u.prototype._validateMapping=function(a,f,p,D){if(f&&typeof f.line!="number"&&typeof f.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!f&&!p&&!D)){if(a&&"line"in a&&"column"in a&&f&&"line"in f&&"column"in f&&a.line>0&&a.column>=0&&f.line>0&&f.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:p,original:f,name:D}))}},u.prototype._serializeMappings=function(){for(var a=0,f=1,p=0,D=0,m=0,y=0,A="",C,v,E,b,T=this._mappings.toArray(),I=0,V=T.length;I0){if(!t.compareByGeneratedPositionsInflated(v,T[I-1]))continue;C+=","}C+=e.encode(v.generatedColumn-a),a=v.generatedColumn,v.source!=null&&(b=this._sources.indexOf(v.source),C+=e.encode(b-y),y=b,C+=e.encode(v.originalLine-1-D),D=v.originalLine-1,C+=e.encode(v.originalColumn-p),p=v.originalColumn,v.name!=null&&(E=this._names.indexOf(v.name),C+=e.encode(E-m),m=E)),A+=C}return A},u.prototype._generateSourcesContent=function(a,f){return a.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=t.relative(f,p));var D=t.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,D)?this._sourcesContents[D]:null},this)},u.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},Zt.SourceMapGenerator=u,Zt}var nt={},ir={},ei;function Eu(){return ei||(ei=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,i,u,s,a,f){var p=Math.floor((i-r)/2)+r,D=a(u,s[p],!0);return D===0?p:D>0?i-p>1?t(p,i,u,s,a,f):f==e.LEAST_UPPER_BOUND?i1?t(r,p,u,s,a,f):f==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(i,u,s,a){if(u.length===0)return-1;var f=t(-1,u.length,i,u,s,a||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&s(u[f],u[f-1],!0)===0;)--f;return f}}(ir)),ir}var nr={},ti;function yu(){if(ti)return nr;ti=1;function e(i,u,s){var a=i[u];i[u]=i[s],i[s]=a}function t(i,u){return Math.round(i+Math.random()*(u-i))}function r(i,u,s,a){if(s=0){var E=this._originalMappings[v];if(m.column===void 0)for(var b=E.originalLine;E&&E.originalLine===b;)C.push({line:e.getArg(E,"generatedLine",null),column:e.getArg(E,"generatedColumn",null),lastColumn:e.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v];else for(var T=E.originalColumn;E&&E.originalLine===y&&E.originalColumn==T;)C.push({line:e.getArg(E,"generatedLine",null),column:e.getArg(E,"generatedColumn",null),lastColumn:e.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v]}return C},nt.SourceMapConsumer=s;function a(D,m){var y=D;typeof D=="string"&&(y=e.parseSourceMapInput(D));var A=e.getArg(y,"version"),C=e.getArg(y,"sources"),v=e.getArg(y,"names",[]),E=e.getArg(y,"sourceRoot",null),b=e.getArg(y,"sourcesContent",null),T=e.getArg(y,"mappings"),I=e.getArg(y,"file",null);if(A!=this._version)throw new Error("Unsupported version: "+A);E&&(E=e.normalize(E)),C=C.map(String).map(e.normalize).map(function(V){return E&&e.isAbsolute(E)&&e.isAbsolute(V)?e.relative(E,V):V}),this._names=r.fromArray(v.map(String),!0),this._sources=r.fromArray(C,!0),this._absoluteSources=this._sources.toArray().map(function(V){return e.computeSourceURL(E,V,m)}),this.sourceRoot=E,this.sourcesContent=b,this._mappings=T,this._sourceMapURL=m,this.file=I}a.prototype=Object.create(s.prototype),a.prototype.consumer=s,a.prototype._findSourceIndex=function(D){var m=D;if(this.sourceRoot!=null&&(m=e.relative(this.sourceRoot,m)),this._sources.has(m))return this._sources.indexOf(m);var y;for(y=0;y1&&(B.source=b+N[1],b+=N[1],B.originalLine=v+N[2],v=B.originalLine,B.originalLine+=1,B.originalColumn=E+N[3],E=B.originalColumn,N.length>4&&(B.name=T+N[4],T+=N[4])),F.push(B),typeof B.originalLine=="number"&&x.push(B)}u(F,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=F,u(x,e.compareByOriginalPositions),this.__originalMappings=x},a.prototype._findMapping=function(m,y,A,C,v,E){if(m[A]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+m[A]);if(m[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+m[C]);return t.search(m,y,v,E)},a.prototype.computeColumnSpans=function(){for(var m=0;m=0){var C=this._generatedMappings[A];if(C.generatedLine===y.generatedLine){var v=e.getArg(C,"source",null);v!==null&&(v=this._sources.at(v),v=e.computeSourceURL(this.sourceRoot,v,this._sourceMapURL));var E=e.getArg(C,"name",null);return E!==null&&(E=this._names.at(E)),{source:v,line:e.getArg(C,"originalLine",null),column:e.getArg(C,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(m){return m==null}):!1},a.prototype.sourceContentFor=function(m,y){if(!this.sourcesContent)return null;var A=this._findSourceIndex(m);if(A>=0)return this.sourcesContent[A];var C=m;this.sourceRoot!=null&&(C=e.relative(this.sourceRoot,C));var v;if(this.sourceRoot!=null&&(v=e.urlParse(this.sourceRoot))){var E=C.replace(/^file:\/\//,"");if(v.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!v.path||v.path=="/")&&this._sources.has("/"+C))return this.sourcesContent[this._sources.indexOf("/"+C)]}if(y)return null;throw new Error('"'+C+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(m){var y=e.getArg(m,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var A={source:y,originalLine:e.getArg(m,"line"),originalColumn:e.getArg(m,"column")},C=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(m,"bias",s.GREATEST_LOWER_BOUND));if(C>=0){var v=this._originalMappings[C];if(v.source===A.source)return{line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},nt.BasicSourceMapConsumer=a;function p(D,m){var y=D;typeof D=="string"&&(y=e.parseSourceMapInput(D));var A=e.getArg(y,"version"),C=e.getArg(y,"sections");if(A!=this._version)throw new Error("Unsupported version: "+A);this._sources=new r,this._names=new r;var v={line:-1,column:0};this._sections=C.map(function(E){if(E.url)throw new Error("Support for url field in sections not implemented.");var b=e.getArg(E,"offset"),T=e.getArg(b,"line"),I=e.getArg(b,"column");if(T=0;p--)this.prepend(f[p]);else if(f[u]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},s.prototype.walk=function(f){for(var p,D=0,m=this.children.length;D0){for(p=[],D=0;D=6.0"},Pu=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],Nu={type:"git",url:"http://github.com/estools/escodegen.git"},Lu={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},Ou={"source-map":"~0.6.1"},Ru={acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},Mu="BSD-2-Clause",Vu={test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"},ju={name:bu,description:Su,homepage:_u,main:Bu,bin:wu,files:ku,version:Iu,engines:Tu,maintainers:Pu,repository:Nu,dependencies:Lu,optionalDependencies:Ou,devDependencies:Ru,license:Mu,scripts:Vu};(function(e){(function(){var t,r,i,u,s,a,f,p,D,m,y,A,C,v,E,b,T,I,V,S,g,x,F,B,R,N;s=Bi,a=St,t=s.Syntax;function W(n){return ae.Expression.hasOwnProperty(n.type)}function q(n){return ae.Statement.hasOwnProperty(n.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},i={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var M=1,X=2,ne=4,oe=8,ie=16,Q=32,Ce=64,Be=X|ne,Je=M|X,O=M|X|ne,Ve=M,Ct=ne,Le=M|ne,ee=M,be=M|Q,Et=0,Mn=M|ie,Vn=M|oe;function Nr(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` +`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function je(n,l){var o="";for(l|=0;l>0;l>>>=1,n+=n)l&1&&(o+=n);return o}function jn(n){return/[\r\n]/g.test(n)}function he(n){var l=n.length;return l&&a.code.isLineTerminator(n.charCodeAt(l-1))}function Lr(n,l){var o;for(o in l)l.hasOwnProperty(o)&&(n[o]=l[o]);return n}function yt(n,l){var o,c;function d(_){return typeof _=="object"&&_ instanceof Object&&!(_ instanceof RegExp)}for(o in l)l.hasOwnProperty(o)&&(c=l[o],d(c)?d(n[o])?yt(n[o],c):n[o]=yt({},c):n[o]=c);return n}function qn(n){var l,o,c,d,_;if(n!==n)throw new Error("Numeric literal whose value is NaN");if(n<0||n===0&&1/n<0)throw new Error("Numeric literal whose value is negative");if(n===1/0)return D?"null":m?"1e400":"1e+400";if(l=""+n,!m||l.length<3)return l;for(o=l.indexOf("."),!D&&l.charCodeAt(0)===48&&o===1&&(o=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(_=c.indexOf("e"))>0&&(d=+c.slice(_+1),c=c.slice(0,_)),o>=0&&(d-=c.length-o-1,c=+(c.slice(0,o)+c.slice(o+1))+""),_=0;c.charCodeAt(c.length+_-1)===48;)--_;return _!==0&&(d-=_,c=c.slice(0,_)),d!==0&&(c+="e"+d),(c.length1e12&&Math.floor(n)===n&&(c="0x"+n.toString(16)).length255?"\\u"+"0000".slice(o.length)+o:n===0&&!a.code.isDecimalDigit(l)?"\\0":n===11?"\\x0B":"\\x"+"00".slice(o.length)+o)}function Gn(n){if(n===92)return"\\\\";if(n===10)return"\\n";if(n===13)return"\\r";if(n===8232)return"\\u2028";if(n===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function zn(n){var l,o,c,d;for(d=A==="double"?'"':"'",l=0,o=n.length;l126))){l+=Wn(d,n.charCodeAt(o+1));continue}l+=String.fromCharCode(d)}if(k=!(A==="double"||A==="auto"&&w<_),L=k?"'":'"',!(k?_:w))return L+l+L;for(n=l,l=L,o=0,c=n.length;o=0&&!a.code.isLineTerminator(n.charCodeAt(l));--l);return n.length-1-l}function Hn(n,l){var o,c,d,_,w,k,L,J;for(o=n.split(/\r\n|[\r\n]/),k=Number.MAX_VALUE,c=1,d=o.length;cw&&(k=w)}for(typeof l<"u"?(L=f,o[1][k]==="*"&&(l+=" "),f=l):(k&1&&--k,L=f),c=1,d=o.length;c0){if(_=l,B){for(d=n.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,Xe=F.substring(J[0],ce[0]),Se=(Xe.match(/\n/g)||[]).length,Se>0?(l.push(je(` +`,Se)),l.push(pe(we(d)))):(l.push(Xe),l.push(we(d))),qe=ce,o=1,c=n.leadingComments.length;o0?(l.push(je(` +`,Se)),l.push(pe(we(d)))):(l.push(Xe),l.push(we(d)));else for(w=!he(Y(l).toString()),k=je(" ",Jn(Y([f,l,p]).toString())),o=0,c=n.trailingComments.length;o")),n.expression?(l.push(E),o=this.generateExpression(n.body,r.Assignment,O),o.toString().charAt(0)==="{"&&(o=["(",o,")"]),l.push(o)):l.push(this.maybeBlock(n.body,Vn)),l},ae.prototype.generateIterationForStatement=function(n,l,o){var c=["for"+(l.await?fe()+"await":"")+E+"("],d=this;return se(function(){l.left.type===t.VariableDeclaration?se(function(){c.push(l.left.kind+fe()),c.push(d.generateStatement(l.left.declarations[0],Et))}):c.push(d.generateExpression(l.left,r.Call,O)),c=U(c,n),c=[U(c,d.generateExpression(l.right,r.Assignment,O)),")"]}),c.push(this.maybeBlock(l.body,o)),c},ae.prototype.generatePropertyKey=function(n,l){var o=[];return l&&o.push("["),o.push(this.generateExpression(n,r.Assignment,O)),l&&o.push("]"),o},ae.prototype.generateAssignment=function(n,l,o,c,d){return r.Assignment2&&(c=F.substring(o[0]+1,o[1]-1),c[0]===` +`&&(d=["{"]),d.push(c)));var w,k,L,J;for(J=ee,l&oe&&(J|=ie),w=0,k=n.body.length;w0&&!n.body[w-1].trailingComments&&!n.body[w].leadingComments&&He(n.body[w-1].range[1],n.body[w].range[0],d)),w===k-1&&(J|=Q),n.body[w].leadingComments&&B?L=_.generateStatement(n.body[w],J):L=pe(_.generateStatement(n.body[w],J)),d.push(L),he(Y(L).toString())||B&&w1?se(L):L(),o.push(this.semicolon(l)),o},ThrowStatement:function(n,l){return[U("throw",this.generateExpression(n.argument,r.Sequence,O)),this.semicolon(l)]},TryStatement:function(n,l){var o,c,d,_;if(o=["try",this.maybeBlock(n.block,ee)],o=this.maybeBlockSuffix(n.block,o),n.handlers)for(c=0,d=n.handlers.length;c0?` +`:""],w=Mn,d=0;d<_;++d)!I&&d===_-1&&(w|=Q),B&&(d===0&&(n.body[0].leadingComments||He(n.range[0],n.body[d].range[0],o)),d>0&&!n.body[d-1].trailingComments&&!n.body[d].leadingComments&&He(n.body[d-1].range[1],n.body[d].range[0],o)),c=pe(this.generateStatement(n.body[d],w)),o.push(c),d+1<_&&!he(Y(c).toString())&&(B&&n.body[d+1].leadingComments||o.push(v)),B&&d===_-1&&(n.body[d].trailingComments||He(n.body[d].range[1],n.range[1],o));return o},FunctionDeclaration:function(n,l){return[rt(n,!0),"function",xt(n)||fe(),n.id?ge(n.id):"",this.generateFunctionBody(n)]},ReturnStatement:function(n,l){return n.argument?[U("return",this.generateExpression(n.argument,r.Sequence,O)),this.semicolon(l)]:["return"+this.semicolon(l)]},WhileStatement:function(n,l){var o,c=this;return se(function(){o=["while"+E+"(",c.generateExpression(n.test,r.Sequence,O),")"]}),o.push(this.maybeBlock(n.body,l&Q?be:ee)),o},WithStatement:function(n,l){var o,c=this;return se(function(){o=["with"+E+"(",c.generateExpression(n.object,r.Sequence,O),")"]}),o.push(this.maybeBlock(n.body,l&Q?be:ee)),o}},Lr(ae.prototype,ae.Statement),ae.Expression={SequenceExpression:function(n,l,o){var c,d,_;for(r.Sequence0){for(c.push("("),_=0,w=d;_=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(n.optional?"?.":"."),c.push(ge(n.property))),le(c,r.Member,l)},MetaProperty:function(n,l,o){var c;return c=[],c.push(typeof n.meta=="string"?n.meta:ge(n.meta)),c.push("."),c.push(typeof n.property=="string"?n.property:ge(n.property)),le(c,r.Member,l)},UnaryExpression:function(n,l,o){var c,d,_,w,k;return d=this.generateExpression(n.argument,r.Unary,O),E===""?c=U(n.operator,d):(c=[n.operator],n.operator.length>2?c=U(c,d):(w=Y(c).toString(),k=w.charCodeAt(w.length-1),_=d.toString().charCodeAt(0),((k===43||k===45)&&k===_||a.code.isIdentifierPartES5(k)&&a.code.isIdentifierPartES5(_))&&c.push(fe()),c.push(d))),le(c,r.Unary,l)},YieldExpression:function(n,l,o){var c;return n.delegate?c="yield*":c="yield",n.argument&&(c=U(c,this.generateExpression(n.argument,r.Yield,O))),le(c,r.Yield,l)},AwaitExpression:function(n,l,o){var c=U(n.all?"await*":"await",this.generateExpression(n.argument,r.Await,O));return le(c,r.Await,l)},UpdateExpression:function(n,l,o){return n.prefix?le([n.operator,this.generateExpression(n.argument,r.Unary,O)],r.Unary,l):le([this.generateExpression(n.argument,r.Postfix,O),n.operator],r.Postfix,l)},FunctionExpression:function(n,l,o){var c=[rt(n,!0),"function"];return n.id?(c.push(xt(n)||fe()),c.push(ge(n.id))):c.push(xt(n)||E),c.push(this.generateFunctionBody(n)),c},ArrayPattern:function(n,l,o){return this.ArrayExpression(n,l,o,!0)},ArrayExpression:function(n,l,o,c){var d,_,w=this;return n.elements.length?(_=c?!1:n.elements.length>1,d=["[",_?v:""],se(function(k){var L,J;for(L=0,J=n.elements.length;L1,se(function(){_=w.generateExpression(n.properties[0],r.Sequence,O)}),!c&&!jn(Y(_).toString())?["{",E,_,E,"}"]:(se(function(k){var L,J;if(d=["{",v,k,_],c)for(d.push(","+v),L=1,J=n.properties.length;L0||S.moz.comprehensionExpressionStartsWithAssignment?c=U(c,w):c.push(w)}),n.filter&&(c=U(c,"if"+E),w=this.generateExpression(n.filter,r.Sequence,O),c=U(c,["(",w,")"])),S.moz.comprehensionExpressionStartsWithAssignment||(w=this.generateExpression(n.body,r.Assignment,O),c=U(c,w)),c.push(n.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(n,l,o){var c;return n.left.type===t.VariableDeclaration?c=[n.left.kind,fe(),this.generateStatement(n.left.declarations[0],Et)]:c=this.generateExpression(n.left,r.Call,O),c=U(c,n.of?"of":"in"),c=U(c,this.generateExpression(n.right,r.Sequence,O)),["for"+E+"(",c,")"]},SpreadElement:function(n,l,o){return["...",this.generateExpression(n.argument,r.Assignment,O)]},TaggedTemplateExpression:function(n,l,o){var c=Je;o&X||(c=Ve);var d=[this.generateExpression(n.tag,r.Call,c),this.generateExpression(n.quasi,r.Primary,Ct)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(n,l,o){return n.value.raw},TemplateLiteral:function(n,l,o){var c,d,_;for(c=["`"],d=0,_=n.quasis.length;d<_;++d)c.push(this.generateExpression(n.quasis[d],r.Primary,O)),d+1<_&&(c.push("${"+E),c.push(this.generateExpression(n.expressions[d],r.Sequence,O)),c.push(E+"}"));return c.push("`"),c},ModuleSpecifier:function(n,l,o){return this.Literal(n,l,o)},ImportExpression:function(n,l,o){return le(["import(",this.generateExpression(n.source,r.Assignment,O),")"],r.Call,l)}},Lr(ae.prototype,ae.Expression),ae.prototype.generateExpression=function(n,l,o){var c,d;return d=n.type||t.Property,S.verbatim&&n.hasOwnProperty(S.verbatim)?Xn(n,l):(c=this[d](n,l,o),S.comment&&(c=Mr(n,c)),Y(c,n))},ae.prototype.generateStatement=function(n,l){var o,c;return o=this[n.type](n,l),S.comment&&(o=Mr(n,o)),c=Y(o).toString(),n.type===t.Program&&!I&&v===""&&c.charAt(c.length-1)===` +`&&(o=x?Y(o).replaceRight(/\s+$/,""):c.replace(/\s+$/,"")),Y(o,n)};function Qn(n){var l;if(l=new ae,q(n))return l.generateStatement(n,ee);if(W(n))return l.generateExpression(n,r.Sequence,O);throw new Error("Unknown node type: "+n.type)}function Kn(n,l){var o=Nr(),c,d;return l!=null?(typeof l.indent=="string"&&(o.format.indent.style=l.indent),typeof l.base=="number"&&(o.format.indent.base=l.base),l=yt(o,l),p=l.format.indent.style,typeof l.base=="string"?f=l.base:f=je(p,l.format.indent.base)):(l=o,p=l.format.indent.style,f=je(p,l.format.indent.base)),D=l.format.json,m=l.format.renumber,y=D?!1:l.format.hexadecimal,A=D?"double":l.format.quotes,C=l.format.escapeless,v=l.format.newline,E=l.format.space,l.format.compact&&(v=E=p=f=""),b=l.format.parentheses,T=l.format.semicolons,I=l.format.safeConcatenation,V=l.directive,g=D?null:l.parse,x=l.sourceMap,F=l.sourceCode,B=l.format.preserveBlankLines&&F!==null,S=l,x&&(e.browser?u=lt.sourceMap.SourceNode:u=vu().SourceNode),c=Qn(n),x?(d=c.toStringWithSourceMap({file:l.file,sourceRoot:l.sourceMapRoot}),l.sourceContent&&d.map.setSourceContent(l.sourceMap,l.sourceContent),l.sourceMapWithCode?d:d.map.toString()):(d={code:c.toString(),map:null},l.sourceMapWithCode?d:d.code)}R={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},N=Nr().format,e.version=ju.version,e.generate=Kn,e.attachComments=s.attachComments,e.Precedence=yt({},r),e.browser=!1,e.FORMAT_MINIFY=R,e.FORMAT_DEFAULTS=N})()})(_i);var sr={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ar="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",qu={5:ar,"5module":ar+" export import",6:ar+" const class extends export import super"},Uu=/^in(stanceof)?$/,Dr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Oi="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Wu=new RegExp("["+Dr+"]"),Gu=new RegExp("["+Dr+Oi+"]");Dr=Oi=null;var Ri=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],zu=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function lr(e,t){for(var r=65536,i=0;ie)return!1;if(r+=t[i+1],r>=e)return!0}}function Te(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Wu.test(String.fromCharCode(e)):t===!1?!1:lr(e,Ri)}function We(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Gu.test(String.fromCharCode(e)):t===!1?!1:lr(e,Ri)||lr(e,zu)}var K=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function Ee(e,t){return new K(e,{beforeExpr:!0,binop:t})}var ye={beforeExpr:!0},De={startsExpr:!0},Pt={};function H(e,t){return t===void 0&&(t={}),t.keyword=e,Pt[e]=new K(e,t)}var h={num:new K("num",De),regexp:new K("regexp",De),string:new K("string",De),name:new K("name",De),eof:new K("eof"),bracketL:new K("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new K("]"),braceL:new K("{",{beforeExpr:!0,startsExpr:!0}),braceR:new K("}"),parenL:new K("(",{beforeExpr:!0,startsExpr:!0}),parenR:new K(")"),comma:new K(",",ye),semi:new K(";",ye),colon:new K(":",ye),dot:new K("."),question:new K("?",ye),questionDot:new K("?."),arrow:new K("=>",ye),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",ye),backQuote:new K("`",De),dollarBraceL:new K("${",{beforeExpr:!0,startsExpr:!0}),eq:new K("=",{beforeExpr:!0,isAssign:!0}),assign:new K("_=",{beforeExpr:!0,isAssign:!0}),incDec:new K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new K("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Ee("||",1),logicalAND:Ee("&&",2),bitwiseOR:Ee("|",3),bitwiseXOR:Ee("^",4),bitwiseAND:Ee("&",5),equality:Ee("==/!=/===/!==",6),relational:Ee("/<=/>=",7),bitShift:Ee("<>/>>>",8),plusMin:new K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Ee("%",10),star:Ee("*",10),slash:Ee("/",10),starstar:new K("**",{beforeExpr:!0}),coalesce:Ee("??",1),_break:H("break"),_case:H("case",ye),_catch:H("catch"),_continue:H("continue"),_debugger:H("debugger"),_default:H("default",ye),_do:H("do",{isLoop:!0,beforeExpr:!0}),_else:H("else",ye),_finally:H("finally"),_for:H("for",{isLoop:!0}),_function:H("function",De),_if:H("if"),_return:H("return",ye),_switch:H("switch"),_throw:H("throw",ye),_try:H("try"),_var:H("var"),_const:H("const"),_while:H("while",{isLoop:!0}),_with:H("with"),_new:H("new",{beforeExpr:!0,startsExpr:!0}),_this:H("this",De),_super:H("super",De),_class:H("class",De),_extends:H("extends",ye),_export:H("export"),_import:H("import",De),_null:H("null",De),_true:H("true",De),_false:H("false",De),_in:H("in",{beforeExpr:!0,binop:7}),_instanceof:H("instanceof",{beforeExpr:!0,binop:7}),_typeof:H("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:H("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:H("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Ae=/\r\n?|\n|\u2028|\u2029/,Qe=new RegExp(Ae.source,"g");function et(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var Ar=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Fe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Mi=Object.prototype,$u=Mi.hasOwnProperty,Ju=Mi.toString;function Nt(e,t){return $u.call(e,t)}var ui=Array.isArray||function(e){return Ju.call(e)==="[object Array]"};function Ue(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ke=function(t,r){this.line=t,this.column=r};Ke.prototype.offset=function(t){return new Ke(this.line,this.column+t)};var mt=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function Cr(e,t){for(var r=1,i=0;;){Qe.lastIndex=i;var u=Qe.exec(e);if(u&&u.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),ui(t.onToken)){var i=t.onToken;t.onToken=function(u){return i.push(u)}}return ui(t.onComment)&&(t.onComment=Xu(t,t.onComment)),t}function Xu(e,t){return function(r,i,u,s,a,f){var p={type:r?"Block":"Line",value:i,start:u,end:s};e.locations&&(p.loc=new mt(this,a,f)),e.ranges&&(p.range=[u,s]),t.push(p)}}var ct=1,gt=2,Er=ct|gt,Vi=4,ji=8,qi=16,Ui=32,Wi=64,Gi=128;function yr(e,t){return gt|(e?Vi:0)|(t?ji:0)}var si=0,xr=1,Ie=2,zi=3,$i=4,Ji=5,re=function(t,r,i){this.options=t=Hu(t),this.sourceFile=t.sourceFile,this.keywords=Ue(qu[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var u="";if(t.allowReserved!==!0){for(var s=t.ecmaVersion;!(u=sr[s]);s--);t.sourceType==="module"&&(u+=" await")}this.reservedWords=Ue(u);var a=(u?u+" ":"")+sr.strict;this.reservedWordsStrict=Ue(a),this.reservedWordsStrictBind=Ue(a+" "+sr.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(` +`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Ae).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=h.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ct),this.regexpState=null},ze={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};re.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ze.inFunction.get=function(){return(this.currentVarScope().flags>)>0};ze.inGenerator.get=function(){return(this.currentVarScope().flags&ji)>0};ze.inAsync.get=function(){return(this.currentVarScope().flags&Vi)>0};ze.allowSuper.get=function(){return(this.currentThisScope().flags&Wi)>0};ze.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Gi)>0};ze.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};re.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags>)>0};re.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,u=0;u=,?^&]/.test(u)||u==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Fe.lastIndex=e,e+=Fe.exec(this.input)[0].length,this.input[e]===";"&&e++}};me.eat=function(e){return this.type===e?(this.next(),!0):!1};me.isContextual=function(e){return this.type===h.name&&this.value===e&&!this.containsEsc};me.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};me.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};me.canInsertSemicolon=function(){return this.type===h.eof||this.type===h.braceR||Ae.test(this.input.slice(this.lastTokEnd,this.start))};me.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};me.semicolon=function(){!this.eat(h.semi)&&!this.insertSemicolon()&&this.unexpected()};me.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};me.expect=function(e){this.eat(e)||this.unexpected()};me.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function Lt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}me.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}};me.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};me.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(u,!1,!e);case h._class:return e&&this.unexpected(),this.parseClass(u,!0);case h._if:return this.parseIfStatement(u);case h._return:return this.parseReturnStatement(u);case h._switch:return this.parseSwitchStatement(u);case h._throw:return this.parseThrowStatement(u);case h._try:return this.parseTryStatement(u);case h._const:case h._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(u,s);case h._while:return this.parseWhileStatement(u);case h._with:return this.parseWithStatement(u);case h.braceL:return this.parseBlock(!0,u);case h.semi:return this.parseEmptyStatement(u);case h._export:case h._import:if(this.options.ecmaVersion>10&&i===h._import){Fe.lastIndex=this.pos;var a=Fe.exec(this.input),f=this.pos+a[0].length,p=this.input.charCodeAt(f);if(p===40||p===46)return this.parseExpressionStatement(u,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===h._import?this.parseImport(u):this.parseExport(u,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(u,!0,!e);var D=this.value,m=this.parseExpression();return i===h.name&&m.type==="Identifier"&&this.eat(h.colon)?this.parseLabeledStatement(u,D,m,e):this.parseExpressionStatement(u,m)}};G.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(h.semi)||this.insertSemicolon()?e.label=null:this.type!==h.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(h.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};G.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Fr),this.enterScope(0),this.expect(h.parenL),this.type===h.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===h._var||this.type===h._const||r){var i=this.startNode(),u=r?"let":this.value;return this.next(),this.parseVar(i,!0,u),this.finishNode(i,"VariableDeclaration"),(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var s=new Lt,a=this.parseExpression(!0,s);return this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,s),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))};G.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,at|(r?0:cr),!1,t)};G.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(h._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};G.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(h.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};G.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(h.braceL),this.labels.push(Ku),this.enterScope(0);for(var t,r=!1;this.type!==h.braceR;)if(this.type===h._case||this.type===h._default){var i=this.type===h._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(h.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};G.parseThrowStatement=function(e){return this.next(),Ae.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Yu=[];G.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===h._catch){var t=this.startNode();if(this.next(),this.eat(h.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Ui:0),this.checkLVal(t.param,r?$i:Ie),this.expect(h.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(h._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};G.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};G.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Fr),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};G.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};G.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};G.parseLabeledStatement=function(e,t,r,i){for(var u=0,s=this.labels;u=0;p--){var D=this.labels[p];if(D.statementStart===e.start)D.statementStart=this.start,D.kind=f;else break}return this.labels.push({name:t,kind:f,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};G.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};G.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(h.braceL),e&&this.enterScope(0);this.type!==h.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};G.parseFor=function(e,t){return e.init=t,this.expect(h.semi),e.test=this.type===h.semi?null:this.parseExpression(),this.expect(h.semi),e.update=this.type===h.parenR?null:this.parseExpression(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};G.parseForIn=function(e,t){var r=this.type===h._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};G.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(h.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===h._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(h.comma))break}return e};G.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?xr:Ie,!1)};var at=1,cr=2,Hi=4;G.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===h.star&&t&cr&&this.unexpected(),e.generator=this.eat(h.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&at&&(e.id=t&Hi&&this.type!==h.name?null:this.parseIdent(),e.id&&!(t&cr)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?xr:Ie:zi));var u=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yr(e.async,e.generator)),t&at||(e.id=this.type===h.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=u,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&at?"FunctionDeclaration":"FunctionExpression")};G.parseFunctionParams=function(e){this.expect(h.parenL),e.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};G.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),u=!1;for(i.body=[],this.expect(h.braceL);this.type!==h.braceR;){var s=this.parseClassElement(e.superClass!==null);s&&(i.body.push(s),s.type==="MethodDefinition"&&s.kind==="constructor"&&(u&&this.raise(s.start,"Duplicate constructor in the same class"),u=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};G.parseClassElement=function(e){var t=this;if(this.eat(h.semi))return null;var r=this.startNode(),i=function(p,D){D===void 0&&(D=!1);var m=t.start,y=t.startLoc;return t.eatContextual(p)?t.type!==h.parenL&&(!D||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(m,y),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var u=this.eat(h.star),s=!1;u||(this.options.ecmaVersion>=8&&i("async",!0)?(s=!0,u=this.options.ecmaVersion>=9&&this.eat(h.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var a=r.key,f=!1;return!r.computed&&!r.static&&(a.type==="Identifier"&&a.name==="constructor"||a.type==="Literal"&&a.value==="constructor")?(r.kind!=="method"&&this.raise(a.start,"Constructor can't have get/set modifier"),u&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),r.kind="constructor",f=e):r.static&&a.type==="Identifier"&&a.name==="prototype"&&this.raise(a.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,u,s,f),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r};G.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};G.parseClassId=function(e,t){this.type===h.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ie,!1)):(t===!0&&this.unexpected(),e.id=null)};G.parseClassSuper=function(e){e.superClass=this.eat(h._extends)?this.parseExprSubscripts():null};G.parseExport=function(e,t){if(this.next(),this.eat(h.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==h.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(h._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===h._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,at|Hi,!1,r)}else if(this.type===h._class){var u=this.startNode();e.declaration=this.parseClass(u,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==h.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var s=0,a=e.specifiers;s=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,u=e.properties;i=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(h._function))return this.parseFunction(this.startNodeAt(i,u),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(h.arrow))return this.parseArrowExpression(this.startNodeAt(i,u),[a],!1);if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===h.name&&!s)return a=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(h.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,u),[a],!0)}return a;case h.regexp:var f=this.value;return t=this.parseLiteral(f.value),t.regex={pattern:f.pattern,flags:f.flags},t;case h.num:case h.string:return this.parseLiteral(this.value);case h._null:case h._true:case h._false:return t=this.startNode(),t.value=this.type===h._null?null:this.type===h._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case h.parenL:var p=this.start,D=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(D)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),D;case h.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(h.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case h.braceL:return this.parseObj(!1,e);case h._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case h._class:return this.parseClass(this.startNode(),!1);case h._new:return this.parseNew();case h.backQuote:return this.parseTemplate();case h._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};z.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case h.parenL:return this.parseDynamicImport(e);case h.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(h.parenR)){var t=this.start;this.eat(h.comma)&&this.eat(h.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};z.parseParenExpression=function(){this.expect(h.parenL);var e=this.parseExpression();return this.expect(h.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,u=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc,f=[],p=!0,D=!1,m=new Lt,y=this.yieldPos,A=this.awaitPos,C;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;)if(p?p=!1:this.expect(h.comma),u&&this.afterTrailingComma(h.parenR,!0)){D=!0;break}else if(this.type===h.ellipsis){C=this.start,f.push(this.parseParenItem(this.parseRestBinding())),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else f.push(this.parseMaybeAssign(!1,m,this.parseParenItem));var v=this.start,E=this.startLoc;if(this.expect(h.parenR),e&&!this.canInsertSemicolon()&&this.eat(h.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=A,this.parseParenArrowList(t,r,f);(!f.length||D)&&this.unexpected(this.lastTokStart),C&&this.unexpected(C),this.checkExpressionErrors(m,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=A||this.awaitPos,f.length>1?(i=this.startNodeAt(s,a),i.expressions=f,this.finishNodeAt(i,"SequenceExpression",v,E)):i=f[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var b=this.startNodeAt(t,r);return b.expression=i,this.finishNode(b,"ParenthesizedExpression")}else return i};z.parseParenItem=function(e){return e};z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var Zu=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(h.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,u=this.startLoc,s=this.type===h._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,u,!0),s&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(h.parenL)?e.arguments=this.parseExprList(h.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Zu,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===h.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),r.tail=this.type===h.backQuote,this.finishNode(r,"TemplateElement")};z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===h.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(h.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(h.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===h.name||this.type===h.num||this.type===h.string||this.type===h.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===h.star)&&!Ae.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,u={};for(r.properties=[],this.next();!this.eat(h.braceR);){if(i)i=!1;else if(this.expect(h.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(h.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,u,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,u,s,a;if(this.options.ecmaVersion>=9&&this.eat(h.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===h.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===h.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(s=this.start,a=this.startLoc),e||(i=this.eat(h.star)));var f=this.containsEsc;return this.parsePropertyName(r),!e&&!f&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(u=!0,i=this.options.ecmaVersion>=9&&this.eat(h.star),this.parsePropertyName(r,t)):u=!1,this.parsePropertyValue(r,e,i,u,s,a,t,f),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,u,s,a,f){if((r||i)&&this.type===h.colon&&this.unexpected(),this.eat(h.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===h.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!f&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==h.comma&&this.type!==h.braceR&&this.type!==h.eq){(r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var D=e.value.start;e.kind==="get"?this.raiseRecoverable(D,"getter should have no params"):this.raiseRecoverable(D,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=u),e.kind="init",t?e.value=this.parseMaybeDefault(u,s,e.key):this.type===h.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(u,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(h.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(h.bracketR),e.key;e.computed=!1}return e.key=this.type===h.num||this.type===h.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};z.parseMethod=function(e,t,r){var i=this.startNode(),u=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yr(t,i.generator)|Wi|(r?Gi:0)),this.expect(h.parenL),i.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=u,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,u=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(yr(r,!1)|qi),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=u,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==h.braceL,u=this.strict,s=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!u||a)&&(s=this.strictDirective(this.end),s&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var f=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!u&&!s&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Ji),e.body=this.parseBlock(!1,void 0,s&&!u),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=f}this.exitScope()};z.isSimpleParamList=function(e){for(var t=0,r=e;t-1||u.functions.indexOf(e)>-1||u.var.indexOf(e)>-1,u.lexical.push(e),this.inModule&&u.flags&ct&&delete this.undefinedExports[e]}else if(t===$i){var s=this.currentScope();s.lexical.push(e)}else if(t===zi){var a=this.currentScope();this.treatFunctionsAsVar?i=a.lexical.indexOf(e)>-1:i=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var f=this.scopeStack.length-1;f>=0;--f){var p=this.scopeStack[f];if(p.lexical.indexOf(e)>-1&&!(p.flags&Ui&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){i=!0;break}if(p.var.push(e),this.inModule&&p.flags&ct&&delete this.undefinedExports[e],p.flags&Er)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};Me.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Me.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Me.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Er)return t}};Me.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Er&&!(t.flags&qi))return t}};var Ot=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new mt(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Rt=re.prototype;Rt.startNode=function(){return new Ot(this,this.start,this.startLoc)};Rt.startNodeAt=function(e,t){return new Ot(this,e,t)};function Xi(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}Rt.finishNode=function(e,t){return Xi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Rt.finishNodeAt=function(e,t,r,i){return Xi.call(this,e,t,r,i)};var xe=function(t,r,i,u,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=u,this.generator=!!s},ue={b_stat:new xe("{",!1),b_expr:new xe("{",!0),b_tmpl:new xe("${",!1),p_stat:new xe("(",!1),p_expr:new xe("(",!0),q_tmpl:new xe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new xe("function",!1),f_expr:new xe("function",!0),f_expr_gen:new xe("function",!0,!1,null,!0),f_gen:new xe("function",!1,!1,null,!0)},Mt=re.prototype;Mt.initialContext=function(){return[ue.b_stat]};Mt.braceIsBlock=function(e){var t=this.curContext();return t===ue.f_expr||t===ue.f_stat?!0:e===h.colon&&(t===ue.b_stat||t===ue.b_expr)?!t.isExpr:e===h._return||e===h.name&&this.exprAllowed?Ae.test(this.input.slice(this.lastTokEnd,this.start)):e===h._else||e===h.semi||e===h.eof||e===h.parenR||e===h.arrow?!0:e===h.braceL?t===ue.b_stat:e===h._var||e===h._const||e===h.name?!1:!this.exprAllowed};Mt.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};Mt.updateContext=function(e){var t,r=this.type;r.keyword&&e===h.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};h.parenR.updateContext=h.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ue.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};h.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ue.b_stat:ue.b_expr),this.exprAllowed=!0};h.dollarBraceL.updateContext=function(){this.context.push(ue.b_tmpl),this.exprAllowed=!0};h.parenL.updateContext=function(e){var t=e===h._if||e===h._for||e===h._with||e===h._while;this.context.push(t?ue.p_stat:ue.p_expr),this.exprAllowed=!0};h.incDec.updateContext=function(){};h._function.updateContext=h._class.updateContext=function(e){e.beforeExpr&&e!==h.semi&&e!==h._else&&!(e===h._return&&Ae.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===h.colon||e===h.braceL)&&this.curContext()===ue.b_stat)?this.context.push(ue.f_expr):this.context.push(ue.f_stat),this.exprAllowed=!1};h.backQuote.updateContext=function(){this.curContext()===ue.q_tmpl?this.context.pop():this.context.push(ue.q_tmpl),this.exprAllowed=!1};h.star.updateContext=function(e){if(e===h._function){var t=this.context.length-1;this.context[t]===ue.f_expr?this.context[t]=ue.f_expr_gen:this.context[t]=ue.f_gen}this.exprAllowed=!0};h.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==h.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Qi="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Ki=Qi+" Extended_Pictographic",ts=Ki,rs={9:Qi,10:Ki,11:ts},ai="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Yi="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Zi=Yi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",is=Zi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ns={9:Yi,10:Zi,11:is},en={};function vr(e){var t=en[e]={binary:Ue(rs[e]+" "+ai),nonBinary:{General_Category:Ue(ai),Script:Ue(ns[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}vr(9);vr(10);vr(11);var j=re.prototype,Ne=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=en[t.options.ecmaVersion>=11?11:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Ne.prototype.reset=function(t,r,i){var u=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=u&&this.parser.options.ecmaVersion>=6,this.switchN=u&&this.parser.options.ecmaVersion>=9};Ne.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ne.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,u=i.length;if(t>=u)return-1;var s=i.charCodeAt(t);if(!(r||this.switchU)||s<=55295||s>=57344||t+1>=u)return s;var a=i.charCodeAt(t+1);return a>=56320&&a<=57343?(s<<10)+a-56613888:s};Ne.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,u=i.length;if(t>=u)return u;var s=i.charCodeAt(t),a;return!(r||this.switchU)||s<=55295||s>=57344||t+1>=u||(a=i.charCodeAt(t+1))<56320||a>57343?t+1:t+2};Ne.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Ne.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Ne.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Ne.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function kt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}j.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}};j.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};j.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};j.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};j.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};j.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,u=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(u=e.lastIntValue),e.eat(125)))return u!==-1&&u=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};j.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};j.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};j.regexp_eatSyntaxCharacter=function(e){var t=e.current();return tn(t)?(e.lastIntValue=t,e.advance(),!0):!1};function tn(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}j.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!tn(r);)e.advance();return e.pos!==t};j.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};j.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};j.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};j.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=kt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=kt(e.lastIntValue);return!0}return!1};j.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),us(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function us(e){return Te(e,!0)||e===36||e===95}j.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ss(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ss(e){return We(e,!0)||e===36||e===95||e===8204||e===8205}j.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};j.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};j.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};j.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};j.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};j.regexp_eatZero=function(e){return e.current()===48&&!Vt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};j.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};j.regexp_eatControlLetter=function(e){var t=e.current();return rn(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function rn(e){return e>=65&&e<=90||e>=97&&e<=122}j.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(i&&u>=55296&&u<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(u-55296)*1024+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=u}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&as(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function as(e){return e>=0&&e<=1114111}j.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};j.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};j.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(os(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function os(e){return e===100||e===68||e===115||e===83||e===119||e===87}j.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var u=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,u),!0}return!1};j.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Nt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};j.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};j.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";nn(t=e.current());)e.lastStringValue+=kt(t),e.advance();return e.lastStringValue!==""};function nn(e){return rn(e)||e===95}j.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";ls(t=e.current());)e.lastStringValue+=kt(t),e.advance();return e.lastStringValue!==""};function ls(e){return nn(e)||Vt(e)}j.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};j.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};j.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};j.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||an(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};j.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};j.regexp_eatClassControlLetter=function(e){var t=e.current();return Vt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};j.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};j.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Vt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Vt(e){return e>=48&&e<=57}j.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;un(r=e.current());)e.lastIntValue=16*e.lastIntValue+sn(r),e.advance();return e.pos!==t};function un(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function sn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}j.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};j.regexp_eatOctalDigit=function(e){var t=e.current();return an(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function an(e){return e>=48&&e<=55}j.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i=this.input.length)return this.finishToken(h.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};$.readToken=function(e){return Te(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};$.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};$.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){Qe.lastIndex=t;for(var i;(i=Qe.exec(this.input))&&i.index8&&e<14||e>=5760&&Ar.test(String.fromCharCode(e)))++this.pos;else break e}}};$.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};$.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(h.ellipsis)):(++this.pos,this.finishToken(h.dot))};$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(h.assign,2):this.finishOp(h.slash,1)};$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?h.star:h.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=h.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(h.assign,r+1):this.finishOp(i,r)};$.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(h.assign,3)}return this.finishOp(e===124?h.logicalOR:h.logicalAND,2)}return t===61?this.finishOp(h.assign,2):this.finishOp(e===124?h.bitwiseOR:h.bitwiseAND,1)};$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(h.assign,2):this.finishOp(h.bitwiseXOR,1)};$.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ae.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(h.incDec,2):t===61?this.finishOp(h.assign,2):this.finishOp(h.plusMin,1)};$.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(h.assign,r+1):this.finishOp(h.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(h.relational,r))};$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(h.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(h.arrow)):this.finishOp(e===61?h.eq:h.prefix,1)};$.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(h.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(h.assign,3)}return this.finishOp(h.coalesce,2)}}return this.finishOp(h.question,1)};$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(h.parenL);case 41:return++this.pos,this.finishToken(h.parenR);case 59:return++this.pos,this.finishToken(h.semi);case 44:return++this.pos,this.finishToken(h.comma);case 91:return++this.pos,this.finishToken(h.bracketL);case 93:return++this.pos,this.finishToken(h.bracketR);case 123:return++this.pos,this.finishToken(h.braceL);case 125:return++this.pos,this.finishToken(h.braceR);case 58:return++this.pos,this.finishToken(h.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(h.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(h.prefix,1)}this.raise(this.pos,"Unexpected character '"+br(e)+"'")};$.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};$.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(Ae.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var u=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var f=this.regexpState||(this.regexpState=new Ne(this));f.reset(r,u,a),this.validateRegExpFlags(f),this.validateRegExpPattern(f);var p=null;try{p=new RegExp(u,a)}catch{}return this.finishToken(h.regexp,{pattern:u,flags:a,value:p})};$.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,u=r&&this.input.charCodeAt(this.pos)===48,s=this.pos,a=0,f=0,p=0,D=t??1/0;p=97?y=m-97+10:m>=65?y=m-65+10:m>=48&&m<=57?y=m-48:y=1/0,y>=e)break;f=m,a=a*e+y}return i&&f===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:a};function cs(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function on(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}$.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=on(this.input.slice(t,this.pos)),++this.pos):Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,r)};$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var u=on(this.input.slice(t,this.pos));return++this.pos,Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,u)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=cs(this.input.slice(t,this.pos),r);return this.finishToken(h.num,s)};$.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};function br(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(et(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(h.string,t)};var ln={};$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ln)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ln;this.raise(e,t)};$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===h.template||this.type===h.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(h.dollarBraceL)):(++this.pos,this.finishToken(h.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(h.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(et(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` +`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};$.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],u=parseInt(i,8);return u>255&&(i=i.slice(0,-1),u=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(u)}return et(t)?"":String.fromCharCode(t)}};$.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};$.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const oi=su(ds);(function(e){const t=ms,r=/^[\da-fA-F]+$/,i=/^\d+$/,u=new WeakMap;function s(p){p=p.Parser.acorn||p;let D=u.get(p);if(!D){const m=p.tokTypes,y=p.TokContext,A=p.TokenType,C=new y("...",!0,!0),b={tc_oTag:C,tc_cTag:v,tc_expr:E},T={jsxName:new A("jsxName"),jsxText:new A("jsxText",{beforeExpr:!0}),jsxTagStart:new A("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new A("jsxTagEnd")};T.jsxTagStart.updateContext=function(){this.context.push(E),this.context.push(C),this.exprAllowed=!1},T.jsxTagEnd.updateContext=function(I){let V=this.context.pop();V===C&&I===m.slash||V===v?(this.context.pop(),this.exprAllowed=this.curContext()===E):this.exprAllowed=!0},D={tokContexts:b,tokTypes:T},u.set(p,D)}return D}function a(p){if(!p)return p;if(p.type==="JSXIdentifier")return p.name;if(p.type==="JSXNamespacedName")return p.namespace.name+":"+p.name.name;if(p.type==="JSXMemberExpression")return a(p.object)+"."+a(p.property)}e.exports=function(p){return p=p||{},function(D){return f({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},D)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return s(oi).tokTypes},configurable:!0,enumerable:!0});function f(p,D){const m=D.acorn||oi,y=s(m),A=m.tokTypes,C=y.tokTypes,v=m.tokContexts,E=y.tokContexts.tc_oTag,b=y.tokContexts.tc_cTag,T=y.tokContexts.tc_expr,I=m.isNewLine,V=m.isIdentifierStart,S=m.isIdentifierChar;return class extends D{static get acornJsx(){return y}jsx_readToken(){let g="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let F=this.input.charCodeAt(this.pos);switch(F){case 60:case 123:return this.pos===this.start?F===60&&this.exprAllowed?(++this.pos,this.finishToken(C.jsxTagStart)):this.getTokenFromCode(F):(g+=this.input.slice(x,this.pos),this.finishToken(C.jsxText,g));case 38:g+=this.input.slice(x,this.pos),g+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(F===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:I(F)?(g+=this.input.slice(x,this.pos),g+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(g){let x=this.input.charCodeAt(this.pos),F;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,F=g?` +`:`\r +`):F=String.fromCharCode(x),this.options.locations&&(++this.curLine,this.lineStart=this.pos),F}jsx_readString(g){let x="",F=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let B=this.input.charCodeAt(this.pos);if(B===g)break;B===38?(x+=this.input.slice(F,this.pos),x+=this.jsx_readEntity(),F=this.pos):I(B)?(x+=this.input.slice(F,this.pos),x+=this.jsx_readNewLine(!1),F=this.pos):++this.pos}return x+=this.input.slice(F,this.pos++),this.finishToken(A.string,x)}jsx_readEntity(){let g="",x=0,F,B=this.input[this.pos];B!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let R=++this.pos;for(;this.pos")}let W=R.name?"Element":"Fragment";return F["opening"+W]=R,F["closing"+W]=N,F.children=B,this.type===A.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(F,"JSX"+W)}jsx_parseText(){let g=this.parseLiteral(this.value);return g.type="JSXText",g}jsx_parseElement(){let g=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(g,x)}parseExprAtom(g){return this.type===C.jsxText?this.jsx_parseText():this.type===C.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(g)}readToken(g){let x=this.curContext();if(x===T)return this.jsx_readToken();if(x===E||x===b){if(V(g))return this.jsx_readWord();if(g==62)return++this.pos,this.finishToken(C.jsxTagEnd);if((g===34||g===39)&&x==E)return this.jsx_readString(g)}return g===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(C.jsxTagStart)):super.readToken(g)}updateContext(g){if(this.type==A.braceL){var x=this.curContext();x==E?this.context.push(v.b_expr):x==T?this.context.push(v.b_tmpl):super.updateContext(g),this.exprAllowed=!0}else if(this.type===A.slash&&g===C.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(g)}}}})(hn);var gs=hn.exports;const Ds=pt(gs);function fn(e,t,r,i,u){r||(r=P),function s(a,f,p){var D=p||a.type,m=t[D];r[D](a,f,s),m&&m(a,f)}(e,i,u)}function As(e,t,r,i,u){var s=[];r||(r=P),function a(f,p,D){var m=D||f.type,y=t[m],A=f!==s[s.length-1];A&&s.push(f),r[m](f,p,a),y&&y(f,p||s,s),A&&s.pop()}(e,i,u)}function Sr(e,t,r){r(e,t)}function $e(e,t,r){}var P={};P.Program=P.BlockStatement=function(e,t,r){for(var i=0,u=e.body;i + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function li(e){return Object.prototype.toString.call(e)==="[object Object]"}function Rs(e){var t,r;return li(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(li(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var dn={},It=lt&<.__assign||function(){return It=Object.assign||function(e){for(var t,r=1,i=arguments.length;re.length)&&(t=e.length);for(var r=0,i=new Array(t);r0?e.length-1:0),i=e[e.length-1];return i&&(t.type==="string"||t.type==="number")&&(i.type==="string"||i.type==="number")?r.push(Dn(String(i.value)+String(t.value))):(i&&r.push(i),r.push(t)),r},ca=function(t){return["key","ref"].includes(t)},ha=function(e){return function(t){var r=t.includes("key"),i=t.includes("ref"),u=t.filter(function(a){return!ca(a)}),s=ci(e?u.sort():u);return i&&s.unshift("ref"),r&&s.unshift("key"),s}};function fa(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var pa=function(t,r,i,u,s){var a=s.tabStop;return t.type==="string"?r.split(` +`).map(function(f,p){return p===0?f:"".concat(ke(u,a)).concat(f)}).join(` +`):r},da=function(t,r,i){return function(u){return pa(u,Kt(u,t,r,i),t,r,i)}},ma=function(t,r){return function(i){var u=Object.keys(t).includes(i);return!u||u&&t[i]!==r[i]}},En=function(t,r,i,u,s){return s?ke(i,u).length+r.length>s:t.length>1},ga=function(t,r,i,u,s,a,f){return(En(t,r,s,a,f)||i)&&!u},yn=function(e,t,r,i){var u=e.type,s=e.displayName,a=s===void 0?"":s,f=e.childrens,p=e.props,D=p===void 0?{}:p,m=e.defaultProps,y=m===void 0?{}:m;if(u!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(u));var A=i.filterProps,C=i.maxInlineAttributesLineLength,v=i.showDefaultProps,E=i.sortProps,b=i.tabStop,T="<".concat(a),I=T,V=T,S=!1,g=[],x=fa(D,A);Object.keys(D).filter(x).filter(ma(y,D)).forEach(function(R){return g.push(R)}),Object.keys(y).filter(x).filter(function(){return v}).filter(function(R){return!g.includes(R)}).forEach(function(R){return g.push(R)});var F=ha(E)(g);if(F.forEach(function(R){var N=oa(R,Object.keys(D).includes(R),D[R],Object.keys(y).includes(R),y[R],t,r,i),W=N.attributeFormattedInline,q=N.attributeFormattedMultiline,M=N.isMultilineAttribute;M&&(S=!0),I+=W,V+=q}),V+=` +`.concat(ke(r,b)),ga(F,I,S,t,r,b,C)?T=V:T=I,f&&f.length>0){var B=r+1;T+=">",t||(T+=` +`,T+=ke(B,b)),T+=f.reduce(la,[]).map(da(t,B,i)).join(t?"":` +`.concat(ke(B,b))),t||(T+=` +`,T+=ke(B-1,b)),T+="")}else En(F,I,r,b,C)||(T+=" "),T+="/>";return T},Da="",di="React.Fragment",Aa=function(t,r,i){var u={};return r&&(u={key:r}),{type:"ReactElement",displayName:t,props:u,defaultProps:{},childrens:i}},Ca=function(t){var r=t.key;return!!r},Ea=function(t){var r=t.childrens;return r.length===0},ya=function(e,t,r,i){var u=e.type,s=e.key,a=e.childrens;if(u!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(u));var f=i.useFragmentShortSyntax,p;return f?Ea(e)||Ca(e)?p=di:p=Da:p=di,yn(Aa(p,s,a),t,r,i)},xa=["<",">","{","}"],Fa=function(t){return xa.some(function(r){return t.includes(r)})},va=function(t){return Fa(t)?"{`".concat(t,"`}"):t},ba=function(t){var r=t;return r.endsWith(" ")&&(r=r.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),r.startsWith(" ")&&(r=r.replace(/^(\s+)(.*)$/,"{'$1'}$2")),r},Kt=function(e,t,r,i){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(ba(va(String(e.value)))):"";if(e.type==="ReactElement")return yn(e,t,r,i);if(e.type==="ReactFragment")return ya(e,t,r,i);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},Sa=function(e,t){return Kt(e,!1,0,t)},ot=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.filterProps,u=i===void 0?[]:i,s=r.showDefaultProps,a=s===void 0?!0:s,f=r.showFunctions,p=f===void 0?!1:f,D=r.functionValue,m=r.tabStop,y=m===void 0?2:m,A=r.useBooleanShorthandSyntax,C=A===void 0?!0:A,v=r.useFragmentShortSyntax,E=v===void 0?!0:v,b=r.sortProps,T=b===void 0?!0:b,I=r.maxInlineAttributesLineLength,V=r.displayName;if(!t)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var S={filterProps:u,showDefaultProps:a,showFunctions:p,functionValue:D,tabStop:y,useBooleanShorthandSyntax:C,useFragmentShortSyntax:E,sortProps:T,maxInlineAttributesLineLength:I,displayName:V};return Sa(wr(t,S),S)};const{defaultDecorateStory:_a,addons:Ba,useEffect:wa}=__STORYBOOK_MODULE_PREVIEW_API__,{logger:bt}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function ka(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let u=[];if(r){let s=e.map(a=>{let f=a.getPrettyName(),p=a.getTypeName();return p!=null?`${f}: ${p}`:f});u.push(`(${s.join(", ")})`)}else u.push("()");return i&&u.push(`=> ${t.getTypeName()}`),u.join(" ")}function Ia(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let u=[];return r?u.push("( ... )"):u.push("()"),i&&u.push(`=> ${t.getTypeName()}`),u.join(" ")}function Ta(e){return e.replace(/,/g,`,\r +`)}var pr="custom",Dt="object",kr="array",Pa="class",Ye="func",tt="element";function Ir(e){return mu.includes(e.toLowerCase())}var xn={format:{indent:{style:" "},semicolons:!1}},Na={...xn,format:{newline:""}},La={...xn};function Oe(e,t=!1){return _i.generate(e,t?Na:La)}function dr(e,t=!1){return t?Oa(e):Oe(e)}function Oa(e){let t=Oe(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function mi(e,t=!1){return t?Ma(e):Ra(e)}function Ra(e){let t=Oe(e);return t.endsWith(" }]")&&(t=au(t)),t}function Ma(e){let t=Oe(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var Fn=e=>e.$$typeof===Symbol.for("react.memo"),Va=e=>e.$$typeof===Symbol.for("react.forward_ref"),Tr={...P,JSXElement:()=>{}},ja=re.extend(Ds());function At(e){return e!=null?e.name:null}function gi(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function vn(e){let t=[];return As(e,{ObjectExpression(r,i){t.push(gi(i).length)},ArrayExpression(r,i){t.push(gi(i).length)}},Tr),Math.max(...t)}function qa(e){return{inferredType:{type:"Identifier",identifier:At(e)},ast:e}}function Ua(e){return{inferredType:{type:"Literal"},ast:e}}function Wa(e){let t;fn(e.body,{JSXElement(u){t=u}},Tr);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},i=At(e.id);return i!=null&&(r.identifier=i),{inferredType:r,ast:e}}function Ga(e){let t;return fn(e.body,{JSXElement(r){t=r}},Tr),{inferredType:{type:t!=null?"Element":"Class",identifier:At(e.id)},ast:e}}function za(e){let t={type:"Element"},r=At(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function $a(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return At(t)==="shape"?bn(e.arguments[0]):null}function bn(e){return{inferredType:{type:"Object",depth:vn(e)},ast:e}}function Ja(e){return{inferredType:{type:"Array",depth:vn(e)},ast:e}}function Ha(e){switch(e.type){case"Identifier":return qa(e);case"Literal":return Ua(e);case"FunctionExpression":case"ArrowFunctionExpression":return Wa(e);case"ClassExpression":return Ga(e);case"JSXElement":return za(e);case"CallExpression":return $a(e);case"ObjectExpression":return bn(e);case"ArrayExpression":return Ja(e);default:return null}}function Xa(e){let t=ja.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let i=t.body[0];switch(i.type){case"ExpressionStatement":{let u=Ha(i.expression);u!=null&&(r=u);break}}}return r}function Re(e){try{return{...Xa(e)}}catch{}return{inferredType:{type:"Unknown"}}}var Qa=150;function de({name:e,short:t,compact:r,full:i,inferredType:u}){return{name:e,short:t,compact:r,full:i??t,inferredType:u}}function Sn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function Di(e){return e.split(/\r?\n/)}function Tt(e,t=!1){return Sn(dr(e,t))}function Ai(e,t=!1){return Sn(Oe(e,t))}function Ka(e){switch(e){case"Object":return Dt;case"Array":return kr;case"Class":return Pa;case"Function":return Ye;case"Element":return tt;default:return pr}}function _n(e,t){let{inferredType:r,ast:i}=Re(e),{type:u}=r,s,a,f;switch(u){case"Identifier":case"Literal":s=e,a=e;break;case"Object":{let{depth:p}=r;s=Dt,a=p===1?Tt(i,!0):null,f=Tt(i);break}case"Element":{let{identifier:p}=r;s=p!=null&&!Ir(p)?p:tt,a=Di(e).length===1?e:null,f=e;break}case"Array":{let{depth:p}=r;s=kr,a=p<=2?Ai(i,!0):null,f=Ai(i);break}default:s=Ka(u),a=Di(e).length===1?e:null,f=e;break}return de({name:t,short:s,compact:a,full:f,inferredType:u})}function Ya({raw:e}){return e!=null?_n(e,"custom"):de({name:"custom",short:pr,compact:pr})}function Za(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?de({name:"func",short:Ia(t.params,t.returns),compact:null,full:ka(t.params,t.returns)}):de({name:"func",short:Ye,compact:Ye})}function eo(e,t){let r=Object.keys(e.value).map(a=>`${a}: ${Ze(e.value[a],t).full}`).join(", "),{inferredType:i,ast:u}=Re(`{ ${r} }`),{depth:s}=i;return de({name:"shape",short:Dt,compact:s===1&&u?Tt(u,!0):null,full:u?Tt(u):null})}function or(e){return`objectOf(${e})`}function to(e,t){let{short:r,compact:i,full:u}=Ze(e.value,t);return de({name:"objectOf",short:or(r),compact:i!=null?or(i):null,full:u&&or(u)})}function ro(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((i,u)=>{let{short:s,compact:a,full:f}=Ze(u,t);return i.short.push(s),i.compact.push(a),i.full.push(f),i},{short:[],compact:[],full:[]});return de({name:"union",short:r.short.join(" | "),compact:r.compact.every(i=>i!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return de({name:"union",short:e.value,compact:null})}function io({value:e,computed:t}){return t?_n(e,"enumvalue"):de({name:"enumvalue",short:e,compact:e})}function no(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,i)=>{let{short:u,compact:s,full:a}=io(i);return r.short.push(u),r.compact.push(s),r.full.push(a),r},{short:[],compact:[],full:[]});return de({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return de({name:"enum",short:e.value,compact:e.value})}function mr(e){return`${e}[]`}function Ci(e){return`[${e}]`}function Ei(e,t,r){return de({name:"arrayOf",short:mr(e),compact:t!=null?Ci(t):null,full:r&&Ci(r)})}function uo(e,t){let{name:r,short:i,compact:u,full:s,inferredType:a}=Ze(e.value,t);if(r==="custom"){if(a==="Object")return Ei(i,u,s)}else if(r==="shape")return Ei(i,u,s);return de({name:"arrayOf",short:mr(i),compact:mr(i)})}function Ze(e,t){try{switch(e.name){case"custom":return Ya(e);case"func":return Za(t);case"shape":return eo(e,t);case"instanceOf":return de({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return to(e,t);case"union":return ro(e,t);case"enum":return no(e);case"arrayOf":return uo(e,t);default:return de({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return de({name:"unknown",short:"unknown",compact:"unknown"})}function so(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:i,full:u}=Ze(t,e);return i!=null&&!uu(i)?te(i):u?te(r,u):te(r)}case"func":{let{short:r,full:i}=Ze(t,e),u=r,s;return i&&i.length`}function kn(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Pr(r,e.hasParams);case"Element":return Yt(r);default:return r}}function ao({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return te(kn(e),Oe(t));let i=Oe(t,!0);return ft(i)?te(Ye,Oe(t)):te(i)}function oo(e,t){let{inferredType:r}=t,{identifier:i}=r;if(i!=null&&!Ir(i)){let u=kn(r);return te(u,e)}return ft(e)?te(tt,e):te(e)}function In(e){try{let t=Re(e);switch(t.inferredType.type){case"Object":return Bn(t);case"Function":return ao(t);case"Element":return oo(e,t);case"Array":return wn(t);default:return null}}catch(t){console.error(t)}return null}function Tn(e){return e.$$typeof!=null}function Pn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var lo=e=>te(JSON.stringify(e));function co(e){let{type:t}=e,{displayName:r}=t,i=ot(e,{});if(r!=null){let u=Yt(r);return te(u,i)}if(Os(t)&&Ir(t)){let u=ot(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!ft(u))return te(u)}return te(tt,i)}var ho=e=>{if(Tn(e)&&e.type!=null)return co(e);if(ws(e)){let t=Re(JSON.stringify(e));return Bn(t)}if(Array.isArray(e)){let t=Re(JSON.stringify(e));return wn(t)}return te(Dt)},fo=(e,t)=>{let r=!1,i;if(zr(e.render))r=!0;else if(e.prototype!=null&&zr(e.prototype.render))r=!0;else{let s;try{i=Re(e.toString());let{hasParams:a,params:f}=i.inferredType;a?f.length===1&&f[0].type==="ObjectPattern"&&(s=e({})):s=e(),s!=null&&Tn(s)&&(r=!0)}catch{}}let u=Pn(e,t.name);if(u!=null){if(r)return te(Yt(u));i!=null&&(i=Re(e.toString()));let{hasParams:s}=i.inferredType;return te(Pr(u,s))}return te(r?tt:Ye)},po=e=>te(e.toString()),Nn={string:lo,object:ho,function:fo,default:po};function mo(e={}){return{...Nn,...e}}function Ln(e,t,r=Nn){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(i){console.error(i)}return null}function go(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(i=>e.find(u=>u.name===i)).filter(Boolean):e}var Do=(e,{name:t,type:r})=>{let i=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",u=Pn(e,t);if(u!=null){if(i)return te(Yt(u));let{hasParams:s}=Re(e.toString()).inferredType;return te(Pr(u,s))}return te(i?tt:Ye)},Ao=mo({function:Do});function Co(e,t){let{propDef:r}=e,i=so(e);i!=null&&(r.type=i);let{defaultValue:u}=e.docgenInfo;if(u!=null&&u.value!=null){let s=In(u.value);s!=null&&(r.defaultValue=s)}else if(t!=null){let s=Ln(t,r,Ao);s!=null&&(r.defaultValue=s)}return r}function Eo(e,t){let r=t.defaultProps!=null?t.defaultProps:{},i=e.map(u=>Co(u,r[u.propDef.name]));return go(i,t)}function yo(e,t){let{propDef:r}=e,{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let u=In(i.value);u!=null&&(r.defaultValue=u)}else if(t!=null){let u=Ln(t,r);u!=null&&(r.defaultValue=u)}return r}function xo(e){return e.map(t=>yo(t))}var yi=new Map;Object.keys(Jr).forEach(e=>{let t=Jr[e];yi.set(t,e),yi.set(t.isRequired,e)});function Fo(e,t){let r=e;!iu(e)&&!e.propTypes&&Fn(e)&&(r=e.type);let i=nu(r,t);if(i.length===0)return[];switch(i[0].typeSystem){case $r.JAVASCRIPT:return Eo(i,e);case $r.TYPESCRIPT:return xo(i);default:return i.map(u=>u.propDef)}}var vo=e=>({rows:Fo(e,"props")}),bo=e=>{if(e){let{rows:t}=vo(e);if(t)return t.reduce((r,i)=>{let{name:u,description:s,type:a,sbType:f,defaultValue:p,jsDocTags:D,required:m}=i;return r[u]={name:u,description:s,type:{required:m,...f},table:{type:a??void 0,jsDocTags:D,defaultValue:p??void 0}},r},{})}return null},So=e=>e.charAt(0).toUpperCase()+e.slice(1),_o=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(So).join("")).join(".");function gr(e){if(Ge.isValidElement(e)){let t=Object.keys(e.props).reduce((r,i)=>(r[i]=gr(e.props[i]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(gr):e}var Bo=(e,t)=>{if(typeof e>"u")return bt.warn("Too many skip or undefined component"),null;let r=e,i=r.type;for(let a=0;a<(t==null?void 0:t.skip);a+=1){if(typeof r>"u")return bt.warn("Cannot skip undefined element"),null;if(st.Children.count(r)>1)return bt.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(bt.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=st.createElement(i,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let u;typeof(t==null?void 0:t.displayName)=="string"?u={showFunctions:!0,displayName:()=>t.displayName}:u={displayName:a=>{var f;return a.type.displayName?a.type.displayName:Wr(a.type,"displayName")?Wr(a.type,"displayName"):(f=a.type.render)!=null&&f.displayName?a.type.render.displayName:typeof a.type=="symbol"||a.type.$$typeof&&typeof a.type.$$typeof=="symbol"?_o(a.type):a.type.name&&a.type.name!=="_default"?a.type.name:typeof a.type=="function"?"No Display Name":Va(a.type)?a.type.render.name:Fn(a.type)?a.type.type.name:a.type}};let s={...u,filterProps:(a,f)=>a!==void 0,...t};return st.Children.map(e,a=>{let f=typeof a=="number"?a.toString():a,p=(typeof ot=="function"?ot:ot.default)(gr(f),s);if(p.indexOf(""")>-1){let D=p.match(/\S+=\\"([^"]*)\\"/g);D&&D.forEach(m=>{p=p.replace(m,m.replace(/"/g,"'"))})}return p}).join(` +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},wo={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},ko=e=>{var i;let t=(i=e==null?void 0:e.parameters.docs)==null?void 0:i.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Gr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Gr.CODE},Io=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},On=e=>{if(!Io(e))return e;let{mdxType:t,originalType:r,children:i,...u}=e.props,s=[];return i&&(s=(Array.isArray(i)?i:[i]).map(On)),Ge.createElement(r,u,...s)},Rn=(e,t)=>{var m,y;let r=Ba.getChannel(),i=ko(t),u="";wa(()=>{if(!i){let{id:A,unmappedArgs:C}=t;r.emit(ru,{id:A,source:u,args:C})}});let s=e();if(i)return s;let a={...wo,...(t==null?void 0:t.parameters.jsx)||{}},f=(y=(m=t==null?void 0:t.parameters.docs)==null?void 0:m.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):s,p=On(f),D=Bo(p,a);return D&&(u=D),s},Lo=(e,t)=>{let r=t.findIndex(u=>u.originalFn===Rn),i=r===-1?t:[...t.splice(r,1),...t];return _a(e,i)},Oo={docs:{story:{inline:!0},extractArgTypes:bo,extractComponentDescription:eu}},Ro=[Rn],Mo=[tu];export{Lo as applyDecorators,Mo as argTypesEnhancers,Ro as decorators,Oo as parameters}; diff --git a/assets/entry-preview-docs-baPLY0Py.js b/assets/entry-preview-docs-baPLY0Py.js deleted file mode 100644 index d287682..0000000 --- a/assets/entry-preview-docs-baPLY0Py.js +++ /dev/null @@ -1,54 +0,0 @@ -import{u as Jn,b as Si,c as Xn,d as _i,e as Hn,f as Qn,g as Yn,S as Kn,h as te,j as Ur,k as Gr,l as Wr,m as Zn,n as es,T as zr,o as ft,p as ts}from"./index-XkRcYS9h.js";import{g as pt,c as lt,b as rs,R as at,r as We}from"./index-OjgoNOWw.js";import{d as is}from"./index-PPLHz8o0.js";var Ei={exports:{}},ns="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ss=ns,as=ss;function Ci(){}function Ai(){}Ai.resetWarningCache=Ci;var os=function(){function e(i,s,a,u,f,p){if(p!==as){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ai,resetWarningCache:Ci};return r.PropTypes=r,r};Ei.exports=os();var us=Ei.exports;const $r=pt(us),ls=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];var cs=ls;const hs=pt(cs);var wi={},ki={};(function(e){(function t(r){var i,s,a,u,f,p;function y(m){var x={},_,k;for(_ in m)m.hasOwnProperty(_)&&(k=m[_],typeof k=="object"&&k!==null?x[_]=y(k):x[_]=k);return x}function g(m,x){var _,k,B,R;for(k=m.length,B=0;k;)_=k>>>1,R=B+_,x(m[R])?k=_:(B=R+1,k-=_+1);return B}i={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},a={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},u={},f={},p={},s={Break:u,Skip:f,Remove:p};function b(m,x){this.parent=m,this.key=x}b.prototype.replace=function(x){this.parent[this.key]=x},b.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function E(m,x,_,k){this.node=m,this.path=x,this.wrap=_,this.ref=k}function S(){}S.prototype.path=function(){var x,_,k,B,R,G;function q(D,H){if(Array.isArray(H))for(k=0,B=H.length;k=0;--_)if(m[_].node===x)return!0;return!1}S.prototype.traverse=function(x,_){var k,B,R,G,q,D,H,ne,ue,ie,Q,xe;for(this.__initialize(x,_),xe={},k=this.__worklist,B=this.__leavelist,k.push(new E(x,null,null,null)),B.push(new E(null,null,null,null));k.length;){if(R=k.pop(),R===xe){if(R=B.pop(),D=this.__execute(_.leave,R),this.__state===u||D===u)return;continue}if(R.node){if(D=this.__execute(_.enter,R),this.__state===u||D===u)return;if(k.push(xe),B.push(R),this.__state===f||D===f)continue;if(G=R.node,q=G.type||R.wrap,ie=this.__keys[q],!ie)if(this.__fallback)ie=this.__fallback(G);else throw new Error("Unknown node type "+q+".");for(ne=ie.length;(ne-=1)>=0;)if(H=ie[ne],Q=G[H],!!Q){if(Array.isArray(Q)){for(ue=Q.length;(ue-=1)>=0;)if(Q[ue]&&!P(B,Q[ue])){if(v(q,ie[ne]))R=new E(Q[ue],[H,ue],"Property",null);else if(C(Q[ue]))R=new E(Q[ue],[H,ue],null,null);else continue;k.push(R)}}else if(C(Q)){if(P(B,Q))continue;k.push(new E(Q,H,null,null))}}}}},S.prototype.replace=function(x,_){var k,B,R,G,q,D,H,ne,ue,ie,Q,xe,Te;function Je(M){var Ve,xt,Fe,ee;if(M.ref.remove()){for(xt=M.ref.key,ee=M.ref.parent,Ve=k.length;Ve--;)if(Fe=k[Ve],Fe.ref&&Fe.ref.parent===ee){if(Fe.ref.key=0;)if(Te=ue[H],ie=R[Te],!!ie)if(Array.isArray(ie)){for(ne=ie.length;(ne-=1)>=0;)if(ie[ne]){if(v(G,ue[H]))D=new E(ie[ne],[Te,ne],"Property",new b(ie,ne));else if(C(ie[ne]))D=new E(ie[ne],[Te,ne],null,new b(ie,ne));else continue;k.push(D)}}else C(ie)&&k.push(new E(ie,Te,null,new b(R,Te)))}}return xe.root};function O(m,x){var _=new S;return _.traverse(m,x)}function L(m,x){var _=new S;return _.replace(m,x)}function V(m,x){var _;return _=g(x,function(B){return B.range[0]>m.range[0]}),m.extendedRange=[m.range[0],m.range[1]],_!==x.length&&(m.extendedRange[1]=x[_].range[0]),_-=1,_>=0&&(m.extendedRange[0]=x[_].range[1]),m}function A(m,x,_){var k=[],B,R,G,q;if(!m.range)throw new Error("attachComments needs range information");if(!_.length){if(x.length){for(G=0,R=x.length;GD.range[0]));)H.extendedRange[1]===D.range[0]?(D.leadingComments||(D.leadingComments=[]),D.leadingComments.push(H),k.splice(q,1)):q+=1;if(q===k.length)return s.Break;if(k[q].extendedRange[0]>D.range[1])return s.Skip}}),q=0,O(m,{leave:function(D){for(var H;qD.range[1])return s.Skip}}),m}return r.Syntax=i,r.traverse=O,r.replace=L,r.attachComments=A,r.VisitorKeys=a,r.VisitorOption=s,r.Controller=S,r.cloneEnvironment=function(){return t({})},r})(e)})(ki);var it={},Kt={},Et={},Ct={},Jr;function fs(){if(Jr)return Ct;Jr=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ct.encode=function(t){if(0<=t&&t>1;return p?-y:y}return Et.encode=function(p){var y="",g,b=a(p);do g=b&i,b>>>=t,b>0&&(g|=s),y+=e.encode(g);while(b>0);return y},Et.decode=function(p,y,g){var b=p.length,E=0,S=0,C,v;do{if(y>=b)throw new Error("Expected more digits in base 64 VLQ value.");if(v=e.decode(p.charCodeAt(y++)),v===-1)throw new Error("Invalid base64 digit: "+p.charAt(y-1));C=!!(v&s),v&=i,E=E+(v<=0;G--)B=k[G],B==="."?k.splice(G,1):B===".."?R++:R>0&&(B===""?(k.splice(G+1,R),R=0):(k.splice(G,2),R--));return m=k.join("/"),m===""&&(m=_?"/":"."),x?(x.path=m,a(x)):m}e.normalize=u;function f(A,m){A===""&&(A="."),m===""&&(m=".");var x=s(m),_=s(A);if(_&&(A=_.path||"/"),x&&!x.scheme)return _&&(x.scheme=_.scheme),a(x);if(x||m.match(i))return m;if(_&&!_.host&&!_.path)return _.host=m,a(_);var k=m.charAt(0)==="/"?m:u(A.replace(/\/+$/,"")+"/"+m);return _?(_.path=k,a(_)):k}e.join=f,e.isAbsolute=function(A){return A.charAt(0)==="/"||r.test(A)};function p(A,m){A===""&&(A="."),A=A.replace(/\/$/,"");for(var x=0;m.indexOf(A+"/")!==0;){var _=A.lastIndexOf("/");if(_<0||(A=A.slice(0,_),A.match(/^([^\/]+:\/)?\/*$/)))return m;++x}return Array(x+1).join("../")+m.substr(A.length+1)}e.relative=p;var y=function(){var A=Object.create(null);return!("__proto__"in A)}();function g(A){return A}function b(A){return S(A)?"$"+A:A}e.toSetString=y?g:b;function E(A){return S(A)?A.slice(1):A}e.fromSetString=y?g:E;function S(A){if(!A)return!1;var m=A.length;if(m<9||A.charCodeAt(m-1)!==95||A.charCodeAt(m-2)!==95||A.charCodeAt(m-3)!==111||A.charCodeAt(m-4)!==116||A.charCodeAt(m-5)!==111||A.charCodeAt(m-6)!==114||A.charCodeAt(m-7)!==112||A.charCodeAt(m-8)!==95||A.charCodeAt(m-9)!==95)return!1;for(var x=m-10;x>=0;x--)if(A.charCodeAt(x)!==36)return!1;return!0}function C(A,m,x){var _=P(A.source,m.source);return _!==0||(_=A.originalLine-m.originalLine,_!==0)||(_=A.originalColumn-m.originalColumn,_!==0||x)||(_=A.generatedColumn-m.generatedColumn,_!==0)||(_=A.generatedLine-m.generatedLine,_!==0)?_:P(A.name,m.name)}e.compareByOriginalPositions=C;function v(A,m,x){var _=A.generatedLine-m.generatedLine;return _!==0||(_=A.generatedColumn-m.generatedColumn,_!==0||x)||(_=P(A.source,m.source),_!==0)||(_=A.originalLine-m.originalLine,_!==0)||(_=A.originalColumn-m.originalColumn,_!==0)?_:P(A.name,m.name)}e.compareByGeneratedPositionsDeflated=v;function P(A,m){return A===m?0:A===null?1:m===null?-1:A>m?1:-1}function O(A,m){var x=A.generatedLine-m.generatedLine;return x!==0||(x=A.generatedColumn-m.generatedColumn,x!==0)||(x=P(A.source,m.source),x!==0)||(x=A.originalLine-m.originalLine,x!==0)||(x=A.originalColumn-m.originalColumn,x!==0)?x:P(A.name,m.name)}e.compareByGeneratedPositionsInflated=O;function L(A){return JSON.parse(A.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=L;function V(A,m,x){if(m=m||"",A&&(A[A.length-1]!=="/"&&m[0]!=="/"&&(A+="/"),m=A+m),x){var _=s(x);if(!_)throw new Error("sourceMapURL could not be parsed");if(_.path){var k=_.path.lastIndexOf("/");k>=0&&(_.path=_.path.substring(0,k+1))}m=f(a(_),m)}return u(m)}e.computeSourceURL=V}(Zt)),Zt}var er={},Qr;function Pi(){if(Qr)return er;Qr=1;var e=dt(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,u){for(var f=new i,p=0,y=a.length;p=0)return u}else{var f=e.toSetString(a);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&aa||u==a&&p>=f||e.compareByGeneratedPositionsInflated(i,s)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(s,a){this._array.forEach(s,a)},r.prototype.add=function(s){t(this._last,s)?(this._last=s,this._array.push(s)):(this._sorted=!1,this._array.push(s))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},tr.MappingList=r,tr}var Kr;function Ii(){if(Kr)return Kt;Kr=1;var e=Ti(),t=dt(),r=Pi().ArraySet,i=ps().MappingList;function s(a){a||(a={}),this._file=t.getArg(a,"file",null),this._sourceRoot=t.getArg(a,"sourceRoot",null),this._skipValidation=t.getArg(a,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return s.prototype._version=3,s.fromSourceMap=function(u){var f=u.sourceRoot,p=new s({file:u.file,sourceRoot:f});return u.eachMapping(function(y){var g={generated:{line:y.generatedLine,column:y.generatedColumn}};y.source!=null&&(g.source=y.source,f!=null&&(g.source=t.relative(f,g.source)),g.original={line:y.originalLine,column:y.originalColumn},y.name!=null&&(g.name=y.name)),p.addMapping(g)}),u.sources.forEach(function(y){var g=y;f!==null&&(g=t.relative(f,y)),p._sources.has(g)||p._sources.add(g);var b=u.sourceContentFor(y);b!=null&&p.setSourceContent(y,b)}),p},s.prototype.addMapping=function(u){var f=t.getArg(u,"generated"),p=t.getArg(u,"original",null),y=t.getArg(u,"source",null),g=t.getArg(u,"name",null);this._skipValidation||this._validateMapping(f,p,y,g),y!=null&&(y=String(y),this._sources.has(y)||this._sources.add(y)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:y,name:g})},s.prototype.setSourceContent=function(u,f){var p=u;this._sourceRoot!=null&&(p=t.relative(this._sourceRoot,p)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(p)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(u,f,p){var y=f;if(f==null){if(u.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);y=u.file}var g=this._sourceRoot;g!=null&&(y=t.relative(g,y));var b=new r,E=new r;this._mappings.unsortedForEach(function(S){if(S.source===y&&S.originalLine!=null){var C=u.originalPositionFor({line:S.originalLine,column:S.originalColumn});C.source!=null&&(S.source=C.source,p!=null&&(S.source=t.join(p,S.source)),g!=null&&(S.source=t.relative(g,S.source)),S.originalLine=C.line,S.originalColumn=C.column,C.name!=null&&(S.name=C.name))}var v=S.source;v!=null&&!b.has(v)&&b.add(v);var P=S.name;P!=null&&!E.has(P)&&E.add(P)},this),this._sources=b,this._names=E,u.sources.forEach(function(S){var C=u.sourceContentFor(S);C!=null&&(p!=null&&(S=t.join(p,S)),g!=null&&(S=t.relative(g,S)),this.setSourceContent(S,C))},this)},s.prototype._validateMapping=function(u,f,p,y){if(f&&typeof f.line!="number"&&typeof f.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(u&&"line"in u&&"column"in u&&u.line>0&&u.column>=0&&!f&&!p&&!y)){if(u&&"line"in u&&"column"in u&&f&&"line"in f&&"column"in f&&u.line>0&&u.column>=0&&f.line>0&&f.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:p,original:f,name:y}))}},s.prototype._serializeMappings=function(){for(var u=0,f=1,p=0,y=0,g=0,b=0,E="",S,C,v,P,O=this._mappings.toArray(),L=0,V=O.length;L0){if(!t.compareByGeneratedPositionsInflated(C,O[L-1]))continue;S+=","}S+=e.encode(C.generatedColumn-u),u=C.generatedColumn,C.source!=null&&(P=this._sources.indexOf(C.source),S+=e.encode(P-b),b=P,S+=e.encode(C.originalLine-1-y),y=C.originalLine-1,S+=e.encode(C.originalColumn-p),p=C.originalColumn,C.name!=null&&(v=this._names.indexOf(C.name),S+=e.encode(v-g),g=v)),E+=S}return E},s.prototype._generateSourcesContent=function(u,f){return u.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=t.relative(f,p));var y=t.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,y)?this._sourcesContents[y]:null},this)},s.prototype.toJSON=function(){var u={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(u.file=this._file),this._sourceRoot!=null&&(u.sourceRoot=this._sourceRoot),this._sourcesContents&&(u.sourcesContent=this._generateSourcesContent(u.sources,u.sourceRoot)),u},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},Kt.SourceMapGenerator=s,Kt}var nt={},rr={},Zr;function ds(){return Zr||(Zr=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,i,s,a,u,f){var p=Math.floor((i-r)/2)+r,y=u(s,a[p],!0);return y===0?p:y>0?i-p>1?t(p,i,s,a,u,f):f==e.LEAST_UPPER_BOUND?i1?t(r,p,s,a,u,f):f==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(i,s,a,u){if(s.length===0)return-1;var f=t(-1,s.length,i,s,a,u||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&a(s[f],s[f-1],!0)===0;)--f;return f}}(rr)),rr}var ir={},ei;function ms(){if(ei)return ir;ei=1;function e(i,s,a){var u=i[s];i[s]=i[a],i[a]=u}function t(i,s){return Math.round(i+Math.random()*(s-i))}function r(i,s,a,u){if(a=0){var v=this._originalMappings[C];if(g.column===void 0)for(var P=v.originalLine;v&&v.originalLine===P;)S.push({line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++C];else for(var O=v.originalColumn;v&&v.originalLine===b&&v.originalColumn==O;)S.push({line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++C]}return S},nt.SourceMapConsumer=a;function u(y,g){var b=y;typeof y=="string"&&(b=e.parseSourceMapInput(y));var E=e.getArg(b,"version"),S=e.getArg(b,"sources"),C=e.getArg(b,"names",[]),v=e.getArg(b,"sourceRoot",null),P=e.getArg(b,"sourcesContent",null),O=e.getArg(b,"mappings"),L=e.getArg(b,"file",null);if(E!=this._version)throw new Error("Unsupported version: "+E);v&&(v=e.normalize(v)),S=S.map(String).map(e.normalize).map(function(V){return v&&e.isAbsolute(v)&&e.isAbsolute(V)?e.relative(v,V):V}),this._names=r.fromArray(C.map(String),!0),this._sources=r.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(V){return e.computeSourceURL(v,V,g)}),this.sourceRoot=v,this.sourcesContent=P,this._mappings=O,this._sourceMapURL=g,this.file=L}u.prototype=Object.create(a.prototype),u.prototype.consumer=a,u.prototype._findSourceIndex=function(y){var g=y;if(this.sourceRoot!=null&&(g=e.relative(this.sourceRoot,g)),this._sources.has(g))return this._sources.indexOf(g);var b;for(b=0;b1&&(k.source=P+R[1],P+=R[1],k.originalLine=C+R[2],C=k.originalLine,k.originalLine+=1,k.originalColumn=v+R[3],v=k.originalColumn,R.length>4&&(k.name=O+R[4],O+=R[4])),_.push(k),typeof k.originalLine=="number"&&x.push(k)}s(_,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,s(x,e.compareByOriginalPositions),this.__originalMappings=x},u.prototype._findMapping=function(g,b,E,S,C,v){if(g[E]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[E]);if(g[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[S]);return t.search(g,b,C,v)},u.prototype.computeColumnSpans=function(){for(var g=0;g=0){var S=this._generatedMappings[E];if(S.generatedLine===b.generatedLine){var C=e.getArg(S,"source",null);C!==null&&(C=this._sources.at(C),C=e.computeSourceURL(this.sourceRoot,C,this._sourceMapURL));var v=e.getArg(S,"name",null);return v!==null&&(v=this._names.at(v)),{source:C,line:e.getArg(S,"originalLine",null),column:e.getArg(S,"originalColumn",null),name:v}}}return{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(g){return g==null}):!1},u.prototype.sourceContentFor=function(g,b){if(!this.sourcesContent)return null;var E=this._findSourceIndex(g);if(E>=0)return this.sourcesContent[E];var S=g;this.sourceRoot!=null&&(S=e.relative(this.sourceRoot,S));var C;if(this.sourceRoot!=null&&(C=e.urlParse(this.sourceRoot))){var v=S.replace(/^file:\/\//,"");if(C.scheme=="file"&&this._sources.has(v))return this.sourcesContent[this._sources.indexOf(v)];if((!C.path||C.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(b)return null;throw new Error('"'+S+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(g){var b=e.getArg(g,"source");if(b=this._findSourceIndex(b),b<0)return{line:null,column:null,lastColumn:null};var E={source:b,originalLine:e.getArg(g,"line"),originalColumn:e.getArg(g,"column")},S=this._findMapping(E,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(S>=0){var C=this._originalMappings[S];if(C.source===E.source)return{line:e.getArg(C,"generatedLine",null),column:e.getArg(C,"generatedColumn",null),lastColumn:e.getArg(C,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},nt.BasicSourceMapConsumer=u;function p(y,g){var b=y;typeof y=="string"&&(b=e.parseSourceMapInput(y));var E=e.getArg(b,"version"),S=e.getArg(b,"sections");if(E!=this._version)throw new Error("Unsupported version: "+E);this._sources=new r,this._names=new r;var C={line:-1,column:0};this._sections=S.map(function(v){if(v.url)throw new Error("Support for url field in sections not implemented.");var P=e.getArg(v,"offset"),O=e.getArg(P,"line"),L=e.getArg(P,"column");if(O=0;p--)this.prepend(f[p]);else if(f[s]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},a.prototype.walk=function(f){for(var p,y=0,g=this.children.length;y0){for(p=[],y=0;y=6.0"},ks=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],Ts={type:"git",url:"http://github.com/estools/escodegen.git"},Ps={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},Is={"source-map":"~0.6.1"},Ns={acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},Ls="BSD-2-Clause",Os={test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"},Rs={name:xs,description:bs,homepage:Ss,main:_s,bin:Es,files:Cs,version:As,engines:ws,maintainers:ks,repository:Ts,dependencies:Ps,optionalDependencies:Is,devDependencies:Ns,license:Ls,scripts:Os};(function(e){(function(){var t,r,i,s,a,u,f,p,y,g,b,E,S,C,v,P,O,L,V,A,m,x,_,k,B,R;a=ki,u=Jn,t=a.Syntax;function G(n){return oe.Expression.hasOwnProperty(n.type)}function q(n){return oe.Statement.hasOwnProperty(n.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},i={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var D=1,H=2,ne=4,ue=8,ie=16,Q=32,xe=64,Te=H|ne,Je=D|H,M=D|H|ne,Ve=D,xt=ne,Fe=D|ne,ee=D,Ae=D|Q,bt=0,On=D|ie,Rn=D|ue;function Or(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` -`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function je(n,l){var o="";for(l|=0;l>0;l>>>=1,n+=n)l&1&&(o+=n);return o}function Fn(n){return/[\r\n]/g.test(n)}function he(n){var l=n.length;return l&&u.code.isLineTerminator(n.charCodeAt(l-1))}function Rr(n,l){var o;for(o in l)l.hasOwnProperty(o)&&(n[o]=l[o]);return n}function St(n,l){var o,c;function d(w){return typeof w=="object"&&w instanceof Object&&!(w instanceof RegExp)}for(o in l)l.hasOwnProperty(o)&&(c=l[o],d(c)?d(n[o])?St(n[o],c):n[o]=St({},c):n[o]=c);return n}function Mn(n){var l,o,c,d,w;if(n!==n)throw new Error("Numeric literal whose value is NaN");if(n<0||n===0&&1/n<0)throw new Error("Numeric literal whose value is negative");if(n===1/0)return y?"null":g?"1e400":"1e+400";if(l=""+n,!g||l.length<3)return l;for(o=l.indexOf("."),!y&&l.charCodeAt(0)===48&&o===1&&(o=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(w=c.indexOf("e"))>0&&(d=+c.slice(w+1),c=c.slice(0,w)),o>=0&&(d-=c.length-o-1,c=+(c.slice(0,o)+c.slice(o+1))+""),w=0;c.charCodeAt(c.length+w-1)===48;)--w;return w!==0&&(d-=w,c=c.slice(0,w)),d!==0&&(c+="e"+d),(c.length1e12&&Math.floor(n)===n&&(c="0x"+n.toString(16)).length255?"\\u"+"0000".slice(o.length)+o:n===0&&!u.code.isDecimalDigit(l)?"\\0":n===11?"\\x0B":"\\x"+"00".slice(o.length)+o)}function Vn(n){if(n===92)return"\\\\";if(n===10)return"\\n";if(n===13)return"\\r";if(n===8232)return"\\u2028";if(n===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function jn(n){var l,o,c,d;for(d=E==="double"?'"':"'",l=0,o=n.length;l126))){l+=Dn(d,n.charCodeAt(o+1));continue}l+=String.fromCharCode(d)}if(I=!(E==="double"||E==="auto"&&T=0&&!u.code.isLineTerminator(n.charCodeAt(l));--l);return n.length-1-l}function Gn(n,l){var o,c,d,w,T,I,F,J;for(o=n.split(/\r\n|[\r\n]/),I=Number.MAX_VALUE,c=1,d=o.length;cT&&(I=T)}for(typeof l<"u"?(F=f,o[1][I]==="*"&&(l+=" "),f=l):(I&1&&--I,F=f),c=1,d=o.length;c0){if(w=l,k){for(d=n.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,He=_.substring(J[0],ce[0]),we=(He.match(/\n/g)||[]).length,we>0?(l.push(je(` -`,we)),l.push(pe(Pe(d)))):(l.push(He),l.push(Pe(d))),qe=ce,o=1,c=n.leadingComments.length;o0?(l.push(je(` -`,we)),l.push(pe(Pe(d)))):(l.push(He),l.push(Pe(d)));else for(T=!he(K(l).toString()),I=je(" ",Un(K([f,l,p]).toString())),o=0,c=n.trailingComments.length;o")),n.expression?(l.push(v),o=this.generateExpression(n.body,r.Assignment,M),o.toString().charAt(0)==="{"&&(o=["(",o,")"]),l.push(o)):l.push(this.maybeBlock(n.body,Rn)),l},oe.prototype.generateIterationForStatement=function(n,l,o){var c=["for"+(l.await?fe()+"await":"")+v+"("],d=this;return ae(function(){l.left.type===t.VariableDeclaration?ae(function(){c.push(l.left.kind+fe()),c.push(d.generateStatement(l.left.declarations[0],bt))}):c.push(d.generateExpression(l.left,r.Call,M)),c=U(c,n),c=[U(c,d.generateExpression(l.right,r.Assignment,M)),")"]}),c.push(this.maybeBlock(l.body,o)),c},oe.prototype.generatePropertyKey=function(n,l){var o=[];return l&&o.push("["),o.push(this.generateExpression(n,r.Assignment,M)),l&&o.push("]"),o},oe.prototype.generateAssignment=function(n,l,o,c,d){return r.Assignment2&&(c=_.substring(o[0]+1,o[1]-1),c[0]===` -`&&(d=["{"]),d.push(c)));var T,I,F,J;for(J=ee,l&ue&&(J|=ie),T=0,I=n.body.length;T0&&!n.body[T-1].trailingComments&&!n.body[T].leadingComments&&Xe(n.body[T-1].range[1],n.body[T].range[0],d)),T===I-1&&(J|=Q),n.body[T].leadingComments&&k?F=w.generateStatement(n.body[T],J):F=pe(w.generateStatement(n.body[T],J)),d.push(F),he(K(F).toString())||k&&T1?ae(F):F(),o.push(this.semicolon(l)),o},ThrowStatement:function(n,l){return[U("throw",this.generateExpression(n.argument,r.Sequence,M)),this.semicolon(l)]},TryStatement:function(n,l){var o,c,d,w;if(o=["try",this.maybeBlock(n.block,ee)],o=this.maybeBlockSuffix(n.block,o),n.handlers)for(c=0,d=n.handlers.length;c0?` -`:""],T=On,d=0;d0&&!n.body[d-1].trailingComments&&!n.body[d].leadingComments&&Xe(n.body[d-1].range[1],n.body[d].range[0],o)),c=pe(this.generateStatement(n.body[d],T)),o.push(c),d+10){for(c.push("("),w=0,T=d;w=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(n.optional?"?.":"."),c.push(ge(n.property))),le(c,r.Member,l)},MetaProperty:function(n,l,o){var c;return c=[],c.push(typeof n.meta=="string"?n.meta:ge(n.meta)),c.push("."),c.push(typeof n.property=="string"?n.property:ge(n.property)),le(c,r.Member,l)},UnaryExpression:function(n,l,o){var c,d,w,T,I;return d=this.generateExpression(n.argument,r.Unary,M),v===""?c=U(n.operator,d):(c=[n.operator],n.operator.length>2?c=U(c,d):(T=K(c).toString(),I=T.charCodeAt(T.length-1),w=d.toString().charCodeAt(0),((I===43||I===45)&&I===w||u.code.isIdentifierPartES5(I)&&u.code.isIdentifierPartES5(w))&&c.push(fe()),c.push(d))),le(c,r.Unary,l)},YieldExpression:function(n,l,o){var c;return n.delegate?c="yield*":c="yield",n.argument&&(c=U(c,this.generateExpression(n.argument,r.Yield,M))),le(c,r.Yield,l)},AwaitExpression:function(n,l,o){var c=U(n.all?"await*":"await",this.generateExpression(n.argument,r.Await,M));return le(c,r.Await,l)},UpdateExpression:function(n,l,o){return n.prefix?le([n.operator,this.generateExpression(n.argument,r.Unary,M)],r.Unary,l):le([this.generateExpression(n.argument,r.Postfix,M),n.operator],r.Postfix,l)},FunctionExpression:function(n,l,o){var c=[rt(n,!0),"function"];return n.id?(c.push(_t(n)||fe()),c.push(ge(n.id))):c.push(_t(n)||v),c.push(this.generateFunctionBody(n)),c},ArrayPattern:function(n,l,o){return this.ArrayExpression(n,l,o,!0)},ArrayExpression:function(n,l,o,c){var d,w,T=this;return n.elements.length?(w=c?!1:n.elements.length>1,d=["[",w?C:""],ae(function(I){var F,J;for(F=0,J=n.elements.length;F1,ae(function(){w=T.generateExpression(n.properties[0],r.Sequence,M)}),!c&&!Fn(K(w).toString())?["{",v,w,v,"}"]:(ae(function(I){var F,J;if(d=["{",C,I,w],c)for(d.push(","+C),F=1,J=n.properties.length;F0||A.moz.comprehensionExpressionStartsWithAssignment?c=U(c,T):c.push(T)}),n.filter&&(c=U(c,"if"+v),T=this.generateExpression(n.filter,r.Sequence,M),c=U(c,["(",T,")"])),A.moz.comprehensionExpressionStartsWithAssignment||(T=this.generateExpression(n.body,r.Assignment,M),c=U(c,T)),c.push(n.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(n,l,o){var c;return n.left.type===t.VariableDeclaration?c=[n.left.kind,fe(),this.generateStatement(n.left.declarations[0],bt)]:c=this.generateExpression(n.left,r.Call,M),c=U(c,n.of?"of":"in"),c=U(c,this.generateExpression(n.right,r.Sequence,M)),["for"+v+"(",c,")"]},SpreadElement:function(n,l,o){return["...",this.generateExpression(n.argument,r.Assignment,M)]},TaggedTemplateExpression:function(n,l,o){var c=Je;o&H||(c=Ve);var d=[this.generateExpression(n.tag,r.Call,c),this.generateExpression(n.quasi,r.Primary,xt)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(n,l,o){return n.value.raw},TemplateLiteral:function(n,l,o){var c,d,w;for(c=["`"],d=0,w=n.quasis.length;de)return!1;if(r+=t[i+1],r>=e)return!0}}function Le(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Bs.test(String.fromCharCode(e)):t===!1?!1:ur(e,Li)}function Ge(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Ds.test(String.fromCharCode(e)):t===!1?!1:ur(e,Li)||ur(e,Vs)}var Y=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function be(e,t){return new Y(e,{beforeExpr:!0,binop:t})}var Se={beforeExpr:!0},ye={startsExpr:!0},Lt={};function X(e,t){return t===void 0&&(t={}),t.keyword=e,Lt[e]=new Y(e,t)}var h={num:new Y("num",ye),regexp:new Y("regexp",ye),string:new Y("string",ye),name:new Y("name",ye),eof:new Y("eof"),bracketL:new Y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Y("]"),braceL:new Y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Y("}"),parenL:new Y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Y(")"),comma:new Y(",",Se),semi:new Y(";",Se),colon:new Y(":",Se),dot:new Y("."),question:new Y("?",Se),questionDot:new Y("?."),arrow:new Y("=>",Se),template:new Y("template"),invalidTemplate:new Y("invalidTemplate"),ellipsis:new Y("...",Se),backQuote:new Y("`",ye),dollarBraceL:new Y("${",{beforeExpr:!0,startsExpr:!0}),eq:new Y("=",{beforeExpr:!0,isAssign:!0}),assign:new Y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:be("||",1),logicalAND:be("&&",2),bitwiseOR:be("|",3),bitwiseXOR:be("^",4),bitwiseAND:be("&",5),equality:be("==/!=/===/!==",6),relational:be("/<=/>=",7),bitShift:be("<>/>>>",8),plusMin:new Y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:be("%",10),star:be("*",10),slash:be("/",10),starstar:new Y("**",{beforeExpr:!0}),coalesce:be("??",1),_break:X("break"),_case:X("case",Se),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",Se),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",Se),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",ye),_if:X("if"),_return:X("return",Se),_switch:X("switch"),_throw:X("throw",Se),_try:X("try"),_var:X("var"),_const:X("const"),_while:X("while",{isLoop:!0}),_with:X("with"),_new:X("new",{beforeExpr:!0,startsExpr:!0}),_this:X("this",ye),_super:X("super",ye),_class:X("class",ye),_extends:X("extends",Se),_export:X("export"),_import:X("import",ye),_null:X("null",ye),_true:X("true",ye),_false:X("false",ye),_in:X("in",{beforeExpr:!0,binop:7}),_instanceof:X("instanceof",{beforeExpr:!0,binop:7}),_typeof:X("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:X("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:X("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ve=/\r\n?|\n|\u2028|\u2029/,Qe=new RegExp(ve.source,"g");function et(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var yr=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ee=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Oi=Object.prototype,js=Oi.hasOwnProperty,qs=Oi.toString;function Ot(e,t){return js.call(e,t)}var ni=Array.isArray||function(e){return qs.call(e)==="[object Array]"};function Ue(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ye=function(t,r){this.line=t,this.column=r};Ye.prototype.offset=function(t){return new Ye(this.line,this.column+t)};var mt=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function vr(e,t){for(var r=1,i=0;;){Qe.lastIndex=i;var s=Qe.exec(e);if(s&&s.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),ni(t.onToken)){var i=t.onToken;t.onToken=function(s){return i.push(s)}}return ni(t.onComment)&&(t.onComment=Gs(t,t.onComment)),t}function Gs(e,t){return function(r,i,s,a,u,f){var p={type:r?"Block":"Line",value:i,start:s,end:a};e.locations&&(p.loc=new mt(this,u,f)),e.ranges&&(p.range=[s,a]),t.push(p)}}var ct=1,gt=2,xr=ct|gt,Ri=4,Fi=8,Mi=16,Bi=32,Di=64,Vi=128;function br(e,t){return gt|(e?Ri:0)|(t?Fi:0)}var si=0,Sr=1,Ne=2,ji=3,qi=4,Ui=5,re=function(t,r,i){this.options=t=Us(t),this.sourceFile=t.sourceFile,this.keywords=Ue(Fs[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";if(t.allowReserved!==!0){for(var a=t.ecmaVersion;!(s=sr[a]);a--);t.sourceType==="module"&&(s+=" await")}this.reservedWords=Ue(s);var u=(s?s+" ":"")+sr.strict;this.reservedWordsStrict=Ue(u),this.reservedWordsStrictBind=Ue(u+" "+sr.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(` -`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(ve).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=h.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ct),this.regexpState=null},ze={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};re.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ze.inFunction.get=function(){return(this.currentVarScope().flags>)>0};ze.inGenerator.get=function(){return(this.currentVarScope().flags&Fi)>0};ze.inAsync.get=function(){return(this.currentVarScope().flags&Ri)>0};ze.allowSuper.get=function(){return(this.currentThisScope().flags&Di)>0};ze.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Vi)>0};ze.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};re.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags>)>0};re.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,s=0;s=,?^&]/.test(s)||s==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Ee.lastIndex=e,e+=Ee.exec(this.input)[0].length,this.input[e]===";"&&e++}};me.eat=function(e){return this.type===e?(this.next(),!0):!1};me.isContextual=function(e){return this.type===h.name&&this.value===e&&!this.containsEsc};me.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};me.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};me.canInsertSemicolon=function(){return this.type===h.eof||this.type===h.braceR||ve.test(this.input.slice(this.lastTokEnd,this.start))};me.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};me.semicolon=function(){!this.eat(h.semi)&&!this.insertSemicolon()&&this.unexpected()};me.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};me.expect=function(e){this.eat(e)||this.unexpected()};me.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function Rt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}me.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}};me.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};me.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case h._class:return e&&this.unexpected(),this.parseClass(s,!0);case h._if:return this.parseIfStatement(s);case h._return:return this.parseReturnStatement(s);case h._switch:return this.parseSwitchStatement(s);case h._throw:return this.parseThrowStatement(s);case h._try:return this.parseTryStatement(s);case h._const:case h._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case h._while:return this.parseWhileStatement(s);case h._with:return this.parseWithStatement(s);case h.braceL:return this.parseBlock(!0,s);case h.semi:return this.parseEmptyStatement(s);case h._export:case h._import:if(this.options.ecmaVersion>10&&i===h._import){Ee.lastIndex=this.pos;var u=Ee.exec(this.input),f=this.pos+u[0].length,p=this.input.charCodeAt(f);if(p===40||p===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===h._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var y=this.value,g=this.parseExpression();return i===h.name&&g.type==="Identifier"&&this.eat(h.colon)?this.parseLabeledStatement(s,y,g,e):this.parseExpressionStatement(s,g)}};W.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(h.semi)||this.insertSemicolon()?e.label=null:this.type!==h.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(h.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(_r),this.enterScope(0),this.expect(h.parenL),this.type===h.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===h._var||this.type===h._const||r){var i=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(i,!0,s),this.finishNode(i,"VariableDeclaration"),(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=new Rt,u=this.parseExpression(!0,a);return this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(u,!1,a),this.checkLVal(u),this.parseForIn(e,u)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))};W.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,ot|(r?0:lr),!1,t)};W.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(h._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};W.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(h.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};W.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(h.braceL),this.labels.push(zs),this.enterScope(0);for(var t,r=!1;this.type!==h.braceR;)if(this.type===h._case||this.type===h._default){var i=this.type===h._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(h.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};W.parseThrowStatement=function(e){return this.next(),ve.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var $s=[];W.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===h._catch){var t=this.startNode();if(this.next(),this.eat(h.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Bi:0),this.checkLVal(t.param,r?qi:Ne),this.expect(h.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(h._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};W.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};W.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(_r),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};W.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};W.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};W.parseLabeledStatement=function(e,t,r,i){for(var s=0,a=this.labels;s=0;p--){var y=this.labels[p];if(y.statementStart===e.start)y.statementStart=this.start,y.kind=f;else break}return this.labels.push({name:t,kind:f,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};W.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};W.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(h.braceL),e&&this.enterScope(0);this.type!==h.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};W.parseFor=function(e,t){return e.init=t,this.expect(h.semi),e.test=this.type===h.semi?null:this.parseExpression(),this.expect(h.semi),e.update=this.type===h.parenR?null:this.parseExpression(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};W.parseForIn=function(e,t){var r=this.type===h._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};W.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(h.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===h._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(h.comma))break}return e};W.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Sr:Ne,!1)};var ot=1,lr=2,Gi=4;W.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===h.star&&t&lr&&this.unexpected(),e.generator=this.eat(h.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&ot&&(e.id=t&Gi&&this.type!==h.name?null:this.parseIdent(),e.id&&!(t&lr)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Sr:Ne:ji));var s=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(e.async,e.generator)),t&ot||(e.id=this.type===h.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(e,t&ot?"FunctionDeclaration":"FunctionExpression")};W.parseFunctionParams=function(e){this.expect(h.parenL),e.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};W.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),s=!1;for(i.body=[],this.expect(h.braceL);this.type!==h.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(i.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"&&(s&&this.raise(a.start,"Duplicate constructor in the same class"),s=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};W.parseClassElement=function(e){var t=this;if(this.eat(h.semi))return null;var r=this.startNode(),i=function(p,y){y===void 0&&(y=!1);var g=t.start,b=t.startLoc;return t.eatContextual(p)?t.type!==h.parenL&&(!y||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(g,b),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var s=this.eat(h.star),a=!1;s||(this.options.ecmaVersion>=8&&i("async",!0)?(a=!0,s=this.options.ecmaVersion>=9&&this.eat(h.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var u=r.key,f=!1;return!r.computed&&!r.static&&(u.type==="Identifier"&&u.name==="constructor"||u.type==="Literal"&&u.value==="constructor")?(r.kind!=="method"&&this.raise(u.start,"Constructor can't have get/set modifier"),s&&this.raise(u.start,"Constructor can't be a generator"),a&&this.raise(u.start,"Constructor can't be an async method"),r.kind="constructor",f=e):r.static&&u.type==="Identifier"&&u.name==="prototype"&&this.raise(u.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,s,a,f),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r};W.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};W.parseClassId=function(e,t){this.type===h.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ne,!1)):(t===!0&&this.unexpected(),e.id=null)};W.parseClassSuper=function(e){e.superClass=this.eat(h._extends)?this.parseExprSubscripts():null};W.parseExport=function(e,t){if(this.next(),this.eat(h.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==h.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(h._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===h._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,ot|Gi,!1,r)}else if(this.type===h._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==h.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,u=e.specifiers;a=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,s=e.properties;i=8&&!a&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(h._function))return this.parseFunction(this.startNodeAt(i,s),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(h.arrow))return this.parseArrowExpression(this.startNodeAt(i,s),[u],!1);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===h.name&&!a)return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(h.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,s),[u],!0)}return u;case h.regexp:var f=this.value;return t=this.parseLiteral(f.value),t.regex={pattern:f.pattern,flags:f.flags},t;case h.num:case h.string:return this.parseLiteral(this.value);case h._null:case h._true:case h._false:return t=this.startNode(),t.value=this.type===h._null?null:this.type===h._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case h.parenL:var p=this.start,y=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(y)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),y;case h.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(h.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case h.braceL:return this.parseObj(!1,e);case h._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case h._class:return this.parseClass(this.startNode(),!1);case h._new:return this.parseNew();case h.backQuote:return this.parseTemplate();case h._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};z.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case h.parenL:return this.parseDynamicImport(e);case h.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(h.parenR)){var t=this.start;this.eat(h.comma)&&this.eat(h.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};z.parseParenExpression=function(){this.expect(h.parenL);var e=this.parseExpression();return this.expect(h.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,u=this.startLoc,f=[],p=!0,y=!1,g=new Rt,b=this.yieldPos,E=this.awaitPos,S;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;)if(p?p=!1:this.expect(h.comma),s&&this.afterTrailingComma(h.parenR,!0)){y=!0;break}else if(this.type===h.ellipsis){S=this.start,f.push(this.parseParenItem(this.parseRestBinding())),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else f.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var C=this.start,v=this.startLoc;if(this.expect(h.parenR),e&&!this.canInsertSemicolon()&&this.eat(h.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=b,this.awaitPos=E,this.parseParenArrowList(t,r,f);(!f.length||y)&&this.unexpected(this.lastTokStart),S&&this.unexpected(S),this.checkExpressionErrors(g,!0),this.yieldPos=b||this.yieldPos,this.awaitPos=E||this.awaitPos,f.length>1?(i=this.startNodeAt(a,u),i.expressions=f,this.finishNodeAt(i,"SequenceExpression",C,v)):i=f[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var P=this.startNodeAt(t,r);return P.expression=i,this.finishNode(P,"ParenthesizedExpression")}else return i};z.parseParenItem=function(e){return e};z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var Js=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(h.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,s=this.startLoc,a=this.type===h._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,s,!0),a&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(h.parenL)?e.arguments=this.parseExprList(h.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Js,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===h.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` -`),cooked:this.value},this.next(),r.tail=this.type===h.backQuote,this.finishNode(r,"TemplateElement")};z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===h.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(h.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(h.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===h.name||this.type===h.num||this.type===h.string||this.type===h.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===h.star)&&!ve.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(h.braceR);){if(i)i=!1;else if(this.expect(h.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(h.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,s,a,u;if(this.options.ecmaVersion>=9&&this.eat(h.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===h.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===h.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,u=this.startLoc),e||(i=this.eat(h.star)));var f=this.containsEsc;return this.parsePropertyName(r),!e&&!f&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(h.star),this.parsePropertyName(r,t)):s=!1,this.parsePropertyValue(r,e,i,s,a,u,t,f),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,s,a,u,f){if((r||i)&&this.type===h.colon&&this.unexpected(),this.eat(h.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,u),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===h.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!f&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==h.comma&&this.type!==h.braceR&&this.type!==h.eq){(r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var y=e.value.start;e.kind==="get"?this.raiseRecoverable(y,"getter should have no params"):this.raiseRecoverable(y,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,a,e.key):this.type===h.eq&&u?(u.shorthandAssign<0&&(u.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(h.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(h.bracketR),e.key;e.computed=!1}return e.key=this.type===h.num||this.type===h.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};z.parseMethod=function(e,t,r){var i=this.startNode(),s=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(t,i.generator)|Di|(r?Vi:0)),this.expect(h.parenL),i.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(br(r,!1)|Mi),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==h.braceL,s=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(a=this.strictDirective(this.end),a&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var f=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Ui),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=f}this.exitScope()};z.isSimpleParamList=function(e){for(var t=0,r=e;t-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&ct&&delete this.undefinedExports[e]}else if(t===qi){var a=this.currentScope();a.lexical.push(e)}else if(t===ji){var u=this.currentScope();this.treatFunctionsAsVar?i=u.lexical.indexOf(e)>-1:i=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1,u.functions.push(e)}else for(var f=this.scopeStack.length-1;f>=0;--f){var p=this.scopeStack[f];if(p.lexical.indexOf(e)>-1&&!(p.flags&Bi&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){i=!0;break}if(p.var.push(e),this.inModule&&p.flags&ct&&delete this.undefinedExports[e],p.flags&xr)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};De.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};De.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};De.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr)return t}};De.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr&&!(t.flags&Mi))return t}};var Ft=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new mt(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Mt=re.prototype;Mt.startNode=function(){return new Ft(this,this.start,this.startLoc)};Mt.startNodeAt=function(e,t){return new Ft(this,e,t)};function Wi(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}Mt.finishNode=function(e,t){return Wi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Mt.finishNodeAt=function(e,t,r,i){return Wi.call(this,e,t,r,i)};var _e=function(t,r,i,s,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=s,this.generator=!!a},se={b_stat:new _e("{",!1),b_expr:new _e("{",!0),b_tmpl:new _e("${",!1),p_stat:new _e("(",!1),p_expr:new _e("(",!0),q_tmpl:new _e("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new _e("function",!1),f_expr:new _e("function",!0),f_expr_gen:new _e("function",!0,!1,null,!0),f_gen:new _e("function",!1,!1,null,!0)},Bt=re.prototype;Bt.initialContext=function(){return[se.b_stat]};Bt.braceIsBlock=function(e){var t=this.curContext();return t===se.f_expr||t===se.f_stat?!0:e===h.colon&&(t===se.b_stat||t===se.b_expr)?!t.isExpr:e===h._return||e===h.name&&this.exprAllowed?ve.test(this.input.slice(this.lastTokEnd,this.start)):e===h._else||e===h.semi||e===h.eof||e===h.parenR||e===h.arrow?!0:e===h.braceL?t===se.b_stat:e===h._var||e===h._const||e===h.name?!1:!this.exprAllowed};Bt.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};Bt.updateContext=function(e){var t,r=this.type;r.keyword&&e===h.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};h.parenR.updateContext=h.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===se.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};h.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr),this.exprAllowed=!0};h.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl),this.exprAllowed=!0};h.parenL.updateContext=function(e){var t=e===h._if||e===h._for||e===h._with||e===h._while;this.context.push(t?se.p_stat:se.p_expr),this.exprAllowed=!0};h.incDec.updateContext=function(){};h._function.updateContext=h._class.updateContext=function(e){e.beforeExpr&&e!==h.semi&&e!==h._else&&!(e===h._return&&ve.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===h.colon||e===h.braceL)&&this.curContext()===se.b_stat)?this.context.push(se.f_expr):this.context.push(se.f_stat),this.exprAllowed=!1};h.backQuote.updateContext=function(){this.curContext()===se.q_tmpl?this.context.pop():this.context.push(se.q_tmpl),this.exprAllowed=!1};h.star.updateContext=function(e){if(e===h._function){var t=this.context.length-1;this.context[t]===se.f_expr?this.context[t]=se.f_expr_gen:this.context[t]=se.f_gen}this.exprAllowed=!0};h.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==h.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var zi="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",$i=zi+" Extended_Pictographic",Hs=$i,Qs={9:zi,10:$i,11:Hs},ai="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Ji="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Xi=Ji+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ys=Xi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ks={9:Ji,10:Xi,11:Ys},Hi={};function Er(e){var t=Hi[e]={binary:Ue(Qs[e]+" "+ai),nonBinary:{General_Category:Ue(ai),Script:Ue(Ks[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}Er(9);Er(10);Er(11);var j=re.prototype,Re=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Hi[t.options.ecmaVersion>=11?11:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Re.prototype.reset=function(t,r,i){var s=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchN=s&&this.parser.options.ecmaVersion>=9};Re.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Re.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var u=i.charCodeAt(t+1);return u>=56320&&u<=57343?(a<<10)+u-56613888:a};Re.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return s;var a=i.charCodeAt(t),u;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=s||(u=i.charCodeAt(t+1))<56320||u>57343?t+1:t+2};Re.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Re.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Re.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Re.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function Pt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}j.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}};j.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};j.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};j.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};j.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};j.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};j.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};j.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};j.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Qi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Qi(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}j.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Qi(r);)e.advance();return e.pos!==t};j.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};j.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};j.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};j.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Pt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Pt(e.lastIntValue);return!0}return!1};j.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),Zs(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function Zs(e){return Le(e,!0)||e===36||e===95}j.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ea(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ea(e){return Ge(e,!0)||e===36||e===95||e===8204||e===8205}j.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};j.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};j.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};j.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};j.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};j.regexp_eatZero=function(e){return e.current()===48&&!Dt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};j.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};j.regexp_eatControlLetter=function(e){var t=e.current();return Yi(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Yi(e){return e>=65&&e<=90||e>=97&&e<=122}j.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343)return e.lastIntValue=(s-55296)*1024+(u-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&ta(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function ta(e){return e>=0&&e<=1114111}j.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};j.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};j.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ra(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1};function ra(e){return e===100||e===68||e===115||e===83||e===119||e===87}j.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1};j.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ot(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};j.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};j.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Ki(t=e.current());)e.lastStringValue+=Pt(t),e.advance();return e.lastStringValue!==""};function Ki(e){return Yi(e)||e===95}j.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";ia(t=e.current());)e.lastStringValue+=Pt(t),e.advance();return e.lastStringValue!==""};function ia(e){return Ki(e)||Dt(e)}j.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};j.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1};j.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};j.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||tn(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};j.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};j.regexp_eatClassControlLetter=function(e){var t=e.current();return Dt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};j.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};j.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Dt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Dt(e){return e>=48&&e<=57}j.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Zi(r=e.current());)e.lastIntValue=16*e.lastIntValue+en(r),e.advance();return e.pos!==t};function Zi(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function en(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}j.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};j.regexp_eatOctalDigit=function(e){var t=e.current();return tn(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function tn(e){return e>=48&&e<=55}j.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i=this.input.length)return this.finishToken(h.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};$.readToken=function(e){return Le(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};$.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};$.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){Qe.lastIndex=t;for(var i;(i=Qe.exec(this.input))&&i.index8&&e<14||e>=5760&&yr.test(String.fromCharCode(e)))++this.pos;else break e}}};$.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};$.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(h.ellipsis)):(++this.pos,this.finishToken(h.dot))};$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(h.assign,2):this.finishOp(h.slash,1)};$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?h.star:h.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=h.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(h.assign,r+1):this.finishOp(i,r)};$.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(h.assign,3)}return this.finishOp(e===124?h.logicalOR:h.logicalAND,2)}return t===61?this.finishOp(h.assign,2):this.finishOp(e===124?h.bitwiseOR:h.bitwiseAND,1)};$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(h.assign,2):this.finishOp(h.bitwiseXOR,1)};$.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||ve.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(h.incDec,2):t===61?this.finishOp(h.assign,2):this.finishOp(h.plusMin,1)};$.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(h.assign,r+1):this.finishOp(h.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(h.relational,r))};$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(h.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(h.arrow)):this.finishOp(e===61?h.eq:h.prefix,1)};$.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(h.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(h.assign,3)}return this.finishOp(h.coalesce,2)}}return this.finishOp(h.question,1)};$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(h.parenL);case 41:return++this.pos,this.finishToken(h.parenR);case 59:return++this.pos,this.finishToken(h.semi);case 44:return++this.pos,this.finishToken(h.comma);case 91:return++this.pos,this.finishToken(h.bracketL);case 93:return++this.pos,this.finishToken(h.bracketR);case 123:return++this.pos,this.finishToken(h.braceL);case 125:return++this.pos,this.finishToken(h.braceR);case 58:return++this.pos,this.finishToken(h.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(h.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(h.prefix,1)}this.raise(this.pos,"Unexpected character '"+Cr(e)+"'")};$.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};$.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(ve.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,u=this.readWord1();this.containsEsc&&this.unexpected(a);var f=this.regexpState||(this.regexpState=new Re(this));f.reset(r,s,u),this.validateRegExpFlags(f),this.validateRegExpPattern(f);var p=null;try{p=new RegExp(s,u)}catch{}return this.finishToken(h.regexp,{pattern:s,flags:u,value:p})};$.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,u=0,f=0,p=0,y=t??1/0;p=97?b=g-97+10:g>=65?b=g-65+10:g>=48&&g<=57?b=g-48:b=1/0,b>=e)break;f=g,u=u*e+b}return i&&f===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:u};function na(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function rn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}$.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=rn(this.input.slice(t,this.pos)),++this.pos):Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,r)};$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var s=rn(this.input.slice(t,this.pos));return++this.pos,Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=na(this.input.slice(t,this.pos),r);return this.finishToken(h.num,a)};$.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};function Cr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(et(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(h.string,t)};var nn={};$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===nn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw nn;this.raise(e,t)};$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===h.template||this.type===h.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(h.dollarBraceL)):(++this.pos,this.finishToken(h.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(h.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(et(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` -`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};$.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(i,8);return s>255&&(i=i.slice(0,-1),s=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return et(t)?"":String.fromCharCode(t)}};$.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};$.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"};const oi=rs(ua);(function(e){const t=la,r=/^[\da-fA-F]+$/,i=/^\d+$/,s=new WeakMap;function a(p){p=p.Parser.acorn||p;let y=s.get(p);if(!y){const g=p.tokTypes,b=p.TokContext,E=p.TokenType,S=new b("...",!0,!0),P={tc_oTag:S,tc_cTag:C,tc_expr:v},O={jsxName:new E("jsxName"),jsxText:new E("jsxText",{beforeExpr:!0}),jsxTagStart:new E("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new E("jsxTagEnd")};O.jsxTagStart.updateContext=function(){this.context.push(v),this.context.push(S),this.exprAllowed=!1},O.jsxTagEnd.updateContext=function(L){let V=this.context.pop();V===S&&L===g.slash||V===C?(this.context.pop(),this.exprAllowed=this.curContext()===v):this.exprAllowed=!0},y={tokContexts:P,tokTypes:O},s.set(p,y)}return y}function u(p){if(!p)return p;if(p.type==="JSXIdentifier")return p.name;if(p.type==="JSXNamespacedName")return p.namespace.name+":"+p.name.name;if(p.type==="JSXMemberExpression")return u(p.object)+"."+u(p.property)}e.exports=function(p){return p=p||{},function(y){return f({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},y)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return a(oi).tokTypes},configurable:!0,enumerable:!0});function f(p,y){const g=y.acorn||oi,b=a(g),E=g.tokTypes,S=b.tokTypes,C=g.tokContexts,v=b.tokContexts.tc_oTag,P=b.tokContexts.tc_cTag,O=b.tokContexts.tc_expr,L=g.isNewLine,V=g.isIdentifierStart,A=g.isIdentifierChar;return class extends y{static get acornJsx(){return b}jsx_readToken(){let m="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let _=this.input.charCodeAt(this.pos);switch(_){case 60:case 123:return this.pos===this.start?_===60&&this.exprAllowed?(++this.pos,this.finishToken(S.jsxTagStart)):this.getTokenFromCode(_):(m+=this.input.slice(x,this.pos),this.finishToken(S.jsxText,m));case 38:m+=this.input.slice(x,this.pos),m+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(_===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:L(_)?(m+=this.input.slice(x,this.pos),m+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(m){let x=this.input.charCodeAt(this.pos),_;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,_=m?` -`:`\r -`):_=String.fromCharCode(x),this.options.locations&&(++this.curLine,this.lineStart=this.pos),_}jsx_readString(m){let x="",_=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let k=this.input.charCodeAt(this.pos);if(k===m)break;k===38?(x+=this.input.slice(_,this.pos),x+=this.jsx_readEntity(),_=this.pos):L(k)?(x+=this.input.slice(_,this.pos),x+=this.jsx_readNewLine(!1),_=this.pos):++this.pos}return x+=this.input.slice(_,this.pos++),this.finishToken(E.string,x)}jsx_readEntity(){let m="",x=0,_,k=this.input[this.pos];k!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let B=++this.pos;for(;this.pos")}let G=B.name?"Element":"Fragment";return _["opening"+G]=B,_["closing"+G]=R,_.children=k,this.type===E.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(_,"JSX"+G)}jsx_parseText(){let m=this.parseLiteral(this.value);return m.type="JSXText",m}jsx_parseElement(){let m=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(m,x)}parseExprAtom(m){return this.type===S.jsxText?this.jsx_parseText():this.type===S.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(m)}readToken(m){let x=this.curContext();if(x===O)return this.jsx_readToken();if(x===v||x===P){if(V(m))return this.jsx_readWord();if(m==62)return++this.pos,this.finishToken(S.jsxTagEnd);if((m===34||m===39)&&x==v)return this.jsx_readString(m)}return m===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(S.jsxTagStart)):super.readToken(m)}updateContext(m){if(this.type==E.braceL){var x=this.curContext();x==v?this.context.push(C.b_expr):x==O?this.context.push(C.b_tmpl):super.updateContext(m),this.exprAllowed=!0}else if(this.type===E.slash&&m===S.jsxTagStart)this.context.length-=2,this.context.push(P),this.exprAllowed=!1;else return super.updateContext(m)}}}})(an);var ca=an.exports;const ha=pt(ca);function on(e,t,r,i,s){r||(r=N),function a(u,f,p){var y=p||u.type,g=t[y];r[y](u,f,a),g&&g(u,f)}(e,i,s)}function fa(e,t,r,i,s){var a=[];r||(r=N),function u(f,p,y){var g=y||f.type,b=t[g],E=f!==a[a.length-1];E&&a.push(f),r[g](f,p,u),b&&b(f,p||a,a),E&&a.pop()}(e,i,s)}function Ar(e,t,r){r(e,t)}function $e(e,t,r){}var N={};N.Program=N.BlockStatement=function(e,t,r){for(var i=0,s=e.body;i - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */function ui(e){return Object.prototype.toString.call(e)==="[object Object]"}function Na(e){var t,r;return ui(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(ui(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var ln={},It=lt&<.__assign||function(){return It=Object.assign||function(e){for(var t,r=1,i=arguments.length;re.length)&&(t=e.length);for(var r=0,i=new Array(t);r0?e.length-1:0),i=e[e.length-1];return i&&(t.type==="string"||t.type==="number")&&(i.type==="string"||i.type==="number")?r.push(fn(String(i.value)+String(t.value))):(i&&r.push(i),r.push(t)),r},no=function(t){return["key","ref"].includes(t)},so=function(e){return function(t){var r=t.includes("key"),i=t.includes("ref"),s=t.filter(function(u){return!no(u)}),a=li(e?s.sort():s);return i&&a.unshift("ref"),r&&a.unshift("key"),a}};function ao(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var oo=function(t,r,i,s,a){var u=a.tabStop;return t.type==="string"?r.split(` -`).map(function(f,p){return p===0?f:"".concat(Ie(s,u)).concat(f)}).join(` -`):r},uo=function(t,r,i){return function(s){return oo(s,Qt(s,t,r,i),t,r,i)}},lo=function(t,r){return function(i){var s=Object.keys(t).includes(i);return!s||s&&t[i]!==r[i]}},mn=function(t,r,i,s,a){return a?Ie(i,s).length+r.length>a:t.length>1},co=function(t,r,i,s,a,u,f){return(mn(t,r,a,u,f)||i)&&!s},gn=function(e,t,r,i){var s=e.type,a=e.displayName,u=a===void 0?"":a,f=e.childrens,p=e.props,y=p===void 0?{}:p,g=e.defaultProps,b=g===void 0?{}:g;if(s!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(s));var E=i.filterProps,S=i.maxInlineAttributesLineLength,C=i.showDefaultProps,v=i.sortProps,P=i.tabStop,O="<".concat(u),L=O,V=O,A=!1,m=[],x=ao(y,E);Object.keys(y).filter(x).filter(lo(b,y)).forEach(function(B){return m.push(B)}),Object.keys(b).filter(x).filter(function(){return C}).filter(function(B){return!m.includes(B)}).forEach(function(B){return m.push(B)});var _=so(v)(m);if(_.forEach(function(B){var R=ro(B,Object.keys(y).includes(B),y[B],Object.keys(b).includes(B),b[B],t,r,i),G=R.attributeFormattedInline,q=R.attributeFormattedMultiline,D=R.isMultilineAttribute;D&&(A=!0),L+=G,V+=q}),V+=` -`.concat(Ie(r,P)),co(_,L,A,t,r,P,S)?O=V:O=L,f&&f.length>0){var k=r+1;O+=">",t||(O+=` -`,O+=Ie(k,P)),O+=f.reduce(io,[]).map(uo(t,k,i)).join(t?"":` -`.concat(Ie(k,P))),t||(O+=` -`,O+=Ie(k-1,P)),O+="")}else mn(_,L,r,P,S)||(O+=" "),O+="/>";return O},ho="",pi="React.Fragment",fo=function(t,r,i){var s={};return r&&(s={key:r}),{type:"ReactElement",displayName:t,props:s,defaultProps:{},childrens:i}},po=function(t){var r=t.key;return!!r},mo=function(t){var r=t.childrens;return r.length===0},go=function(e,t,r,i){var s=e.type,a=e.key,u=e.childrens;if(s!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(s));var f=i.useFragmentShortSyntax,p;return f?mo(e)||po(e)?p=pi:p=ho:p=pi,gn(fo(p,a,u),t,r,i)},yo=["<",">","{","}"],vo=function(t){return yo.some(function(r){return t.includes(r)})},xo=function(t){return vo(t)?"{`".concat(t,"`}"):t},bo=function(t){var r=t;return r.endsWith(" ")&&(r=r.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),r.startsWith(" ")&&(r=r.replace(/^(\s+)(.*)$/,"{'$1'}$2")),r},Qt=function(e,t,r,i){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(bo(xo(String(e.value)))):"";if(e.type==="ReactElement")return gn(e,t,r,i);if(e.type==="ReactFragment")return go(e,t,r,i);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},So=function(e,t){return Qt(e,!1,0,t)},ut=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.filterProps,s=i===void 0?[]:i,a=r.showDefaultProps,u=a===void 0?!0:a,f=r.showFunctions,p=f===void 0?!1:f,y=r.functionValue,g=r.tabStop,b=g===void 0?2:g,E=r.useBooleanShorthandSyntax,S=E===void 0?!0:E,C=r.useFragmentShortSyntax,v=C===void 0?!0:C,P=r.sortProps,O=P===void 0?!0:P,L=r.maxInlineAttributesLineLength,V=r.displayName;if(!t)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var A={filterProps:s,showDefaultProps:u,showFunctions:p,functionValue:y,tabStop:b,useBooleanShorthandSyntax:S,useFragmentShortSyntax:v,sortProps:O,maxInlineAttributesLineLength:L,displayName:V};return So(Tr(t,A),A)};const{defaultDecorateStory:_o,addons:Eo,useEffect:Co}=__STORYBOOK_MODULE_PREVIEW_API__,{logger:At}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Ao(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let s=[];if(r){let a=e.map(u=>{let f=u.getPrettyName(),p=u.getTypeName();return p!=null?`${f}: ${p}`:f});s.push(`(${a.join(", ")})`)}else s.push("()");return i&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function wo(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let s=[];return r?s.push("( ... )"):s.push("()"),i&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function ko(e){return e.replace(/,/g,`,\r -`)}var fr="custom",yt="object",Pr="array",To="class",Ke="func",tt="element";function Ir(e){return hs.includes(e.toLowerCase())}var yn={format:{indent:{style:" "},semicolons:!1}},Po={...yn,format:{newline:""}},Io={...yn};function Me(e,t=!1){return wi.generate(e,t?Po:Io)}function pr(e,t=!1){return t?No(e):Me(e)}function No(e){let t=Me(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function di(e,t=!1){return t?Oo(e):Lo(e)}function Lo(e){let t=Me(e);return t.endsWith(" }]")&&(t=is(t)),t}function Oo(e){let t=Me(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var vn=e=>e.$$typeof===Symbol.for("react.memo"),Ro=e=>e.$$typeof===Symbol.for("react.forward_ref"),Nr={...N,JSXElement:()=>{}},Fo=re.extend(ha());function vt(e){return e!=null?e.name:null}function mi(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function xn(e){let t=[];return fa(e,{ObjectExpression(r,i){t.push(mi(i).length)},ArrayExpression(r,i){t.push(mi(i).length)}},Nr),Math.max(...t)}function Mo(e){return{inferredType:{type:"Identifier",identifier:vt(e)},ast:e}}function Bo(e){return{inferredType:{type:"Literal"},ast:e}}function Do(e){let t;on(e.body,{JSXElement(s){t=s}},Nr);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},i=vt(e.id);return i!=null&&(r.identifier=i),{inferredType:r,ast:e}}function Vo(e){let t;return on(e.body,{JSXElement(r){t=r}},Nr),{inferredType:{type:t!=null?"Element":"Class",identifier:vt(e.id)},ast:e}}function jo(e){let t={type:"Element"},r=vt(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function qo(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return vt(t)==="shape"?bn(e.arguments[0]):null}function bn(e){return{inferredType:{type:"Object",depth:xn(e)},ast:e}}function Uo(e){return{inferredType:{type:"Array",depth:xn(e)},ast:e}}function Go(e){switch(e.type){case"Identifier":return Mo(e);case"Literal":return Bo(e);case"FunctionExpression":case"ArrowFunctionExpression":return Do(e);case"ClassExpression":return Vo(e);case"JSXElement":return jo(e);case"CallExpression":return qo(e);case"ObjectExpression":return bn(e);case"ArrayExpression":return Uo(e);default:return null}}function Wo(e){let t=Fo.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let i=t.body[0];switch(i.type){case"ExpressionStatement":{let s=Go(i.expression);s!=null&&(r=s);break}}}return r}function Be(e){try{return{...Wo(e)}}catch{}return{inferredType:{type:"Unknown"}}}var zo=150;function de({name:e,short:t,compact:r,full:i,inferredType:s}){return{name:e,short:t,compact:r,full:i??t,inferredType:s}}function Sn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gi(e){return e.split(/\r?\n/)}function Nt(e,t=!1){return Sn(pr(e,t))}function yi(e,t=!1){return Sn(Me(e,t))}function $o(e){switch(e){case"Object":return yt;case"Array":return Pr;case"Class":return To;case"Function":return Ke;case"Element":return tt;default:return fr}}function _n(e,t){let{inferredType:r,ast:i}=Be(e),{type:s}=r,a,u,f;switch(s){case"Identifier":case"Literal":a=e,u=e;break;case"Object":{let{depth:p}=r;a=yt,u=p===1?Nt(i,!0):null,f=Nt(i);break}case"Element":{let{identifier:p}=r;a=p!=null&&!Ir(p)?p:tt,u=gi(e).length===1?e:null,f=e;break}case"Array":{let{depth:p}=r;a=Pr,u=p<=2?yi(i,!0):null,f=yi(i);break}default:a=$o(s),u=gi(e).length===1?e:null,f=e;break}return de({name:t,short:a,compact:u,full:f,inferredType:s})}function Jo({raw:e}){return e!=null?_n(e,"custom"):de({name:"custom",short:fr,compact:fr})}function Xo(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?de({name:"func",short:wo(t.params,t.returns),compact:null,full:Ao(t.params,t.returns)}):de({name:"func",short:Ke,compact:Ke})}function Ho(e,t){let r=Object.keys(e.value).map(u=>`${u}: ${Ze(e.value[u],t).full}`).join(", "),{inferredType:i,ast:s}=Be(`{ ${r} }`),{depth:a}=i;return de({name:"shape",short:yt,compact:a===1&&s?Nt(s,!0):null,full:s?Nt(s):null})}function or(e){return`objectOf(${e})`}function Qo(e,t){let{short:r,compact:i,full:s}=Ze(e.value,t);return de({name:"objectOf",short:or(r),compact:i!=null?or(i):null,full:s&&or(s)})}function Yo(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((i,s)=>{let{short:a,compact:u,full:f}=Ze(s,t);return i.short.push(a),i.compact.push(u),i.full.push(f),i},{short:[],compact:[],full:[]});return de({name:"union",short:r.short.join(" | "),compact:r.compact.every(i=>i!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return de({name:"union",short:e.value,compact:null})}function Ko({value:e,computed:t}){return t?_n(e,"enumvalue"):de({name:"enumvalue",short:e,compact:e})}function Zo(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,i)=>{let{short:s,compact:a,full:u}=Ko(i);return r.short.push(s),r.compact.push(a),r.full.push(u),r},{short:[],compact:[],full:[]});return de({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return de({name:"enum",short:e.value,compact:e.value})}function dr(e){return`${e}[]`}function vi(e){return`[${e}]`}function xi(e,t,r){return de({name:"arrayOf",short:dr(e),compact:t!=null?vi(t):null,full:r&&vi(r)})}function eu(e,t){let{name:r,short:i,compact:s,full:a,inferredType:u}=Ze(e.value,t);if(r==="custom"){if(u==="Object")return xi(i,s,a)}else if(r==="shape")return xi(i,s,a);return de({name:"arrayOf",short:dr(i),compact:dr(i)})}function Ze(e,t){try{switch(e.name){case"custom":return Jo(e);case"func":return Xo(t);case"shape":return Ho(e,t);case"instanceOf":return de({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Qo(e,t);case"union":return Yo(e,t);case"enum":return Zo(e);case"arrayOf":return eu(e,t);default:return de({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return de({name:"unknown",short:"unknown",compact:"unknown"})}function tu(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:i,full:s}=Ze(t,e);return i!=null&&!ts(i)?te(i):s?te(r,s):te(r)}case"func":{let{short:r,full:i}=Ze(t,e),s=r,a;return i&&i.length`}function An(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Lr(r,e.hasParams);case"Element":return Yt(r);default:return r}}function ru({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return te(An(e),Me(t));let i=Me(t,!0);return ft(i)?te(Ke,Me(t)):te(i)}function iu(e,t){let{inferredType:r}=t,{identifier:i}=r;if(i!=null&&!Ir(i)){let s=An(r);return te(s,e)}return ft(e)?te(tt,e):te(e)}function wn(e){try{let t=Be(e);switch(t.inferredType.type){case"Object":return En(t);case"Function":return ru(t);case"Element":return iu(e,t);case"Array":return Cn(t);default:return null}}catch(t){console.error(t)}return null}function kn(e){return e.$$typeof!=null}function Tn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var nu=e=>te(JSON.stringify(e));function su(e){let{type:t}=e,{displayName:r}=t,i=ut(e,{});if(r!=null){let s=Yt(r);return te(s,i)}if(Ia(t)&&Ir(t)){let s=ut(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!ft(s))return te(s)}return te(tt,i)}var au=e=>{if(kn(e)&&e.type!=null)return su(e);if(Ea(e)){let t=Be(JSON.stringify(e));return En(t)}if(Array.isArray(e)){let t=Be(JSON.stringify(e));return Cn(t)}return te(yt)},ou=(e,t)=>{let r=!1,i;if(Wr(e.render))r=!0;else if(e.prototype!=null&&Wr(e.prototype.render))r=!0;else{let a;try{i=Be(e.toString());let{hasParams:u,params:f}=i.inferredType;u?f.length===1&&f[0].type==="ObjectPattern"&&(a=e({})):a=e(),a!=null&&kn(a)&&(r=!0)}catch{}}let s=Tn(e,t.name);if(s!=null){if(r)return te(Yt(s));i!=null&&(i=Be(e.toString()));let{hasParams:a}=i.inferredType;return te(Lr(s,a))}return te(r?tt:Ke)},uu=e=>te(e.toString()),Pn={string:nu,object:au,function:ou,default:uu};function lu(e={}){return{...Pn,...e}}function In(e,t,r=Pn){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(i){console.error(i)}return null}function cu(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(i=>e.find(s=>s.name===i)).filter(Boolean):e}var hu=(e,{name:t,type:r})=>{let i=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",s=Tn(e,t);if(s!=null){if(i)return te(Yt(s));let{hasParams:a}=Be(e.toString()).inferredType;return te(Lr(s,a))}return te(i?tt:Ke)},fu=lu({function:hu});function pu(e,t){let{propDef:r}=e,i=tu(e);i!=null&&(r.type=i);let{defaultValue:s}=e.docgenInfo;if(s!=null&&s.value!=null){let a=wn(s.value);a!=null&&(r.defaultValue=a)}else if(t!=null){let a=In(t,r,fu);a!=null&&(r.defaultValue=a)}return r}function du(e,t){let r=t.defaultProps!=null?t.defaultProps:{},i=e.map(s=>pu(s,r[s.propDef.name]));return cu(i,t)}function mu(e,t){let{propDef:r}=e,{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let s=wn(i.value);s!=null&&(r.defaultValue=s)}else if(t!=null){let s=In(t,r);s!=null&&(r.defaultValue=s)}return r}function gu(e){return e.map(t=>mu(t))}var bi=new Map;Object.keys($r).forEach(e=>{let t=$r[e];bi.set(t,e),bi.set(t.isRequired,e)});function yu(e,t){let r=e;!Zn(e)&&!e.propTypes&&vn(e)&&(r=e.type);let i=es(r,t);if(i.length===0)return[];switch(i[0].typeSystem){case zr.JAVASCRIPT:return du(i,e);case zr.TYPESCRIPT:return gu(i);default:return i.map(s=>s.propDef)}}var vu=e=>({rows:yu(e,"props")}),xu=e=>{if(e){let{rows:t}=vu(e);if(t)return t.reduce((r,i)=>{let{name:s,description:a,type:u,sbType:f,defaultValue:p,jsDocTags:y,required:g}=i;return r[s]={name:s,description:a,type:{required:g,...f},table:{type:u,jsDocTags:y,defaultValue:p}},r},{})}return null},bu=e=>e.charAt(0).toUpperCase()+e.slice(1),Su=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(bu).join("")).join(".");function mr(e){if(We.isValidElement(e)){let t=Object.keys(e.props).reduce((r,i)=>(r[i]=mr(e.props[i]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(mr):e}var _u=(e,t)=>{if(typeof e>"u")return At.warn("Too many skip or undefined component"),null;let r=e,i=r.type;for(let u=0;u<(t==null?void 0:t.skip);u+=1){if(typeof r>"u")return At.warn("Cannot skip undefined element"),null;if(at.Children.count(r)>1)return At.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(At.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=at.createElement(i,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let s;typeof(t==null?void 0:t.displayName)=="string"?s={showFunctions:!0,displayName:()=>t.displayName}:s={displayName:u=>u.type.displayName?u.type.displayName:Ur(u.type,"displayName")?Ur(u.type,"displayName"):typeof u.type=="symbol"||u.type.$$typeof&&typeof u.type.$$typeof=="symbol"?Su(u.type):u.type.name&&u.type.name!=="_default"?u.type.name:typeof u.type=="function"?"No Display Name":Ro(u.type)?u.type.render.name:vn(u.type)?u.type.type.name:u.type};let a={...s,filterProps:(u,f)=>u!==void 0,...t};return at.Children.map(e,u=>{let f=typeof u=="number"?u.toString():u,p=(typeof ut=="function"?ut:ut.default)(mr(f),a);if(p.indexOf(""")>-1){let y=p.match(/\S+=\\"([^"]*)\\"/g);y&&y.forEach(g=>{p=p.replace(g,g.replace(/"/g,"'"))})}return p}).join(` -`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},Eu={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},Cu=e=>{var i;let t=(i=e==null?void 0:e.parameters.docs)==null?void 0:i.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Gr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Gr.CODE},Au=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},Nn=e=>{if(!Au(e))return e;let{mdxType:t,originalType:r,children:i,...s}=e.props,a=[];return i&&(a=(Array.isArray(i)?i:[i]).map(Nn)),We.createElement(r,s,...a)},Ln=(e,t)=>{var g,b;let r=Eo.getChannel(),i=Cu(t),s="";Co(()=>{if(!i){let{id:E,unmappedArgs:S}=t;r.emit(Kn,{id:E,source:s,args:S})}});let a=e();if(i)return a;let u={...Eu,...(t==null?void 0:t.parameters.jsx)||{}},f=(b=(g=t==null?void 0:t.parameters.docs)==null?void 0:g.source)!=null&&b.excludeDecorators?t.originalStoryFn(t.args,t):a,p=Nn(f),y=_u(p,u);return y&&(s=y),a},Pu=(e,t)=>{let r=t.findIndex(s=>s.originalFn===Ln),i=r===-1?t:[...t.splice(r,1),...t];return _o(e,i)},Iu={docs:{story:{inline:!0},extractArgTypes:xu,extractComponentDescription:Qn}},Nu=[Ln],Lu=[Yn];export{Pu as applyDecorators,Lu as argTypesEnhancers,Nu as decorators,Iu as parameters}; diff --git a/assets/entry-preview-ulNEgYIM.js b/assets/entry-preview-ulNEgYIM.js deleted file mode 100644 index 79225de..0000000 --- a/assets/entry-preview-ulNEgYIM.js +++ /dev/null @@ -1 +0,0 @@ -import{R as n,r as i}from"./index-OjgoNOWw.js";import{u as m,r as h}from"./react-18-DyM-o0Ps.js";import"./index-mQqIOHEI.js";var u=Object.defineProperty,E=(e,r)=>{for(var t in r)u(e,t,{get:r[t],enumerable:!0})};const{global:_}=__STORYBOOK_MODULE_GLOBAL__;var f={};E(f,{parameters:()=>w,render:()=>v,renderToCanvas:()=>g});var v=(e,r)=>{let{id:t,component:o}=r;if(!o)throw new Error(`Unable to render story ${t} as the component annotation is missing from the default export`);return n.createElement(o,{...e})},{FRAMEWORK_OPTIONS:s}=_,x=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:r}=this.props;e||r()}componentDidCatch(e){let{showException:r}=this.props;r(e)}render(){let{hasError:e}=this.state,{children:r}=this.props;return e?null:r}},c=s!=null&&s.strictMode?i.StrictMode:i.Fragment;async function g({storyContext:e,unboundStoryFn:r,showMain:t,showException:o,forceRemount:d},a){let p=n.createElement(x,{showMain:t,showException:o},n.createElement(r,{...e})),l=c?n.createElement(c,null,p):p;return d&&m(a),await h(l,a),()=>m(a)}var w={renderer:"react"};export{w as parameters,v as render,g as renderToCanvas}; diff --git a/assets/extends-dGVwEr9R.js b/assets/extends-dGVwEr9R.js new file mode 100644 index 0000000..2fc9398 --- /dev/null +++ b/assets/extends-dGVwEr9R.js @@ -0,0 +1 @@ +function e(){return e=Object.assign?Object.assign.bind():function(a){for(var n=1;nt in e?Qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _e=(e,t,r)=>(Zi(e,typeof t!="symbol"?t+"":t,r),r);import{m as ea}from"./index-5FojMo3J.js";import"./iframe-IJaDOTiX.js";import"../sb-preview/runtime.js";import"./index-OjgoNOWw.js";import"./index-mQqIOHEI.js";import"./index-Eok78svH.js";import"./index-ogXoivrg.js";import"./index-XkRcYS9h.js";import"./index-PPLHz8o0.js";var ta=Object.defineProperty,pu=(e,t)=>{for(var r in t)ta(e,r,{get:t[r],enumerable:!0})},hu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},se=(e,t,r)=>(hu(e,t,"read from private field"),r?r.call(e):t.get(e)),ra=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},na=(e,t,r,n)=>(hu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),du={};pu(du,{languages:()=>Vl,options:()=>zl,parsers:()=>Gu,printers:()=>Gl});var ua=(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)},O=ua,Br="string",xr="array",Tr="cursor",Bt="indent",xt="align",Lr="trim",Ye="group",Tt="fill",Lt="if-break",Nt="indent-if-break",Nr="line-suffix",qr="line-suffix-boundary",be="line",Pr="label",qt="break-parent",Du=new Set([Tr,Bt,xt,Lr,Ye,Tt,Lt,Nt,Nr,qr,be,Pr,qt]);function ia(e){if(typeof e=="string")return Br;if(Array.isArray(e))return xr;if(!e)return;let{type:t}=e;if(Du.has(t))return t}var Ir=ia,aa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function sa(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(Ir(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=aa([...Du].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}var oa=class extends Error{constructor(t){super(sa(t));_e(this,"name","InvalidDocError");this.doc=t}},fu=oa,la=()=>{},ca=la;function we(e){return{type:Bt,contents:e}}function mu(e,t){return{type:xt,contents:t,n:e}}function q(e,t={}){return ca(t.expandedStates),{type:Ye,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function pa(e){return mu(Number.NEGATIVE_INFINITY,e)}function ha(e){return mu({type:"root"},e)}function gu(e){return{type:Tt,parts:e}}function bt(e,t="",r={}){return{type:Lt,breakContents:e,flatContents:t,groupId:r.groupId}}function da(e,t){return{type:Nt,contents:e,groupId:t.groupId,negate:t.negate}}var Ze={type:qt},Da={type:be,hard:!0},fa={type:be,hard:!0,literal:!0},L={type:be},I={type:be,soft:!0},A=[Da,Ze],ma=[fa,Ze];function et(e,t){let r=[];for(let n=0;n{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Pt=ga;function Or(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(Ir(i)){case xr:return t(i.map(n));case Tt:return t({...i,parts:i.parts.map(n)});case Lt:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case Ye:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case xt:case Bt:case Nt:case Pr:case Nr:return t({...i,contents:n(i.contents)});case Br:case Tr:case Lr:case qr:case be:case qt:return t(i);default:throw new fu(i)}}}function Ca(e){switch(Ir(e)){case Tt:if(e.parts.every(t=>t===""))return"";break;case Ye:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ye&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case xt:case Bt:case Nt:case Nr:if(!e.contents)return"";break;case Lt:if(!e.flatContents&&!e.breakContents)return"";break;case xr:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Pt(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Br:case Tr:case Lr:case qr:case be:case Pr:case qt:break;default:throw new fu(e)}return e}function Fa(e){return Or(e,t=>Ca(t))}function G(e,t=ma){return Or(e,r=>typeof r=="string"?et(t,r.split(` -`)):r)}var va=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);_e(this,"name","UnexpectedNodeError");this.node=t}},ya=va,lt="'",cn='"';function Ea(e,t){let r=t===!0||t===lt?lt:cn,n=r===lt?cn:lt,u=0,i=0;for(let a of e)a===r?u++:a===n&&i++;return u>i?n:r}var ba=Ea;function wa(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,Sa=class{constructor(e){ra(this,U,void 0),na(this,U,new Set(e))}getLeadingWhitespaceCount(e){let t=se(this,U),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 se(this,U).has(e.charAt(0))}hasTrailingWhitespace(e){return se(this,U).has(Pt(!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=`[${wa([...se(this,U)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=se(this,U);return Array.prototype.every.call(e,r=>t.has(r))}};U=new WeakMap;var Aa=Sa,ka=[" ",` -`,"\f","\r"," "],_a=new Aa(ka),ce=_a;function Ba(e){return(e==null?void 0:e.type)==="front-matter"}var It=Ba,xa=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens"]),Ta=new Set(["if","else if","for","switch","case"]);function Cu(e,t){var r;if(e.type==="text"||e.type==="comment"||It(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=t.parameters)!=null&&r.children)for(let n of t.parameters.children)Ta.has(e.name)?delete n.expression:n.expression=n.expression.trim()}Cu.ignoredProperties=xa;var La=Cu,Na=e=>String(e).split(/[/\\]/).pop();function pn(e,t){if(!t)return;let r=Na(t).toLowerCase();return e.find(n=>{var u,i;return((u=n.extensions)==null?void 0:u.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function qa(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 Pa(e,t){let r=e.plugins.flatMap(u=>u.languages??[]),n=qa(r,t.language)??pn(r,t.physicalFile)??pn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Ot=Pa,Ia="inline",Oa={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"},Ma="normal",Ra={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function Ha(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var Xe=Ha,ja=e=>O(!1,e,/^[\t\f\r ]*\n/g,""),Fu=e=>ja(ce.trimEnd(e)),$a=e=>{let t=e,r=ce.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=ce.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function vu(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Pe(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Hr(e,t)&&!ee(e)&&e.type!=="interpolation")}function Mr(e){return e.type==="attribute"||!e.parent||!e.prev?!1:Wa(e.prev)}function Wa(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function H(e){return e.type==="text"||e.type==="comment"}function ee(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Xe(e)&&(e.name==="script"||e.name==="style"))}function Va(e){return e.children&&!ee(e)}function Ua(e){return ee(e)||e.type==="interpolation"||yu(e)}function yu(e){return _u(e).startsWith("pre")}function za(e,t){var r,n;let u=i();if(u&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return u;function i(){return It(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:Pe(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Pe(e)&&e.parent||ee(e.parent)||Mt(e.parent,t)||!ts(e.parent.cssDisplay))||e.prev&&!us(e.prev.cssDisplay))}}function Ga(e,t){return It(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:Pe(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Pe(e)&&e.parent||ee(e.parent)||Mt(e.parent,t)||!rs(e.parent.cssDisplay))||e.next&&!ns(e.next.cssDisplay))}function Ka(e){return is(e.cssDisplay)&&!ee(e)}function ct(e){return It(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>Xa(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&wu(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Su(e.lastChild))}function Eu(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 nr(e){return Au(e)||e.prev&&Ya(e.prev)||bu(e)}function Ya(e){return Au(e)||e.type==="element"&&e.fullName==="br"||bu(e)}function bu(e){return wu(e)&&Su(e)}function wu(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 Au(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Rr(e){return e.lastChild?Rr(e.lastChild):e}function Xa(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function ku(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 Qa(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:u,lang:i}=e.attrMap;return!i&&!u?"babel":Ot(t,{language:i})??ku(u)}function Za(e,t){if(!Hr(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:u}=r;return Ot(t,{language:u})??ku(n)}function es(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Ot(t,{language:r}):"css"}function hn(e,t){return Qa(e,t)??es(e,t)??Za(e,t)}function tt(e){return e==="block"||e==="list-item"||e.startsWith("table")}function ts(e){return!tt(e)&&e!=="inline-block"}function rs(e){return!tt(e)&&e!=="inline-block"}function ns(e){return!tt(e)}function us(e){return!tt(e)}function is(e){return!tt(e)&&e!=="inline-block"}function Pe(e){return _u(e).startsWith("pre")}function as(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function ss(e,t){var r;if(Me(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let u=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(u)return u[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(as(e,u=>u.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||Xe(e))&&Oa[e.name]||Ia}}function _u(e){return e.type==="element"&&(!e.namespace||Xe(e))&&Ra[e.name]||Ma}function os(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=ce.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function xu(e){return O(!1,O(!1,e,"'","'"),""",'"')}function de(e){return xu(e.value)}var ls=new Set(["template","style","script"]);function Mt(e,t){return Me(e,t)&&!ls.has(e.fullName)}function Me(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Hr(e,t){return Me(e,t)&&(Mt(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function cs(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function ps(e,t){let r=e.parent;if(!Me(r,t))return!1;let n=r.fullName,u=e.fullName;return n==="script"&&u==="setup"||n==="style"&&u==="vars"}function Tu(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?G(t):G(Bu(Fu(t)),A):et(L,ce.split(t))}function Lu(e,t){return Me(e,t)&&e.name==="script"}function jr(e){return e>=9&&e<=32||e==160}function Nu(e){return 48<=e&&e<=57}function $r(e){return e>=97&&e<=122||e>=65&&e<=90}function hs(e){return e>=97&&e<=102||e>=65&&e<=70||Nu(e)}function qu(e){return e===10||e===13}function dn(e){return 48<=e&&e<=55}function Dn(e){return e===39||e===34||e===96}var ds=/-+([a-z0-9])/g;function Ds(e){return e.replace(ds,(...t)=>t[1].toUpperCase())}var fr=class Pu{constructor(t,r,n,u){this.file=t,this.offset=r,this.line=n,this.col=u}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,u=this.offset,i=this.line,a=this.col;for(;u>0&&t<0;)if(u--,t++,r.charCodeAt(u)==10){i--;let s=r.substring(0,u-1).lastIndexOf(` -`);a=s>0?u-s:u}else a--;for(;u0;){let s=r.charCodeAt(u);u++,t--,s==10?(i++,a=0):a++}return new Pu(this.file,u,i,a)}getContext(t,r){let n=this.file.content,u=this.offset;if(u!=null){u>n.length-1&&(u=n.length-1);let i=u,a=0,s=0;for(;a0&&(u--,a++,!(n[u]==` -`&&++s==r)););for(a=0,s=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},fs=[gs,Cs,vs,Es,bs,As,ws,Ss,ks,ys];function ms(e,t){for(let r of fs)r(e,t);return e}function gs(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 Cs(e){let t=r=>{var n,u;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((u=r.firstChild)==null?void 0:u.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let u=0;ut.type==="cdata",t=>``)}function ys(e){let t=r=>{var n,u;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!ce.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"&&((u=r.next)==null?void 0:u.type)==="text"};e.walk(r=>{if(r.children)for(let n=0;n`+u.firstChild.value+``+a.value,i.sourceSpan=new b(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(u),n--,r.removeChild(a)}})}function Es(e,t){if(t.parser==="html")return;let r=/{{(.+?)}}/s;e.walk(n=>{if(Va(n))for(let u of n.children){if(u.type!=="text")continue;let i=u.sourceSpan.start,a=null,s=u.value.split(r);for(let o=0;o0&&n.insertChildBefore(u,{type:"text",value:l,sourceSpan:new b(i,a)});continue}a=i.moveBy(l.length+4),n.insertChildBefore(u,{type:"interpolation",sourceSpan:new b(i,a),children:l.length===0?[]:[{type:"text",value:l,sourceSpan:new b(i.moveBy(2),a.moveBy(-2))}]})}n.removeChild(u)}})}function bs(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&ce.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=Ua(t),n=yu(t);if(!r)for(let u=0;u{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 Ss(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function As(e,t){e.walk(r=>{r.cssDisplay=ss(r,t)})}function ks(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=Ka(r);return}for(let u of n)u.isLeadingSpaceSensitive=za(u,t),u.isTrailingSpaceSensitive=Ga(u,t);for(let u=0;u/.test(e)}function xs(e){return` - -`+e}function Rt(e){return e.sourceSpan.start.offset}function Ht(e){return e.sourceSpan.end.offset}async function Ts(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return ha([e.startDelimiter,A,n,n?A:"",e.endDelimiter])}}var Ls=Ts,Mu=new Proxy(()=>{},{get:()=>Mu}),Ru=Mu;function Ns(e){return Array.isArray(e)&&e.length>0}var Hu=Ns;function mr(e,t){return[e.isSelfClosing?"":qs(e,t),ft(e,t)]}function qs(e,t){return e.lastChild&&Qe(e.lastChild)?"":[Ps(e,t),Wr(e,t)]}function ft(e,t){return(e.next?ve(e.next):nt(e.parent))?"":[rt(e,t),Fe(e,t)]}function Ps(e,t){return nt(e)?rt(e.lastChild,t):""}function Fe(e,t){return Qe(e)?Wr(e.parent,t):jt(e)?Vr(e.next):""}function Wr(e,t){if(Ru(!e.isSelfClosing),ju(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function ju(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Mr(e)||vu(e.parent,t))}function ve(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!H(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function nt(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!H(Rr(e.lastChild))&&!Pe(e)}function Qe(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&H(Rr(e))}function jt(e){return e.next&&!H(e.next)&&H(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Is(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function $t(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Os(e,t,r){var n;let{node:u}=e;if(!Hu(u.attrs))return u.isSelfClosing?" ":"";let i=((n=u.prev)==null?void 0:n.type)==="comment"&&Is(u.prev.value),a=typeof i=="boolean"?()=>i:Array.isArray(i)?D=>i.includes(D.rawName):()=>!1,s=e.map(({node:D})=>a(D)?G(t.originalText.slice(Rt(D),Ht(D))):r(),"attrs"),o=u.type==="element"&&u.fullName==="script"&&u.attrs.length===1&&u.attrs[0].fullName==="src"&&u.children.length===0,l=t.singleAttributePerLine&&u.attrs.length>1&&!Me(u,t)?A:L,c=[we([o?" ":L,et(l,s)])];return u.firstChild&&$t(u.firstChild)||u.isSelfClosing&&nt(u.parent)||o?c.push(u.isSelfClosing?" ":""):c.push(t.bracketSameLine?u.isSelfClosing?" ":"":u.isSelfClosing?L:I),c}function Ms(e){return e.firstChild&&$t(e.firstChild)?"":Ur(e)}function gr(e,t,r){let{node:n}=e;return[mt(n,t),Os(e,t,r),n.isSelfClosing?"":Ms(n)]}function mt(e,t){return e.prev&&jt(e.prev)?"":[ye(e,t),Vr(e)]}function ye(e,t){return $t(e)?Ur(e.parent):ve(e)?rt(e.prev,t):""}function Vr(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Ur(e){switch(Ru(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}var ur=new WeakMap;function Rs(e,t){let{root:r}=e;return ur.has(r)||ur.set(r,r.children.some(n=>Lu(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ur.get(r)}var zr=Rs;function Hs(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&$t(e.firstChild)&&(r-=Ur(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Qe(e.lastChild)?n+=Wr(e,t).length:nt(e)&&(n-=rt(e.lastChild,t).length),t.originalText.slice(r,n)}var $u=Hs;function fn(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}var js=/^[ \t\n\r\u000c]+/,$s=/^[, \t\n\r\u000c]+/,Ws=/^[^ \t\n\r\u000c]+/,Vs=/[,]+$/,mn=/^\d+$/,Us=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function zs(e){let t=e.length,r,n,u,i,a,s=0,o;function l(h){let d,m=h.exec(e.substring(s));if(m)return[d]=m,s+=d.length,d}let c=[];for(;;){if(l($s),s>=t){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}o=s,r=l(Ws),n=[],r.slice(-1)===","?(r=r.replace(Vs,""),p()):D()}function D(){for(l(js),u="",i="in descriptor";;){if(a=e.charAt(s),i==="in descriptor")if(fn(a))u&&(n.push(u),u="",i="after descriptor");else if(a===","){s+=1,u&&n.push(u),p();return}else if(a==="(")u+=a,i="in parens";else if(a===""){u&&n.push(u),p();return}else u+=a;else if(i==="in parens")if(a===")")u+=a,i="in descriptor";else if(a===""){n.push(u),p();return}else u+=a;else if(i==="after descriptor"&&!fn(a))if(a===""){p();return}else i="in descriptor",s-=1;s+=1}}function p(){let h=!1,d,m,g,F,f={},C,y,v,w,S;for(F=0;F{u=n(a,s)});let i=await t(e,r,t);return u?q(i):Wt(i)}function Ks(e){if(e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"))return()=>Ys(de(e.node))}var Wu={width:"w",height:"h",density:"x"},Js=Object.keys(Wu);function Ys(e){let t=Gs(e),r=Js.filter(c=>t.some(D=>Object.prototype.hasOwnProperty.call(D,c)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,u=Wu[n],i=t.map(c=>c.source.value),a=Math.max(...i.map(c=>c.length)),s=t.map(c=>c[n]?String(c[n].value):""),o=s.map(c=>{let D=c.indexOf(".");return D===-1?c.length:D}),l=Math.max(...o);return Wt(et([",",L],i.map((c,D)=>{let p=[c],h=s[D];if(h){let d=a-c.length+1,m=l-o[D],g=" ".repeat(d+m);p.push(bt(g," "),h+u)}return p})))}var Xs=Ks;function Qs(e,t){let{node:r}=e,n=de(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}var Zs=Qs;function eo(e,t){let{node:r}=e,n=de(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async u=>Wt(await u(n,{parser:"css",__isHTMLStyleAttribute:!0}))}async function to(e,t,r,n){let u=de(r.node),{left:i,operator:a,right:s}=ro(u),o=zr(r,n);return[q(await X(`function _(${i}) {}`,e,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await X(s,e,{parser:o?"__ts_expression":"__js_expression"})]}function ro(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,u=e.match(t);if(!u)return;let i={};if(i.for=u[3].trim(),!i.for)return;let a=O(!1,u[1].trim(),n,""),s=a.match(r);s?(i.alias=a.replace(r,""),i.iterator1=s[1].trim(),s[2]&&(i.iterator2=s[2].trim())):i.alias=a;let o=[i.alias,i.iterator1,i.iterator2];if(!o.some((l,c)=>!l&&(c===0||o.slice(c+1).some(Boolean))))return{left:o.filter(Boolean).join(","),operator:u[2],right:i.for}}function no(e,t,r){let{node:n}=r,u=de(n);return X(`type T<${u}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Re)}function uo(e,t,{parseWithTs:r}){return X(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function io(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$_a-z][\w$]*])*$/i,n=e.trim();return t.test(n)||r.test(n)}function ao(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return to;if(n==="generic"&&Lu(r.parent,t))return no;let u=de(r),i=zr(e,t);if(cs(r)||ps(r,t))return a=>uo(u,a,{parseWithTs:i});if(n.startsWith("@")||n.startsWith("v-on:"))return a=>so(u,a,{parseWithTs:i});if(n.startsWith(":")||n.startsWith("v-bind:"))return a=>oo(u,a,{parseWithTs:i});if(n.startsWith("v-"))return a=>Vu(u,a,{parseWithTs:i})}function so(e,t,{parseWithTs:r}){return io(e)?Vu(e,t,{parseWithTs:r}):X(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Re)}function oo(e,t,{parseWithTs:r}){return X(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},Re)}function Vu(e,t,{parseWithTs:r}){return X(e,t,{parser:r?"__ts_expression":"__js_expression"},Re)}var lo=ao,Uu=/{{(.+?)}}/s;async function co(e,t){let r=[];for(let[n,u]of e.split(Uu).entries())if(n%2===0)r.push(G(u));else try{r.push(q(["{{",we([L,await X(u,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),L,"}}"]))}catch{r.push("{{",G(u),"}}")}return r}function Gr({parser:e}){return(t,r,n)=>X(de(n.node),t,{parser:e,trailingComma:"none"},Re)}var po=Gr({parser:"__ng_action"}),ho=Gr({parser:"__ng_binding"}),Do=Gr({parser:"__ng_directive"});function fo(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return po;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return ho;if(n.startsWith("*"))return Do;let u=de(r);if(/^i18n(?:-.+)?$/.test(n))return()=>Wt(gu(Tu(r,u.trim())),!u.includes("@@"));if(Uu.test(u))return i=>co(u,i)}var mo=fo;function go(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.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[Xs,eo,Zs,lo,mo]){let u=n(e,t);if(u)return Co(u)}}}function Co(e){return async(t,r,n,u)=>{let i=await e(t,r,n,u);if(i)return i=Or(i,a=>typeof a=="string"?O(!1,a,'"',"""):a),[n.node.rawName,'="',q(i),'"']}}var Fo=go;function vo(e,t,r,n){let{node:u}=r,i=n.originalText.slice(u.sourceSpan.start.offset,u.sourceSpan.end.offset);return/^\s*$/.test(i)?"":X(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},Re)}var yo=vo,Eo=new Set(["if","else if","for","switch","case"]);function bo(e,t){let{node:r}=e;switch(r.type){case"element":if(ee(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Hr(r,t)){let n=hn(r,t);return n?async(u,i)=>{let a=$u(r,t),s=/^\s*$/.test(a),o="";return s||(o=await u(Fu(a),{parser:n,__embeddedInHtml:!0}),s=o===""),[ye(r,t),q(gr(e,t,i)),s?"":A,o,s?"":A,mr(r,t),Fe(r,t)]}:void 0}break;case"text":if(ee(r.parent)){let n=hn(r.parent,t);if(n)return async u=>{let i=n==="markdown"?Bu(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:o}=r.parent;o&&(o.type==="module"||o.type==="text/babel"&&o["data-type"]==="module")&&(s="module"),a.__babelSourceType=s}return[Ze,ye(r,t),await u(i,a,{stripTrailingHardline:!0}),Fe(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let u={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?(u.parser="__ng_interpolation",u.trailingComma="none"):t.parser==="vue"?u.parser=zr(e,t)?"__vue_ts_expression":"__vue_expression":u.parser="__js_expression",[we([L,await n(r.value,u)]),r.parent.next&&ve(r.parent.next)?" ":L]};break;case"attribute":return Fo(e,t);case"front-matter":return n=>Ls(r,n);case"angularControlFlowBlockParameters":return Eo.has(e.parent.name)?yo:void 0}}var wo=bo;function je(e,t,r){let n=e.node;return Mr(n)?[ye(n,t),G(t.originalText.slice(Rt(n)+(n.prev&&jt(n.prev)?Vr(n).length:0),Ht(n)-(n.next&&ve(n.next)?rt(n,t).length:0))),Fe(n,t)]:r()}function pt(e,t){return H(e)&&H(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?nr(t)?A:L:"":nr(t)?A:I:jt(e)&&(Mr(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&ve(t)?"":!t.isLeadingSpaceSensitive||nr(t)||ve(t)&&e.lastChild&&Qe(e.lastChild)&&e.lastChild.lastChild&&Qe(e.lastChild.lastChild)?A:t.hasLeadingSpaces?L:I}function Kr(e,t,r){let{node:n}=e;if(Eu(n))return[Ze,...e.map(i=>{let a=i.node,s=a.prev?pt(a.prev,a):"";return[s?[s,ct(a.prev)?A:""]:"",je(i,t,r)]},"children")];let u=n.children.map(()=>Symbol(""));return e.map((i,a)=>{let s=i.node;if(H(s)){if(s.prev&&H(s.prev)){let d=pt(s.prev,s);if(d)return ct(s.prev)?[A,A,je(i,t,r)]:[d,je(i,t,r)]}return je(i,t,r)}let o=[],l=[],c=[],D=[],p=s.prev?pt(s.prev,s):"",h=s.next?pt(s,s.next):"";return p&&(ct(s.prev)?o.push(A,A):p===A?o.push(A):H(s.prev)?l.push(p):l.push(bt("",I,{groupId:u[a-1]}))),h&&(ct(s)?H(s.next)&&D.push(A,A):h===A?H(s.next)&&D.push(A):c.push(h)),[...o,q([...l,q([je(i,t,r),...c],{id:u[a]})]),...D]},"children")}function So(e,t,r){let{node:n}=e;if(vu(n,t))return[ye(n,t),q(gr(e,t,r)),G($u(n,t)),...mr(n,t),Fe(n,t)];let u=n.children.length===1&&n.firstChild.type==="interpolation"&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=c=>q([q(gr(e,t,r),{id:i}),c,mr(n,t)]),s=c=>u?da(c,{groupId:i}):(ee(n)||Mt(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?c:we(c),o=()=>u?bt(I,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?L:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?pa(I):I,l=()=>(n.next?ve(n.next):nt(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":u?bt(I,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?L:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":I;return n.children.length===0?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?L:""):a([Ja(n)?Ze:"",s([o(),Kr(e,t,r)]),l()])}var Ao=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"])]]);function ko(e,t,r){let{node:n}=e,u=[];_o(e)&&u.push("} "),u.push("@",n.name),n.parameters&&u.push(" (",q(r("parameters")),")"),u.push(" {");let i=zu(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,u.push(we([A,Kr(e,t,r)])),i&&u.push(A,"}")):i&&u.push("}"),q(u,{shouldBreak:!0})}function zu(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=Ao.get(e.name))!=null&&r.has(e.next.name))}function _o(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!zu(e.previous)}function Bo(e,t,r){return[we([I,et([";",L],e.map(r,"children"))]),I]}var $e=null;function Ge(e){if($e!==null&&typeof $e.property){let t=$e;return $e=Ge.prototype=null,t}return $e=Ge.prototype=e??Object.create(null),new Ge}var xo=10;for(let e=0;e<=xo;e++)Ge();function To(e){return Ge(e)}function Lo(e,t="type"){To(e);function r(n){let u=n[t],i=e[u];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${u}'.`),{node:n});return i}return r}var No=Lo,qo={"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:[]},Po=qo,Io=No(Po),Oo=Io;function Mo(e,t,r){let{node:n}=e;switch(n.type){case"front-matter":return G(n.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[q(Kr(e,t,r)),A];case"element":case"ieConditionalComment":return So(e,t,r);case"angularControlFlowBlock":return ko(e,t,r);case"angularControlFlowBlockParameters":return Bo(e,t,r);case"angularControlFlowBlockParameter":return ce.trim(n.expression);case"ieConditionalStartComment":case"ieConditionalEndComment":return[mt(n),ft(n)];case"interpolation":return[mt(n,t),...e.map(r,"children"),ft(n,t)];case"text":{if(n.parent.type==="interpolation"){let i=/\n[^\S\n]*$/,a=i.test(n.value),s=a?n.value.replace(i,""):n.value;return[G(s),a?A:""]}let u=Fa([ye(n,t),...Tu(n),Fe(n,t)]);return Array.isArray(u)?gu(u):u}case"docType":return[q([mt(n,t)," ",O(!1,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),ft(n,t)];case"comment":return[ye(n,t),G(t.originalText.slice(Rt(n),Ht(n))),Fe(n,t)];case"attribute":{if(n.value===null)return n.rawName;let u=xu(n.value),i=ba(u,'"');return[n.rawName,"=",i,G(i==='"'?O(!1,u,'"',"""):O(!1,u,"'","'")),i]}case"cdata":default:throw new ya(n,"HTML")}}var Ro={preprocess:_s,print:Mo,insertPragma:xs,massageAstNode:La,embed:wo,getVisitorKeys:Oo},Ho=Ro,Gu={};pu(Gu,{angular:()=>jl,html:()=>Hl,lwc:()=>Wl,vue:()=>$l});var gn;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(gn||(gn={}));var Cn;(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(Cn||(Cn={}));var Fn={name:"custom-elements"},vn={name:"no-errors-schema"},ge;(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"})(ge||(ge={}));var yn;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(yn||(yn={}));var z;(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"})(z||(z={}));function Vt(e){if(e[0]!=":")return[null,e];let t=e.indexOf(":",1);if(t===-1)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function En(e){return Vt(e)[1]==="ng-container"}function bn(e){return Vt(e)[1]==="ng-content"}function gt(e){return e===null?null:Vt(e)[0]}function St(e,t){return e?`:${e}:${t}`:t}var Ct;function wn(){return Ct||(Ct={},ht(ge.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),ht(ge.STYLE,["*|style"]),ht(ge.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),ht(ge.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Ct}function ht(e,t){for(let r of t)Ct[r.toLowerCase()]=e}var jo=class{},$o="boolean",Wo="number",Vo="string",Uo="object",zo=["[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,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:|"],Ku=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Go=Array.from(Ku).reduce((e,[t,r])=>(e.set(t,r),e),new Map),Ko=class extends jo{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,zo.forEach(e=>{let t=new Map,r=new Set,[n,u]=e.split("|"),i=u.split(","),[a,s]=n.split("^");a.split(",").forEach(l=>{this._schema.set(l.toLowerCase(),t),this._eventSchema.set(l.toLowerCase(),r)});let o=s&&this._schema.get(s.toLowerCase());if(o){for(let[l,c]of o)t.set(l,c);for(let l of this._eventSchema.get(s.toLowerCase()))r.add(l)}i.forEach(l=>{if(l.length>0)switch(l[0]){case"*":r.add(l.substring(1));break;case"!":t.set(l.substring(1),$o);break;case"#":t.set(l.substring(1),Wo);break;case"%":t.set(l.substring(1),Uo);break;default:t.set(l,Vo)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===vn.name))return!0;if(e.indexOf("-")>-1){if(En(e)||bn(e))return!1;if(r.some(n=>n.name===Fn.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===vn.name)||e.indexOf("-")>-1&&(En(e)||bn(e)||t.some(r=>r.name===Fn.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=wn()[e+"|"+t];return n||(n=wn()["*|"+t],n||ge.NONE)}getMappedPropName(e){return Ku.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=>Go.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Ds(e)}normalizeAnimationStyleValue(e,t,r){let n="",u=r.toString().trim(),i=null;if(Jo(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&(i=`Please provide a CSS unit value for ${t}:${r}`)}return{error:i,value:u+n}}};function Jo(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var E=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=z.PARSABLE_DATA,closedByParent:n=!1,isVoid:u=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:a=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(o=>this.closedByChildren[o]=!0),this.isVoid=u,this.closedByParent=n||u,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=a,this.canSelfClose=s??u}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}},Sn,We;function Cr(e){return We||(Sn=new E({canSelfClose:!0}),We=Object.assign(Object.create(null),{base:new E({isVoid:!0}),meta:new E({isVoid:!0}),area:new E({isVoid:!0}),embed:new E({isVoid:!0}),link:new E({isVoid:!0}),img:new E({isVoid:!0}),input:new E({isVoid:!0}),param:new E({isVoid:!0}),hr:new E({isVoid:!0}),br:new E({isVoid:!0}),source:new E({isVoid:!0}),track:new E({isVoid:!0}),wbr:new E({isVoid:!0}),p:new E({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new E({closedByChildren:["tbody","tfoot"]}),tbody:new E({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new E({closedByChildren:["tbody"],closedByParent:!0}),tr:new E({closedByChildren:["tr"],closedByParent:!0}),td:new E({closedByChildren:["td","th"],closedByParent:!0}),th:new E({closedByChildren:["td","th"],closedByParent:!0}),col:new E({isVoid:!0}),svg:new E({implicitNamespacePrefix:"svg"}),foreignObject:new E({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new E({implicitNamespacePrefix:"math"}),li:new E({closedByChildren:["li"],closedByParent:!0}),dt:new E({closedByChildren:["dt","dd"]}),dd:new E({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new E({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new E({closedByChildren:["optgroup"],closedByParent:!0}),option:new E({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new E({ignoreFirstLf:!0}),listing:new E({ignoreFirstLf:!0}),style:new E({contentType:z.RAW_TEXT}),script:new E({contentType:z.RAW_TEXT}),title:new E({contentType:{default:z.ESCAPABLE_RAW_TEXT,svg:z.PARSABLE_DATA}}),textarea:new E({contentType:z.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new Ko().allKnownElementNames().forEach(t=>{!We[t]&>(t)===null&&(We[t]=new E({canSelfClose:!1}))})),We[e]??Sn}var ut=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},Yo=class extends ut{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)}},Xo=class extends ut{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)}},Qo=class extends ut{constructor(e,t,r,n,u,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=u}visit(e,t){return e.visitExpansion(this,t)}},Zo=class{constructor(e,t,r,n,u){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=u}visit(e,t){return e.visitExpansionCase(this,t)}},el=class extends ut{constructor(e,t,r,n,u,i,a){super(r,a),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=u,this.valueTokens=i,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},oe=class extends ut{constructor(e,t,r,n,u,i=null,a=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=u,this.endSourceSpan=i,this.nameSpan=a,this.type="element"}visit(e,t){return e.visitElement(this,t)}},tl=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},rl=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},Be=class{constructor(e,t,r,n,u,i=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=u,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},An=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)}};function Ju(e,t,r=null){let n=[],u=e.visit?i=>e.visit(i,r)||i.visit(e,r):i=>i.visit(e,r);return t.forEach(i=>{let a=u(i);a&&n.push(a)}),n}var nl=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){}visitChildren(e,t){let r=[],n=this;function u(i){i&&r.push(Ju(n,i,e))}return t(u),Array.prototype.concat.apply([],r)}},At={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:"‌"},ul="";At.ngsp=ul;var il=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function al(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];il.forEach(u=>{if(u.test(r)||u.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var sl=class Yu{static fromArray(t){return t?(al("interpolation",t),new Yu(t[0],t[1])):Xu}constructor(t,r){this.start=t,this.end=r}},Xu=new sl("{{","}}"),ir=class extends Ou{constructor(e,t,r){super(r,e),this.tokenType=t}},ol=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function ll(e,t,r,n={}){let u=new hl(new Iu(e,t),r,n);return u.tokenize(),new ol(Cl(u.tokens),u.errors,u.nonNormalizedIcuExpressions)}var cl=/\r\n?/g;function xe(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function kn(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function pl(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var kt;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(kt||(kt={}));var ar=class{constructor(e){this.error=e}},hl=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||Xu,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(u=>u.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 Fl(e,n):new Qu(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0;try{this._cursor.init()}catch(u){this.handleError(u)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(cl,` -`)}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._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(30),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>jr(r)?!e:xn(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(_),this._attemptCharCode(41))this._attemptCharCodeUntilFn(_);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(Tn);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&&Dn(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(Tn)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(ml(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 ir("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 ir("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 ir(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new ar(r)}handleError(e){if(e instanceof Jr&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ar)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return gl(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(xe(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&&!dl(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(_n,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,u=[];try{if(!$r(this._cursor.peek()))throw this._createError(xe(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(_);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[a,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(_),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(_);let o=this._consumeAttributeValue();u.push({prefix:a,name:s,value:o})}else u.push({prefix:a,name:s});this._attemptCharCodeUntilFn(_)}this._consumeTagOpenEnd()}catch(a){if(a instanceof ar){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw a}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let i=this._getTagContentType(t,r,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(r,t),i===z.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):i===z.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(_),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(_),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(xe(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=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=()=>_n(this._cursor.peek());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(_),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(_),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(_),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(_)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(_),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let u=[];for(;!r();){let a=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(u.join(""))],a),u.length=0,this._consumeInterpolation(t,a,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(u.join(""))]),u.length=0,this._consumeEntity(e),this._beginToken(e)):u.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(u.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let u=this._cursor.clone(),i=null,a=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(u,s)),this._endToken(n);return}if(i===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(u,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(a=!0);let o=this._cursor.peek();this._cursor.advance(),o===92?this._cursor.advance():o===i?i=null:!a&&i===null&&Dn(o)&&(i=o)}n.push(this._getProcessedChars(u,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()===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(),xn(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=St(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=St(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function _(e){return!jr(e)||e===0}function _n(e){return jr(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function dl(e){return(e<97||12257)}function Dl(e){return e===59||e===0||!hs(e)}function fl(e){return e===59||e===0||!$r(e)}function ml(e){return e!==125}function gl(e,t){return Bn(e)===Bn(t)}function Bn(e){return e>=97&&e<=122?e-97+65:e}function xn(e){return $r(e)||Nu(e)||e===95}function Tn(e){return e!==59&&_(e)}function Cl(e){let t=[],r;for(let n=0;n0&&r.indexOf(t.peek())!==-1;)n===t&&(t=t.clone()),t.advance();let u=this.locationFromCursor(t),i=this.locationFromCursor(this),a=n!==t?this.locationFromCursor(n):u;return new b(u,i,a)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new Jr('Unexpected character "EOF"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):qu(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new fr(t.file,t.state.offset,t.state.line,t.state.column)}},Fl=class vr extends Qu{constructor(t,r){t instanceof vr?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new vr(this)}getChars(t){let r=t.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;t()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(t()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(dn(t())){let r="",n=0,u=this.clone();for(;dn(t())&&n<3;)u=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=u.internalState}else qu(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),u=parseInt(n,16);if(isNaN(u))throw t.state=t.internalState,new Jr("Invalid hexadecimal escape sequence",t);return u}},Jr=class{constructor(e,t){this.msg=e,this.cursor=t}},R=class Zu extends Ou{static create(t,r,n){return new Zu(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},vl=class{constructor(e,t){this.rootNodes=e,this.errors=t}},yl=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,u){let i=h=>(d,...m)=>h(d.toLowerCase(),...m),a=n?this.getTagDefinition:i(this.getTagDefinition),s=h=>a(h).getContentType(),o=n?u:i(u),l=ll(e,t,u?(h,d,m,g)=>{let F=o(h,d,m,g);return F!==void 0?F:s(h)}:s,r),c=r&&r.canSelfClose||!1,D=r&&r.allowHtmComponentClosingTags||!1,p=new El(l.tokens,a,c,D,n);return p.build(),new vl(p.rootNodes,l.errors.concat(p.errors))}},El=class ei{constructor(t,r,n,u,i){this.tokens=t,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=u,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==30;)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===18?this._consumeDocType(this._advance()):this._advance();for(let t of this._containerStack)t instanceof Be&&this.errors.push(R.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new b(t.sourceSpan.start,u.sourceSpan.end,t.sourceSpan.fullStart),s=new b(r.sourceSpan.start,u.sourceSpan.end,r.sourceSpan.fullStart);return new Zo(t.parts[0],i.rootNodes,a,t.sourceSpan,s)}_collectExpansionExpTokens(t){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(Ln(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ln(n,20))n.pop();else return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===30)return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&r[0]==` -`){let n=this._getClosestParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,u=t.parts[0];if(u.length>0&&u[0]===` -`){let i=this._getContainer();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(u=u.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[u]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),r.push(t),t.type===8?u+=t.parts.join("").replace(/&([^;]+);/g,Nn):t.type===9?u+=t.parts[0]:u+=t.parts.join("");if(u.length>0){let i=t.sourceSpan;this._addToParent(new Yo(u,new b(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let t=this._getContainer();t instanceof oe&&this.getTagDefinition(t.name).isVoid&&this._containerStack.pop()}_consumeStartTag(t){let[r,n]=t.parts,u=[];for(;this._peek.type===14;)u.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(i);this.canSelfClose||h.canSelfClose||gt(i)!==null||h.isVoid||this.errors.push(R.create(i,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let s=this._peek.sourceSpan.fullStart,o=new b(t.sourceSpan.start,s,t.sourceSpan.fullStart),l=new b(t.sourceSpan.start,s,t.sourceSpan.fullStart),c=new b(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),D=new oe(i,u,[],o,l,void 0,c),p=this._getContainer();this._pushContainer(D,p instanceof oe&&this.getTagDefinition(p.name).isClosedByChild(D.name)),a?this._popContainer(i,oe,o):t.type===4&&(this._popContainer(i,oe,null),this.errors.push(R.create(i,o,`Opening tag "${i}" not terminated.`)))}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeEndTag(t){let r=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t.parts[0],t.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(R.create(r,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(r,oe,t.sourceSpan)){let n=`Unexpected closing tag "${r}". 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(R.create(r,t.sourceSpan,n))}}_popContainer(t,r,n){let u=!1;for(let i=this._containerStack.length-1;i>=0;i--){let a=this._containerStack[i];if(gt(a.name)?a.name===t:(t==null||a.name.toLowerCase()===t.toLowerCase())&&a instanceof r)return a.endSourceSpan=n,a.sourceSpan.end=n!==null?n.end:a.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!u;(a instanceof Be||a instanceof oe&&!this.getTagDefinition(a.name).closedByParent)&&(u=!0)}return!1}_consumeAttr(t){let r=St(t.parts[0],t.parts[1]),n=t.sourceSpan.end,u;this._peek.type===15&&(u=this._advance());let i="",a=[],s,o;if(this._peek.type===16)for(s=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let c=this._advance();a.push(c),c.type===17?i+=c.parts.join("").replace(/&([^;]+);/g,Nn):c.type===9?i+=c.parts[0]:i+=c.parts.join(""),o=n=c.sourceSpan.end}this._peek.type===15&&(o=n=this._advance().sourceSpan.end);let l=s&&o&&new b((u==null?void 0:u.sourceSpan.start)??s.start,o,(u==null?void 0:u.sourceSpan.fullStart)??s.fullStart);return new el(r,i,new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,l,a.length>0?a:void 0,void 0)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===28;){let s=this._advance();r.push(new An(s.parts[0],s.sourceSpan))}this._peek.type===26&&this._advance();let n=this._peek.sourceSpan.fullStart,u=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Be(t.parts[0],r,[],u,i);this._pushContainer(a,!1)}_consumeBlockClose(t){this._popContainer(null,Be,t.sourceSpan)||this.errors.push(R.create(null,t.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(t){let r=[];for(;this._peek.type===28;){let s=this._advance();r.push(new An(s.parts[0],s.sourceSpan))}let n=this._peek.sourceSpan.fullStart,u=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Be(t.parts[0],r,[],u,i);this._pushContainer(a,!1),this._popContainer(null,Be,null),this.errors.push(R.create(t.parts[0],u,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let t=this._containerStack.length-1;t>-1;t--)if(this._containerStack[t]instanceof oe)return this._containerStack[t];return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r,n){if(t===""&&(t=this.getTagDefinition(r).implicitNamespacePrefix||"",t===""&&n!=null)){let u=Vt(n.name)[1];this.getTagDefinition(u).preventNamespaceInheritance||(t=gt(n.name))}return St(t,r)}};function Ln(e,t){return e.length>0&&e[e.length-1]===t}function Nn(e,t){return At[t]!==void 0?At[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}var bl=class extends yl{constructor(){super(Cr)}parse(e,t,r,n=!1,u){return super.parse(e,t,r,n,u)}},sr=null,wl=()=>(sr||(sr=new bl),sr);function qn(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:u=!1,getTagContentType:i,tokenizeAngularBlocks:a=!1}=t;return wl().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:a},u,i)}var Sl=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Al(e){let t=e.match(Sl);if(!t)return{content:e};let{startDelimiter:r,language:n,value:u="",endDelimiter:i}=t.groups,a=n.trim()||"yaml";if(r==="+++"&&(a="toml"),a!=="yaml"&&r!==i)return{content:e};let[s]=t;return{frontMatter:{type:"front-matter",lang:a,value:u,startDelimiter:r,endDelimiter:i,raw:s.replace(/\n$/,"")},content:O(!1,s,/[^\n]/g," ")+e.slice(s.length)}}var kl=Al;function _l(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var Bl=_l,xl=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),or=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),dt={attrs:!0,children:!0},Pn=new Set(["parent"]),Tl=class Ue{constructor(t={}){for(let r of new Set([...Pn,...Object.keys(t)]))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in dt&&(r=r.map(n=>this.createChild(n))),!Pn.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in dt){let u=this[n];if(u){let i=Ll(u,a=>a.map(t));r!==u&&(r||(r=new Ue({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in dt||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in dt){let n=this[r];if(n)for(let u=0;u[t.fullName,t.value]))}};function Ll(e,t){let r=e.map(t);return r.some((n,u)=>n!==e[u])?r:e}var Nl=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,t(i,s).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new b(s,o)}]]}})();return{type:"ieConditionalComment",complete:l,children:c,condition:O(!1,u.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new b(e.sourceSpan.start,s),endSourceSpan:new b(o,e.sourceSpan.end)}}function Il(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:O(!1,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function Ol(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Ml(e){if(e.type==="block"){if(e.name=O(!1,e.name.toLowerCase(),/\s+/g," ").trim(),e.type="angularControlFlowBlock",!Hu(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new b(e.parameters[0].sourceSpan.start,Pt(!1,e.parameters,-1).sourceSpan.end)}}}function ti(e,t,r){let{name:n,canSelfClose:u=!0,normalizeTagName:i=!1,normalizeAttributeName:a=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:o=!1,shouldParseAsRawText:l}=t,{rootNodes:c,errors:D}=qn(e,{canSelfClose:u,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:o,getTagContentType:l?(...f)=>l(...f)?z.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0});if(n==="vue"){if(c.some(v=>v.type==="docType"&&v.value==="html"||v.type==="element"&&v.name.toLowerCase()==="html"))return ti(e,ni,r);let f,C=()=>f??(f=qn(e,{canSelfClose:u,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:o})),y=v=>C().rootNodes.find(({startSourceSpan:w})=>w&&w.start.offset===v.startSourceSpan.start.offset)??v;for(let[v,w]of c.entries()){let{endSourceSpan:S,startSourceSpan:x}=w;if(S===null)D=C().errors,c[v]=y(w);else if(Rl(w,r)){let K=C().errors.find(W=>W.span.start.offset>x.start.offset&&W.span.start.offset0&&In(D[0]);let p=f=>{let C=f.name.startsWith(":")?f.name.slice(1).split(":")[0]:null,y=f.nameSpan.toString(),v=C!==null&&y.startsWith(`${C}:`),w=v?y.slice(C.length+1):y;f.name=w,f.namespace=C,f.hasExplicitNamespace=v},h=f=>{switch(f.type){case"element":p(f);for(let C of f.attrs)p(C),C.valueSpan?(C.value=C.valueSpan.toString(),/["']/.test(C.value[0])&&(C.value=C.value.slice(1,-1))):C.value=null;break;case"comment":f.value=f.sourceSpan.toString().slice(4,-3);break;case"text":f.value=f.sourceSpan.toString();break}},d=(f,C)=>{let y=f.toLowerCase();return C(y)?y:f},m=f=>{if(f.type==="element"&&(i&&(!f.namespace||f.namespace===f.tagDefinition.implicitNamespacePrefix||Xe(f))&&(f.name=d(f.name,C=>xl.has(C))),a))for(let C of f.attrs)C.namespace||(C.name=d(C.name,y=>or.has(f.name)&&(or.get("*").has(y)||or.get(f.name).has(y))))},g=f=>{f.sourceSpan&&f.endSourceSpan&&(f.sourceSpan=new b(f.sourceSpan.start,f.endSourceSpan.end))},F=f=>{if(f.type==="element"){let C=Cr(o?f.name:f.name.toLowerCase());!f.namespace||f.namespace===C.implicitNamespacePrefix||Xe(f)?f.tagDefinition=C:f.tagDefinition=Cr("")}};return Ju(new class extends nl{visit(f){h(f),F(f),m(f),g(f)}},c),c}function Rl(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(u=>u.name==="lang"))==null?void 0:r.value;return!n||Ot(t,{language:n})==="html"}function In(e){let{msg:t,span:{start:r,end:n}}=e;throw Bl(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function ri(e,t,r={},n=!0){let{frontMatter:u,content:i}=n?kl(e):{frontMatter:null,content:e},a=new Iu(e,r.filepath),s=new fr(a,0,0,0),o=s.moveBy(e.length),l={type:"root",sourceSpan:new b(s,o),children:ti(i,t,r)};if(u){let p=new fr(a,0,0,0),h=p.moveBy(u.raw.length);u.sourceSpan=new b(p,h),l.children.unshift(u)}let c=new Tl(l),D=(p,h)=>{let{offset:d}=h,m=O(!1,e.slice(0,d),/[^\n\r]/g," "),g=ri(m+p,t,r,!1);g.sourceSpan=new b(h,Pt(!1,g.children,-1).sourceSpan.end);let F=g.children[0];return F.length===d?g.children.shift():(F.sourceSpan=new b(F.sourceSpan.start.moveBy(d),F.sourceSpan.end),F.value=F.value.slice(d)),g};return c.walk(p=>{if(p.type==="comment"){let h=ql(p,D);h&&p.parent.replaceChild(p,h)}Ml(p)}),c}function Ut(e){return{parse:(t,r)=>ri(t,e,r),hasPragma:Bs,astFormat:"html",locStart:Rt,locEnd:Ht}}var ni={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},Hl=Ut(ni),jl=Ut({name:"angular"}),$l=Ut({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,r,n){return e.toLowerCase()!=="html"&&!r&&(e!=="template"||n.some(({name:u,value:i})=>u==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),Wl=Ut({name:"lwc",canSelfClose:!1}),Vl=[{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"]}],On={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."}},Mn="HTML",Ul={bracketSameLine:On.bracketSameLine,htmlWhitespaceSensitivity:{category:Mn,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:On.singleAttributePerLine,vueIndentScriptAndStyle:{category:Mn,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},zl=Ul,Gl={html:Ho},Kl=du,Jl=Object.create,zt=Object.defineProperty,Yl=Object.getOwnPropertyDescriptor,Xl=Object.getOwnPropertyNames,Ql=Object.getPrototypeOf,Zl=Object.prototype.hasOwnProperty,ec=(e,t)=>()=>(e&&(t=e(e=0)),t),Gt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kt=(e,t)=>{for(var r in t)zt(e,r,{get:t[r],enumerable:!0})},ui=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of Xl(t))!Zl.call(e,u)&&u!==r&&zt(e,u,{get:()=>t[u],enumerable:!(n=Yl(t,u))||n.enumerable});return e},it=(e,t,r)=>(r=e!=null?Jl(Ql(e)):{},ui(t||!e||!e.__esModule?zt(r,"default",{value:e,enumerable:!0}):r,e)),tc=e=>ui(zt({},"__esModule",{value:!0}),e),rc=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},Rn=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Ve=(e,t,r)=>(rc(e,t,"access private method"),r),nc=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}t.prototype={diff:function(u,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=a.callback;typeof a=="function"&&(s=a,a={}),this.options=a;var o=this;function l(f){return s?(setTimeout(function(){s(void 0,f)},0),!0):f}u=this.castInput(u),i=this.castInput(i),u=this.removeEmpty(this.tokenize(u)),i=this.removeEmpty(this.tokenize(i));var c=i.length,D=u.length,p=1,h=c+D;a.maxEditLength&&(h=Math.min(h,a.maxEditLength));var d=[{newPos:-1,components:[]}],m=this.extractCommon(d[0],i,u,0);if(d[0].newPos+1>=c&&m+1>=D)return l([{value:this.join(i),count:i.length}]);function g(){for(var f=-1*p;f<=p;f+=2){var C=void 0,y=d[f-1],v=d[f+1],w=(v?v.newPos:0)-f;y&&(d[f-1]=void 0);var S=y&&y.newPos+1=c&&w+1>=D)return l(r(o,C.components,i,u,o.useLongestToken));d[f]=C}p++}if(s)(function f(){setTimeout(function(){if(p>h)return s();g()||f()},0)})();else for(;p<=h;){var F=g();if(F)return F}},pushComponent:function(u,i,a){var s=u[u.length-1];s&&s.added===i&&s.removed===a?u[u.length-1]={count:s.count+1,added:i,removed:a}:u.push({count:1,added:i,removed:a})},extractCommon:function(u,i,a,s){for(var o=i.length,l=a.length,c=u.newPos,D=c-s,p=0;c+1F.length?C:F}),h.value=u.join(m)}else h.value=u.join(a.slice(D,D+h.count));D+=h.count,h.added||(p+=h.count)}}var g=i[c-1];return c>1&&typeof g.value=="string"&&(g.added||g.removed)&&u.equals("",g.value)&&(i[c-2].value+=g.value,i.pop()),i}function n(u){return{newPos:u.newPos,components:u.components.slice(0)}}}),uc=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=u,e.arrayDiff=void 0;var t=r(nc());function r(i){return i&&i.__esModule?i:{default:i}}var n=new t.default;e.arrayDiff=n,n.tokenize=function(i){return i.slice()},n.join=n.removeEmpty=function(i){return i};function u(i,a,s){return n.diff(i,a,s)}}),Jt=Gt((e,t)=>{var r=new Proxy(String,{get:()=>r});t.exports=r}),ii={};Kt(ii,{default:()=>si,shouldHighlight:()=>ai});var ai,si,ic=ec(()=>{ai=()=>!1,si=String}),ac=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=D,e.default=p;var t=(ic(),tc(ii)),r=u(Jt(),!0);function n(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(n=function(g){return g?m:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(d);if(m&&m.has(h))return m.get(h);var g={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in h)if(f!=="default"&&Object.prototype.hasOwnProperty.call(h,f)){var C=F?Object.getOwnPropertyDescriptor(h,f):null;C&&(C.get||C.set)?Object.defineProperty(g,f,C):g[f]=h[f]}return g.default=h,m&&m.set(h,g),g}var i;function a(h){return h?(i!=null||(i=new r.default.constructor({enabled:!0,level:1})),i):r.default}var s=!1;function o(h){return{gutter:h.grey,marker:h.red.bold,message:h.red.bold}}var l=/\r\n|[\n\r\u2028\u2029]/;function c(h,d,m){let g=Object.assign({column:0,line:-1},h.start),F=Object.assign({},g,h.end),{linesAbove:f=2,linesBelow:C=3}=m||{},y=g.line,v=g.column,w=F.line,S=F.column,x=Math.max(y-(f+1),0),K=Math.min(d.length,w+C);y===-1&&(x=0),w===-1&&(K=d.length);let W=w-y,T={};if(W)for(let V=0;V<=W;V++){let J=V+y;if(!v)T[J]=!0;else if(V===0){let fe=d[J-1].length;T[J]=[v,fe-v+1]}else if(V===W)T[J]=[0,S];else{let fe=d[J-V].length;T[J]=[0,fe]}}else v===S?v?T[y]=[v,0]:T[y]=!0:T[y]=[v,S-v];return{start:x,end:K,markerLines:T}}function D(h,d,m={}){let g=(m.highlightCode||m.forceColor)&&(0,t.shouldHighlight)(m),F=a(m.forceColor),f=o(F),C=(T,V)=>g?T(V):V,y=h.split(l),{start:v,end:w,markerLines:S}=c(d,y,m),x=d.start&&typeof d.start.column=="number",K=String(w).length,W=(g?(0,t.default)(h,m):h).split(l,w).slice(v,w).map((T,V)=>{let J=v+1+V,fe=` ${` ${J}`.slice(-K)} |`,ot=S[J],Ji=!S[J+1];if(ot){let rr="";if(Array.isArray(ot)){let Yi=T.slice(0,Math.max(ot[0]-1,0)).replace(/[^\t]/g," "),Xi=ot[1]||1;rr=[` - `,C(f.gutter,fe.replace(/\d/g," "))," ",Yi,C(f.marker,"^").repeat(Xi)].join(""),Ji&&m.message&&(rr+=" "+C(f.message,m.message))}return[C(f.marker,">"),C(f.gutter,fe),T.length>0?` ${T}`:"",rr].join("")}else return` ${C(f.gutter,fe)}${T.length>0?` ${T}`:""}`}).join(` -`);return m.message&&!x&&(W=`${" ".repeat(K+1)}${m.message} -${W}`),g?F.reset(W):W}function p(h,d,m,g={}){if(!s){s=!0;let F="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let f=new Error(F);f.name="DeprecationWarning",console.warn(new Error(F))}}return m=Math.max(m,0),D(h,{start:{column:m,line:d}},g)}}),oi={};Kt(oi,{__debug:()=>rh,check:()=>eh,doc:()=>zi,format:()=>Ki,formatWithCursor:()=>Gi,getSupportInfo:()=>th,util:()=>Ui,version:()=>Z2});var sc=(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)},Yt=sc,oc=it(uc(),1),Se="string",pe="array",Ae="cursor",te="indent",re="align",ne="trim",P="group",j="fill",M="if-break",ue="indent-if-break",ie="line-suffix",ae="line-suffix-boundary",B="line",Q="label",$="break-parent",li=new Set([Ae,te,re,ne,P,j,M,ue,ie,ae,B,Q,$]);function lc(e){if(typeof e=="string")return Se;if(Array.isArray(e))return pe;if(!e)return;let{type:t}=e;if(li.has(t))return t}var ke=lc,cc=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function pc(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(ke(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=cc([...li].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}var hc=class extends Error{constructor(t){super(pc(t));_e(this,"name","InvalidDocError");this.doc=t}},Ie=hc,Hn={};function dc(e,t,r,n){let u=[e];for(;u.length>0;){let i=u.pop();if(i===Hn){r(u.pop());continue}r&&u.push(i,Hn);let a=ke(i);if(!a)throw new Ie(i);if((t==null?void 0:t(i))!==!1)switch(a){case pe:case j:{let s=a===pe?i:i.parts;for(let o=s.length,l=o-1;l>=0;--l)u.push(s[l]);break}case M:u.push(i.flatContents,i.breakContents);break;case P:if(n&&i.expandedStates)for(let s=i.expandedStates.length,o=s-1;o>=0;--o)u.push(i.expandedStates[o]);else u.push(i.contents);break;case re:case te:case ue:case Q:case ie:u.push(i.contents);break;case Se:case Ae:case ne:case ae:case B:case $:break;default:throw new Ie(i)}}}var Yr=dc,Dc=()=>{},fc=Dc;function _t(e){return{type:te,contents:e}}function Oe(e,t){return{type:re,contents:t,n:e}}function ci(e,t={}){return fc(t.expandedStates),{type:P,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function mc(e){return Oe(Number.NEGATIVE_INFINITY,e)}function gc(e){return Oe({type:"root"},e)}function Cc(e){return Oe(-1,e)}function Fc(e,t){return ci(e[0],{...t,expandedStates:e})}function pi(e){return{type:j,parts:e}}function vc(e,t="",r={}){return{type:M,breakContents:e,flatContents:t,groupId:r.groupId}}function yc(e,t){return{type:ue,contents:e,groupId:t.groupId,negate:t.negate}}function yr(e){return{type:ie,contents:e}}var Ec={type:ae},Xt={type:$},bc={type:ne},Xr={type:B,hard:!0},hi={type:B,hard:!0,literal:!0},di={type:B},wc={type:B,soft:!0},Ce=[Xr,Xt],Di=[hi,Xt],Er={type:Ae};function fi(e,t){let r=[];for(let n=0;n0){for(let u=0;u{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},k=Ac;function kc(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function Qr(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function gi(e,t){let r;switch(t){case` -`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r -`:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function _c(e){return Yt(!1,e,/\r\n?/g,` -`)}var Bc=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function xc(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Tc(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}var Lc=e=>!(xc(e)||Tc(e)),Nc=/[^\x20-\x7F]/;function qc(e){if(!e)return 0;if(!Nc.test(e))return e.length;e=e.replace(Bc()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Lc(n)?1:2)}return t}var Zr=qc,Pc=e=>{if(Array.isArray(e))return e;if(e.type!==j)throw new Error(`Expect doc to be 'array' or '${j}'.`);return e.parts};function Qt(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(ke(i)){case pe:return t(i.map(n));case j:return t({...i,parts:i.parts.map(n)});case M:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case P:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case re:case te:case ue:case Q:case ie:return t({...i,contents:n(i.contents)});case Se:case Ae:case ne:case ae:case B:case $:return t(i);default:throw new Ie(i)}}}function en(e,t,r){let n=r,u=!1;function i(a){if(u)return!1;let s=t(a);s!==void 0&&(u=!0,n=s)}return Yr(e,i),n}function Ic(e){if(e.type===P&&e.break||e.type===B&&e.hard||e.type===$)return!0}function Oc(e){return en(e,Ic,!1)}function jn(e){if(e.length>0){let t=k(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Mc(e){let t=new Set,r=[];function n(i){if(i.type===$&&jn(r),i.type===P){if(r.push(i),t.has(i))return!1;t.add(i)}}function u(i){i.type===P&&r.pop().break&&jn(r)}Yr(e,n,u,!0)}function Rc(e){return e.type===B&&!e.hard?e.soft?"":" ":e.type===M?e.flatContents:e}function Hc(e){return Qt(e,Rc)}function $n(e){for(e=[...e];e.length>=2&&k(!1,e,-2).type===B&&k(!1,e,-1).type===$;)e.length-=2;if(e.length>0){let t=Ke(k(!1,e,-1));e[e.length-1]=t}return e}function Ke(e){switch(ke(e)){case re:case te:case ue:case P:case ie:case Q:{let t=Ke(e.contents);return{...e,contents:t}}case M:return{...e,breakContents:Ke(e.breakContents),flatContents:Ke(e.flatContents)};case j:return{...e,parts:$n(e.parts)};case pe:return $n(e);case Se:return e.replace(/[\n\r]*$/,"");case Ae:case ne:case ae:case B:case $:break;default:throw new Ie(e)}return e}function Ci(e){return Ke($c(e))}function jc(e){switch(ke(e)){case j:if(e.parts.every(t=>t===""))return"";break;case P:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===P&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case re:case te:case ue:case ie:if(!e.contents)return"";break;case M:if(!e.flatContents&&!e.breakContents)return"";break;case pe:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof k(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Se:case Ae:case ne:case ae:case B:case Q:case $:break;default:throw new Ie(e)}return e}function $c(e){return Qt(e,t=>jc(t))}function Wc(e,t=Di){return Qt(e,r=>typeof r=="string"?fi(t,r.split(` -`)):r)}function Vc(e){if(e.type===B)return!0}function Uc(e){return en(e,Vc,!1)}function Fi(e,t){return e.type===Q?{...e,contents:t(e.contents)}:t(e)}var N=Symbol("MODE_BREAK"),Y=Symbol("MODE_FLAT"),Je=Symbol("cursor");function vi(){return{value:"",length:0,queue:[]}}function zc(e,t){return br(e,{type:"indent"},t)}function Gc(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||vi():t<0?br(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:br(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function br(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],u="",i=0,a=0,s=0;for(let d of n)switch(d.type){case"indent":c(),r.useTabs?o(1):l(r.tabWidth);break;case"stringAlign":c(),u+=d.n,i+=d.n.length;break;case"numberAlign":a+=1,s+=d.n;break;default:throw new Error(`Unexpected type '${d.type}'`)}return p(),{...e,value:u,length:i,queue:n};function o(d){u+=" ".repeat(d),i+=r.tabWidth*d}function l(d){u+=" ".repeat(d),i+=d}function c(){r.useTabs?D():p()}function D(){a>0&&o(a),h()}function p(){s>0&&l(s),h()}function h(){a=0,s=0}}function wr(e){let t=0,r=0,n=e.length;e:for(;n--;){let u=e[n];if(u===Je){r++;continue}for(let i=u.length-1;i>=0;i--){let a=u[i];if(a===" "||a===" ")t++;else{e[n]=u.slice(0,i+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Je);return t}function Dt(e,t,r,n,u,i){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;r>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:c}=s.pop();switch(ke(c)){case Se:o.push(c),r-=Zr(c);break;case pe:case j:{let D=Pc(c);for(let p=D.length-1;p>=0;p--)s.push({mode:l,doc:D[p]});break}case te:case re:case ue:case Q:s.push({mode:l,doc:c.contents});break;case ne:r+=wr(o);break;case P:{if(i&&c.break)return!1;let D=c.break?N:l,p=c.expandedStates&&D===N?k(!1,c.expandedStates,-1):c.contents;s.push({mode:D,doc:p});break}case M:{let D=(c.groupId?u[c.groupId]||Y:l)===N?c.breakContents:c.flatContents;D&&s.push({mode:l,doc:D});break}case B:if(l===N||c.hard)return!0;c.soft||(o.push(" "),r--);break;case ie:n=!0;break;case ae:if(n)return!1;break}}return!1}function Zt(e,t){let r={},n=t.printWidth,u=Qr(t.endOfLine),i=0,a=[{ind:vi(),mode:N,doc:e}],s=[],o=!1,l=[],c=0;for(Mc(e);a.length>0;){let{ind:p,mode:h,doc:d}=a.pop();switch(ke(d)){case Se:{let m=u!==` -`?Yt(!1,d,` -`,u):d;s.push(m),a.length>0&&(i+=Zr(m));break}case pe:for(let m=d.length-1;m>=0;m--)a.push({ind:p,mode:h,doc:d[m]});break;case Ae:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Je),c++;break;case te:a.push({ind:zc(p,t),mode:h,doc:d.contents});break;case re:a.push({ind:Gc(p,d.n,t),mode:h,doc:d.contents});break;case ne:i-=wr(s);break;case P:switch(h){case Y:if(!o){a.push({ind:p,mode:d.break?N:Y,doc:d.contents});break}case N:{o=!1;let m={ind:p,mode:Y,doc:d.contents},g=n-i,F=l.length>0;if(!d.break&&Dt(m,a,g,F,r))a.push(m);else if(d.expandedStates){let f=k(!1,d.expandedStates,-1);if(d.break){a.push({ind:p,mode:N,doc:f});break}else for(let C=1;C=d.expandedStates.length){a.push({ind:p,mode:N,doc:f});break}else{let y=d.expandedStates[C],v={ind:p,mode:Y,doc:y};if(Dt(v,a,g,F,r)){a.push(v);break}}}else a.push({ind:p,mode:N,doc:d.contents});break}}d.id&&(r[d.id]=k(!1,a,-1).mode);break;case j:{let m=n-i,{parts:g}=d;if(g.length===0)break;let[F,f]=g,C={ind:p,mode:Y,doc:F},y={ind:p,mode:N,doc:F},v=Dt(C,[],m,l.length>0,r,!0);if(g.length===1){v?a.push(C):a.push(y);break}let w={ind:p,mode:Y,doc:f},S={ind:p,mode:N,doc:f};if(g.length===2){v?a.push(w,C):a.push(S,y);break}g.splice(0,2);let x={ind:p,mode:h,doc:pi(g)},K=g[0];Dt({ind:p,mode:Y,doc:[F,f,K]},[],m,l.length>0,r,!0)?a.push(x,w,C):v?a.push(x,S,C):a.push(x,S,y);break}case M:case ue:{let m=d.groupId?r[d.groupId]:h;if(m===N){let g=d.type===M?d.breakContents:d.negate?d.contents:_t(d.contents);g&&a.push({ind:p,mode:h,doc:g})}if(m===Y){let g=d.type===M?d.flatContents:d.negate?_t(d.contents):d.contents;g&&a.push({ind:p,mode:h,doc:g})}break}case ie:l.push({ind:p,mode:h,doc:d.contents});break;case ae:l.length>0&&a.push({ind:p,mode:h,doc:Xr});break;case B:switch(h){case Y:if(d.hard)o=!0;else{d.soft||(s.push(" "),i+=1);break}case N:if(l.length>0){a.push({ind:p,mode:h,doc:d},...l.reverse()),l.length=0;break}d.literal?p.root?(s.push(u,p.root.value),i=p.root.length):(s.push(u),i=0):(i-=wr(s),s.push(u+p.value),i=p.length);break}break;case Q:a.push({ind:p,mode:h,doc:d.contents});break;case $:break;default:throw new Ie(d)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let D=s.indexOf(Je);if(D!==-1){let p=s.indexOf(Je,D+1),h=s.slice(0,D).join(""),d=s.slice(D+1,p).join(""),m=s.slice(p+1).join("");return{formatted:h+d+m,cursorNodeStart:h.length,cursorNodeText:d}}return{formatted:s.join("")}}function Z(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let n of e)if(Array.isArray(n))r.push(...Z(n));else{let u=Z(n);u!==""&&r.push(u)}return r}return e.type===M?{...e,breakContents:Z(e.breakContents),flatContents:Z(e.flatContents)}:e.type===P?{...e,contents:Z(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(Z)}:e.type===j?{type:"fill",parts:e.parts.map(Z)}:e.contents?{...e,contents:Z(e.contents)}:e}function Kc(e){let t=Object.create(null),r=new Set;return n(Z(e));function n(i,a,s){var o,l;if(typeof i=="string")return JSON.stringify(i);if(Array.isArray(i)){let c=i.map(n).filter(Boolean);return c.length===1?c[0]:`[${c.join(", ")}]`}if(i.type===B){let c=((o=s==null?void 0:s[a+1])==null?void 0:o.type)===$;return i.literal?c?"literalline":"literallineWithoutBreakParent":i.hard?c?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type===$)return((l=s==null?void 0:s[a-1])==null?void 0:l.type)===B&&s[a-1].hard?void 0:"breakParent";if(i.type===ne)return"trim";if(i.type===te)return"indent("+n(i.contents)+")";if(i.type===re)return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(i.contents)+")":i.n<0?"dedent("+n(i.contents)+")":i.n.type==="root"?"markAsRoot("+n(i.contents)+")":"align("+JSON.stringify(i.n)+", "+n(i.contents)+")";if(i.type===M)return"ifBreak("+n(i.breakContents)+(i.flatContents?", "+n(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+`, { groupId: ${u(i.groupId)} }`:"")+")";if(i.type===ue){let c=[];i.negate&&c.push("negate: true"),i.groupId&&c.push(`groupId: ${u(i.groupId)}`);let D=c.length>0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${n(i.contents)}${D})`}if(i.type===P){let c=[];i.break&&i.break!=="propagated"&&c.push("shouldBreak: true"),i.id&&c.push(`id: ${u(i.id)}`);let D=c.length>0?`, { ${c.join(", ")} }`:"";return i.expandedStates?`conditionalGroup([${i.expandedStates.map(p=>n(p)).join(",")}]${D})`:`group(${n(i.contents)}${D})`}if(i.type===j)return`fill([${i.parts.map(c=>n(c)).join(", ")}])`;if(i.type===ie)return"lineSuffix("+n(i.contents)+")";if(i.type===ae)return"lineSuffixBoundary";if(i.type===Q)return`label(${JSON.stringify(i.label)}, ${n(i.contents)})`;throw new Error("Unknown doc type "+i.type)}function u(i){if(typeof i!="symbol")return JSON.stringify(String(i));if(i in t)return t[i];let a=i.description||"symbol";for(let s=0;;s++){let o=a+(s>0?` #${s}`:"");if(!r.has(o))return r.add(o),t[i]=`Symbol.for(${JSON.stringify(o)})`}}}function Jc(e,t,r=0){let n=0;for(let u=r;utypeof e=="string"||typeof e=="function",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:"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:e=>typeof e=="string"||typeof e=="object",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."}]}};function Ei({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(u=>u.languages??[]),n=[];for(let u of Qc(Object.assign({},...e.map(({options:i})=>i),Yc)))!t&&u.deprecated||(Array.isArray(u.choices)&&(t||(u.choices=u.choices.filter(i=>!i.deprecated)),u.name==="parser"&&(u.choices=[...u.choices,...Xc(u.choices,r,e)])),u.pluginDefaults=Object.fromEntries(e.filter(i=>{var a;return((a=i.defaultOptions)==null?void 0:a[u.name])!==void 0}).map(i=>[i.name,i.defaultOptions[u.name]])),n.push(u));return{languages:r,options:n}}function*Xc(e,t,r){let n=new Set(e.map(u=>u.value));for(let u of t)if(u.parsers){for(let i of u.parsers)if(!n.has(i)){n.add(i);let a=r.find(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,i)),s=u.name;a!=null&&a.name&&(s+=` (plugin: ${a.name})`),yield{value:i,description:s}}}}function Qc(e){let t=[];for(let[r,n]of Object.entries(e)){let u={name:r,...n};Array.isArray(u.default)&&(u.default=k(!1,u.default,-1).value),t.push(u)}return t}var Zc=e=>String(e).split(/[/\\]/).pop();function Vn(e,t){if(!t)return;let r=Zc(t).toLowerCase();return e.find(n=>{var u,i;return((u=n.extensions)==null?void 0:u.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function ep(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 tp(e,t){let r=e.plugins.flatMap(u=>u.languages??[]),n=ep(r,t.language)??Vn(r,t.physicalFile)??Vn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var rp=tp,Te={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Te.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Te.key(r)}: ${Te.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>Te.value({[e]:t})},Un=it(Jt(),1),np=(e,t,{descriptor:r})=>{let n=[`${Un.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${Un.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},Le=it(Jt(),1),bi=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ft=Symbol.for("vnopts.VALUE_UNCHANGED"),zn=" ".repeat(2),up=(e,t,r)=>{let{text:n,list:u}=r.normalizeExpectedResult(r.schemas[e].expected(r)),i=[];return n&&i.push(Gn(e,t,n,r.descriptor)),u&&i.push([Gn(e,t,u.title,r.descriptor)].concat(u.values.map(a=>wi(a,r.loggerPrintWidth))).join(` -`)),Si(i,r.loggerPrintWidth)};function Gn(e,t,r,n){return[`Invalid ${Le.default.red(n.key(e))} value.`,`Expected ${Le.default.blue(r)},`,`but received ${t===bi?Le.default.gray("nothing"):Le.default.red(n.value(t))}.`].join(" ")}function wi({text:e,list:t},r){let n=[];return e&&n.push(`- ${Le.default.blue(e)}`),t&&n.push([`- ${Le.default.blue(t.title)}:`].concat(t.values.map(u=>wi(u,r-zn.length).replace(/^|\n/g,`$&${zn}`))).join(` -`)),Si(n,r)}function Si(e,t){if(e.length===1)return e[0];let[r,n]=e,[u,i]=e.map(a=>a.split(` -`,1)[0].length);return u>t&&u>i?n:r}var Kn=it(Jt(),1),lr=[],Jn=[];function ip(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,u=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-u);)n--,u--;let i=0;for(;is?l>s?s+1:l:l>o?o+1:l;return s}var Ai=(e,t,{descriptor:r,logger:n,schemas:u})=>{let i=[`Ignored unknown option ${Kn.default.yellow(r.pair({key:e,value:t}))}.`],a=Object.keys(u).sort().find(s=>ip(e,s)<3);a&&i.push(`Did you mean ${Kn.default.blue(r.key(a))}?`),n.warn(i.join(" "))},ap=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function sp(e,t){let r=new e(t),n=Object.create(r);for(let u of ap)u in t&&(n[u]=op(t[u],r,De.prototype[u].length));return n}var De=class{static create(e){return sp(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 Ft}};function op(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}var lp=class extends De{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}},cp=class extends De{expected(){return"anything"}validate(){return!0}},pp=class extends De{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 u=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);u!==!0&&r.push(u.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let u=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);u!==!1&&r.push(...u.map(({value:i})=>({value:[i]})))}return r}forward(e,t){let r=[];for(let n of e){let u=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...u.map(Yn))}return r}redirect(e,t){let r=[],n=[];for(let u of e){let i=t.normalizeRedirectResult(this._valueSchema.redirect(u,t),u);"remain"in i&&r.push(i.remain),n.push(...i.redirect.map(Yn))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function Yn({from:e,to:t}){return{from:[e],to:t}}var hp=class extends De{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function dp(e,t){let r=Object.create(null);for(let n of e){let u=n[t];if(r[u])throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r[u]=n}return r}function Dp(e,t){let r=new Map;for(let n of e){let u=n[t];if(r.has(u))throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r.set(u,n)}return r}function fp(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function mp(e,t){let r=[],n=[];for(let u of e)t(u)?r.push(u):n.push(u);return[r,n]}function gp(e){return e===Math.floor(e)}function Cp(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,u=["undefined","object","boolean","number","string"];return r!==n?u.indexOf(r)-u.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Fp(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Xn(e){return e===void 0?{}:e}function ki(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return vp((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(ki)}}:{text:t}}function Qn(e,t){return e===!0?!0:e===!1?{value:t}:e}function Zn(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function eu(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 Sr(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>eu(r,t)):[eu(e,t)]}function tu(e,t){let r=Sr(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 vp(e,t){if(!e)throw new Error(t)}var yp=class extends De{constructor(e){super(e),this._choices=Dp(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(u=>this._choices.get(u)).filter(({hidden:u})=>!u).map(u=>u.value).sort(Cp).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}},Ep=class extends De{expected(){return"a number"}validate(e,t){return typeof e=="number"}},bp=class extends Ep{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&gp(e)}},ru=class extends De{expected(){return"a string"}validate(e){return typeof e=="string"}},wp=Te,Sp=Ai,Ap=up,kp=np,_p=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:u=wp,unknown:i=Sp,invalid:a=Ap,deprecated:s=kp,missing:o=()=>!1,required:l=()=>!1,preprocess:c=p=>p,postprocess:D=()=>Ft}=t||{};this._utils={descriptor:u,logger:r||{warn:()=>{}},loggerPrintWidth:n,schemas:dp(e,"name"),normalizeDefaultResult:Xn,normalizeExpectedResult:ki,normalizeDeprecatedResult:Zn,normalizeForwardResult:Sr,normalizeRedirectResult:tu,normalizeValidateResult:Qn},this._unknownHandler=i,this._invalidHandler=Fp(a),this._deprecatedHandler=s,this._identifyMissing=(p,h)=>!(p in h)||o(p,h),this._identifyRequired=l,this._preprocess=c,this._postprocess=D,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=fp()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=()=>{for(;r.length!==0;){let u=r.shift(),i=this._applyNormalization(u,t);r.push(...i)}};n();for(let u of Object.keys(this._utils.schemas)){let i=this._utils.schemas[u];if(!(u in t)){let a=Xn(i.default(this._utils));"value"in a&&r.push({[u]:a.value})}}n();for(let u of Object.keys(this._utils.schemas)){if(!(u in t))continue;let i=this._utils.schemas[u],a=t[u],s=i.postprocess(a,this._utils);s!==Ft&&(this._applyValidation(s,u,i),t[u]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:u}=this._partitionOptionKeys(e);for(let i of n){let a=this._utils.schemas[i],s=a.preprocess(e[i],this._utils);this._applyValidation(s,i,a);let o=({from:D,to:p})=>{r.push(typeof p=="string"?{[p]:D}:{[p.key]:p.value})},l=({value:D,redirectTo:p})=>{let h=Zn(a.deprecated(D,this._utils),s,!0);if(h!==!1)if(h===!0)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,p,this._utils));else for(let{value:d}of h){let m={key:i,value:d};if(!this._hasDeprecationWarned(m)){let g=typeof p=="string"?{key:p,value:d}:p;this._utils.logger.warn(this._deprecatedHandler(m,g,this._utils))}}};Sr(a.forward(s,this._utils),s).forEach(o);let c=tu(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let D=c.remain;t[i]=i in t?a.overlap(t[i],D,this._utils):D,l({value:D})}for(let{from:D,to:p}of c.redirect)l({value:D,redirectTo:p})}for(let i of u){let a=e[i];this._applyUnknownHandler(i,a,t,(s,o)=>{r.push({[s]:o})})}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,bi,this._utils)}_partitionOptionKeys(e){let[t,r]=mp(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=Qn(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let u=this._unknownHandler(e,t,this._utils);if(u)for(let i of Object.keys(u)){if(this._identifyMissing(i,u))continue;let a=u[i];i in this._utils.schemas?n(i,a):r[i]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Ft){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 u of r){let i=t.override[u];this._applyValidation(i,u,this._utils.schemas[u]),e[u]=i}for(let u of n){let i=t.override[u];this._applyUnknownHandler(u,i,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},cr;function Bp(e,t,{logger:r=!1,isCLI:n=!1,passThrough:u=!1,FlagSchema:i,descriptor:a}={}){if(n){if(!i)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=Te;let s=u?Array.isArray(u)?(p,h)=>u.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,d)=>{let{_:m,...g}=d.schemas;return Ai(p,h,{...d,schemas:g})},o=xp(t,{isCLI:n,FlagSchema:i}),l=new _p(o,{logger:r,unknown:s,descriptor:a}),c=r!==!1;c&&cr&&(l._hasDeprecationWarned=cr);let D=l.normalize(e);return c&&(cr=l._hasDeprecationWarned),D}function xp(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(cp.create({name:"_"}));for(let u of e)n.push(Tp(u,{isCLI:t,optionInfos:e,FlagSchema:r})),u.alias&&t&&n.push(lp.create({name:u.alias,sourceName:u.name}));return n}function Tp(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:u}=e,i={name:u},a,s={};switch(e.type){case"int":a=bp,t&&(i.preprocess=Number);break;case"string":a=ru;break;case"choice":a=yp,i.choices=e.choices.map(o=>o!=null&&o.redirect?{...o,redirect:{to:{key:e.name,value:o.redirect}}}:o);break;case"boolean":a=hp;break;case"flag":a=n,i.flags=r.flatMap(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&`no-${o.name}`].filter(Boolean));break;case"path":a=ru;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?i.validate=(o,l,c)=>e.exception(o)||l.validate(o,c):i.validate=(o,l,c)=>o===void 0||l.validate(o,c),e.redirect&&(s.redirect=o=>o?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let o=i.preprocess||(l=>l);i.preprocess=(l,c,D)=>c.preprocess(o(Array.isArray(l)?k(!1,l,-1):l),D)}return e.array?pp.create({...t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},...s,valueSchema:a.create(i)}):a.create({...i,...s})}var Lp=Bp;function _i(e,t){if(!t)throw new Error("parserName is required.");for(let n=e.length-1;n>=0;n--){let u=e[n];if(u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,t))return u}let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new yi(r)}function Np(e,t){if(!t)throw new Error("astFormat is required.");for(let n=e.length-1;n>=0;n--){let u=e[n];if(u.printers&&Object.prototype.hasOwnProperty.call(u.printers,t))return u}let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new yi(r)}function Bi({plugins:e,parser:t}){let r=_i(e,t);return xi(r,t)}function xi(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function qp(e,t){let r=e.printers[t];return typeof r=="function"?r():r}var nu={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function Pp(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=rp(n,{physicalFile:n.filepath}),!n.parser)throw new Wn(`No parser could be inferred for file "${n.filepath}".`)}else throw new Wn("No parser and no file path given, couldn't infer a parser.");let u=Ei({plugins:e.plugins,showDeprecated:!0}).options,i={...nu,...Object.fromEntries(u.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},a=_i(n.plugins,n.parser),s=await xi(a,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let o=(r=a.printers)!=null&&r[s.astFormat]?a:Np(n.plugins,s.astFormat),l=await qp(o,s.astFormat);n.printer=l;let c=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,p])=>p!==void 0)):{},D={...i,...c};for(let[p,h]of Object.entries(D))(n[p]===null||n[p]===void 0)&&(n[p]=h);return n.parser==="json"&&(n.trailingComma="none"),Lp(n,u,{passThrough:Object.keys(nu),...t})}var He=Pp,Ti=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Ip=e=>Object.keys(e).filter(t=>!Ti.has(t));function Op(e){return e?t=>e(t,Ti):Ip}var er=Op;function Mp(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let u=er(n),i=r.ignoredProperties??new Set;return a(e);function a(s,o){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(p=>a(p,o)).filter(Boolean);let l={},c=new Set(u(s));for(let p in s)!Object.prototype.hasOwnProperty.call(s,p)||i.has(p)||(c.has(p)?l[p]=a(s[p],s):l[p]=s[p]);let D=r(s,l,o);if(D!==null)return D??l}}var Rp=Mp,Hp=it(ac(),1);async function jp(e,t){let r=await Bi(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let u;try{u=await r.parse(n,t,t)}catch(i){$p(i,e)}return{text:n,ast:u}}function $p(e,t){let{loc:r}=e;if(r){let n=(0,Hp.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}var at=jp,vt,Ar,ze,yt,Wp=class{constructor(e){Rn(this,vt),Rn(this,ze),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return k(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:k(!1,this.stack,-2)}get node(){return k(!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=k(!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[...Ve(this,ze,yt).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?k(!1,e,-2):null}getValue(){return k(!1,this.stack,-1)}getNode(e=0){let t=Ve(this,vt,Ar).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,u=k(!1,r,-1);for(let i of t)u=u[i],r.push(i,u);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Ve(this,vt,Ar).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,u=k(!1,r,-1);for(let i of t)u=u[i],r.push(i,u);try{for(let i=0;i{r[u]=e(n,u,i)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let u of e){if(n===void 0)return!1;let i=null;if(typeof r=="number"&&(i=r,r=this.stack[t--],n=this.stack[t--]),u&&!u(n,r,i))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Ve(this,ze,yt).call(this))if(e(t))return t}hasAncestor(e){for(let t of Ve(this,ze,yt).call(this))if(e(t))return!0;return!1}};vt=new WeakSet,Ar=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},ze=new WeakSet,yt=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}};var Vp=Wp,Li=new Proxy(()=>{},{get:()=>Li}),kr=Li;function st(e){return(t,r,n)=>{let u=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:i}=t,a=r;for(;a>=0&&a0}var Jp=Kp;function Yp(e){return e!==null&&typeof e=="object"}var Xp=Yp;function*Pi(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,u=i=>Xp(i)&&n(i);for(let i of r(e)){let a=e[i];if(Array.isArray(a))for(let s of a)u(s)&&(yield s);else u(a)&&(yield a)}}function*Qp(e,t){let r=[e];for(let n=0;n20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function rn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Zp(e)}function Ne(e,t){t.leading=!0,t.trailing=!1,rn(e,t)}function Et(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),rn(e,t)}function qe(e,t){t.leading=!1,t.trailing=!0,rn(e,t)}var pr=new WeakMap;function nn(e,t){if(pr.has(e))return pr.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:u},locStart:i,locEnd:a}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Pi(e,{getVisitorKeys:er(u)})]).flatMap(o=>n(o)?[o]:nn(o,t));return s.sort((o,l)=>i(o)-i(l)||a(o)-a(l)),pr.set(e,s),s}function Ii(e,t,r,n){let{locStart:u,locEnd:i}=r,a=u(t),s=i(t),o=nn(e,r),l,c,D=0,p=o.length;for(;D>1,d=o[h],m=u(d),g=i(d);if(m<=a&&s<=g)return Ii(d,t,r,d);if(g<=a){l=d,D=h+1;continue}if(s<=m){c=d,p=h;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:h}=n,d=dr(h,t,r);l&&dr(h,l,r)!==d&&(l=null),c&&dr(h,c,r)!==d&&(c=null)}return{enclosingNode:n,precedingNode:l,followingNode:c}}var hr=()=>!1;function e2(e,t){let{comments:r}=e;if(delete e.comments,!Jp(r)||!t.printer.canAttachComment)return;let n=[],{locStart:u,locEnd:i,printer:{experimentalFeatures:{avoidAstMutation:a=!1}={},handleComments:s={}},originalText:o}=t,{ownLine:l=hr,endOfLine:c=hr,remaining:D=hr}=s,p=r.map((h,d)=>({...Ii(e,h,t),comment:h,text:o,options:t,ast:e,isLastComment:r.length-1===d}));for(let[h,d]of p.entries()){let{comment:m,precedingNode:g,enclosingNode:F,followingNode:f,text:C,options:y,ast:v,isLastComment:w}=d;if(y.parser==="json"||y.parser==="json5"||y.parser==="__js_expression"||y.parser==="__ts_expression"||y.parser==="__vue_expression"||y.parser==="__vue_ts_expression"){if(u(m)-u(v)<=0){Ne(v,m);continue}if(i(m)-i(v)>=0){qe(v,m);continue}}let S;if(a?S=[d]:(m.enclosingNode=F,m.precedingNode=g,m.followingNode=f,S=[m,C,y,v,w]),t2(C,y,p,h))m.placement="ownLine",l(...S)||(f?Ne(f,m):g?qe(g,m):Et(F||v,m));else if(r2(C,y,p,h))m.placement="endOfLine",c(...S)||(g?qe(g,m):f?Ne(f,m):Et(F||v,m));else if(m.placement="remaining",!D(...S))if(g&&f){let x=n.length;x>0&&n[x-1].followingNode!==f&&uu(n,y),n.push(d)}else g?qe(g,m):f?Ne(f,m):Et(F||v,m)}if(uu(n,t),!a)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}var Oi=e=>!/[\S\n\u2028\u2029]/.test(e);function t2(e,t,r,n){let{comment:u,precedingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=a(u);if(i)for(let l=n-1;l>=0;l--){let{comment:c,precedingNode:D}=r[l];if(D!==i||!Oi(e.slice(s(c),o)))break;o=a(c)}return le(e,o,{backwards:!0})}function r2(e,t,r,n){let{comment:u,followingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=s(u);if(i)for(let l=n+1;l0;--o){let{comment:l,precedingNode:c,followingNode:D}=e[o-1];kr.strictEqual(c,i),kr.strictEqual(D,a);let p=t.originalText.slice(t.locEnd(l),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/.test(p))s=t.locStart(l);else break}for(let[l,{comment:c}]of e.entries())l1&&l.comments.sort((c,D)=>t.locStart(c)-t.locStart(D));e.length=0}function dr(e,t,r){let n=r.locStart(t)-1;for(let u=1;u!n.has(s)).length===0)return{leading:"",trailing:""};let u=[],i=[],a;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:o,trailing:l}=s;o?u.push(u2(e,t)):l&&(a=i2(e,t,a),i.push(a.doc))},"comments"),{leading:u,trailing:i}}function s2(e,t,r){let{leading:n,trailing:u}=a2(e,r);return!n&&!u?t:Fi(t,i=>[n,i,u])}function o2(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}}async function l2(e,t,r,n,u){let{embeddedLanguageFormatting:i,printer:{embed:a,hasPrettierIgnore:s=()=>!1,getVisitorKeys:o}}=r;if(!a||i!=="auto")return;if(a.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 l=er(a.getVisitorKeys??o),c=[];h();let D=e.stack;for(let{print:d,node:m,pathStack:g}of c)try{e.stack=g;let F=await d(p,t,e,r);F&&u.set(m,F)}catch(F){if(globalThis.PRETTIER_DEBUG)throw F}e.stack=D;function p(d,m){return c2(d,m,r,n)}function h(){let{node:d}=e;if(d===null||typeof d!="object"||s(e))return;for(let g of l(d))Array.isArray(d[g])?e.each(h,g):e.call(h,g);let m=a(e,r);if(m){if(typeof m=="function"){c.push({print:m,node:d,pathStack:[...e.stack]});return}u.set(d,m)}}}async function c2(e,t,r,n){let u=await He({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:i}=await at(e,u),a=await n(i,u);return Ci(a)}function p2(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:u,locEnd:i,[Symbol.for("printedComments")]:a}=t,{node:s}=e,o=u(s),l=i(s);for(let c of n)u(c)>=o&&i(c)<=l&&a.add(c);return r.slice(o,l)}var h2=p2;async function tr(e,t){({ast:e}=await Ri(e,t));let r=new Map,n=new Vp(e),u=new Map;await l2(n,a,t,tr,u);let i=await iu(n,t,a,void 0,u);return o2(t),i;function a(o,l){return o===void 0||o===n?s(l):Array.isArray(o)?n.call(()=>s(l),...o):n.call(()=>s(l),o)}function s(o){let l=n.node;if(l==null)return"";let c=l&&typeof l=="object"&&o===void 0;if(c&&r.has(l))return r.get(l);let D=iu(n,t,a,o,u);return c&&r.set(l,D),D}}function iu(e,t,r,n,u){var i;let{node:a}=e,{printer:s}=t,o;return(i=s.hasPrettierIgnore)!=null&&i.call(s,e)?o=h2(e,t):u.has(a)?o=u.get(a):o=s.print(e,t,r,n),a===t.cursorNode&&(o=Fi(o,l=>[Er,l,Er])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(o=s2(e,o,t)),o}async function Ri(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,e2(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}var d2=({parser:e})=>e==="json"||e==="json5"||e==="json-stringify";function D2(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(u=>Hi.has(u.type)&&n.has(u))}function au(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function f2(e,t,{locStart:r,locEnd:n}){let u=e.node,i=t.node;if(u===i)return{startNode:u,endNode:i};let a=r(e.node);for(let o of au(t.parentNodes))if(r(o)>=a)i=o;else break;let s=n(t.node);for(let o of au(e.parentNodes)){if(n(o)<=s)u=o;else break;if(u===i)break}return{startNode:u,endNode:i}}function _r(e,t,r,n,u=[],i){let{locStart:a,locEnd:s}=r,o=a(e),l=s(e);if(!(t>l||tn);let s=e.slice(n,u).search(/\S/),o=s===-1;if(!o)for(n+=s;u>n&&!/\S/.test(e[u-1]);--u);let l=_r(r,n,t,(h,d)=>su(t,h,d),[],"rangeStart"),c=o?l:_r(r,u,t,h=>su(t,h),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let D,p;if(d2(t)){let h=D2(l,c);D=h,p=h}else({startNode:D,endNode:p}=f2(l,c,t));return{rangeStart:Math.min(i(D),i(p)),rangeEnd:Math.max(a(D),a(p))}}function F2(e,t){let{cursorOffset:r,locStart:n,locEnd:u}=t,i=er(t.printer.getVisitorKeys),a=o=>n(o)<=r&&u(o)>=r,s=e;for(let o of Qp(e,{getVisitorKeys:i,filter:a}))s=o;return s}var v2=F2,ji="\uFEFF",ou=Symbol("cursor");async function $i(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:u}=await at(e,t);t.cursorOffset>=0&&(t.cursorNode=v2(n,t));let i=await tr(n,t);r>0&&(i=mi([Ce,i],r,t.tabWidth));let a=Zt(i,t);if(r>0){let o=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(o)),a.formatted=o+Qr(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let o,l,c,D,p;if(t.cursorNode&&a.cursorNodeText?(o=t.locStart(t.cursorNode),l=u.slice(o,t.locEnd(t.cursorNode)),c=t.cursorOffset-o,D=a.cursorNodeStart,p=a.cursorNodeText):(o=0,l=u,c=t.cursorOffset,D=0,p=a.formatted),l===p)return{formatted:a.formatted,cursorOffset:D+c,comments:s};let h=l.split("");h.splice(c,0,ou);let d=p.split(""),m=(0,oc.diffArrays)(h,d),g=D;for(let F of m)if(F.removed){if(F.value.includes(ou))break}else g+=F.count;return{formatted:a.formatted,cursorOffset:g,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function y2(e,t){let{ast:r,text:n}=await at(e,t),{rangeStart:u,rangeEnd:i}=C2(n,t,r),a=n.slice(u,i),s=Math.min(u,n.lastIndexOf(` -`,u)+1),o=n.slice(s,u).match(/^\s*/)[0],l=tn(o,t.tabWidth),c=await $i(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>u&&t.cursorOffset<=i?t.cursorOffset-u:-1,endOfLine:"lf"},l),D=c.formatted.trimEnd(),{cursorOffset:p}=t;p>i?p+=D.length-a.length:c.cursorOffset>=0&&(p=c.cursorOffset+u);let h=n.slice(0,u)+D+n.slice(i);if(t.endOfLine!=="lf"){let d=Qr(t.endOfLine);p>=0&&d===`\r -`&&(p+=gi(h.slice(0,p),` -`)),h=Yt(!1,h,` -`,d)}return{formatted:h,cursorOffset:p,comments:c.comments}}function Dr(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function lu(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u}=t;return r=Dr(e,r,-1),n=Dr(e,n,0),u=Dr(e,u,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:u}}function Wi(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i}=lu(e,t),a=e.charAt(0)===ji;if(a&&(e=e.slice(1),r--,n--,u--),i==="auto"&&(i=kc(e)),e.includes("\r")){let s=o=>gi(e.slice(0,Math.max(o,0)),`\r -`);r-=s(r),n-=s(n),u-=s(u),e=_c(e)}return{hasBOM:a,text:e,options:lu(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i})}}async function cu(e,t){let r=await Bi(t);return!r.hasPragma||r.hasPragma(e)}async function Vi(e,t){let{hasBOM:r,text:n,options:u}=Wi(e,await He(t));if(u.rangeStart>=u.rangeEnd&&n!==""||u.requirePragma&&!await cu(n,u))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let i;return u.rangeStart>0||u.rangeEnd=0&&i.cursorOffset++),i}async function E2(e,t,r){let{text:n,options:u}=Wi(e,await He(t)),i=await at(n,u);return r&&(r.preprocessForPrint&&(i.ast=await Ri(i.ast,u)),r.massage&&(i.ast=Rp(i.ast,u))),i}async function b2(e,t){t=await He(t);let r=await tr(e,t);return Zt(r,t)}async function w2(e,t){let r=Kc(e),{formatted:n}=await Vi(r,{...t,parser:"__js_expression"});return n}async function S2(e,t){t=await He(t);let{ast:r}=await at(e,t);return tr(r,t)}async function A2(e,t){return Zt(e,await He(t))}var Ui={};Kt(Ui,{addDanglingComment:()=>Et,addLeadingComment:()=>Ne,addTrailingComment:()=>qe,getAlignmentSize:()=>tn,getIndentSize:()=>P2,getMaxContinuousCount:()=>N2,getNextNonSpaceNonCommentCharacter:()=>j2,getNextNonSpaceNonCommentCharacterIndex:()=>U2,getStringWidth:()=>Zr,hasNewline:()=>le,hasNewlineInRange:()=>O2,hasSpaces:()=>R2,isNextLineEmpty:()=>J2,isNextLineEmptyAfterIndex:()=>ln,isPreviousLineEmpty:()=>G2,makeString:()=>W2,skip:()=>st,skipEverythingButNewLine:()=>qi,skipInlineComment:()=>an,skipNewline:()=>Ee,skipSpaces:()=>he,skipToLineEnd:()=>Ni,skipTrailingComment:()=>sn,skipWhitespace:()=>Up});function k2(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,u.length/t.length),0)}var N2=L2;function q2(e,t){let r=e.lastIndexOf(` -`);return r===-1?0:tn(e.slice(r+1).match(/^[\t ]*/)[0],t)}var P2=q2;function I2(e,t,r){for(let n=t;na===n?a:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+u+t}var W2=$2;function V2(e,t,r){return on(e,r(t))}function U2(e,t){return arguments.length===2||typeof t=="number"?on(e,t):V2(...arguments)}function z2(e,t,r){return un(e,r(t))}function G2(e,t){return arguments.length===2||typeof t=="number"?un(e,t):z2(...arguments)}function K2(e,t,r){return ln(e,r(t))}function J2(e,t){return arguments.length===2||typeof t=="number"?ln(e,t):K2(...arguments)}var zi={};Kt(zi,{builders:()=>Y2,printer:()=>X2,utils:()=>Q2});var Y2={join:fi,line:di,softline:wc,hardline:Ce,literalline:Di,group:ci,conditionalGroup:Fc,fill:pi,lineSuffix:yr,lineSuffixBoundary:Ec,cursor:Er,breakParent:Xt,ifBreak:vc,trim:bc,indent:_t,indentIfBreak:yc,align:Oe,addAlignmentToDoc:mi,markAsRoot:gc,dedentToRoot:mc,dedent:Cc,hardlineWithoutBreakParent:Xr,literallineWithoutBreakParent:hi,label:Sc,concat:e=>e},X2={printDocToString:Zt},Q2={willBreak:Oc,traverseDoc:Yr,findInDoc:en,mapDoc:Qt,removeLines:Hc,stripTrailingHardline:Ci,replaceEndOfLine:Wc,canBreak:Uc},Z2="3.1.1";function me(e,t=1){return async(...r)=>{let n=r[t]??{},u=n.plugins??[];return r[t]={...n,plugins:Array.isArray(u)?u:Object.values(u)},e(...r)}}var Gi=me(Vi);async function Ki(e,t){let{formatted:r}=await Gi(e,{...t,cursorOffset:-1});return r}async function eh(e,t){return await Ki(e,t)===e}var th=me(Ei,0),rh={parse:me(E2),formatAST:me(b2),formatDoc:me(w2),printToDoc:me(S2),printDocToString:me(A2)},nh=oi;function uh(e){for(var t=[],r=1;re===!1?t:e==="dedent"||e===!0?uh(t):(await nh.format(t,{parser:e,plugins:[Kl],htmlWhitespaceSensitivity:"ignore"})).trim());export{fh as formatter}; diff --git a/assets/iframe-IJaDOTiX.js b/assets/iframe-IJaDOTiX.js deleted file mode 100644 index e1dadd1..0000000 --- a/assets/iframe-IJaDOTiX.js +++ /dev/null @@ -1,7 +0,0 @@ -import"../sb-preview/runtime.js";(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))m(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&m(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function m(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}})();const E="modulepreload",O=function(i,s){return new URL(i,s).href},d={},t=function(s,n,m){let e=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link");e=Promise.all(n.map(o=>{if(o=O(o,m),o in d)return;d[o]=!0;const c=o.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(!!m)for(let p=r.length-1;p>=0;p--){const u=r[p];if(u.href===o&&(!c||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const _=document.createElement("link");if(_.rel=c?"stylesheet":E,c||(_.as="script",_.crossOrigin=""),_.href=o,document.head.appendChild(_),c)return new Promise((p,u)=>{_.addEventListener("load",p),_.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${o}`)))})}))}return e.then(()=>s()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:x}=__STORYBOOK_MODULE_PREVIEW_API__,a=R({page:"preview"});x.setChannel(a);window.__STORYBOOK_ADDONS_CHANNEL__=a;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=a);const P={"./src/README.mdx":async()=>t(()=>import("./README-ZVkbz3m0.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67]),import.meta.url),"./src/components/AngleInput/index.stories.tsx":async()=>t(()=>import("./index.stories-bgyu_4Kr.js"),__vite__mapDeps([68,1,2,4,5,6,7,8,9,10,11]),import.meta.url),"./src/components/Button/index.stories.tsx":async()=>t(()=>import("./index.stories-6Ve2UXpv.js"),__vite__mapDeps([69,1,2,12,7,13]),import.meta.url),"./src/components/CanvasView/index.stories.tsx":async()=>t(()=>import("./index.stories-LQZ_UuOX.js"),__vite__mapDeps([70,1,2,14,5,15]),import.meta.url),"./src/components/Checkbox/index.stories.tsx":async()=>t(()=>import("./index.stories-k7KQ3bq7.js"),__vite__mapDeps([71,1,2,16,17,72]),import.meta.url),"./src/components/ColorInput/index.stories.tsx":async()=>t(()=>import("./index.stories-Fa0tOmuA.js"),__vite__mapDeps([73,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/ColorLoupe/index.stories.tsx":async()=>t(()=>import("./index.stories-A3QhJlTT.js"),__vite__mapDeps([74,1,2,21,6,7,8,9,10]),import.meta.url),"./src/components/ColorPickerCircle/index.stories.tsx":async()=>t(()=>import("./index.stories-DeD_MJod.js"),__vite__mapDeps([75,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/ColorPickerRect/index.stories.tsx":async()=>t(()=>import("./index.stories-bhqsC0ce.js"),__vite__mapDeps([76,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/ColorSlider/index.stories.tsx":async()=>t(()=>import("./index.stories-GkSRMm03.js"),__vite__mapDeps([77,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/ContextMenu/index.stories.tsx":async()=>t(()=>import("./index.stories-Hge3ti27.js"),__vite__mapDeps([78,1,2,24,25,7,26,27,28,29,30,31,32,33,34,35,79,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,80]),import.meta.url),"./src/components/CubicControls/index.stories.tsx":async()=>t(()=>import("./index.stories-Wbz7DCbG.js"),__vite__mapDeps([81,1,2,20,36,5,6,7,8,9,10,37,38]),import.meta.url),"./src/components/DropdownMenu/index.stories.tsx":async()=>t(()=>import("./index.stories-wdWQDVN3.js"),__vite__mapDeps([82,1,2,39,25,7,26,29,30,31,32,33,34,27,28,12,13]),import.meta.url),"./src/components/FloatBox/index.stories.tsx":async()=>t(()=>import("./index.stories-At8KDf4V.js"),__vite__mapDeps([83,1,2,25,7,26,79,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,80]),import.meta.url),"./src/components/Grid/index.stories.tsx":async()=>t(()=>import("./index.stories-SCzFhyxI.js"),__vite__mapDeps([84,1,2,40,7,41]),import.meta.url),"./src/components/HueCircle/index.stories.tsx":async()=>t(()=>import("./index.stories-Quadfg_t.js"),__vite__mapDeps([85,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/IconButton/index.stories.tsx":async()=>t(()=>import("./index.stories-kyrqgsrM.js"),__vite__mapDeps([86,1,2,42,7,43,72,44]),import.meta.url),"./src/components/Line/index.stories.tsx":async()=>t(()=>import("./index.stories-nr2Wl4Xd.js"),__vite__mapDeps([87,1,2,10]),import.meta.url),"./src/components/ListItem/index.stories.tsx":async()=>t(()=>import("./index.stories-L0csXEMR.js"),__vite__mapDeps([88,1,2,27,7,28,25,26]),import.meta.url),"./src/components/MenuBarButton/index.stories.tsx":async()=>t(()=>import("./index.stories-Wj5TJi_b.js"),__vite__mapDeps([89,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,79,80]),import.meta.url),"./src/components/Modal/index.stories.tsx":async()=>t(()=>import("./index.stories-Ll1M0bHZ.js"),__vite__mapDeps([90,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/Path/index.stories.tsx":async()=>t(()=>import("./index.stories-pg7HcHCD.js"),__vite__mapDeps([91,1,2,37]),import.meta.url),"./src/components/Popover/index.stories.tsx":async()=>t(()=>import("./index.stories-J4U2HxKO.js"),__vite__mapDeps([92,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/RectGizmo/index.stories.tsx":async()=>t(()=>import("./index.stories-WxaxjPHF.js"),__vite__mapDeps([93,1,2,45,22,6,7,8,9,10,5,46]),import.meta.url),"./src/components/Ruler/index.stories.tsx":async()=>t(()=>import("./index.stories-HXAfIizL.js"),__vite__mapDeps([94,1,2,47,7,48,49,5]),import.meta.url),"./src/components/SVPicker/index.stories.tsx":async()=>t(()=>import("./index.stories-d4yhINkx.js"),__vite__mapDeps([95,1,2,19,5,20,6,7,8,9,21,10,22,23]),import.meta.url),"./src/components/Select/index.stories.tsx":async()=>t(()=>import("./index.stories-8AVspXZb.js"),__vite__mapDeps([96,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/SelectRect/index.stories.tsx":async()=>t(()=>import("./index.stories-GPGrJb2O.js"),__vite__mapDeps([97,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/Slider/index.stories.tsx":async()=>t(()=>import("./index.stories-UslPYA_b.js"),__vite__mapDeps([98,1,2,51,5,20,52]),import.meta.url),"./src/components/SliderNumberField/index.stories.tsx":async()=>t(()=>import("./index.stories-PThcdtmC.js"),__vite__mapDeps([99,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/SplitPane/index.stories.tsx":async()=>t(()=>import("./index.stories-_Z5xHshP.js"),__vite__mapDeps([100,1,2,53,48,5,8,54]),import.meta.url),"./src/components/Switch/index.stories.tsx":async()=>t(()=>import("./index.stories-fgk_lFX2.js"),__vite__mapDeps([101,1,2,55,56,72]),import.meta.url),"./src/components/TextArea/index.stories.tsx":async()=>t(()=>import("./index.stories-qpa51QU2.js"),__vite__mapDeps([102,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/TextInput/index.stories.tsx":async()=>t(()=>import("./index.stories-KQ0rK4tt.js"),__vite__mapDeps([103,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/Toast/index.stories.tsx":async()=>t(()=>import("./index.stories-BUIH00vp.js"),__vite__mapDeps([104,1,2,57,29,31,30,33,50,25,7,26,58,12,13]),import.meta.url),"./src/components/Tooltip/index.stories.tsx":async()=>t(()=>import("./index.stories-u_MddL7M.js"),__vite__mapDeps([105,1,2,59,29,30,31,34,50,60,12,7,13,42,43]),import.meta.url),"./src/components/TreeView/index.stories.tsx":async()=>t(()=>import("./index.stories-Jk87lRRc.js"),__vite__mapDeps([106,1,2,24,25,7,26,27,28,29,30,31,32,33,34,35,72]),import.meta.url),"./src/docs/Colors/Colors.mdx":async()=>t(()=>import("./Colors-UaN7mZhQ.js"),__vite__mapDeps([107,1,2,3,63,31,29,64,65,66]),import.meta.url)};async function T(i){return P[i]()}const{composeConfigs:L,PreviewWeb:v,ClientApi:D}=__STORYBOOK_MODULE_PREVIEW_API__,I=async()=>{const i=await Promise.all([t(()=>import("./entry-preview-ulNEgYIM.js"),__vite__mapDeps([108,2,109,31]),import.meta.url),t(()=>import("./entry-preview-docs-baPLY0Py.js"),__vite__mapDeps([110,65,2,66]),import.meta.url),t(()=>import("./preview-VI2eoWmp.js"),__vite__mapDeps([111,64]),import.meta.url),t(()=>import("./preview-pB5sVHlW.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-1q4RDNOi.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-6iG64ELu.js"),__vite__mapDeps([112,66]),import.meta.url),t(()=>import("./preview-zZA4w0lH.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-TkXSQy1x.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-u8M_OEO2.js"),__vite__mapDeps([113,66]),import.meta.url),t(()=>import("./preview-bEa2SesL.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-e7UF-SUK.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-6vMsA10-.js"),__vite__mapDeps([114,1,2,3,63,31,29,64,65,66,115,62]),import.meta.url)]);return L(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new v(T,I);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./README-ZVkbz3m0.js","./jsx-runtime-DtaoT6pD.js","./index-OjgoNOWw.js","./index-KwbRfTVY.js","./index-EwGKNtg5.js","./createDragHandler-nJMxlNVC.js","./index-pk5nlV7d.js","./classNames-pTwYsIK_.js","./px-FpDDCCze.js","./index-KtNcoFWI.css","./index-cYjXm3u-.js","./index-OZ1oxfMV.css","./index-bDPzi3wY.js","./index-hulNj5iL.css","./alpha-checker-board-tCTBQaJF.js","./alpha-checker-board-n6iPw0JV.css","./index-GtgdPI8D.js","./index-Xx_sYfK9.css","./index-CzAlb3Z9.js","./index-_tE33Gv2.js","./clamp-xqaTU5Qn.js","./index-3ZWm4lKU.js","./useTouchStartPrevent-SoOiKono.js","./index-cHxYcX48.css","./index-6uWyxtkv.js","./index-hC_OXdTA.js","./index-zeYogCet.css","./index-14PbI9Yx.js","./index-KfoJzK5F.css","./index-Eok78svH.js","./index-wq2dZbDE.js","./index-mQqIOHEI.js","./index--q_WrUwI.js","./index-F4RL_6mv.js","./index-nFE2FeW6.js","./index-Haj0TLes.css","./index-7FH3x4aD.js","./index-rAFazk-7.js","./index-1KNVfgJM.css","./DropdownMenuItem-65YTI1pm.js","./index-ySLf1xQK.js","./index-LbG4xZ_o.css","./index-91r8yyqG.js","./index-e9E6Ipls.css","./IconButtonGroup-N7RH39hC.js","./index-S2z5BvKN.js","./index-iMIUgNby.css","./index-Joz1V2Yt.js","./mergeRefs-mmWAE0a7.js","./index-2_1-pBUw.css","./index-Nn85PjCb.js","./index-pSLMz4T_.js","./index-Yg5gsvWS.css","./index-vOUEYDQ3.js","./index-PQ1tFjoh.css","./index-8i7E8DJg.js","./index-HzIMcpGd.css","./index-mnqn6aXF.js","./index-F7OECeIn.css","./index-yb2Rdmt7.js","./index-OKoyZcQW.css","./index-nXZj2F3M.css","./global-ywtQfFbC.css","./index-5FojMo3J.js","./index-ogXoivrg.js","./index-XkRcYS9h.js","./index-PPLHz8o0.js","./README-5jnWgVma.css","./index.stories-bgyu_4Kr.js","./index.stories-6Ve2UXpv.js","./index.stories-LQZ_UuOX.js","./index.stories-k7KQ3bq7.js","./Icon-znzPB4bR.js","./index.stories-Fa0tOmuA.js","./index.stories-A3QhJlTT.js","./index.stories-DeD_MJod.js","./index.stories-bhqsC0ce.js","./index.stories-GkSRMm03.js","./index.stories-Hge3ti27.js","./ShortcutListItem-KOfNuhqh.js","./ShortcutListItem-jchXdo3x.css","./index.stories-Wbz7DCbG.js","./index.stories-wdWQDVN3.js","./index.stories-At8KDf4V.js","./index.stories-SCzFhyxI.js","./index.stories-Quadfg_t.js","./index.stories-kyrqgsrM.js","./index.stories-nr2Wl4Xd.js","./index.stories-L0csXEMR.js","./index.stories-Wj5TJi_b.js","./index.stories-Ll1M0bHZ.js","./index.stories-pg7HcHCD.js","./index.stories-J4U2HxKO.js","./index.stories-WxaxjPHF.js","./index.stories-HXAfIizL.js","./index.stories-d4yhINkx.js","./index.stories-8AVspXZb.js","./index.stories-GPGrJb2O.js","./index.stories-UslPYA_b.js","./index.stories-PThcdtmC.js","./index.stories-_Z5xHshP.js","./index.stories-fgk_lFX2.js","./index.stories-qpa51QU2.js","./index.stories-KQ0rK4tt.js","./index.stories-BUIH00vp.js","./index.stories-u_MddL7M.js","./index.stories-Jk87lRRc.js","./Colors-UaN7mZhQ.js","./entry-preview-ulNEgYIM.js","./react-18-DyM-o0Ps.js","./entry-preview-docs-baPLY0Py.js","./preview-VI2eoWmp.js","./preview-6iG64ELu.js","./preview-u8M_OEO2.js","./preview-6vMsA10-.js","./preview-QoYgTpWM.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} \ No newline at end of file diff --git a/assets/iframe-_XbHwtE8.js b/assets/iframe-_XbHwtE8.js new file mode 100644 index 0000000..4202738 --- /dev/null +++ b/assets/iframe-_XbHwtE8.js @@ -0,0 +1,7 @@ +import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))m(e);new MutationObserver(e=>{for(const o of e)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&m(s)}).observe(document,{childList:!0,subtree:!0});function n(e){const o={};return e.integrity&&(o.integrity=e.integrity),e.referrerPolicy&&(o.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?o.credentials="include":e.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function m(e){if(e.ep)return;e.ep=!0;const o=n(e);fetch(e.href,o)}})();const l="modulepreload",O=function(r,i){return new URL(r,i).href},E={},t=function(i,n,m){let e=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");e=Promise.all(n.map(s=>{if(s=O(s,m),s in E)return;E[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(!!m)for(let p=o.length-1;p>=0;p--){const a=o[p];if(a.href===s&&(!c||a.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${d}`))return;const _=document.createElement("link");if(_.rel=c?"stylesheet":l,c||(_.as="script",_.crossOrigin=""),_.href=s,document.head.appendChild(_),c)return new Promise((p,a)=>{_.addEventListener("load",p),_.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${s}`)))})}))}return e.then(()=>i()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:x}=__STORYBOOK_MODULE_PREVIEW_API__,u=R({page:"preview"});x.setChannel(u);window.__STORYBOOK_ADDONS_CHANNEL__=u;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=u);const T={"./src/README.mdx":async()=>t(()=>import("./README-2ZnG_VyR.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67]),import.meta.url),"./src/components/AngleInput/index.stories.tsx":async()=>t(()=>import("./index.stories-nCgO624W.js"),__vite__mapDeps([68,1,2,4,5,6,7,8,9,10,11]),import.meta.url),"./src/components/Button/index.stories.tsx":async()=>t(()=>import("./index.stories-s__cRsa7.js"),__vite__mapDeps([69,1,2,12,7,13]),import.meta.url),"./src/components/CanvasView/index.stories.tsx":async()=>t(()=>import("./index.stories-MPCMKhjm.js"),__vite__mapDeps([70,1,2,14,5,15]),import.meta.url),"./src/components/Checkbox/index.stories.tsx":async()=>t(()=>import("./index.stories-ZWHV40u-.js"),__vite__mapDeps([71,1,2,16,17,72]),import.meta.url),"./src/components/ColorInput/index.stories.tsx":async()=>t(()=>import("./index.stories-OxTHa4OG.js"),__vite__mapDeps([73,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/ColorLoupe/index.stories.tsx":async()=>t(()=>import("./index.stories-xlTnH2n7.js"),__vite__mapDeps([74,1,2,21,6,7,8,9,10]),import.meta.url),"./src/components/ColorPickerCircle/index.stories.tsx":async()=>t(()=>import("./index.stories-QxCQxQHY.js"),__vite__mapDeps([75,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/ColorPickerRect/index.stories.tsx":async()=>t(()=>import("./index.stories-Ysn6mseG.js"),__vite__mapDeps([76,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/ColorSlider/index.stories.tsx":async()=>t(()=>import("./index.stories-A3iBMI0l.js"),__vite__mapDeps([77,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/ContextMenu/index.stories.tsx":async()=>t(()=>import("./index.stories-TVTljfsU.js"),__vite__mapDeps([78,1,2,24,25,7,26,27,28,29,30,31,32,33,34,35,79,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,80]),import.meta.url),"./src/components/CubicControls/index.stories.tsx":async()=>t(()=>import("./index.stories-3Oc0wc-h.js"),__vite__mapDeps([81,1,2,20,36,5,6,7,8,9,10,37,38]),import.meta.url),"./src/components/DropdownMenu/index.stories.tsx":async()=>t(()=>import("./index.stories-puzLa653.js"),__vite__mapDeps([82,1,2,39,25,7,26,29,30,31,32,33,34,27,28,12,13]),import.meta.url),"./src/components/FloatBox/index.stories.tsx":async()=>t(()=>import("./index.stories-vdCXKv2V.js"),__vite__mapDeps([83,1,2,25,7,26,79,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,80]),import.meta.url),"./src/components/Grid/index.stories.tsx":async()=>t(()=>import("./index.stories-gbGLx82i.js"),__vite__mapDeps([84,1,2,40,7,41]),import.meta.url),"./src/components/HueCircle/index.stories.tsx":async()=>t(()=>import("./index.stories-W6DeitcU.js"),__vite__mapDeps([85,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/IconButton/index.stories.tsx":async()=>t(()=>import("./index.stories-DHMo09Fg.js"),__vite__mapDeps([86,1,2,42,7,43,72,44]),import.meta.url),"./src/components/Line/index.stories.tsx":async()=>t(()=>import("./index.stories-VOT97EdO.js"),__vite__mapDeps([87,1,2,10]),import.meta.url),"./src/components/ListItem/index.stories.tsx":async()=>t(()=>import("./index.stories-g7s_otAA.js"),__vite__mapDeps([88,1,2,27,7,28,25,26]),import.meta.url),"./src/components/MenuBarButton/index.stories.tsx":async()=>t(()=>import("./index.stories-CgKoJRK7.js"),__vite__mapDeps([89,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,79,80]),import.meta.url),"./src/components/Modal/index.stories.tsx":async()=>t(()=>import("./index.stories-5Jhlc19m.js"),__vite__mapDeps([90,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/Path/index.stories.tsx":async()=>t(()=>import("./index.stories-eweaYLpw.js"),__vite__mapDeps([91,1,2,37]),import.meta.url),"./src/components/Popover/index.stories.tsx":async()=>t(()=>import("./index.stories-Wt63Ej5s.js"),__vite__mapDeps([92,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/RectGizmo/index.stories.tsx":async()=>t(()=>import("./index.stories-OSSsq0ZP.js"),__vite__mapDeps([93,1,2,45,22,6,7,8,9,10,5,46]),import.meta.url),"./src/components/Ruler/index.stories.tsx":async()=>t(()=>import("./index.stories-jX0BrvEr.js"),__vite__mapDeps([94,1,2,47,7,48,49,5]),import.meta.url),"./src/components/SVPicker/index.stories.tsx":async()=>t(()=>import("./index.stories-0wDWBUBo.js"),__vite__mapDeps([95,1,2,19,5,20,6,7,8,9,21,10,22,23]),import.meta.url),"./src/components/Select/index.stories.tsx":async()=>t(()=>import("./index.stories-lwPMOCPy.js"),__vite__mapDeps([96,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/SelectRect/index.stories.tsx":async()=>t(()=>import("./index.stories-dORDHUM1.js"),__vite__mapDeps([97,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/Slider/index.stories.tsx":async()=>t(()=>import("./index.stories-JpVboc0p.js"),__vite__mapDeps([98,1,2,51,5,20,52]),import.meta.url),"./src/components/SliderNumberField/index.stories.tsx":async()=>t(()=>import("./index.stories-KqZFAaxx.js"),__vite__mapDeps([99,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/SplitPane/index.stories.tsx":async()=>t(()=>import("./index.stories-jU2RD0JD.js"),__vite__mapDeps([100,1,2,53,48,5,8,54]),import.meta.url),"./src/components/Switch/index.stories.tsx":async()=>t(()=>import("./index.stories-YGVussW8.js"),__vite__mapDeps([101,1,2,55,56,72]),import.meta.url),"./src/components/TextArea/index.stories.tsx":async()=>t(()=>import("./index.stories-LffZkw0U.js"),__vite__mapDeps([102,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/TextInput/index.stories.tsx":async()=>t(()=>import("./index.stories-DTA0qpRd.js"),__vite__mapDeps([103,1,2,18,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62]),import.meta.url),"./src/components/Toast/index.stories.tsx":async()=>t(()=>import("./index.stories-oAYBqZgp.js"),__vite__mapDeps([104,1,2,57,29,31,30,33,50,25,7,26,58,12,13]),import.meta.url),"./src/components/Tooltip/index.stories.tsx":async()=>t(()=>import("./index.stories-_GIsi2ys.js"),__vite__mapDeps([105,1,2,59,29,30,31,34,50,60,12,7,13,42,43]),import.meta.url),"./src/components/TreeView/index.stories.tsx":async()=>t(()=>import("./index.stories-9BQ0pZBv.js"),__vite__mapDeps([106,1,2,24,25,7,26,27,28,29,30,31,32,33,34,35,72]),import.meta.url),"./src/docs/Colors/Colors.mdx":async()=>t(()=>import("./Colors-VAoi-13u.js"),__vite__mapDeps([107,1,2,3,63,31,64,29,65,66]),import.meta.url)};async function L(r){return T[r]()}const{composeConfigs:P,PreviewWeb:I,ClientApi:v}=__STORYBOOK_MODULE_PREVIEW_API__,V=async(r=[])=>{const i=await Promise.all([r.at(0)??t(()=>import("./entry-preview-PfmdlAjE.js"),__vite__mapDeps([108,2,109,31]),import.meta.url),r.at(1)??t(()=>import("./entry-preview-docs-7_9Ieca4.js"),__vite__mapDeps([110,65,2,66]),import.meta.url),r.at(2)??t(()=>import("./preview-Th0JJWu4.js"),__vite__mapDeps([111,64]),import.meta.url),r.at(3)??t(()=>import("./preview-H3hWVqwM.js"),__vite__mapDeps([]),import.meta.url),r.at(4)??t(()=>import("./preview-ThnesuRi.js"),__vite__mapDeps([]),import.meta.url),r.at(5)??t(()=>import("./preview-eXIs5HrX.js"),__vite__mapDeps([112,66]),import.meta.url),r.at(6)??t(()=>import("./preview-HCPzwHvd.js"),__vite__mapDeps([]),import.meta.url),r.at(7)??t(()=>import("./preview-LwNV-o4N.js"),__vite__mapDeps([]),import.meta.url),r.at(8)??t(()=>import("./preview-MCpAEDKK.js"),__vite__mapDeps([113,66]),import.meta.url),r.at(9)??t(()=>import("./preview-eG45mUaT.js"),__vite__mapDeps([]),import.meta.url),r.at(10)??t(()=>import("./preview-vJcrYYNL.js"),__vite__mapDeps([]),import.meta.url),r.at(11)??t(()=>import("./preview-PtjNjHYK.js"),__vite__mapDeps([114,1,2,3,63,31,64,29,65,66,115,62]),import.meta.url)]);return P(i)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(L,V);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./README-2ZnG_VyR.js","./jsx-runtime-DvLKfCe6.js","./index-aXz8NaAs.js","./index-arM4ZSKl.js","./index-Kq3z_NZE.js","./createDragHandler-nJMxlNVC.js","./index-0ceNsg1m.js","./classNames-pTwYsIK_.js","./px-FpDDCCze.js","./index-KtNcoFWI.css","./index-U9bU_qbB.js","./index-OZ1oxfMV.css","./index-5ui4R9NG.js","./index-hulNj5iL.css","./alpha-checker-board-CANUayoU.js","./alpha-checker-board-n6iPw0JV.css","./index-TRwoWG8Q.js","./index-Xx_sYfK9.css","./index-yf8mkK-1.js","./index-btd8k4jy.js","./clamp-xqaTU5Qn.js","./index-AYEmu2YI.js","./useTouchStartPrevent-kBVXV8Ya.js","./index-cHxYcX48.css","./index-uWlkGYMJ.js","./index-D9RaxIjz.js","./index-zeYogCet.css","./index-xX_uHqPz.js","./index-KfoJzK5F.css","./extends-dGVwEr9R.js","./index-M7H33-mE.js","./index-n3prD_Ok.js","./index-YkBf51cs.js","./index-MW3rGVG_.js","./index-sSXR_LKw.js","./index-Haj0TLes.css","./index-NAhdMhKS.js","./index-nuWmM7Ma.js","./index-1KNVfgJM.css","./DropdownMenuItem-TbdlQnuP.js","./index-CYasbvvH.js","./index-LbG4xZ_o.css","./index-MoE7EhU4.js","./index-e9E6Ipls.css","./IconButtonGroup-Vbjsao9W.js","./index-9ZytVVav.js","./index-iMIUgNby.css","./index-Oh1OAjsI.js","./mergeRefs-mmWAE0a7.js","./index-2_1-pBUw.css","./index-K1fIJHIl.js","./index-DbrhxBeW.js","./index-Yg5gsvWS.css","./index-x7ZWNYQl.js","./index-PQ1tFjoh.css","./index-gJCp1G9s.js","./index-HzIMcpGd.css","./index-xx6ZF_mx.js","./index-F7OECeIn.css","./index-a-IPPCxZ.js","./index-OKoyZcQW.css","./index-nXZj2F3M.css","./global-ywtQfFbC.css","./index-Jk8GCfJX.js","./index-4FLvW62B.js","./index-CR2EVKgk.js","./index-PPLHz8o0.js","./README-5jnWgVma.css","./index.stories-nCgO624W.js","./index.stories-s__cRsa7.js","./index.stories-MPCMKhjm.js","./index.stories-ZWHV40u-.js","./Icon-4LS2xAFO.js","./index.stories-OxTHa4OG.js","./index.stories-xlTnH2n7.js","./index.stories-QxCQxQHY.js","./index.stories-Ysn6mseG.js","./index.stories-A3iBMI0l.js","./index.stories-TVTljfsU.js","./ShortcutListItem-YpM7ilT6.js","./ShortcutListItem-jchXdo3x.css","./index.stories-3Oc0wc-h.js","./index.stories-puzLa653.js","./index.stories-vdCXKv2V.js","./index.stories-gbGLx82i.js","./index.stories-W6DeitcU.js","./index.stories-DHMo09Fg.js","./index.stories-VOT97EdO.js","./index.stories-g7s_otAA.js","./index.stories-CgKoJRK7.js","./index.stories-5Jhlc19m.js","./index.stories-eweaYLpw.js","./index.stories-Wt63Ej5s.js","./index.stories-OSSsq0ZP.js","./index.stories-jX0BrvEr.js","./index.stories-0wDWBUBo.js","./index.stories-lwPMOCPy.js","./index.stories-dORDHUM1.js","./index.stories-JpVboc0p.js","./index.stories-KqZFAaxx.js","./index.stories-jU2RD0JD.js","./index.stories-YGVussW8.js","./index.stories-LffZkw0U.js","./index.stories-DTA0qpRd.js","./index.stories-oAYBqZgp.js","./index.stories-_GIsi2ys.js","./index.stories-9BQ0pZBv.js","./Colors-VAoi-13u.js","./entry-preview-PfmdlAjE.js","./react-18-MUTnB316.js","./entry-preview-docs-7_9Ieca4.js","./preview-Th0JJWu4.js","./preview-eXIs5HrX.js","./preview-MCpAEDKK.js","./preview-PtjNjHYK.js","./preview-QoYgTpWM.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/index-pk5nlV7d.js b/assets/index-0ceNsg1m.js similarity index 88% rename from assets/index-pk5nlV7d.js rename to assets/index-0ceNsg1m.js index 3f7dfaf..1320712 100644 --- a/assets/index-pk5nlV7d.js +++ b/assets/index-0ceNsg1m.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-DtaoT6pD.js";import{r as c}from"./index-OjgoNOWw.js";import{c as m}from"./classNames-pTwYsIK_.js";import{p as l}from"./px-FpDDCCze.js";const p=c.forwardRef(function({strokeColor:i,strokeWidth:s,fill:t,style:n,radius:r=0,...e},o){return a.jsx("div",{ref:o,...e,className:m("cmpui_circle__root",e.className),style:{"--cmpui-circle-nob-fill":t,"--cmpui-circle-nob-radius":l(r),"--cmpui-circle-nob-stroke-color":i,"--cmpui-circle-nob-stroke-width":`${s??0}px`,border:`${s??0}px solid ${i}`,left:e.x-r,top:e.y-r,...n}})});p.__docgenInfo={description:"",methods:[],displayName:"Circle",props:{x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},className:{required:!1,tsType:{name:"string"},description:""},radius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},strokeColor:{required:!1,tsType:{name:"string"},description:""},strokeWidth:{required:!1,tsType:{name:"union",raw:"string | number",elements:[{name:"string"},{name:"number"}]},description:""},fill:{required:!1,tsType:{name:"string"},description:""}}};export{p as C}; +import{j as a}from"./jsx-runtime-DvLKfCe6.js";import{r as c}from"./index-aXz8NaAs.js";import{c as m}from"./classNames-pTwYsIK_.js";import{p as l}from"./px-FpDDCCze.js";const p=c.forwardRef(function({strokeColor:i,strokeWidth:s,fill:t,style:n,radius:r=0,...e},o){return a.jsx("div",{ref:o,...e,className:m("cmpui_circle__root",e.className),style:{"--cmpui-circle-nob-fill":t,"--cmpui-circle-nob-radius":l(r),"--cmpui-circle-nob-stroke-color":i,"--cmpui-circle-nob-stroke-width":`${s??0}px`,border:`${s??0}px solid ${i}`,left:e.x-r,top:e.y-r,...n}})});p.__docgenInfo={description:"",methods:[],displayName:"Circle",props:{x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},className:{required:!1,tsType:{name:"string"},description:""},radius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},strokeColor:{required:!1,tsType:{name:"string"},description:""},strokeWidth:{required:!1,tsType:{name:"union",raw:"string | number",elements:[{name:"string"},{name:"number"}]},description:""},fill:{required:!1,tsType:{name:"string"},description:""}}};export{p as C}; diff --git a/assets/index-ogXoivrg.js b/assets/index-4FLvW62B.js similarity index 86% rename from assets/index-ogXoivrg.js rename to assets/index-4FLvW62B.js index ad50136..5661e66 100644 --- a/assets/index-ogXoivrg.js +++ b/assets/index-4FLvW62B.js @@ -1 +1 @@ -var A=Object.create,g=Object.defineProperty,d=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,h=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,x=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),P=(r,e,i,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of j(e))!m.call(r,a)&&a!==i&&g(r,a,{get:()=>e[a],enumerable:!(u=d(e,a))||u.enumerable});return r},S=(r,e,i)=>(i=r!=null?A(h(r)):{},P(e||!r||!r.__esModule?g(i,"default",{value:r,enumerable:!0}):i,r)),U=x(r=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isEqual=function(){var e=Object.prototype.toString,i=Object.getPrototypeOf,u=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,c){return function f(t,n,o){var y,s,l,p=e.call(t),w=e.call(n);if(t===n)return!0;if(t==null||n==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(n)>-1)return!0;if(o.push(t,n),p!=w||(y=u(t),s=u(n),y.length!=s.length||y.some(function(O){return!f(t[O],n[O],o)})))return!1;switch(p.slice(8,-1)){case"Symbol":return t.valueOf()==n.valueOf();case"Date":case"Number":return+t==+n||+t!=+t&&+n!=+n;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+n;case"Set":case"Map":y=t.entries(),s=n.entries();do if(!f((l=y.next()).value,s.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),n=new Uint8Array(n);case"DataView":t=new Uint8Array(t.buffer),n=new Uint8Array(n.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=n.length)return!1;for(l=0;lr.map(e=>typeof e<"u").filter(Boolean).length,q=(r,e)=>{let{exists:i,eq:u,neq:a,truthy:c}=r;if(v([i,u,a,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:i,eq:u,neq:a})}`);if(typeof u<"u")return(0,b.isEqual)(e,u);if(typeof a<"u")return!(0,b.isEqual)(e,a);if(typeof i<"u"){let f=typeof e<"u";return i?f:!f}return typeof c>"u"||c?!!e:!e},E=(r,e,i)=>{if(!r.if)return!0;let{arg:u,global:a}=r.if;if(v([u,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:u,global:a})}`);let c=u?e[u]:i[a];return q(r.if,c)},I=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");export{I as L,E as O}; +var d=Object.create,g=Object.defineProperty,j=Object.getOwnPropertyDescriptor,A=Object.getOwnPropertyNames,h=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,x=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),P=(r,e,i,u)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of A(e))!m.call(r,a)&&a!==i&&g(r,a,{get:()=>e[a],enumerable:!(u=j(e,a))||u.enumerable});return r},S=(r,e,i)=>(i=r!=null?d(h(r)):{},P(e||!r||!r.__esModule?g(i,"default",{value:r,enumerable:!0}):i,r)),U=x(r=>{Object.defineProperty(r,"__esModule",{value:!0}),r.isEqual=function(){var e=Object.prototype.toString,i=Object.getPrototypeOf,u=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,c){return function f(t,n,o){var y,s,l,p=e.call(t),w=e.call(n);if(t===n)return!0;if(t==null||n==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(n)>-1)return!0;if(o.push(t,n),p!=w||(y=u(t),s=u(n),y.length!=s.length||y.some(function(O){return!f(t[O],n[O],o)})))return!1;switch(p.slice(8,-1)){case"Symbol":return t.valueOf()==n.valueOf();case"Date":case"Number":return+t==+n||+t!=+t&&+n!=+n;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+n;case"Set":case"Map":y=t.entries(),s=n.entries();do if(!f((l=y.next()).value,s.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),n=new Uint8Array(n);case"DataView":t=new Uint8Array(t.buffer),n=new Uint8Array(n.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=n.length)return!1;for(l=0;lr.map(e=>typeof e<"u").filter(Boolean).length,q=(r,e)=>{let{exists:i,eq:u,neq:a,truthy:c}=r;if(v([i,u,a,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:i,eq:u,neq:a})}`);if(typeof u<"u")return(0,b.isEqual)(e,u);if(typeof a<"u")return!(0,b.isEqual)(e,a);if(typeof i<"u"){let f=typeof e<"u";return i?f:!f}return typeof c>"u"||c?!!e:!e},E=(r,e,i)=>{if(!r.if)return!0;let{arg:u,global:a}=r.if;if(v([u,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:u,global:a})}`);let c=u?e[u]:i[a];return q(r.if,c)},I=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"");export{I as O,E as P}; diff --git a/assets/index-5FojMo3J.js b/assets/index-5FojMo3J.js deleted file mode 100644 index f4a16f3..0000000 --- a/assets/index-5FojMo3J.js +++ /dev/null @@ -1,482 +0,0 @@ -import{_ as zt}from"./iframe-IJaDOTiX.js";import{r as o,a as Ol,g as An,R as u,c as na}from"./index-OjgoNOWw.js";import{r as y0,R as Q1}from"./index-mQqIOHEI.js";import{a as w0,_ as _n}from"./index-Eok78svH.js";import{L as x0,O as ed}from"./index-ogXoivrg.js";import{q as E0,r as td,s as S0,t as rd,i as kn,v as nd,w as ad,x as od,c as C0,y as R0,z as ld,A as I0,B as id,C as sd,D as cd,E as dd,F as ud,G as pd,H as A0,I as fd,J as hd,K as _0,_ as gd,L as md,M as vd,N as ho,d as k0,O as O0,P as T0,Q as bd,R as yd,U as wd,e as xd,S as Tl,k as aa}from"./index-XkRcYS9h.js";import{d as Ed}from"./index-PPLHz8o0.js";var Pe=e=>`control-${e.replace(/\s+/g,"-")}`,On=e=>`set-${e.replace(/\s+/g,"-")}`;const{global:Sd}=__STORYBOOK_MODULE_GLOBAL__,{logger:Cd}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Rd=Object.create,M0=Object.defineProperty,Id=Object.getOwnPropertyDescriptor,L0=Object.getOwnPropertyNames,Ad=Object.getPrototypeOf,_d=Object.prototype.hasOwnProperty,go=(e,t)=>function(){return t||(0,e[L0(e)[0]])((t={exports:{}}).exports,t),t.exports},kd=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of L0(t))!_d.call(e,a)&&a!==r&&M0(e,a,{get:()=>t[a],enumerable:!(n=Id(t,a))||n.enumerable});return e},$0=(e,t,r)=>(r=e!=null?Rd(Ad(e)):{},kd(t||!e||!e.__esModule?M0(r,"default",{value:e,enumerable:!0}):r,e));function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function tn(e,t,r){return Ld()?tn=Reflect.construct.bind():tn=function(n,a,l){var i=[null];i.push.apply(i,a);var c=Function.bind.apply(n,i),s=new c;return l&&Er(s,l.prototype),s},tn.apply(null,arguments)}function Pa(e){var t=typeof Map=="function"?new Map:void 0;return Pa=function(r){if(r===null||!Md(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return tn(r,arguments,Ba(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Er(n,r)},Pa(e)}var $d={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 zd(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var p=r-l/2,h=c+p,m=s+p,f=d+p;return n(h,m,f)}var Ml={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 Pd(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ml[t]?"#"+Ml[t]:e}var Hd=/^#[a-fA-F0-9]{6}$/,Fd=/^#[a-fA-F0-9]{8}$/,jd=/^#[a-fA-F0-9]{3}$/,Nd=/^#[a-fA-F0-9]{4}$/,la=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Dd=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Vd=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Ud=/^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 Tn(e){if(typeof e!="string")throw new Xe(3);var t=Pd(e);if(t.match(Hd))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(Fd)){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(jd))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(Nd)){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=la.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=Dd.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var i=Vd.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Sr(c,s,d)+")",h=la.exec(p);if(!h)throw new Xe(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=Ud.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,E="rgb("+Sr(f,v,g)+")",x=la.exec(E);if(!x)throw new Xe(4,t,E);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Xe(5)}function Wd(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?fn(e,t,r):"rgba("+Sr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?fn(e.hue,e.saturation,e.lightness):"rgba("+Sr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Xe(2)}function Fa(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ha("#"+St(e)+St(t)+St(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ha("#"+St(e.red)+St(e.green)+St(e.blue));throw new Xe(6)}function Cr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Tn(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Fa(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Fa(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Xe(7)}var Xd=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Zd=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Jd=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Qd=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function B0(e){if(typeof e!="object")throw new Xe(8);if(Zd(e))return Cr(e);if(Xd(e))return Fa(e);if(Qd(e))return Kd(e);if(Jd(e))return Yd(e);throw new Xe(8)}function P0(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):P0(e,t,n)}}function Mn(e){return P0(e,e.length,[])}function Ln(e,t,r){return Math.max(e,Math.min(t,r))}function eu(e,t){if(t==="transparent")return t;var r=z0(t);return B0(gt({},r,{lightness:Ln(0,1,r.lightness-parseFloat(e))}))}var tu=Mn(eu),ru=tu;function nu(e,t){if(t==="transparent")return t;var r=z0(t);return B0(gt({},r,{lightness:Ln(0,1,r.lightness+parseFloat(e))}))}var au=Mn(nu),ou=au;function lu(e,t){if(t==="transparent")return t;var r=Tn(t),n=typeof r.alpha=="number"?r.alpha:1,a=gt({},r,{alpha:Ln(0,1,(n*100+parseFloat(e)*100)/100)});return Cr(a)}var iu=Mn(lu),su=iu;function cu(e,t){if(t==="transparent")return t;var r=Tn(t),n=typeof r.alpha=="number"?r.alpha:1,a=gt({},r,{alpha:Ln(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Cr(a)}var du=Mn(cu),uu=du,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"},ht={app:"#F6F9FC",bar:H.lightest,content:H.lightest,preview:H.lightest,gridCellSize:10,hoverable:uu(.9,H.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Ze={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}},pu={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:ht.app,appContentBg:H.lightest,appPreviewBg:H.lightest,appBorderColor:H.border,appBorderRadius:4,fontBase:Ze.fonts.base,fontCode:Ze.fonts.mono,textColor:H.darkest,textInverseColor:H.lightest,textMutedColor:H.dark,barTextColor:H.mediumdark,barHoverColor:H.secondary,barSelectedColor:H.secondary,barBg:H.lightest,buttonBg:ht.app,buttonBorder:H.medium,booleanBg:H.mediumlight,booleanSelectedBg:H.lightest,inputBg:H.lightest,inputBorder:H.border,inputTextColor:H.darkest,inputBorderRadius:4},hn=pu,fu={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:H.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Ze.fonts.base,fontCode:Ze.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},hu=fu,{window:sa}=Sd,gu=e=>({color:e}),mu=e=>typeof e!="string"?(Cd.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,vu=e=>!/(gradient|var|calc)/.test(e),bu=(e,t)=>e==="darken"?Cr(`${ru(1,t)}`,.95):e==="lighten"?Cr(`${ou(1,t)}`,.95):t,yu=e=>t=>{if(!mu(t)||!vu(t))return t;try{return bu(e,t)}catch{return t}},yr=yu("lighten"),H0=()=>!sa||!sa.matchMedia?"light":sa.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",ja={light:hn,dark:hu,normal:hn};H0();var wu=function(t){return t()},F0=Ol.useInsertionEffect?Ol.useInsertionEffect:!1,mo=F0||wu,Ll=F0||o.useLayoutEffect;function qr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var j0={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,l){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof qr=="function"&&qr;if(!p&&h)return h(d,!0);if(c)return c(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}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,l)}return a[d].exports}for(var c=typeof qr=="function"&&qr,s=0;s=0)return this.lastItem=this.list[c],this.list[c].val},l.prototype.set=function(i,c){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=c,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=c,this):(this.lastItem={key:i,val:c},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(i){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),c=this.indexOf(i),c>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(i){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],!0):!1)},l.prototype.forEach=function(i,c){var s;for(s=0;s0&&(y[x]={cacheItem:v,arg:arguments[x]},b?i(h,y):h.push(y),h.length>d&&c(h.shift())),f.wasMemoized=b,f.numArgs=x+1,E};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}function s(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})})(j0);var xu=j0.exports;const Ht=An(xu),{logger:Eu}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Su=go({"../../node_modules/react-is/cjs/react-is.development.js"(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,l=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,m=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,E=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,b=t?Symbol.for("react.scope"):60119;function w(z){return typeof z=="string"||typeof z=="function"||z===a||z===p||z===i||z===l||z===m||z===f||typeof z=="object"&&z!==null&&(z.$$typeof===g||z.$$typeof===v||z.$$typeof===c||z.$$typeof===s||z.$$typeof===h||z.$$typeof===x||z.$$typeof===y||z.$$typeof===b||z.$$typeof===E)}function S(z){if(typeof z=="object"&&z!==null){var ze=z.$$typeof;switch(ze){case r:var Fe=z.type;switch(Fe){case d:case p:case a:case i:case l:case m:return Fe;default:var yt=Fe&&Fe.$$typeof;switch(yt){case s:case h:case g:case v:case c:return yt;default:return ze}}case n:return ze}}}var C=d,R=p,I=s,_=c,k=r,O=h,T=a,M=g,F=v,L=n,$=i,j=l,V=m,P=!1;function D(z){return P||(P=!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.")),Z(z)||S(z)===d}function Z(z){return S(z)===p}function ne(z){return S(z)===s}function X(z){return S(z)===c}function J(z){return typeof z=="object"&&z!==null&&z.$$typeof===r}function B(z){return S(z)===h}function U(z){return S(z)===a}function q(z){return S(z)===g}function se(z){return S(z)===v}function me(z){return S(z)===n}function nt(z){return S(z)===i}function Ie(z){return S(z)===l}function He(z){return S(z)===m}e.AsyncMode=C,e.ConcurrentMode=R,e.ContextConsumer=I,e.ContextProvider=_,e.Element=k,e.ForwardRef=O,e.Fragment=T,e.Lazy=M,e.Memo=F,e.Portal=L,e.Profiler=$,e.StrictMode=j,e.Suspense=V,e.isAsyncMode=D,e.isConcurrentMode=Z,e.isContextConsumer=ne,e.isContextProvider=X,e.isElement=J,e.isForwardRef=B,e.isFragment=U,e.isLazy=q,e.isMemo=se,e.isPortal=me,e.isProfiler=nt,e.isStrictMode=Ie,e.isSuspense=He,e.isValidElementType=w,e.typeOf=S})()}}),Cu=go({"../../node_modules/react-is/index.js"(e,t){t.exports=Su()}}),N0=go({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=Cu(),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},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[r.ForwardRef]=l,c[r.Memo]=i;function s(E){return r.isMemo(E)?i:c[E.$$typeof]||n}var d=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(E,x,y){if(typeof x!="string"){if(v){var b=f(x);b&&b!==v&&g(E,b,y)}var w=p(x);h&&(w=w.concat(h(x)));for(var S=s(E),C=s(x),R=0;R0?ue(ar,--xe):0,Kt--,oe===10&&(Kt=1,zn--),oe}function Se(){return oe=xe2||Ir(oe)>3?"":" "}function Fu(e,t){for(;--t&&Se()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return Br(e,rn()+(t<6&&et()==32&&Se()==32))}function Da(e){for(;Se();)switch(oe){case e:return xe;case 34:case 39:e!==34&&e!==39&&Da(oe);break;case 40:e===41&&Da(e);break;case 92:Se();break}return xe}function ju(e,t){for(;Se()&&e+oe!==57&&!(e+oe===84&&et()===47););return"/*"+Br(t,xe-1)+"*"+$n(e===47?e:Se())}function Nu(e){for(;!Ir(et());)Se();return Br(e,xe)}function Du(e){return G0(an("",null,null,null,[""],e=q0(e),0,[0],e))}function an(e,t,r,n,a,l,i,c,s){for(var d=0,p=0,h=i,m=0,f=0,v=0,g=1,E=1,x=1,y=0,b="",w=a,S=l,C=n,R=b;E;)switch(v=y,y=Se()){case 40:if(v!=108&&ue(R,h-1)==58){Na(R+=K(nn(y),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:R+=nn(y);break;case 9:case 10:case 13:case 32:R+=Hu(v);break;case 92:R+=Fu(rn()-1,7);continue;case 47:switch(et()){case 42:case 47:Gr(Vu(ju(Se(),rn()),t,r),s);break;default:R+="/"}break;case 123*g:c[d++]=Ge(R)*x;case 125*g:case 59:case 0:switch(y){case 0:case 125:E=0;case 59+p:x==-1&&(R=K(R,/\f/g,"")),f>0&&Ge(R)-h&&Gr(f>32?zl(R+";",n,r,h-1):zl(K(R," ","")+";",n,r,h-2),s);break;case 59:R+=";";default:if(Gr(C=$l(R,t,r,d,p,a,c,b,w=[],S=[],h),l),y===123)if(p===0)an(R,t,C,C,w,l,h,c,S);else switch(m===99&&ue(R,3)===110?100:m){case 100:case 108:case 109:case 115:an(e,C,C,n&&Gr($l(e,C,C,0,0,a,c,b,a,w=[],h),S),a,S,h,c,n?w:S);break;default:an(R,C,C,C,[""],S,0,c,S)}}d=p=f=0,g=x=1,b=R="",h=i;break;case 58:h=1+Ge(R),f=v;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&Pu()==125)continue}switch(R+=$n(y),y*g){case 38:x=p>0?1:(R+="\f",-1);break;case 44:c[d++]=(Ge(R)-1)*x,x=1;break;case 64:et()===45&&(R+=nn(Se())),m=et(),p=h=Ge(b=R+=Nu(rn())),y++;break;case 45:v===45&&Ge(R)==2&&(g=0)}}return l}function $l(e,t,r,n,a,l,i,c,s,d,p){for(var h=a-1,m=a===0?l:[""],f=xo(m),v=0,g=0,E=0;v0?m[x]+" "+y:K(y,/&\f/g,m[x])))&&(s[E++]=b);return Bn(e,t,r,a===0?yo:c,s,d,p)}function Vu(e,t,r){return Bn(e,t,r,bo,$n(Bu()),Rr(e,2,-2),0)}function zl(e,t,r,n){return Bn(e,t,r,wo,Rr(e,0,n),Rr(e,n+1,-1),n)}function Yt(e,t){for(var r="",n=xo(e),a=0;a-1},Qu=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 l=!!t.parent,i=l?t.parent.children:n,c=i.length-1;c>=0;c--){var s=i[c];if(s.line=0;r--)if(!Y0(t[r]))return!0;return!1},Hl=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},tp=function(e,t,r){Y0(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."),Hl(e)):ep(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Hl(e)))};function K0(e,t){switch(Lu(e,t)){case 5103:return Y+"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 Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+gn+e+ge+e+e;case 6828:case 4268:return Y+e+ge+e+e;case 6165:return Y+e+ge+"flex-"+e+e;case 5187:return Y+e+K(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+ge+"flex-$1$2")+e;case 5443:return Y+e+ge+"flex-item-"+K(e,/flex-|-self/,"")+e;case 4675:return Y+e+ge+"flex-line-pack"+K(e,/align-content|flex-|-self/,"")+e;case 5548:return Y+e+ge+K(e,"shrink","negative")+e;case 5292:return Y+e+ge+K(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+K(e,"-grow","")+Y+e+ge+K(e,"grow","positive")+e;case 4554:return Y+K(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return K(K(K(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return K(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return K(K(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4095:case 3583:case 4068:case 2532:return K(e,/(.+)-inline(.+)/,Y+"$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(Ge(e)-1-t>6)switch(ue(e,t+1)){case 109:if(ue(e,t+4)!==45)break;case 102:return K(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+gn+(ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Na(e,"stretch")?K0(K(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ue(e,t+1)!==115)break;case 6444:switch(ue(e,Ge(e)-3-(~Na(e,"!important")&&10))){case 107:return K(e,":",":"+Y)+e;case 101:return K(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(ue(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+ge+"$2box$3")+e}break;case 5936:switch(ue(e,t+11)){case 114:return Y+e+ge+K(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+ge+K(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+ge+K(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+ge+e+e}return e}var rp=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case wo:e.return=K0(e.value,e.length);break;case V0:return Yt([hr(e,{value:K(e.value,"@","@"+Y)})],n);case yo:if(e.length)return zu(e.props,function(a){switch($u(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Yt([hr(e,{props:[K(a,/:(read-\w+)/,":"+gn+"$1")]})],n);case"::placeholder":return Yt([hr(e,{props:[K(a,/:(plac\w+)/,":"+Y+"input-$1")]}),hr(e,{props:[K(a,/:(plac\w+)/,":"+gn+"$1")]}),hr(e,{props:[K(a,/:(plac\w+)/,ge+"input-$1")]})],n)}return""})}},np=[rp],ap=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||np;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},l,i=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),E=1;E=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)}var ip={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},Fl=`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`,sp="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",cp=/[A-Z]|^ms/g,X0=/_EMO_([^_]+?)_([^]*?)_EMO_/g,So=function(e){return e.charCodeAt(1)===45},jl=function(e){return e!=null&&typeof e!="boolean"},ca=D0(function(e){return So(e)?e:e.replace(cp,"-$&").toLowerCase()}),mn=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(X0,function(r,n,a){return Ye={name:n,styles:a,next:Ye},n})}return ip[e]!==1&&!So(e)&&typeof t=="number"&&t!==0?t+"px":t};Nl=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Dl=["normal","none","initial","inherit","unset"],Vl=mn,Ul=/^-ms-/,Wl=/-(.)/g,da={},mn=function(e,t){if(e==="content"&&(typeof t!="string"||Dl.indexOf(t)===-1&&!Nl.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=Vl(e,t);return r!==""&&!So(e)&&e.indexOf("-")!==-1&&da[e]===void 0&&(da[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Ul,"ms-").replace(Wl,function(n,a){return a.toUpperCase()})+"?")),r};var Nl,Dl,Vl,Ul,Wl,da,Z0="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ar(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Z0);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Ye={name:r.name,styles:r.styles,next:Ye},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Ye={name:n.name,styles:n.styles,next:Ye},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return dp(e,t,r)}case"function":{if(e!==void 0){var l=Ye,i=r(e);return Ye=l,Ar(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 c=[],s=r.replace(X0,function(p,h,m){var f="animation"+c.length;return c.push("const "+f+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+s+"`"]).join(` -`)+` - -You should wrap it with \`css\` like this: - -`+("css`"+s+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}function dp(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 gt({},e,t)},fp=Bl(function(e){return Bl(function(t){return pp(e,t)})}),es=function(e){var t=o.useContext(mt);return e.theme!==t&&(t=fp(t)(e.theme)),o.createElement(mt.Provider,{value:t},e.children)},Gl="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yl="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",hp=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Pn(t,r,n),mo(function(){return Hn(t,r,n)}),null},gp=Fn(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Gl],l=[n],i="";typeof e.className=="string"?i=Eo(t.registered,l,e.className):e.className!=null&&(i=e.className+" ");var c=Xt(l,void 0,o.useContext(mt));if(c.name.indexOf("-")===-1){var s=e[Yl];s&&(c=Xt([c,"label:"+s+";"]))}i+=t.key+"-"+c.name;var d={};for(var p in e)up.call(e,p)&&p!=="css"&&p!==Gl&&p!==Yl&&(d[p]=e[p]);return d.ref=r,d.className=i,o.createElement(o.Fragment,null,o.createElement(hp,{cache:t,serialized:c,isStringTag:typeof a=="string"}),o.createElement(a,d))});gp.displayName="EmotionCssPropInternal";$0(N0());var mp={name:"@emotion/react",version:"11.11.1",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.2","@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.0","@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"}}}}},Kl=!1,vp=Fn(function(e,t){!Kl&&(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?"),Kl=!0);var r=e.styles,n=Xt([r],void 0,o.useContext(mt)),a=o.useRef();return Ll(function(){var l=t.key+"-global",i=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,s=document.querySelector('style[data-emotion="'+l+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(c=!0,s.setAttribute("data-emotion",l),i.hydrate([s])),a.current=[i,c],function(){i.flush()}},[t]),Ll(function(){var l=a.current,i=l[0],c=l[1];if(c){l[1]=!1;return}if(n.next!==void 0&&Hn(t,n.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});vp.displayName="EmotionGlobal";function Ro(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var c in l)l[c]&&c&&(i&&(i+=" "),i+=c)}break}default:i=l}i&&(a&&(a+=" "),a+=i)}}return a};function yp(e,t,r){var n=[],a=Eo(e,n,r);return n.length<2?r:a+t(n)}var wp=function(e){var t=e.cache,r=e.serializedArr;return mo(function(){for(var n=0;n96?Ep:Sp},Jl=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(l){return e.__emotion_forwardProp(l)&&a(l)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},Ql=`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`,Cp=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Pn(t,r,n),mo(function(){return Hn(t,r,n)}),null},Rp=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,l,i;r!==void 0&&(l=r.label,i=r.target);var c=Jl(t,r,n),s=c||Zl(a),d=!s("as");return function(){var p=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&h.push("label:"+l+";"),p[0]==null||p[0].raw===void 0)h.push.apply(h,p);else{p[0][0]===void 0&&console.error(Ql),h.push(p[0][0]);for(var m=p.length,f=1;f({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"}}));Ht(1)(({color:e,background:t,typography:r})=>{let n=Ap({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var _p={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},kp=or` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,ts=or` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,Op=or` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,Tp=or` - 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); } -`,Mp=Ro` - animation: ${ts} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,Lp=Ro` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,$p={rotate360:kp,glow:ts,float:Op,jiggle:Tp,inlineGlow:Mp,hoverable:Lp},zp={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"},Bp={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"},Pp=e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:gu(n)}),{}),Hp=({colors:e,mono:t})=>{let r=Pp(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}}},Fp={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},jp={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},Np=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}),Va=(e=ja[H0()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:l,appPreviewBg:i,appBorderColor:c,appBorderRadius:s,fontBase:d,fontCode:p,textColor:h,textInverseColor:m,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:E,buttonBg:x,buttonBorder:y,booleanBg:b,booleanSelectedBg:w,inputBg:S,inputBorder:C,inputTextColor:R,inputBorderRadius:I,brandTitle:_,brandUrl:k,brandImage:O,brandTarget:T,gridCellSize:M,...F}=e;return{...F,base:t,color:Np(e),background:{app:a,bar:E,content:l,preview:i,gridCellSize:M||ht.gridCellSize,hoverable:ht.hoverable,positive:ht.positive,negative:ht.negative,warning:ht.warning,critical:ht.critical},typography:{fonts:{base:d,mono:p},weight:Ze.weight,size:Ze.size},animation:$p,easing:_p,input:{background:S,border:C,borderRadius:I,color:R},button:{background:x||S,border:y||C},boolean:{background:b||C,selectedBackground:w||S},layoutMargin:10,appBorderColor:c,appBorderRadius:s,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:E,brand:{title:_,url:k,image:O||(_?null:void 0),target:T},code:Hp({colors:t==="light"?Fp:jp,mono:p}),addonActionsTheme:{...t==="light"?Bp:zp,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Ze.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:h,ARROW_COLOR:su(.2,c),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Ze.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},Dp=e=>Object.keys(e).length===0,ha=e=>e!=null&&typeof e=="object",Vp=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),Up=()=>Object.create(null),rs=(e,t)=>e===t||!ha(e)||!ha(t)?{}:Object.keys(e).reduce((r,n)=>{if(Vp(t,n)){let a=rs(e[n],t[n]);return ha(a)&&Dp(a)||(r[n]=a),r}return r[n]=void 0,r},Up()),Wp=rs;function qp(e){for(var t=[],r=1;r{if(!e)return Va(hn);let t=Wp(hn,e);return Object.keys(t).length&&Eu.warn(qp` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),Va(e)},Ua="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Yp=Object.create,ns=Object.defineProperty,Kp=Object.getOwnPropertyDescriptor,as=Object.getOwnPropertyNames,Xp=Object.getPrototypeOf,Zp=Object.prototype.hasOwnProperty,N=(e,t)=>function(){return t||(0,e[as(e)[0]])((t={exports:{}}).exports,t),t.exports},Jp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of as(t))!Zp.call(e,a)&&a!==r&&ns(e,a,{get:()=>t[a],enumerable:!(n=Kp(t,a))||n.enumerable});return e},Re=(e,t,r)=>(r=e!=null?Yp(Xp(e)):{},Jp(t||!e||!e.__esModule?ns(r,"default",{value:e,enumerable:!0}):r,e)),Qp=N({"../../node_modules/refractor/lang/markdown.js"(e,t){t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var l=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(v){return v=v.replace(//g,function(){return l}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}var c=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return c}),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("^"+s+d+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+d+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(c),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(c),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(E){if(!(!E||typeof E=="string"))for(var x=0,y=E.length;x",quot:'"'},m=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(E,x){if(x=x.toLowerCase(),x[0]==="#"){var y;return x[1]==="x"?y=parseInt(x.slice(2),16):y=Number(x.slice(1)),m(y)}else{var b=h[x];return b||E}}),g}a.languages.md=a.languages.markdown})(n)}}}),e5=N({"../../node_modules/refractor/lang/yaml.js"(e,t){t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var l=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,c="(?:"+i.source+"(?:[ ]+"+l.source+")?|"+l.source+"(?:[ ]+"+i.source+")?)",s=/(?:[^\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(h,m){m=(m||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return c}).replace(/<>/g,function(){return h});return RegExp(f,m)}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 c})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return c}).replace(/<>/g,function(){return"(?:"+s+"|"+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:l,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}}}),os=N({"../../node_modules/refractor/lang/typescript.js"(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 l=a.languages.extend("typescript",{});delete l["class-name"],a.languages.typescript["class-name"].inside=l,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:l}}}}),a.languages.ts=a.languages.typescript})(n)}}}),ls=N({"../../node_modules/refractor/lang/jsx.js"(e,t){t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var l=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(m,f){return m=m.replace(//g,function(){return i}).replace(//g,function(){return c}).replace(//g,function(){return s}),RegExp(m,f)}s=d(s).source,a.languages.jsx=a.languages.extend("markup",l),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=l.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=function(m){return m?typeof m=="string"?m:typeof m.content=="string"?m.content:m.content.map(p).join(""):""},h=function(m){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--:E=!0),(E||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var x=p(g);v0&&(typeof m[v-1]=="string"||m[v-1].type==="plain-text")&&(x=p(m[v-1])+x,m.splice(v-1,1),v--),m[v]=new a.Token("plain-text",x,null,x)}g.content&&typeof g.content!="string"&&h(g.content)}};a.hooks.add("after-tokenize",function(m){m.language!=="jsx"&&m.language!=="tsx"||h(m.tokens)})})(n)}}}),t5=N({"../../node_modules/refractor/lang/tsx.js"(e,t){var r=ls(),n=os();t.exports=a,a.displayName="tsx",a.aliases=[];function a(l){l.register(r),l.register(n),function(i){var c=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",c),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var s=i.languages.tsx.tag;s.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+s.pattern.source+")",s.pattern.flags),s.lookbehind=!0}(l)}}}),r5=N({"../../node_modules/refractor/lang/clike.js"(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:/[{}[\];(),.:]/}}}}),n5=N({"../../node_modules/refractor/lang/javascript.js"(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}}}),is=N({"../../node_modules/refractor/lang/css.js"(e,t){t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var l=/(?:"(?:\\(?:\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\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,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)}}}),ss=N({"../../node_modules/refractor/lang/markup.js"(e,t){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:function(a,l){var i={};i["language-"+l]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[l]},i.cdata=/^$/i;var c={"included-cdata":{pattern://i,inside:i}};c["language-"+l]={pattern:/[\s\S]+/,inside:n.languages[l]};var s={};s[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:c},n.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(a,l){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:[l,"language-"+l],inside:n.languages[l]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),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}}}),a5=N({"../../node_modules/xtend/immutable.js"(e,t){t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},l=0;l4&&E.slice(0,4)===l&&i.test(g)&&(g.charAt(4)==="-"?x=p(g):g=h(g),y=n),new y(x,g))}function p(v){var g=v.slice(5).replace(c,f);return l+g.charAt(0).toUpperCase()+g.slice(1)}function h(v){var g=v.slice(4);return c.test(g)?v:(g=g.replace(s,m),g.charAt(0)!=="-"&&(g="-"+g),l+g)}function m(v){return"-"+v.toLowerCase()}function f(v){return v.charAt(1).toUpperCase()}}}),h5=N({"../../node_modules/hast-util-parse-selector/index.js"(e,t){t.exports=n;var r=/[#.]/g;function n(a,l){for(var i=a||"",c=l||"div",s={},d=0,p,h,m;d",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:"ÿ"}}}),x5=N({"../../node_modules/refractor/node_modules/character-reference-invalid/index.json"(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:"Ÿ"}}}),fs=N({"../../node_modules/refractor/node_modules/is-decimal/index.js"(e,t){t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}}}),E5=N({"../../node_modules/refractor/node_modules/is-hexadecimal/index.js"(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}}}),S5=N({"../../node_modules/refractor/node_modules/is-alphabetical/index.js"(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}}}),C5=N({"../../node_modules/refractor/node_modules/is-alphanumerical/index.js"(e,t){var r=S5(),n=fs();t.exports=a;function a(l){return r(l)||n(l)}}}),R5=N({"../../node_modules/refractor/node_modules/parse-entities/decode-entity.browser.js"(e,t){var r,n=59;t.exports=a;function a(l){var i="&"+l+";",c;return r=r||document.createElement("i"),r.innerHTML=i,c=r.textContent,c.charCodeAt(c.length-1)===n&&l!=="semi"||c===i?!1:c}}}),I5=N({"../../node_modules/refractor/node_modules/parse-entities/index.js"(e,t){var r=w5(),n=x5(),a=fs(),l=E5(),i=C5(),c=R5();t.exports=Z;var s={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},m=9,f=10,v=12,g=32,E=38,x=59,y=60,b=61,w=35,S=88,C=120,R=65533,I="named",_="hexadecimal",k="decimal",O={};O[_]=16,O[k]=10;var T={};T[I]=i,T[k]=a,T[_]=l;var M=1,F=2,L=3,$=4,j=5,V=6,P=7,D={};D[M]="Named character references must be terminated by a semicolon",D[F]="Numeric character references must be terminated by a semicolon",D[L]="Named character references cannot be empty",D[$]="Numeric character references cannot be empty",D[j]="Named character references must be known",D[V]="Numeric character references cannot be disallowed",D[P]="Numeric character references cannot be outside the permissible Unicode range";function Z(B,U){var q={},se,me;U||(U={});for(me in h)se=U[me],q[me]=se??h[me];return(q.position.indent||q.position.start)&&(q.indent=q.position.indent||[],q.position=q.position.start),ne(B,q)}function ne(B,U){var q=U.additional,se=U.nonTerminated,me=U.text,nt=U.reference,Ie=U.warning,He=U.textContext,z=U.referenceContext,ze=U.warningContext,Fe=U.position,yt=U.indent||[],Nt=B.length,je=0,Vr=-1,ve=Fe.column||1,wt=Fe.line||1,Ne="",Dt=[],De,Vt,Ve,pe,Be,ce,ae,Ue,Ur,ta,xt,ur,Et,at,Il,pr,Wr,We,de;for(typeof q=="string"&&(q=q.charCodeAt(0)),pr=fr(),Ue=Ie?J1:p,je--,Nt++;++je65535&&(ce-=65536,ta+=d(ce>>>10|55296),ce=56320|ce&1023),ce=ta+d(ce))):at!==I&&Ue($,We)),ce?(Al(),pr=fr(),je=de-1,ve+=de-Et+1,Dt.push(ce),Wr=fr(),Wr.offset++,nt&&nt.call(z,ce,{start:pr,end:Wr},B.slice(Et-1,de)),pr=Wr):(pe=B.slice(Et-1,de),Ne+=pe,ve+=pe.length,je=de-1)}else Be===10&&(wt++,Vr++,ve=0),Be===Be?(Ne+=d(Be),ve++):Al();return Dt.join("");function fr(){return{line:wt,column:ve,offset:je+(Fe.offset||0)}}function J1(_l,kl){var ra=fr();ra.column+=kl,ra.offset+=kl,Ie.call(ze,D[_l],ra,_l)}function Al(){Ne&&(Dt.push(Ne),me&&me.call(He,Ne,{start:pr,end:fr()}),Ne="")}}function X(B){return B>=55296&&B<=57343||B>1114111}function J(B){return B>=1&&B<=8||B===11||B>=13&&B<=31||B>=127&&B<=159||B>=64976&&B<=65007||(B&65535)===65535||(B&65535)===65534}}}),A5=N({"../../node_modules/refractor/node_modules/prismjs/components/prism-core.js"(e,t){var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,c={},s={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function b(w){return w instanceof d?new d(w.type,b(w.content),w.alias):Array.isArray(w)?w.map(b):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(C){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(C.stack)||[])[1];if(b){var w=document.getElementsByTagName("script");for(var S in w)if(w[S].src==b)return w[S]}return null}},isActive:function(b,w,S){for(var C="no-"+w;b;){var R=b.classList;if(R.contains(w))return!0;if(R.contains(C))return!1;b=b.parentElement}return!!S}},languages:{plain:c,plaintext:c,text:c,txt:c,extend:function(b,w){var S=s.util.clone(s.languages[b]);for(var C in w)S[C]=w[C];return S},insertBefore:function(b,w,S,C){C=C||s.languages;var R=C[b],I={};for(var _ in R)if(R.hasOwnProperty(_)){if(_==w)for(var k in S)S.hasOwnProperty(k)&&(I[k]=S[k]);S.hasOwnProperty(_)||(I[_]=R[_])}var O=C[b];return C[b]=I,s.languages.DFS(s.languages,function(T,M){M===O&&T!=b&&(this[T]=I)}),I},DFS:function b(w,S,C,R){R=R||{};var I=s.util.objId;for(var _ in w)if(w.hasOwnProperty(_)){S.call(w,_,w[_],C||_);var k=w[_],O=s.util.type(k);O==="Object"&&!R[I(k)]?(R[I(k)]=!0,b(k,S,null,R)):O==="Array"&&!R[I(k)]&&(R[I(k)]=!0,b(k,S,_,R))}}},plugins:{},highlightAll:function(b,w){s.highlightAllUnder(document,b,w)},highlightAllUnder:function(b,w,S){var C={callback:S,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",C),C.elements=Array.prototype.slice.apply(C.container.querySelectorAll(C.selector)),s.hooks.run("before-all-elements-highlight",C);for(var R=0,I;I=C.elements[R++];)s.highlightElement(I,w===!0,C.callback)},highlightElement:function(b,w,S){var C=s.util.getLanguage(b),R=s.languages[C];s.util.setLanguage(b,C);var I=b.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(I,C);var _=b.textContent,k={element:b,language:C,grammar:R,code:_};function O(M){k.highlightedCode=M,s.hooks.run("before-insert",k),k.element.innerHTML=k.highlightedCode,s.hooks.run("after-highlight",k),s.hooks.run("complete",k),S&&S.call(k.element)}if(s.hooks.run("before-sanity-check",k),I=k.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!k.code){s.hooks.run("complete",k),S&&S.call(k.element);return}if(s.hooks.run("before-highlight",k),!k.grammar){O(s.util.encode(k.code));return}if(w&&a.Worker){var T=new Worker(s.filename);T.onmessage=function(M){O(M.data)},T.postMessage(JSON.stringify({language:k.language,code:k.code,immediateClose:!0}))}else O(s.highlight(k.code,k.grammar,k.language))},highlight:function(b,w,S){var C={code:b,grammar:w,language:S};if(s.hooks.run("before-tokenize",C),!C.grammar)throw new Error('The language "'+C.language+'" has no grammar.');return C.tokens=s.tokenize(C.code,C.grammar),s.hooks.run("after-tokenize",C),d.stringify(s.util.encode(C.tokens),C.language)},tokenize:function(b,w){var S=w.rest;if(S){for(var C in S)w[C]=S[C];delete w.rest}var R=new m;return f(R,R.head,b),h(b,R,w,R.head,0),g(R)},hooks:{all:{},add:function(b,w){var S=s.hooks.all;S[b]=S[b]||[],S[b].push(w)},run:function(b,w){var S=s.hooks.all[b];if(!(!S||!S.length))for(var C=0,R;R=S[C++];)R(w)}},Token:d};a.Prism=s;function d(b,w,S,C){this.type=b,this.content=w,this.alias=S,this.length=(C||"").length|0}d.stringify=function b(w,S){if(typeof w=="string")return w;if(Array.isArray(w)){var C="";return w.forEach(function(O){C+=b(O,S)}),C}var R={type:w.type,content:b(w.content,S),tag:"span",classes:["token",w.type],attributes:{},language:S},I=w.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(R.classes,I):R.classes.push(I)),s.hooks.run("wrap",R);var _="";for(var k in R.attributes)_+=" "+k+'="'+(R.attributes[k]||"").replace(/"/g,""")+'"';return"<"+R.tag+' class="'+R.classes.join(" ")+'"'+_+">"+R.content+""};function p(b,w,S,C){b.lastIndex=w;var R=b.exec(S);if(R&&C&&R[1]){var I=R[1].length;R.index+=I,R[0]=R[0].slice(I)}return R}function h(b,w,S,C,R,I){for(var _ in S)if(!(!S.hasOwnProperty(_)||!S[_])){var k=S[_];k=Array.isArray(k)?k:[k];for(var O=0;O=I.reach);D+=P.value.length,P=P.next){var Z=P.value;if(w.length>b.length)return;if(!(Z instanceof d)){var ne=1,X;if(L){if(X=p(V,D,b,F),!X||X.index>=b.length)break;var q=X.index,J=X.index+X[0].length,B=D;for(B+=P.value.length;q>=B;)P=P.next,B+=P.value.length;if(B-=P.value.length,D=B,P.value instanceof d)continue;for(var U=P;U!==w.tail&&(BI.reach&&(I.reach=Ie);var He=P.prev;me&&(He=f(w,He,me),D+=me.length),v(w,He,ne);var z=new d(_,M?s.tokenize(se,M):se,$,se);if(P=f(w,He,z),nt&&f(w,P,nt),ne>1){var ze={cause:_+","+O,reach:Ie};h(b,w,S,P.prev,D,ze),I&&ze.reach>I.reach&&(I.reach=ze.reach)}}}}}}function m(){var b={value:null,prev:null,next:null},w={value:null,prev:b,next:null};b.next=w,this.head=b,this.tail=w,this.length=0}function f(b,w,S){var C=w.next,R={value:S,prev:w,next:C};return w.next=R,C.prev=R,b.length++,R}function v(b,w,S){for(var C=w.next,R=0;R>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+l),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;|&]|[<>]\\()"+l),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:c},{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:c},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:c.entity}}],environment:{pattern:RegExp("\\$?"+l),alias:"constant"},variable:c.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 s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=c.variable[1].inside,p=0;p/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),m)}a.languages.insertBefore("javascript","keyword",{imports:{pattern:l(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:l(/(\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:l(/(\.\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"],c=0;c0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var E=i;E=0&&p(x,"variable-input")}}}}})}}});const{logger:L5}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:$5}=__STORYBOOK_MODULE_GLOBAL__;var z5=Re(ls()),B5=z5.default,P5=Re(k5()),H5=P5.default,F5=Re(is()),j5=F5.default,N5=Re(O5()),D5=N5.default,V5=Re(T5()),U5=V5.default,W5=Re(M5()),q5=W5.default,G5=Re(ss()),Y5=G5.default,K5=Re(Qp()),X5=K5.default,Z5=Re(e5()),J5=Z5.default,Q5=Re(t5()),ef=Q5.default,tf=Re(os()),rf=tf.default;function nf(e,t){if(e==null)return{};var r=Io(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Wa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=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])]}var ga={};function ff(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return ga[t]||(ga[t]=pf(e)),ga[t]}function hf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(l){return l!=="token"}),a=ff(n);return a.reduce(function(l,i){return qt(qt({},l),r[i])},t)}function ti(e){return e.join(" ")}function gf(e,t){var r=0;return function(n){return r+=1,n.map(function(a,l){return ko({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(l)})})}}function ko(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,l=e.useInlineStyles,i=e.key,c=t.properties,s=t.type,d=t.tagName,p=t.value;if(s==="text")return p;if(d){var h=gf(r,l),m;if(!l)m=qt(qt({},c),{},{className:ti(c.className)});else{var f=Object.keys(r).reduce(function(x,y){return y.split(".").forEach(function(b){x.includes(b)||x.push(b)}),x},[]),v=c.className&&c.className.includes("token")?["token"]:[],g=c.className&&v.concat(c.className.filter(function(x){return!f.includes(x)}));m=qt(qt({},c),{},{className:ti(g)||void 0,style:hf(c.className,Object.assign({},c.style,a),r)})}var E=h(t.children);return u.createElement(d,G({key:i},m),E)}}var mf=function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},vf=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function ri(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 Ke(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 on({children:S,lineNumber:C,lineNumberStyle:c,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:R,showLineNumbers:n,wrapLongLines:s})}function g(S,C){if(n&&C&&a){var R=ms(c,C,i);S.unshift(gs(C,R))}return S}function E(S,C){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||R.length>0?v(S,C,R):g(S,C)}for(var x=function(){var S=p[f],C=S.children[0].value,R=yf(C);if(R){var I=C.split(` -`);I.forEach(function(_,k){var O=n&&h.length+l,T={type:"text",value:"".concat(_,` -`)};if(k===0){var M=p.slice(m+1,f).concat(on({children:[T],className:S.properties.className})),F=E(M,O);h.push(F)}else if(k===I.length-1){var L=p[f+1]&&p[f+1].children&&p[f+1].children[0],$={type:"text",value:"".concat(_)};if(L){var j=on({children:[$],className:S.properties.className});p.splice(f+1,0,j)}else{var V=[$],P=E(V,O,S.properties.className);h.push(P)}}else{var D=[T],Z=E(D,O,S.properties.className);h.push(Z)}}),m=f}f++};f({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),ys=A.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});ys.displayName="ActionButton";var Lo=({actionItems:e,...t})=>u.createElement(Af,{...t},e.map(({title:r,className:n,onClick:a,disabled:l},i)=>u.createElement(ys,{key:i,className:n,onClick:a,disabled:l},r))),_f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Hr=_f.reduce((e,t)=>{let r=o.forwardRef((n,a)=>{let{asChild:l,...i}=n,c=l?w0:t;return o.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),o.createElement(c,G({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function kf(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Of(...e){return t=>e.forEach(r=>kf(r,t))}function Ft(...e){return o.useCallback(Of(...e),e)}var qa=globalThis!=null&&globalThis.document?o.useLayoutEffect:()=>{};function Tf(e,t){return o.useReducer((r,n)=>t[r][n]??r,e)}var Fr=e=>{let{present:t,children:r}=e,n=Mf(t),a=typeof r=="function"?r({present:n.isPresent}):o.Children.only(r),l=Ft(n.ref,a.ref);return typeof r=="function"||n.isPresent?o.cloneElement(a,{ref:l}):null};Fr.displayName="Presence";function Mf(e){let[t,r]=o.useState(),n=o.useRef({}),a=o.useRef(e),l=o.useRef("none"),i=e?"mounted":"unmounted",[c,s]=Tf(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return o.useEffect(()=>{let d=Yr(n.current);l.current=c==="mounted"?d:"none"},[c]),qa(()=>{let d=n.current,p=a.current;if(p!==e){let h=l.current,m=Yr(d);e?s("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?s("UNMOUNT"):s(p&&h!==m?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,s]),qa(()=>{if(t){let d=h=>{let m=Yr(n.current).includes(h.animationName);h.target===t&&m&&y0.flushSync(()=>s("ANIMATION_END"))},p=h=>{h.target===t&&(l.current=Yr(n.current))};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 s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:o.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Yr(e){return(e==null?void 0:e.animationName)||"none"}function Lf(e,t=[]){let r=[];function n(l,i){let c=o.createContext(i),s=r.length;r=[...r,i];function d(h){let{scope:m,children:f,...v}=h,g=(m==null?void 0:m[e][s])||c,E=o.useMemo(()=>v,Object.values(v));return o.createElement(g.Provider,{value:E},f)}function p(h,m){let f=(m==null?void 0:m[e][s])||c,v=o.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${l}\``)}return d.displayName=l+"Provider",[d,p]}let a=()=>{let l=r.map(i=>o.createContext(i));return function(i){let c=(i==null?void 0:i[e])||l;return o.useMemo(()=>({[`__scope${e}`]:{...i,[e]:c}}),[i,c])}};return a.scopeName=e,[n,$f(a,...t)]}function $f(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let l=n.reduce((i,{useScope:c,scopeName:s})=>{let d=c(a)[`__scope${s}`];return{...i,...d}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return r.scopeName=t.scopeName,r}function At(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}var zf=o.createContext(void 0);function Bf(e){let t=o.useContext(zf);return e||t||"ltr"}function Pf(e,[t,r]){return Math.min(r,Math.max(t,e))}function Ot(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function Hf(e,t){return o.useReducer((r,n)=>t[r][n]??r,e)}var ws="ScrollArea",[xs,iA]=Lf(ws),[Ff,Le]=xs(ws),jf=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:l=600,...i}=e,[c,s]=o.useState(null),[d,p]=o.useState(null),[h,m]=o.useState(null),[f,v]=o.useState(null),[g,E]=o.useState(null),[x,y]=o.useState(0),[b,w]=o.useState(0),[S,C]=o.useState(!1),[R,I]=o.useState(!1),_=Ft(t,O=>s(O)),k=Bf(a);return o.createElement(Ff,{scope:r,type:n,dir:k,scrollHideDelay:l,scrollArea:c,viewport:d,onViewportChange:p,content:h,onContentChange:m,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:S,onScrollbarXEnabledChange:C,scrollbarY:g,onScrollbarYChange:E,scrollbarYEnabled:R,onScrollbarYEnabledChange:I,onCornerWidthChange:y,onCornerHeightChange:w},o.createElement(Hr.div,G({dir:k},i,{ref:_,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":b+"px",...e.style}})))}),Nf="ScrollAreaViewport",Df=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,...a}=e,l=Le(Nf,r),i=o.useRef(null),c=Ft(t,i,l.onViewportChange);return o.createElement(o.Fragment,null,o.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),o.createElement(Hr.div,G({"data-radix-scroll-area-viewport":""},a,{ref:c,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style}}),o.createElement("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),st="ScrollAreaScrollbar",Vf=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Le(st,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:i}=a,c=e.orientation==="horizontal";return o.useEffect(()=>(c?l(!0):i(!0),()=>{c?l(!1):i(!1)}),[c,l,i]),a.type==="hover"?o.createElement(Uf,G({},n,{ref:t,forceMount:r})):a.type==="scroll"?o.createElement(Wf,G({},n,{ref:t,forceMount:r})):a.type==="auto"?o.createElement(Es,G({},n,{ref:t,forceMount:r})):a.type==="always"?o.createElement($o,G({},n,{ref:t})):null}),Uf=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Le(st,e.__scopeScrollArea),[l,i]=o.useState(!1);return o.useEffect(()=>{let c=a.scrollArea,s=0;if(c){let d=()=>{window.clearTimeout(s),i(!0)},p=()=>{s=window.setTimeout(()=>i(!1),a.scrollHideDelay)};return c.addEventListener("pointerenter",d),c.addEventListener("pointerleave",p),()=>{window.clearTimeout(s),c.removeEventListener("pointerenter",d),c.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),o.createElement(Fr,{present:r||l},o.createElement(Es,G({"data-state":l?"visible":"hidden"},n,{ref:t})))}),Wf=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Le(st,e.__scopeScrollArea),l=e.orientation==="horizontal",i=Nn(()=>s("SCROLL_END"),100),[c,s]=Hf("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 o.useEffect(()=>{if(c==="idle"){let d=window.setTimeout(()=>s("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[c,a.scrollHideDelay,s]),o.useEffect(()=>{let d=a.viewport,p=l?"scrollLeft":"scrollTop";if(d){let h=d[p],m=()=>{let f=d[p];h!==f&&(s("SCROLL"),i()),h=f};return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[a.viewport,l,s,i]),o.createElement(Fr,{present:r||c!=="hidden"},o.createElement($o,G({"data-state":c==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:Ot(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:Ot(e.onPointerLeave,()=>s("POINTER_LEAVE"))})))}),Es=o.forwardRef((e,t)=>{let r=Le(st,e.__scopeScrollArea),{forceMount:n,...a}=e,[l,i]=o.useState(!1),c=e.orientation==="horizontal",s=Nn(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=Le(st,e.__scopeScrollArea),l=o.useRef(null),i=o.useRef(0),[c,s]=o.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Is(c.viewport,c.content),p={...n,sizes:c,onSizesChange:s,hasThumb:d>0&&d<1,onThumbChange:m=>l.current=m,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:m=>i.current=m};function h(m,f){return Qf(m,i.current,c,f)}return r==="horizontal"?o.createElement(qf,G({},p,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){let m=a.viewport.scrollLeft,f=ni(m,c,a.dir);l.current.style.transform=`translate3d(${f}px, 0, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollLeft=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollLeft=h(m,a.dir))}})):r==="vertical"?o.createElement(Gf,G({},p,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){let m=a.viewport.scrollTop,f=ni(m,c);l.current.style.transform=`translate3d(0, ${f}px, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollTop=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollTop=h(m))}})):null}),qf=o.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,l=Le(st,e.__scopeScrollArea),[i,c]=o.useState(),s=o.useRef(null),d=Ft(t,s,l.onScrollbarXChange);return o.useEffect(()=>{s.current&&c(getComputedStyle(s.current))},[s]),o.createElement(Cs,G({"data-orientation":"horizontal"},a,{ref:d,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":jn(r)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.x),onDragScroll:p=>e.onDragScroll(p.x),onWheelScroll:(p,h)=>{if(l.viewport){let m=l.viewport.scrollLeft+p.deltaX;e.onWheelScroll(m),_s(m,h)&&p.preventDefault()}},onResize:()=>{s.current&&l.viewport&&i&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:vn(i.paddingLeft),paddingEnd:vn(i.paddingRight)}})}}))}),Gf=o.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,l=Le(st,e.__scopeScrollArea),[i,c]=o.useState(),s=o.useRef(null),d=Ft(t,s,l.onScrollbarYChange);return o.useEffect(()=>{s.current&&c(getComputedStyle(s.current))},[s]),o.createElement(Cs,G({"data-orientation":"vertical"},a,{ref:d,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":jn(r)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.y),onDragScroll:p=>e.onDragScroll(p.y),onWheelScroll:(p,h)=>{if(l.viewport){let m=l.viewport.scrollTop+p.deltaY;e.onWheelScroll(m),_s(m,h)&&p.preventDefault()}},onResize:()=>{s.current&&l.viewport&&i&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:vn(i.paddingTop),paddingEnd:vn(i.paddingBottom)}})}}))}),[Yf,Ss]=xs(st),Cs=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:l,onThumbPointerUp:i,onThumbPointerDown:c,onThumbPositionChange:s,onDragScroll:d,onWheelScroll:p,onResize:h,...m}=e,f=Le(st,r),[v,g]=o.useState(null),E=Ft(t,_=>g(_)),x=o.useRef(null),y=o.useRef(""),b=f.viewport,w=n.content-n.viewport,S=At(p),C=At(s),R=Nn(h,10);function I(_){if(x.current){let k=_.clientX-x.current.left,O=_.clientY-x.current.top;d({x:k,y:O})}}return o.useEffect(()=>{let _=k=>{let O=k.target;v!=null&&v.contains(O)&&S(k,w)};return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[b,v,w,S]),o.useEffect(C,[n,C]),Zt(v,R),Zt(f.content,R),o.createElement(Yf,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:At(l),onThumbPointerUp:At(i),onThumbPositionChange:C,onThumbPointerDown:At(c)},o.createElement(Hr.div,G({},m,{ref:E,style:{position:"absolute",...m.style},onPointerDown:Ot(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),x.current=v.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),I(_))}),onPointerMove:Ot(e.onPointerMove,I),onPointerUp:Ot(e.onPointerUp,_=>{let k=_.target;k.hasPointerCapture(_.pointerId)&&k.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=y.current,f.viewport&&(f.viewport.style.scrollBehavior=""),x.current=null})})))}),Ga="ScrollAreaThumb",Kf=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ss(Ga,e.__scopeScrollArea);return o.createElement(Fr,{present:r||a.hasThumb},o.createElement(Xf,G({ref:t},n)))}),Xf=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,l=Le(Ga,r),i=Ss(Ga,r),{onThumbPositionChange:c}=i,s=Ft(t,h=>i.onThumbChange(h)),d=o.useRef(),p=Nn(()=>{d.current&&(d.current(),d.current=void 0)},100);return o.useEffect(()=>{let h=l.viewport;if(h){let m=()=>{if(p(),!d.current){let f=eh(h,c);d.current=f,c()}};return c(),h.addEventListener("scroll",m),()=>h.removeEventListener("scroll",m)}},[l.viewport,p,c]),o.createElement(Hr.div,G({"data-state":i.hasThumb?"visible":"hidden"},a,{ref:s,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Ot(e.onPointerDownCapture,h=>{let m=h.target.getBoundingClientRect(),f=h.clientX-m.left,v=h.clientY-m.top;i.onThumbPointerDown({x:f,y:v})}),onPointerUp:Ot(e.onPointerUp,i.onThumbPointerUp)}))}),Rs="ScrollAreaCorner",Zf=o.forwardRef((e,t)=>{let r=Le(Rs,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?o.createElement(Jf,G({},e,{ref:t})):null}),Jf=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Le(Rs,r),[l,i]=o.useState(0),[c,s]=o.useState(0),d=!!(l&&c);return Zt(a.scrollbarX,()=>{var p;let h=((p=a.scrollbarX)===null||p===void 0?void 0:p.offsetHeight)||0;a.onCornerHeightChange(h),s(h)}),Zt(a.scrollbarY,()=>{var p;let h=((p=a.scrollbarY)===null||p===void 0?void 0:p.offsetWidth)||0;a.onCornerWidthChange(h),i(h)}),d?o.createElement(Hr.div,G({},n,{ref:t,style:{width:l,height:c,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function vn(e){return e?parseInt(e,10):0}function Is(e,t){let r=e/t;return isNaN(r)?0:r}function jn(e){let t=Is(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Qf(e,t,r,n="ltr"){let a=jn(r),l=a/2,i=t||l,c=a-i,s=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-c,p=r.content-r.viewport,h=n==="ltr"?[0,p]:[p*-1,0];return As([s,d],h)(e)}function ni(e,t,r="ltr"){let n=jn(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-a,i=t.content-t.viewport,c=l-n,s=r==="ltr"?[0,i]:[i*-1,0],d=Pf(e,s);return As([0,i],[0,c])(d)}function As(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 _s(e,t){return e>0&&e{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){let l={left:e.scrollLeft,top:e.scrollTop},i=r.left!==l.left,c=r.top!==l.top;(i||c)&&t(),r=l,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function Nn(e,t){let r=At(e),n=o.useRef(0);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),o.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Zt(e,t){let r=At(t);qa(()=>{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])}var th=jf,rh=Df,nh=Vf,ah=Kf,oh=Zf,lh=A(th)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),ih=A(rh)({width:"100%",height:"100%"}),ai=A(nh)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight: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}})),oi=A(ah)(({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%"}})),zo=({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:l})=>u.createElement(lh,{scrollbarsize:a,offset:n,className:l},u.createElement(ih,null,e),t&&u.createElement(ai,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},u.createElement(oi,null)),r&&u.createElement(ai,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},u.createElement(oi,null)),t&&r&&u.createElement(oh,null)),{navigator:Kr,document:gr,window:sh}=$5,ch={jsextra:D5,jsx:B5,json:U5,yml:J5,md:X5,bash:H5,css:j5,html:Y5,tsx:ef,typescript:rf,graphql:q5};Object.entries(ch).forEach(([e,t])=>{Mo.registerLanguage(e,t)});var dh=Ht(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),uh=ks();function ks(){return Kr!=null&&Kr.clipboard?e=>Kr.clipboard.writeText(e):async e=>{let t=gr.createElement("TEXTAREA"),r=gr.activeElement;t.value=e,gr.body.appendChild(t),t.select(),gr.execCommand("copy"),gr.body.removeChild(t),r.focus()}}var ph=A.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)"}}:{}),fh=({children:e,className:t})=>u.createElement(zo,{horizontal:!0,vertical:!0,className:t},e),hh=A(fh)({position:"relative"},({theme:e})=>dh(e)),gh=A.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),mh=A.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Os=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}},vh=({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>ko({node:Os(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),bh=(e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Os(a)),...n}):vh:e,Bo=({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:l=!0,formatter:i=null,className:c=null,showLineNumbers:s=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,h]=o.useState("");o.useEffect(()=>{i?i(l,e).then(h):h(e.trim())},[e,l,i]);let[m,f]=o.useState(!1),v=o.useCallback(E=>{E.preventDefault(),uh(p).then(()=>{f(!0),sh.setTimeout(()=>f(!1),1500)}).catch(L5.error)},[p]),g=bh(d.renderer,s);return u.createElement(ph,{bordered:n,padded:a,showLineNumbers:s,className:c},u.createElement(hh,null,u.createElement(Mo,{padded:a||n,language:t,showLineNumbers:s,showInlineLineNumbers:s,useInlineStyles:!1,PreTag:gh,CodeTag:mh,lineNumberContainerStyle:{},...d,renderer:g},p)),r?u.createElement(Lo,{actionItems:[{title:m?"Copied":"Copy",onClick:v}]}):null)};Bo.registerLanguage=(...e)=>Mo.registerLanguage(...e);var sA=Bo;const{global:yh}=__STORYBOOK_MODULE_GLOBAL__;var wh=N({"../../node_modules/react-fast-compare/index.js"(e,t){var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",l=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(c,s){if(c===s)return!0;if(c&&s&&typeof c=="object"&&typeof s=="object"){if(c.constructor!==s.constructor)return!1;var d,p,h;if(Array.isArray(c)){if(d=c.length,d!=s.length)return!1;for(p=d;p--!==0;)if(!i(c[p],s[p]))return!1;return!0}var m;if(n&&c instanceof Map&&s instanceof Map){if(c.size!==s.size)return!1;for(m=c.entries();!(p=m.next()).done;)if(!s.has(p.value[0]))return!1;for(m=c.entries();!(p=m.next()).done;)if(!i(p.value[1],s.get(p.value[0])))return!1;return!0}if(a&&c instanceof Set&&s instanceof Set){if(c.size!==s.size)return!1;for(m=c.entries();!(p=m.next()).done;)if(!s.has(p.value[0]))return!1;return!0}if(l&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(s)){if(d=c.length,d!=s.length)return!1;for(p=d;p--!==0;)if(c[p]!==s[p])return!1;return!0}if(c.constructor===RegExp)return c.source===s.source&&c.flags===s.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof s.valueOf=="function")return c.valueOf()===s.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof s.toString=="function")return c.toString()===s.toString();if(h=Object.keys(c),d=h.length,d!==Object.keys(s).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(s,h[p]))return!1;if(r&&c instanceof Element)return!1;for(p=d;p--!==0;)if(!((h[p]==="_owner"||h[p]==="__v"||h[p]==="__o")&&c.$$typeof)&&!i(c[h[p]],s[h[p]]))return!1;return!0}return c!==c&&s!==s}t.exports=function(c,s){try{return i(c,s)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}}}}),li=function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},ii=typeof window<"u"&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,ye="top",Te="bottom",Me="right",we="left",Po="auto",jr=[ye,Te,Me,we],Jt="start",kr="end",xh="clippingParents",Ts="viewport",mr="popper",Eh="reference",si=jr.reduce(function(e,t){return e.concat([t+"-"+Jt,t+"-"+kr])},[]),Ms=[].concat(jr,[Po]).reduce(function(e,t){return e.concat([t,t+"-"+Jt,t+"-"+kr])},[]),Sh="beforeRead",Ch="read",Rh="afterRead",Ih="beforeMain",Ah="main",_h="afterMain",kh="beforeWrite",Oh="write",Th="afterWrite",Mh=[Sh,Ch,Rh,Ih,Ah,_h,kh,Oh,Th];function rt(e){return e?(e.nodeName||"").toLowerCase():null}function Ce(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Bt(e){var t=Ce(e).Element;return e instanceof t||e instanceof Element}function Oe(e){var t=Ce(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ho(e){if(typeof ShadowRoot>"u")return!1;var t=Ce(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Lh(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},l=t.elements[r];!Oe(l)||!rt(l)||(Object.assign(l.style,n),Object.keys(a).forEach(function(i){var c=a[i];c===!1?l.removeAttribute(i):l.setAttribute(i,c===!0?"":c)}))})}function $h(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],l=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),c=i.reduce(function(s,d){return s[d]="",s},{});!Oe(a)||!rt(a)||(Object.assign(a.style,c),Object.keys(l).forEach(function(s){a.removeAttribute(s)}))})}}var zh={name:"applyStyles",enabled:!0,phase:"write",fn:Lh,effect:$h,requires:["computeStyles"]};function tt(e){return e.split("-")[0]}var Tt=Math.max,bn=Math.min,Qt=Math.round;function Ya(){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}function Ls(){return!/^((?!chrome|android).)*safari/i.test(Ya())}function er(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,l=1;t&&Oe(e)&&(a=e.offsetWidth>0&&Qt(n.width)/e.offsetWidth||1,l=e.offsetHeight>0&&Qt(n.height)/e.offsetHeight||1);var i=Bt(e)?Ce(e):window,c=i.visualViewport,s=!Ls()&&r,d=(n.left+(s&&c?c.offsetLeft:0))/a,p=(n.top+(s&&c?c.offsetTop:0))/l,h=n.width/a,m=n.height/l;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}function Fo(e){var t=er(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}}function $s(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ho(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function it(e){return Ce(e).getComputedStyle(e)}function Bh(e){return["table","td","th"].indexOf(rt(e))>=0}function vt(e){return((Bt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Dn(e){return rt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ho(e)?e.host:null)||vt(e)}function ci(e){return!Oe(e)||it(e).position==="fixed"?null:e.offsetParent}function Ph(e){var t=/firefox/i.test(Ya()),r=/Trident/i.test(Ya());if(r&&Oe(e)){var n=it(e);if(n.position==="fixed")return null}var a=Dn(e);for(Ho(a)&&(a=a.host);Oe(a)&&["html","body"].indexOf(rt(a))<0;){var l=it(a);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return a;a=a.parentNode}return null}function Nr(e){for(var t=Ce(e),r=ci(e);r&&Bh(r)&&it(r).position==="static";)r=ci(r);return r&&(rt(r)==="html"||rt(r)==="body"&&it(r).position==="static")?t:r||Ph(e)||t}function jo(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function wr(e,t,r){return Tt(e,bn(t,r))}function Hh(e,t,r){var n=wr(e,t,r);return n>r?r:n}function zs(){return{top:0,right:0,bottom:0,left:0}}function Bs(e){return Object.assign({},zs(),e)}function Ps(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Fh=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Bs(typeof e!="number"?e:Ps(e,jr))};function jh(e){var t,r=e.state,n=e.name,a=e.options,l=r.elements.arrow,i=r.modifiersData.popperOffsets,c=tt(r.placement),s=jo(c),d=[we,Me].indexOf(c)>=0,p=d?"height":"width";if(!(!l||!i)){var h=Fh(a.padding,r),m=Fo(l),f=s==="y"?ye:we,v=s==="y"?Te:Me,g=r.rects.reference[p]+r.rects.reference[s]-i[s]-r.rects.popper[p],E=i[s]-r.rects.reference[s],x=Nr(l),y=x?s==="y"?x.clientHeight||0:x.clientWidth||0:0,b=g/2-E/2,w=h[f],S=y-m[p]-h[v],C=y/2-m[p]/2+b,R=wr(w,C,S),I=s;r.modifiersData[n]=(t={},t[I]=R,t.centerOffset=R-C,t)}}function Nh(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)||$s(t.elements.popper,a)&&(t.elements.arrow=a))}var Dh={name:"arrow",enabled:!0,phase:"main",fn:jh,effect:Nh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function tr(e){return e.split("-")[1]}var Vh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Uh(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Qt(r*a)/a||0,y:Qt(n*a)/a||0}}function di(e){var t,r=e.popper,n=e.popperRect,a=e.placement,l=e.variation,i=e.offsets,c=e.position,s=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,h=e.isFixed,m=i.x,f=m===void 0?0:m,v=i.y,g=v===void 0?0:v,E=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=E.x,g=E.y;var x=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=we,w=ye,S=window;if(d){var C=Nr(r),R="clientHeight",I="clientWidth";if(C===Ce(r)&&(C=vt(r),it(C).position!=="static"&&c==="absolute"&&(R="scrollHeight",I="scrollWidth")),C=C,a===ye||(a===we||a===Me)&&l===kr){w=Te;var _=h&&C===S&&S.visualViewport?S.visualViewport.height:C[R];g-=_-n.height,g*=s?1:-1}if(a===we||(a===ye||a===Te)&&l===kr){b=Me;var k=h&&C===S&&S.visualViewport?S.visualViewport.width:C[I];f-=k-n.width,f*=s?1:-1}}var O=Object.assign({position:c},d&&Vh),T=p===!0?Uh({x:f,y:g},Ce(r)):{x:f,y:g};if(f=T.x,g=T.y,s){var M;return Object.assign({},O,(M={},M[w]=y?"0":"",M[b]=x?"0":"",M.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",M))}return Object.assign({},O,(t={},t[w]=y?g+"px":"",t[b]=x?f+"px":"",t.transform="",t))}function Wh(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,l=r.adaptive,i=l===void 0?!0:l,c=r.roundOffsets,s=c===void 0?!0:c,d={placement:tt(t.placement),variation:tr(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,di(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,di(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var qh={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Wh,data:{}},Xr={passive:!0};function Gh(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,l=a===void 0?!0:a,i=n.resize,c=i===void 0?!0:i,s=Ce(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&d.forEach(function(p){p.addEventListener("scroll",r.update,Xr)}),c&&s.addEventListener("resize",r.update,Xr),function(){l&&d.forEach(function(p){p.removeEventListener("scroll",r.update,Xr)}),c&&s.removeEventListener("resize",r.update,Xr)}}var Yh={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Gh,data:{}},Kh={left:"right",right:"left",bottom:"top",top:"bottom"};function ln(e){return e.replace(/left|right|bottom|top/g,function(t){return Kh[t]})}var Xh={start:"end",end:"start"};function ui(e){return e.replace(/start|end/g,function(t){return Xh[t]})}function No(e){var t=Ce(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Do(e){return er(vt(e)).left+No(e).scrollLeft}function Zh(e,t){var r=Ce(e),n=vt(e),a=r.visualViewport,l=n.clientWidth,i=n.clientHeight,c=0,s=0;if(a){l=a.width,i=a.height;var d=Ls();(d||!d&&t==="fixed")&&(c=a.offsetLeft,s=a.offsetTop)}return{width:l,height:i,x:c+Do(e),y:s}}function Jh(e){var t,r=vt(e),n=No(e),a=(t=e.ownerDocument)==null?void 0:t.body,l=Tt(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Tt(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),c=-n.scrollLeft+Do(e),s=-n.scrollTop;return it(a||r).direction==="rtl"&&(c+=Tt(r.clientWidth,a?a.clientWidth:0)-l),{width:l,height:i,x:c,y:s}}function Vo(e){var t=it(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function Hs(e){return["html","body","#document"].indexOf(rt(e))>=0?e.ownerDocument.body:Oe(e)&&Vo(e)?e:Hs(Dn(e))}function xr(e,t){var r;t===void 0&&(t=[]);var n=Hs(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),l=Ce(n),i=a?[l].concat(l.visualViewport||[],Vo(n)?n:[]):n,c=t.concat(i);return a?c:c.concat(xr(Dn(i)))}function Ka(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Qh(e,t){var r=er(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 pi(e,t,r){return t===Ts?Ka(Zh(e,r)):Bt(t)?Qh(t,r):Ka(Jh(vt(e)))}function eg(e){var t=xr(Dn(e)),r=["absolute","fixed"].indexOf(it(e).position)>=0,n=r&&Oe(e)?Nr(e):e;return Bt(n)?t.filter(function(a){return Bt(a)&&$s(a,n)&&rt(a)!=="body"}):[]}function tg(e,t,r,n){var a=t==="clippingParents"?eg(e):[].concat(t),l=[].concat(a,[r]),i=l[0],c=l.reduce(function(s,d){var p=pi(e,d,n);return s.top=Tt(p.top,s.top),s.right=bn(p.right,s.right),s.bottom=bn(p.bottom,s.bottom),s.left=Tt(p.left,s.left),s},pi(e,i,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Fs(e){var t=e.reference,r=e.element,n=e.placement,a=n?tt(n):null,l=n?tr(n):null,i=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,s;switch(a){case ye:s={x:i,y:t.y-r.height};break;case Te:s={x:i,y:t.y+t.height};break;case Me:s={x:t.x+t.width,y:c};break;case we:s={x:t.x-r.width,y:c};break;default:s={x:t.x,y:t.y}}var d=a?jo(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(l){case Jt:s[d]=s[d]-(t[p]/2-r[p]/2);break;case kr:s[d]=s[d]+(t[p]/2-r[p]/2);break}}return s}function Or(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,l=r.strategy,i=l===void 0?e.strategy:l,c=r.boundary,s=c===void 0?xh:c,d=r.rootBoundary,p=d===void 0?Ts:d,h=r.elementContext,m=h===void 0?mr:h,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,E=g===void 0?0:g,x=Bs(typeof E!="number"?E:Ps(E,jr)),y=m===mr?Eh:mr,b=e.rects.popper,w=e.elements[v?y:m],S=tg(Bt(w)?w:w.contextElement||vt(e.elements.popper),s,p,i),C=er(e.elements.reference),R=Fs({reference:C,element:b,strategy:"absolute",placement:a}),I=Ka(Object.assign({},b,R)),_=m===mr?I:C,k={top:S.top-_.top+x.top,bottom:_.bottom-S.bottom+x.bottom,left:S.left-_.left+x.left,right:_.right-S.right+x.right},O=e.modifiersData.offset;if(m===mr&&O){var T=O[a];Object.keys(k).forEach(function(M){var F=[Me,Te].indexOf(M)>=0?1:-1,L=[ye,Te].indexOf(M)>=0?"y":"x";k[M]+=T[L]*F})}return k}function rg(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,l=r.rootBoundary,i=r.padding,c=r.flipVariations,s=r.allowedAutoPlacements,d=s===void 0?Ms:s,p=tr(n),h=p?c?si:si.filter(function(v){return tr(v)===p}):jr,m=h.filter(function(v){return d.indexOf(v)>=0});m.length===0&&(m=h);var f=m.reduce(function(v,g){return v[g]=Or(e,{placement:g,boundary:a,rootBoundary:l,padding:i})[tt(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}function ng(e){if(tt(e)===Po)return[];var t=ln(e);return[ui(e),t,ui(t)]}function ag(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,l=a===void 0?!0:a,i=r.altAxis,c=i===void 0?!0:i,s=r.fallbackPlacements,d=r.padding,p=r.boundary,h=r.rootBoundary,m=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,E=t.options.placement,x=tt(E),y=x===E,b=s||(y||!v?[ln(E)]:ng(E)),w=[E].concat(b).reduce(function(J,B){return J.concat(tt(B)===Po?rg(t,{placement:B,boundary:p,rootBoundary:h,padding:d,flipVariations:v,allowedAutoPlacements:g}):B)},[]),S=t.rects.reference,C=t.rects.popper,R=new Map,I=!0,_=w[0],k=0;k=0,L=F?"width":"height",$=Or(t,{placement:O,boundary:p,rootBoundary:h,altBoundary:m,padding:d}),j=F?M?Me:we:M?Te:ye;S[L]>C[L]&&(j=ln(j));var V=ln(j),P=[];if(l&&P.push($[T]<=0),c&&P.push($[j]<=0,$[V]<=0),P.every(function(J){return J})){_=O,I=!1;break}R.set(O,P)}if(I)for(var D=v?3:1,Z=function(J){var B=w.find(function(U){var q=R.get(U);if(q)return q.slice(0,J).every(function(se){return se})});if(B)return _=B,"break"},ne=D;ne>0;ne--){var X=Z(ne);if(X==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var og={name:"flip",enabled:!0,phase:"main",fn:ag,requiresIfExists:["offset"],data:{_skip:!1}};function fi(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 hi(e){return[ye,Me,Te,we].some(function(t){return e[t]>=0})}function lg(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,l=t.modifiersData.preventOverflow,i=Or(t,{elementContext:"reference"}),c=Or(t,{altBoundary:!0}),s=fi(i,n),d=fi(c,a,l),p=hi(s),h=hi(d);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}var ig={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:lg};function sg(e,t,r){var n=tt(e),a=[we,ye].indexOf(n)>=0?-1:1,l=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=l[0],c=l[1];return i=i||0,c=(c||0)*a,[we,Me].indexOf(n)>=0?{x:c,y:i}:{x:i,y:c}}function cg(e){var t=e.state,r=e.options,n=e.name,a=r.offset,l=a===void 0?[0,0]:a,i=Ms.reduce(function(p,h){return p[h]=sg(h,t.rects,l),p},{}),c=i[t.placement],s=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var dg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cg};function ug(e){var t=e.state,r=e.name;t.modifiersData[r]=Fs({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var pg={name:"popperOffsets",enabled:!0,phase:"read",fn:ug,data:{}};function fg(e){return e==="x"?"y":"x"}function hg(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,l=a===void 0?!0:a,i=r.altAxis,c=i===void 0?!1:i,s=r.boundary,d=r.rootBoundary,p=r.altBoundary,h=r.padding,m=r.tether,f=m===void 0?!0:m,v=r.tetherOffset,g=v===void 0?0:v,E=Or(t,{boundary:s,rootBoundary:d,padding:h,altBoundary:p}),x=tt(t.placement),y=tr(t.placement),b=!y,w=jo(x),S=fg(w),C=t.modifiersData.popperOffsets,R=t.rects.reference,I=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,k=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(C){if(l){var M,F=w==="y"?ye:we,L=w==="y"?Te:Me,$=w==="y"?"height":"width",j=C[w],V=j+E[F],P=j-E[L],D=f?-I[$]/2:0,Z=y===Jt?R[$]:I[$],ne=y===Jt?-I[$]:-R[$],X=t.elements.arrow,J=f&&X?Fo(X):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:zs(),U=B[F],q=B[L],se=wr(0,R[$],J[$]),me=b?R[$]/2-D-se-U-k.mainAxis:Z-se-U-k.mainAxis,nt=b?-R[$]/2+D+se+q+k.mainAxis:ne+se+q+k.mainAxis,Ie=t.elements.arrow&&Nr(t.elements.arrow),He=Ie?w==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,z=(M=O==null?void 0:O[w])!=null?M:0,ze=j+me-z-He,Fe=j+nt-z,yt=wr(f?bn(V,ze):V,j,f?Tt(P,Fe):P);C[w]=yt,T[w]=yt-j}if(c){var Nt,je=w==="x"?ye:we,Vr=w==="x"?Te:Me,ve=C[S],wt=S==="y"?"height":"width",Ne=ve+E[je],Dt=ve-E[Vr],De=[ye,we].indexOf(x)!==-1,Vt=(Nt=O==null?void 0:O[S])!=null?Nt:0,Ve=De?Ne:ve-R[wt]-I[wt]-Vt+k.altAxis,pe=De?ve+R[wt]+I[wt]-Vt-k.altAxis:Dt,Be=f&&De?Hh(Ve,ve,pe):wr(f?Ve:Ne,ve,f?pe:Dt);C[S]=Be,T[S]=Be-ve}t.modifiersData[n]=T}}var gg={name:"preventOverflow",enabled:!0,phase:"main",fn:hg,requiresIfExists:["offset"]};function mg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function vg(e){return e===Ce(e)||!Oe(e)?No(e):mg(e)}function bg(e){var t=e.getBoundingClientRect(),r=Qt(t.width)/e.offsetWidth||1,n=Qt(t.height)/e.offsetHeight||1;return r!==1||n!==1}function yg(e,t,r){r===void 0&&(r=!1);var n=Oe(t),a=Oe(t)&&bg(t),l=vt(t),i=er(e,a,r),c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((rt(t)!=="body"||Vo(l))&&(c=vg(t)),Oe(t)?(s=er(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):l&&(s.x=Do(l))),{x:i.left+c.scrollLeft-s.x,y:i.top+c.scrollTop-s.y,width:i.width,height:i.height}}function wg(e){var t=new Map,r=new Set,n=[];e.forEach(function(l){t.set(l.name,l)});function a(l){r.add(l.name);var i=[].concat(l.requires||[],l.requiresIfExists||[]);i.forEach(function(c){if(!r.has(c)){var s=t.get(c);s&&a(s)}}),n.push(l)}return e.forEach(function(l){r.has(l.name)||a(l)}),n}function xg(e){var t=wg(e);return Mh.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function Eg(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Sg(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 gi={placement:"bottom",modifiers:[],strategy:"absolute"};function mi(){for(var e=arguments.length,t=new Array(e),r=0;rt.split("-")[0]===e?r:n),dt=8,$g=A.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:`${Ae("top",r,`${dt*-1}px`,"auto")}`,top:`${Ae("bottom",r,`${dt*-1}px`,"auto")}`,right:`${Ae("left",r,`${dt*-1}px`,"auto")}`,left:`${Ae("right",r,`${dt*-1}px`,"auto")}`,borderBottomWidth:`${Ae("top",r,"0",dt)}px`,borderTopWidth:`${Ae("bottom",r,"0",dt)}px`,borderRightWidth:`${Ae("left",r,"0",dt)}px`,borderLeftWidth:`${Ae("right",r,"0",dt)}px`,borderTopColor:Ae("top",r,e.color[t]||t||e.base==="light"?yr(e.background.app):e.background.app,"transparent"),borderBottomColor:Ae("bottom",r,e.color[t]||t||e.base==="light"?yr(e.background.app):e.background.app,"transparent"),borderLeftColor:Ae("left",r,e.color[t]||t||e.base==="light"?yr(e.background.app):e.background.app,"transparent"),borderRightColor:Ae("right",r,e.color[t]||t||e.base==="light"?yr(e.background.app):e.background.app,"transparent")})),zg=A.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:e.color[t]||t||e.base==="light"?yr(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}:{}),Uo=u.forwardRef(({placement:e,hasChrome:t,children:r,arrowProps:n,tooltipRef:a,color:l,withArrows:i,...c},s)=>u.createElement(zg,{"data-testid":"tooltip",hasChrome:t,ref:s,...c,color:l},t&&i&&u.createElement($g,{placement:e,...n,color:l}),r));Uo.displayName="Tooltip";Uo.defaultProps={color:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var{document:sn}=yh,Bg=A.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,Pg=A.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,Ds=({svg:e,trigger:t,closeOnOutsideClick:r,placement:n,hasChrome:a,withArrows:l,offset:i,tooltip:c,children:s,closeOnTriggerHidden:d,mutationObserverOptions:p,defaultVisible:h,delayHide:m,visible:f,interactive:v,delayShow:g,modifiers:E,strategy:x,followCursor:y,onVisibleChange:b,...w})=>{let S=e?Pg:Bg,{getArrowProps:C,getTooltipProps:R,setTooltipRef:I,setTriggerRef:_,visible:k,state:O}=Lg({trigger:t,placement:n,defaultVisible:h,delayHide:m,interactive:v,closeOnOutsideClick:r,closeOnTriggerHidden:d,onVisibleChange:b,delayShow:g,followCursor:y,mutationObserverOptions:p,visible:f,offset:i},{modifiers:E,strategy:x}),T=u.createElement(Uo,{placement:O==null?void 0:O.placement,ref:I,hasChrome:a,arrowProps:C(),withArrows:l,...R()},typeof c=="function"?c({onHide:()=>b(!1)}):c);return u.createElement(u.Fragment,null,u.createElement(S,{trigger:t,ref:_,...w},s),k&&Q1.createPortal(T,sn.body))};Ds.defaultProps={svg:!1,trigger:"click",closeOnOutsideClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,defaultVisible:!1};var Hg=({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=o.useState(e),l=o.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return o.useEffect(()=>{let i=()=>l(!1);sn.addEventListener("keydown",i,!1);let c=Array.from(sn.getElementsByTagName("iframe")),s=[];return c.forEach(d=>{let p=()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),s.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}};p(),d.addEventListener("load",p),s.push(()=>{d.removeEventListener("load",p)})}),()=>{sn.removeEventListener("keydown",i),s.forEach(d=>{d()})}}),u.createElement(Ds,{...r,visible:n,onVisibleChange:l})},Fg=[{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","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"]},{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"]},{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"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","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"]}],jg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Ng=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Dg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Vg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Ug=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),Wg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),qg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Vs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Us=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),o.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}))),Ws=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),qs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),o.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}))),Gs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Gg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Ys=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Yg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Kg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Xg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Zg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.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}))),Jg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Qg=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),em=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),tm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Ks=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),o.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}))),rm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.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}))),nm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),am=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),om=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),lm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),im=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),sm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),cm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),dm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),um=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},o.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),o.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"}),o.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"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3492"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),pm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3493"},o.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),fm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),yn=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),hm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),gm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),mm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),vm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),bm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),ym=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),wm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),xm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Em=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Sm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Cm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Rm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Im=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Am=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),_m=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),km=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Om=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),Tm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Mm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Lm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),$m=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),zm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Bm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Pm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Hm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Fm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),jm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Nm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Dm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Vm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},o.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"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3497"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Um=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),Wm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3496"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),qm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Gm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3503"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Ym=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Km=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Xm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Zm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Jm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Qm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),e2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),t2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),r2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),n2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),a2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),o2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),l2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),i2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),s2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),c2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),d2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),u2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),p2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),f2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),h2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),g2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),m2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),v2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),b2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),y2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),w2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),x2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),E2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),S2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),C2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),R2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),I2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),o.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}))),A2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),_2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),k2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),O2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),T2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),M2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),L2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),$2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),z2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),B2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),P2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),H2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),F2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),j2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),N2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),D2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3502"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),V2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},o.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"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3501"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Xs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Zs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),o.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}))),U2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),W2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),q2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),G2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Y2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),K2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),X2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Z2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),J2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Q2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),e4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),t4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),r4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},o.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),o.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"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3614"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),n4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),o.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}))),a4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),o4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),o.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}))),l4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),i4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),s4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),c4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),d4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),u4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),p4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),f4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),h4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),g4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),m4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),v4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Js=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),b4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),y4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),w4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.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}))),x4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),E4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),S4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),C4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),R4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),I4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),A4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),_4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1449_588"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),k4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),O4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),T4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),M4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),L4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),$4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),z4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),B4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),P4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),o.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}),o.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}))),H4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),F4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),o.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}))),j4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),N4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),D4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),V4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),U4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Qs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),W4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Wo=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),ec=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),qo=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),q4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),G4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Y4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),K4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),X4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Z4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),J4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Q4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),ev=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),tv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),rv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),nv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),av=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),ov=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.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}))),lv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),iv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),tc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),sv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),cv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),dv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),uv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),pv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),fv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),hv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),gv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),mv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),vv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),bv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),yv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),wv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),xv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),o.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}))),Ev=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Sv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Cv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3594"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Rv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Iv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Av=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),_v=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),kv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Ov=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Tv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Mv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Lv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),o.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}))),$v=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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})));const zv=Object.freeze(Object.defineProperty({__proto__:null,AccessibilityAltIcon:$v,AccessibilityIcon:Lv,AddIcon:Xs,AdminIcon:Sv,AlertAltIcon:g4,AlertIcon:h4,AlignLeftIcon:xm,AlignRightIcon:Em,AppleIcon:Nm,ArrowDownIcon:K4,ArrowLeftIcon:X4,ArrowRightIcon:Z4,ArrowSolidDownIcon:Q4,ArrowSolidLeftIcon:ev,ArrowSolidRightIcon:tv,ArrowSolidUpIcon:J4,ArrowUpIcon:Y4,AzureDevOpsIcon:Gm,BackIcon:pv,BasketIcon:P4,BatchAcceptIcon:B2,BatchDenyIcon:z2,BeakerIcon:H4,BellIcon:y4,BitbucketIcon:Ym,BoldIcon:km,BookIcon:fm,BookmarkHollowIcon:I4,BookmarkIcon:A4,BottomBarIcon:y2,BottomBarToggleIcon:w2,BoxIcon:R2,BranchIcon:Hm,BrowserIcon:u2,ButtonIcon:l4,CPUIcon:x2,CalendarIcon:ym,CameraIcon:tm,CategoryIcon:gm,CertificateIcon:L4,ChangedIcon:G2,ChatIcon:e4,CheckIcon:L2,ChevronDownIcon:Qs,ChevronLeftIcon:W4,ChevronRightIcon:Wo,ChevronSmallDownIcon:qo,ChevronSmallLeftIcon:q4,ChevronSmallRightIcon:G4,ChevronSmallUpIcon:ec,ChevronUpIcon:U4,ChromaticIcon:Km,ChromeIcon:Wm,CircleHollowIcon:C4,CircleIcon:R4,ClearIcon:K2,CloseAltIcon:F2,CloseIcon:U2,CloudHollowIcon:N4,CloudIcon:D4,CogIcon:_2,CollapseIcon:nv,CommandIcon:d4,CommentAddIcon:Z2,CommentIcon:X2,CommentsIcon:Q2,CommitIcon:Pm,CompassIcon:mv,ComponentDrivenIcon:Xm,ComponentIcon:Ng,ContrastIcon:Yg,ControlsIcon:P2,CopyIcon:hm,CreditIcon:o4,CrossIcon:j2,DashboardIcon:wv,DatabaseIcon:E2,DeleteIcon:W2,DiamondIcon:_4,DirectionIcon:Cv,DiscordIcon:Zm,DocChartIcon:Cm,DocListIcon:Rm,DocumentIcon:yn,DownloadIcon:uv,DragIcon:Im,EditIcon:A2,EllipsisIcon:T2,EmailIcon:m4,ExpandAltIcon:rv,ExpandIcon:av,EyeCloseIcon:Gs,EyeIcon:qs,FaceHappyIcon:Ov,FaceNeutralIcon:Tv,FaceSadIcon:Mv,FacebookIcon:Jm,FailedIcon:Y2,FastForwardIcon:im,FigmaIcon:Qm,FilterIcon:Sm,FlagIcon:j4,FolderIcon:mm,FormIcon:$2,GDriveIcon:e2,GithubIcon:t2,GitlabIcon:r2,GlobeIcon:gv,GoogleIcon:n2,GraphBarIcon:wm,GraphLineIcon:bm,GraphqlIcon:a2,GridAltIcon:Wg,GridIcon:Dg,GrowIcon:Zg,HeartHollowIcon:k4,HeartIcon:O4,HomeIcon:Ev,HourglassIcon:F4,InfoIcon:u4,ItalicIcon:Om,JumpToIcon:S4,KeyIcon:n4,LightningIcon:Gg,LightningOffIcon:Ys,LinkBrokenIcon:b4,LinkIcon:Js,LinkedinIcon:d2,LinuxIcon:Dm,ListOrderedIcon:Mm,ListUnorderedIcon:Lm,LocationIcon:vv,LockIcon:t4,MarkdownIcon:zm,MarkupIcon:_m,MediumIcon:o2,MemoryIcon:S2,MenuIcon:Am,MergeIcon:jm,MirrorIcon:Xg,MobileIcon:f2,MoonIcon:pm,NutIcon:k2,OutboxIcon:a4,OutlineIcon:Vg,PaintBrushIcon:Jg,PaperClipIcon:Tm,ParagraphIcon:$m,PassedIcon:q2,PhoneIcon:v4,PhotoDragIcon:Ug,PhotoIcon:jg,PinAltIcon:D2,PinIcon:bv,PlayBackIcon:am,PlayIcon:nm,PlayNextIcon:om,PlusIcon:H2,PointerDefaultIcon:s4,PointerHandIcon:c4,PowerIcon:I2,PrintIcon:vm,ProceedIcon:fv,ProfileIcon:kv,PullRequestIcon:Fm,QuestionIcon:p4,RSSIcon:w4,RedirectIcon:iv,ReduxIcon:l2,RefreshIcon:hv,ReplyIcon:sv,RepoIcon:Bm,RequestChangeIcon:J2,RewindIcon:lm,RulerIcon:Qg,SearchIcon:qg,ShareAltIcon:x4,ShareIcon:E4,ShieldIcon:B4,SideBySideIcon:cm,SidebarAltIcon:m2,SidebarAltToggleIcon:v2,SidebarIcon:g2,SidebarToggleIcon:b2,SpeakerIcon:rm,StackedIcon:dm,StarHollowIcon:T4,StarIcon:M4,StickerIcon:V4,StopAltIcon:sm,StopIcon:em,StorybookIcon:qm,StructureIcon:C2,SubtractIcon:Zs,SunIcon:um,SupportIcon:f4,SwitchAltIcon:Kg,SyncIcon:cv,TabletIcon:p2,ThumbsUpIcon:z4,TimeIcon:yv,TimerIcon:xv,TransferIcon:lv,TrashIcon:N2,TwitterIcon:i2,TypeIcon:i4,UbuntuIcon:Vm,UndoIcon:tc,UnfoldIcon:ov,UnlockIcon:r4,UnpinIcon:V2,UploadIcon:dv,UserAddIcon:Av,UserAltIcon:Iv,UserIcon:Rv,UsersIcon:_v,VSCodeIcon:c2,VerifiedIcon:$4,VideoIcon:Ks,WandIcon:M2,WatchIcon:h2,WindowsIcon:Um,WrenchIcon:O2,YoutubeIcon:s2,ZoomIcon:Vs,ZoomOutIcon:Us,ZoomResetIcon:Ws,iconList:Fg},Symbol.toStringTag,{value:"Module"})),{global:Bv}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:rc,logger:Pv}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var te=({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e};function Hv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tr(e,t){return Tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Tr(e,t)}function Fv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Tr(e,t)}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xa(e)}function jv(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Nv(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function cn(e,t,r){return Nv()?cn=Reflect.construct.bind():cn=function(n,a,l){var i=[null];i.push.apply(i,a);var c=Function.bind.apply(n,i),s=new c;return l&&Tr(s,l.prototype),s},cn.apply(null,arguments)}function Za(e){var t=typeof Map=="function"?new Map:void 0;return Za=function(r){if(r===null||!jv(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return cn(r,arguments,Xa(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Tr(n,r)},Za(e)}var Dv={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 Vv(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var p=r-l/2,h=c+p,m=s+p,f=d+p;return n(h,m,f)}var wi={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 Wv(e){if(typeof e!="string")return e;var t=e.toLowerCase();return wi[t]?"#"+wi[t]:e}var qv=/^#[a-fA-F0-9]{6}$/,Gv=/^#[a-fA-F0-9]{8}$/,Yv=/^#[a-fA-F0-9]{3}$/,Kv=/^#[a-fA-F0-9]{4}$/,va=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Xv=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Zv=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Jv=/^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 Go(e){if(typeof e!="string")throw new Je(3);var t=Wv(e);if(t.match(qv))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(Gv)){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(Yv))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(Kv)){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=va.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=Xv.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var i=Zv.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Mr(c,s,d)+")",h=va.exec(p);if(!h)throw new Je(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=Jv.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,E="rgb("+Mr(f,v,g)+")",x=va.exec(E);if(!x)throw new Je(4,t,E);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Je(5)}function Qv(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?wn(e,t,r):"rgba("+Mr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?wn(e.hue,e.saturation,e.lightness):"rgba("+Mr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Je(2)}function Qa(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ja("#"+Ct(e)+Ct(t)+Ct(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ja("#"+Ct(e.red)+Ct(e.green)+Ct(e.blue));throw new Je(6)}function xn(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Go(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?Qa(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?Qa(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Je(7)}var a3=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},o3=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},l3=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},i3=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ac(e){if(typeof e!="object")throw new Je(8);if(o3(e))return xn(e);if(a3(e))return Qa(e);if(i3(e))return n3(e);if(l3(e))return r3(e);throw new Je(8)}function oc(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):oc(e,t,n)}}function Yo(e){return oc(e,e.length,[])}function Ko(e,t,r){return Math.max(e,Math.min(t,r))}function s3(e,t){if(t==="transparent")return t;var r=nc(t);return ac(G({},r,{lightness:Ko(0,1,r.lightness-parseFloat(e))}))}var c3=Yo(s3),Gt=c3;function d3(e,t){if(t==="transparent")return t;var r=nc(t);return ac(G({},r,{lightness:Ko(0,1,r.lightness+parseFloat(e))}))}var u3=Yo(d3),xi=u3;function p3(e,t){if(t==="transparent")return t;var r=Go(t),n=typeof r.alpha=="number"?r.alpha:1,a=G({},r,{alpha:Ko(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return xn(a)}var f3=Yo(p3),_e=f3,lr=({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"}}),ct=({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"?_e(.1,e.color.defaultText):_e(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),re=({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"}),jt={margin:"16px 0"},h3=({href:e,...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return u.createElement("a",{href:r,target:n,...t})},lc=A(h3)(re,({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}})),ic=A.blockquote(re,jt,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),g3=e=>typeof e=="string",m3=/[\n\r]/g,v3=A.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),ct),b3=A(Bo)(({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"}})),Xo=({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=o.Children.toArray(t);return a.filter(g3).some(l=>l.match(m3))?u.createElement(b3,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):u.createElement(v3,{...r,className:e},a)},sc=A.div(re),cc=A.dl(re,jt,{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}}),dc=A.h1(re,lr,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),Zo=A.h2(re,lr,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),Jo=A.h3(re,lr,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),uc=A.h4(re,lr,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),pc=A.h5(re,lr,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),fc=A.h6(re,lr,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),hc=A.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),gc=A.img({maxWidth:"100%"}),mc=A.li(re,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":ct({theme:e})})),y3={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},vc=A.ol(re,jt,y3,{listStyle:"decimal"}),bc=A.p(re,jt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":ct({theme:e})})),yc=A.pre(re,jt,({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"}})),wc=A.span(re,({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"}}})),xc=A.table(re,jt,({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}})),Ec=A.title(ct),w3={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},Sc=A.ul(re,jt,w3,{listStyle:"disc"}),Qo=A.div(re),Cc={h1:e=>u.createElement(dc,{...te(e,"h1")}),h2:e=>u.createElement(Zo,{...te(e,"h2")}),h3:e=>u.createElement(Jo,{...te(e,"h3")}),h4:e=>u.createElement(uc,{...te(e,"h4")}),h5:e=>u.createElement(pc,{...te(e,"h5")}),h6:e=>u.createElement(fc,{...te(e,"h6")}),pre:e=>u.createElement(yc,{...te(e,"pre")}),a:e=>u.createElement(lc,{...te(e,"a")}),hr:e=>u.createElement(hc,{...te(e,"hr")}),dl:e=>u.createElement(cc,{...te(e,"dl")}),blockquote:e=>u.createElement(ic,{...te(e,"blockquote")}),table:e=>u.createElement(xc,{...te(e,"table")}),img:e=>u.createElement(gc,{...te(e,"img")}),div:e=>u.createElement(sc,{...te(e,"div")}),span:e=>u.createElement(wc,{...te(e,"span")}),li:e=>u.createElement(mc,{...te(e,"li")}),ul:e=>u.createElement(Sc,{...te(e,"ul")}),ol:e=>u.createElement(vc,{...te(e,"ol")}),p:e=>u.createElement(bc,{...te(e,"p")}),code:e=>u.createElement(Xo,{...te(e,"code")}),tt:e=>u.createElement(Ec,{...te(e,"tt")}),resetwrapper:e=>u.createElement(Qo,{...te(e,"resetwrapper")})},x3=A.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 ${_e(.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 ${_e(.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 ${_e(.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 ${_e(.9,e.color.positiveText)}`:"none"};default:return{}}}),E3=({...e})=>u.createElement(x3,{...e}),S3=0,C3=e=>e.button===S3&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,R3=(e,t)=>{C3(e)&&(e.preventDefault(),t(e))},I3=A.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}}:{}),A3=A.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Gt(.07,e.color.secondary),"svg path:not([fill])":{fill:Gt(.07,e.color.secondary)}},"&:active":{color:Gt(.1,e.color.secondary),"svg path:not([fill])":{fill:Gt(.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"}:{}),Mt=({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:l=void 0,style:i=void 0,...c})=>u.createElement(A3,{...c,onClick:r&&e?s=>R3(s,r):r,className:l},u.createElement(I3,{withArrow:n,containsIcon:a},t,n&&u.createElement(Wo,null))),_3=A.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}})),Lt=[],rr=null,k3=o.lazy(async()=>{let{SyntaxHighlighter:e}=await zt(()=>import("./syntaxhighlighter-JOJW2KGS-wlSn0mRJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);return Lt.length>0&&(Lt.forEach(t=>{e.registerLanguage(...t)}),Lt=[]),rr===null&&(rr=e),{default:t=>u.createElement(e,{...t})}}),O3=o.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([zt(()=>import("./syntaxhighlighter-JOJW2KGS-wlSn0mRJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),zt(()=>import("./formatter-B5HCVTEV-do7XLX49.js"),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url)]);return Lt.length>0&&(Lt.forEach(r=>{e.registerLanguage(...r)}),Lt=[]),rr===null&&(rr=e),{default:r=>u.createElement(e,{...r,formatter:t})}}),Vn=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},e.format!==!1?u.createElement(O3,{...e}):u.createElement(k3,{...e}));Vn.registerLanguage=(...e)=>{if(rr!==null){rr.registerLanguage(...e);return}Lt.push(e)};var T3=e=>typeof e=="number"?e:Number(e),M3=A.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Ua}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Ua}`]:{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{}}}),L3=({col:e,row:t,outer:r,children:n,...a})=>{let l=T3(typeof r=="number"||!r?r:e||t);return u.createElement(M3,{col:e,row:t,outer:l,...a},n)},$3=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),z3=A.div(),B3=A.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),P3=({children:e,...t})=>{let[r,n]=o.Children.toArray(e);return u.createElement(B3,{...t},u.createElement($3,null,r),n&&u.createElement(z3,null,n))};function H3(e,t){var r=o.useRef(null),n=o.useRef(null);n.current=t;var a=o.useRef(null);o.useEffect(function(){l()});var l=o.useCallback(function(){var i=a.current,c=n.current,s=i||(c?c instanceof Element?c:c.current:null);r.current&&r.current.element===s&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:e,cleanup:s?e(s):void 0})},[e]);return o.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),o.useCallback(function(i){a.current=i,l()},[l])}function Ei(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}function Rc(e){e===void 0&&(e={});var t=e.onResize,r=o.useRef(void 0);r.current=t;var n=e.round||Math.round,a=o.useRef(),l=o.useState({width:void 0,height:void 0}),i=l[0],c=l[1],s=o.useRef(!1);o.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var d=o.useRef({width:void 0,height:void 0}),p=H3(o.useCallback(function(h){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(m){var f=m[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=Ei(f,v,"inlineSize"),E=Ei(f,v,"blockSize"),x=g?n(g):void 0,y=E?n(E):void 0;if(d.current.width!==x||d.current.height!==y){var b={width:x,height:y};d.current.width=x,d.current.height=y,r.current?r.current(b):s.current||c(b)}})}),a.current.instance.observe(h,{box:e.box}),function(){a.current&&a.current.instance.unobserve(h)}},[e.box,n]),e.ref);return o.useMemo(function(){return{ref:p,width:i.width,height:i.height}},[p,i.width,i.height])}var F3=A.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function j3({scale:e,children:t}){let r=o.useRef(null),[n,a]=o.useState(0),l=o.useCallback(({height:i})=>{i&&a(i/e)},[e]);return o.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),Rc({ref:r,onResize:l}),u.createElement(F3,{scale:e,elementHeight:n},u.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var N3=class extends o.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return u.createElement(u.Fragment,null,e)}},Ic={Element:j3,IFrame:N3},{document:D3}=Bv,V3=A.strong(({theme:e})=>({color:e.color.orange})),U3=A.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),Si=A.em(({theme:e})=>({color:e.textMutedColor})),W3=/(Error): (.*)\n/,q3=/at (?:(.*) )?\(?(.+)\)?/,G3=/([^@]+)?(?:\/<)?@(.+)?/,Y3=/([^@]+)?@(.+)?/,Ac=({error:e})=>{if(!e)return u.createElement(o.Fragment,null,"This error has no stack or message");if(!e.stack)return u.createElement(o.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(W3);if(!r)return u.createElement(o.Fragment,null,t);let[,n,a]=r,l=t.split(/\n/).slice(1),[,...i]=l.map(c=>{let s=c.match(q3)||c.match(G3)||c.match(Y3);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(D3.location.origin,"")}:null}).filter(Boolean);return u.createElement(o.Fragment,null,u.createElement("span",null,n),": ",u.createElement(V3,null,a),u.createElement("br",null),i.map((c,s)=>c.name?u.createElement(o.Fragment,{key:s}," ","at ",u.createElement(U3,null,c.name)," (",u.createElement(Si,null,c.location),")",u.createElement("br",null)):u.createElement(o.Fragment,{key:s}," ","at ",u.createElement(Si,null,c.location),u.createElement("br",null))))},bt=o.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:l=!1,active:i=!1,onClick:c,...s},d)=>{let p="button";s.isLink&&(p="a"),e&&(p=w0);let h=n,m=r,[f,v]=o.useState(!1),g=E=>{c&&c(E),t!=="none"&&v(!0)};if(o.useEffect(()=>{let E=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(E)},[f]),s.primary&&(h="solid",m="medium"),(s.secondary||s.tertiary||s.gray||s.outline||s.inForm)&&(h="outline",m="medium"),s.small||s.isLink||s.primary||s.secondary||s.tertiary||s.gray||s.outline||s.inForm||s.containsIcon){let E=u.Children.toArray(s.children).filter(x=>typeof x=="string"&&x!=="");rc(`Use of deprecated props in the button ${E.length>0?`"${E.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 u.createElement(K3,{as:p,ref:d,variant:h,size:m,padding:a,disabled:l,active:i,animating:f,animation:t,onClick:g,...s})});bt.displayName="Button";var K3=A("button",{shouldForwardProp:e=>vo(e)})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:l,animation:i,padding:c})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:c==="small"&&r==="small"?"0 7px":c==="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?_e(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:_e(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:_e(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${xn(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:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?_e(.86,e.color.secondary):e.base==="light"?Gt(.02,s):xi(.03,s)})()},"&:active":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Gt(.02,s):xi(.03,s)})()},"&:focus":{boxShadow:`${xn(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:l&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),$t=o.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>u.createElement(bt,{padding:e,variant:t,ref:n,...r}));$t.displayName="IconButton";var X3=A.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Z3=A.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),_c=({label:e,children:t,...r})=>u.createElement(X3,{...r},e?u.createElement(Z3,null,u.createElement("span",null,e)):null,t);_c.defaultProps={label:void 0};var J3=o.useLayoutEffect,Q3=J3,e7=function(e){var t=o.useRef(e);return Q3(function(){t.current=e}),t},Ci=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},t7=function(e,t){var r=o.useRef();return o.useCallback(function(n){e.current=n,r.current&&Ci(r.current,null),r.current=t,t&&Ci(t,n)},[t])},r7=t7,Ri={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},n7=function(e){Object.keys(Ri).forEach(function(t){e.style.setProperty(t,Ri[t],"important")})},Ii=n7,be=null,Ai=function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize};function a7(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),be||(be=document.createElement("textarea"),be.setAttribute("tabindex","-1"),be.setAttribute("aria-hidden","true"),Ii(be)),be.parentNode===null&&document.body.appendChild(be);var a=e.paddingSize,l=e.borderSize,i=e.sizingStyle,c=i.boxSizing;Object.keys(i).forEach(function(m){var f=m;be.style[f]=i[f]}),Ii(be),be.value=t;var s=Ai(be,e);be.value=t,s=Ai(be,e),be.value="x";var d=be.scrollHeight-a,p=d*r;c==="border-box"&&(p=p+a+l),s=Math.max(p,s);var h=d*n;return c==="border-box"&&(h=h+a+l),s=Math.min(h,s),[s,d]}var _i=function(){},o7=function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},l7=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],i7=!!document.documentElement.currentStyle,s7=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=o7(l7,t),n=r.boxSizing;if(n==="")return null;i7&&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),l=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:l}},c7=s7;function kc(e,t,r){var n=e7(r);o.useLayoutEffect(function(){var a=function(l){return n.current(l)};if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}var d7=function(e){kc(window,"resize",e)},u7=function(e){kc(document.fonts,"loadingdone",e)},p7=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],f7=function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,l=e.onChange,i=l===void 0?_i:l,c=e.onHeightChange,s=c===void 0?_i:c,d=Io(e,p7),p=d.value!==void 0,h=o.useRef(null),m=r7(h,t),f=o.useRef(0),v=o.useRef(),g=function(){var x=h.current,y=r&&v.current?v.current:c7(x);if(y){v.current=y;var b=a7(y,x.value||x.placeholder||"x",a,n),w=b[0],S=b[1];f.current!==w&&(f.current=w,x.style.setProperty("height",w+"px","important"),s(w,{rowHeight:S}))}},E=function(x){p||g(),i(x)};return o.useLayoutEffect(g),d7(g),u7(g),o.createElement("textarea",G({},d,{onChange:E,ref:m}))},h7=o.forwardRef(f7),g7={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},el=({theme:e})=>({...g7,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}}),tl=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},Oc=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},rl=({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{}}},m7=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement("input",{...n,ref:a})}))(el,tl,Oc,rl,{minHeight:32}),{displayName:"Input"}),v7=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement("select",{...n,ref:a})}))(el,tl,rl,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),b7=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement(h7,{...n,ref:a})}))(el,tl,Oc,rl,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Pt=Object.assign(A.form({boxSizing:"border-box",width:"100%"}),{Field:_c,Input:m7,Select:v7,Textarea:b7,Button:bt}),y7=o.lazy(()=>zt(()=>import("./WithTooltip-Y7J54OF7-0N4mmDgr.js"),__vite__mapDeps([9,1,2,3,4,5,6,7]),import.meta.url).then(e=>({default:e.WithTooltip}))),w7=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(y7,{...e})),x7=o.lazy(()=>zt(()=>import("./WithTooltip-Y7J54OF7-0N4mmDgr.js"),__vite__mapDeps([9,1,2,3,4,5,6,7]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),Tc=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(x7,{...e})),E7=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),S7=A.span(),C7=A.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),R7=A.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),I7=A.div({padding:15,width:280,boxSizing:"border-box"}),Mc=({title:e,desc:t,links:r})=>u.createElement(I7,null,u.createElement(R7,null,e&&u.createElement(E7,null,e),t&&u.createElement(S7,null,t)),r&&u.createElement(C7,null,r.map(({title:n,...a})=>u.createElement(Mt,{...a,key:n},n))));Mc.defaultProps={title:null,desc:null,links:null};var A7=A.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})),_7=({note:e,...t})=>u.createElement(A7,{...t},e),k7=A(({active:e,loading:t,disabled:r,...n})=>u.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:_e(.7,t.color.defaultText)}:{}),O7=A.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),T7=A.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),M7=A.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),L7=A.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),$7=A.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),z7=Ht(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),Lc=({loading:e,title:t,center:r,right:n,icon:a,active:l,disabled:i,isIndented:c,href:s,onClick:d,LinkWrapper:p,...h})=>{let m=z7(d,s,p),f={active:l,disabled:i};return u.createElement($7,{...f,...h,...m},a&&u.createElement(L7,{...f},a),t||r?u.createElement(T7,{isIndented:!a&&c},t&&u.createElement(k7,{...f,loading:e},t),r&&u.createElement(M7,{...f},r)):null,n&&u.createElement(O7,{...f},n))};Lc.defaultProps={loading:!1,title:u.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var nl=Lc,B7=A.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),P7=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:a,...l}=e,{title:i,href:c,active:s}=l,d=o.useCallback(h=>{r(h,l)},[r]),p=!!r;return u.createElement(nl,{title:i,active:s,href:c,id:`list-item-${n}`,LinkWrapper:t,isIndented:a,...l,...p?{onClick:d}:{}})},al=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.icon);return u.createElement(B7,null,e.map(({isGatsby:n,...a})=>u.createElement(P7,{key:a.id,LinkWrapper:n?t:null,isIndented:r,...a})))};al.defaultProps={LinkWrapper:nl.defaultProps.LinkWrapper};var H7=e=>typeof e.props.href=="string",F7=e=>typeof e.props.href!="string";function j7({children:e,...t},r){let n={props:t,ref:r};if(H7(n))return u.createElement("a",{ref:n.ref,...n.props},e);if(F7(n))return u.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}var $c=o.forwardRef(j7);$c.displayName="ButtonOrLink";var Dr=A($c,{shouldForwardProp:vo})({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}});Dr.displayName="TabButton";var N7=A.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),D7=A.div(()=>({marginTop:6,padding:7,height:28})),V7=()=>u.createElement(D7,null,u.createElement(N7,null)),eo=A.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}}:{});eo.displayName="Side";var U7=({children:e,className:t,scrollable:r})=>r?u.createElement(zo,{vertical:!1,className:t},e):u.createElement("div",{className:t},e),ol=A(U7)(({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}:{});ol.displayName="Bar";var W7=A.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Un=({children:e,backgroundColor:t,className:r,...n})=>{let[a,l]=o.Children.toArray(e);return u.createElement(ol,{className:`sb-bar ${r}`,...n},u.createElement(W7,{bgColor:t},u.createElement(eo,{scrollable:n.scrollable,left:!0},a),l?u.createElement(eo,{right:!0},l):null))};Un.displayName="FlexBar";var zc=A.div(({active:e})=>e?{display:"block"}:{display:"none"}),ki=e=>o.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let l=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof l=="function"?l:({active:i})=>u.createElement(zc,{active:i,role:"tabpanel"},l)}}),q7=A.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"})),G7=A(Dr)(({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 Y7(e){let t=o.useRef(),r=o.useRef(),n=o.useRef(new Map),{width:a=1}=Rc({ref:t}),[l,i]=o.useState(e),[c,s]=o.useState([]),d=o.useRef(e),p=o.useCallback(({menuName:m,actions:f})=>{let v=c.some(({active:x})=>x),[g,E]=o.useState(!1);return u.createElement(u.Fragment,null,u.createElement(Hg,{interactive:!0,visible:g,onVisibleChange:E,placement:"bottom",delayHide:100,tooltip:u.createElement(al,{links:c.map(({title:x,id:y,color:b,active:w})=>({id:y,title:x,color:b,active:w,onClick:S=>{S.preventDefault(),f.onSelect(y)}}))})},u.createElement(G7,{ref:r,active:v,preActive:g,style:{visibility:c.length?"visible":"hidden"},"aria-hidden":!c.length,className:"tabbutton",type:"button",role:"tab"},m,u.createElement(q7,{className:"addon-collapsible-icon",isActive:v||g}))),c.map(({title:x,id:y,color:b},w)=>{let S=`index-${w}`;return u.createElement(Dr,{id:`tabbutton-${x0(y)??S}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:C=>{n.current.set(y,C)},className:"tabbutton",type:"button",key:y,textColor:b,role:"tab"},x)}))},[c]),h=o.useCallback(()=>{if(!t.current||!r.current)return;let{x:m,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=c.length?m+f-v:m+f,E=[],x=0,y=e.filter(b=>{let{id:w}=b,S=n.current.get(w),{width:C=0}=(S==null?void 0:S.getBoundingClientRect())||{},R=m+x+C>g;return(!R||!S)&&E.push(b),x+=C,R});(E.length!==l.length||d.current!==e)&&(i(E),s(y),d.current=e)},[c.length,e,l]);return o.useLayoutEffect(h,[h,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:l,invisibleList:c,AddonTab:p}}var K7=A.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),X7=A.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),Z7=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),J7=A.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),ll=({title:e,description:t,footer:r})=>u.createElement(K7,null,u.createElement(X7,null,u.createElement(Z7,null,e),t&&u.createElement(J7,null,t)),r),Q7="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",eb=A.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"}),il=A.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});il.displayName="TabBar";var tb=A.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${Q7}`]:{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"}}:{}),rb=({active:e,render:t,children:r})=>u.createElement(zc,{active:e},t?t():r),Wn=o.memo(({children:e,selected:t,actions:r,absolute:n,bordered:a,tools:l,backgroundColor:i,id:c,menuName:s,emptyState:d,showToolsWhenEmpty:p})=>{let h=ki(e).map(y=>y.id).join(","),m=o.useMemo(()=>ki(e).map((y,b)=>({...y,active:t?y.id===t:b===0})),[t,h]),{visibleList:f,tabBarRef:v,tabRefs:g,AddonTab:E}=Y7(m),x=d??u.createElement(ll,{title:"Nothing found"});return!p&&m.length===0?x:u.createElement(eb,{absolute:n,bordered:a,id:c},u.createElement(Un,{scrollable:!1,border:!0,backgroundColor:i},u.createElement(il,{style:{whiteSpace:"normal"},ref:v,role:"tablist"},f.map(({title:y,id:b,active:w,color:S},C)=>{let R=`index-${C}`;return u.createElement(Dr,{id:`tabbutton-${x0(b)??R}`,ref:I=>{g.current.set(b,I)},className:`tabbutton ${w?"tabbutton-active":""}`,type:"button",key:b,active:w,textColor:S,onClick:I=>{I.preventDefault(),r.onSelect(b)},role:"tab"},typeof y=="function"?u.createElement("title",null):y)}),u.createElement(E,{menuName:s,actions:r})),l),u.createElement(tb,{id:"panel-tab-content",bordered:a,absolute:n},m.length?m.map(({id:y,active:b,render:w})=>u.createElement(w,{key:y,active:b},null)):x))});Wn.displayName="Tabs";Wn.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:"Tabs"};var sl=class extends o.Component{constructor(e){super(e),this.handlers={onSelect:t=>this.setState({selected:t})},this.state={selected:e.initial}}render(){let{bordered:e=!1,absolute:t=!1,children:r,backgroundColor:n,menuName:a}=this.props,{selected:l}=this.state;return u.createElement(Wn,{bordered:e,absolute:t,selected:l,backgroundColor:n,menuName:a,actions:this.handlers},r)}};sl.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var cl=A.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});cl.displayName="Separator";var nb=e=>e.reduce((t,r,n)=>r?u.createElement(o.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?u.createElement(cl,{key:`s-${n}`}):null,r.render()||r):t,null),ab=e=>{let t=o.useRef();return o.useEffect(()=>{t.current=e},[e]),t.current},ob=(e,t)=>{let r=ab(t);return e?t:r},lb=({active:e,children:t})=>u.createElement("div",{hidden:!e},ob(e,t)),ib=zv,sb=A.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,cb=({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||rc(`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=En[e]||null;if(!a)return Pv.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 l=ib[a];return u.createElement(l,{...n})},db=o.memo(function({icons:e=Object.keys(En)}){return u.createElement(sb,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>u.createElement("symbol",{id:`icon--${t}`,key:t},En[t])))}),En={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"},ub=({alt:e,...t})=>u.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?u.createElement("title",null,e):null,u.createElement("defs",null,u.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"})),u.createElement("g",{fill:"none",fillRule:"evenodd"},u.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"}),u.createElement("mask",{id:"b",fill:"#fff"},u.createElement("use",{xlinkHref:"#a"})),u.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),u.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)"}))),pb=e=>u.createElement("svg",{viewBox:"0 0 64 64",...e},u.createElement("title",null,"Storybook icon"),u.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},u.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"}),u.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"}),u.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"}))),fb=or` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,hb=A.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:`${fb} 0.7s linear infinite`,mixBlendMode:"difference"})),Oi=A.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),gb=A.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:_e(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),mb=A.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),Ti=A.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),vb=A(Ys)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),bb=or` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,yb=A.span({"&::after":{content:"'...'",animation:`${bb} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),Bc=({progress:e,error:t,size:r,...n})=>{if(t)return u.createElement(Oi,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},u.createElement(vb,null),u.createElement(Ti,null,t.message));if(e){let{value:a,modules:l}=e,{message:i}=e;return l&&(i+=` ${l.complete} / ${l.total} modules`),u.createElement(Oi,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},u.createElement(gb,null,u.createElement(mb,{style:{width:`${a*100}%`}})),u.createElement(Ti,null,i,a<1&&u.createElement(yb,{key:i})))}return u.createElement(hb,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})};function wb(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),l=a?{...wb(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(l).map(i=>`${i[0]}=${i[1]}`).join("&")}`},xb=A.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: ${Ze.fonts.mono}; - font-size: ${Ze.size.s2-1}px; -`,Eb=({code:e,...t})=>u.createElement(xb,{id:"clipboard-code",...t},e),Hc=Cc,Fc={};Object.keys(Cc).forEach(e=>{Fc[e]=o.forwardRef((t,r)=>o.createElement(e,{...t,ref:r}))});const Sb=Object.freeze(Object.defineProperty({__proto__:null,A:lc,ActionBar:Lo,AddonPanel:lb,Badge:E3,Bar:ol,Blockquote:ic,Button:bt,ClipboardCode:Eb,Code:Xo,DL:cc,Div:sc,DocumentWrapper:_3,EmptyTabContent:ll,ErrorFormatter:Ac,FlexBar:Un,Form:Pt,H1:dc,H2:Zo,H3:Jo,H4:uc,H5:pc,H6:fc,HR:hc,IconButton:$t,IconButtonSkeleton:V7,Icons:cb,Img:gc,LI:mc,Link:Mt,ListItem:nl,Loader:Bc,OL:vc,P:bc,Placeholder:P3,Pre:yc,ResetWrapper:Qo,ScrollArea:zo,Separator:cl,Spaced:L3,Span:wc,StorybookIcon:pb,StorybookLogo:ub,Symbols:db,SyntaxHighlighter:Vn,TT:Ec,TabBar:il,TabButton:Dr,TabWrapper:rb,Table:xc,Tabs:Wn,TabsState:sl,TooltipLinkList:al,TooltipMessage:Mc,TooltipNote:_7,UL:Sc,WithTooltip:w7,WithTooltipPure:Tc,Zoom:Ic,codeCommon:ct,components:Hc,createCopyToClipboardFunction:ks,getStoryHref:Pc,icons:En,interleaveSeparators:nb,nameSpaceClassNames:te,resetComponents:Fc,withReset:re},Symbol.toStringTag,{value:"Module"}));function Cb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lr(e,t){return Lr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Lr(e,t)}function Rb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Lr(e,t)}function to(e){return to=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},to(e)}function Ib(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Ab(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function dn(e,t,r){return Ab()?dn=Reflect.construct.bind():dn=function(a,l,i){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(a,c),d=new s;return i&&Lr(d,i.prototype),d},dn.apply(null,arguments)}function ro(e){var t=typeof Map=="function"?new Map:void 0;return ro=function(n){if(n===null||!Ib(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return dn(n,arguments,to(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Lr(a,n)},ro(e)}var Qe=function(e){Rb(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,Cb(n)}return t}(ro(Error));function ya(e){return Math.round(e*255)}function _b(e,t,r){return ya(e)+","+ya(t)+","+ya(r)}function $r(e,t,r,n){if(n===void 0&&(n=_b),t===0)return n(r,r,r);var a=(e%360+360)%360/60,l=(1-Math.abs(2*r-1))*t,i=l*(1-Math.abs(a%2-1)),c=0,s=0,d=0;a>=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var p=r-l/2,h=c+p,m=s+p,f=d+p;return n(h,m,f)}var Mi={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 kb(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Mi[t]?"#"+Mi[t]:e}var Ob=/^#[a-fA-F0-9]{6}$/,Tb=/^#[a-fA-F0-9]{8}$/,Mb=/^#[a-fA-F0-9]{3}$/,Lb=/^#[a-fA-F0-9]{4}$/,wa=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,$b=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,zb=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Bb=/^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 qn(e){if(typeof e!="string")throw new Qe(3);var t=kb(e);if(t.match(Ob))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(Tb)){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(Mb))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(Lb)){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=wa.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=$b.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var i=zb.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+$r(c,s,d)+")",h=wa.exec(p);if(!h)throw new Qe(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=Bb.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,E="rgb("+$r(f,v,g)+")",x=wa.exec(E);if(!x)throw new Qe(4,t,E);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Qe(5)}function Pb(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?Sn(e,t,r):"rgba("+$r(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Sn(e.hue,e.saturation,e.lightness):"rgba("+$r(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Qe(2)}function ao(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return no("#"+Rt(e)+Rt(t)+Rt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return no("#"+Rt(e.red)+Rt(e.green)+Rt(e.blue));throw new Qe(6)}function lt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=qn(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?ao(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?ao(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Qe(7)}var Db=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Vb=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Ub=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Wb=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Nc(e){if(typeof e!="object")throw new Qe(8);if(Vb(e))return lt(e);if(Db(e))return ao(e);if(Wb(e))return Nb(e);if(Ub(e))return jb(e);throw new Qe(8)}function Dc(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Dc(e,t,a)}}function Gn(e){return Dc(e,e.length,[])}function Yn(e,t,r){return Math.max(e,Math.min(t,r))}function qb(e,t){if(t==="transparent")return t;var r=jc(t);return Nc(_n({},r,{lightness:Yn(0,1,r.lightness-parseFloat(e))}))}var Gb=Gn(qb),qe=Gb;function Yb(e,t){if(t==="transparent")return t;var r=jc(t);return Nc(_n({},r,{lightness:Yn(0,1,r.lightness+parseFloat(e))}))}var Kb=Gn(Yb),It=Kb;function Xb(e,t){if(t==="transparent")return t;var r=qn(t),n=typeof r.alpha=="number"?r.alpha:1,a=_n({},r,{alpha:Yn(0,1,(n*100+parseFloat(e)*100)/100)});return lt(a)}var Zb=Gn(Xb),Zr=Zb;function Jb(e,t){if(t==="transparent")return t;var r=qn(t),n=typeof r.alpha=="number"?r.alpha:1,a=_n({},r,{alpha:Yn(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return lt(a)}var Qb=Gn(Jb),ee=Qb,ey=E0,ty=td,ry=Object.prototype,ny=ry.hasOwnProperty;function ay(e,t,r){var n=e[t];(!(ny.call(e,t)&&ty(n,r))||r===void 0&&!(t in e))&&ey(e,t,r)}var dl=ay,oy=dl,ly=S0,iy=rd,Li=kn,sy=nd;function cy(e,t,r,n){if(!Li(e))return e;t=ly(t,e);for(var a=-1,l=t.length,i=l-1,c=e;c!=null&&++a(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),zi={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Gy=["style","script"],Yy=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,Ky=/mailto:/i,Xy=/\n{2,}$/,Wc=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,Zy=/^ *> ?/gm,Jy=/^ {2,}\n/,Qy=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,qc=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Gc=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,e6=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,t6=/^(?:\n *)*\n/,r6=/\r\n?/g,n6=/^\[\^([^\]]+)](:.*)\n/,a6=/^\[\^([^\]]+)]/,o6=/\f/g,l6=/^\s*?\[(x|\s)\]/,Yc=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Kc=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Xc=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,oo=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,i6=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Zc=/^)/,s6=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,lo=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,c6=/^\{.*\}$/,d6=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,u6=/^<([^ >]+@[^ >]+)>/,p6=/^<([^ >]+:\/[^ >]+)>/,f6=/-([a-z])?/gi,Jc=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,h6=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,g6=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,m6=/^\[([^\]]*)\] ?\[([^\]]*)\]/,v6=/(\[|\])/g,b6=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,y6=/\t/g,w6=/^ *\| */,x6=/(^ *\||\| *$)/g,E6=/ *$/,S6=/^ *:-+: *$/,C6=/^ *:-+ *$/,R6=/^ *-+: *$/,I6=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,A6=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,_6=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,k6=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,O6=/^\\([^0-9A-Za-z\s])/,T6=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,M6=/^\n+/,L6=/^([ \t]*)/,$6=/\\([^\\])/g,Bi=/ *\n+$/,z6=/(?:^|\n)( *)$/,pl="(?:\\d+\\.)",fl="(?:[*+-])";function Qc(e){return"( *)("+(e===1?pl:fl)+") +"}const e1=Qc(1),t1=Qc(2);function r1(e){return new RegExp("^"+(e===1?e1:t1))}const B6=r1(1),P6=r1(2);function n1(e){return new RegExp("^"+(e===1?e1:t1)+"[^\\n]*(?:\\n(?!\\1"+(e===1?pl:fl)+" )[^\\n]*)*(\\n|$)","gm")}const a1=n1(1),o1=n1(2);function l1(e){const t=e===1?pl:fl;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const i1=l1(1),s1=l1(2);function Pi(e,t){const r=t===1,n=r?i1:s1,a=r?a1:o1,l=r?B6:P6;return{t(i,c,s){const d=z6.exec(s);return d&&(c.o||!c._&&!c.u)?n.exec(i=d[1]+i):null},i:W.HIGH,l(i,c,s){const d=r?+i[2]:void 0,p=i[0].replace(Xy,` -`).match(a);let h=!1;return{p:p.map(function(m,f){const v=l.exec(m)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),E=m.replace(g,"").replace(l,""),x=f===p.length-1,y=E.indexOf(` - -`)!==-1||x&&h;h=y;const b=s._,w=s.o;let S;s.o=!0,y?(s._=!1,S=E.replace(Bi,` - -`)):(s._=!0,S=E.replace(Bi,""));const C=c(S,s);return s._=b,s.o=w,C}),m:r,g:d}},h:(i,c,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(d,p){return e("li",{key:p},c(d,s))}))}}const H6=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,F6=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,c1=[Wc,qc,Gc,Yc,Xc,Kc,Zc,Jc,a1,i1,o1,s1],j6=[...c1,/^[^\n]+(?: \n|\n{2,})/,oo,lo];function N6(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 D6(e){return R6.test(e)?"right":S6.test(e)?"center":C6.test(e)?"left":null}function Hi(e,t,r){const n=r.$;r.$=!0;const a=t(e.trim(),r);r.$=n;let l=[[]];return a.forEach(function(i,c){i.type==="tableSeparator"?c!==0&&c!==a.length-1&&l.push([]):(i.type!=="text"||a[c+1]!=null&&a[c+1].type!=="tableSeparator"||(i.v=i.v.replace(E6,"")),l[l.length-1].push(i))}),l}function V6(e,t,r){r._=!0;const n=Hi(e[1],t,r),a=e[2].replace(x6,"").split("|").map(D6),l=function(i,c,s){return i.trim().split(` -`).map(function(d){return Hi(d,c,s)})}(e[3],t,r);return r._=!1,{S:a,A:l,L:n,type:"table"}}function Fi(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function ut(e){return function(t,r){return r._?e.exec(t):null}}function pt(e){return function(t,r){return r._||r.u?e.exec(t):null}}function ot(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function vr(e){return function(t){return e.exec(t)}}function U6(e,t,r){if(t._||t.u||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(l=>!c1.some(i=>i.test(l))&&(n+=l+` -`,l.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function Ut(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 ji(e){return e.replace($6,"$1")}function un(e,t,r){const n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;const l=e(t,r);return r._=n,r.u=a,l}function W6(e,t,r){const n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;const l=e(t,r);return r._=n,r.u=a,l}function q6(e,t,r){return r._=!1,e(t,r)}const Ea=(e,t,r)=>({v:un(t,e[1],r)});function Sa(){return{}}function Ca(){return null}function G6(...e){return e.filter(Boolean).join(" ")}function Ra(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var W;function Y6(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||N6,t.namedCodesToUnicode=t.namedCodesToUnicode?_t({},zi,t.namedCodesToUnicode):zi;const r=t.createElement||o.createElement;function n(f,v,...g){const E=Ra(t.overrides,`${f}.props`,{});return r(function(x,y){const b=Ra(y,x);return b?typeof b=="function"||typeof b=="object"&&"render"in b?b:Ra(y,`${x}.component`,x):x}(f,t.overrides),_t({},v,E,{className:G6(v==null?void 0:v.className,E.className)||void 0}),...g)}function a(f){let v=!1;t.forceInline?v=!0:t.forceBlock||(v=b6.test(f)===!1);const g=p(d(v?f:`${f.trimEnd().replace(M6,"")} - -`,{_:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const E=t.wrapper||(v?"span":"div");let 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 o.createElement(E,{key:"outer"},x)}function l(f){const v=f.match(Yy);return v?v.reduce(function(g,E,x){const y=E.indexOf("=");if(y!==-1){const b=function(R){return R.indexOf("-")!==-1&&R.match(s6)===null&&(R=R.replace(f6,function(I,_){return _.toUpperCase()})),R}(E.slice(0,y)).trim(),w=function(R){const I=R[0];return(I==='"'||I==="'")&&R.length>=2&&R[R.length-1]===I?R.slice(1,-1):R}(E.slice(y+1).trim()),S=$i[b]||b,C=g[S]=function(R,I){return R==="style"?I.split(/;\s?/).reduce(function(_,k){const O=k.slice(0,k.indexOf(":"));return _[O.replace(/(-[a-z])/g,T=>T[1].toUpperCase())]=k.slice(O.length+1).trim(),_},{}):R==="href"?Ut(I):(I.match(c6)&&(I=I.slice(1,I.length-1)),I==="true"||I!=="false"&&I)}(b,w);typeof C=="string"&&(oo.test(C)||lo.test(C))&&(g[S]=o.cloneElement(a(C.trim()),{key:x}))}else E!=="style"&&(g[$i[E]||E]=!0);return g},{}):null}const i=[],c={},s={blockQuote:{t:ot(Wc),i:W.HIGH,l:(f,v,g)=>({v:v(f[0].replace(Zy,""),g)}),h:(f,v,g)=>n("blockquote",{key:g.k},v(f.v,g))},breakLine:{t:vr(Jy),i:W.HIGH,l:Sa,h:(f,v,g)=>n("br",{key:g.k})},breakThematic:{t:ot(Qy),i:W.HIGH,l:Sa,h:(f,v,g)=>n("hr",{key:g.k})},codeBlock:{t:ot(Gc),i:W.MAX,l:f=>({v:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,v,g)=>n("pre",{key:g.k},n("code",_t({},f.O,{className:f.M?`lang-${f.M}`:""}),f.v))},codeFenced:{t:ot(qc),i:W.MAX,l:f=>({O:l(f[3]||""),v:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:pt(e6),i:W.LOW,l:f=>({v:f[2]}),h:(f,v,g)=>n("code",{key:g.k},f.v)},footnote:{t:ot(n6),i:W.MAX,l:f=>(i.push({I:f[2],j:f[1]}),{}),h:Ca},footnoteReference:{t:ut(a6),i:W.HIGH,l:f=>({v:f[1],B:`#${t.slugify(f[1])}`}),h:(f,v,g)=>n("a",{key:g.k,href:Ut(f.B)},n("sup",{key:g.k},f.v))},gfmTask:{t:ut(l6),i:W.HIGH,l:f=>({R:f[1].toLowerCase()==="x"}),h:(f,v,g)=>n("input",{checked:f.R,key:g.k,readOnly:!0,type:"checkbox"})},heading:{t:ot(t.enforceAtxHeadings?Kc:Yc),i:W.HIGH,l:(f,v,g)=>({v:un(v,f[2],g),T:t.slugify(f[2]),C:f[1].length}),h:(f,v,g)=>n(`h${f.C}`,{id:f.T,key:g.k},v(f.v,g))},headingSetext:{t:ot(Xc),i:W.MAX,l:(f,v,g)=>({v:un(v,f[1],g),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:vr(Zc),i:W.HIGH,l:()=>({}),h:Ca},image:{t:pt(F6),i:W.HIGH,l:f=>({D:f[1],B:ji(f[2]),F:f[3]}),h:(f,v,g)=>n("img",{key:g.k,alt:f.D||void 0,title:f.F||void 0,src:Ut(f.B)})},link:{t:ut(H6),i:W.LOW,l:(f,v,g)=>({v:W6(v,f[1],g),B:ji(f[2]),F:f[3]}),h:(f,v,g)=>n("a",{key:g.k,href:Ut(f.B),title:f.F},v(f.v,g))},linkAngleBraceStyleDetector:{t:ut(p6),i:W.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],type:"link"})},linkBareUrlDetector:{t:(f,v)=>v.N?null:ut(d6)(f,v),i:W.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],F:void 0,type:"link"})},linkMailtoDetector:{t:ut(u6),i:W.MAX,l(f){let v=f[1],g=f[1];return Ky.test(g)||(g="mailto:"+g),{v:[{v:v.replace("mailto:",""),type:"text"}],B:g,type:"link"}}},orderedList:Pi(n,1),unorderedList:Pi(n,2),newlineCoalescer:{t:ot(t6),i:W.LOW,l:Sa,h:()=>` -`},paragraph:{t:U6,i:W.LOW,l:Ea,h:(f,v,g)=>n("p",{key:g.k},v(f.v,g))},ref:{t:ut(h6),i:W.MAX,l:f=>(c[f[1]]={B:f[2],F:f[4]},{}),h:Ca},refImage:{t:pt(g6),i:W.MAX,l:f=>({D:f[1]||void 0,P:f[2]}),h:(f,v,g)=>n("img",{key:g.k,alt:f.D,src:Ut(c[f.P].B),title:c[f.P].F})},refLink:{t:ut(m6),i:W.MAX,l:(f,v,g)=>({v:v(f[1],g),Z:v(f[0].replace(v6,"\\$1"),g),P:f[2]}),h:(f,v,g)=>c[f.P]?n("a",{key:g.k,href:Ut(c[f.P].B),title:c[f.P].F},v(f.v,g)):n("span",{key:g.k},v(f.Z,g))},table:{t:ot(Jc),i:W.HIGH,l:V6,h:(f,v,g)=>n("table",{key:g.k},n("thead",null,n("tr",null,f.L.map(function(E,x){return n("th",{key:x,style:Fi(f,x)},v(E,g))}))),n("tbody",null,f.A.map(function(E,x){return n("tr",{key:x},E.map(function(y,b){return n("td",{key:b,style:Fi(f,b)},v(y,g))}))})))},tableSeparator:{t:function(f,v){return v.$?(v._=!0,w6.exec(f)):null},i:W.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:vr(T6),i:W.MIN,l:f=>({v:f[0].replace(i6,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),h:f=>f.v},textBolded:{t:pt(I6),i:W.MED,l:(f,v,g)=>({v:v(f[2],g)}),h:(f,v,g)=>n("strong",{key:g.k},v(f.v,g))},textEmphasized:{t:pt(A6),i:W.LOW,l:(f,v,g)=>({v:v(f[2],g)}),h:(f,v,g)=>n("em",{key:g.k},v(f.v,g))},textEscaped:{t:pt(O6),i:W.HIGH,l:f=>({v:f[1],type:"text"})},textMarked:{t:pt(_6),i:W.LOW,l:Ea,h:(f,v,g)=>n("mark",{key:g.k},v(f.v,g))},textStrikethroughed:{t:pt(k6),i:W.LOW,l:Ea,h:(f,v,g)=>n("del",{key:g.k},v(f.v,g))}};t.disableParsingRawHTML!==!0&&(s.htmlBlock={t:vr(oo),i:W.HIGH,l(f,v,g){const[,E]=f[3].match(L6),x=new RegExp(`^${E}`,"gm"),y=f[3].replace(x,""),b=(w=y,j6.some(I=>I.test(w))?q6:un);var w;const S=f[1].toLowerCase(),C=Gy.indexOf(S)!==-1;g.N=g.N||S==="a";const R=C?f[3]:b(v,y,g);return g.N=!1,{O:l(f[2]),v:R,G:C,H:C?S:f[1]}},h:(f,v,g)=>n(f.H,_t({key:g.k},f.O),f.G?f.v:v(f.v,g))},s.htmlSelfClosing={t:vr(lo),i:W.HIGH,l:f=>({O:l(f[2]||""),H:f[1]}),h:(f,v,g)=>n(f.H,_t({},f.O,{key:g.k}))});const d=function(f){let v=Object.keys(f);function g(E,x){let y=[],b="";for(;E;){let w=0;for(;w{let{children:t,options:r}=e,n=function(a,l){if(a==null)return{};var i,c,s={},d=Object.keys(a);for(c=0;c=0||(s[i]=a[i]);return s}(e,qy);return o.cloneElement(Y6(t,r),n)};function K6(e,t,r,n){for(var a=e.length,l=r+(n?1:-1);n?l--:++l-1}var sw=iw;function cw(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=Cw){var d=t?null:Ew(e);if(d)return Sw(d);i=!1,a=xw,s=new bw}else s=t?[]:c;e:for(;++nfunction(){return t||(0,e[g1(e)[0]])((t={exports:{}}).exports,t),t.exports},wx=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of g1(t))!yx.call(e,a)&&a!==r&&h1(e,a,{get:()=>t[a],enumerable:!(n=vx(t,a))||n.enumerable});return e},gl=(e,t,r)=>(r=e!=null?mx(bx(e)):{},wx(t||!e||!e.__esModule?h1(r,"default",{value:e,enumerable:!0}):r,e)),xx=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],Ex=["detail"];function Sx(e){const t=xx.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&Ex.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var m1=$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 n={},a=Symbol("test"),l=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var c=Object.getOwnPropertySymbols(n);if(c.length!==1||c[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}}),v1=$e({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=m1();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Cx=$e({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,l="[object Function]";t.exports=function(c){var s=this;if(typeof s!="function"||a.call(s)!==l)throw new TypeError(r+s);for(var d=n.call(arguments,1),p,h=function(){if(this instanceof p){var E=s.apply(this,d.concat(n.call(arguments)));return Object(E)===E?E:this}else return s.apply(c,d.concat(n.call(arguments)))},m=Math.max(0,s.length-d.length),f=[],v=0;v"u"?r:h(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%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%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:h(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:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?h(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function T(M){var F;if(M==="%AsyncFunction%")F=i("async function () {}");else if(M==="%GeneratorFunction%")F=i("function* () {}");else if(M==="%AsyncGeneratorFunction%")F=i("async function* () {}");else if(M==="%AsyncGenerator%"){var L=T("%AsyncGeneratorFunction%");L&&(F=L.prototype)}else if(M==="%AsyncIteratorPrototype%"){var $=T("%AsyncGenerator%");$&&(F=h($.prototype))}return v[M]=F,F},E={"%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=ml(),y=Rx(),b=x.call(Function.call,Array.prototype.concat),w=x.call(Function.apply,Array.prototype.splice),S=x.call(Function.call,String.prototype.replace),C=x.call(Function.call,String.prototype.slice),R=x.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,k=function(M){var F=C(M,0,1),L=C(M,-1);if(F==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(L==="%"&&F!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var $=[];return S(M,I,function(j,V,P,D){$[$.length]=P?S(D,_,"$1"):V||j}),$},O=function(M,F){var L=M,$;if(y(E,L)&&($=E[L],L="%"+$[0]+"%"),y(v,L)){var j=v[L];if(j===m&&(j=g(L)),typeof j>"u"&&!F)throw new l("intrinsic "+M+" exists, but is not available. Please file an issue!");return{alias:$,name:L,value:j}}throw new n("intrinsic "+M+" does not exist!")};t.exports=function(M,F){if(typeof M!="string"||M.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new l('"allowMissing" argument must be a boolean');if(R(/^%?[^%]*%?$/,M)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var L=k(M),$=L.length>0?L[0]:"",j=O("%"+$+"%",F),V=j.name,P=j.value,D=!1,Z=j.alias;Z&&($=Z[0],w(L,b([0,1],Z)));for(var ne=1,X=!0;ne=L.length){var q=c(P,J);X=!!q,X&&"get"in q&&!("originalValue"in q.get)?P=q.get:P=P[J]}else X=y(P,J),P=P[J];X&&!D&&(v[V]=P)}}return P}}}),Ix=$e({"node_modules/call-bind/index.js"(e,t){var r=ml(),n=b1(),a=n("%Function.prototype.apply%"),l=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(l,a),c=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(m){var f=i(r,l,arguments);if(c&&s){var v=c(f,"length");v.configurable&&s(f,"length",{value:1+d(0,m.length-(arguments.length-1))})}return f};var p=function(){return i(r,a,arguments)};s?s(t.exports,"apply",{value:p}):t.exports.apply=p}}),Ax=$e({"node_modules/call-bind/callBound.js"(e,t){var r=b1(),n=Ix(),a=n(r("String.prototype.indexOf"));t.exports=function(i,c){var s=r(i,!!c);return typeof s=="function"&&a(i,".prototype.")>-1?n(s):s}}}),_x=$e({"node_modules/has-tostringtag/shams.js"(e,t){var r=m1();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),kx=$e({"node_modules/is-regex/index.js"(e,t){var r=Ax(),n=_x()(),a,l,i,c;n&&(a=r("Object.prototype.hasOwnProperty"),l=r("RegExp.prototype.exec"),i={},s=function(){throw i},c={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=s));var s,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,h="[object RegExp]";t.exports=n?function(f){if(!f||typeof f!="object")return!1;var v=p(f,"lastIndex"),g=v&&a(v,"value");if(!g)return!1;try{l(f,c)}catch(E){return E===i}}:function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:d(f)===h}}}),Ox=$e({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var l=r.call(a);return l==="[object Function]"||typeof a=="function"&&l!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),Tx=$e({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=v1()();n?(a=Symbol.prototype.toString,l=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:l.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,l,i}}),Mx=gl(kx()),Lx=gl(Ox()),$x=gl(Tx());function zx(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var Bx=typeof global=="object"&&global&&global.Object===Object&&global,Px=Bx,Hx=typeof self=="object"&&self&&self.Object===Object&&self,Fx=Px||Hx||Function("return this")(),vl=Fx,jx=vl.Symbol,nr=jx,y1=Object.prototype,Nx=y1.hasOwnProperty,Dx=y1.toString,br=nr?nr.toStringTag:void 0;function Vx(e){var t=Nx.call(e,br),r=e[br];try{e[br]=void 0;var n=!0}catch{}var a=Dx.call(e);return n&&(t?e[br]=r:delete e[br]),a}var Ux=Vx,Wx=Object.prototype,qx=Wx.toString;function Gx(e){return qx.call(e)}var Yx=Gx,Kx="[object Null]",Xx="[object Undefined]",Xi=nr?nr.toStringTag:void 0;function Zx(e){return e==null?e===void 0?Xx:Kx:Xi&&Xi in Object(e)?Ux(e):Yx(e)}var Jx=Zx,Zi=nr?nr.prototype:void 0;Zi&&Zi.toString;function Qx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var w1=Qx,eE="[object AsyncFunction]",tE="[object Function]",rE="[object GeneratorFunction]",nE="[object Proxy]";function aE(e){if(!w1(e))return!1;var t=Jx(e);return t==tE||t==rE||t==eE||t==nE}var oE=aE,lE=vl["__core-js_shared__"],Aa=lE,Ji=function(){var e=/[^.]+$/.exec(Aa&&Aa.keys&&Aa.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function iE(e){return!!Ji&&Ji in e}var sE=iE,cE=Function.prototype,dE=cE.toString;function uE(e){if(e!=null){try{return dE.call(e)}catch{}try{return e+""}catch{}}return""}var pE=uE,fE=/[\\^$.*+?()[\]{}|]/g,hE=/^\[object .+?Constructor\]$/,gE=Function.prototype,mE=Object.prototype,vE=gE.toString,bE=mE.hasOwnProperty,yE=RegExp("^"+vE.call(bE).replace(fE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wE(e){if(!w1(e)||sE(e))return!1;var t=oE(e)?yE:hE;return t.test(pE(e))}var xE=wE;function EE(e,t){return e==null?void 0:e[t]}var SE=EE;function CE(e,t){var r=SE(e,t);return xE(r)?r:void 0}var x1=CE;function RE(e,t){return e===t||e!==e&&t!==t}var IE=RE,AE=x1(Object,"create"),zr=AE;function _E(){this.__data__=zr?zr(null):{},this.size=0}var kE=_E;function OE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var TE=OE,ME="__lodash_hash_undefined__",LE=Object.prototype,$E=LE.hasOwnProperty;function zE(e){var t=this.__data__;if(zr){var r=t[e];return r===ME?void 0:r}return $E.call(t,e)?t[e]:void 0}var BE=zE,PE=Object.prototype,HE=PE.hasOwnProperty;function FE(e){var t=this.__data__;return zr?t[e]!==void 0:HE.call(t,e)}var jE=FE,NE="__lodash_hash_undefined__";function DE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=zr&&t===void 0?NE:t,this}var VE=DE;function ir(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var eS=QE;function tS(e,t){var r=this.__data__,n=Xn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var rS=tS;function sr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,l="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iAS(e).replace(/\n\s*/g,"").trim()),kS=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let l=n;return l=l.replace(t,"function"),l+a},OS=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function S1(e){if(!IS(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Sx(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 TS=function(t){let r,n,a,l;return function(c,s){try{if(c==="")return l=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),l.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return OS.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,Mx.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,Lx.default)(s)){if(!t.allowFunction)return;const{name:h}=s,m=s.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${h}|${(()=>{}).toString()}`:`_function_${h}|${_S(kS(c,m))}`}if((0,$x.default)(s)){if(!t.allowSymbol)return;const h=Symbol.keyFor(s);return h!==void 0?`_gsymbol_${h}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(l)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;const p=r.get(s);if(!p){const h=Array.isArray(s)?s:S1(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(h,{"_constructor-name_":s.constructor.name})}catch{}return l.push(c),a.unshift(h),r.set(s,JSON.stringify(l)),s!==h&&n.set(s,h),h}return`_duplicate_${p}`}catch{return}}},MS={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},LS=(e,t={})=>{const r={...MS,...t};return JSON.stringify(S1(e),TS(r),t.space)};/*! - * isobject - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - *//** - * @license - * Lodash (Custom Build) - * Build: `lodash modularize exports="es" -o ./` - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */var C1={exports:{}},_a,e0;function $S(){return e0||(e0=1,_a={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}),_a}var ka,t0;function zS(){return t0||(t0=1,ka=function(e){var t=[].forEach,r=[].some,n=document.body,a,l=!0,i=" ";function c(y,b){var w=b.appendChild(d(y));if(y.children.length){var S=p(y.isCollapsed);y.children.forEach(function(C){c(C,S)}),w.appendChild(S)}}function s(y,b){var w=!1,S=p(w);if(b.forEach(function(C){c(C,S)}),a=y||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),b.length===0?a:a.appendChild(S)}function d(y){var b=document.createElement("li"),w=document.createElement("a");return e.listItemClass&&b.setAttribute("class",e.listItemClass),e.onClick&&(w.onclick=e.onClick),e.includeTitleTags&&w.setAttribute("title",y.textContent),e.includeHtml&&y.childNodes.length?t.call(y.childNodes,function(S){w.appendChild(S.cloneNode(!0))}):w.textContent=y.textContent,w.setAttribute("href",e.basePath+"#"+y.id),w.setAttribute("class",e.linkClass+i+"node-name--"+y.nodeName+i+e.extraLinkClasses),b.appendChild(w),b}function p(y){var b=e.orderedList?"ol":"ul",w=document.createElement(b),S=e.listClass+i+e.extraListClasses;return y&&(S=S+i+e.collapsibleClass,S=S+i+e.isCollapsedClass),w.setAttribute("class",S),w}function h(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var y;y=document.querySelector(e.scrollContainer).scrollTop}else y=document.documentElement.scrollTop||n.scrollTop;var b=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=a.offsetTop),y>e.fixedSidebarOffset?b.className.indexOf(e.positionFixedClass)===-1&&(b.className+=i+e.positionFixedClass):b.className=b.className.replace(i+e.positionFixedClass,"")}function m(y){var b=0;return y!==null&&(b=y.offsetTop,e.hasInnerContainers&&(b+=m(y.offsetParent))),b}function f(y,b){return y&&y.className!==b&&(y.className=b),y}function v(y){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var b;b=document.querySelector(e.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&h();var w=y,S;if(l&&a!==null&&w.length>0){r.call(w,function(T,M){if(m(T)>b+e.headingsOffset+10){var F=M===0?M:M-1;return S=w[F],!0}else if(M===w.length-1)return S=w[w.length-1],!0});var C=a.querySelector("."+e.activeLinkClass),R=a.querySelector("."+e.linkClass+".node-name--"+S.nodeName+'[href="'+e.basePath+"#"+S.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(C===R)return;var I=a.querySelectorAll("."+e.linkClass);t.call(I,function(T){f(T,T.className.replace(i+e.activeLinkClass,""))});var _=a.querySelectorAll("."+e.listItemClass);t.call(_,function(T){f(T,T.className.replace(i+e.activeListItemClass,""))}),R&&R.className.indexOf(e.activeLinkClass)===-1&&(R.className+=i+e.activeLinkClass);var k=R&&R.parentNode;k&&k.className.indexOf(e.activeListItemClass)===-1&&(k.className+=i+e.activeListItemClass);var O=a.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(O,function(T){T.className.indexOf(e.isCollapsedClass)===-1&&(T.className+=i+e.isCollapsedClass)}),R&&R.nextSibling&&R.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&f(R.nextSibling,R.nextSibling.className.replace(i+e.isCollapsedClass,"")),g(R&&R.parentNode.parentNode)}}function g(y){return y&&y.className.indexOf(e.collapsibleClass)!==-1&&y.className.indexOf(e.isCollapsedClass)!==-1?(f(y,y.className.replace(i+e.isCollapsedClass,"")),g(y.parentNode.parentNode)):y}function E(y){var b=y.target||y.srcElement;typeof b.className!="string"||b.className.indexOf(e.linkClass)===-1||(l=!1)}function x(){l=!0}return{enableTocAnimation:x,disableTocAnimation:E,render:s,updateToc:v}}),ka}var Oa,r0;function BS(){return r0||(r0=1,Oa=function(t){var r=[].reduce;function n(p){return p[p.length-1]}function a(p){return+p.nodeName.toUpperCase().replace("H","")}function l(p){try{return p instanceof window.HTMLElement||p instanceof window.parent.HTMLElement}catch{return p instanceof window.HTMLElement}}function i(p){if(!l(p))return p;if(t.ignoreHiddenElements&&(!p.offsetHeight||!p.offsetParent))return null;const h=p.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(p.innerText)):(p.innerText||p.textContent).trim());var m={id:p.id,children:[],nodeName:p.nodeName,headingLevel:a(p),textContent:h};return t.includeHtml&&(m.childNodes=p.childNodes),t.headingObjectCallback?t.headingObjectCallback(m,p):m}function c(p,h){for(var m=i(p),f=m.headingLevel,v=h,g=n(v),E=g?g.headingLevel:0,x=f-E;x>0&&(g=n(v),!(g&&f===g.headingLevel));)g&&g.children!==void 0&&(v=g.children),x--;return f>=t.collapseDepth&&(m.isCollapsed=!0),v.push(m),v}function s(p,h){var m=h;t.ignoreSelector&&(m=h.split(",").map(function(v){return v.trim()+":not("+t.ignoreSelector+")"}));try{return p.querySelectorAll(m)}catch{return console.warn("Headers not found with selector: "+m),null}}function d(p){return r.call(p,function(m,f){var v=i(f);return v&&c(v,m.nest),m},{nest:[]})}return{nestHeadingsArray:d,selectHeadings:s}}),Oa}var Ta,n0;function PS(){if(n0)return Ta;n0=1;const e=30;return Ta=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);if(a){var l=n.scrollTop,i=l+n.clientHeight,c=a.offsetTop,s=c+a.clientHeight;ci-r.tocScrollOffset-e&&(n.scrollTop+=s-i+r.tocScrollOffset+2*e)}}},Ta}var Ma={},a0;function HS(){if(a0)return Ma;a0=1,Ma.initSmoothScrolling=e;function e(r){var n=r.duration,a=r.offset,l=location.hash?s(location.href):location.href;i();function i(){document.body.addEventListener("click",p,!1);function p(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(r.linkClass)===-1||t(h.target.hash,{duration:n,offset:a,callback:function(){d(h.target.hash)}})}}function c(p){return p.tagName.toLowerCase()==="a"&&(p.hash.length>0||p.href.charAt(p.href.length-1)==="#")&&(s(p.href)===l||s(p.href)+"#"===l)}function s(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 t(r,n){var a=window.pageYOffset,l={duration:n.duration,offset:n.offset||0,callback:n.callback,easing:n.easing||f},i=document.querySelector('[id="'+decodeURI(r).split("#").join("")+'"]')||document.querySelector('[id="'+r.split("#").join("")+'"]'),c=typeof r=="string"?l.offset+(r?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):r,s=typeof l.duration=="function"?l.duration(c):l.duration,d,p;requestAnimationFrame(function(v){d=v,h(v)});function h(v){p=v-d,window.scrollTo(0,l.easing(p,a,c,s)),p"u"&&!h)return;var m,f=Object.prototype.hasOwnProperty;function v(){for(var y={},b=0;b({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:ee(.3,e.color.defaultText),fontSize:e.typography.size.s2})),R1=e=>u.createElement(VS,{...e,className:"docblock-emptyblock sb-unstyled"}),US=A(Vn)(({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"}})),WS=A.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"})),Jr=A.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Ua}`]:{margin:0}})),qS=()=>u.createElement(WS,null,u.createElement(Jr,null),u.createElement(Jr,{style:{width:"80%"}}),u.createElement(Jr,{style:{width:"30%"}}),u.createElement(Jr,{style:{width:"80%"}})),Jn=({isLoading:e,error:t,language:r,code:n,dark:a,format:l,...i})=>{let{typography:c}=Q0();if(e)return u.createElement(qS,null);if(t)return u.createElement(R1,null,t);let s=u.createElement(US,{bordered:!0,copyable:!0,format:l,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return s;let d=a?ja.dark:ja.light;return u.createElement(es,{theme:Va({...d,fontCode:c.fonts.mono,fontBase:c.fonts.base})},s)};Jn.defaultProps={format:!1};var le=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,wl=600,GS=A.h1(re,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${wl}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),YS=A.h2(re,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${wl}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ee(.25,e.color.defaultText)})),KS=A.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"?ee(.1,e.color.defaultText):ee(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[le("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}},[le("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}},[le("div")]:t,[le("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}},[le("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[le("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[le("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[le("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[le("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[le("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[le("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[le("img")]:{maxWidth:"100%"},[le("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[le("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[le("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[le("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"}},[le("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"}}},[le("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}},[le("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),XS=A.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${wl}px)`]:{}})),ZS=({children:e,toc:t})=>u.createElement(XS,{className:"sbdocs sbdocs-wrapper"},u.createElement(KS,{className:"sbdocs sbdocs-content"},e),t),Qn=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}`}),JS=A(Un)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),QS=A.div({display:"flex",alignItems:"center",gap:4}),eC=A.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`})),tC=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...l})=>u.createElement(JS,{...l},u.createElement(QS,{key:"left"},e?[1,2,3].map(i=>u.createElement(eC,{key:i})):u.createElement(u.Fragment,null,u.createElement($t,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},u.createElement(Vs,null)),u.createElement($t,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},u.createElement(Us,null)),u.createElement($t,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},u.createElement(Ws,null))))),I1=o.createContext({scale:1}),{window:rC}=ke,nC=class extends o.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=rC.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,...l}=this.props;return u.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...l})}},{PREVIEW_URL:aC}=ke,oC=aC||"iframe.html",io=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,lC=e=>{let t=o.useRef(),[r,n]=o.useState(!0),[a,l]=o.useState(),{story:i,height:c,autoplay:s,forceInitialArgs:d,renderStoryToElement:p}=e;return o.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,m=p(i,h,{showMain:()=>{},showError:({title:f,description:v})=>l(new Error(`${f} - ${v}`)),showException:f=>l(f)},{autoplay:s,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>m())}},[s,p,i]),a?u.createElement("pre",null,u.createElement(Ac,{error:a})):u.createElement(u.Fragment,null,c?u.createElement("style",null,`#${io(e)} { min-height: ${c}; transform: translateZ(0); overflow: auto }`):null,r&&u.createElement(A1,null),u.createElement("div",{ref:t,id:`${io(e)}-inner`,"data-name":i.name}))},iC=({story:e,height:t="500px"})=>u.createElement("div",{style:{width:"100%",height:t}},u.createElement(I1.Consumer,null,({scale:r})=>u.createElement(nC,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:Pc(oC,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),sC=e=>{let{inline:t}=e;return u.createElement("div",{id:io(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?u.createElement(lC,{...e}):u.createElement(iC,{...e}))},A1=()=>u.createElement(Bc,null),cC=A.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)`}}:{}),s0=A(Jn)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":qe(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":qe(.05,e.background.content)}})),dC=A.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Qn(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),uC=(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:u.createElement(s0,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:u.createElement(s0,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function pC(e){if(o.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var fC=A(tC)({position:"absolute",top:0,left:0,right:0,height:40}),hC=A.div({overflow:"hidden",position:"relative"}),_1=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:l=!1,isExpanded:i=!1,additionalActions:c,className:s,layout:d="padded",...p})=>{let[h,m]=o.useState(i),{source:f,actionItem:v}=uC(a,h,m),[g,E]=o.useState(1),x=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=a?[v]:[],[b,w]=o.useState(c?[...c]:[]),S=[...y,...b],{window:C}=ke,R=o.useCallback(async _=>{let{createCopyToClipboardFunction:k}=await zt(()=>Promise.resolve().then(()=>Sb),void 0,import.meta.url);k()},[]),I=_=>{let k=C.getSelection();k&&k.type==="Range"||(_.preventDefault(),b.filter(O=>O.title==="Copied").length===0&&R(f.props.code).then(()=>{w([...b,{title:"Copied",onClick:()=>{}}]),C.setTimeout(()=>w(b.filter(O=>O.title!=="Copied")),1500)}))};return u.createElement(dC,{withSource:a,withToolbar:l,...p,className:x.join(" ")},l&&u.createElement(fC,{isLoading:e,border:!0,zoom:_=>E(g*_),resetZoom:()=>E(1),storyId:pC(n),baseUrl:"./iframe.html"}),u.createElement(I1.Provider,{value:{scale:g}},u.createElement(hC,{className:"docs-story",onCopyCapture:a&&I},u.createElement(cC,{isColumn:t||!Array.isArray(n),columns:r,layout:d},u.createElement(Ic.Element,{scale:g},Array.isArray(n)?n.map((_,k)=>u.createElement("div",{key:k},_)):u.createElement("div",null,n))),u.createElement(Lo,{actionItems:S}))),a&&h&&f)};A(_1)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var gC=A.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:ct({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),mC=({tags:e})=>{let t=(e.params||[]).filter(l=>l.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:u.createElement(u.Fragment,null,u.createElement(gC,null,u.createElement("tbody",null,n&&u.createElement("tr",{key:"deprecated"},u.createElement("td",{colSpan:2},u.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(l=>u.createElement("tr",{key:l.name},u.createElement("td",null,u.createElement("code",null,l.name)),u.createElement("td",null,l.description))),a&&u.createElement("tr",{key:"returns"},u.createElement("td",null,u.createElement("code",null,"Returns")),u.createElement("td",null,e.returns.description)))))},so=8,c0=A.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),vC=A.span(ct,({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}})),bC=A.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),yC=A.div(ct,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),wC=A.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"}})),xC=A(ec)({marginLeft:4}),EC=A(qo)({marginLeft:4}),SC=()=>u.createElement("span",null,"-"),k1=({text:e,simple:t})=>u.createElement(vC,{simple:t},e),CC=Ht(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),RC=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Ow(t)},d0=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,so)),r.map(n=>u.createElement(k1,{key:n,text:n===""?'""':n}))},IC=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,l]=o.useState(!1),[i,c]=o.useState(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return u.createElement(k1,{text:s});let d=RC(s),p=d.length;return p>so?u.createElement(c0,{isExpanded:i},d0(d,i),u.createElement(bC,{onClick:()=>c(!i)},i?"Show less...":`Show ${p-so} more...`)):u.createElement(c0,null,d0(d))}return u.createElement(Tc,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{l(d)},tooltip:u.createElement(wC,{width:CC(n)},u.createElement(Vn,{language:"jsx",format:!1},n))},u.createElement(yC,{className:"sbdocs-expandable"},u.createElement("span",null,s),a?u.createElement(xC,null):u.createElement(EC,null)))},La=({value:e,initialExpandedArgs:t})=>e==null?u.createElement(SC,null):u.createElement(IC,{value:e,initialExpandedArgs:t}),AC=A.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ee(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Zr(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Zr(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Zr(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"?`${Zr(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),_C=e=>e==="true",kC=({name:e,value:t,onChange:r,onBlur:n,onFocus:a})=>{let l=o.useCallback(()=>r(!1),[r]);if(t===void 0)return u.createElement(bt,{variant:"outline",size:"medium",id:On(e),onClick:l},"Set boolean");let i=Pe(e),c=typeof t=="string"?_C(t):t;return u.createElement(AC,{htmlFor:i,"aria-label":e},u.createElement("input",{id:i,type:"checkbox",onChange:s=>r(s.target.checked),checked:c,role:"switch",name:e,onBlur:n,onFocus:a}),u.createElement("span",{"aria-hidden":"true"},"False"),u.createElement("span",{"aria-hidden":"true"},"True"))},OC=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},TC=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},MC=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}`},LC=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},$C=A.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}})),zC=({name:e,value:t,onChange:r,onFocus:n,onBlur:a})=>{let[l,i]=o.useState(!0),c=o.useRef(),s=o.useRef();o.useEffect(()=>{l!==!1&&(c&&c.current&&(c.current.value=MC(t)),s&&s.current&&(s.current.value=LC(t)))},[t]);let d=m=>{let f=OC(m.target.value),v=new Date(t);v.setFullYear(f.getFullYear(),f.getMonth(),f.getDate());let g=v.getTime();g&&r(g),i(!!g)},p=m=>{let f=TC(m.target.value),v=new Date(t);v.setHours(f.getHours()),v.setMinutes(f.getMinutes());let g=v.getTime();g&&r(g),i(!!g)},h=Pe(e);return u.createElement($C,null,u.createElement(Pt.Input,{type:"date",max:"9999-12-31",ref:c,id:`${h}-date`,name:`${h}-date`,onChange:d,onFocus:n,onBlur:a}),u.createElement(Pt.Input,{type:"time",id:`${h}-time`,name:`${h}-time`,ref:s,onChange:p,onFocus:n,onBlur:a}),l?null:u.createElement("div",null,"invalid"))},BC=A.label({display:"flex"}),PC=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},HC=({name:e,value:t,onChange:r,min:n,max:a,step:l,onBlur:i,onFocus:c})=>{let[s,d]=o.useState(typeof t=="number"?t:""),[p,h]=o.useState(!1),[m,f]=o.useState(null),v=o.useCallback(x=>{d(x.target.value);let y=parseFloat(x.target.value);Number.isNaN(y)?f(new Error(`'${x.target.value}' is not a number`)):(r(y),f(null))},[r,f]),g=o.useCallback(()=>{d("0"),r(0),h(!0)},[h]),E=o.useRef(null);return o.useEffect(()=>{p&&E.current&&E.current.select()},[p]),o.useEffect(()=>{s!==(typeof t=="number"?t:"")&&d(t)},[t]),!p&&t===void 0?u.createElement(bt,{variant:"outline",size:"medium",id:On(e),onClick:g},"Set number"):u.createElement(BC,null,u.createElement(Pt.Input,{ref:E,id:Pe(e),type:"number",onChange:v,size:"flex",placeholder:"Edit number...",value:s,valid:m?"error":null,autoFocus:p,name:e,min:n,max:a,step:l,onFocus:c,onBlur:i}))},O1=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},co=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],T1=(e,t)=>e&&t&&e.map(r=>t[r]),FC=A.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),jC=A.span({}),NC=A.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),u0=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return yl.warn(`Checkbox with no options: ${e}`),u.createElement(u.Fragment,null,"-");let l=co(r,t),[i,c]=o.useState(l),s=p=>{let h=p.target.value,m=[...i];m.includes(h)?m.splice(m.indexOf(h),1):m.push(h),n(T1(m,t)),c(m)};o.useEffect(()=>{c(co(r,t))},[r]);let d=Pe(e);return u.createElement(FC,{isInline:a},Object.keys(t).map((p,h)=>{let m=`${d}-${h}`;return u.createElement(NC,{key:m,htmlFor:m},u.createElement("input",{type:"checkbox",id:m,name:m,value:p,onChange:s,checked:i==null?void 0:i.includes(p)}),u.createElement(jC,null,p))}))},DC=A.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),VC=A.span({}),UC=A.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),p0=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return yl.warn(`Radio with no options: ${e}`),u.createElement(u.Fragment,null,"-");let l=O1(r,t),i=Pe(e);return u.createElement(DC,{isInline:a},Object.keys(t).map((c,s)=>{let d=`${i}-${s}`;return u.createElement(UC,{key:d,htmlFor:d},u.createElement("input",{type:"radio",id:d,name:d,value:c,onChange:p=>n(t[p.currentTarget.value]),checked:c===l}),u.createElement(VC,null,c))}))},WC={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},M1=A.select(WC,({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}}})),L1=A.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}}})),f0="Choose option...",qC=({name:e,value:t,options:r,onChange:n})=>{let a=c=>{n(r[c.currentTarget.value])},l=O1(t,r)||f0,i=Pe(e);return u.createElement(L1,null,u.createElement(qo,null),u.createElement(M1,{id:i,value:l,onChange:a},u.createElement("option",{key:"no-selection",disabled:!0},f0),Object.keys(r).map(c=>u.createElement("option",{key:c,value:c},c))))},GC=({name:e,value:t,options:r,onChange:n})=>{let a=c=>{let s=Array.from(c.currentTarget.options).filter(d=>d.selected).map(d=>d.value);n(T1(s,r))},l=co(t,r),i=Pe(e);return u.createElement(L1,null,u.createElement(M1,{id:i,multiple:!0,value:l,onChange:a},Object.keys(r).map(c=>u.createElement("option",{key:c,value:c},c))))},h0=e=>{let{name:t,options:r}=e;return r?e.isMulti?u.createElement(GC,{...e}):u.createElement(qC,{...e}):(yl.warn(`Select with no options: ${t}`),u.createElement(u.Fragment,null,"-"))},YC=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,KC={check:u0,"inline-check":u0,radio:p0,"inline-radio":p0,select:h0,"multi-select":h0},Wt=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,options:n?YC(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},l=KC[t];if(l)return u.createElement(l,{...a});throw new Error(`Unknown options type: ${t}`)},xl="value",XC="key",ZC="Error",JC="Object",QC="Array",eR="String",tR="Number",rR="Boolean",nR="Date",aR="Null",oR="Undefined",lR="Function",iR="Symbol",$1="ADD_DELTA_TYPE",z1="REMOVE_DELTA_TYPE",B1="UPDATE_DELTA_TYPE";function kt(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 P1(e,t){let r=kt(e),n=kt(t);return(r==="Function"||n==="Function")&&n!==r}var El=class extends o.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:l,inputRefValue:i}=this.state,c={};if(!t){if(!l.value)return;c.key=l.value}c.newValue=r(!1,n,a,c.key,i.value),e(c)}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:l,deep:i}=this.props,c=o.cloneElement(r,{onClick:this.onSubmit}),s=o.cloneElement(n,{onClick:e}),d=a(xl,l,i),p=o.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let m=a(XC,l,i);h=o.cloneElement(m,{placeholder:"Key",ref:this.refInputKey})}return u.createElement("span",{className:"rejt-add-value-node"},h,p,s,c)}};El.defaultProps={onlyValue:!1,addButtonElement:u.createElement("button",null,"+"),cancelButtonElement:u.createElement("button",null,"c")};var H1=class extends o.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,l=n.length;a(n[l-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:l}=this.state,i=n[e];t(e,a,l,i).then(()=>{let c={keyPath:a,deep:l,key:e,oldValue:i,type:z1};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:d}=this.props;s(a[a.length-1],n),d(c)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:l}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:c,onDeltaUpdate:s}=this.props;c(r[r.length-1],i),s({type:$1,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(l.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:l,keyPath:i,nextDeep:c}=this.state,s=l[e];a(e,i,c,s,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],l),p({type:B1,keyPath:i,deep:c,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:l,getStyle:i,dataType:c,minusMenuElement:s}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,c),h=l(e,t,r,n,c),m=o.cloneElement(s,{onClick:a,className:"rejt-minus-menu",style:d});return u.createElement("span",{className:"rejt-collapsed"},u.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:l}=this.state,{isCollapsed:i,handleRemove:c,onDeltaUpdate:s,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:y,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}=this.props,{minus:I,plus:_,delimiter:k,ul:O,addForm:T}=p(e,t,r,n,h),M=d(e,t,r,n,h),F=o.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),L=o.cloneElement(x,{onClick:c,className:"rejt-minus-menu",style:I});return u.createElement("span",{className:"rejt-not-collapsed"},u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:k},"["),!a&&F,u.createElement("ul",{className:"rejt-not-collapsed-list",style:O},t.map(($,j)=>u.createElement(ea,{key:j,name:j.toString(),data:$,keyPath:r,deep:l,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:y,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}))),!M&&a&&u.createElement("div",{className:"rejt-add-form",style:T},u.createElement(El,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:R})),u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:k},"]"),!M&&L)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:l,getStyle:i}=this.props,c=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,a,l);return u.createElement("div",{className:"rejt-array-node"},u.createElement("span",{onClick:this.handleCollapseMode},u.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),c)}};H1.defaultProps={keyPath:[],deep:0,minusMenuElement:u.createElement("span",null," - "),plusMenuElement:u.createElement("span",null," + ")};var F1=class extends o.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:l}=this.state,{readOnly:i,dataType:c}=this.props,s=i(r,n,a,l,c);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:l,name:i,deep:c}=this.state;if(!l)return;let s=n(!0,a,c,i,l.value);e({value:s,key:i}).then(()=>{P1(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:l,originalValue:i,readOnly:c,dataType:s,getStyle:d,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,s),E=null,x=null,y=c(e,i,n,a,s);if(r&&!y){let b=m(xl,v,a,e,i,s),w=o.cloneElement(p,{onClick:this.handleEdit}),S=o.cloneElement(h,{onClick:this.handleCancelEdit}),C=o.cloneElement(b,{ref:this.refInput,defaultValue:i});E=u.createElement("span",{className:"rejt-edit-form",style:g.editForm},C," ",S,w),x=null}else{E=u.createElement("span",{className:"rejt-value",style:g.value,onClick:y?null:this.handleEditMode},t);let b=o.cloneElement(f,{onClick:l,className:"rejt-minus-menu",style:g.minus});x=y?null:b}return u.createElement("li",{className:"rejt-function-value-node",style:g.li},u.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),E,x)}};F1.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:u.createElement("button",null,"e"),cancelButtonElement:u.createElement("button",null,"c"),minusMenuElement:u.createElement("span",null," - ")};var ea=class extends o.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:l,handleUpdateValue:i,onUpdate:c,onDeltaUpdate:s,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:y,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C}=this.props,R=()=>!0,I=kt(e);switch(I){case ZC:return u.createElement(uo,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:R,dataType:I,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:y,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case JC:return u.createElement(uo,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:d,dataType:I,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:y,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case QC:return u.createElement(H1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:d,dataType:I,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:y,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case eR:return u.createElement(ft,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case tR:return u.createElement(ft,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case rR:return u.createElement(ft,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case nR:return u.createElement(ft,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:R,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case aR:return u.createElement(ft,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case oR:return u.createElement(ft,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case lR:return u.createElement(F1,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:E,logger:S,onSubmitValueParser:C});case iR:return u.createElement(ft,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:R,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});default:return null}}};ea.defaultProps={keyPath:[],deep:0};var uo=class extends o.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,l=n.length;a(n[l-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:l,logger:i}=this.props;l(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:c,onDeltaUpdate:s}=this.props;c(n[n.length-1],r),s({type:$1,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:l}=this.state,i=n[e];t(e,a,l,i).then(()=>{let c={keyPath:a,deep:l,key:e,oldValue:i,type:z1};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:d}=this.props;s(a[a.length-1],n),d(c)}).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:l,keyPath:i,nextDeep:c}=this.state,s=l[e];a(e,i,c,s,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],l),p({type:B1,keyPath:i,deep:c,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:l,dataType:i,getStyle:c,minusMenuElement:s}=this.props,{minus:d,collapsed:p}=c(e,n,t,r,i),h=Object.getOwnPropertyNames(n),m=l(e,n,t,r,i),f=o.cloneElement(s,{onClick:a,className:"rejt-minus-menu",style:d});return u.createElement("span",{className:"rejt-collapsed"},u.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!m&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:l}=this.state,{isCollapsed:i,handleRemove:c,onDeltaUpdate:s,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:y,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}=this.props,{minus:I,plus:_,addForm:k,ul:O,delimiter:T}=p(e,t,r,n,h),M=Object.getOwnPropertyNames(t),F=d(e,t,r,n,h),L=o.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),$=o.cloneElement(x,{onClick:c,className:"rejt-minus-menu",style:I}),j=M.map(V=>u.createElement(ea,{key:V,name:V,data:t[V],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(V),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:y,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}));return u.createElement("span",{className:"rejt-not-collapsed"},u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"{"),!F&&L,u.createElement("ul",{className:"rejt-not-collapsed-list",style:O},j),!F&&l&&u.createElement("div",{className:"rejt-add-form",style:k},u.createElement(El,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:R})),u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"}"),!F&&$)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:l,dataType:i}=this.props,c=t?this.renderCollapsed():this.renderNotCollapsed(),s=l(e,r,n,a,i);return u.createElement("div",{className:"rejt-object-node"},u.createElement("span",{onClick:this.handleCollapseMode},u.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),c)}};uo.defaultProps={keyPath:[],deep:0,minusMenuElement:u.createElement("span",null," - "),plusMenuElement:u.createElement("span",null," + ")};var ft=class extends o.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:l}=this.state,{readOnly:i,dataType:c}=this.props,s=i(r,n,a,l,c);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:l,name:i,deep:c}=this.state;if(!l)return;let s=n(!0,a,c,i,l.value);e({value:s,key:i}).then(()=>{P1(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:l,originalValue:i,readOnly:c,dataType:s,getStyle:d,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,s),E=c(e,i,n,a,s),x=r&&!E,y=m(xl,v,a,e,i,s),b=o.cloneElement(p,{onClick:this.handleEdit}),w=o.cloneElement(h,{onClick:this.handleCancelEdit}),S=o.cloneElement(y,{ref:this.refInput,defaultValue:JSON.stringify(i)}),C=o.cloneElement(f,{onClick:l,className:"rejt-minus-menu",style:g.minus});return u.createElement("li",{className:"rejt-value-node",style:g.li},u.createElement("span",{className:"rejt-name",style:g.name},e," : "),x?u.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",w,b):u.createElement("span",{className:"rejt-value",style:g.value,onClick:E?null:this.handleEditMode},String(t)),!E&&!x&&C)}};ft.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:u.createElement("button",null,"e"),cancelButtonElement:u.createElement("button",null,"c"),minusMenuElement:u.createElement("span",null," - ")};var sR={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},cR={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},dR={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function uR(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var j1=class extends o.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:l,addButtonElement:i,cancelButtonElement:c,editButtonElement:s,inputElement:d,textareaElement:p,minusMenuElement:h,plusMenuElement:m,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:E,onSubmitValueParser:x,fallback:y=null}=this.props,b=kt(e),w=a;kt(a)==="Boolean"&&(w=()=>a);let S=d;d&&kt(d)!=="Function"&&(S=()=>d);let C=p;return p&&kt(p)!=="Function"&&(C=()=>p),b==="Object"||b==="Array"?u.createElement("div",{className:"rejt-tree"},u.createElement(ea,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:l,addButtonElement:i,cancelButtonElement:c,editButtonElement:s,inputElementGenerator:S,textareaElementGenerator:C,minusMenuElement:h,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:E,onSubmitValueParser:x})):y}};j1.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return sR;case"Array":return cR;default:return dR}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>uR(a),inputElement:()=>u.createElement("input",null),textareaElement:()=>u.createElement("textarea",null),fallback:null};var{window:pR}=ke,fR=A.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),$a=A.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})),hR=A(Xs)(({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}})),gR=A(Zs)(({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}})),g0=A.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}`}})),mR=A($t)(({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}})),vR=A(Pt.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"}})),bR={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},yR=e=>{e.currentTarget.dispatchEvent(new pR.KeyboardEvent("keydown",bR))},wR=e=>{e.currentTarget.select()},xR=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),m0=({name:e,value:t,onChange:r})=>{let n=Q0(),a=o.useMemo(()=>t&&gx(t),[t]),l=a!=null,[i,c]=o.useState(!l),[s,d]=o.useState(null),p=o.useCallback(x=>{try{x&&r(JSON.parse(x)),d(void 0)}catch(y){d(y)}},[r]),[h,m]=o.useState(!1),f=o.useCallback(()=>{r({}),m(!0)},[m]),v=o.useRef(null);if(o.useEffect(()=>{h&&v.current&&v.current.select()},[h]),!l)return u.createElement(bt,{id:On(e),onClick:f},"Set object");let g=u.createElement(vR,{ref:v,id:Pe(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>p(x.target.value),placeholder:"Edit JSON string...",autoFocus:h,valid:s?"error":null}),E=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return u.createElement(fR,null,E&&u.createElement(mR,{onClick:x=>{x.preventDefault(),c(y=>!y)}},i?u.createElement(Gs,null):u.createElement(qs,null),u.createElement("span",null,"RAW")),i?g:u.createElement(j1,{readOnly:!E,isCollapsed:E?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:xR(n),cancelButtonElement:u.createElement($a,{type:"button"},"Cancel"),editButtonElement:u.createElement($a,{type:"submit"},"Save"),addButtonElement:u.createElement($a,{type:"submit",primary:!0},"Save"),plusMenuElement:u.createElement(hR,null),minusMenuElement:u.createElement(gR,null),inputElement:(x,y,b,w)=>w?u.createElement(g0,{onFocus:wR,onBlur:yR}):u.createElement(g0,null),fallback:g}))},ER=A.input(({theme:e,min:t,max:r,value:n})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${It(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${It(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${lt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lt(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:lt(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${It(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${It(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${lt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lt(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${It(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${It(.02,e.input.background)} 100%)`,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 ${lt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),N1=A.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),SR=A(N1)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),CR=A.div({display:"flex",alignItems:"center",width:"100%"});function RR(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 IR=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:l=1,onBlur:i,onFocus:c})=>{let s=h=>{r(PC(h.target.value))},d=t!==void 0,p=o.useMemo(()=>RR(l),[l]);return u.createElement(CR,null,u.createElement(N1,null,n),u.createElement(ER,{id:Pe(e),type:"range",onChange:s,name:e,value:t,min:n,max:a,step:l,onFocus:c,onBlur:i}),u.createElement(SR,{numberOFDecimalsPlaces:p,max:a},d?t.toFixed(p):"--"," / ",a))},AR=A.label({display:"flex"}),_R=A.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),kR=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:l})=>{let i=h=>{r(h.target.value)},[c,s]=o.useState(!1),d=o.useCallback(()=>{r(""),s(!0)},[s]);if(t===void 0)return u.createElement(bt,{variant:"outline",size:"medium",id:On(e),onClick:d},"Set string");let p=typeof t=="string";return u.createElement(AR,null,u.createElement(Pt.Textarea,{id:Pe(e),maxLength:l,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:c,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),l&&u.createElement(_R,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},OR=A(Pt.Input)({padding:10});function TR(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var MR=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=o.useRef(null);function l(i){if(!i.target.files)return;let c=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(c),TR(n)}return o.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),u.createElement(OR,{ref:a,id:Pe(t),type:"file",name:t,multiple:!0,onChange:l,accept:r,size:"flex"})},LR=o.lazy(()=>zt(()=>import("./Color-RQJUDNI5-_YNRhai7.js"),__vite__mapDeps([10,2,6,1,3,4,5,7]),import.meta.url)),$R=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(LR,{...e})),zR={array:m0,object:m0,boolean:kC,color:$R,date:zC,number:HC,check:Wt,"inline-check":Wt,radio:Wt,"inline-radio":Wt,select:Wt,"multi-select":Wt,range:IR,text:kR,file:MR},v0=()=>u.createElement(u.Fragment,null,"-"),BR=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:l}=e,[i,c]=o.useState(!1),[s,d]=o.useState({value:t});o.useEffect(()=>{i||d({value:t})},[i,t]);let p=o.useCallback(E=>(d({value:E}),r({[a]:E}),E),[r,a]),h=o.useCallback(()=>c(!1),[]),m=o.useCallback(()=>c(!0),[]);if(!l||l.disable){let E=(l==null?void 0:l.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&E?u.createElement(Mt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):u.createElement(v0,null)}let f={name:a,argType:e,value:s.value,onChange:p,onBlur:h,onFocus:m},v=zR[l.type]||v0;return u.createElement(v,{...f,...l,controlType:l.type})},PR=A.span({fontWeight:"bold"}),HR=A.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),FR=A.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...ct({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),jR=A.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ee(.1,e.color.defaultText):ee(.2,e.color.defaultText),marginTop:t?4:0})),NR=A.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ee(.1,e.color.defaultText):ee(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),DR=A.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),VR=e=>e&&{summary:typeof e=="string"?e:e.name},Qr=e=>{var g;let[t,r]=o.useState(!1),{row:n,updateArgs:a,compact:l,expandable:i,initialExpandedArgs:c}=e,{name:s,description:d}=n,p=n.table||{},h=p.type||VR(n.type),m=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return u.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},u.createElement(DR,{expandable:i},u.createElement(PR,null,s),f?u.createElement(HR,{title:"Required"},"*"):null),l?null:u.createElement("td",null,v&&u.createElement(FR,null,u.createElement(d1,null,d)),p.jsDocTags!=null?u.createElement(u.Fragment,null,u.createElement(NR,{hasDescription:v},u.createElement(La,{value:h,initialExpandedArgs:c})),u.createElement(mC,{tags:p.jsDocTags})):u.createElement(jR,{hasDescription:v},u.createElement(La,{value:h,initialExpandedArgs:c}))),l?null:u.createElement("td",null,u.createElement(La,{value:m,initialExpandedArgs:c})),a?u.createElement("td",null,u.createElement(BR,{...e,isHovered:t})):null)},UR=A(Qs)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ee(.25,e.color.defaultText):ee(.3,e.color.defaultText),border:"none",display:"inline-block"})),WR=A(Wo)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ee(.25,e.color.defaultText):ee(.3,e.color.defaultText),border:"none",display:"inline-block"})),qR=A.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),GR=A.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"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),YR=A.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),KR=A.td(()=>({position:"relative"})),XR=A.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${It(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),b0=A.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"})),za=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[l,i]=o.useState(n),c=e==="subsection"?YR:GR,s=(r==null?void 0:r.length)||0,d=e==="subsection"?`${s} item${s!==1?"s":""}`:"",p=`${l?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return u.createElement(u.Fragment,null,u.createElement(XR,{title:p},u.createElement(c,{colSpan:1},u.createElement(b0,{onClick:h=>i(!l),tabIndex:0},p),u.createElement(qR,null,l?u.createElement(UR,null):u.createElement(WR,null),t)),u.createElement(KR,{colSpan:a-1},u.createElement(b0,{onClick:h=>i(!l),tabIndex:-1,style:{outline:"none"}},p),l?null:d)),l?r:null)},en=A.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),fe=A.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ie=A.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})),he=[2,4,2,2],ZR=()=>u.createElement(u.Fragment,null,u.createElement(en,null,u.createElement(fe,{numColumn:he[0]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[1]},u.createElement(ie,{width:"30%"})),u.createElement(fe,{numColumn:he[2]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[3]},u.createElement(ie,{width:"60%"}))),u.createElement(en,null,u.createElement(fe,{numColumn:he[0]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[1]},u.createElement(ie,{width:"80%"}),u.createElement(ie,{width:"30%"})),u.createElement(fe,{numColumn:he[2]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[3]},u.createElement(ie,{width:"60%"}))),u.createElement(en,null,u.createElement(fe,{numColumn:he[0]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[1]},u.createElement(ie,{width:"80%"}),u.createElement(ie,{width:"30%"})),u.createElement(fe,{numColumn:he[2]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[3]},u.createElement(ie,{width:"60%"}))),u.createElement(en,null,u.createElement(fe,{numColumn:he[0]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[1]},u.createElement(ie,{width:"80%"}),u.createElement(ie,{width:"30%"})),u.createElement(fe,{numColumn:he[2]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[3]},u.createElement(ie,{width:"60%"})))),JR=A.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"})),QR=A.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),eI=A.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),tI=({inAddonPanel:e})=>{let[t,r]=o.useState(!0);return o.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:u.createElement(JR,{inAddonPanel:e},u.createElement(ll,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:u.createElement(u.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:u.createElement(QR,null,e&&u.createElement(u.Fragment,null,u.createElement(Mt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},u.createElement(Ks,null)," Watch 5m video"),u.createElement(eI,null),u.createElement(Mt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},u.createElement(yn,null)," Read docs")),!e&&u.createElement(Mt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},u.createElement(yn,null)," Learn how to set that up"))}))},rI=A.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"?ee(.25,e.color.defaultText):ee(.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}}}}})),nI=A($t)(({theme:e})=>({margin:"-4px -12px -4px 0"})),aI=A.span({display:"flex",justifyContent:"space-between"}),oI={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},lI=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([l,i])=>{let{category:c,subcategory:s}=(i==null?void 0:i.table)||{};if(c){let d=r.sections[c]||{ungrouped:[],subsections:{}};if(!s)d.ungrouped.push({key:l,...i});else{let p=d.subsections[s]||[];p.push({key:l,...i}),d.subsections[s]=p}r.sections[c]=d}else if(s){let d=r.ungroupedSubsections[s]||[];d.push({key:l,...i}),r.ungroupedSubsections[s]=d}else r.ungrouped.push({key:l,...i})});let n=oI[t],a=l=>n?Object.keys(l).reduce((i,c)=>({...i,[c]:l[c].sort(n)}),{}):l;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((l,i)=>({...l,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},iI=(e,t,r)=>{try{return ed(e,t,r)}catch(n){return FS.warn(n.message),!1}},In=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:l,sort:i="none",isLoading:c}=e;if("error"in e){let{error:y}=e;return u.createElement(R1,null,y," ",u.createElement(Mt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},u.createElement(yn,null)," Read the docs"))}if(c)return u.createElement(ZR,null);let{rows:s,args:d,globals:p}="rows"in e&&e,h=lI(Wy(s,y=>{var b;return!((b=y==null?void 0:y.table)!=null&&b.disable)&&iI(y,d||{},p||{})}),i),m=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,v=Object.entries(h.ungroupedSubsections).length===0;if(m&&f&&v)return u.createElement(tI,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let E=Object.keys(h.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:l};return u.createElement(Qo,null,u.createElement(rI,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},u.createElement("thead",{className:"docblock-argstable-head"},u.createElement("tr",null,u.createElement("th",null,u.createElement("span",null,"Name")),n?null:u.createElement("th",null,u.createElement("span",null,"Description")),n?null:u.createElement("th",null,u.createElement("span",null,"Default")),t?u.createElement("th",null,u.createElement(aI,null,"Control"," ",!c&&r&&u.createElement(nI,{onClick:()=>r(),title:"Reset controls"},u.createElement(tc,{"aria-hidden":!0})))):null)),u.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(y=>u.createElement(Qr,{key:y.key,row:y,arg:d&&d[y.key],...x})),Object.entries(h.ungroupedSubsections).map(([y,b])=>u.createElement(za,{key:y,label:y,level:"subsection",colSpan:g},b.map(w=>u.createElement(Qr,{key:w.key,row:w,arg:d&&d[w.key],expandable:E,...x})))),Object.entries(h.sections).map(([y,b])=>u.createElement(za,{key:y,label:y,level:"section",colSpan:g},b.ungrouped.map(w=>u.createElement(Qr,{key:w.key,row:w,arg:d&&d[w.key],...x})),Object.entries(b.subsections).map(([w,S])=>u.createElement(za,{key:w,label:w,level:"subsection",colSpan:g},S.map(C=>u.createElement(Qr,{key:C.key,row:C,arg:d&&d[C.key],expandable:E,...x})))))))))},D1=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?u.createElement(In,{...r[0][1],...t}):u.createElement(sl,null,r.map((n,a)=>{let[l,i]=n,c=`prop_table_div_${l}`,s="div",d=a===0?t:{sort:t.sort};return u.createElement(s,{key:c,id:c,title:l},({active:p})=>p?u.createElement(In,{key:`prop_table_${l}`,...i,...d}):null)}))};A.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText)}));A.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});A.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});A.div(re,({theme:e})=>({...Qn(e),margin:"25px 0 40px",padding:"30px 20px"}));A.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));A.div(({theme:e})=>({color:e.base==="light"?ee(.2,e.color.defaultText):ee(.6,e.color.defaultText)}));A.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});A.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"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));A.div({display:"flex",flexDirection:"row"});A.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));A.div(({theme:e})=>({...Qn(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"}));A.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});A.div({flex:1,display:"flex",flexDirection:"row"});A.div({display:"flex",alignItems:"flex-start"});A.div({flex:"0 0 30%"});A.div({flex:1});A.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText)}));A.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));A.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));A.div(({theme:e})=>({...Qn(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));A.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});A.div({display:"flex",flexFlow:"row wrap"});var sI=e=>`anchor--${e}`,V1=({storyId:e,children:t})=>u.createElement("div",{id:sI(e),className:"sb-anchor"},t);ke&&ke.__DOCS_CONTEXT__===void 0&&(ke.__DOCS_CONTEXT__=o.createContext(null),ke.__DOCS_CONTEXT__.displayName="DocsContext");var Ee=ke?ke.__DOCS_CONTEXT__:o.createContext(null),dr=(e,t)=>o.useContext(Ee).resolveOf(e,t),cI=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),U1=e=>{if(e)return typeof e=="string"?e.includes("-")?cI(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function dI(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function W1(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}function uI(e){if(e.type==="component"){let{component:l,projectAnnotations:{parameters:i}}=e;return{argTypes:W1(l,i),parameters:i,component:l}}if(e.type==="meta"){let{preparedMeta:{argTypes:l,parameters:i,component:c,subcomponents:s}}=e;return{argTypes:l,parameters:i,component:c,subcomponents:s}}let{story:{argTypes:t,parameters:r,component:n,subcomponents:a}}=e;return{argTypes:t,parameters:r,component:n,subcomponents:a}}var pA=e=>{var g;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=dr(t||"meta"),{argTypes:n,parameters:a,component:l,subcomponents:i}=uI(r),c=((g=a.docs)==null?void 0:g.argTypes)||{},s=e.include??c.include,d=e.exclude??c.exclude,p=e.sort??c.sort,h=Rn(n,s,d);if(!(i&&Object.keys(i).length>0))return u.createElement(In,{rows:h,sort:p});let m=U1(l),f=Object.fromEntries(Object.entries(i).map(([E,x])=>[E,{rows:Rn(W1(x,a),s,d),sort:p}])),v={[m]:{rows:h,sort:p},...f};return u.createElement(D1,{tabs:v,sort:p})};function q1(e){return LS(e,{allowFunction:!1})}var Sl=o.createContext({sources:{}}),G1="--unknown--",pI=({children:e,channel:t})=>{let[r,n]=o.useState({});return o.useEffect(()=>{let a=(l,i=null,c=!1)=>{let{id:s,args:d=void 0,source:p,format:h}=typeof l=="string"?{id:l,source:i,format:c}:l,m=d?q1(d):G1;n(f=>({...f,[s]:{...f[s],[m]:{code:p,format:h}}}))};return t.on(Tl,a),()=>t.off(Tl,a)},[]),u.createElement(Sl.Provider,{value:{sources:r}},e)},fI=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[q1(t)])||(a==null?void 0:a[G1])||{code:""}},hI=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,d;let{__isArgsStory:a}=t.parameters,l=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||l.type||aa.AUTO;if(l.code!==void 0)return l.code;let c=i===aa.DYNAMIC||i===aa.AUTO&&e&&a?e:l.originalSource||"";return((d=n??l.transform)==null?void 0:d(c,t))||c},Y1=(e,t,r)=>{var f,v,g,E;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 l=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,c=e.format??l.format,s=e.language??l.language??"jsx",d=e.dark??l.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:c,language:s,dark:d};let p=t.getStoryContext(n),h=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,m=fI(n.id,h,r);return c=m.format??((E=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:E.format)??!1,{code:hI({snippet:m.code,storyContext:{...p,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:c,language:s,dark:d}},fA=e=>{let t=o.useContext(Sl),r=o.useContext(Ee),n=Y1(e,r,t);return u.createElement(Jn,{...n})};function gI(e,t){let r=mI([e],t);return r&&r[0]}function mI(e,t){let[r,n]=o.useState({});return o.useEffect(()=>{Promise.all(e.map(async a=>{let l=await t.loadStory(a);n(i=>i[a]===l?i:{...i,[a]:l})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var vI=(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},bI=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,l=a.story||{};if(a.disable)return null;if(e.inline??l.inline??!1){let c=e.height??l.height,s=e.autoplay??l.autoplay??!1;return{story:t,inline:!0,height:c,autoplay:s,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??l.height??l.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},yI=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=o.useContext(Ee),r=vI(e,t),n=gI(r,t);if(!n)return u.createElement(A1,null);let a=bI(e,n,t);return a?u.createElement(sC,{...a}):null},wI=e=>{var m,f,v,g,E,x,y,b,w,S;let t=o.useContext(Ee),r=o.useContext(Sl),{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:l}=dr(n||"story",["story"]),i=Y1({...a,...n&&{of:n}},t,r),c=e.layout??l.parameters.layout??((f=(m=l.parameters.docs)==null?void 0:m.canvas)==null?void 0:f.layout)??"padded",s=e.withToolbar??((g=(v=l.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((x=(E=l.parameters.docs)==null?void 0:E.canvas)==null?void 0:x.additionalActions),p=e.sourceState??((b=(y=l.parameters.docs)==null?void 0:y.canvas)==null?void 0:b.sourceState)??"hidden",h=e.className??((S=(w=l.parameters.docs)==null?void 0:w.canvas)==null?void 0:S.className);return u.createElement(_1,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:s,additionalActions:d,className:h,layout:c},u.createElement(yI,{of:n||l.moduleExport,meta:e.meta,...e.story}))},xI=(e,t)=>{let r=t.getStoryContext(e),[n,a]=o.useState(r.globals);return o.useEffect(()=>{let l=i=>{a(i.globals)};return t.channel.on(l0,l),()=>t.channel.off(l0,l)},[t.channel]),[n]},EI=(e,t)=>{let r=SI(e,t);if(!r)throw new Error("No result when story was defined");return r},SI=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,l]=o.useState(r.args);o.useEffect(()=>{let s=d=>{d.storyId===n&&l(d.args)};return t.channel.on(i0,s),()=>t.channel.off(i0,s)},[n,t.channel]);let i=o.useCallback(s=>t.channel.emit(jS,{storyId:n,updatedArgs:s}),[n,t.channel]),c=o.useCallback(s=>t.channel.emit(NS,{storyId:n,argNames:s}),[n,t.channel]);return e&&[a,i,c]};function CI(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var RI=e=>{var w;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=o.useContext(Ee),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:l,component:i,subcomponents:c}=n,s=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??s.include,p=e.exclude??s.exclude,h=e.sort??s.sort,[m,f,v]=EI(n,r),[g]=xI(n,r),E=Rn(l,d,p);if(!(c&&Object.keys(c).length>0))return Object.keys(E).length>0||Object.keys(m).length>0?u.createElement(In,{rows:E,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v}):null;let x=U1(i),y=Object.fromEntries(Object.entries(c).map(([S,C])=>[S,{rows:Rn(CI(C,a),d,p),sort:h}])),b={[x]:{rows:E,sort:h},...y};return u.createElement(D1,{tabs:b,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v})},{document:K1}=ke,II=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return u.createElement(Xo,null,t);let n=e&&e.split("-");return u.createElement(Jn,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Cl(e,t){e.channel.emit(DS,t)}var po=Hc.a,AI=({hash:e,children:t})=>{let r=o.useContext(Ee);return u.createElement(po,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);K1.getElementById(a)&&Cl(r,e)}},t)},_I=e=>{let{href:t,target:r,children:n,...a}=e,l=o.useContext(Ee);if(t){if(t.startsWith("#"))return u.createElement(AI,{hash:t},n);if(r!=="_blank"&&!t.startsWith("https://"))return u.createElement(po,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),Cl(l,i.currentTarget.getAttribute("href")))},target:r,...a},n)}return u.createElement(po,{...e})},X1=["h1","h2","h3","h4","h5","h6"],kI=X1.reduce((e,t)=>({...e,[t]:A(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),OI=A.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),TI=({as:e,id:t,children:r,...n})=>{let a=o.useContext(Ee),l=kI[e],i=`#${t}`;return u.createElement(l,{id:t,...n},u.createElement(OI,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:c=>{K1.getElementById(t)&&Cl(a,i)}},u.createElement(Js,null)),r)},Rl=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return u.createElement(TI,{as:t,id:r,...a},n);let l=t,{as:i,...c}=e;return u.createElement(l,{...te(c,t)})},MI=X1.reduce((e,t)=>({...e,[t]:r=>u.createElement(Rl,{as:t,...r})}),{}),LI=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(Ed`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 u.createElement(d1,{...e,options:{forceBlock:!0,overrides:{code:II,a:_I,...MI,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},$I=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))($I||{}),zI=e=>{var t,r,n,a,l,i,c,s;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=(l=d.docs)==null?void 0:l.extractComponentDescription)==null?void 0:i.call(l,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((s=(c=p.docs)==null?void 0:c.extractComponentDescription)==null?void 0:s.call(c,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},fo=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=dr(t||"meta"),n=zI(r);return n?u.createElement(LI,null,n):null},BI=A.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),PI=A.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"}})),HI=A.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),FI=({title:e})=>e===null?null:typeof e=="string"?u.createElement(HI,null,e):e,jI=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:l})=>(o.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,...l},c=setTimeout(()=>o0.init(i),100);return()=>{clearTimeout(c),o0.destroy()}},[t]),u.createElement(u.Fragment,null,u.createElement(BI,null,t?null:u.createElement(PI,null,u.createElement(FI,{title:e||null}),u.createElement("div",{className:"toc-wrapper"}))))),{document:NI,window:DI}=ke,VI=({context:e,theme:t,children:r})=>{var a,l,i,c,s;let n;try{n=(l=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:l.toc}catch{n=(s=(c=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:c.docs)==null?void 0:s.toc}return o.useEffect(()=>{let d;try{if(d=new URL(DI.parent.location.toString()),d.hash){let p=NI.getElementById(d.hash.substring(1));p&&setTimeout(()=>{dI(p)},200)}}catch{}}),u.createElement(Ee.Provider,{value:e},u.createElement(pI,{channel:e.channel},u.createElement(es,{theme:Gp(t)},u.createElement(ZS,{toc:n?u.createElement(jI,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},UI=/\s*\/\s*/,WI=e=>{let t=e.trim().split(UI);return t&&t[t.length-1]||e},qI=({children:e})=>{let t=o.useContext(Ee),r=e||WI(t.storyById().title);return r?u.createElement(GS,{className:"sbdocs-title sb-unstyled"},r):null},GI=({children:e})=>{var n;let t=o.useContext(Ee),r=e||((n=t.storyById().parameters)==null?void 0:n.componentSubtitle);return r?u.createElement(YS,{className:"sbdocs-subtitle sb-unstyled"},r):null},YI=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return u.createElement(Jo,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return u.createElement(Rl,{as:"h3",id:r},e)},Z1=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var c,s;let{story:l}=dr(e||"story",["story"]),i=((s=(c=l.parameters.docs)==null?void 0:c.canvas)==null?void 0:s.withToolbar)??r;return u.createElement(V1,{storyId:l.id},t&&u.createElement(u.Fragment,null,u.createElement(YI,null,l.name),u.createElement(fo,{of:e})),u.createElement(wI,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},KI=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}=dr(t||"meta",["meta"]),n=o.useContext(Ee).componentStoriesFromCSFFile(r)[0];return n?u.createElement(Z1,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},XI=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return u.createElement(Zo,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return u.createElement(Rl,{as:"h2",id:n,...r},e)},ZI=A(XI)(({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"}})),JI=({title:e="Stories",includePrimary:t=!0})=>{var c;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=o.useContext(Ee),l=r(),{stories:{filter:i}={filter:void 0}}=((c=n.parameters)==null?void 0:c.docs)||{};return i&&(l=l.filter(s=>i(s,a(s)))),t||(l=l.slice(1)),!l||l.length===0?null:u.createElement(u.Fragment,null,u.createElement(ZI,null,e),l.map(s=>s&&u.createElement(Z1,{key:s.id,of:s.moduleExport,expanded:!0,__forceInitialArgs:!0})))},QI=()=>{let e=dr("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return u.createElement(u.Fragment,null,u.createElement(qI,null),u.createElement(GI,null),u.createElement(fo,{of:"meta"}),r?u.createElement(fo,{of:"story"}):null,u.createElement(KI,null),u.createElement(RI,null),r?null:u.createElement(JI,null))};function hA({context:e,docsParameter:t}){let r=t.container||VI,n=t.page||QI;return u.createElement(r,{context:e,theme:t.theme},u.createElement(n,null))}var gA=({of:e})=>{let t=o.useContext(Ee);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return u.createElement(V1,{storyId:r.id})}catch{return null}};export{_I as A,II as C,hA as D,Pt as F,MI as H,gA as M,KI as P,Bo as S,qI as T,Hg as W,ch as a,Ds as b,ks as c,fo as d,pA as e,JI as f,VI as g,fA as h,w7 as i,_7 as j,_m as k,Pe as l,Ht as m,A as n,sA as s}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-JOJW2KGS-wlSn0mRJ.js","./iframe-IJaDOTiX.js","./index-OjgoNOWw.js","./index-mQqIOHEI.js","./index-Eok78svH.js","./index-ogXoivrg.js","./index-XkRcYS9h.js","./index-PPLHz8o0.js","./formatter-B5HCVTEV-do7XLX49.js","./WithTooltip-Y7J54OF7-0N4mmDgr.js","./Color-RQJUDNI5-_YNRhai7.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} \ No newline at end of file diff --git a/assets/index-bDPzi3wY.js b/assets/index-5ui4R9NG.js similarity index 85% rename from assets/index-bDPzi3wY.js rename to assets/index-5ui4R9NG.js index 882dec6..1ba550f 100644 --- a/assets/index-bDPzi3wY.js +++ b/assets/index-5ui4R9NG.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-DtaoT6pD.js";import{r as m}from"./index-OjgoNOWw.js";import{c as u}from"./classNames-pTwYsIK_.js";const p=m.forwardRef(function({variant:e="primary",size:a="M",children:t,className:r,as:n,...s},o){const i=n||"button";return l.jsx(i,{ref:o,type:"button",className:u("cmpui_button",r),...s,"data-variant":e,"data-size":a,children:t})});p.__docgenInfo={description:"",methods:[],displayName:"Button",props:{as:{required:!1,tsType:{name:"T"},description:""},size:{required:!1,tsType:{name:"union",raw:'"S" | "M"',elements:[{name:"literal",value:'"S"'},{name:"literal",value:'"M"'}]},description:"",defaultValue:{value:'"M"',computed:!1}},variant:{required:!1,tsType:{name:"union",raw:'"primary" | "secondary"',elements:[{name:"literal",value:'"primary"'},{name:"literal",value:'"secondary"'}]},description:"",defaultValue:{value:'"primary"',computed:!1}}}};export{p as B}; +import{j as l}from"./jsx-runtime-DvLKfCe6.js";import{r as m}from"./index-aXz8NaAs.js";import{c as u}from"./classNames-pTwYsIK_.js";const p=m.forwardRef(function({variant:e="primary",size:a="M",children:t,className:r,as:n,...s},o){const i=n||"button";return l.jsx(i,{ref:o,type:"button",className:u("cmpui_button",r),...s,"data-variant":e,"data-size":a,children:t})});p.__docgenInfo={description:"",methods:[],displayName:"Button",props:{as:{required:!1,tsType:{name:"T"},description:""},size:{required:!1,tsType:{name:"union",raw:'"S" | "M"',elements:[{name:"literal",value:'"S"'},{name:"literal",value:'"M"'}]},description:"",defaultValue:{value:'"M"',computed:!1}},variant:{required:!1,tsType:{name:"union",raw:'"primary" | "secondary"',elements:[{name:"literal",value:'"primary"'},{name:"literal",value:'"secondary"'}]},description:"",defaultValue:{value:'"primary"',computed:!1}}}};export{p as B}; diff --git a/assets/index-6uWyxtkv.js b/assets/index-6uWyxtkv.js deleted file mode 100644 index 89cde0c..0000000 --- a/assets/index-6uWyxtkv.js +++ /dev/null @@ -1,71 +0,0 @@ -import{j as d}from"./jsx-runtime-DtaoT6pD.js";import{F as H}from"./index-hC_OXdTA.js";import{L as U}from"./index-14PbI9Yx.js";import{_ as $}from"./index-Eok78svH.js";import{r as t}from"./index-OjgoNOWw.js";import{$ as B,f as F,a as V,c as w}from"./index-wq2dZbDE.js";import{$ as S,a as Y,b as X,e as W,c as z,d as G,f as J}from"./index--q_WrUwI.js";import{r as K}from"./index-mQqIOHEI.js";function Q({onDown:e,onMove:r,onUp:n}){return a=>{if(a.buttons===2)return;const c=e==null?void 0:e(a);let i;const s=m=>{i=r==null?void 0:r(m,c,i)},u=m=>{window.removeEventListener("pointermove",s),window.removeEventListener("pointerup",u),n==null||n(m,c,i)};window.addEventListener("pointermove",s),window.addEventListener("pointerup",u)}}const j="ContextMenu",[Z,_e]=B(j,[S]),C=S(),[ee,k]=Z(j),ne=e=>{const{__scopeContextMenu:r,children:n,onOpenChange:o,dir:a,modal:c=!0}=e,[i,s]=t.useState(!1),u=C(r),m=F(o),l=t.useCallback(g=>{s(g),m(g)},[m]);return t.createElement(ee,{scope:r,open:i,onOpenChange:l,modal:c},t.createElement(Y,$({},u,{dir:a,open:i,onOpenChange:l,modal:c}),n))},te="ContextMenuTrigger",re=t.forwardRef((e,r)=>{const{__scopeContextMenu:n,disabled:o=!1,...a}=e,c=k(te,n),i=C(n),s=t.useRef({x:0,y:0}),u=t.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...s.current})}),m=t.useRef(0),l=t.useCallback(()=>window.clearTimeout(m.current),[]),g=f=>{s.current={x:f.clientX,y:f.clientY},c.onOpenChange(!0)};return t.useEffect(()=>l,[l]),t.useEffect(()=>void(o&&l()),[o,l]),t.createElement(t.Fragment,null,t.createElement(X,$({},i,{virtualRef:u})),t.createElement(V.span,$({"data-state":c.open?"open":"closed","data-disabled":o?"":void 0},a,{ref:r,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:o?e.onContextMenu:w(e.onContextMenu,f=>{l(),g(f),f.preventDefault()}),onPointerDown:o?e.onPointerDown:w(e.onPointerDown,_(f=>{l(),m.current=window.setTimeout(()=>g(f),700)})),onPointerMove:o?e.onPointerMove:w(e.onPointerMove,_(l)),onPointerCancel:o?e.onPointerCancel:w(e.onPointerCancel,_(l)),onPointerUp:o?e.onPointerUp:w(e.onPointerUp,_(l))})))}),ae=e=>{const{__scopeContextMenu:r,...n}=e,o=C(r);return t.createElement(W,$({},o,n))},oe="ContextMenuContent",ie=t.forwardRef((e,r)=>{const{__scopeContextMenu:n,...o}=e,a=k(oe,n),c=C(n),i=t.useRef(!1);return t.createElement(z,$({},c,o,{ref:r,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var u;(u=e.onCloseAutoFocus)===null||u===void 0||u.call(e,s),!s.defaultPrevented&&i.current&&s.preventDefault(),i.current=!1},onInteractOutside:s=>{var u;(u=e.onInteractOutside)===null||u===void 0||u.call(e,s),!s.defaultPrevented&&!a.modal&&(i.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),se=t.forwardRef((e,r)=>{const{__scopeContextMenu:n,...o}=e,a=C(n);return t.createElement(G,$({},a,o,{ref:r}))}),de=t.forwardRef((e,r)=>{const{__scopeContextMenu:n,...o}=e,a=C(n);return t.createElement(J,$({},a,o,{ref:r}))});function _(e){return r=>r.pointerType!=="mouse"?e(r):void 0}const ce=ne,ue=re,le=ae,me=ie,pe=se,fe=de;function ge(e){return d.jsxs(ce,{onOpenChange:e.onOpenChange,children:[d.jsx(ue,{asChild:!0,children:e.children}),d.jsx(le,{children:d.jsx(me,{asChild:!0,children:d.jsx(H,{children:e.content})})})]})}ge.__docgenInfo={description:"",methods:[],displayName:"ContextMenu",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},open:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(open: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"open"}],return:{name:"void"}}},description:""}}};function he({children:e,...r}){return d.jsx(pe,{...r,asChild:!0,children:d.jsx(U,{size:"S",rounded:!0,children:e})})}he.__docgenInfo={description:"",methods:[],displayName:"ContextMenuItem"};function ye(){return d.jsx(fe,{className:"context-menu-separator"})}ye.__docgenInfo={description:"",methods:[],displayName:"ContextMenuSeparator"};const L=t.createContext({treeId:null,setIsDragging:()=>{}}),D=t.createContext({map:new Map});var v=(e=>(e[e.Before=0]="Before",e[e.After=1]="After",e[e.Child=2]="Child",e))(v||{});function A(e,r){if(e.id===r)return!0;if(e.children){for(const n of e.children)if(A(n,r))return!0}return!1}function N(e,r,n){const o=e.currentTarget;if(!(o instanceof HTMLElement))return null;const a=o.getBoundingClientRect(),c=e.clientY-a.top,i=ca.height*2/3?v.After:v.Child;return A(r,n.id)||n.children===void 0&&i===v.Child?null:i}function xe(e,r,n){const[o,a]=t.useState(!1),[c,i]=t.useState(0),[s,u]=t.useState(0);return{handlePointerDown:t.useMemo(()=>Q({onMove:(l,g,f)=>{if(l.pointerType!=="touch")return l.preventDefault(),f?(a(!0),i(l.pageX),u(l.pageY),!0):(e(),!0)},onUp:()=>{a(!1),r()}}),[e,r]),shadow:o&&K.createPortal(d.jsx("div",{style:{position:"absolute",pointerEvents:"none",display:"flex",left:`${c}px`,top:`${s}px`,opacity:"0.5",boxSizing:"border-box"},children:n}),document.body)}}function P({depth:e=0,updateIndicator:r=N,...n}){var R;const o=n.render,{treeId:a,setIsDragging:c}=t.useContext(L),i=t.useRef(null),{map:s}=t.useContext(D),[u,m]=t.useState(!0),{handlePointerDown:l,shadow:g}=xe(()=>{c(n.item.id)},()=>{},(R=n.shadowRender)==null?void 0:R.call(n,{item:n.item,depth:e,open:!1,onOpenChange:()=>{}})),f=t.useCallback(x=>{var p,b;if(!a)return;const h=s.get(a);if(!h)return;const y=r(x,h.item,n.item);(p=n.onOrderChange)==null||p.call(n,a,n.item.id,y),c(null),i.current&&((b=n.onUpdateIndicator)==null||b.call(n,i.current,null,e))},[e,s,n.item,n.onOrderChange,n.onUpdateIndicator,c,a,r]),M=t.useCallback(x=>{var p;if(!a)return;const h=s.get(a);if(!h)return;const y=N(x,h.item,n.item);i.current&&((p=n.onUpdateIndicator)==null||p.call(n,i.current,y,e))},[e,s,n.item,n.onUpdateIndicator,a]),I=t.useMemo(()=>()=>{n.onItemSelect(n.item)},[n.onItemSelect,n.item]);return d.jsxs(d.Fragment,{children:[d.jsxs("li",{onPointerUp:f,onPointerDown:l,onPointerMove:M,ref:i,className:"cmpui_tree-view__item",onClick:I,children:[d.jsx(o,{item:n.item,onOpenChange:m,open:u,depth:e}),g]}),n.item.children&&u&&d.jsx("li",{className:"cmpui_tree-view__item-dir",children:d.jsx("ol",{className:"cmpui_tree-view__item-dir-ol",children:n.item.children.map(x=>d.jsx(P,{updateIndicator:r,render:n.render,shadowRender:n.shadowRender,onOrderChange:n.onOrderChange,onUpdateIndicator:n.onUpdateIndicator,depth:e+1,item:x,isSelected:n.isSelected,onItemSelect:n.onItemSelect},x.id))})})]})}P.__docgenInfo={description:"",methods:[],displayName:"TreeViewItem",props:{depth:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},isSelected:{required:!0,tsType:{name:"boolean"},description:""},item:{required:!0,tsType:{name:"T"},description:""},onItemSelect:{required:!0,tsType:{name:"signature",type:"function",raw:"(item: T) => void",signature:{arguments:[{type:{name:"T"},name:"item"}],return:{name:"void"}}},description:""},onOrderChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(src: string, dist: string, type: OrderType | null) => void",signature:{arguments:[{type:{name:"string"},name:"src"},{type:{name:"string"},name:"dist"},{type:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]},name:"type"}],return:{name:"void"}}},description:""},onUpdateIndicator:{required:!1,tsType:{name:"signature",type:"function",raw:`( - el: HTMLLIElement, - type: OrderType | null, - depth: number, -) => void`,signature:{arguments:[{type:{name:"HTMLLIElement"},name:"el"},{type:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]},name:"type"},{type:{name:"number"},name:"depth"}],return:{name:"void"}}},description:""},render:{required:!0,tsType:{name:"signature",type:"function",raw:"(props: RenderProps) => React.ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ - depth: number; - item: T; - onOpenChange: (isOpen: boolean) => void; - open: boolean; -}`,signature:{properties:[{key:"depth",value:{name:"number",required:!0}},{key:"item",value:{name:"T",required:!0}},{key:"onOpenChange",value:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}},required:!0}},{key:"open",value:{name:"boolean",required:!0}}]}},name:"props"}],return:{name:"ReactReactNode",raw:"React.ReactNode"}}},description:""},shadowRender:{required:!1,tsType:{name:"signature",type:"function",raw:"(props: RenderProps) => React.ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ - depth: number; - item: T; - onOpenChange: (isOpen: boolean) => void; - open: boolean; -}`,signature:{properties:[{key:"depth",value:{name:"number",required:!0}},{key:"item",value:{name:"T",required:!0}},{key:"onOpenChange",value:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}},required:!0}},{key:"open",value:{name:"boolean",required:!0}}]}},name:"props"}],return:{name:"ReactReactNode",raw:"React.ReactNode"}}},description:""},updateIndicator:{required:!1,tsType:{name:"signature",type:"function",raw:`( - e: React.PointerEvent, - srcItem: ITree, - distItem: ITree, -) => OrderType | null`,signature:{arguments:[{type:{name:"ReactPointerEvent",raw:"React.PointerEvent",elements:[{name:"HTMLLIElement"}]},name:"e"},{type:{name:"signature",type:"object",raw:`{ - id: string; - children?: ITree[]; -}`,signature:{properties:[{key:"id",value:{name:"string",required:!0}},{key:"children",value:{name:"Array",elements:[{name:"ITree"}],raw:"ITree[]",required:!1}}]}},name:"srcItem"},{type:{name:"signature",type:"object",raw:`{ - id: string; - children?: ITree[]; -}`,signature:{properties:[{key:"id",value:{name:"string",required:!0}},{key:"children",value:{name:"Array",elements:[{name:"ITree"}],raw:"ITree[]",required:!1}}]}},name:"distItem"}],return:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]}}},description:"",defaultValue:{value:`function defaultIndicatorUpdate( - e: React.PointerEvent, - srcItem: ITree, - distItem: ITree, -): OrderType | null { - const el = e.currentTarget; - if (!(el instanceof HTMLElement)) return null; - const rect = el.getBoundingClientRect(); - const y = e.clientY - rect.top; - - const orderType = - y < rect.height / 3 - ? OrderType.Before - : y > (rect.height * 2) / 3 - ? OrderType.After - : OrderType.Child; - - if (inChildren(srcItem, distItem.id)) { - return null; - } - - if (distItem.children === undefined && orderType === OrderType.Child) { - return null; - } - - return orderType; -}`,computed:!1}}}};function be(e){const[r,n]=t.useState(null),[o,a]=t.useState(null),c=t.useMemo(()=>{const h=new Map,y=(p,b)=>{var T;h.set(p.id,{item:p,parentId:b}),(T=p.children)==null||T.forEach(O=>y(O,p.id))};return e.items.forEach(p=>y(p)),h},[e.items]),[i,s]=t.useState(0),[u,m]=t.useState(0),[l,g]=t.useState(0),[f,M]=t.useState(0),[I,R]=t.useState(null),x=t.useRef(null);return d.jsx(D.Provider,{value:{map:c},children:d.jsx(L.Provider,{value:{treeId:o,setIsDragging:a},children:d.jsxs("div",{className:"cmpui_tree-view__root",ref:x,children:[d.jsx("ol",{className:"cmpui_tree-view__ol",children:e.items.map(h=>d.jsx(P,{item:h,isSelected:r===h,onItemSelect:y=>{n(y)},shadowRender:e.shadowRender,render:e.render,onOrderChange:e.onOrderChange,updateIndicator:e.updateIndicator,onUpdateIndicator:(y,p)=>{var q;const b=(q=x.current)==null?void 0:q.getBoundingClientRect();if(!b)return;const T=y.getBoundingClientRect(),O=y.firstElementChild;if(!O)return;const E=parseInt(getComputedStyle(O).paddingLeft);s(E),M(T.width-E),p===v.Child?(m(T.top-b.top),g(T.height)):p===v.Before?(m(T.top-b.top),g(4)):(m(T.top-b.top+T.height-4),g(4)),R(p)}},h.id))}),I!==null&&d.jsx("div",{className:"cmpui_tree-view__drag-indicator","data-order":I,style:{left:i,top:u,width:f,height:l}})]})})})}be.__docgenInfo={description:"",methods:[],displayName:"TreeView",props:{items:{required:!0,tsType:{name:"Array",elements:[{name:"T"}],raw:"T[]"},description:""},onOrderChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(src: string, dist: string, type: OrderType | null) => void",signature:{arguments:[{type:{name:"string"},name:"src"},{type:{name:"string"},name:"dist"},{type:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]},name:"type"}],return:{name:"void"}}},description:""},render:{required:!0,tsType:{name:"signature",type:"function",raw:"(props: RenderProps) => React.ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ - depth: number; - item: T; - onOpenChange: (isOpen: boolean) => void; - open: boolean; -}`,signature:{properties:[{key:"depth",value:{name:"number",required:!0}},{key:"item",value:{name:"T",required:!0}},{key:"onOpenChange",value:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}},required:!0}},{key:"open",value:{name:"boolean",required:!0}}]}},name:"props"}],return:{name:"ReactReactNode",raw:"React.ReactNode"}}},description:""},shadowRender:{required:!1,tsType:{name:"signature",type:"function",raw:"(props: RenderProps) => React.ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ - depth: number; - item: T; - onOpenChange: (isOpen: boolean) => void; - open: boolean; -}`,signature:{properties:[{key:"depth",value:{name:"number",required:!0}},{key:"item",value:{name:"T",required:!0}},{key:"onOpenChange",value:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}},required:!0}},{key:"open",value:{name:"boolean",required:!0}}]}},name:"props"}],return:{name:"ReactReactNode",raw:"React.ReactNode"}}},description:""},updateIndicator:{required:!1,tsType:{name:"signature",type:"function",raw:`( - e: React.PointerEvent, - srcItem: ITree, - distItem: ITree, -) => OrderType | null`,signature:{arguments:[{type:{name:"ReactPointerEvent",raw:"React.PointerEvent",elements:[{name:"HTMLLIElement"}]},name:"e"},{type:{name:"signature",type:"object",raw:`{ - id: string; - children?: ITree[]; -}`,signature:{properties:[{key:"id",value:{name:"string",required:!0}},{key:"children",value:{name:"Array",elements:[{name:"ITree"}],raw:"ITree[]",required:!1}}]}},name:"srcItem"},{type:{name:"signature",type:"object",raw:`{ - id: string; - children?: ITree[]; -}`,signature:{properties:[{key:"id",value:{name:"string",required:!0}},{key:"children",value:{name:"Array",elements:[{name:"ITree"}],raw:"ITree[]",required:!1}}]}},name:"distItem"}],return:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]}}},description:""}}};export{ge as C,v as O,be as T,he as a,ye as b,Q as c,A as i}; diff --git a/assets/index-S2z5BvKN.js b/assets/index-9ZytVVav.js similarity index 98% rename from assets/index-S2z5BvKN.js rename to assets/index-9ZytVVav.js index 9124107..0e0e177 100644 --- a/assets/index-S2z5BvKN.js +++ b/assets/index-9ZytVVav.js @@ -1,4 +1,4 @@ -var J=Object.defineProperty;var O=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var z=(t,e,r)=>(O(t,typeof e!="symbol"?e+"":e,r),r);import{j as x}from"./jsx-runtime-DtaoT6pD.js";import{r as g}from"./index-OjgoNOWw.js";import{u as L}from"./useTouchStartPrevent-SoOiKono.js";import{C as X}from"./index-pk5nlV7d.js";import{L as Y}from"./index-cYjXm3u-.js";import{c as $}from"./createDragHandler-nJMxlNVC.js";function Q(t){return t*180/Math.PI}class v{constructor(e,r){z(this,"x");z(this,"y");this.x=e,this.y=r}}function j(t,e,r){const s=Math.cos(r),n=Math.sin(r),u=t.x-e.x,d=t.y-e.y;return new v(u*s-d*n+e.x,u*n+d*s+e.y)}function V(t,e,r){const s=new v(t.x-r.x,t.y-r.y);return s.x*=e.x,s.y*=e.y,new v(r.x+s.x,r.y+s.y)}function S(t,e,r,s){return`url(data:image/svg+xml;base64,${t}) ${e} ${r}, ${s}`}function E(t){return``}function G(t){return S(btoa(E(Q(t))),8,8,"ew-resize")}function B({nobRadius:t=10,...e}){const r=L(),s=$({onDown:i=>{var a;return i.stopPropagation(),(a=e.onStart)==null||a.call(e),{startX:i.clientX,startY:i.clientY,startAngle:e.angle}},onMove:(i,a)=>{if(!a)return;const c=a.startAngle+Math.PI/2,M=new v(a.startX+Math.cos(c)*e.length,a.startY+Math.sin(c)*e.length),p=i.clientX-M.x,y=i.clientY-M.y,m=Math.atan2(y,p)+Math.PI/2;e.onChange(m)},onUp:e.onEnd}),n=j(new v(e.x,e.y-e.length),{x:e.x,y:e.y},e.angle),u=j(new v(e.x,e.y-e.startLength),{x:e.x,y:e.y},e.angle),d=g.useMemo(()=>{const i=Math.PI/12;return Math.round(e.angle/i)*i},[e.angle]),b=g.useMemo(()=>({cursor:G(d)}),[d]);return x.jsxs(x.Fragment,{children:[x.jsx(X,{ref:r,x:n.x,y:n.y,radius:t,onPointerDown:s,fill:"var(--cmpui-primary-color)",style:b}),x.jsx(Y,{x1:u.x,y1:u.y,x2:n.x,y2:n.y,strokeWidth:1,stroke:"var(--cmpui-primary-color)"})]})}B.__docgenInfo={description:"",methods:[],displayName:"AngleNob",props:{angle:{required:!0,tsType:{name:"number"},description:""},length:{required:!0,tsType:{name:"number"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(angle: number) => void",signature:{arguments:[{type:{name:"number"},name:"angle"}],return:{name:"void"}}},description:""},startLength:{required:!0,tsType:{name:"number"},description:""},x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"10",computed:!1}},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};function K({angle:t,height:e,onMove:r,width:s,x:n,y:u,onEnd:d,onStart:b}){const i=s<0?-s:s,a=e<0?-e:e,c=(s<0,n-i/2),M=(e<0,u-a/2),p=g.useMemo(()=>$({onDown(m){m.stopPropagation(),b==null||b()},onMove:(m,o,{dx:f,dy:P})=>{r({x:n+f,y:u+P}),m.preventDefault()},onUp:d}),[r,n,u,d,b]),y=L();return x.jsx("svg",{ref:y,viewBox:`0 0 ${i} ${a}`,style:{position:"absolute",width:i,height:a,transform:`rotate(${t}rad)`,top:M,left:c},className:"cmpui-rect-gizmo--movable-rect",onPointerDown:p,children:x.jsx("rect",{x:0,y:0,width:i,height:a,fill:"transparent"})})}K.__docgenInfo={description:"",methods:[],displayName:"MovableRect",props:{angle:{required:!0,tsType:{name:"number"},description:""},height:{required:!0,tsType:{name:"number"},description:""},onMove:{required:!0,tsType:{name:"signature",type:"function",raw:"(args: { x?: number; y?: number }) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{ x?: number; y?: number }",signature:{properties:[{key:"x",value:{name:"number",required:!1}},{key:"y",value:{name:"number",required:!1}}]}},name:"args"}],return:{name:"void"}}},description:""},width:{required:!0,tsType:{name:"number"},description:""},x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};const W={"left-top":[-1,-1],"right-top":[1,-1],"left-bottom":[-1,1],"right-bottom":[1,1]};function U(t,e,r){const s=Math.abs(e),n=Math.abs(t);if(Math.abs(s/n)>r)return{width:s/r*Math.sign(t),height:s*Math.sign(e)};const d=n*r;return{width:n*Math.sign(t),height:d*Math.sign(e)}}const A={"left-top":[-1,-1,1,-1],"right-top":[1,1,1,-1],"left-bottom":[-1,-1,-1,1],"right-bottom":[1,1,-1,1]};function _(t,e,r,s,n,u,d,b,i){let a=0,c=0;const M=()=>{const m=A[d][0]*a*Math.cos(n)+A[d][1]*c*Math.sin(n);return r+m*2},p=()=>{const m=A[d][2]*a*Math.sin(n)+A[d][3]*c*Math.cos(n);return s+m*2},y=new v((t.x+e.x)/2,(t.y+e.y)/2);return $({onDown:m=>{m.stopPropagation();const o=Math.abs(s/r),f=q=>{const k=U(M(),p(),o);u({x:y.x,y:y.y,...k})},P=()=>{u({x:y.x,y:y.y,width:M(),height:p()})};return window.addEventListener("keydown",f),window.addEventListener("keyup",P),i==null||i(),{startP2:e,startRatio:o,startP1:t,startWidth:r,startHeight:s,startCenter:y,cleanUp(){window.removeEventListener("keydown",f),window.removeEventListener("keyup",P)}}},onMove:(m,o,{dx:f,dy:P})=>{if(!o)return;a=f,c=P;const q=o.startCenter,k=new v(q.x-o.startP1.x,q.y-o.startP1.y),R=new v(q.x-(o.startP1.x+a),q.y-(o.startP1.y+c)),h=new v(R.x/k.x,R.y/k.y);(Number.isNaN(h.x)||h.x===1/0||h.x===-1/0)&&(a=0),(Number.isNaN(h.y)||h.y===1/0||h.y===-1/0)&&(c=0);const H=new v(o.startP1.x+a,o.startP1.y+c),I=V(o.startP2,h,q),N=V(o.startCenter,h,q),D=j(H,N,-n),l=j(I,N,-n);let w=l.x-D.x,T=l.y-D.y;if(w*=-W[d][0],T*=-W[d][1],m.shiftKey){const C=U(M(),p(),o.startRatio);u({x:o.startCenter.x,y:o.startCenter.y,...C})}else u({width:w,height:T,x:N.x,y:N.y})},onUp:(m,o)=>{o&&(o.cleanUp(),b==null||b())}})}const ee=["left-top","right-top","right-bottom","left-bottom"];function te({width:t,height:e,x:r,y:s,angle:n,onMove:u,isRotatable:d=!1,isResizable:b=!1,nobRadius:i=6,onEnd:a,onStart:c}){const M=g.useMemo(()=>new v(r,s),[r,s]),[p,y,m,o]=g.useMemo(()=>ee.map(l=>{const[w,T]=W[l],C=new v(r+w*t/2,s+T*e/2);return j(C,M,n)}),[n,M,e,t,r,s]),f=g.useCallback(l=>{u({x:l.x,y:l.y,width:l.width,height:l.height,angle:n})},[u,n]),P=g.useMemo(()=>_(p,m,t,e,n,f,"left-top",a,c),[p,m,t,e,n,f,a,c]),q=g.useMemo(()=>_(y,o,t,e,n,f,"right-top",a,c),[y,o,t,e,n,f,a,c]),k=g.useMemo(()=>_(o,y,t,e,n,f,"left-bottom",a,c),[o,y,t,e,n,f,a,c]),R=g.useMemo(()=>_(m,p,t,e,n,f,"right-bottom",a,c),[p,m,t,e,n,f,a,c]),h=g.useMemo(()=>[[p.x,p.y],[y.x,y.y],[m.x,m.y],[o.x,o.y]],[p,y,m,o]),H=g.useMemo(()=>[P,q,R,k],[P,q,R,k]),I=g.useMemo(()=>{const l=Math.PI/12;return Math.round(n/l)*l},[n]),N=g.useMemo(()=>[0,0,0,0].map((l,w)=>({cursor:G(I+Math.PI/4+w*Math.PI/2+(t<0?Math.PI/2:0)+(e<0?Math.PI/2:0))})),[I,t,e]),D=g.useCallback(l=>{u({x:r,y:s,width:t,height:e,angle:l})},[u,r,s,t,e]);return x.jsxs(x.Fragment,{children:[x.jsx(K,{width:t,height:e,x:r,y:s,angle:n,onMove:u,onEnd:a,onStart:c}),h.map((l,w)=>{const[T,C]=l,[F,Z]=h[w+1]??h[0];return x.jsx(Y,{x1:T,y1:C,x2:F,y2:Z,strokeWidth:1,stroke:"var(--cmpui-primary-color)"},w)}),b&&H.map((l,w)=>{const[T,C]=h[w];return x.jsx(ne,{x:T,y:C,radius:i,fill:"var(--cmpui-primary-color)",onPointerDown:l,style:N[w]},w)}),d&&x.jsx(B,{x:r,y:s,angle:n,nobRadius:i,startLength:Math.abs(e/2),length:Math.abs(e)/2+i*2,onChange:D,onEnd:a,onStart:c})]})}function ne(t){const e=L();return x.jsx(X,{ref:e,...t})}te.__docgenInfo={description:"",methods:[],displayName:"RectGizmo",props:{width:{required:!0,tsType:{name:"number"},description:""},height:{required:!0,tsType:{name:"number"},description:""},x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},angle:{required:!0,tsType:{name:"number"},description:""},nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"6",computed:!1}},isRotatable:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},isResizable:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},onMove:{required:!0,tsType:{name:"signature",type:"function",raw:`(args: { +var J=Object.defineProperty;var O=(t,e,r)=>e in t?J(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var z=(t,e,r)=>(O(t,typeof e!="symbol"?e+"":e,r),r);import{j as x}from"./jsx-runtime-DvLKfCe6.js";import{r as g}from"./index-aXz8NaAs.js";import{u as L}from"./useTouchStartPrevent-kBVXV8Ya.js";import{C as X}from"./index-0ceNsg1m.js";import{L as Y}from"./index-U9bU_qbB.js";import{c as $}from"./createDragHandler-nJMxlNVC.js";function Q(t){return t*180/Math.PI}class v{constructor(e,r){z(this,"x");z(this,"y");this.x=e,this.y=r}}function j(t,e,r){const s=Math.cos(r),n=Math.sin(r),u=t.x-e.x,d=t.y-e.y;return new v(u*s-d*n+e.x,u*n+d*s+e.y)}function V(t,e,r){const s=new v(t.x-r.x,t.y-r.y);return s.x*=e.x,s.y*=e.y,new v(r.x+s.x,r.y+s.y)}function S(t,e,r,s){return`url(data:image/svg+xml;base64,${t}) ${e} ${r}, ${s}`}function E(t){return``}function G(t){return S(btoa(E(Q(t))),8,8,"ew-resize")}function B({nobRadius:t=10,...e}){const r=L(),s=$({onDown:i=>{var a;return i.stopPropagation(),(a=e.onStart)==null||a.call(e),{startX:i.clientX,startY:i.clientY,startAngle:e.angle}},onMove:(i,a)=>{if(!a)return;const c=a.startAngle+Math.PI/2,M=new v(a.startX+Math.cos(c)*e.length,a.startY+Math.sin(c)*e.length),p=i.clientX-M.x,y=i.clientY-M.y,m=Math.atan2(y,p)+Math.PI/2;e.onChange(m)},onUp:e.onEnd}),n=j(new v(e.x,e.y-e.length),{x:e.x,y:e.y},e.angle),u=j(new v(e.x,e.y-e.startLength),{x:e.x,y:e.y},e.angle),d=g.useMemo(()=>{const i=Math.PI/12;return Math.round(e.angle/i)*i},[e.angle]),b=g.useMemo(()=>({cursor:G(d)}),[d]);return x.jsxs(x.Fragment,{children:[x.jsx(X,{ref:r,x:n.x,y:n.y,radius:t,onPointerDown:s,fill:"var(--cmpui-primary-color)",style:b}),x.jsx(Y,{x1:u.x,y1:u.y,x2:n.x,y2:n.y,strokeWidth:1,stroke:"var(--cmpui-primary-color)"})]})}B.__docgenInfo={description:"",methods:[],displayName:"AngleNob",props:{angle:{required:!0,tsType:{name:"number"},description:""},length:{required:!0,tsType:{name:"number"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(angle: number) => void",signature:{arguments:[{type:{name:"number"},name:"angle"}],return:{name:"void"}}},description:""},startLength:{required:!0,tsType:{name:"number"},description:""},x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"10",computed:!1}},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};function K({angle:t,height:e,onMove:r,width:s,x:n,y:u,onEnd:d,onStart:b}){const i=s<0?-s:s,a=e<0?-e:e,c=(s<0,n-i/2),M=(e<0,u-a/2),p=g.useMemo(()=>$({onDown(m){m.stopPropagation(),b==null||b()},onMove:(m,o,{dx:f,dy:P})=>{r({x:n+f,y:u+P}),m.preventDefault()},onUp:d}),[r,n,u,d,b]),y=L();return x.jsx("svg",{ref:y,viewBox:`0 0 ${i} ${a}`,style:{position:"absolute",width:i,height:a,transform:`rotate(${t}rad)`,top:M,left:c},className:"cmpui-rect-gizmo--movable-rect",onPointerDown:p,children:x.jsx("rect",{x:0,y:0,width:i,height:a,fill:"transparent"})})}K.__docgenInfo={description:"",methods:[],displayName:"MovableRect",props:{angle:{required:!0,tsType:{name:"number"},description:""},height:{required:!0,tsType:{name:"number"},description:""},onMove:{required:!0,tsType:{name:"signature",type:"function",raw:"(args: { x?: number; y?: number }) => void",signature:{arguments:[{type:{name:"signature",type:"object",raw:"{ x?: number; y?: number }",signature:{properties:[{key:"x",value:{name:"number",required:!1}},{key:"y",value:{name:"number",required:!1}}]}},name:"args"}],return:{name:"void"}}},description:""},width:{required:!0,tsType:{name:"number"},description:""},x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};const W={"left-top":[-1,-1],"right-top":[1,-1],"left-bottom":[-1,1],"right-bottom":[1,1]};function U(t,e,r){const s=Math.abs(e),n=Math.abs(t);if(Math.abs(s/n)>r)return{width:s/r*Math.sign(t),height:s*Math.sign(e)};const d=n*r;return{width:n*Math.sign(t),height:d*Math.sign(e)}}const A={"left-top":[-1,-1,1,-1],"right-top":[1,1,1,-1],"left-bottom":[-1,-1,-1,1],"right-bottom":[1,1,-1,1]};function _(t,e,r,s,n,u,d,b,i){let a=0,c=0;const M=()=>{const m=A[d][0]*a*Math.cos(n)+A[d][1]*c*Math.sin(n);return r+m*2},p=()=>{const m=A[d][2]*a*Math.sin(n)+A[d][3]*c*Math.cos(n);return s+m*2},y=new v((t.x+e.x)/2,(t.y+e.y)/2);return $({onDown:m=>{m.stopPropagation();const o=Math.abs(s/r),f=q=>{const k=U(M(),p(),o);u({x:y.x,y:y.y,...k})},P=()=>{u({x:y.x,y:y.y,width:M(),height:p()})};return window.addEventListener("keydown",f),window.addEventListener("keyup",P),i==null||i(),{startP2:e,startRatio:o,startP1:t,startWidth:r,startHeight:s,startCenter:y,cleanUp(){window.removeEventListener("keydown",f),window.removeEventListener("keyup",P)}}},onMove:(m,o,{dx:f,dy:P})=>{if(!o)return;a=f,c=P;const q=o.startCenter,k=new v(q.x-o.startP1.x,q.y-o.startP1.y),R=new v(q.x-(o.startP1.x+a),q.y-(o.startP1.y+c)),h=new v(R.x/k.x,R.y/k.y);(Number.isNaN(h.x)||h.x===1/0||h.x===-1/0)&&(a=0),(Number.isNaN(h.y)||h.y===1/0||h.y===-1/0)&&(c=0);const H=new v(o.startP1.x+a,o.startP1.y+c),I=V(o.startP2,h,q),N=V(o.startCenter,h,q),D=j(H,N,-n),l=j(I,N,-n);let w=l.x-D.x,T=l.y-D.y;if(w*=-W[d][0],T*=-W[d][1],m.shiftKey){const C=U(M(),p(),o.startRatio);u({x:o.startCenter.x,y:o.startCenter.y,...C})}else u({width:w,height:T,x:N.x,y:N.y})},onUp:(m,o)=>{o&&(o.cleanUp(),b==null||b())}})}const ee=["left-top","right-top","right-bottom","left-bottom"];function te({width:t,height:e,x:r,y:s,angle:n,onMove:u,isRotatable:d=!1,isResizable:b=!1,nobRadius:i=6,onEnd:a,onStart:c}){const M=g.useMemo(()=>new v(r,s),[r,s]),[p,y,m,o]=g.useMemo(()=>ee.map(l=>{const[w,T]=W[l],C=new v(r+w*t/2,s+T*e/2);return j(C,M,n)}),[n,M,e,t,r,s]),f=g.useCallback(l=>{u({x:l.x,y:l.y,width:l.width,height:l.height,angle:n})},[u,n]),P=g.useMemo(()=>_(p,m,t,e,n,f,"left-top",a,c),[p,m,t,e,n,f,a,c]),q=g.useMemo(()=>_(y,o,t,e,n,f,"right-top",a,c),[y,o,t,e,n,f,a,c]),k=g.useMemo(()=>_(o,y,t,e,n,f,"left-bottom",a,c),[o,y,t,e,n,f,a,c]),R=g.useMemo(()=>_(m,p,t,e,n,f,"right-bottom",a,c),[p,m,t,e,n,f,a,c]),h=g.useMemo(()=>[[p.x,p.y],[y.x,y.y],[m.x,m.y],[o.x,o.y]],[p,y,m,o]),H=g.useMemo(()=>[P,q,R,k],[P,q,R,k]),I=g.useMemo(()=>{const l=Math.PI/12;return Math.round(n/l)*l},[n]),N=g.useMemo(()=>[0,0,0,0].map((l,w)=>({cursor:G(I+Math.PI/4+w*Math.PI/2+(t<0?Math.PI/2:0)+(e<0?Math.PI/2:0))})),[I,t,e]),D=g.useCallback(l=>{u({x:r,y:s,width:t,height:e,angle:l})},[u,r,s,t,e]);return x.jsxs(x.Fragment,{children:[x.jsx(K,{width:t,height:e,x:r,y:s,angle:n,onMove:u,onEnd:a,onStart:c}),h.map((l,w)=>{const[T,C]=l,[F,Z]=h[w+1]??h[0];return x.jsx(Y,{x1:T,y1:C,x2:F,y2:Z,strokeWidth:1,stroke:"var(--cmpui-primary-color)"},w)}),b&&H.map((l,w)=>{const[T,C]=h[w];return x.jsx(ne,{x:T,y:C,radius:i,fill:"var(--cmpui-primary-color)",onPointerDown:l,style:N[w]},w)}),d&&x.jsx(B,{x:r,y:s,angle:n,nobRadius:i,startLength:Math.abs(e/2),length:Math.abs(e)/2+i*2,onChange:D,onEnd:a,onStart:c})]})}function ne(t){const e=L();return x.jsx(X,{ref:e,...t})}te.__docgenInfo={description:"",methods:[],displayName:"RectGizmo",props:{width:{required:!0,tsType:{name:"number"},description:""},height:{required:!0,tsType:{name:"number"},description:""},x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},angle:{required:!0,tsType:{name:"number"},description:""},nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"6",computed:!1}},isRotatable:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},isResizable:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},onMove:{required:!0,tsType:{name:"signature",type:"function",raw:`(args: { x?: number; y?: number; width?: number; diff --git a/assets/index-3ZWm4lKU.js b/assets/index-AYEmu2YI.js similarity index 80% rename from assets/index-3ZWm4lKU.js rename to assets/index-AYEmu2YI.js index 11efaba..dbe3b0e 100644 --- a/assets/index-3ZWm4lKU.js +++ b/assets/index-AYEmu2YI.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{r as p}from"./index-OjgoNOWw.js";import{C as s}from"./index-pk5nlV7d.js";import{L as l}from"./index-cYjXm3u-.js";const m=p.memo(function({color:i,nobRadius:r=8,x:o,y:t}){return e.jsxs(e.Fragment,{children:[e.jsx(l,{stroke:"var(--cmpui-border-color)",strokeWidth:1,x1:o,x2:o,y1:t-r,y2:t-r*4}),e.jsx(s,{fill:"white",radius:r*2,strokeColor:"var(--cmpui-border-color)",strokeWidth:1,style:{zIndex:1,"--block-size":"4px"},x:o,y:t-r*4,className:"alpha-checker-board"}),e.jsx(s,{fill:i,radius:r*2,strokeColor:"var(--cmpui-border-color)",strokeWidth:1,style:{zIndex:1},x:o,y:t-r*4})]})});m.__docgenInfo={description:"",methods:[],displayName:"ColorLoupe",props:{color:{required:!0,tsType:{name:"string"},description:""},nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"8",computed:!1}},x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""}}};export{m as C}; +import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{r as p}from"./index-aXz8NaAs.js";import{C as s}from"./index-0ceNsg1m.js";import{L as l}from"./index-U9bU_qbB.js";const m=p.memo(function({color:i,nobRadius:r=8,x:o,y:t}){return e.jsxs(e.Fragment,{children:[e.jsx(l,{stroke:"var(--cmpui-border-color)",strokeWidth:1,x1:o,x2:o,y1:t-r,y2:t-r*4}),e.jsx(s,{fill:"white",radius:r*2,strokeColor:"var(--cmpui-border-color)",strokeWidth:1,style:{zIndex:1,"--block-size":"4px"},x:o,y:t-r*4,className:"alpha-checker-board"}),e.jsx(s,{fill:i,radius:r*2,strokeColor:"var(--cmpui-border-color)",strokeWidth:1,style:{zIndex:1},x:o,y:t-r*4})]})});m.__docgenInfo={description:"",methods:[],displayName:"ColorLoupe",props:{color:{required:!0,tsType:{name:"string"},description:""},nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"8",computed:!1}},x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""}}};export{m as C}; diff --git a/assets/index-CR2EVKgk.js b/assets/index-CR2EVKgk.js new file mode 100644 index 0000000..e35e803 --- /dev/null +++ b/assets/index-CR2EVKgk.js @@ -0,0 +1,8 @@ +import{c as Ae,g as fn}from"./index-aXz8NaAs.js";var Tn=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,vn=Tn,hn=vn,gn=typeof self=="object"&&self&&self.Object===Object&&self,bn=hn||gn||Function("return this")(),Jn=bn,xn=Jn,wn=xn.Symbol,It=wn,Et=It,Rt=Object.prototype,Pn=Rt.hasOwnProperty,On=Rt.toString,fe=Et?Et.toStringTag:void 0;function Nn(r){var t=Pn.call(r,fe),n=r[fe];try{r[fe]=void 0;var o=!0}catch{}var i=On.call(r);return o&&(t?r[fe]=n:delete r[fe]),i}var _n=Nn,Sn=Object.prototype,jn=Sn.toString;function En(r){return jn.call(r)}var kn=En,kt=It,An=_n,In=kn,Rn="[object Null]",Fn="[object Undefined]",At=kt?kt.toStringTag:void 0;function Ln(r){return r==null?r===void 0?Fn:Rn:At&&At in Object(r)?An(r):In(r)}var Un=Ln;function Vn(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}var $n=Vn,Dn=Un,Kn=$n,Mn="[object AsyncFunction]",Cn="[object Function]",qn="[object GeneratorFunction]",Bn="[object Proxy]";function Gn(r){if(!Kn(r))return!1;var t=Dn(r);return t==Cn||t==qn||t==Mn||t==Bn}var Yn=Gn;const xs=fn(Yn);var zn=Array.isArray,ws=zn;function Wn(r){return r!=null&&typeof r=="object"}var Ps=Wn;function Hn(r,t){return function(n){return r(t(n))}}var Xn=Hn,Qn=Xn,Zn=Qn(Object.getPrototypeOf,Object),Os=Zn,ea=Object.create,Ye=Object.defineProperty,ta=Object.getOwnPropertyDescriptor,ra=Object.getOwnPropertyNames,na=Object.getPrototypeOf,aa=Object.prototype.hasOwnProperty,a=(r,t)=>Ye(r,"name",{value:t,configurable:!0}),f=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),oa=(r,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ra(t))!aa.call(r,i)&&i!==n&&Ye(r,i,{get:()=>t[i],enumerable:!(o=ta(t,i))||o.enumerable});return r},Ft=(r,t,n)=>(n=r!=null?ea(na(r)):{},oa(t||!r||!r.__esModule?Ye(n,"default",{value:r,enumerable:!0}):n,r)),Lt=f((r,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),Z=f((r,t)=>{var n=Lt(),o=typeof self=="object"&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i}),Re=f((r,t)=>{var n=Z(),o=n.Symbol;t.exports=o}),sa=f((r,t)=>{var n=Re(),o=Object.prototype,i=o.hasOwnProperty,p=o.toString,l=n?n.toStringTag:void 0;function u(y){var m=i.call(y,l),T=y[l];try{y[l]=void 0;var h=!0}catch{}var x=p.call(y);return h&&(m?y[l]=T:delete y[l]),x}a(u,"getRawTag"),t.exports=u}),ia=f((r,t)=>{var n=Object.prototype,o=n.toString;function i(p){return o.call(p)}a(i,"objectToString"),t.exports=i}),ge=f((r,t)=>{var n=Re(),o=sa(),i=ia(),p="[object Null]",l="[object Undefined]",u=n?n.toStringTag:void 0;function y(m){return m==null?m===void 0?l:p:u&&u in Object(m)?o(m):i(m)}a(y,"baseGetTag"),t.exports=y}),ze=f((r,t)=>{function n(o){var i=typeof o;return o!=null&&(i=="object"||i=="function")}a(n,"isObject"),t.exports=n}),Ut=f((r,t)=>{var n=ge(),o=ze(),i="[object AsyncFunction]",p="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";function y(m){if(!o(m))return!1;var T=n(m);return T==p||T==l||T==i||T==u}a(y,"isFunction"),t.exports=y}),pa=f((r,t)=>{var n=Z(),o=n["__core-js_shared__"];t.exports=o}),ca=f((r,t)=>{var n=pa(),o=function(){var p=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}();function i(p){return!!o&&o in p}a(i,"isMasked"),t.exports=i}),Vt=f((r,t)=>{var n=Function.prototype,o=n.toString;function i(p){if(p!=null){try{return o.call(p)}catch{}try{return p+""}catch{}}return""}a(i,"toSource"),t.exports=i}),la=f((r,t)=>{var n=Ut(),o=ca(),i=ze(),p=Vt(),l=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,y=Function.prototype,m=Object.prototype,T=y.toString,h=m.hasOwnProperty,x=RegExp("^"+T.call(h).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(w){if(!i(w)||o(w))return!1;var _=n(w)?x:u;return _.test(p(w))}a(g,"baseIsNative"),t.exports=g}),ua=f((r,t)=>{function n(o,i){return o==null?void 0:o[i]}a(n,"getValue"),t.exports=n}),ie=f((r,t)=>{var n=la(),o=ua();function i(p,l){var u=o(p,l);return n(u)?u:void 0}a(i,"getNative"),t.exports=i}),ya=f((r,t)=>{var n=ie(),o=function(){try{var i=n(Object,"defineProperty");return i({},"",{}),i}catch{}}();t.exports=o}),da=f((r,t)=>{var n=ya();function o(i,p,l){p=="__proto__"&&n?n(i,p,{configurable:!0,enumerable:!0,value:l,writable:!0}):i[p]=l}a(o,"baseAssignValue"),t.exports=o}),ma=f((r,t)=>{function n(o){return function(i,p,l){for(var u=-1,y=Object(i),m=l(i),T=m.length;T--;){var h=m[o?T:++u];if(p(y[h],h,y)===!1)break}return i}}a(n,"createBaseFor"),t.exports=n}),fa=f((r,t)=>{var n=ma(),o=n();t.exports=o}),Ta=f((r,t)=>{function n(o,i){for(var p=-1,l=Array(o);++p{function n(o){return o!=null&&typeof o=="object"}a(n,"isObjectLike"),t.exports=n}),va=f((r,t)=>{var n=ge(),o=be(),i="[object Arguments]";function p(l){return o(l)&&n(l)==i}a(p,"baseIsArguments"),t.exports=p}),$t=f((r,t)=>{var n=va(),o=be(),i=Object.prototype,p=i.hasOwnProperty,l=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(y){return o(y)&&p.call(y,"callee")&&!l.call(y,"callee")};t.exports=u}),ne=f((r,t)=>{var n=Array.isArray;t.exports=n}),ha=f((r,t)=>{function n(){return!1}a(n,"stubFalse"),t.exports=n}),Dt=f((r,t)=>{var n=Z(),o=ha(),i=typeof r=="object"&&r&&!r.nodeType&&r,p=i&&typeof t=="object"&&t&&!t.nodeType&&t,l=p&&p.exports===i,u=l?n.Buffer:void 0,y=u?u.isBuffer:void 0,m=y||o;t.exports=m}),Kt=f((r,t)=>{var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;function i(p,l){var u=typeof p;return l=l??n,!!l&&(u=="number"||u!="symbol"&&o.test(p))&&p>-1&&p%1==0&&p{var n=9007199254740991;function o(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}a(o,"isLength"),t.exports=o}),ga=f((r,t)=>{var n=ge(),o=We(),i=be(),p="[object Arguments]",l="[object Array]",u="[object Boolean]",y="[object Date]",m="[object Error]",T="[object Function]",h="[object Map]",x="[object Number]",g="[object Object]",w="[object RegExp]",_="[object Set]",L="[object String]",R="[object WeakMap]",P="[object ArrayBuffer]",A="[object DataView]",j="[object Float32Array]",D="[object Float64Array]",I="[object Int8Array]",V="[object Int16Array]",E="[object Int32Array]",k="[object Uint8Array]",N="[object Uint8ClampedArray]",K="[object Uint16Array]",G="[object Uint32Array]",S={};S[j]=S[D]=S[I]=S[V]=S[E]=S[k]=S[N]=S[K]=S[G]=!0,S[p]=S[l]=S[P]=S[u]=S[A]=S[y]=S[m]=S[T]=S[h]=S[x]=S[g]=S[w]=S[_]=S[L]=S[R]=!1;function Y(C){return i(C)&&o(C.length)&&!!S[n(C)]}a(Y,"baseIsTypedArray"),t.exports=Y}),ba=f((r,t)=>{function n(o){return function(i){return o(i)}}a(n,"baseUnary"),t.exports=n}),Ja=f((r,t)=>{var n=Lt(),o=typeof r=="object"&&r&&!r.nodeType&&r,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,p=i&&i.exports===o,l=p&&n.process,u=function(){try{var y=i&&i.require&&i.require("util").types;return y||l&&l.binding&&l.binding("util")}catch{}}();t.exports=u}),Mt=f((r,t)=>{var n=ga(),o=ba(),i=Ja(),p=i&&i.isTypedArray,l=p?o(p):n;t.exports=l}),xa=f((r,t)=>{var n=Ta(),o=$t(),i=ne(),p=Dt(),l=Kt(),u=Mt(),y=Object.prototype,m=y.hasOwnProperty;function T(h,x){var g=i(h),w=!g&&o(h),_=!g&&!w&&p(h),L=!g&&!w&&!_&&u(h),R=g||w||_||L,P=R?n(h.length,String):[],A=P.length;for(var j in h)(x||m.call(h,j))&&!(R&&(j=="length"||_&&(j=="offset"||j=="parent")||L&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||l(j,A)))&&P.push(j);return P}a(T,"arrayLikeKeys"),t.exports=T}),wa=f((r,t)=>{var n=Object.prototype;function o(i){var p=i&&i.constructor,l=typeof p=="function"&&p.prototype||n;return i===l}a(o,"isPrototype"),t.exports=o}),Pa=f((r,t)=>{function n(o,i){return function(p){return o(i(p))}}a(n,"overArg"),t.exports=n}),Oa=f((r,t)=>{var n=Pa(),o=n(Object.keys,Object);t.exports=o}),Na=f((r,t)=>{var n=wa(),o=Oa(),i=Object.prototype,p=i.hasOwnProperty;function l(u){if(!n(u))return o(u);var y=[];for(var m in Object(u))p.call(u,m)&&m!="constructor"&&y.push(m);return y}a(l,"baseKeys"),t.exports=l}),_a=f((r,t)=>{var n=Ut(),o=We();function i(p){return p!=null&&o(p.length)&&!n(p)}a(i,"isArrayLike"),t.exports=i}),He=f((r,t)=>{var n=xa(),o=Na(),i=_a();function p(l){return i(l)?n(l):o(l)}a(p,"keys"),t.exports=p}),Sa=f((r,t)=>{var n=fa(),o=He();function i(p,l){return p&&n(p,l,o)}a(i,"baseForOwn"),t.exports=i}),ja=f((r,t)=>{function n(){this.__data__=[],this.size=0}a(n,"listCacheClear"),t.exports=n}),Ct=f((r,t)=>{function n(o,i){return o===i||o!==o&&i!==i}a(n,"eq"),t.exports=n}),Fe=f((r,t)=>{var n=Ct();function o(i,p){for(var l=i.length;l--;)if(n(i[l][0],p))return l;return-1}a(o,"assocIndexOf"),t.exports=o}),Ea=f((r,t)=>{var n=Fe(),o=Array.prototype,i=o.splice;function p(l){var u=this.__data__,y=n(u,l);if(y<0)return!1;var m=u.length-1;return y==m?u.pop():i.call(u,y,1),--this.size,!0}a(p,"listCacheDelete"),t.exports=p}),ka=f((r,t)=>{var n=Fe();function o(i){var p=this.__data__,l=n(p,i);return l<0?void 0:p[l][1]}a(o,"listCacheGet"),t.exports=o}),Aa=f((r,t)=>{var n=Fe();function o(i){return n(this.__data__,i)>-1}a(o,"listCacheHas"),t.exports=o}),Ia=f((r,t)=>{var n=Fe();function o(i,p){var l=this.__data__,u=n(l,i);return u<0?(++this.size,l.push([i,p])):l[u][1]=p,this}a(o,"listCacheSet"),t.exports=o}),Le=f((r,t)=>{var n=ja(),o=Ea(),i=ka(),p=Aa(),l=Ia();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Le();function o(){this.__data__=new n,this.size=0}a(o,"stackClear"),t.exports=o}),Fa=f((r,t)=>{function n(o){var i=this.__data__,p=i.delete(o);return this.size=i.size,p}a(n,"stackDelete"),t.exports=n}),La=f((r,t)=>{function n(o){return this.__data__.get(o)}a(n,"stackGet"),t.exports=n}),Ua=f((r,t)=>{function n(o){return this.__data__.has(o)}a(n,"stackHas"),t.exports=n}),Xe=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Map");t.exports=i}),Ue=f((r,t)=>{var n=ie(),o=n(Object,"create");t.exports=o}),Va=f((r,t)=>{var n=Ue();function o(){this.__data__=n?n(null):{},this.size=0}a(o,"hashClear"),t.exports=o}),$a=f((r,t)=>{function n(o){var i=this.has(o)&&delete this.__data__[o];return this.size-=i?1:0,i}a(n,"hashDelete"),t.exports=n}),Da=f((r,t)=>{var n=Ue(),o="__lodash_hash_undefined__",i=Object.prototype,p=i.hasOwnProperty;function l(u){var y=this.__data__;if(n){var m=y[u];return m===o?void 0:m}return p.call(y,u)?y[u]:void 0}a(l,"hashGet"),t.exports=l}),Ka=f((r,t)=>{var n=Ue(),o=Object.prototype,i=o.hasOwnProperty;function p(l){var u=this.__data__;return n?u[l]!==void 0:i.call(u,l)}a(p,"hashHas"),t.exports=p}),Ma=f((r,t)=>{var n=Ue(),o="__lodash_hash_undefined__";function i(p,l){var u=this.__data__;return this.size+=this.has(p)?0:1,u[p]=n&&l===void 0?o:l,this}a(i,"hashSet"),t.exports=i}),Ca=f((r,t)=>{var n=Va(),o=$a(),i=Da(),p=Ka(),l=Ma();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Ca(),o=Le(),i=Xe();function p(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}a(p,"mapCacheClear"),t.exports=p}),Ba=f((r,t)=>{function n(o){var i=typeof o;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?o!=="__proto__":o===null}a(n,"isKeyable"),t.exports=n}),Ve=f((r,t)=>{var n=Ba();function o(i,p){var l=i.__data__;return n(p)?l[typeof p=="string"?"string":"hash"]:l.map}a(o,"getMapData"),t.exports=o}),Ga=f((r,t)=>{var n=Ve();function o(i){var p=n(this,i).delete(i);return this.size-=p?1:0,p}a(o,"mapCacheDelete"),t.exports=o}),Ya=f((r,t)=>{var n=Ve();function o(i){return n(this,i).get(i)}a(o,"mapCacheGet"),t.exports=o}),za=f((r,t)=>{var n=Ve();function o(i){return n(this,i).has(i)}a(o,"mapCacheHas"),t.exports=o}),Wa=f((r,t)=>{var n=Ve();function o(i,p){var l=n(this,i),u=l.size;return l.set(i,p),this.size+=l.size==u?0:1,this}a(o,"mapCacheSet"),t.exports=o}),Qe=f((r,t)=>{var n=qa(),o=Ga(),i=Ya(),p=za(),l=Wa();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Le(),o=Xe(),i=Qe(),p=200;function l(u,y){var m=this.__data__;if(m instanceof n){var T=m.__data__;if(!o||T.length{var n=Le(),o=Ra(),i=Fa(),p=La(),l=Ua(),u=Ha();function y(m){var T=this.__data__=new n(m);this.size=T.size}a(y,"Stack"),y.prototype.clear=o,y.prototype.delete=i,y.prototype.get=p,y.prototype.has=l,y.prototype.set=u,t.exports=y}),Xa=f((r,t)=>{var n="__lodash_hash_undefined__";function o(i){return this.__data__.set(i,n),this}a(o,"setCacheAdd"),t.exports=o}),Qa=f((r,t)=>{function n(o){return this.__data__.has(o)}a(n,"setCacheHas"),t.exports=n}),Za=f((r,t)=>{var n=Qe(),o=Xa(),i=Qa();function p(l){var u=-1,y=l==null?0:l.length;for(this.__data__=new n;++u{function n(o,i){for(var p=-1,l=o==null?0:o.length;++p{function n(o,i){return o.has(i)}a(n,"cacheHas"),t.exports=n}),Bt=f((r,t)=>{var n=Za(),o=eo(),i=to(),p=1,l=2;function u(y,m,T,h,x,g){var w=T&p,_=y.length,L=m.length;if(_!=L&&!(w&&L>_))return!1;var R=g.get(y),P=g.get(m);if(R&&P)return R==m&&P==y;var A=-1,j=!0,D=T&l?new n:void 0;for(g.set(y,m),g.set(m,y);++A<_;){var I=y[A],V=m[A];if(h)var E=w?h(V,I,A,m,y,g):h(I,V,A,y,m,g);if(E!==void 0){if(E)continue;j=!1;break}if(D){if(!o(m,function(k,N){if(!i(D,N)&&(I===k||x(I,k,T,h,g)))return D.push(N)})){j=!1;break}}else if(!(I===V||x(I,V,T,h,g))){j=!1;break}}return g.delete(y),g.delete(m),j}a(u,"equalArrays"),t.exports=u}),ro=f((r,t)=>{var n=Z(),o=n.Uint8Array;t.exports=o}),no=f((r,t)=>{function n(o){var i=-1,p=Array(o.size);return o.forEach(function(l,u){p[++i]=[u,l]}),p}a(n,"mapToArray"),t.exports=n}),ao=f((r,t)=>{function n(o){var i=-1,p=Array(o.size);return o.forEach(function(l){p[++i]=l}),p}a(n,"setToArray"),t.exports=n}),oo=f((r,t)=>{var n=Re(),o=ro(),i=Ct(),p=Bt(),l=no(),u=ao(),y=1,m=2,T="[object Boolean]",h="[object Date]",x="[object Error]",g="[object Map]",w="[object Number]",_="[object RegExp]",L="[object Set]",R="[object String]",P="[object Symbol]",A="[object ArrayBuffer]",j="[object DataView]",D=n?n.prototype:void 0,I=D?D.valueOf:void 0;function V(E,k,N,K,G,S,Y){switch(N){case j:if(E.byteLength!=k.byteLength||E.byteOffset!=k.byteOffset)return!1;E=E.buffer,k=k.buffer;case A:return!(E.byteLength!=k.byteLength||!S(new o(E),new o(k)));case T:case h:case w:return i(+E,+k);case x:return E.name==k.name&&E.message==k.message;case _:case R:return E==k+"";case g:var C=l;case L:var J=K&y;if(C||(C=u),E.size!=k.size&&!J)return!1;var oe=Y.get(E);if(oe)return oe==k;K|=m,Y.set(E,k);var ee=p(C(E),C(k),K,G,S,Y);return Y.delete(E),ee;case P:if(I)return I.call(E)==I.call(k)}return!1}a(V,"equalByTag"),t.exports=V}),so=f((r,t)=>{function n(o,i){for(var p=-1,l=i.length,u=o.length;++p{var n=so(),o=ne();function i(p,l,u){var y=l(p);return o(p)?y:n(y,u(p))}a(i,"baseGetAllKeys"),t.exports=i}),po=f((r,t)=>{function n(o,i){for(var p=-1,l=o==null?0:o.length,u=0,y=[];++p{function n(){return[]}a(n,"stubArray"),t.exports=n}),lo=f((r,t)=>{var n=po(),o=co(),i=Object.prototype,p=i.propertyIsEnumerable,l=Object.getOwnPropertySymbols,u=l?function(y){return y==null?[]:(y=Object(y),n(l(y),function(m){return p.call(y,m)}))}:o;t.exports=u}),uo=f((r,t)=>{var n=io(),o=lo(),i=He();function p(l){return n(l,i,o)}a(p,"getAllKeys"),t.exports=p}),yo=f((r,t)=>{var n=uo(),o=1,i=Object.prototype,p=i.hasOwnProperty;function l(u,y,m,T,h,x){var g=m&o,w=n(u),_=w.length,L=n(y),R=L.length;if(_!=R&&!g)return!1;for(var P=_;P--;){var A=w[P];if(!(g?A in y:p.call(y,A)))return!1}var j=x.get(u),D=x.get(y);if(j&&D)return j==y&&D==u;var I=!0;x.set(u,y),x.set(y,u);for(var V=g;++P<_;){A=w[P];var E=u[A],k=y[A];if(T)var N=g?T(k,E,A,y,u,x):T(E,k,A,u,y,x);if(!(N===void 0?E===k||h(E,k,m,T,x):N)){I=!1;break}V||(V=A=="constructor")}if(I&&!V){var K=u.constructor,G=y.constructor;K!=G&&"constructor"in u&&"constructor"in y&&!(typeof K=="function"&&K instanceof K&&typeof G=="function"&&G instanceof G)&&(I=!1)}return x.delete(u),x.delete(y),I}a(l,"equalObjects"),t.exports=l}),mo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"DataView");t.exports=i}),fo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Promise");t.exports=i}),To=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Set");t.exports=i}),vo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"WeakMap");t.exports=i}),ho=f((r,t)=>{var n=mo(),o=Xe(),i=fo(),p=To(),l=vo(),u=ge(),y=Vt(),m="[object Map]",T="[object Object]",h="[object Promise]",x="[object Set]",g="[object WeakMap]",w="[object DataView]",_=y(n),L=y(o),R=y(i),P=y(p),A=y(l),j=u;(n&&j(new n(new ArrayBuffer(1)))!=w||o&&j(new o)!=m||i&&j(i.resolve())!=h||p&&j(new p)!=x||l&&j(new l)!=g)&&(j=a(function(D){var I=u(D),V=I==T?D.constructor:void 0,E=V?y(V):"";if(E)switch(E){case _:return w;case L:return m;case R:return h;case P:return x;case A:return g}return I},"getTag")),t.exports=j}),go=f((r,t)=>{var n=qt(),o=Bt(),i=oo(),p=yo(),l=ho(),u=ne(),y=Dt(),m=Mt(),T=1,h="[object Arguments]",x="[object Array]",g="[object Object]",w=Object.prototype,_=w.hasOwnProperty;function L(R,P,A,j,D,I){var V=u(R),E=u(P),k=V?x:l(R),N=E?x:l(P);k=k==h?g:k,N=N==h?g:N;var K=k==g,G=N==g,S=k==N;if(S&&y(R)){if(!y(P))return!1;V=!0,K=!1}if(S&&!K)return I||(I=new n),V||m(R)?o(R,P,A,j,D,I):i(R,P,k,A,j,D,I);if(!(A&T)){var Y=K&&_.call(R,"__wrapped__"),C=G&&_.call(P,"__wrapped__");if(Y||C){var J=Y?R.value():R,oe=C?P.value():P;return I||(I=new n),D(J,oe,A,j,I)}}return S?(I||(I=new n),p(R,P,A,j,D,I)):!1}a(L,"baseIsEqualDeep"),t.exports=L}),Gt=f((r,t)=>{var n=go(),o=be();function i(p,l,u,y,m){return p===l?!0:p==null||l==null||!o(p)&&!o(l)?p!==p&&l!==l:n(p,l,u,y,i,m)}a(i,"baseIsEqual"),t.exports=i}),bo=f((r,t)=>{var n=qt(),o=Gt(),i=1,p=2;function l(u,y,m,T){var h=m.length,x=h,g=!T;if(u==null)return!x;for(u=Object(u);h--;){var w=m[h];if(g&&w[2]?w[1]!==u[w[0]]:!(w[0]in u))return!1}for(;++h{var n=ze();function o(i){return i===i&&!n(i)}a(o,"isStrictComparable"),t.exports=o}),Jo=f((r,t)=>{var n=Yt(),o=He();function i(p){for(var l=o(p),u=l.length;u--;){var y=l[u],m=p[y];l[u]=[y,m,n(m)]}return l}a(i,"getMatchData"),t.exports=i}),zt=f((r,t)=>{function n(o,i){return function(p){return p==null?!1:p[o]===i&&(i!==void 0||o in Object(p))}}a(n,"matchesStrictComparable"),t.exports=n}),xo=f((r,t)=>{var n=bo(),o=Jo(),i=zt();function p(l){var u=o(l);return u.length==1&&u[0][2]?i(u[0][0],u[0][1]):function(y){return y===l||n(y,l,u)}}a(p,"baseMatches"),t.exports=p}),Ze=f((r,t)=>{var n=ge(),o=be(),i="[object Symbol]";function p(l){return typeof l=="symbol"||o(l)&&n(l)==i}a(p,"isSymbol"),t.exports=p}),et=f((r,t)=>{var n=ne(),o=Ze(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/;function l(u,y){if(n(u))return!1;var m=typeof u;return m=="number"||m=="symbol"||m=="boolean"||u==null||o(u)?!0:p.test(u)||!i.test(u)||y!=null&&u in Object(y)}a(l,"isKey"),t.exports=l}),wo=f((r,t)=>{var n=Qe(),o="Expected a function";function i(p,l){if(typeof p!="function"||l!=null&&typeof l!="function")throw new TypeError(o);var u=a(function(){var y=arguments,m=l?l.apply(this,y):y[0],T=u.cache;if(T.has(m))return T.get(m);var h=p.apply(this,y);return u.cache=T.set(m,h)||T,h},"memoized");return u.cache=new(i.Cache||n),u}a(i,"memoize"),i.Cache=n,t.exports=i}),Po=f((r,t)=>{var n=wo(),o=500;function i(p){var l=n(p,function(y){return u.size===o&&u.clear(),y}),u=l.cache;return l}a(i,"memoizeCapped"),t.exports=i}),Oo=f((r,t)=>{var n=Po(),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,p=n(function(l){var u=[];return l.charCodeAt(0)===46&&u.push(""),l.replace(o,function(y,m,T,h){u.push(T?h.replace(i,"$1"):m||y)}),u});t.exports=p}),No=f((r,t)=>{function n(o,i){for(var p=-1,l=o==null?0:o.length,u=Array(l);++p{var n=Re(),o=No(),i=ne(),p=Ze(),l=1/0,u=n?n.prototype:void 0,y=u?u.toString:void 0;function m(T){if(typeof T=="string")return T;if(i(T))return o(T,m)+"";if(p(T))return y?y.call(T):"";var h=T+"";return h=="0"&&1/T==-l?"-0":h}a(m,"baseToString"),t.exports=m}),So=f((r,t)=>{var n=_o();function o(i){return i==null?"":n(i)}a(o,"toString"),t.exports=o}),Wt=f((r,t)=>{var n=ne(),o=et(),i=Oo(),p=So();function l(u,y){return n(u)?u:o(u,y)?[u]:i(p(u))}a(l,"castPath"),t.exports=l}),$e=f((r,t)=>{var n=Ze(),o=1/0;function i(p){if(typeof p=="string"||n(p))return p;var l=p+"";return l=="0"&&1/p==-o?"-0":l}a(i,"toKey"),t.exports=i}),Ht=f((r,t)=>{var n=Wt(),o=$e();function i(p,l){l=n(l,p);for(var u=0,y=l.length;p!=null&&u{var n=Ht();function o(i,p,l){var u=i==null?void 0:n(i,p);return u===void 0?l:u}a(o,"get"),t.exports=o}),Eo=f((r,t)=>{function n(o,i){return o!=null&&i in Object(o)}a(n,"baseHasIn"),t.exports=n}),ko=f((r,t)=>{var n=Wt(),o=$t(),i=ne(),p=Kt(),l=We(),u=$e();function y(m,T,h){T=n(T,m);for(var x=-1,g=T.length,w=!1;++x{var n=Eo(),o=ko();function i(p,l){return p!=null&&o(p,l,n)}a(i,"hasIn"),t.exports=i}),Io=f((r,t)=>{var n=Gt(),o=jo(),i=Ao(),p=et(),l=Yt(),u=zt(),y=$e(),m=1,T=2;function h(x,g){return p(x)&&l(g)?u(y(x),g):function(w){var _=o(w,x);return _===void 0&&_===g?i(w,x):n(g,_,m|T)}}a(h,"baseMatchesProperty"),t.exports=h}),Ro=f((r,t)=>{function n(o){return o}a(n,"identity"),t.exports=n}),Fo=f((r,t)=>{function n(o){return function(i){return i==null?void 0:i[o]}}a(n,"baseProperty"),t.exports=n}),Lo=f((r,t)=>{var n=Ht();function o(i){return function(p){return n(p,i)}}a(o,"basePropertyDeep"),t.exports=o}),Uo=f((r,t)=>{var n=Fo(),o=Lo(),i=et(),p=$e();function l(u){return i(u)?n(p(u)):o(u)}a(l,"property"),t.exports=l}),Vo=f((r,t)=>{var n=xo(),o=Io(),i=Ro(),p=ne(),l=Uo();function u(y){return typeof y=="function"?y:y==null?i:typeof y=="object"?p(y)?o(y[0],y[1]):n(y):l(y)}a(u,"baseIteratee"),t.exports=u}),$o=f((r,t)=>{var n=da(),o=Sa(),i=Vo();function p(l,u){var y={};return u=i(u,3),o(l,function(m,T,h){n(y,T,u(m,T,h))}),y}a(p,"mapValues"),t.exports=p}),Do=f((r,t)=>{(function(n,o){typeof r=="object"&&typeof t<"u"?o(r):typeof define=="function"&&define.amd?define(["exports"],o):(n=typeof globalThis<"u"?globalThis:n||self,o(n.jtpp={}))})(r,function(n){function o(e){return e.text!==void 0&&e.text!==""?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}a(o,"tokenToString");let i=class Xt extends Error{constructor(s){super(`No parslet found for token: ${o(s)}`),this.token=s,Object.setPrototypeOf(this,Xt.prototype)}getToken(){return this.token}};a(i,"NoParsletFoundError");let p=i,l=class Qt extends Error{constructor(s){super(`The parsing ended early. The next token was: ${o(s)}`),this.token=s,Object.setPrototypeOf(this,Qt.prototype)}getToken(){return this.token}};a(l,"EarlyEndOfParseError");let u=l,y=class Zt extends Error{constructor(s,c){let d=`Unexpected type: '${s.type}'.`;c!==void 0&&(d+=` Message: ${c}`),super(d),Object.setPrototypeOf(this,Zt.prototype)}};a(y,"UnexpectedTypeError");let m=y;function T(e){return s=>s.startsWith(e)?{type:e,text:e}:null}a(T,"makePunctuationRule");function h(e){let s=0,c,d=e[0],v=!1;if(d!=="'"&&d!=='"')return null;for(;s{let s=w(e);return s==null?null:{type:"Identifier",text:s}},"identifierRule");function P(e){return s=>{if(!s.startsWith(e))return null;let c=s[e.length];return c!==void 0&&g.test(c)?null:{type:e,text:e}}}a(P,"makeKeyWordRule");let A=a(e=>{let s=h(e);return s==null?null:{type:"StringValue",text:s}},"stringValueRule"),j=a(e=>e.length>0?null:{type:"EOF",text:""},"eofRule"),D=a(e=>{let s=L(e);return s===null?null:{type:"Number",text:s}},"numberRule"),I=[j,T("=>"),T("("),T(")"),T("{"),T("}"),T("["),T("]"),T("|"),T("&"),T("<"),T(">"),T(","),T(";"),T("*"),T("?"),T("!"),T("="),T(":"),T("..."),T("."),T("#"),T("~"),T("/"),T("@"),P("undefined"),P("null"),P("function"),P("this"),P("new"),P("module"),P("event"),P("external"),P("typeof"),P("keyof"),P("readonly"),P("import"),P("is"),P("in"),D,R,A],V=/^\s*\n\s*/,E=class Ie{static create(s){let c=this.read(s);s=c.text;let d=this.read(s);return s=d.text,new Ie(s,void 0,c.token,d.token)}constructor(s,c,d,v){this.text="",this.text=s,this.previous=c,this.current=d,this.next=v}static read(s,c=!1){c=c||V.test(s),s=s.trim();for(let d of I){let v=d(s);if(v!==null){let b=Object.assign(Object.assign({},v),{startOfLine:c});return s=s.slice(b.text.length),{text:s,token:b}}}throw new Error("Unexpected Token "+s)}advance(){let s=Ie.read(this.text);return new Ie(s.text,this.current,this.next,s.token)}};a(E,"Lexer");let k=E;function N(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new m(e);return e}a(N,"assertRootResult");function K(e){return e.type==="JsdocTypeKeyValue"?S(e):N(e)}a(K,"assertPlainKeyValueOrRootResult");function G(e){return e.type==="JsdocTypeName"?e:S(e)}a(G,"assertPlainKeyValueOrNameResult");function S(e){if(e.type!=="JsdocTypeKeyValue")throw new m(e);return e}a(S,"assertPlainKeyValueResult");function Y(e){var s;if(e.type==="JsdocTypeVariadic"){if(((s=e.element)===null||s===void 0?void 0:s.type)==="JsdocTypeName")return e;throw new m(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new m(e);return e}a(Y,"assertNumberOrVariadicNameResult");function C(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}a(C,"isSquaredProperty");var J;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.UNION=4]="UNION",e[e.INTERSECTION=5]="INTERSECTION",e[e.PREFIX=6]="PREFIX",e[e.INFIX=7]="INFIX",e[e.TUPLE=8]="TUPLE",e[e.SYMBOL=9]="SYMBOL",e[e.OPTIONAL=10]="OPTIONAL",e[e.NULLABLE=11]="NULLABLE",e[e.KEY_OF_TYPE_OF=12]="KEY_OF_TYPE_OF",e[e.FUNCTION=13]="FUNCTION",e[e.ARROW=14]="ARROW",e[e.ARRAY_BRACKETS=15]="ARRAY_BRACKETS",e[e.GENERIC=16]="GENERIC",e[e.NAME_PATH=17]="NAME_PATH",e[e.PARENTHESIS=18]="PARENTHESIS",e[e.SPECIAL_TYPES=19]="SPECIAL_TYPES"})(J||(J={}));let oe=class{constructor(s,c,d){this.grammar=s,typeof c=="string"?this._lexer=k.create(c):this._lexer=c,this.baseParser=d}get lexer(){return this._lexer}parse(){let s=this.parseType(J.ALL);if(this.lexer.current.type!=="EOF")throw new u(this.lexer.current);return s}parseType(s){return N(this.parseIntermediateType(s))}parseIntermediateType(s){let c=this.tryParslets(null,s);if(c===null)throw new p(this.lexer.current);return this.parseInfixIntermediateType(c,s)}parseInfixIntermediateType(s,c){let d=this.tryParslets(s,c);for(;d!==null;)s=d,d=this.tryParslets(s,c);return s}tryParslets(s,c){for(let d of this.grammar){let v=d(this,c,s);if(v!==null)return v}return null}consume(s){return Array.isArray(s)||(s=[s]),s.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(s){this._lexer=s.lexer}};a(oe,"Parser");let ee=oe;function Ke(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}a(Ke,"isQuestionMarkUnknownType");let Me=a((e,s,c)=>{let d=e.lexer.current.type,v=e.lexer.next.type;return c==null&&d==="?"&&!Ke(v)||c!=null&&d==="?"?(e.consume("?"),c==null?{type:"JsdocTypeNullable",element:e.parseType(J.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:N(c),meta:{position:"suffix"}}):null},"nullableParslet");function F(e){let s=a((c,d,v)=>{let b=c.lexer.current.type,O=c.lexer.next.type;if(v===null){if("parsePrefix"in e&&e.accept(b,O))return e.parsePrefix(c)}else if("parseInfix"in e&&e.precedence>d&&e.accept(b,O))return e.parseInfix(c,v);return null},"parslet");return Object.defineProperty(s,"name",{value:e.name}),s}a(F,"composeParslet");let xe=F({name:"optionalParslet",accept:a(e=>e==="=","accept"),precedence:J.OPTIONAL,parsePrefix:a(e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(J.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:a((e,s)=>(e.consume("="),{type:"JsdocTypeOptional",element:N(s),meta:{position:"suffix"}}),"parseInfix")}),we=F({name:"numberParslet",accept:a(e=>e==="Number","accept"),parsePrefix:a(e=>{let s=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:s}},"parsePrefix")}),Yr=F({name:"parenthesisParslet",accept:a(e=>e==="(","accept"),parsePrefix:a(e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let s=e.parseIntermediateType(J.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return s.type==="JsdocTypeParameterList"?s:s.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[s]}:{type:"JsdocTypeParenthesis",element:N(s)}},"parsePrefix")}),zr=F({name:"specialTypesParslet",accept:a((e,s)=>e==="?"&&Ke(s)||e==="null"||e==="undefined"||e==="*","accept"),parsePrefix:a(e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)},"parsePrefix")}),Wr=F({name:"notNullableParslet",accept:a(e=>e==="!","accept"),precedence:J.NULLABLE,parsePrefix:a(e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(J.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:a((e,s)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:N(s),meta:{position:"suffix"}}),"parseInfix")});function dt({allowTrailingComma:e}){return F({name:"parameterListParslet",accept:a(s=>s===",","accept"),precedence:J.PARAMETER_LIST,parseInfix:a((s,c)=>{let d=[K(c)];s.consume(",");do try{let v=s.parseIntermediateType(J.PARAMETER_LIST);d.push(K(v))}catch(v){if(e&&v instanceof p)break;throw v}while(s.consume(","));if(d.length>0&&d.slice(0,-1).some(v=>v.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:d}},"parseInfix")})}a(dt,"createParameterListParslet");let Hr=F({name:"genericParslet",accept:a((e,s)=>e==="<"||e==="."&&s==="<","accept"),precedence:J.GENERIC,parseInfix:a((e,s)=>{let c=e.consume(".");e.consume("<");let d=[];do d.push(e.parseType(J.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:N(s),elements:d,meta:{brackets:"angle",dot:c}}},"parseInfix")}),Xr=F({name:"unionParslet",accept:a(e=>e==="|","accept"),precedence:J.UNION,parseInfix:a((e,s)=>{e.consume("|");let c=[];do c.push(e.parseType(J.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[N(s),...c]}},"parseInfix")}),Ce=[Me,xe,we,Yr,zr,Wr,dt({allowTrailingComma:!0}),Hr,Xr,xe];function le({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:s,pathGrammar:c}){return a(function(d,v,b){if(b==null||v>=J.NAME_PATH)return null;let O=d.lexer.current.type,U=d.lexer.next.type;if(!(O==="."&&U!=="<"||O==="["&&(e||b.type==="JsdocTypeName")||s&&(O==="~"||O==="#")))return null;let $,q=!1;d.consume(".")?$="property":d.consume("[")?($="property-brackets",q=!0):d.consume("~")?$="inner":(d.consume("#"),$="instance");let Q=c!==null?new ee(c,d.lexer,d):d,z=Q.parseIntermediateType(J.NAME_PATH);d.acceptLexerState(Q);let me;switch(z.type){case"JsdocTypeName":me={type:"JsdocTypeProperty",value:z.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":me={type:"JsdocTypeProperty",value:z.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":me={type:"JsdocTypeProperty",value:z.value,meta:{quote:z.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(z.specialType==="event")me=z;else throw new m(z,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new m(z,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(q&&!d.consume("]")){let jt=d.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${jt.type}' with text '${jt.text}'`)}return{type:"JsdocTypeNamePath",left:N(b),right:me,pathType:$}},"namePathParslet")}a(le,"createNamePathParslet");function W({allowedAdditionalTokens:e}){return F({name:"nameParslet",accept:a(s=>s==="Identifier"||s==="this"||s==="new"||e.includes(s),"accept"),parsePrefix:a(s=>{let{type:c,text:d}=s.lexer.current;return s.consume(c),{type:"JsdocTypeName",value:d}},"parsePrefix")})}a(W,"createNameParslet");let ue=F({name:"stringValueParslet",accept:a(e=>e==="StringValue","accept"),parsePrefix:a(e=>{let s=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:s.slice(1,-1),meta:{quote:s[0]==="'"?"single":"double"}}},"parsePrefix")});function ye({pathGrammar:e,allowedTypes:s}){return F({name:"specialNamePathParslet",accept:a(c=>s.includes(c),"accept"),parsePrefix:a(c=>{let d=c.lexer.current.type;if(c.consume(d),!c.consume(":"))return{type:"JsdocTypeName",value:d};let v,b=c.lexer.current;if(c.consume("StringValue"))v={type:"JsdocTypeSpecialNamePath",value:b.text.slice(1,-1),specialType:d,meta:{quote:b.text[0]==="'"?"single":"double"}};else{let $="",q=["Identifier","@","/"];for(;q.some(Q=>c.consume(Q));)$+=b.text,b=c.lexer.current;v={type:"JsdocTypeSpecialNamePath",value:$,specialType:d,meta:{quote:void 0}}}let O=new ee(e,c.lexer,c),U=O.parseInfixIntermediateType(v,J.ALL);return c.acceptLexerState(O),N(U)},"parsePrefix")})}a(ye,"createSpecialNamePathParslet");let mt=[W({allowedAdditionalTokens:["external","module"]}),ue,we,le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],pe=[...mt,ye({allowedTypes:["event"],pathGrammar:mt})];function Pe(e){let s;if(e.type==="JsdocTypeParameterList")s=e.elements;else if(e.type==="JsdocTypeParenthesis")s=[e.element];else throw new m(e);return s.map(c=>K(c))}a(Pe,"getParameters");function ft(e){let s=Pe(e);if(s.some(c=>c.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return s}a(ft,"getUnnamedParameters");function Oe({allowNamedParameters:e,allowNoReturnType:s,allowWithoutParenthesis:c,allowNewAsFunctionKeyword:d}){return F({name:"functionParslet",accept:a((v,b)=>v==="function"||d&&v==="new"&&b==="(","accept"),parsePrefix:a(v=>{let b=v.consume("new");v.consume("function");let O=v.lexer.current.type==="(";if(!O){if(!c)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let U={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:b,parenthesis:O},$=v.parseIntermediateType(J.FUNCTION);if(e===void 0)U.parameters=ft($);else{if(b&&$.type==="JsdocTypeFunction"&&$.arrow)return U=$,U.constructor=!0,U;U.parameters=Pe($);for(let q of U.parameters)if(q.type==="JsdocTypeKeyValue"&&!e.includes(q.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${q.type}`)}if(v.consume(":"))U.returnType=v.parseType(J.PREFIX);else if(!s)throw new Error("function is missing return type");return U},"parsePrefix")})}a(Oe,"createFunctionParslet");function Ne({allowPostfix:e,allowEnclosingBrackets:s}){return F({name:"variadicParslet",accept:a(c=>c==="...","accept"),precedence:J.PREFIX,parsePrefix:a(c=>{c.consume("...");let d=s&&c.consume("[");try{let v=c.parseType(J.PREFIX);if(d&&!c.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:N(v),meta:{position:"prefix",squareBrackets:d}}}catch(v){if(v instanceof p){if(d)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw v}},"parsePrefix"),parseInfix:e?(c,d)=>(c.consume("..."),{type:"JsdocTypeVariadic",element:N(d),meta:{position:"suffix",squareBrackets:!1}}):void 0})}a(Ne,"createVariadicParslet");let Tt=F({name:"symbolParslet",accept:a(e=>e==="(","accept"),precedence:J.SYMBOL,parseInfix:a((e,s)=>{if(s.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");let c={type:"JsdocTypeSymbol",value:s.value};if(!e.consume(")")){let d=e.parseIntermediateType(J.SYMBOL);if(c.element=Y(d),!e.consume(")"))throw new Error("Symbol does not end after value")}return c},"parseInfix")}),vt=F({name:"arrayBracketsParslet",precedence:J.ARRAY_BRACKETS,accept:a((e,s)=>e==="["&&s==="]","accept"),parseInfix:a((e,s)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[N(s)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function _e({objectFieldGrammar:e,allowKeyTypes:s}){return F({name:"objectParslet",accept:a(c=>c==="{","accept"),parsePrefix:a(c=>{c.consume("{");let d={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!c.consume("}")){let v,b=new ee(e,c.lexer,c);for(;;){b.acceptLexerState(c);let O=b.parseIntermediateType(J.OBJECT);c.acceptLexerState(b),O===void 0&&s&&(O=c.parseIntermediateType(J.OBJECT));let U=!1;if(O.type==="JsdocTypeNullable"&&(U=!0,O=O.element),O.type==="JsdocTypeNumber"||O.type==="JsdocTypeName"||O.type==="JsdocTypeStringValue"){let $;O.type==="JsdocTypeStringValue"&&($=O.meta.quote),d.elements.push({type:"JsdocTypeObjectField",key:O.value.toString(),right:void 0,optional:U,readonly:!1,meta:{quote:$}})}else if(O.type==="JsdocTypeObjectField"||O.type==="JsdocTypeJsdocObjectField")d.elements.push(O);else throw new m(O);if(c.lexer.current.startOfLine)v="linebreak";else if(c.consume(","))v="comma";else if(c.consume(";"))v="semicolon";else break;if(c.lexer.current.type==="}")break}if(d.meta.separator=v??"comma",!c.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return d},"parsePrefix")})}a(_e,"createObjectParslet");function Se({allowSquaredProperties:e,allowKeyTypes:s,allowReadonly:c,allowOptional:d}){return F({name:"objectFieldParslet",precedence:J.KEY_VALUE,accept:a(v=>v===":","accept"),parseInfix:a((v,b)=>{var O;let U=!1,$=!1;d&&b.type==="JsdocTypeNullable"&&(U=!0,b=b.element),c&&b.type==="JsdocTypeReadonlyProperty"&&($=!0,b=b.element);let q=(O=v.baseParser)!==null&&O!==void 0?O:v;if(q.acceptLexerState(v),b.type==="JsdocTypeNumber"||b.type==="JsdocTypeName"||b.type==="JsdocTypeStringValue"||C(b)){if(C(b)&&!e)throw new m(b);q.consume(":");let Q;b.type==="JsdocTypeStringValue"&&(Q=b.meta.quote);let z=q.parseType(J.KEY_VALUE);return v.acceptLexerState(q),{type:"JsdocTypeObjectField",key:C(b)?b:b.value.toString(),right:z,optional:U,readonly:$,meta:{quote:Q}}}else{if(!s)throw new m(b);q.consume(":");let Q=q.parseType(J.KEY_VALUE);return v.acceptLexerState(q),{type:"JsdocTypeJsdocObjectField",left:N(b),right:Q}}},"parseInfix")})}a(Se,"createObjectFieldParslet");function je({allowOptional:e,allowVariadic:s}){return F({name:"keyValueParslet",precedence:J.KEY_VALUE,accept:a(c=>c===":","accept"),parseInfix:a((c,d)=>{let v=!1,b=!1;if(e&&d.type==="JsdocTypeNullable"&&(v=!0,d=d.element),s&&d.type==="JsdocTypeVariadic"&&d.element!==void 0&&(b=!0,d=d.element),d.type!=="JsdocTypeName")throw new m(d);c.consume(":");let O=c.parseType(J.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:d.value,right:O,optional:v,variadic:b}},"parseInfix")})}a(je,"createKeyValueParslet");let ht=[...Ce,Oe({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ue,ye({allowedTypes:["module","external","event"],pathGrammar:pe}),Ne({allowEnclosingBrackets:!0,allowPostfix:!0}),W({allowedAdditionalTokens:["keyof"]}),Tt,vt,le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:pe})],Qr=[...ht,_e({objectFieldGrammar:[W({allowedAdditionalTokens:["module","in"]}),Se({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...ht],allowKeyTypes:!0}),je({allowOptional:!0,allowVariadic:!0})],gt=F({name:"typeOfParslet",accept:a(e=>e==="typeof","accept"),parsePrefix:a(e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:N(e.parseType(J.KEY_OF_TYPE_OF))}),"parsePrefix")}),Zr=[W({allowedAdditionalTokens:["module","keyof","event","external","in"]}),Me,xe,ue,we,Se({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],en=[...Ce,_e({allowKeyTypes:!1,objectFieldGrammar:Zr}),W({allowedAdditionalTokens:["event","external","in"]}),gt,Oe({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Ne({allowEnclosingBrackets:!1,allowPostfix:!1}),W({allowedAdditionalTokens:["keyof"]}),ye({allowedTypes:["module"],pathGrammar:pe}),le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:pe}),je({allowOptional:!1,allowVariadic:!1}),Tt];function bt({allowQuestionMark:e}){return F({name:"tupleParslet",accept:a(s=>s==="[","accept"),parsePrefix:a(s=>{s.consume("[");let c={type:"JsdocTypeTuple",elements:[]};if(s.consume("]"))return c;let d=s.parseIntermediateType(J.ALL);if(d.type==="JsdocTypeParameterList"?d.elements[0].type==="JsdocTypeKeyValue"?c.elements=d.elements.map(S):c.elements=d.elements.map(N):d.type==="JsdocTypeKeyValue"?c.elements=[S(d)]:c.elements=[N(d)],!s.consume("]"))throw new Error("Unterminated '['");if(!e&&c.elements.some(v=>v.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return c},"parsePrefix")})}a(bt,"createTupleParslet");let tn=F({name:"keyOfParslet",accept:a(e=>e==="keyof","accept"),parsePrefix:a(e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:N(e.parseType(J.KEY_OF_TYPE_OF))}),"parsePrefix")}),rn=F({name:"importParslet",accept:a(e=>e==="import","accept"),parsePrefix:a(e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");let s=e.parseType(J.PREFIX);if(s.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:s}},"parsePrefix")}),nn=F({name:"readonlyPropertyParslet",accept:a(e=>e==="readonly","accept"),parsePrefix:a(e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(J.KEY_VALUE)}),"parsePrefix")}),an=F({name:"arrowFunctionParslet",precedence:J.ARROW,accept:a(e=>e==="=>","accept"),parseInfix:a((e,s)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:Pe(s).map(G),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(J.OBJECT)}),"parseInfix")}),on=F({name:"intersectionParslet",accept:a(e=>e==="&","accept"),precedence:J.INTERSECTION,parseInfix:a((e,s)=>{e.consume("&");let c=[];do c.push(e.parseType(J.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[N(s),...c]}},"parseInfix")}),sn=F({name:"predicateParslet",precedence:J.INFIX,accept:a(e=>e==="is","accept"),parseInfix:a((e,s)=>{if(s.type!=="JsdocTypeName")throw new m(s,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:s,right:N(e.parseIntermediateType(J.INFIX))}},"parseInfix")}),pn=F({name:"objectSquareBracketPropertyParslet",accept:a(e=>e==="[","accept"),parsePrefix:a(e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");let s=e.lexer.current.text;e.consume("Identifier");let c;if(e.consume(":")){let d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeIndexSignature",key:s,right:d.parseType(J.ARRAY_BRACKETS)},e.acceptLexerState(d)}else if(e.consume("in")){let d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeMappedType",key:s,right:d.parseType(J.ARRAY_BRACKETS)},e.acceptLexerState(d)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return c},"parsePrefix")}),cn=[nn,W({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),Me,xe,ue,we,Se({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),pn],ln=[...Ce,_e({allowKeyTypes:!1,objectFieldGrammar:cn}),gt,tn,rn,ue,Oe({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),bt({allowQuestionMark:!1}),Ne({allowEnclosingBrackets:!1,allowPostfix:!1}),W({allowedAdditionalTokens:["event","external","in"]}),ye({allowedTypes:["module"],pathGrammar:pe}),vt,an,le({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:pe}),on,sn,je({allowVariadic:!0,allowOptional:!0})];function qe(e,s){switch(s){case"closure":return new ee(en,e).parse();case"jsdoc":return new ee(Qr,e).parse();case"typescript":return new ee(ln,e).parse()}}a(qe,"parse");function Jt(e,s=["typescript","closure","jsdoc"]){let c;for(let d of s)try{return qe(e,d)}catch(v){c=v}throw c}a(Jt,"tryParse");function ce(e,s){let c=e[s.type];if(c===void 0)throw new Error(`In this set of transform rules exists no rule for type ${s.type}.`);return c(s,d=>ce(e,d))}a(ce,"transform");function B(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}a(B,"notAvailableTransform");function Be(e){let s={params:[]};for(let c of e.parameters)c.type==="JsdocTypeKeyValue"?c.key==="this"?s.this=c.right:c.key==="new"?s.new=c.right:s.params.push(c):s.params.push(c);return s}a(Be,"extractSpecialParams");function de(e,s,c){return e==="prefix"?c+s:s+c}a(de,"applyPosition");function H(e,s){switch(s){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}a(H,"quote");function Ge(){return{JsdocTypeParenthesis:a((e,s)=>`(${e.element!==void 0?s(e.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:a((e,s)=>`keyof ${s(e.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:a((e,s)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let c=`(${e.parameters.map(s).join(", ")}) => ${s(e.returnType)}`;return e.constructor&&(c="new "+c),c}else{let c=e.constructor?"new":"function";return e.parenthesis&&(c+=`(${e.parameters.map(s).join(", ")})`,e.returnType!==void 0&&(c+=`: ${s(e.returnType)}`)),c}},"JsdocTypeFunction"),JsdocTypeName:a(e=>e.value,"JsdocTypeName"),JsdocTypeTuple:a((e,s)=>`[${e.elements.map(s).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:a((e,s)=>e.meta.position===void 0?"...":de(e.meta.position,s(e.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:a((e,s)=>{let c=s(e.left),d=s(e.right);switch(e.pathType){case"inner":return`${c}~${d}`;case"instance":return`${c}#${d}`;case"property":return`${c}.${d}`;case"property-brackets":return`${c}[${d}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:a(e=>H(e.value,e.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:a(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:a((e,s)=>{if(e.meta.brackets==="square"){let c=e.elements[0],d=s(c);return c.type==="JsdocTypeUnion"||c.type==="JsdocTypeIntersection"?`(${d})[]`:`${d}[]`}else return`${s(e.left)}${e.meta.dot?".":""}<${e.elements.map(s).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:a((e,s)=>`import(${s(e.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:a((e,s)=>{let c="";return e.readonly&&(c+="readonly "),typeof e.key=="string"?c+=H(e.key,e.meta.quote):c+=s(e.key),e.optional&&(c+="?"),e.right===void 0?c:c+`: ${s(e.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>`${s(e.left)}: ${s(e.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>{let c=e.key;return e.optional&&(c+="?"),e.variadic&&(c="..."+c),e.right===void 0?c:c+`: ${s(e.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:a(e=>`${e.specialType}:${H(e.value,e.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:a((e,s)=>de(e.meta.position,s(e.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:a(()=>"null","JsdocTypeNull"),JsdocTypeNullable:a((e,s)=>de(e.meta.position,s(e.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:a(e=>e.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:a((e,s)=>`{${e.elements.map(s).join((e.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:a((e,s)=>de(e.meta.position,s(e.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:a((e,s)=>`${e.value}(${e.element!==void 0?s(e.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:a((e,s)=>`typeof ${s(e.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:a(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:a((e,s)=>e.elements.map(s).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:a(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:a((e,s)=>e.elements.map(s).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:a(e=>H(e.value,e.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:a((e,s)=>`${s(e.left)} is ${s(e.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:a((e,s)=>`[${e.key}: ${s(e.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:a((e,s)=>`[${e.key} in ${s(e.right)}]`,"JsdocTypeMappedType")}}a(Ge,"stringifyRules");let un=Ge();function xt(e){return ce(un,e)}a(xt,"stringify");let yn=["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 X(e){let s={type:"NameExpression",name:e};return yn.includes(e)&&(s.reservedWord=!0),s}a(X,"makeName");let dn={JsdocTypeOptional:a((e,s)=>{let c=s(e.element);return c.optional=!0,c},"JsdocTypeOptional"),JsdocTypeNullable:a((e,s)=>{let c=s(e.element);return c.nullable=!0,c},"JsdocTypeNullable"),JsdocTypeNotNullable:a((e,s)=>{let c=s(e.element);return c.nullable=!1,c},"JsdocTypeNotNullable"),JsdocTypeVariadic:a((e,s)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let c=s(e.element);return c.repeatable=!0,c},"JsdocTypeVariadic"),JsdocTypeAny:a(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:a(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:a(e=>X(H(e.value,e.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:a(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:a(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:a((e,s)=>{let c=Be(e),d={type:"FunctionType",params:c.params.map(s)};return c.this!==void 0&&(d.this=s(c.this)),c.new!==void 0&&(d.new=s(c.new)),e.returnType!==void 0&&(d.result=s(e.returnType)),d},"JsdocTypeFunction"),JsdocTypeGeneric:a((e,s)=>({type:"TypeApplication",applications:e.elements.map(c=>s(c)),expression:s(e.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:a(e=>X(e.specialType+":"+H(e.value,e.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:a(e=>e.value!=="function"?X(e.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:a(e=>X(e.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:a((e,s)=>{let c={type:"RecordType",fields:[]};for(let d of e.elements)d.type!=="JsdocTypeObjectField"&&d.type!=="JsdocTypeJsdocObjectField"?c.fields.push({type:"FieldType",key:s(d),value:void 0}):c.fields.push(s(d));return c},"JsdocTypeObject"),JsdocTypeObjectField:a((e,s)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:X(H(e.key,e.meta.quote)),value:e.right===void 0?void 0:s(e.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>({type:"FieldType",key:s(e.left),value:s(e.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:a((e,s)=>({type:"TypeUnion",elements:e.elements.map(c=>s(c))}),"JsdocTypeUnion"),JsdocTypeKeyValue:a((e,s)=>({type:"FieldType",key:X(e.key),value:e.right===void 0?void 0:s(e.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:a((e,s)=>{let c=s(e.left),d;e.right.type==="JsdocTypeSpecialNamePath"?d=s(e.right).name:d=H(e.right.value,e.right.meta.quote);let v=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return X(`${c.name}${v}${d}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:a(e=>{let s="",c=e.element,d=!1;return(c==null?void 0:c.type)==="JsdocTypeVariadic"&&(c.meta.position==="prefix"?s="...":d=!0,c=c.element),(c==null?void 0:c.type)==="JsdocTypeName"?s+=c.value:(c==null?void 0:c.type)==="JsdocTypeNumber"&&(s+=c.value.toString()),d&&(s+="..."),X(`${e.value}(${s})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:a((e,s)=>s(N(e.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:B,JsdocTypeIndexSignature:B,JsdocTypeImport:B,JsdocTypeKeyof:B,JsdocTypeTuple:B,JsdocTypeTypeof:B,JsdocTypeIntersection:B,JsdocTypeProperty:B,JsdocTypePredicate:B};function wt(e){return ce(dn,e)}a(wt,"catharsisTransform");function te(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}a(te,"getQuoteStyle");function Pt(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}a(Pt,"getMemberType");function Ee(e,s){return s.length===2?{type:e,left:s[0],right:s[1]}:{type:e,left:s[0],right:Ee(e,s.slice(1))}}a(Ee,"nestResults");let mn={JsdocTypeOptional:a((e,s)=>({type:"OPTIONAL",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:a((e,s)=>({type:"NULLABLE",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:a((e,s)=>({type:"NOT_NULLABLE",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:a((e,s)=>{let c={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(c.value=s(e.element)),c},"JsdocTypeVariadic"),JsdocTypeName:a(e=>({type:"NAME",name:e.value}),"JsdocTypeName"),JsdocTypeTypeof:a((e,s)=>({type:"TYPE_QUERY",name:s(e.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:a((e,s)=>({type:"TUPLE",entries:e.elements.map(s)}),"JsdocTypeTuple"),JsdocTypeKeyof:a((e,s)=>({type:"KEY_QUERY",value:s(e.element)}),"JsdocTypeKeyof"),JsdocTypeImport:a(e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:te(e.element.meta.quote),string:e.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:a(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:a(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:a((e,s)=>{let c=Be(e),d={type:e.arrow?"ARROW":"FUNCTION",params:c.params.map(v=>{if(v.type==="JsdocTypeKeyValue"){if(v.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:v.key,typeName:s(v.right)}}else return s(v)}),new:null,returns:null};return c.this!==void 0?d.this=s(c.this):e.arrow||(d.this=null),c.new!==void 0&&(d.new=s(c.new)),e.returnType!==void 0&&(d.returns=s(e.returnType)),d},"JsdocTypeFunction"),JsdocTypeGeneric:a((e,s)=>{let c={type:"GENERIC",subject:s(e.left),objects:e.elements.map(s),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(c.objects[0]={type:"NAME",name:"function"}),c},"JsdocTypeGeneric"),JsdocTypeObjectField:a((e,s)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:te(e.meta.quote),value:null,readonly:!1};let c=s(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:te(e.meta.quote),value:c,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let c=s(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:c,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:a((e,s)=>{let c=[];for(let d of e.elements)(d.type==="JsdocTypeObjectField"||d.type==="JsdocTypeJsdocObjectField")&&c.push(s(d));return{type:"RECORD",entries:c}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:a(e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:te(e.meta.quote),path:e.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:a((e,s)=>{let c=!1,d,v;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(c=!0,d=e.right.value,v=te(e.right.meta.quote)):(d=e.right.value,v=te(e.right.meta.quote));let b={type:Pt(e.pathType),owner:s(e.left),name:d,quoteStyle:v,hasEventPrefix:c};if(b.owner.type==="MODULE"){let O=b.owner;return b.owner=b.owner.value,O.value=b,O}else return b},"JsdocTypeNamePath"),JsdocTypeUnion:a((e,s)=>Ee("UNION",e.elements.map(s)),"JsdocTypeUnion"),JsdocTypeParenthesis:a((e,s)=>({type:"PARENTHESIS",value:s(N(e.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:a(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:a(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:a(e=>({type:"STRING_VALUE",quoteStyle:te(e.meta.quote),string:e.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:a((e,s)=>Ee("INTERSECTION",e.elements.map(s)),"JsdocTypeIntersection"),JsdocTypeNumber:a(e=>({type:"NUMBER_VALUE",number:e.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:B,JsdocTypeProperty:B,JsdocTypePredicate:B,JsdocTypeMappedType:B,JsdocTypeIndexSignature:B};function Ot(e){return ce(mn,e)}a(Ot,"jtpTransform");function Nt(){return{JsdocTypeIntersection:a((e,s)=>({type:"JsdocTypeIntersection",elements:e.elements.map(s)}),"JsdocTypeIntersection"),JsdocTypeGeneric:a((e,s)=>({type:"JsdocTypeGeneric",left:s(e.left),elements:e.elements.map(s),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:a(e=>e,"JsdocTypeNullable"),JsdocTypeUnion:a((e,s)=>({type:"JsdocTypeUnion",elements:e.elements.map(s)}),"JsdocTypeUnion"),JsdocTypeUnknown:a(e=>e,"JsdocTypeUnknown"),JsdocTypeUndefined:a(e=>e,"JsdocTypeUndefined"),JsdocTypeTypeof:a((e,s)=>({type:"JsdocTypeTypeof",element:s(e.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:a((e,s)=>{let c={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(c.element=s(e.element)),c},"JsdocTypeSymbol"),JsdocTypeOptional:a((e,s)=>({type:"JsdocTypeOptional",element:s(e.element),meta:{position:e.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:a((e,s)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(s)}),"JsdocTypeObject"),JsdocTypeNumber:a(e=>e,"JsdocTypeNumber"),JsdocTypeNull:a(e=>e,"JsdocTypeNull"),JsdocTypeNotNullable:a((e,s)=>({type:"JsdocTypeNotNullable",element:s(e.element),meta:{position:e.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:a(e=>e,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:a((e,s)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:s(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>({type:"JsdocTypeJsdocObjectField",left:s(e.left),right:s(e.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:s(e.right),optional:e.optional,variadic:e.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:a((e,s)=>({type:"JsdocTypeImport",element:s(e.element)}),"JsdocTypeImport"),JsdocTypeAny:a(e=>e,"JsdocTypeAny"),JsdocTypeStringValue:a(e=>e,"JsdocTypeStringValue"),JsdocTypeNamePath:a(e=>e,"JsdocTypeNamePath"),JsdocTypeVariadic:a((e,s)=>{let c={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(c.element=s(e.element)),c},"JsdocTypeVariadic"),JsdocTypeTuple:a((e,s)=>({type:"JsdocTypeTuple",elements:e.elements.map(s)}),"JsdocTypeTuple"),JsdocTypeName:a(e=>e,"JsdocTypeName"),JsdocTypeFunction:a((e,s)=>{let c={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(s),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(c.returnType=s(e.returnType)),c},"JsdocTypeFunction"),JsdocTypeKeyof:a((e,s)=>({type:"JsdocTypeKeyof",element:s(e.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:a((e,s)=>({type:"JsdocTypeParenthesis",element:s(e.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:a(e=>e,"JsdocTypeProperty"),JsdocTypePredicate:a((e,s)=>({type:"JsdocTypePredicate",left:s(e.left),right:s(e.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:a((e,s)=>({type:"JsdocTypeIndexSignature",key:e.key,right:s(e.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:a((e,s)=>({type:"JsdocTypeMappedType",key:e.key,right:s(e.right)}),"JsdocTypeMappedType")}}a(Nt,"identityTransformRules");let _t={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"]};function ke(e,s,c,d,v){d==null||d(e,s,c);let b=_t[e.type];for(let O of b){let U=e[O];if(U!==void 0)if(Array.isArray(U))for(let $ of U)ke($,e,O,d,v);else ke(U,e,O,d,v)}v==null||v(e,s,c)}a(ke,"_traverse");function St(e,s,c){ke(e,void 0,void 0,s,c)}a(St,"traverse"),n.catharsisTransform=wt,n.identityTransformRules=Nt,n.jtpTransform=Ot,n.parse=qe,n.stringify=xt,n.stringifyRules=Ge,n.transform=ce,n.traverse=St,n.tryParse=Jt,n.visitorKeys=_t})});const{UnknownArgTypesError:Ko}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var er=/^['"]|['"]$/g,Mo=a(r=>r.replace(er,""),"trimQuotes"),Co=a(r=>er.test(r),"includesQuotes"),tr=a(r=>{let t=Mo(r);return Co(r)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),qo=a(r=>{switch(r.type){case"function":return{name:"function"};case"object":let t={};return r.signature.properties.forEach(n=>{t[n.key]=ve(n.value)}),{name:"object",value:t};default:throw new Ko({type:r,language:"Typescript"})}},"convertSig"),ve=a(r=>{var i,p,l,u;let{name:t,raw:n}=r,o={};switch(typeof n<"u"&&(o.raw=n),r.name){case"string":case"number":case"symbol":case"boolean":return{...o,name:t};case"Array":return{...o,name:"array",value:r.elements.map(ve)};case"signature":return{...o,...qo(r)};case"union":let y;return(i=r.elements)!=null&&i.every(m=>m.name==="literal")?y={...o,name:"enum",value:(p=r.elements)==null?void 0:p.map(m=>tr(m.value))}:y={...o,name:t,value:(l=r.elements)==null?void 0:l.map(ve)},y;case"intersection":return{...o,name:t,value:(u=r.elements)==null?void 0:u.map(ve)};default:return{...o,name:"other",value:t}}},"convert");const{UnknownArgTypesError:Bo}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Go=a(r=>r.name==="literal","isLiteral"),Yo=a(r=>r.value.replace(/['|"]/g,""),"toEnumOption"),zo=a(r=>{switch(r.type){case"function":return{name:"function"};case"object":let t={};return r.signature.properties.forEach(n=>{t[n.key]=he(n.value)}),{name:"object",value:t};default:throw new Bo({type:r,language:"Flow"})}},"convertSig"),he=a(r=>{var i,p,l,u;let{name:t,raw:n}=r,o={};switch(typeof n<"u"&&(o.raw=n),r.name){case"literal":return{...o,name:"other",value:r.value};case"string":case"number":case"symbol":case"boolean":return{...o,name:t};case"Array":return{...o,name:"array",value:r.elements.map(he)};case"signature":return{...o,...zo(r)};case"union":return(i=r.elements)!=null&&i.every(Go)?{...o,name:"enum",value:(p=r.elements)==null?void 0:p.map(Yo)}:{...o,name:t,value:(l=r.elements)==null?void 0:l.map(he)};case"intersection":return{...o,name:t,value:(u=r.elements)==null?void 0:u.map(he)};default:return{...o,name:"other",value:t}}},"convert"),Wo=Ft($o(),1),Ho=/^\(.*\) => /,Te=a(r=>{let{name:t,raw:n,computed:o,value:i}=r,p={};switch(typeof n<"u"&&(p.raw=n),t){case"enum":{let u=o?i:i.map(y=>tr(y.value));return{...p,name:t,value:u}}case"string":case"number":case"symbol":return{...p,name:t};case"func":return{...p,name:"function"};case"bool":case"boolean":return{...p,name:"boolean"};case"arrayOf":case"array":return{...p,name:"array",value:i&&Te(i)};case"object":return{...p,name:t};case"objectOf":return{...p,name:t,value:Te(i)};case"shape":case"exact":let l=(0,Wo.default)(i,u=>Te(u));return{...p,name:"object",value:l};case"union":return{...p,name:"union",value:i.map(u=>Te(u))};case"instanceOf":case"element":case"elementType":default:{if((t==null?void 0:t.indexOf("|"))>0)try{let m=t.split("|").map(T=>JSON.parse(T));return{...p,name:"enum",value:m}}catch{}let u=i?`${t}(${i})`:t,y=Ho.test(t)?"function":"other";return{...p,name:y,value:u}}}},"convert"),tt=a(r=>{let{type:t,tsType:n,flowType:o}=r;try{if(t!=null)return Te(t);if(n!=null)return ve(n);if(o!=null)return he(o)}catch(i){console.error(i)}return null},"convert"),Xo=(r=>(r.JAVASCRIPT="JavaScript",r.FLOW="Flow",r.TYPESCRIPT="TypeScript",r.UNKNOWN="Unknown",r))(Xo||{}),Qo=["null","undefined"];function De(r){return Qo.some(t=>t===r)}a(De,"isDefaultValueBlacklisted");var Zo=a(r=>{if(!r)return"";if(typeof r=="string")return r;throw new Error(`Description: expected string, got: ${JSON.stringify(r)}`)},"str");function rt(r){return!!r.__docgenInfo}a(rt,"hasDocgen");function rr(r){return r!=null&&Object.keys(r).length>0}a(rr,"isValidDocgenSection");function nr(r,t){return rt(r)?r.__docgenInfo[t]:null}a(nr,"getDocgenSection");function ar(r){return rt(r)?Zo(r.__docgenInfo.description):""}a(ar,"getDocgenDescription");var re;(function(r){r.start="/**",r.nostart="/***",r.delim="*",r.end="*/"})(re=re||(re={}));function or(r){return/^\s+$/.test(r)}a(or,"isSpace");function sr(r){let t=r.match(/\r+$/);return t==null?["",r]:[r.slice(-t[0].length),r.slice(0,-t[0].length)]}a(sr,"splitCR");function se(r){let t=r.match(/^\s+/);return t==null?["",r]:[r.slice(0,t[0].length),r.slice(t[0].length)]}a(se,"splitSpace");function ir(r){return r.split(/\n/)}a(ir,"splitLines");function pr(r={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},r)}a(pr,"seedSpec");function cr(r={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},r)}a(cr,"seedTokens");var es=/^@\S+/;function lr({fence:r="```"}={}){let t=ur(r),n=a((o,i)=>t(o)?!i:i,"toggleFence");return a(function(o){let i=[[]],p=!1;for(let l of o)es.test(l.tokens.description)&&!p?i.push([l]):i[i.length-1].push(l),p=n(l.tokens.description,p);return i},"parseBlock")}a(lr,"getParser");function ur(r){return typeof r=="string"?t=>t.split(r).length%2===0:r}a(ur,"getFencer");function yr({startLine:r=0,markers:t=re}={}){let n=null,o=r;return a(function(i){let p=i,l=cr();if([l.lineEnd,p]=sr(p),[l.start,p]=se(p),n===null&&p.startsWith(t.start)&&!p.startsWith(t.nostart)&&(n=[],l.delimiter=p.slice(0,t.start.length),p=p.slice(t.start.length),[l.postDelimiter,p]=se(p)),n===null)return o++,null;let u=p.trimRight().endsWith(t.end);if(l.delimiter===""&&p.startsWith(t.delim)&&!p.startsWith(t.end)&&(l.delimiter=t.delim,p=p.slice(t.delim.length),[l.postDelimiter,p]=se(p)),u){let y=p.trimRight();l.end=p.slice(y.length-t.end.length),p=y.slice(0,-t.end.length)}if(l.description=p,n.push({number:o,source:i,tokens:l}),o++,u){let y=n.slice();return n=null,y}return null},"parseSource")}a(yr,"getParser");function dr({tokenizers:r}){return a(function(t){var n;let o=pr({source:t});for(let i of r)if(o=i(o),!((n=o.problems[o.problems.length-1])===null||n===void 0)&&n.critical)break;return o},"parseSpec")}a(dr,"getParser");function mr(){return r=>{let{tokens:t}=r.source[0],n=t.description.match(/\s*(@(\S+))(\s*)/);return n===null?(r.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:r.source[0].number,critical:!0}),r):(t.tag=n[1],t.postTag=n[3],t.description=t.description.slice(n[0].length),r.tag=n[2],r)}}a(mr,"tagTokenizer");function fr(r="compact"){let t=Tr(r);return n=>{let o=0,i=[];for(let[u,{tokens:y}]of n.source.entries()){let m="";if(u===0&&y.description[0]!=="{")return n;for(let T of y.description)if(T==="{"&&o++,T==="}"&&o--,m+=T,o===0)break;if(i.push([y,m]),o===0)break}if(o!==0)return n.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:n.source[0].number,critical:!0}),n;let p=[],l=i[0][0].postDelimiter.length;for(let[u,[y,m]]of i.entries())y.type=m,u>0&&(y.type=y.postDelimiter.slice(l)+m,y.postDelimiter=y.postDelimiter.slice(0,l)),[y.postType,y.description]=se(y.description.slice(m.length)),p.push(y.type);return p[0]=p[0].slice(1),p[p.length-1]=p[p.length-1].slice(0,-1),n.type=t(p),n}}a(fr,"typeTokenizer");var ts=a(r=>r.trim(),"trim");function Tr(r){return r==="compact"?t=>t.map(ts).join(""):r==="preserve"?t=>t.join(` +`):r}a(Tr,"getJoiner");var rs=a(r=>r&&r.startsWith('"')&&r.endsWith('"'),"isQuoted");function vr(){let r=a((t,{tokens:n},o)=>n.type===""?t:o,"typeEnd");return t=>{let{tokens:n}=t.source[t.source.reduce(r,0)],o=n.description.trimLeft(),i=o.split('"');if(i.length>1&&i[0]===""&&i.length%2===1)return t.name=i[1],n.name=`"${i[1]}"`,[n.postName,n.description]=se(o.slice(n.name.length)),t;let p=0,l="",u=!1,y;for(let T of o){if(p===0&&or(T))break;T==="["&&p++,T==="]"&&p--,l+=T}if(p!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let m=l;if(l[0]==="["&&l[l.length-1]==="]"){u=!0,l=l.slice(1,-1);let T=l.split("=");if(l=T[0].trim(),T[1]!==void 0&&(y=T.slice(1).join("=").trim()),l==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(y==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!rs(y)&&/=(?!>)/.test(y))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=u,t.name=l,n.name=m,y!==void 0&&(t.default=y),[n.postName,n.description]=se(o.slice(n.name.length)),t}}a(vr,"nameTokenizer");function hr(r="compact",t=re){let n=nt(r);return o=>(o.description=n(o.source,t),o)}a(hr,"descriptionTokenizer");function nt(r){return r==="compact"?gr:r==="preserve"?br:r}a(nt,"getJoiner");function gr(r,t=re){return r.map(({tokens:{description:n}})=>n.trim()).filter(n=>n!=="").join(" ")}a(gr,"compactJoiner");var ns=a((r,{tokens:t},n)=>t.type===""?r:n,"lineNo"),as=a(({tokens:r})=>(r.delimiter===""?r.start:r.postDelimiter.slice(1))+r.description,"getDescription");function br(r,t=re){if(r.length===0)return"";r[0].tokens.description===""&&r[0].tokens.delimiter===t.start&&(r=r.slice(1));let n=r[r.length-1];return n!==void 0&&n.tokens.description===""&&n.tokens.end.endsWith(t.end)&&(r=r.slice(0,-1)),r=r.slice(r.reduce(ns,0)),r.map(as).join(` +`)}a(br,"preserveJoiner");function Jr({startLine:r=0,fence:t="```",spacing:n="compact",markers:o=re,tokenizers:i=[mr(),fr(n),vr(),hr(n)]}={}){if(r<0||r%1>0)throw new Error("Invalid startLine");let p=yr({startLine:r,markers:o}),l=lr({fence:t}),u=dr({tokenizers:i}),y=nt(n);return function(m){let T=[];for(let h of ir(m)){let x=p(h);if(x===null)continue;let g=l(x),w=g.slice(1).map(u);T.push({description:y(g[0],o),tags:w,source:x,problems:w.reduce((_,L)=>_.concat(L.problems),[])})}return T}}a(Jr,"getParser");function xr(r){return r.start+r.delimiter+r.postDelimiter+r.tag+r.postTag+r.type+r.postType+r.name+r.postName+r.description+r.end+r.lineEnd}a(xr,"join");function os(){return r=>r.source.map(({tokens:t})=>xr(t)).join(` +`)}a(os,"getStringifier");function wr(r,t={}){return Jr(t)(r)}a(wr,"parse");var at=Ft(Do(),1);function Pr(r){return r!=null&&r.includes("@")}a(Pr,"containsJsDoc");function Or(r){let t=`/** +`+(r??"").split(` +`).map(o=>` * ${o}`).join(` +`)+` +*/`,n=wr(t,{spacing:"preserve"});if(!n||n.length===0)throw new Error("Cannot parse JSDoc tags.");return n[0]}a(Or,"parse");var ss={tags:["param","arg","argument","returns","ignore","deprecated"]},is=a((r,t=ss)=>{if(!Pr(r))return{includesJsDoc:!1,ignore:!1};let n=Or(r),o=Nr(n,t.tags);return o.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:n.description.trim(),extractedTags:o}},"parseJsDoc");function Nr(r,t){let n={params:null,deprecated:null,returns:null,ignore:!1};for(let o of r.tags)if(!(t!==void 0&&!t.includes(o.tag)))if(o.tag==="ignore"){n.ignore=!0;break}else switch(o.tag){case"param":case"arg":case"argument":{let i=Sr(o);i!=null&&(n.params==null&&(n.params=[]),n.params.push(i));break}case"deprecated":{let i=jr(o);i!=null&&(n.deprecated=i);break}case"returns":{let i=Er(o);i!=null&&(n.returns=i);break}}return n}a(Nr,"extractJsDocTags");function _r(r){return r.replace(/[\.-]$/,"")}a(_r,"normaliseParamName");function Sr(r){if(!r.name||r.name==="-")return null;let t=it(r.type);return{name:r.name,type:t,description:st(r.description),getPrettyName:a(()=>_r(r.name),"getPrettyName"),getTypeName:a(()=>t?pt(t):null,"getTypeName")}}a(Sr,"extractParam");function jr(r){return r.name?ot(r.name,r.description):null}a(jr,"extractDeprecated");function ot(r,t){let n=r===""?t:`${r} ${t}`;return st(n)}a(ot,"joinNameAndDescription");function st(r){let t=r.replace(/^- /g,"").trim();return t===""?null:t}a(st,"normaliseDescription");function Er(r){let t=it(r.type);return t?{type:t,description:ot(r.name,r.description),getTypeName:a(()=>pt(t),"getTypeName")}:null}a(Er,"extractReturns");var ae=(0,at.stringifyRules)(),ps=ae.JsdocTypeObject;ae.JsdocTypeAny=()=>"any";ae.JsdocTypeObject=(r,t)=>`(${ps(r,t)})`;ae.JsdocTypeOptional=(r,t)=>t(r.element);ae.JsdocTypeNullable=(r,t)=>t(r.element);ae.JsdocTypeNotNullable=(r,t)=>t(r.element);ae.JsdocTypeUnion=(r,t)=>r.elements.map(t).join("|");function it(r){try{return(0,at.parse)(r,"typescript")}catch{return null}}a(it,"extractType");function pt(r){return(0,at.transform)(ae,r)}a(pt,"extractTypeName");function ct(r){return r.length>90}a(ct,"isTooLongForTypeSummary");function kr(r){return r.length>50}a(kr,"isTooLongForDefaultValueSummary");function M(r,t){return r===t?{summary:r}:{summary:r,detail:t}}a(M,"createSummaryValue");function lt({name:r,value:t,elements:n,raw:o}){return t??(n!=null?n.map(lt).join(" | "):o??r)}a(lt,"generateUnionElement");function Ar({name:r,raw:t,elements:n}){return n!=null?M(n.map(lt).join(" | ")):t!=null?M(t.replace(/^\|\s*/,"")):M(r)}a(Ar,"generateUnion");function Ir({type:r,raw:t}){return t!=null?M(t):M(r)}a(Ir,"generateFuncSignature");function Rr({type:r,raw:t}){return t!=null?ct(t)?M(r,t):M(t):M(r)}a(Rr,"generateObjectSignature");function Fr(r){let{type:t}=r;return t==="object"?Rr(r):Ir(r)}a(Fr,"generateSignature");function Lr({name:r,raw:t}){return t!=null?ct(t)?M(r,t):M(t):M(r)}a(Lr,"generateDefault");function Ur(r){if(r==null)return null;switch(r.name){case"union":return Ar(r);case"signature":return Fr(r);default:return Lr(r)}}a(Ur,"createType");function Vr(r,t){if(r!=null){let{value:n}=r;if(!De(n))return kr(n)?M(t==null?void 0:t.name,n):M(n)}return null}a(Vr,"createDefaultValue");var cs=a((r,t)=>{let{flowType:n,description:o,required:i,defaultValue:p}=t;return{name:r,type:Ur(n),required:i,description:o,defaultValue:Vr(p??null,n??null)}},"createFlowPropDef");function $r({tsType:r,required:t}){if(r==null)return null;let n=r.name;return t||(n=n.replace(" | undefined","")),M(["Array","Record","signature"].includes(r.name)?r.raw:n)}a($r,"createType");function Dr({defaultValue:r}){if(r!=null){let{value:t}=r;if(!De(t))return M(t)}return null}a(Dr,"createDefaultValue");var ls=a((r,t)=>{let{description:n,required:o}=t;return{name:r,type:$r(t),required:o,description:n,defaultValue:Dr(t)}},"createTsPropDef");function Kr(r){return r!=null?M(r.name):null}a(Kr,"createType");function Mr(r){let{computed:t,func:n}=r;return typeof t>"u"&&typeof n>"u"}a(Mr,"isReactDocgenTypescript");function Cr(r){return r?r.name==="string"?!0:r.name==="enum"?Array.isArray(r.value)&&r.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}a(Cr,"isStringValued");function qr(r,t){if(r!=null){let{value:n}=r;if(!De(n))return Mr(r)&&Cr(t)?M(JSON.stringify(n)):M(n)}return null}a(qr,"createDefaultValue");function ut(r,t,n){let{description:o,required:i,defaultValue:p}=n;return{name:r,type:Kr(t),required:i,description:o,defaultValue:qr(p,t)}}a(ut,"createBasicPropDef");function Je(r,t){var n;if(t!=null&&t.includesJsDoc){let{description:o,extractedTags:i}=t;o!=null&&(r.description=t.description);let p={...i,params:(n=i==null?void 0:i.params)==null?void 0:n.map(l=>({name:l.getPrettyName(),description:l.description}))};Object.values(p).filter(Boolean).length>0&&(r.jsDocTags=p)}return r}a(Je,"applyJsDocResult");var us=a((r,t,n)=>{let o=ut(r,t.type,t);return o.sbType=tt(t),Je(o,n)},"javaScriptFactory"),ys=a((r,t,n)=>{let o=ls(r,t);return o.sbType=tt(t),Je(o,n)},"tsFactory"),ds=a((r,t,n)=>{let o=cs(r,t);return o.sbType=tt(t),Je(o,n)},"flowFactory"),ms=a((r,t,n)=>{let o=ut(r,{name:"unknown"},t);return Je(o,n)},"unknownFactory"),Br=a(r=>{switch(r){case"JavaScript":return us;case"TypeScript":return ys;case"Flow":return ds;default:return ms}},"getPropDefFactory"),Gr=a(r=>r.type!=null?"JavaScript":r.flowType!=null?"Flow":r.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),fs=a(r=>{let t=Gr(r[0]),n=Br(t);return r.map(o=>{var p;let i=o;return(p=o.type)!=null&&p.elements&&(i={...o,type:{...o.type,value:o.type.elements}}),yt(i.name,i,t,n)})},"extractComponentSectionArray"),Ts=a(r=>{let t=Object.keys(r),n=Gr(r[t[0]]),o=Br(n);return t.map(i=>{let p=r[i];return p!=null?yt(i,p,n,o):null}).filter(Boolean)},"extractComponentSectionObject"),_s=a((r,t)=>{let n=nr(r,t);return rr(n)?Array.isArray(n)?fs(n):Ts(n):[]},"extractComponentProps");function yt(r,t,n,o){let i=is(t.description);return i.includesJsDoc&&i.ignore?null:{propDef:o(r,t,i),jsDocTags:i.extractedTags,docgenInfo:t,typeSystem:n}}a(yt,"extractProp");function vs(r){return r!=null?ar(r):""}a(vs,"extractComponentDescription");const{combineParameters:hs}=__STORYBOOK_MODULE_PREVIEW_API__;var Ss=a(r=>{let{component:t,argTypes:n,parameters:{docs:o={}}}=r,{extractArgTypes:i}=o,p=i&&t?i(t):{};return p?hs(p,n):n},"enhanceArgTypes"),gs="storybook/docs",js=`${gs}/snippet-rendered`,bs=(r=>(r.AUTO="auto",r.CODE="code",r.DYNAMIC="dynamic",r))(bs||{});export{vs as $,_s as B,ct as H,rt as K,M as O,Xo as P,Jn as _,Un as a,Os as b,Ps as c,ws as d,js as e,nr as f,xs as g,Yn as h,$n as i,It as j,vn as k,Xn as l,kr as o,bs as s,Ss as z}; diff --git a/assets/index-ySLf1xQK.js b/assets/index-CYasbvvH.js similarity index 88% rename from assets/index-ySLf1xQK.js rename to assets/index-CYasbvvH.js index 7a279e0..33758ce 100644 --- a/assets/index-ySLf1xQK.js +++ b/assets/index-CYasbvvH.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOWw.js";import{c as p}from"./classNames-pTwYsIK_.js";function c({offsetX:s=0,offsetY:u=0,sizeX:o=50,sizeY:i=50,className:a,...r}){const e=t.useRef(null);return t.useLayoutEffect(()=>{e.current&&(e.current.style.setProperty("--cmpui-offset-x",`${s}px`),e.current.style.setProperty("--cmpui-offset-y",`${u}px`),e.current.style.setProperty("--cmpui-size-x",`${o}px`),e.current.style.setProperty("--cmpui-size-y",`${i}px`),r.color&&e.current.style.setProperty("--cmpui-color",r.color))}),l.jsx("div",{className:p("cmpui_grid__root",a),ref:e,...r})}c.__docgenInfo={description:"",methods:[],displayName:"Grid",props:{offsetX:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},offsetY:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},sizeX:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"50",computed:!1}},sizeY:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"50",computed:!1}},color:{required:!1,tsType:{name:"string"},description:""}}};export{c as G}; +import{j as l}from"./jsx-runtime-DvLKfCe6.js";import{r as t}from"./index-aXz8NaAs.js";import{c as p}from"./classNames-pTwYsIK_.js";function c({offsetX:s=0,offsetY:u=0,sizeX:o=50,sizeY:i=50,className:a,...r}){const e=t.useRef(null);return t.useLayoutEffect(()=>{e.current&&(e.current.style.setProperty("--cmpui-offset-x",`${s}px`),e.current.style.setProperty("--cmpui-offset-y",`${u}px`),e.current.style.setProperty("--cmpui-size-x",`${o}px`),e.current.style.setProperty("--cmpui-size-y",`${i}px`),r.color&&e.current.style.setProperty("--cmpui-color",r.color))}),l.jsx("div",{className:p("cmpui_grid__root",a),ref:e,...r})}c.__docgenInfo={description:"",methods:[],displayName:"Grid",props:{offsetX:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},offsetY:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},sizeX:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"50",computed:!1}},sizeY:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"50",computed:!1}},color:{required:!1,tsType:{name:"string"},description:""}}};export{c as G}; diff --git a/assets/index-hC_OXdTA.js b/assets/index-D9RaxIjz.js similarity index 62% rename from assets/index-hC_OXdTA.js rename to assets/index-D9RaxIjz.js index f69d82e..bd206dd 100644 --- a/assets/index-hC_OXdTA.js +++ b/assets/index-D9RaxIjz.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime-DtaoT6pD.js";import{r as a}from"./index-OjgoNOWw.js";import{c as m}from"./classNames-pTwYsIK_.js";const e=a.forwardRef(function({className:o,...t},r){return s.jsx("div",{className:m("cmpui_float-box__root",o),ref:r,...t})});e.__docgenInfo={description:"",methods:[],displayName:"FloatBox"};export{e as F}; +import{j as s}from"./jsx-runtime-DvLKfCe6.js";import{r as a}from"./index-aXz8NaAs.js";import{c as m}from"./classNames-pTwYsIK_.js";const e=a.forwardRef(function({className:o,...t},r){return s.jsx("div",{className:m("cmpui_float-box__root",o),ref:r,...t})});e.__docgenInfo={description:"",methods:[],displayName:"FloatBox"};export{e as F}; diff --git a/assets/index-pSLMz4T_.js b/assets/index-DbrhxBeW.js similarity index 96% rename from assets/index-pSLMz4T_.js rename to assets/index-DbrhxBeW.js index 8bc585c..8e5b6c3 100644 --- a/assets/index-pSLMz4T_.js +++ b/assets/index-DbrhxBeW.js @@ -1 +1 @@ -import{j as u}from"./jsx-runtime-DtaoT6pD.js";import{r as d}from"./index-OjgoNOWw.js";import{c as h}from"./createDragHandler-nJMxlNVC.js";import{c as f}from"./clamp-xqaTU5Qn.js";function D({min:i=0,max:l=1,step:m=.01,...e}){const s=d.useRef(null),c=l-i,y=d.useMemo(()=>t=>{let n=0;if(t.key==="ArrowLeft"||t.key==="ArrowDown"?n=-1:(t.key==="ArrowRight"||t.key==="ArrowUp")&&(n=1),e.orientation==="vertical"&&(n*=-1),n!==0){const a=m*n,o=f(e.value+a,i,l);e.onChange(o),t.preventDefault()}},[e.onChange,e.orientation,e.value,m,i,l]),w=d.useMemo(()=>h({onDown:t=>{t.stopPropagation();const n=t.currentTarget.getBoundingClientRect(),a=t.clientX-n.left,o=t.clientY-n.top;return{offsetX:a,offsetY:o,startX:t.clientX,startY:t.clientY,value:e.value}},onMove:(t,n)=>{if(!n)return;const a=t.clientX-n.startX,o=t.clientY-n.startY;if(!s.current)return;const g=s.current.getBoundingClientRect();let v;e.orientation==="vertical"?v=n.value+o/g.height*c:v=n.value+a/g.width*c,e.onChange(f(v,i,l))}}),[e.onChange,e.orientation,i,l,c,e.value]),b=d.useMemo(()=>h({onDown:t=>{const n=t.currentTarget.getBoundingClientRect(),a=(t.clientX-n.left)/n.width*c+i;return e.onChange(f(a,i,l)),{startX:t.clientX,startY:t.clientY}},onMove:(t,n)=>{if(!n||!s.current)return;const a=s.current.getBoundingClientRect();let o;e.orientation==="vertical"?o=(t.clientY-a.top)/a.height*c+i:o=(t.clientX-a.left)/a.width*c+i,e.onChange(f(o,i,l))}}),[e.onChange,e.orientation,i,l,c]),r=(e.value-i)/c*100,_=d.useMemo(()=>({width:e.orientation==="vertical"?"100%":`${e.direction==="rtl"?100-r:r}%`,height:e.orientation==="vertical"?`${e.direction==="rtl"?100-r:r}%`:"100%",top:e.orientation==="vertical"&&e.direction==="rtl"?`${r}%`:""}),[e.orientation,e.direction,r]),C=d.useMemo(()=>({left:e.orientation==="vertical"?"":`calc(${r}% - 8px)`,top:e.orientation==="vertical"?`calc(${r}% - 8px)`:""}),[e.orientation,r]);return u.jsx(u.Fragment,{children:u.jsxs("div",{ref:s,onPointerDown:b,className:"cmpui_slider__root","data-orientation":e.orientation,dir:e.direction,"aria-disabled":e.disabled,children:[u.jsx("div",{className:"cmpui_slider__track","data-orientation":e.orientation,children:u.jsx("div",{"data-orientation":e.orientation,className:"cmpui_slider__range",style:_})}),u.jsx("div",{tabIndex:0,onKeyDown:y,"data-orientation":e.orientation,onPointerDown:w,className:"cmpui_slider__nob","aria-label":"Volume",style:C})]})})}D.__docgenInfo={description:"",methods:[],displayName:"Slider",props:{value:{required:!0,tsType:{name:"number"},description:""},min:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},max:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"1",computed:!1}},step:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0.01",computed:!1}},disabled:{required:!1,tsType:{name:"boolean"},description:""},orientation:{required:!1,tsType:{name:"union",raw:'"horizontal" | "vertical"',elements:[{name:"literal",value:'"horizontal"'},{name:"literal",value:'"vertical"'}]},description:""},direction:{required:!1,tsType:{name:"union",raw:'"ltr" | "rtl"',elements:[{name:"literal",value:'"ltr"'},{name:"literal",value:'"rtl"'}]},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(value: number) => void",signature:{arguments:[{type:{name:"number"},name:"value"}],return:{name:"void"}}},description:""}}};export{D as S}; +import{j as u}from"./jsx-runtime-DvLKfCe6.js";import{r as d}from"./index-aXz8NaAs.js";import{c as h}from"./createDragHandler-nJMxlNVC.js";import{c as f}from"./clamp-xqaTU5Qn.js";function D({min:i=0,max:l=1,step:m=.01,...e}){const s=d.useRef(null),c=l-i,y=d.useMemo(()=>t=>{let n=0;if(t.key==="ArrowLeft"||t.key==="ArrowDown"?n=-1:(t.key==="ArrowRight"||t.key==="ArrowUp")&&(n=1),e.orientation==="vertical"&&(n*=-1),n!==0){const a=m*n,o=f(e.value+a,i,l);e.onChange(o),t.preventDefault()}},[e.onChange,e.orientation,e.value,m,i,l]),w=d.useMemo(()=>h({onDown:t=>{t.stopPropagation();const n=t.currentTarget.getBoundingClientRect(),a=t.clientX-n.left,o=t.clientY-n.top;return{offsetX:a,offsetY:o,startX:t.clientX,startY:t.clientY,value:e.value}},onMove:(t,n)=>{if(!n)return;const a=t.clientX-n.startX,o=t.clientY-n.startY;if(!s.current)return;const g=s.current.getBoundingClientRect();let v;e.orientation==="vertical"?v=n.value+o/g.height*c:v=n.value+a/g.width*c,e.onChange(f(v,i,l))}}),[e.onChange,e.orientation,i,l,c,e.value]),b=d.useMemo(()=>h({onDown:t=>{const n=t.currentTarget.getBoundingClientRect(),a=(t.clientX-n.left)/n.width*c+i;return e.onChange(f(a,i,l)),{startX:t.clientX,startY:t.clientY}},onMove:(t,n)=>{if(!n||!s.current)return;const a=s.current.getBoundingClientRect();let o;e.orientation==="vertical"?o=(t.clientY-a.top)/a.height*c+i:o=(t.clientX-a.left)/a.width*c+i,e.onChange(f(o,i,l))}}),[e.onChange,e.orientation,i,l,c]),r=(e.value-i)/c*100,_=d.useMemo(()=>({width:e.orientation==="vertical"?"100%":`${e.direction==="rtl"?100-r:r}%`,height:e.orientation==="vertical"?`${e.direction==="rtl"?100-r:r}%`:"100%",top:e.orientation==="vertical"&&e.direction==="rtl"?`${r}%`:""}),[e.orientation,e.direction,r]),C=d.useMemo(()=>({left:e.orientation==="vertical"?"":`calc(${r}% - 8px)`,top:e.orientation==="vertical"?`calc(${r}% - 8px)`:""}),[e.orientation,r]);return u.jsx(u.Fragment,{children:u.jsxs("div",{ref:s,onPointerDown:b,className:"cmpui_slider__root","data-orientation":e.orientation,dir:e.direction,"aria-disabled":e.disabled,children:[u.jsx("div",{className:"cmpui_slider__track","data-orientation":e.orientation,children:u.jsx("div",{"data-orientation":e.orientation,className:"cmpui_slider__range",style:_})}),u.jsx("div",{tabIndex:0,onKeyDown:y,"data-orientation":e.orientation,onPointerDown:w,className:"cmpui_slider__nob","aria-label":"Volume",style:C})]})})}D.__docgenInfo={description:"",methods:[],displayName:"Slider",props:{value:{required:!0,tsType:{name:"number"},description:""},min:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},max:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"1",computed:!1}},step:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0.01",computed:!1}},disabled:{required:!1,tsType:{name:"boolean"},description:""},orientation:{required:!1,tsType:{name:"union",raw:'"horizontal" | "vertical"',elements:[{name:"literal",value:'"horizontal"'},{name:"literal",value:'"vertical"'}]},description:""},direction:{required:!1,tsType:{name:"union",raw:'"ltr" | "rtl"',elements:[{name:"literal",value:'"ltr"'},{name:"literal",value:'"rtl"'}]},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(value: number) => void",signature:{arguments:[{type:{name:"number"},name:"value"}],return:{name:"void"}}},description:""}}};export{D as S}; diff --git a/assets/index-Eok78svH.js b/assets/index-Eok78svH.js deleted file mode 100644 index 73b3a2b..0000000 --- a/assets/index-Eok78svH.js +++ /dev/null @@ -1 +0,0 @@ -import{r as l}from"./index-OjgoNOWw.js";function a(){return a=Object.assign?Object.assign.bind():function(e){for(var r=1;re.forEach(n=>p(n,r))}function y(...e){return l.useCallback(d(...e),e)}const $=l.forwardRef((e,r)=>{const{children:n,...t}=e,c=l.Children.toArray(n),o=c.find(h);if(o){const i=o.props.children,s=c.map(u=>u===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:u);return l.createElement(f,a({},t,{ref:r}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(f,a({},t,{ref:r}),n)});$.displayName="Slot";const f=l.forwardRef((e,r)=>{const{children:n,...t}=e;return l.isValidElement(n)?l.cloneElement(n,{...b(t,n.props),ref:r?d(r,n.ref):n.ref}):l.Children.count(n)>1?l.Children.only(null):null});f.displayName="SlotClone";const m=({children:e})=>l.createElement(l.Fragment,null,e);function h(e){return l.isValidElement(e)&&e.type===m}function b(e,r){const n={...r};for(const t in r){const c=e[t],o=r[t];/^on[A-Z]/.test(t)?c&&o?n[t]=(...s)=>{o(...s),c(...s)}:c&&(n[t]=c):t==="style"?n[t]={...c,...o}:t==="className"&&(n[t]=[c,o].filter(Boolean).join(" "))}return{...e,...n}}export{y as $,a as _,$ as a,d as b,m as c}; diff --git a/assets/index-F4RL_6mv.js b/assets/index-F4RL_6mv.js deleted file mode 100644 index 32739cd..0000000 --- a/assets/index-F4RL_6mv.js +++ /dev/null @@ -1 +0,0 @@ -import{R as t}from"./index-OjgoNOWw.js";import{$ as T}from"./index-wq2dZbDE.js";import{$ as p,a as u}from"./index-Eok78svH.js";function v(s){const a=s+"CollectionProvider",[C,R]=T(a),[$,f]=C(a,{collectionRef:{current:null},itemMap:new Map}),M=r=>{const{scope:e,children:l}=r,o=t.useRef(null),c=t.useRef(new Map).current;return t.createElement($,{scope:e,itemMap:c,collectionRef:o},l)},x=s+"CollectionSlot",I=t.forwardRef((r,e)=>{const{scope:l,children:o}=r,c=f(x,l),n=p(e,c.collectionRef);return t.createElement(u,{ref:n},o)}),E=s+"CollectionItemSlot",d="data-radix-collection-item",S=t.forwardRef((r,e)=>{const{scope:l,children:o,...c}=r,n=t.useRef(null),m=p(e,n),i=f(E,l);return t.useEffect(()=>(i.itemMap.set(n,{ref:n,...c}),()=>void i.itemMap.delete(n))),t.createElement(u,{[d]:"",ref:m},o)});function A(r){const e=f(s+"CollectionConsumer",r);return t.useCallback(()=>{const o=e.collectionRef.current;if(!o)return[];const c=Array.from(o.querySelectorAll(`[${d}]`));return Array.from(e.itemMap.values()).sort((i,b)=>c.indexOf(i.ref.current)-c.indexOf(b.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:M,Slot:I,ItemSlot:S},A,R]}export{v as $}; diff --git a/assets/index-Jk8GCfJX.js b/assets/index-Jk8GCfJX.js new file mode 100644 index 0000000..79500ae --- /dev/null +++ b/assets/index-Jk8GCfJX.js @@ -0,0 +1,579 @@ +var wD=Object.defineProperty;var ED=(e,t,r)=>t in e?wD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var yr=(e,t,r)=>(ED(e,typeof t!="symbol"?t+"":t,r),r);import{_ as d3}from"./iframe-_XbHwtE8.js";import{r as l,R as y,g as xs}from"./index-aXz8NaAs.js";import{w as p3,r as ip}from"./index-n3prD_Ok.js";import{O as f3,P as xD}from"./index-4FLvW62B.js";import{_ as Cs}from"./extends-dGVwEr9R.js";import{_ as fr,h as h3,i as xa,j as lp,d as hr,a as Ds,c as vn,k as CD,l as DD,b as m3,e as Qh,s as Ou}from"./index-CR2EVKgk.js";import{d as SD}from"./index-PPLHz8o0.js";var AD=Object.create,g3=Object.defineProperty,kD=Object.getOwnPropertyDescriptor,v3=Object.getOwnPropertyNames,_D=Object.getPrototypeOf,FD=Object.prototype.hasOwnProperty,Ca=(e,t)=>function(){return t||(0,e[v3(e)[0]])((t={exports:{}}).exports,t),t.exports},ID=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of v3(t))!FD.call(e,a)&&a!==r&&g3(e,a,{get:()=>t[a],enumerable:!(n=kD(t,a))||n.enumerable});return e},TD=(e,t,r)=>(r=e!=null?AD(_D(e)):{},ID(t||!e||!e.__esModule?g3(r,"default",{value:e,enumerable:!0}):r,e)),Ct=e=>`control-${e.replace(/\s+/g,"-")}`,Ss=e=>`set-${e.replace(/\s+/g,"-")}`,RD=Object.create,sp=Object.defineProperty,BD=Object.getOwnPropertyDescriptor,zD=Object.getOwnPropertyNames,$D=Object.getPrototypeOf,LD=Object.prototype.hasOwnProperty,I=(e,t)=>sp(e,"name",{value:t,configurable:!0}),_i=(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')}),As=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),OD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of zD(t))!LD.call(e,a)&&a!==r&&sp(e,a,{get:()=>t[a],enumerable:!(n=BD(t,a))||n.enumerable});return e},up=(e,t,r)=>(r=e!=null?RD($D(e)):{},OD(t||!e||!e.__esModule?sp(r,"default",{value:e,enumerable:!0}):r,e)),MD=As(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,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,m=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,b=t?Symbol.for("react.block"):60121,C=t?Symbol.for("react.fundamental"):60117,w=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function E(P){return typeof P=="string"||typeof P=="function"||P===a||P===p||P===i||P===o||P===m||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===v||P.$$typeof===s||P.$$typeof===u||P.$$typeof===h||P.$$typeof===C||P.$$typeof===w||P.$$typeof===x||P.$$typeof===b)}I(E,"isValidElementType");function D(P){if(typeof P=="object"&&P!==null){var ut=P.$$typeof;switch(ut){case r:var kt=P.type;switch(kt){case d:case p:case a:case i:case o:case m:return kt;default:var Hr=kt&&kt.$$typeof;switch(Hr){case u:case h:case g:case v:case s:return Hr;default:return ut}}case n:return ut}}}I(D,"typeOf");var S=d,A=p,k=u,F=s,T=r,R=h,$=a,z=g,O=v,L=n,M=i,j=o,G=m,H=!1;function K(P){return H||(H=!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.")),te(P)||D(P)===d}I(K,"isAsyncMode");function te(P){return D(P)===p}I(te,"isConcurrentMode");function le(P){return D(P)===u}I(le,"isContextConsumer");function Q(P){return D(P)===s}I(Q,"isContextProvider");function re(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}I(re,"isElement");function N(P){return D(P)===h}I(N,"isForwardRef");function Y(P){return D(P)===a}I(Y,"isFragment");function J(P){return D(P)===g}I(J,"isLazy");function pe(P){return D(P)===v}I(pe,"isMemo");function Se(P){return D(P)===n}I(Se,"isPortal");function At(P){return D(P)===i}I(At,"isProfiler");function Ue(P){return D(P)===o}I(Ue,"isStrictMode");function st(P){return D(P)===m}I(st,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=A,e.ContextConsumer=k,e.ContextProvider=F,e.Element=T,e.ForwardRef=R,e.Fragment=$,e.Lazy=z,e.Memo=O,e.Portal=L,e.Profiler=M,e.StrictMode=j,e.Suspense=G,e.isAsyncMode=K,e.isConcurrentMode=te,e.isContextConsumer=le,e.isContextProvider=Q,e.isElement=re,e.isForwardRef=N,e.isFragment=Y,e.isLazy=J,e.isMemo=pe,e.isPortal=Se,e.isProfiler=At,e.isStrictMode=Ue,e.isSuspense=st,e.isValidElementType=E,e.typeOf=D})()}),PD=As((e,t)=>{t.exports=MD()}),y3=As((e,t)=>{var r=PD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function u(b){return r.isMemo(b)?i:s[b.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(b,C,w){if(typeof C!="string"){if(v){var x=f(C);x&&x!==v&&g(b,x,w)}var E=p(C);h&&(E=E.concat(h(C)));for(var D=u(b),S=u(C),A=0;A{(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 I(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof _i=="function"&&_i;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}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}I(i,"s");for(var s=typeof _i=="function"&&_i,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].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 u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}I(s,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?be(Da,--je):0,aa--,de===10&&(aa=1,Fs--),de}I(k3,"prev");function Pe(){return de=je2||oa(de)>3?"":" "}I(_3,"whitespace");function F3(e,t){for(;--t&&Pe()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return Sa(e,xo()+(t<6&&vt()==32&&Pe()==32))}I(F3,"escaping");function Fl(e){for(;Pe();)switch(de){case e:return je;case 34:case 39:e!==34&&e!==39&&Fl(de);break;case 40:e===41&&Fl(e);break;case 92:Pe();break}return je}I(Fl,"delimiter");function I3(e,t){for(;Pe()&&e+de!==57&&!(e+de===84&&vt()===47););return"/*"+Sa(t,je-1)+"*"+ks(e===47?e:Pe())}I(I3,"commenter");function T3(e){for(;!oa(vt());)Pe();return Sa(e,je)}I(T3,"identifier");function R3(e){return vp(Do("",null,null,null,[""],e=gp(e),0,[0],e))}I(R3,"compile");function Do(e,t,r,n,a,o,i,s,u){for(var d=0,p=0,h=i,m=0,f=0,v=0,g=1,b=1,C=1,w=0,x="",E=a,D=o,S=n,A=x;b;)switch(v=w,w=Pe()){case 40:if(v!=108&&be(A,h-1)==58){_l(A+=X(Co(w),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:A+=Co(w);break;case 9:case 10:case 13:case 32:A+=_3(v);break;case 92:A+=F3(xo()-1,7);continue;case 47:switch(vt()){case 42:case 47:co(B3(I3(Pe(),xo()),t,r),u);break;default:A+="/"}break;case 123*g:s[d++]=ft(A)*C;case 125*g:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+p:C==-1&&(A=X(A,/\f/g,"")),f>0&&ft(A)-h&&co(f>32?cd(A+";",n,r,h-1):cd(X(A," ","")+";",n,r,h-2),u);break;case 59:A+=";";default:if(co(S=ud(A,t,r,d,p,a,s,x,E=[],D=[],h),o),w===123)if(p===0)Do(A,t,S,S,E,o,h,s,D);else switch(m===99&&be(A,3)===110?100:m){case 100:case 108:case 109:case 115:Do(e,S,S,n&&co(ud(e,S,S,0,0,a,s,x,a,E=[],h),D),a,D,h,s,n?E:D);break;default:Do(A,S,S,S,[""],D,0,s,D)}}d=p=f=0,g=C=1,x=A="",h=i;break;case 58:h=1+ft(A),f=v;default:if(g<1){if(w==123)--g;else if(w==125&&g++==0&&k3()==125)continue}switch(A+=ks(w),w*g){case 38:C=p>0?1:(A+="\f",-1);break;case 44:s[d++]=(ft(A)-1)*C,C=1;break;case 64:vt()===45&&(A+=Co(Pe())),m=vt(),p=h=ft(x=A+=T3(xo())),w++;break;case 45:v===45&&ft(A)==2&&(g=0)}}return o}I(Do,"parse");function ud(e,t,r,n,a,o,i,s,u,d,p){for(var h=a-1,m=a===0?o:[""],f=_s(m),v=0,g=0,b=0;v0?m[C]+" "+w:X(w,/&\f/g,m[C])))&&(u[b++]=x);return Zo(e,t,r,a===0?fp:s,u,d,p)}I(ud,"ruleset");function B3(e,t,r){return Zo(e,t,r,pp,ks(A3()),na(e,2,-2),0)}I(B3,"comment");function cd(e,t,r,n){return Zo(e,t,r,hp,na(e,0,n),na(e,n+1,-1),n)}I(cd,"declaration");function ln(e,t){for(var r="",n=_s(e),a=0;a-1},"isIgnoringComment"),eS=I(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 u=i[s];if(u.line=0;r--)if(!L3(t[r]))return!0;return!1},"isPrependedWithRegularRules"),rm=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),rS=I(function(e,t,r){L3(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."),rm(e)):tS(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),rm(e)))},"incorrectImportAlarm");function yp(e,t){switch(x3(e,t)){case 5103:return ee+"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 ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+kl+e+Fe+e+e;case 6828:case 4268:return ee+e+Fe+e+e;case 6165:return ee+e+Fe+"flex-"+e+e;case 5187:return ee+e+X(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return ee+e+Fe+"flex-item-"+X(e,/flex-|-self/,"")+e;case 4675:return ee+e+Fe+"flex-line-pack"+X(e,/align-content|flex-|-self/,"")+e;case 5548:return ee+e+Fe+X(e,"shrink","negative")+e;case 5292:return ee+e+Fe+X(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+X(e,"-grow","")+ee+e+Fe+X(e,"grow","positive")+e;case 4554:return ee+X(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,ee+"$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(ft(e)-1-t>6)switch(be(e,t+1)){case 109:if(be(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+kl+(be(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_l(e,"stretch")?yp(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(be(e,t+1)!==115)break;case 6444:switch(be(e,ft(e)-3-(~_l(e,"!important")&&10))){case 107:return X(e,":",":"+ee)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(be(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(be(e,t+11)){case 114:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+Fe+e+e}return e}I(yp,"prefix");var nS=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case hp:e.return=yp(e.value,e.length);break;case E3:return ln([Nn(e,{value:X(e.value,"@","@"+ee)})],n);case fp:if(e.length)return D3(e.props,function(a){switch(C3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ln([Nn(e,{props:[X(a,/:(read-\w+)/,":"+kl+"$1")]})],n);case"::placeholder":return ln([Nn(e,{props:[X(a,/:(plac\w+)/,":"+ee+"input-$1")]}),Nn(e,{props:[X(a,/:(plac\w+)/,":"+kl+"$1")]}),Nn(e,{props:[X(a,/:(plac\w+)/,Fe+"input-$1")]})],n)}return""})}},"prefixer"),aS=[nS],oS=I(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||aS;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(" "),b=1;b=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)}I(O3,"murmur2");var uS={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},nm=`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`,cS="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",dS=/[A-Z]|^ms/g,M3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,bp=I(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),am=I(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Mu=cp(function(e){return bp(e)?e:e.replace(dS,"-$&").toLowerCase()}),Il=I(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(M3,function(r,n,a){return Ot={name:n,styles:a,next:Ot},n})}return uS[e]!==1&&!bp(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");om=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,im=["normal","none","initial","inherit","unset"],lm=Il,sm=/^-ms-/,um=/-(.)/g,Pu={},Il=I(function(e,t){if(e==="content"&&(typeof t!="string"||im.indexOf(t)===-1&&!om.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=lm(e,t);return r!==""&&!bp(e)&&e.indexOf("-")!==-1&&Pu[e]===void 0&&(Pu[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(sm,"ms-").replace(um,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var om,im,lm,sm,um,Pu,P3="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ia(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(P3);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Ot={name:r.name,styles:r.styles,next:Ot},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Ot={name:n.name,styles:n.styles,next:Ot},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return N3(e,t,r)}case"function":{if(e!==void 0){var o=Ot,i=r(e);return Ot=o,ia(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=[],u=r.replace(M3,function(p,h,m){var f="animation"+s.length;return s.push("const "+f+" = keyframes`"+m.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,["`"+u+"`"]).join(` +`)+` + +You should wrap it with \`css\` like this: + +`+("css`"+u+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}I(ia,"handleInterpolation");function N3(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 qt({},e,t)},"getTheme"),mS=em(function(e){return em(function(t){return hS(e,t)})}),U3=I(function(e){var t=l.useContext(cr);return e.theme!==t&&(t=mS(t)(e.theme)),l.createElement(cr.Provider,{value:t},e.children)},"ThemeProvider");function gS(e){var t=e.displayName||e.name||"Component",r=I(function(a,o){var i=l.useContext(cr);return l.createElement(e,qt({theme:i,ref:o},a))},"render"),n=l.forwardRef(r);return n.displayName="WithTheme("+t+")",lS(n,e)}I(gS,"withTheme");var pm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",fm="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",vS=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ts(t,r,n),wp(function(){return Rs(t,r,n)}),null},"Insertion"),yS=Bs(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[pm],o=[n],i="";typeof e.className=="string"?i=Is(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=la(o,void 0,l.useContext(cr));if(s.name.indexOf("-")===-1){var u=e[fm];u&&(s=la([s,"label:"+u+";"]))}i+=t.key+"-"+s.name;var d={};for(var p in e)fS.call(e,p)&&p!=="css"&&p!==pm&&p!==fm&&(d[p]=e[p]);return d.ref=r,d.className=i,l.createElement(l.Fragment,null,l.createElement(vS,{cache:t,serialized:s,isStringTag:typeof a=="string"}),l.createElement(a,d))});yS.displayName="EmotionCssPropInternal";up(y3());var bS={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"}}}}},hm=!1,wS=Bs(function(e,t){!hm&&(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?"),hm=!0);var r=e.styles,n=la([r],void 0,l.useContext(cr)),a=l.useRef();return dm(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,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,s],function(){i.flush()}},[t]),dm(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Rs(t,n.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});wS.displayName="EmotionGlobal";function zs(){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 q3(e,t,r){var n=[],a=Is(e,n,r);return n.length<2?r:a+t(n)}I(q3,"merge");var xS=I(function(e){var t=e.cache,r=e.serializedArr;return wp(function(){for(var n=0;n96?DS:SS},"getDefaultShouldForwardProp"),vm=I(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"),ym=`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`,AS=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ts(t,r,n),wp(function(){return Rs(t,r,n)}),null},"Insertion"),kS=I(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=vm(t,r,n),u=s||gm(a),d=!u("as");return function(){var p=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)h.push.apply(h,p);else{p[0][0]===void 0&&console.error(ym),h.push(p[0][0]);for(var m=p.length,f=1;f1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}I(ua,"hslToRgb");var bm={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 X3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return bm[t]?"#"+bm[t]:e}I(X3,"nameToHex");var IS=/^#[a-fA-F0-9]{6}$/,TS=/^#[a-fA-F0-9]{8}$/,RS=/^#[a-fA-F0-9]{3}$/,BS=/^#[a-fA-F0-9]{4}$/,Vu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,zS=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,$S=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,LS=/^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 Xo(e){if(typeof e!="string")throw new Pt(3);var t=X3(e);if(t.match(IS))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(TS)){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(RS))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(BS)){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=Vu.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=zS.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=$S.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+ua(s,u,d)+")",h=Vu.exec(p);if(!h)throw new Pt(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=LS.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,b="rgb("+ua(f,v,g)+")",C=Vu.exec(b);if(!C)throw new Pt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Pt(5)}I(Xo,"parseToRgb");function Q3(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,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?Ro(e,t,r):"rgba("+ua(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ro(e.hue,e.saturation,e.lightness):"rgba("+ua(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Pt(2)}I(rb,"hsla");function Bl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return dd("#"+Cr(e)+Cr(t)+Cr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return dd("#"+Cr(e.red)+Cr(e.green)+Cr(e.blue));throw new Pt(6)}I(Bl,"rgb");function ca(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Xo(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?Bl(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?Bl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Pt(7)}I(ca,"rgba");var MS=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),PS=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),NS=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),HS=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Dp(e){if(typeof e!="object")throw new Pt(8);if(PS(e))return ca(e);if(MS(e))return Bl(e);if(HS(e))return rb(e);if(NS(e))return tb(e);throw new Pt(8)}I(Dp,"toColorString");function Sp(e,t,r){return I(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Sp(e,t,n)},"fn")}I(Sp,"curried");function Qo(e){return Sp(e,e.length,[])}I(Qo,"curry");function ei(e,t,r){return Math.max(e,Math.min(t,r))}I(ei,"guard");function nb(e,t){if(t==="transparent")return t;var r=Cp(t);return Dp(qt({},r,{lightness:ei(0,1,r.lightness-parseFloat(e))}))}I(nb,"darken");var jS=Qo(nb),VS=jS;function ab(e,t){if(t==="transparent")return t;var r=Cp(t);return Dp(qt({},r,{lightness:ei(0,1,r.lightness+parseFloat(e))}))}I(ab,"lighten");var US=Qo(ab),qS=US;function ob(e,t){if(t==="transparent")return t;var r=Xo(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:ei(0,1,(n*100+parseFloat(e)*100)/100)});return ca(a)}I(ob,"opacify");var WS=Qo(ob),GS=WS;function ib(e,t){if(t==="transparent")return t;var r=Xo(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:ei(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ca(a)}I(ib,"transparentize");var KS=Qo(ib),YS=KS,V={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"},Dr={app:"#F6F9FC",bar:V.lightest,content:V.lightest,preview:V.lightest,gridCellSize:10,hoverable:YS(.9,V.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Nt={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}},lb=up(ND(),1),JS=(0,lb.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,lb.default)(1)(({color:e,background:t,typography:r})=>{let n=JS({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var ZS={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Dr.app,appContentBg:V.lightest,appPreviewBg:V.lightest,appBorderColor:V.border,appBorderRadius:4,fontBase:Nt.fonts.base,fontCode:Nt.fonts.mono,textColor:V.darkest,textInverseColor:V.lightest,textMutedColor:V.dark,barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:V.lightest,buttonBg:Dr.app,buttonBorder:V.medium,booleanBg:V.mediumlight,booleanSelectedBg:V.lightest,inputBg:V.lightest,inputBorder:V.border,inputTextColor:V.darkest,inputBorderRadius:4},zl=ZS,XS={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:V.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Nt.fonts.base,fontCode:Nt.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:V.lightest,inputBorderRadius:4},QS=XS,eA=(()=>{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:tA}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Uu}=eA,rA=I(e=>({color:e}),"mkColor"),nA=I(e=>typeof e!="string"?(tA.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),aA=I(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),oA=I((e,t)=>e==="darken"?ca(`${VS(1,t)}`,.95):e==="lighten"?ca(`${qS(1,t)}`,.95):t,"applyPolished"),sb=I(e=>t=>{if(!nA(t)||!aA(t))return t;try{return oA(e,t)}catch{return t}},"colorFactory"),qa=sb("lighten");sb("darken");var ub=I(()=>!Uu||!Uu.matchMedia?"light":Uu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),pd={light:zl,dark:QS,normal:zl};ub();var iA={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},lA=mr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,cb=mr` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,sA=mr` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,uA=mr` + 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); } +`,cA=zs` + animation: ${cb} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,dA=zs` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,pA={rotate360:lA,glow:cb,float:sA,jiggle:uA,inlineGlow:cA,hoverable:dA},fA={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"},hA={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"},mA=I(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:rA(n)}),{}),"convertColors"),gA=I(({colors:e,mono:t})=>{let r=mA(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"),vA={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},yA={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},bA=I(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:V.tertiary,ancillary:V.ancillary,orange:V.orange,gold:V.gold,green:V.green,seafoam:V.seafoam,purple:V.purple,ultraviolet:V.ultraviolet,lightest:V.lightest,lighter:V.lighter,light:V.light,mediumlight:V.mediumlight,medium:V.medium,mediumdark:V.mediumdark,dark:V.dark,darker:V.darker,darkest:V.darkest,border:V.border,positive:V.positive,negative:V.negative,warning:V.warning,critical:V.critical,defaultText:e.textColor||V.darkest,inverseText:e.textInverseColor||V.lightest,positiveText:V.positiveText,negativeText:V.negativeText,warningText:V.warningText}),"createColors"),fd=I((e=pd[ub()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:u,fontBase:d,fontCode:p,textColor:h,textInverseColor:m,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:b,buttonBg:C,buttonBorder:w,booleanBg:x,booleanSelectedBg:E,inputBg:D,inputBorder:S,inputTextColor:A,inputBorderRadius:k,brandTitle:F,brandUrl:T,brandImage:R,brandTarget:$,gridCellSize:z,...O}=e;return{...O,base:t,color:bA(e),background:{app:a,bar:b,content:o,preview:i,gridCellSize:z||Dr.gridCellSize,hoverable:Dr.hoverable,positive:Dr.positive,negative:Dr.negative,warning:Dr.warning,critical:Dr.critical},typography:{fonts:{base:d,mono:p},weight:Nt.weight,size:Nt.size},animation:pA,easing:iA,input:{background:D,border:S,borderRadius:k,color:A},button:{background:C||D,border:w||S},boolean:{background:x||S,selectedBackground:E||D},layoutMargin:10,appBorderColor:s,appBorderRadius:u,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:b,brand:{title:F,url:T,image:R||(F?null:void 0),target:$},code:gA({colors:t==="light"?vA:yA,mono:p}),addonActionsTheme:{...t==="light"?hA:fA,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Nt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:h,ARROW_COLOR:GS(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Nt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:wA}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var EA=I(e=>Object.keys(e).length===0,"isEmpty"),qu=I(e=>e!=null&&typeof e=="object","isObject"),xA=I((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),CA=I(()=>Object.create(null),"makeObjectWithoutPrototype"),db=I((e,t)=>e===t||!qu(e)||!qu(t)?{}:Object.keys(e).reduce((r,n)=>{if(xA(t,n)){let a=db(e[n],t[n]);return qu(a)&&EA(a)||(r[n]=a),r}return r[n]=void 0,r},CA()),"deletedDiff"),DA=db;function pb(e){for(var t=[],r=1;r{if(!e)return fd(zl);let t=DA(zl,e);return Object.keys(t).length&&wA.warn(pb` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),fd(e)},"ensure"),hd="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",AA=Object.create,ti=Object.defineProperty,kA=Object.getOwnPropertyDescriptor,_A=Object.getOwnPropertyNames,FA=Object.getPrototypeOf,IA=Object.prototype.hasOwnProperty,TA=(e,t,r)=>t in e?ti(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>ti(e,"name",{value:t,configurable:!0}),Fi=(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')}),B=(e,t)=>()=>(e&&(t=e(e=0)),t),q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Aa=(e,t)=>{for(var r in t)ti(e,r,{get:t[r],enumerable:!0})},RA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of _A(t))!IA.call(e,a)&&a!==r&&ti(e,a,{get:()=>t[a],enumerable:!(n=kA(t,a))||n.enumerable});return e},De=(e,t,r)=>(r=e!=null?AA(FA(e)):{},RA(t||!e||!e.__esModule?ti(r,"default",{value:e,enumerable:!0}):r,e)),BA=(e,t,r)=>TA(e,typeof t!="symbol"?t+"":t,r);function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(U,"_extends")});function fb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var zA=B(()=>{c(fb,"_assertThisInitialized")});function da(e,t){return da=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},da(e,t)}var Ap=B(()=>{c(da,"_setPrototypeOf")});function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},$l(e)}var $A=B(()=>{c($l,"_getPrototypeOf")}),$s,kp=B(()=>{$s=(()=>{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})()}),Ls=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 c(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Fi=="function"&&Fi;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}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}c(i,"s");for(var s=typeof Fi=="function"&&Fi,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].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 u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}c(s,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}c(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),hb=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,u=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(m,f){return m=m.replace(//g,function(){return i}).replace(//g,function(){return s}).replace(//g,function(){return u}),RegExp(m,f)}c(d,"re"),u=d(u).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=c(function(m){return m?typeof m=="string"?m:typeof m.content=="string"?m.content:m.content.map(p).join(""):""},"stringifyToken"),h=c(function(m){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--:b=!0),(b||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var C=p(g);v0&&(typeof m[v-1]=="string"||m[v-1].type==="plain-text")&&(C=p(m[v-1])+C,m.splice(v-1,1),v--),m[v]=new a.Token("plain-text",C,null,C)}g.content&&typeof g.content!="string"&&h(g.content)}},"walkTokens");a.hooks.add("after-tokenize",function(m){m.language!=="jsx"&&m.language!=="tsx"||h(m.tokens)})})(n)}c(r,"jsx")}),wm,mb,LA=B(()=>{wm=De(hb()),mb=wm.default}),OA=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 u=["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{Em=De(OA()),gb=Em.default}),vb=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)}c(r,"css")}),xm,yb,PA=B(()=>{xm=De(vb()),yb=xm.default}),NA=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(h,m){return RegExp(h.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),m)}c(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{Cm=De(NA()),bb=Cm.default}),jA=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}c(r,"json")}),Dm,wb,VA=B(()=>{Dm=De(jA()),wb=Dm.default}),UA=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",c(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(w){return typeof w!="string"&&w.type!=="comment"&&w.type!=="scalar"}),i=0;function s(w){return o[i+w]}c(s,"getToken");function u(w,x){x=x||0;for(var E=0;E0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var b=i;b=0&&p(C,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),Sm,Eb,qA=B(()=>{Sm=De(UA()),Eb=Sm.default}),xb=q((e,t)=>{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:c(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 u={};u[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",u)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(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}c(r,"markup")}),Am,Cb,WA=B(()=>{Am=De(xb()),Cb=Am.default}),GA=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+")")}c(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\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("^"+u+d+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+d+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),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(b){if(!(!b||typeof b=="string"))for(var C=0,w=b.length;C",quot:'"'},m=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(b,C){if(C=C.toLowerCase(),C[0]==="#"){var w;return C[1]==="x"?w=parseInt(C.slice(2),16):w=Number(C.slice(1)),m(w)}else{var x=h[C];return x||b}}),g}c(f,"textContent"),a.languages.md=a.languages.markdown})(n)}c(r,"markdown")}),km,Db,KA=B(()=>{km=De(GA()),Db=km.default}),YA=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+")?)",u=/(?:[^\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(h,m){m=(m||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return h});return RegExp(f,m)}c(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"(?:"+u+"|"+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)}c(r,"yaml")}),_m,Sb,JA=B(()=>{_m=De(YA()),Sb=_m.default}),Ab=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)}c(r,"typescript")}),ZA=q((e,t)=>{var r=hb(),n=Ab();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 u=i.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(o)}c(a,"tsx")}),Fm,kb,XA=B(()=>{Fm=De(ZA()),kb=Fm.default}),Im,_b,QA=B(()=>{Im=De(Ab()),_b=Im.default});function Os(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 _p=B(()=>{c(Os,"_objectWithoutPropertiesLoose")});function Fb(e,t){if(e==null)return{};var r,n,a=Os(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 ek=B(()=>{_p(),c(Fb,"_objectWithoutProperties")});function Ll(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{c(Ll,"_arrayLikeToArray")});function Tb(e){if(Array.isArray(e))return Ll(e)}var tk=B(()=>{Ib(),c(Tb,"_arrayWithoutHoles")});function Rb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var rk=B(()=>{c(Rb,"_iterableToArray")});function Bb(e,t){if(e){if(typeof e=="string")return Ll(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)?Ll(e,t):void 0}}var nk=B(()=>{Ib(),c(Bb,"_unsupportedIterableToArray")});function zb(){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 ak=B(()=>{c(zb,"_nonIterableSpread")});function $b(e){return Tb(e)||Rb(e)||Bb(e)||zb()}var ok=B(()=>{tk(),rk(),nk(),ak(),c($b,"_toConsumableArray")});function pa(e){"@babel/helpers - typeof";return pa=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},pa(e)}var Lb=B(()=>{c(pa,"_typeof")});function Ob(e,t){if(pa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(pa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ik=B(()=>{Lb(),c(Ob,"toPrimitive")});function Mb(e){var t=Ob(e,"string");return pa(t)=="symbol"?t:t+""}var lk=B(()=>{Lb(),ik(),c(Mb,"toPropertyKey")});function Fp(e,t,r){return(t=Mb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pb=B(()=>{lk(),c(Fp,"_defineProperty")});function md(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 en(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 Hb(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return ol[t]||(ol[t]=Nb(e)),ol[t]}function jb(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=Hb(n);return a.reduce(function(o,i){return en(en({},o),r[i])},t)}function gd(e){return e.join(" ")}function Vb(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Ms({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Ms(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,u=t.type,d=t.tagName,p=t.value;if(u==="text")return p;if(d){var h=Vb(r,o),m;if(!o)m=en(en({},s),{},{className:gd(s.className)});else{var f=Object.keys(r).reduce(function(C,w){return w.split(".").forEach(function(x){C.includes(x)||C.push(x)}),C},[]),v=s.className&&s.className.includes("token")?["token"]:[],g=s.className&&v.concat(s.className.filter(function(C){return!f.includes(C)}));m=en(en({},s),{},{className:gd(g)||void 0,style:jb(s.className,Object.assign({},s.style,a),r)})}var b=h(t.children);return y.createElement(d,U({key:i},m),b)}}var ol,Ub=B(()=>{Dt(),Pb(),c(md,"ownKeys"),c(en,"_objectSpread"),c(Nb,"powerSetPermutations"),ol={},c(Hb,"getClassNameCombinations"),c(jb,"createStyleObject"),c(gd,"createClassNameString"),c(Vb,"createChildren"),c(Ms,"createElement")}),qb,sk=B(()=>{qb=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function vd(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 ht(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 So({children:D,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:u})}c(v,"createWrappedLine");function g(D,S){if(n&&S&&a){var A=Tp(s,S,i);D.unshift(Ip(S,A))}return D}c(g,"createUnwrappedLine");function b(D,S){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?v(D,S,A):g(D,S)}c(b,"createLine");for(var C=c(function(){var D=p[f],S=D.children[0].value,A=Wb(S);if(A){var k=S.split(` +`);k.forEach(function(F,T){var R=n&&h.length+o,$={type:"text",value:"".concat(F,` +`)};if(T===0){var z=p.slice(m+1,f).concat(So({children:[$],className:D.properties.className})),O=b(z,R);h.push(O)}else if(T===k.length-1){var L=p[f+1]&&p[f+1].children&&p[f+1].children[0],M={type:"text",value:"".concat(F)};if(L){var j=So({children:[M],className:D.properties.className});p.splice(f+1,0,j)}else{var G=[M],H=b(G,R,D.properties.className);h.push(H)}}else{var K=[$],te=b(K,R,D.properties.className);h.push(te)}}),m=f}f++},"_loop");f{ek(),ok(),Pb(),Ub(),sk(),e7=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(vd,"ownKeys"),c(ht,"_objectSpread"),t7=/\n/g,c(Wb,"getNewLines"),c(Gb,"getAllLineNumbers"),c(Kb,"AllLineNumbers"),c(Yb,"getEmWidthOfNumber"),c(Ip,"getInlineLineNumber"),c(Tp,"assembleLineNumberStyles"),c(So,"createLineElement"),c(Rp,"flattenCodeTree"),c(Jb,"processLines"),c(Zb,"defaultRenderer"),c(Bp,"isHighlightJs"),c(Xb,"getCodeTree"),c(Qb,"default")}),ck=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)}c(n,"Schema")}),dk=q((e,t)=>{var r=ck(),n=r7();t.exports=a;function a(o){for(var i=o.length,s=[],u=[],d=-1,p,h;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),n7=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}c(n,"Info")}),$p=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)}c(r,"increment")}),a7=q((e,t)=>{var r=n7(),n=$p();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(u,d,p,h){var m=-1,f;for(s(this,"space",h),r.call(this,u,d);++m{var r=zp(),n=r7(),a=a7();t.exports=o;function o(i){var s=i.space,u=i.mustUseProperty||[],d=i.attributes||{},p=i.properties,h=i.transform,m={},f={},v,g;for(v in p)g=new a(v,h(d,v),p[v],s),u.indexOf(v)!==-1&&(g.mustUseProperty=!0),m[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(m,f,s)}c(o,"create")}),pk=q((e,t)=>{var r=ri();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()}c(n,"xlinkTransform")}),fk=q((e,t)=>{var r=ri();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}c(n,"xmlTransform")}),hk=q((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}c(r,"caseSensitiveTransform")}),o7=q((e,t)=>{var r=hk();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}c(n,"caseInsensitiveTransform")}),mk=q((e,t)=>{var r=ri(),n=o7();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),gk=q((e,t)=>{var r=$p(),n=ri(),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(u,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(s,"ariaTransform")}),vk=q((e,t)=>{var r=$p(),n=ri(),a=o7(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,u=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:u,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:u|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:u,hidden:o,high:u,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:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,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:u,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:u,rowSpan:u,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:u,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,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:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:u,security:null,unselectable:null}})}),yk=q((e,t)=>{var r=dk(),n=pk(),a=fk(),o=mk(),i=gk(),s=vk();t.exports=r([a,n,o,i,s])}),bk=q((e,t)=>{var r=zp(),n=a7(),a=n7(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,u=/[A-Z]/g;function d(v,g){var b=r(g),C=g,w=a;return b in v.normal?v.property[v.normal[b]]:(b.length>4&&b.slice(0,4)===o&&i.test(g)&&(g.charAt(4)==="-"?C=p(g):g=h(g),w=n),new w(C,g))}c(d,"find");function p(v){var g=v.slice(5).replace(s,f);return o+g.charAt(0).toUpperCase()+g.slice(1)}c(p,"datasetToProperty");function h(v){var g=v.slice(4);return s.test(g)?v:(g=g.replace(u,m),g.charAt(0)!=="-"&&(g="-"+g),o+g)}c(h,"datasetToAttribute");function m(v){return"-"+v.toLowerCase()}c(m,"kebab");function f(v){return v.charAt(1).toUpperCase()}c(f,"camelcase")}),wk=q((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",u={},d=0,p,h,m;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)}c(a,"parse");function o(i){return i.join(r).trim()}c(o,"stringify")}),xk=q(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],u=String(i||n),d=u.indexOf(t),p=0,h=!1,m;!h;)d===-1&&(d=u.length,h=!0),m=u.slice(p,d).trim(),(m||!h)&&s.push(m),p=d+1,d=u.indexOf(t,p);return s}c(a,"parse");function o(i,s){var u=s||{},d=u.padLeft===!1?n:r,p=u.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(p+t+d).trim()}c(o,"stringify")}),Ck=q((e,t)=>{var r=bk(),n=zp(),a=wk(),o=Ek().parse,i=xk().parse;t.exports=u;var s={}.hasOwnProperty;function u(b,C,w){var x=w?g(w):null;return E;function E(S,A){var k=a(S,C),F=Array.prototype.slice.call(arguments,2),T=k.tagName.toLowerCase(),R;if(k.tagName=x&&s.call(x,T)?x[T]:T,A&&d(A,k)&&(F.unshift(A),A=null),A)for(R in A)D(k.properties,R,A[R]);return h(k.children,F),k.tagName==="template"&&(k.content={type:"root",children:k.children},k.children=[]),k}function D(S,A,k){var F,T,R;k==null||k!==k||(F=r(b,A),T=F.property,R=k,typeof R=="string"&&(F.spaceSeparated?R=o(R):F.commaSeparated?R=i(R):F.commaOrSpaceSeparated&&(R=o(i(R).join(" ")))),T==="style"&&typeof k!="string"&&(R=v(R)),T==="className"&&S.className&&(R=S.className.concat(R)),S[T]=m(F,T,R))}}c(u,"factory");function d(b,C){return typeof b=="string"||"length"in b||p(C.tagName,b)}c(d,"isChildren");function p(b,C){var w=C.type;return b==="input"||!w||typeof w!="string"?!1:typeof C.children=="object"&&"length"in C.children?!0:(w=w.toLowerCase(),b==="button"?w!=="menu"&&w!=="submit"&&w!=="reset"&&w!=="button":"value"in C)}c(p,"isNode");function h(b,C){var w,x;if(typeof C=="string"||typeof C=="number"){b.push({type:"text",value:String(C)});return}if(typeof C=="object"&&"length"in C){for(w=-1,x=C.length;++w{var r=yk(),n=Ck(),a=n(r,"div");a.displayName="html",t.exports=a}),Sk=q((e,t)=>{t.exports=Dk()}),Ak=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:"ÿ"}}),kk=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:"Ÿ"}}),i7=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}c(r,"decimal")}),_k=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}c(r,"hexadecimal")}),Fk=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}c(r,"alphabetical")}),Ik=q((e,t)=>{var r=Fk(),n=i7();t.exports=a;function a(o){return r(o)||n(o)}c(a,"alphanumerical")}),Tk=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}c(a,"decodeEntity")}),Rk=q((e,t)=>{var r=Ak(),n=kk(),a=i7(),o=_k(),i=Ik(),s=Tk();t.exports=te;var u={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},m=9,f=10,v=12,g=32,b=38,C=59,w=60,x=61,E=35,D=88,S=120,A=65533,k="named",F="hexadecimal",T="decimal",R={};R[F]=16,R[T]=10;var $={};$[k]=i,$[T]=a,$[F]=o;var z=1,O=2,L=3,M=4,j=5,G=6,H=7,K={};K[z]="Named character references must be terminated by a semicolon",K[O]="Numeric character references must be terminated by a semicolon",K[L]="Named character references cannot be empty",K[M]="Numeric character references cannot be empty",K[j]="Named character references must be known",K[G]="Numeric character references cannot be disallowed",K[H]="Numeric character references cannot be outside the permissible Unicode range";function te(N,Y){var J={},pe,Se;Y||(Y={});for(Se in h)pe=Y[Se],J[Se]=pe??h[Se];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),le(N,J)}c(te,"parseEntities");function le(N,Y){var J=Y.additional,pe=Y.nonTerminated,Se=Y.text,At=Y.reference,Ue=Y.warning,st=Y.textContext,P=Y.referenceContext,ut=Y.warningContext,kt=Y.position,Hr=Y.indent||[],_n=N.length,_t=0,Si=-1,Te=kt.column||1,jr=kt.line||1,Ft="",Fn=[],It,In,Tt,Ae,ct,ge,ce,Rt,Ai,$u,Vr,ja,Ur,er,Yh,Va,ki,Bt,ve;for(typeof J=="string"&&(J=J.charCodeAt(0)),Va=Ua(),Rt=Ue?bD:p,_t--,_n++;++_t<_n;)if(ct===f&&(Te=Hr[Si]||1),ct=N.charCodeAt(_t),ct===b){if(ce=N.charCodeAt(_t+1),ce===m||ce===f||ce===v||ce===g||ce===b||ce===w||ce!==ce||J&&ce===J){Ft+=d(ct),Te++;continue}for(Ur=_t+1,ja=Ur,ve=Ur,ce===E?(ve=++ja,ce=N.charCodeAt(ve),ce===D||ce===S?(er=F,ve=++ja):er=T):er=k,It="",Vr="",Ae="",Yh=$[er],ve--;++ve<_n&&(ce=N.charCodeAt(ve),!!Yh(ce));)Ae+=d(ce),er===k&&u.call(r,Ae)&&(It=Ae,Vr=r[Ae]);Tt=N.charCodeAt(ve)===C,Tt&&(ve++,In=er===k?s(Ae):!1,In&&(It=Ae,Vr=In)),Bt=1+ve-Ur,!Tt&&!pe||(Ae?er===k?(Tt&&!Vr?Rt(j,1):(It!==Ae&&(ve=ja+It.length,Bt=1+ve-ja,Tt=!1),Tt||(Ai=It?z:L,Y.attribute?(ce=N.charCodeAt(ve),ce===x?(Rt(Ai,Bt),Vr=null):i(ce)?Vr=null:Rt(Ai,Bt)):Rt(Ai,Bt))),ge=Vr):(Tt||Rt(O,Bt),ge=parseInt(Ae,R[er]),Q(ge)?(Rt(H,Bt),ge=d(A)):ge in n?(Rt(G,Bt),ge=n[ge]):($u="",re(ge)&&Rt(G,Bt),ge>65535&&(ge-=65536,$u+=d(ge>>>10|55296),ge=56320|ge&1023),ge=$u+d(ge))):er!==k&&Rt(M,Bt)),ge?(Jh(),Va=Ua(),_t=ve-1,Te+=ve-Ur+1,Fn.push(ge),ki=Ua(),ki.offset++,At&&At.call(P,ge,{start:Va,end:ki},N.slice(Ur-1,ve)),Va=ki):(Ae=N.slice(Ur-1,ve),Ft+=Ae,Te+=Ae.length,_t=ve-1)}else ct===10&&(jr++,Si++,Te=0),ct===ct?(Ft+=d(ct),Te++):Jh();return Fn.join("");function Ua(){return{line:jr,column:Te,offset:_t+(kt.offset||0)}}function bD(Zh,Xh){var Lu=Ua();Lu.column+=Xh,Lu.offset+=Xh,Ue.call(ut,K[Zh],Lu,Zh)}function Jh(){Ft&&(Fn.push(Ft),Se&&Se.call(st,Ft,{start:Va,end:Ua()}),Ft="")}}c(le,"parse");function Q(N){return N>=55296&&N<=57343||N>1114111}c(Q,"prohibited");function re(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}c(re,"disallowed")}),Bk=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={},u={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:c(function x(E){return E instanceof d?new d(E.type,x(E.content),E.alias):Array.isArray(E)?E.map(x):E.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var x=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(x){var E=document.getElementsByTagName("script");for(var D in E)if(E[D].src==x)return E[D]}return null}},"currentScript"),isActive:c(function(x,E,D){for(var S="no-"+E;x;){var A=x.classList;if(A.contains(E))return!0;if(A.contains(S))return!1;x=x.parentElement}return!!D},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:c(function(x,E){var D=u.util.clone(u.languages[x]);for(var S in E)D[S]=E[S];return D},"extend"),insertBefore:c(function(x,E,D,S){S=S||u.languages;var A=S[x],k={};for(var F in A)if(A.hasOwnProperty(F)){if(F==E)for(var T in D)D.hasOwnProperty(T)&&(k[T]=D[T]);D.hasOwnProperty(F)||(k[F]=A[F])}var R=S[x];return S[x]=k,u.languages.DFS(u.languages,function($,z){z===R&&$!=x&&(this[$]=k)}),k},"insertBefore"),DFS:c(function x(E,D,S,A){A=A||{};var k=u.util.objId;for(var F in E)if(E.hasOwnProperty(F)){D.call(E,F,E[F],S||F);var T=E[F],R=u.util.type(T);R==="Object"&&!A[k(T)]?(A[k(T)]=!0,x(T,D,null,A)):R==="Array"&&!A[k(T)]&&(A[k(T)]=!0,x(T,D,F,A))}},"DFS")},plugins:{},highlightAll:c(function(x,E){u.highlightAllUnder(document,x,E)},"highlightAll"),highlightAllUnder:c(function(x,E,D){var S={callback:D,container:x,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),u.hooks.run("before-all-elements-highlight",S);for(var A=0,k;k=S.elements[A++];)u.highlightElement(k,E===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(x,E,D){var S=u.util.getLanguage(x),A=u.languages[S];u.util.setLanguage(x,S);var k=x.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(k,S);var F=x.textContent,T={element:x,language:S,grammar:A,code:F};function R(z){T.highlightedCode=z,u.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,u.hooks.run("after-highlight",T),u.hooks.run("complete",T),D&&D.call(T.element)}if(c(R,"insertHighlightedCode"),u.hooks.run("before-sanity-check",T),k=T.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!T.code){u.hooks.run("complete",T),D&&D.call(T.element);return}if(u.hooks.run("before-highlight",T),!T.grammar){R(u.util.encode(T.code));return}if(E&&a.Worker){var $=new Worker(u.filename);$.onmessage=function(z){R(z.data)},$.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else R(u.highlight(T.code,T.grammar,T.language))},"highlightElement"),highlight:c(function(x,E,D){var S={code:x,grammar:E,language:D};if(u.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=u.tokenize(S.code,S.grammar),u.hooks.run("after-tokenize",S),d.stringify(u.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(x,E){var D=E.rest;if(D){for(var S in D)E[S]=D[S];delete E.rest}var A=new m;return f(A,A.head,x),h(x,A,E,A.head,0),g(A)},"tokenize"),hooks:{all:{},add:c(function(x,E){var D=u.hooks.all;D[x]=D[x]||[],D[x].push(E)},"add"),run:c(function(x,E){var D=u.hooks.all[x];if(!(!D||!D.length))for(var S=0,A;A=D[S++];)A(E)},"run")},Token:d};a.Prism=u;function d(x,E,D,S){this.type=x,this.content=E,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function x(E,D){if(typeof E=="string")return E;if(Array.isArray(E)){var S="";return E.forEach(function(R){S+=x(R,D)}),S}var A={type:E.type,content:x(E.content,D),tag:"span",classes:["token",E.type],attributes:{},language:D},k=E.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(A.classes,k):A.classes.push(k)),u.hooks.run("wrap",A);var F="";for(var T in A.attributes)F+=" "+T+'="'+(A.attributes[T]||"").replace(/"/g,""")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+F+">"+A.content+""},"stringify");function p(x,E,D,S){x.lastIndex=E;var A=x.exec(D);if(A&&S&&A[1]){var k=A[1].length;A.index+=k,A[0]=A[0].slice(k)}return A}c(p,"matchPattern");function h(x,E,D,S,A,k){for(var F in D)if(!(!D.hasOwnProperty(F)||!D[F])){var T=D[F];T=Array.isArray(T)?T:[T];for(var R=0;R=k.reach);K+=H.value.length,H=H.next){var te=H.value;if(E.length>x.length)return;if(!(te instanceof d)){var le=1,Q;if(L){if(Q=p(G,K,x,O),!Q||Q.index>=x.length)break;var J=Q.index,re=Q.index+Q[0].length,N=K;for(N+=H.value.length;J>=N;)H=H.next,N+=H.value.length;if(N-=H.value.length,K=N,H.value instanceof d)continue;for(var Y=H;Y!==E.tail&&(Nk.reach&&(k.reach=Ue);var st=H.prev;Se&&(st=f(E,st,Se),K+=Se.length),v(E,st,le);var P=new d(F,z?u.tokenize(pe,z):pe,M,pe);if(H=f(E,st,P),At&&f(E,H,At),le>1){var ut={cause:F+","+R,reach:Ue};h(x,E,D,H.prev,K,ut),k&&ut.reach>k.reach&&(k.reach=ut.reach)}}}}}}c(h,"matchGrammar");function m(){var x={value:null,prev:null,next:null},E={value:null,prev:x,next:null};x.next=E,this.head=x,this.tail=E,this.length=0}c(m,"LinkedList");function f(x,E,D){var S=E.next,A={value:D,prev:E,next:S};return E.next=A,S.prev=A,x.length++,A}c(f,"addAfter");function v(x,E,D){for(var S=E.next,A=0;A{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:/[{}[\];(),.:]/}}c(r,"clike")}),$k=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}c(r,"javascript")}),Lk=q((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=A();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=Sk(),o=Rk(),i=Bk(),s=xb(),u=vb(),d=zk(),p=$k();n();var h={}.hasOwnProperty;function m(){}c(m,"Refractor"),m.prototype=i;var f=new m;t.exports=f,f.highlight=b,f.register=v,f.alias=g,f.registered=C,f.listLanguages=w,v(s),v(u),v(d),v(p),f.util.encode=D,f.Token.stringify=x;function v(k){if(typeof k!="function"||!k.displayName)throw new Error("Expected `function` for `grammar`, got `"+k+"`");f.languages[k.displayName]===void 0&&k(f)}c(v,"register");function g(k,F){var T=f.languages,R=k,$,z,O,L;F&&(R={},R[k]=F);for($ in R)for(z=R[$],z=typeof z=="string"?[z]:z,O=z.length,L=-1;++L{uk(),Ii=De(Lk()),Ti=Qb(Ii.default,{}),Ti.registerLanguage=function(e,t){return Ii.default.register(t)},Ti.alias=function(e,t){return Ii.default.alias(e,t)},il=Ti}),Mk=B(()=>{Ub()}),Tm,Wu,Lp,l7=B(()=>{Tm=_.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Wu=_.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}),Wu.displayName="ActionButton",Lp=c(({actionItems:e,...t})=>y.createElement(Tm,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(Wu,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function s7(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Op(...e){return t=>e.forEach(r=>s7(r,t))}function Ke(...e){return l.useCallback(Op(...e),e)}var ka=B(()=>{c(s7,"$6ed0406888f73fc4$var$setRef"),c(Op,"$6ed0406888f73fc4$export$43e446d32b3d21af"),c(Ke,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05")});function Rm(e){return l.isValidElement(e)&&e.type===u7}function Bm(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}}var Bo,Ri,u7,Mp=B(()=>{Dt(),ka(),Bo=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Rm);if(o){let i=o.props.children,s=a.map(u=>u===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:u);return l.createElement(Ri,U({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(Ri,U({},n,{ref:t}),r)}),Bo.displayName="Slot",Ri=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...Bm(n,r.props),ref:t?Op(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null}),Ri.displayName="SlotClone",u7=c(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45"),c(Rm,"$5e63c961fc1ce211$var$isSlottable"),c(Bm,"$5e63c961fc1ce211$var$mergeProps")});function c7(e,t){e&&ip.flushSync(()=>e.dispatchEvent(t))}var zm,Me,ni=B(()=>{Dt(),Mp(),zm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Me=zm.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Bo:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,U({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),c(c7,"$8927f6f2acc4f386$export$6d1a0317bde7de7f")}),zo,Pp=B(()=>{zo=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function d7(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function $m(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,u]=d7(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=po(n.current);o.current=s==="mounted"?d:"none"},[s]),zo(()=>{let d=n.current,p=a.current;if(p!==e){let h=o.current,m=po(d);e?u("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&h!==m?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),zo(()=>{if(t){let d=c(h=>{let m=po(n.current).includes(h.animationName);h.target===t&&m&&ip.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(h=>{h.target===t&&(o.current=po(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 u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function po(e){return(e==null?void 0:e.animationName)||"none"}var sr,p7=B(()=>{ka(),Pp(),c(d7,"$fe963b355347cc68$export$3e6543de14f8614f"),sr=c(e=>{let{present:t,children:r}=e,n=$m(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Ke(n.ref,a.ref);return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b"),sr.displayName="Presence",c($m,"$921a889cee6df7e8$var$usePresence"),c(po,"$921a889cee6df7e8$var$getAnimationName")});function f7(e,t){let r=l.createContext(t);function n(o){let{children:i,...s}=o,u=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:u},i)}c(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 c(a,"useContext"),n.displayName=e+"Provider",[n,a]}function Np(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),u=r.length;r=[...r,i];function d(h){let{scope:m,children:f,...v}=h,g=(m==null?void 0:m[e][u])||s,b=l.useMemo(()=>v,Object.values(v));return l.createElement(g.Provider,{value:b},f)}c(d,"Provider");function p(h,m){let f=(m==null?void 0:m[e][u])||s,v=l.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${o}\``)}return c(p,"useContext"),d.displayName=o+"Provider",[d,p]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let a=c(()=>{let o=r.map(i=>l.createContext(i));return c(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,h7(a,...t)]}function h7(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return c(function(a){let o=n.reduce((i,{useScope:s,scopeName:u})=>{let d=s(a)[`__scope${u}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}var m7=B(()=>{c(f7,"$c512c27ab02ef895$export$fd42f52fd3ae1109"),c(Np,"$c512c27ab02ef895$export$50c7b4e9d9f19c1"),c(h7,"$c512c27ab02ef895$var$composeContextScopes")});function ze(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)},[])}var ai=B(()=>{c(ze,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a")});function g7(e){let t=l.useContext(v7);return e||t||"ltr"}var v7,Pk=B(()=>{v7=l.createContext(void 0),c(g7,"$f631663db3294ace$export$b39126d51d94e6f3")});function y7(e,[t,r]){return Math.min(r,Math.max(t,e))}var Nk=B(()=>{c(y7,"$ae6933e535247d3d$export$7d15b64cf5a3a4c4")});function Ie(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var Hp=B(()=>{c(Ie,"$e42e1063c40fb3ef$export$b9ecd428b558ff10")});function Lm(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Wa(e){return e?parseInt(e,10):0}function yd(e,t){let r=e/t;return isNaN(r)?0:r}function Ao(e){let t=yd(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Om(e,t,r,n="ltr"){let a=Ao(r),o=a/2,i=t||o,s=a-i,u=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,p=r.content-r.viewport,h=n==="ltr"?[0,p]:[p*-1,0];return jp([u,d],h)(e)}function Gu(e,t,r="ltr"){let n=Ao(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,u=r==="ltr"?[0,i]:[i*-1,0],d=y7(e,u);return jp([0,i],[0,s])(d)}function jp(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 Ku(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 qr(e,t){let r=ze(t);zo(()=>{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])}var Yu,Ju,Hk,Mm,qe,Pm,Nm,Hm,zt,jm,Vm,Um,Zu,Bi,qm,Wm,Gm,Xu,Qu,zi,Km,Ym,ec,Jm,Zm,Xm,b7,w7,E7,x7,C7,jk=B(()=>{Dt(),ni(),p7(),m7(),ka(),ai(),Pk(),Pp(),Nk(),Hp(),c(Lm,"$6c2e24571c90391f$export$3e6543de14f8614f"),Yu="ScrollArea",[Ju,Hk]=Np(Yu),[Mm,qe]=Ju(Yu),Pm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,u]=l.useState(null),[d,p]=l.useState(null),[h,m]=l.useState(null),[f,v]=l.useState(null),[g,b]=l.useState(null),[C,w]=l.useState(0),[x,E]=l.useState(0),[D,S]=l.useState(!1),[A,k]=l.useState(!1),F=Ke(t,R=>u(R)),T=g7(a);return l.createElement(Mm,{scope:r,type:n,dir:T,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:p,content:h,onContentChange:m,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:b,scrollbarYEnabled:A,onScrollbarYEnabledChange:k,onCornerWidthChange:w,onCornerHeightChange:E},l.createElement(Me.div,U({dir:T},i,{ref:F,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":x+"px",...e.style}})))}),Nm="ScrollAreaViewport",Hm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,...a}=e,o=qe(Nm,r),i=l.useRef(null),s=Ke(t,i,o.onViewportChange);return l.createElement(l.Fragment,null,l.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"}}),l.createElement(Me.div,U({"data-radix-scroll-area-viewport":""},a,{ref:s,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style}}),l.createElement("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),zt="ScrollAreaScrollbar",jm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,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"?l.createElement(Vm,U({},n,{ref:t,forceMount:r})):a.type==="scroll"?l.createElement(Um,U({},n,{ref:t,forceMount:r})):a.type==="auto"?l.createElement(Zu,U({},n,{ref:t,forceMount:r})):a.type==="always"?l.createElement(Bi,U({},n,{ref:t})):null}),Vm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,e.__scopeScrollArea),[o,i]=l.useState(!1);return l.useEffect(()=>{let s=a.scrollArea,u=0;if(s){let d=c(()=>{window.clearTimeout(u),i(!0)},"handlePointerEnter"),p=c(()=>{u=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return s.addEventListener("pointerenter",d),s.addEventListener("pointerleave",p),()=>{window.clearTimeout(u),s.removeEventListener("pointerenter",d),s.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),l.createElement(sr,{present:r||o},l.createElement(Zu,U({"data-state":o?"visible":"hidden"},n,{ref:t})))}),Um=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,e.__scopeScrollArea),o=e.orientation==="horizontal",i=Ga(()=>u("SCROLL_END"),100),[s,u]=Lm("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(()=>u("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[s,a.scrollHideDelay,u]),l.useEffect(()=>{let d=a.viewport,p=o?"scrollLeft":"scrollTop";if(d){let h=d[p],m=c(()=>{let f=d[p];h!==f&&(u("SCROLL"),i()),h=f},"handleScroll");return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[a.viewport,o,u,i]),l.createElement(sr,{present:r||s!=="hidden"},l.createElement(Bi,U({"data-state":s==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:Ie(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:Ie(e.onPointerLeave,()=>u("POINTER_LEAVE"))})))}),Zu=l.forwardRef((e,t)=>{let r=qe(zt,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),s=e.orientation==="horizontal",u=Ga(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=qe(zt,e.__scopeScrollArea),o=l.useRef(null),i=l.useRef(0),[s,u]=l.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=yd(s.viewport,s.content),p={...n,sizes:s,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:c(m=>o.current=m,"onThumbChange"),onThumbPointerUp:c(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:c(m=>i.current=m,"onThumbPointerDown")};function h(m,f){return Om(m,i.current,s,f)}return c(h,"getScrollPosition"),r==="horizontal"?l.createElement(qm,U({},p,{ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let m=a.viewport.scrollLeft,f=Gu(m,s,a.dir);o.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(m=>{a.viewport&&(a.viewport.scrollLeft=m)},"onWheelScroll"),onDragScroll:c(m=>{a.viewport&&(a.viewport.scrollLeft=h(m,a.dir))},"onDragScroll")})):r==="vertical"?l.createElement(Wm,U({},p,{ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let m=a.viewport.scrollTop,f=Gu(m,s);o.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(m=>{a.viewport&&(a.viewport.scrollTop=m)},"onWheelScroll"),onDragScroll:c(m=>{a.viewport&&(a.viewport.scrollTop=h(m))},"onDragScroll")})):null}),qm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=qe(zt,e.__scopeScrollArea),[i,s]=l.useState(),u=l.useRef(null),d=Ke(t,u,o.onScrollbarXChange);return l.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),l.createElement(Qu,U({"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":Ao(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:c((p,h)=>{if(o.viewport){let m=o.viewport.scrollLeft+p.deltaX;e.onWheelScroll(m),Ku(m,h)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:Wa(i.paddingLeft),paddingEnd:Wa(i.paddingRight)}})},"onResize")}))}),Wm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=qe(zt,e.__scopeScrollArea),[i,s]=l.useState(),u=l.useRef(null),d=Ke(t,u,o.onScrollbarYChange);return l.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),l.createElement(Qu,U({"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":Ao(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:c((p,h)=>{if(o.viewport){let m=o.viewport.scrollTop+p.deltaY;e.onWheelScroll(m),Ku(m,h)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:Wa(i.paddingTop),paddingEnd:Wa(i.paddingBottom)}})},"onResize")}))}),[Gm,Xu]=Ju(zt),Qu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:p,onResize:h,...m}=e,f=qe(zt,r),[v,g]=l.useState(null),b=Ke(t,F=>g(F)),C=l.useRef(null),w=l.useRef(""),x=f.viewport,E=n.content-n.viewport,D=ze(p),S=ze(u),A=Ga(h,10);function k(F){if(C.current){let T=F.clientX-C.current.left,R=F.clientY-C.current.top;d({x:T,y:R})}}return c(k,"handleDragScroll"),l.useEffect(()=>{let F=c(T=>{let R=T.target;v!=null&&v.contains(R)&&D(T,E)},"handleWheel");return document.addEventListener("wheel",F,{passive:!1}),()=>document.removeEventListener("wheel",F,{passive:!1})},[x,v,E,D]),l.useEffect(S,[n,S]),qr(v,A),qr(f.content,A),l.createElement(Gm,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:ze(o),onThumbPointerUp:ze(i),onThumbPositionChange:S,onThumbPointerDown:ze(s)},l.createElement(Me.div,U({},m,{ref:b,style:{position:"absolute",...m.style},onPointerDown:Ie(e.onPointerDown,F=>{F.button===0&&(F.target.setPointerCapture(F.pointerId),C.current=v.getBoundingClientRect(),w.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),k(F))}),onPointerMove:Ie(e.onPointerMove,k),onPointerUp:Ie(e.onPointerUp,F=>{let T=F.target;T.hasPointerCapture(F.pointerId)&&T.releasePointerCapture(F.pointerId),document.body.style.webkitUserSelect=w.current,f.viewport&&(f.viewport.style.scrollBehavior=""),C.current=null})})))}),zi="ScrollAreaThumb",Km=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Xu(zi,e.__scopeScrollArea);return l.createElement(sr,{present:r||a.hasThumb},l.createElement(Ym,U({ref:t},n)))}),Ym=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=qe(zi,r),i=Xu(zi,r),{onThumbPositionChange:s}=i,u=Ke(t,h=>i.onThumbChange(h)),d=l.useRef(),p=Ga(()=>{d.current&&(d.current(),d.current=void 0)},100);return l.useEffect(()=>{let h=o.viewport;if(h){let m=c(()=>{if(p(),!d.current){let f=Xm(h,s);d.current=f,s()}},"handleScroll");return s(),h.addEventListener("scroll",m),()=>h.removeEventListener("scroll",m)}},[o.viewport,p,s]),l.createElement(Me.div,U({"data-state":i.hasThumb?"visible":"hidden"},a,{ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Ie(e.onPointerDownCapture,h=>{let m=h.target.getBoundingClientRect(),f=h.clientX-m.left,v=h.clientY-m.top;i.onThumbPointerDown({x:f,y:v})}),onPointerUp:Ie(e.onPointerUp,i.onThumbPointerUp)}))}),ec="ScrollAreaCorner",Jm=l.forwardRef((e,t)=>{let r=qe(ec,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?l.createElement(Zm,U({},e,{ref:t})):null}),Zm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=qe(ec,r),[o,i]=l.useState(0),[s,u]=l.useState(0),d=!!(o&&s);return qr(a.scrollbarX,()=>{var p;let h=((p=a.scrollbarX)===null||p===void 0?void 0:p.offsetHeight)||0;a.onCornerHeightChange(h),u(h)}),qr(a.scrollbarY,()=>{var p;let h=((p=a.scrollbarY)===null||p===void 0?void 0:p.offsetWidth)||0;a.onCornerWidthChange(h),i(h)}),d?l.createElement(Me.div,U({},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}),c(Wa,"$57acba87d6e25586$var$toInt"),c(yd,"$57acba87d6e25586$var$getThumbRatio"),c(Ao,"$57acba87d6e25586$var$getThumbSize"),c(Om,"$57acba87d6e25586$var$getScrollPositionFromPointer"),c(Gu,"$57acba87d6e25586$var$getThumbOffsetFromScroll"),c(jp,"$57acba87d6e25586$var$linearScale"),c(Ku,"$57acba87d6e25586$var$isScrollingWithinScrollbarBounds"),Xm=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(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)},"$57acba87d6e25586$var$addUnlinkedScrollListener"),c(Ga,"$57acba87d6e25586$var$useDebounceCallback"),c(qr,"$57acba87d6e25586$var$useResizeObserver"),b7=Pm,w7=Hm,E7=jm,x7=Km,C7=Jm}),Qm,eg,tc,rc,Ol,Vp=B(()=>{jk(),Qm=_(b7)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),eg=_(w7)({width:"100%",height:"100%"}),tc=_(E7)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight: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}})),rc=_(x7)(({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%"}})),Ol=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>y.createElement(Qm,{scrollbarsize:a,offset:n,className:o},y.createElement(eg,{ref:i},e),t&&y.createElement(tc,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(rc,null)),r&&y.createElement(tc,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(rc,null)),t&&r&&y.createElement(C7,null))),Ol.displayName="ScrollArea"}),Up={};Aa(Up,{SyntaxHighlighter:()=>ko,createCopyToClipboardFunction:()=>bd,default:()=>D7,supportedLanguages:()=>wd});const{logger:Vk}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function bd(){return fo!=null&&fo.clipboard?e=>fo.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 tg,fo,Hn,rg,wd,ng,ag,og,ig,lg,sg,ug,nc,cg,dg,ko,D7,Ps=B(()=>{kp(),tg=De(Ls(),1),LA(),MA(),PA(),HA(),VA(),qA(),WA(),KA(),JA(),XA(),QA(),Ok(),Mk(),l7(),Vp(),{navigator:fo,document:Hn,window:rg}=$s,wd={jsextra:bb,jsx:mb,json:wb,yml:Sb,md:Db,bash:gb,css:yb,html:Cb,tsx:kb,typescript:_b,graphql:Eb},Object.entries(wd).forEach(([e,t])=>{il.registerLanguage(e,t)}),ng=(0,tg.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),ag=bd(),c(bd,"createCopyToClipboardFunction"),og=_.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)"}}:{}),ig=c(({children:e,className:t})=>y.createElement(Ol,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),lg=_(ig)({position:"relative"},({theme:e})=>ng(e)),sg=_.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),ug=_.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),nc=c(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"),cg=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Ms({node:nc(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),dg=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>nc(a)),...n}):cg:e,"wrapRenderer"),ko=c(({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:u=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,h]=l.useState("");l.useEffect(()=>{i?i(o,e).then(h):h(e.trim())},[e,o,i]);let[m,f]=l.useState(!1),v=l.useCallback(b=>{b.preventDefault(),ag(p).then(()=>{f(!0),rg.setTimeout(()=>f(!1),1500)}).catch(Vk.error)},[p]),g=dg(d.renderer,u);return y.createElement(og,{bordered:n,padded:a,showLineNumbers:u,className:s},y.createElement(lg,null,y.createElement(il,{padded:a||n,language:t,showLineNumbers:u,showInlineLineNumbers:u,useInlineStyles:!1,PreTag:sg,CodeTag:ug,lineNumberContainerStyle:{},...d,renderer:g},p)),r?y.createElement(Lp,{actionItems:[{title:m?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),ko.registerLanguage=(...e)=>il.registerLanguage(...e),D7=ko});function pg(e){if(typeof e=="string")return Gs;if(Array.isArray(e))return Ks;if(!e)return;let{type:t}=e;if(hf.has(t))return t}function fg(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(Ys(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=Iw([...hf].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function Xt(e){return Br(e),{type:Oo,contents:e}}function qp(e,t){return Br(t),{type:Mo,contents:t,n:e}}function Ce(e,t={}){return Br(e),Js(t.expandedStates,!0),{type:ha,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function S7(e){return qp(Number.NEGATIVE_INFINITY,e)}function A7(e){return qp({type:"root"},e)}function Wp(e){return Js(e),{type:Po,parts:e}}function $o(e,t="",r={}){return Br(e),t!==""&&Br(t),{type:No,breakContents:e,flatContents:t,groupId:r.groupId}}function k7(e,t){return Br(e),{type:Ho,contents:e,groupId:t.groupId,negate:t.negate}}function yn(e,t){Br(e),Js(t);let r=[];for(let n=0;nt===""))return"";break;case ha:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ha&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Mo:case Oo:case Ho:case ql:if(!e.contents)return"";break;case No:if(!e.flatContents&&!e.breakContents)return"";break;case Ks:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ma(!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 Gs:case Vl:case Ul:case Wl:case Sr:case Gl:case _o:break;default:throw new mf(e)}return e}function F7(e){return Ns(e,t=>_7(t))}function tt(e,t=Tw){return Ns(e,r=>typeof r=="string"?yn(t,r.split(` +`)):r)}function hg(e,t){let r=t===!0||t===yo?yo:_d,n=r===yo?_d:yo,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function mg(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function gg(e){return(e==null?void 0:e.type)==="front-matter"}function ac(e,t){var r;if(e.type==="text"||e.type==="comment"||pi(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=t.parameters)!=null&&r.children)for(let n of t.parameters.children)zw.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim())}async function vg(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return A7([e.startDelimiter,oe,n,n?oe:"",e.endDelimiter])}}function oi(e,t=!0){return[Xt([xe,e]),t?xe:""]}function bn(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 bt(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?Ce(o):oi(o)}function yg(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/.test(o)?"":bt(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},bn)}function Ed(e,t){if(!t)return;let r=Ow(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 I7(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 bg(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=I7(r,t.language)??Ed(r,t.physicalFile)??Ed(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function wg(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Gp(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||dn(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||js(e,t)&&!Wt(e)&&e.type!=="interpolation")}function ii(e){return e.type==="attribute"||!e.parent||!e.prev?!1:T7(e.prev)}function T7(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ye(e){return e.type==="text"||e.type==="comment"}function Wt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||ga(e)&&(e.name==="script"||e.name==="style"))}function R7(e){return e.children&&!Wt(e)}function B7(e){return Wt(e)||e.type==="interpolation"||Kp(e)}function Kp(e){return tf(e).startsWith("pre")}function z7(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 pi(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:dn(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||dn(e)&&e.parent||Wt(e.parent)||li(e.parent,t)||!V7(e.parent.cssDisplay))||e.prev&&!W7(e.prev.cssDisplay))}}function $7(e,t){return pi(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:dn(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||dn(e)&&e.parent||Wt(e.parent)||li(e.parent,t)||!U7(e.parent.cssDisplay))||e.next&&!q7(e.next.cssDisplay))}function L7(e){return G7(e.cssDisplay)&&!Wt(e)}function ho(e){return pi(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>P7(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Zp(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Xp(e.lastChild))}function Yp(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 ll(e){return Qp(e)||e.prev&&M7(e.prev)||Jp(e)}function M7(e){return Qp(e)||e.type==="element"&&e.fullName==="br"||Jp(e)}function Jp(e){return Zp(e)&&Xp(e)}function Zp(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 Qp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Hs(e){return e.lastChild?Hs(e.lastChild):e}function P7(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function ef(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 N7(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":fi(t,{language:o})??ef(a)}function H7(e,t){if(!js(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return fi(t,{language:a})??ef(n)}function j7(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?fi(t,{language:r}):"css"}function xd(e,t){return N7(e,t)??j7(e,t)??H7(e,t)}function _a(e){return e==="block"||e==="list-item"||e.startsWith("table")}function V7(e){return!_a(e)&&e!=="inline-block"}function U7(e){return!_a(e)&&e!=="inline-block"}function q7(e){return!_a(e)}function W7(e){return!_a(e)}function G7(e){return!_a(e)&&e!=="inline-block"}function dn(e){return tf(e).startsWith("pre")}function K7(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Y7(e,t){var r;if(wn(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*$/);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(K7(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||ga(e))&&Pw[e.name]||Mw}}function tf(e){return e.type==="element"&&(!e.namespace||ga(e))&&Hw[e.name]||Nw}function J7(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=gt.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function nf(e){return Ne(!1,Ne(!1,e,"'","'"),""",'"')}function gr(e){return nf(e.value)}function li(e,t){return wn(e,t)&&!Vw.has(e.fullName)}function wn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function js(e,t){return wn(e,t)&&(li(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Z7(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function X7(e,t){let r=e.parent;if(!wn(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function af(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?tt(t):tt(rf(gf(t)),oe):yn(Ee,gt.split(t))}function of(e,t){return wn(e,t)&&e.name==="script"}async function Q7(e,t){let r=[];for(let[n,a]of e.split(vf).entries())if(n%2===0)r.push(tt(a));else try{r.push(Ce(["{{",Xt([Ee,await bt(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),Ee,"}}"]))}catch{r.push("{{",tt(a),"}}")}return r}function $i({parser:e}){return(t,r,n)=>bt(gr(n.node),t,{parser:e,trailingComma:"none"},bn)}function Eg(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Uw;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return qw;if(n.startsWith("*"))return Ww;let a=gr(r);if(/^i18n(?:-.+)?$/.test(n))return()=>oi(Wp(af(r,a.trim())),!a.includes("@@"));if(vf.test(a))return o=>Q7(a,o)}function xg(e,t){let{node:r}=e,n=gr(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}function Cd(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function Cg(e){let t=e.length,r,n,a,o,i,s=0,u;function d(f){let v,g=f.exec(e.substring(s));if(g)return[v]=g,s+=v.length,v}c(d,"p");let p=[];for(;;){if(d(Jw),s>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}u=s,r=d(Zw),n=[],r.slice(-1)===","?(r=r.replace(Xw,""),m()):h()}function h(){for(d(Yw),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(Cd(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){s+=1,a&&n.push(a),m();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),m();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),m();return}else a+=i;else if(o==="after descriptor"&&!Cd(i))if(i===""){m();return}else o="in descriptor",s-=1;s+=1}}c(h,"m");function m(){let f=!1,v,g,b,C,w={},x,E,D,S,A;for(C=0;Cew(gr(e.node))}function ew(e){let t=e6(e),r=t6.filter(p=>t.some(h=>Object.prototype.hasOwnProperty.call(h,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=Id[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):""),u=s.map(p=>{let h=p.indexOf(".");return h===-1?p.length:h}),d=Math.max(...u);return oi(yn([",",Ee],o.map((p,h)=>{let m=[p],f=s[h];if(f){let v=i-p.length+1,g=d-u[h],b=" ".repeat(v+g);m.push($o(b," "),f+a)}return m})))}function tw(e,t){let{node:r}=e,n=gr(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>oi(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Sg(e,t){let{root:r}=e;return sl.has(r)||sl.set(r,r.children.some(n=>of(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),sl.get(r)}function rw(e,t,r){let{node:n}=r,a=gr(n);return bt(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},bn)}function nw(e,t,{parseWithTs:r}){return bt(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function aw(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$_a-z][\w$]*])*$/i,n=e.trim();return t.test(n)||r.test(n)}async function ow(e,t,r,n){let a=gr(r.node),{left:o,operator:i,right:s}=iw(a),u=Zs(r,n);return[Ce(await bt(`function _(${o}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await bt(s,e,{parser:u?"__ts_expression":"__js_expression"})]}function iw(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=Ne(!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 u=[o.alias,o.iterator1,o.iterator2];if(!u.some((d,p)=>!d&&(p===0||u.slice(p+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:a[2],right:o.for}}function Ag(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return ow;if(n==="generic"&&of(r.parent,t))return rw;let a=gr(r),o=Zs(e,t);if(Z7(r)||X7(r,t))return i=>nw(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>lw(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>sw(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>lf(a,i,{parseWithTs:o})}function lw(e,t,{parseWithTs:r}){return aw(e)?lf(e,t,{parseWithTs:r}):bt(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},bn)}function sw(e,t,{parseWithTs:r}){return bt(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},bn)}function lf(e,t,{parseWithTs:r}){return bt(e,t,{parser:r?"__ts_expression":"__js_expression"},bn)}function kg(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.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[r6,tw,Kw,n6,Gw]){let a=n(e,t);if(a)return uw(a)}}}function uw(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=Ns(o,i=>typeof i=="string"?Ne(!1,i,'"',"""):i),[n.node.rawName,'="',Ce(o),'"']}}function _g(e){return Array.isArray(e)&&e.length>0}function si(e){return e.sourceSpan.start.offset}function ui(e){return e.sourceSpan.end.offset}function Ml(e,t){return[e.isSelfClosing?"":cw(e,t),Wn(e,t)]}function cw(e,t){return e.lastChild&&fa(e.lastChild)?"":[dw(e,t),Vs(e,t)]}function Wn(e,t){return(e.next?Tr(e.next):Ia(e.parent))?"":[Fa(e,t),Ir(e,t)]}function dw(e,t){return Ia(e)?Fa(e.lastChild,t):""}function Ir(e,t){return fa(e)?Vs(e.parent,t):ci(e)?Us(e.next):""}function Vs(e,t){if(yf(!e.isSelfClosing),sf(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 sf(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(ii(e)||Gp(e.parent,t))}function Tr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Ye(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ia(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Ye(Hs(e.lastChild))&&!dn(e)}function fa(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ye(Hs(e))}function ci(e){return e.next&&!Ye(e.next)&&Ye(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function pw(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function di(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function fw(e,t,r){var n;let{node:a}=e;if(!Xs(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&pw(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?h=>o.includes(h.rawName):()=>!1,s=e.map(({node:h})=>i(h)?tt(t.originalText.slice(si(h),ui(h))):r(),"attrs"),u=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&&!wn(a,t)?oe:Ee,p=[Xt([u?" ":Ee,yn(d,s)])];return a.firstChild&&di(a.firstChild)||a.isSelfClosing&&Ia(a.parent)||u?p.push(a.isSelfClosing?" ":""):p.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?Ee:xe),p}function hw(e){return e.firstChild&&di(e.firstChild)?"":qs(e)}function Pl(e,t,r){let{node:n}=e;return[Gn(n,t),fw(e,t,r),n.isSelfClosing?"":hw(n)]}function Gn(e,t){return e.prev&&ci(e.prev)?"":[Rr(e,t),Us(e)]}function Rr(e,t){return di(e)?qs(e.parent):Tr(e)?Fa(e.prev,t):""}function Us(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function qs(e){switch(yf(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Fg(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&di(e.firstChild)&&(r-=qs(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&fa(e.lastChild)?n+=Vs(e,t).length:Ia(e)&&(n-=Fa(e.lastChild,t).length),t.originalText.slice(r,n)}function Ig(e,t){let{node:r}=e;switch(r.type){case"element":if(Wt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&js(r,t)){let n=xd(r,t);return n?async(a,o)=>{let i=bf(r,t),s=/^\s*$/.test(i),u="";return s||(u=await a(gf(i),{parser:n,__embeddedInHtml:!0}),s=u===""),[Rr(r,t),Ce(Pl(e,t,o)),s?"":oe,u,s?"":oe,Ml(r,t),Ir(r,t)]}:void 0}break;case"text":if(Wt(r.parent)){let n=xd(r.parent,t);if(n)return async a=>{let o=n==="markdown"?rf(r.value.replace(/^[^\S\n]*\n/,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(s="module"),i.__babelSourceType=s}return[Yn,Rr(r,t),await a(o,i),Ir(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",a.trailingComma="none"):t.parser==="vue"?a.parser=Zs(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[Xt([Ee,await n(r.value,a)]),r.parent.next&&Tr(r.parent.next)?" ":Ee]};break;case"attribute":return a6(e,t);case"front-matter":return n=>$w(r,n);case"angularControlFlowBlockParameters":return o6.has(e.parent.name)?Lw:void 0}}function Kn(e){if(Vn!==null&&typeof Vn.property){let t=Vn;return Vn=Kn.prototype=null,t}return Vn=Kn.prototype=e??Object.create(null),new Kn}function mw(e){return Kn(e)}function Tg(e,t="type"){mw(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 c(r,"r"),r}function gw(e){return/^\s*/.test(e)}function Rg(e){return` + +`+e}function uf(e){let t=ui(e);return e.type==="element"&&!e.endSourceSpan&&Xs(e.children)?Math.max(t,uf(ma(!1,e.children,-1))):t}function jn(e,t,r){let n=e.node;if(ii(n)){let a=uf(n);return[Rr(n,t),tt(gt.trimEnd(t.originalText.slice(si(n)+(n.prev&&ci(n.prev)?Us(n).length:0),a-(n.next&&Tr(n.next)?Fa(n,t).length:0)))),Ir(n,t)]}return r()}function mo(e,t){return Ye(e)&&Ye(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?ll(t)?oe:Ee:"":ll(t)?oe:xe:ci(e)&&(ii(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&Tr(t)?"":!t.isLeadingSpaceSensitive||ll(t)||Tr(t)&&e.lastChild&&fa(e.lastChild)&&e.lastChild.lastChild&&fa(e.lastChild.lastChild)?oe:t.hasLeadingSpaces?Ee:xe}function Ws(e,t,r){let{node:n}=e;if(Yp(n))return[Yn,...e.map(o=>{let i=o.node,s=i.prev?mo(i.prev,i):"";return[s?[s,ho(i.prev)?oe:""]:"",jn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let s=o.node;if(Ye(s)){if(s.prev&&Ye(s.prev)){let v=mo(s.prev,s);if(v)return ho(s.prev)?[oe,oe,jn(o,t,r)]:[v,jn(o,t,r)]}return jn(o,t,r)}let u=[],d=[],p=[],h=[],m=s.prev?mo(s.prev,s):"",f=s.next?mo(s,s.next):"";return m&&(ho(s.prev)?u.push(oe,oe):m===oe?u.push(oe):Ye(s.prev)?d.push(m):d.push($o("",xe,{groupId:a[i-1]}))),f&&(ho(s)?Ye(s.next)&&h.push(oe,oe):f===oe?Ye(s.next)&&h.push(oe):p.push(f)),[...u,Ce([...d,Ce([jn(o,t,r),...p],{id:a[i]})]),...h]},"children")}function vw(e,t,r){let{node:n}=e,a=[];yw(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",Ce(r("parameters")),")"),a.push(" {");let o=cf(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(Xt([oe,Ws(e,t,r)])),o&&a.push(oe,"}")):o&&a.push("}"),Ce(a,{shouldBreak:!0})}function cf(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=i6.get(e.name))!=null&&r.has(e.next.name))}function yw(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!ii(t)&&!cf(t)}function bw(e,t,r){return[Xt([xe,yn([";",Ee],e.map(r,"children"))]),xe]}function ww(e,t,r){let{node:n}=e;return[Gn(n,t),Ce([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",Xt([Ee,yn(Ee,e.map(r,"cases"))])]:"",xe]),Wn(n,t)]}function Ew(e,t,r){let{node:n}=e;return[n.value," {",Ce([Xt([xe,e.map(({node:a})=>a.type==="text"&&!gt.trim(a.value)?"":r(),"expression")]),xe]),"}"]}function xw(e,t,r){let{node:n}=e;if(Gp(n,t))return[Rr(n,t),Ce(Pl(e,t,r)),tt(bf(n,t)),...Ml(n,t),Ir(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=c(p=>Ce([Ce(Pl(e,t,r),{id:o}),p,Ml(n,t)]),"a"),s=c(p=>a?k7(p,{groupId:o}):(Wt(n)||li(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:Xt(p),"o"),u=c(()=>a?$o(xe,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Ee:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?S7(xe):xe,"u"),d=c(()=>(n.next?Tr(n.next):Ia(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?$o(xe,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Ee:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":xe,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Ee:""):i([O7(n)?Yn:"",s([u(),Ws(e,t,r)]),d()])}function Nl(e){return e>=9&&e<=32||e==160}function df(e){return 48<=e&&e<=57}function Hl(e){return e>=97&&e<=122||e>=65&&e<=90}function Cw(e){return e>=97&&e<=102||e>=65&&e<=70||df(e)}function oc(e){return e===10||e===13}function ic(e){return 48<=e&&e<=55}function lc(e){return e===39||e===34||e===96}function Bg(e){return e.replace(l6,(...t)=>t[1].toUpperCase())}function zg(e,t){for(let r of s6)r(e,t);return e}function $g(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 Lg(e){let t=c(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 Mg(e){let t=c(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!gt.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 Z(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function Pg(e,t){if(t.parser==="html")return;let r=/{{(.+?)}}/s;e.walk(n=>{if(R7(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 u=0;u0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new Z(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new Z(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new Z(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function Ng(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&>.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=B7(t),n=Kp(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 jg(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Vg(e,t){e.walk(r=>{r.cssDisplay=Y7(r,t)})}function Ug(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=L7(r);return}for(let a of n)a.isLeadingSpaceSensitive=z7(a,t),a.isTrailingSpaceSensitive=$7(a,t);for(let a=0;a{!Ja[t]&&go(t)===null&&(Ja[t]=new W({canSelfClose:!1}))})),Ja[e]??W2}function Dd(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 Gg(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];d6.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function Kg(e,t,r,n={}){let a=new f6(new wf(e,t),r,n);return a.tokenize(),new p6(Sw(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function Wr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function dc(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function Yg(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ye(e){return!Nl(e)||e===0}function pc(e){return Nl(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Jg(e){return(e<97||12257)}function Zg(e){return e===59||e===0||!Cw(e)}function Xg(e){return e===59||e===0||!Hl(e)}function Qg(e){return e!==125}function e2(e,t){return Sd(e)===Sd(t)}function Sd(e){return e>=97&&e<=122?e-97+65:e}function fc(e){return Hl(e)||df(e)||e===95}function hc(e){return e!==59&&ye(e)}function Sw(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function gc(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 Ad(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1}=t;return h6().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i},a,o)}function t2(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function r2(e){let t=e.match(g6);if(!t)return{content:e};let{startDelimiter:r,language:n,value:a="",endDelimiter:o}=t.groups,i=n.trim()||"yaml";if(r==="+++"&&(i="toml"),i!=="yaml"&&r!==o)return{content:e};let[s]=t;return{frontMatter:{type:"front-matter",lang:i,value:a,startDelimiter:r,endDelimiter:o,raw:s.replace(/\n$/,"")},content:Ne(!1,s,/[^\n]/g," ")+e.slice(s.length)}}function n2(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function Aw(e,t){if(e.value)for(let{regex:r,parse:n}of b6){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function a2(e,t,r){let[,n,a,o]=r,i=4+n.length,s=e.sourceSpan.start.moveBy(i),u=s.moveBy(o.length),[d,p]=(()=>{try{return[!0,t(o,s).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new Z(s,u)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:Ne(!1,a.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new Z(e.sourceSpan.start,s),endSourceSpan:new Z(u,e.sourceSpan.end)}}function o2(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Ne(!1,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function i2(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function kw(e){if(e.type==="block"){if(e.name=Ne(!1,e.name.toLowerCase(),/\s+/g," ").trim(),e.type="angularControlFlowBlock",!Xs(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new Z(e.parameters[0].sourceSpan.start,ma(!1,e.parameters,-1).sourceSpan.end)}}}function _w(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function pf(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:h}=Ad(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:u,getTagContentType:d?(...w)=>d(...w)?mt.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return pf(e,Td,r);let w,x=c(()=>w??(w=Ad(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:u})),"y"),E=c(D=>x().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"O");for(let[D,S]of p.entries()){let{endSourceSpan:A,startSourceSpan:k}=S;if(A===null)h=x().errors,p[D]=E(S);else if(Fw(S,r)){let F=x().errors.find(T=>T.span.start.offset>k.start.offset&&T.span.start.offset0&&kd(h[0]);let m=c(w=>{let x=w.name.startsWith(":")?w.name.slice(1).split(":")[0]:null,E=w.nameSpan.toString(),D=x!==null&&E.startsWith(`${x}:`),S=D?E.slice(x.length+1):E;w.name=S,w.namespace=x,w.hasExplicitNamespace=D},"g"),f=c(w=>{switch(w.type){case"element":m(w);for(let x of w.attrs)m(x),x.valueSpan?(x.value=x.valueSpan.toString(),/["']/.test(x.value[0])&&(x.value=x.value.slice(1,-1))):x.value=null;break;case"comment":w.value=w.sourceSpan.toString().slice(4,-3);break;case"text":w.value=w.sourceSpan.toString();break}},"C"),v=c((w,x)=>{let E=w.toLowerCase();return x(E)?E:w},"_"),g=c(w=>{if(w.type==="element"&&(o&&(!w.namespace||w.namespace===w.tagDefinition.implicitNamespacePrefix||ga(w))&&(w.name=v(w.name,x=>w6.has(x))),i))for(let x of w.attrs)x.namespace||(x.name=v(x.name,E=>cl.has(w.name)&&(cl.get("*").has(E)||cl.get(w.name).has(E))))},"D"),b=c(w=>{w.sourceSpan&&w.endSourceSpan&&(w.sourceSpan=new Z(w.sourceSpan.start,w.endSourceSpan.end))},"I"),C=c(w=>{if(w.type==="element"){let x=jl(u?w.name:w.name.toLowerCase());!w.namespace||w.namespace===x.implicitNamespacePrefix||ga(w)?w.tagDefinition=x:w.tagDefinition=jl("")}},"B");return Dd(new class extends c6{visitExpansionCase(w,x){n==="angular"&&this.visitChildren(x,E=>{E(w.expression)})}visit(w){f(w),C(w),g(w),b(w)}},p),p}function Fw(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||fi(t,{language:n})==="html"}function kd(e){let{msg:t,span:{start:r,end:n}}=e;throw m6(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function ff(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?v6(e):{frontMatter:null,content:e},i=new wf(e,r.filepath),s=new Kl(i,0,0,0),u=s.moveBy(e.length),d={type:"root",sourceSpan:new Z(s,u),children:pf(o,t,r)};if(a){let m=new Kl(i,0,0,0),f=m.moveBy(a.raw.length);a.sourceSpan=new Z(m,f),d.children.unshift(a)}let p=new y6(d),h=c((m,f)=>{let{offset:v}=f,g=Ne(!1,e.slice(0,v),/[^\n\r]/g," "),b=ff(g+m,t,r,!1);b.sourceSpan=new Z(f,ma(!1,b.children,-1).sourceSpan.end);let C=b.children[0];return C.length===v?b.children.shift():(C.sourceSpan=new Z(C.sourceSpan.start.moveBy(v),C.sourceSpan.end),C.value=C.value.slice(v)),b},"m");return p.walk(m=>{if(m.type==="comment"){let f=Aw(m,h);f&&m.parent.replaceChild(m,f)}kw(m),_w(m)}),p}function Ya(e){return{parse:c((t,r)=>ff(t,e,r),"parse"),hasPragma:gw,astFormat:"html",locStart:si,locEnd:ui}}var l2,vc,yc,tr,s2,u2,bc,c2,Ne,Gs,Ks,Vl,Oo,Mo,Ul,ha,Po,No,Ho,ql,Wl,Sr,Gl,_o,hf,Ys,Iw,wc,d2,mf,Ec,Br,Js,Yn,p2,f2,Ee,xe,oe,Tw,h2,ma,yo,_d,Rw,dt,xc,m2,g2,v2,y2,gt,Cc,b2,Bw,pi,w2,zw,E2,$w,Lw,Ow,fi,Mw,Pw,Nw,Hw,ga,x2,gf,jw,Vw,vf,Uw,qw,Ww,Gw,Kw,Yw,Jw,Zw,Xw,Fd,Qw,e6,Id,t6,r6,sl,Zs,n6,a6,Dc,yf,Xs,bf,o6,C2,Vn,D2,S2,A2,k2,_2,F2,i6,l6,Li,Kl,Sc,wf,Ac,Z,Oi,kc,_c,s6,I2,T2,R2,B2,Fc,Ic,z2,$2,Tc,L2,O2,Rc,Bc,tn,M2,mt,ul,zc,P2,N2,H2,j2,V2,U2,$c,q2,Lc,u6,Oc,W,W2,Ja,Mc,Tn,Pc,G2,Nc,K2,Hc,Y2,jc,J2,Vc,Z2,Uc,rr,qc,X2,Wc,Q2,Gc,Gr,Kc,Yc,Jc,c6,Fo,e5,d6,Mi,t5,Zc,Xc,Pi,Qc,p6,r5,Ni,e0,Hi,t0,f6,Za,r0,Xa,n5,n0,ji,Vi,We,a0,a5,o0,o5,Ui,i5,i0,l5,qi,h6,m6,g6,v6,Qa,l0,Kr,y6,b6,cl,w6,Td,s5,u5,c5,d5,p5,E6,Uk=B(()=>{l2=Object.defineProperty,vc=c((e,t)=>{for(var r in t)l2(e,r,{get:t[r],enumerable:!0})},"Yr"),yc=c((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},"jr"),tr=c((e,t,r)=>(yc(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),s2=c((e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},"Kr"),u2=c((e,t,r,n)=>(yc(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"Qr"),bc={},vc(bc,{languages:c(()=>B2,"languages"),options:c(()=>$2,"options"),parsers:c(()=>Tc,"parsers"),printers:c(()=>p5,"printers")}),c2=c((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)},"Zs"),Ne=c2,Gs="string",Ks="array",Vl="cursor",Oo="indent",Mo="align",Ul="trim",ha="group",Po="fill",No="if-break",Ho="indent-if-break",ql="line-suffix",Wl="line-suffix-boundary",Sr="line",Gl="label",_o="break-parent",hf=new Set([Vl,Oo,Mo,Ul,ha,Po,No,Ho,ql,Wl,Sr,Gl,_o]),c(pg,"ei"),Ys=pg,Iw=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ti"),c(fg,"ri"),d2=(wc=class extends Error{constructor(t){super(fg(t));yr(this,"name","InvalidDocError");this.doc=t}},c(wc,"rr"),wc),mf=d2,Ec=c(()=>{},"Xr"),Br=Ec,Js=Ec,c(Xt,"L"),c(qp,"Jr"),c(Ce,"E"),c(S7,"Zr"),c(A7,"en"),c(Wp,"Ct"),c($o,"me"),c(k7,"tn"),Yn={type:_o},p2={type:Sr,hard:!0},f2={type:Sr,hard:!0,literal:!0},Ee={type:Sr},xe={type:Sr,soft:!0},oe=[p2,Yn],Tw=[f2,Yn],c(yn,"M"),h2=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ii"),ma=h2,c(Ns,"St"),c(_7,"ai"),c(F7,"nn"),c(tt,"T"),yo="'",_d='"',c(hg,"oi"),Rw=hg,c(mg,"nr"),m2=(xc=class{constructor(e){s2(this,dt,void 0),u2(this,dt,new Set(e))}getLeadingWhitespaceCount(e){let t=tr(this,dt),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 tr(this,dt).has(e.charAt(0))}hasTrailingWhitespace(e){return tr(this,dt).has(ma(!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=`[${mg([...tr(this,dt)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=tr(this,dt);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tr(this,dt);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tr(this,dt);return Array.prototype.every.call(e,r=>t.has(r))}},c(xc,"sr"),xc),dt=new WeakMap,g2=m2,v2=[" ",` +`,"\f","\r"," "],y2=new g2(v2),gt=y2,b2=(Cc=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);yr(this,"name","UnexpectedNodeError");this.node=t}},c(Cc,"ir"),Cc),Bw=b2,c(gg,"ci"),pi=gg,w2=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),zw=new Set(["if","else if","for","switch","case"]),c(ac,"ln"),ac.ignoredProperties=w2,E2=ac,c(vg,"fi"),$w=vg,c(oi,"ge"),c(bn,"j"),c(bt,"x"),c(yg,"mi"),Lw=yg,Ow=c(e=>String(e).split(/[/\\]/).pop(),"gi"),c(Ed,"fn"),c(I7,"di"),c(bg,"Ci"),fi=bg,Mw="inline",Pw={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"},Nw="normal",Hw={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(wg,"Si"),ga=wg,x2=c(e=>Ne(!1,e,/^[\t\f\r ]*\n/g,""),"_i"),gf=c(e=>x2(gt.trimEnd(e)),"ar"),jw=c(e=>{let t=e,r=gt.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=gt.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"Sn"),c(Gp,"Et"),c(ii,"Se"),c(T7,"Ei"),c(Ye,"R"),c(Wt,"U"),c(R7,"_n"),c(B7,"En"),c(Kp,"or"),c(z7,"An"),c($7,"Dn"),c(L7,"vn"),c(ho,"Qe"),c(O7,"yn"),c(Yp,"ur"),c(ll,"At"),c(M7,"Ai"),c(Jp,"wn"),c(Zp,"bn"),c(Xp,"Tn"),c(Qp,"xn"),c(Hs,"Dt"),c(P7,"Di"),c(ef,"kn"),c(N7,"vi"),c(H7,"yi"),c(j7,"wi"),c(xd,"lr"),c(_a,"Xe"),c(V7,"bi"),c(U7,"Ti"),c(q7,"xi"),c(W7,"ki"),c(G7,"Bi"),c(dn,"Ce"),c(K7,"Li"),c(Y7,"Bn"),c(tf,"Ln"),c(J7,"Fi"),c(rf,"cr"),c(nf,"pr"),c(gr,"P"),Vw=new Set(["template","style","script"]),c(li,"Je"),c(wn,"_e"),c(js,"vt"),c(Z7,"Fn"),c(X7,"Pn"),c(af,"yt"),c(of,"wt"),vf=/{{(.+?)}}/s,c(Q7,"Nn"),c($i,"fr"),Uw=$i({parser:"__ng_action"}),qw=$i({parser:"__ng_binding"}),Ww=$i({parser:"__ng_directive"}),c(Eg,"$i"),Gw=Eg,c(xg,"Oi"),Kw=xg,c(Cd,"$n"),Yw=/^[ \t\n\r\u000c]+/,Jw=/^[, \t\n\r\u000c]+/,Zw=/^[^ \t\n\r\u000c]+/,Xw=/[,]+$/,Fd=/^\d+$/,Qw=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(Cg,"Wi"),e6=Cg,c(Dg,"zi"),Id={width:"w",height:"h",density:"x"},t6=Object.keys(Id),c(ew,"Yi"),r6=Dg,c(tw,"Vn"),sl=new WeakMap,c(Sg,"ji"),Zs=Sg,c(rw,"Un"),c(nw,"Wn"),c(aw,"zn"),c(ow,"Gn"),c(iw,"Ki"),c(Ag,"Qi"),c(lw,"Xi"),c(sw,"Ji"),c(lf,"Yn"),n6=Ag,c(kg,"Zi"),c(uw,"ea"),a6=kg,Dc=new Proxy(()=>{},{get:c(()=>Dc,"get")}),yf=Dc,c(_g,"ta"),Xs=_g,c(si,"se"),c(ui,"ie"),c(Ml,"Ze"),c(cw,"ra"),c(Wn,"Ee"),c(dw,"na"),c(Ir,"W"),c(Vs,"bt"),c(Fa,"Ae"),c(sf,"Xn"),c(Tr,"K"),c(Ia,"De"),c(fa,"ve"),c(ci,"et"),c(pw,"sa"),c(di,"tt"),c(fw,"ia"),c(hw,"aa"),c(Pl,"rt"),c(Gn,"ye"),c(Rr,"z"),c(Us,"Tt"),c(qs,"xt"),c(Fg,"oa"),bf=Fg,o6=new Set(["if","else if","for","switch","case"]),c(Ig,"la"),C2=Ig,Vn=null,c(Kn,"st"),D2=10;for(let e=0;e<=D2;e++)Kn();c(mw,"dr"),c(Tg,"pa"),S2=Tg,A2={"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:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},k2=A2,_2=S2(k2),F2=_2,c(gw,"rs"),c(Rg,"ns"),i6=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"])]]),c(uf,"is"),c(jn,"it"),c(mo,"Bt"),c(Ws,"qe"),c(vw,"as"),c(cf,"os"),c(yw,"ma"),c(bw,"us"),c(ww,"ls"),c(Ew,"cs"),c(xw,"ps"),c(Nl,"Lt"),c(df,"Cr"),c(Hl,"Ft"),c(Cw,"hs"),c(oc,"Sr"),c(ic,"_r"),c(lc,"Er"),l6=/-+([a-z0-9])/g,c(Bg,"ms"),Kl=(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}`}},c(kc,"Ve"),kc),s6=[$g,Lg,Og,Pg,Ng,Vg,Hg,jg,Ug,Mg],c(zg,"Ca"),c($g,"Sa"),c(Lg,"_a"),c(Dw,"Ea"),c(Og,"Aa"),c(Mg,"Da"),c(Pg,"va"),c(Ng,"ya"),c(Hg,"wa"),c(jg,"ba"),c(Vg,"Ta"),c(Ug,"xa"),I2=zg,c(qg,"ka"),T2={preprocess:I2,print:qg,insertPragma:Rg,massageAstNode:E2,embed:C2,getVisitorKeys:F2},R2=T2,B2=[{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"]}],Fc={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."}},Ic="HTML",z2={bracketSameLine:Fc.bracketSameLine,htmlWhitespaceSensitivity:{category:Ic,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:Fc.singleAttributePerLine,vueIndentScriptAndStyle:{category:Ic,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},$2=z2,Tc={},vc(Tc,{angular:c(()=>u5,"angular"),html:c(()=>s5,"html"),lwc:c(()=>d5,"lwc"),vue:c(()=>c5,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(L2||(L2={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(O2||(O2={})),Rc={name:"custom-elements"},Bc={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"}(tn||(tn={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(M2||(M2={})),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"}(mt||(mt={})),c(Lo,"at"),c(sc,"yr"),c(uc,"wr"),c(go,"Ue"),c(Ka,"We"),c(cc,"br"),c(vo,"Nt"),P2=(zc=class{},c(zc,"Rt"),zc),N2="boolean",H2="number",j2="string",V2="object",U2=["[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,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:|"],$c=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),q2=Array.from($c).reduce((e,[t,r])=>(e.set(t,r),e),new Map),u6=(Lc=class extends P2{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,U2.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 u=s&&this._schema.get(s.toLowerCase());if(u){for(let[d,p]of u)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),N2);break;case"#":t.set(d.substring(1),H2);break;case"%":t.set(d.substring(1),V2);break;default:t.set(d,j2)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Bc.name))return!0;if(e.indexOf("-")>-1){if(sc(e)||uc(e))return!1;if(r.some(n=>n.name===Rc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Bc.name)||e.indexOf("-")>-1&&(sc(e)||uc(e)||t.some(r=>r.name===Rc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=cc()[e+"|"+t];return n||(n=cc()["*|"+t],n||tn.NONE)}getMappedPropName(e){return $c.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=>q2.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Bg(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(Wg(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}}},c(Lc,"$t"),Lc),c(Wg,"Oa"),W=(Oc=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=mt.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(u=>this.closedByChildren[u]=!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}},c(Oc,"h"),Oc),c(jl,"ze"),Tn=(Mc=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(Mc,"be"),Mc),G2=(Pc=class extends Tn{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)}},c(Pc,"Ot"),Pc),K2=(Nc=class extends Tn{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)}},c(Nc,"Mt"),Nc),Y2=(Hc=class extends Tn{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)}},c(Hc,"qt"),Hc),J2=(jc=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)}},c(jc,"Ht"),jc),Z2=(Vc=class extends Tn{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}},c(Vc,"Vt"),Vc),rr=(Uc=class extends Tn{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)}},c(Uc,"G"),Uc),X2=(qc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(qc,"Ut"),qc),Q2=(Wc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(Wc,"Wt"),Wc),Gr=(Gc=class{constructor(e,t,r,n,a,o=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=a,this.endSourceSpan=o,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(Gc,"Z"),Gc),Yc=(Kc=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)}},c(Kc,"ut"),Kc),c(Dd,"zt"),c6=(Jc=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){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(Dd(n,o,e))}return c(a,"i"),t(a),Array.prototype.concat.apply([],r)}},c(Jc,"lt"),Jc),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:"‌"},e5="",Fo.ngsp=e5,d6=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(Gg,"ws"),t5=(Mi=class{static fromArray(e){return e?(Gg("interpolation",e),new Mi(e[0],e[1])):Zc}constructor(e,t){this.start=e,this.end=t}},c(Mi,"t"),Mi),Zc=new t5("{{","}}"),Pi=(Xc=class extends _c{constructor(e,t,r){super(r,e),this.tokenType=t}},c(Xc,"pt"),Xc),p6=(Qc=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(Qc,"Pr"),Qc),c(Kg,"Ms"),r5=/\r\n?/g,c(Wr,"Ye"),c(dc,"Ls"),c(Yg,"oo"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Ni||(Ni={})),Hi=(e0=class{constructor(e){this.error=e}},c(e0,"ht"),e0),f6=(t0=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||Zc,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 n5(e,n):new r0(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(r5,` +`)}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._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(30),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>Nl(r)?!e:fc(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(ye),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ye);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(hc);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&&lc(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(hc)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Qg(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 Hi(r)}handleError(e){if(e instanceof ji&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Hi)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return e2(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Wr(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&&!Jg(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(pc,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!Hl(this._cursor.peek()))throw this._createError(Wr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ye);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ye),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ye);let u=this._consumeAttributeValue();a.push({prefix:i,name:s,value:u})}else a.push({prefix:i,name:s});this._attemptCharCodeUntilFn(ye)}this._consumeTagOpenEnd()}catch(i){if(i instanceof Hi){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===mt.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===mt.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ye),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ye),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(Wr(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=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>pc(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(ye),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ye),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ye),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(ye),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ye)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ye),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ye),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ye),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 u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===o?o=null:!i&&o===null&&lc(u)&&(o=u)}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()===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(),fc(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=Ka(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Ka(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(t0,"Nr"),t0),c(ye,"k"),c(pc,"Fs"),c(Jg,"uo"),c(Zg,"lo"),c(Xg,"co"),c(Qg,"po"),c(e2,"ho"),c(Sd,"Ps"),c(fc,"Ns"),c(hc,"Is"),c(Sw,"fo"),r0=(Za=class{constructor(e,t){if(e instanceof Za){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 Za(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 Z(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 ji('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):oc(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 Kl(e.file,e.state.offset,e.state.line,e.state.column)}},c(Za,"t"),Za),n5=(Xa=class extends r0{constructor(e,t){e instanceof Xa?(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 Xa(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(ic(e())){let t="",r=0,n=this.clone();for(;ic(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 oc(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 ji("Invalid hexadecimal escape sequence",e);return n}},c(Xa,"t"),Xa),ji=(n0=class{constructor(e,t){this.msg=e,this.cursor=t}},c(n0,"ft"),n0),We=(Vi=class extends _c{static create(e,t,r){return new Vi(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(Vi,"t"),Vi),a5=(a0=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(a0,"Or"),a0),o5=(o0=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=c(f=>(v,...g)=>f(v.toLowerCase(),...g),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),s=c(f=>i(f).getContentType(),"u"),u=n?a:o(a),d=Kg(e,t,a?(f,v,g,b)=>{let C=u(f,v,g,b);return C!==void 0?C:s(f)}:s,r),p=r&&r.canSelfClose||!1,h=r&&r.allowHtmComponentClosingTags||!1,m=new i5(d.tokens,i,p,h,n);return m.build(),new a5(m.rootNodes,d.errors.concat(m.errors))}},c(o0,"Qt"),o0),i5=(Ui=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!==30;)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===18?this._consumeDocType(this._advance()):this._advance();for(let e of this._containerStack)e instanceof Gr&&this.errors.push(We.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 Z(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new Z(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new J2(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(mc(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(We.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(mc(r,20))r.pop();else return this.errors.push(We.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===30)return this.errors.push(We.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,gc):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new G2(n,new Z(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rr&&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 m=this.getTagDefinition(a);this.canSelfClose||m.canSelfClose||go(a)!==null||m.isVoid||this.errors.push(We.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 Z(e.sourceSpan.start,i,e.sourceSpan.fullStart),u=new Z(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new Z(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new rr(a,n,[],s,u,void 0,d),h=this._getContainer();this._pushContainer(p,h instanceof rr&&this.getTagDefinition(h.name).isClosedByChild(p.name)),o?this._popContainer(a,rr,s):e.type===4&&(this._popContainer(a,rr,null),this.errors.push(We.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(We.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rr,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(We.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(go(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 Gr||o instanceof rr&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Ka(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,gc):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 u=i&&s&&new Z((n==null?void 0:n.sourceSpan.start)??i.start,s,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new Z2(t,a,new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,u,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Yc(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Gr(e.parts[0],t,[],n,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Gr,e.sourceSpan)||this.errors.push(We.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 Yc(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Gr(e.parts[0],t,[],n,a);this._pushContainer(o,!1),this._popContainer(null,Gr,null),this.errors.push(We.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_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 rr)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=Lo(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=go(r.name))}return Ka(e,t)}},c(Ui,"t"),Ui),c(mc,"qs"),c(gc,"Hs"),l5=(i0=class extends o5{constructor(){super(jl)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},c(i0,"Xt"),i0),qi=null,h6=c(()=>(qi||(qi=new l5),qi),"mo"),c(Ad,"Hr"),c(t2,"go"),m6=t2,g6=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s"),c(r2,"So"),v6=r2,Qa={attrs:!0,children:!0,cases:!0,expression:!0},l0=new Set(["parent"]),y6=(Kr=class{constructor(e={}){for(let t of new Set([...l0,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Qa&&(t=t.map(r=>this.createChild(r))),!l0.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Qa){let n=this[r];if(n){let a=n2(n,o=>o.map(e));t!==n&&(t||(t=new Kr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in Qa||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Qa){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(Kr,"t"),Kr),c(n2,"_o"),b6=[{regex:/^(\[if([^\]]*)]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),d5=Ya({name:"lwc",canSelfClose:!1}),p5={html:R2},E6=bc});function x6(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function Qs(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function Ef(e,t){let r;switch(t){case` +`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r +`:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function C6(e){return mi(!1,e,/\r\n?/g,` +`)}function f5(e){if(typeof e=="string")return Lr;if(Array.isArray(e))return dr;if(!e)return;let{type:t}=e;if(Bf.has(t))return t}function h5(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(Or(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=d8([...Bf].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function m5(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===Qd){r(a.pop());continue}r&&a.push(o,Qd);let i=Or(o);if(!i)throw new fn(o);if((t==null?void 0:t(o))!==!1)switch(i){case dr:case Je:{let s=i===dr?o:o.parts;for(let u=s.length,d=u-1;d>=0;--d)a.push(s[d]);break}case He:a.push(o.flatContents,o.breakContents);break;case Oe:if(n&&o.expandedStates)for(let s=o.expandedStates.length,u=s-1;u>=0;--u)a.push(o.expandedStates[u]);else a.push(o.contents);break;case Kt:case Gt:case Yt:case wt:case Jt:a.push(o.contents);break;case Lr:case kr:case Vt:case Ut:case we:case Ze:break;default:throw new fn(o)}}}function jo(e){return Et(e),{type:Gt,contents:e}}function pn(e,t){return Et(t),{type:Kt,contents:t,n:e}}function Rd(e,t={}){return Et(e),ru(t.expandedStates,!0),{type:Oe,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function g5(e){return pn(Number.NEGATIVE_INFINITY,e)}function v5(e){return pn({type:"root"},e)}function y5(e){return pn(-1,e)}function b5(e,t){return Rd(e[0],{...t,expandedStates:e})}function Bd(e){return ru(e),{type:Je,parts:e}}function w5(e,t="",r={}){return Et(e),t!==""&&Et(t),{type:He,breakContents:e,flatContents:t,groupId:r.groupId}}function E5(e,t){return Et(e),{type:Yt,contents:e,groupId:t.groupId,negate:t.negate}}function Yl(e){return Et(e),{type:Jt,contents:e}}function zd(e,t){Et(e),ru(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${h})`}if(o.type===Oe){let p=[];o.break&&o.break!=="propagated"&&p.push("shouldBreak: true"),o.id&&p.push(`id: ${a(o.id)}`);let h=p.length>0?`, { ${p.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(m=>n(m)).join(",")}]${h})`:`group(${n(o.contents)}${h})`}if(o.type===Je)return`fill([${o.parts.map(p=>n(p)).join(", ")}])`;if(o.type===Jt)return"lineSuffix("+n(o.contents)+")";if(o.type===Ut)return"lineSuffixBoundary";if(o.type===wt)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 u=i+(s>0?` #${s}`:"");if(!r.has(u))return r.add(u),t[o]=`Symbol.for(${JSON.stringify(u)})`}}}function C5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function D5(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 S5(e){if(!e)return 0;if(!h8.test(e))return e.length;e=e.replace(p8()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=f8(n)?1:2)}return t}function Vo(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(Or(o)){case dr:return t(o.map(n));case Je:return t({...o,parts:o.parts.map(n)});case He:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case Oe:{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 Kt:case Gt:case Yt:case wt:case Jt:return t({...o,contents:n(o.contents)});case Lr:case kr:case Vt:case Ut:case we:case Ze:return t(o);default:throw new fn(o)}}}function Jl(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 c(o,"u"),es(e,o),n}function S6(e){if(e.type===Oe&&e.break||e.type===we&&e.hard||e.type===Ze)return!0}function A5(e){return Jl(e,S6,!1)}function Ld(e){if(e.length>0){let t=me(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function A6(e){let t=new Set,r=[];function n(o){if(o.type===Ze&&Ld(r),o.type===Oe){if(r.push(o),t.has(o))return!1;t.add(o)}}c(n,"n");function a(o){o.type===Oe&&r.pop().break&&Ld(r)}c(a,"o"),es(e,n,a,!0)}function k6(e){return e.type===we&&!e.hard?e.soft?"":" ":e.type===He?e.flatContents:e}function k5(e){return Vo(e,k6)}function Od(e){for(e=[...e];e.length>=2&&me(!1,e,-2).type===we&&me(!1,e,-1).type===Ze;)e.length-=2;if(e.length>0){let t=Jn(me(!1,e,-1));e[e.length-1]=t}return e}function Jn(e){switch(Or(e)){case Kt:case Gt:case Yt:case Oe:case Jt:case wt:{let t=Jn(e.contents);return{...e,contents:t}}case He:return{...e,breakContents:Jn(e.breakContents),flatContents:Jn(e.flatContents)};case Je:return{...e,parts:Od(e.parts)};case dr:return Od(e);case Lr:return e.replace(/[\n\r]*$/,"");case kr:case Vt:case Ut:case we:case Ze:break;default:throw new fn(e)}return e}function Md(e){return Jn(F6(e))}function _6(e){switch(Or(e)){case Je:if(e.parts.every(t=>t===""))return"";break;case Oe:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Oe&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Kt:case Gt:case Yt:case Jt:if(!e.contents)return"";break;case He:if(!e.flatContents&&!e.breakContents)return"";break;case dr:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof me(!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 Lr:case kr:case Vt:case Ut:case we:case wt:case Ze:break;default:throw new fn(e)}return e}function F6(e){return Vo(e,t=>_6(t))}function _5(e,t=t1){return Vo(e,r=>typeof r=="string"?zd(t,r.split(` +`)):r)}function I6(e){if(e.type===we)return!0}function F5(e){return Jl(e,I6,!1)}function xf(e,t){return e.type===wt?{...e,contents:t(e.contents)}:t(e)}function Cf(){return{value:"",length:0,queue:[]}}function T6(e,t){return Zl(e,{type:"indent"},t)}function R6(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Cf():t<0?Zl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Zl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Zl(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?u(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 m(),{...e,value:a,length:o,queue:n};function u(v){a+=" ".repeat(v),o+=r.tabWidth*v}function d(v){a+=" ".repeat(v),o+=v}function p(){r.useTabs?h():m()}function h(){i>0&&u(i),f()}function m(){s>0&&d(s),f()}function f(){i=0,s=0}}function Xl(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===Zn){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(Zn);return t}function bo(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,s=[e],u=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:d,doc:p}=s.pop();switch(Or(p)){case Lr:u.push(p),r-=rs(p);break;case dr:case Je:{let h=m8(p);for(let m=h.length-1;m>=0;m--)s.push({mode:d,doc:h[m]});break}case Gt:case Kt:case Yt:case wt:s.push({mode:d,doc:p.contents});break;case Vt:r+=Xl(u);break;case Oe:{if(o&&p.break)return!1;let h=p.break?Be:d,m=p.expandedStates&&h===Be?me(!1,p.expandedStates,-1):p.contents;s.push({mode:h,doc:m});break}case He:{let h=(p.groupId?a[p.groupId]||pt:d)===Be?p.breakContents:p.flatContents;h&&s.push({mode:d,doc:h});break}case we:if(d===Be||p.hard)return!0;p.soft||(u.push(" "),r--);break;case Jt:n=!0;break;case Ut:if(n)return!1;break}}return!1}function Uo(e,t){let r={},n=t.printWidth,a=Qs(t.endOfLine),o=0,i=[{ind:Cf(),mode:Be,doc:e}],s=[],u=!1,d=[],p=0;for(A6(e);i.length>0;){let{ind:m,mode:f,doc:v}=i.pop();switch(Or(v)){case Lr:{let g=a!==` +`?mi(!1,v,` +`,a):v;s.push(g),i.length>0&&(o+=rs(g));break}case dr:for(let g=v.length-1;g>=0;g--)i.push({ind:m,mode:f,doc:v[g]});break;case kr:if(p>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Zn),p++;break;case Gt:i.push({ind:T6(m,t),mode:f,doc:v.contents});break;case Kt:i.push({ind:R6(m,v.n,t),mode:f,doc:v.contents});break;case Vt:o-=Xl(s);break;case Oe:switch(f){case pt:if(!u){i.push({ind:m,mode:v.break?Be:pt,doc:v.contents});break}case Be:{u=!1;let g={ind:m,mode:pt,doc:v.contents},b=n-o,C=d.length>0;if(!v.break&&bo(g,i,b,C,r))i.push(g);else if(v.expandedStates){let w=me(!1,v.expandedStates,-1);if(v.break){i.push({ind:m,mode:Be,doc:w});break}else for(let x=1;x=v.expandedStates.length){i.push({ind:m,mode:Be,doc:w});break}else{let E=v.expandedStates[x],D={ind:m,mode:pt,doc:E};if(bo(D,i,b,C,r)){i.push(D);break}}}else i.push({ind:m,mode:Be,doc:v.contents});break}}v.id&&(r[v.id]=me(!1,i,-1).mode);break;case Je:{let g=n-o,{parts:b}=v;if(b.length===0)break;let[C,w]=b,x={ind:m,mode:pt,doc:C},E={ind:m,mode:Be,doc:C},D=bo(x,[],g,d.length>0,r,!0);if(b.length===1){D?i.push(x):i.push(E);break}let S={ind:m,mode:pt,doc:w},A={ind:m,mode:Be,doc:w};if(b.length===2){D?i.push(S,x):i.push(A,E);break}b.splice(0,2);let k={ind:m,mode:f,doc:Bd(b)},F=b[0];bo({ind:m,mode:pt,doc:[C,w,F]},[],g,d.length>0,r,!0)?i.push(k,S,x):D?i.push(k,A,x):i.push(k,A,E);break}case He:case Yt:{let g=v.groupId?r[v.groupId]:f;if(g===Be){let b=v.type===He?v.breakContents:v.negate?v.contents:jo(v.contents);b&&i.push({ind:m,mode:f,doc:b})}if(g===pt){let b=v.type===He?v.flatContents:v.negate?jo(v.contents):v.contents;b&&i.push({ind:m,mode:f,doc:b})}break}case Jt:d.push({ind:m,mode:f,doc:v.contents});break;case Ut:d.length>0&&i.push({ind:m,mode:f,doc:hl});break;case we:switch(f){case pt:if(v.hard)u=!0;else{v.soft||(s.push(" "),o+=1);break}case Be:if(d.length>0){i.push({ind:m,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?m.root?(s.push(a,m.root.value),o=m.root.length):(s.push(a),o=0):(o-=Xl(s),s.push(a+m.value),o=m.length);break}break;case wt:i.push({ind:m,mode:f,doc:v.contents});break;case Ze:break;default:throw new fn(v)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let h=s.indexOf(Zn);if(h!==-1){let m=s.indexOf(Zn,h+1),f=s.slice(0,h).join(""),v=s.slice(h+1,m).join(""),g=s.slice(m+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:s.join("")}}function I5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=c(o=>v8(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*B6(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 $5(e){return e?t=>e(t,a1):b8}function z6(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 eu(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=z6(e)}function rn(e,t){t.leading=!0,t.trailing=!1,eu(e,t)}function Io(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),eu(e,t)}function nn(e,t){t.leading=!1,t.trailing=!0,eu(e,t)}function tu(e,t){if(ml.has(e))return ml.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))??[...Df(e,{getVisitorKeys:gi(a)})]).flatMap(u=>n(u)?[u]:tu(u,t));return s.sort((u,d)=>o(u)-o(d)||i(u)-i(d)),ml.set(e,s),s}function Sf(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),u=tu(e,r),d,p,h=0,m=u.length;for(;h>1,v=u[f],g=a(v),b=o(v);if(g<=i&&s<=b)return Sf(v,t,r,v);if(b<=i){d=v,h=f+1;continue}if(s<=g){p=v,m=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=dl(f,t,r);d&&dl(f,d,r)!==v&&(d=null),p&&dl(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function $6(e,t){let{comments:r}=e;if(delete e.comments,!y8(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:u}=t,{ownLine:d=gl,endOfLine:p=gl,remaining:h=gl}=s,m=r.map((f,v)=>({...Sf(e,f,t),comment:f,text:u,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of m.entries()){let{comment:g,precedingNode:b,enclosingNode:C,followingNode:w,text:x,options:E,ast:D,isLastComment:S}=v;if(E.parser==="json"||E.parser==="json5"||E.parser==="jsonc"||E.parser==="__js_expression"||E.parser==="__ts_expression"||E.parser==="__vue_expression"||E.parser==="__vue_ts_expression"){if(a(g)-a(D)<=0){rn(D,g);continue}if(o(g)-o(D)>=0){nn(D,g);continue}}let A;if(i?A=[v]:(g.enclosingNode=C,g.precedingNode=b,g.followingNode=w,A=[g,x,E,D,S]),L6(x,E,m,f))g.placement="ownLine",d(...A)||(w?rn(w,g):b?nn(b,g):Io(C||D,g));else if(O6(x,E,m,f))g.placement="endOfLine",p(...A)||(b?nn(b,g):w?rn(w,g):Io(C||D,g));else if(g.placement="remaining",!h(...A))if(b&&w){let k=n.length;k>0&&n[k-1].followingNode!==w&&Pd(n,E),n.push(v)}else b?nn(b,g):w?rn(w,g):Io(C||D,g)}if(Pd(n,t),!i)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function L6(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:s}=t,u=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:h}=r[d];if(h!==o||!zf(e.slice(s(p),u)))break;u=i(p)}return ur(e,u,{backwards:!0})}function O6(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:s}=t,u=s(a);if(o)for(let d=n+1;d0;--u){let{comment:d,precedingNode:p,followingNode:h}=e[u-1];as.strictEqual(p,o),as.strictEqual(h,i);let m=t.originalText.slice(t.locEnd(d),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,m,t))??/^[\s(]*$/.test(m))s=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,h)=>t.locStart(p)-t.locStart(h));e.length=0}function dl(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:u,trailing:d}=s;u?a.push(M6(e,t)):d&&(i=P6(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function H6(e,t,r){let{leading:n,trailing:a}=N6(e,r);return!n&&!a?t:xf(t,o=>[n,o,a])}function j6(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 O5(e){return()=>{}}function Nd({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of U6(Object.assign({},...e.map(({options:o})=>o),E8)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...V6(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*V6(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(u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,o)),s=a.name;i!=null&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:o,description:s}}}}function U6(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=me(!1,a.default,-1).value),t.push(a)}return t}function Hd(e,t){if(!t)return;let r=x8(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 q6(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 M5(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=q6(r,t.language)??Hd(r,t.physicalFile)??Hd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function s0(e,t,r,n){return[`Invalid ${an.default.red(n.key(e))} value.`,`Expected ${an.default.blue(r)},`,`but received ${t===i1?an.default.gray("nothing"):an.default.red(n.value(t))}.`].join(" ")}function jd({text:e,list:t},r){let n=[];return e&&n.push(`- ${an.default.blue(e)}`),t&&n.push([`- ${an.default.blue(t.title)}:`].concat(t.values.map(a=>jd(a,r-l1.length).replace(/^|\n/g,`$&${l1}`))).join(` +`)),Vd(n,r)}function Vd(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 P5(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>u?u+1:d;return s}function N5(e,t){let r=new e(t),n=Object.create(r);for(let a of D8)a in t&&(n[a]=W6(t[a],r,or.prototype[a].length));return n}function W6(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function u0({from:e,to:t}){return{from:[e],to:t}}function H5(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 j5(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 V5(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function U5(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function q5(e){return e===Math.floor(e)}function W5(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 G5(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function c0(e){return e===void 0?{}:e}function Ud(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return G6((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(Ud)}}:{text:t}}function d0(e,t){return e===!0?!0:e===!1?{value:t}:e}function p0(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function qd(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 pl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>qd(r,t)):[qd(e,t)]}function f0(e,t){let r=pl(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 G6(e,t){if(!e)throw new Error(t)}function K5(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=Yr;let s=a?Array.isArray(a)?(m,f)=>a.includes(m)?{[m]:f}:void 0:(m,f)=>({[m]:f}):(m,f,v)=>{let{_:g,...b}=v.schemas;return u1(m,f,{...v,schemas:b})},u=K6(t,{isCLI:n,FlagSchema:o}),d=new T8(u,{logger:r,unknown:s,descriptor:i}),p=r!==!1;p&&M0&&(d._hasDeprecationWarned=M0);let h=d.normalize(e);return p&&(M0=d._hasDeprecationWarned),h}function K6(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(A8.create({name:"_"}));for(let a of e)n.push(Y6(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(S8.create({name:a.alias,sourceName:a.name}));return n}function Y6(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=I8,t&&(o.preprocess=Number);break;case"string":i=c1;break;case"choice":i=F8,o.choices=e.choices.map(u=>u!=null&&u.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":i=_8;break;case"flag":i=n,o.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":i=c1;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(u,d,p)=>e.exception(u)||d.validate(u,p):o.validate=(u,d,p)=>u===void 0||d.validate(u,p),e.redirect&&(s.redirect=u=>u?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let u=o.preprocess||(d=>d);o.preprocess=(d,p,h)=>p.preprocess(u(Array.isArray(d)?me(!1,d,-1):d),h)}return e.array?k8.create({...t?{preprocess:c(u=>Array.isArray(u)?u:[u],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function kf(e,t){if(!t)throw new Error("parserName is required.");let r=Lf(!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 $f(n)}function J6(e,t){if(!t)throw new Error("astFormat is required.");let r=Lf(!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 $f(n)}function _f({plugins:e,parser:t}){let r=kf(e,t);return Ff(r,t)}function Ff(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Z6(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function Y5(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=C8(n,{physicalFile:n.filepath}),!n.parser)throw new o1(`No parser could be inferred for file "${n.filepath}".`)}else throw new o1("No parser and no file path given, couldn't infer a parser.");let a=Nd({plugins:e.plugins,showDeprecated:!0}).options,o={...d1,...Object.fromEntries(a.filter(m=>m.default!==void 0).map(m=>[m.name,m.default]))},i=kf(n.plugins,n.parser),s=await Ff(i,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let u=(r=i.printers)!=null&&r[s.astFormat]?i:J6(n.plugins,s.astFormat),d=await Z6(u,s.astFormat);n.printer=d;let p=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter(([,m])=>m!==void 0)):{},h={...o,...p};for(let[m,f]of Object.entries(h))(n[m]===null||n[m]===void 0)&&(n[m]=f);return n.parser==="json"&&(n.trailingComma="none"),R8(n,a,{passThrough:Object.keys(d1),...t})}async function J5(e,t){let r=await _f(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){X6(o,e)}return{text:n,ast:a}}function X6(e,t){let{loc:r}=e;if(r){let n=(0,B8.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function Q6(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:s=c(()=>!1,"s"),getVisitorKeys:u}}=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=gi(i.getVisitorKeys??u),p=[];f();let h=e.stack;for(let{print:v,node:g,pathStack:b}of p)try{e.stack=b;let C=await v(m,t,e,r);C&&a.set(g,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=h;function m(v,g){return e8(v,g,r,n)}c(m,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||s(e))return;for(let b of d(v))Array.isArray(v[b])?e.each(f,b):e.call(f,b);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)}}c(f,"p")}async function e8(e,t,r,n){let a=await En({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Ta(e,a),i=await n(o,a);return Md(i)}function Z5(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:s}=e,u=a(s),d=o(s);for(let p of n)a(p)>=u&&o(p)<=d&&i.add(p);return r.slice(u,d)}async function hi(e,t){({ast:e}=await If(e,t));let r=new Map,n=new g8(e),a=w8(t),o=new Map;await Q6(n,s,t,hi,o);let i=await Wd(n,t,s,void 0,o);return j6(t),i;function s(d,p){return d===void 0||d===n?u(p):Array.isArray(d)?n.call(()=>u(p),...d):n.call(()=>u(p),d)}function u(d){a(n);let p=n.node;if(p==null)return"";let h=p&&typeof p=="object"&&d===void 0;if(h&&r.has(p))return r.get(p);let m=Wd(n,t,s,d,o);return h&&r.set(p,m),m}}function Wd(e,t,r,n,a){var o;let{node:i}=e,{printer:s}=t,u;return(o=s.hasPrettierIgnore)!=null&&o.call(s,e)?u=z8(e,t):a.has(i)?u=a.get(i):u=s.print(e,t,r,n),i===t.cursorNode&&(u=xf(u,d=>[ts,d,ts])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(u=H6(e,u,t)),u}async function If(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,$6(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function X5(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=gi(t.printer.getVisitorKeys),i=c(u=>n(u)<=r&&a(u)>=r,"i"),s=e;for(let u of B6(e,{getVisitorKeys:o,filter:i}))s=u;return s}function Q5(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=gi(n),o=r.ignoredProperties??new Set;return i(e);function i(s,u){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(m=>i(m,u)).filter(Boolean);let d={},p=new Set(a(s));for(let m in s)!Object.prototype.hasOwnProperty.call(s,m)||o.has(m)||(p.has(m)?d[m]=i(s[m],s):d[m]=s[m]);let h=r(s,d,u);if(h!==null)return h??d}}function t8(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>Of.has(a.type)&&n.has(a))}function Gd(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function r8(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 u of Gd(t.parentNodes))if(r(u)>=i)o=u;else break;let s=n(t.node);for(let u of Gd(e.parentNodes)){if(n(u)<=s)a=u;else break;if(a===o)break}return{startNode:a,endNode:o}}function Ql(e,t,r,n,a=[],o){let{locStart:i,locEnd:s}=r,u=i(e),d=s(e);if(!(t>d||tn);let s=e.slice(n,a).search(/\S/),u=s===-1;if(!u)for(n+=s;a>n&&!/\S/.test(e[a-1]);--a);let d=Ql(r,n,t,(f,v)=>Kd(t,f,v),[],"rangeStart"),p=u?d:Ql(r,a,t,f=>Kd(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let h,m;if(O8(t)){let f=t8(d,p);h=f,m=f}else({startNode:h,endNode:m}=r8(d,p,t));return{rangeStart:Math.min(o(h),o(m)),rangeEnd:Math.max(i(h),i(m))}}async function Tf(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Ta(e,t);t.cursorOffset>=0&&(t.cursorNode=$8(n,t));let o=await hi(n,t);r>0&&(o=$d([_r,o],r,t.tabWidth));let i=Uo(o,t);if(r>0){let u=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(u)),i.formatted=u+Qs(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let u,d,p,h,m;if(t.cursorNode&&i.cursorNodeText?(u=t.locStart(t.cursorNode),d=a.slice(u,t.locEnd(t.cursorNode)),p=t.cursorOffset-u,h=i.cursorNodeStart,m=i.cursorNodeText):(u=0,d=a,p=t.cursorOffset,h=0,m=i.formatted),d===m)return{formatted:i.formatted,cursorOffset:h+p,comments:s};let f=d.split("");f.splice(p,0,p1);let v=m.split(""),g=(0,c8.diffArrays)(f,v),b=h;for(let C of g)if(C.removed){if(C.value.includes(p1))break}else b+=C.count;return{formatted:i.formatted,cursorOffset:b,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function o8(e,t){let{ast:r,text:n}=await Ta(e,t),{rangeStart:a,rangeEnd:o}=a8(n,t,r),i=n.slice(a,o),s=Math.min(a,n.lastIndexOf(` +`,a)+1),u=n.slice(s,a).match(/^\s*/)[0],d=ns(u,t.tabWidth),p=await Tf(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),h=p.formatted.trimEnd(),{cursorOffset:m}=t;m>o?m+=h.length-i.length:p.cursorOffset>=0&&(m=p.cursorOffset+a);let f=n.slice(0,a)+h+n.slice(o);if(t.endOfLine!=="lf"){let v=Qs(t.endOfLine);m>=0&&v===`\r +`&&(m+=Ef(f.slice(0,m),` +`)),f=mi(!1,f,` +`,v)}return{formatted:f,cursorOffset:m,comments:p.comments}}function fl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Yd(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=fl(e,r,-1),n=fl(e,n,0),a=fl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function Rf(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Yd(e,t),i=e.charAt(0)===Mf;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=x6(e)),e.includes("\r")){let s=c(u=>Ef(e.slice(0,Math.max(u,0)),`\r +`),"s");r-=s(r),n-=s(n),a-=s(a),e=C6(e)}return{hasBOM:i,text:e,options:Yd(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function Jd(e,t){let r=await _f(t);return!r.hasPragma||r.hasPragma(e)}async function Zd(e,t){let{hasBOM:r,text:n,options:a}=Rf(e,await En(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await Jd(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function ev(e,t,r){let{text:n,options:a}=Rf(e,await En(t)),o=await Ta(n,a);return r&&(r.preprocessForPrint&&(o.ast=await If(o.ast,a)),r.massage&&(o.ast=L8(o.ast,a))),o}async function tv(e,t){t=await En(t);let r=await hi(e,t);return Uo(r,t)}async function rv(e,t){let r=D6(e),{formatted:n}=await Zd(r,{...t,parser:"__js_expression"});return n}async function nv(e,t){t=await En(t);let{ast:r}=await Ta(e,t);return hi(r,t)}async function av(e,t){return Uo(e,await En(t))}function ov(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 dv(e,t){let r=au(e,t);return r===!1?"":e.charAt(r)}function pv(e,t,r){for(let n=t;ni===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+a+t}function l8(e,t,r){return au(e,r(t))}function mv(e,t){return arguments.length===2||typeof t=="number"?au(e,t):l8(...arguments)}function s8(e,t,r){return nu(e,r(t))}function gv(e,t){return arguments.length===2||typeof t=="number"?nu(e,t):s8(...arguments)}function u8(e,t,r){return ls(e,r(t))}function vv(e,t){return arguments.length===2||typeof t=="number"?ls(e,t):u8(...arguments)}function br(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 Xd(e,t){let{formatted:r}=await f1(e,{...t,cursorOffset:-1});return r}async function yv(e,t){return await Xd(e,t)===e}var bv,eo,wv,Ev,xv,Cv,Dv,to,ro,h0,Bn,Sv,Av,m0,zn,kv,_v,no,g0,Fv,Iv,Tv,Rv,v0,Bv,mi,c8,Lr,dr,kr,Gt,Kt,Vt,Oe,Je,He,Yt,Jt,Ut,we,wt,Ze,Bf,Or,d8,y0,zv,fn,Qd,es,b0,Et,ru,$v,wo,Lv,hl,w0,e1,Ov,_r,t1,ts,Mv,me,p8,f8,h8,rs,m8,Be,pt,Zn,ns,Wi,E0,ao,Gi,x0,Pv,g8,C0,as,v8,Nv,pr,r1,n1,zr,ur,y8,a1,b8,gi,ml,gl,zf,nu,w8,D0,$f,S0,o1,E8,x8,C8,Yr,A0,Hv,an,i1,oo,l1,jv,k0,vl,s1,u1,D8,_0,or,F0,S8,I0,A8,T0,k8,R0,_8,B0,F8,z0,Vv,$0,I8,L0,c1,Uv,qv,Wv,Gv,O0,T8,M0,R8,Kv,Lf,d1,En,B8,Ta,z8,$8,L8,O8,Of,M8,Mf,p1,P0,Yv,Jv,Zv,Xv,N0,os,is,au,ls,Qv,e4,t4,r4,n4,a4,f1,o4,i4,P8,qk=B(()=>{bv=Object.create,eo=Object.defineProperty,wv=Object.getOwnPropertyDescriptor,Ev=Object.getOwnPropertyNames,xv=Object.getPrototypeOf,Cv=Object.prototype.hasOwnProperty,Dv=c((e,t)=>()=>(e&&(t=e(e=0)),t),"Eu"),to=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"Me"),ro=c((e,t)=>{for(var r in t)eo(e,r,{get:t[r],enumerable:!0})},"We"),h0=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ev(t))!Cv.call(e,a)&&a!==r&&eo(e,a,{get:c(()=>t[a],"get"),enumerable:!(n=wv(t,a))||n.enumerable});return e},"ur"),Bn=c((e,t,r)=>(r=e!=null?bv(xv(e)):{},h0(t||!e||!e.__esModule?eo(r,"default",{value:e,enumerable:!0}):r,e)),"he"),Sv=c(e=>h0(eo({},"__esModule",{value:!0}),e),"Cu"),Av=c((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},"hu"),m0=c((e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},"ht"),zn=c((e,t,r)=>(Av(e,t,"access private method"),r),"ce"),kv=to(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}c(t,"or"),t.prototype={diff:c(function(a,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.callback;typeof i=="function"&&(s=i,i={}),this.options=i;var u=this;function d(w){return s?(setTimeout(function(){s(void 0,w)},0),!0):w}c(d,"i"),a=this.castInput(a),o=this.castInput(o),a=this.removeEmpty(this.tokenize(a)),o=this.removeEmpty(this.tokenize(o));var p=o.length,h=a.length,m=1,f=p+h;i.maxEditLength&&(f=Math.min(f,i.maxEditLength));var v=[{newPos:-1,components:[]}],g=this.extractCommon(v[0],o,a,0);if(v[0].newPos+1>=p&&g+1>=h)return d([{value:this.join(o),count:o.length}]);function b(){for(var w=-1*m;w<=m;w+=2){var x=void 0,E=v[w-1],D=v[w+1],S=(D?D.newPos:0)-w;E&&(v[w-1]=void 0);var A=E&&E.newPos+1=p&&S+1>=h)return d(r(u,x.components,o,a,u.useLongestToken));v[w]=x}m++}if(c(b,"p"),s)c(function w(){setTimeout(function(){if(m>f)return s();b()||w()},0)},"F")();else for(;m<=f;){var C=b();if(C)return C}},"diff"),pushComponent:c(function(a,o,i){var s=a[a.length-1];s&&s.added===o&&s.removed===i?a[a.length-1]={count:s.count+1,added:o,removed:i}:a.push({count:1,added:o,removed:i})},"pushComponent"),extractCommon:c(function(a,o,i,s){for(var u=o.length,d=i.length,p=a.newPos,h=p-s,m=0;p+1C.length?x:C}),f.value=a.join(g)}else f.value=a.join(i.slice(h,h+f.count));h+=f.count,f.added||(m+=f.count)}}var b=o[p-1];return p>1&&typeof b.value=="string"&&(b.added||b.removed)&&a.equals("",b.value)&&(o[p-2].value+=b.value,o.pop()),o}c(r,"yu");function n(a){return{newPos:a.newPos,components:a.components.slice(0)}}c(n,"Au")}),_v=to(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=a,e.arrayDiff=void 0;var t=r(kv());function r(o){return o&&o.__esModule?o:{default:o}}c(r,"_u");var n=new t.default;e.arrayDiff=n,n.tokenize=function(o){return o.slice()},n.join=n.removeEmpty=function(o){return o};function a(o,i,s){return n.diff(o,i,s)}c(a,"ku")}),no=to((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),g0={},ro(g0,{default:c(()=>Iv,"default"),shouldHighlight:c(()=>Fv,"shouldHighlight")}),Tv=Dv(()=>{Fv=c(()=>!1,"Eo"),Iv=String}),Rv=to(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=h,e.default=m;var t=(Tv(),Sv(g0)),r=a(no(),!0);function n(f){if(typeof WeakMap!="function")return null;var v=new WeakMap,g=new WeakMap;return(n=c(function(b){return b?g:v},"Tn"))(f)}c(n,"Tn");function a(f,v){if(!v&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var g=n(v);if(g&&g.has(f))return g.get(f);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in f)if(w!=="default"&&Object.prototype.hasOwnProperty.call(f,w)){var x=C?Object.getOwnPropertyDescriptor(f,w):null;x&&(x.get||x.set)?Object.defineProperty(b,w,x):b[w]=f[w]}return b.default=f,g&&g.set(f,b),b}c(a,"ho");var o;function i(f){return f?(o!=null||(o=new r.default.constructor({enabled:!0,level:1})),o):r.default}c(i,"go");var s=!1;function u(f){return{gutter:f.grey,marker:f.red.bold,message:f.red.bold}}c(u,"yo");var d=/\r\n|[\n\r\u2028\u2029]/;function p(f,v,g){let b=Object.assign({column:0,line:-1},f.start),C=Object.assign({},b,f.end),{linesAbove:w=2,linesBelow:x=3}=g||{},E=b.line,D=b.column,S=C.line,A=C.column,k=Math.max(E-(w+1),0),F=Math.min(v.length,S+x);E===-1&&(k=0),S===-1&&(F=v.length);let T=S-E,R={};if(T)for(let $=0;$<=T;$++){let z=$+E;if(!D)R[z]=!0;else if($===0){let O=v[z-1].length;R[z]=[D,O-D+1]}else if($===T)R[z]=[0,A];else{let O=v[z-$].length;R[z]=[0,O]}}else D===A?D?R[E]=[D,0]:R[E]=!0:R[E]=[D,A-D];return{start:k,end:F,markerLines:R}}c(p,"Ao");function h(f,v,g={}){let b=(g.highlightCode||g.forceColor)&&(0,t.shouldHighlight)(g),C=i(g.forceColor),w=u(C),x=c((R,$)=>b?R($):$,"i"),E=f.split(d),{start:D,end:S,markerLines:A}=p(v,E,g),k=v.start&&typeof v.start.column=="number",F=String(S).length,T=(b?(0,t.default)(f,g):f).split(d,S).slice(D,S).map((R,$)=>{let z=D+1+$,O=` ${` ${z}`.slice(-F)} |`,L=A[z],M=!A[z+1];if(L){let j="";if(Array.isArray(L)){let G=R.slice(0,Math.max(L[0]-1,0)).replace(/[^\t]/g," "),H=L[1]||1;j=[` + `,x(w.gutter,O.replace(/\d/g," "))," ",G,x(w.marker,"^").repeat(H)].join(""),M&&g.message&&(j+=" "+x(w.message,g.message))}return[x(w.marker,">"),x(w.gutter,O),R.length>0?` ${R}`:"",j].join("")}else return` ${x(w.gutter,O)}${R.length>0?` ${R}`:""}`}).join(` +`);return g.message&&!k&&(T=`${" ".repeat(F+1)}${g.message} +${T}`),b?C.reset(T):T}c(h,"vn");function m(f,v,g,b={}){if(!s){s=!0;let C="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let w=new Error(C);w.name="DeprecationWarning",console.warn(new Error(C))}}return g=Math.max(g,0),h(f,{start:{column:g,line:v}},b)}c(m,"Bo")}),v0={},ro(v0,{__debug:c(()=>i4,"__debug"),check:c(()=>yv,"check"),doc:c(()=>P0,"doc"),format:c(()=>Xd,"format"),formatWithCursor:c(()=>f1,"formatWithCursor"),getSupportInfo:c(()=>o4,"getSupportInfo"),util:c(()=>N0,"util"),version:c(()=>Xv,"version")}),Bv=c((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)},"gu"),mi=Bv,c8=Bn(_v(),1),c(x6,"Dr"),c(Qs,"Ae"),c(Ef,"yt"),c(C6,"ar"),Lr="string",dr="array",kr="cursor",Gt="indent",Kt="align",Vt="trim",Oe="group",Je="fill",He="if-break",Yt="indent-if-break",Jt="line-suffix",Ut="line-suffix-boundary",we="line",wt="label",Ze="break-parent",Bf=new Set([kr,Gt,Kt,Vt,Oe,Je,He,Yt,Jt,Ut,we,wt,Ze]),c(f5,"xu"),Or=f5,d8=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"bu"),c(h5,"wu"),zv=(y0=class extends Error{constructor(t){super(h5(t));yr(this,"name","InvalidDocError");this.doc=t}},c(y0,"At"),y0),fn=zv,Qd={},c(m5,"Ou"),es=m5,b0=c(()=>{},"lr"),Et=b0,ru=b0,c(jo,"ie"),c(pn,"oe"),c(Rd,"Bt"),c(g5,"fr"),c(v5,"Fr"),c(y5,"pr"),c(b5,"dr"),c(Bd,"Ge"),c(w5,"mr"),c(E5,"Er"),c(Yl,"_e"),$v={type:Ut},wo={type:Ze},Lv={type:Vt},hl={type:we,hard:!0},w0={type:we,hard:!0,literal:!0},e1={type:we},Ov={type:we,soft:!0},_r=[hl,wo],t1=[w0,wo],ts={type:kr},c(zd,"be"),c($d,"qe"),c(x5,"yr"),c($t,"J"),c(D6,"Ar"),Mv=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Nu"),me=Mv,p8=c(()=>/[#*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,"Br"),c(C5,"_r"),c(D5,"kr"),f8=c(e=>!(C5(e)||D5(e)),"xr"),h8=/[^\x20-\x7F]/,c(S5,"Tu"),rs=S5,m8=c(e=>{if(Array.isArray(e))return e;if(e.type!==Je)throw new Error(`Expect doc to be 'array' or '${Je}'.`);return e.parts},"Or"),c(Vo,"Ne"),c(Jl,"Je"),c(S6,"vu"),c(A5,"Nr"),c(Ld,"br"),c(A6,"Sr"),c(k6,"Pu"),c(k5,"Tr"),c(Od,"wr"),c(Jn,"Oe"),c(Md,"Xe"),c(_6,"Lu"),c(F6,"Iu"),c(_5,"vr"),c(I6,"Ru"),c(F5,"Pr"),c(xf,"Ze"),Be=Symbol("MODE_BREAK"),pt=Symbol("MODE_FLAT"),Zn=Symbol("cursor"),c(Cf,"Lr"),c(T6,"Yu"),c(R6,"ju"),c(Zl,"kt"),c(Xl,"xt"),c(bo,"Qe"),c(Uo,"fe"),c(I5,"Vu"),ns=I5,Pv=(x0=class{constructor(e){m0(this,Wi),m0(this,ao),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return me(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:me(!1,this.stack,-2)}get node(){return me(!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=me(!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[...zn(this,ao,Gi).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?me(!1,e,-2):null}getValue(){return me(!1,this.stack,-1)}getNode(e=0){let t=zn(this,Wi,E0).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=me(!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=zn(this,Wi,E0).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=me(!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 zn(this,ao,Gi).call(this))if(e(t))return t}hasAncestor(e){for(let t of zn(this,ao,Gi).call(this))if(e(t))return!0;return!1}},c(x0,"bt"),x0),Wi=new WeakSet,E0=c(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},"wt"),ao=new WeakSet,Gi=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"et"),g8=Pv,C0=new Proxy(()=>{},{get:c(()=>C0,"get")}),as=C0,c(T5,"$u"),v8=T5,c(Df,"Ot"),c(B6,"jr"),c(Rn,"de"),Nv=Rn(/\s/),pr=Rn(" "),r1=Rn(",; "),n1=Rn(/[^\n\r]/),c(R5,"Mu"),zr=R5,c(B5,"Wu"),ur=B5,c(z5,"Uu"),y8=z5,a1=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),b8=c(e=>Object.keys(e).filter(t=>!a1.has(t)),"zu"),c($5,"Gu"),gi=$5,c(z6,"Ku"),c(eu,"St"),c(rn,"te"),c(Io,"X"),c(nn,"re"),ml=new WeakMap,c(tu,"nt"),c(Sf,"Wr"),gl=c(()=>!1,"vt"),c($6,"Ur"),zf=c(e=>!/[\S\n\u2028\u2029]/.test(e),"zr"),c(L6,"Hu"),c(O6,"qu"),c(Pd,"Mr"),c(dl,"Pt"),c(L5,"Ju"),nu=L5,c(Af,"Gr"),c(M6,"Xu"),c(P6,"Zu"),c(N6,"Qu"),c(H6,"Kr"),c(j6,"Hr"),c(O5,"eo"),w8=O5,$f=(D0=class extends Error{constructor(){super(...arguments);yr(this,"name","ConfigError")}},c(D0,"Le"),D0),o1=(S0=class extends Error{constructor(){super(...arguments);yr(this,"name","UndefinedParserError")}},c(S0,"Ie"),S0),E8={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:c(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:c(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."}]}},c(Nd,"ut"),c(V6,"to"),c(U6,"ro"),x8=c(e=>String(e).split(/[/\\]/).pop(),"no"),c(Hd,"Xr"),c(q6,"uo"),c(M5,"oo"),C8=M5,Yr={key:c(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=>Yr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Yr.key(r)}: ${Yr.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>Yr.value({[e]:t}),"pair")},A0=Bn(no(),1),Hv=c((e,t,{descriptor:r})=>{let n=[`${A0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${A0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"tn"),an=Bn(no(),1),i1=Symbol.for("vnopts.VALUE_NOT_EXIST"),oo=Symbol.for("vnopts.VALUE_UNCHANGED"),l1=" ".repeat(2),jv=c((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(s0(e,t,n,r.descriptor)),a&&o.push([s0(e,t,a.title,r.descriptor)].concat(a.values.map(i=>jd(i,r.loggerPrintWidth))).join(` +`)),Vd(o,r.loggerPrintWidth)},"un"),c(s0,"nn"),c(jd,"on"),c(Vd,"sn"),k0=Bn(no(),1),vl=[],s1=[],c(P5,"Rt"),u1=c((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${k0.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>P5(e,s)<3);i&&o.push(`Did you mean ${k0.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"it"),D8=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(N5,"so"),or=(_0=class{static create(e){return N5(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 oo}},c(_0,"w"),_0),c(W6,"Do"),S8=(F0=class extends or{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}},c(F0,"st"),F0),A8=(I0=class extends or{expected(){return"anything"}validate(){return!0}},c(I0,"Dt"),I0),k8=(T0=class extends or{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(u0))}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(u0))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(T0,"at"),T0),c(u0,"an"),_8=(R0=class extends or{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(R0,"ct"),R0),c(H5,"ln"),c(j5,"fn"),c(V5,"Fn"),c(U5,"pn"),c(q5,"dn"),c(W5,"mn"),c(G5,"En"),c(c0,"jt"),c(Ud,"Vt"),c(d0,"$t"),c(p0,"Mt"),c(qd,"cn"),c(pl,"lt"),c(f0,"Wt"),c(G6,"ao"),F8=(B0=class extends or{constructor(e){super(e),this._choices=j5(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(W5).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}},c(B0,"ft"),B0),Vv=(z0=class extends or{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(z0,"Ft"),z0),I8=($0=class extends Vv{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&q5(e)}},c($0,"pt"),$0),c1=(L0=class extends or{expected(){return"a string"}validate(e){return typeof e=="string"}},c(L0,"Ye"),L0),Uv=Yr,qv=u1,Wv=jv,Gv=Hv,T8=(O0=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=Uv,unknown:o=qv,invalid:i=Wv,deprecated:s=Gv,missing:u=c(()=>!1,"a"),required:d=c(()=>!1,"c"),preprocess:p=c(m=>m,"d"),postprocess:h=c(()=>oo,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:H5(e,"name"),normalizeDefaultResult:c0,normalizeExpectedResult:Ud,normalizeDeprecatedResult:p0,normalizeForwardResult:pl,normalizeRedirectResult:f0,normalizeValidateResult:d0},this._unknownHandler=o,this._invalidHandler=G5(i),this._deprecatedHandler=s,this._identifyMissing=(m,f)=>!(m in f)||u(m,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=h,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=V5()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{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=c0(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!==oo&&(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 u=c(({from:h,to:m})=>{r.push(typeof m=="string"?{[m]:h}:{[m.key]:m.value})},"a"),d=c(({value:h,redirectTo:m})=>{let f=p0(i.deprecated(h,this._utils),s,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,m,this._utils));else for(let{value:v}of f){let g={key:o,value:v};if(!this._hasDeprecationWarned(g)){let b=typeof m=="string"?{key:m,value:v}:m;this._utils.logger.warn(this._deprecatedHandler(g,b,this._utils))}}},"c");pl(i.forward(s,this._utils),s).forEach(u);let p=f0(i.redirect(s,this._utils),s);if(p.redirect.forEach(u),"remain"in p){let h=p.remain;t[o]=o in t?i.overlap(t[o],h,this._utils):h,d({value:h})}for(let{from:h,to:m}of p.redirect)d({value:h,redirectTo:m})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(s,u)=>{r.push({[s]:u})})}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,i1,this._utils)}_partitionOptionKeys(e){let[t,r]=U5(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=d0(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!==oo){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 u=this._utils.schemas[i];this._applyValidation(s,i,u),e[i]=s})}}}}},c(O0,"dt"),O0),c(K5,"lo"),c(K6,"fo"),c(Y6,"Fo"),R8=K5,Kv=c((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}}},"po"),Lf=Kv,c(kf,"Gt"),c(J6,"Bn"),c(_f,"mt"),c(Ff,"Kt"),c(Z6,"_n"),d1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(Y5,"mo"),En=Y5,B8=Bn(Rv(),1),c(J5,"_o"),c(X6,"ko"),Ta=J5,c(Q6,"In"),c(e8,"xo"),c(Z5,"bo"),z8=Z5,c(hi,"je"),c(Wd,"Yn"),c(If,"qt"),c(X5,"wo"),$8=X5,c(Q5,"Oo"),L8=Q5,O8=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","No"),c(t8,"So"),c(Gd,"$n"),c(r8,"To"),c(Ql,"Jt"),c(n8,"vo"),Of=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),M8=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(Kd,"Mn"),c(a8,"Un"),Mf="\uFEFF",p1=Symbol("cursor"),c(Tf,"Jn"),c(o8,"Lo"),c(fl,"Xt"),c(Yd,"Gn"),c(Rf,"Xn"),c(Jd,"Kn"),c(Zd,"Zt"),c(ev,"Zn"),c(tv,"Qn"),c(rv,"eu"),c(nv,"tu"),c(av,"ru"),P0={},ro(P0,{builders:c(()=>Yv,"builders"),printer:c(()=>Jv,"printer"),utils:c(()=>Zv,"utils")}),Yv={join:zd,line:e1,softline:Ov,hardline:_r,literalline:t1,group:Rd,conditionalGroup:b5,fill:Bd,lineSuffix:Yl,lineSuffixBoundary:$v,cursor:ts,breakParent:wo,ifBreak:w5,trim:Lv,indent:jo,indentIfBreak:E5,align:pn,addAlignmentToDoc:$d,markAsRoot:v5,dedentToRoot:g5,dedent:y5,hardlineWithoutBreakParent:hl,literallineWithoutBreakParent:w0,label:x5,concat:c(e=>e,"concat")},Jv={printDocToString:Uo},Zv={willBreak:A5,traverseDoc:es,findInDoc:Jl,mapDoc:Vo,removeLines:k5,stripTrailingHardline:Md,replaceEndOfLine:_5,canBreak:F5},Xv="3.2.5",N0={},ro(N0,{addDanglingComment:c(()=>Io,"addDanglingComment"),addLeadingComment:c(()=>rn,"addLeadingComment"),addTrailingComment:c(()=>nn,"addTrailingComment"),getAlignmentSize:c(()=>ns,"getAlignmentSize"),getIndentSize:c(()=>Qv,"getIndentSize"),getMaxContinuousCount:c(()=>e4,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>t4,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>mv,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>rs,"getStringWidth"),hasNewline:c(()=>ur,"hasNewline"),hasNewlineInRange:c(()=>r4,"hasNewlineInRange"),hasSpaces:c(()=>n4,"hasSpaces"),isNextLineEmpty:c(()=>vv,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>ls,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>gv,"isPreviousLineEmpty"),makeString:c(()=>a4,"makeString"),skip:c(()=>Rn,"skip"),skipEverythingButNewLine:c(()=>n1,"skipEverythingButNewLine"),skipInlineComment:c(()=>os,"skipInlineComment"),skipNewline:c(()=>zr,"skipNewline"),skipSpaces:c(()=>pr,"skipSpaces"),skipToLineEnd:c(()=>r1,"skipToLineEnd"),skipTrailingComment:c(()=>is,"skipTrailingComment"),skipWhitespace:c(()=>Nv,"skipWhitespace")}),c(ov,"Vo"),os=ov,c(iv,"$o"),is=iv,c(lv,"Mo"),au=lv,c(sv,"Wo"),ls=sv,c(uv,"Uo"),Qv=uv,c(i8,"er"),c(cv,"zo"),e4=cv,c(dv,"Go"),t4=dv,c(pv,"Ko"),r4=pv,c(fv,"Ho"),n4=fv,c(hv,"qo"),a4=hv,c(l8,"Jo"),c(mv,"Xo"),c(s8,"Zo"),c(gv,"Qo"),c(u8,"ei"),c(vv,"ti"),c(br,"ae"),f1=br(Zd),c(Xd,"lu"),c(yv,"ri"),o4=br(Nd,0),i4={parse:br(ev),formatAST:br(tv),formatDoc:br(rv),printToDoc:br(nv),printDocToString:br(av)},P8=v0});function N8(e){for(var t=[],r=1;r{c(N8,"dedent")}),H8={};Aa(H8,{formatter:()=>j8});var l4,j8,Gk=B(()=>{l4=De(Ls(),1),Uk(),qk(),Wk(),j8=(0,l4.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?N8(t):(await P8.format(t,{parser:e,plugins:[E6],htmlWhitespaceSensitivity:"ignore"})).trim())}),h1,m1,Kk=B(()=>{h1=c(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),m1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),$e,Qe,et,Le,ss,Xn,sn,Qn,V8,Pf,Un,U8,g1,Nf,s4,u4,c4,d4,p4,f4,h4,m4,g4,q8,at=B(()=>{$e="top",Qe="bottom",et="right",Le="left",ss="auto",Xn=[$e,Qe,et,Le],sn="start",Qn="end",V8="clippingParents",Pf="viewport",Un="popper",U8="reference",g1=Xn.reduce(function(e,t){return e.concat([t+"-"+sn,t+"-"+Qn])},[]),Nf=[].concat(Xn,[ss]).reduce(function(e,t){return e.concat([t,t+"-"+sn,t+"-"+Qn])},[]),s4="beforeRead",u4="read",c4="afterRead",d4="beforeMain",p4="main",f4="afterMain",h4="beforeWrite",m4="write",g4="afterWrite",q8=[s4,u4,c4,d4,p4,f4,h4,m4,g4]});function xt(e){return e?(e.nodeName||"").toLowerCase():null}var xn=B(()=>{c(xt,"getNodeName")});function Ve(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qt=B(()=>{c(Ve,"getWindow")});function $r(e){var t=Ve(e).Element;return e instanceof t||e instanceof Element}function Xe(e){var t=Ve(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ou(e){if(typeof ShadowRoot>"u")return!1;var t=Ve(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ot=B(()=>{Qt(),c($r,"isElement"),c(Xe,"isHTMLElement"),c(ou,"isShadowRoot")});function v4(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];!Xe(o)||!xt(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 y4(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(u,d){return u[d]="",u},{});!Xe(a)||!xt(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(u){a.removeAttribute(u)}))})}}var W8,Yk=B(()=>{xn(),ot(),c(v4,"applyStyles"),c(y4,"effect"),W8={name:"applyStyles",enabled:!0,phase:"write",fn:v4,effect:y4,requires:["computeStyles"]}});function yt(e){return e.split("-")[0]}var Cn=B(()=>{c(yt,"getBasePlacement")}),Fr,qo,hn,Dn=B(()=>{Fr=Math.max,qo=Math.min,hn=Math.round});function us(){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 G8=B(()=>{c(us,"getUAString")});function Hf(){return!/^((?!chrome|android).)*safari/i.test(us())}var K8=B(()=>{G8(),c(Hf,"isLayoutViewport")});function mn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Xe(e)&&(a=e.offsetWidth>0&&hn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&hn(n.height)/e.offsetHeight||1);var i=$r(e)?Ve(e):window,s=i.visualViewport,u=!Hf()&&r,d=(n.left+(u&&s?s.offsetLeft:0))/a,p=(n.top+(u&&s?s.offsetTop:0))/o,h=n.width/a,m=n.height/o;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}var yi=B(()=>{ot(),Dn(),Qt(),K8(),c(mn,"getBoundingClientRect")});function iu(e){var t=mn(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 jf=B(()=>{yi(),c(iu,"getLayoutRect")});function Vf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&ou(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var Y8=B(()=>{ot(),c(Vf,"contains")});function Zt(e){return Ve(e).getComputedStyle(e)}var bi=B(()=>{Qt(),c(Zt,"getComputedStyle")});function J8(e){return["table","td","th"].indexOf(xt(e))>=0}var Jk=B(()=>{xn(),c(J8,"isTableElement")});function vr(e){return(($r(e)?e.ownerDocument:e.document)||window.document).documentElement}var Mr=B(()=>{ot(),c(vr,"getDocumentElement")});function wi(e){return xt(e)==="html"?e:e.assignedSlot||e.parentNode||(ou(e)?e.host:null)||vr(e)}var lu=B(()=>{xn(),Mr(),ot(),c(wi,"getParentNode")});function v1(e){return!Xe(e)||Zt(e).position==="fixed"?null:e.offsetParent}function Z8(e){var t=/firefox/i.test(us()),r=/Trident/i.test(us());if(r&&Xe(e)){var n=Zt(e);if(n.position==="fixed")return null}var a=wi(e);for(ou(a)&&(a=a.host);Xe(a)&&["html","body"].indexOf(xt(a))<0;){var o=Zt(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 Ra(e){for(var t=Ve(e),r=v1(e);r&&J8(r)&&Zt(r).position==="static";)r=v1(r);return r&&(xt(r)==="html"||xt(r)==="body"&&Zt(r).position==="static")?t:r||Z8(e)||t}var Ei=B(()=>{Qt(),xn(),bi(),ot(),Jk(),lu(),G8(),c(v1,"getTrueOffsetParent"),c(Z8,"getContainingBlock"),c(Ra,"getOffsetParent")});function su(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Uf=B(()=>{c(su,"getMainAxisFromPlacement")});function ea(e,t,r){return Fr(e,qo(t,r))}function X8(e,t,r){var n=ea(e,t,r);return n>r?r:n}var Q8=B(()=>{Dn(),c(ea,"within"),c(X8,"withinMaxClamp")});function qf(){return{top:0,right:0,bottom:0,left:0}}var eE=B(()=>{c(qf,"getFreshSideObject")});function Wf(e){return Object.assign({},qf(),e)}var tE=B(()=>{eE(),c(Wf,"mergePaddingObject")});function Gf(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var rE=B(()=>{c(Gf,"expandToHashMap")});function b4(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=yt(r.placement),u=su(s),d=[Le,et].indexOf(s)>=0,p=d?"height":"width";if(!(!o||!i)){var h=nE(a.padding,r),m=iu(o),f=u==="y"?$e:Le,v=u==="y"?Qe:et,g=r.rects.reference[p]+r.rects.reference[u]-i[u]-r.rects.popper[p],b=i[u]-r.rects.reference[u],C=Ra(o),w=C?u==="y"?C.clientHeight||0:C.clientWidth||0:0,x=g/2-b/2,E=h[f],D=w-m[p]-h[v],S=w/2-m[p]/2+x,A=ea(E,S,D),k=u;r.modifiersData[n]=(t={},t[k]=A,t.centerOffset=A-S,t)}}function w4(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)||Vf(t.elements.popper,a)&&(t.elements.arrow=a))}var nE,aE,Zk=B(()=>{Cn(),jf(),Y8(),Ei(),Uf(),Q8(),tE(),rE(),at(),nE=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Wf(typeof e!="number"?e:Gf(e,Xn))},"toPaddingObject"),c(b4,"arrow"),c(w4,"effect"),aE={name:"arrow",enabled:!0,phase:"main",fn:b4,effect:w4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function gn(e){return e.split("-")[1]}var xi=B(()=>{c(gn,"getVariation")});function oE(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:hn(r*a)/a||0,y:hn(n*a)/a||0}}function y1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,h=e.isFixed,m=i.x,f=m===void 0?0:m,v=i.y,g=v===void 0?0:v,b=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=b.x,g=b.y;var C=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),x=Le,E=$e,D=window;if(d){var S=Ra(r),A="clientHeight",k="clientWidth";if(S===Ve(r)&&(S=vr(r),Zt(S).position!=="static"&&s==="absolute"&&(A="scrollHeight",k="scrollWidth")),S=S,a===$e||(a===Le||a===et)&&o===Qn){E=Qe;var F=h&&S===D&&D.visualViewport?D.visualViewport.height:S[A];g-=F-n.height,g*=u?1:-1}if(a===Le||(a===$e||a===Qe)&&o===Qn){x=et;var T=h&&S===D&&D.visualViewport?D.visualViewport.width:S[k];f-=T-n.width,f*=u?1:-1}}var R=Object.assign({position:s},d&&iE),$=p===!0?oE({x:f,y:g},Ve(r)):{x:f,y:g};if(f=$.x,g=$.y,u){var z;return Object.assign({},R,(z={},z[E]=w?"0":"",z[x]=C?"0":"",z.transform=(D.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",z))}return Object.assign({},R,(t={},t[E]=w?g+"px":"",t[x]=C?f+"px":"",t.transform="",t))}function E4(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,u=s===void 0?!0:s,d={placement:yt(t.placement),variation:gn(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,y1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,y1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var iE,lE,Xk=B(()=>{at(),Ei(),Qt(),Mr(),bi(),Cn(),xi(),Dn(),iE={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(oE,"roundOffsetsByDPR"),c(y1,"mapToStyles"),c(E4,"computeStyles"),lE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:E4,data:{}}});function x4(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,u=Ve(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",r.update,Eo)}),s&&u.addEventListener("resize",r.update,Eo),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",r.update,Eo)}),s&&u.removeEventListener("resize",r.update,Eo)}}var Eo,sE,Qk=B(()=>{Qt(),Eo={passive:!0},c(x4,"effect"),sE={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:x4,data:{}}});function To(e){return e.replace(/left|right|bottom|top/g,function(t){return uE[t]})}var uE,e_=B(()=>{uE={left:"right",right:"left",bottom:"top",top:"bottom"},c(To,"getOppositePlacement")});function b1(e){return e.replace(/start|end/g,function(t){return cE[t]})}var cE,t_=B(()=>{cE={start:"end",end:"start"},c(b1,"getOppositeVariationPlacement")});function uu(e){var t=Ve(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var Kf=B(()=>{Qt(),c(uu,"getWindowScroll")});function cu(e){return mn(vr(e)).left+uu(e).scrollLeft}var Yf=B(()=>{yi(),Mr(),Kf(),c(cu,"getWindowScrollBarX")});function dE(e,t){var r=Ve(e),n=vr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,u=0;if(a){o=a.width,i=a.height;var d=Hf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:s+cu(e),y:u}}var r_=B(()=>{Qt(),Mr(),Yf(),K8(),c(dE,"getViewportRect")});function pE(e){var t,r=vr(e),n=uu(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Fr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Fr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+cu(e),u=-n.scrollTop;return Zt(a||r).direction==="rtl"&&(s+=Fr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:u}}var n_=B(()=>{Mr(),bi(),Yf(),Kf(),Dn(),c(pE,"getDocumentRect")});function du(e){var t=Zt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var Jf=B(()=>{bi(),c(du,"isScrollParent")});function Zf(e){return["html","body","#document"].indexOf(xt(e))>=0?e.ownerDocument.body:Xe(e)&&du(e)?e:Zf(wi(e))}var a_=B(()=>{lu(),Jf(),xn(),ot(),c(Zf,"getScrollParent")});function ta(e,t){var r;t===void 0&&(t=[]);var n=Zf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ve(n),i=a?[o].concat(o.visualViewport||[],du(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(ta(wi(i)))}var fE=B(()=>{a_(),lu(),Qt(),Jf(),c(ta,"listScrollParents")});function cs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var hE=B(()=>{c(cs,"rectToClientRect")});function mE(e,t){var r=mn(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 w1(e,t,r){return t===Pf?cs(dE(e,r)):$r(t)?mE(t,r):cs(pE(vr(e)))}function gE(e){var t=ta(wi(e)),r=["absolute","fixed"].indexOf(Zt(e).position)>=0,n=r&&Xe(e)?Ra(e):e;return $r(n)?t.filter(function(a){return $r(a)&&Vf(a,n)&&xt(a)!=="body"}):[]}function vE(e,t,r,n){var a=t==="clippingParents"?gE(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(u,d){var p=w1(e,d,n);return u.top=Fr(p.top,u.top),u.right=qo(p.right,u.right),u.bottom=qo(p.bottom,u.bottom),u.left=Fr(p.left,u.left),u},w1(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 o_=B(()=>{at(),r_(),n_(),fE(),Ei(),Mr(),bi(),ot(),yi(),lu(),Y8(),xn(),hE(),Dn(),c(mE,"getInnerBoundingClientRect"),c(w1,"getClientRectFromMixedType"),c(gE,"getClippingParents"),c(vE,"getClippingRect")});function Xf(e){var t=e.reference,r=e.element,n=e.placement,a=n?yt(n):null,o=n?gn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case $e:u={x:i,y:t.y-r.height};break;case Qe:u={x:i,y:t.y+t.height};break;case et:u={x:t.x+t.width,y:s};break;case Le:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var d=a?su(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case sn:u[d]=u[d]-(t[p]/2-r[p]/2);break;case Qn:u[d]=u[d]+(t[p]/2-r[p]/2);break}}return u}var yE=B(()=>{Cn(),xi(),Uf(),at(),c(Xf,"computeOffsets")});function va(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,u=s===void 0?V8:s,d=r.rootBoundary,p=d===void 0?Pf:d,h=r.elementContext,m=h===void 0?Un:h,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,b=g===void 0?0:g,C=Wf(typeof b!="number"?b:Gf(b,Xn)),w=m===Un?U8:Un,x=e.rects.popper,E=e.elements[v?w:m],D=vE($r(E)?E:E.contextElement||vr(e.elements.popper),u,p,i),S=mn(e.elements.reference),A=Xf({reference:S,element:x,strategy:"absolute",placement:a}),k=cs(Object.assign({},x,A)),F=m===Un?k:S,T={top:D.top-F.top+C.top,bottom:F.bottom-D.bottom+C.bottom,left:D.left-F.left+C.left,right:F.right-D.right+C.right},R=e.modifiersData.offset;if(m===Un&&R){var $=R[a];Object.keys(T).forEach(function(z){var O=[et,Qe].indexOf(z)>=0?1:-1,L=[$e,Qe].indexOf(z)>=0?"y":"x";T[z]+=$[L]*O})}return T}var pu=B(()=>{o_(),Mr(),yi(),yE(),hE(),at(),ot(),tE(),rE(),c(va,"detectOverflow")});function bE(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,d=u===void 0?Nf:u,p=gn(n),h=p?s?g1:g1.filter(function(v){return gn(v)===p}):Xn,m=h.filter(function(v){return d.indexOf(v)>=0});m.length===0&&(m=h);var f=m.reduce(function(v,g){return v[g]=va(e,{placement:g,boundary:a,rootBoundary:o,padding:i})[yt(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var i_=B(()=>{xi(),at(),pu(),Cn(),c(bE,"computeAutoPlacement")});function wE(e){if(yt(e)===ss)return[];var t=To(e);return[b1(e),t,b1(t)]}function C4(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,u=r.fallbackPlacements,d=r.padding,p=r.boundary,h=r.rootBoundary,m=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,b=t.options.placement,C=yt(b),w=C===b,x=u||(w||!v?[To(b)]:wE(b)),E=[b].concat(x).reduce(function(re,N){return re.concat(yt(N)===ss?bE(t,{placement:N,boundary:p,rootBoundary:h,padding:d,flipVariations:v,allowedAutoPlacements:g}):N)},[]),D=t.rects.reference,S=t.rects.popper,A=new Map,k=!0,F=E[0],T=0;T=0,L=O?"width":"height",M=va(t,{placement:R,boundary:p,rootBoundary:h,altBoundary:m,padding:d}),j=O?z?et:Le:z?Qe:$e;D[L]>S[L]&&(j=To(j));var G=To(j),H=[];if(o&&H.push(M[$]<=0),s&&H.push(M[j]<=0,M[G]<=0),H.every(function(re){return re})){F=R,k=!1;break}A.set(R,H)}if(k)for(var K=v?3:1,te=c(function(re){var N=E.find(function(Y){var J=A.get(Y);if(J)return J.slice(0,re).every(function(pe){return pe})});if(N)return F=N,"break"},"_loop"),le=K;le>0;le--){var Q=te(le);if(Q==="break")break}t.placement!==F&&(t.modifiersData[n]._skip=!0,t.placement=F,t.reset=!0)}}var EE,l_=B(()=>{e_(),Cn(),t_(),pu(),i_(),at(),xi(),c(wE,"getExpandedFallbackPlacements"),c(C4,"flip"),EE={name:"flip",enabled:!0,phase:"main",fn:C4,requiresIfExists:["offset"],data:{_skip:!1}}});function E1(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 x1(e){return[$e,et,Qe,Le].some(function(t){return e[t]>=0})}function D4(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=va(t,{elementContext:"reference"}),s=va(t,{altBoundary:!0}),u=E1(i,n),d=E1(s,a,o),p=x1(u),h=x1(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}var xE,s_=B(()=>{at(),pu(),c(E1,"getSideOffsets"),c(x1,"isAnySideFullyClipped"),c(D4,"hide"),xE={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:D4}});function CE(e,t,r){var n=yt(e),a=[Le,$e].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,[Le,et].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function S4(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Nf.reduce(function(p,h){return p[h]=CE(h,t.rects,o),p},{}),s=i[t.placement],u=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var DE,u_=B(()=>{Cn(),at(),c(CE,"distanceAndSkiddingToXY"),c(S4,"offset"),DE={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:S4}});function A4(e){var t=e.state,r=e.name;t.modifiersData[r]=Xf({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var SE,c_=B(()=>{yE(),c(A4,"popperOffsets"),SE={name:"popperOffsets",enabled:!0,phase:"read",fn:A4,data:{}}});function AE(e){return e==="x"?"y":"x"}var d_=B(()=>{c(AE,"getAltAxis")});function k4(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,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,h=r.padding,m=r.tether,f=m===void 0?!0:m,v=r.tetherOffset,g=v===void 0?0:v,b=va(t,{boundary:u,rootBoundary:d,padding:h,altBoundary:p}),C=yt(t.placement),w=gn(t.placement),x=!w,E=su(C),D=AE(E),S=t.modifiersData.popperOffsets,A=t.rects.reference,k=t.rects.popper,F=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,T=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(S){if(o){var z,O=E==="y"?$e:Le,L=E==="y"?Qe:et,M=E==="y"?"height":"width",j=S[E],G=j+b[O],H=j-b[L],K=f?-k[M]/2:0,te=w===sn?A[M]:k[M],le=w===sn?-k[M]:-A[M],Q=t.elements.arrow,re=f&&Q?iu(Q):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:qf(),Y=N[O],J=N[L],pe=ea(0,A[M],re[M]),Se=x?A[M]/2-K-pe-Y-T.mainAxis:te-pe-Y-T.mainAxis,At=x?-A[M]/2+K+pe+J+T.mainAxis:le+pe+J+T.mainAxis,Ue=t.elements.arrow&&Ra(t.elements.arrow),st=Ue?E==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,P=(z=R==null?void 0:R[E])!=null?z:0,ut=j+Se-P-st,kt=j+At-P,Hr=ea(f?qo(G,ut):G,j,f?Fr(H,kt):H);S[E]=Hr,$[E]=Hr-j}if(s){var _n,_t=E==="x"?$e:Le,Si=E==="x"?Qe:et,Te=S[D],jr=D==="y"?"height":"width",Ft=Te+b[_t],Fn=Te-b[Si],It=[$e,Le].indexOf(C)!==-1,In=(_n=R==null?void 0:R[D])!=null?_n:0,Tt=It?Ft:Te-A[jr]-k[jr]-In+T.altAxis,Ae=It?Te+A[jr]+k[jr]-In-T.altAxis:Fn,ct=f&&It?X8(Tt,Te,Ae):ea(f?Tt:Ft,Te,f?Ae:Fn);S[D]=ct,$[D]=ct-Te}t.modifiersData[n]=$}}var kE,p_=B(()=>{at(),Cn(),Uf(),d_(),Q8(),jf(),Ei(),pu(),xi(),eE(),Dn(),c(k4,"preventOverflow"),kE={name:"preventOverflow",enabled:!0,phase:"main",fn:k4,requiresIfExists:["offset"]}}),_E=B(()=>{});function FE(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var f_=B(()=>{c(FE,"getHTMLElementScroll")});function IE(e){return e===Ve(e)||!Xe(e)?uu(e):FE(e)}var h_=B(()=>{Kf(),Qt(),ot(),f_(),c(IE,"getNodeScroll")});function TE(e){var t=e.getBoundingClientRect(),r=hn(t.width)/e.offsetWidth||1,n=hn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function RE(e,t,r){r===void 0&&(r=!1);var n=Xe(t),a=Xe(t)&&TE(t),o=vr(t),i=mn(e,a,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((xt(t)!=="body"||du(o))&&(s=IE(t)),Xe(t)?(u=mn(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=cu(o))),{x:i.left+s.scrollLeft-u.x,y:i.top+s.scrollTop-u.y,width:i.width,height:i.height}}var m_=B(()=>{yi(),h_(),xn(),ot(),Yf(),Mr(),Jf(),Dn(),c(TE,"isElementScaled"),c(RE,"getCompositeRect")});function BE(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 u=t.get(s);u&&a(u)}}),n.push(o)}return c(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function zE(e){var t=BE(e);return q8.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var g_=B(()=>{at(),c(BE,"order"),c(zE,"orderModifiers")});function $E(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var v_=B(()=>{c($E,"debounce")});function LE(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 y_=B(()=>{c(LE,"mergeByName")});function C1(){for(var e=arguments.length,t=new Array(e),r=0;r{m_(),jf(),fE(),Ei(),g_(),v_(),y_(),ot(),D1={placement:"bottom",modifiers:[],strategy:"absolute"},c(C1,"areValidElements"),c(OE,"popperGenerator")}),_4,ME,w_=B(()=>{b_(),Qk(),c_(),Xk(),Yk(),u_(),l_(),p_(),Zk(),s_(),_E(),_4=[sE,SE,lE,W8,DE,EE,kE,aE,xE],ME=OE({defaultModifiers:_4})}),E_=B(()=>{at(),_E(),w_()}),x_=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,u){if(s===u)return!0;if(s&&u&&typeof s=="object"&&typeof u=="object"){if(s.constructor!==u.constructor)return!1;var d,p,h;if(Array.isArray(s)){if(d=s.length,d!=u.length)return!1;for(p=d;p--!==0;)if(!i(s[p],u[p]))return!1;return!0}var m;if(n&&s instanceof Map&&u instanceof Map){if(s.size!==u.size)return!1;for(m=s.entries();!(p=m.next()).done;)if(!u.has(p.value[0]))return!1;for(m=s.entries();!(p=m.next()).done;)if(!i(p.value[1],u.get(p.value[0])))return!1;return!0}if(a&&s instanceof Set&&u instanceof Set){if(s.size!==u.size)return!1;for(m=s.entries();!(p=m.next()).done;)if(!u.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(u)){if(d=s.length,d!=u.length)return!1;for(p=d;p--!==0;)if(s[p]!==u[p])return!1;return!0}if(s.constructor===RegExp)return s.source===u.source&&s.flags===u.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof u.valueOf=="function")return s.valueOf()===u.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof u.toString=="function")return s.toString()===u.toString();if(h=Object.keys(s),d=h.length,d!==Object.keys(u).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(u,h[p]))return!1;if(r&&s instanceof Element)return!1;for(p=d;p--!==0;)if(!((h[p]==="_owner"||h[p]==="__v"||h[p]==="__o")&&s.$$typeof)&&!i(s[h[p]],u[h[p]]))return!1;return!0}return s!==s&&u!==u}c(i,"equal"),t.exports=c(function(s,u){try{return i(s,u)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),F4,I4,PE,C_=B(()=>{E_(),F4=De(x_()),Kk(),I4=[],PE=c(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||I4},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],u=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(h){var m=h.state,f=Object.keys(m.elements);ip.flushSync(function(){s({styles:h1(f.map(function(v){return[v,m.styles[v]||{}]})),attributes:h1(f.map(function(v){return[v,m.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var h={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return(0,F4.default)(n.current,h)?n.current||h:(n.current=h,h)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),p=l.useRef();return m1(function(){p.current&&p.current.setOptions(d)},[d]),m1(function(){if(!(e==null||t==null)){var h=r.createPopper||ME,m=h(e,t,d);return p.current=m,function(){m.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")}),D_=B(()=>{C_()});function Qf(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function NE(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?jE: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],u=Qf(i),d=l.useCallback(function(h){var m=u(),f=typeof h=="function"?h(m):h;typeof f.persist=="function"&&f.persist(),s(f),typeof a=="function"&&a(f)},[u,a]),p=r!==void 0;return[p?r:i,p?a:d]}function S1(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:c(function(){return null},"toJSON")}}}function HE(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(k1).reduce(function(L,M){var j;return U({},L,(j={},j[M]=L[M]!==void 0?L[M]:k1[M],j))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=U({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),u=l.useState(null),d=u[0],p=u[1],h=l.useState(null),m=h[0],f=h[1],v=NE({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),g=v[0],b=v[1],C=l.useRef();l.useEffect(function(){return function(){return clearTimeout(C.current)}},[]);var w=PE(o.followCursor?A1:d,m,s),x=w.styles,E=w.attributes,D=Os(w,VE),S=D.update,A=Qf({visible:g,triggerRef:d,tooltipRef:m,finalConfig:o}),k=l.useCallback(function(L){return Array.isArray(o.trigger)?o.trigger.includes(L):o.trigger===L},Array.isArray(o.trigger)?o.trigger:[o.trigger]),F=l.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),T=l.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),R=l.useCallback(function(){A().visible?F():T()},[A,F,T]);l.useEffect(function(){if(A().finalConfig.closeOnOutsideClick){var L=c(function(M){var j,G=A(),H=G.tooltipRef,K=G.triggerRef,te=(M.composedPath==null||(j=M.composedPath())==null?void 0:j[0])||M.target;te instanceof Node&&H!=null&&K!=null&&!H.contains(te)&&!K.contains(te)&&F()},"handleClickOutside");return document.addEventListener("mousedown",L),function(){return document.removeEventListener("mousedown",L)}}},[A,F]),l.useEffect(function(){if(!(d==null||!k("click")))return d.addEventListener("click",R),function(){return d.removeEventListener("click",R)}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("double-click")))return d.addEventListener("dblclick",R),function(){return d.removeEventListener("dblclick",R)}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("right-click"))){var L=c(function(M){M.preventDefault(),R()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",L),function(){return d.removeEventListener("contextmenu",L)}}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("focus")))return d.addEventListener("focus",T),d.addEventListener("blur",F),function(){d.removeEventListener("focus",T),d.removeEventListener("blur",F)}},[d,k,T,F]),l.useEffect(function(){if(!(d==null||!k("hover")))return d.addEventListener("mouseenter",T),d.addEventListener("mouseleave",F),function(){d.removeEventListener("mouseenter",T),d.removeEventListener("mouseleave",F)}},[d,k,T,F]),l.useEffect(function(){if(!(m==null||!k("hover")||!A().finalConfig.interactive))return m.addEventListener("mouseenter",T),m.addEventListener("mouseleave",F),function(){m.removeEventListener("mouseenter",T),m.removeEventListener("mouseleave",F)}},[m,k,T,F,A]);var $=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&$&&F()},[o.closeOnTriggerHidden,F,$]),l.useEffect(function(){if(!o.followCursor||d==null)return;function L(M){var j=M.clientX,G=M.clientY;A1.getBoundingClientRect=S1(j,G),S==null||S()}return c(L,"setMousePosition"),d.addEventListener("mousemove",L),function(){return d.removeEventListener("mousemove",L)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(m==null||S==null||o.mutationObserverOptions==null)){var L=new MutationObserver(S);return L.observe(m,o.mutationObserverOptions),function(){return L.disconnect()}}},[o.mutationObserverOptions,m,S]);var z=c(function(L){return L===void 0&&(L={}),U({},L,{style:U({},L.style,x.popper)},E.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),O=c(function(L){return L===void 0&&(L={}),U({},L,E.arrow,{style:U({},L.style,x.arrow),"data-popper-arrow":!0})},"getArrowProps");return U({getArrowProps:O,getTooltipProps:z,setTooltipRef:f,setTriggerRef:p,tooltipRef:m,triggerRef:d,visible:g},D)}var jE,VE,A1,k1,S_=B(()=>{_p(),Dt(),D_(),c(Qf,"useGetLatest"),jE=c(function(){},"noop"),c(NE,"useControlledState"),c(S1,"generateBoundingClientRect"),VE=["styles","attributes"],A1={getBoundingClientRect:S1()},k1={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"},c(HE,"usePopperTooltip")}),T4,Ge,nr,R4,B4,_1,A_=B(()=>{T4=De(Ls(),1),Ge=(0,T4.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),nr=8,R4=_.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:`${Ge("top",r,`${nr*-1}px`,"auto")}`,top:`${Ge("bottom",r,`${nr*-1}px`,"auto")}`,right:`${Ge("left",r,`${nr*-1}px`,"auto")}`,left:`${Ge("right",r,`${nr*-1}px`,"auto")}`,borderBottomWidth:`${Ge("top",r,"0",nr)}px`,borderTopWidth:`${Ge("bottom",r,"0",nr)}px`,borderRightWidth:`${Ge("left",r,"0",nr)}px`,borderLeftWidth:`${Ge("right",r,"0",nr)}px`,borderTopColor:Ge("top",r,e.color[t]||t||e.base==="light"?qa(e.background.app):e.background.app,"transparent"),borderBottomColor:Ge("bottom",r,e.color[t]||t||e.base==="light"?qa(e.background.app):e.background.app,"transparent"),borderLeftColor:Ge("left",r,e.color[t]||t||e.base==="light"?qa(e.background.app):e.background.app,"transparent"),borderRightColor:Ge("right",r,e.color[t]||t||e.base==="light"?qa(e.background.app):e.background.app,"transparent")})),B4=_.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"?qa(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}:{}),_1=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},u)=>y.createElement(B4,{"data-testid":"tooltip",hasChrome:t,ref:u,...s,color:o},t&&i&&y.createElement(R4,{placement:e,...n,color:o}),r)),_1.displayName="Tooltip"}),eh={};Aa(eh,{WithToolTipState:()=>ds,WithTooltip:()=>ds,WithTooltipPure:()=>F1});var io,z4,$4,F1,ds,th=B(()=>{kp(),S_(),A_(),{document:io}=$s,z4=_.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,$4=_.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,F1=c(({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:u,tooltip:d,children:p,closeOnTriggerHidden:h,mutationObserverOptions:m,delayHide:f,visible:v,interactive:g,delayShow:b,strategy:C,followCursor:w,onVisibleChange:x,...E})=>{let D=e?$4:z4,{getArrowProps:S,getTooltipProps:A,setTooltipRef:k,setTriggerRef:F,visible:T,state:R}=HE({trigger:t,placement:n,defaultVisible:i,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:h,onVisibleChange:x,delayShow:b,followCursor:w,mutationObserverOptions:m,visible:v,offset:u},{modifiers:a,strategy:C}),$=y.createElement(_1,{placement:R==null?void 0:R.placement,ref:k,hasChrome:o,arrowProps:S(),withArrows:s,...A()},typeof d=="function"?d({onHide:c(()=>x(!1),"onHide")}):d);return y.createElement(y.Fragment,null,y.createElement(D,{trigger:t,ref:F,...E},p),T&&p3.createPortal($,io.body))},"WithTooltipPure"),ds=c(({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=c(()=>o(!1),"hide");io.addEventListener("keydown",i,!1);let s=Array.from(io.getElementsByTagName("iframe")),u=[];return s.forEach(d=>{let p=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),u.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),u.push(()=>{d.removeEventListener("load",p)})}),()=>{io.removeEventListener("keydown",i),u.forEach(d=>{d()})}}),y.createElement(F1,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),se=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");Dt();zA();Ap();function UE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,da(e,t)}c(UE,"_inheritsLoose");$A();Ap();function qE(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(qE,"_isNativeFunction");function rh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(rh=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(rh,"_isNativeReflectConstruct");Ap();function WE(e,t,r){if(rh())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&da(a,r.prototype),a}c(WE,"_construct");function ps(e){var t=typeof Map=="function"?new Map:void 0;return ps=c(function(r){if(r===null||!qE(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 WE(r,arguments,$l(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),da(n,r)},"_wrapNativeSuper"),ps(e)}c(ps,"_wrapNativeSuper");var k_={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 GE(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}c(ya,"hslToRgb");var L4={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 YE(e){if(typeof e!="string")return e;var t=e.toLowerCase();return L4[t]?"#"+L4[t]:e}c(YE,"nameToHex");var __=/^#[a-fA-F0-9]{6}$/,F_=/^#[a-fA-F0-9]{8}$/,I_=/^#[a-fA-F0-9]{3}$/,T_=/^#[a-fA-F0-9]{4}$/,H0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,R_=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,B_=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,z_=/^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 fu(e){if(typeof e!="string")throw new Ht(3);var t=YE(e);if(t.match(__))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(F_)){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(I_))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(T_)){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=H0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=R_.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=B_.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+ya(s,u,d)+")",h=H0.exec(p);if(!h)throw new Ht(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=z_.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,b="rgb("+ya(f,v,g)+")",C=H0.exec(b);if(!C)throw new Ht(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Ht(5)}c(fu,"parseToRgb");function JE(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,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?Wo(e,t,r):"rgba("+ya(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Wo(e.hue,e.saturation,e.lightness):"rgba("+ya(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ht(2)}c(QE,"hsla");function fs(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return I1("#"+Ar(e)+Ar(t)+Ar(r));if(typeof e=="object"&&t===void 0&&r===void 0)return I1("#"+Ar(e.red)+Ar(e.green)+Ar(e.blue));throw new Ht(6)}c(fs,"rgb");function Go(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=fu(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?fs(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?fs(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ht(7)}c(Go,"rgba");var L_=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),O_=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),M_=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),P_=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function ah(e){if(typeof e!="object")throw new Ht(8);if(O_(e))return Go(e);if(L_(e))return fs(e);if(P_(e))return QE(e);if(M_(e))return XE(e);throw new Ht(8)}c(ah,"toColorString");function oh(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):oh(e,t,n)},"fn")}c(oh,"curried");function hu(e){return oh(e,e.length,[])}c(hu,"curry");function mu(e,t,r){return Math.max(e,Math.min(t,r))}c(mu,"guard");function e9(e,t){if(t==="transparent")return t;var r=nh(t);return ah(U({},r,{lightness:mu(0,1,r.lightness-parseFloat(e))}))}c(e9,"darken");var N_=hu(e9),qn=N_;function t9(e,t){if(t==="transparent")return t;var r=nh(t);return ah(U({},r,{lightness:mu(0,1,r.lightness+parseFloat(e))}))}c(t9,"lighten");var H_=hu(t9),O4=H_;function r9(e,t){if(t==="transparent")return t;var r=fu(t),n=typeof r.alpha=="number"?r.alpha:1,a=U({},r,{alpha:mu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Go(a)}c(r9,"transparentize");var j_=hu(r9),rt=j_,Ba=c(({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"),Pr=c(({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"?rt(.1,e.color.defaultText):rt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),ue=c(({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"),Sn={margin:"16px 0"},V_=c(({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"),U_=_(V_)(ue,({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}})),q_=_.blockquote(ue,Sn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));Ps();var W_=c(e=>typeof e=="string","isReactChildString"),G_=/[\n\r]/g,K_=_.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Pr),Y_=_(ko)(({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"}})),n9=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(W_).some(o=>o.match(G_))?y.createElement(Y_,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):y.createElement(K_,{...r,className:e},a)},"Code"),J_=_.div(ue),Z_=_.dl(ue,Sn,{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}}),X_=_.h1(ue,Ba,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),a9=_.h2(ue,Ba,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),o9=_.h3(ue,Ba,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),Q_=_.h4(ue,Ba,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),eF=_.h5(ue,Ba,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),tF=_.h6(ue,Ba,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),rF=_.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),nF=_.img({maxWidth:"100%"}),aF=_.li(ue,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Pr({theme:e})})),oF={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},iF=_.ol(ue,Sn,oF,{listStyle:"decimal"}),lF=_.p(ue,Sn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Pr({theme:e})})),sF=_.pre(ue,Sn,({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"}})),uF=_.span(ue,({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"}}})),cF=_.table(ue,Sn,({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}})),dF=_.title(Pr),pF={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},fF=_.ul(ue,Sn,pF,{listStyle:"disc"}),i9=_.div(ue),l9={h1:c(e=>y.createElement(X_,{...se(e,"h1")}),"h1"),h2:c(e=>y.createElement(a9,{...se(e,"h2")}),"h2"),h3:c(e=>y.createElement(o9,{...se(e,"h3")}),"h3"),h4:c(e=>y.createElement(Q_,{...se(e,"h4")}),"h4"),h5:c(e=>y.createElement(eF,{...se(e,"h5")}),"h5"),h6:c(e=>y.createElement(tF,{...se(e,"h6")}),"h6"),pre:c(e=>y.createElement(sF,{...se(e,"pre")}),"pre"),a:c(e=>y.createElement(U_,{...se(e,"a")}),"a"),hr:c(e=>y.createElement(rF,{...se(e,"hr")}),"hr"),dl:c(e=>y.createElement(Z_,{...se(e,"dl")}),"dl"),blockquote:c(e=>y.createElement(q_,{...se(e,"blockquote")}),"blockquote"),table:c(e=>y.createElement(cF,{...se(e,"table")}),"table"),img:c(e=>y.createElement(nF,{...se(e,"img")}),"img"),div:c(e=>y.createElement(J_,{...se(e,"div")}),"div"),span:c(e=>y.createElement(uF,{...se(e,"span")}),"span"),li:c(e=>y.createElement(aF,{...se(e,"li")}),"li"),ul:c(e=>y.createElement(fF,{...se(e,"ul")}),"ul"),ol:c(e=>y.createElement(iF,{...se(e,"ol")}),"ol"),p:c(e=>y.createElement(lF,{...se(e,"p")}),"p"),code:c(e=>y.createElement(n9,{...se(e,"code")}),"code"),tt:c(e=>y.createElement(dF,{...se(e,"tt")}),"tt"),resetwrapper:c(e=>y.createElement(i9,{...se(e,"resetwrapper")}),"resetwrapper")},hF=_.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 ${rt(.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 ${rt(.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 ${rt(.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 ${rt(.9,e.color.positiveText)}`:"none"};default:return{}}}),Xte=c(({...e})=>y.createElement(hF,{...e}),"Badge"),s9={};Aa(s9,{AccessibilityAltIcon:()=>CB,AccessibilityIcon:()=>xB,AddIcon:()=>AT,AdminIcon:()=>pB,AlertAltIcon:()=>QT,AlertIcon:()=>XT,AlignLeftIcon:()=>aI,AlignRightIcon:()=>oI,AppleIcon:()=>DI,ArrowDownIcon:()=>OR,ArrowLeftIcon:()=>MR,ArrowRightIcon:()=>PR,ArrowSolidDownIcon:()=>HR,ArrowSolidLeftIcon:()=>jR,ArrowSolidRightIcon:()=>VR,ArrowSolidUpIcon:()=>NR,ArrowUpIcon:()=>LR,AzureDevOpsIcon:()=>II,BackIcon:()=>tB,BasketIcon:()=>xR,BatchAcceptIcon:()=>bT,BatchDenyIcon:()=>yT,BeakerIcon:()=>CR,BellIcon:()=>aR,BitbucketIcon:()=>TI,BoldIcon:()=>pI,BookIcon:()=>YF,BookmarkHollowIcon:()=>dR,BookmarkIcon:()=>pR,BottomBarIcon:()=>rT,BottomBarToggleIcon:()=>nT,BoxIcon:()=>sT,BranchIcon:()=>EI,BrowserIcon:()=>KI,ButtonIcon:()=>UT,CPUIcon:()=>aT,CalendarIcon:()=>rI,CameraIcon:()=>LF,CategoryIcon:()=>XF,CertificateIcon:()=>yR,ChangedIcon:()=>TT,ChatIcon:()=>MT,CheckIcon:()=>gT,ChevronDownIcon:()=>IR,ChevronLeftIcon:()=>TR,ChevronRightIcon:()=>d9,ChevronSmallDownIcon:()=>BR,ChevronSmallLeftIcon:()=>zR,ChevronSmallRightIcon:()=>$R,ChevronSmallUpIcon:()=>RR,ChevronUpIcon:()=>FR,ChromaticIcon:()=>RI,ChromeIcon:()=>_I,CircleHollowIcon:()=>uR,CircleIcon:()=>cR,ClearIcon:()=>BT,CloseAltIcon:()=>xT,CloseIcon:()=>_T,CloudHollowIcon:()=>AR,CloudIcon:()=>kR,CogIcon:()=>dT,CollapseIcon:()=>qR,CommandIcon:()=>KT,CommentAddIcon:()=>$T,CommentIcon:()=>zT,CommentsIcon:()=>OT,CommitIcon:()=>wI,CompassIcon:()=>oB,ComponentDrivenIcon:()=>BI,ComponentIcon:()=>vF,ContrastIcon:()=>FF,ControlsIcon:()=>wT,CopyIcon:()=>ZF,CreditIcon:()=>VT,CrossIcon:()=>c9,DashboardIcon:()=>uB,DatabaseIcon:()=>oT,DeleteIcon:()=>FT,DiamondIcon:()=>fR,DirectionIcon:()=>fB,DiscordIcon:()=>zI,DocChartIcon:()=>lI,DocListIcon:()=>sI,DocumentIcon:()=>JF,DownloadIcon:()=>eB,DragIcon:()=>uI,EditIcon:()=>cT,EllipsisIcon:()=>hT,EmailIcon:()=>eR,ExpandAltIcon:()=>UR,ExpandIcon:()=>WR,EyeCloseIcon:()=>kF,EyeIcon:()=>AF,FaceHappyIcon:()=>bB,FaceNeutralIcon:()=>wB,FaceSadIcon:()=>EB,FacebookIcon:()=>$I,FailedIcon:()=>RT,FastForwardIcon:()=>VF,FigmaIcon:()=>LI,FilterIcon:()=>iI,FlagIcon:()=>SR,FolderIcon:()=>QF,FormIcon:()=>vT,GDriveIcon:()=>OI,GithubIcon:()=>MI,GitlabIcon:()=>PI,GlobeIcon:()=>aB,GoogleIcon:()=>NI,GraphBarIcon:()=>nI,GraphLineIcon:()=>tI,GraphqlIcon:()=>HI,GridAltIcon:()=>EF,GridIcon:()=>yF,GrowIcon:()=>RF,HeartHollowIcon:()=>hR,HeartIcon:()=>mR,HomeIcon:()=>dB,HourglassIcon:()=>DR,InfoIcon:()=>YT,ItalicIcon:()=>fI,JumpToIcon:()=>sR,KeyIcon:()=>HT,LightningIcon:()=>_F,LightningOffIcon:()=>u9,LinkBrokenIcon:()=>nR,LinkIcon:()=>rR,LinkedinIcon:()=>GI,LinuxIcon:()=>SI,ListOrderedIcon:()=>mI,ListUnorderedIcon:()=>gI,LocationIcon:()=>iB,LockIcon:()=>PT,MarkdownIcon:()=>yI,MarkupIcon:()=>dI,MediumIcon:()=>jI,MemoryIcon:()=>iT,MenuIcon:()=>cI,MergeIcon:()=>CI,MirrorIcon:()=>TF,MobileIcon:()=>JI,MoonIcon:()=>KF,NutIcon:()=>pT,OutboxIcon:()=>jT,OutlineIcon:()=>bF,PaintBrushIcon:()=>BF,PaperClipIcon:()=>hI,ParagraphIcon:()=>vI,PassedIcon:()=>IT,PhoneIcon:()=>tR,PhotoDragIcon:()=>wF,PhotoIcon:()=>gF,PinAltIcon:()=>DT,PinIcon:()=>lB,PlayBackIcon:()=>NF,PlayIcon:()=>PF,PlayNextIcon:()=>HF,PlusIcon:()=>ET,PointerDefaultIcon:()=>WT,PointerHandIcon:()=>GT,PowerIcon:()=>uT,PrintIcon:()=>eI,ProceedIcon:()=>rB,ProfileIcon:()=>yB,PullRequestIcon:()=>xI,QuestionIcon:()=>JT,RSSIcon:()=>oR,RedirectIcon:()=>YR,ReduxIcon:()=>VI,RefreshIcon:()=>nB,ReplyIcon:()=>ZR,RepoIcon:()=>bI,RequestChangeIcon:()=>LT,RewindIcon:()=>jF,RulerIcon:()=>zF,SearchIcon:()=>xF,ShareAltIcon:()=>iR,ShareIcon:()=>lR,ShieldIcon:()=>ER,SideBySideIcon:()=>qF,SidebarAltIcon:()=>QI,SidebarAltToggleIcon:()=>eT,SidebarIcon:()=>XI,SidebarToggleIcon:()=>tT,SpeakerIcon:()=>MF,StackedIcon:()=>WF,StarHollowIcon:()=>gR,StarIcon:()=>vR,StickerIcon:()=>_R,StopAltIcon:()=>UF,StopIcon:()=>$F,StorybookIcon:()=>FI,StructureIcon:()=>lT,SubtractIcon:()=>kT,SunIcon:()=>GF,SupportIcon:()=>ZT,SwitchAltIcon:()=>IF,SyncIcon:()=>XR,TabletIcon:()=>YI,ThumbsUpIcon:()=>wR,TimeIcon:()=>sB,TimerIcon:()=>cB,TransferIcon:()=>KR,TrashIcon:()=>CT,TwitterIcon:()=>UI,TypeIcon:()=>qT,UbuntuIcon:()=>AI,UndoIcon:()=>JR,UnfoldIcon:()=>GR,UnlockIcon:()=>NT,UnpinIcon:()=>ST,UploadIcon:()=>QR,UserAddIcon:()=>gB,UserAltIcon:()=>mB,UserIcon:()=>hB,UsersIcon:()=>vB,VSCodeIcon:()=>WI,VerifiedIcon:()=>bR,VideoIcon:()=>OF,WandIcon:()=>mT,WatchIcon:()=>ZI,WindowsIcon:()=>kI,WrenchIcon:()=>fT,YoutubeIcon:()=>qI,ZoomIcon:()=>CF,ZoomOutIcon:()=>DF,ZoomResetIcon:()=>SF,iconList:()=>mF});var mF=[{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","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"]},{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"]},{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"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","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"]}],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:"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}))),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",{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}))),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",{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}))),bF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),wF=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}))),EF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),_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:"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}))),u9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),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.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}))),IF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.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}))),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-.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}))),RF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 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}))),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:"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}))),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:"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}))),$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:"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}))),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:"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}))),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:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),MF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),l.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),l.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),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:"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}))),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:"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}))),HF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.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}))),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:"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}))),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:"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}))),UF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 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}))),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",{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}))),WF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),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("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"}))))),KF=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"}))))),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",{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}))),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:"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}))),ZF=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}))),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:"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}))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),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 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}))),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:"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}))),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:"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}))),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 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}))),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:"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}))),sI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",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:"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}))),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:"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}))),gI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.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}))),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:"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}))),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:"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}))),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:"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}))),wI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),EI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),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",{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}))),CI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),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:"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}))),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:"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}))),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("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"}))))),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:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),_I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_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"}))))),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:"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}))),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("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"}))))),TI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),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:"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}))),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:"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}))),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:"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}))),$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:"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}))),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:"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}))),OI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),WI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),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.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}))),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:"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}))),YI=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}))),JI=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}))),ZI=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}))),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.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}))),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:"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}))),eT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),tT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),rT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),nT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),aT=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}))),oT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),iT=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}))),lT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),sT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),uT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),cT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),dT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),pT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),fT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),hT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),mT=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}))),gT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),vT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),yT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),bT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),wT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),ET=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),xT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),c9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),CT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),DT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("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"}))))),ST=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("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"}))))),AT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),kT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),_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:"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}))),FT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),IT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),TT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),RT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),BT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),zT=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}))),$T=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}))),LT=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}))),OT=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}))),MT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),PT=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}))),NT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("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"}))))),HT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),jT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),VT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),UT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),qT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),WT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),GT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),KT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),YT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),JT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),ZT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),XT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),QT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{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}))),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:"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}))),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:"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}))),rR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.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}))),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:"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}))),aR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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",{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}))),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:"M14 7A7 7 0 110 7a7 7 0 0114 0z",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",{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}))),pR=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}))),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("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"}))))),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:"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}))),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:"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}))),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:"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}))),vR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),CR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),DR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.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}))),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:"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}))),AR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),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:"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}))),_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:"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}))),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.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}))),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.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}))),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:"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}))),d9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),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:"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}))),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:"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}))),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:"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}))),$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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),NR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),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:"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}))),WR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),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:"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}))),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:"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}))),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:"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}))),JR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),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:"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}))),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:"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}))),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:"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}))),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",{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}))),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",{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}))),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",{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}))),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.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}))),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",{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}))),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",{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}))),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:"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}))),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:"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}))),sB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),uB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),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.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}))),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",{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}))),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",{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}))),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("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"}))))),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",{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}))),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:"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}))),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:"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}))),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:"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}))),yB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),bB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),wB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),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",{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}))),xB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),CB=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}))),DB=0,SB=c(e=>e.button===DB&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),AB=c((e,t)=>{SB(e)&&(e.preventDefault(),t(e))},"cancelled"),kB=_.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}}:{}),_B=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:qn(.07,e.color.secondary),"svg path:not([fill])":{fill:qn(.07,e.color.secondary)}},"&:active":{color:qn(.1,e.color.secondary),"svg path:not([fill])":{fill:qn(.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"}:{}),ra=c(({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(_B,{...s,onClick:r&&e?u=>AB(u,r):r,className:o},y.createElement(kB,{withArrow:n,containsIcon:a},t,n&&y.createElement(d9,null))),"Link"),Qte=_.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}})),un=[],ba=null,FB=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(Ps(),Up));return un.length>0&&(un.forEach(t=>{e.registerLanguage(...t)}),un=[]),ba===null&&(ba=e),{default:c(t=>y.createElement(e,{...t}),"default")}}),IB=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(Ps(),Up)),Promise.resolve().then(()=>(Gk(),H8))]);return un.length>0&&(un.forEach(r=>{e.registerLanguage(...r)}),un=[]),ba===null&&(ba=e),{default:c(r=>y.createElement(e,{...r,formatter:t}),"default")}}),ih=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},e.format!==!1?y.createElement(IB,{...e}):y.createElement(FB,{...e})),"SyntaxHighlighter");ih.registerLanguage=(...e)=>{if(ba!==null){ba.registerLanguage(...e);return}un.push(e)};Ps();l7();var p9={};Aa(p9,{Close:()=>cx,Content:()=>lx,Description:()=>ux,Dialog:()=>W9,DialogClose:()=>nx,DialogContent:()=>X9,DialogDescription:()=>rx,DialogOverlay:()=>Z9,DialogPortal:()=>J9,DialogTitle:()=>tx,DialogTrigger:()=>G9,Overlay:()=>ix,Portal:()=>ox,Root:()=>ax,Title:()=>sx,Trigger:()=>Cz,WarningProvider:()=>xz,createDialogScope:()=>pz});Dt();Hp();ka();m7();Pp();var TB=l.useId||(()=>{}),RB=0;function wl(e){let[t,r]=l.useState(TB());return zo(()=>{e||r(n=>n??String(RB++))},[e]),e||(t?`radix-${t}`:"")}c(wl,"$1746a345f3d73bb7$export$f680877a34711e37");ai();function f9({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,a]=h9({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=ze(r),u=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,u]}c(f9,"$71cd76cc60e0454e$export$6f32135080cb4c3");function h9({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,a=l.useRef(n),o=ze(t);return l.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}c(h9,"$71cd76cc60e0454e$var$useUncontrolledState");Dt();Hp();ni();ka();ai();ai();function m9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e);l.useEffect(()=>{let n=c(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(m9,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var T1="dismissableLayer.update",BB="dismissableLayer.pointerDownOutside",zB="dismissableLayer.focusOutside",M4,$B=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),LB=l.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:u,...d}=e,p=l.useContext($B),[h,m]=l.useState(null),f=(r=h==null?void 0:h.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=l.useState({}),g=Ke(t,k=>m(k)),b=Array.from(p.layers),[C]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),w=b.indexOf(C),x=h?b.indexOf(h):-1,E=p.layersWithOutsidePointerEventsDisabled.size>0,D=x>=w,S=g9(k=>{let F=k.target,T=[...p.branches].some(R=>R.contains(F));!D||T||(o==null||o(k),s==null||s(k),k.defaultPrevented||(u==null||u()))},f),A=v9(k=>{let F=k.target;[...p.branches].some(T=>T.contains(F))||(i==null||i(k),s==null||s(k),k.defaultPrevented||(u==null||u()))},f);return m9(k=>{x===p.layers.size-1&&(a==null||a(k),!k.defaultPrevented&&u&&(k.preventDefault(),u()))},f),l.useEffect(()=>{if(h)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(M4=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(h)),p.layers.add(h),R1(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=M4)}},[h,f,n,p]),l.useEffect(()=>()=>{h&&(p.layers.delete(h),p.layersWithOutsidePointerEventsDisabled.delete(h),R1())},[h,p]),l.useEffect(()=>{let k=c(()=>v({}),"handleUpdate");return document.addEventListener(T1,k),()=>document.removeEventListener(T1,k)},[]),l.createElement(Me.div,U({},d,{ref:g,style:{pointerEvents:E?D?"auto":"none":void 0,...e.style},onFocusCapture:Ie(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Ie(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Ie(e.onPointerDownCapture,S.onPointerDownCapture)}))});function g9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e),n=l.useRef(!1),a=l.useRef(()=>{});return l.useEffect(()=>{let o=c(s=>{if(s.target&&!n.current){let u=function(){lh(BB,r,d,{discrete:!0})};c(u,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}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:c(()=>n.current=!0,"onPointerDownCapture")}}c(g9,"$5cb92bef7577960e$var$usePointerDownOutside");function v9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e),n=l.useRef(!1);return l.useEffect(()=>{let a=c(o=>{o.target&&!n.current&&lh(zB,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(v9,"$5cb92bef7577960e$var$useFocusOutside");function R1(){let e=new CustomEvent(T1);document.dispatchEvent(e)}c(R1,"$5cb92bef7577960e$var$dispatchUpdate");function lh(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?c7(a,o):a.dispatchEvent(o)}c(lh,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");Dt();ka();ni();ai();var j0="focusScope.autoFocusOnMount",V0="focusScope.autoFocusOnUnmount",P4={bubbles:!1,cancelable:!0},OB=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,u]=l.useState(null),d=ze(a),p=ze(o),h=l.useRef(null),m=Ke(t,g=>u(g)),f=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let g=function(x){if(f.paused||!s)return;let E=x.target;s.contains(E)?h.current=E:ir(h.current,{select:!0})},b=function(x){if(f.paused||!s)return;let E=x.relatedTarget;E!==null&&(s.contains(E)||ir(h.current,{select:!0}))},C=function(x){if(document.activeElement===document.body)for(let E of x)E.removedNodes.length>0&&ir(s)};c(g,"handleFocusIn"),c(b,"handleFocusOut"),c(C,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",b);let w=new MutationObserver(C);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),w.disconnect()}}},[n,s,f.paused]),l.useEffect(()=>{if(s){N4.add(f);let g=document.activeElement;if(!s.contains(g)){let b=new CustomEvent(j0,P4);s.addEventListener(j0,d),s.dispatchEvent(b),b.defaultPrevented||(y9(C9(sh(s)),{select:!0}),document.activeElement===g&&ir(s))}return()=>{s.removeEventListener(j0,d),setTimeout(()=>{let b=new CustomEvent(V0,P4);s.addEventListener(V0,p),s.dispatchEvent(b),b.defaultPrevented||ir(g??document.body,{select:!0}),s.removeEventListener(V0,p),N4.remove(f)},0)}}},[s,d,p,f]);let v=l.useCallback(g=>{if(!r&&!n||f.paused)return;let b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,C=document.activeElement;if(b&&C){let w=g.currentTarget,[x,E]=b9(w);x&&E?!g.shiftKey&&C===E?(g.preventDefault(),r&&ir(x,{select:!0})):g.shiftKey&&C===x&&(g.preventDefault(),r&&ir(E,{select:!0})):C===w&&g.preventDefault()}},[r,n,f.paused]);return l.createElement(Me.div,U({tabIndex:-1},i,{ref:m,onKeyDown:v}))});function y9(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(ir(n,{select:t}),document.activeElement!==r)return}c(y9,"$d3863c46a17e8a28$var$focusFirst");function b9(e){let t=sh(e),r=B1(t,e),n=B1(t.reverse(),e);return[r,n]}c(b9,"$d3863c46a17e8a28$var$getTabbableEdges");function sh(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(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}c(sh,"$d3863c46a17e8a28$var$getTabbableCandidates");function B1(e,t){for(let r of e)if(!w9(r,{upTo:t}))return r}c(B1,"$d3863c46a17e8a28$var$findVisible");function w9(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}c(w9,"$d3863c46a17e8a28$var$isHidden");function E9(e){return e instanceof HTMLInputElement&&"select"in e}c(E9,"$d3863c46a17e8a28$var$isSelectableInput");function ir(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&E9(e)&&t&&e.select()}}c(ir,"$d3863c46a17e8a28$var$focus");var N4=x9();function x9(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=z1(e,t),e.unshift(t)},remove(t){var r;e=z1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(x9,"$d3863c46a17e8a28$var$createFocusScopesStack");function z1(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(z1,"$d3863c46a17e8a28$var$arrayRemove");function C9(e){return e.filter(t=>t.tagName!=="A")}c(C9,"$d3863c46a17e8a28$var$removeLinks");Dt();ni();var MB=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?p3.createPortal(l.createElement(Me.div,U({},a,{ref:t})),n):null});p7();ni();var U0=0;function D9(){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:$1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:$1()),U0++,()=>{U0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),U0--}},[])}c(D9,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function $1(){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}c($1,"$3db38b7d1fb3fe6a$var$createFocusGuard");var Mt=c(function(){return Mt=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return UB;var t=qB(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"),GB=O9(),hs="data-scroll-locked",KB=c(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(PB,` { + overflow: hidden `).concat(n,`; + padding-right: `).concat(s,"px ").concat(n,`; + } + body[`).concat(hs,`] { + 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(El,` { + right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(xl,` { + margin-right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(El," .").concat(El,` { + right: 0 `).concat(n,`; + } + + .`).concat(xl," .").concat(xl,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(hs,`] { + `).concat(NB,": ").concat(s,`px; + } +`)},"getStyles"),YB=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return WB(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(hs,""),function(){document.body.removeAttribute(hs)}},[]),l.createElement(GB,{styles:KB(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),L1=!1;if(typeof window<"u")try{lo=Object.defineProperty({},"passive",{get:c(function(){return L1=!0,!0},"get")}),window.addEventListener("test",lo,lo),window.removeEventListener("test",lo,lo)}catch{L1=!1}var lo,$n=L1?{passive:!1}:!1,JB=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),M9=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!JB(e)&&r[t]==="visible")},"elementCanBeScrolled"),ZB=c(function(e){return M9(e,"overflowY")},"elementCouldBeVScrolled"),XB=c(function(e){return M9(e,"overflowX")},"elementCouldBeHScrolled"),j4=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=P9(e,r);if(n){var a=N9(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),QB=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),ez=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),P9=c(function(e,t){return e==="v"?ZB(t):XB(t)},"elementCouldBeScrolled"),N9=c(function(e,t){return e==="v"?QB(t):ez(t)},"getScrollVariables"),tz=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),rz=c(function(e,t,r,n,a){var o=tz(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,u=t.contains(s),d=!1,p=i>0,h=0,m=0;do{var f=N9(e,s),v=f[0],g=f[1],b=f[2],C=g-b-o*v;(v||C)&&P9(e,s)&&(h+=C,m+=v),s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(p&&(a&&h===0||!a&&i>h)||!p&&(a&&m===0||!a&&-i>m))&&(d=!0),d},"handleScroll"),Ki=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),V4=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),U4=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),nz=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),az=c(function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},"generateStyle"),oz=0,Ln=[];function H9(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(oz++)[0],o=l.useState(function(){return O9()})[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=S9([e.lockRef.current],(e.shards||[]).map(U4),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var C=Ki(g),w=r.current,x="deltaX"in g?g.deltaX:w[0]-C[0],E="deltaY"in g?g.deltaY:w[1]-C[1],D,S=g.target,A=Math.abs(x)>Math.abs(E)?"h":"v";if("touches"in g&&A==="h"&&S.type==="range")return!1;var k=j4(A,S);if(!k)return!0;if(k?D=A:(D=A==="v"?"h":"v",k=j4(A,S)),!k)return!1;if(!n.current&&"changedTouches"in g&&(x||E)&&(n.current=D),!D)return!0;var F=n.current||D;return rz(F,b,g,F==="h"?x:E,!0)},[]),u=l.useCallback(function(g){var b=g;if(!(!Ln.length||Ln[Ln.length-1]!==o)){var C="deltaY"in b?V4(b):Ki(b),w=t.current.filter(function(D){return D.name===b.type&&D.target===b.target&&nz(D.delta,C)})[0];if(w&&w.should){b.cancelable&&b.preventDefault();return}if(!w){var x=(i.current.shards||[]).map(U4).filter(Boolean).filter(function(D){return D.contains(b.target)}),E=x.length>0?s(b,x[0]):!i.current.noIsolation;E&&b.cancelable&&b.preventDefault()}}},[]),d=l.useCallback(function(g,b,C,w){var x={name:g,delta:b,target:C,should:w};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(E){return E!==x})},1)},[]),p=l.useCallback(function(g){r.current=Ki(g),n.current=void 0},[]),h=l.useCallback(function(g){d(g.type,V4(g),g.target,s(g,e.lockRef.current))},[]),m=l.useCallback(function(g){d(g.type,Ki(g),g.target,s(g,e.lockRef.current))},[]);l.useEffect(function(){return Ln.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",u,$n),document.addEventListener("touchmove",u,$n),document.addEventListener("touchstart",p,$n),function(){Ln=Ln.filter(function(g){return g!==o}),document.removeEventListener("wheel",u,$n),document.removeEventListener("touchmove",u,$n),document.removeEventListener("touchstart",p,$n)}},[]);var f=e.removeScrollBar,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(o,{styles:az(a)}):null,f?l.createElement(YB,{gapMode:"margin"}):null)}c(H9,"RemoveScrollSideCar");var iz=R9(B9,H9),j9=l.forwardRef(function(e,t){return l.createElement(gu,Mt({},e,{ref:t,sideCar:iz}))});j9.classNames=gu.classNames;var lz=j9,sz=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),On=new WeakMap,Yi=new WeakMap,Ji={},G0=0,V9=c(function(e){return e&&(e.host||V9(e.parentNode))},"unwrapHost"),uz=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=V9(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"),cz=c(function(e,t,r,n){var a=uz(t,Array.isArray(e)?e:[e]);Ji[r]||(Ji[r]=new WeakMap);var o=Ji[r],i=[],s=new Set,u=new Set(a),d=c(function(h){!h||s.has(h)||(s.add(h),d(h.parentNode))},"keep");a.forEach(d);var p=c(function(h){!h||u.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))p(m);else{var f=m.getAttribute(n),v=f!==null&&f!=="false",g=(On.get(m)||0)+1,b=(o.get(m)||0)+1;On.set(m,g),o.set(m,b),i.push(m),g===1&&v&&Yi.set(m,!0),b===1&&m.setAttribute(r,"true"),v||m.setAttribute(n,"true")}})},"deep");return p(t),s.clear(),G0++,function(){i.forEach(function(h){var m=On.get(h)-1,f=o.get(h)-1;On.set(h,m),o.set(h,f),m||(Yi.has(h)||h.removeAttribute(n),Yi.delete(h)),f||h.removeAttribute(r)}),G0--,G0||(On=new WeakMap,On=new WeakMap,Yi=new WeakMap,Ji={})}},"applyAttributeToOthers"),dz=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||sz(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),cz(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");Mp();var U9="Dialog",[q9,pz]=Np(U9),[fz,St]=q9(U9),W9=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=l.useRef(null),u=l.useRef(null),[d=!1,p]=f9({prop:n,defaultProp:a,onChange:o});return l.createElement(fz,{scope:t,triggerRef:s,contentRef:u,contentId:wl(),titleId:wl(),descriptionId:wl(),open:d,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(h=>!h),[p]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),hz="DialogTrigger",G9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(hz,r),o=Ke(t,a.triggerRef);return l.createElement(Me.button,U({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":vu(a.open)},n,{ref:o,onClick:Ie(e.onClick,a.onOpenToggle)}))}),K9="DialogPortal",[mz,Y9]=q9(K9,{forceMount:void 0}),J9=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=St(K9,t);return l.createElement(mz,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(sr,{present:r||o.open},l.createElement(MB,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),O1="DialogOverlay",Z9=l.forwardRef((e,t)=>{let r=Y9(O1,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=St(O1,e.__scopeDialog);return o.modal?l.createElement(sr,{present:n||o.open},l.createElement(gz,U({},a,{ref:t}))):null}),gz=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(O1,r);return l.createElement(lz,{as:Bo,allowPinchZoom:!0,shards:[a.contentRef]},l.createElement(Me.div,U({"data-state":vu(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),wa="DialogContent",X9=l.forwardRef((e,t)=>{let r=Y9(wa,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=St(wa,e.__scopeDialog);return l.createElement(sr,{present:n||o.open},o.modal?l.createElement(vz,U({},a,{ref:t})):l.createElement(yz,U({},a,{ref:t})))}),vz=l.forwardRef((e,t)=>{let r=St(wa,e.__scopeDialog),n=l.useRef(null),a=Ke(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return dz(o)},[]),l.createElement(Q9,U({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ie(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Ie(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&o.preventDefault()}),onFocusOutside:Ie(e.onFocusOutside,o=>o.preventDefault())}))}),yz=l.forwardRef((e,t)=>{let r=St(wa,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return l.createElement(Q9,U({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(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:c(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 u=o.target;!((s=r.triggerRef.current)===null||s===void 0)&&s.contains(u)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),Q9=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=St(wa,r),u=l.useRef(null),d=Ke(t,u);return D9(),l.createElement(l.Fragment,null,l.createElement(OB,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},l.createElement(LB,U({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":vu(s.open)},i,{ref:d,onDismiss:c(()=>s.onOpenChange(!1),"onDismiss")}))),!1)}),ex="DialogTitle",tx=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(ex,r);return l.createElement(Me.h2,U({id:a.titleId},n,{ref:t}))}),bz="DialogDescription",rx=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(bz,r);return l.createElement(Me.p,U({id:a.descriptionId},n,{ref:t}))}),wz="DialogClose",nx=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(wz,r);return l.createElement(Me.button,U({type:"button"},n,{ref:t,onClick:Ie(e.onClick,()=>a.onOpenChange(!1))}))});function vu(e){return e?"open":"closed"}c(vu,"$5d3850c4d0b4e6c7$var$getState");var Ez="DialogTitleWarning",[xz,ere]=f7(Ez,{contentName:wa,titleName:ex,docsSlug:"dialog"}),ax=W9,Cz=G9,ox=J9,ix=Z9,lx=X9,sx=tx,ux=rx,cx=nx,dx={};Aa(dx,{Actions:()=>Rz,CloseButton:()=>mx,Col:()=>vx,Container:()=>hx,Content:()=>_z,Description:()=>Tz,Error:()=>Bz,ErrorWrapper:()=>yx,Header:()=>Fz,Overlay:()=>fx,Row:()=>gx,Title:()=>Iz});Mp();const{deprecate:Dz}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var An=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,...u},d)=>{let p="button";u.isLink&&(p="a"),e&&(p=Bo);let h=n,m=r,[f,v]=l.useState(!1),g=c(b=>{s&&s(b),t!=="none"&&v(!0)},"handleClick");if(l.useEffect(()=>{let b=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(b)},[f]),u.primary&&(h="solid",m="medium"),(u.secondary||u.tertiary||u.gray||u.outline||u.inForm)&&(h="outline",m="medium"),u.small||u.isLink||u.primary||u.secondary||u.tertiary||u.gray||u.outline||u.inForm||u.containsIcon){let b=y.Children.toArray(u.children).filter(C=>typeof C=="string"&&C!=="");Dz(`Use of deprecated props in the button ${b.length>0?`"${b.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(Sz,{as:p,ref:d,variant:h,size:m,padding:a,disabled:o,active:i,animating:f,animation:t,onClick:g,...u})});An.displayName="Button";var Sz=_("button",{shouldForwardProp:c(e=>dp(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?rt(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:rt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:rt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${Go(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 u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?rt(.86,e.color.secondary):e.base==="light"?qn(.02,u):O4(.03,u)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?qn(.02,u):O4(.03,u)})()},"&:focus":{boxShadow:`${Go(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),cn=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>y.createElement(An,{padding:e,variant:t,ref:n,...r}));cn.displayName="IconButton";var px=mr({from:{opacity:0},to:{opacity:1}}),Az=mr({from:{maxHeight:0},to:{}}),kz=mr({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),fx=_.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${px} 200ms`}),hx=_.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",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:`${kz} 200ms`,"&:focus-visible":{outline:"none"}})),mx=c(e=>y.createElement(cx,{asChild:!0},y.createElement(cn,{...e},y.createElement(c9,null))),"CloseButton"),_z=_.div({display:"flex",flexDirection:"column",margin:16,gap:16}),gx=_.div({display:"flex",justifyContent:"space-between",gap:16}),vx=_.div({display:"flex",flexDirection:"column",gap:4}),Fz=c(e=>y.createElement(gx,null,y.createElement(vx,{...e}),y.createElement(mx,null)),"Header"),Iz=_(sx)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),Tz=_(ux)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),Rz=_.div({display:"flex",flexDirection:"row-reverse",gap:8}),yx=_.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${Az} 300ms, ${px} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),Bz=c(({children:e,...t})=>y.createElement(yx,{...t},y.createElement("div",null,e)),"Error");function bx({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=c(u=>u.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(ax,{...s},y.createElement(ox,{container:i},y.createElement(ix,{asChild:!0},y.createElement(fx,null)),y.createElement(lx,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(hx,{className:o,width:t,height:r},e))))}c(bx,"BaseModal");var tre=Object.assign(bx,dx,{Dialog:p9}),zz=c(e=>typeof e=="number"?e:Number(e),"toNumber"),$z=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${hd}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${hd}`]:{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{}}}),rre=c(({col:e,row:t,outer:r,children:n,...a})=>{let o=zz(typeof r=="number"||!r?r:e||t);return y.createElement($z,{col:e,row:t,outer:o,...a},n)},"Spaced"),Lz=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Oz=_.div(),Mz=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),nre=c(({children:e,...t})=>{let[r,n]=l.Children.toArray(e);return y.createElement(Mz,{...t},y.createElement(Lz,null,r),n&&y.createElement(Oz,null,n))},"Placeholder");Vp();function wx(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,u=i||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):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])}c(wx,"useResolvedElement");function M1(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}c(M1,"extractSize");function ch(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],u=l.useRef(!1);l.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),p=wx(l.useCallback(function(h){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(m){var f=m[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=M1(f,v,"inlineSize"),b=M1(f,v,"blockSize"),C=g?n(g):void 0,w=b?n(b):void 0;if(d.current.width!==C||d.current.height!==w){var x={width:C,height:w};d.current.width=C,d.current.height=w,r.current?r.current(x):u.current||s(x)}})}),a.current.instance.observe(h,{box:e.box}),function(){a.current&&a.current.instance.unobserve(h)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:p,width:i.width,height:i.height}},[p,i.width,i.height])}c(ch,"useResizeObserver");var Pz=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function Ex({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]),ch({ref:r,onResize:o}),y.createElement(Pz,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(Ex,"ZoomElement");var xx=class extends l.Component{constructor(){super(...arguments);yr(this,"iframe",null)}componentDidMount(){let{iFrameRef:r}=this.props;this.iframe=r.current}shouldComponentUpdate(r){let{scale:n,active:a}=this.props;return n!==r.scale&&this.setIframeInnerZoom(r.scale),a!==r.active&&this.iframe.setAttribute("data-is-storybook",r.active?"true":"false"),r.children.props.src!==this.props.children.props.src}setIframeInnerZoom(r){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${r*100}%`,height:`${r*100}%`,transform:`scale(${1/r})`,transformOrigin:"top left"})}catch{this.setIframeZoom(r)}}setIframeZoom(r){Object.assign(this.iframe.style,{width:`${r*100}%`,height:`${r*100}%`,transform:`scale(${1/r})`,transformOrigin:"top left"})}render(){let{children:r}=this.props;return y.createElement(y.Fragment,null,r)}};c(xx,"ZoomIFrame");var Nz=xx,Hz={Element:Ex,IFrame:Nz};kp();var{document:jz}=$s,Vz=_.strong(({theme:e})=>({color:e.color.orange})),Uz=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),q4=_.em(({theme:e})=>({color:e.textMutedColor})),qz=/(Error): (.*)\n/,Wz=/at (?:(.*) )?\(?(.+)\)?/,Gz=/([^@]+)?(?:\/<)?@(.+)?/,Kz=/([^@]+)?@(.+)?/,Yz=c(({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(qz);if(!r)return y.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(s=>{let u=s.match(Wz)||s.match(Gz)||s.match(Kz);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(jz.location.origin,"")}:null}).filter(Boolean);return y.createElement(l.Fragment,null,y.createElement("span",null,n),": ",y.createElement(Vz,null,a),y.createElement("br",null),i.map((s,u)=>s!=null&&s.name?y.createElement(l.Fragment,{key:u}," ","at ",y.createElement(Uz,null,s.name)," (",y.createElement(q4,null,s.location),")",y.createElement("br",null)):y.createElement(l.Fragment,{key:u}," ","at ",y.createElement(q4,null,s==null?void 0:s.location),y.createElement("br",null))))},"ErrorFormatter"),Jz=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Zz=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Xz=c(({label:e,children:t,...r})=>y.createElement(Jz,{...r},e?y.createElement(Zz,null,y.createElement("span",null,e)):null,t),"Field");Dt();_p();var Qz=l.useLayoutEffect,e$=Qz,t$=c(function(e){var t=l.useRef(e);return e$(function(){t.current=e}),t},"useLatest"),W4=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),r$=c(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&W4(r.current,null),r.current=t,t&&W4(t,n)},[t])},"useComposedRef"),n$=r$,G4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},a$=c(function(e){Object.keys(G4).forEach(function(t){e.style.setProperty(t,G4[t],"important")})},"forceHiddenStyles"),K4=a$,Re=null,Y4=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function Cx(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Re||(Re=document.createElement("textarea"),Re.setAttribute("tabindex","-1"),Re.setAttribute("aria-hidden","true"),K4(Re)),Re.parentNode===null&&document.body.appendChild(Re);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,s=i.boxSizing;Object.keys(i).forEach(function(m){var f=m;Re.style[f]=i[f]}),K4(Re),Re.value=t;var u=Y4(Re,e);Re.value=t,u=Y4(Re,e),Re.value="x";var d=Re.scrollHeight-a,p=d*r;s==="border-box"&&(p=p+a+o),u=Math.max(p,u);var h=d*n;return s==="border-box"&&(h=h+a+o),u=Math.min(h,u),[u,d]}c(Cx,"calculateNodeHeight");var J4=c(function(){},"noop"),o$=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),i$=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],l$=!!document.documentElement.currentStyle,s$=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=o$(i$,t),n=r.boxSizing;if(n==="")return null;l$&&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"),u$=s$;function dh(e,t,r){var n=t$(r);l.useLayoutEffect(function(){var a=c(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}c(dh,"useListener");var c$=c(function(e){dh(window,"resize",e)},"useWindowResizeListener"),d$=c(function(e){dh(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),p$=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],f$=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?J4:o,s=e.onHeightChange,u=s===void 0?J4:s,d=Os(e,p$),p=d.value!==void 0,h=l.useRef(null),m=n$(h,t),f=l.useRef(0),v=l.useRef(),g=c(function(){var C=h.current,w=r&&v.current?v.current:u$(C);if(w){v.current=w;var x=Cx(w,C.value||C.placeholder||"x",a,n),E=x[0],D=x[1];f.current!==E&&(f.current=E,C.style.setProperty("height",E+"px","important"),u(E,{rowHeight:D}))}},"resizeTextarea"),b=c(function(C){p||g(),i(C)},"handleChange");return l.useLayoutEffect(g),c$(g),d$(g),l.createElement("textarea",U({},d,{onChange:b,ref:m}))},"TextareaAutosize"),h$=l.forwardRef(f$),m$={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},ph=c(({theme:e})=>({...m$,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"),fh=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),Dx=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),hh=c(({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"),g$=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement("input",{...n,ref:a})},"Input")))(ph,fh,Dx,hh,{minHeight:32}),{displayName:"Input"}),v$=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement("select",{...n,ref:a})},"Select")))(ph,fh,hh,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),y$=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement(h$,{...n,ref:a})},"Textarea")))(ph,fh,Dx,hh,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Ci=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:Xz,Input:g$,Select:v$,Textarea:y$,Button:An}),b$=l.lazy(()=>Promise.resolve().then(()=>(th(),eh)).then(e=>({default:e.WithTooltip}))),ore=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(b$,{...e})),"WithTooltip"),w$=l.lazy(()=>Promise.resolve().then(()=>(th(),eh)).then(e=>({default:e.WithTooltipPure}))),E$=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(w$,{...e})),"WithTooltipPure"),x$=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),C$=_.span(),D$=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),S$=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),A$=_.div({padding:15,width:280,boxSizing:"border-box"}),ire=c(({title:e,desc:t,links:r})=>y.createElement(A$,null,y.createElement(S$,null,e&&y.createElement(x$,null,e),t&&y.createElement(C$,null,t)),r&&y.createElement(D$,null,r.map(({title:n,...a})=>y.createElement(ra,{...a,key:n},n)))),"TooltipMessage"),k$=_.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})),lre=c(({note:e,...t})=>y.createElement(k$,{...t},e),"TooltipNote"),_$=De(Ls(),1),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:rt(.7,t.color.defaultText)}:{}),I$=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),T$=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),R$=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),B$=_.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),z$=_.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),$$=(0,_$.default)(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),L$=c(({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:u=void 0,icon:d,LinkWrapper:p=void 0,...h})=>{let m=$$(u,s,p),f={active:a,disabled:o};return y.createElement(z$,{...f,...h,...m},d&&y.createElement(B$,{...f},d),t||r?y.createElement(T$,{isIndented:!!(!d&&i)},t&&y.createElement(F$,{...f,loading:e},t),r&&y.createElement(R$,{...f},r)):null,n&&y.createElement(I$,{...f},n))},"ListItem"),O$=L$,M$=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),P$=c(e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:a,...o}=e,{title:i,href:s,active:u}=o,d=l.useCallback(h=>{r(h,o)},[r]),p=!!r;return y.createElement(O$,{title:i,active:u,href:s,id:`list-item-${n}`,LinkWrapper:t,isIndented:a,...o,...p?{onClick:d}:{}})},"Item"),N$=c(({links:e,LinkWrapper:t=null})=>{let r=e.some(n=>n.icon);return y.createElement(M$,null,e.map(({isGatsby:n,...a})=>y.createElement(P$,{key:a.id,LinkWrapper:n?t:null,isIndented:r,...a})))},"TooltipLinkList"),H$=c(e=>typeof e.props.href=="string","isLink"),j$=c(e=>typeof e.props.href!="string","isButton");function Sx({children:e,...t},r){let n={props:t,ref:r};if(H$(n))return y.createElement("a",{ref:n.ref,...n.props},e);if(j$(n))return y.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(Sx,"ForwardRefFunction");var Ax=l.forwardRef(Sx);Ax.displayName="ButtonOrLink";var yu=_(Ax,{shouldForwardProp:dp})({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}});yu.displayName="TabButton";var V$=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),U$=_.div(()=>({marginTop:6,padding:7,height:28})),sre=c(()=>y.createElement(U$,null,y.createElement(V$,null)),"IconButtonSkeleton");Vp();var P1=_.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}}:{});P1.displayName="Side";var q$=c(({children:e,className:t,scrollable:r})=>r?y.createElement(Ol,{vertical:!1,className:t},e):y.createElement("div",{className:t},e),"UnstyledBar"),kx=_(q$)(({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}:{});kx.displayName="Bar";var W$=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),mh=c(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return y.createElement(kx,{className:`sb-bar ${r}`,...n},y.createElement(W$,{bgColor:t},y.createElement(P1,{scrollable:n.scrollable,left:!0},a),o?y.createElement(P1,{right:!0},o):null))},"FlexBar");mh.displayName="FlexBar";var _x=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),G$=c(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(_x,{active:i,role:"tabpanel"},o)}}),"childrenToList");th();var K$=_.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"})),Y$=_(yu)(({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 Fx(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=ch({ref:t}),[o,i]=l.useState(e),[s,u]=l.useState([]),d=l.useRef(e),p=l.useCallback(({menuName:m,actions:f})=>{let v=s.some(({active:C})=>C),[g,b]=l.useState(!1);return y.createElement(y.Fragment,null,y.createElement(ds,{interactive:!0,visible:g,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:y.createElement(N$,{links:s.map(({title:C,id:w,color:x,active:E})=>({id:w,title:C,color:x,active:E,onClick:c(D=>{D.preventDefault(),f.onSelect(w)},"onClick")}))})},y.createElement(Y$,{ref:r,active:v,preActive:g,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},m,y.createElement(K$,{className:"addon-collapsible-icon",isActive:v||g}))),s.map(({title:C,id:w,color:x},E)=>{let D=`index-${E}`;return y.createElement(yu,{id:`tabbutton-${f3(w)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(w,S)},className:"tabbutton",type:"button",key:w,textColor:x,role:"tab"},C)}))},[s]),h=l.useCallback(()=>{if(!t.current||!r.current)return;let{x:m,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=s.length?m+f-v:m+f,b=[],C=0,w=e.filter(x=>{let{id:E}=x,D=n.current.get(E),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},A=m+C+S>g;return(!A||!D)&&b.push(x),C+=S,A});(b.length!==o.length||d.current!==e)&&(i(b),u(w),d.current=e)},[s.length,e,o]);return l.useLayoutEffect(h,[h,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:p}}c(Fx,"useList");var J$=_.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),Z$=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),X$=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),Q$=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),Ix=c(({title:e,description:t,footer:r})=>y.createElement(J$,null,y.createElement(Z$,null,y.createElement(X$,null,e),t&&y.createElement(Q$,null,t)),r),"EmptyTabContent"),eL="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",tL=_.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"}),Tx=_.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});Tx.displayName="TabBar";var rL=_.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${eL}`]:{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"}}:{}),ure=c(({active:e,render:t,children:r})=>y.createElement(_x,{active:e},t?t():r),"TabWrapper"),Rx=l.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:s=null,menuName:u="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let h=l.useMemo(()=>G$(e).map((C,w)=>({...C,active:t?C.id===t:w===0})),[e,t]),{visibleList:m,tabBarRef:f,tabRefs:v,AddonTab:g}=Fx(h),b=d??y.createElement(Ix,{title:"Nothing found"});return!p&&h.length===0?b:y.createElement(tL,{absolute:n,bordered:a,id:s},y.createElement(mh,{scrollable:!1,border:!0,backgroundColor:i},y.createElement(Tx,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},m.map(({title:C,id:w,active:x,color:E},D)=>{let S=`index-${D}`;return y.createElement(yu,{id:`tabbutton-${f3(w)??S}`,ref:A=>{v.current.set(w,A)},className:`tabbutton ${x?"tabbutton-active":""}`,type:"button",key:w,active:x,textColor:E,onClick:A=>{A.preventDefault(),r.onSelect(w)},role:"tab"},typeof C=="function"?y.createElement("title",null):C)}),y.createElement(g,{menuName:u,actions:r})),o),y.createElement(rL,{id:"panel-tab-content",bordered:a,absolute:n},h.length?h.map(({id:C,active:w,render:x})=>y.createElement(x,{key:C,active:w},null)):b))});Rx.displayName="Tabs";var N1=class extends l.Component{constructor(r){super(r);yr(this,"handlers",{onSelect:c(r=>this.setState({selected:r}),"onSelect")});this.state={selected:r.initial}}render(){let{bordered:r=!1,absolute:n=!1,children:a,backgroundColor:o,menuName:i}=this.props,{selected:s}=this.state;return y.createElement(Rx,{bordered:r,absolute:n,selected:s,backgroundColor:o,menuName:i,actions:this.handlers},a)}};c(N1,"TabsState"),BA(N1,"defaultProps",{children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0});var nL=N1,Bx=_.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});Bx.displayName="Separator";var dre=c(e=>e.reduce((t,r,n)=>r?y.createElement(l.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?y.createElement(Bx,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),aL=c(e=>{let t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),oL=c((e,t)=>{let r=aL(t);return e?t:r},"useUpdate"),pre=c(({active:e,children:t})=>y.createElement("div",{hidden:!e},oL(e,t)),"AddonPanel");const{deprecate:iL,logger:lL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var sL=s9,uL=_.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,fre=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||iL(`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=H1[e]||null;if(!a)return lL.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=sL[a];return y.createElement(o,{...n})},"Icons"),hre=l.memo(c(function({icons:e=Object.keys(H1)}){return y.createElement(uL,{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},H1[t])))},"Symbols")),H1={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"},mre=c(({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"),gre=c(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"),cL=mr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,dL=_.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:`${cL} 0.7s linear infinite`,mixBlendMode:"difference"})),Z4=_.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),pL=_.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:rt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),fL=_.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),X4=_.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),hL=_(u9)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),mL=mr` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,gL=_.span({"&::after":{content:"'...'",animation:`${mL} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),vL=c(({progress:e,error:t,size:r,...n})=>{if(t)return y.createElement(Z4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},y.createElement(hL,null),y.createElement(X4,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),y.createElement(Z4,{"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(pL,null,y.createElement(fL,{style:{width:`${a*100}%`}})),y.createElement(X4,null,i,a<1&&y.createElement(gL,{key:i})))}return y.createElement(dL,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function zx(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...zx(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref"),bL=_.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${V.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${Nt.fonts.mono}; + font-size: ${Nt.size.s2-1}px; +`,vre=c(({code:e,...t})=>y.createElement(bL,{id:"clipboard-code",...t},e),"ClipboardCode"),wL=l9,EL={};Object.keys(l9).forEach(e=>{EL[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});function xL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ko(e,t){return Ko=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Ko(e,t)}function CL(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ko(e,t)}function j1(e){return j1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},j1(e)}function DL(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function SL(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Dl(e,t,r){return SL()?Dl=Reflect.construct.bind():Dl=function(a,o,i){var s=[null];s.push.apply(s,o);var u=Function.bind.apply(a,s),d=new u;return i&&Ko(d,i.prototype),d},Dl.apply(null,arguments)}function V1(e){var t=typeof Map=="function"?new Map:void 0;return V1=function(n){if(n===null||!DL(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return Dl(n,arguments,j1(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Ko(a,n)},V1(e)}var jt=function(e){CL(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,xL(n)}return t}(V1(Error));function K0(e){return Math.round(e*255)}function AL(e,t,r){return K0(e)+","+K0(t)+","+K0(r)}function Yo(e,t,r,n){if(n===void 0&&(n=AL),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,u=0,d=0;a>=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}var Q4={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 kL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Q4[t]?"#"+Q4[t]:e}var _L=/^#[a-fA-F0-9]{6}$/,FL=/^#[a-fA-F0-9]{8}$/,IL=/^#[a-fA-F0-9]{3}$/,TL=/^#[a-fA-F0-9]{4}$/,Y0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,RL=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,BL=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,zL=/^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 bu(e){if(typeof e!="string")throw new jt(3);var t=kL(e);if(t.match(_L))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(FL)){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(IL))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(TL)){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=Y0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=RL.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=BL.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Yo(s,u,d)+")",h=Y0.exec(p);if(!h)throw new jt(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=zL.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,b="rgb("+Yo(f,v,g)+")",C=Y0.exec(b);if(!C)throw new jt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new jt(5)}function $L(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,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?ms(e,t,r):"rgba("+Yo(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ms(e.hue,e.saturation,e.lightness):"rgba("+Yo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new jt(2)}function q1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return U1("#"+Jr(e)+Jr(t)+Jr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return U1("#"+Jr(e.red)+Jr(e.green)+Jr(e.blue));throw new jt(6)}function lr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=bu(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?q1(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?q1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new jt(7)}var NL=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},HL=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},jL=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},VL=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Lx(e){if(typeof e!="object")throw new jt(8);if(HL(e))return lr(e);if(NL(e))return q1(e);if(VL(e))return PL(e);if(jL(e))return ML(e);throw new jt(8)}function Ox(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Ox(e,t,a)}}function wu(e){return Ox(e,e.length,[])}function Eu(e,t,r){return Math.max(e,Math.min(t,r))}function UL(e,t){if(t==="transparent")return t;var r=$x(t);return Lx(Cs({},r,{lightness:Eu(0,1,r.lightness-parseFloat(e))}))}var qL=wu(UL),Lt=qL;function WL(e,t){if(t==="transparent")return t;var r=$x(t);return Lx(Cs({},r,{lightness:Eu(0,1,r.lightness+parseFloat(e))}))}var GL=wu(WL),Zr=GL;function KL(e,t){if(t==="transparent")return t;var r=bu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Cs({},r,{alpha:Eu(0,1,(n*100+parseFloat(e)*100)/100)});return lr(a)}var YL=wu(KL),Zi=YL;function JL(e,t){if(t==="transparent")return t;var r=bu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Cs({},r,{alpha:Eu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return lr(a)}var ZL=wu(JL),ie=ZL,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:"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}))),QL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),eO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),tO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),rO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),nO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),W1=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),yre=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),aO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),oO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),iO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),lO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),sO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),uO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),Mx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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}))),cO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width: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})));function dO(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r-1}var kO=AO,_O=xu;function FO(e,t){var r=this.__data__,n=_O(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var IO=FO,TO=fO,RO=EO,BO=DO,zO=kO,$O=IO;function za(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ts))return!1;var d=o.get(e),p=o.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,f=r&qP?new HP:void 0;for(o.set(e,t),o.set(t,e);++h-1&&e%1==0&&e-1&&e%1==0&&e<=qN}var Dh=WN,GN=Ds,KN=Dh,YN=vn,JN="[object Arguments]",ZN="[object Array]",XN="[object Boolean]",QN="[object Date]",eH="[object Error]",tH="[object Function]",rH="[object Map]",nH="[object Number]",aH="[object Object]",oH="[object RegExp]",iH="[object Set]",lH="[object String]",sH="[object WeakMap]",uH="[object ArrayBuffer]",cH="[object DataView]",dH="[object Float32Array]",pH="[object Float64Array]",fH="[object Int8Array]",hH="[object Int16Array]",mH="[object Int32Array]",gH="[object Uint8Array]",vH="[object Uint8ClampedArray]",yH="[object Uint16Array]",bH="[object Uint32Array]",ae={};ae[dH]=ae[pH]=ae[fH]=ae[hH]=ae[mH]=ae[gH]=ae[vH]=ae[yH]=ae[bH]=!0;ae[JN]=ae[ZN]=ae[uH]=ae[XN]=ae[cH]=ae[QN]=ae[eH]=ae[tH]=ae[rH]=ae[nH]=ae[aH]=ae[oH]=ae[iH]=ae[lH]=ae[sH]=!1;function wH(e){return YN(e)&&KN(e.length)&&!!ae[GN(e)]}var EH=wH;function xH(e){return function(t){return e(t)}}var Sh=xH,ys={exports:{}};ys.exports;(function(e,t){var r=CD,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,i=o&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();e.exports=s})(ys,ys.exports);var Ah=ys.exports,CH=EH,DH=Sh,sy=Ah,uy=sy&&sy.isTypedArray,SH=uy?DH(uy):CH,Jx=SH,AH=IN,kH=Yx,_H=hr,FH=xh,IH=Ch,TH=Jx,RH=Object.prototype,BH=RH.hasOwnProperty;function zH(e,t){var r=_H(e),n=!r&&kH(e),a=!r&&!n&&FH(e),o=!r&&!n&&!a&&TH(e),i=r||n||a||o,s=i?AH(e.length,String):[],u=s.length;for(var d in e)(t||BH.call(e,d))&&!(i&&(d=="length"||a&&(d=="offset"||d=="parent")||o&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||IH(d,u)))&&s.push(d);return s}var Zx=zH,$H=Object.prototype;function LH(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||$H;return e===r}var kh=LH,OH=DD,MH=OH(Object.keys,Object),PH=MH,NH=kh,HH=PH,jH=Object.prototype,VH=jH.hasOwnProperty;function UH(e){if(!NH(e))return HH(e);var t=[];for(var r in Object(e))VH.call(e,r)&&r!="constructor"&&t.push(r);return t}var qH=UH,WH=h3,GH=Dh;function KH(e){return e!=null&&GH(e.length)&&!WH(e)}var Xx=KH,YH=Zx,JH=qH,ZH=Xx;function XH(e){return ZH(e)?YH(e):JH(e)}var Au=XH,QH=Wx,ej=Eh,tj=Au;function rj(e){return QH(e,tj,ej)}var Qx=rj,cy=Qx,nj=1,aj=Object.prototype,oj=aj.hasOwnProperty;function ij(e,t,r,n,a,o){var i=r&nj,s=cy(e),u=s.length,d=cy(t),p=d.length;if(u!=p&&!i)return!1;for(var h=u;h--;){var m=s[h];if(!(i?m in t:oj.call(t,m)))return!1}var f=o.get(e),v=o.get(t);if(f&&v)return f==t&&v==e;var g=!0;o.set(e,t),o.set(t,e);for(var b=i;++h(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Ty={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Rq=["style","script"],Bq=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,zq=/mailto:/i,$q=/\n{2,}$/,dC=/^(\s*>[\s\S]*?)(?=\n{2,})/,Lq=/^ *> ?/gm,Oq=/^ {2,}\n/,Mq=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,pC=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,fC=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Pq=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,Nq=/^(?:\n *)*\n/,Hq=/\r\n?/g,jq=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,Vq=/^\[\^([^\]]+)]/,Uq=/\f/g,qq=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,Wq=/^\s*?\[(x|\s)\]/,hC=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,mC=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,gC=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,X1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,Gq=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,vC=/^)/,Kq=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Q1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,Yq=/^\{.*\}$/,Jq=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,Zq=/^<([^ >]+@[^ >]+)>/,Xq=/^<([^ >]+:\/[^ >]+)>/,Qq=/-([a-z])?/gi,yC=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,eW=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,tW=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,rW=/^\[([^\]]*)\] ?\[([^\]]*)\]/,nW=/(\[|\])/g,aW=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,oW=/\t/g,iW=/(^ *\||\| *$)/g,lW=/^ *:-+: *$/,sW=/^ *:-+ *$/,uW=/^ *-+: *$/,Fu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",cW=new RegExp(`^([*_])\\1${Fu}\\1\\1(?!\\1)`),dW=new RegExp(`^([*_])${Fu}\\1(?!\\1|\\w)`),pW=new RegExp(`^==${Fu}==`),fW=new RegExp(`^~~${Fu}~~`),hW=/^\\([^0-9A-Za-z\s])/,mW=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,gW=/^\n+/,vW=/^([ \t]*)/,yW=/\\([^\\])/g,Ry=/ *\n+$/,bW=/(?:^|\n)( *)$/,zh="(?:\\d+\\.)",$h="(?:[*+-])";function bC(e){return"( *)("+(e===1?zh:$h)+") +"}const wC=bC(1),EC=bC(2);function xC(e){return new RegExp("^"+(e===1?wC:EC))}const wW=xC(1),EW=xC(2);function CC(e){return new RegExp("^"+(e===1?wC:EC)+"[^\\n]*(?:\\n(?!\\1"+(e===1?zh:$h)+" )[^\\n]*)*(\\n|$)","gm")}const DC=CC(1),SC=CC(2);function AC(e){const t=e===1?zh:$h;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const kC=AC(1),_C=AC(2);function By(e,t){const r=t===1,n=r?kC:_C,a=r?DC:SC,o=r?wW:EW;return{match(i,s,u){const d=bW.exec(u);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,u){const d=r?+i[2]:void 0,p=i[0].replace($q,` +`).match(a);let h=!1;return{items:p.map(function(m,f){const v=o.exec(m)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),b=m.replace(g,"").replace(o,""),C=f===p.length-1,w=b.indexOf(` + +`)!==-1||C&&h;h=w;const x=u.inline,E=u.list;let D;u.list=!0,w?(u.inline=!1,D=b.replace(Ry,` + +`)):(u.inline=!0,D=b.replace(Ry,""));const S=s(D,u);return u.inline=x,u.list=E,S}),ordered:r,start:d}},render:(i,s,u)=>e(i.ordered?"ol":"ul",{key:u.key,start:i.type==="20"?i.start:void 0},i.items.map(function(d,p){return e("li",{key:p},s(d,u))}))}}const xW=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),CW=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,FC=[dC,pC,fC,hC,gC,mC,vC,yC,DC,kC,SC,_C],DW=[...FC,/^[^\n]+(?: \n|\n{2,})/,X1,Q1];function SW(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 AW(e){return uW.test(e)?"right":lW.test(e)?"center":sW.test(e)?"left":null}function zy(e,t,r,n){const a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce((s,u)=>(u.trim()==="|"?s.push(n?{type:"26"}:{type:"27",text:u}):u!==""&&s.push.apply(s,t(u,r)),s),[]);r.inTable=a;let i=[[]];return o.forEach(function(s,u){s.type==="26"?u!==0&&u!==o.length-1&&i.push([]):(s.type!=="27"||o[u+1]!=null&&o[u+1].type!=="26"||(s.text=s.text.trimEnd()),i[i.length-1].push(s))}),i}function kW(e,t,r){r.inline=!0;const n=e[2]?e[2].replace(iW,"").split("|").map(AW):[],a=e[3]?function(i,s,u){return i.trim().split(` +`).map(function(d){return zy(d,s,u,!0)})}(e[3],t,r):[],o=zy(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:"25"}:{children:o,type:"21"}}function $y(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function wr(e){return function(t,r){return r.inline?e.exec(t):null}}function Er(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function ar(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function so(e){return function(t){return e.exec(t)}}function _W(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!FC.some(i=>i.test(o))&&(n+=o+` +`,o.trim()));const 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 Ly(e){return e.replace(yW,"$1")}function Sl(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function FW(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function IW(e,t,r){const n=r.inline||!1;r.inline=!1;const a=e(t,r);return r.inline=n,a}const ed=(e,t,r)=>({children:Sl(t,e[1],r)});function td(){return{}}function rd(){return null}function TW(...e){return e.filter(Boolean).join(" ")}function nd(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function RW(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||SW,t.namedCodesToUnicode=t.namedCodesToUnicode?Qr({},Ty,t.namedCodesToUnicode):Ty;const r=t.createElement||l.createElement;function n(f,v,...g){const b=nd(t.overrides,`${f}.props`,{});return r(function(C,w){const x=nd(w,C);return x?typeof x=="function"||typeof x=="object"&&"render"in x?x:nd(w,`${C}.component`,C):C}(f,t.overrides),Qr({},v,b,{className:TW(v==null?void 0:v.className,b.className)||void 0}),...g)}function a(f){f=f.replace(qq,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=aW.test(f)===!1);const g=p(d(v?f:`${f.trimEnd().replace(gW,"")} + +`,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const b=t.wrapper||(v?"span":"div");let C;if(g.length>1||t.forceWrapper)C=g;else{if(g.length===1)return C=g[0],typeof C=="string"?n("span",{key:"outer"},C):C;C=null}return l.createElement(b,{key:"outer"},C)}function o(f){const v=f.match(Bq);return v?v.reduce(function(g,b,C){const w=b.indexOf("=");if(w!==-1){const x=function(A){return A.indexOf("-")!==-1&&A.match(Kq)===null&&(A=A.replace(Qq,function(k,F){return F.toUpperCase()})),A}(b.slice(0,w)).trim(),E=function(A){const k=A[0];return(k==='"'||k==="'")&&A.length>=2&&A[A.length-1]===k?A.slice(1,-1):A}(b.slice(w+1).trim()),D=Iy[x]||x,S=g[D]=function(A,k){return A==="style"?k.split(/;\s?/).reduce(function(F,T){const R=T.slice(0,T.indexOf(":"));return F[R.trim().replace(/(-[a-z])/g,$=>$[1].toUpperCase())]=T.slice(R.length+1).trim(),F},{}):A==="href"||A==="src"?Mn(k):(k.match(Yq)&&(k=k.slice(1,k.length-1)),k==="true"||k!=="false"&&k)}(x,E);typeof S=="string"&&(X1.test(S)||Q1.test(S))&&(g[D]=l.cloneElement(a(S.trim()),{key:C}))}else b!=="style"&&(g[Iy[b]||b]=!0);return g},{}):null}const i=[],s={},u={0:{match:ar(dC),order:1,parse:(f,v,g)=>({children:v(f[0].replace(Lq,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:so(Oq),order:1,parse:td,render:(f,v,g)=>n("br",{key:g.key})},2:{match:ar(Mq),order:1,parse:td,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:ar(fC),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",Qr({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:ar(pC),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Er(Pq),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:ar(jq),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:rd},7:{match:wr(Vq),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:wr(Wq),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:ar(t.enforceAtxHeadings?mC:hC),order:1,parse:(f,v,g)=>({children:Sl(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:ar(gC),order:0,parse:(f,v,g)=>({children:Sl(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:so(X1),order:1,parse(f,v,g){const[,b]=f[3].match(vW),C=new RegExp(`^${b}`,"gm"),w=f[3].replace(C,""),x=(E=w,DW.some(k=>k.test(E))?IW:Sl);var E;const D=f[1].toLowerCase(),S=Rq.indexOf(D)!==-1,A={attrs:o(f[2]),noInnerParse:S,tag:(S?D:f[1]).trim()};return g.inAnchor=g.inAnchor||D==="a",S?A.text=f[3]:A.children=x(v,w,g),g.inAnchor=!1,A},render:(f,v,g)=>n(f.tag,Qr({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:so(Q1),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,Qr({},f.attrs,{key:g.key}))},12:{match:so(vC),order:1,parse:()=>({}),render:rd},14:{match:Er(CW),order:1,parse:f=>({alt:f[1],target:Ly(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:wr(xW),order:3,parse:(f,v,g)=>({children:FW(v,f[1],g),target:Ly(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:wr(Xq),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:wr(Jq)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:wr(Zq),order:0,parse(f){let v=f[1],g=f[1];return zq.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:By(n,1),33:By(n,2),19:{match:ar(Nq),order:3,parse:td,render:()=>` +`},21:{match:_W,order:3,parse:ed,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:wr(eW),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:rd},23:{match:Er(tW),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:wr(rW),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(nW,"\\$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:ar(yC),order:1,parse:kW,render(f,v,g){const b=f;return n("table",{key:g.key},n("thead",null,n("tr",null,b.header.map(function(C,w){return n("th",{key:w,style:$y(b,w)},v(C,g))}))),n("tbody",null,b.cells.map(function(C,w){return n("tr",{key:w},C.map(function(x,E){return n("td",{key:E,style:$y(b,E)},v(x,g))}))})))}},27:{match:so(mW),order:4,parse:f=>({text:f[0].replace(Gq,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:Er(cW),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:Er(dW),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:Er(hW),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Er(pW),order:3,parse:ed,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:Er(fW),order:3,parse:ed,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);const d=function(f){let v=Object.keys(f);function g(b,C){let w=[],x="";for(;b;){let E=0;for(;Ew(g,b,C),g,b,C):w(g,b,C)}}(u,t.renderRule),function f(v,g={}){if(Array.isArray(v)){const b=g.key,C=[];let w=!1;for(let x=0;x{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,u={},d=Object.keys(a);for(s=0;s=0||(u[i]=a[i]);return u}(e,Tq);return l.cloneElement(RW(t,r),n)};function Qi(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var TC={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Qi=="function"&&Qi;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}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 Qi=="function"&&Qi,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].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 u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}function u(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})})(TC);var BW=TC.exports;const RC=xs(BW);function zW(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o-1}var GW=WW;function KW(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=uG){var d=t?null:lG(e);if(d)return sG(d);i=!1,a=iG,u=new nG}else u=t?[]:s;e:for(;++nfunction(){return t||(0,e[OC(e)[0]])((t={exports:{}}).exports,t),t.exports},oJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of OC(t))!aJ.call(e,a)&&a!==r&&LC(e,a,{get:()=>t[a],enumerable:!(n=rJ(t,a))||n.enumerable});return e},Oh=(e,t,r)=>(r=e!=null?tJ(nJ(e)):{},oJ(t||!e||!e.__esModule?LC(r,"default",{value:e,enumerable:!0}):r,e)),iJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],lJ=["detail"];function sJ(e){const t=iJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&lJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var MC=it({"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 n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var s=Object.getOwnPropertySymbols(n);if(s.length!==1||s[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(n,a);if(u.value!==i||u.enumerable!==!0)return!1}return!0}}}),PC=it({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=MC();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),uJ=it({"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(s){var u=this;if(typeof u!="function"||a.call(u)!==o)throw new TypeError(r+u);for(var d=n.call(arguments,1),p,h=function(){if(this instanceof p){var b=u.apply(this,d.concat(n.call(arguments)));return Object(b)===b?b:this}else return u.apply(s,d.concat(n.call(arguments)))},m=Math.max(0,u.length-d.length),f=[],v=0;v"u"?r:h(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%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%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:h(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:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?h(""[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){var O;if(z==="%AsyncFunction%")O=i("async function () {}");else if(z==="%GeneratorFunction%")O=i("function* () {}");else if(z==="%AsyncGeneratorFunction%")O=i("async function* () {}");else if(z==="%AsyncGenerator%"){var L=$("%AsyncGeneratorFunction%");L&&(O=L.prototype)}else if(z==="%AsyncIteratorPrototype%"){var M=$("%AsyncGenerator%");M&&(O=h(M.prototype))}return v[z]=O,O},b={"%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"]},C=Mh(),w=cJ(),x=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),D=C.call(Function.call,String.prototype.replace),S=C.call(Function.call,String.prototype.slice),A=C.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,T=function(z){var O=S(z,0,1),L=S(z,-1);if(O==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(L==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return D(z,k,function(j,G,H,K){M[M.length]=H?D(K,F,"$1"):G||j}),M},R=function(z,O){var L=z,M;if(w(b,L)&&(M=b[L],L="%"+M[0]+"%"),w(v,L)){var j=v[L];if(j===m&&(j=g(L)),typeof j>"u"&&!O)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:M,name:L,value:j}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,O){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof O!="boolean")throw new o('"allowMissing" argument must be a boolean');if(A(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var L=T(z),M=L.length>0?L[0]:"",j=R("%"+M+"%",O),G=j.name,H=j.value,K=!1,te=j.alias;te&&(M=te[0],E(L,x([0,1],te)));for(var le=1,Q=!0;le=L.length){var J=s(H,re);Q=!!J,Q&&"get"in J&&!("originalValue"in J.get)?H=J.get:H=H[re]}else Q=w(H,re),H=H[re];Q&&!K&&(v[G]=H)}}return H}}}),dJ=it({"node_modules/call-bind/index.js"(e,t){var r=Mh(),n=NC(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var f=i(r,o,arguments);if(s&&u){var v=s(f,"length");v.configurable&&u(f,"length",{value:1+d(0,m.length-(arguments.length-1))})}return f};var p=function(){return i(r,a,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),pJ=it({"node_modules/call-bind/callBound.js"(e,t){var r=NC(),n=dJ(),a=n(r("String.prototype.indexOf"));t.exports=function(i,s){var u=r(i,!!s);return typeof u=="function"&&a(i,".prototype.")>-1?n(u):u}}}),fJ=it({"node_modules/has-tostringtag/shams.js"(e,t){var r=MC();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),hJ=it({"node_modules/is-regex/index.js"(e,t){var r=pJ(),n=fJ()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},u=function(){throw i},s={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,h="[object RegExp]";t.exports=n?function(f){if(!f||typeof f!="object")return!1;var v=p(f,"lastIndex"),g=v&&a(v,"value");if(!g)return!1;try{o(f,s)}catch(b){return b===i}}:function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:d(f)===h}}}),mJ=it({"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)}}}),gJ=it({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=PC()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(u){return typeof u.valueOf()!="symbol"?!1:o.test(a.call(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return i(u)}catch{return!1}}):t.exports=function(u){return!1};var a,o,i}}),vJ=Oh(hJ()),yJ=Oh(mJ()),bJ=Oh(gJ());function wJ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var EJ=typeof global=="object"&&global&&global.Object===Object&&global,xJ=EJ,CJ=typeof self=="object"&&self&&self.Object===Object&&self,DJ=xJ||CJ||Function("return this")(),Ph=DJ,SJ=Ph.Symbol,Ea=SJ,HC=Object.prototype,AJ=HC.hasOwnProperty,kJ=HC.toString,uo=Ea?Ea.toStringTag:void 0;function _J(e){var t=AJ.call(e,uo),r=e[uo];try{e[uo]=void 0;var n=!0}catch{}var a=kJ.call(e);return n&&(t?e[uo]=r:delete e[uo]),a}var FJ=_J,IJ=Object.prototype,TJ=IJ.toString;function RJ(e){return TJ.call(e)}var BJ=RJ,zJ="[object Null]",$J="[object Undefined]",Wy=Ea?Ea.toStringTag:void 0;function LJ(e){return e==null?e===void 0?$J:zJ:Wy&&Wy in Object(e)?FJ(e):BJ(e)}var OJ=LJ,Gy=Ea?Ea.prototype:void 0;Gy&&Gy.toString;function MJ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var jC=MJ,PJ="[object AsyncFunction]",NJ="[object Function]",HJ="[object GeneratorFunction]",jJ="[object Proxy]";function VJ(e){if(!jC(e))return!1;var t=OJ(e);return t==NJ||t==HJ||t==PJ||t==jJ}var UJ=VJ,qJ=Ph["__core-js_shared__"],od=qJ,Ky=function(){var e=/[^.]+$/.exec(od&&od.keys&&od.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function WJ(e){return!!Ky&&Ky in e}var GJ=WJ,KJ=Function.prototype,YJ=KJ.toString;function JJ(e){if(e!=null){try{return YJ.call(e)}catch{}try{return e+""}catch{}}return""}var ZJ=JJ,XJ=/[\\^$.*+?()[\]{}|]/g,QJ=/^\[object .+?Constructor\]$/,eZ=Function.prototype,tZ=Object.prototype,rZ=eZ.toString,nZ=tZ.hasOwnProperty,aZ=RegExp("^"+rZ.call(nZ).replace(XJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oZ(e){if(!jC(e)||GJ(e))return!1;var t=UJ(e)?aZ:QJ;return t.test(ZJ(e))}var iZ=oZ;function lZ(e,t){return e==null?void 0:e[t]}var sZ=lZ;function uZ(e,t){var r=sZ(e,t);return iZ(r)?r:void 0}var VC=uZ;function cZ(e,t){return e===t||e!==e&&t!==t}var dZ=cZ,pZ=VC(Object,"create"),Jo=pZ;function fZ(){this.__data__=Jo?Jo(null):{},this.size=0}var hZ=fZ;function mZ(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var gZ=mZ,vZ="__lodash_hash_undefined__",yZ=Object.prototype,bZ=yZ.hasOwnProperty;function wZ(e){var t=this.__data__;if(Jo){var r=t[e];return r===vZ?void 0:r}return bZ.call(t,e)?t[e]:void 0}var EZ=wZ,xZ=Object.prototype,CZ=xZ.hasOwnProperty;function DZ(e){var t=this.__data__;return Jo?t[e]!==void 0:CZ.call(t,e)}var SZ=DZ,AZ="__lodash_hash_undefined__";function kZ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Jo&&t===void 0?AZ:t,this}var _Z=kZ;function Pa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var PZ=MZ;function NZ(e,t){var r=this.__data__,n=Tu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var HZ=NZ;function Na(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;ipX(e).replace(/\n\s*/g,"").trim()),hX=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},mX=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function qC(e){if(!dX(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=sJ(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 gX=function(t){let r,n,a,o;return function(s,u){try{if(s==="")return o=[],r=new Map([[u,"[]"]]),n=new Map,a=[],u;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),o.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===-1/0?"_-Infinity_":u===1/0?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return mX.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,vJ.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,yJ.default)(u)){if(!t.allowFunction)return;const{name:h}=u,m=u.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${h}|${(()=>{}).toString()}`:`_function_${h}|${fX(hX(s,m))}`}if((0,bJ.default)(u)){if(!t.allowSymbol)return;const h=Symbol.keyFor(u);return h!==void 0?`_gsymbol_${h}`:`_symbol_${u.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(o)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&!t.allowClass)return;const p=r.get(u);if(!p){const h=Array.isArray(u)?u:qC(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(h,{"_constructor-name_":u.constructor.name})}catch{}return o.push(s),a.unshift(h),r.set(u,JSON.stringify(o)),u!==h&&n.set(u,h),h}return`_duplicate_${p}`}catch{return}}},vX={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},yX=(e,t={})=>{const r={...vX,...t};return JSON.stringify(qC(e),gX(r),t.space)};/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + *//** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */const{global:nt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:bX,once:wX,logger:Hh}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:ws,composeConfigs:bre,Preview:wre,DocsContext:Ere}=__STORYBOOK_MODULE_PREVIEW_API__,{GLOBALS_UPDATED:Jy,STORY_ARGS_UPDATED:Zy,UPDATE_STORY_ARGS:EX,RESET_STORY_ARGS:xX,NAVIGATE_URL:CX}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var DX=Ca({"../../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}}}),SX=Ca({"../../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,u=" ";function d(E,D){var S=D.appendChild(h(E));if(E.children.length){var A=m(E.isCollapsed);E.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function p(E,D){var S=!1,A=m(S);if(D.forEach(function(k){d(k,A)}),i=E||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(A)}function h(E){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",E.textContent),r.includeHtml&&E.childNodes.length?n.call(E.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=E.textContent,S.setAttribute("href",r.basePath+"#"+E.id),S.setAttribute("class",r.linkClass+u+"node-name--"+E.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function m(E){var D=r.orderedList?"ol":"ul",S=document.createElement(D),A=r.listClass+u+r.extraListClasses;return E&&(A=A+u+r.collapsibleClass,A=A+u+r.isCollapsedClass),S.setAttribute("class",A),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var E;E=document.querySelector(r.scrollContainer).scrollTop}else E=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),E>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(E){var D=0;return E!==null&&(D=E.offsetTop,r.hasInnerContainers&&(D+=v(E.offsetParent))),D}function g(E,D){return E&&E.className!==D&&(E.className=D),E}function b(E){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=E,A;if(s&&i!==null&&S.length>0){a.call(S,function(O,L){if(v(O)>D+r.headingsOffset+10){var M=L===0?L:L-1;return A=S[M],!0}else if(L===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),F=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===F)return;var T=i.querySelectorAll("."+r.linkClass);n.call(T,function(O){g(O,O.className.replace(u+r.activeLinkClass,""))});var R=i.querySelectorAll("."+r.listItemClass);n.call(R,function(O){g(O,O.className.replace(u+r.activeListItemClass,""))}),F&&F.className.indexOf(r.activeLinkClass)===-1&&(F.className+=u+r.activeLinkClass);var $=F&&F.parentNode;$&&$.className.indexOf(r.activeListItemClass)===-1&&($.className+=u+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(O){O.className.indexOf(r.isCollapsedClass)===-1&&(O.className+=u+r.isCollapsedClass)}),F&&F.nextSibling&&F.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(F.nextSibling,F.nextSibling.className.replace(u+r.isCollapsedClass,"")),C(F&&F.parentNode.parentNode)}}function C(E){return E&&E.className.indexOf(r.collapsibleClass)!==-1&&E.className.indexOf(r.isCollapsedClass)!==-1?(g(E,E.className.replace(u+r.isCollapsedClass,"")),C(E.parentNode.parentNode)):E}function w(E){var D=E.target||E.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(s=!1)}function x(){s=!0}return{enableTocAnimation:x,disableTocAnimation:w,render:p,updateToc:b}}}}),AX=Ca({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let m=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var f={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:m};return r.includeHtml&&(f.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,h):f}function u(h,m){for(var f=s(h),v=f.headingLevel,g=m,b=a(g),C=b?b.headingLevel:0,w=v-C;w>0&&(b=a(g),!(b&&v===b.headingLevel));)b&&b.children!==void 0&&(g=b.children),w--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(h,m){var f=m;r.ignoreSelector&&(f=m.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(h){return n.call(h,function(m,f){var v=s(f);return v&&u(v,m.nest),m},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),kX=Ca({"../../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)}}}}),_X=Ca({"../../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",h,!1);function h(m){!u(m.target)||m.target.className.indexOf("no-smooth-scroll")>-1||m.target.href.charAt(m.target.href.length-2)==="#"&&m.target.href.charAt(m.target.href.length-1)==="!"||m.target.className.indexOf(n.linkClass)===-1||r(m.target.hash,{duration:a,offset:o,callback:function(){p(m.target.hash)}})}}function u(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function p(h){var m=document.getElementById(h.substring(1));m&&(/^(?:a|select|input|button|textarea)$/i.test(m.tagName)||(m.tabIndex=-1),m.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("")+'"]'),u=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(u):i.duration,p,h;requestAnimationFrame(function(g){p=g,m(g)});function m(g){h=g-p,window.scrollTo(0,i.easing(h,o,u,d)),h"u"&&!h)return;var m,f=Object.prototype.hasOwnProperty;function v(){for(var w={},x=0;x({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:ie(.3,e.color.defaultText),fontSize:e.typography.size.s2})),WC=e=>y.createElement(IX,{...e,className:"docblock-emptyblock sb-unstyled"}),TX=_(ih)(({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"}})),RX=_.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"})),el=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${hd}`]:{margin:0}})),BX=()=>y.createElement(RX,null,y.createElement(el,null),y.createElement(el,{style:{width:"80%"}}),y.createElement(el,{style:{width:"30%"}}),y.createElement(el,{style:{width:"80%"}})),jh=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=V3();if(e)return y.createElement(BX,null);if(t)return y.createElement(WC,null,t);let u=y.createElement(TX,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let d=a?pd.dark:pd.light;return y.createElement(U3,{theme:fd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},u)},fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Vh=600,zX=_.h1(ue,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Vh}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),$X=_.h2(ue,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Vh}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ie(.25,e.color.defaultText)})),LX=_.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ie(.1,e.color.defaultText):ie(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[fe("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}},[fe("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}},[fe("div")]:t,[fe("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}},[fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[fe("img")]:{maxWidth:"100%"},[fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[fe("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"}},[fe("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"}}},[fe("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}},[fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),OX=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Vh}px)`]:{}})),MX=({children:e,toc:t})=>y.createElement(OX,{className:"sbdocs sbdocs-wrapper"},y.createElement(LX,{className:"sbdocs sbdocs-content"},e),t),Bu=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}`}),PX=_(mh)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),NX=_.div({display:"flex",alignItems:"center",gap:4}),HX=_.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`})),jX=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(PX,{...o},y.createElement(NX,{key:"left"},e?[1,2,3].map(i=>y.createElement(HX,{key:i})):y.createElement(y.Fragment,null,y.createElement(cn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(XL,null)),y.createElement(cn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(QL,null)),y.createElement(cn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(eO,null))))),GC=l.createContext({scale:1}),{window:VX}=nt,UX=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=VX.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})}},{PREVIEW_URL:qX}=nt,WX=qX||"iframe.html",ep=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,GX=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,m=p(i,h,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>m())}},[u,p,i]),a?y.createElement("pre",null,y.createElement(Yz,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${ep(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(KC,null),y.createElement("div",{ref:t,id:`${ep(e)}-inner`,"data-name":i.name}))},KX=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(GC.Consumer,null,({scale:r})=>y.createElement(UX,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:yL(WX,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),YX=_.strong(({theme:e})=>({color:e.color.orange})),JX=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(YX,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:ep(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(GX,{...e}):y.createElement(KX,{...e}))},KC=()=>y.createElement(vL,null),ZX=_.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)`}}:{}),Xy=_(jh)(({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)":Lt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Lt(.05,e.background.content)}})),XX=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Bu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),QX=(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(Xy,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(Xy,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function eQ(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var tQ=_(jX)({position:"absolute",top:0,left:0,right:0,height:40}),rQ=_.div({overflow:"hidden",position:"relative"}),YC=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:u,layout:d="padded",...p})=>{let[h,m]=l.useState(i),{source:f,actionItem:v}=QX(a,h,m),[g,b]=l.useState(1),C=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),w=a?[v]:[],[x,E]=l.useState(s?[...s]:[]),D=[...w,...x],{window:S}=nt,A=l.useCallback(async F=>{let{createCopyToClipboardFunction:T}=await d3(()=>import("./index-dIG9MX77.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);T()},[]),k=F=>{let T=S.getSelection();T&&T.type==="Range"||(F.preventDefault(),x.filter(R=>R.title==="Copied").length===0&&A(f.props.code).then(()=>{E([...x,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>E(x.filter(R=>R.title!=="Copied")),1500)}))};return y.createElement(XX,{withSource:a,withToolbar:o,...p,className:C.join(" ")},o&&y.createElement(tQ,{isLoading:e,border:!0,zoom:F=>b(g*F),resetZoom:()=>b(1),storyId:eQ(n),baseUrl:"./iframe.html"}),y.createElement(GC.Provider,{value:{scale:g}},y.createElement(rQ,{className:"docs-story",onCopyCapture:a&&k},y.createElement(ZX,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(Hz.Element,{scale:g},Array.isArray(n)?n.map((F,T)=>y.createElement("div",{key:T},F)):y.createElement("div",null,n))),y.createElement(Lp,{actionItems:D}))),a&&h&&f)};_(YC)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var nQ=_.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:Pr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),aQ=({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(nQ,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)))))},tp=8,Qy=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),oQ=_.span(Pr,({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}})),iQ=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),lQ=_.div(Pr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),sQ=_.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"}})),uQ=_(uO)({marginLeft:4}),cQ=_(Mx)({marginLeft:4}),dQ=()=>y.createElement("span",null,"-"),JC=({text:e,simple:t})=>y.createElement(oQ,{simple:t},e),pQ=RC(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),fQ=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return mG(t)},e3=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,tp)),r.map(n=>y.createElement(JC,{key:n,text:n===""?'""':n}))},hQ=({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 u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return y.createElement(JC,{text:u});let d=fQ(u),p=d.length;return p>tp?y.createElement(Qy,{isExpanded:i},e3(d,i),y.createElement(iQ,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-tp} more...`)):y.createElement(Qy,null,e3(d))}return y.createElement(E$,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(sQ,{width:pQ(n)},y.createElement(ih,{language:"jsx",format:!1},n))},y.createElement(lQ,{className:"sbdocs-expandable"},y.createElement("span",null,u),a?y.createElement(uQ,null):y.createElement(cQ,null)))},id=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(dQ,null):y.createElement(hQ,{value:e,initialExpandedArgs:t}),mQ=_.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:ie(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Zi(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Zi(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Zi(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Zi(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),gQ=e=>e==="true",vQ=({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(An,{variant:"outline",size:"medium",id:Ss(e),onClick:i,disabled:s},"Set boolean");let u=Ct(e),d=typeof t=="string"?gQ(t):t;return y.createElement(mQ,{"aria-disabled":s,htmlFor:u,"aria-label":e},y.createElement("input",{id:u,type:"checkbox",onChange:h=>r(h.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"))},yQ=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},bQ=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},wQ=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}`},EQ=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},t3=_(Ci.Input)(({readOnly:e})=>({opacity:e?.5:1})),xQ=_.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}})),CQ=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[i,s]=l.useState(!0),u=l.useRef(),d=l.useRef(),p=!!((v=o==null?void 0:o.table)!=null&&v.readonly);l.useEffect(()=>{i!==!1&&(u&&u.current&&(u.current.value=t?wQ(t):""),d&&d.current&&(d.current.value=t?EQ(t):""))},[t]);let h=g=>{if(!g.target.value)return r();let b=yQ(g.target.value),C=new Date(t);C.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let w=C.getTime();w&&r(w),s(!!w)},m=g=>{if(!g.target.value)return r();let b=bQ(g.target.value),C=new Date(t);C.setHours(b.getHours()),C.setMinutes(b.getMinutes());let w=C.getTime();w&&r(w),s(!!w)},f=Ct(e);return y.createElement(xQ,null,y.createElement(t3,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:h,onFocus:n,onBlur:a}),y.createElement(t3,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:m,readOnly:p,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},DQ=_.label({display:"flex"}),SQ=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},AQ=_(Ci.Input)(({readOnly:e})=>({opacity:e?.5:1})),kQ=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:u})=>{var x;let[d,p]=l.useState(typeof t=="number"?t:""),[h,m]=l.useState(!1),[f,v]=l.useState(null),g=!!((x=u==null?void 0:u.table)!=null&&x.readonly),b=l.useCallback(E=>{p(E.target.value);let D=parseFloat(E.target.value);Number.isNaN(D)?v(new Error(`'${E.target.value}' is not a number`)):(r(D),v(null))},[r,v]),C=l.useCallback(()=>{p("0"),r(0),m(!0)},[m]),w=l.useRef(null);return l.useEffect(()=>{h&&w.current&&w.current.select()},[h]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?y.createElement(An,{variant:"outline",size:"medium",id:Ss(e),onClick:C,disabled:g},"Set number"):y.createElement(DQ,null,y.createElement(AQ,{ref:w,id:Ct(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:h,readOnly:g,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},ZC=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},rp=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],XC=(e,t)=>e&&t&&e.map(r=>t[r]),_Q=_.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"}}}),FQ=_.span({"[aria-readonly=true] &":{opacity:.5}}),IQ=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),r3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var m;if(!t)return Hh.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=rp(r,t),[s,u]=l.useState(i),d=!!((m=o==null?void 0:o.table)!=null&&m.readonly),p=f=>{let v=f.target.value,g=[...s];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(XC(g,t)),u(g)};l.useEffect(()=>{u(rp(r,t))},[r]);let h=Ct(e);return y.createElement(_Q,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${h}-${v}`;return y.createElement(IQ,{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(FQ,null,f))}))},TQ=_.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"}}}),RQ=_.span({"[aria-readonly=true] &":{opacity:.5}}),BQ=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),n3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Hh.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=ZC(r,t),s=Ct(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(TQ,{"aria-readonly":u,isInline:a},Object.keys(t).map((p,h)=>{let m=`${s}-${h}`;return y.createElement(BQ,{key:m,htmlFor:m},y.createElement("input",{type:"radio",id:m,name:s,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),y.createElement(RQ,null,p))}))},zQ={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},QC=_.select(zQ,({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}}})),eD=_.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}}})),a3="Choose option...",$Q=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=ZC(t,r)||a3,s=Ct(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(eD,null,y.createElement(Mx,null),y.createElement(QC,{disabled:u,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},a3),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},LQ=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let h=Array.from(p.currentTarget.options).filter(m=>m.selected).map(m=>m.value);n(XC(h,r))},i=rp(t,r),s=Ct(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(eD,null,y.createElement(QC,{disabled:u,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},o3=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(LQ,{...e}):y.createElement($Q,{...e}):(Hh.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},OQ=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,MQ={check:r3,"inline-check":r3,radio:n3,"inline-radio":n3,select:o3,"multi-select":o3},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?OQ(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=MQ[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},Uh="value",PQ="key",NQ="Error",HQ="Object",jQ="Array",VQ="String",UQ="Number",qQ="Boolean",WQ="Date",GQ="Null",KQ="Undefined",YQ="Function",JQ="Symbol",tD="ADD_DELTA_TYPE",rD="REMOVE_DELTA_TYPE",nD="UPDATE_DELTA_TYPE";function on(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 aD(e,t){let r=on(e),n=on(t);return(r==="Function"||n==="Function")&&n!==r}var qh=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}),u=l.cloneElement(n,{onClick:e}),d=a(Uh,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let m=a(PQ,o,i);h=l.cloneElement(m,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},h,p,u,s)}};qh.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var oD=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:rD};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(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:u}=this.props;s(r[r.length-1],i),u({type:tD,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,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:nD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),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:u}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,s),h=o(e,t,r,n,s),m=l.cloneElement(u,{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"),!h&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,delimiter:T,ul:R,addForm:$}=p(e,t,r,n,h),z=d(e,t,r,n,h),O=l.cloneElement(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),L=l.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:k});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"["),!a&&O,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map((M,j)=>y.createElement(zu,{key:j,name:j.toString(),data:M,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}))),!z&&a&&y.createElement("div",{className:"rejt-add-form",style:$},y.createElement(qh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"]"),!z&&L)}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(),u=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:u.name},e," :"," ")),s)}};oD.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var iD=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,u=i(r,n,a,o,s);e&&!u&&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 u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{aD(t,u)||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:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=null,C=null,w=s(e,i,n,a,u);if(r&&!w){let x=m(Uh,v,a,e,i,u),E=l.cloneElement(p,{onClick:this.handleEdit}),D=l.cloneElement(h,{onClick:this.handleCancelEdit}),S=l.cloneElement(x,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,E),C=null}else{b=y.createElement("span",{className:"rejt-value",style:g.value,onClick:w?null:this.handleEditMode},t);let x=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});C=w?null:x}return y.createElement("li",{className:"rejt-function-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),b,C)}};iD.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var zu=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:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S}=this.props,A=()=>!0,k=on(e);switch(k){case NQ:return y.createElement(np,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:A,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case HQ:return y.createElement(np,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case jQ:return y.createElement(oD,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case VQ:return y.createElement(xr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case UQ:return y.createElement(xr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case qQ:return y.createElement(xr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case WQ:return y.createElement(xr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case GQ:return y.createElement(xr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case KQ:return y.createElement(xr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case YQ:return y.createElement(iD,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case JQ:return y.createElement(xr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});default:return null}}};zu.defaultProps={keyPath:[],deep:0};var np=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:u}=this.props;s(n[n.length-1],r),u({type:tD,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:rD};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(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,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:nD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),m=o(e,n,t,r,i),f=l.cloneElement(u,{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},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!m&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,addForm:T,ul:R,delimiter:$}=p(e,t,r,n,h),z=Object.getOwnPropertyNames(t),O=d(e,t,r,n,h),L=l.cloneElement(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),M=l.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:k}),j=z.map(G=>y.createElement(zu,{key:G,name:G,data:t[G],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(G),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:$},"{"),!O&&L,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},j),!O&&o&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(qh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:$},"}"),!O&&M)}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(),u=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:u.name},e," :"," ")),s)}};np.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var xr=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,u=i(r,n,a,o,s);e&&!u&&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 u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{aD(t,u)||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:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=s(e,i,n,a,u),C=r&&!b,w=m(Uh,v,a,e,i,u),x=l.cloneElement(p,{onClick:this.handleEdit}),E=l.cloneElement(h,{onClick:this.handleCancelEdit}),D=l.cloneElement(w,{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," : "),C?y.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",E,x):y.createElement("span",{className:"rejt-value",style:g.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!C&&S)}};xr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var ZQ={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},XQ={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},QQ={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function eee(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var lD=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:u,inputElement:d,textareaElement:p,minusMenuElement:h,plusMenuElement:m,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:C,fallback:w=null}=this.props,x=on(e),E=a;on(a)==="Boolean"&&(E=()=>a);let D=d;d&&on(d)!=="Function"&&(D=()=>d);let S=p;return p&&on(p)!=="Function"&&(S=()=>p),x==="Object"||x==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(zu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:E,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:C})):w}};lD.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return ZQ;case"Array":return XQ;default:return QQ}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>eee(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:tee}=nt,ree=_.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}})),ld=_.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})),nee=_(aO)(({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}})),aee=_(oO)(({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}})),i3=_.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}`}})),oee=_(cn)(({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}})),iee=_(Ci.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"}})),lee={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},see=e=>{e.currentTarget.dispatchEvent(new tee.KeyboardEvent("keydown",lee))},uee=e=>{e.currentTarget.select()},cee=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),l3=({name:e,value:t,onChange:r,argType:n})=>{var x;let a=V3(),o=l.useMemo(()=>t&&eJ(t),[t]),i=o!=null,[s,u]=l.useState(!i),[d,p]=l.useState(null),h=!!((x=n==null?void 0:n.table)!=null&&x.readonly),m=l.useCallback(E=>{try{E&&r(JSON.parse(E)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=l.useState(!1),g=l.useCallback(()=>{r({}),v(!0)},[v]),b=l.useRef(null);if(l.useEffect(()=>{f&&b.current&&b.current.select()},[f]),!i)return y.createElement(An,{disabled:h,id:Ss(e),onClick:g},"Set object");let C=y.createElement(iee,{ref:b,id:Ct(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:E=>m(E.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:h}),w=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(ree,{"aria-readonly":h},w&&y.createElement(oee,{onClick:E=>{E.preventDefault(),u(D=>!D)}},s?y.createElement(rO,null):y.createElement(tO,null),y.createElement("span",null,"RAW")),s?C:y.createElement(lD,{readOnly:h||!w,isCollapsed:w?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:cee(a),cancelButtonElement:y.createElement(ld,{type:"button"},"Cancel"),editButtonElement:y.createElement(ld,{type:"submit"},"Save"),addButtonElement:y.createElement(ld,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(nee,null),minusMenuElement:y.createElement(aee,null),inputElement:(E,D,S,A)=>A?y.createElement(i3,{onFocus:uee,onBlur:see}):y.createElement(i3,null),fallback:C}))},dee=_.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}%, + ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Lt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Zr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Zr(.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 ${lr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Lt(.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:lr(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}%, + ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Lt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Zr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Zr(.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 ${lr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Lt(.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}%, + ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Lt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Zr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Zr(.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 ${lr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),sD=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),pee=_(sD)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),fee=_.div({display:"flex",alignItems:"center",width:"100%"});function hee(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 mee=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:u})=>{var f;let d=v=>{r(SQ(v.target.value))},p=t!==void 0,h=l.useMemo(()=>hee(o),[o]),m=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return y.createElement(fee,{"aria-readonly":m},y.createElement(sD,null,n),y.createElement(dee,{id:Ct(e),type:"range",disabled:m,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(pee,{numberOFDecimalsPlaces:h,max:a},p?t.toFixed(h):"--"," / ",a))},gee=_.label({display:"flex"}),vee=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),yee=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},u=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),h=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(An,{variant:"outline",size:"medium",disabled:u,id:Ss(e),onClick:h},"Set string");let m=typeof t=="string";return y.createElement(gee,null,y.createElement(Ci.Textarea,{id:Ct(e),maxLength:o,onChange:s,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:m?null:"error",name:e,value:m?t:"",onFocus:n,onBlur:a}),o&&y.createElement(vee,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},bee=_(Ci.Input)({padding:10});function wee(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Eee=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var u;let o=l.useRef(null),i=(u=a==null?void 0:a.control)==null?void 0:u.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(p),wee(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(bee,{ref:o,id:Ct(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},xee=l.lazy(()=>d3(()=>import("./Color-KGDBMAHA-_o7Uj3n8.js"),__vite__mapDeps([8,2,6,1,3,4,5,7]),import.meta.url)),Cee=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(xee,{...e})),Dee={array:l3,object:l3,boolean:vQ,color:Cee,date:CQ,number:kQ,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:mee,text:yee,file:Eee},s3=()=>y.createElement(y.Fragment,null,"-"),See=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[u,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),h=l.useCallback(()=>s(!1),[]),m=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&b?y.createElement(ra,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(s3,null)}let f={name:a,argType:e,value:u.value,onChange:p,onBlur:h,onFocus:m},v=Dee[o.type]||s3;return y.createElement(v,{...f,...o,controlType:o.type})},Aee=_.span({fontWeight:"bold"}),kee=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),_ee=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Pr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),Fee=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ie(.1,e.color.defaultText):ie(.2,e.color.defaultText),marginTop:t?4:0})),Iee=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ie(.1,e.color.defaultText):ie(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),Tee=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Ree=e=>e&&{summary:typeof e=="string"?e:e.name},tl=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:u,description:d}=n,p=n.table||{},h=p.type||Ree(n.type),m=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(Tee,{expandable:i},y.createElement(Aee,null,u),f?y.createElement(kee,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(_ee,null,y.createElement(IC,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(Iee,{hasDescription:v},y.createElement(id,{value:h,initialExpandedArgs:s})),y.createElement(aQ,{tags:p.jsDocTags})):y.createElement(Fee,{hasDescription:v},y.createElement(id,{value:h,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(id,{value:m,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(See,{...e,isHovered:t})):null)},Bee=_(lO)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ie(.25,e.color.defaultText):ie(.3,e.color.defaultText),border:"none",display:"inline-block"})),zee=_(sO)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ie(.25,e.color.defaultText):ie(.3,e.color.defaultText),border:"none",display:"inline-block"})),$ee=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Lee=_.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),Oee=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Mee=_.td(()=>({position:"relative"})),Pee=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Zr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),u3=_.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"})),sd=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?Oee:Lee,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Pee,{title:p},y.createElement(s,{colSpan:1},y.createElement(u3,{onClick:h=>i(!o),tabIndex:0},p),y.createElement($ee,null,o?y.createElement(Bee,null):y.createElement(zee,null),t)),y.createElement(Mee,{colSpan:a-1},y.createElement(u3,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},rl=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),ke=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),he=_.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})),_e=[2,4,2,2],Nee=()=>y.createElement(y.Fragment,null,y.createElement(rl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(rl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(rl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(rl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"})))),Hee=_.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"})),jee=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Vee=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Uee=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(Hee,{inAddonPanel:e},y.createElement(Ix,{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(jee,null,e&&y.createElement(y.Fragment,null,y.createElement(ra,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(nO,null)," Watch 5m video"),y.createElement(Vee,null),y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(W1,null)," Read docs")),!e&&y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(W1,null)," Learn how to set that up"))}))},qee=_.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ie(.25,e.color.defaultText):ie(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),Wee=_(cn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Gee=_.span({display:"flex",justifyContent:"space-between"}),Kee={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},Yee=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:u}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:o,...i});else{let p=d.subsections[u]||[];p.push({key:o,...i}),d.subsections[u]=p}r.sections[s]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:o,...i}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:o,...i})});let n=Kee[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)}}),{})}},Jee=(e,t,r)=>{try{return xD(e,t,r)}catch(n){return wX.warn(n.message),!1}},Es=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:w}=e;return y.createElement(WC,null,w," ",y.createElement(ra,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(W1,null)," Read the docs"))}if(s)return y.createElement(Nee,null);let{rows:u,args:d,globals:p}="rows"in e&&e,h=Yee(Iq(u,w=>{var x;return!((x=w==null?void 0:w.table)!=null&&x.disable)&&Jee(w,d||{},p||{})}),i),m=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,v=Object.entries(h.ungroupedSubsections).length===0;if(m&&f&&v)return y.createElement(Uee,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let b=Object.keys(h.sections).length>0,C={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(i9,null,y.createElement(qee,{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(Gee,null,"Control"," ",!s&&r&&y.createElement(Wee,{onClick:()=>r(),title:"Reset controls"},y.createElement(cO,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(w=>y.createElement(tl,{key:w.key,row:w,arg:d&&d[w.key],...C})),Object.entries(h.ungroupedSubsections).map(([w,x])=>y.createElement(sd,{key:w,label:w,level:"subsection",colSpan:g},x.map(E=>y.createElement(tl,{key:E.key,row:E,arg:d&&d[E.key],expandable:b,...C})))),Object.entries(h.sections).map(([w,x])=>y.createElement(sd,{key:w,label:w,level:"section",colSpan:g},x.ungrouped.map(E=>y.createElement(tl,{key:E.key,row:E,arg:d&&d[E.key],...C})),Object.entries(x.subsections).map(([E,D])=>y.createElement(sd,{key:E,label:E,level:"subsection",colSpan:g},D.map(S=>y.createElement(tl,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...C})))))))))},uD=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(Es,{...r[0][1],...t}):y.createElement(nL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,u="div",d=a===0?t:{sort:t.sort};return y.createElement(u,{key:s,id:s,title:o},({active:p})=>p?y.createElement(Es,{key:`prop_table_${o}`,...i,...d}):null)}))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(ue,({theme:e})=>({...Bu(e),margin:"25px 0 40px",padding:"30px 20px"}));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?ie(.2,e.color.defaultText):ie(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...Bu(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"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));_.div(({theme:e})=>({...Bu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});_.div({display:"flex",flexFlow:"row wrap"});var Zee=e=>`anchor--${e}`,cD=({storyId:e,children:t})=>y.createElement("div",{id:Zee(e),className:"sb-anchor"},t);nt&&nt.__DOCS_CONTEXT__===void 0&&(nt.__DOCS_CONTEXT__=l.createContext(null),nt.__DOCS_CONTEXT__.displayName="DocsContext");var lt=nt?nt.__DOCS_CONTEXT__:l.createContext(null),Nr=(e,t)=>l.useContext(lt).resolveOf(e,t),Xee=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),dD=e=>{if(e)return typeof e=="string"?e.includes("-")?Xee(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function Qee(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function pD(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}function ete(e){if(e.type==="component"){let{component:o,projectAnnotations:{parameters:i}}=e;return{argTypes:pD(o,i),parameters:i,component:o}}if(e.type==="meta"){let{preparedMeta:{argTypes:o,parameters:i,component:s,subcomponents:u}}=e;return{argTypes:o,parameters:i,component:s,subcomponents:u}}let{story:{argTypes:t,parameters:r,component:n,subcomponents:a}}=e;return{argTypes:t,parameters:r,component:n,subcomponents:a}}var xre=e=>{var g;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=Nr(t||"meta"),{argTypes:n,parameters:a,component:o,subcomponents:i}=ete(r),s=((g=a.docs)==null?void 0:g.argTypes)||{},u=e.include??s.include,d=e.exclude??s.exclude,p=e.sort??s.sort,h=ws(n,u,d);if(!(i&&Object.keys(i).length>0))return y.createElement(Es,{rows:h,sort:p});let m=dD(o),f=Object.fromEntries(Object.entries(i).map(([b,C])=>[b,{rows:ws(pD(C,a),u,d),sort:p}])),v={[m]:{rows:h,sort:p},...f};return y.createElement(uD,{tabs:v,sort:p})};function fD(e){return yX(e,{allowFunction:!1})}var Wh=l.createContext({sources:{}}),hD="--unknown--",tte=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:u,args:d=void 0,source:p,format:h}=typeof o=="string"?{id:o,source:i,format:s}:o,m=d?fD(d):hD;n(f=>({...f,[u]:{...f[u],[m]:{code:p,format:h}}}))};return t.on(Qh,a),()=>t.off(Qh,a)},[]),y.createElement(Wh.Provider,{value:{sources:r}},e)},rte=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[fD(t)])||(a==null?void 0:a[hD])||{code:""}},nte=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},i=r||o.type||Ou.AUTO;if(o.code!==void 0)return o.code;let s=i===Ou.DYNAMIC||i===Ou.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},mD=(e,t,r)=>{var f,v,g,b;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,u=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:u,dark:d};let p=t.getStoryContext(n),h=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,m=rte(n.id,h,r);return s=m.format??((b=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:b.format)??!1,{code:nte({snippet:m.code,storyContext:{...p,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:u,dark:d}},Cre=e=>{let t=l.useContext(Wh),r=l.useContext(lt),n=mD(e,r,t);return y.createElement(jh,{...n})};function ate(e,t){let r=ote([e],t);return r&&r[0]}function ote(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 ite=(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},lte=(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,u=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:u,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}},ste=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(lt),r=ite(e,t),n=ate(r,t);if(!n)return y.createElement(KC,null);let a=lte(e,n,t);return a?y.createElement(JX,{...a}):null},ute=e=>{var m,f,v,g,b,C,w,x,E,D;let t=l.useContext(lt),r=l.useContext(Wh),{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}=Nr(n||"story",["story"]),i=mD({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(m=o.parameters.docs)==null?void 0:m.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.additionalActions),p=e.sourceState??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.sourceState)??"hidden",h=e.className??((D=(E=o.parameters.docs)==null?void 0:E.canvas)==null?void 0:D.className);return y.createElement(YC,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:h,layout:s},y.createElement(ste,{of:n||o.moduleExport,meta:e.meta,...e.story}))},cte=(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(Jy,o),()=>t.channel.off(Jy,o)},[t.channel]),[n]},dte=(e,t)=>{let r=pte(e,t);if(!r)throw new Error("No result when story was defined");return r},pte=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let u=d=>{d.storyId===n&&o(d.args)};return t.channel.on(Zy,u),()=>t.channel.off(Zy,u)},[n,t.channel]);let i=l.useCallback(u=>t.channel.emit(EX,{storyId:n,updatedArgs:u}),[n,t.channel]),s=l.useCallback(u=>t.channel.emit(xX,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,i,s]};function fte(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var hte=e=>{var 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=l.useContext(lt),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,u=((E=a.docs)==null?void 0:E.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,h=e.sort??u.sort,[m,f,v]=dte(n,r),[g]=cte(n,r),b=ws(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(m).length>0?y.createElement(Es,{rows:b,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v}):null;let C=dD(i),w=Object.fromEntries(Object.entries(s).map(([D,S])=>[D,{rows:ws(fte(S,a),d,p),sort:h}])),x={[C]:{rows:b,sort:h},...w};return y.createElement(uD,{tabs:x,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v})},{document:gD}=nt,mte=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(n9,null,t);let n=e&&e.split("-");return y.createElement(jh,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Gh(e,t){e.channel.emit(CX,t)}var ap=wL.a,gte=({hash:e,children:t})=>{let r=l.useContext(lt);return y.createElement(ap,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);gD.getElementById(a)&&Gh(r,e)}},t)},vte=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(lt);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(ap,{...e}):t.startsWith("#")?y.createElement(gte,{hash:t},n):y.createElement(ap,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),Gh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},vD=["h1","h2","h3","h4","h5","h6"],yte=vD.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),bte=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),wte=({as:e,id:t,children:r,...n})=>{let a=l.useContext(lt),o=yte[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(bte,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{gD.getElementById(t)&&Gh(a,i)}},y.createElement(iO,null)),r)},Kh=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(wte,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...se(s,t)})},Ete=vD.reduce((e,t)=>({...e,[t]:r=>y.createElement(Kh,{as:t,...r})}),{}),xte=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(SD`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(IC,{...e,options:{forceBlock:!0,overrides:{code:mte,a:vte,...Ete,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Cte=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Cte||{}),Dte=e=>{var t,r,n,a,o,i,s,u;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((u=(s=p.docs)==null?void 0:s.extractComponentDescription)==null?void 0:u.call(s,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},op=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=Nr(t||"meta"),n=Dte(r);return n?y.createElement(xte,null,n):null},c3=TD(FX()),Ste=_.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Ate=_.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"}})),kte=_.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),_te=({title:e})=>e===null?null:typeof e=="string"?y.createElement(kte,null,e):e,Fte=({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(()=>c3.init(i),100);return()=>{clearTimeout(s),c3.destroy()}},[t]),y.createElement(y.Fragment,null,y.createElement(Ste,null,t?null:y.createElement(Ate,null,y.createElement(_te,{title:e||null}),y.createElement("div",{className:"toc-wrapper"}))))),{document:Ite,window:Tte}=nt,Rte=({context:e,theme:t,children:r})=>{var a,o,i,s,u;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(u=(s=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:s.docs)==null?void 0:u.toc}return l.useEffect(()=>{let d;try{if(d=new URL(Tte.parent.location.toString()),d.hash){let p=Ite.getElementById(d.hash.substring(1));p&&setTimeout(()=>{Qee(p)},200)}}catch{}}),y.createElement(lt.Provider,{value:e},y.createElement(tte,{channel:e.channel},y.createElement(U3,{theme:SA(t)},y.createElement(MX,{toc:n?y.createElement(Fte,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Bte=/\s*\/\s*/,zte=e=>{let t=e.trim().split(Bte);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},$te=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=Nr(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||zte(n==null?void 0:n.title);return a?y.createElement(zX,{className:"sbdocs-title sb-unstyled"},a):null},Lte="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",Ote=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=Nr(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&&bX(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Lte}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?y.createElement($X,{className:"sbdocs-subtitle sb-unstyled"},i):null},Mte=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return y.createElement(o9,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return y.createElement(Kh,{as:"h3",id:r},e)},yD=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,u;let{story:o}=Nr(e||"story",["story"]),i=((u=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:u.withToolbar)??r;return y.createElement(cD,{storyId:o.id},t&&y.createElement(y.Fragment,null,y.createElement(Mte,null,o.name),y.createElement(op,{of:e})),y.createElement(ute,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},Pte=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}=Nr(t||"meta",["meta"]),n=l.useContext(lt).componentStoriesFromCSFFile(r)[0];return n?y.createElement(yD,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Nte=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return y.createElement(a9,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return y.createElement(Kh,{as:"h2",id:n,...r},e)},Hte=_(Nte)(({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"}})),jte=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(lt),o=r(),{stories:{filter:i}={filter:void 0}}=((s=n.parameters)==null?void 0:s.docs)||{};return i&&(o=o.filter(u=>i(u,a(u)))),o.some(u=>{var d;return(d=u.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(u=>{var d;return((d=u.tags)==null?void 0:d.includes("autodocs"))&&!u.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:y.createElement(y.Fragment,null,y.createElement(Hte,null,e),o.map(u=>u&&y.createElement(yD,{key:u.id,of:u.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Vte=()=>{let e=Nr("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return y.createElement(y.Fragment,null,y.createElement($te,null),y.createElement(Ote,null),y.createElement(op,{of:"meta"}),r?y.createElement(op,{of:"story"}):null,y.createElement(Pte,null),y.createElement(hte,null),r?null:y.createElement(jte,null))};function Dre({context:e,docsParameter:t}){let r=t.container||Rte,n=t.page||Vte;return y.createElement(r,{context:e,theme:t.theme},y.createElement(n,null))}var Sre=({of:e})=>{let t=l.useContext(lt);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return y.createElement(cD,{storyId:r.id})}catch{return null}};export{ire as $,An as A,fre as B,tre as C,Xte as D,Ol as E,Bx as F,rre as G,Qte as H,nre as I,Yz as J,uF as K,hre as L,mre as M,ih as N,mh as O,dF as P,Tx as Q,yu as R,pre as S,ure as T,cF as U,Rx as V,nL as W,Lp as X,N$ as Y,vre as Z,gre as _,q_ as a,lre as a0,fF as a1,ore as a2,E$ as a3,Hz as a4,Pr as a5,wL as a6,bd as a7,yL as a8,H1 as a9,dre as aa,se as ab,EL as ac,ue as ad,mte as ae,vte as af,Ete as ag,Dre as ah,Sre as ai,$te as aj,op as ak,Pte as al,xre as am,jte as an,Rte as ao,Cre as ap,_h as aq,_ as ar,yre as as,Ct as at,Ix as b,X_ as c,o9 as d,tF as e,Q_ as f,rF as g,eF as h,cn as i,sre as j,aF as k,n9 as l,kx as m,ra as n,U_ as o,a9 as p,O$ as q,vL as r,J_ as s,iF as t,Z_ as u,nF as v,Ci as w,sF as x,lF as y,i9 as z}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index-dIG9MX77.js","./iframe-_XbHwtE8.js","./index-aXz8NaAs.js","./index-n3prD_Ok.js","./index-4FLvW62B.js","./extends-dGVwEr9R.js","./index-CR2EVKgk.js","./index-PPLHz8o0.js","./Color-KGDBMAHA-_o7Uj3n8.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} \ No newline at end of file diff --git a/assets/index-K1fIJHIl.js b/assets/index-K1fIJHIl.js new file mode 100644 index 0000000..c5569c8 --- /dev/null +++ b/assets/index-K1fIJHIl.js @@ -0,0 +1 @@ +import{_ as t}from"./extends-dGVwEr9R.js";import{r}from"./index-aXz8NaAs.js";import{c as o}from"./index-M7H33-mE.js";const f=r.forwardRef((e,a)=>r.createElement(o.span,t({},e,{ref:a,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),s=f;export{f as $,s as a}; diff --git a/assets/index-EwGKNtg5.js b/assets/index-Kq3z_NZE.js similarity index 90% rename from assets/index-EwGKNtg5.js rename to assets/index-Kq3z_NZE.js index 29c8111..ba685b3 100644 --- a/assets/index-EwGKNtg5.js +++ b/assets/index-Kq3z_NZE.js @@ -1 +1 @@ -import{j as l}from"./jsx-runtime-DtaoT6pD.js";import{r as v}from"./index-OjgoNOWw.js";import{c as x}from"./createDragHandler-nJMxlNVC.js";import{C as b}from"./index-pk5nlV7d.js";import{L as p}from"./index-cYjXm3u-.js";function X({radius:t=32,step:h=12,nobRadius:w=8,...c}){const s=t*2,g=Math.cos(c.value)*(t-2),d=Math.sin(c.value)*(t-2),f=v.useRef(null),u=v.useRef(null),C=x({onDown:o=>{var y;const e=(y=f.current)==null?void 0:y.getBoundingClientRect();if(!e||!u.current)return;u.current.style.cursor="grabbing";const n=u.current.getBoundingClientRect(),a=n.left+n.width/2,i=n.top+n.height/2,r=e.left+e.width/2,m=e.top+e.height/2;return o.stopPropagation(),{centerX:r,centerY:m,offsetX:a-o.clientX,offsetY:i-o.clientY}},onMove:(o,e)=>{var r;if(!e)return;const n=o.clientX-e.centerX+e.offsetX,a=o.clientY-e.centerY+e.offsetY,i=Math.atan2(a,n);(r=c.onChange)==null||r.call(c,i)},onUp:()=>{u.current&&(u.current.style.cursor="grab")}}),M=x({onDown:o=>{var r,m;const e=(r=f.current)==null?void 0:r.getBoundingClientRect();if(!e)return;const n=e.left+e.width/2,a=e.top+e.height/2,i=Math.atan2(o.clientY-a,o.clientX-n);return(m=c.onChange)==null||m.call(c,i),{centerX:n,centerY:a}},onMove:(o,e)=>{var r;if(!e)return;const n=o.clientX-e.centerX,a=o.clientY-e.centerY,i=Math.atan2(a,n);(r=c.onChange)==null||r.call(c,i)}});return l.jsxs("div",{className:"cmpui_angle-input__root",onPointerDown:M,ref:f,style:{width:s,height:s},children:[l.jsx("svg",{width:s,height:s,viewBox:`0 0 ${s} ${s}`,children:l.jsx("circle",{cx:t,cy:t,r:t-1,stroke:"var(--cmpui-border-color)",fill:"none",strokeWidth:1})}),Array.from({length:h}).map((o,e)=>{const n=e*Math.PI/(h/2),a=Math.cos(n)*(t-4),i=Math.sin(n)*(t-4),r=Math.cos(n)*(t-8),m=Math.sin(n)*(t-8);return l.jsx(p,{x1:r+t,y1:m+t,x2:a+t,y2:i+t,strokeWidth:1,stroke:"var(--cmpui-border-color)"},e)}),l.jsx(p,{x1:t,y1:t,x2:g+t,y2:d+t,strokeWidth:1,stroke:"var(--cmpui-primary-color)"}),l.jsx(b,{ref:u,x:g+t,y:d+t,onPointerDown:C,radius:w,className:"cmpui_angle-input__nob"}),l.jsx(b,{x:t,y:t,radius:2,strokeColor:"transparent",fill:"var(--cmpui-primary-color)"})]})}X.__docgenInfo={description:"",methods:[],displayName:"AngleInput",props:{value:{required:!0,tsType:{name:"number"},description:""},nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"8",computed:!1}},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(value: number) => void",signature:{arguments:[{type:{name:"number"},name:"value"}],return:{name:"void"}}},description:""},radius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"32",computed:!1}},step:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"12",computed:!1}}}};export{X as A}; +import{j as l}from"./jsx-runtime-DvLKfCe6.js";import{r as v}from"./index-aXz8NaAs.js";import{c as x}from"./createDragHandler-nJMxlNVC.js";import{C as b}from"./index-0ceNsg1m.js";import{L as p}from"./index-U9bU_qbB.js";function X({radius:t=32,step:h=12,nobRadius:w=8,...c}){const s=t*2,g=Math.cos(c.value)*(t-2),d=Math.sin(c.value)*(t-2),f=v.useRef(null),u=v.useRef(null),C=x({onDown:o=>{var y;const e=(y=f.current)==null?void 0:y.getBoundingClientRect();if(!e||!u.current)return;u.current.style.cursor="grabbing";const n=u.current.getBoundingClientRect(),a=n.left+n.width/2,i=n.top+n.height/2,r=e.left+e.width/2,m=e.top+e.height/2;return o.stopPropagation(),{centerX:r,centerY:m,offsetX:a-o.clientX,offsetY:i-o.clientY}},onMove:(o,e)=>{var r;if(!e)return;const n=o.clientX-e.centerX+e.offsetX,a=o.clientY-e.centerY+e.offsetY,i=Math.atan2(a,n);(r=c.onChange)==null||r.call(c,i)},onUp:()=>{u.current&&(u.current.style.cursor="grab")}}),M=x({onDown:o=>{var r,m;const e=(r=f.current)==null?void 0:r.getBoundingClientRect();if(!e)return;const n=e.left+e.width/2,a=e.top+e.height/2,i=Math.atan2(o.clientY-a,o.clientX-n);return(m=c.onChange)==null||m.call(c,i),{centerX:n,centerY:a}},onMove:(o,e)=>{var r;if(!e)return;const n=o.clientX-e.centerX,a=o.clientY-e.centerY,i=Math.atan2(a,n);(r=c.onChange)==null||r.call(c,i)}});return l.jsxs("div",{className:"cmpui_angle-input__root",onPointerDown:M,ref:f,style:{width:s,height:s},children:[l.jsx("svg",{width:s,height:s,viewBox:`0 0 ${s} ${s}`,children:l.jsx("circle",{cx:t,cy:t,r:t-1,stroke:"var(--cmpui-border-color)",fill:"none",strokeWidth:1})}),Array.from({length:h}).map((o,e)=>{const n=e*Math.PI/(h/2),a=Math.cos(n)*(t-4),i=Math.sin(n)*(t-4),r=Math.cos(n)*(t-8),m=Math.sin(n)*(t-8);return l.jsx(p,{x1:r+t,y1:m+t,x2:a+t,y2:i+t,strokeWidth:1,stroke:"var(--cmpui-border-color)"},e)}),l.jsx(p,{x1:t,y1:t,x2:g+t,y2:d+t,strokeWidth:1,stroke:"var(--cmpui-primary-color)"}),l.jsx(b,{ref:u,x:g+t,y:d+t,onPointerDown:C,radius:w,className:"cmpui_angle-input__nob"}),l.jsx(b,{x:t,y:t,radius:2,strokeColor:"transparent",fill:"var(--cmpui-primary-color)"})]})}X.__docgenInfo={description:"",methods:[],displayName:"AngleInput",props:{value:{required:!0,tsType:{name:"number"},description:""},nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"8",computed:!1}},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(value: number) => void",signature:{arguments:[{type:{name:"number"},name:"value"}],return:{name:"void"}}},description:""},radius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"32",computed:!1}},step:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"12",computed:!1}}}};export{X as A}; diff --git a/assets/index-M7H33-mE.js b/assets/index-M7H33-mE.js new file mode 100644 index 0000000..a900483 --- /dev/null +++ b/assets/index-M7H33-mE.js @@ -0,0 +1 @@ +import{r}from"./index-aXz8NaAs.js";import{_ as p}from"./extends-dGVwEr9R.js";import{r as U,w as j}from"./index-n3prD_Ok.js";function O(e,n,{checkForDefaultPrevented:t=!0}={}){return function(s){if(e==null||e(s),t===!1||!s.defaultPrevented)return n==null?void 0:n(s)}}function H(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function M(...e){return n=>e.forEach(t=>H(t,n))}function T(...e){return r.useCallback(M(...e),e)}function ve(e,n=[]){let t=[];function o(c,u){const i=r.createContext(u),a=t.length;t=[...t,u];function l(d){const{scope:b,children:$,...m}=d,C=(b==null?void 0:b[e][a])||i,E=r.useMemo(()=>m,Object.values(m));return r.createElement(C.Provider,{value:E},$)}function f(d,b){const $=(b==null?void 0:b[e][a])||i,m=r.useContext($);if(m)return m;if(u!==void 0)return u;throw new Error(`\`${d}\` must be used within \`${c}\``)}return l.displayName=c+"Provider",[l,f]}const s=()=>{const c=t.map(u=>r.createContext(u));return function(i){const a=(i==null?void 0:i[e])||c;return r.useMemo(()=>({[`__scope${e}`]:{...i,[e]:a}}),[i,a])}};return s.scopeName=e,[o,X(s,...n)]}function X(...e){const n=e[0];if(e.length===1)return n;const t=()=>{const o=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(c){const u=o.reduce((i,{useScope:a,scopeName:l})=>{const d=a(c)[`__scope${l}`];return{...i,...d}},{});return r.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return t.scopeName=n.scopeName,t}const k=r.forwardRef((e,n)=>{const{children:t,...o}=e,s=r.Children.toArray(t),c=s.find(q);if(c){const u=c.props.children,i=s.map(a=>a===c?r.Children.count(u)>1?r.Children.only(null):r.isValidElement(u)?u.props.children:null:a);return r.createElement(N,p({},o,{ref:n}),r.isValidElement(u)?r.cloneElement(u,void 0,i):null)}return r.createElement(N,p({},o,{ref:n}),t)});k.displayName="Slot";const N=r.forwardRef((e,n)=>{const{children:t,...o}=e;return r.isValidElement(t)?r.cloneElement(t,{...G(o,t.props),ref:n?M(n,t.ref):t.ref}):r.Children.count(t)>1?r.Children.only(null):null});N.displayName="SlotClone";const Z=({children:e})=>r.createElement(r.Fragment,null,e);function q(e){return r.isValidElement(e)&&e.type===Z}function G(e,n){const t={...n};for(const o in n){const s=e[o],c=n[o];/^on[A-Z]/.test(o)?s&&c?t[o]=(...i)=>{c(...i),s(...i)}:s&&(t[o]=s):o==="style"?t[o]={...s,...c}:o==="className"&&(t[o]=[s,c].filter(Boolean).join(" "))}return{...e,...t}}const J=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],D=J.reduce((e,n)=>{const t=r.forwardRef((o,s)=>{const{asChild:c,...u}=o,i=c?k:n;return r.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),r.createElement(i,p({},u,{ref:s}))});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function Q(e,n){e&&U.flushSync(()=>e.dispatchEvent(n))}function h(e){const n=r.useRef(e);return r.useEffect(()=>{n.current=e}),r.useMemo(()=>(...t)=>{var o;return(o=n.current)===null||o===void 0?void 0:o.call(n,...t)},[])}function Y(e,n=globalThis==null?void 0:globalThis.document){const t=h(e);r.useEffect(()=>{const o=s=>{s.key==="Escape"&&t(s)};return n.addEventListener("keydown",o),()=>n.removeEventListener("keydown",o)},[t,n])}const x="dismissableLayer.update",ee="dismissableLayer.pointerDownOutside",ne="dismissableLayer.focusOutside";let L;const F=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),te=r.forwardRef((e,n)=>{var t;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:i,onDismiss:a,...l}=e,f=r.useContext(F),[d,b]=r.useState(null),$=(t=d==null?void 0:d.ownerDocument)!==null&&t!==void 0?t:globalThis==null?void 0:globalThis.document,[,m]=r.useState({}),C=T(n,v=>b(v)),E=Array.from(f.layers),[W]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),V=E.indexOf(W),w=d?E.indexOf(d):-1,z=f.layersWithOutsidePointerEventsDisabled.size>0,S=w>=V,K=re(v=>{const y=v.target,R=[...f.branches].some(g=>g.contains(y));!S||R||(c==null||c(v),i==null||i(v),v.defaultPrevented||a==null||a())},$),A=se(v=>{const y=v.target;[...f.branches].some(g=>g.contains(y))||(u==null||u(v),i==null||i(v),v.defaultPrevented||a==null||a())},$);return Y(v=>{w===f.layers.size-1&&(s==null||s(v),!v.defaultPrevented&&a&&(v.preventDefault(),a()))},$),r.useEffect(()=>{if(d)return o&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(L=$.body.style.pointerEvents,$.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),I(),()=>{o&&f.layersWithOutsidePointerEventsDisabled.size===1&&($.body.style.pointerEvents=L)}},[d,$,o,f]),r.useEffect(()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),I())},[d,f]),r.useEffect(()=>{const v=()=>m({});return document.addEventListener(x,v),()=>document.removeEventListener(x,v)},[]),r.createElement(D.div,p({},l,{ref:C,style:{pointerEvents:z?S?"auto":"none":void 0,...e.style},onFocusCapture:O(e.onFocusCapture,A.onFocusCapture),onBlurCapture:O(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:O(e.onPointerDownCapture,K.onPointerDownCapture)}))}),oe=r.forwardRef((e,n)=>{const t=r.useContext(F),o=r.useRef(null),s=T(n,o);return r.useEffect(()=>{const c=o.current;if(c)return t.branches.add(c),()=>{t.branches.delete(c)}},[t.branches]),r.createElement(D.div,p({},e,{ref:s}))});function re(e,n=globalThis==null?void 0:globalThis.document){const t=h(e),o=r.useRef(!1),s=r.useRef(()=>{});return r.useEffect(()=>{const c=i=>{if(i.target&&!o.current){let l=function(){B(ee,t,a,{discrete:!0})};const a={originalEvent:i};i.pointerType==="touch"?(n.removeEventListener("click",s.current),s.current=l,n.addEventListener("click",s.current,{once:!0})):l()}else n.removeEventListener("click",s.current);o.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",c),n.removeEventListener("click",s.current)}},[n,t]),{onPointerDownCapture:()=>o.current=!0}}function se(e,n=globalThis==null?void 0:globalThis.document){const t=h(e),o=r.useRef(!1);return r.useEffect(()=>{const s=c=>{c.target&&!o.current&&B(ne,t,{originalEvent:c},{discrete:!1})};return n.addEventListener("focusin",s),()=>n.removeEventListener("focusin",s)},[n,t]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function I(){const e=new CustomEvent(x);document.dispatchEvent(e)}function B(e,n,t,{discrete:o}){const s=t.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t});n&&s.addEventListener(e,n,{once:!0}),o?Q(s,c):s.dispatchEvent(c)}const $e=te,be=oe,_=globalThis!=null&&globalThis.document?r.useLayoutEffect:()=>{},me=r.forwardRef((e,n)=>{var t;const{container:o=globalThis==null||(t=globalThis.document)===null||t===void 0?void 0:t.body,...s}=e;return o?j.createPortal(r.createElement(D.div,p({},s,{ref:n})),o):null});function ce(e,n){return r.useReducer((t,o)=>{const s=n[t][o];return s??t},e)}const ie=e=>{const{present:n,children:t}=e,o=ae(n),s=typeof t=="function"?t({present:o.isPresent}):r.Children.only(t),c=T(o.ref,s.ref);return typeof t=="function"||o.isPresent?r.cloneElement(s,{ref:c}):null};ie.displayName="Presence";function ae(e){const[n,t]=r.useState(),o=r.useRef({}),s=r.useRef(e),c=r.useRef("none"),u=e?"mounted":"unmounted",[i,a]=ce(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const l=P(o.current);c.current=i==="mounted"?l:"none"},[i]),_(()=>{const l=o.current,f=s.current;if(f!==e){const b=c.current,$=P(l);e?a("MOUNT"):$==="none"||(l==null?void 0:l.display)==="none"?a("UNMOUNT"):a(f&&b!==$?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,a]),_(()=>{if(n){const l=d=>{const $=P(o.current).includes(d.animationName);d.target===n&&$&&U.flushSync(()=>a("ANIMATION_END"))},f=d=>{d.target===n&&(c.current=P(o.current))};return n.addEventListener("animationstart",f),n.addEventListener("animationcancel",l),n.addEventListener("animationend",l),()=>{n.removeEventListener("animationstart",f),n.removeEventListener("animationcancel",l),n.removeEventListener("animationend",l)}}else a("ANIMATION_END")},[n,a]),{isPresent:["mounted","unmountSuspended"].includes(i),ref:r.useCallback(l=>{l&&(o.current=getComputedStyle(l)),t(l)},[])}}function P(e){return(e==null?void 0:e.animationName)||"none"}function pe({prop:e,defaultProp:n,onChange:t=()=>{}}){const[o,s]=ue({defaultProp:n,onChange:t}),c=e!==void 0,u=c?e:o,i=h(t),a=r.useCallback(l=>{if(c){const d=typeof l=="function"?l(e):l;d!==e&&i(d)}else s(l)},[c,e,s,i]);return[u,a]}function ue({defaultProp:e,onChange:n}){const t=r.useState(e),[o]=t,s=r.useRef(o),c=h(n);return r.useEffect(()=>{s.current!==o&&(c(o),s.current=o)},[o,s,c]),t}export{ve as $,T as a,k as b,D as c,pe as d,M as e,O as f,be as g,ie as h,h as i,$e as j,me as k,Q as l,_ as m,te as n,Z as o}; diff --git a/assets/index-MW3rGVG_.js b/assets/index-MW3rGVG_.js new file mode 100644 index 0000000..5c4aede --- /dev/null +++ b/assets/index-MW3rGVG_.js @@ -0,0 +1 @@ +import{R as t}from"./index-aXz8NaAs.js";import{$ as T,a as u,b as p}from"./index-M7H33-mE.js";function h(s){const a=s+"CollectionProvider",[C,R]=T(a),[$,f]=C(a,{collectionRef:{current:null},itemMap:new Map}),M=r=>{const{scope:e,children:l}=r,o=t.useRef(null),c=t.useRef(new Map).current;return t.createElement($,{scope:e,itemMap:c,collectionRef:o},l)},x=s+"CollectionSlot",I=t.forwardRef((r,e)=>{const{scope:l,children:o}=r,c=f(x,l),n=u(e,c.collectionRef);return t.createElement(p,{ref:n},o)}),E=s+"CollectionItemSlot",d="data-radix-collection-item",S=t.forwardRef((r,e)=>{const{scope:l,children:o,...c}=r,n=t.useRef(null),m=u(e,n),i=f(E,l);return t.useEffect(()=>(i.itemMap.set(n,{ref:n,...c}),()=>void i.itemMap.delete(n))),t.createElement(p,{[d]:"",ref:m},o)});function b(r){const e=f(s+"CollectionConsumer",r);return t.useCallback(()=>{const o=e.collectionRef.current;if(!o)return[];const c=Array.from(o.querySelectorAll(`[${d}]`));return Array.from(e.itemMap.values()).sort((i,A)=>c.indexOf(i.ref.current)-c.indexOf(A.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:M,Slot:I,ItemSlot:S},b,R]}export{h as $}; diff --git a/assets/index-91r8yyqG.js b/assets/index-MoE7EhU4.js similarity index 74% rename from assets/index-91r8yyqG.js rename to assets/index-MoE7EhU4.js index d1c7ec1..def16c8 100644 --- a/assets/index-91r8yyqG.js +++ b/assets/index-MoE7EhU4.js @@ -1 +1 @@ -import{j as n}from"./jsx-runtime-DtaoT6pD.js";import{r as c}from"./index-OjgoNOWw.js";import{c as u}from"./classNames-pTwYsIK_.js";const i=c.forwardRef(function({children:t,size:o="M",selected:e,className:s,...a},r){return n.jsx("button",{ref:r,type:"button",className:u("cmpui_icon-button__root",s),"aria-selected":e,"data-size":o,...a,children:t})});i.__docgenInfo={description:"",methods:[],displayName:"IconButton",props:{size:{defaultValue:{value:'"M"',computed:!1},required:!1}}};export{i as I}; +import{j as n}from"./jsx-runtime-DvLKfCe6.js";import{r as c}from"./index-aXz8NaAs.js";import{c as u}from"./classNames-pTwYsIK_.js";const i=c.forwardRef(function({children:t,size:o="M",selected:e,className:s,...a},r){return n.jsx("button",{ref:r,type:"button",className:u("cmpui_icon-button__root",s),"aria-selected":e,"data-size":o,...a,children:t})});i.__docgenInfo={description:"",methods:[],displayName:"IconButton",props:{size:{defaultValue:{value:'"M"',computed:!1},required:!1}}};export{i as I}; diff --git a/assets/index-7FH3x4aD.js b/assets/index-NAhdMhKS.js similarity index 91% rename from assets/index-7FH3x4aD.js rename to assets/index-NAhdMhKS.js index 9180469..2015a3a 100644 --- a/assets/index-7FH3x4aD.js +++ b/assets/index-NAhdMhKS.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-DtaoT6pD.js";import{r as m}from"./index-OjgoNOWw.js";import{c as T}from"./createDragHandler-nJMxlNVC.js";import{C as b}from"./index-pk5nlV7d.js";import{L as x}from"./index-cYjXm3u-.js";import{P as H}from"./index-rAFazk-7.js";function L({prev:l,cubic:u,onChange:e}){const{x1:a,y1:o,x2:s,y2:c,x:v,y:k}=u,{x:q,y:f}=l,d={type:"move",x:l.x,y:l.y},y=m.useCallback((t,r,D)=>T({onDown:i=>({x:i.clientX,y:i.clientY}),onMove:(i,p)=>{if(!p)return;const N=i.clientX-p.x,E=i.clientY-p.y,M=t+N,W=r+E;D(M,W)}}),[]),_=m.useMemo(()=>y(a,o,(t,r)=>{e==null||e({...u,x1:t,y1:r})}),[u,a,o,e,y]),j=m.useMemo(()=>y(s,c,(t,r)=>{e==null||e({...u,x2:t,y2:r})}),[u,s,c,e,y]),w=m.useCallback(t=>{t.forEach(r=>{r.type==="cubic"&&(e==null||e(r))})},[e]),P=m.useMemo(()=>[d,u],[d,u]);return n.jsxs(n.Fragment,{children:[n.jsx(H,{commands:P,onChange:w,stroke:"var(--cmpui-primary-color)",style:{pointerEvents:"none"}}),n.jsx(x,{className:"cmpui_cubic-controls__line",strokeWidth:1,x1:q,y1:f,x2:a,y2:o}),n.jsx(x,{className:"cmpui_cubic-controls__line",strokeWidth:1,x1:v,y1:k,x2:s,y2:c}),n.jsx(b,{className:"cmpui_cubic-controls__circle",x:a,y:o,radius:6,onPointerDown:_,fill:"var(--cmpui-primary-color)",strokeColor:"var(--cmpui-border-color)",strokeWidth:1}),n.jsx(b,{className:"cmpui_cubic-controls__circle",x:s,y:c,radius:6,onPointerDown:j,fill:"var(--cmpui-primary-color)",strokeColor:"var(--cmpui-border-color)",strokeWidth:1})]})}L.__docgenInfo={description:"",methods:[],displayName:"CubicControls",props:{prev:{required:!0,tsType:{name:"signature",type:"object",raw:"{ x: number; y: number }",signature:{properties:[{key:"x",value:{name:"number",required:!0}},{key:"y",value:{name:"number",required:!0}}]}},description:""},cubic:{required:!0,tsType:{name:"signature",type:"object",raw:`{ +import{j as n}from"./jsx-runtime-DvLKfCe6.js";import{r as m}from"./index-aXz8NaAs.js";import{c as T}from"./createDragHandler-nJMxlNVC.js";import{C as b}from"./index-0ceNsg1m.js";import{L as x}from"./index-U9bU_qbB.js";import{P as H}from"./index-nuWmM7Ma.js";function L({prev:l,cubic:u,onChange:e}){const{x1:a,y1:o,x2:s,y2:c,x:v,y:k}=u,{x:q,y:f}=l,d={type:"move",x:l.x,y:l.y},y=m.useCallback((t,r,D)=>T({onDown:i=>({x:i.clientX,y:i.clientY}),onMove:(i,p)=>{if(!p)return;const N=i.clientX-p.x,E=i.clientY-p.y,M=t+N,W=r+E;D(M,W)}}),[]),_=m.useMemo(()=>y(a,o,(t,r)=>{e==null||e({...u,x1:t,y1:r})}),[u,a,o,e,y]),j=m.useMemo(()=>y(s,c,(t,r)=>{e==null||e({...u,x2:t,y2:r})}),[u,s,c,e,y]),w=m.useCallback(t=>{t.forEach(r=>{r.type==="cubic"&&(e==null||e(r))})},[e]),P=m.useMemo(()=>[d,u],[d,u]);return n.jsxs(n.Fragment,{children:[n.jsx(H,{commands:P,onChange:w,stroke:"var(--cmpui-primary-color)",style:{pointerEvents:"none"}}),n.jsx(x,{className:"cmpui_cubic-controls__line",strokeWidth:1,x1:q,y1:f,x2:a,y2:o}),n.jsx(x,{className:"cmpui_cubic-controls__line",strokeWidth:1,x1:v,y1:k,x2:s,y2:c}),n.jsx(b,{className:"cmpui_cubic-controls__circle",x:a,y:o,radius:6,onPointerDown:_,fill:"var(--cmpui-primary-color)",strokeColor:"var(--cmpui-border-color)",strokeWidth:1}),n.jsx(b,{className:"cmpui_cubic-controls__circle",x:s,y:c,radius:6,onPointerDown:j,fill:"var(--cmpui-primary-color)",strokeColor:"var(--cmpui-border-color)",strokeWidth:1})]})}L.__docgenInfo={description:"",methods:[],displayName:"CubicControls",props:{prev:{required:!0,tsType:{name:"signature",type:"object",raw:"{ x: number; y: number }",signature:{properties:[{key:"x",value:{name:"number",required:!0}},{key:"y",value:{name:"number",required:!0}}]}},description:""},cubic:{required:!0,tsType:{name:"signature",type:"object",raw:`{ type: "cubic"; x1: number; y1: number; diff --git a/assets/index-Nn85PjCb.js b/assets/index-Nn85PjCb.js deleted file mode 100644 index 9005b83..0000000 --- a/assets/index-Nn85PjCb.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t}from"./index-Eok78svH.js";import{r}from"./index-OjgoNOWw.js";import{a as o}from"./index-wq2dZbDE.js";const f=r.forwardRef((e,a)=>r.createElement(o.span,t({},e,{ref:a,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),s=f;export{f as $,s as a}; diff --git a/assets/index-Joz1V2Yt.js b/assets/index-Oh1OAjsI.js similarity index 96% rename from assets/index-Joz1V2Yt.js rename to assets/index-Oh1OAjsI.js index 14c6cfa..720ea7a 100644 --- a/assets/index-Joz1V2Yt.js +++ b/assets/index-Oh1OAjsI.js @@ -1 +1 @@ -import{j as m}from"./jsx-runtime-DtaoT6pD.js";import{r as u}from"./index-OjgoNOWw.js";import{c as g}from"./classNames-pTwYsIK_.js";import{m as R}from"./mergeRefs-mmWAE0a7.js";function z(){const[e,t]=u.useState(),r=u.useRef(null);return u.useEffect(()=>{if(!r.current)return;const n=new ResizeObserver(a=>{for(const s of a){if(s.contentRect.width===(e==null?void 0:e.width)&&s.contentRect.height===(e==null?void 0:e.height))return;t(s.contentRect)}});return n.observe(r.current),()=>{n.disconnect()}},[e]),[e,r]}function x(e){return m.jsxs("div",{className:"cmpui_ruler-text__root","data-orientation":e.orientation,style:{left:e.orientation==="horizontal"?`${e.left}px`:void 0,top:e.orientation==="horizontal"?void 0:`${e.left}px`},children:[m.jsx("div",{className:"cmpui_ruler-text__line","data-orientation":e.orientation}),m.jsx("div",{className:"cmpui_ruler-text__text","data-orientation":e.orientation,children:e.time})]})}x.__docgenInfo={description:"",methods:[],displayName:"TimeText",props:{time:{required:!0,tsType:{name:"string"},description:""},left:{required:!0,tsType:{name:"number"},description:""},orientation:{required:!1,tsType:{name:"union",raw:'"horizontal" | "vertical"',elements:[{name:"literal",value:'"horizontal"'},{name:"literal",value:'"vertical"'}]},description:""}}};function N(e){let t=e.toFixed(2);return t.endsWith(".00")?t=t.slice(0,-3):t.endsWith("0")&&(t=t.slice(0,-1)),t==="-0"&&(t="0"),t}const v=[1,5,10,50,100,500,1e3,5e3,1e4];function y(e,t,r,n,a=0){const s=r.findIndex(d=>d*e>t),c=r[s]*e,i=Math.ceil(n/c),p=a*e%c;return Number.isNaN(i)?[]:[...Array(i+1).keys()].map(d=>d*c-p)}const w=u.memo(u.forwardRef(({offset:e=0,pxPerUnit:t=1,renderText:r,steps:n,minInterval:a=32,className:s,style:c,orientation:i="horizontal",...p},d)=>{const[l,_]=z(),f=(i==="horizontal"?l==null?void 0:l.width:l==null?void 0:l.height)??0,b=u.useMemo(()=>y(t,a,n??v,f,e),[t,a,n,f,e]),T=u.useMemo(()=>y(t,a/4,n??v,f,e),[t,a,n,f,e]);return m.jsxs("div",{className:g("cmpui_ruler__root",s),"data-orientation":i,ref:R(_,d),style:{...c},...p,children:[T.map(o=>m.jsx("div",{"data-orientation":i,className:"cmpui_ruler__point",style:{top:i==="horizontal"?void 0:`${o}px`,left:i==="horizontal"?`${o}px`:void 0}},o)),b.map(o=>{const h=o/t+e;return m.jsx(x,{time:r?r(h):N(h),left:o,orientation:i},o)})]})}));w.__docgenInfo={description:"",methods:[],displayName:"Ruler",props:{offset:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},pxPerUnit:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"1",computed:!1}},height:{required:!1,tsType:{name:"number"},description:""},steps:{required:!1,tsType:{name:"Array",elements:[{name:"number"}],raw:"number[]"},description:""},renderText:{required:!1,tsType:{name:"signature",type:"function",raw:"(time: number) => string",signature:{arguments:[{type:{name:"number"},name:"time"}],return:{name:"string"}}},description:""},minInterval:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"32",computed:!1}},orientation:{required:!1,tsType:{name:"union",raw:'"horizontal" | "vertical"',elements:[{name:"literal",value:'"horizontal"'},{name:"literal",value:'"vertical"'}]},description:"",defaultValue:{value:'"horizontal"',computed:!1}}}};export{w as R}; +import{j as m}from"./jsx-runtime-DvLKfCe6.js";import{r as u}from"./index-aXz8NaAs.js";import{c as g}from"./classNames-pTwYsIK_.js";import{m as R}from"./mergeRefs-mmWAE0a7.js";function z(){const[e,t]=u.useState(),r=u.useRef(null);return u.useEffect(()=>{if(!r.current)return;const n=new ResizeObserver(a=>{for(const s of a){if(s.contentRect.width===(e==null?void 0:e.width)&&s.contentRect.height===(e==null?void 0:e.height))return;t(s.contentRect)}});return n.observe(r.current),()=>{n.disconnect()}},[e]),[e,r]}function x(e){return m.jsxs("div",{className:"cmpui_ruler-text__root","data-orientation":e.orientation,style:{left:e.orientation==="horizontal"?`${e.left}px`:void 0,top:e.orientation==="horizontal"?void 0:`${e.left}px`},children:[m.jsx("div",{className:"cmpui_ruler-text__line","data-orientation":e.orientation}),m.jsx("div",{className:"cmpui_ruler-text__text","data-orientation":e.orientation,children:e.time})]})}x.__docgenInfo={description:"",methods:[],displayName:"TimeText",props:{time:{required:!0,tsType:{name:"string"},description:""},left:{required:!0,tsType:{name:"number"},description:""},orientation:{required:!1,tsType:{name:"union",raw:'"horizontal" | "vertical"',elements:[{name:"literal",value:'"horizontal"'},{name:"literal",value:'"vertical"'}]},description:""}}};function N(e){let t=e.toFixed(2);return t.endsWith(".00")?t=t.slice(0,-3):t.endsWith("0")&&(t=t.slice(0,-1)),t==="-0"&&(t="0"),t}const v=[1,5,10,50,100,500,1e3,5e3,1e4];function y(e,t,r,n,a=0){const s=r.findIndex(d=>d*e>t),c=r[s]*e,i=Math.ceil(n/c),p=a*e%c;return Number.isNaN(i)?[]:[...Array(i+1).keys()].map(d=>d*c-p)}const w=u.memo(u.forwardRef(({offset:e=0,pxPerUnit:t=1,renderText:r,steps:n,minInterval:a=32,className:s,style:c,orientation:i="horizontal",...p},d)=>{const[l,_]=z(),f=(i==="horizontal"?l==null?void 0:l.width:l==null?void 0:l.height)??0,b=u.useMemo(()=>y(t,a,n??v,f,e),[t,a,n,f,e]),T=u.useMemo(()=>y(t,a/4,n??v,f,e),[t,a,n,f,e]);return m.jsxs("div",{className:g("cmpui_ruler__root",s),"data-orientation":i,ref:R(_,d),style:{...c},...p,children:[T.map(o=>m.jsx("div",{"data-orientation":i,className:"cmpui_ruler__point",style:{top:i==="horizontal"?void 0:`${o}px`,left:i==="horizontal"?`${o}px`:void 0}},o)),b.map(o=>{const h=o/t+e;return m.jsx(x,{time:r?r(h):N(h),left:o,orientation:i},o)})]})}));w.__docgenInfo={description:"",methods:[],displayName:"Ruler",props:{offset:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},pxPerUnit:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"1",computed:!1}},height:{required:!1,tsType:{name:"number"},description:""},steps:{required:!1,tsType:{name:"Array",elements:[{name:"number"}],raw:"number[]"},description:""},renderText:{required:!1,tsType:{name:"signature",type:"function",raw:"(time: number) => string",signature:{arguments:[{type:{name:"number"},name:"time"}],return:{name:"string"}}},description:""},minInterval:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"32",computed:!1}},orientation:{required:!1,tsType:{name:"union",raw:'"horizontal" | "vertical"',elements:[{name:"literal",value:'"horizontal"'},{name:"literal",value:'"vertical"'}]},description:"",defaultValue:{value:'"horizontal"',computed:!1}}}};export{w as R}; diff --git a/assets/index-GtgdPI8D.js b/assets/index-TRwoWG8Q.js similarity index 91% rename from assets/index-GtgdPI8D.js rename to assets/index-TRwoWG8Q.js index 9c06e84..0a51458 100644 --- a/assets/index-GtgdPI8D.js +++ b/assets/index-TRwoWG8Q.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOWw.js";function i(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",viewBox:"0 -960 960 960",width:"16",fill:"currentColor",children:a.jsx("path",{d:"M382-208 122-468l90-90 170 170 366-366 90 90-456 456Z"})})}i.__docgenInfo={description:"",methods:[],displayName:"CheckSVG"};function s(e){const n=t.useCallback(d=>{var c;(c=e.onChange)==null||c.call(e,d.target.checked)},[e.onChange]);return a.jsxs("div",{className:"cmpui_checkbox__root","aria-disabled":e.disabled,children:[a.jsxs("div",{className:"cmpui_checkbox__box",children:[a.jsx("input",{type:"checkbox",className:"cmpui_checkbox__input",id:e.id,disabled:e.disabled,checked:e.checked,onChange:n}),a.jsx("div",{className:"cmpui_checkbox__indicator","data-checked":e.checked,children:a.jsx(i,{})})]}),e.label&&a.jsx("label",{className:"cmpui_checkbox__label",htmlFor:e.id,children:e.label})]})}s.__docgenInfo={description:"",methods:[],displayName:"Checkbox",props:{label:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},checked:{required:!1,tsType:{name:"boolean"},description:""},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(checked: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"checked"}],return:{name:"void"}}},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},id:{required:!1,tsType:{name:"string"},description:""}}};export{s as C}; +import{j as a}from"./jsx-runtime-DvLKfCe6.js";import{r as t}from"./index-aXz8NaAs.js";function i(){return a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",viewBox:"0 -960 960 960",width:"16",fill:"currentColor",children:a.jsx("path",{d:"M382-208 122-468l90-90 170 170 366-366 90 90-456 456Z"})})}i.__docgenInfo={description:"",methods:[],displayName:"CheckSVG"};function s(e){const n=t.useCallback(d=>{var c;(c=e.onChange)==null||c.call(e,d.target.checked)},[e.onChange]);return a.jsxs("div",{className:"cmpui_checkbox__root","aria-disabled":e.disabled,children:[a.jsxs("div",{className:"cmpui_checkbox__box",children:[a.jsx("input",{type:"checkbox",className:"cmpui_checkbox__input",id:e.id,disabled:e.disabled,checked:e.checked,onChange:n}),a.jsx("div",{className:"cmpui_checkbox__indicator","data-checked":e.checked,children:a.jsx(i,{})})]}),e.label&&a.jsx("label",{className:"cmpui_checkbox__label",htmlFor:e.id,children:e.label})]})}s.__docgenInfo={description:"",methods:[],displayName:"Checkbox",props:{label:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},checked:{required:!1,tsType:{name:"boolean"},description:""},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(checked: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"checked"}],return:{name:"void"}}},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},id:{required:!1,tsType:{name:"string"},description:""}}};export{s as C}; diff --git a/assets/index-cYjXm3u-.js b/assets/index-U9bU_qbB.js similarity index 92% rename from assets/index-cYjXm3u-.js rename to assets/index-U9bU_qbB.js index bd83071..3e05235 100644 --- a/assets/index-cYjXm3u-.js +++ b/assets/index-U9bU_qbB.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-DtaoT6pD.js";function m(e){const i=Math.abs(e.x2-e.x1),n=Math.abs(e.y2-e.y1),t=e.strokeWidth;return a.jsx("svg",{width:i+t,height:n+t,viewBox:`0 0 ${i+t} ${n+t}`,className:e.className,style:{position:"absolute",overflow:"visible",pointerEvents:"none",left:Math.min(e.x1,e.x2)-t/2,top:Math.min(e.y1,e.y2)-t/2},children:a.jsx("line",{...e,x1:e.x1-Math.min(e.x1,e.x2)+t/2,y1:e.y1-Math.min(e.y1,e.y2)+t/2,x2:e.x2-Math.min(e.x1,e.x2)+t/2,y2:e.y2-Math.min(e.y1,e.y2)+t/2})})}m.__docgenInfo={description:"",methods:[],displayName:"Line",props:{strokeWidth:{required:!0,tsType:{name:"number"},description:""},x1:{required:!0,tsType:{name:"number"},description:""},x2:{required:!0,tsType:{name:"number"},description:""},y1:{required:!0,tsType:{name:"number"},description:""},y2:{required:!0,tsType:{name:"number"},description:""}}};export{m as L}; +import{j as a}from"./jsx-runtime-DvLKfCe6.js";function m(e){const i=Math.abs(e.x2-e.x1),n=Math.abs(e.y2-e.y1),t=e.strokeWidth;return a.jsx("svg",{width:i+t,height:n+t,viewBox:`0 0 ${i+t} ${n+t}`,className:e.className,style:{position:"absolute",overflow:"visible",pointerEvents:"none",left:Math.min(e.x1,e.x2)-t/2,top:Math.min(e.y1,e.y2)-t/2},children:a.jsx("line",{...e,x1:e.x1-Math.min(e.x1,e.x2)+t/2,y1:e.y1-Math.min(e.y1,e.y2)+t/2,x2:e.x2-Math.min(e.x1,e.x2)+t/2,y2:e.y2-Math.min(e.y1,e.y2)+t/2})})}m.__docgenInfo={description:"",methods:[],displayName:"Line",props:{strokeWidth:{required:!0,tsType:{name:"number"},description:""},x1:{required:!0,tsType:{name:"number"},description:""},x2:{required:!0,tsType:{name:"number"},description:""},y1:{required:!0,tsType:{name:"number"},description:""},y2:{required:!0,tsType:{name:"number"},description:""}}};export{m as L}; diff --git a/assets/index-XkRcYS9h.js b/assets/index-XkRcYS9h.js deleted file mode 100644 index 4257e8e..0000000 --- a/assets/index-XkRcYS9h.js +++ /dev/null @@ -1,3 +0,0 @@ -import{c as Bu,g as Uu}from"./index-OjgoNOWw.js";function Ar(u,e){for(var r=-1,t=u==null?0:u.length,a=Array(t);++r-1}var xr=_r,Tr=gu;function br(u,e){var r=this.__data__,t=Tr(r,u);return t<0?(++this.size,r.push([u,e])):r[t][1]=e,this}var Sr=br,$r=Cr,wr=dr,Or=gr,Nr=xr,Pr=Sr;function uu(u){var e=-1,r=u==null?0:u.length;for(this.clear();++el))return!1;var B=i.get(u),T=i.get(e);if(B&&T)return B==e&&T==u;var x=-1,F=!0,m=r&ha?new Ea:void 0;for(i.set(u,e),i.set(e,u);++x-1&&u%1==0&&u-1&&u%1==0&&u<=bn}var qu=Sn,$n=lu,wn=qu,On=cu,Nn="[object Arguments]",Pn="[object Array]",In="[object Boolean]",Rn="[object Date]",Ln="[object Error]",Mn="[object Function]",kn="[object Map]",Un="[object Number]",jn="[object Object]",Gn="[object RegExp]",Kn="[object Set]",Hn="[object String]",qn="[object WeakMap]",Wn="[object ArrayBuffer]",zn="[object DataView]",Vn="[object Float32Array]",Jn="[object Float64Array]",Qn="[object Int8Array]",Yn="[object Int16Array]",Xn="[object Int32Array]",Zn="[object Uint8Array]",ui="[object Uint8ClampedArray]",ei="[object Uint16Array]",ri="[object Uint32Array]",S={};S[Vn]=S[Jn]=S[Qn]=S[Yn]=S[Xn]=S[Zn]=S[ui]=S[ei]=S[ri]=!0;S[Nn]=S[Pn]=S[Wn]=S[In]=S[zn]=S[Rn]=S[Ln]=S[Mn]=S[kn]=S[Un]=S[jn]=S[Gn]=S[Kn]=S[Hn]=S[qn]=!1;function ti(u){return On(u)&&wn(u.length)&&!!S[$n(u)]}var ai=ti;function ni(u){return function(e){return u(e)}}var ii=ni,yu={exports:{}};yu.exports;(function(u,e){var r=Se,t=e&&!e.nodeType&&e,a=t&&!0&&u&&!u.nodeType&&u,i=a&&a.exports===t,n=i&&r.process,l=function(){try{var f=a&&a.require&&a.require("util").types;return f||n&&n.binding&&n.binding("util")}catch{}}();u.exports=l})(yu,yu.exports);var si=yu.exports,Di=ai,Ai=ii,Ae=si,oe=Ae&&Ae.isTypedArray,oi=oe?Ai(oe):Di,Me=oi,Fi=Cn,Ci=Ie,li=W,ci=Re,Ei=Le,fi=Me,pi=Object.prototype,Bi=pi.hasOwnProperty;function hi(u,e){var r=li(u),t=!r&&Ci(u),a=!r&&!t&&ci(u),i=!r&&!t&&!a&&fi(u),n=r||t||a||i,l=n?Fi(u.length,String):[],f=l.length;for(var B in u)(e||Bi.call(u,B))&&!(n&&(B=="length"||a&&(B=="offset"||B=="parent")||i&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||Ei(B,f)))&&l.push(B);return l}var di=hi,vi=Object.prototype;function yi(u){var e=u&&u.constructor,r=typeof e=="function"&&e.prototype||vi;return u===r}var gi=yi;function mi(u,e){return function(r){return u(e(r))}}var ke=mi,_i=ke,xi=_i(Object.keys,Object),Ti=xi,bi=gi,Si=Ti,$i=Object.prototype,wi=$i.hasOwnProperty;function Oi(u){if(!bi(u))return Si(u);var e=[];for(var r in Object(u))wi.call(u,r)&&r!="constructor"&&e.push(r);return e}var Ni=Oi,Pi=Gu,Ii=qu;function Ri(u){return u!=null&&Ii(u.length)&&!Pi(u)}var Li=Ri,Mi=di,ki=Ni,Ui=Li;function ji(u){return Ui(u)?Mi(u):ki(u)}var Wu=ji,Gi=Za,Ki=on,Hi=Wu;function qi(u){return Gi(u,Hi,Ki)}var Wi=qi,Fe=Wi,zi=1,Vi=Object.prototype,Ji=Vi.hasOwnProperty;function Qi(u,e,r,t,a,i){var n=r&zi,l=Fe(u),f=l.length,B=Fe(e),T=B.length;if(f!=T&&!n)return!1;for(var x=f;x--;){var F=l[x];if(!(n?F in e:Ji.call(e,F)))return!1}var m=i.get(u),v=i.get(e);if(m&&v)return m==e&&v==u;var c=!0;i.set(u,e),i.set(e,u);for(var E=n;++x=48&&E<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function B(E){return E===32||E===9||E===11||E===12||E===160||E>=5760&&r.indexOf(E)>=0}function T(E){return E===10||E===13||E===8232||E===8233}function x(E){if(E<=65535)return String.fromCharCode(E);var I=String.fromCharCode(Math.floor((E-65536)/1024)+55296),L=String.fromCharCode((E-65536)%1024+56320);return I+L}for(t=new Array(128),i=0;i<128;++i)t[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;function F(E){return E<128?t[E]:e.NonAsciiIdentifierStart.test(x(E))}function m(E){return E<128?a[E]:e.NonAsciiIdentifierPart.test(x(E))}function v(E){return E<128?t[E]:u.NonAsciiIdentifierStart.test(x(E))}function c(E){return E<128?a[E]:u.NonAsciiIdentifierPart.test(x(E))}Ye.exports={isDecimalDigit:n,isHexDigit:l,isOctalDigit:f,isWhiteSpace:B,isLineTerminator:T,isIdentifierStartES5:F,isIdentifierPartES5:m,isIdentifierStartES6:v,isIdentifierPartES6:c}})();var Xe=Ye.exports,Ze={exports:{}};(function(){var u=Xe;function e(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(F,m){return!m&&F==="yield"?!1:t(F,m)}function t(F,m){if(m&&e(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function a(F,m){return F==="null"||F==="true"||F==="false"||r(F,m)}function i(F,m){return F==="null"||F==="true"||F==="false"||t(F,m)}function n(F){return F==="eval"||F==="arguments"}function l(F){var m,v,c;if(F.length===0||(c=F.charCodeAt(0),!u.isIdentifierStartES5(c)))return!1;for(m=1,v=F.length;m=v||(E=F.charCodeAt(m),!(56320<=E&&E<=57343)))return!1;c=f(c,E)}if(!I(c))return!1;I=u.isIdentifierPartES6}return!0}function T(F,m){return l(F)&&!a(F,m)}function x(F,m){return B(F)&&!i(F,m)}Ze.exports={isKeywordES5:r,isKeywordES6:t,isReservedWordES5:a,isReservedWordES6:i,isRestrictedWord:n,isIdentifierNameES5:l,isIdentifierNameES6:B,isIdentifierES5:T,isIdentifierES6:x}})();var Q1=Ze.exports;(function(){ou.ast=J1,ou.code=Xe,ou.keyword=Q1})();var Du={},X={};const Y1="doctrine",X1="JSDoc parser",Z1="https://github.com/eslint/doctrine",uA="lib/doctrine.js",eA="3.0.0",rA={node:">=6.0.0"},tA={lib:"./lib"},aA=["lib"],nA=[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],iA="eslint/doctrine",sA={coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},DA="Apache-2.0",AA={pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},oA={esutils:"^2.0.2"},FA={name:Y1,description:X1,homepage:Z1,main:uA,version:eA,engines:rA,directories:tA,files:aA,maintainers:nA,repository:iA,devDependencies:sA,license:DA,scripts:AA,dependencies:oA};function CA(u,e){if(!u)throw new Error(e||"unknown assertion error")}var lA=CA;(function(){var u;u=FA.version,X.VERSION=u;function e(t){this.name="DoctrineError",this.message=t}e.prototype=function(){var t=function(){};return t.prototype=Error.prototype,new t}(),e.prototype.constructor=e,X.DoctrineError=e;function r(t){throw new e(t)}X.throwError=r,X.assert=lA})();(function(){var u,e,r,t,a,i,n,l,f,B,T,x;f=ou,B=X,u={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},e={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function F(s){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(s))===-1&&!f.code.isWhiteSpace(s)&&!f.code.isLineTerminator(s)}function m(s,D,d,o){this._previous=s,this._index=D,this._token=d,this._value=o}m.prototype.restore=function(){i=this._previous,a=this._index,n=this._token,l=this._value},m.save=function(){return new m(i,a,n,l)};function v(s,D){return x&&(s.range=[D[0]+T,D[1]+T]),s}function c(){var s=r.charAt(a);return a+=1,s}function E(s){var D,d,o,A=0;for(d=s==="u"?4:2,D=0;D=0&&a=t)return e.ILLEGAL;if(D=r.charCodeAt(a+1),D===60)break}l+=c()}return e.NAME}function M(){var s;for(i=a;a=t)return n=e.EOF,n;switch(s=r.charCodeAt(a),s){case 39:case 34:return n=I(),n;case 58:return c(),n=e.COLON,n;case 44:return c(),n=e.COMMA,n;case 40:return c(),n=e.LPAREN,n;case 41:return c(),n=e.RPAREN,n;case 91:return c(),n=e.LBRACK,n;case 93:return c(),n=e.RBRACK,n;case 123:return c(),n=e.LBRACE,n;case 125:return c(),n=e.RBRACE,n;case 46:if(a+1=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57}function B(C){return C==="param"||C==="argument"||C==="arg"}function T(C){return C==="return"||C==="returns"}function x(C){return C==="property"||C==="prop"}function F(C){return B(C)||x(C)||C==="alias"||C==="this"||C==="mixes"||C==="requires"}function m(C){return F(C)||C==="const"||C==="constant"}function v(C){return x(C)||B(C)}function c(C){return x(C)||B(C)}function E(C){return B(C)||T(C)||C==="define"||C==="enum"||C==="implements"||C==="this"||C==="type"||C==="typedef"||x(C)}function I(C){return E(C)||C==="throws"||C==="const"||C==="constant"||C==="namespace"||C==="member"||C==="var"||C==="module"||C==="constructor"||C==="class"||C==="extends"||C==="augments"||C==="public"||C==="private"||C==="protected"}var L="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",z="("+L+"*(?:\\*"+L+`?)?)(.+|[\r -\u2028\u2029])`;function M(C){return C.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(z,"g"),"$2").replace(/\s*$/,"")}function _(C,k){for(var p=C.replace(/^\/\*\*?/,""),j=0,G=new RegExp(z,"g"),g;g=G.exec(p);)if(j+=g[1].length,g.index+g[0].length>k+j)return k+j+C.length-p.length;return C.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(C){var k,p,j,G,g,nu,Eu,V,fu;function $(){var o=g.charCodeAt(p);return p+=1,a.code.isLineTerminator(o)&&!(o===13&&g.charCodeAt(p)===10)&&(j+=1),String.fromCharCode(o)}function $u(){var o="";for($();p=o)return null;if(g.charCodeAt(p)===91)if(A)N=!0,y=$();else return null;if(y+=K(o),h)for(g.charCodeAt(p)===58&&(y==="module"||y==="external"||y==="event")&&(y+=$(),y+=K(o)),g.charCodeAt(p)===91&&g.charCodeAt(p+1)===93&&(y+=$(),y+=$());g.charCodeAt(p)===46||g.charCodeAt(p)===47||g.charCodeAt(p)===35||g.charCodeAt(p)===45||g.charCodeAt(p)===126;)y+=$(),y+=K(o);if(N){if(J(o),g.charCodeAt(p)===61){y+=$(),J(o);for(var R,q=1;p=o||g.charCodeAt(p)!==93)return null;y+=$()}return y}function wu(){for(;p=G?!1:(r.assert(g.charCodeAt(p)===64),!0)}function w(o){return g===nu?o:_(nu,o)}function O(o,A){this._options=o,this._title=A.toLowerCase(),this._tag={title:A,description:null},this._options.lineNumbers&&(this._tag.lineNumber=j),this._first=p-A.length-1,this._last=0,this._extra={}}O.prototype.addError=function(A){var h=Array.prototype.slice.call(arguments,1),y=A.replace(/%(\d)/g,function(N,b){return r.assert(b1&&(this._tag.default=o.slice(1).join("=")),this._tag.name=o[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!F(this._title))return!0;if(B(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},O.prototype.parseDescription=function(){var A=n(g,p,this._last).trim();return A&&(/^-\s+/.test(A)&&(A=A.substring(2)),this._tag.description=A),!0},O.prototype.parseCaption=function(){var A=n(g,p,this._last).trim(),h="",y="",N=A.indexOf(h),b=A.indexOf(y);return N>=0&&b>=0?(this._tag.caption=A.substring(N+h.length,b).trim(),this._tag.description=A.substring(b+y.length).trim()):this._tag.description=A,!0},O.prototype.parseKind=function(){var A,h;return h={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},A=n(g,p,this._last).trim(),this._tag.kind=A,!(!i(h,A)&&!this.addError("Invalid kind name '%0'",A))},O.prototype.parseAccess=function(){var A;return A=n(g,p,this._last).trim(),this._tag.access=A,!(A!=="private"&&A!=="protected"&&A!=="public"&&!this.addError("Invalid access name '%0'",A))},O.prototype.parseThis=function(){var A=n(g,p,this._last).trim();if(A&&A.charAt(0)==="{"){var h=this.parseType();return h&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},O.prototype.parseVariation=function(){var A,h;return h=n(g,p,this._last).trim(),A=parseFloat(h,10),this._tag.variation=A,!(isNaN(A)&&!this.addError("Invalid variation '%0'",h))},O.prototype.ensureEnd=function(){var o=n(g,p,this._last).trim();return!(o&&!this.addError("Unknown content '%0'",o))},O.prototype.epilogue=function(){var A;return A=this._tag.description,!(c(this._title)&&!this._tag.type&&A&&A.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!V&&!this.addError("Missing or invalid tag name")))},k={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},O.prototype.parse=function(){var A,h,y,N;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=iu(this._title),this._options.range&&(this._tag.range=[this._first,g.slice(0,this._last).replace(/\s*$/,"").length].map(w)),i(k,this._title)?y=k[this._title]:y=["parseType","parseName","parseDescription","epilogue"],A=0,h=y.length;Au.replace(ur,""),pA=u=>ur.test(u),er=u=>{let e=fA(u);return pA(u)||Number.isNaN(Number(e))?e:Number(e)},BA=u=>{switch(u.type){case"function":return{name:"function"};case"object":let e={};return u.signature.properties.forEach(r=>{e[r.key]=Fu(r.value)}),{name:"object",value:e};default:throw new Error(`Unknown: ${u}`)}},Fu=u=>{let{name:e,raw:r}=u,t={};switch(typeof r<"u"&&(t.raw=r),u.name){case"string":case"number":case"symbol":case"boolean":return{...t,name:e};case"Array":return{...t,name:"array",value:u.elements.map(Fu)};case"signature":return{...t,...BA(u)};case"union":let a;return u.elements.every(i=>i.name==="literal")?a={...t,name:"enum",value:u.elements.map(i=>er(i.value))}:a={...t,name:e,value:u.elements.map(Fu)},a;case"intersection":return{...t,name:e,value:u.elements.map(Fu)};default:return{...t,name:"other",value:e}}},hA=u=>u.name==="literal",dA=u=>u.value.replace(/['|"]/g,""),vA=u=>{switch(u.type){case"function":return{name:"function"};case"object":let e={};return u.signature.properties.forEach(r=>{e[r.key]=Cu(r.value)}),{name:"object",value:e};default:throw new Error(`Unknown: ${u}`)}},Cu=u=>{let{name:e,raw:r}=u,t={};switch(typeof r<"u"&&(t.raw=r),u.name){case"literal":return{...t,name:"other",value:u.value};case"string":case"number":case"symbol":case"boolean":return{...t,name:e};case"Array":return{...t,name:"array",value:u.elements.map(Cu)};case"signature":return{...t,...vA(u)};case"union":return u.elements.every(hA)?{...t,name:"enum",value:u.elements.map(dA)}:{...t,name:e,value:u.elements.map(Cu)};case"intersection":return{...t,name:e,value:u.elements.map(Cu)};default:return{...t,name:"other",value:e}}},yA=/^\(.*\) => /,Au=u=>{let{name:e,raw:r,computed:t,value:a}=u,i={};switch(typeof r<"u"&&(i.raw=r),e){case"enum":{let l=t?a:a.map(f=>er(f.value));return{...i,name:e,value:l}}case"string":case"number":case"symbol":return{...i,name:e};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:a&&Au(a)};case"object":return{...i,name:e};case"objectOf":return{...i,name:e,value:Au(a)};case"shape":case"exact":let n=V1(a,l=>Au(l));return{...i,name:"object",value:n};case"union":return{...i,name:"union",value:a.map(l=>Au(l))};case"instanceOf":case"element":case"elementType":default:{if((e==null?void 0:e.indexOf("|"))>0)try{let B=e.split("|").map(T=>JSON.parse(T));return{...i,name:"enum",value:B}}catch{}let l=a?`${e}(${a})`:e,f=yA.test(e)?"function":"other";return{...i,name:f,value:l}}}},Qu=u=>{let{type:e,tsType:r,flowType:t}=u;return e!=null?Au(e):r!=null?Fu(r):t!=null?Cu(t):null},gA=(u=>(u.JAVASCRIPT="JavaScript",u.FLOW="Flow",u.TYPESCRIPT="TypeScript",u.UNKNOWN="Unknown",u))(gA||{}),mA=["null","undefined"];function Yu(u){return mA.some(e=>e===u)}var _A=u=>{if(!u)return"";if(typeof u=="string")return u;throw new Error(`Description: expected string, got: ${JSON.stringify(u)}`)};function rr(u){return!!u.__docgenInfo}function xA(u){return u!=null&&Object.keys(u).length>0}function TA(u,e){return rr(u)?u.__docgenInfo[e]:null}function bA(u){return rr(u)?_A(u.__docgenInfo.description):""}function SA(u){return u!=null&&u.includes("@")}function $A(u,e){let r;try{r=cA.parse(u??"",{tags:e,sloppy:!0})}catch(t){throw console.error(t),new Error("Cannot parse JSDoc tags.")}return r}var wA={tags:["param","arg","argument","returns","ignore","deprecated"]},OA=(u,e=wA)=>{if(!SA(u))return{includesJsDoc:!1,ignore:!1};let r=$A(u,e.tags),t=NA(r);return t.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description,extractedTags:t}};function NA(u){let e={params:null,deprecated:null,returns:null,ignore:!1};for(let r=0;re.includes("null")?e.replace("-null","").replace(".null",""):u.name,getTypeName:()=>u.type!=null?Z(u.type):null}:null}function IA(u){return u.title!=null?u.description:null}function RA(u){return u.type!=null?{type:u.type,description:u.description,getTypeName:()=>Z(u.type)}:null}function Z(u){return(u==null?void 0:u.type)==="NameExpression"?u.name:(u==null?void 0:u.type)==="RecordType"?`({${u.fields.map(e=>{if(e.type==="FieldType"&&e.value!=null){let r=Z(e.value);return`${e.key}: ${r}`}return e.key}).join(", ")}})`:(u==null?void 0:u.type)==="UnionType"?`(${u.elements.map(Z).join("|")})`:(u==null?void 0:u.type)==="ArrayType"?"[]":(u==null?void 0:u.type)==="TypeApplication"&&u.expression!=null&&u.expression.name==="Array"?`${Z(u.applications[0])}[]`:(u==null?void 0:u.type)==="NullableType"||(u==null?void 0:u.type)==="NonNullableType"||(u==null?void 0:u.type)==="OptionalType"?Z(u.expression):(u==null?void 0:u.type)==="AllLiteral"?"any":null}function tr(u){return u.length>90}function LA(u){return u.length>50}function P(u,e){return u===e?{summary:u}:{summary:u,detail:e}}function ar({name:u,value:e,elements:r,raw:t}){return e??(r!=null?r.map(ar).join(" | "):t??u)}function MA({name:u,raw:e,elements:r}){return r!=null?P(r.map(ar).join(" | ")):e!=null?P(e.replace(/^\|\s*/,"")):P(u)}function kA({type:u,raw:e}){return e!=null?P(e):P(u)}function UA({type:u,raw:e}){return e!=null?tr(e)?P(u,e):P(e):P(u)}function jA(u){let{type:e}=u;return e==="object"?UA(u):kA(u)}function GA({name:u,raw:e}){return e!=null?tr(e)?P(u,e):P(e):P(u)}function KA(u){if(u==null)return null;switch(u.name){case"union":return MA(u);case"signature":return jA(u);default:return GA(u)}}function HA(u,e){if(u!=null){let{value:r}=u;if(!Yu(r))return LA(r)?P(e==null?void 0:e.name,r):P(r)}return null}var qA=(u,e)=>{let{flowType:r,description:t,required:a,defaultValue:i}=e;return{name:u,type:KA(r),required:a,description:t,defaultValue:HA(i??null,r??null)}};function WA({tsType:u,required:e}){if(u==null)return null;let r=u.name;return e||(r=r.replace(" | undefined","")),P(["Array","Record","signature"].includes(u.name)?u.raw:r)}function zA({defaultValue:u}){if(u!=null){let{value:e}=u;if(!Yu(e))return P(e)}return null}var VA=(u,e)=>{let{description:r,required:t}=e;return{name:u,type:WA(e),required:t,description:r,defaultValue:zA(e)}};function JA(u){return u!=null?P(u.name):null}function QA(u){let{computed:e,func:r}=u;return typeof e>"u"&&typeof r>"u"}function YA(u){return u?u.name==="string"?!0:u.name==="enum"?Array.isArray(u.value)&&u.value.every(({value:e})=>typeof e=="string"&&e[0]==='"'&&e[e.length-1]==='"'):!1:!1}function XA(u,e){if(u!=null){let{value:r}=u;if(!Yu(r))return QA(u)&&YA(e)?P(JSON.stringify(r)):P(r)}return null}function nr(u,e,r){let{description:t,required:a,defaultValue:i}=r;return{name:u,type:JA(e),required:a,description:t,defaultValue:XA(i,e)}}function Su(u,e){var r;if(e!=null&&e.includesJsDoc){let{description:t,extractedTags:a}=e;t!=null&&(u.description=e.description);let i={...a,params:(r=a==null?void 0:a.params)==null?void 0:r.map(n=>({name:n.getPrettyName(),description:n.description}))};Object.values(i).filter(Boolean).length>0&&(u.jsDocTags=i)}return u}var ZA=(u,e,r)=>{let t=nr(u,e.type,e);return t.sbType=Qu(e),Su(t,r)},uo=(u,e,r)=>{let t=VA(u,e);return t.sbType=Qu(e),Su(t,r)},eo=(u,e,r)=>{let t=qA(u,e);return t.sbType=Qu(e),Su(t,r)},ro=(u,e,r)=>{let t=nr(u,{name:"unknown"},e);return Su(t,r)},ir=u=>{switch(u){case"JavaScript":return ZA;case"TypeScript":return uo;case"Flow":return eo;default:return ro}},sr=u=>u.type!=null?"JavaScript":u.flowType!=null?"Flow":u.tsType!=null?"TypeScript":"Unknown",to=u=>{let e=sr(u[0]),r=ir(e);return u.map(t=>{var i;let a=t;return(i=t.type)!=null&&i.elements&&(a={...t,type:{...t.type,value:t.type.elements}}),Dr(a.name,a,e,r)})},ao=u=>{let e=Object.keys(u),r=sr(u[e[0]]),t=ir(r);return e.map(a=>{let i=u[a];return i!=null?Dr(a,i,r,t):null}).filter(Boolean)},oo=(u,e)=>{let r=TA(u,e);return xA(r)?Array.isArray(r)?to(r):ao(r):[]};function Dr(u,e,r,t){let a=OA(e.description);return a.includesJsDoc&&a.ignore?null:{propDef:t(u,e,a),jsDocTags:a.extractedTags,docgenInfo:e,typeSystem:r}}function Fo(u){return u!=null?bA(u):""}var Co=u=>{let{component:e,argTypes:r,parameters:{docs:t={}}}=u,{extractArgTypes:a}=t,i=a&&e?a(e):{};return i?EA(i,r):r},no="storybook/docs",lo=`${no}/snippet-rendered`,io=(u=>(u.AUTO="auto",u.CODE="code",u.DYNAMIC="dynamic",u))(io||{});export{gi as A,di as B,Li as C,Za as D,or as E,x1 as F,As as G,Ta as H,oa as I,ca as J,Wu as K,ga as L,_u as M,ds as N,si as O,ii as P,Oe as Q,Re as R,lo as S,gA as T,Wi as U,H as _,zu as a,lu as b,Ao as c,cu as d,W as e,Fo as f,Co as g,P as h,ju as i,TA as j,io as k,Do as l,rr as m,oo as n,LA as o,tr as p,w1 as q,be as r,ze as s,Le as t,ou as u,bu as v,Ve as w,Va as x,on as y,tn as z}; diff --git a/assets/index--q_WrUwI.js b/assets/index-YkBf51cs.js similarity index 65% rename from assets/index--q_WrUwI.js rename to assets/index-YkBf51cs.js index 0f3ee9e..bc05c14 100644 --- a/assets/index--q_WrUwI.js +++ b/assets/index-YkBf51cs.js @@ -1,4 +1,4 @@ -import{$ as G,_ as M,a as Ct,b as yt}from"./index-Eok78svH.js";import{r as o}from"./index-OjgoNOWw.js";import{f as Z,a as J,$ as Ve,c as S,b as St,e as xe,h as wt,k as Rt,i as _t}from"./index-wq2dZbDE.js";import{$ as Xe}from"./index-F4RL_6mv.js";import{$ as Se,a as je,b as He,c as Mt,d as xt}from"./index-nFE2FeW6.js";let $e=0;function Tt(){o.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ke()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ke()),$e++,()=>{$e===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),$e--}},[])}function ke(){const 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}const pe="focusScope.autoFocusOnMount",be="focusScope.autoFocusOnUnmount",De={bubbles:!1,cancelable:!0},It=o.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:c,onUnmountAutoFocus:a,...l}=e,[u,p]=o.useState(null),v=Z(c),d=Z(a),s=o.useRef(null),f=G(t,i=>p(i)),m=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let i=function(C){if(m.paused||!u)return;const y=C.target;u.contains(y)?s.current=y:L(s.current,{select:!0})},b=function(C){if(m.paused||!u)return;const y=C.relatedTarget;y!==null&&(u.contains(y)||L(s.current,{select:!0}))},h=function(C){if(document.activeElement===document.body)for(const R of C)R.removedNodes.length>0&&L(u)};document.addEventListener("focusin",i),document.addEventListener("focusout",b);const E=new MutationObserver(h);return u&&E.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",i),document.removeEventListener("focusout",b),E.disconnect()}}},[r,u,m.paused]),o.useEffect(()=>{if(u){Ne.add(m);const i=document.activeElement;if(!u.contains(i)){const h=new CustomEvent(pe,De);u.addEventListener(pe,v),u.dispatchEvent(h),h.defaultPrevented||(Pt(Dt(ze(u)),{select:!0}),document.activeElement===i&&L(u))}return()=>{u.removeEventListener(pe,v),setTimeout(()=>{const h=new CustomEvent(be,De);u.addEventListener(be,d),u.dispatchEvent(h),h.defaultPrevented||L(i??document.body,{select:!0}),u.removeEventListener(be,d),Ne.remove(m)},0)}}},[u,v,d,m]);const $=o.useCallback(i=>{if(!n&&!r||m.paused)return;const b=i.key==="Tab"&&!i.altKey&&!i.ctrlKey&&!i.metaKey,h=document.activeElement;if(b&&h){const E=i.currentTarget,[C,y]=Ft(E);C&&y?!i.shiftKey&&h===y?(i.preventDefault(),n&&L(C,{select:!0})):i.shiftKey&&h===C&&(i.preventDefault(),n&&L(y,{select:!0})):h===E&&i.preventDefault()}},[n,r,m.paused]);return o.createElement(J.div,M({tabIndex:-1},l,{ref:f,onKeyDown:$}))});function Pt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(L(r,{select:t}),document.activeElement!==n)return}function Ft(e){const t=ze(e),n=Le(t,e),r=Le(t.reverse(),e);return[n,r]}function ze(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const c=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||c?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Le(e,t){for(const n of e)if(!Ot(n,{upTo:t}))return n}function Ot(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}function At(e){return e instanceof HTMLInputElement&&"select"in e}function L(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&At(e)&&t&&e.select()}}const Ne=kt();function kt(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ke(e,t),e.unshift(t)},remove(t){var n;e=Ke(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Ke(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Dt(e){return e.filter(t=>t.tagName!=="A")}var Lt=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},W=new WeakMap,ne=new WeakMap,re={},he=0,Ze=function(e){return e&&(e.host||Ze(e.parentNode))},Nt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ze(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Kt=function(e,t,n,r){var c=Nt(t,Array.isArray(e)?e:[e]);re[n]||(re[n]=new WeakMap);var a=re[n],l=[],u=new Set,p=new Set(c),v=function(s){!s||u.has(s)||(u.add(s),v(s.parentNode))};c.forEach(v);var d=function(s){!s||p.has(s)||Array.prototype.forEach.call(s.children,function(f){if(u.has(f))d(f);else{var m=f.getAttribute(r),$=m!==null&&m!=="false",i=(W.get(f)||0)+1,b=(a.get(f)||0)+1;W.set(f,i),a.set(f,b),l.push(f),i===1&&$&&ne.set(f,!0),b===1&&f.setAttribute(n,"true"),$||f.setAttribute(r,"true")}})};return d(t),u.clear(),he++,function(){l.forEach(function(s){var f=W.get(s)-1,m=a.get(s)-1;W.set(s,f),a.set(s,m),f||(ne.has(s)||s.removeAttribute(r),ne.delete(s)),m||s.removeAttribute(n)}),he--,he||(W=new WeakMap,W=new WeakMap,ne=new WeakMap,re={})}},Gt=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),c=t||Lt(e);return c?(r.push.apply(r,Array.from(c.querySelectorAll("[aria-live]"))),Kt(r,c,n,"aria-hidden")):function(){return null}},P=function(){return P=Object.assign||function(t){for(var n,r=1,c=arguments.length;r"u")return nn;var t=rn(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},cn=et(),an=function(e,t,n,r){var c=e.left,a=e.top,l=e.right,u=e.gap;return n===void 0&&(n="margin"),` +import{_ as M}from"./extends-dGVwEr9R.js";import{r as o}from"./index-aXz8NaAs.js";import{i as Z,a as G,c as J,$ as Ve,f as S,d as Ct,h as xe,k as yt,n as St,b as wt,e as Rt,l as _t}from"./index-M7H33-mE.js";import{$ as Xe}from"./index-MW3rGVG_.js";import{$ as Se,a as je,b as He,c as Mt,d as xt}from"./index-sSXR_LKw.js";let $e=0;function Tt(){o.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:ke()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:ke()),$e++,()=>{$e===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),$e--}},[])}function ke(){const 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}const pe="focusScope.autoFocusOnMount",be="focusScope.autoFocusOnUnmount",De={bubbles:!1,cancelable:!0},It=o.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:c,onUnmountAutoFocus:a,...l}=e,[u,p]=o.useState(null),v=Z(c),d=Z(a),s=o.useRef(null),f=G(t,i=>p(i)),m=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let i=function(C){if(m.paused||!u)return;const y=C.target;u.contains(y)?s.current=y:L(s.current,{select:!0})},b=function(C){if(m.paused||!u)return;const y=C.relatedTarget;y!==null&&(u.contains(y)||L(s.current,{select:!0}))},h=function(C){if(document.activeElement===document.body)for(const R of C)R.removedNodes.length>0&&L(u)};document.addEventListener("focusin",i),document.addEventListener("focusout",b);const E=new MutationObserver(h);return u&&E.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",i),document.removeEventListener("focusout",b),E.disconnect()}}},[r,u,m.paused]),o.useEffect(()=>{if(u){Ne.add(m);const i=document.activeElement;if(!u.contains(i)){const h=new CustomEvent(pe,De);u.addEventListener(pe,v),u.dispatchEvent(h),h.defaultPrevented||(Pt(Dt(ze(u)),{select:!0}),document.activeElement===i&&L(u))}return()=>{u.removeEventListener(pe,v),setTimeout(()=>{const h=new CustomEvent(be,De);u.addEventListener(be,d),u.dispatchEvent(h),h.defaultPrevented||L(i??document.body,{select:!0}),u.removeEventListener(be,d),Ne.remove(m)},0)}}},[u,v,d,m]);const $=o.useCallback(i=>{if(!n&&!r||m.paused)return;const b=i.key==="Tab"&&!i.altKey&&!i.ctrlKey&&!i.metaKey,h=document.activeElement;if(b&&h){const E=i.currentTarget,[C,y]=Ft(E);C&&y?!i.shiftKey&&h===y?(i.preventDefault(),n&&L(C,{select:!0})):i.shiftKey&&h===C&&(i.preventDefault(),n&&L(y,{select:!0})):h===E&&i.preventDefault()}},[n,r,m.paused]);return o.createElement(J.div,M({tabIndex:-1},l,{ref:f,onKeyDown:$}))});function Pt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(L(r,{select:t}),document.activeElement!==n)return}function Ft(e){const t=ze(e),n=Le(t,e),r=Le(t.reverse(),e);return[n,r]}function ze(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const c=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||c?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Le(e,t){for(const n of e)if(!Ot(n,{upTo:t}))return n}function Ot(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}function At(e){return e instanceof HTMLInputElement&&"select"in e}function L(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&At(e)&&t&&e.select()}}const Ne=kt();function kt(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Ke(e,t),e.unshift(t)},remove(t){var n;e=Ke(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Ke(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Dt(e){return e.filter(t=>t.tagName!=="A")}var Lt=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},W=new WeakMap,ne=new WeakMap,re={},he=0,Ze=function(e){return e&&(e.host||Ze(e.parentNode))},Nt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ze(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Kt=function(e,t,n,r){var c=Nt(t,Array.isArray(e)?e:[e]);re[n]||(re[n]=new WeakMap);var a=re[n],l=[],u=new Set,p=new Set(c),v=function(s){!s||u.has(s)||(u.add(s),v(s.parentNode))};c.forEach(v);var d=function(s){!s||p.has(s)||Array.prototype.forEach.call(s.children,function(f){if(u.has(f))d(f);else{var m=f.getAttribute(r),$=m!==null&&m!=="false",i=(W.get(f)||0)+1,b=(a.get(f)||0)+1;W.set(f,i),a.set(f,b),l.push(f),i===1&&$&&ne.set(f,!0),b===1&&f.setAttribute(n,"true"),$||f.setAttribute(r,"true")}})};return d(t),u.clear(),he++,function(){l.forEach(function(s){var f=W.get(s)-1,m=a.get(s)-1;W.set(s,f),a.set(s,m),f||(ne.has(s)||s.removeAttribute(r),ne.delete(s)),m||s.removeAttribute(n)}),he--,he||(W=new WeakMap,W=new WeakMap,ne=new WeakMap,re={})}},Gt=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),c=t||Lt(e);return c?(r.push.apply(r,Array.from(c.querySelectorAll("[aria-live]"))),Kt(r,c,n,"aria-hidden")):function(){return null}},P=function(){return P=Object.assign||function(t){for(var n,r=1,c=arguments.length;r"u")return nn;var t=rn(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},cn=et(),an=function(e,t,n,r){var c=e.left,a=e.top,l=e.right,u=e.gap;return n===void 0&&(n="margin"),` .`.concat(Bt,` { overflow: hidden `).concat(r,`; padding-right: `).concat(u,"px ").concat(r,`; @@ -38,4 +38,4 @@ import{$ as G,_ as M,a as Ct,b as yt}from"./index-Eok78svH.js";import{r as o}fro `)},un=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,c=r===void 0?"margin":r,a=o.useMemo(function(){return on(c)},[c]);return o.createElement(cn,{styles:an(a,!t,c,n?"":"!important")})},we=!1;if(typeof window<"u")try{var oe=Object.defineProperty({},"passive",{get:function(){return we=!0,!0}});window.addEventListener("test",oe,oe),window.removeEventListener("test",oe,oe)}catch{we=!1}var Y=we?{passive:!1}:!1,sn=function(e){return e.tagName==="TEXTAREA"},tt=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!sn(e)&&n[t]==="visible")},ln=function(e){return tt(e,"overflowY")},fn=function(e){return tt(e,"overflowX")},Ue=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=nt(e,n);if(r){var c=rt(e,n),a=c[1],l=c[2];if(a>l)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},dn=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},vn=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},nt=function(e,t){return e==="v"?ln(t):fn(t)},rt=function(e,t){return e==="v"?dn(t):vn(t)},mn=function(e,t){return e==="h"&&t==="rtl"?-1:1},$n=function(e,t,n,r,c){var a=mn(e,window.getComputedStyle(t).direction),l=a*r,u=n.target,p=t.contains(u),v=!1,d=l>0,s=0,f=0;do{var m=rt(e,u),$=m[0],i=m[1],b=m[2],h=i-b-a*$;($||h)&&nt(e,u)&&(s+=h,f+=$),u=u.parentNode}while(!p&&u!==document.body||p&&(t.contains(u)||t===u));return(d&&(c&&s===0||!c&&l>s)||!d&&(c&&f===0||!c&&-l>f))&&(v=!0),v},ce=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Be=function(e){return[e.deltaX,e.deltaY]},We=function(e){return e&&"current"in e?e.current:e},pn=function(e,t){return e[0]===t[0]&&e[1]===t[1]},bn=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},hn=0,V=[];function gn(e){var t=o.useRef([]),n=o.useRef([0,0]),r=o.useRef(),c=o.useState(hn++)[0],a=o.useState(function(){return et()})[0],l=o.useRef(e);o.useEffect(function(){l.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(c));var i=Ut([e.lockRef.current],(e.shards||[]).map(We),!0).filter(Boolean);return i.forEach(function(b){return b.classList.add("allow-interactivity-".concat(c))}),function(){document.body.classList.remove("block-interactivity-".concat(c)),i.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(c))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(i,b){if("touches"in i&&i.touches.length===2)return!l.current.allowPinchZoom;var h=ce(i),E=n.current,C="deltaX"in i?i.deltaX:E[0]-h[0],y="deltaY"in i?i.deltaY:E[1]-h[1],R,F=i.target,w=Math.abs(C)>Math.abs(y)?"h":"v";if("touches"in i&&w==="h"&&F.type==="range")return!1;var k=Ue(w,F);if(!k)return!0;if(k?R=w:(R=w==="v"?"h":"v",k=Ue(w,F)),!k)return!1;if(!r.current&&"changedTouches"in i&&(C||y)&&(r.current=R),!R)return!0;var I=r.current||R;return $n(I,b,i,I==="h"?C:y,!0)},[]),p=o.useCallback(function(i){var b=i;if(!(!V.length||V[V.length-1]!==a)){var h="deltaY"in b?Be(b):ce(b),E=t.current.filter(function(R){return R.name===b.type&&R.target===b.target&&pn(R.delta,h)})[0];if(E&&E.should){b.cancelable&&b.preventDefault();return}if(!E){var C=(l.current.shards||[]).map(We).filter(Boolean).filter(function(R){return R.contains(b.target)}),y=C.length>0?u(b,C[0]):!l.current.noIsolation;y&&b.cancelable&&b.preventDefault()}}},[]),v=o.useCallback(function(i,b,h,E){var C={name:i,delta:b,target:h,should:E};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(y){return y!==C})},1)},[]),d=o.useCallback(function(i){n.current=ce(i),r.current=void 0},[]),s=o.useCallback(function(i){v(i.type,Be(i),i.target,u(i,e.lockRef.current))},[]),f=o.useCallback(function(i){v(i.type,ce(i),i.target,u(i,e.lockRef.current))},[]);o.useEffect(function(){return V.push(a),e.setCallbacks({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:f}),document.addEventListener("wheel",p,Y),document.addEventListener("touchmove",p,Y),document.addEventListener("touchstart",d,Y),function(){V=V.filter(function(i){return i!==a}),document.removeEventListener("wheel",p,Y),document.removeEventListener("touchmove",p,Y),document.removeEventListener("touchstart",d,Y)}},[]);var m=e.removeScrollBar,$=e.inert;return o.createElement(o.Fragment,null,$?o.createElement(a,{styles:bn(c)}):null,m?o.createElement(un,{gapMode:"margin"}):null)}const En=zt(Je,gn);var ot=o.forwardRef(function(e,t){return o.createElement(ie,P({},e,{ref:t,sideCar:En}))});ot.classNames=ie.classNames;const Cn=ot,yn=o.createContext(void 0);function ct(e){const t=o.useContext(yn);return e||t||"ltr"}const ye="rovingFocusGroup.onEntryFocus",Sn={bubbles:!1,cancelable:!0},Te="RovingFocusGroup",[Re,at,wn]=Xe(Te),[Rn,ut]=Ve(Te,[wn]),[_n,Mn]=Rn(Te),xn=o.forwardRef((e,t)=>o.createElement(Re.Provider,{scope:e.__scopeRovingFocusGroup},o.createElement(Re.Slot,{scope:e.__scopeRovingFocusGroup},o.createElement(Tn,M({},e,{ref:t}))))),Tn=o.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:c=!1,dir:a,currentTabStopId:l,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:p,onEntryFocus:v,...d}=e,s=o.useRef(null),f=G(t,s),m=ct(a),[$=null,i]=St({prop:l,defaultProp:u,onChange:p}),[b,h]=o.useState(!1),E=Z(v),C=at(n),y=o.useRef(!1),[R,F]=o.useState(0);return o.useEffect(()=>{const w=s.current;if(w)return w.addEventListener(ye,E),()=>w.removeEventListener(ye,E)},[E]),o.createElement(_n,{scope:n,orientation:r,dir:m,loop:c,currentTabStopId:$,onItemFocus:o.useCallback(w=>i(w),[i]),onItemShiftTab:o.useCallback(()=>h(!0),[]),onFocusableItemAdd:o.useCallback(()=>F(w=>w+1),[]),onFocusableItemRemove:o.useCallback(()=>F(w=>w-1),[])},o.createElement(J.div,M({tabIndex:b||R===0?-1:0,"data-orientation":r},d,{ref:f,style:{outline:"none",...e.style},onMouseDown:S(e.onMouseDown,()=>{y.current=!0}),onFocus:S(e.onFocus,w=>{const k=!y.current;if(w.target===w.currentTarget&&k&&!b){const I=new CustomEvent(ye,Sn);if(w.currentTarget.dispatchEvent(I),!I.defaultPrevented){const D=C().filter(O=>O.focusable),de=D.find(O=>O.active),X=D.find(O=>O.id===$),j=[de,X,...D].filter(Boolean).map(O=>O.ref.current);st(j)}}y.current=!1}),onBlur:S(e.onBlur,()=>h(!1))})))}),In="RovingFocusGroupItem",Pn=o.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:c=!1,tabStopId:a,...l}=e,u=Se(),p=a||u,v=Mn(In,n),d=v.currentTabStopId===p,s=at(n),{onFocusableItemAdd:f,onFocusableItemRemove:m}=v;return o.useEffect(()=>{if(r)return f(),()=>m()},[r,f,m]),o.createElement(Re.ItemSlot,{scope:n,id:p,focusable:r,active:c},o.createElement(J.span,M({tabIndex:d?0:-1,"data-orientation":v.orientation},l,{ref:t,onMouseDown:S(e.onMouseDown,$=>{r?v.onItemFocus(p):$.preventDefault()}),onFocus:S(e.onFocus,()=>v.onItemFocus(p)),onKeyDown:S(e.onKeyDown,$=>{if($.key==="Tab"&&$.shiftKey){v.onItemShiftTab();return}if($.target!==$.currentTarget)return;const i=An($,v.orientation,v.dir);if(i!==void 0){$.preventDefault();let h=s().filter(E=>E.focusable).map(E=>E.ref.current);if(i==="last")h.reverse();else if(i==="prev"||i==="next"){i==="prev"&&h.reverse();const E=h.indexOf($.currentTarget);h=v.loop?kn(h,E+1):h.slice(E+1)}setTimeout(()=>st(h))}})})))}),Fn={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function On(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function An(e,t,n){const r=On(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Fn[r]}function st(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function kn(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Dn=xn,Ln=Pn,_e=["Enter"," "],Nn=["ArrowDown","PageUp","Home"],it=["ArrowUp","PageDown","End"],Kn=[...Nn,...it],Gn={ltr:[..._e,"ArrowRight"],rtl:[..._e,"ArrowLeft"]},Un={ltr:["ArrowLeft"],rtl:["ArrowRight"]},le="Menu",[q,Bn,Wn]=Xe(le),[U,br]=Ve(le,[Wn,je,ut]),fe=je(),lt=ut(),[ft,N]=U(le),[Yn,ee]=U(le),Vn=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:c,onOpenChange:a,modal:l=!0}=e,u=fe(t),[p,v]=o.useState(null),d=o.useRef(!1),s=Z(a),f=ct(c);return o.useEffect(()=>{const m=()=>{d.current=!0,document.addEventListener("pointerdown",$,{capture:!0,once:!0}),document.addEventListener("pointermove",$,{capture:!0,once:!0})},$=()=>d.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",$,{capture:!0}),document.removeEventListener("pointermove",$,{capture:!0})}},[]),o.createElement(He,u,o.createElement(ft,{scope:t,open:n,onOpenChange:s,content:p,onContentChange:v},o.createElement(Yn,{scope:t,onClose:o.useCallback(()=>s(!1),[s]),isUsingKeyboardRef:d,dir:f,modal:l},r)))},dt=o.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,c=fe(n);return o.createElement(Mt,M({},c,r,{ref:t}))}),vt="MenuPortal",[Xn,mt]=U(vt,{forceMount:void 0}),jn=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:c}=e,a=N(vt,t);return o.createElement(Xn,{scope:t,forceMount:n},o.createElement(xe,{present:n||a.open},o.createElement(wt,{asChild:!0,container:c},r)))},T="MenuContent",[Hn,Ie]=U(T),zn=o.forwardRef((e,t)=>{const n=mt(T,e.__scopeMenu),{forceMount:r=n.forceMount,...c}=e,a=N(T,e.__scopeMenu),l=ee(T,e.__scopeMenu);return o.createElement(q.Provider,{scope:e.__scopeMenu},o.createElement(xe,{present:r||a.open},o.createElement(q.Slot,{scope:e.__scopeMenu},l.modal?o.createElement(Zn,M({},c,{ref:t})):o.createElement(qn,M({},c,{ref:t})))))}),Zn=o.forwardRef((e,t)=>{const n=N(T,e.__scopeMenu),r=o.useRef(null),c=G(t,r);return o.useEffect(()=>{const a=r.current;if(a)return Gt(a)},[]),o.createElement(Pe,M({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:S(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),qn=o.forwardRef((e,t)=>{const n=N(T,e.__scopeMenu);return o.createElement(Pe,M({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),Pe=o.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:c,onOpenAutoFocus:a,onCloseAutoFocus:l,disableOutsidePointerEvents:u,onEntryFocus:p,onEscapeKeyDown:v,onPointerDownOutside:d,onFocusOutside:s,onInteractOutside:f,onDismiss:m,disableOutsideScroll:$,...i}=e,b=N(T,n),h=ee(T,n),E=fe(n),C=lt(n),y=Bn(n),[R,F]=o.useState(null),w=o.useRef(null),k=G(t,w,b.onContentChange),I=o.useRef(0),D=o.useRef(""),de=o.useRef(0),X=o.useRef(null),ve=o.useRef("right"),j=o.useRef(0),O=$?Cn:o.Fragment,gt=$?{as:Ct,allowPinchZoom:!0}:void 0,Et=g=>{var _,x;const K=D.current+g,H=y().filter(A=>!A.disabled),me=document.activeElement,Fe=(_=H.find(A=>A.ref.current===me))===null||_===void 0?void 0:_.textValue,te=H.map(A=>A.textValue),z=ir(te,K,Fe),Oe=(x=H.find(A=>A.textValue===z))===null||x===void 0?void 0:x.ref.current;(function A(Ae){D.current=Ae,window.clearTimeout(I.current),Ae!==""&&(I.current=window.setTimeout(()=>A(""),1e3))})(K),Oe&&setTimeout(()=>Oe.focus())};o.useEffect(()=>()=>window.clearTimeout(I.current),[]),Tt();const B=o.useCallback(g=>{var _,x;return ve.current===((_=X.current)===null||_===void 0?void 0:_.side)&&fr(g,(x=X.current)===null||x===void 0?void 0:x.area)},[]);return o.createElement(Hn,{scope:n,searchRef:D,onItemEnter:o.useCallback(g=>{B(g)&&g.preventDefault()},[B]),onItemLeave:o.useCallback(g=>{var _;B(g)||((_=w.current)===null||_===void 0||_.focus(),F(null))},[B]),onTriggerLeave:o.useCallback(g=>{B(g)&&g.preventDefault()},[B]),pointerGraceTimerRef:de,onPointerGraceIntentChange:o.useCallback(g=>{X.current=g},[])},o.createElement(O,gt,o.createElement(It,{asChild:!0,trapped:c,onMountAutoFocus:S(a,g=>{var _;g.preventDefault(),(_=w.current)===null||_===void 0||_.focus()}),onUnmountAutoFocus:l},o.createElement(Rt,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:v,onPointerDownOutside:d,onFocusOutside:s,onInteractOutside:f,onDismiss:m},o.createElement(Dn,M({asChild:!0},C,{dir:h.dir,orientation:"vertical",loop:r,currentTabStopId:R,onCurrentTabStopIdChange:F,onEntryFocus:S(p,g=>{h.isUsingKeyboardRef.current||g.preventDefault()})}),o.createElement(xt,M({role:"menu","aria-orientation":"vertical","data-state":ht(b.open),"data-radix-menu-content":"",dir:h.dir},E,i,{ref:k,style:{outline:"none",...i.style},onKeyDown:S(i.onKeyDown,g=>{const x=g.target.closest("[data-radix-menu-content]")===g.currentTarget,K=g.ctrlKey||g.altKey||g.metaKey,H=g.key.length===1;x&&(g.key==="Tab"&&g.preventDefault(),!K&&H&&Et(g.key));const me=w.current;if(g.target!==me||!Kn.includes(g.key))return;g.preventDefault();const te=y().filter(z=>!z.disabled).map(z=>z.ref.current);it.includes(g.key)&&te.reverse(),ur(te)}),onBlur:S(e.onBlur,g=>{g.currentTarget.contains(g.target)||(window.clearTimeout(I.current),D.current="")}),onPointerMove:S(e.onPointerMove,Q(g=>{const _=g.target,x=j.current!==g.clientX;if(g.currentTarget.contains(_)&&x){const K=g.clientX>j.current?"right":"left";ve.current=K,j.current=g.clientX}}))})))))))}),Me="MenuItem",Ye="menu.itemSelect",Qn=o.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...c}=e,a=o.useRef(null),l=ee(Me,e.__scopeMenu),u=Ie(Me,e.__scopeMenu),p=G(t,a),v=o.useRef(!1),d=()=>{const s=a.current;if(!n&&s){const f=new CustomEvent(Ye,{bubbles:!0,cancelable:!0});s.addEventListener(Ye,m=>r==null?void 0:r(m),{once:!0}),_t(s,f),f.defaultPrevented?v.current=!1:l.onClose()}};return o.createElement($t,M({},c,{ref:p,disabled:n,onClick:S(e.onClick,d),onPointerDown:s=>{var f;(f=e.onPointerDown)===null||f===void 0||f.call(e,s),v.current=!0},onPointerUp:S(e.onPointerUp,s=>{var f;v.current||(f=s.currentTarget)===null||f===void 0||f.click()}),onKeyDown:S(e.onKeyDown,s=>{const f=u.searchRef.current!=="";n||f&&s.key===" "||_e.includes(s.key)&&(s.currentTarget.click(),s.preventDefault())})}))}),$t=o.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:c,...a}=e,l=Ie(Me,n),u=lt(n),p=o.useRef(null),v=G(t,p),[d,s]=o.useState(!1),[f,m]=o.useState("");return o.useEffect(()=>{const $=p.current;if($){var i;m(((i=$.textContent)!==null&&i!==void 0?i:"").trim())}},[a.children]),o.createElement(q.ItemSlot,{scope:n,disabled:r,textValue:c??f},o.createElement(Ln,M({asChild:!0},u,{focusable:!r}),o.createElement(J.div,M({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:v,onPointerMove:S(e.onPointerMove,Q($=>{r?l.onItemLeave($):(l.onItemEnter($),$.defaultPrevented||$.currentTarget.focus())})),onPointerLeave:S(e.onPointerLeave,Q($=>l.onItemLeave($))),onFocus:S(e.onFocus,()=>s(!0)),onBlur:S(e.onBlur,()=>s(!1))}))))}),Jn="MenuRadioGroup";U(Jn,{value:void 0,onValueChange:()=>{}});const er="MenuItemIndicator";U(er,{checked:!1});const tr=o.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return o.createElement(J.div,M({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),pt="MenuSub",[nr,bt]=U(pt),rr=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:c}=e,a=N(pt,t),l=fe(t),[u,p]=o.useState(null),[v,d]=o.useState(null),s=Z(c);return o.useEffect(()=>(a.open===!1&&s(!1),()=>s(!1)),[a.open,s]),o.createElement(He,l,o.createElement(ft,{scope:t,open:r,onOpenChange:s,content:v,onContentChange:d},o.createElement(nr,{scope:t,contentId:Se(),triggerId:Se(),trigger:u,onTriggerChange:p},n)))},ae="MenuSubTrigger",or=o.forwardRef((e,t)=>{const n=N(ae,e.__scopeMenu),r=ee(ae,e.__scopeMenu),c=bt(ae,e.__scopeMenu),a=Ie(ae,e.__scopeMenu),l=o.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:p}=a,v={__scopeMenu:e.__scopeMenu},d=o.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return o.useEffect(()=>d,[d]),o.useEffect(()=>{const s=u.current;return()=>{window.clearTimeout(s),p(null)}},[u,p]),o.createElement(dt,M({asChild:!0},v),o.createElement($t,M({id:c.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":c.contentId,"data-state":ht(n.open)},e,{ref:yt(t,c.onTriggerChange),onClick:s=>{var f;(f=e.onClick)===null||f===void 0||f.call(e,s),!(e.disabled||s.defaultPrevented)&&(s.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:S(e.onPointerMove,Q(s=>{a.onItemEnter(s),!s.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(a.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:S(e.onPointerLeave,Q(s=>{var f;d();const m=(f=n.content)===null||f===void 0?void 0:f.getBoundingClientRect();if(m){var $;const i=($=n.content)===null||$===void 0?void 0:$.dataset.side,b=i==="right",h=b?-5:5,E=m[b?"left":"right"],C=m[b?"right":"left"];a.onPointerGraceIntentChange({area:[{x:s.clientX+h,y:s.clientY},{x:E,y:m.top},{x:C,y:m.top},{x:C,y:m.bottom},{x:E,y:m.bottom}],side:i}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(s),s.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:S(e.onKeyDown,s=>{const f=a.searchRef.current!=="";if(!(e.disabled||f&&s.key===" ")&&Gn[r.dir].includes(s.key)){var m;n.onOpenChange(!0),(m=n.content)===null||m===void 0||m.focus(),s.preventDefault()}})})))}),cr="MenuSubContent",ar=o.forwardRef((e,t)=>{const n=mt(T,e.__scopeMenu),{forceMount:r=n.forceMount,...c}=e,a=N(T,e.__scopeMenu),l=ee(T,e.__scopeMenu),u=bt(cr,e.__scopeMenu),p=o.useRef(null),v=G(t,p);return o.createElement(q.Provider,{scope:e.__scopeMenu},o.createElement(xe,{present:r||a.open},o.createElement(q.Slot,{scope:e.__scopeMenu},o.createElement(Pe,M({id:u.contentId,"aria-labelledby":u.triggerId},c,{ref:v,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var s;l.isUsingKeyboardRef.current&&((s=p.current)===null||s===void 0||s.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:S(e.onFocusOutside,d=>{d.target!==u.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:S(e.onEscapeKeyDown,d=>{l.onClose(),d.preventDefault()}),onKeyDown:S(e.onKeyDown,d=>{const s=d.currentTarget.contains(d.target),f=Un[l.dir].includes(d.key);if(s&&f){var m;a.onOpenChange(!1),(m=u.trigger)===null||m===void 0||m.focus(),d.preventDefault()}})})))))});function ht(e){return e?"open":"closed"}function ur(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function sr(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function ir(e,t,n){const c=t.length>1&&Array.from(t).every(v=>v===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let l=sr(e,Math.max(a,0));c.length===1&&(l=l.filter(v=>v!==n));const p=l.find(v=>v.toLowerCase().startsWith(c.toLowerCase()));return p!==n?p:void 0}function lr(e,t){const{x:n,y:r}=e;let c=!1;for(let a=0,l=t.length-1;ar!=d>r&&n<(v-u)*(r-p)/(d-p)+u&&(c=!c)}return c}function fr(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return lr(n,t)}function Q(e){return t=>t.pointerType==="mouse"?e(t):void 0}const hr=Vn,gr=dt,Er=jn,Cr=zn,yr=Qn,Sr=tr,wr=rr,Rr=or,_r=ar;export{br as $,hr as a,gr as b,Cr as c,yr as d,Er as e,Sr as f,Cn as g,Gt as h,Tt as i,It as j,ut as k,Ln as l,ct as m,Dn as n,wr as o,Rr as p,_r as q}; +`)},hn=0,V=[];function gn(e){var t=o.useRef([]),n=o.useRef([0,0]),r=o.useRef(),c=o.useState(hn++)[0],a=o.useState(function(){return et()})[0],l=o.useRef(e);o.useEffect(function(){l.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(c));var i=Ut([e.lockRef.current],(e.shards||[]).map(We),!0).filter(Boolean);return i.forEach(function(b){return b.classList.add("allow-interactivity-".concat(c))}),function(){document.body.classList.remove("block-interactivity-".concat(c)),i.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(c))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(i,b){if("touches"in i&&i.touches.length===2)return!l.current.allowPinchZoom;var h=ce(i),E=n.current,C="deltaX"in i?i.deltaX:E[0]-h[0],y="deltaY"in i?i.deltaY:E[1]-h[1],R,F=i.target,w=Math.abs(C)>Math.abs(y)?"h":"v";if("touches"in i&&w==="h"&&F.type==="range")return!1;var k=Ue(w,F);if(!k)return!0;if(k?R=w:(R=w==="v"?"h":"v",k=Ue(w,F)),!k)return!1;if(!r.current&&"changedTouches"in i&&(C||y)&&(r.current=R),!R)return!0;var I=r.current||R;return $n(I,b,i,I==="h"?C:y,!0)},[]),p=o.useCallback(function(i){var b=i;if(!(!V.length||V[V.length-1]!==a)){var h="deltaY"in b?Be(b):ce(b),E=t.current.filter(function(R){return R.name===b.type&&R.target===b.target&&pn(R.delta,h)})[0];if(E&&E.should){b.cancelable&&b.preventDefault();return}if(!E){var C=(l.current.shards||[]).map(We).filter(Boolean).filter(function(R){return R.contains(b.target)}),y=C.length>0?u(b,C[0]):!l.current.noIsolation;y&&b.cancelable&&b.preventDefault()}}},[]),v=o.useCallback(function(i,b,h,E){var C={name:i,delta:b,target:h,should:E};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(y){return y!==C})},1)},[]),d=o.useCallback(function(i){n.current=ce(i),r.current=void 0},[]),s=o.useCallback(function(i){v(i.type,Be(i),i.target,u(i,e.lockRef.current))},[]),f=o.useCallback(function(i){v(i.type,ce(i),i.target,u(i,e.lockRef.current))},[]);o.useEffect(function(){return V.push(a),e.setCallbacks({onScrollCapture:s,onWheelCapture:s,onTouchMoveCapture:f}),document.addEventListener("wheel",p,Y),document.addEventListener("touchmove",p,Y),document.addEventListener("touchstart",d,Y),function(){V=V.filter(function(i){return i!==a}),document.removeEventListener("wheel",p,Y),document.removeEventListener("touchmove",p,Y),document.removeEventListener("touchstart",d,Y)}},[]);var m=e.removeScrollBar,$=e.inert;return o.createElement(o.Fragment,null,$?o.createElement(a,{styles:bn(c)}):null,m?o.createElement(un,{gapMode:"margin"}):null)}const En=zt(Je,gn);var ot=o.forwardRef(function(e,t){return o.createElement(ie,P({},e,{ref:t,sideCar:En}))});ot.classNames=ie.classNames;const Cn=ot,yn=o.createContext(void 0);function ct(e){const t=o.useContext(yn);return e||t||"ltr"}const ye="rovingFocusGroup.onEntryFocus",Sn={bubbles:!1,cancelable:!0},Te="RovingFocusGroup",[Re,at,wn]=Xe(Te),[Rn,ut]=Ve(Te,[wn]),[_n,Mn]=Rn(Te),xn=o.forwardRef((e,t)=>o.createElement(Re.Provider,{scope:e.__scopeRovingFocusGroup},o.createElement(Re.Slot,{scope:e.__scopeRovingFocusGroup},o.createElement(Tn,M({},e,{ref:t}))))),Tn=o.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:c=!1,dir:a,currentTabStopId:l,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:p,onEntryFocus:v,...d}=e,s=o.useRef(null),f=G(t,s),m=ct(a),[$=null,i]=Ct({prop:l,defaultProp:u,onChange:p}),[b,h]=o.useState(!1),E=Z(v),C=at(n),y=o.useRef(!1),[R,F]=o.useState(0);return o.useEffect(()=>{const w=s.current;if(w)return w.addEventListener(ye,E),()=>w.removeEventListener(ye,E)},[E]),o.createElement(_n,{scope:n,orientation:r,dir:m,loop:c,currentTabStopId:$,onItemFocus:o.useCallback(w=>i(w),[i]),onItemShiftTab:o.useCallback(()=>h(!0),[]),onFocusableItemAdd:o.useCallback(()=>F(w=>w+1),[]),onFocusableItemRemove:o.useCallback(()=>F(w=>w-1),[])},o.createElement(J.div,M({tabIndex:b||R===0?-1:0,"data-orientation":r},d,{ref:f,style:{outline:"none",...e.style},onMouseDown:S(e.onMouseDown,()=>{y.current=!0}),onFocus:S(e.onFocus,w=>{const k=!y.current;if(w.target===w.currentTarget&&k&&!b){const I=new CustomEvent(ye,Sn);if(w.currentTarget.dispatchEvent(I),!I.defaultPrevented){const D=C().filter(O=>O.focusable),de=D.find(O=>O.active),X=D.find(O=>O.id===$),j=[de,X,...D].filter(Boolean).map(O=>O.ref.current);st(j)}}y.current=!1}),onBlur:S(e.onBlur,()=>h(!1))})))}),In="RovingFocusGroupItem",Pn=o.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:c=!1,tabStopId:a,...l}=e,u=Se(),p=a||u,v=Mn(In,n),d=v.currentTabStopId===p,s=at(n),{onFocusableItemAdd:f,onFocusableItemRemove:m}=v;return o.useEffect(()=>{if(r)return f(),()=>m()},[r,f,m]),o.createElement(Re.ItemSlot,{scope:n,id:p,focusable:r,active:c},o.createElement(J.span,M({tabIndex:d?0:-1,"data-orientation":v.orientation},l,{ref:t,onMouseDown:S(e.onMouseDown,$=>{r?v.onItemFocus(p):$.preventDefault()}),onFocus:S(e.onFocus,()=>v.onItemFocus(p)),onKeyDown:S(e.onKeyDown,$=>{if($.key==="Tab"&&$.shiftKey){v.onItemShiftTab();return}if($.target!==$.currentTarget)return;const i=An($,v.orientation,v.dir);if(i!==void 0){$.preventDefault();let h=s().filter(E=>E.focusable).map(E=>E.ref.current);if(i==="last")h.reverse();else if(i==="prev"||i==="next"){i==="prev"&&h.reverse();const E=h.indexOf($.currentTarget);h=v.loop?kn(h,E+1):h.slice(E+1)}setTimeout(()=>st(h))}})})))}),Fn={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function On(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function An(e,t,n){const r=On(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return Fn[r]}function st(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function kn(e,t){return e.map((n,r)=>e[(t+r)%e.length])}const Dn=xn,Ln=Pn,_e=["Enter"," "],Nn=["ArrowDown","PageUp","Home"],it=["ArrowUp","PageDown","End"],Kn=[...Nn,...it],Gn={ltr:[..._e,"ArrowRight"],rtl:[..._e,"ArrowLeft"]},Un={ltr:["ArrowLeft"],rtl:["ArrowRight"]},le="Menu",[q,Bn,Wn]=Xe(le),[U,br]=Ve(le,[Wn,je,ut]),fe=je(),lt=ut(),[ft,N]=U(le),[Yn,ee]=U(le),Vn=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:c,onOpenChange:a,modal:l=!0}=e,u=fe(t),[p,v]=o.useState(null),d=o.useRef(!1),s=Z(a),f=ct(c);return o.useEffect(()=>{const m=()=>{d.current=!0,document.addEventListener("pointerdown",$,{capture:!0,once:!0}),document.addEventListener("pointermove",$,{capture:!0,once:!0})},$=()=>d.current=!1;return document.addEventListener("keydown",m,{capture:!0}),()=>{document.removeEventListener("keydown",m,{capture:!0}),document.removeEventListener("pointerdown",$,{capture:!0}),document.removeEventListener("pointermove",$,{capture:!0})}},[]),o.createElement(He,u,o.createElement(ft,{scope:t,open:n,onOpenChange:s,content:p,onContentChange:v},o.createElement(Yn,{scope:t,onClose:o.useCallback(()=>s(!1),[s]),isUsingKeyboardRef:d,dir:f,modal:l},r)))},dt=o.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,c=fe(n);return o.createElement(Mt,M({},c,r,{ref:t}))}),vt="MenuPortal",[Xn,mt]=U(vt,{forceMount:void 0}),jn=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:c}=e,a=N(vt,t);return o.createElement(Xn,{scope:t,forceMount:n},o.createElement(xe,{present:n||a.open},o.createElement(yt,{asChild:!0,container:c},r)))},T="MenuContent",[Hn,Ie]=U(T),zn=o.forwardRef((e,t)=>{const n=mt(T,e.__scopeMenu),{forceMount:r=n.forceMount,...c}=e,a=N(T,e.__scopeMenu),l=ee(T,e.__scopeMenu);return o.createElement(q.Provider,{scope:e.__scopeMenu},o.createElement(xe,{present:r||a.open},o.createElement(q.Slot,{scope:e.__scopeMenu},l.modal?o.createElement(Zn,M({},c,{ref:t})):o.createElement(qn,M({},c,{ref:t})))))}),Zn=o.forwardRef((e,t)=>{const n=N(T,e.__scopeMenu),r=o.useRef(null),c=G(t,r);return o.useEffect(()=>{const a=r.current;if(a)return Gt(a)},[]),o.createElement(Pe,M({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:S(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),qn=o.forwardRef((e,t)=>{const n=N(T,e.__scopeMenu);return o.createElement(Pe,M({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),Pe=o.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:c,onOpenAutoFocus:a,onCloseAutoFocus:l,disableOutsidePointerEvents:u,onEntryFocus:p,onEscapeKeyDown:v,onPointerDownOutside:d,onFocusOutside:s,onInteractOutside:f,onDismiss:m,disableOutsideScroll:$,...i}=e,b=N(T,n),h=ee(T,n),E=fe(n),C=lt(n),y=Bn(n),[R,F]=o.useState(null),w=o.useRef(null),k=G(t,w,b.onContentChange),I=o.useRef(0),D=o.useRef(""),de=o.useRef(0),X=o.useRef(null),ve=o.useRef("right"),j=o.useRef(0),O=$?Cn:o.Fragment,gt=$?{as:wt,allowPinchZoom:!0}:void 0,Et=g=>{var _,x;const K=D.current+g,H=y().filter(A=>!A.disabled),me=document.activeElement,Fe=(_=H.find(A=>A.ref.current===me))===null||_===void 0?void 0:_.textValue,te=H.map(A=>A.textValue),z=ir(te,K,Fe),Oe=(x=H.find(A=>A.textValue===z))===null||x===void 0?void 0:x.ref.current;(function A(Ae){D.current=Ae,window.clearTimeout(I.current),Ae!==""&&(I.current=window.setTimeout(()=>A(""),1e3))})(K),Oe&&setTimeout(()=>Oe.focus())};o.useEffect(()=>()=>window.clearTimeout(I.current),[]),Tt();const B=o.useCallback(g=>{var _,x;return ve.current===((_=X.current)===null||_===void 0?void 0:_.side)&&fr(g,(x=X.current)===null||x===void 0?void 0:x.area)},[]);return o.createElement(Hn,{scope:n,searchRef:D,onItemEnter:o.useCallback(g=>{B(g)&&g.preventDefault()},[B]),onItemLeave:o.useCallback(g=>{var _;B(g)||((_=w.current)===null||_===void 0||_.focus(),F(null))},[B]),onTriggerLeave:o.useCallback(g=>{B(g)&&g.preventDefault()},[B]),pointerGraceTimerRef:de,onPointerGraceIntentChange:o.useCallback(g=>{X.current=g},[])},o.createElement(O,gt,o.createElement(It,{asChild:!0,trapped:c,onMountAutoFocus:S(a,g=>{var _;g.preventDefault(),(_=w.current)===null||_===void 0||_.focus()}),onUnmountAutoFocus:l},o.createElement(St,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:v,onPointerDownOutside:d,onFocusOutside:s,onInteractOutside:f,onDismiss:m},o.createElement(Dn,M({asChild:!0},C,{dir:h.dir,orientation:"vertical",loop:r,currentTabStopId:R,onCurrentTabStopIdChange:F,onEntryFocus:S(p,g=>{h.isUsingKeyboardRef.current||g.preventDefault()})}),o.createElement(xt,M({role:"menu","aria-orientation":"vertical","data-state":ht(b.open),"data-radix-menu-content":"",dir:h.dir},E,i,{ref:k,style:{outline:"none",...i.style},onKeyDown:S(i.onKeyDown,g=>{const x=g.target.closest("[data-radix-menu-content]")===g.currentTarget,K=g.ctrlKey||g.altKey||g.metaKey,H=g.key.length===1;x&&(g.key==="Tab"&&g.preventDefault(),!K&&H&&Et(g.key));const me=w.current;if(g.target!==me||!Kn.includes(g.key))return;g.preventDefault();const te=y().filter(z=>!z.disabled).map(z=>z.ref.current);it.includes(g.key)&&te.reverse(),ur(te)}),onBlur:S(e.onBlur,g=>{g.currentTarget.contains(g.target)||(window.clearTimeout(I.current),D.current="")}),onPointerMove:S(e.onPointerMove,Q(g=>{const _=g.target,x=j.current!==g.clientX;if(g.currentTarget.contains(_)&&x){const K=g.clientX>j.current?"right":"left";ve.current=K,j.current=g.clientX}}))})))))))}),Me="MenuItem",Ye="menu.itemSelect",Qn=o.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...c}=e,a=o.useRef(null),l=ee(Me,e.__scopeMenu),u=Ie(Me,e.__scopeMenu),p=G(t,a),v=o.useRef(!1),d=()=>{const s=a.current;if(!n&&s){const f=new CustomEvent(Ye,{bubbles:!0,cancelable:!0});s.addEventListener(Ye,m=>r==null?void 0:r(m),{once:!0}),_t(s,f),f.defaultPrevented?v.current=!1:l.onClose()}};return o.createElement($t,M({},c,{ref:p,disabled:n,onClick:S(e.onClick,d),onPointerDown:s=>{var f;(f=e.onPointerDown)===null||f===void 0||f.call(e,s),v.current=!0},onPointerUp:S(e.onPointerUp,s=>{var f;v.current||(f=s.currentTarget)===null||f===void 0||f.click()}),onKeyDown:S(e.onKeyDown,s=>{const f=u.searchRef.current!=="";n||f&&s.key===" "||_e.includes(s.key)&&(s.currentTarget.click(),s.preventDefault())})}))}),$t=o.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:c,...a}=e,l=Ie(Me,n),u=lt(n),p=o.useRef(null),v=G(t,p),[d,s]=o.useState(!1),[f,m]=o.useState("");return o.useEffect(()=>{const $=p.current;if($){var i;m(((i=$.textContent)!==null&&i!==void 0?i:"").trim())}},[a.children]),o.createElement(q.ItemSlot,{scope:n,disabled:r,textValue:c??f},o.createElement(Ln,M({asChild:!0},u,{focusable:!r}),o.createElement(J.div,M({role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:v,onPointerMove:S(e.onPointerMove,Q($=>{r?l.onItemLeave($):(l.onItemEnter($),$.defaultPrevented||$.currentTarget.focus())})),onPointerLeave:S(e.onPointerLeave,Q($=>l.onItemLeave($))),onFocus:S(e.onFocus,()=>s(!0)),onBlur:S(e.onBlur,()=>s(!1))}))))}),Jn="MenuRadioGroup";U(Jn,{value:void 0,onValueChange:()=>{}});const er="MenuItemIndicator";U(er,{checked:!1});const tr=o.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return o.createElement(J.div,M({role:"separator","aria-orientation":"horizontal"},r,{ref:t}))}),pt="MenuSub",[nr,bt]=U(pt),rr=e=>{const{__scopeMenu:t,children:n,open:r=!1,onOpenChange:c}=e,a=N(pt,t),l=fe(t),[u,p]=o.useState(null),[v,d]=o.useState(null),s=Z(c);return o.useEffect(()=>(a.open===!1&&s(!1),()=>s(!1)),[a.open,s]),o.createElement(He,l,o.createElement(ft,{scope:t,open:r,onOpenChange:s,content:v,onContentChange:d},o.createElement(nr,{scope:t,contentId:Se(),triggerId:Se(),trigger:u,onTriggerChange:p},n)))},ae="MenuSubTrigger",or=o.forwardRef((e,t)=>{const n=N(ae,e.__scopeMenu),r=ee(ae,e.__scopeMenu),c=bt(ae,e.__scopeMenu),a=Ie(ae,e.__scopeMenu),l=o.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:p}=a,v={__scopeMenu:e.__scopeMenu},d=o.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return o.useEffect(()=>d,[d]),o.useEffect(()=>{const s=u.current;return()=>{window.clearTimeout(s),p(null)}},[u,p]),o.createElement(dt,M({asChild:!0},v),o.createElement($t,M({id:c.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":c.contentId,"data-state":ht(n.open)},e,{ref:Rt(t,c.onTriggerChange),onClick:s=>{var f;(f=e.onClick)===null||f===void 0||f.call(e,s),!(e.disabled||s.defaultPrevented)&&(s.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:S(e.onPointerMove,Q(s=>{a.onItemEnter(s),!s.defaultPrevented&&!e.disabled&&!n.open&&!l.current&&(a.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:S(e.onPointerLeave,Q(s=>{var f;d();const m=(f=n.content)===null||f===void 0?void 0:f.getBoundingClientRect();if(m){var $;const i=($=n.content)===null||$===void 0?void 0:$.dataset.side,b=i==="right",h=b?-5:5,E=m[b?"left":"right"],C=m[b?"right":"left"];a.onPointerGraceIntentChange({area:[{x:s.clientX+h,y:s.clientY},{x:E,y:m.top},{x:C,y:m.top},{x:C,y:m.bottom},{x:E,y:m.bottom}],side:i}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(s),s.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:S(e.onKeyDown,s=>{const f=a.searchRef.current!=="";if(!(e.disabled||f&&s.key===" ")&&Gn[r.dir].includes(s.key)){var m;n.onOpenChange(!0),(m=n.content)===null||m===void 0||m.focus(),s.preventDefault()}})})))}),cr="MenuSubContent",ar=o.forwardRef((e,t)=>{const n=mt(T,e.__scopeMenu),{forceMount:r=n.forceMount,...c}=e,a=N(T,e.__scopeMenu),l=ee(T,e.__scopeMenu),u=bt(cr,e.__scopeMenu),p=o.useRef(null),v=G(t,p);return o.createElement(q.Provider,{scope:e.__scopeMenu},o.createElement(xe,{present:r||a.open},o.createElement(q.Slot,{scope:e.__scopeMenu},o.createElement(Pe,M({id:u.contentId,"aria-labelledby":u.triggerId},c,{ref:v,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{var s;l.isUsingKeyboardRef.current&&((s=p.current)===null||s===void 0||s.focus()),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:S(e.onFocusOutside,d=>{d.target!==u.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:S(e.onEscapeKeyDown,d=>{l.onClose(),d.preventDefault()}),onKeyDown:S(e.onKeyDown,d=>{const s=d.currentTarget.contains(d.target),f=Un[l.dir].includes(d.key);if(s&&f){var m;a.onOpenChange(!1),(m=u.trigger)===null||m===void 0||m.focus(),d.preventDefault()}})})))))});function ht(e){return e?"open":"closed"}function ur(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function sr(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function ir(e,t,n){const c=t.length>1&&Array.from(t).every(v=>v===t[0])?t[0]:t,a=n?e.indexOf(n):-1;let l=sr(e,Math.max(a,0));c.length===1&&(l=l.filter(v=>v!==n));const p=l.find(v=>v.toLowerCase().startsWith(c.toLowerCase()));return p!==n?p:void 0}function lr(e,t){const{x:n,y:r}=e;let c=!1;for(let a=0,l=t.length-1;ar!=d>r&&n<(v-u)*(r-p)/(d-p)+u&&(c=!c)}return c}function fr(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return lr(n,t)}function Q(e){return t=>t.pointerType==="mouse"?e(t):void 0}const hr=Vn,gr=dt,Er=jn,Cr=zn,yr=Qn,Sr=tr,wr=rr,Rr=or,_r=ar;export{br as $,hr as a,gr as b,Cr as c,yr as d,Er as e,Sr as f,Cn as g,Gt as h,Tt as i,It as j,ut as k,Ln as l,ct as m,Dn as n,wr as o,Rr as p,_r as q}; diff --git a/assets/index-a-IPPCxZ.js b/assets/index-a-IPPCxZ.js new file mode 100644 index 0000000..8d5111e --- /dev/null +++ b/assets/index-a-IPPCxZ.js @@ -0,0 +1 @@ +import{j as T}from"./jsx-runtime-DvLKfCe6.js";import{_ as y}from"./extends-dGVwEr9R.js";import{r as o}from"./index-aXz8NaAs.js";import{$ as F,d as B,a as H,c as K,f as g,h as N,k as U,n as V,o as Y}from"./index-M7H33-mE.js";import{a as j,$ as X,b as W,c as z,d as J,e as Q}from"./index-sSXR_LKw.js";import{a as Z}from"./index-K1fIJHIl.js";const[P,Ie]=F("Tooltip",[j]),R=j(),ee="TooltipProvider",te=700,D="tooltip.open",[oe,k]=P(ee),Me=e=>{const{__scopeTooltip:n,delayDuration:t=te,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:s}=e,[i,u]=o.useState(!0),c=o.useRef(!1),d=o.useRef(0);return o.useEffect(()=>{const l=d.current;return()=>window.clearTimeout(l)},[]),o.createElement(oe,{scope:n,isOpenDelayed:i,delayDuration:t,onOpen:o.useCallback(()=>{window.clearTimeout(d.current),u(!1)},[]),onClose:o.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>u(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:o.useCallback(l=>{c.current=l},[]),disableHoverableContent:a},s)},L="Tooltip",[ne,O]=P(L),re=e=>{const{__scopeTooltip:n,children:t,open:r,defaultOpen:a=!1,onOpenChange:s,disableHoverableContent:i,delayDuration:u}=e,c=k(L,e.__scopeTooltip),d=R(n),[l,f]=o.useState(null),b=X(),p=o.useRef(0),$=i??c.disableHoverableContent,m=u??c.delayDuration,v=o.useRef(!1),[h=!1,x]=B({prop:r,defaultProp:a,onChange:M=>{M?(c.onOpen(),document.dispatchEvent(new CustomEvent(D))):c.onClose(),s==null||s(M)}}),C=o.useMemo(()=>h?v.current?"delayed-open":"instant-open":"closed",[h]),E=o.useCallback(()=>{window.clearTimeout(p.current),v.current=!1,x(!0)},[x]),w=o.useCallback(()=>{window.clearTimeout(p.current),x(!1)},[x]),I=o.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{v.current=!0,x(!0)},m)},[m,x]);return o.useEffect(()=>()=>window.clearTimeout(p.current),[]),o.createElement(W,d,o.createElement(ne,{scope:n,contentId:b,open:h,stateAttribute:C,trigger:l,onTriggerChange:f,onTriggerEnter:o.useCallback(()=>{c.isOpenDelayed?I():E()},[c.isOpenDelayed,I,E]),onTriggerLeave:o.useCallback(()=>{$?w():window.clearTimeout(p.current)},[w,$]),onOpen:E,onClose:w,disableHoverableContent:$},t))},A="TooltipTrigger",ae=o.forwardRef((e,n)=>{const{__scopeTooltip:t,...r}=e,a=O(A,t),s=k(A,t),i=R(t),u=o.useRef(null),c=H(n,u,a.onTriggerChange),d=o.useRef(!1),l=o.useRef(!1),f=o.useCallback(()=>d.current=!1,[]);return o.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),o.createElement(z,y({asChild:!0},i),o.createElement(K.button,y({"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute},r,{ref:c,onPointerMove:g(e.onPointerMove,b=>{b.pointerType!=="touch"&&!l.current&&!s.isPointerInTransitRef.current&&(a.onTriggerEnter(),l.current=!0)}),onPointerLeave:g(e.onPointerLeave,()=>{a.onTriggerLeave(),l.current=!1}),onPointerDown:g(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:g(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:g(e.onBlur,a.onClose),onClick:g(e.onClick,a.onClose)})))}),q="TooltipPortal",[ce,se]=P(q,{forceMount:void 0}),ie=e=>{const{__scopeTooltip:n,forceMount:t,children:r,container:a}=e,s=O(q,n);return o.createElement(ce,{scope:n,forceMount:t},o.createElement(N,{present:t||s.open},o.createElement(U,{asChild:!0,container:a},r)))},_="TooltipContent",le=o.forwardRef((e,n)=>{const t=se(_,e.__scopeTooltip),{forceMount:r=t.forceMount,side:a="top",...s}=e,i=O(_,e.__scopeTooltip);return o.createElement(N,{present:r||i.open},i.disableHoverableContent?o.createElement(S,y({side:a},s,{ref:n})):o.createElement(ue,y({side:a},s,{ref:n})))}),ue=o.forwardRef((e,n)=>{const t=O(_,e.__scopeTooltip),r=k(_,e.__scopeTooltip),a=o.useRef(null),s=H(n,a),[i,u]=o.useState(null),{trigger:c,onClose:d}=t,l=a.current,{onPointerInTransitChange:f}=r,b=o.useCallback(()=>{u(null),f(!1)},[f]),p=o.useCallback(($,m)=>{const v=$.currentTarget,h={x:$.clientX,y:$.clientY},x=be(h,v.getBoundingClientRect()),C=ve(h,x),E=me(m.getBoundingClientRect()),w=he([...C,...E]);u(w),f(!0)},[f]);return o.useEffect(()=>()=>b(),[b]),o.useEffect(()=>{if(c&&l){const $=v=>p(v,l),m=v=>p(v,c);return c.addEventListener("pointerleave",$),l.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",$),l.removeEventListener("pointerleave",m)}}},[c,l,p,b]),o.useEffect(()=>{if(i){const $=m=>{const v=m.target,h={x:m.clientX,y:m.clientY},x=(c==null?void 0:c.contains(v))||(l==null?void 0:l.contains(v)),C=!xe(h,i);x?b():C&&(b(),d())};return document.addEventListener("pointermove",$),()=>document.removeEventListener("pointermove",$)}},[c,l,i,d,b]),o.createElement(S,y({},e,{ref:s}))}),[de,fe]=P(L,{isInside:!1}),S=o.forwardRef((e,n)=>{const{__scopeTooltip:t,children:r,"aria-label":a,onEscapeKeyDown:s,onPointerDownOutside:i,...u}=e,c=O(_,t),d=R(t),{onClose:l}=c;return o.useEffect(()=>(document.addEventListener(D,l),()=>document.removeEventListener(D,l)),[l]),o.useEffect(()=>{if(c.trigger){const f=b=>{const p=b.target;p!=null&&p.contains(c.trigger)&&l()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,l]),o.createElement(V,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:l},o.createElement(J,y({"data-state":c.stateAttribute},d,u,{ref:n,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),o.createElement(Y,null,r),o.createElement(de,{scope:t,isInside:!0},o.createElement(Z,{id:c.contentId,role:"tooltip"},a||r))))}),pe="TooltipArrow",$e=o.forwardRef((e,n)=>{const{__scopeTooltip:t,...r}=e,a=R(t);return fe(pe,t).isInside?null:o.createElement(Q,y({},a,r,{ref:n}))});function be(e,n){const t=Math.abs(n.top-e.y),r=Math.abs(n.bottom-e.y),a=Math.abs(n.right-e.x),s=Math.abs(n.left-e.x);switch(Math.min(t,r,a,s)){case s:return"left";case a:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ve(e,n,t=5){const r=[];switch(n){case"top":r.push({x:e.x-t,y:e.y+t},{x:e.x+t,y:e.y+t});break;case"bottom":r.push({x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t});break;case"left":r.push({x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t});break;case"right":r.push({x:e.x-t,y:e.y-t},{x:e.x-t,y:e.y+t});break}return r}function me(e){const{top:n,right:t,bottom:r,left:a}=e;return[{x:a,y:n},{x:t,y:n},{x:t,y:r},{x:a,y:r}]}function xe(e,n){const{x:t,y:r}=e;let a=!1;for(let s=0,i=n.length-1;sr!=l>r&&t<(d-u)*(r-c)/(l-c)+u&&(a=!a)}return a}function he(e){const n=e.slice();return n.sort((t,r)=>t.xr.x?1:t.yr.y?1:0),Te(n)}function Te(e){if(e.length<=1)return e.slice();const n=[];for(let r=0;r=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(a.y-i.y)>=(s.y-i.y)*(a.x-i.x))n.pop();else break}n.push(a)}n.pop();const t=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(a.y-i.y)>=(s.y-i.y)*(a.x-i.x))t.pop();else break}t.push(a)}return t.pop(),n.length===1&&t.length===1&&n[0].x===t[0].x&&n[0].y===t[0].y?n:n.concat(t)}const ye=re,ge=ae,Ce=ie,Ee=le,we=$e,_e=e=>T.jsxs(ye,{delayDuration:500,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,open:e.open,children:[T.jsx(ge,{asChild:!0,children:e.children}),T.jsx(Ce,{container:e.container,children:T.jsx(Ee,{side:e.side,asChild:!0,sideOffset:e.sideOffset,alignOffset:e.alignOffset,avoidCollisions:e.avoidCollisions,children:T.jsxs(G,{children:[e.content,T.jsx(we,{className:"cmpui_tooltip__arrow"})]})})})]}),G=o.forwardRef((e,n)=>T.jsx("div",{ref:n,className:"cmpui_tooltip__root",children:e.children}));_e.__docgenInfo={description:"",methods:[],displayName:"Tooltip",props:{alignOffset:{required:!1,tsType:{name:"number"},description:""},avoidCollisions:{required:!1,tsType:{name:"boolean"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},container:{required:!1,tsType:{name:"HTMLElement"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},defaultOpen:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(open: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"open"}],return:{name:"void"}}},description:""},open:{required:!1,tsType:{name:"boolean"},description:""},side:{required:!1,tsType:{name:"union",raw:'"top" | "bottom" | "left" | "right"',elements:[{name:"literal",value:'"top"'},{name:"literal",value:'"bottom"'},{name:"literal",value:'"left"'},{name:"literal",value:'"right"'}]},description:""},sideOffset:{required:!1,tsType:{name:"number"},description:""}}};G.__docgenInfo={description:"",methods:[],displayName:"TooltipPresenter"};export{Me as $,_e as T,G as a}; diff --git a/assets/index-OjgoNOWw.js b/assets/index-aXz8NaAs.js similarity index 88% rename from assets/index-OjgoNOWw.js rename to assets/index-aXz8NaAs.js index 09fbc48..3f7bb5f 100644 --- a/assets/index-OjgoNOWw.js +++ b/assets/index-aXz8NaAs.js @@ -1,4 +1,4 @@ -function A(e,t){for(var r=0;rn[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var X=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function D(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Z(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,u.get?u:{enumerable:!0,get:function(){return e[n]}})}),r}var R={exports:{}},o={};/** +function I(e,t){for(var r=0;rn[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var X=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function T(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Z(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,u.get?u:{enumerable:!0,get:function(){return e[n]}})}),r}var O={exports:{}},o={};/** * @license React * react.production.min.js * @@ -6,4 +6,4 @@ function A(e,t){for(var r=0;rn+t||i>n?e:r}const A={r:255,g:255,b:255},O={r:0,g:0,b:0},ne={r:255,g:255,b:255};function B(a,e=0){return P(a,A,O,e)}function C(a){let e=0,r=0,t=0;const i=a.h,n=a.s,o=a.v,u=Math.floor(i/60),s=i/60-u,m=o*(1-n),l=o*(1-n*s),f=o*(1-n*(1-s));switch(u%6){case 0:e=o,r=f,t=m;break;case 1:e=l,r=o,t=m;break;case 2:e=m,r=o,t=f;break;case 3:e=m,r=l,t=o;break;case 4:e=f,r=m,t=o;break;case 5:e=o,r=m,t=l;break}return{r:Math.round(e*255),g:Math.round(r*255),b:Math.round(t*255)}}function M({r:a,g:e,b:r}){return`rgb(${a},${e},${r})`}function N(a,e,r=500){const t=d.useRef(),i=d.useRef(!1);return d.useCallback(()=>{clearTimeout(t.current),i.current===!1&&(a==null||a()),i.current=!0,t.current=window.setTimeout(()=>{e==null||e(),i.current=!1,clearTimeout(t.current)},r)},[a,e,r])}function U(a,e=-3){return d.useMemo(()=>M(B(C(a),e)),[a,e])}function W(a,e){const r=a.canvas.width,t=a.canvas.height,i=a.getImageData(0,0,r,t),n=i.data;for(let o=0;o{var n;r.current&&(t.current=(n=r.current)==null?void 0:n.getContext("2d",{willReadFrequently:!0}),t.current&&(t.current.imageSmoothingEnabled=!1,t.current.imageSmoothingQuality="low"))},[r.current]),d.useEffect(()=>{t.current&&W(t.current,e.hue)},[e.hue]);const i=d.useMemo(()=>S({onDown:n=>{var g;(g=e.onStart)==null||g.call(e);const u=n.currentTarget.getBoundingClientRect(),s=n.clientX-u.left,m=n.clientY-u.top,l=s/e.width,f=1-m/e.height;return e.onChange(l,f),e.onDownChange(!0),{startX:n.clientX,startY:n.clientY}},onMove:(n,o)=>{if(!o)return;const u=n.currentTarget;if(!(u instanceof HTMLCanvasElement))return;const s=u.getBoundingClientRect(),m=n.clientX-s.left,l=n.clientY-s.top,f=y(m/e.width,0,1),g=y(1-l/e.height,0,1);e.onChange(f,g)},onUp:()=>{var n;e.onDownChange(!1),(n=e.onEnd)==null||n.call(e)}}),[e.height,e.width,e.onChange,e.onDownChange,e.onStart,e.onEnd]);return v.jsx("canvas",{onPointerDown:i,width:e.width,height:e.height,style:{width:e.width,height:e.height},ref:r})});R.__docgenInfo={description:"",methods:[],displayName:"SVCanvas",props:{nobRadius:{required:!1,tsType:{name:"number"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(saturation: number, value: number) => void",signature:{arguments:[{type:{name:"number"},name:"saturation"},{type:{name:"number"},name:"value"}],return:{name:"void"}}},description:""},hue:{required:!0,tsType:{name:"number"},description:""},saturation:{required:!1,tsType:{name:"number"},description:""},showLoupe:{required:!1,tsType:{name:"boolean"},description:""},value:{required:!1,tsType:{name:"number"},description:""},width:{required:!0,tsType:{name:"number"},description:""},height:{required:!0,tsType:{name:"number"},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onDownChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(isDown: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isDown"}],return:{name:"void"}}},description:""}}};function F({nobRadius:a=8,onChange:e,hue:r,saturation:t=1,showLoupe:i=!0,value:n=1,width:o=192,height:u=192,...s}){const m=t*o,l=(1-n)*u,[f,g]=d.useState(!1),T=N(s.onStart,s.onEnd),V=d.useMemo(()=>c=>{if(c.key==="ArrowLeft"||c.key==="ArrowRight"){T();const w=.01*(c.key==="ArrowLeft"?-1:1),b=y(t+w,0,1);e(b,n),c.preventDefault()}else if(c.key==="ArrowUp"||c.key==="ArrowDown"){T();const w=.01*(c.key==="ArrowUp"?1:-1),b=y(n+w,0,1);e(t,b),c.preventDefault()}},[t,n,e,T]),_=d.useCallback(()=>{g(!0)},[]),x=d.useCallback(()=>{g(!1)},[]),L=d.useMemo(()=>S({onDown:c=>{var h;return g(!0),(h=s.onStart)==null||h.call(s),{startX:c.clientX,startY:c.clientY,s:t,v:n}},onMove:(c,h)=>{if(!h)return;const w=c.clientX-h.startX,b=c.clientY-h.startY,j=y(h.s+w/o,0,1),H=y(h.v-b/u,0,1);e(j,H)},onUp:()=>{var c;g(!1),(c=s.onEnd)==null||c.call(s)}}),[e,t,n,o,u,s.onEnd,s.onStart]),q=d.useMemo(()=>M(C({h:r,s:t,v:n})),[r,t,n]),E=d.useMemo(()=>({h:r,s:t,v:n}),[r,t,n]),I=U(E);return v.jsxs("div",{className:"cmpui_sv-picker__root",tabIndex:0,onKeyDown:V,onFocus:_,onBlur:x,children:[v.jsx(R,{width:o,height:u,hue:r,onChange:e,onDownChange:g}),i&&f&&v.jsx(Y,{nobRadius:a,x:m,y:l,color:q}),v.jsx(X,{className:"cmpui_sv-picker__nob",fill:q,onPointerDown:L,radius:a,strokeColor:I,strokeWidth:2,x:m,y:l})]})}F.__docgenInfo={description:"",methods:[],displayName:"SVPicker",props:{nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"8",computed:!1}},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(saturation: number, value: number) => void",signature:{arguments:[{type:{name:"number"},name:"saturation"},{type:{name:"number"},name:"value"}],return:{name:"void"}}},description:""},hue:{required:!0,tsType:{name:"number"},description:""},saturation:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"1",computed:!1}},showLoupe:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"true",computed:!1}},value:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"1",computed:!1}},width:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"192",computed:!1}},height:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"192",computed:!1}},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};export{F as S,ne as W,U as a,B as g,C as h,M as r,N as u}; +import{j as v}from"./jsx-runtime-DvLKfCe6.js";import{r as d}from"./index-aXz8NaAs.js";import{c as S}from"./createDragHandler-nJMxlNVC.js";import{c as y}from"./clamp-xqaTU5Qn.js";import{C as X}from"./index-0ceNsg1m.js";import{C as Y}from"./index-AYEmu2YI.js";import{u as K}from"./useTouchStartPrevent-kBVXV8Ya.js";function D(a){const e=a/255;return e<=.04045?e/12.92:((e+.055)/1.055)**2.4}function k(a){const e=D(a.r),r=D(a.g),t=D(a.b);return .2126*e+.7152*r+.0722*t}function p(a,e){const r=k(a),t=k(e),i=Math.max(r,t),n=Math.min(r,t);return(i+.05)/(n+.05)}function P(a,e,r,t=0){const i=p(a,e),n=p(a,r);return i>n+t||i>n?e:r}const A={r:255,g:255,b:255},O={r:0,g:0,b:0},ne={r:255,g:255,b:255};function B(a,e=0){return P(a,A,O,e)}function C(a){let e=0,r=0,t=0;const i=a.h,n=a.s,o=a.v,u=Math.floor(i/60),s=i/60-u,m=o*(1-n),l=o*(1-n*s),f=o*(1-n*(1-s));switch(u%6){case 0:e=o,r=f,t=m;break;case 1:e=l,r=o,t=m;break;case 2:e=m,r=o,t=f;break;case 3:e=m,r=l,t=o;break;case 4:e=f,r=m,t=o;break;case 5:e=o,r=m,t=l;break}return{r:Math.round(e*255),g:Math.round(r*255),b:Math.round(t*255)}}function M({r:a,g:e,b:r}){return`rgb(${a},${e},${r})`}function N(a,e,r=500){const t=d.useRef(),i=d.useRef(!1);return d.useCallback(()=>{clearTimeout(t.current),i.current===!1&&(a==null||a()),i.current=!0,t.current=window.setTimeout(()=>{e==null||e(),i.current=!1,clearTimeout(t.current)},r)},[a,e,r])}function U(a,e=-3){return d.useMemo(()=>M(B(C(a),e)),[a,e])}function W(a,e){const r=a.canvas.width,t=a.canvas.height,i=a.getImageData(0,0,r,t),n=i.data;for(let o=0;o{var n;r.current&&(t.current=(n=r.current)==null?void 0:n.getContext("2d",{willReadFrequently:!0}),t.current&&(t.current.imageSmoothingEnabled=!1,t.current.imageSmoothingQuality="low"))},[r.current]),d.useEffect(()=>{t.current&&W(t.current,e.hue)},[e.hue]);const i=d.useMemo(()=>S({onDown:n=>{var g;(g=e.onStart)==null||g.call(e);const u=n.currentTarget.getBoundingClientRect(),s=n.clientX-u.left,m=n.clientY-u.top,l=s/e.width,f=1-m/e.height;return e.onChange(l,f),e.onDownChange(!0),{startX:n.clientX,startY:n.clientY}},onMove:(n,o)=>{if(!o)return;const u=n.currentTarget;if(!(u instanceof HTMLCanvasElement))return;const s=u.getBoundingClientRect(),m=n.clientX-s.left,l=n.clientY-s.top,f=y(m/e.width,0,1),g=y(1-l/e.height,0,1);e.onChange(f,g)},onUp:()=>{var n;e.onDownChange(!1),(n=e.onEnd)==null||n.call(e)}}),[e.height,e.width,e.onChange,e.onDownChange,e.onStart,e.onEnd]);return v.jsx("canvas",{onPointerDown:i,width:e.width,height:e.height,style:{width:e.width,height:e.height},ref:r})});R.__docgenInfo={description:"",methods:[],displayName:"SVCanvas",props:{nobRadius:{required:!1,tsType:{name:"number"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(saturation: number, value: number) => void",signature:{arguments:[{type:{name:"number"},name:"saturation"},{type:{name:"number"},name:"value"}],return:{name:"void"}}},description:""},hue:{required:!0,tsType:{name:"number"},description:""},saturation:{required:!1,tsType:{name:"number"},description:""},showLoupe:{required:!1,tsType:{name:"boolean"},description:""},value:{required:!1,tsType:{name:"number"},description:""},width:{required:!0,tsType:{name:"number"},description:""},height:{required:!0,tsType:{name:"number"},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onDownChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(isDown: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isDown"}],return:{name:"void"}}},description:""}}};function F({nobRadius:a=8,onChange:e,hue:r,saturation:t=1,showLoupe:i=!0,value:n=1,width:o=192,height:u=192,...s}){const m=t*o,l=(1-n)*u,[f,g]=d.useState(!1),T=N(s.onStart,s.onEnd),V=d.useMemo(()=>c=>{if(c.key==="ArrowLeft"||c.key==="ArrowRight"){T();const w=.01*(c.key==="ArrowLeft"?-1:1),b=y(t+w,0,1);e(b,n),c.preventDefault()}else if(c.key==="ArrowUp"||c.key==="ArrowDown"){T();const w=.01*(c.key==="ArrowUp"?1:-1),b=y(n+w,0,1);e(t,b),c.preventDefault()}},[t,n,e,T]),_=d.useCallback(()=>{g(!0)},[]),x=d.useCallback(()=>{g(!1)},[]),L=d.useMemo(()=>S({onDown:c=>{var h;return g(!0),(h=s.onStart)==null||h.call(s),{startX:c.clientX,startY:c.clientY,s:t,v:n}},onMove:(c,h)=>{if(!h)return;const w=c.clientX-h.startX,b=c.clientY-h.startY,j=y(h.s+w/o,0,1),H=y(h.v-b/u,0,1);e(j,H)},onUp:()=>{var c;g(!1),(c=s.onEnd)==null||c.call(s)}}),[e,t,n,o,u,s.onEnd,s.onStart]),q=d.useMemo(()=>M(C({h:r,s:t,v:n})),[r,t,n]),E=d.useMemo(()=>({h:r,s:t,v:n}),[r,t,n]),I=U(E);return v.jsxs("div",{className:"cmpui_sv-picker__root",tabIndex:0,onKeyDown:V,onFocus:_,onBlur:x,children:[v.jsx(R,{width:o,height:u,hue:r,onChange:e,onDownChange:g}),i&&f&&v.jsx(Y,{nobRadius:a,x:m,y:l,color:q}),v.jsx(X,{className:"cmpui_sv-picker__nob",fill:q,onPointerDown:L,radius:a,strokeColor:I,strokeWidth:2,x:m,y:l})]})}F.__docgenInfo={description:"",methods:[],displayName:"SVPicker",props:{nobRadius:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"8",computed:!1}},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(saturation: number, value: number) => void",signature:{arguments:[{type:{name:"number"},name:"saturation"},{type:{name:"number"},name:"value"}],return:{name:"void"}}},description:""},hue:{required:!0,tsType:{name:"number"},description:""},saturation:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"1",computed:!1}},showLoupe:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"true",computed:!1}},value:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"1",computed:!1}},width:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"192",computed:!1}},height:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"192",computed:!1}},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};export{F as S,ne as W,U as a,B as g,C as h,M as r,N as u}; diff --git a/assets/index-dIG9MX77.js b/assets/index-dIG9MX77.js new file mode 100644 index 0000000..31d442d --- /dev/null +++ b/assets/index-dIG9MX77.js @@ -0,0 +1 @@ +import{o as l,X as c,S as T,D as b,m as d,a as S,A as B,Z as L,l as C,u as H,s as u,H as g,b as y,J as I,O as h,w as k,c as P,p as W,d as A,f as F,h as x,e as D,g as R,i as f,j as v,B as E,v as M,k as N,n as q,q as w,r as O,C as U,t as Z,y as j,I as z,x as G,z as J,E as K,F as Q,G as V,K as X,_ as Y,M as _,L as $,N as aa,P as sa,Q as oa,R as ta,T as ea,U as ra,V as pa,W as ia,Y as na,$ as ma,a0 as la,a1 as ca,a2 as Ta,a3 as ba,a4 as da,a5 as Sa,a6 as Ba,a7 as La,a8 as Ca,a9 as Ha,aa as ua,ab as ga,ac as ya,ad as Ia}from"./index-Jk8GCfJX.js";import"./iframe-_XbHwtE8.js";import"../sb-preview/runtime.js";import"./index-aXz8NaAs.js";import"./index-n3prD_Ok.js";import"./index-4FLvW62B.js";import"./extends-dGVwEr9R.js";import"./index-CR2EVKgk.js";import"./index-PPLHz8o0.js";export{l as A,c as ActionBar,T as AddonPanel,b as Badge,d as Bar,S as Blockquote,B as Button,L as ClipboardCode,C as Code,H as DL,u as Div,g as DocumentWrapper,y as EmptyTabContent,I as ErrorFormatter,h as FlexBar,k as Form,P as H1,W as H2,A as H3,F as H4,x as H5,D as H6,R as HR,f as IconButton,v as IconButtonSkeleton,E as Icons,M as Img,N as LI,q as Link,w as ListItem,O as Loader,U as Modal,Z as OL,j as P,z as Placeholder,G as Pre,J as ResetWrapper,K as ScrollArea,Q as Separator,V as Spaced,X as Span,Y as StorybookIcon,_ as StorybookLogo,$ as Symbols,aa as SyntaxHighlighter,sa as TT,oa as TabBar,ta as TabButton,ea as TabWrapper,ra as Table,pa as Tabs,ia as TabsState,na as TooltipLinkList,ma as TooltipMessage,la as TooltipNote,ca as UL,Ta as WithTooltip,ba as WithTooltipPure,da as Zoom,Sa as codeCommon,Ba as components,La as createCopyToClipboardFunction,Ca as getStoryHref,Ha as icons,ua as interleaveSeparators,ga as nameSpaceClassNames,ya as resetComponents,Ia as withReset}; diff --git a/assets/index-8i7E8DJg.js b/assets/index-gJCp1G9s.js similarity index 89% rename from assets/index-8i7E8DJg.js rename to assets/index-gJCp1G9s.js index 80f6669..f66377b 100644 --- a/assets/index-8i7E8DJg.js +++ b/assets/index-gJCp1G9s.js @@ -1 +1 @@ -import{j as a}from"./jsx-runtime-DtaoT6pD.js";import{r as d}from"./index-OjgoNOWw.js";function n(e){const c=d.useCallback(t=>{var i;(i=e.onChange)==null||i.call(e,t.target.checked)},[e.onChange]);return a.jsxs("div",{className:"cmpui_switch__root","aria-disabled":e.disabled,children:[a.jsxs("div",{className:"cmpui_switch__box",children:[a.jsx("input",{className:"cmpui_switch__input",type:"checkbox",id:e.id,disabled:e.disabled,onChange:c,checked:e.checked}),a.jsx("div",{className:"cmpui_switch__nob","data-checked":e.checked})]}),e.label&&a.jsx("label",{className:"cmpui_switch__label",htmlFor:e.id,children:e.label})]})}n.__docgenInfo={description:"",methods:[],displayName:"Switch",props:{checked:{required:!1,tsType:{name:"boolean"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},id:{required:!1,tsType:{name:"string"},description:""},label:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(checked: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"checked"}],return:{name:"void"}}},description:""}}};export{n as S}; +import{j as a}from"./jsx-runtime-DvLKfCe6.js";import{r as d}from"./index-aXz8NaAs.js";function n(e){const c=d.useCallback(t=>{var i;(i=e.onChange)==null||i.call(e,t.target.checked)},[e.onChange]);return a.jsxs("div",{className:"cmpui_switch__root","aria-disabled":e.disabled,children:[a.jsxs("div",{className:"cmpui_switch__box",children:[a.jsx("input",{className:"cmpui_switch__input",type:"checkbox",id:e.id,disabled:e.disabled,onChange:c,checked:e.checked}),a.jsx("div",{className:"cmpui_switch__nob","data-checked":e.checked})]}),e.label&&a.jsx("label",{className:"cmpui_switch__label",htmlFor:e.id,children:e.label})]})}n.__docgenInfo={description:"",methods:[],displayName:"Switch",props:{checked:{required:!1,tsType:{name:"boolean"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},id:{required:!1,tsType:{name:"string"},description:""},label:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(checked: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"checked"}],return:{name:"void"}}},description:""}}};export{n as S}; diff --git a/assets/index-mnqn6aXF.js b/assets/index-mnqn6aXF.js deleted file mode 100644 index dc7c0c5..0000000 --- a/assets/index-mnqn6aXF.js +++ /dev/null @@ -1 +0,0 @@ -import{j as D}from"./jsx-runtime-DtaoT6pD.js";import{$ as ee,_ as C}from"./index-Eok78svH.js";import{r as t}from"./index-OjgoNOWw.js";import{r as ue}from"./index-mQqIOHEI.js";import{$ as pe,d as fe,a as A,b as be,e as me,f as j,c as g,g as $e,h as we,i as Te,j as ve}from"./index-wq2dZbDE.js";import{$ as Ee}from"./index-F4RL_6mv.js";import{$ as te}from"./index-Nn85PjCb.js";import{F as xe}from"./index-hC_OXdTA.js";const oe="ToastProvider",[G,ye,ge]=Ee("Toast"),[ne,at]=pe("Toast",[ge]),[Ce,W]=ne(oe),re=e=>{const{__scopeToast:n,label:r="Notification",duration:o=5e3,swipeDirection:i="right",swipeThreshold:u=50,children:p}=e,[f,b]=t.useState(null),[a,x]=t.useState(0),v=t.useRef(!1),O=t.useRef(!1);return t.createElement(G.Provider,{scope:n},t.createElement(Ce,{scope:n,label:r,duration:o,swipeDirection:i,swipeThreshold:u,toastCount:a,viewport:f,onViewportChange:b,onToastAdd:t.useCallback(()=>x(P=>P+1),[]),onToastRemove:t.useCallback(()=>x(P=>P-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:O},p))};re.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const n=`Invalid prop \`label\` supplied to \`${oe}\`. Expected non-empty \`string\`.`;return new Error(n)}return null}};const he="ToastViewport",Re=["F8"],B="toast.viewportPause",z="toast.viewportResume",Pe=t.forwardRef((e,n)=>{const{__scopeToast:r,hotkey:o=Re,label:i="Notifications ({hotkey})",...u}=e,p=W(he,r),f=ye(r),b=t.useRef(null),a=t.useRef(null),x=t.useRef(null),v=t.useRef(null),O=ee(n,v,p.onViewportChange),P=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=p.toastCount>0;t.useEffect(()=>{const c=E=>{var l;o.every($=>E[$]||E.code===$)&&((l=v.current)===null||l===void 0||l.focus())};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[o]),t.useEffect(()=>{const c=b.current,E=v.current;if(_&&c&&E){const l=()=>{if(!p.isClosePausedRef.current){const T=new CustomEvent(B);E.dispatchEvent(T),p.isClosePausedRef.current=!0}},m=()=>{if(p.isClosePausedRef.current){const T=new CustomEvent(z);E.dispatchEvent(T),p.isClosePausedRef.current=!1}},$=T=>{!c.contains(T.relatedTarget)&&m()},w=()=>{c.contains(document.activeElement)||m()};return c.addEventListener("focusin",l),c.addEventListener("focusout",$),c.addEventListener("pointermove",l),c.addEventListener("pointerleave",w),window.addEventListener("blur",l),window.addEventListener("focus",m),()=>{c.removeEventListener("focusin",l),c.removeEventListener("focusout",$),c.removeEventListener("pointermove",l),c.removeEventListener("pointerleave",w),window.removeEventListener("blur",l),window.removeEventListener("focus",m)}}},[_,p.isClosePausedRef]);const d=t.useCallback(({tabbingDirection:c})=>{const l=f().map(m=>{const $=m.ref.current,w=[$,...He($)];return c==="forwards"?w:w.reverse()});return(c==="forwards"?l.reverse():l).flat()},[f]);return t.useEffect(()=>{const c=v.current;if(c){const E=l=>{const m=l.altKey||l.ctrlKey||l.metaKey;if(l.key==="Tab"&&!m){const N=document.activeElement,F=l.shiftKey;if(l.target===c&&F){var w;(w=a.current)===null||w===void 0||w.focus();return}const S=d({tabbingDirection:F?"backwards":"forwards"}),k=S.findIndex(s=>s===N);if(Y(S.slice(k+1)))l.preventDefault();else{var T,h;F?(T=a.current)===null||T===void 0||T.focus():(h=x.current)===null||h===void 0||h.focus()}}};return c.addEventListener("keydown",E),()=>c.removeEventListener("keydown",E)}},[f,d]),t.createElement(fe,{ref:b,role:"region","aria-label":i.replace("{hotkey}",P),tabIndex:-1,style:{pointerEvents:_?void 0:"none"}},_&&t.createElement(Q,{ref:a,onFocusFromOutsideViewport:()=>{const c=d({tabbingDirection:"forwards"});Y(c)}}),t.createElement(G.Slot,{scope:r},t.createElement(A.ol,C({tabIndex:-1},u,{ref:O}))),_&&t.createElement(Q,{ref:x,onFocusFromOutsideViewport:()=>{const c=d({tabbingDirection:"backwards"});Y(c)}}))}),_e="ToastFocusProxy",Q=t.forwardRef((e,n)=>{const{__scopeToast:r,onFocusFromOutsideViewport:o,...i}=e,u=W(_e,r);return t.createElement(te,C({"aria-hidden":!0,tabIndex:0},i,{ref:n,style:{position:"fixed"},onFocus:p=>{var f;const b=p.relatedTarget;!((f=u.viewport)!==null&&f!==void 0&&f.contains(b))&&o()}}))}),H="Toast",Se="toast.swipeStart",De="toast.swipeMove",Fe="toast.swipeCancel",Ie="toast.swipeEnd",Ae=t.forwardRef((e,n)=>{const{forceMount:r,open:o,defaultOpen:i,onOpenChange:u,...p}=e,[f=!0,b]=be({prop:o,defaultProp:i,onChange:u});return t.createElement(me,{present:r||f},t.createElement(se,C({open:f},p,{ref:n,onClose:()=>b(!1),onPause:j(e.onPause),onResume:j(e.onResume),onSwipeStart:g(e.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:g(e.onSwipeMove,a=>{const{x,y:v}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:g(e.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:g(e.onSwipeEnd,a=>{const{x,y:v}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),b(!1)})})))}),[Oe,Ne]=ne(H,{onClose(){}}),se=t.forwardRef((e,n)=>{const{__scopeToast:r,type:o="foreground",duration:i,open:u,onClose:p,onEscapeKeyDown:f,onPause:b,onResume:a,onSwipeStart:x,onSwipeMove:v,onSwipeCancel:O,onSwipeEnd:P,..._}=e,d=W(H,r),[c,E]=t.useState(null),l=ee(n,s=>E(s)),m=t.useRef(null),$=t.useRef(null),w=i||d.duration,T=t.useRef(0),h=t.useRef(w),N=t.useRef(0),{onToastAdd:F,onToastRemove:U}=d,I=j(()=>{var s;(c==null?void 0:c.contains(document.activeElement))&&((s=d.viewport)===null||s===void 0||s.focus()),p()}),S=t.useCallback(s=>{!s||s===1/0||(window.clearTimeout(N.current),T.current=new Date().getTime(),N.current=window.setTimeout(I,s))},[I]);t.useEffect(()=>{const s=d.viewport;if(s){const y=()=>{S(h.current),a==null||a()},R=()=>{const L=new Date().getTime()-T.current;h.current=h.current-L,window.clearTimeout(N.current),b==null||b()};return s.addEventListener(B,R),s.addEventListener(z,y),()=>{s.removeEventListener(B,R),s.removeEventListener(z,y)}}},[d.viewport,w,b,a,S]),t.useEffect(()=>{u&&!d.isClosePausedRef.current&&S(w)},[u,w,d.isClosePausedRef,S]),t.useEffect(()=>(F(),()=>U()),[F,U]);const k=t.useMemo(()=>c?ie(c):null,[c]);return d.viewport?t.createElement(t.Fragment,null,k&&t.createElement(Le,{__scopeToast:r,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0},k),t.createElement(Oe,{scope:r,onClose:I},ue.createPortal(t.createElement(G.ItemSlot,{scope:r},t.createElement($e,{asChild:!0,onEscapeKeyDown:g(f,()=>{d.isFocusedToastEscapeKeyDownRef.current||I(),d.isFocusedToastEscapeKeyDownRef.current=!1})},t.createElement(A.li,C({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":d.swipeDirection},_,{ref:l,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:g(e.onKeyDown,s=>{s.key==="Escape"&&(f==null||f(s.nativeEvent),s.nativeEvent.defaultPrevented||(d.isFocusedToastEscapeKeyDownRef.current=!0,I()))}),onPointerDown:g(e.onPointerDown,s=>{s.button===0&&(m.current={x:s.clientX,y:s.clientY})}),onPointerMove:g(e.onPointerMove,s=>{if(!m.current)return;const y=s.clientX-m.current.x,R=s.clientY-m.current.y,L=!!$.current,M=["left","right"].includes(d.swipeDirection),K=["left","up"].includes(d.swipeDirection)?Math.min:Math.max,de=M?K(0,y):0,le=M?0:K(0,R),X=s.pointerType==="touch"?10:2,V={x:de,y:le},J={originalEvent:s,delta:V};L?($.current=V,q(De,v,J,{discrete:!1})):Z(V,d.swipeDirection,X)?($.current=V,q(Se,x,J,{discrete:!1}),s.target.setPointerCapture(s.pointerId)):(Math.abs(y)>X||Math.abs(R)>X)&&(m.current=null)}),onPointerUp:g(e.onPointerUp,s=>{const y=$.current,R=s.target;if(R.hasPointerCapture(s.pointerId)&&R.releasePointerCapture(s.pointerId),$.current=null,m.current=null,y){const L=s.currentTarget,M={originalEvent:s,delta:y};Z(y,d.swipeDirection,d.swipeThreshold)?q(Ie,P,M,{discrete:!0}):q(Fe,O,M,{discrete:!0}),L.addEventListener("click",K=>K.preventDefault(),{once:!0})}})})))),d.viewport))):null});se.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const n=`Invalid prop \`type\` supplied to \`${H}\`. Expected \`foreground | background\`.`;return new Error(n)}return null}};const Le=e=>{const{__scopeToast:n,children:r,...o}=e,i=W(H,n),[u,p]=t.useState(!1),[f,b]=t.useState(!1);return je(()=>p(!0)),t.useEffect(()=>{const a=window.setTimeout(()=>b(!0),1e3);return()=>window.clearTimeout(a)},[]),f?null:t.createElement(we,{asChild:!0},t.createElement(te,o,u&&t.createElement(t.Fragment,null,i.label," ",r)))},Me=t.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e;return t.createElement(A.div,C({},o,{ref:n}))}),ke=t.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e;return t.createElement(A.div,C({},o,{ref:n}))}),Ke="ToastAction",Ve=t.forwardRef((e,n)=>{const{altText:r,...o}=e;return r?t.createElement(ce,{altText:r,asChild:!0},t.createElement(ae,C({},o,{ref:n}))):null});Ve.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${Ke}\``)}};const qe="ToastClose",ae=t.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e,i=Ne(qe,r);return t.createElement(ce,{asChild:!0},t.createElement(A.button,C({type:"button"},o,{ref:n,onClick:g(e.onClick,i.onClose)})))}),ce=t.forwardRef((e,n)=>{const{__scopeToast:r,altText:o,...i}=e;return t.createElement(A.div,C({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0},i,{ref:n}))});function ie(e){const n=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&n.push(o.textContent),We(o)){const i=o.ariaHidden||o.hidden||o.style.display==="none",u=o.dataset.radixToastAnnounceExclude==="";if(!i)if(u){const p=o.dataset.radixToastAnnounceAlt;p&&n.push(p)}else n.push(...ie(o))}}),n}function q(e,n,r,{discrete:o}){const i=r.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});n&&i.addEventListener(e,n,{once:!0}),o?Te(i,u):i.dispatchEvent(u)}const Z=(e,n,r=0)=>{const o=Math.abs(e.x),i=Math.abs(e.y),u=o>i;return n==="left"||n==="right"?u&&o>r:!u&&i>r};function je(e=()=>{}){const n=j(e);ve(()=>{let r=0,o=0;return r=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(o)}},[n])}function We(e){return e.nodeType===e.ELEMENT_NODE}function He(e){const n=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)n.push(r.currentNode);return n}function Y(e){const n=document.activeElement;return e.some(r=>r===n?!0:(r.focus(),document.activeElement!==n))}const Ue=re,Xe=Pe,Ye=Ae,Be=Me,ze=ke,Ge=ae;function Je(e){return D.jsxs(Ue,{swipeDirection:"down",children:[D.jsx(Ye,{duration:3e3,open:e.open,onOpenChange:e.onOpenChange,asChild:!0,children:D.jsxs(xe,{className:"cmpui_toast__root",children:[D.jsx(Be,{}),D.jsx(ze,{children:e.children}),e.close&&D.jsx(Ge,{children:e.close})]})}),D.jsx(Xe,{className:"cmpui_toast__viewport"})]})}Je.__docgenInfo={description:"",methods:[],displayName:"Toast",props:{open:{required:!1,tsType:{name:"boolean"},description:""},defaultOpen:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(open: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"open"}],return:{name:"void"}}},description:""},side:{required:!1,tsType:{name:"union",raw:'"top" | "bottom" | "left" | "right"',elements:[{name:"literal",value:'"top"'},{name:"literal",value:'"bottom"'},{name:"literal",value:'"left"'},{name:"literal",value:'"right"'}]},description:""},avoidCollisions:{required:!1,tsType:{name:"boolean"},description:""},onDismiss:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},sideOffset:{required:!1,tsType:{name:"number"},description:""},alignOffset:{required:!1,tsType:{name:"number"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},close:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};export{Je as T}; diff --git a/assets/index-mQqIOHEI.js b/assets/index-n3prD_Ok.js similarity index 94% rename from assets/index-mQqIOHEI.js rename to assets/index-n3prD_Ok.js index 81534a7..b7f955a 100644 --- a/assets/index-mQqIOHEI.js +++ b/assets/index-n3prD_Ok.js @@ -1,4 +1,4 @@ -import{r as za,g as Pa}from"./index-OjgoNOWw.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/** +import{r as za,g as Pa}from"./index-aXz8NaAs.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/** * @license React * scheduler.production.min.js * @@ -6,7 +6,7 @@ import{r as za,g as Pa}from"./index-OjgoNOWw.js";var Co={exports:{}},ve={},xo={e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function n(C,z){var P=C.length;C.push(z);e:for(;0>>1,Y=C[H];if(0>>1;Hl(sl,P))mnl(Xt,sl)?(C[H]=Xt,C[mn]=P,H=mn):(C[H]=sl,C[pn]=P,H=pn);else if(mnl(Xt,P))C[H]=Xt,C[mn]=P,H=mn;else break e}}return z}function l(C,z){var P=C.sortIndex-z.sortIndex;return P!==0?P:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var s=[],d=[],v=1,m=null,p=3,g=!1,w=!1,k=!1,F=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(C){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=C)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function h(C){if(k=!1,f(C),!w)if(t(s)!==null)w=!0,ul(E);else{var z=t(d);z!==null&&ol(h,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,c(N),N=-1),g=!0;var P=p;try{for(f(z),m=t(s);m!==null&&(!(m.expirationTime>z)||C&&!Ce());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var Y=H(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),f(z)}else r(s);m=t(s)}if(m!==null)var Yt=!0;else{var pn=t(d);pn!==null&&ol(h,pn.startTime-z),Yt=!1}return Yt}finally{m=null,p=P,g=!1}}var x=!1,_=null,N=-1,B=5,T=-1;function Ce(){return!(e.unstable_now()-TC||125H?(C.sortIndex=P,n(d,C),t(s)===null&&C===t(d)&&(k?(c(N),N=-1):k=!0,ol(h,P-H))):(C.sortIndex=Y,n(s,C),w||g||(w=!0,ul(E))),C},e.unstable_shouldYield=Ce,e.unstable_wrapCallback=function(C){var z=p;return function(){var P=p;p=z;try{return C.apply(this,arguments)}finally{p=P}}}})(_o);xo.exports=_o;var Ta=xo.exports;/** + */(function(e){function n(C,z){var P=C.length;C.push(z);e:for(;0>>1,Y=C[H];if(0>>1;Hl(sl,P))mnl(Xt,sl)?(C[H]=Xt,C[mn]=P,H=mn):(C[H]=sl,C[pn]=P,H=pn);else if(mnl(Xt,P))C[H]=Xt,C[mn]=P,H=mn;else break e}}return z}function l(C,z){var P=C.sortIndex-z.sortIndex;return P!==0?P:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var s=[],d=[],v=1,m=null,p=3,g=!1,w=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(C){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=C)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function h(C){if(k=!1,f(C),!w)if(t(s)!==null)w=!0,ul(E);else{var z=t(d);z!==null&&ol(h,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,c(N),N=-1),g=!0;var P=p;try{for(f(z),m=t(s);m!==null&&(!(m.expirationTime>z)||C&&!Ce());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var Y=H(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),f(z)}else r(s);m=t(s)}if(m!==null)var Yt=!0;else{var pn=t(d);pn!==null&&ol(h,pn.startTime-z),Yt=!1}return Yt}finally{m=null,p=P,g=!1}}var x=!1,_=null,N=-1,B=5,T=-1;function Ce(){return!(e.unstable_now()-TC||125H?(C.sortIndex=P,n(d,C),t(s)===null&&C===t(d)&&(k?(c(N),N=-1):k=!0,ol(h,P-H))):(C.sortIndex=Y,n(s,C),w||g||(w=!0,ul(E))),C},e.unstable_shouldYield=Ce,e.unstable_wrapCallback=function(C){var z=p;return function(){var P=p;p=z;try{return C.apply(this,arguments)}finally{p=P}}}})(_o);xo.exports=_o;var Ta=xo.exports;/** * @license React * react-dom.production.min.js * @@ -14,11 +14,11 @@ import{r as za,g as Pa}from"./index-OjgoNOWw.js";var Co={exports:{}},ve={},xo={e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var No=za,me=Ta;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ol=Object.prototype.hasOwnProperty,La=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yu={},gu={};function Ma(e){return Ol.call(gu,e)?!0:Ol.call(yu,e)?!1:La.test(e)?gu[e]=!0:(yu[e]=!0,!1)}function Da(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ra(e,n,t,r){if(n===null||typeof n>"u"||Da(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];q[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ni=/[\-:]([a-z])/g;function zi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pi(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=Object.prototype.hasOwnProperty,La=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yu={},gu={};function Ma(e){return Fl.call(gu,e)?!0:Fl.call(yu,e)?!1:La.test(e)?gu[e]=!0:(yu[e]=!0,!1)}function Da(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ra(e,n,t,r){if(n===null||typeof n>"u"||Da(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];q[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ni=/[\-:]([a-z])/g;function zi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pi(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2o||l[u]!==i[o]){var s=` -`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?pt(e):""}function Oa(e){switch(e.tag){case 5:return pt(e.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return e=fl(e.type,!1),e;case 11:return e=fl(e.type.render,!1),e;case 1:return e=fl(e.type,!0),e;default:return""}}function Ul(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Ln:return"Portal";case Fl:return"Profiler";case Ti:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case To:return(e.displayName||"Context")+".Consumer";case Po:return(e._context.displayName||"Context")+".Provider";case Li:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi:return n=e.displayName||null,n!==null?n:Ul(e.type)||"Memo";case Ye:n=e._payload,e=e._init;try{return Ul(e(n))}catch{}}return null}function Fa(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ul(n);case 8:return n===Ti?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Mo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ia(e){var n=Mo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Zt(e){e._valueTracker||(e._valueTracker=Ia(e))}function Do(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Mo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function ku(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=sn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Ro(e,n){n=n.checked,n!=null&&Pi(e,"checked",n,!1)}function Al(e,n){Ro(e,n);var t=sn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,sn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Su(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Sr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var mt=Array.isArray;function Hn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=Jt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function zt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ja=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){ja.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function jo(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||yt.hasOwnProperty(e)&&yt[e]?(""+n).trim():n+"px"}function Uo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=jo(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Ua=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,n){if(n){if(Ua[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function $l(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function Di(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Qn=null,Wn=null;function xu(e){if(e=$t(e)){if(typeof Yl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Gr(n),Yl(e.stateNode,e.type,n))}}function Vo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Ao(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xu(e),n)for(e=0;e>>=0,e===0?32:31-(Ga(e)/Za|0)|0}var qt=64,bt=4194304;function vt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=vt(o):(i&=u,i!==0&&(r=vt(i)))}else u=t&~l,u!==0?r=vt(u):i!==0&&(r=vt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function ec(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wt),Ru=" ",Ou=!1;function us(e,n){switch(e){case"keyup":return Pc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function os(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Lc(e,n){switch(e){case"compositionend":return os(n);case"keypress":return n.which!==32?null:(Ou=!0,Ru);case"textInput":return e=n.data,e===Ru&&Ou?null:e;default:return null}}function Mc(e,n){if(Dn)return e==="compositionend"||!Ai&&us(e,n)?(e=ls(),dr=ji=Je=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Uu(t)}}function fs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?fs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function ds(){for(var e=window,n=Sr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Sr(e.document)}return n}function Bi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Ac(e){var n=ds(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&fs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Vu(t,i);var u=Vu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Rn=null,bl=null,St=null,ei=!1;function Au(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ei||Rn==null||Rn!==Sr(r)||(r=Rn,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),St&&Rt(St,r)||(St=r,r=Pr(bl,"onSelect"),0In||(e.current=ui[In],ui[In]=null,In--)}function D(e,n){In++,ui[In]=e.current,e.current=n}var an={},te=fn(an),se=fn(!1),En=an;function Gn(e,n){var t=e.type.contextTypes;if(!t)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Lr(){O(se),O(te)}function Yu(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function Ss(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Fa(e)||"Unknown",l));return V({},t,r)}function Mr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=te.current,D(te,e),D(se,se.current),!0}function Xu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=Ss(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,O(se),O(te),D(te,e)):O(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Es(e){je===null?je=[e]:je.push(e)}function qc(e){Zr=!0,Es(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=u,l-=u,Ue=1<<32-Pe(n)+l|t<N?(B=_,_=null):B=_.sibling;var T=p(c,_,f[N],h);if(T===null){_===null&&(_=B);break}e&&_&&T.alternate===null&&n(c,_),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T,_=B}if(N===f.length)return t(c,_),I&&vn(c,N),E;if(_===null){for(;NN?(B=_,_=null):B=_.sibling;var Ce=p(c,_,T.value,h);if(Ce===null){_===null&&(_=B);break}e&&_&&Ce.alternate===null&&n(c,_),a=i(Ce,a,N),x===null?E=Ce:x.sibling=Ce,x=Ce,_=B}if(T.done)return t(c,_),I&&vn(c,N),E;if(_===null){for(;!T.done;N++,T=f.next())T=m(c,T.value,h),T!==null&&(a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return I&&vn(c,N),E}for(_=r(c,_);!T.done;N++,T=f.next())T=g(_,c,N,T.value,h),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return e&&_.forEach(function(rt){return n(c,rt)}),I&&vn(c,N),E}function F(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Mn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Gt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Mn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&no(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ct(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Mn?(a=Sn(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=kr(f.type,f.key,f.props,null,c.mode,h),h.ref=ct(c,a,f),h.return=c,c=h)}return u(c);case Ln:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Rl(f,c.mode,h),a.return=c,c=a}return u(c);case Ye:return x=f._init,F(c,a,x(f._payload),h)}if(mt(f))return w(c,a,f,h);if(it(f))return k(c,a,f,h);ur(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Dl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return F}var Jn=Ls(!0),Ms=Ls(!1),Kt={},Fe=fn(Kt),jt=fn(Kt),Ut=fn(Kt);function wn(e){if(e===Kt)throw Error(y(174));return e}function Zi(e,n){switch(D(Ut,n),D(jt,e),D(Fe,Kt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ql(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ql(n,e)}O(Fe),D(Fe,n)}function qn(){O(Fe),O(jt),O(Ut)}function Ds(e){wn(Ut.current);var n=wn(Fe.current),t=Ql(n,e.type);n!==t&&(D(jt,e),D(Fe,t))}function Ji(e){jt.current===e&&(O(Fe),O(jt))}var j=fn(0);function jr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Nl=[];function qi(){for(var e=0;et?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function Xs(){return Ee().memoizedState}function tf(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Gs(e))Zs(n,t);else if(t=Ns(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),Js(t,n,r)}}function rf(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Gs(e))Zs(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,u)){var s=n.interleaved;s===null?(l.next=l,Xi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=Ns(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),Js(t,n,r))}}function Gs(e){var n=e.alternate;return e===U||n!==null&&n===U}function Zs(e,n){Et=Ur=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Js(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Oi(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},lf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:ro,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,Qs.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hr(4194308,4,e,n)},useInsertionEffect:function(e,n){return hr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=tf.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:to,useDebugValue:ru,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=to(!1),n=e[0];return e=nf.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));xn&30||Fs(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,ro(js.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Is.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=De(),n=G.identifierPrefix;if(I){var t=Ve,r=Ue;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?pt(e):""}function Fa(e){switch(e.tag){case 5:return pt(e.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return e=fl(e.type,!1),e;case 11:return e=fl(e.type.render,!1),e;case 1:return e=fl(e.type,!0),e;default:return""}}function Ul(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Ln:return"Portal";case Ol:return"Profiler";case Ti:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case To:return(e.displayName||"Context")+".Consumer";case Po:return(e._context.displayName||"Context")+".Provider";case Li:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi:return n=e.displayName||null,n!==null?n:Ul(e.type)||"Memo";case Ye:n=e._payload,e=e._init;try{return Ul(e(n))}catch{}}return null}function Oa(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ul(n);case 8:return n===Ti?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Mo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ia(e){var n=Mo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Zt(e){e._valueTracker||(e._valueTracker=Ia(e))}function Do(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Mo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function ku(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=sn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Ro(e,n){n=n.checked,n!=null&&Pi(e,"checked",n,!1)}function Al(e,n){Ro(e,n);var t=sn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,sn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Su(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Sr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var mt=Array.isArray;function Hn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=Jt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function zt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ja=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){ja.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function jo(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||yt.hasOwnProperty(e)&&yt[e]?(""+n).trim():n+"px"}function Uo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=jo(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Ua=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,n){if(n){if(Ua[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function $l(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function Di(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Qn=null,Wn=null;function xu(e){if(e=$t(e)){if(typeof Yl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Gr(n),Yl(e.stateNode,e.type,n))}}function Vo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Ao(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xu(e),n)for(e=0;e>>=0,e===0?32:31-(Ga(e)/Za|0)|0}var qt=64,bt=4194304;function vt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=vt(o):(i&=u,i!==0&&(r=vt(i)))}else u=t&~l,u!==0?r=vt(u):i!==0&&(r=vt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function ec(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wt),Ru=" ",Fu=!1;function us(e,n){switch(e){case"keyup":return Pc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function os(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Lc(e,n){switch(e){case"compositionend":return os(n);case"keypress":return n.which!==32?null:(Fu=!0,Ru);case"textInput":return e=n.data,e===Ru&&Fu?null:e;default:return null}}function Mc(e,n){if(Dn)return e==="compositionend"||!Ai&&us(e,n)?(e=ls(),dr=ji=Je=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Uu(t)}}function fs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?fs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function ds(){for(var e=window,n=Sr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Sr(e.document)}return n}function Bi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Ac(e){var n=ds(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&fs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Vu(t,i);var u=Vu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Rn=null,bl=null,St=null,ei=!1;function Au(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ei||Rn==null||Rn!==Sr(r)||(r=Rn,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),St&&Rt(St,r)||(St=r,r=Pr(bl,"onSelect"),0In||(e.current=ui[In],ui[In]=null,In--)}function D(e,n){In++,ui[In]=e.current,e.current=n}var an={},te=fn(an),se=fn(!1),En=an;function Gn(e,n){var t=e.type.contextTypes;if(!t)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Lr(){F(se),F(te)}function Yu(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function Ss(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Oa(e)||"Unknown",l));return V({},t,r)}function Mr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=te.current,D(te,e),D(se,se.current),!0}function Xu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=Ss(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,F(se),F(te),D(te,e)):F(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Es(e){je===null?je=[e]:je.push(e)}function qc(e){Zr=!0,Es(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=u,l-=u,Ue=1<<32-Pe(n)+l|t<N?(B=_,_=null):B=_.sibling;var T=p(c,_,f[N],h);if(T===null){_===null&&(_=B);break}e&&_&&T.alternate===null&&n(c,_),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T,_=B}if(N===f.length)return t(c,_),I&&vn(c,N),E;if(_===null){for(;NN?(B=_,_=null):B=_.sibling;var Ce=p(c,_,T.value,h);if(Ce===null){_===null&&(_=B);break}e&&_&&Ce.alternate===null&&n(c,_),a=i(Ce,a,N),x===null?E=Ce:x.sibling=Ce,x=Ce,_=B}if(T.done)return t(c,_),I&&vn(c,N),E;if(_===null){for(;!T.done;N++,T=f.next())T=m(c,T.value,h),T!==null&&(a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return I&&vn(c,N),E}for(_=r(c,_);!T.done;N++,T=f.next())T=g(_,c,N,T.value,h),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return e&&_.forEach(function(rt){return n(c,rt)}),I&&vn(c,N),E}function O(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Mn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Gt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Mn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&no(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ct(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Mn?(a=Sn(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=kr(f.type,f.key,f.props,null,c.mode,h),h.ref=ct(c,a,f),h.return=c,c=h)}return u(c);case Ln:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Rl(f,c.mode,h),a.return=c,c=a}return u(c);case Ye:return x=f._init,O(c,a,x(f._payload),h)}if(mt(f))return w(c,a,f,h);if(it(f))return k(c,a,f,h);ur(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Dl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return O}var Jn=Ls(!0),Ms=Ls(!1),Kt={},Oe=fn(Kt),jt=fn(Kt),Ut=fn(Kt);function wn(e){if(e===Kt)throw Error(y(174));return e}function Zi(e,n){switch(D(Ut,n),D(jt,e),D(Oe,Kt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ql(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ql(n,e)}F(Oe),D(Oe,n)}function qn(){F(Oe),F(jt),F(Ut)}function Ds(e){wn(Ut.current);var n=wn(Oe.current),t=Ql(n,e.type);n!==t&&(D(jt,e),D(Oe,t))}function Ji(e){jt.current===e&&(F(Oe),F(jt))}var j=fn(0);function jr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Nl=[];function qi(){for(var e=0;et?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function Xs(){return Ee().memoizedState}function tf(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Gs(e))Zs(n,t);else if(t=Ns(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),Js(t,n,r)}}function rf(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Gs(e))Zs(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,u)){var s=n.interleaved;s===null?(l.next=l,Xi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=Ns(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),Js(t,n,r))}}function Gs(e){var n=e.alternate;return e===U||n!==null&&n===U}function Zs(e,n){Et=Ur=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Js(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},lf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:ro,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,Qs.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hr(4194308,4,e,n)},useInsertionEffect:function(e,n){return hr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=tf.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:to,useDebugValue:ru,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=to(!1),n=e[0];return e=nf.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));xn&30||Os(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,ro(js.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Is.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=De(),n=G.identifierPrefix;if(I){var t=Ve,r=Ue;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,ua(e,n,!1,!1),n.stateNode=e;e:{switch(u=$l(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;let&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Q(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function pf(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Lr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qn(),O(se),O(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(O(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return O(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,mf=typeof WeakSet=="function"?WeakSet:Set,S=null;function An(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function vf(e,n){if(ni=Nr,e=ds(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ti={focusedElem:e,selectionRange:t},Nr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,F=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),F);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){A(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=po,po=!1,w}function Ct(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}l=l.next}while(l!==r)}}function br(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function wi(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function aa(e){var n=e.alternate;n!==null&&(e.alternate=null,aa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Zc],delete n[Jc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ca(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ca(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ki(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Tr));else if(r!==4&&(e=e.child,e!==null))for(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)fa(e,n,t),t=t.sibling}function fa(e,n,t){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(An(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){A(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function vo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new mf),n.forEach(function(r){var l=xf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yf(r/1960))-r,10e?16:e,qe===null)var r=!1;else{if(e=qe,qe=null,Hr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sQ()-ou?kn(e,0):uu|=t),ce(e,n)}function wa(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Cf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),wa(e,t)}function xf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),wa(e,t)}var ka;ka=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,ff(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Cs(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=eu(null,n,r,e,l,t);var i=nu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=Jr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(yr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Nf(r),e=_e(r,e),l){case 0:n=pi(null,n,r,e,t);break e;case 1:n=ao(null,n,r,e,t);break e;case 11:n=oo(null,n,r,e,t);break e;case 14:n=so(null,n,r,_e(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),pi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),ao(e,n,r,l,t);case 3:e:{if(ra(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,zs(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ms(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ds(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ta(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return la(e,n,t);case 4:return Zi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Jn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),oo(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,D(Or,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Kn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=_e(r,n.pendingProps),l=_e(r.type,l),so(e,n,r,l,t);case 15:return ea(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Ts(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ia(e,n,t);case 22:return na(e,n,t)}throw Error(y(156,n.tag))};function Sa(e,n){return Yo(e,n)}function _f(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new _f(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nf(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Mi)return 14}return 2}function on(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function kr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Ti:u=8,l|=8;break;case Fl:return e=we(12,t,n,l|2),e.elementType=Fl,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case Lo:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Po:u=10;break e;case To:u=9;break e;case Li:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Sn(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function nl(e,n,t,r){return e=we(22,e,r,n),e.elementType=Lo,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function zf(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function du(e,n,t,r,l,i,u,o,s){return e=new zf(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function Pf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_a)}catch(e){console.error(e)}}_a(),Co.exports=ve;var Rf=Co.exports;const Ff=Pa(Rf);export{Ff as R,Rf as r}; +`+i.stack}return{value:e,source:n,stack:l,digest:null}}function Ll(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function di(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var sf=typeof WeakMap=="function"?WeakMap:Map;function qs(e,n,t){t=Ae(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Br||(Br=!0,Ei=r),di(e,n)},t}function bs(e,n,t){t=Ae(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){di(e,n)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){di(e,n),typeof r!="function"&&(ln===null?ln=new Set([this]):ln.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function lo(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new sf;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Ef.bind(null,e,n,t),n.then(e,e))}function io(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function uo(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=Ae(-1,1),n.tag=2,rn(t,n,1))),t.lanes|=1),e)}var af=$e.ReactCurrentOwner,oe=!1;function re(e,n,t,r){n.child=e===null?Ms(n,null,t,r):Jn(n,e.child,t,r)}function oo(e,n,t,r,l){t=t.render;var i=n.ref;return Kn(n,l),r=eu(e,n,t,r,i,l),t=nu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,We(e,n,l)):(I&&t&&Hi(n),n.flags|=1,re(e,n,r,l),n.child)}function so(e,n,t,r,l){if(e===null){var i=t.type;return typeof i=="function"&&!fu(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,ea(e,n,i,r,l)):(e=kr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&l)){var u=i.memoizedProps;if(t=t.compare,t=t!==null?t:Rt,t(u,r)&&e.ref===n.ref)return We(e,n,l)}return n.flags|=1,e=on(i,r),e.ref=n.ref,e.return=n,n.child=e}function ea(e,n,t,r,l){if(e!==null){var i=e.memoizedProps;if(Rt(i,r)&&e.ref===n.ref)if(oe=!1,n.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(oe=!0);else return n.lanes=e.lanes,We(e,n,l)}return pi(e,n,t,r,l)}function na(e,n,t){var r=n.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Bn,fe),fe|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Bn,fe),fe|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,D(Bn,fe),fe|=r}else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,D(Bn,fe),fe|=r;return re(e,n,l,t),n.child}function ta(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function pi(e,n,t,r,l){var i=ae(t)?En:te.current;return i=Gn(n,i),Kn(n,l),t=eu(e,n,t,r,i,l),r=nu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,We(e,n,l)):(I&&r&&Hi(n),n.flags|=1,re(e,n,t,l),n.child)}function ao(e,n,t,r,l){if(ae(t)){var i=!0;Mr(n)}else i=!1;if(Kn(n,l),n.stateNode===null)yr(e,n),Ts(n,t,r),fi(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,o=n.memoizedProps;u.props=o;var s=u.context,d=t.contextType;typeof d=="object"&&d!==null?d=Se(d):(d=ae(t)?En:te.current,d=Gn(n,d));var v=t.getDerivedStateFromProps,m=typeof v=="function"||typeof u.getSnapshotBeforeUpdate=="function";m||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==r||s!==d)&&eo(n,u,r,d),Xe=!1;var p=n.memoizedState;u.state=p,Ir(n,r,u,l),s=n.memoizedState,o!==r||p!==s||se.current||Xe?(typeof v=="function"&&(ci(n,t,v,r),s=n.memoizedState),(o=Xe||bu(n,t,o,r,p,s,d))?(m||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),u.props=r,u.state=s,u.context=d,r=o):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,zs(e,n),o=n.memoizedProps,d=n.type===n.elementType?o:_e(n.type,o),u.props=d,m=n.pendingProps,p=u.context,s=t.contextType,typeof s=="object"&&s!==null?s=Se(s):(s=ae(t)?En:te.current,s=Gn(n,s));var g=t.getDerivedStateFromProps;(v=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==m||p!==s)&&eo(n,u,r,s),Xe=!1,p=n.memoizedState,u.state=p,Ir(n,r,u,l);var w=n.memoizedState;o!==m||p!==w||se.current||Xe?(typeof g=="function"&&(ci(n,t,g,r),w=n.memoizedState),(d=Xe||bu(n,t,d,r,p,w,s)||!1)?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,w,s),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,w,s)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=w),u.props=r,u.state=w,u.context=s,r=d):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return mi(e,n,t,r,i,l)}function mi(e,n,t,r,l,i){ta(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&Xu(n,t,!1),We(e,n,i);r=n.stateNode,af.current=n;var o=u&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&u?(n.child=Jn(n,e.child,null,i),n.child=Jn(n,null,o,i)):re(e,n,o,i),n.memoizedState=r.state,l&&Xu(n,t,!0),n.child}function ra(e){var n=e.stateNode;n.pendingContext?Yu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Yu(e,n.context,!1),Zi(e,n.containerInfo)}function co(e,n,t,r,l){return Zn(),Wi(l),n.flags|=256,re(e,n,t,r),n.child}var vi={dehydrated:null,treeContext:null,retryLane:0};function hi(e){return{baseLanes:e,cachePool:null,transitions:null}}function la(e,n,t){var r=n.pendingProps,l=j.current,i=!1,u=(n.flags&128)!==0,o;if((o=u)||(o=e!==null&&e.memoizedState===null?!1:(l&2)!==0),o?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D(j,l&1),e===null)return si(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=r.children,e=r.fallback,i?(r=n.mode,i=n.child,u={mode:"hidden",children:u},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=u):i=nl(u,r,0,null),e=Sn(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=hi(t),n.memoizedState=vi,e):lu(n,u));if(l=e.memoizedState,l!==null&&(o=l.dehydrated,o!==null))return cf(e,n,u,r,o,l,t);if(i){i=r.fallback,u=n.mode,l=e.child,o=l.sibling;var s={mode:"hidden",children:r.children};return!(u&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=on(l,s),r.subtreeFlags=l.subtreeFlags&14680064),o!==null?i=on(o,i):(i=Sn(i,u,t,null),i.flags|=2),i.return=n,r.return=n,r.sibling=i,n.child=r,r=i,i=n.child,u=e.child.memoizedState,u=u===null?hi(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~t,n.memoizedState=vi,r}return i=e.child,e=i.sibling,r=on(i,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function lu(e,n){return n=nl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function or(e,n,t,r){return r!==null&&Wi(r),Jn(n,e.child,null,t),e=lu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function cf(e,n,t,r,l,i,u){if(t)return n.flags&256?(n.flags&=-257,r=Ll(Error(y(422))),or(e,n,u,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,l=n.mode,r=nl({mode:"visible",children:r.children},l,0,null),i=Sn(i,l,u,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&Jn(n,e.child,null,u),n.child.memoizedState=hi(u),n.memoizedState=vi,i);if(!(n.mode&1))return or(e,n,u,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var o=r.dgst;return r=o,i=Error(y(419)),r=Ll(i,r,void 0),or(e,n,u,r)}if(o=(u&e.childLanes)!==0,oe||o){if(r=G,r!==null){switch(u&-u){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|u)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Qe(e,l),Te(r,e,l,-1))}return cu(),r=Ll(Error(y(421))),or(e,n,u,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Cf.bind(null,e),l._reactRetry=n,null):(e=i.treeContext,de=tn(l.nextSibling),pe=n,I=!0,ze=null,e!==null&&(ye[ge++]=Ue,ye[ge++]=Ve,ye[ge++]=Cn,Ue=e.id,Ve=e.overflow,Cn=n),n=lu(n,r.children),n.flags|=4096,n)}function fo(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),ai(e.return,n,t)}function Ml(e,n,t,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=l)}function ia(e,n,t){var r=n.pendingProps,l=r.revealOrder,i=r.tail;if(re(e,n,r.children,t),r=j.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fo(e,t,n);else if(e.tag===19)fo(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(j,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&jr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Ml(n,!1,l,t,i);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&jr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Ml(n,!0,t,null,i);break;case"together":Ml(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function yr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function We(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),_n|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=on(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=on(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function ff(e,n,t){switch(n.tag){case 3:ra(n),Zn();break;case 5:Ds(n);break;case 1:ae(n.type)&&Mr(n);break;case 4:Zi(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;D(Fr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(D(j,j.current&1),n.flags|=128,null):t&n.child.childLanes?la(e,n,t):(D(j,j.current&1),e=We(e,n,t),e!==null?e.sibling:null);D(j,j.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return ia(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D(j,j.current),r)break;return null;case 22:case 23:return n.lanes=0,na(e,n,t)}return We(e,n,t)}var ua,yi,oa,sa;ua=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};yi=function(){};oa=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,wn(Oe.current);var i=null;switch(t){case"input":l=Vl(e,l),r=Vl(e,r),i=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),i=[];break;case"textarea":l=Hl(e,l),r=Hl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Tr)}Wl(t,r);var u;t=null;for(d in l)if(!r.hasOwnProperty(d)&&l.hasOwnProperty(d)&&l[d]!=null)if(d==="style"){var o=l[d];for(u in o)o.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Nt.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var s=r[d];if(o=l!=null?l[d]:void 0,r.hasOwnProperty(d)&&s!==o&&(s!=null||o!=null))if(d==="style")if(o){for(u in o)!o.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in s)s.hasOwnProperty(u)&&o[u]!==s[u]&&(t||(t={}),t[u]=s[u])}else t||(i||(i=[]),i.push(d,t)),t=s;else d==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,o=o?o.__html:void 0,s!=null&&o!==s&&(i=i||[]).push(d,s)):d==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(d,""+s):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Nt.hasOwnProperty(d)?(s!=null&&d==="onScroll"&&R("scroll",e),i||o===s||(i=[])):(i=i||[]).push(d,s))}t&&(i=i||[]).push("style",t);var d=i;(n.updateQueue=d)&&(n.flags|=4)}};sa=function(e,n,t,r){t!==r&&(n.flags|=4)};function ft(e,n){if(!I)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ee(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function df(e,n,t){var r=n.pendingProps;switch(Qi(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ee(n),null;case 1:return ae(n.type)&&Lr(),ee(n),null;case 3:return r=n.stateNode,qn(),F(se),F(te),qi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ir(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,ze!==null&&(_i(ze),ze=null))),yi(e,n),ee(n),null;case 5:Ji(n);var l=wn(Ut.current);if(t=n.type,e!==null&&n.stateNode!=null)oa(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return ee(n),null}if(e=wn(Oe.current),ir(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[Re]=n,r[It]=i,e=(n.mode&1)!==0,t){case"dialog":R("cancel",r),R("close",r);break;case"iframe":case"object":case"embed":R("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,ua(e,n,!1,!1),n.stateNode=e;e:{switch(u=$l(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;let&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Q(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function pf(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Lr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qn(),F(se),F(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(F(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,mf=typeof WeakSet=="function"?WeakSet:Set,S=null;function An(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function vf(e,n){if(ni=Nr,e=ds(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ti={focusedElem:e,selectionRange:t},Nr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,O=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),O);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){A(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=po,po=!1,w}function Ct(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}l=l.next}while(l!==r)}}function br(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function wi(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function aa(e){var n=e.alternate;n!==null&&(e.alternate=null,aa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Zc],delete n[Jc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ca(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ca(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ki(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Tr));else if(r!==4&&(e=e.child,e!==null))for(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)fa(e,n,t),t=t.sibling}function fa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(An(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){A(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function vo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new mf),n.forEach(function(r){var l=xf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yf(r/1960))-r,10e?16:e,qe===null)var r=!1;else{if(e=qe,qe=null,Hr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sQ()-ou?kn(e,0):uu|=t),ce(e,n)}function wa(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Cf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),wa(e,t)}function xf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),wa(e,t)}var ka;ka=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,ff(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Cs(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=eu(null,n,r,e,l,t);var i=nu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=Jr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(yr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Nf(r),e=_e(r,e),l){case 0:n=pi(null,n,r,e,t);break e;case 1:n=ao(null,n,r,e,t);break e;case 11:n=oo(null,n,r,e,t);break e;case 14:n=so(null,n,r,_e(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),pi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),ao(e,n,r,l,t);case 3:e:{if(ra(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,zs(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ms(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ds(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ta(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return la(e,n,t);case 4:return Zi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Jn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),oo(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,D(Fr,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Kn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=_e(r,n.pendingProps),l=_e(r.type,l),so(e,n,r,l,t);case 15:return ea(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Ts(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ia(e,n,t);case 22:return na(e,n,t)}throw Error(y(156,n.tag))};function Sa(e,n){return Yo(e,n)}function _f(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new _f(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nf(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Mi)return 14}return 2}function on(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function kr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Ti:u=8,l|=8;break;case Ol:return e=we(12,t,n,l|2),e.elementType=Ol,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case Lo:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Po:u=10;break e;case To:u=9;break e;case Li:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Sn(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function nl(e,n,t,r){return e=we(22,e,r,n),e.elementType=Lo,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function zf(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function du(e,n,t,r,l,i,u,o,s){return e=new zf(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function Pf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_a)}catch(e){console.error(e)}}_a(),Co.exports=ve;var Rf=Co.exports;const Of=Pa(Rf);export{Rf as r,Of as w}; diff --git a/assets/index-nFE2FeW6.js b/assets/index-nFE2FeW6.js deleted file mode 100644 index 941dab8..0000000 --- a/assets/index-nFE2FeW6.js +++ /dev/null @@ -1 +0,0 @@ -import{r as b,a as pe}from"./index-OjgoNOWw.js";import{j as lt,a as yt,$ as me,f as he}from"./index-wq2dZbDE.js";import{_ as mt,$ as Nt}from"./index-Eok78svH.js";import{r as ge}from"./index-mQqIOHEI.js";const we=pe.useId||(()=>{});let xe=0;function $n(t){const[e,n]=b.useState(we());return lt(()=>{t||n(o=>o??String(xe++))},[t]),t||(e?`radix-${e}`:"")}const ye=["top","right","bottom","left"],Y=Math.min,L=Math.max,ft=Math.round,ct=Math.floor,X=t=>({x:t,y:t}),ve={left:"right",right:"left",bottom:"top",top:"bottom"},be={start:"end",end:"start"};function wt(t,e,n){return L(t,Y(e,n))}function B(t,e){return typeof t=="function"?t(e):t}function z(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function vt(t){return t==="x"?"y":"x"}function bt(t){return t==="y"?"height":"width"}function J(t){return["top","bottom"].includes(z(t))?"y":"x"}function $t(t){return vt(J(t))}function $e(t,e,n){n===void 0&&(n=!1);const o=G(t),i=$t(t),r=bt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=dt(s)),[s,dt(s)]}function Ae(t){const e=dt(t);return[xt(t),e,xt(e)]}function xt(t){return t.replace(/start|end/g,e=>be[e])}function Re(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Pe(t,e,n,o){const i=G(t);let r=Re(z(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(xt)))),r}function dt(t){return t.replace(/left|right|bottom|top/g,e=>ve[e])}function Oe(t){return{top:0,right:0,bottom:0,left:0,...t}}function Bt(t){return typeof t!="number"?Oe(t):{top:t,right:t,bottom:t,left:t}}function ut(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Dt(t,e,n){let{reference:o,floating:i}=t;const r=J(e),s=$t(e),a=bt(s),c=z(e),l=r==="y",p=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,m=o[a]/2-i[a]/2;let f;switch(c){case"top":f={x:p,y:o.y-i.height};break;case"bottom":f={x:p,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-i.width,y:d};break;default:f={x:o.x,y:o.y}}switch(G(e)){case"start":f[s]-=m*(n&&l?-1:1);break;case"end":f[s]+=m*(n&&l?-1:1);break}return f}const Ce=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,a=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let l=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:d}=Dt(l,o,c),m=o,f={},u=0;for(let g=0;g({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:a,middlewareData:c}=e,{element:l,padding:p=0}=B(t,e)||{};if(l==null)return{};const d=Bt(p),m={x:n,y:o},f=$t(i),u=bt(f),g=await s.getDimensions(l),w=f==="y",h=w?"top":"left",v=w?"bottom":"right",x=w?"clientHeight":"clientWidth",y=r.reference[u]+r.reference[f]-m[f]-r.floating[u],$=m[f]-r.reference[f],A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let O=A?A[x]:0;(!O||!await(s.isElement==null?void 0:s.isElement(A)))&&(O=a.floating[x]||r.floating[u]);const S=y/2-$/2,E=O/2-g[u]/2-1,H=Y(d[h],E),T=Y(d[v],E),C=H,W=O-g[u]-T,P=O/2-g[u]/2+S,_=wt(C,P,W),R=!c.arrow&&G(i)!=null&&P!=_&&r.reference[u]/2-(PC<=0)){var E,H;const C=(((E=r.flip)==null?void 0:E.index)||0)+1,W=$[C];if(W)return{data:{index:C,overflows:S},reset:{placement:W}};let P=(H=S.filter(_=>_.overflows[0]<=0).sort((_,R)=>_.overflows[1]-R.overflows[1])[0])==null?void 0:H.placement;if(!P)switch(f){case"bestFit":{var T;const _=(T=S.map(R=>[R.placement,R.overflows.filter(D=>D>0).reduce((D,F)=>D+F,0)]).sort((R,D)=>R[1]-D[1])[0])==null?void 0:T[0];_&&(P=_);break}case"initialPlacement":P=a;break}if(i!==P)return{reset:{placement:P}}}return{}}}};function Tt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Lt(t){return ye.some(e=>t[e]>=0)}const Ee=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=B(t,e);switch(o){case"referenceHidden":{const r=await tt(e,{...i,elementContext:"reference"}),s=Tt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Lt(s)}}}case"escaped":{const r=await tt(e,{...i,altBoundary:!0}),s=Tt(r,n.floating);return{data:{escapedOffsets:s,escaped:Lt(s)}}}default:return{}}}}};async function De(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=z(n),a=G(n),c=J(n)==="y",l=["left","top"].includes(s)?-1:1,p=r&&c?-1:1,d=B(e,t);let{mainAxis:m,crossAxis:f,alignmentAxis:u}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&typeof u=="number"&&(f=a==="end"?u*-1:u),c?{x:f*p,y:m*l}:{x:m*l,y:f*p}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:a}=e,c=await De(e,t);return s===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Te=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:h,y:v}=w;return{x:h,y:v}}},...c}=B(t,e),l={x:n,y:o},p=await tt(e,c),d=J(z(i)),m=vt(d);let f=l[m],u=l[d];if(r){const w=m==="y"?"top":"left",h=m==="y"?"bottom":"right",v=f+p[w],x=f-p[h];f=wt(v,f,x)}if(s){const w=d==="y"?"top":"left",h=d==="y"?"bottom":"right",v=u+p[w],x=u-p[h];u=wt(v,u,x)}const g=a.fn({...e,[m]:f,[d]:u});return{...g,data:{x:g.x-n,y:g.y-o}}}}},Le=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=B(t,e),p={x:n,y:o},d=J(i),m=vt(d);let f=p[m],u=p[d];const g=B(a,e),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const x=m==="y"?"height":"width",y=r.reference[m]-r.floating[x]+w.mainAxis,$=r.reference[m]+r.reference[x]-w.mainAxis;f$&&(f=$)}if(l){var h,v;const x=m==="y"?"width":"height",y=["top","left"].includes(z(i)),$=r.reference[d]-r.floating[x]+(y&&((h=s.offset)==null?void 0:h[d])||0)+(y?0:w.crossAxis),A=r.reference[d]+r.reference[x]+(y?0:((v=s.offset)==null?void 0:v[d])||0)-(y?w.crossAxis:0);u<$?u=$:u>A&&(u=A)}return{[m]:f,[d]:u}}}},Me=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:s=()=>{},...a}=B(t,e),c=await tt(e,a),l=z(n),p=G(n),d=J(n)==="y",{width:m,height:f}=o.floating;let u,g;l==="top"||l==="bottom"?(u=l,g=p===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(g=l,u=p==="end"?"top":"bottom");const w=f-c[u],h=m-c[g],v=!e.middlewareData.shift;let x=w,y=h;if(d){const A=m-c.left-c.right;y=p||v?Y(h,A):A}else{const A=f-c.top-c.bottom;x=p||v?Y(w,A):A}if(v&&!p){const A=L(c.left,0),O=L(c.right,0),S=L(c.top,0),E=L(c.bottom,0);d?y=m-2*(A!==0||O!==0?A+O:L(c.left,c.right)):x=f-2*(S!==0||E!==0?S+E:L(c.top,c.bottom))}await s({...e,availableWidth:y,availableHeight:x});const $=await i.getDimensions(r.floating);return m!==$.width||f!==$.height?{reset:{rects:!0}}:{}}}};function j(t){return zt(t)?(t.nodeName||"").toLowerCase():"#document"}function M(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function I(t){var e;return(e=(zt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zt(t){return t instanceof Node||t instanceof M(t).Node}function V(t){return t instanceof Element||t instanceof M(t).Element}function N(t){return t instanceof HTMLElement||t instanceof M(t).HTMLElement}function Mt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof M(t).ShadowRoot}function nt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=k(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function ke(t){return["table","td","th"].includes(j(t))}function At(t){const e=Rt(),n=k(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function He(t){let e=K(t);for(;N(e)&&!ht(e);){if(At(e))return e;e=K(e)}return null}function Rt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ht(t){return["html","body","#document"].includes(j(t))}function k(t){return M(t).getComputedStyle(t)}function gt(t){return V(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(t){if(j(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Mt(t)&&t.host||I(t);return Mt(e)?e.host:e}function Vt(t){const e=K(t);return ht(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&nt(e)?e:Vt(e)}function et(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Vt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=M(i);return r?e.concat(s,s.visualViewport||[],nt(i)?i:[],s.frameElement&&n?et(s.frameElement):[]):e.concat(i,et(i,[],n))}function It(t){const e=k(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=N(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,a=ft(n)!==r||ft(o)!==s;return a&&(n=r,o=s),{width:n,height:o,$:a}}function Pt(t){return V(t)?t:t.contextElement}function Z(t){const e=Pt(t);if(!N(e))return X(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=It(e);let s=(r?ft(n.width):n.width)/o,a=(r?ft(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const We=X(0);function Yt(t){const e=M(t);return!Rt()||!e.visualViewport?We:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Fe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==M(t)?!1:e}function q(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Pt(t);let s=X(1);e&&(o?V(o)&&(s=Z(o)):s=Z(t));const a=Fe(r,n,o)?Yt(r):X(0);let c=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,p=i.width/s.x,d=i.height/s.y;if(r){const m=M(r),f=o&&V(o)?M(o):o;let u=m.frameElement;for(;u&&o&&f!==m;){const g=Z(u),w=u.getBoundingClientRect(),h=k(u),v=w.left+(u.clientLeft+parseFloat(h.paddingLeft))*g.x,x=w.top+(u.clientTop+parseFloat(h.paddingTop))*g.y;c*=g.x,l*=g.y,p*=g.x,d*=g.y,c+=v,l+=x,u=M(u).frameElement}}return ut({width:p,height:d,x:c,y:l})}function Ne(t){let{rect:e,offsetParent:n,strategy:o}=t;const i=N(n),r=I(n);if(n===r)return e;let s={scrollLeft:0,scrollTop:0},a=X(1);const c=X(0);if((i||!i&&o!=="fixed")&&((j(n)!=="body"||nt(r))&&(s=gt(n)),N(n))){const l=q(n);a=Z(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+c.x,y:e.y*a.y-s.scrollTop*a.y+c.y}}function Be(t){return Array.from(t.getClientRects())}function Xt(t){return q(I(t)).left+gt(t).scrollLeft}function ze(t){const e=I(t),n=gt(t),o=t.ownerDocument.body,i=L(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=L(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Xt(t);const a=-n.scrollTop;return k(o).direction==="rtl"&&(s+=L(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:a}}function Ve(t,e){const n=M(t),o=I(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,a=0,c=0;if(i){r=i.width,s=i.height;const l=Rt();(!l||l&&e==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}return{width:r,height:s,x:a,y:c}}function Ie(t,e){const n=q(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=N(t)?Z(t):X(1),s=t.clientWidth*r.x,a=t.clientHeight*r.y,c=i*r.x,l=o*r.y;return{width:s,height:a,x:c,y:l}}function kt(t,e,n){let o;if(e==="viewport")o=Ve(t,n);else if(e==="document")o=ze(I(t));else if(V(e))o=Ie(e,n);else{const i=Yt(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return ut(o)}function jt(t,e){const n=K(t);return n===e||!V(n)||ht(n)?!1:k(n).position==="fixed"||jt(n,e)}function Ye(t,e){const n=e.get(t);if(n)return n;let o=et(t,[],!1).filter(a=>V(a)&&j(a)!=="body"),i=null;const r=k(t).position==="fixed";let s=r?K(t):t;for(;V(s)&&!ht(s);){const a=k(s),c=At(s);!c&&a.position==="fixed"&&(i=null),(r?!c&&!i:!c&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||nt(s)&&!c&&jt(t,s))?o=o.filter(p=>p!==s):i=a,s=K(s)}return e.set(t,o),o}function Xe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?Ye(e,this._c):[].concat(n),o],a=s[0],c=s.reduce((l,p)=>{const d=kt(e,p,i);return l.top=L(d.top,l.top),l.right=Y(d.right,l.right),l.bottom=Y(d.bottom,l.bottom),l.left=L(d.left,l.left),l},kt(e,a,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function je(t){return It(t)}function qe(t,e,n){const o=N(e),i=I(e),r=n==="fixed",s=q(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const c=X(0);if(o||!o&&!r)if((j(e)!=="body"||nt(i))&&(a=gt(e)),o){const l=q(e,!0,r,e);c.x=l.x+e.clientLeft,c.y=l.y+e.clientTop}else i&&(c.x=Xt(i));return{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Ht(t,e){return!N(t)||k(t).position==="fixed"?null:e?e(t):t.offsetParent}function qt(t,e){const n=M(t);if(!N(t))return n;let o=Ht(t,e);for(;o&&ke(o)&&k(o).position==="static";)o=Ht(o,e);return o&&(j(o)==="html"||j(o)==="body"&&k(o).position==="static"&&!At(o))?n:o||He(t)||n}const Ue=async function(t){let{reference:e,floating:n,strategy:o}=t;const i=this.getOffsetParent||qt,r=this.getDimensions;return{reference:qe(e,await i(n),o),floating:{x:0,y:0,...await r(n)}}};function Ze(t){return k(t).direction==="rtl"}const Ke={convertOffsetParentRelativeRectToViewportRelativeRect:Ne,getDocumentElement:I,getClippingRect:Xe,getOffsetParent:qt,getElementRects:Ue,getClientRects:Be,getDimensions:je,getScale:Z,isElement:V,isRTL:Ze};function Ge(t,e){let n=null,o;const i=I(t);function r(){clearTimeout(o),n&&n.disconnect(),n=null}function s(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),r();const{left:l,top:p,width:d,height:m}=t.getBoundingClientRect();if(a||e(),!d||!m)return;const f=ct(p),u=ct(i.clientWidth-(l+d)),g=ct(i.clientHeight-(p+m)),w=ct(l),v={rootMargin:-f+"px "+-u+"px "+-g+"px "+-w+"px",threshold:L(0,Y(1,c))||1};let x=!0;function y($){const A=$[0].intersectionRatio;if(A!==c){if(!x)return s();A?s(!1,A):o=setTimeout(()=>{s(!1,1e-7)},100)}x=!1}try{n=new IntersectionObserver(y,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,v)}n.observe(t)}return s(!0),r}function Je(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,l=Pt(t),p=i||r?[...l?et(l):[],...et(e)]:[];p.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),r&&h.addEventListener("resize",n)});const d=l&&a?Ge(l,n):null;let m=-1,f=null;s&&(f=new ResizeObserver(h=>{let[v]=h;v&&v.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{f&&f.observe(e)})),n()}),l&&!c&&f.observe(l),f.observe(e));let u,g=c?q(t):null;c&&w();function w(){const h=q(t);g&&(h.x!==g.x||h.y!==g.y||h.width!==g.width||h.height!==g.height)&&n(),g=h,u=requestAnimationFrame(w)}return n(),()=>{p.forEach(h=>{i&&h.removeEventListener("scroll",n),r&&h.removeEventListener("resize",n)}),d&&d(),f&&f.disconnect(),f=null,c&&cancelAnimationFrame(u)}}const Qe=(t,e,n)=>{const o=new Map,i={platform:Ke,...n},r={...i.platform,_c:o};return Ce(t,e,{...i,platform:r})},tn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?_t({element:o.current,padding:i}).fn(n):{}:o?_t({element:o,padding:i}).fn(n):{}}}};var at=typeof document<"u"?b.useLayoutEffect:b.useEffect;function pt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(o=n;o--!==0;)if(!pt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!pt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function Ut(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Wt(t,e){const n=Ut(t);return Math.round(e*n)/n}function Ft(t){const e=b.useRef(t);return at(()=>{e.current=t}),e}function en(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:a=!0,whileElementsMounted:c,open:l}=t,[p,d]=b.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,f]=b.useState(o);pt(m,o)||f(o);const[u,g]=b.useState(null),[w,h]=b.useState(null),v=b.useCallback(R=>{R!=A.current&&(A.current=R,g(R))},[g]),x=b.useCallback(R=>{R!==O.current&&(O.current=R,h(R))},[h]),y=r||u,$=s||w,A=b.useRef(null),O=b.useRef(null),S=b.useRef(p),E=Ft(c),H=Ft(i),T=b.useCallback(()=>{if(!A.current||!O.current)return;const R={placement:e,strategy:n,middleware:m};H.current&&(R.platform=H.current),Qe(A.current,O.current,R).then(D=>{const F={...D,isPositioned:!0};C.current&&!pt(S.current,F)&&(S.current=F,ge.flushSync(()=>{d(F)}))})},[m,e,n,H]);at(()=>{l===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,d(R=>({...R,isPositioned:!1})))},[l]);const C=b.useRef(!1);at(()=>(C.current=!0,()=>{C.current=!1}),[]),at(()=>{if(y&&(A.current=y),$&&(O.current=$),y&&$){if(E.current)return E.current(y,$,T);T()}},[y,$,T,E]);const W=b.useMemo(()=>({reference:A,floating:O,setReference:v,setFloating:x}),[v,x]),P=b.useMemo(()=>({reference:y,floating:$}),[y,$]),_=b.useMemo(()=>{const R={position:n,left:0,top:0};if(!P.floating)return R;const D=Wt(P.floating,p.x),F=Wt(P.floating,p.y);return a?{...R,transform:"translate("+D+"px, "+F+"px)",...Ut(P.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:D,top:F}},[n,a,P.floating,p.x,p.y]);return b.useMemo(()=>({...p,update:T,refs:W,elements:P,floatingStyles:_}),[p,T,W,P,_])}const nn=b.forwardRef((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return b.createElement(yt.svg,mt({},r,{ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),t.asChild?n:b.createElement("polygon",{points:"0,0 30,0 15,10"}))}),on=nn;function rn(t){const[e,n]=b.useState(void 0);return lt(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,a;if("borderBoxSize"in r){const c=r.borderBoxSize,l=Array.isArray(c)?c[0]:c;s=l.inlineSize,a=l.blockSize}else s=t.offsetWidth,a=t.offsetHeight;n({width:s,height:a})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}const Zt="Popper",[Kt,An]=me(Zt),[sn,Gt]=Kt(Zt),cn=t=>{const{__scopePopper:e,children:n}=t,[o,i]=b.useState(null);return b.createElement(sn,{scope:e,anchor:o,onAnchorChange:i},n)},an="PopperAnchor",ln=b.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=Gt(an,n),s=b.useRef(null),a=Nt(e,s);return b.useEffect(()=>{r.onAnchorChange((o==null?void 0:o.current)||s.current)}),o?null:b.createElement(yt.div,mt({},i,{ref:a}))}),Jt="PopperContent",[fn,dn]=Kt(Jt),un=b.forwardRef((t,e)=>{var n,o,i,r,s,a,c,l;const{__scopePopper:p,side:d="bottom",sideOffset:m=0,align:f="center",alignOffset:u=0,arrowPadding:g=0,avoidCollisions:w=!0,collisionBoundary:h=[],collisionPadding:v=0,sticky:x="partial",hideWhenDetached:y=!1,updatePositionStrategy:$="optimized",onPlaced:A,...O}=t,S=Gt(Jt,p),[E,H]=b.useState(null),T=Nt(e,Q=>H(Q)),[C,W]=b.useState(null),P=rn(C),_=(n=P==null?void 0:P.width)!==null&&n!==void 0?n:0,R=(o=P==null?void 0:P.height)!==null&&o!==void 0?o:0,D=d+(f!=="center"?"-"+f:""),F=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},Ot=Array.isArray(h)?h:[h],te=Ot.length>0,ot={padding:F,boundary:Ot.filter(gn),altBoundary:te},{refs:ee,floatingStyles:Ct,placement:ne,isPositioned:it,middlewareData:U}=en({strategy:"fixed",placement:D,whileElementsMounted:(...Q)=>Je(...Q,{animationFrame:$==="always"}),elements:{reference:S.anchor},middleware:[_e({mainAxis:m+R,alignmentAxis:u}),w&&Te({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Le():void 0,...ot}),w&&Se({...ot}),Me({...ot,apply:({elements:Q,rects:Et,availableWidth:le,availableHeight:fe})=>{const{width:de,height:ue}=Et.reference,st=Q.floating.style;st.setProperty("--radix-popper-available-width",`${le}px`),st.setProperty("--radix-popper-available-height",`${fe}px`),st.setProperty("--radix-popper-anchor-width",`${de}px`),st.setProperty("--radix-popper-anchor-height",`${ue}px`)}}),C&&tn({element:C,padding:g}),wn({arrowWidth:_,arrowHeight:R}),y&&Ee({strategy:"referenceHidden",...ot})]}),[St,oe]=Qt(ne),rt=he(A);lt(()=>{it&&(rt==null||rt())},[it,rt]);const ie=(i=U.arrow)===null||i===void 0?void 0:i.x,re=(r=U.arrow)===null||r===void 0?void 0:r.y,se=((s=U.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[ce,ae]=b.useState();return lt(()=>{E&&ae(window.getComputedStyle(E).zIndex)},[E]),b.createElement("div",{ref:ee.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ct,transform:it?Ct.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(a=U.transformOrigin)===null||a===void 0?void 0:a.x,(c=U.transformOrigin)===null||c===void 0?void 0:c.y].join(" ")},dir:t.dir},b.createElement(fn,{scope:p,placedSide:St,onArrowChange:W,arrowX:ie,arrowY:re,shouldHideArrow:se},b.createElement(yt.div,mt({"data-side":St,"data-align":oe},O,{ref:T,style:{...O.style,animation:it?void 0:"none",opacity:(l=U.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0}}))))}),pn="PopperArrow",mn={top:"bottom",right:"left",bottom:"top",left:"right"},hn=b.forwardRef(function(e,n){const{__scopePopper:o,...i}=e,r=dn(pn,o),s=mn[r.placedSide];return b.createElement("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0}},b.createElement(on,mt({},i,{ref:n,style:{...i.style,display:"block"}})))});function gn(t){return t!==null}const wn=t=>({name:"transformOrigin",options:t,fn(e){var n,o,i,r,s;const{placement:a,rects:c,middlewareData:l}=e,d=((n=l.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=d?0:t.arrowWidth,f=d?0:t.arrowHeight,[u,g]=Qt(a),w={start:"0%",center:"50%",end:"100%"}[g],h=((o=(i=l.arrow)===null||i===void 0?void 0:i.x)!==null&&o!==void 0?o:0)+m/2,v=((r=(s=l.arrow)===null||s===void 0?void 0:s.y)!==null&&r!==void 0?r:0)+f/2;let x="",y="";return u==="bottom"?(x=d?w:`${h}px`,y=`${-f}px`):u==="top"?(x=d?w:`${h}px`,y=`${c.floating.height+f}px`):u==="right"?(x=`${-f}px`,y=d?w:`${v}px`):u==="left"&&(x=`${c.floating.width+f}px`,y=d?w:`${v}px`),{data:{x,y}}}});function Qt(t){const[e,n="center"]=t.split("-");return[e,n]}const Rn=cn,Pn=ln,On=un,Cn=hn;export{$n as $,An as a,Rn as b,Pn as c,On as d,Cn as e}; diff --git a/assets/index-rAFazk-7.js b/assets/index-nuWmM7Ma.js similarity index 97% rename from assets/index-rAFazk-7.js rename to assets/index-nuWmM7Ma.js index 3a4b460..4eb2a5e 100644 --- a/assets/index-rAFazk-7.js +++ b/assets/index-nuWmM7Ma.js @@ -1,4 +1,4 @@ -import{j as g}from"./jsx-runtime-DtaoT6pD.js";import{R as n,r as h}from"./index-OjgoNOWw.js";function w({commands:l,onClickCurve:f,onChange:$,...o}){const u=n.useRef(null),[b,v]=n.useState(0),[p,d]=n.useState(0),[a,c]=n.useState(0),[i,x]=n.useState(0),t=4;function q(e){switch(e.type){case"move":return`M ${e.x} ${e.y}`;case"line":return`L ${e.x} ${e.y}`;case"quadratic":return`Q ${e.x1} ${e.y1} ${e.x} ${e.y}`;case"cubic":return`C ${e.x1} ${e.y1} ${e.x2} ${e.y2} ${e.x} ${e.y}`}}const m=n.useRef([]);return h.useEffect(()=>{const e=new ResizeObserver(()=>{if(u.current){const r=u.current.getBBox();v(r.x-t),d(r.y-t),c(r.width+t*2),x(r.height+t*2)}});return m.current.forEach(r=>{e.observe(r)}),()=>{e.disconnect()}},[v,d,c,x,m,u]),g.jsx("svg",{...o,width:a,height:i,style:{position:"absolute",overflow:"visible",left:b,top:p,width:a,height:i,...o.style},viewBox:`${b} ${p} ${a} ${i}`,className:"cmpui_curve-controls-svg",ref:u,children:l.map((e,r)=>{let y=q(e);const k=l[r-1];return k&&(y=`${q(k)} ${y}`),g.jsx("path",{d:y,strokeWidth:1,fill:"none",onClick:f,ref:s=>{s&&(m.current[r]=s)}},r)})})}w.__docgenInfo={description:"",methods:[],displayName:"Path",props:{commands:{required:!0,tsType:{name:"Array",elements:[{name:"union",raw:`| MoveCommand +import{j as g}from"./jsx-runtime-DvLKfCe6.js";import{R as n,r as h}from"./index-aXz8NaAs.js";function w({commands:l,onClickCurve:f,onChange:$,...o}){const u=n.useRef(null),[b,v]=n.useState(0),[p,d]=n.useState(0),[a,c]=n.useState(0),[i,x]=n.useState(0),t=4;function q(e){switch(e.type){case"move":return`M ${e.x} ${e.y}`;case"line":return`L ${e.x} ${e.y}`;case"quadratic":return`Q ${e.x1} ${e.y1} ${e.x} ${e.y}`;case"cubic":return`C ${e.x1} ${e.y1} ${e.x2} ${e.y2} ${e.x} ${e.y}`}}const m=n.useRef([]);return h.useEffect(()=>{const e=new ResizeObserver(()=>{if(u.current){const r=u.current.getBBox();v(r.x-t),d(r.y-t),c(r.width+t*2),x(r.height+t*2)}});return m.current.forEach(r=>{e.observe(r)}),()=>{e.disconnect()}},[v,d,c,x,m,u]),g.jsx("svg",{...o,width:a,height:i,style:{position:"absolute",overflow:"visible",left:b,top:p,width:a,height:i,...o.style},viewBox:`${b} ${p} ${a} ${i}`,className:"cmpui_curve-controls-svg",ref:u,children:l.map((e,r)=>{let y=q(e);const k=l[r-1];return k&&(y=`${q(k)} ${y}`),g.jsx("path",{d:y,strokeWidth:1,fill:"none",onClick:f,ref:s=>{s&&(m.current[r]=s)}},r)})})}w.__docgenInfo={description:"",methods:[],displayName:"Path",props:{commands:{required:!0,tsType:{name:"Array",elements:[{name:"union",raw:`| MoveCommand | CubicCommand | LineCommand | QuadraticCommand`,elements:[{name:"signature",type:"object",raw:`{ diff --git a/assets/index-sSXR_LKw.js b/assets/index-sSXR_LKw.js new file mode 100644 index 0000000..a9424e6 --- /dev/null +++ b/assets/index-sSXR_LKw.js @@ -0,0 +1 @@ +import{r as b,$ as pe}from"./index-aXz8NaAs.js";import{m as lt,c as yt,$ as me,a as Nt,i as he}from"./index-M7H33-mE.js";import{_ as mt}from"./extends-dGVwEr9R.js";import{r as ge}from"./index-n3prD_Ok.js";const we=pe.useId||(()=>{});let xe=0;function $n(t){const[e,n]=b.useState(we());return lt(()=>{t||n(o=>o??String(xe++))},[t]),t||(e?`radix-${e}`:"")}const ye=["top","right","bottom","left"],Y=Math.min,L=Math.max,ft=Math.round,ct=Math.floor,X=t=>({x:t,y:t}),ve={left:"right",right:"left",bottom:"top",top:"bottom"},be={start:"end",end:"start"};function wt(t,e,n){return L(t,Y(e,n))}function B(t,e){return typeof t=="function"?t(e):t}function z(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function vt(t){return t==="x"?"y":"x"}function bt(t){return t==="y"?"height":"width"}function J(t){return["top","bottom"].includes(z(t))?"y":"x"}function $t(t){return vt(J(t))}function $e(t,e,n){n===void 0&&(n=!1);const o=G(t),i=$t(t),r=bt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=dt(s)),[s,dt(s)]}function Ae(t){const e=dt(t);return[xt(t),e,xt(e)]}function xt(t){return t.replace(/start|end/g,e=>be[e])}function Re(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Oe(t,e,n,o){const i=G(t);let r=Re(z(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(xt)))),r}function dt(t){return t.replace(/left|right|bottom|top/g,e=>ve[e])}function Pe(t){return{top:0,right:0,bottom:0,left:0,...t}}function Bt(t){return typeof t!="number"?Pe(t):{top:t,right:t,bottom:t,left:t}}function ut(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Dt(t,e,n){let{reference:o,floating:i}=t;const r=J(e),s=$t(e),a=bt(s),c=z(e),l=r==="y",p=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,m=o[a]/2-i[a]/2;let f;switch(c){case"top":f={x:p,y:o.y-i.height};break;case"bottom":f={x:p,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:d};break;case"left":f={x:o.x-i.width,y:d};break;default:f={x:o.x,y:o.y}}switch(G(e)){case"start":f[s]-=m*(n&&l?-1:1);break;case"end":f[s]+=m*(n&&l?-1:1);break}return f}const Ce=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,a=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let l=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:d}=Dt(l,o,c),m=o,f={},u=0;for(let g=0;g({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:s,elements:a,middlewareData:c}=e,{element:l,padding:p=0}=B(t,e)||{};if(l==null)return{};const d=Bt(p),m={x:n,y:o},f=$t(i),u=bt(f),g=await s.getDimensions(l),w=f==="y",h=w?"top":"left",v=w?"bottom":"right",x=w?"clientHeight":"clientWidth",y=r.reference[u]+r.reference[f]-m[f]-r.floating[u],$=m[f]-r.reference[f],A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l));let P=A?A[x]:0;(!P||!await(s.isElement==null?void 0:s.isElement(A)))&&(P=a.floating[x]||r.floating[u]);const S=y/2-$/2,E=P/2-g[u]/2-1,H=Y(d[h],E),T=Y(d[v],E),C=H,W=P-g[u]-T,O=P/2-g[u]/2+S,_=wt(C,O,W),R=!c.arrow&&G(i)!=null&&O!=_&&r.reference[u]/2-(OC<=0)){var E,H;const C=(((E=r.flip)==null?void 0:E.index)||0)+1,W=$[C];if(W)return{data:{index:C,overflows:S},reset:{placement:W}};let O=(H=S.filter(_=>_.overflows[0]<=0).sort((_,R)=>_.overflows[1]-R.overflows[1])[0])==null?void 0:H.placement;if(!O)switch(f){case"bestFit":{var T;const _=(T=S.map(R=>[R.placement,R.overflows.filter(D=>D>0).reduce((D,F)=>D+F,0)]).sort((R,D)=>R[1]-D[1])[0])==null?void 0:T[0];_&&(O=_);break}case"initialPlacement":O=a;break}if(i!==O)return{reset:{placement:O}}}return{}}}};function Tt(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function Lt(t){return ye.some(e=>t[e]>=0)}const Ee=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:o="referenceHidden",...i}=B(t,e);switch(o){case"referenceHidden":{const r=await tt(e,{...i,elementContext:"reference"}),s=Tt(r,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Lt(s)}}}case"escaped":{const r=await tt(e,{...i,altBoundary:!0}),s=Tt(r,n.floating);return{data:{escapedOffsets:s,escaped:Lt(s)}}}default:return{}}}}};async function De(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=z(n),a=G(n),c=J(n)==="y",l=["left","top"].includes(s)?-1:1,p=r&&c?-1:1,d=B(e,t);let{mainAxis:m,crossAxis:f,alignmentAxis:u}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return a&&typeof u=="number"&&(f=a==="end"?u*-1:u),c?{x:f*p,y:m*l}:{x:m*l,y:f*p}}const _e=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:a}=e,c=await De(e,t);return s===((n=a.offset)==null?void 0:n.placement)&&(o=a.arrow)!=null&&o.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Te=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:a={fn:w=>{let{x:h,y:v}=w;return{x:h,y:v}}},...c}=B(t,e),l={x:n,y:o},p=await tt(e,c),d=J(z(i)),m=vt(d);let f=l[m],u=l[d];if(r){const w=m==="y"?"top":"left",h=m==="y"?"bottom":"right",v=f+p[w],x=f-p[h];f=wt(v,f,x)}if(s){const w=d==="y"?"top":"left",h=d==="y"?"bottom":"right",v=u+p[w],x=u-p[h];u=wt(v,u,x)}const g=a.fn({...e,[m]:f,[d]:u});return{...g,data:{x:g.x-n,y:g.y-o}}}}},Le=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:i,rects:r,middlewareData:s}=e,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=B(t,e),p={x:n,y:o},d=J(i),m=vt(d);let f=p[m],u=p[d];const g=B(a,e),w=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(c){const x=m==="y"?"height":"width",y=r.reference[m]-r.floating[x]+w.mainAxis,$=r.reference[m]+r.reference[x]-w.mainAxis;f$&&(f=$)}if(l){var h,v;const x=m==="y"?"width":"height",y=["top","left"].includes(z(i)),$=r.reference[d]-r.floating[x]+(y&&((h=s.offset)==null?void 0:h[d])||0)+(y?0:w.crossAxis),A=r.reference[d]+r.reference[x]+(y?0:((v=s.offset)==null?void 0:v[d])||0)-(y?w.crossAxis:0);u<$?u=$:u>A&&(u=A)}return{[m]:f,[d]:u}}}},Me=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:s=()=>{},...a}=B(t,e),c=await tt(e,a),l=z(n),p=G(n),d=J(n)==="y",{width:m,height:f}=o.floating;let u,g;l==="top"||l==="bottom"?(u=l,g=p===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(g=l,u=p==="end"?"top":"bottom");const w=f-c[u],h=m-c[g],v=!e.middlewareData.shift;let x=w,y=h;if(d){const A=m-c.left-c.right;y=p||v?Y(h,A):A}else{const A=f-c.top-c.bottom;x=p||v?Y(w,A):A}if(v&&!p){const A=L(c.left,0),P=L(c.right,0),S=L(c.top,0),E=L(c.bottom,0);d?y=m-2*(A!==0||P!==0?A+P:L(c.left,c.right)):x=f-2*(S!==0||E!==0?S+E:L(c.top,c.bottom))}await s({...e,availableWidth:y,availableHeight:x});const $=await i.getDimensions(r.floating);return m!==$.width||f!==$.height?{reset:{rects:!0}}:{}}}};function j(t){return zt(t)?(t.nodeName||"").toLowerCase():"#document"}function M(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function I(t){var e;return(e=(zt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zt(t){return t instanceof Node||t instanceof M(t).Node}function V(t){return t instanceof Element||t instanceof M(t).Element}function N(t){return t instanceof HTMLElement||t instanceof M(t).HTMLElement}function Mt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof M(t).ShadowRoot}function nt(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=k(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function ke(t){return["table","td","th"].includes(j(t))}function At(t){const e=Rt(),n=k(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function He(t){let e=K(t);for(;N(e)&&!ht(e);){if(At(e))return e;e=K(e)}return null}function Rt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ht(t){return["html","body","#document"].includes(j(t))}function k(t){return M(t).getComputedStyle(t)}function gt(t){return V(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function K(t){if(j(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Mt(t)&&t.host||I(t);return Mt(e)?e.host:e}function Vt(t){const e=K(t);return ht(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&nt(e)?e:Vt(e)}function et(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Vt(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=M(i);return r?e.concat(s,s.visualViewport||[],nt(i)?i:[],s.frameElement&&n?et(s.frameElement):[]):e.concat(i,et(i,[],n))}function It(t){const e=k(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=N(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,a=ft(n)!==r||ft(o)!==s;return a&&(n=r,o=s),{width:n,height:o,$:a}}function Ot(t){return V(t)?t:t.contextElement}function Z(t){const e=Ot(t);if(!N(e))return X(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=It(e);let s=(r?ft(n.width):n.width)/o,a=(r?ft(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const We=X(0);function Yt(t){const e=M(t);return!Rt()||!e.visualViewport?We:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Fe(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==M(t)?!1:e}function q(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=Ot(t);let s=X(1);e&&(o?V(o)&&(s=Z(o)):s=Z(t));const a=Fe(r,n,o)?Yt(r):X(0);let c=(i.left+a.x)/s.x,l=(i.top+a.y)/s.y,p=i.width/s.x,d=i.height/s.y;if(r){const m=M(r),f=o&&V(o)?M(o):o;let u=m.frameElement;for(;u&&o&&f!==m;){const g=Z(u),w=u.getBoundingClientRect(),h=k(u),v=w.left+(u.clientLeft+parseFloat(h.paddingLeft))*g.x,x=w.top+(u.clientTop+parseFloat(h.paddingTop))*g.y;c*=g.x,l*=g.y,p*=g.x,d*=g.y,c+=v,l+=x,u=M(u).frameElement}}return ut({width:p,height:d,x:c,y:l})}function Ne(t){let{rect:e,offsetParent:n,strategy:o}=t;const i=N(n),r=I(n);if(n===r)return e;let s={scrollLeft:0,scrollTop:0},a=X(1);const c=X(0);if((i||!i&&o!=="fixed")&&((j(n)!=="body"||nt(r))&&(s=gt(n)),N(n))){const l=q(n);a=Z(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:e.width*a.x,height:e.height*a.y,x:e.x*a.x-s.scrollLeft*a.x+c.x,y:e.y*a.y-s.scrollTop*a.y+c.y}}function Be(t){return Array.from(t.getClientRects())}function Xt(t){return q(I(t)).left+gt(t).scrollLeft}function ze(t){const e=I(t),n=gt(t),o=t.ownerDocument.body,i=L(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=L(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Xt(t);const a=-n.scrollTop;return k(o).direction==="rtl"&&(s+=L(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:a}}function Ve(t,e){const n=M(t),o=I(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,a=0,c=0;if(i){r=i.width,s=i.height;const l=Rt();(!l||l&&e==="fixed")&&(a=i.offsetLeft,c=i.offsetTop)}return{width:r,height:s,x:a,y:c}}function Ie(t,e){const n=q(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=N(t)?Z(t):X(1),s=t.clientWidth*r.x,a=t.clientHeight*r.y,c=i*r.x,l=o*r.y;return{width:s,height:a,x:c,y:l}}function kt(t,e,n){let o;if(e==="viewport")o=Ve(t,n);else if(e==="document")o=ze(I(t));else if(V(e))o=Ie(e,n);else{const i=Yt(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return ut(o)}function jt(t,e){const n=K(t);return n===e||!V(n)||ht(n)?!1:k(n).position==="fixed"||jt(n,e)}function Ye(t,e){const n=e.get(t);if(n)return n;let o=et(t,[],!1).filter(a=>V(a)&&j(a)!=="body"),i=null;const r=k(t).position==="fixed";let s=r?K(t):t;for(;V(s)&&!ht(s);){const a=k(s),c=At(s);!c&&a.position==="fixed"&&(i=null),(r?!c&&!i:!c&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||nt(s)&&!c&&jt(t,s))?o=o.filter(p=>p!==s):i=a,s=K(s)}return e.set(t,o),o}function Xe(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?Ye(e,this._c):[].concat(n),o],a=s[0],c=s.reduce((l,p)=>{const d=kt(e,p,i);return l.top=L(d.top,l.top),l.right=Y(d.right,l.right),l.bottom=Y(d.bottom,l.bottom),l.left=L(d.left,l.left),l},kt(e,a,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function je(t){return It(t)}function qe(t,e,n){const o=N(e),i=I(e),r=n==="fixed",s=q(t,!0,r,e);let a={scrollLeft:0,scrollTop:0};const c=X(0);if(o||!o&&!r)if((j(e)!=="body"||nt(i))&&(a=gt(e)),o){const l=q(e,!0,r,e);c.x=l.x+e.clientLeft,c.y=l.y+e.clientTop}else i&&(c.x=Xt(i));return{x:s.left+a.scrollLeft-c.x,y:s.top+a.scrollTop-c.y,width:s.width,height:s.height}}function Ht(t,e){return!N(t)||k(t).position==="fixed"?null:e?e(t):t.offsetParent}function qt(t,e){const n=M(t);if(!N(t))return n;let o=Ht(t,e);for(;o&&ke(o)&&k(o).position==="static";)o=Ht(o,e);return o&&(j(o)==="html"||j(o)==="body"&&k(o).position==="static"&&!At(o))?n:o||He(t)||n}const Ue=async function(t){let{reference:e,floating:n,strategy:o}=t;const i=this.getOffsetParent||qt,r=this.getDimensions;return{reference:qe(e,await i(n),o),floating:{x:0,y:0,...await r(n)}}};function Ze(t){return k(t).direction==="rtl"}const Ke={convertOffsetParentRelativeRectToViewportRelativeRect:Ne,getDocumentElement:I,getClippingRect:Xe,getOffsetParent:qt,getElementRects:Ue,getClientRects:Be,getDimensions:je,getScale:Z,isElement:V,isRTL:Ze};function Ge(t,e){let n=null,o;const i=I(t);function r(){clearTimeout(o),n&&n.disconnect(),n=null}function s(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),r();const{left:l,top:p,width:d,height:m}=t.getBoundingClientRect();if(a||e(),!d||!m)return;const f=ct(p),u=ct(i.clientWidth-(l+d)),g=ct(i.clientHeight-(p+m)),w=ct(l),v={rootMargin:-f+"px "+-u+"px "+-g+"px "+-w+"px",threshold:L(0,Y(1,c))||1};let x=!0;function y($){const A=$[0].intersectionRatio;if(A!==c){if(!x)return s();A?s(!1,A):o=setTimeout(()=>{s(!1,1e-7)},100)}x=!1}try{n=new IntersectionObserver(y,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(y,v)}n.observe(t)}return s(!0),r}function Je(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,l=Ot(t),p=i||r?[...l?et(l):[],...et(e)]:[];p.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),r&&h.addEventListener("resize",n)});const d=l&&a?Ge(l,n):null;let m=-1,f=null;s&&(f=new ResizeObserver(h=>{let[v]=h;v&&v.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{f&&f.observe(e)})),n()}),l&&!c&&f.observe(l),f.observe(e));let u,g=c?q(t):null;c&&w();function w(){const h=q(t);g&&(h.x!==g.x||h.y!==g.y||h.width!==g.width||h.height!==g.height)&&n(),g=h,u=requestAnimationFrame(w)}return n(),()=>{p.forEach(h=>{i&&h.removeEventListener("scroll",n),r&&h.removeEventListener("resize",n)}),d&&d(),f&&f.disconnect(),f=null,c&&cancelAnimationFrame(u)}}const Qe=(t,e,n)=>{const o=new Map,i={platform:Ke,...n},r={...i.platform,_c:o};return Ce(t,e,{...i,platform:r})},tn=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:o,padding:i}=typeof t=="function"?t(n):t;return o&&e(o)?o.current!=null?_t({element:o.current,padding:i}).fn(n):{}:o?_t({element:o,padding:i}).fn(n):{}}}};var at=typeof document<"u"?b.useLayoutEffect:b.useEffect;function pt(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,o,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(o=n;o--!==0;)if(!pt(t[o],e[o]))return!1;return!0}if(i=Object.keys(t),n=i.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(e,i[o]))return!1;for(o=n;o--!==0;){const r=i[o];if(!(r==="_owner"&&t.$$typeof)&&!pt(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function Ut(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Wt(t,e){const n=Ut(t);return Math.round(e*n)/n}function Ft(t){const e=b.useRef(t);return at(()=>{e.current=t}),e}function en(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:r,floating:s}={},transform:a=!0,whileElementsMounted:c,open:l}=t,[p,d]=b.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,f]=b.useState(o);pt(m,o)||f(o);const[u,g]=b.useState(null),[w,h]=b.useState(null),v=b.useCallback(R=>{R!=A.current&&(A.current=R,g(R))},[g]),x=b.useCallback(R=>{R!==P.current&&(P.current=R,h(R))},[h]),y=r||u,$=s||w,A=b.useRef(null),P=b.useRef(null),S=b.useRef(p),E=Ft(c),H=Ft(i),T=b.useCallback(()=>{if(!A.current||!P.current)return;const R={placement:e,strategy:n,middleware:m};H.current&&(R.platform=H.current),Qe(A.current,P.current,R).then(D=>{const F={...D,isPositioned:!0};C.current&&!pt(S.current,F)&&(S.current=F,ge.flushSync(()=>{d(F)}))})},[m,e,n,H]);at(()=>{l===!1&&S.current.isPositioned&&(S.current.isPositioned=!1,d(R=>({...R,isPositioned:!1})))},[l]);const C=b.useRef(!1);at(()=>(C.current=!0,()=>{C.current=!1}),[]),at(()=>{if(y&&(A.current=y),$&&(P.current=$),y&&$){if(E.current)return E.current(y,$,T);T()}},[y,$,T,E]);const W=b.useMemo(()=>({reference:A,floating:P,setReference:v,setFloating:x}),[v,x]),O=b.useMemo(()=>({reference:y,floating:$}),[y,$]),_=b.useMemo(()=>{const R={position:n,left:0,top:0};if(!O.floating)return R;const D=Wt(O.floating,p.x),F=Wt(O.floating,p.y);return a?{...R,transform:"translate("+D+"px, "+F+"px)",...Ut(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:D,top:F}},[n,a,O.floating,p.x,p.y]);return b.useMemo(()=>({...p,update:T,refs:W,elements:O,floatingStyles:_}),[p,T,W,O,_])}const nn=b.forwardRef((t,e)=>{const{children:n,width:o=10,height:i=5,...r}=t;return b.createElement(yt.svg,mt({},r,{ref:e,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),t.asChild?n:b.createElement("polygon",{points:"0,0 30,0 15,10"}))}),on=nn;function rn(t){const[e,n]=b.useState(void 0);return lt(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const o=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const r=i[0];let s,a;if("borderBoxSize"in r){const c=r.borderBoxSize,l=Array.isArray(c)?c[0]:c;s=l.inlineSize,a=l.blockSize}else s=t.offsetWidth,a=t.offsetHeight;n({width:s,height:a})});return o.observe(t,{box:"border-box"}),()=>o.unobserve(t)}else n(void 0)},[t]),e}const Zt="Popper",[Kt,An]=me(Zt),[sn,Gt]=Kt(Zt),cn=t=>{const{__scopePopper:e,children:n}=t,[o,i]=b.useState(null);return b.createElement(sn,{scope:e,anchor:o,onAnchorChange:i},n)},an="PopperAnchor",ln=b.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:o,...i}=t,r=Gt(an,n),s=b.useRef(null),a=Nt(e,s);return b.useEffect(()=>{r.onAnchorChange((o==null?void 0:o.current)||s.current)}),o?null:b.createElement(yt.div,mt({},i,{ref:a}))}),Jt="PopperContent",[fn,dn]=Kt(Jt),un=b.forwardRef((t,e)=>{var n,o,i,r,s,a,c,l;const{__scopePopper:p,side:d="bottom",sideOffset:m=0,align:f="center",alignOffset:u=0,arrowPadding:g=0,avoidCollisions:w=!0,collisionBoundary:h=[],collisionPadding:v=0,sticky:x="partial",hideWhenDetached:y=!1,updatePositionStrategy:$="optimized",onPlaced:A,...P}=t,S=Gt(Jt,p),[E,H]=b.useState(null),T=Nt(e,Q=>H(Q)),[C,W]=b.useState(null),O=rn(C),_=(n=O==null?void 0:O.width)!==null&&n!==void 0?n:0,R=(o=O==null?void 0:O.height)!==null&&o!==void 0?o:0,D=d+(f!=="center"?"-"+f:""),F=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},Pt=Array.isArray(h)?h:[h],te=Pt.length>0,ot={padding:F,boundary:Pt.filter(gn),altBoundary:te},{refs:ee,floatingStyles:Ct,placement:ne,isPositioned:it,middlewareData:U}=en({strategy:"fixed",placement:D,whileElementsMounted:(...Q)=>Je(...Q,{animationFrame:$==="always"}),elements:{reference:S.anchor},middleware:[_e({mainAxis:m+R,alignmentAxis:u}),w&&Te({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Le():void 0,...ot}),w&&Se({...ot}),Me({...ot,apply:({elements:Q,rects:Et,availableWidth:le,availableHeight:fe})=>{const{width:de,height:ue}=Et.reference,st=Q.floating.style;st.setProperty("--radix-popper-available-width",`${le}px`),st.setProperty("--radix-popper-available-height",`${fe}px`),st.setProperty("--radix-popper-anchor-width",`${de}px`),st.setProperty("--radix-popper-anchor-height",`${ue}px`)}}),C&&tn({element:C,padding:g}),wn({arrowWidth:_,arrowHeight:R}),y&&Ee({strategy:"referenceHidden",...ot})]}),[St,oe]=Qt(ne),rt=he(A);lt(()=>{it&&(rt==null||rt())},[it,rt]);const ie=(i=U.arrow)===null||i===void 0?void 0:i.x,re=(r=U.arrow)===null||r===void 0?void 0:r.y,se=((s=U.arrow)===null||s===void 0?void 0:s.centerOffset)!==0,[ce,ae]=b.useState();return lt(()=>{E&&ae(window.getComputedStyle(E).zIndex)},[E]),b.createElement("div",{ref:ee.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ct,transform:it?Ct.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(a=U.transformOrigin)===null||a===void 0?void 0:a.x,(c=U.transformOrigin)===null||c===void 0?void 0:c.y].join(" ")},dir:t.dir},b.createElement(fn,{scope:p,placedSide:St,onArrowChange:W,arrowX:ie,arrowY:re,shouldHideArrow:se},b.createElement(yt.div,mt({"data-side":St,"data-align":oe},P,{ref:T,style:{...P.style,animation:it?void 0:"none",opacity:(l=U.hide)!==null&&l!==void 0&&l.referenceHidden?0:void 0}}))))}),pn="PopperArrow",mn={top:"bottom",right:"left",bottom:"top",left:"right"},hn=b.forwardRef(function(e,n){const{__scopePopper:o,...i}=e,r=dn(pn,o),s=mn[r.placedSide];return b.createElement("span",{ref:r.onArrowChange,style:{position:"absolute",left:r.arrowX,top:r.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[r.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[r.placedSide],visibility:r.shouldHideArrow?"hidden":void 0}},b.createElement(on,mt({},i,{ref:n,style:{...i.style,display:"block"}})))});function gn(t){return t!==null}const wn=t=>({name:"transformOrigin",options:t,fn(e){var n,o,i,r,s;const{placement:a,rects:c,middlewareData:l}=e,d=((n=l.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,m=d?0:t.arrowWidth,f=d?0:t.arrowHeight,[u,g]=Qt(a),w={start:"0%",center:"50%",end:"100%"}[g],h=((o=(i=l.arrow)===null||i===void 0?void 0:i.x)!==null&&o!==void 0?o:0)+m/2,v=((r=(s=l.arrow)===null||s===void 0?void 0:s.y)!==null&&r!==void 0?r:0)+f/2;let x="",y="";return u==="bottom"?(x=d?w:`${h}px`,y=`${-f}px`):u==="top"?(x=d?w:`${h}px`,y=`${c.floating.height+f}px`):u==="right"?(x=`${-f}px`,y=d?w:`${v}px`):u==="left"&&(x=`${c.floating.width+f}px`,y=d?w:`${v}px`),{data:{x,y}}}});function Qt(t){const[e,n="center"]=t.split("-");return[e,n]}const Rn=cn,On=ln,Pn=un,Cn=hn;export{$n as $,An as a,Rn as b,On as c,Pn as d,Cn as e}; diff --git a/assets/index-uWlkGYMJ.js b/assets/index-uWlkGYMJ.js new file mode 100644 index 0000000..2700cf1 --- /dev/null +++ b/assets/index-uWlkGYMJ.js @@ -0,0 +1,71 @@ +import{j as d}from"./jsx-runtime-DvLKfCe6.js";import{F as H}from"./index-D9RaxIjz.js";import{L as U}from"./index-xX_uHqPz.js";import{_ as $}from"./extends-dGVwEr9R.js";import{r as t}from"./index-aXz8NaAs.js";import{$ as B,i as F,c as V,f as w}from"./index-M7H33-mE.js";import{$ as S,a as Y,b as X,e as W,c as z,d as G,f as J}from"./index-YkBf51cs.js";import{r as K}from"./index-n3prD_Ok.js";function Q({onDown:e,onMove:r,onUp:n}){return a=>{if(a.buttons===2)return;const c=e==null?void 0:e(a);let i;const s=m=>{i=r==null?void 0:r(m,c,i)},u=m=>{window.removeEventListener("pointermove",s),window.removeEventListener("pointerup",u),n==null||n(m,c,i)};window.addEventListener("pointermove",s),window.addEventListener("pointerup",u)}}const j="ContextMenu",[Z,_e]=B(j,[S]),C=S(),[ee,k]=Z(j),ne=e=>{const{__scopeContextMenu:r,children:n,onOpenChange:o,dir:a,modal:c=!0}=e,[i,s]=t.useState(!1),u=C(r),m=F(o),l=t.useCallback(g=>{s(g),m(g)},[m]);return t.createElement(ee,{scope:r,open:i,onOpenChange:l,modal:c},t.createElement(Y,$({},u,{dir:a,open:i,onOpenChange:l,modal:c}),n))},te="ContextMenuTrigger",re=t.forwardRef((e,r)=>{const{__scopeContextMenu:n,disabled:o=!1,...a}=e,c=k(te,n),i=C(n),s=t.useRef({x:0,y:0}),u=t.useRef({getBoundingClientRect:()=>DOMRect.fromRect({width:0,height:0,...s.current})}),m=t.useRef(0),l=t.useCallback(()=>window.clearTimeout(m.current),[]),g=f=>{s.current={x:f.clientX,y:f.clientY},c.onOpenChange(!0)};return t.useEffect(()=>l,[l]),t.useEffect(()=>void(o&&l()),[o,l]),t.createElement(t.Fragment,null,t.createElement(X,$({},i,{virtualRef:u})),t.createElement(V.span,$({"data-state":c.open?"open":"closed","data-disabled":o?"":void 0},a,{ref:r,style:{WebkitTouchCallout:"none",...e.style},onContextMenu:o?e.onContextMenu:w(e.onContextMenu,f=>{l(),g(f),f.preventDefault()}),onPointerDown:o?e.onPointerDown:w(e.onPointerDown,_(f=>{l(),m.current=window.setTimeout(()=>g(f),700)})),onPointerMove:o?e.onPointerMove:w(e.onPointerMove,_(l)),onPointerCancel:o?e.onPointerCancel:w(e.onPointerCancel,_(l)),onPointerUp:o?e.onPointerUp:w(e.onPointerUp,_(l))})))}),ae=e=>{const{__scopeContextMenu:r,...n}=e,o=C(r);return t.createElement(W,$({},o,n))},oe="ContextMenuContent",ie=t.forwardRef((e,r)=>{const{__scopeContextMenu:n,...o}=e,a=k(oe,n),c=C(n),i=t.useRef(!1);return t.createElement(z,$({},c,o,{ref:r,side:"right",sideOffset:2,align:"start",onCloseAutoFocus:s=>{var u;(u=e.onCloseAutoFocus)===null||u===void 0||u.call(e,s),!s.defaultPrevented&&i.current&&s.preventDefault(),i.current=!1},onInteractOutside:s=>{var u;(u=e.onInteractOutside)===null||u===void 0||u.call(e,s),!s.defaultPrevented&&!a.modal&&(i.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-context-menu-content-available-width":"var(--radix-popper-available-width)","--radix-context-menu-content-available-height":"var(--radix-popper-available-height)","--radix-context-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-context-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),se=t.forwardRef((e,r)=>{const{__scopeContextMenu:n,...o}=e,a=C(n);return t.createElement(G,$({},a,o,{ref:r}))}),de=t.forwardRef((e,r)=>{const{__scopeContextMenu:n,...o}=e,a=C(n);return t.createElement(J,$({},a,o,{ref:r}))});function _(e){return r=>r.pointerType!=="mouse"?e(r):void 0}const ce=ne,ue=re,le=ae,me=ie,pe=se,fe=de;function ge(e){return d.jsxs(ce,{onOpenChange:e.onOpenChange,children:[d.jsx(ue,{asChild:!0,children:e.children}),d.jsx(le,{children:d.jsx(me,{asChild:!0,children:d.jsx(H,{children:e.content})})})]})}ge.__docgenInfo={description:"",methods:[],displayName:"ContextMenu",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},open:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(open: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"open"}],return:{name:"void"}}},description:""}}};function he({children:e,...r}){return d.jsx(pe,{...r,asChild:!0,children:d.jsx(U,{size:"S",rounded:!0,children:e})})}he.__docgenInfo={description:"",methods:[],displayName:"ContextMenuItem"};function ye(){return d.jsx(fe,{className:"context-menu-separator"})}ye.__docgenInfo={description:"",methods:[],displayName:"ContextMenuSeparator"};const L=t.createContext({treeId:null,setIsDragging:()=>{}}),D=t.createContext({map:new Map});var v=(e=>(e[e.Before=0]="Before",e[e.After=1]="After",e[e.Child=2]="Child",e))(v||{});function A(e,r){if(e.id===r)return!0;if(e.children){for(const n of e.children)if(A(n,r))return!0}return!1}function N(e,r,n){const o=e.currentTarget;if(!(o instanceof HTMLElement))return null;const a=o.getBoundingClientRect(),c=e.clientY-a.top,i=ca.height*2/3?v.After:v.Child;return A(r,n.id)||n.children===void 0&&i===v.Child?null:i}function xe(e,r,n){const[o,a]=t.useState(!1),[c,i]=t.useState(0),[s,u]=t.useState(0);return{handlePointerDown:t.useMemo(()=>Q({onMove:(l,g,f)=>{if(l.pointerType!=="touch")return l.preventDefault(),f?(a(!0),i(l.pageX),u(l.pageY),!0):(e(),!0)},onUp:()=>{a(!1),r()}}),[e,r]),shadow:o&&K.createPortal(d.jsx("div",{style:{position:"absolute",pointerEvents:"none",display:"flex",left:`${c}px`,top:`${s}px`,opacity:"0.5",boxSizing:"border-box"},children:n}),document.body)}}function P({depth:e=0,updateIndicator:r=N,...n}){var R;const o=n.render,{treeId:a,setIsDragging:c}=t.useContext(L),i=t.useRef(null),{map:s}=t.useContext(D),[u,m]=t.useState(!0),{handlePointerDown:l,shadow:g}=xe(()=>{c(n.item.id)},()=>{},(R=n.shadowRender)==null?void 0:R.call(n,{item:n.item,depth:e,open:!1,onOpenChange:()=>{}})),f=t.useCallback(x=>{var p,b;if(!a)return;const h=s.get(a);if(!h)return;const y=r(x,h.item,n.item);(p=n.onOrderChange)==null||p.call(n,a,n.item.id,y),c(null),i.current&&((b=n.onUpdateIndicator)==null||b.call(n,i.current,null,e))},[e,s,n.item,n.onOrderChange,n.onUpdateIndicator,c,a,r]),M=t.useCallback(x=>{var p;if(!a)return;const h=s.get(a);if(!h)return;const y=N(x,h.item,n.item);i.current&&((p=n.onUpdateIndicator)==null||p.call(n,i.current,y,e))},[e,s,n.item,n.onUpdateIndicator,a]),I=t.useMemo(()=>()=>{n.onItemSelect(n.item)},[n.onItemSelect,n.item]);return d.jsxs(d.Fragment,{children:[d.jsxs("li",{onPointerUp:f,onPointerDown:l,onPointerMove:M,ref:i,className:"cmpui_tree-view__item",onClick:I,children:[d.jsx(o,{item:n.item,onOpenChange:m,open:u,depth:e}),g]}),n.item.children&&u&&d.jsx("li",{className:"cmpui_tree-view__item-dir",children:d.jsx("ol",{className:"cmpui_tree-view__item-dir-ol",children:n.item.children.map(x=>d.jsx(P,{updateIndicator:r,render:n.render,shadowRender:n.shadowRender,onOrderChange:n.onOrderChange,onUpdateIndicator:n.onUpdateIndicator,depth:e+1,item:x,isSelected:n.isSelected,onItemSelect:n.onItemSelect},x.id))})})]})}P.__docgenInfo={description:"",methods:[],displayName:"TreeViewItem",props:{depth:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"0",computed:!1}},isSelected:{required:!0,tsType:{name:"boolean"},description:""},item:{required:!0,tsType:{name:"T"},description:""},onItemSelect:{required:!0,tsType:{name:"signature",type:"function",raw:"(item: T) => void",signature:{arguments:[{type:{name:"T"},name:"item"}],return:{name:"void"}}},description:""},onOrderChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(src: string, dist: string, type: OrderType | null) => void",signature:{arguments:[{type:{name:"string"},name:"src"},{type:{name:"string"},name:"dist"},{type:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]},name:"type"}],return:{name:"void"}}},description:""},onUpdateIndicator:{required:!1,tsType:{name:"signature",type:"function",raw:`( + el: HTMLLIElement, + type: OrderType | null, + depth: number, +) => void`,signature:{arguments:[{type:{name:"HTMLLIElement"},name:"el"},{type:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]},name:"type"},{type:{name:"number"},name:"depth"}],return:{name:"void"}}},description:""},render:{required:!0,tsType:{name:"signature",type:"function",raw:"(props: RenderProps) => React.ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ + depth: number; + item: T; + onOpenChange: (isOpen: boolean) => void; + open: boolean; +}`,signature:{properties:[{key:"depth",value:{name:"number",required:!0}},{key:"item",value:{name:"T",required:!0}},{key:"onOpenChange",value:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}},required:!0}},{key:"open",value:{name:"boolean",required:!0}}]}},name:"props"}],return:{name:"ReactReactNode",raw:"React.ReactNode"}}},description:""},shadowRender:{required:!1,tsType:{name:"signature",type:"function",raw:"(props: RenderProps) => React.ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ + depth: number; + item: T; + onOpenChange: (isOpen: boolean) => void; + open: boolean; +}`,signature:{properties:[{key:"depth",value:{name:"number",required:!0}},{key:"item",value:{name:"T",required:!0}},{key:"onOpenChange",value:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}},required:!0}},{key:"open",value:{name:"boolean",required:!0}}]}},name:"props"}],return:{name:"ReactReactNode",raw:"React.ReactNode"}}},description:""},updateIndicator:{required:!1,tsType:{name:"signature",type:"function",raw:`( + e: React.PointerEvent, + srcItem: ITree, + distItem: ITree, +) => OrderType | null`,signature:{arguments:[{type:{name:"ReactPointerEvent",raw:"React.PointerEvent",elements:[{name:"HTMLLIElement"}]},name:"e"},{type:{name:"signature",type:"object",raw:`{ + id: string; + children?: ITree[]; +}`,signature:{properties:[{key:"id",value:{name:"string",required:!0}},{key:"children",value:{name:"Array",elements:[{name:"ITree"}],raw:"ITree[]",required:!1}}]}},name:"srcItem"},{type:{name:"signature",type:"object",raw:`{ + id: string; + children?: ITree[]; +}`,signature:{properties:[{key:"id",value:{name:"string",required:!0}},{key:"children",value:{name:"Array",elements:[{name:"ITree"}],raw:"ITree[]",required:!1}}]}},name:"distItem"}],return:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]}}},description:"",defaultValue:{value:`function defaultIndicatorUpdate( + e: React.PointerEvent, + srcItem: ITree, + distItem: ITree, +): OrderType | null { + const el = e.currentTarget; + if (!(el instanceof HTMLElement)) return null; + const rect = el.getBoundingClientRect(); + const y = e.clientY - rect.top; + + const orderType = + y < rect.height / 3 + ? OrderType.Before + : y > (rect.height * 2) / 3 + ? OrderType.After + : OrderType.Child; + + if (inChildren(srcItem, distItem.id)) { + return null; + } + + if (distItem.children === undefined && orderType === OrderType.Child) { + return null; + } + + return orderType; +}`,computed:!1}}}};function be(e){const[r,n]=t.useState(null),[o,a]=t.useState(null),c=t.useMemo(()=>{const h=new Map,y=(p,b)=>{var T;h.set(p.id,{item:p,parentId:b}),(T=p.children)==null||T.forEach(O=>y(O,p.id))};return e.items.forEach(p=>y(p)),h},[e.items]),[i,s]=t.useState(0),[u,m]=t.useState(0),[l,g]=t.useState(0),[f,M]=t.useState(0),[I,R]=t.useState(null),x=t.useRef(null);return d.jsx(D.Provider,{value:{map:c},children:d.jsx(L.Provider,{value:{treeId:o,setIsDragging:a},children:d.jsxs("div",{className:"cmpui_tree-view__root",ref:x,children:[d.jsx("ol",{className:"cmpui_tree-view__ol",children:e.items.map(h=>d.jsx(P,{item:h,isSelected:r===h,onItemSelect:y=>{n(y)},shadowRender:e.shadowRender,render:e.render,onOrderChange:e.onOrderChange,updateIndicator:e.updateIndicator,onUpdateIndicator:(y,p)=>{var q;const b=(q=x.current)==null?void 0:q.getBoundingClientRect();if(!b)return;const T=y.getBoundingClientRect(),O=y.firstElementChild;if(!O)return;const E=parseInt(getComputedStyle(O).paddingLeft);s(E),M(T.width-E),p===v.Child?(m(T.top-b.top),g(T.height)):p===v.Before?(m(T.top-b.top),g(4)):(m(T.top-b.top+T.height-4),g(4)),R(p)}},h.id))}),I!==null&&d.jsx("div",{className:"cmpui_tree-view__drag-indicator","data-order":I,style:{left:i,top:u,width:f,height:l}})]})})})}be.__docgenInfo={description:"",methods:[],displayName:"TreeView",props:{items:{required:!0,tsType:{name:"Array",elements:[{name:"T"}],raw:"T[]"},description:""},onOrderChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(src: string, dist: string, type: OrderType | null) => void",signature:{arguments:[{type:{name:"string"},name:"src"},{type:{name:"string"},name:"dist"},{type:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]},name:"type"}],return:{name:"void"}}},description:""},render:{required:!0,tsType:{name:"signature",type:"function",raw:"(props: RenderProps) => React.ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ + depth: number; + item: T; + onOpenChange: (isOpen: boolean) => void; + open: boolean; +}`,signature:{properties:[{key:"depth",value:{name:"number",required:!0}},{key:"item",value:{name:"T",required:!0}},{key:"onOpenChange",value:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}},required:!0}},{key:"open",value:{name:"boolean",required:!0}}]}},name:"props"}],return:{name:"ReactReactNode",raw:"React.ReactNode"}}},description:""},shadowRender:{required:!1,tsType:{name:"signature",type:"function",raw:"(props: RenderProps) => React.ReactNode",signature:{arguments:[{type:{name:"signature",type:"object",raw:`{ + depth: number; + item: T; + onOpenChange: (isOpen: boolean) => void; + open: boolean; +}`,signature:{properties:[{key:"depth",value:{name:"number",required:!0}},{key:"item",value:{name:"T",required:!0}},{key:"onOpenChange",value:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}},required:!0}},{key:"open",value:{name:"boolean",required:!0}}]}},name:"props"}],return:{name:"ReactReactNode",raw:"React.ReactNode"}}},description:""},updateIndicator:{required:!1,tsType:{name:"signature",type:"function",raw:`( + e: React.PointerEvent, + srcItem: ITree, + distItem: ITree, +) => OrderType | null`,signature:{arguments:[{type:{name:"ReactPointerEvent",raw:"React.PointerEvent",elements:[{name:"HTMLLIElement"}]},name:"e"},{type:{name:"signature",type:"object",raw:`{ + id: string; + children?: ITree[]; +}`,signature:{properties:[{key:"id",value:{name:"string",required:!0}},{key:"children",value:{name:"Array",elements:[{name:"ITree"}],raw:"ITree[]",required:!1}}]}},name:"srcItem"},{type:{name:"signature",type:"object",raw:`{ + id: string; + children?: ITree[]; +}`,signature:{properties:[{key:"id",value:{name:"string",required:!0}},{key:"children",value:{name:"Array",elements:[{name:"ITree"}],raw:"ITree[]",required:!1}}]}},name:"distItem"}],return:{name:"union",raw:"OrderType | null",elements:[{name:"OrderType"},{name:"null"}]}}},description:""}}};export{ge as C,v as O,be as T,he as a,ye as b,Q as c,A as i}; diff --git a/assets/index-wq2dZbDE.js b/assets/index-wq2dZbDE.js deleted file mode 100644 index 52c9556..0000000 --- a/assets/index-wq2dZbDE.js +++ /dev/null @@ -1 +0,0 @@ -import{r}from"./index-OjgoNOWw.js";import{_ as y,a as z,$ as T}from"./index-Eok78svH.js";import{r as I,R as K}from"./index-mQqIOHEI.js";function C(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function ce(e,t=[]){let n=[];function o(i,l){const c=r.createContext(l),u=n.length;n=[...n,l];function a(d){const{scope:$,children:b,...m}=d,O=($==null?void 0:$[e][u])||c,h=r.useMemo(()=>m,Object.values(m));return r.createElement(O.Provider,{value:h},b)}function f(d,$){const b=($==null?void 0:$[e][u])||c,m=r.useContext(b);if(m)return m;if(l!==void 0)return l;throw new Error(`\`${d}\` must be used within \`${i}\``)}return a.displayName=i+"Provider",[a,f]}const s=()=>{const i=n.map(l=>r.createContext(l));return function(c){const u=(c==null?void 0:c[e])||i;return r.useMemo(()=>({[`__scope${e}`]:{...c,[e]:u}}),[c,u])}};return s.scopeName=e,[o,j(s,...t)]}function j(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const o=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const l=o.reduce((c,{useScope:u,scopeName:a})=>{const d=u(i)[`__scope${a}`];return{...c,...d}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}const X=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],N=X.reduce((e,t)=>{const n=r.forwardRef((o,s)=>{const{asChild:i,...l}=o,c=i?z:t;return r.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),r.createElement(c,y({},l,{ref:s}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function q(e,t){e&&I.flushSync(()=>e.dispatchEvent(t))}function p(e){const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...n)=>{var o;return(o=t.current)===null||o===void 0?void 0:o.call(t,...n)},[])}function G(e,t=globalThis==null?void 0:globalThis.document){const n=p(e);r.useEffect(()=>{const o=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",o),()=>t.removeEventListener("keydown",o)},[n,t])}const x="dismissableLayer.update",J="dismissableLayer.pointerDownOutside",Q="dismissableLayer.focusOutside";let L;const U=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Y=r.forwardRef((e,t)=>{var n;const{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:c,onDismiss:u,...a}=e,f=r.useContext(U),[d,$]=r.useState(null),b=(n=d==null?void 0:d.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,m]=r.useState({}),O=T(t,v=>$(v)),h=Array.from(f.layers),[k]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),F=h.indexOf(k),D=d?h.indexOf(d):-1,B=f.layersWithOutsidePointerEventsDisabled.size>0,w=D>=F,W=H(v=>{const E=v.target,R=[...f.branches].some(g=>g.contains(E));!w||R||(i==null||i(v),c==null||c(v),v.defaultPrevented||u==null||u())},b),S=V(v=>{const E=v.target;[...f.branches].some(g=>g.contains(E))||(l==null||l(v),c==null||c(v),v.defaultPrevented||u==null||u())},b);return G(v=>{D===f.layers.size-1&&(s==null||s(v),!v.defaultPrevented&&u&&(v.preventDefault(),u()))},b),r.useEffect(()=>{if(d)return o&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(L=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(d)),f.layers.add(d),A(),()=>{o&&f.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=L)}},[d,b,o,f]),r.useEffect(()=>()=>{d&&(f.layers.delete(d),f.layersWithOutsidePointerEventsDisabled.delete(d),A())},[d,f]),r.useEffect(()=>{const v=()=>m({});return document.addEventListener(x,v),()=>document.removeEventListener(x,v)},[]),r.createElement(N.div,y({},a,{ref:O,style:{pointerEvents:B?w?"auto":"none":void 0,...e.style},onFocusCapture:C(e.onFocusCapture,S.onFocusCapture),onBlurCapture:C(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:C(e.onPointerDownCapture,W.onPointerDownCapture)}))}),Z=r.forwardRef((e,t)=>{const n=r.useContext(U),o=r.useRef(null),s=T(t,o);return r.useEffect(()=>{const i=o.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),r.createElement(N.div,y({},e,{ref:s}))});function H(e,t=globalThis==null?void 0:globalThis.document){const n=p(e),o=r.useRef(!1),s=r.useRef(()=>{});return r.useEffect(()=>{const i=c=>{if(c.target&&!o.current){let a=function(){M(J,n,u,{discrete:!0})};const u={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=a,t.addEventListener("click",s.current,{once:!0})):a()}else t.removeEventListener("click",s.current);o.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}function V(e,t=globalThis==null?void 0:globalThis.document){const n=p(e),o=r.useRef(!1);return r.useEffect(()=>{const s=i=>{i.target&&!o.current&&M(Q,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}function A(){const e=new CustomEvent(x);document.dispatchEvent(e)}function M(e,t,n,{discrete:o}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),o?q(s,i):s.dispatchEvent(i)}const ae=Y,ue=Z,_=globalThis!=null&&globalThis.document?r.useLayoutEffect:()=>{},de=r.forwardRef((e,t)=>{var n;const{container:o=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...s}=e;return o?K.createPortal(r.createElement(N.div,y({},s,{ref:t})),o):null});function ee(e,t){return r.useReducer((n,o)=>{const s=t[n][o];return s??n},e)}const te=e=>{const{present:t,children:n}=e,o=ne(t),s=typeof n=="function"?n({present:o.isPresent}):r.Children.only(n),i=T(o.ref,s.ref);return typeof n=="function"||o.isPresent?r.cloneElement(s,{ref:i}):null};te.displayName="Presence";function ne(e){const[t,n]=r.useState(),o=r.useRef({}),s=r.useRef(e),i=r.useRef("none"),l=e?"mounted":"unmounted",[c,u]=ee(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const a=P(o.current);i.current=c==="mounted"?a:"none"},[c]),_(()=>{const a=o.current,f=s.current;if(f!==e){const $=i.current,b=P(a);e?u("MOUNT"):b==="none"||(a==null?void 0:a.display)==="none"?u("UNMOUNT"):u(f&&$!==b?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,u]),_(()=>{if(t){const a=d=>{const b=P(o.current).includes(d.animationName);d.target===t&&b&&I.flushSync(()=>u("ANIMATION_END"))},f=d=>{d.target===t&&(i.current=P(o.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",a),t.addEventListener("animationend",a),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",a),t.removeEventListener("animationend",a)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(a=>{a&&(o.current=getComputedStyle(a)),n(a)},[])}}function P(e){return(e==null?void 0:e.animationName)||"none"}function le({prop:e,defaultProp:t,onChange:n=()=>{}}){const[o,s]=oe({defaultProp:t,onChange:n}),i=e!==void 0,l=i?e:o,c=p(n),u=r.useCallback(a=>{if(i){const d=typeof a=="function"?a(e):a;d!==e&&c(d)}else s(a)},[i,e,s,c]);return[l,u]}function oe({defaultProp:e,onChange:t}){const n=r.useState(e),[o]=n,s=r.useRef(o),i=p(t);return r.useEffect(()=>{s.current!==o&&(i(o),s.current=o)},[o,s,i]),n}export{ce as $,N as a,le as b,C as c,ue as d,te as e,p as f,ae as g,de as h,q as i,_ as j,Y as k}; diff --git a/assets/index-vOUEYDQ3.js b/assets/index-x7ZWNYQl.js similarity index 95% rename from assets/index-vOUEYDQ3.js rename to assets/index-x7ZWNYQl.js index 032e36c..0691a7c 100644 --- a/assets/index-vOUEYDQ3.js +++ b/assets/index-x7ZWNYQl.js @@ -1 +1 @@ -import{j as v}from"./jsx-runtime-DtaoT6pD.js";import{r as N,R as H}from"./index-OjgoNOWw.js";import{m as L}from"./mergeRefs-mmWAE0a7.js";import{c as T}from"./createDragHandler-nJMxlNVC.js";import{p as d}from"./px-FpDDCCze.js";function Y(P,n,e,u,i){const a=N.useRef(null),o=N.useRef([]),w=N.useRef(0),E=T({onDown:m=>{const l=w.current,t=a.current,r=o.current[l],_=o.current[l+1];if(t==null||r==null||_==null)return;const x=r.getBoundingClientRect(),p=_.getBoundingClientRect(),c=m.clientX;return{i:l,startX:c,startY:m.clientY,leftRect:x,rightRect:p}},onMove:(m,l)=>{var B,G;if(l===void 0)return;const t=l.i,r=P==="horizontal"?m.clientX-l.startX:m.clientY-l.startY,_=o.current[t],x=o.current[t+1];let p=0,c=0,s=0;if(_===void 0||x===void 0)return;P==="horizontal"?(p=((B=a.current)==null?void 0:B.getBoundingClientRect().width)??0,c=l.leftRect.width,s=l.rightRect.width):(p=((G=a.current)==null?void 0:G.getBoundingClientRect().height)??0,c=l.leftRect.height,s=l.rightRect.height);let g=-Number.MAX_SAFE_INTEGER;u[t].includes("px")?g=parseInt(u[t]):u[t].includes("%")&&(g=parseInt(u[t])/100*p);let j=Number.MAX_SAFE_INTEGER;e[t].includes("px")?j=parseInt(e[t]):e[t].includes("%")&&(j=parseInt(e[t])/100*p);const f=[...n],b=c+r;let I=r;if(bj){I=j-c,f[t]=d(c+I),f[t+1]=d(s-I),i==null||i(f);return}let D=-Number.MAX_SAFE_INTEGER;u[t+1].includes("px")?D=parseInt(u[t+1]):u[t+1].includes("%")&&(D=parseInt(u[t+1])/100*p);let F=Number.MAX_SAFE_INTEGER;e[t+1].includes("px")?F=parseInt(e[t+1]):e[t+1].includes("%")&&(F=parseInt(e[t+1])/100*p);const M=s-r;let A=-r;if(MF){A=s-F,f[t]=d(c+A),f[t+1]=d(s-A),i==null||i(f);return}f[t]=d(c+r),f[t+1]=d(s-r),i==null||i(f)}}),X=N.useCallback(m=>l=>{w.current=m,E(l)},[E]);return{rootRef:a,refs:o,handlePointerDownForRef:X}}const R=N.forwardRef(function({children:n,type:e,onChangeRates:u,...i},a){let o=i.sizes??Array((n==null?void 0:n.length)??0).fill("100%");o.length<((n==null?void 0:n.length)??0)&&(o=o.concat(Array(((n==null?void 0:n.length)??0)-o.length).fill("100%")));const w=i.minSizes??Array(o.length).fill("auto"),E=i.maxSizes??Array(o.length).fill("auto"),{rootRef:X,refs:m,handlePointerDownForRef:l}=Y(e,o,E,w,t=>{u==null||u(t)});return v.jsx(v.Fragment,{children:v.jsx("div",{ref:L(X,a),className:"cmpui_split-pane__root","data-orientation":e,children:(n==null?void 0:n.map((t,r)=>v.jsxs(H.Fragment,{children:[v.jsx("div",{ref:_=>{_!==null&&(m.current[r]=_)},className:"cmpui_split-pane__child",style:{width:e==="horizontal"?o[r]:"100%",height:e==="vertical"?o[r]:"100%",minWidth:e==="horizontal"?w[r]:void 0,minHeight:e==="vertical"?w[r]:void 0,maxWidth:e==="horizontal"?E[r]:void 0,maxHeight:e==="vertical"?E[r]:void 0},children:t}),r!==n.length-1&&v.jsx("div",{className:"cmpui_split-pane__divider","data-orientation":e,"data-resizable":u!=null,children:v.jsx("div",{onPointerDown:l(r)})})]},`${r}`)))??null})})});R.__docgenInfo={description:"",methods:[],displayName:"SplitPane"};export{R as S}; +import{j as v}from"./jsx-runtime-DvLKfCe6.js";import{r as N,R as H}from"./index-aXz8NaAs.js";import{m as L}from"./mergeRefs-mmWAE0a7.js";import{c as T}from"./createDragHandler-nJMxlNVC.js";import{p as d}from"./px-FpDDCCze.js";function Y(P,n,e,u,i){const a=N.useRef(null),o=N.useRef([]),w=N.useRef(0),E=T({onDown:m=>{const l=w.current,t=a.current,r=o.current[l],_=o.current[l+1];if(t==null||r==null||_==null)return;const x=r.getBoundingClientRect(),p=_.getBoundingClientRect(),c=m.clientX;return{i:l,startX:c,startY:m.clientY,leftRect:x,rightRect:p}},onMove:(m,l)=>{var B,G;if(l===void 0)return;const t=l.i,r=P==="horizontal"?m.clientX-l.startX:m.clientY-l.startY,_=o.current[t],x=o.current[t+1];let p=0,c=0,s=0;if(_===void 0||x===void 0)return;P==="horizontal"?(p=((B=a.current)==null?void 0:B.getBoundingClientRect().width)??0,c=l.leftRect.width,s=l.rightRect.width):(p=((G=a.current)==null?void 0:G.getBoundingClientRect().height)??0,c=l.leftRect.height,s=l.rightRect.height);let g=-Number.MAX_SAFE_INTEGER;u[t].includes("px")?g=parseInt(u[t]):u[t].includes("%")&&(g=parseInt(u[t])/100*p);let j=Number.MAX_SAFE_INTEGER;e[t].includes("px")?j=parseInt(e[t]):e[t].includes("%")&&(j=parseInt(e[t])/100*p);const f=[...n],b=c+r;let I=r;if(bj){I=j-c,f[t]=d(c+I),f[t+1]=d(s-I),i==null||i(f);return}let D=-Number.MAX_SAFE_INTEGER;u[t+1].includes("px")?D=parseInt(u[t+1]):u[t+1].includes("%")&&(D=parseInt(u[t+1])/100*p);let F=Number.MAX_SAFE_INTEGER;e[t+1].includes("px")?F=parseInt(e[t+1]):e[t+1].includes("%")&&(F=parseInt(e[t+1])/100*p);const M=s-r;let A=-r;if(MF){A=s-F,f[t]=d(c+A),f[t+1]=d(s-A),i==null||i(f);return}f[t]=d(c+r),f[t+1]=d(s-r),i==null||i(f)}}),X=N.useCallback(m=>l=>{w.current=m,E(l)},[E]);return{rootRef:a,refs:o,handlePointerDownForRef:X}}const R=N.forwardRef(function({children:n,type:e,onChangeRates:u,...i},a){let o=i.sizes??Array((n==null?void 0:n.length)??0).fill("100%");o.length<((n==null?void 0:n.length)??0)&&(o=o.concat(Array(((n==null?void 0:n.length)??0)-o.length).fill("100%")));const w=i.minSizes??Array(o.length).fill("auto"),E=i.maxSizes??Array(o.length).fill("auto"),{rootRef:X,refs:m,handlePointerDownForRef:l}=Y(e,o,E,w,t=>{u==null||u(t)});return v.jsx(v.Fragment,{children:v.jsx("div",{ref:L(X,a),className:"cmpui_split-pane__root","data-orientation":e,children:(n==null?void 0:n.map((t,r)=>v.jsxs(H.Fragment,{children:[v.jsx("div",{ref:_=>{_!==null&&(m.current[r]=_)},className:"cmpui_split-pane__child",style:{width:e==="horizontal"?o[r]:"100%",height:e==="vertical"?o[r]:"100%",minWidth:e==="horizontal"?w[r]:void 0,minHeight:e==="vertical"?w[r]:void 0,maxWidth:e==="horizontal"?E[r]:void 0,maxHeight:e==="vertical"?E[r]:void 0},children:t}),r!==n.length-1&&v.jsx("div",{className:"cmpui_split-pane__divider","data-orientation":e,"data-resizable":u!=null,children:v.jsx("div",{onPointerDown:l(r)})})]},`${r}`)))??null})})});R.__docgenInfo={description:"",methods:[],displayName:"SplitPane"};export{R as S}; diff --git a/assets/index-14PbI9Yx.js b/assets/index-xX_uHqPz.js similarity index 89% rename from assets/index-14PbI9Yx.js rename to assets/index-xX_uHqPz.js index da41a6d..ec6b3ee 100644 --- a/assets/index-14PbI9Yx.js +++ b/assets/index-xX_uHqPz.js @@ -1 +1 @@ -import{j as o}from"./jsx-runtime-DtaoT6pD.js";import{r as l}from"./index-OjgoNOWw.js";import{c as d}from"./classNames-pTwYsIK_.js";const u=l.forwardRef(function({as:e="li",children:a,className:s,rounded:t,size:n="M",...i},m){return o.jsx(e,{className:d("cmpui_list-item__root",s),ref:m,"aria-selected":i.selected,"data-size":n,"data-rounded":t,...i,children:a})}),c=l.forwardRef(({className:r,children:e,as:a="ul",...s},t)=>o.jsx(a,{className:d("cmpui_list-list__root",r),ref:t,...s,children:e}));u.__docgenInfo={description:"",methods:[],displayName:"ListItem",props:{as:{required:!1,tsType:{name:"T"},description:"",defaultValue:{value:'"li"',computed:!1}},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""},rounded:{required:!1,tsType:{name:"boolean"},description:""},selected:{required:!1,tsType:{name:"boolean"},description:""},size:{required:!1,tsType:{name:"union",raw:'"S" | "M"',elements:[{name:"literal",value:'"S"'},{name:"literal",value:'"M"'}]},description:"",defaultValue:{value:'"M"',computed:!1}}}};c.__docgenInfo={description:"",methods:[],displayName:"List",props:{as:{defaultValue:{value:'"ul"',computed:!1},required:!1}}};export{u as L,c as a}; +import{j as o}from"./jsx-runtime-DvLKfCe6.js";import{r as l}from"./index-aXz8NaAs.js";import{c as d}from"./classNames-pTwYsIK_.js";const u=l.forwardRef(function({as:e="li",children:a,className:s,rounded:t,size:n="M",...i},m){return o.jsx(e,{className:d("cmpui_list-item__root",s),ref:m,"aria-selected":i.selected,"data-size":n,"data-rounded":t,...i,children:a})}),c=l.forwardRef(({className:r,children:e,as:a="ul",...s},t)=>o.jsx(a,{className:d("cmpui_list-list__root",r),ref:t,...s,children:e}));u.__docgenInfo={description:"",methods:[],displayName:"ListItem",props:{as:{required:!1,tsType:{name:"T"},description:"",defaultValue:{value:'"li"',computed:!1}},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""},rounded:{required:!1,tsType:{name:"boolean"},description:""},selected:{required:!1,tsType:{name:"boolean"},description:""},size:{required:!1,tsType:{name:"union",raw:'"S" | "M"',elements:[{name:"literal",value:'"S"'},{name:"literal",value:'"M"'}]},description:"",defaultValue:{value:'"M"',computed:!1}}}};c.__docgenInfo={description:"",methods:[],displayName:"List",props:{as:{defaultValue:{value:'"ul"',computed:!1},required:!1}}};export{u as L,c as a}; diff --git a/assets/index-xx6ZF_mx.js b/assets/index-xx6ZF_mx.js new file mode 100644 index 0000000..d99abb8 --- /dev/null +++ b/assets/index-xx6ZF_mx.js @@ -0,0 +1 @@ +import{j as D}from"./jsx-runtime-DvLKfCe6.js";import{_ as C}from"./extends-dGVwEr9R.js";import{r as t}from"./index-aXz8NaAs.js";import{r as ue}from"./index-n3prD_Ok.js";import{$ as pe,a as ee,g as fe,c as A,d as be,h as me,i as j,f as g,j as $e,k as we,l as Te,m as ve}from"./index-M7H33-mE.js";import{$ as Ee}from"./index-MW3rGVG_.js";import{$ as te}from"./index-K1fIJHIl.js";import{F as xe}from"./index-D9RaxIjz.js";const oe="ToastProvider",[G,ye,ge]=Ee("Toast"),[ne,at]=pe("Toast",[ge]),[Ce,W]=ne(oe),re=e=>{const{__scopeToast:n,label:r="Notification",duration:o=5e3,swipeDirection:i="right",swipeThreshold:u=50,children:p}=e,[f,b]=t.useState(null),[a,x]=t.useState(0),v=t.useRef(!1),O=t.useRef(!1);return t.createElement(G.Provider,{scope:n},t.createElement(Ce,{scope:n,label:r,duration:o,swipeDirection:i,swipeThreshold:u,toastCount:a,viewport:f,onViewportChange:b,onToastAdd:t.useCallback(()=>x(P=>P+1),[]),onToastRemove:t.useCallback(()=>x(P=>P-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:O},p))};re.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const n=`Invalid prop \`label\` supplied to \`${oe}\`. Expected non-empty \`string\`.`;return new Error(n)}return null}};const he="ToastViewport",Re=["F8"],B="toast.viewportPause",z="toast.viewportResume",Pe=t.forwardRef((e,n)=>{const{__scopeToast:r,hotkey:o=Re,label:i="Notifications ({hotkey})",...u}=e,p=W(he,r),f=ye(r),b=t.useRef(null),a=t.useRef(null),x=t.useRef(null),v=t.useRef(null),O=ee(n,v,p.onViewportChange),P=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),_=p.toastCount>0;t.useEffect(()=>{const c=E=>{var l;o.every($=>E[$]||E.code===$)&&((l=v.current)===null||l===void 0||l.focus())};return document.addEventListener("keydown",c),()=>document.removeEventListener("keydown",c)},[o]),t.useEffect(()=>{const c=b.current,E=v.current;if(_&&c&&E){const l=()=>{if(!p.isClosePausedRef.current){const T=new CustomEvent(B);E.dispatchEvent(T),p.isClosePausedRef.current=!0}},m=()=>{if(p.isClosePausedRef.current){const T=new CustomEvent(z);E.dispatchEvent(T),p.isClosePausedRef.current=!1}},$=T=>{!c.contains(T.relatedTarget)&&m()},w=()=>{c.contains(document.activeElement)||m()};return c.addEventListener("focusin",l),c.addEventListener("focusout",$),c.addEventListener("pointermove",l),c.addEventListener("pointerleave",w),window.addEventListener("blur",l),window.addEventListener("focus",m),()=>{c.removeEventListener("focusin",l),c.removeEventListener("focusout",$),c.removeEventListener("pointermove",l),c.removeEventListener("pointerleave",w),window.removeEventListener("blur",l),window.removeEventListener("focus",m)}}},[_,p.isClosePausedRef]);const d=t.useCallback(({tabbingDirection:c})=>{const l=f().map(m=>{const $=m.ref.current,w=[$,...He($)];return c==="forwards"?w:w.reverse()});return(c==="forwards"?l.reverse():l).flat()},[f]);return t.useEffect(()=>{const c=v.current;if(c){const E=l=>{const m=l.altKey||l.ctrlKey||l.metaKey;if(l.key==="Tab"&&!m){const N=document.activeElement,F=l.shiftKey;if(l.target===c&&F){var w;(w=a.current)===null||w===void 0||w.focus();return}const S=d({tabbingDirection:F?"backwards":"forwards"}),k=S.findIndex(s=>s===N);if(Y(S.slice(k+1)))l.preventDefault();else{var T,h;F?(T=a.current)===null||T===void 0||T.focus():(h=x.current)===null||h===void 0||h.focus()}}};return c.addEventListener("keydown",E),()=>c.removeEventListener("keydown",E)}},[f,d]),t.createElement(fe,{ref:b,role:"region","aria-label":i.replace("{hotkey}",P),tabIndex:-1,style:{pointerEvents:_?void 0:"none"}},_&&t.createElement(Q,{ref:a,onFocusFromOutsideViewport:()=>{const c=d({tabbingDirection:"forwards"});Y(c)}}),t.createElement(G.Slot,{scope:r},t.createElement(A.ol,C({tabIndex:-1},u,{ref:O}))),_&&t.createElement(Q,{ref:x,onFocusFromOutsideViewport:()=>{const c=d({tabbingDirection:"backwards"});Y(c)}}))}),_e="ToastFocusProxy",Q=t.forwardRef((e,n)=>{const{__scopeToast:r,onFocusFromOutsideViewport:o,...i}=e,u=W(_e,r);return t.createElement(te,C({"aria-hidden":!0,tabIndex:0},i,{ref:n,style:{position:"fixed"},onFocus:p=>{var f;const b=p.relatedTarget;!((f=u.viewport)!==null&&f!==void 0&&f.contains(b))&&o()}}))}),H="Toast",Se="toast.swipeStart",De="toast.swipeMove",Fe="toast.swipeCancel",Ie="toast.swipeEnd",Ae=t.forwardRef((e,n)=>{const{forceMount:r,open:o,defaultOpen:i,onOpenChange:u,...p}=e,[f=!0,b]=be({prop:o,defaultProp:i,onChange:u});return t.createElement(me,{present:r||f},t.createElement(se,C({open:f},p,{ref:n,onClose:()=>b(!1),onPause:j(e.onPause),onResume:j(e.onResume),onSwipeStart:g(e.onSwipeStart,a=>{a.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:g(e.onSwipeMove,a=>{const{x,y:v}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","move"),a.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:g(e.onSwipeCancel,a=>{a.currentTarget.setAttribute("data-swipe","cancel"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:g(e.onSwipeEnd,a=>{const{x,y:v}=a.detail.delta;a.currentTarget.setAttribute("data-swipe","end"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),a.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),a.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${x}px`),a.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),b(!1)})})))}),[Oe,Ne]=ne(H,{onClose(){}}),se=t.forwardRef((e,n)=>{const{__scopeToast:r,type:o="foreground",duration:i,open:u,onClose:p,onEscapeKeyDown:f,onPause:b,onResume:a,onSwipeStart:x,onSwipeMove:v,onSwipeCancel:O,onSwipeEnd:P,..._}=e,d=W(H,r),[c,E]=t.useState(null),l=ee(n,s=>E(s)),m=t.useRef(null),$=t.useRef(null),w=i||d.duration,T=t.useRef(0),h=t.useRef(w),N=t.useRef(0),{onToastAdd:F,onToastRemove:U}=d,I=j(()=>{var s;(c==null?void 0:c.contains(document.activeElement))&&((s=d.viewport)===null||s===void 0||s.focus()),p()}),S=t.useCallback(s=>{!s||s===1/0||(window.clearTimeout(N.current),T.current=new Date().getTime(),N.current=window.setTimeout(I,s))},[I]);t.useEffect(()=>{const s=d.viewport;if(s){const y=()=>{S(h.current),a==null||a()},R=()=>{const L=new Date().getTime()-T.current;h.current=h.current-L,window.clearTimeout(N.current),b==null||b()};return s.addEventListener(B,R),s.addEventListener(z,y),()=>{s.removeEventListener(B,R),s.removeEventListener(z,y)}}},[d.viewport,w,b,a,S]),t.useEffect(()=>{u&&!d.isClosePausedRef.current&&S(w)},[u,w,d.isClosePausedRef,S]),t.useEffect(()=>(F(),()=>U()),[F,U]);const k=t.useMemo(()=>c?ie(c):null,[c]);return d.viewport?t.createElement(t.Fragment,null,k&&t.createElement(Le,{__scopeToast:r,role:"status","aria-live":o==="foreground"?"assertive":"polite","aria-atomic":!0},k),t.createElement(Oe,{scope:r,onClose:I},ue.createPortal(t.createElement(G.ItemSlot,{scope:r},t.createElement($e,{asChild:!0,onEscapeKeyDown:g(f,()=>{d.isFocusedToastEscapeKeyDownRef.current||I(),d.isFocusedToastEscapeKeyDownRef.current=!1})},t.createElement(A.li,C({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":u?"open":"closed","data-swipe-direction":d.swipeDirection},_,{ref:l,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:g(e.onKeyDown,s=>{s.key==="Escape"&&(f==null||f(s.nativeEvent),s.nativeEvent.defaultPrevented||(d.isFocusedToastEscapeKeyDownRef.current=!0,I()))}),onPointerDown:g(e.onPointerDown,s=>{s.button===0&&(m.current={x:s.clientX,y:s.clientY})}),onPointerMove:g(e.onPointerMove,s=>{if(!m.current)return;const y=s.clientX-m.current.x,R=s.clientY-m.current.y,L=!!$.current,M=["left","right"].includes(d.swipeDirection),K=["left","up"].includes(d.swipeDirection)?Math.min:Math.max,de=M?K(0,y):0,le=M?0:K(0,R),X=s.pointerType==="touch"?10:2,V={x:de,y:le},J={originalEvent:s,delta:V};L?($.current=V,q(De,v,J,{discrete:!1})):Z(V,d.swipeDirection,X)?($.current=V,q(Se,x,J,{discrete:!1}),s.target.setPointerCapture(s.pointerId)):(Math.abs(y)>X||Math.abs(R)>X)&&(m.current=null)}),onPointerUp:g(e.onPointerUp,s=>{const y=$.current,R=s.target;if(R.hasPointerCapture(s.pointerId)&&R.releasePointerCapture(s.pointerId),$.current=null,m.current=null,y){const L=s.currentTarget,M={originalEvent:s,delta:y};Z(y,d.swipeDirection,d.swipeThreshold)?q(Ie,P,M,{discrete:!0}):q(Fe,O,M,{discrete:!0}),L.addEventListener("click",K=>K.preventDefault(),{once:!0})}})})))),d.viewport))):null});se.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const n=`Invalid prop \`type\` supplied to \`${H}\`. Expected \`foreground | background\`.`;return new Error(n)}return null}};const Le=e=>{const{__scopeToast:n,children:r,...o}=e,i=W(H,n),[u,p]=t.useState(!1),[f,b]=t.useState(!1);return je(()=>p(!0)),t.useEffect(()=>{const a=window.setTimeout(()=>b(!0),1e3);return()=>window.clearTimeout(a)},[]),f?null:t.createElement(we,{asChild:!0},t.createElement(te,o,u&&t.createElement(t.Fragment,null,i.label," ",r)))},Me=t.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e;return t.createElement(A.div,C({},o,{ref:n}))}),ke=t.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e;return t.createElement(A.div,C({},o,{ref:n}))}),Ke="ToastAction",Ve=t.forwardRef((e,n)=>{const{altText:r,...o}=e;return r?t.createElement(ce,{altText:r,asChild:!0},t.createElement(ae,C({},o,{ref:n}))):null});Ve.propTypes={altText(e){return e.altText?null:new Error(`Missing prop \`altText\` expected on \`${Ke}\``)}};const qe="ToastClose",ae=t.forwardRef((e,n)=>{const{__scopeToast:r,...o}=e,i=Ne(qe,r);return t.createElement(ce,{asChild:!0},t.createElement(A.button,C({type:"button"},o,{ref:n,onClick:g(e.onClick,i.onClose)})))}),ce=t.forwardRef((e,n)=>{const{__scopeToast:r,altText:o,...i}=e;return t.createElement(A.div,C({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":o||void 0},i,{ref:n}))});function ie(e){const n=[];return Array.from(e.childNodes).forEach(o=>{if(o.nodeType===o.TEXT_NODE&&o.textContent&&n.push(o.textContent),We(o)){const i=o.ariaHidden||o.hidden||o.style.display==="none",u=o.dataset.radixToastAnnounceExclude==="";if(!i)if(u){const p=o.dataset.radixToastAnnounceAlt;p&&n.push(p)}else n.push(...ie(o))}}),n}function q(e,n,r,{discrete:o}){const i=r.originalEvent.currentTarget,u=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});n&&i.addEventListener(e,n,{once:!0}),o?Te(i,u):i.dispatchEvent(u)}const Z=(e,n,r=0)=>{const o=Math.abs(e.x),i=Math.abs(e.y),u=o>i;return n==="left"||n==="right"?u&&o>r:!u&&i>r};function je(e=()=>{}){const n=j(e);ve(()=>{let r=0,o=0;return r=window.requestAnimationFrame(()=>o=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(o)}},[n])}function We(e){return e.nodeType===e.ELEMENT_NODE}function He(e){const n=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const i=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||i?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)n.push(r.currentNode);return n}function Y(e){const n=document.activeElement;return e.some(r=>r===n?!0:(r.focus(),document.activeElement!==n))}const Ue=re,Xe=Pe,Ye=Ae,Be=Me,ze=ke,Ge=ae;function Je(e){return D.jsxs(Ue,{swipeDirection:"down",children:[D.jsx(Ye,{duration:3e3,open:e.open,onOpenChange:e.onOpenChange,asChild:!0,children:D.jsxs(xe,{className:"cmpui_toast__root",children:[D.jsx(Be,{}),D.jsx(ze,{children:e.children}),e.close&&D.jsx(Ge,{children:e.close})]})}),D.jsx(Xe,{className:"cmpui_toast__viewport"})]})}Je.__docgenInfo={description:"",methods:[],displayName:"Toast",props:{open:{required:!1,tsType:{name:"boolean"},description:""},defaultOpen:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(open: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"open"}],return:{name:"void"}}},description:""},side:{required:!1,tsType:{name:"union",raw:'"top" | "bottom" | "left" | "right"',elements:[{name:"literal",value:'"top"'},{name:"literal",value:'"bottom"'},{name:"literal",value:'"left"'},{name:"literal",value:'"right"'}]},description:""},avoidCollisions:{required:!1,tsType:{name:"boolean"},description:""},onDismiss:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},sideOffset:{required:!1,tsType:{name:"number"},description:""},alignOffset:{required:!1,tsType:{name:"number"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},close:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};export{Je as T}; diff --git a/assets/index-yb2Rdmt7.js b/assets/index-yb2Rdmt7.js deleted file mode 100644 index 0141cb1..0000000 --- a/assets/index-yb2Rdmt7.js +++ /dev/null @@ -1 +0,0 @@ -import{j as T}from"./jsx-runtime-DtaoT6pD.js";import{$ as H,_ as y,c as F}from"./index-Eok78svH.js";import{r as o}from"./index-OjgoNOWw.js";import{$ as B,b as K,a as U,c as g,e as N,h as V,k as Y}from"./index-wq2dZbDE.js";import{a as j,$ as X,b as W,c as z,d as J,e as Q}from"./index-nFE2FeW6.js";import{a as Z}from"./index-Nn85PjCb.js";const[P,Ie]=B("Tooltip",[j]),R=j(),ee="TooltipProvider",te=700,D="tooltip.open",[oe,k]=P(ee),Me=e=>{const{__scopeTooltip:n,delayDuration:t=te,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:s}=e,[i,u]=o.useState(!0),c=o.useRef(!1),d=o.useRef(0);return o.useEffect(()=>{const l=d.current;return()=>window.clearTimeout(l)},[]),o.createElement(oe,{scope:n,isOpenDelayed:i,delayDuration:t,onOpen:o.useCallback(()=>{window.clearTimeout(d.current),u(!1)},[]),onClose:o.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>u(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:o.useCallback(l=>{c.current=l},[]),disableHoverableContent:a},s)},L="Tooltip",[ne,O]=P(L),re=e=>{const{__scopeTooltip:n,children:t,open:r,defaultOpen:a=!1,onOpenChange:s,disableHoverableContent:i,delayDuration:u}=e,c=k(L,e.__scopeTooltip),d=R(n),[l,f]=o.useState(null),b=X(),p=o.useRef(0),$=i??c.disableHoverableContent,m=u??c.delayDuration,v=o.useRef(!1),[h=!1,x]=K({prop:r,defaultProp:a,onChange:M=>{M?(c.onOpen(),document.dispatchEvent(new CustomEvent(D))):c.onClose(),s==null||s(M)}}),C=o.useMemo(()=>h?v.current?"delayed-open":"instant-open":"closed",[h]),E=o.useCallback(()=>{window.clearTimeout(p.current),v.current=!1,x(!0)},[x]),w=o.useCallback(()=>{window.clearTimeout(p.current),x(!1)},[x]),I=o.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{v.current=!0,x(!0)},m)},[m,x]);return o.useEffect(()=>()=>window.clearTimeout(p.current),[]),o.createElement(W,d,o.createElement(ne,{scope:n,contentId:b,open:h,stateAttribute:C,trigger:l,onTriggerChange:f,onTriggerEnter:o.useCallback(()=>{c.isOpenDelayed?I():E()},[c.isOpenDelayed,I,E]),onTriggerLeave:o.useCallback(()=>{$?w():window.clearTimeout(p.current)},[w,$]),onOpen:E,onClose:w,disableHoverableContent:$},t))},A="TooltipTrigger",ae=o.forwardRef((e,n)=>{const{__scopeTooltip:t,...r}=e,a=O(A,t),s=k(A,t),i=R(t),u=o.useRef(null),c=H(n,u,a.onTriggerChange),d=o.useRef(!1),l=o.useRef(!1),f=o.useCallback(()=>d.current=!1,[]);return o.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),o.createElement(z,y({asChild:!0},i),o.createElement(U.button,y({"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute},r,{ref:c,onPointerMove:g(e.onPointerMove,b=>{b.pointerType!=="touch"&&!l.current&&!s.isPointerInTransitRef.current&&(a.onTriggerEnter(),l.current=!0)}),onPointerLeave:g(e.onPointerLeave,()=>{a.onTriggerLeave(),l.current=!1}),onPointerDown:g(e.onPointerDown,()=>{d.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:g(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:g(e.onBlur,a.onClose),onClick:g(e.onClick,a.onClose)})))}),q="TooltipPortal",[ce,se]=P(q,{forceMount:void 0}),ie=e=>{const{__scopeTooltip:n,forceMount:t,children:r,container:a}=e,s=O(q,n);return o.createElement(ce,{scope:n,forceMount:t},o.createElement(N,{present:t||s.open},o.createElement(V,{asChild:!0,container:a},r)))},_="TooltipContent",le=o.forwardRef((e,n)=>{const t=se(_,e.__scopeTooltip),{forceMount:r=t.forceMount,side:a="top",...s}=e,i=O(_,e.__scopeTooltip);return o.createElement(N,{present:r||i.open},i.disableHoverableContent?o.createElement(S,y({side:a},s,{ref:n})):o.createElement(ue,y({side:a},s,{ref:n})))}),ue=o.forwardRef((e,n)=>{const t=O(_,e.__scopeTooltip),r=k(_,e.__scopeTooltip),a=o.useRef(null),s=H(n,a),[i,u]=o.useState(null),{trigger:c,onClose:d}=t,l=a.current,{onPointerInTransitChange:f}=r,b=o.useCallback(()=>{u(null),f(!1)},[f]),p=o.useCallback(($,m)=>{const v=$.currentTarget,h={x:$.clientX,y:$.clientY},x=be(h,v.getBoundingClientRect()),C=ve(h,x),E=me(m.getBoundingClientRect()),w=he([...C,...E]);u(w),f(!0)},[f]);return o.useEffect(()=>()=>b(),[b]),o.useEffect(()=>{if(c&&l){const $=v=>p(v,l),m=v=>p(v,c);return c.addEventListener("pointerleave",$),l.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",$),l.removeEventListener("pointerleave",m)}}},[c,l,p,b]),o.useEffect(()=>{if(i){const $=m=>{const v=m.target,h={x:m.clientX,y:m.clientY},x=(c==null?void 0:c.contains(v))||(l==null?void 0:l.contains(v)),C=!xe(h,i);x?b():C&&(b(),d())};return document.addEventListener("pointermove",$),()=>document.removeEventListener("pointermove",$)}},[c,l,i,d,b]),o.createElement(S,y({},e,{ref:s}))}),[de,fe]=P(L,{isInside:!1}),S=o.forwardRef((e,n)=>{const{__scopeTooltip:t,children:r,"aria-label":a,onEscapeKeyDown:s,onPointerDownOutside:i,...u}=e,c=O(_,t),d=R(t),{onClose:l}=c;return o.useEffect(()=>(document.addEventListener(D,l),()=>document.removeEventListener(D,l)),[l]),o.useEffect(()=>{if(c.trigger){const f=b=>{const p=b.target;p!=null&&p.contains(c.trigger)&&l()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,l]),o.createElement(Y,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:f=>f.preventDefault(),onDismiss:l},o.createElement(J,y({"data-state":c.stateAttribute},d,u,{ref:n,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),o.createElement(F,null,r),o.createElement(de,{scope:t,isInside:!0},o.createElement(Z,{id:c.contentId,role:"tooltip"},a||r))))}),pe="TooltipArrow",$e=o.forwardRef((e,n)=>{const{__scopeTooltip:t,...r}=e,a=R(t);return fe(pe,t).isInside?null:o.createElement(Q,y({},a,r,{ref:n}))});function be(e,n){const t=Math.abs(n.top-e.y),r=Math.abs(n.bottom-e.y),a=Math.abs(n.right-e.x),s=Math.abs(n.left-e.x);switch(Math.min(t,r,a,s)){case s:return"left";case a:return"right";case t:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function ve(e,n,t=5){const r=[];switch(n){case"top":r.push({x:e.x-t,y:e.y+t},{x:e.x+t,y:e.y+t});break;case"bottom":r.push({x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t});break;case"left":r.push({x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t});break;case"right":r.push({x:e.x-t,y:e.y-t},{x:e.x-t,y:e.y+t});break}return r}function me(e){const{top:n,right:t,bottom:r,left:a}=e;return[{x:a,y:n},{x:t,y:n},{x:t,y:r},{x:a,y:r}]}function xe(e,n){const{x:t,y:r}=e;let a=!1;for(let s=0,i=n.length-1;sr!=l>r&&t<(d-u)*(r-c)/(l-c)+u&&(a=!a)}return a}function he(e){const n=e.slice();return n.sort((t,r)=>t.xr.x?1:t.yr.y?1:0),Te(n)}function Te(e){if(e.length<=1)return e.slice();const n=[];for(let r=0;r=2;){const s=n[n.length-1],i=n[n.length-2];if((s.x-i.x)*(a.y-i.y)>=(s.y-i.y)*(a.x-i.x))n.pop();else break}n.push(a)}n.pop();const t=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(a.y-i.y)>=(s.y-i.y)*(a.x-i.x))t.pop();else break}t.push(a)}return t.pop(),n.length===1&&t.length===1&&n[0].x===t[0].x&&n[0].y===t[0].y?n:n.concat(t)}const ye=re,ge=ae,Ce=ie,Ee=le,we=$e,_e=e=>T.jsxs(ye,{delayDuration:500,defaultOpen:e.defaultOpen,onOpenChange:e.onOpenChange,open:e.open,children:[T.jsx(ge,{asChild:!0,children:e.children}),T.jsx(Ce,{container:e.container,children:T.jsx(Ee,{side:e.side,asChild:!0,sideOffset:e.sideOffset,alignOffset:e.alignOffset,avoidCollisions:e.avoidCollisions,children:T.jsxs(G,{children:[e.content,T.jsx(we,{className:"cmpui_tooltip__arrow"})]})})})]}),G=o.forwardRef((e,n)=>T.jsx("div",{ref:n,className:"cmpui_tooltip__root",children:e.children}));_e.__docgenInfo={description:"",methods:[],displayName:"Tooltip",props:{alignOffset:{required:!1,tsType:{name:"number"},description:""},avoidCollisions:{required:!1,tsType:{name:"boolean"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},container:{required:!1,tsType:{name:"HTMLElement"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},defaultOpen:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(open: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"open"}],return:{name:"void"}}},description:""},open:{required:!1,tsType:{name:"boolean"},description:""},side:{required:!1,tsType:{name:"union",raw:'"top" | "bottom" | "left" | "right"',elements:[{name:"literal",value:'"top"'},{name:"literal",value:'"bottom"'},{name:"literal",value:'"left"'},{name:"literal",value:'"right"'}]},description:""},sideOffset:{required:!1,tsType:{name:"number"},description:""}}};G.__docgenInfo={description:"",methods:[],displayName:"TooltipPresenter"};export{Me as $,_e as T,G as a}; diff --git a/assets/index-CzAlb3Z9.js b/assets/index-yf8mkK-1.js similarity index 90% rename from assets/index-CzAlb3Z9.js rename to assets/index-yf8mkK-1.js index 9e39762..fa0004f 100644 --- a/assets/index-CzAlb3Z9.js +++ b/assets/index-yf8mkK-1.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOWw.js";/* empty css */import"./index-EwGKNtg5.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import{C as je}from"./index-pk5nlV7d.js";import{h as ce,u as ft,r as be,g as Yt,W as Gt,a as Zt,S as mt}from"./index-_tE33Gv2.js";import{c as ue}from"./clamp-xqaTU5Qn.js";import{C as pt}from"./index-3ZWm4lKU.js";import{c as zt}from"./index-6uWyxtkv.js";import"./index-7FH3x4aD.js";import"./DropdownMenuItem-65YTI1pm.js";import{F as he}from"./index-hC_OXdTA.js";import"./index-ySLf1xQK.js";import{I as Jt}from"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-cYjXm3u-.js";import{L as Ve}from"./index-14PbI9Yx.js";import{_ as R,$ as W,a as Ke}from"./index-Eok78svH.js";import{$ as gt}from"./index-F4RL_6mv.js";import{h as Le,g as We,i as Xe,j as Ue,$ as Qt,k as bt,a as en,l as tn,b as nn,e as on,c as rn,m as ht,n as cn,d as an,f as sn,o as ln,p as dn,q as un}from"./index--q_WrUwI.js";import{$ as _e,b as ae,e as $e,h as Ye,c as N,k as Ge,a as K,j as fe,f as fn}from"./index-wq2dZbDE.js";import{a as Re,b as $t,$ as J,c as vt,d as xt}from"./index-nFE2FeW6.js";import{c as ee}from"./classNames-pTwYsIK_.js";import"./index-rAFazk-7.js";import{r as De}from"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import{r as yt}from"./index-mQqIOHEI.js";import{$ as mn}from"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";import{m as Ct}from"./mergeRefs-mmWAE0a7.js";import{c as me}from"./createDragHandler-nJMxlNVC.js";import{u as qe}from"./useTouchStartPrevent-SoOiKono.js";function pn(e,r,n){return{r:Math.round(e.r*n+r.r*(1-n)),g:Math.round(e.g*n+r.g*(1-n)),b:Math.round(e.b*n+r.b*(1-n))}}function ke(e){const r=e.toString(16);return r.length===1?`0${r}`:r}function Ae(e){return{r:e[0],g:e[1],b:e[2],a:e[3]}}function gn(e){var r;if(e.length===4||e.length===5){const n=e.substring(1).split("").map(o=>parseInt(o+o,16));return e.length===4?n.push(1):n[3]=n[3]/255,Ae(n)}if(e.length===7||e.length===9){const n=(r=e.substring(1).match(/.{2}/g))==null?void 0:r.map(o=>parseInt(o,16));return e.length===7?n.push(1):n[3]=n[3]/255,Ae(n)}return Ae([0,0,0,1])}function bn(e){const r=e.r/255,n=e.g/255,o=e.b/255,c=Math.max(r,n,o),a=Math.min(r,n,o),s=c,i=c-a,d=s===0?0:i/s;let u=0;if(i===0)u=0;else{switch(s){case r:u=(n-o)/i+(n{if($.key==="ArrowLeft"||$.key==="ArrowRight"){d();const O=$.key==="ArrowLeft"?-1:1,C=$.shiftKey?o*O:n*O,S=ue(c.value+C,0,1);c.onChange(S),$.preventDefault()}},[c.value,c.onChange,o,n,d]),f=t.useCallback(()=>{s(!0)},[]),m=t.useCallback(()=>{s(!1)},[]),g=t.useMemo(()=>me({onDown:$=>{var P;(P=c.onStart)==null||P.call(c);const{left:O}=$.currentTarget.getBoundingClientRect(),C=$.clientX-O,S=ue(C/e,0,1);return c.onChange(S),s(!0),{startX:$.clientX,startY:$.clientY,hue:S}},onMove:($,O)=>{if(!O)return;const C=$.clientX-O.startX,S=ue(O.hue+C/e,0,1);c.onChange(S)},onUp:()=>{var $;s(!1),($=c.onEnd)==null||$.call(c)}}),[c.onChange,c.onStart,c.onEnd,e]),v=me({onDown:$=>(s(!0),$.stopPropagation(),{startX:$.clientX,startY:$.clientY,alpha:c.value}),onMove:($,O)=>{if(!O)return;const C=$.clientX-O.startX,S=ue(O.alpha+C/e,0,1);c.onChange(S)},onUp:()=>{s(!1)}}),b=qe(),h=c.value*e,T=r/2,_=qe(),p=t.useMemo(()=>be(Yt(pn(c.color,Gt,c.color.a))),[c.color]);return l.jsxs("div",{className:ee(c.className,"cmpui_color-slider__root"),onKeyDown:u,onFocus:f,onBlur:m,tabIndex:0,children:[l.jsxs("div",{style:{position:"relative",overflow:"hidden",cursor:"pointer",width:e,height:r},onPointerDown:g,ref:b,children:[l.jsx("div",{className:"alpha-checker-board",style:{width:e,height:r},children:c.bg}),l.jsx(je,{x:h,y:T,radius:i,fill:"white",strokeWidth:2,strokeColor:p,style:{"--cmpui-block-size":"4px",pointerEvents:"none"},className:"alpha-checker-board"}),l.jsx(je,{x:h,y:T,radius:i,fill:at(c.color),strokeColor:p,strokeWidth:2,ref:_,onPointerDown:v,className:"cmpui_color-slider__nob"})]}),a&&l.jsx(l.Fragment,{children:l.jsx(pt,{nobRadius:i,x:h,y:T,color:at(c.color)})})]})}we.__docgenInfo={description:"",methods:[],displayName:"ColorSlider",props:{value:{required:!0,tsType:{name:"number"},description:""},children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},color:{required:!0,tsType:{name:"intersection",raw:`RGB & { +import{j as l}from"./jsx-runtime-DvLKfCe6.js";import{r as t}from"./index-aXz8NaAs.js";/* empty css */import"./index-Kq3z_NZE.js";import"./index-5ui4R9NG.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import{C as je}from"./index-0ceNsg1m.js";import{h as ce,u as ft,r as be,g as Yt,W as Gt,a as Zt,S as mt}from"./index-btd8k4jy.js";import{c as ue}from"./clamp-xqaTU5Qn.js";import{C as pt}from"./index-AYEmu2YI.js";import{c as zt}from"./index-uWlkGYMJ.js";import"./index-NAhdMhKS.js";import"./DropdownMenuItem-TbdlQnuP.js";import{F as he}from"./index-D9RaxIjz.js";import"./index-CYasbvvH.js";import{I as Jt}from"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-U9bU_qbB.js";import{L as Ve}from"./index-xX_uHqPz.js";import{_ as R}from"./extends-dGVwEr9R.js";import{$ as gt}from"./index-MW3rGVG_.js";import{h as Ke,g as Le,i as We,j as Xe,$ as Qt,k as bt,a as en,l as tn,b as nn,e as on,c as rn,m as ht,n as cn,d as an,f as sn,o as ln,p as dn,q as un}from"./index-YkBf51cs.js";import{$ as _e,d as ae,h as $e,k as Ue,a as W,b as Ye,f as N,n as Ge,c as K,m as fe,i as fn}from"./index-M7H33-mE.js";import{a as Re,b as $t,$ as J,c as vt,d as xt}from"./index-sSXR_LKw.js";import{c as ee}from"./classNames-pTwYsIK_.js";import"./index-nuWmM7Ma.js";import{r as De}from"./index-9ZytVVav.js";import"./index-Oh1OAjsI.js";import{r as yt}from"./index-n3prD_Ok.js";import{$ as mn}from"./index-K1fIJHIl.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";import{m as Ct}from"./mergeRefs-mmWAE0a7.js";import{c as me}from"./createDragHandler-nJMxlNVC.js";import{u as qe}from"./useTouchStartPrevent-kBVXV8Ya.js";function pn(e,r,n){return{r:Math.round(e.r*n+r.r*(1-n)),g:Math.round(e.g*n+r.g*(1-n)),b:Math.round(e.b*n+r.b*(1-n))}}function ke(e){const r=e.toString(16);return r.length===1?`0${r}`:r}function Ae(e){return{r:e[0],g:e[1],b:e[2],a:e[3]}}function gn(e){var r;if(e.length===4||e.length===5){const n=e.substring(1).split("").map(o=>parseInt(o+o,16));return e.length===4?n.push(1):n[3]=n[3]/255,Ae(n)}if(e.length===7||e.length===9){const n=(r=e.substring(1).match(/.{2}/g))==null?void 0:r.map(o=>parseInt(o,16));return e.length===7?n.push(1):n[3]=n[3]/255,Ae(n)}return Ae([0,0,0,1])}function bn(e){const r=e.r/255,n=e.g/255,o=e.b/255,c=Math.max(r,n,o),a=Math.min(r,n,o),s=c,i=c-a,d=s===0?0:i/s;let u=0;if(i===0)u=0;else{switch(s){case r:u=(n-o)/i+(n{if($.key==="ArrowLeft"||$.key==="ArrowRight"){d();const O=$.key==="ArrowLeft"?-1:1,C=$.shiftKey?o*O:n*O,S=ue(c.value+C,0,1);c.onChange(S),$.preventDefault()}},[c.value,c.onChange,o,n,d]),f=t.useCallback(()=>{s(!0)},[]),m=t.useCallback(()=>{s(!1)},[]),g=t.useMemo(()=>me({onDown:$=>{var P;(P=c.onStart)==null||P.call(c);const{left:O}=$.currentTarget.getBoundingClientRect(),C=$.clientX-O,S=ue(C/e,0,1);return c.onChange(S),s(!0),{startX:$.clientX,startY:$.clientY,hue:S}},onMove:($,O)=>{if(!O)return;const C=$.clientX-O.startX,S=ue(O.hue+C/e,0,1);c.onChange(S)},onUp:()=>{var $;s(!1),($=c.onEnd)==null||$.call(c)}}),[c.onChange,c.onStart,c.onEnd,e]),v=me({onDown:$=>(s(!0),$.stopPropagation(),{startX:$.clientX,startY:$.clientY,alpha:c.value}),onMove:($,O)=>{if(!O)return;const C=$.clientX-O.startX,S=ue(O.alpha+C/e,0,1);c.onChange(S)},onUp:()=>{s(!1)}}),b=qe(),h=c.value*e,T=r/2,_=qe(),p=t.useMemo(()=>be(Yt(pn(c.color,Gt,c.color.a))),[c.color]);return l.jsxs("div",{className:ee(c.className,"cmpui_color-slider__root"),onKeyDown:u,onFocus:f,onBlur:m,tabIndex:0,children:[l.jsxs("div",{style:{position:"relative",overflow:"hidden",cursor:"pointer",width:e,height:r},onPointerDown:g,ref:b,children:[l.jsx("div",{className:"alpha-checker-board",style:{width:e,height:r},children:c.bg}),l.jsx(je,{x:h,y:T,radius:i,fill:"white",strokeWidth:2,strokeColor:p,style:{"--cmpui-block-size":"4px",pointerEvents:"none"},className:"alpha-checker-board"}),l.jsx(je,{x:h,y:T,radius:i,fill:at(c.color),strokeColor:p,strokeWidth:2,ref:_,onPointerDown:v,className:"cmpui_color-slider__nob"})]}),a&&l.jsx(l.Fragment,{children:l.jsx(pt,{nobRadius:i,x:h,y:T,color:at(c.color)})})]})}we.__docgenInfo={description:"",methods:[],displayName:"ColorSlider",props:{value:{required:!0,tsType:{name:"number"},description:""},children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},color:{required:!0,tsType:{name:"intersection",raw:`RGB & { a: number; }`,elements:[{name:"signature",type:"object",raw:`{ r: number; @@ -11,7 +11,7 @@ import{j as l}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOW s: number; v: number; a: number; -}`,signature:{properties:[{key:"h",value:{name:"number",required:!0}},{key:"s",value:{name:"number",required:!0}},{key:"v",value:{name:"number",required:!0}},{key:"a",value:{name:"number",required:!0}}]}},name:"hsva"}],return:{name:"void"}}},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},circleStrokeWidth:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"24",computed:!1}}}};const Rt="Popover",[Et,fc]=_e(Rt,[Re]),ze=Re(),[vn,ie]=Et(Rt),xn=e=>{const{__scopePopover:r,children:n,open:o,defaultOpen:c,onOpenChange:a,modal:s=!1}=e,i=ze(r),d=t.useRef(null),[u,f]=t.useState(!1),[m=!1,g]=ae({prop:o,defaultProp:c,onChange:a});return t.createElement($t,i,t.createElement(vn,{scope:r,contentId:J(),triggerRef:d,open:m,onOpenChange:g,onOpenToggle:t.useCallback(()=>g(v=>!v),[g]),hasCustomAnchor:u,onCustomAnchorAdd:t.useCallback(()=>f(!0),[]),onCustomAnchorRemove:t.useCallback(()=>f(!1),[]),modal:s},n))},yn="PopoverAnchor",Cn=t.forwardRef((e,r)=>{const{__scopePopover:n,...o}=e,c=ie(yn,n),a=ze(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:i}=c;return t.useEffect(()=>(s(),()=>i()),[s,i]),t.createElement(vt,R({},a,o,{ref:r}))}),Tt="PopoverPortal",[wn,_n]=Et(Tt,{forceMount:void 0}),Rn=e=>{const{__scopePopover:r,forceMount:n,children:o,container:c}=e,a=ie(Tt,r);return t.createElement(wn,{scope:r,forceMount:n},t.createElement($e,{present:n||a.open},t.createElement(Ye,{asChild:!0,container:c},o)))},pe="PopoverContent",En=t.forwardRef((e,r)=>{const n=_n(pe,e.__scopePopover),{forceMount:o=n.forceMount,...c}=e,a=ie(pe,e.__scopePopover);return t.createElement($e,{present:o||a.open},a.modal?t.createElement(Tn,R({},c,{ref:r})):t.createElement(Sn,R({},c,{ref:r})))}),Tn=t.forwardRef((e,r)=>{const n=ie(pe,e.__scopePopover),o=t.useRef(null),c=W(r,o),a=t.useRef(!1);return t.useEffect(()=>{const s=o.current;if(s)return Le(s)},[]),t.createElement(We,{as:Ke,allowPinchZoom:!0},t.createElement(St,R({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:N(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),a.current||(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:N(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,d=i.button===0&&i.ctrlKey===!0,u=i.button===2||d;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:N(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),Sn=t.forwardRef((e,r)=>{const n=ie(pe,e.__scopePopover),o=t.useRef(!1),c=t.useRef(!1);return t.createElement(St,R({},e,{ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;o.current||(i=n.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}o.current=!1,c.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(o.current=!0,a.detail.originalEvent.type==="pointerdown"&&(c.current=!0));const d=a.target;((i=n.triggerRef.current)===null||i===void 0?void 0:i.contains(d))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&c.current&&a.preventDefault()}}))}),St=t.forwardRef((e,r)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:c,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:i,onPointerDownOutside:d,onFocusOutside:u,onInteractOutside:f,...m}=e,g=ie(pe,n),v=ze(n);return Xe(),t.createElement(Ue,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:c,onUnmountAutoFocus:a},t.createElement(Ge,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:f,onEscapeKeyDown:i,onPointerDownOutside:d,onFocusOutside:u,onDismiss:()=>g.onOpenChange(!1)},t.createElement(xt,R({"data-state":Pn(g.open),role:"dialog",id:g.contentId},v,m,{ref:r,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function Pn(e){return e?"open":"closed"}const Mn=xn,Nn=Cn,In=Rn,On=En;function Pt(e){return l.jsxs(Mn,{open:e.isOpen,onOpenChange:e.onOpenChange,children:[l.jsx(Nn,{asChild:!0,children:e.children}),l.jsx(In,{children:l.jsx(On,{alignOffset:4,sideOffset:4,collisionPadding:8,asChild:!0,children:l.jsx(he,{className:"cmpui_popover__root",children:e.content})})})]})}Pt.__docgenInfo={description:"",methods:[],displayName:"Popover",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},isOpen:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}}},description:""}}};function Mt(e,r){t.useEffect(()=>{const n=e.current;if(n&&r){const o=c=>{r(c)};return n.addEventListener("change",o),()=>{n.removeEventListener("change",o)}}},[e,r])}const Je=t.memo(t.forwardRef(function({className:r,htmlPrefix:n,invalid:o,label:c,placeholder:a,prefix:s,suffix:i,value:d,onNativeChange:u,...f},m){const g=t.useRef(null);return Mt(g,u),l.jsxs("div",{className:ee("cmpui_text-input__root",r),"aria-disabled":f.disabled,"aria-invalid":o,children:[s,typeof c=="string"?l.jsx("label",{className:"cmpui_text-input__label",htmlFor:f.id,children:c}):c,l.jsx("input",{ref:Ct(g,m),type:"text",className:"cmpui_text-input__input",value:d??"",placeholder:a??"",prefix:n,"aria-invalid":o,...f}),i]})}));Je.__docgenInfo={description:"",methods:[],displayName:"TextInput"};const Dn=Object.getOwnPropertyNames(Math);function kn(e){return new RegExp(`^(\\b(mixed|${Dn.map(r=>`Math.${r}`).join("|")})\\b|[\\(\\)0-9. \\-+/*])+$`).test(e)}function An(e,r){try{if(!kn(e))return Number.NaN;if(r)return new Function("mixed",`return ${e}`)(r);const n=new Function(`return ${e}`)();return typeof n=="number"?n:Number.NaN}catch{return Number.NaN}}function jn(e){const n=new RegExp(/^url\("(.*)"\) ([0-9]+) ([0-9]+)/).exec(e);return n?{src:n[1],x:Number(n[2]),y:Number(n[3])}:null}const Nt=t.memo(t.forwardRef(function({label:r,value:n,step:o=1,suffix:c,className:a,numToString:s=v=>v.toString(),onChangeValue:i,evalFunc:d=An,onStart:u,onEnd:f,...m},g){const v=Array.isArray(n)&&n.reduce((x,y)=>x||y!==n[0],!1),[b,h]=t.useState(v?"mixed":typeof n=="number"?s(n):""),[T,_]=t.useState(!1),p=t.useMemo(()=>zt({onDown:x=>{if(T&&x.currentTarget instanceof HTMLInputElement)return;document.body.requestPointerLock();const y=document.createElement("img");if(y.style.position="fixed",document.body.appendChild(y),x.currentTarget instanceof HTMLElement){const w=getComputedStyle(x.currentTarget).cursor,M=jn(w);M&&(y.src=M.src,y.style.left=`${x.clientX-Number(M.x)-.5}px`,y.style.top=`${x.clientY-Number(M.y)-.5}px`,document.body.appendChild(y))}return u==null||u(),{startValue:n??0,startX:x.clientX,el:y,input:x.currentTarget}},onMove:(x,y,w)=>{if(!y)return;const M=x.movementX,B=x.movementY,A=y.el;if(!A)return;const V=Number(A.style.left.replace("px","")),H=12;V+M<-H?A.style.left=`${window.innerWidth+M-H}px`:V+M>window.innerWidth-H?A.style.left=`${M-H}px`:A.style.left=`${V+M}px`;const G=Number(A.style.top.replace("px",""));if(G+B<-H?A.style.top=`${window.innerHeight+B-H}px`:G+B>window.innerHeight-H?A.style.top=`${B-H}px`:A.style.top=`${G+B}px`,n!==void 0){let X=n;(w==null?void 0:w.value)!==void 0&&Array.isArray(w.value)&&(X=w.value);const ne=X.map(oe=>oe+Math.round(M)*o);return i==null||i(ne),{value:ne}}},onUp:(x,y)=>{var w;y&&((w=y.el)==null||w.remove(),document.exitPointerLock(),f==null||f())}}),[T,i,u,f,o,n]),$=t.useCallback(x=>{if(n!==void 0){const y=n.map(w=>d(x,w));return y.some(w=>Number.isNaN(w))?n:(i==null||i(y),y)}},[d,i,n]),O=t.useCallback(x=>{$(x.currentTarget.value),_(!1)},[$]),C=t.useCallback(x=>{const y=x.currentTarget.value;h(y)},[]),S=t.useCallback(x=>{x.currentTarget.select()},[]),P=t.useMemo(()=>T?b:v?"mixed":n===void 0?"":s(typeof n=="number"?n:n[0]),[b,T,v,s,n]),I=t.useCallback(x=>{x.currentTarget.select(),h(P),_(!0)},[P]),F=t.useCallback(x=>{if(x.key==="Enter"){const y=$(x.currentTarget.value);if(y===void 0)return;if(typeof y=="number")h(y?s(y):"");else{const w=y.reduce((M,B)=>M||B!==y[0],!1);h(w?"mixed":s(y[0]))}}else if(x.key==="Escape")h(P);else if(x.key==="ArrowUp"){if(n===void 0)return;n.reduce((w,M)=>w||M!==n[0],!1)?i==null||i(n.map(w=>w+o)):h(s(n[0]+o)),x.preventDefault()}else if(x.key==="ArrowDown"){if(n===void 0)return;n.reduce((w,M)=>w||M!==n[0],!1)?i==null||i(n.map(w=>w-o)):h(s(n[0]-o)),x.preventDefault()}},[P,$,s,i,o,n]);return l.jsx(Je,{...m,ref:g,className:ee("cmpui_slider-number-input__root",a),onFocus:I,onKeyDown:F,onBlur:O,onChange:C,onClick:S,value:P,prefix:c,label:l.jsx("label",{onPointerDown:p,className:"cmpui_text-input__label cmpui_slider-number-input__label",children:r})})}));Nt.__docgenInfo={description:"",methods:[],displayName:"SliderNumberField",props:{step:{defaultValue:{value:"1",computed:!1},required:!1},numToString:{defaultValue:{value:"(value) => value.toString()",computed:!1},required:!1},evalFunc:{defaultValue:{value:`function inputEval(str: string, mixed?: number): number { +}`,signature:{properties:[{key:"h",value:{name:"number",required:!0}},{key:"s",value:{name:"number",required:!0}},{key:"v",value:{name:"number",required:!0}},{key:"a",value:{name:"number",required:!0}}]}},name:"hsva"}],return:{name:"void"}}},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},circleStrokeWidth:{required:!1,tsType:{name:"number"},description:"",defaultValue:{value:"24",computed:!1}}}};const Rt="Popover",[Et,fc]=_e(Rt,[Re]),ze=Re(),[vn,ie]=Et(Rt),xn=e=>{const{__scopePopover:r,children:n,open:o,defaultOpen:c,onOpenChange:a,modal:s=!1}=e,i=ze(r),d=t.useRef(null),[u,f]=t.useState(!1),[m=!1,g]=ae({prop:o,defaultProp:c,onChange:a});return t.createElement($t,i,t.createElement(vn,{scope:r,contentId:J(),triggerRef:d,open:m,onOpenChange:g,onOpenToggle:t.useCallback(()=>g(v=>!v),[g]),hasCustomAnchor:u,onCustomAnchorAdd:t.useCallback(()=>f(!0),[]),onCustomAnchorRemove:t.useCallback(()=>f(!1),[]),modal:s},n))},yn="PopoverAnchor",Cn=t.forwardRef((e,r)=>{const{__scopePopover:n,...o}=e,c=ie(yn,n),a=ze(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:i}=c;return t.useEffect(()=>(s(),()=>i()),[s,i]),t.createElement(vt,R({},a,o,{ref:r}))}),Tt="PopoverPortal",[wn,_n]=Et(Tt,{forceMount:void 0}),Rn=e=>{const{__scopePopover:r,forceMount:n,children:o,container:c}=e,a=ie(Tt,r);return t.createElement(wn,{scope:r,forceMount:n},t.createElement($e,{present:n||a.open},t.createElement(Ue,{asChild:!0,container:c},o)))},pe="PopoverContent",En=t.forwardRef((e,r)=>{const n=_n(pe,e.__scopePopover),{forceMount:o=n.forceMount,...c}=e,a=ie(pe,e.__scopePopover);return t.createElement($e,{present:o||a.open},a.modal?t.createElement(Tn,R({},c,{ref:r})):t.createElement(Sn,R({},c,{ref:r})))}),Tn=t.forwardRef((e,r)=>{const n=ie(pe,e.__scopePopover),o=t.useRef(null),c=W(r,o),a=t.useRef(!1);return t.useEffect(()=>{const s=o.current;if(s)return Ke(s)},[]),t.createElement(Le,{as:Ye,allowPinchZoom:!0},t.createElement(St,R({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:N(e.onCloseAutoFocus,s=>{var i;s.preventDefault(),a.current||(i=n.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:N(e.onPointerDownOutside,s=>{const i=s.detail.originalEvent,d=i.button===0&&i.ctrlKey===!0,u=i.button===2||d;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:N(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1})})))}),Sn=t.forwardRef((e,r)=>{const n=ie(pe,e.__scopePopover),o=t.useRef(!1),c=t.useRef(!1);return t.createElement(St,R({},e,{ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;o.current||(i=n.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}o.current=!1,c.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(o.current=!0,a.detail.originalEvent.type==="pointerdown"&&(c.current=!0));const d=a.target;((i=n.triggerRef.current)===null||i===void 0?void 0:i.contains(d))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&c.current&&a.preventDefault()}}))}),St=t.forwardRef((e,r)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:c,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:i,onPointerDownOutside:d,onFocusOutside:u,onInteractOutside:f,...m}=e,g=ie(pe,n),v=ze(n);return We(),t.createElement(Xe,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:c,onUnmountAutoFocus:a},t.createElement(Ge,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:f,onEscapeKeyDown:i,onPointerDownOutside:d,onFocusOutside:u,onDismiss:()=>g.onOpenChange(!1)},t.createElement(xt,R({"data-state":Pn(g.open),role:"dialog",id:g.contentId},v,m,{ref:r,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function Pn(e){return e?"open":"closed"}const Mn=xn,Nn=Cn,In=Rn,On=En;function Pt(e){return l.jsxs(Mn,{open:e.isOpen,onOpenChange:e.onOpenChange,children:[l.jsx(Nn,{asChild:!0,children:e.children}),l.jsx(In,{children:l.jsx(On,{alignOffset:4,sideOffset:4,collisionPadding:8,asChild:!0,children:l.jsx(he,{className:"cmpui_popover__root",children:e.content})})})]})}Pt.__docgenInfo={description:"",methods:[],displayName:"Popover",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},isOpen:{required:!1,tsType:{name:"boolean"},description:""},onOpenChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(isOpen: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"isOpen"}],return:{name:"void"}}},description:""}}};function Mt(e,r){t.useEffect(()=>{const n=e.current;if(n&&r){const o=c=>{r(c)};return n.addEventListener("change",o),()=>{n.removeEventListener("change",o)}}},[e,r])}const Je=t.memo(t.forwardRef(function({className:r,htmlPrefix:n,invalid:o,label:c,placeholder:a,prefix:s,suffix:i,value:d,onNativeChange:u,...f},m){const g=t.useRef(null);return Mt(g,u),l.jsxs("div",{className:ee("cmpui_text-input__root",r),"aria-disabled":f.disabled,"aria-invalid":o,children:[s,typeof c=="string"?l.jsx("label",{className:"cmpui_text-input__label",htmlFor:f.id,children:c}):c,l.jsx("input",{ref:Ct(g,m),type:"text",className:"cmpui_text-input__input",value:d??"",placeholder:a??"",prefix:n,"aria-invalid":o,...f}),i]})}));Je.__docgenInfo={description:"",methods:[],displayName:"TextInput"};const Dn=Object.getOwnPropertyNames(Math);function kn(e){return new RegExp(`^(\\b(mixed|${Dn.map(r=>`Math.${r}`).join("|")})\\b|[\\(\\)0-9. \\-+/*])+$`).test(e)}function An(e,r){try{if(!kn(e))return Number.NaN;if(r)return new Function("mixed",`return ${e}`)(r);const n=new Function(`return ${e}`)();return typeof n=="number"?n:Number.NaN}catch{return Number.NaN}}function jn(e){const n=new RegExp(/^url\("(.*)"\) ([0-9]+) ([0-9]+)/).exec(e);return n?{src:n[1],x:Number(n[2]),y:Number(n[3])}:null}const Nt=t.memo(t.forwardRef(function({label:r,value:n,step:o=1,suffix:c,className:a,numToString:s=v=>v.toString(),onChangeValue:i,evalFunc:d=An,onStart:u,onEnd:f,...m},g){const v=Array.isArray(n)&&n.reduce((x,y)=>x||y!==n[0],!1),[b,h]=t.useState(v?"mixed":typeof n=="number"?s(n):""),[T,_]=t.useState(!1),p=t.useMemo(()=>zt({onDown:x=>{if(T&&x.currentTarget instanceof HTMLInputElement)return;document.body.requestPointerLock();const y=document.createElement("img");if(y.style.position="fixed",document.body.appendChild(y),x.currentTarget instanceof HTMLElement){const w=getComputedStyle(x.currentTarget).cursor,M=jn(w);M&&(y.src=M.src,y.style.left=`${x.clientX-Number(M.x)-.5}px`,y.style.top=`${x.clientY-Number(M.y)-.5}px`,document.body.appendChild(y))}return u==null||u(),{startValue:n??0,startX:x.clientX,el:y,input:x.currentTarget}},onMove:(x,y,w)=>{if(!y)return;const M=x.movementX,B=x.movementY,A=y.el;if(!A)return;const V=Number(A.style.left.replace("px","")),H=12;V+M<-H?A.style.left=`${window.innerWidth+M-H}px`:V+M>window.innerWidth-H?A.style.left=`${M-H}px`:A.style.left=`${V+M}px`;const G=Number(A.style.top.replace("px",""));if(G+B<-H?A.style.top=`${window.innerHeight+B-H}px`:G+B>window.innerHeight-H?A.style.top=`${B-H}px`:A.style.top=`${G+B}px`,n!==void 0){let X=n;(w==null?void 0:w.value)!==void 0&&Array.isArray(w.value)&&(X=w.value);const ne=X.map(oe=>oe+Math.round(M)*o);return i==null||i(ne),{value:ne}}},onUp:(x,y)=>{var w;y&&((w=y.el)==null||w.remove(),document.exitPointerLock(),f==null||f())}}),[T,i,u,f,o,n]),$=t.useCallback(x=>{if(n!==void 0){const y=n.map(w=>d(x,w));return y.some(w=>Number.isNaN(w))?n:(i==null||i(y),y)}},[d,i,n]),O=t.useCallback(x=>{$(x.currentTarget.value),_(!1)},[$]),C=t.useCallback(x=>{const y=x.currentTarget.value;h(y)},[]),S=t.useCallback(x=>{x.currentTarget.select()},[]),P=t.useMemo(()=>T?b:v?"mixed":n===void 0?"":s(typeof n=="number"?n:n[0]),[b,T,v,s,n]),I=t.useCallback(x=>{x.currentTarget.select(),h(P),_(!0)},[P]),F=t.useCallback(x=>{if(x.key==="Enter"){const y=$(x.currentTarget.value);if(y===void 0)return;if(typeof y=="number")h(y?s(y):"");else{const w=y.reduce((M,B)=>M||B!==y[0],!1);h(w?"mixed":s(y[0]))}}else if(x.key==="Escape")h(P);else if(x.key==="ArrowUp"){if(n===void 0)return;n.reduce((w,M)=>w||M!==n[0],!1)?i==null||i(n.map(w=>w+o)):h(s(n[0]+o)),x.preventDefault()}else if(x.key==="ArrowDown"){if(n===void 0)return;n.reduce((w,M)=>w||M!==n[0],!1)?i==null||i(n.map(w=>w-o)):h(s(n[0]-o)),x.preventDefault()}},[P,$,s,i,o,n]);return l.jsx(Je,{...m,ref:g,className:ee("cmpui_slider-number-input__root",a),onFocus:I,onKeyDown:F,onBlur:O,onChange:C,onClick:S,value:P,prefix:c,label:l.jsx("label",{onPointerDown:p,className:"cmpui_text-input__label cmpui_slider-number-input__label",children:r})})}));Nt.__docgenInfo={description:"",methods:[],displayName:"SliderNumberField",props:{step:{defaultValue:{value:"1",computed:!1},required:!1},numToString:{defaultValue:{value:"(value) => value.toString()",computed:!1},required:!1},evalFunc:{defaultValue:{value:`function inputEval(str: string, mixed?: number): number { try { if (!isEvalSafe(str)) { return Number.NaN; @@ -43,4 +43,4 @@ import{j as l}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOW s: number; v: number; a: number; -}`,signature:{properties:[{key:"h",value:{name:"number",required:!0}},{key:"s",value:{name:"number",required:!0}},{key:"v",value:{name:"number",required:!0}},{key:"a",value:{name:"number",required:!0}}]}},name:"hsva"}],return:{name:"void"}}},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};const Qe="Menubar",[Fe,Bn,Vn]=gt(Qe),[It,mc]=_e(Qe,[Vn,bt]),Q=Qt(),Ot=bt(),[Kn,et]=It(Qe),Ln=t.forwardRef((e,r)=>{const{__scopeMenubar:n,value:o,onValueChange:c,defaultValue:a,loop:s=!0,dir:i,...d}=e,u=ht(i),f=Ot(n),[m="",g]=ae({prop:o,onChange:c,defaultProp:a}),[v,b]=t.useState(null);return t.createElement(Kn,{scope:n,value:m,onMenuOpen:t.useCallback(h=>{g(h),b(h)},[g]),onMenuClose:t.useCallback(()=>g(""),[g]),onMenuToggle:t.useCallback(h=>{g(T=>T?"":h),b(h)},[g]),dir:u,loop:s},t.createElement(Fe.Provider,{scope:n},t.createElement(Fe.Slot,{scope:n},t.createElement(cn,R({asChild:!0},f,{orientation:"horizontal",loop:s,dir:u,currentTabStopId:v,onCurrentTabStopIdChange:b}),t.createElement(K.div,R({role:"menubar"},d,{ref:r}))))))}),Dt="MenubarMenu",[Wn,kt]=It(Dt),Xn=e=>{const{__scopeMenubar:r,value:n,...o}=e,c=J(),a=n||c||"LEGACY_REACT_AUTO_VALUE",s=et(Dt,r),i=Q(r),d=t.useRef(null),u=t.useRef(!1),f=s.value===a;return t.useEffect(()=>{f||(u.current=!1)},[f]),t.createElement(Wn,{scope:r,value:a,triggerId:J(),triggerRef:d,contentId:J(),wasKeyboardTriggerOpenRef:u},t.createElement(en,R({},i,{open:f,onOpenChange:m=>{m||s.onMenuClose()},modal:!1,dir:s.dir},o)))},st="MenubarTrigger",Un=t.forwardRef((e,r)=>{const{__scopeMenubar:n,disabled:o=!1,...c}=e,a=Ot(n),s=Q(n),i=et(st,n),d=kt(st,n),u=t.useRef(null),f=W(r,u,d.triggerRef),[m,g]=t.useState(!1),v=i.value===d.value;return t.createElement(Fe.ItemSlot,{scope:n,value:d.value,disabled:o},t.createElement(tn,R({asChild:!0},a,{focusable:!o,tabStopId:d.value}),t.createElement(nn,R({asChild:!0},s),t.createElement(K.button,R({type:"button",role:"menuitem",id:d.triggerId,"aria-haspopup":"menu","aria-expanded":v,"aria-controls":v?d.contentId:void 0,"data-highlighted":m?"":void 0,"data-state":v?"open":"closed","data-disabled":o?"":void 0,disabled:o},c,{ref:f,onPointerDown:N(e.onPointerDown,b=>{!o&&b.button===0&&b.ctrlKey===!1&&(i.onMenuOpen(d.value),v||b.preventDefault())}),onPointerEnter:N(e.onPointerEnter,()=>{if(!!i.value&&!v){var h;i.onMenuOpen(d.value),(h=u.current)===null||h===void 0||h.focus()}}),onKeyDown:N(e.onKeyDown,b=>{o||(["Enter"," "].includes(b.key)&&i.onMenuToggle(d.value),b.key==="ArrowDown"&&i.onMenuOpen(d.value),["Enter"," ","ArrowDown"].includes(b.key)&&(d.wasKeyboardTriggerOpenRef.current=!0,b.preventDefault()))}),onFocus:N(e.onFocus,()=>g(!0)),onBlur:N(e.onBlur,()=>g(!1))})))))}),Yn=e=>{const{__scopeMenubar:r,...n}=e,o=Q(r);return t.createElement(on,R({},o,n))},it="MenubarContent",Gn=t.forwardRef((e,r)=>{const{__scopeMenubar:n,align:o="start",...c}=e,a=Q(n),s=et(it,n),i=kt(it,n),d=Bn(n),u=t.useRef(!1);return t.createElement(rn,R({id:i.contentId,"aria-labelledby":i.triggerId,"data-radix-menubar-content":""},a,c,{ref:r,align:o,onCloseAutoFocus:N(e.onCloseAutoFocus,f=>{if(!!!s.value&&!u.current){var g;(g=i.triggerRef.current)===null||g===void 0||g.focus()}u.current=!1,f.preventDefault()}),onFocusOutside:N(e.onFocusOutside,f=>{const m=f.target;d().some(v=>{var b;return(b=v.ref.current)===null||b===void 0?void 0:b.contains(m)})&&f.preventDefault()}),onInteractOutside:N(e.onInteractOutside,()=>{u.current=!0}),onEntryFocus:f=>{i.wasKeyboardTriggerOpenRef.current||f.preventDefault()},onKeyDown:N(e.onKeyDown,f=>{if(["ArrowRight","ArrowLeft"].includes(f.key)){const m=f.target,g=m.hasAttribute("data-radix-menubar-subtrigger"),v=m.closest("[data-radix-menubar-content]")!==f.currentTarget,h=(s.dir==="rtl"?"ArrowRight":"ArrowLeft")===f.key;if(!h&&g||v&&h)return;let p=d().filter(C=>!C.disabled).map(C=>C.value);h&&p.reverse();const $=p.indexOf(i.value);p=s.loop?to(p,$+1):p.slice($+1);const[O]=p;O&&s.onMenuOpen(O)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))}),Zn=t.forwardRef((e,r)=>{const{__scopeMenubar:n,...o}=e,c=Q(n);return t.createElement(an,R({},c,o,{ref:r}))}),zn=t.forwardRef((e,r)=>{const{__scopeMenubar:n,...o}=e,c=Q(n);return t.createElement(sn,R({},c,o,{ref:r}))}),Jn=e=>{const{__scopeMenubar:r,children:n,open:o,onOpenChange:c,defaultOpen:a}=e,s=Q(r),[i=!1,d]=ae({prop:o,defaultProp:a,onChange:c});return t.createElement(ln,R({},s,{open:i,onOpenChange:d}),n)},Qn=t.forwardRef((e,r)=>{const{__scopeMenubar:n,...o}=e,c=Q(n);return t.createElement(dn,R({"data-radix-menubar-subtrigger":""},c,o,{ref:r}))}),eo=t.forwardRef((e,r)=>{const{__scopeMenubar:n,...o}=e,c=Q(n);return t.createElement(un,R({},c,{"data-radix-menubar-content":""},o,{ref:r,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))});function to(e,r){return e.map((n,o)=>e[(r+o)%e.length])}const no=Ln,oo=Xn,ro=Un,At=Yn,co=Gn,ao=Zn,so=zn,io=Jn,lo=Qn,uo=eo,fo=t.forwardRef(({selected:e,content:r,...n},o)=>l.jsxs(oo,{children:[l.jsx(ro,{asChild:!0,children:l.jsx("button",{ref:o,className:ee("cmpui_menu-bar-button__root",n.className),type:"button","data-selected":e,"data-highlighted":e,...n,children:n.children})}),l.jsx(At,{children:l.jsx(co,{asChild:!0,children:l.jsx(he,{children:r})})})]}));fo.__docgenInfo={description:"",methods:[],displayName:"MenuBarButton"};function mo(e){return l.jsx(no,{className:"cmpui_menu-bar__root",children:e.children})}mo.__docgenInfo={description:"",methods:[],displayName:"MenuBar",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};function po({className:e,disabled:r,children:n,...o}){return l.jsx(ao,{asChild:!0,disabled:r,children:l.jsx(Ve,{size:"S",rounded:!0,className:e,...o,children:n})})}po.__docgenInfo={description:"",methods:[],displayName:"MenuBarItem",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""}}};function go(){return l.jsx(so,{className:"context-menu-separator"})}go.__docgenInfo={description:"",methods:[],displayName:"MenuBarSeparator"};function bo(e){return l.jsxs(io,{children:[l.jsx(lo,{asChild:!0,children:l.jsxs(Ve,{size:"S",rounded:!0,className:"cmpui_menu-bar-sub-button__list-item",children:[e.children,l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",viewBox:"-240 -960 720 960",width:"16",fill:"currentColor",stroke:"currentColor",children:l.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})})]})}),l.jsx(At,{children:l.jsx(uo,{alignOffset:-4,sideOffset:2,asChild:!0,children:l.jsx(he,{children:e.content})})})]})}bo.__docgenInfo={description:"",methods:[],displayName:"MenuBarSubButton",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},shortcut:{required:!1,tsType:{name:"union",raw:"string | React.ReactNode",elements:[{name:"string"},{name:"ReactReactNode",raw:"React.ReactNode"}]},description:""}}};const jt="Dialog",[qt,pc]=_e(jt),[ho,Z]=qt(jt),$o=e=>{const{__scopeDialog:r,children:n,open:o,defaultOpen:c,onOpenChange:a,modal:s=!0}=e,i=t.useRef(null),d=t.useRef(null),[u=!1,f]=ae({prop:o,defaultProp:c,onChange:a});return t.createElement(ho,{scope:r,triggerRef:i,contentRef:d,contentId:J(),titleId:J(),descriptionId:J(),open:u,onOpenChange:f,onOpenToggle:t.useCallback(()=>f(m=>!m),[f]),modal:s},n)},vo="DialogTrigger",xo=t.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,c=Z(vo,n),a=W(r,c.triggerRef);return t.createElement(K.button,R({type:"button","aria-haspopup":"dialog","aria-expanded":c.open,"aria-controls":c.contentId,"data-state":tt(c.open)},o,{ref:a,onClick:N(e.onClick,c.onOpenToggle)}))}),Ft="DialogPortal",[yo,Ht]=qt(Ft,{forceMount:void 0}),Co=e=>{const{__scopeDialog:r,forceMount:n,children:o,container:c}=e,a=Z(Ft,r);return t.createElement(yo,{scope:r,forceMount:n},t.Children.map(o,s=>t.createElement($e,{present:n||a.open},t.createElement(Ye,{asChild:!0,container:c},s))))},He="DialogOverlay",wo=t.forwardRef((e,r)=>{const n=Ht(He,e.__scopeDialog),{forceMount:o=n.forceMount,...c}=e,a=Z(He,e.__scopeDialog);return a.modal?t.createElement($e,{present:o||a.open},t.createElement(_o,R({},c,{ref:r}))):null}),_o=t.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,c=Z(He,n);return t.createElement(We,{as:Ke,allowPinchZoom:!0,shards:[c.contentRef]},t.createElement(K.div,R({"data-state":tt(c.open)},o,{ref:r,style:{pointerEvents:"auto",...o.style}})))}),ge="DialogContent",Ro=t.forwardRef((e,r)=>{const n=Ht(ge,e.__scopeDialog),{forceMount:o=n.forceMount,...c}=e,a=Z(ge,e.__scopeDialog);return t.createElement($e,{present:o||a.open},a.modal?t.createElement(Eo,R({},c,{ref:r})):t.createElement(To,R({},c,{ref:r})))}),Eo=t.forwardRef((e,r)=>{const n=Z(ge,e.__scopeDialog),o=t.useRef(null),c=W(r,n.contentRef,o);return t.useEffect(()=>{const a=o.current;if(a)return Le(a)},[]),t.createElement(Bt,R({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:N(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:N(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,i=s.button===0&&s.ctrlKey===!0;(s.button===2||i)&&a.preventDefault()}),onFocusOutside:N(e.onFocusOutside,a=>a.preventDefault())}))}),To=t.forwardRef((e,r)=>{const n=Z(ge,e.__scopeDialog),o=t.useRef(!1),c=t.useRef(!1);return t.createElement(Bt,R({},e,{ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;o.current||(i=n.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}o.current=!1,c.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(o.current=!0,a.detail.originalEvent.type==="pointerdown"&&(c.current=!0));const d=a.target;((i=n.triggerRef.current)===null||i===void 0?void 0:i.contains(d))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&c.current&&a.preventDefault()}}))}),Bt=t.forwardRef((e,r)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:c,onCloseAutoFocus:a,...s}=e,i=Z(ge,n),d=t.useRef(null),u=W(r,d);return Xe(),t.createElement(t.Fragment,null,t.createElement(Ue,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:c,onUnmountAutoFocus:a},t.createElement(Ge,R({role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":tt(i.open)},s,{ref:u,onDismiss:()=>i.onOpenChange(!1)}))),!1)}),So="DialogTitle",Po=t.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,c=Z(So,n);return t.createElement(K.h2,R({id:c.titleId},o,{ref:r}))}),Mo="DialogClose",No=t.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,c=Z(Mo,n);return t.createElement(K.button,R({type:"button"},o,{ref:r,onClick:N(e.onClick,()=>c.onOpenChange(!1))}))});function tt(e){return e?"open":"closed"}const Io=$o,Oo=xo,Do=Co,ko=wo,Ao=Ro,jo=Po,qo=No;function Fo(e){return l.jsxs(Io,{open:e.open,onOpenChange:r=>{!r&&e.onClose&&e.onClose()},children:[e.trigger&&l.jsx(Oo,{asChild:!0,children:e.trigger}),l.jsxs(Do,{container:e.container,children:[l.jsx(ko,{className:"cmpui_modal__overlay"}),l.jsx(Ao,{asChild:!0,children:l.jsxs(he,{className:ee("cmpui_modal__root",e.className),children:[l.jsxs("div",{className:"cmpui_modal__header",children:[l.jsx(jo,{asChild:!0,children:l.jsx("div",{className:"cmpui_modal__title",children:e.title})}),!e.hideCloseButton&&l.jsx(qo,{asChild:!0,children:l.jsx(Jt,{className:"cmpui_modal__close-button",size:"S",onClick:e.onClose,children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20",viewBox:"0 -960 960 960",width:"20",children:l.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})})})})]}),l.jsx("hr",{className:"cmpui_modal__divider"}),l.jsx("div",{children:e.children})]})})]})]})}Fo.__docgenInfo={description:"",methods:[],displayName:"Modal",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},container:{required:!1,tsType:{name:"union",raw:"HTMLElement | null",elements:[{name:"HTMLElement"},{name:"null"}]},description:""},hideCloseButton:{required:!1,tsType:{name:"boolean"},description:""},onClose:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},open:{required:!1,tsType:{name:"boolean"},description:""},title:{required:!0,tsType:{name:"string"},description:""},trigger:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};function lt(e,[r,n]){return Math.min(n,Math.max(r,e))}function Ho(e){const r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}const Bo=[" ","Enter","ArrowUp","ArrowDown"],Vo=[" ","Enter"],Ee="Select",[Te,nt,Ko]=gt(Ee),[le,gc]=_e(Ee,[Ko,Re]),ot=Re(),[Lo,te]=le(Ee),[Wo,Xo]=le(Ee),Uo=e=>{const{__scopeSelect:r,children:n,open:o,defaultOpen:c,onOpenChange:a,value:s,defaultValue:i,onValueChange:d,dir:u,name:f,autoComplete:m,disabled:g,required:v}=e,b=ot(r),[h,T]=t.useState(null),[_,p]=t.useState(null),[$,O]=t.useState(!1),C=ht(u),[S=!1,P]=ae({prop:o,defaultProp:c,onChange:a}),[I,F]=ae({prop:s,defaultProp:i,onChange:d}),x=t.useRef(null),y=h?!!h.closest("form"):!0,[w,M]=t.useState(new Set),B=Array.from(w).map(A=>A.props.value).join(";");return t.createElement($t,b,t.createElement(Lo,{required:v,scope:r,trigger:h,onTriggerChange:T,valueNode:_,onValueNodeChange:p,valueNodeHasChildren:$,onValueNodeHasChildrenChange:O,contentId:J(),value:I,onValueChange:F,open:S,onOpenChange:P,dir:C,triggerPointerDownPosRef:x,disabled:g},t.createElement(Te.Provider,{scope:r},t.createElement(Wo,{scope:e.__scopeSelect,onNativeOptionAdd:t.useCallback(A=>{M(V=>new Set(V).add(A))},[]),onNativeOptionRemove:t.useCallback(A=>{M(V=>{const H=new Set(V);return H.delete(A),H})},[])},n)),y?t.createElement(Wt,{key:B,"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:m,value:I,onChange:A=>F(A.target.value),disabled:g},I===void 0?t.createElement("option",{value:""}):null,Array.from(w)):null))},Yo="SelectTrigger",Go=t.forwardRef((e,r)=>{const{__scopeSelect:n,disabled:o=!1,...c}=e,a=ot(n),s=te(Yo,n),i=s.disabled||o,d=W(r,s.onTriggerChange),u=nt(n),[f,m,g]=Xt(b=>{const h=u().filter(p=>!p.disabled),T=h.find(p=>p.value===s.value),_=Ut(h,b,T);_!==void 0&&s.onValueChange(_.value)}),v=()=>{i||(s.onOpenChange(!0),g())};return t.createElement(vt,R({asChild:!0},a),t.createElement(K.button,R({type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:i,"data-disabled":i?"":void 0,"data-placeholder":Lt(s.value)?"":void 0},c,{ref:d,onClick:N(c.onClick,b=>{b.currentTarget.focus()}),onPointerDown:N(c.onPointerDown,b=>{const h=b.target;h.hasPointerCapture(b.pointerId)&&h.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(v(),s.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)},b.preventDefault())}),onKeyDown:N(c.onKeyDown,b=>{const h=f.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&m(b.key),!(h&&b.key===" ")&&Bo.includes(b.key)&&(v(),b.preventDefault())})})))}),Zo="SelectValue",zo=t.forwardRef((e,r)=>{const{__scopeSelect:n,className:o,style:c,children:a,placeholder:s="",...i}=e,d=te(Zo,n),{onValueNodeHasChildrenChange:u}=d,f=a!==void 0,m=W(r,d.onValueNodeChange);return fe(()=>{u(f)},[u,f]),t.createElement(K.span,R({},i,{ref:m,style:{pointerEvents:"none"}}),Lt(d.value)?t.createElement(t.Fragment,null,s):a)}),Jo=t.forwardRef((e,r)=>{const{__scopeSelect:n,children:o,...c}=e;return t.createElement(K.span,R({"aria-hidden":!0},c,{ref:r}),o||"▼")}),Qo=e=>t.createElement(Ye,R({asChild:!0},e)),se="SelectContent",er=t.forwardRef((e,r)=>{const n=te(se,e.__scopeSelect),[o,c]=t.useState();if(fe(()=>{c(new DocumentFragment)},[]),!n.open){const a=o;return a?yt.createPortal(t.createElement(Vt,{scope:e.__scopeSelect},t.createElement(Te.Slot,{scope:e.__scopeSelect},t.createElement("div",null,e.children))),a):null}return t.createElement(tr,R({},e,{ref:r}))}),z=10,[Vt,Se]=le(se),tr=t.forwardRef((e,r)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:c,onEscapeKeyDown:a,onPointerDownOutside:s,side:i,sideOffset:d,align:u,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:v,sticky:b,hideWhenDetached:h,avoidCollisions:T,..._}=e,p=te(se,n),[$,O]=t.useState(null),[C,S]=t.useState(null),P=W(r,E=>O(E)),[I,F]=t.useState(null),[x,y]=t.useState(null),w=nt(n),[M,B]=t.useState(!1),A=t.useRef(!1);t.useEffect(()=>{if($)return Le($)},[$]),Xe();const V=t.useCallback(E=>{const[j,...L]=w().map(k=>k.ref.current),[q]=L.slice(-1),D=document.activeElement;for(const k of E)if(k===D||(k==null||k.scrollIntoView({block:"nearest"}),k===j&&C&&(C.scrollTop=0),k===q&&C&&(C.scrollTop=C.scrollHeight),k==null||k.focus(),document.activeElement!==D))return},[w,C]),H=t.useCallback(()=>V([I,$]),[V,I,$]);t.useEffect(()=>{M&&H()},[M,H]);const{onOpenChange:G,triggerPointerDownPosRef:X}=p;t.useEffect(()=>{if($){let E={x:0,y:0};const j=q=>{var D,k,U,Y;E={x:Math.abs(Math.round(q.pageX)-((D=(k=X.current)===null||k===void 0?void 0:k.x)!==null&&D!==void 0?D:0)),y:Math.abs(Math.round(q.pageY)-((U=(Y=X.current)===null||Y===void 0?void 0:Y.y)!==null&&U!==void 0?U:0))}},L=q=>{E.x<=10&&E.y<=10?q.preventDefault():$.contains(q.target)||G(!1),document.removeEventListener("pointermove",j),X.current=null};return X.current!==null&&(document.addEventListener("pointermove",j),document.addEventListener("pointerup",L,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",j),document.removeEventListener("pointerup",L,{capture:!0})}}},[$,G,X]),t.useEffect(()=>{const E=()=>G(!1);return window.addEventListener("blur",E),window.addEventListener("resize",E),()=>{window.removeEventListener("blur",E),window.removeEventListener("resize",E)}},[G]);const[ne,oe]=Xt(E=>{const j=w().filter(D=>!D.disabled),L=j.find(D=>D.ref.current===document.activeElement),q=Ut(j,E,L);q&&setTimeout(()=>q.ref.current.focus())}),Pe=t.useCallback((E,j,L)=>{const q=!A.current&&!L;(p.value!==void 0&&p.value===j||q)&&(F(E),q&&(A.current=!0))},[p.value]),Me=t.useCallback(()=>$==null?void 0:$.focus(),[$]),re=t.useCallback((E,j,L)=>{const q=!A.current&&!L;(p.value!==void 0&&p.value===j||q)&&y(E)},[p.value]),ve=o==="popper"?dt:nr,de=ve===dt?{side:i,sideOffset:d,align:u,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:v,sticky:b,hideWhenDetached:h,avoidCollisions:T}:{};return t.createElement(Vt,{scope:n,content:$,viewport:C,onViewportChange:S,itemRefCallback:Pe,selectedItem:I,onItemLeave:Me,itemTextRefCallback:re,focusSelectedItem:H,selectedItemText:x,position:o,isPositioned:M,searchRef:ne},t.createElement(We,{as:Ke,allowPinchZoom:!0},t.createElement(Ue,{asChild:!0,trapped:p.open,onMountAutoFocus:E=>{E.preventDefault()},onUnmountAutoFocus:N(c,E=>{var j;(j=p.trigger)===null||j===void 0||j.focus({preventScroll:!0}),E.preventDefault()})},t.createElement(Ge,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:E=>E.preventDefault(),onDismiss:()=>p.onOpenChange(!1)},t.createElement(ve,R({role:"listbox",id:p.contentId,"data-state":p.open?"open":"closed",dir:p.dir,onContextMenu:E=>E.preventDefault()},_,de,{onPlaced:()=>B(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",..._.style},onKeyDown:N(_.onKeyDown,E=>{const j=E.ctrlKey||E.altKey||E.metaKey;if(E.key==="Tab"&&E.preventDefault(),!j&&E.key.length===1&&oe(E.key),["ArrowUp","ArrowDown","Home","End"].includes(E.key)){let q=w().filter(D=>!D.disabled).map(D=>D.ref.current);if(["ArrowUp","End"].includes(E.key)&&(q=q.slice().reverse()),["ArrowUp","ArrowDown"].includes(E.key)){const D=E.target,k=q.indexOf(D);q=q.slice(k+1)}setTimeout(()=>V(q)),E.preventDefault()}})}))))))}),nr=t.forwardRef((e,r)=>{const{__scopeSelect:n,onPlaced:o,...c}=e,a=te(se,n),s=Se(se,n),[i,d]=t.useState(null),[u,f]=t.useState(null),m=W(r,P=>f(P)),g=nt(n),v=t.useRef(!1),b=t.useRef(!0),{viewport:h,selectedItem:T,selectedItemText:_,focusSelectedItem:p}=s,$=t.useCallback(()=>{if(a.trigger&&a.valueNode&&i&&u&&h&&T&&_){const P=a.trigger.getBoundingClientRect(),I=u.getBoundingClientRect(),F=a.valueNode.getBoundingClientRect(),x=_.getBoundingClientRect();if(a.dir!=="rtl"){const D=x.left-I.left,k=F.left-D,U=P.left-k,Y=P.width+U,Ne=Math.max(Y,I.width),Ie=window.innerWidth-z,Oe=lt(k,[z,Ie-Ne]);i.style.minWidth=Y+"px",i.style.left=Oe+"px"}else{const D=I.right-x.right,k=window.innerWidth-F.right-D,U=window.innerWidth-P.right-k,Y=P.width+U,Ne=Math.max(Y,I.width),Ie=window.innerWidth-z,Oe=lt(k,[z,Ie-Ne]);i.style.minWidth=Y+"px",i.style.right=Oe+"px"}const y=g(),w=window.innerHeight-z*2,M=h.scrollHeight,B=window.getComputedStyle(u),A=parseInt(B.borderTopWidth,10),V=parseInt(B.paddingTop,10),H=parseInt(B.borderBottomWidth,10),G=parseInt(B.paddingBottom,10),X=A+V+M+G+H,ne=Math.min(T.offsetHeight*5,X),oe=window.getComputedStyle(h),Pe=parseInt(oe.paddingTop,10),Me=parseInt(oe.paddingBottom,10),re=P.top+P.height/2-z,ve=w-re,de=T.offsetHeight/2,E=T.offsetTop+de,j=A+V+E,L=X-j;if(j<=re){const D=T===y[y.length-1].ref.current;i.style.bottom="0px";const k=u.clientHeight-h.offsetTop-h.offsetHeight,U=Math.max(ve,de+(D?Me:0)+k+H),Y=j+U;i.style.height=Y+"px"}else{const D=T===y[0].ref.current;i.style.top="0px";const U=Math.max(re,A+h.offsetTop+(D?Pe:0)+de)+L;i.style.height=U+"px",h.scrollTop=j-re+h.offsetTop}i.style.margin=`${z}px 0`,i.style.minHeight=ne+"px",i.style.maxHeight=w+"px",o==null||o(),requestAnimationFrame(()=>v.current=!0)}},[g,a.trigger,a.valueNode,i,u,h,T,_,a.dir,o]);fe(()=>$(),[$]);const[O,C]=t.useState();fe(()=>{u&&C(window.getComputedStyle(u).zIndex)},[u]);const S=t.useCallback(P=>{P&&b.current===!0&&($(),p==null||p(),b.current=!1)},[$,p]);return t.createElement(or,{scope:n,contentWrapper:i,shouldExpandOnScrollRef:v,onScrollButtonChange:S},t.createElement("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},t.createElement(K.div,R({},c,{ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...c.style}}))))}),dt=t.forwardRef((e,r)=>{const{__scopeSelect:n,align:o="start",collisionPadding:c=z,...a}=e,s=ot(n);return t.createElement(xt,R({},s,a,{ref:r,align:o,collisionPadding:c,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[or,rr]=le(se,{}),ut="SelectViewport",cr=t.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e,c=Se(ut,n),a=rr(ut,n),s=W(r,c.onViewportChange),i=t.useRef(0);return t.createElement(t.Fragment,null,t.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),t.createElement(Te.Slot,{scope:n},t.createElement(K.div,R({"data-radix-select-viewport":"",role:"presentation"},o,{ref:s,style:{position:"relative",flex:1,overflow:"auto",...o.style},onScroll:N(o.onScroll,d=>{const u=d.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:m}=a;if(m!=null&&m.current&&f){const g=Math.abs(i.current-u.scrollTop);if(g>0){const v=window.innerHeight-z*2,b=parseFloat(f.style.minHeight),h=parseFloat(f.style.height),T=Math.max(b,h);if(T0?$:0,f.style.justifyContent="flex-end")}}}i.current=u.scrollTop})}))))}),ar="SelectGroup";le(ar);const Be="SelectItem",[sr,Kt]=le(Be),ir=t.forwardRef((e,r)=>{const{__scopeSelect:n,value:o,disabled:c=!1,textValue:a,...s}=e,i=te(Be,n),d=Se(Be,n),u=i.value===o,[f,m]=t.useState(a??""),[g,v]=t.useState(!1),b=W(r,_=>{var p;return(p=d.itemRefCallback)===null||p===void 0?void 0:p.call(d,_,o,c)}),h=J(),T=()=>{c||(i.onValueChange(o),i.onOpenChange(!1))};if(o==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.createElement(sr,{scope:n,value:o,disabled:c,textId:h,isSelected:u,onItemTextChange:t.useCallback(_=>{m(p=>{var $;return p||(($=_==null?void 0:_.textContent)!==null&&$!==void 0?$:"").trim()})},[])},t.createElement(Te.ItemSlot,{scope:n,value:o,disabled:c,textValue:f},t.createElement(K.div,R({role:"option","aria-labelledby":h,"data-highlighted":g?"":void 0,"aria-selected":u&&g,"data-state":u?"checked":"unchecked","aria-disabled":c||void 0,"data-disabled":c?"":void 0,tabIndex:c?void 0:-1},s,{ref:b,onFocus:N(s.onFocus,()=>v(!0)),onBlur:N(s.onBlur,()=>v(!1)),onPointerUp:N(s.onPointerUp,T),onPointerMove:N(s.onPointerMove,_=>{if(c){var p;(p=d.onItemLeave)===null||p===void 0||p.call(d)}else _.currentTarget.focus({preventScroll:!0})}),onPointerLeave:N(s.onPointerLeave,_=>{if(_.currentTarget===document.activeElement){var p;(p=d.onItemLeave)===null||p===void 0||p.call(d)}}),onKeyDown:N(s.onKeyDown,_=>{var p;((p=d.searchRef)===null||p===void 0?void 0:p.current)!==""&&_.key===" "||(Vo.includes(_.key)&&T(),_.key===" "&&_.preventDefault())})}))))}),Ce="SelectItemText",lr=t.forwardRef((e,r)=>{const{__scopeSelect:n,className:o,style:c,...a}=e,s=te(Ce,n),i=Se(Ce,n),d=Kt(Ce,n),u=Xo(Ce,n),[f,m]=t.useState(null),g=W(r,_=>m(_),d.onItemTextChange,_=>{var p;return(p=i.itemTextRefCallback)===null||p===void 0?void 0:p.call(i,_,d.value,d.disabled)}),v=f==null?void 0:f.textContent,b=t.useMemo(()=>t.createElement("option",{key:d.value,value:d.value,disabled:d.disabled},v),[d.disabled,d.value,v]),{onNativeOptionAdd:h,onNativeOptionRemove:T}=u;return fe(()=>(h(b),()=>T(b)),[h,T,b]),t.createElement(t.Fragment,null,t.createElement(K.span,R({id:d.textId},a,{ref:g})),d.isSelected&&s.valueNode&&!s.valueNodeHasChildren?yt.createPortal(a.children,s.valueNode):null)}),dr="SelectItemIndicator",ur=t.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e;return Kt(dr,n).isSelected?t.createElement(K.span,R({"aria-hidden":!0},o,{ref:r})):null});function Lt(e){return e===""||e===void 0}const Wt=t.forwardRef((e,r)=>{const{value:n,...o}=e,c=t.useRef(null),a=W(r,c),s=Ho(n);return t.useEffect(()=>{const i=c.current,d=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(d,"value").set;if(s!==n&&f){const m=new Event("change",{bubbles:!0});f.call(i,n),i.dispatchEvent(m)}},[s,n]),t.createElement(mn,{asChild:!0},t.createElement("select",R({},o,{ref:a,defaultValue:n})))});Wt.displayName="BubbleSelect";function Xt(e){const r=fn(e),n=t.useRef(""),o=t.useRef(0),c=t.useCallback(s=>{const i=n.current+s;r(i),function d(u){n.current=u,window.clearTimeout(o.current),u!==""&&(o.current=window.setTimeout(()=>d(""),1e3))}(i)},[r]),a=t.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return t.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,c,a]}function Ut(e,r,n){const c=r.length>1&&Array.from(r).every(u=>u===r[0])?r[0]:r,a=n?e.indexOf(n):-1;let s=fr(e,Math.max(a,0));c.length===1&&(s=s.filter(u=>u!==n));const d=s.find(u=>u.textValue.toLowerCase().startsWith(c.toLowerCase()));return d!==n?d:void 0}function fr(e,r){return e.map((n,o)=>e[(r+o)%e.length])}const mr=Uo,pr=Go,gr=zo,br=Jo,hr=Qo,$r=er,vr=cr,xr=ir,yr=lr,Cr=ur;function wr(e){return l.jsxs(mr,{value:e.value,onValueChange:e.onChange,disabled:e.disabled,children:[l.jsxs(pr,{className:ee("cmpui_select__root",e.className),children:[l.jsx(gr,{}),l.jsx(br,{asChild:!0,children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",viewBox:"0 -960 960 960",width:"16",fill:"currentColor",children:l.jsx("path",{d:"M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"})})}),l.jsx("label",{className:"cmpui_select__label",children:e.label})]}),l.jsx(hr,{children:l.jsx($r,{asChild:!0,children:l.jsx(he,{style:{width:200},children:l.jsx(vr,{style:{width:"100%",display:"flex",flexDirection:"column"},children:e.children})})})})]})}wr.__docgenInfo={description:"",methods:[],displayName:"Select",props:{children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},label:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(value: string) => void",signature:{arguments:[{type:{name:"string"},name:"value"}],return:{name:"void"}}},description:""},value:{required:!1,tsType:{name:"string"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};function _r(e){return l.jsx(xr,{value:e.value,asChild:!0,onSelect:e.onSelect,disabled:e.disabled,children:l.jsxs(Ve,{rounded:!0,style:{paddingLeft:24},children:[l.jsx(Cr,{asChild:!0,children:l.jsx("svg",{style:{position:"absolute",left:8},xmlns:"http://www.w3.org/2000/svg",height:"12",viewBox:"0 -960 960 960",width:"12",fill:"currentColor",children:l.jsx("path",{d:"M382-208 122-468l90-90 170 170 366-366 90 90-456 456Z"})})}),l.jsx(yr,{children:e.children})]})})}_r.__docgenInfo={description:"",methods:[],displayName:"SelectItem",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},onSelect:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},value:{required:!0,tsType:{name:"string"},description:""}}};function bc(){const[e,r]=t.useState(null),n=t.useMemo(()=>me({onDown:o=>{o.preventDefault();const a=o.currentTarget.getBoundingClientRect();return{x:o.clientX-a.left,y:o.clientY-a.top}},onMove:(o,c,a)=>{if(!c)return;let s=c.x,i=c.y,d=a.dx,u=a.dy;a.dx<0&&(s+=a.dx,d=-a.dx),a.dy<0&&(i+=a.dy,u=-a.dy),r({x:s,y:i,width:d,height:u})},onUp:()=>{r(null)},options:{disableCapture:!0,pointerMoveOnWindow:!0}}),[]);return{rect:e,onPointerDown:n}}const Rr=t.memo(function(r){return l.jsx("div",{className:r.className,style:{height:r.height,left:r.x,top:r.y,width:r.width,background:"var(--cmpui-primary-color)",opacity:.3,pointerEvents:"none",position:"absolute",zIndex:1e3,...r.style}})});Rr.__docgenInfo={description:"",methods:[],displayName:"SelectRect",props:{x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},width:{required:!0,tsType:{name:"number"},description:""},height:{required:!0,tsType:{name:"number"},description:""},className:{required:!1,tsType:{name:"string"},description:""},style:{required:!1,tsType:{name:"ReactCSSProperties",raw:"React.CSSProperties"},description:""}}};const Er=t.forwardRef(({label:e,className:r,onNativeChange:n,...o},c)=>{const a=t.useRef(null);return Mt(a,n),l.jsxs("div",{className:ee("cmpui_textarea__root",r),"aria-disabled":o.disabled,children:[typeof e=="string"?l.jsx("label",{className:"cmpui_textarea__label",htmlFor:o.id,children:e}):e,l.jsx("textarea",{...o,className:"cmpui_textarea__textarea",ref:Ct(a,c)})]})});Er.__docgenInfo={description:"",methods:[],displayName:"TextArea"};export{Fn as C,wt as H,fo as M,Pt as P,Nt as S,Je as T,_t as a,Hn as b,we as c,mo as d,go as e,bo as f,po as g,rt as h,Fo as i,wr as j,_r as k,Rr as l,Er as m,Ze as n,at as r,bc as u}; +}`,signature:{properties:[{key:"h",value:{name:"number",required:!0}},{key:"s",value:{name:"number",required:!0}},{key:"v",value:{name:"number",required:!0}},{key:"a",value:{name:"number",required:!0}}]}},name:"hsva"}],return:{name:"void"}}},description:""},onStart:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onEnd:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};const Qe="Menubar",[Fe,Bn,Vn]=gt(Qe),[It,mc]=_e(Qe,[Vn,bt]),Q=Qt(),Ot=bt(),[Kn,et]=It(Qe),Ln=t.forwardRef((e,r)=>{const{__scopeMenubar:n,value:o,onValueChange:c,defaultValue:a,loop:s=!0,dir:i,...d}=e,u=ht(i),f=Ot(n),[m="",g]=ae({prop:o,onChange:c,defaultProp:a}),[v,b]=t.useState(null);return t.createElement(Kn,{scope:n,value:m,onMenuOpen:t.useCallback(h=>{g(h),b(h)},[g]),onMenuClose:t.useCallback(()=>g(""),[g]),onMenuToggle:t.useCallback(h=>{g(T=>T?"":h),b(h)},[g]),dir:u,loop:s},t.createElement(Fe.Provider,{scope:n},t.createElement(Fe.Slot,{scope:n},t.createElement(cn,R({asChild:!0},f,{orientation:"horizontal",loop:s,dir:u,currentTabStopId:v,onCurrentTabStopIdChange:b}),t.createElement(K.div,R({role:"menubar"},d,{ref:r}))))))}),Dt="MenubarMenu",[Wn,kt]=It(Dt),Xn=e=>{const{__scopeMenubar:r,value:n,...o}=e,c=J(),a=n||c||"LEGACY_REACT_AUTO_VALUE",s=et(Dt,r),i=Q(r),d=t.useRef(null),u=t.useRef(!1),f=s.value===a;return t.useEffect(()=>{f||(u.current=!1)},[f]),t.createElement(Wn,{scope:r,value:a,triggerId:J(),triggerRef:d,contentId:J(),wasKeyboardTriggerOpenRef:u},t.createElement(en,R({},i,{open:f,onOpenChange:m=>{m||s.onMenuClose()},modal:!1,dir:s.dir},o)))},st="MenubarTrigger",Un=t.forwardRef((e,r)=>{const{__scopeMenubar:n,disabled:o=!1,...c}=e,a=Ot(n),s=Q(n),i=et(st,n),d=kt(st,n),u=t.useRef(null),f=W(r,u,d.triggerRef),[m,g]=t.useState(!1),v=i.value===d.value;return t.createElement(Fe.ItemSlot,{scope:n,value:d.value,disabled:o},t.createElement(tn,R({asChild:!0},a,{focusable:!o,tabStopId:d.value}),t.createElement(nn,R({asChild:!0},s),t.createElement(K.button,R({type:"button",role:"menuitem",id:d.triggerId,"aria-haspopup":"menu","aria-expanded":v,"aria-controls":v?d.contentId:void 0,"data-highlighted":m?"":void 0,"data-state":v?"open":"closed","data-disabled":o?"":void 0,disabled:o},c,{ref:f,onPointerDown:N(e.onPointerDown,b=>{!o&&b.button===0&&b.ctrlKey===!1&&(i.onMenuOpen(d.value),v||b.preventDefault())}),onPointerEnter:N(e.onPointerEnter,()=>{if(!!i.value&&!v){var h;i.onMenuOpen(d.value),(h=u.current)===null||h===void 0||h.focus()}}),onKeyDown:N(e.onKeyDown,b=>{o||(["Enter"," "].includes(b.key)&&i.onMenuToggle(d.value),b.key==="ArrowDown"&&i.onMenuOpen(d.value),["Enter"," ","ArrowDown"].includes(b.key)&&(d.wasKeyboardTriggerOpenRef.current=!0,b.preventDefault()))}),onFocus:N(e.onFocus,()=>g(!0)),onBlur:N(e.onBlur,()=>g(!1))})))))}),Yn=e=>{const{__scopeMenubar:r,...n}=e,o=Q(r);return t.createElement(on,R({},o,n))},it="MenubarContent",Gn=t.forwardRef((e,r)=>{const{__scopeMenubar:n,align:o="start",...c}=e,a=Q(n),s=et(it,n),i=kt(it,n),d=Bn(n),u=t.useRef(!1);return t.createElement(rn,R({id:i.contentId,"aria-labelledby":i.triggerId,"data-radix-menubar-content":""},a,c,{ref:r,align:o,onCloseAutoFocus:N(e.onCloseAutoFocus,f=>{if(!!!s.value&&!u.current){var g;(g=i.triggerRef.current)===null||g===void 0||g.focus()}u.current=!1,f.preventDefault()}),onFocusOutside:N(e.onFocusOutside,f=>{const m=f.target;d().some(v=>{var b;return(b=v.ref.current)===null||b===void 0?void 0:b.contains(m)})&&f.preventDefault()}),onInteractOutside:N(e.onInteractOutside,()=>{u.current=!0}),onEntryFocus:f=>{i.wasKeyboardTriggerOpenRef.current||f.preventDefault()},onKeyDown:N(e.onKeyDown,f=>{if(["ArrowRight","ArrowLeft"].includes(f.key)){const m=f.target,g=m.hasAttribute("data-radix-menubar-subtrigger"),v=m.closest("[data-radix-menubar-content]")!==f.currentTarget,h=(s.dir==="rtl"?"ArrowRight":"ArrowLeft")===f.key;if(!h&&g||v&&h)return;let p=d().filter(C=>!C.disabled).map(C=>C.value);h&&p.reverse();const $=p.indexOf(i.value);p=s.loop?to(p,$+1):p.slice($+1);const[O]=p;O&&s.onMenuOpen(O)}},{checkForDefaultPrevented:!1}),style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))}),Zn=t.forwardRef((e,r)=>{const{__scopeMenubar:n,...o}=e,c=Q(n);return t.createElement(an,R({},c,o,{ref:r}))}),zn=t.forwardRef((e,r)=>{const{__scopeMenubar:n,...o}=e,c=Q(n);return t.createElement(sn,R({},c,o,{ref:r}))}),Jn=e=>{const{__scopeMenubar:r,children:n,open:o,onOpenChange:c,defaultOpen:a}=e,s=Q(r),[i=!1,d]=ae({prop:o,defaultProp:a,onChange:c});return t.createElement(ln,R({},s,{open:i,onOpenChange:d}),n)},Qn=t.forwardRef((e,r)=>{const{__scopeMenubar:n,...o}=e,c=Q(n);return t.createElement(dn,R({"data-radix-menubar-subtrigger":""},c,o,{ref:r}))}),eo=t.forwardRef((e,r)=>{const{__scopeMenubar:n,...o}=e,c=Q(n);return t.createElement(un,R({},c,{"data-radix-menubar-content":""},o,{ref:r,style:{...e.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}}))});function to(e,r){return e.map((n,o)=>e[(r+o)%e.length])}const no=Ln,oo=Xn,ro=Un,At=Yn,co=Gn,ao=Zn,so=zn,io=Jn,lo=Qn,uo=eo,fo=t.forwardRef(({selected:e,content:r,...n},o)=>l.jsxs(oo,{children:[l.jsx(ro,{asChild:!0,children:l.jsx("button",{ref:o,className:ee("cmpui_menu-bar-button__root",n.className),type:"button","data-selected":e,"data-highlighted":e,...n,children:n.children})}),l.jsx(At,{children:l.jsx(co,{asChild:!0,children:l.jsx(he,{children:r})})})]}));fo.__docgenInfo={description:"",methods:[],displayName:"MenuBarButton"};function mo(e){return l.jsx(no,{className:"cmpui_menu-bar__root",children:e.children})}mo.__docgenInfo={description:"",methods:[],displayName:"MenuBar",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};function po({className:e,disabled:r,children:n,...o}){return l.jsx(ao,{asChild:!0,disabled:r,children:l.jsx(Ve,{size:"S",rounded:!0,className:e,...o,children:n})})}po.__docgenInfo={description:"",methods:[],displayName:"MenuBarItem",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""}}};function go(){return l.jsx(so,{className:"context-menu-separator"})}go.__docgenInfo={description:"",methods:[],displayName:"MenuBarSeparator"};function bo(e){return l.jsxs(io,{children:[l.jsx(lo,{asChild:!0,children:l.jsxs(Ve,{size:"S",rounded:!0,className:"cmpui_menu-bar-sub-button__list-item",children:[e.children,l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",viewBox:"-240 -960 720 960",width:"16",fill:"currentColor",stroke:"currentColor",children:l.jsx("path",{d:"M504-480 320-664l56-56 240 240-240 240-56-56 184-184Z"})})]})}),l.jsx(At,{children:l.jsx(uo,{alignOffset:-4,sideOffset:2,asChild:!0,children:l.jsx(he,{children:e.content})})})]})}bo.__docgenInfo={description:"",methods:[],displayName:"MenuBarSubButton",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""},content:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},shortcut:{required:!1,tsType:{name:"union",raw:"string | React.ReactNode",elements:[{name:"string"},{name:"ReactReactNode",raw:"React.ReactNode"}]},description:""}}};const jt="Dialog",[qt,pc]=_e(jt),[ho,Z]=qt(jt),$o=e=>{const{__scopeDialog:r,children:n,open:o,defaultOpen:c,onOpenChange:a,modal:s=!0}=e,i=t.useRef(null),d=t.useRef(null),[u=!1,f]=ae({prop:o,defaultProp:c,onChange:a});return t.createElement(ho,{scope:r,triggerRef:i,contentRef:d,contentId:J(),titleId:J(),descriptionId:J(),open:u,onOpenChange:f,onOpenToggle:t.useCallback(()=>f(m=>!m),[f]),modal:s},n)},vo="DialogTrigger",xo=t.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,c=Z(vo,n),a=W(r,c.triggerRef);return t.createElement(K.button,R({type:"button","aria-haspopup":"dialog","aria-expanded":c.open,"aria-controls":c.contentId,"data-state":tt(c.open)},o,{ref:a,onClick:N(e.onClick,c.onOpenToggle)}))}),Ft="DialogPortal",[yo,Ht]=qt(Ft,{forceMount:void 0}),Co=e=>{const{__scopeDialog:r,forceMount:n,children:o,container:c}=e,a=Z(Ft,r);return t.createElement(yo,{scope:r,forceMount:n},t.Children.map(o,s=>t.createElement($e,{present:n||a.open},t.createElement(Ue,{asChild:!0,container:c},s))))},He="DialogOverlay",wo=t.forwardRef((e,r)=>{const n=Ht(He,e.__scopeDialog),{forceMount:o=n.forceMount,...c}=e,a=Z(He,e.__scopeDialog);return a.modal?t.createElement($e,{present:o||a.open},t.createElement(_o,R({},c,{ref:r}))):null}),_o=t.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,c=Z(He,n);return t.createElement(Le,{as:Ye,allowPinchZoom:!0,shards:[c.contentRef]},t.createElement(K.div,R({"data-state":tt(c.open)},o,{ref:r,style:{pointerEvents:"auto",...o.style}})))}),ge="DialogContent",Ro=t.forwardRef((e,r)=>{const n=Ht(ge,e.__scopeDialog),{forceMount:o=n.forceMount,...c}=e,a=Z(ge,e.__scopeDialog);return t.createElement($e,{present:o||a.open},a.modal?t.createElement(Eo,R({},c,{ref:r})):t.createElement(To,R({},c,{ref:r})))}),Eo=t.forwardRef((e,r)=>{const n=Z(ge,e.__scopeDialog),o=t.useRef(null),c=W(r,n.contentRef,o);return t.useEffect(()=>{const a=o.current;if(a)return Ke(a)},[]),t.createElement(Bt,R({},e,{ref:c,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:N(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:N(e.onPointerDownOutside,a=>{const s=a.detail.originalEvent,i=s.button===0&&s.ctrlKey===!0;(s.button===2||i)&&a.preventDefault()}),onFocusOutside:N(e.onFocusOutside,a=>a.preventDefault())}))}),To=t.forwardRef((e,r)=>{const n=Z(ge,e.__scopeDialog),o=t.useRef(!1),c=t.useRef(!1);return t.createElement(Bt,R({},e,{ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var s;if((s=e.onCloseAutoFocus)===null||s===void 0||s.call(e,a),!a.defaultPrevented){var i;o.current||(i=n.triggerRef.current)===null||i===void 0||i.focus(),a.preventDefault()}o.current=!1,c.current=!1},onInteractOutside:a=>{var s,i;(s=e.onInteractOutside)===null||s===void 0||s.call(e,a),a.defaultPrevented||(o.current=!0,a.detail.originalEvent.type==="pointerdown"&&(c.current=!0));const d=a.target;((i=n.triggerRef.current)===null||i===void 0?void 0:i.contains(d))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&c.current&&a.preventDefault()}}))}),Bt=t.forwardRef((e,r)=>{const{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:c,onCloseAutoFocus:a,...s}=e,i=Z(ge,n),d=t.useRef(null),u=W(r,d);return We(),t.createElement(t.Fragment,null,t.createElement(Xe,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:c,onUnmountAutoFocus:a},t.createElement(Ge,R({role:"dialog",id:i.contentId,"aria-describedby":i.descriptionId,"aria-labelledby":i.titleId,"data-state":tt(i.open)},s,{ref:u,onDismiss:()=>i.onOpenChange(!1)}))),!1)}),So="DialogTitle",Po=t.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,c=Z(So,n);return t.createElement(K.h2,R({id:c.titleId},o,{ref:r}))}),Mo="DialogClose",No=t.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,c=Z(Mo,n);return t.createElement(K.button,R({type:"button"},o,{ref:r,onClick:N(e.onClick,()=>c.onOpenChange(!1))}))});function tt(e){return e?"open":"closed"}const Io=$o,Oo=xo,Do=Co,ko=wo,Ao=Ro,jo=Po,qo=No;function Fo(e){return l.jsxs(Io,{open:e.open,onOpenChange:r=>{!r&&e.onClose&&e.onClose()},children:[e.trigger&&l.jsx(Oo,{asChild:!0,children:e.trigger}),l.jsxs(Do,{container:e.container,children:[l.jsx(ko,{className:"cmpui_modal__overlay"}),l.jsx(Ao,{asChild:!0,children:l.jsxs(he,{className:ee("cmpui_modal__root",e.className),children:[l.jsxs("div",{className:"cmpui_modal__header",children:[l.jsx(jo,{asChild:!0,children:l.jsx("div",{className:"cmpui_modal__title",children:e.title})}),!e.hideCloseButton&&l.jsx(qo,{asChild:!0,children:l.jsx(Jt,{className:"cmpui_modal__close-button",size:"S",onClick:e.onClose,children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"20",viewBox:"0 -960 960 960",width:"20",children:l.jsx("path",{d:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"})})})})]}),l.jsx("hr",{className:"cmpui_modal__divider"}),l.jsx("div",{children:e.children})]})})]})]})}Fo.__docgenInfo={description:"",methods:[],displayName:"Modal",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},container:{required:!1,tsType:{name:"union",raw:"HTMLElement | null",elements:[{name:"HTMLElement"},{name:"null"}]},description:""},hideCloseButton:{required:!1,tsType:{name:"boolean"},description:""},onClose:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},open:{required:!1,tsType:{name:"boolean"},description:""},title:{required:!0,tsType:{name:"string"},description:""},trigger:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};function lt(e,[r,n]){return Math.min(n,Math.max(r,e))}function Ho(e){const r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}const Bo=[" ","Enter","ArrowUp","ArrowDown"],Vo=[" ","Enter"],Ee="Select",[Te,nt,Ko]=gt(Ee),[le,gc]=_e(Ee,[Ko,Re]),ot=Re(),[Lo,te]=le(Ee),[Wo,Xo]=le(Ee),Uo=e=>{const{__scopeSelect:r,children:n,open:o,defaultOpen:c,onOpenChange:a,value:s,defaultValue:i,onValueChange:d,dir:u,name:f,autoComplete:m,disabled:g,required:v}=e,b=ot(r),[h,T]=t.useState(null),[_,p]=t.useState(null),[$,O]=t.useState(!1),C=ht(u),[S=!1,P]=ae({prop:o,defaultProp:c,onChange:a}),[I,F]=ae({prop:s,defaultProp:i,onChange:d}),x=t.useRef(null),y=h?!!h.closest("form"):!0,[w,M]=t.useState(new Set),B=Array.from(w).map(A=>A.props.value).join(";");return t.createElement($t,b,t.createElement(Lo,{required:v,scope:r,trigger:h,onTriggerChange:T,valueNode:_,onValueNodeChange:p,valueNodeHasChildren:$,onValueNodeHasChildrenChange:O,contentId:J(),value:I,onValueChange:F,open:S,onOpenChange:P,dir:C,triggerPointerDownPosRef:x,disabled:g},t.createElement(Te.Provider,{scope:r},t.createElement(Wo,{scope:e.__scopeSelect,onNativeOptionAdd:t.useCallback(A=>{M(V=>new Set(V).add(A))},[]),onNativeOptionRemove:t.useCallback(A=>{M(V=>{const H=new Set(V);return H.delete(A),H})},[])},n)),y?t.createElement(Wt,{key:B,"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:m,value:I,onChange:A=>F(A.target.value),disabled:g},I===void 0?t.createElement("option",{value:""}):null,Array.from(w)):null))},Yo="SelectTrigger",Go=t.forwardRef((e,r)=>{const{__scopeSelect:n,disabled:o=!1,...c}=e,a=ot(n),s=te(Yo,n),i=s.disabled||o,d=W(r,s.onTriggerChange),u=nt(n),[f,m,g]=Xt(b=>{const h=u().filter(p=>!p.disabled),T=h.find(p=>p.value===s.value),_=Ut(h,b,T);_!==void 0&&s.onValueChange(_.value)}),v=()=>{i||(s.onOpenChange(!0),g())};return t.createElement(vt,R({asChild:!0},a),t.createElement(K.button,R({type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:i,"data-disabled":i?"":void 0,"data-placeholder":Lt(s.value)?"":void 0},c,{ref:d,onClick:N(c.onClick,b=>{b.currentTarget.focus()}),onPointerDown:N(c.onPointerDown,b=>{const h=b.target;h.hasPointerCapture(b.pointerId)&&h.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(v(),s.triggerPointerDownPosRef.current={x:Math.round(b.pageX),y:Math.round(b.pageY)},b.preventDefault())}),onKeyDown:N(c.onKeyDown,b=>{const h=f.current!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&m(b.key),!(h&&b.key===" ")&&Bo.includes(b.key)&&(v(),b.preventDefault())})})))}),Zo="SelectValue",zo=t.forwardRef((e,r)=>{const{__scopeSelect:n,className:o,style:c,children:a,placeholder:s="",...i}=e,d=te(Zo,n),{onValueNodeHasChildrenChange:u}=d,f=a!==void 0,m=W(r,d.onValueNodeChange);return fe(()=>{u(f)},[u,f]),t.createElement(K.span,R({},i,{ref:m,style:{pointerEvents:"none"}}),Lt(d.value)?t.createElement(t.Fragment,null,s):a)}),Jo=t.forwardRef((e,r)=>{const{__scopeSelect:n,children:o,...c}=e;return t.createElement(K.span,R({"aria-hidden":!0},c,{ref:r}),o||"▼")}),Qo=e=>t.createElement(Ue,R({asChild:!0},e)),se="SelectContent",er=t.forwardRef((e,r)=>{const n=te(se,e.__scopeSelect),[o,c]=t.useState();if(fe(()=>{c(new DocumentFragment)},[]),!n.open){const a=o;return a?yt.createPortal(t.createElement(Vt,{scope:e.__scopeSelect},t.createElement(Te.Slot,{scope:e.__scopeSelect},t.createElement("div",null,e.children))),a):null}return t.createElement(tr,R({},e,{ref:r}))}),z=10,[Vt,Se]=le(se),tr=t.forwardRef((e,r)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:c,onEscapeKeyDown:a,onPointerDownOutside:s,side:i,sideOffset:d,align:u,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:v,sticky:b,hideWhenDetached:h,avoidCollisions:T,..._}=e,p=te(se,n),[$,O]=t.useState(null),[C,S]=t.useState(null),P=W(r,E=>O(E)),[I,F]=t.useState(null),[x,y]=t.useState(null),w=nt(n),[M,B]=t.useState(!1),A=t.useRef(!1);t.useEffect(()=>{if($)return Ke($)},[$]),We();const V=t.useCallback(E=>{const[j,...L]=w().map(k=>k.ref.current),[q]=L.slice(-1),D=document.activeElement;for(const k of E)if(k===D||(k==null||k.scrollIntoView({block:"nearest"}),k===j&&C&&(C.scrollTop=0),k===q&&C&&(C.scrollTop=C.scrollHeight),k==null||k.focus(),document.activeElement!==D))return},[w,C]),H=t.useCallback(()=>V([I,$]),[V,I,$]);t.useEffect(()=>{M&&H()},[M,H]);const{onOpenChange:G,triggerPointerDownPosRef:X}=p;t.useEffect(()=>{if($){let E={x:0,y:0};const j=q=>{var D,k,U,Y;E={x:Math.abs(Math.round(q.pageX)-((D=(k=X.current)===null||k===void 0?void 0:k.x)!==null&&D!==void 0?D:0)),y:Math.abs(Math.round(q.pageY)-((U=(Y=X.current)===null||Y===void 0?void 0:Y.y)!==null&&U!==void 0?U:0))}},L=q=>{E.x<=10&&E.y<=10?q.preventDefault():$.contains(q.target)||G(!1),document.removeEventListener("pointermove",j),X.current=null};return X.current!==null&&(document.addEventListener("pointermove",j),document.addEventListener("pointerup",L,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",j),document.removeEventListener("pointerup",L,{capture:!0})}}},[$,G,X]),t.useEffect(()=>{const E=()=>G(!1);return window.addEventListener("blur",E),window.addEventListener("resize",E),()=>{window.removeEventListener("blur",E),window.removeEventListener("resize",E)}},[G]);const[ne,oe]=Xt(E=>{const j=w().filter(D=>!D.disabled),L=j.find(D=>D.ref.current===document.activeElement),q=Ut(j,E,L);q&&setTimeout(()=>q.ref.current.focus())}),Pe=t.useCallback((E,j,L)=>{const q=!A.current&&!L;(p.value!==void 0&&p.value===j||q)&&(F(E),q&&(A.current=!0))},[p.value]),Me=t.useCallback(()=>$==null?void 0:$.focus(),[$]),re=t.useCallback((E,j,L)=>{const q=!A.current&&!L;(p.value!==void 0&&p.value===j||q)&&y(E)},[p.value]),ve=o==="popper"?dt:nr,de=ve===dt?{side:i,sideOffset:d,align:u,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:v,sticky:b,hideWhenDetached:h,avoidCollisions:T}:{};return t.createElement(Vt,{scope:n,content:$,viewport:C,onViewportChange:S,itemRefCallback:Pe,selectedItem:I,onItemLeave:Me,itemTextRefCallback:re,focusSelectedItem:H,selectedItemText:x,position:o,isPositioned:M,searchRef:ne},t.createElement(Le,{as:Ye,allowPinchZoom:!0},t.createElement(Xe,{asChild:!0,trapped:p.open,onMountAutoFocus:E=>{E.preventDefault()},onUnmountAutoFocus:N(c,E=>{var j;(j=p.trigger)===null||j===void 0||j.focus({preventScroll:!0}),E.preventDefault()})},t.createElement(Ge,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:E=>E.preventDefault(),onDismiss:()=>p.onOpenChange(!1)},t.createElement(ve,R({role:"listbox",id:p.contentId,"data-state":p.open?"open":"closed",dir:p.dir,onContextMenu:E=>E.preventDefault()},_,de,{onPlaced:()=>B(!0),ref:P,style:{display:"flex",flexDirection:"column",outline:"none",..._.style},onKeyDown:N(_.onKeyDown,E=>{const j=E.ctrlKey||E.altKey||E.metaKey;if(E.key==="Tab"&&E.preventDefault(),!j&&E.key.length===1&&oe(E.key),["ArrowUp","ArrowDown","Home","End"].includes(E.key)){let q=w().filter(D=>!D.disabled).map(D=>D.ref.current);if(["ArrowUp","End"].includes(E.key)&&(q=q.slice().reverse()),["ArrowUp","ArrowDown"].includes(E.key)){const D=E.target,k=q.indexOf(D);q=q.slice(k+1)}setTimeout(()=>V(q)),E.preventDefault()}})}))))))}),nr=t.forwardRef((e,r)=>{const{__scopeSelect:n,onPlaced:o,...c}=e,a=te(se,n),s=Se(se,n),[i,d]=t.useState(null),[u,f]=t.useState(null),m=W(r,P=>f(P)),g=nt(n),v=t.useRef(!1),b=t.useRef(!0),{viewport:h,selectedItem:T,selectedItemText:_,focusSelectedItem:p}=s,$=t.useCallback(()=>{if(a.trigger&&a.valueNode&&i&&u&&h&&T&&_){const P=a.trigger.getBoundingClientRect(),I=u.getBoundingClientRect(),F=a.valueNode.getBoundingClientRect(),x=_.getBoundingClientRect();if(a.dir!=="rtl"){const D=x.left-I.left,k=F.left-D,U=P.left-k,Y=P.width+U,Ne=Math.max(Y,I.width),Ie=window.innerWidth-z,Oe=lt(k,[z,Ie-Ne]);i.style.minWidth=Y+"px",i.style.left=Oe+"px"}else{const D=I.right-x.right,k=window.innerWidth-F.right-D,U=window.innerWidth-P.right-k,Y=P.width+U,Ne=Math.max(Y,I.width),Ie=window.innerWidth-z,Oe=lt(k,[z,Ie-Ne]);i.style.minWidth=Y+"px",i.style.right=Oe+"px"}const y=g(),w=window.innerHeight-z*2,M=h.scrollHeight,B=window.getComputedStyle(u),A=parseInt(B.borderTopWidth,10),V=parseInt(B.paddingTop,10),H=parseInt(B.borderBottomWidth,10),G=parseInt(B.paddingBottom,10),X=A+V+M+G+H,ne=Math.min(T.offsetHeight*5,X),oe=window.getComputedStyle(h),Pe=parseInt(oe.paddingTop,10),Me=parseInt(oe.paddingBottom,10),re=P.top+P.height/2-z,ve=w-re,de=T.offsetHeight/2,E=T.offsetTop+de,j=A+V+E,L=X-j;if(j<=re){const D=T===y[y.length-1].ref.current;i.style.bottom="0px";const k=u.clientHeight-h.offsetTop-h.offsetHeight,U=Math.max(ve,de+(D?Me:0)+k+H),Y=j+U;i.style.height=Y+"px"}else{const D=T===y[0].ref.current;i.style.top="0px";const U=Math.max(re,A+h.offsetTop+(D?Pe:0)+de)+L;i.style.height=U+"px",h.scrollTop=j-re+h.offsetTop}i.style.margin=`${z}px 0`,i.style.minHeight=ne+"px",i.style.maxHeight=w+"px",o==null||o(),requestAnimationFrame(()=>v.current=!0)}},[g,a.trigger,a.valueNode,i,u,h,T,_,a.dir,o]);fe(()=>$(),[$]);const[O,C]=t.useState();fe(()=>{u&&C(window.getComputedStyle(u).zIndex)},[u]);const S=t.useCallback(P=>{P&&b.current===!0&&($(),p==null||p(),b.current=!1)},[$,p]);return t.createElement(or,{scope:n,contentWrapper:i,shouldExpandOnScrollRef:v,onScrollButtonChange:S},t.createElement("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:O}},t.createElement(K.div,R({},c,{ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...c.style}}))))}),dt=t.forwardRef((e,r)=>{const{__scopeSelect:n,align:o="start",collisionPadding:c=z,...a}=e,s=ot(n);return t.createElement(xt,R({},s,a,{ref:r,align:o,collisionPadding:c,style:{boxSizing:"border-box",...a.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[or,rr]=le(se,{}),ut="SelectViewport",cr=t.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e,c=Se(ut,n),a=rr(ut,n),s=W(r,c.onViewportChange),i=t.useRef(0);return t.createElement(t.Fragment,null,t.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),t.createElement(Te.Slot,{scope:n},t.createElement(K.div,R({"data-radix-select-viewport":"",role:"presentation"},o,{ref:s,style:{position:"relative",flex:1,overflow:"auto",...o.style},onScroll:N(o.onScroll,d=>{const u=d.currentTarget,{contentWrapper:f,shouldExpandOnScrollRef:m}=a;if(m!=null&&m.current&&f){const g=Math.abs(i.current-u.scrollTop);if(g>0){const v=window.innerHeight-z*2,b=parseFloat(f.style.minHeight),h=parseFloat(f.style.height),T=Math.max(b,h);if(T0?$:0,f.style.justifyContent="flex-end")}}}i.current=u.scrollTop})}))))}),ar="SelectGroup";le(ar);const Be="SelectItem",[sr,Kt]=le(Be),ir=t.forwardRef((e,r)=>{const{__scopeSelect:n,value:o,disabled:c=!1,textValue:a,...s}=e,i=te(Be,n),d=Se(Be,n),u=i.value===o,[f,m]=t.useState(a??""),[g,v]=t.useState(!1),b=W(r,_=>{var p;return(p=d.itemRefCallback)===null||p===void 0?void 0:p.call(d,_,o,c)}),h=J(),T=()=>{c||(i.onValueChange(o),i.onOpenChange(!1))};if(o==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return t.createElement(sr,{scope:n,value:o,disabled:c,textId:h,isSelected:u,onItemTextChange:t.useCallback(_=>{m(p=>{var $;return p||(($=_==null?void 0:_.textContent)!==null&&$!==void 0?$:"").trim()})},[])},t.createElement(Te.ItemSlot,{scope:n,value:o,disabled:c,textValue:f},t.createElement(K.div,R({role:"option","aria-labelledby":h,"data-highlighted":g?"":void 0,"aria-selected":u&&g,"data-state":u?"checked":"unchecked","aria-disabled":c||void 0,"data-disabled":c?"":void 0,tabIndex:c?void 0:-1},s,{ref:b,onFocus:N(s.onFocus,()=>v(!0)),onBlur:N(s.onBlur,()=>v(!1)),onPointerUp:N(s.onPointerUp,T),onPointerMove:N(s.onPointerMove,_=>{if(c){var p;(p=d.onItemLeave)===null||p===void 0||p.call(d)}else _.currentTarget.focus({preventScroll:!0})}),onPointerLeave:N(s.onPointerLeave,_=>{if(_.currentTarget===document.activeElement){var p;(p=d.onItemLeave)===null||p===void 0||p.call(d)}}),onKeyDown:N(s.onKeyDown,_=>{var p;((p=d.searchRef)===null||p===void 0?void 0:p.current)!==""&&_.key===" "||(Vo.includes(_.key)&&T(),_.key===" "&&_.preventDefault())})}))))}),Ce="SelectItemText",lr=t.forwardRef((e,r)=>{const{__scopeSelect:n,className:o,style:c,...a}=e,s=te(Ce,n),i=Se(Ce,n),d=Kt(Ce,n),u=Xo(Ce,n),[f,m]=t.useState(null),g=W(r,_=>m(_),d.onItemTextChange,_=>{var p;return(p=i.itemTextRefCallback)===null||p===void 0?void 0:p.call(i,_,d.value,d.disabled)}),v=f==null?void 0:f.textContent,b=t.useMemo(()=>t.createElement("option",{key:d.value,value:d.value,disabled:d.disabled},v),[d.disabled,d.value,v]),{onNativeOptionAdd:h,onNativeOptionRemove:T}=u;return fe(()=>(h(b),()=>T(b)),[h,T,b]),t.createElement(t.Fragment,null,t.createElement(K.span,R({id:d.textId},a,{ref:g})),d.isSelected&&s.valueNode&&!s.valueNodeHasChildren?yt.createPortal(a.children,s.valueNode):null)}),dr="SelectItemIndicator",ur=t.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e;return Kt(dr,n).isSelected?t.createElement(K.span,R({"aria-hidden":!0},o,{ref:r})):null});function Lt(e){return e===""||e===void 0}const Wt=t.forwardRef((e,r)=>{const{value:n,...o}=e,c=t.useRef(null),a=W(r,c),s=Ho(n);return t.useEffect(()=>{const i=c.current,d=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(d,"value").set;if(s!==n&&f){const m=new Event("change",{bubbles:!0});f.call(i,n),i.dispatchEvent(m)}},[s,n]),t.createElement(mn,{asChild:!0},t.createElement("select",R({},o,{ref:a,defaultValue:n})))});Wt.displayName="BubbleSelect";function Xt(e){const r=fn(e),n=t.useRef(""),o=t.useRef(0),c=t.useCallback(s=>{const i=n.current+s;r(i),function d(u){n.current=u,window.clearTimeout(o.current),u!==""&&(o.current=window.setTimeout(()=>d(""),1e3))}(i)},[r]),a=t.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return t.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,c,a]}function Ut(e,r,n){const c=r.length>1&&Array.from(r).every(u=>u===r[0])?r[0]:r,a=n?e.indexOf(n):-1;let s=fr(e,Math.max(a,0));c.length===1&&(s=s.filter(u=>u!==n));const d=s.find(u=>u.textValue.toLowerCase().startsWith(c.toLowerCase()));return d!==n?d:void 0}function fr(e,r){return e.map((n,o)=>e[(r+o)%e.length])}const mr=Uo,pr=Go,gr=zo,br=Jo,hr=Qo,$r=er,vr=cr,xr=ir,yr=lr,Cr=ur;function wr(e){return l.jsxs(mr,{value:e.value,onValueChange:e.onChange,disabled:e.disabled,children:[l.jsxs(pr,{className:ee("cmpui_select__root",e.className),children:[l.jsx(gr,{}),l.jsx(br,{asChild:!0,children:l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",height:"16",viewBox:"0 -960 960 960",width:"16",fill:"currentColor",children:l.jsx("path",{d:"M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"})})}),l.jsx("label",{className:"cmpui_select__label",children:e.label})]}),l.jsx(hr,{children:l.jsx($r,{asChild:!0,children:l.jsx(he,{style:{width:200},children:l.jsx(vr,{style:{width:"100%",display:"flex",flexDirection:"column"},children:e.children})})})})]})}wr.__docgenInfo={description:"",methods:[],displayName:"Select",props:{children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},label:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(value: string) => void",signature:{arguments:[{type:{name:"string"},name:"value"}],return:{name:"void"}}},description:""},value:{required:!1,tsType:{name:"string"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};function _r(e){return l.jsx(xr,{value:e.value,asChild:!0,onSelect:e.onSelect,disabled:e.disabled,children:l.jsxs(Ve,{rounded:!0,style:{paddingLeft:24},children:[l.jsx(Cr,{asChild:!0,children:l.jsx("svg",{style:{position:"absolute",left:8},xmlns:"http://www.w3.org/2000/svg",height:"12",viewBox:"0 -960 960 960",width:"12",fill:"currentColor",children:l.jsx("path",{d:"M382-208 122-468l90-90 170 170 366-366 90 90-456 456Z"})})}),l.jsx(yr,{children:e.children})]})})}_r.__docgenInfo={description:"",methods:[],displayName:"SelectItem",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},onSelect:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},value:{required:!0,tsType:{name:"string"},description:""}}};function bc(){const[e,r]=t.useState(null),n=t.useMemo(()=>me({onDown:o=>{o.preventDefault();const a=o.currentTarget.getBoundingClientRect();return{x:o.clientX-a.left,y:o.clientY-a.top}},onMove:(o,c,a)=>{if(!c)return;let s=c.x,i=c.y,d=a.dx,u=a.dy;a.dx<0&&(s+=a.dx,d=-a.dx),a.dy<0&&(i+=a.dy,u=-a.dy),r({x:s,y:i,width:d,height:u})},onUp:()=>{r(null)},options:{disableCapture:!0,pointerMoveOnWindow:!0}}),[]);return{rect:e,onPointerDown:n}}const Rr=t.memo(function(r){return l.jsx("div",{className:r.className,style:{height:r.height,left:r.x,top:r.y,width:r.width,background:"var(--cmpui-primary-color)",opacity:.3,pointerEvents:"none",position:"absolute",zIndex:1e3,...r.style}})});Rr.__docgenInfo={description:"",methods:[],displayName:"SelectRect",props:{x:{required:!0,tsType:{name:"number"},description:""},y:{required:!0,tsType:{name:"number"},description:""},width:{required:!0,tsType:{name:"number"},description:""},height:{required:!0,tsType:{name:"number"},description:""},className:{required:!1,tsType:{name:"string"},description:""},style:{required:!1,tsType:{name:"ReactCSSProperties",raw:"React.CSSProperties"},description:""}}};const Er=t.forwardRef(({label:e,className:r,onNativeChange:n,...o},c)=>{const a=t.useRef(null);return Mt(a,n),l.jsxs("div",{className:ee("cmpui_textarea__root",r),"aria-disabled":o.disabled,children:[typeof e=="string"?l.jsx("label",{className:"cmpui_textarea__label",htmlFor:o.id,children:e}):e,l.jsx("textarea",{...o,className:"cmpui_textarea__textarea",ref:Ct(a,c)})]})});Er.__docgenInfo={description:"",methods:[],displayName:"TextArea"};export{Fn as C,wt as H,fo as M,Pt as P,Nt as S,Je as T,_t as a,Hn as b,we as c,mo as d,go as e,bo as f,po as g,rt as h,Fo as i,wr as j,_r as k,Rr as l,Er as m,Ze as n,at as r,bc as u}; diff --git a/assets/index.stories-d4yhINkx.js b/assets/index.stories-0wDWBUBo.js similarity index 70% rename from assets/index.stories-d4yhINkx.js rename to assets/index.stories-0wDWBUBo.js index fa3272e..363c746 100644 --- a/assets/index.stories-d4yhINkx.js +++ b/assets/index.stories-0wDWBUBo.js @@ -1,4 +1,4 @@ -import{j as l}from"./jsx-runtime-DtaoT6pD.js";import{r as e}from"./index-OjgoNOWw.js";import{S as n}from"./index-_tE33Gv2.js";import"./createDragHandler-nJMxlNVC.js";import"./clamp-xqaTU5Qn.js";import"./index-pk5nlV7d.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-3ZWm4lKU.js";import"./index-cYjXm3u-.js";import"./useTouchStartPrevent-SoOiKono.js";const P={title:"Colors/SVPicker",component:n},t={render:function(){const[s,u]=e.useState(1),[i,m]=e.useState(1);return l.jsx(n,{hue:0,onChange:(c,p)=>{u(c),m(p)},saturation:s,value:i})}};var r,o,a;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{j as l}from"./jsx-runtime-DvLKfCe6.js";import{r as e}from"./index-aXz8NaAs.js";import{S as n}from"./index-btd8k4jy.js";import"./createDragHandler-nJMxlNVC.js";import"./clamp-xqaTU5Qn.js";import"./index-0ceNsg1m.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-AYEmu2YI.js";import"./index-U9bU_qbB.js";import"./useTouchStartPrevent-kBVXV8Ya.js";const P={title:"Colors/SVPicker",component:n},t={render:function(){const[s,u]=e.useState(1),[i,m]=e.useState(1);return l.jsx(n,{hue:0,onChange:(c,p)=>{u(c),m(p)},saturation:s,value:i})}};var r,o,a;t.parameters={...t.parameters,docs:{...(r=t.parameters)==null?void 0:r.docs,source:{originalSource:`{ render: function Render() { const [saturation, setSaturation] = useState(1); const [value, setValue] = useState(1); diff --git a/assets/index.stories-Wbz7DCbG.js b/assets/index.stories-3Oc0wc-h.js similarity index 79% rename from assets/index.stories-Wbz7DCbG.js rename to assets/index.stories-3Oc0wc-h.js index b94e1e9..1ca9812 100644 --- a/assets/index.stories-Wbz7DCbG.js +++ b/assets/index.stories-3Oc0wc-h.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-DtaoT6pD.js";import{r as x}from"./index-OjgoNOWw.js";import{c as t}from"./clamp-xqaTU5Qn.js";import{C as a}from"./index-7FH3x4aD.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./index-rAFazk-7.js";const E={title:"Controls/CubicControls",component:a},o={render:function(){const[e,i]=x.useState([{type:"move",x:0,y:100},{type:"cubic",x:100,y:0,x1:50,y1:100,x2:50,y2:0}]),p=e[1];return r.jsx("div",{style:{width:100,height:100,position:"relative"},children:r.jsx(a,{prev:e[0],cubic:p,onChange:n=>{n.x=t(n.x,0,100),n.y=t(n.y,0,100),n.x1=t(n.x1,0,100),n.y1=t(n.y1,0,100),n.x2=t(n.x2,0,100),n.y2=t(n.y2,0,100),i([e[0],n])}})})}};var c,m,s;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-DvLKfCe6.js";import{r as x}from"./index-aXz8NaAs.js";import{c as t}from"./clamp-xqaTU5Qn.js";import{C as a}from"./index-NAhdMhKS.js";import"./createDragHandler-nJMxlNVC.js";import"./index-0ceNsg1m.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-U9bU_qbB.js";import"./index-nuWmM7Ma.js";const E={title:"Controls/CubicControls",component:a},o={render:function(){const[e,i]=x.useState([{type:"move",x:0,y:100},{type:"cubic",x:100,y:0,x1:50,y1:100,x2:50,y2:0}]),p=e[1];return r.jsx("div",{style:{width:100,height:100,position:"relative"},children:r.jsx(a,{prev:e[0],cubic:p,onChange:n=>{n.x=t(n.x,0,100),n.y=t(n.y,0,100),n.x1=t(n.x1,0,100),n.y1=t(n.y1,0,100),n.x2=t(n.x2,0,100),n.y2=t(n.y2,0,100),i([e[0],n])}})})}};var c,m,s;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{ render: function Render() { const [commands, setCommands] = useState([{ type: "move", diff --git a/assets/index.stories-5Jhlc19m.js b/assets/index.stories-5Jhlc19m.js new file mode 100644 index 0000000..09b5c88 --- /dev/null +++ b/assets/index.stories-5Jhlc19m.js @@ -0,0 +1,13 @@ +import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{r as o}from"./index-aXz8NaAs.js";import{i as c,T as y,S as a}from"./index-yf8mkK-1.js";import{B as d}from"./index-5ui4R9NG.js";/* empty css */import"./index-Kq3z_NZE.js";import"./createDragHandler-nJMxlNVC.js";import"./index-0ceNsg1m.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-U9bU_qbB.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import"./index-btd8k4jy.js";import"./clamp-xqaTU5Qn.js";import"./index-AYEmu2YI.js";import"./useTouchStartPrevent-kBVXV8Ya.js";import"./index-uWlkGYMJ.js";import"./index-D9RaxIjz.js";import"./index-xX_uHqPz.js";import"./extends-dGVwEr9R.js";import"./index-M7H33-mE.js";import"./index-n3prD_Ok.js";import"./index-YkBf51cs.js";import"./index-MW3rGVG_.js";import"./index-sSXR_LKw.js";import"./index-NAhdMhKS.js";import"./index-nuWmM7Ma.js";import"./DropdownMenuItem-TbdlQnuP.js";import"./index-CYasbvvH.js";import"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-9ZytVVav.js";import"./index-Oh1OAjsI.js";import"./mergeRefs-mmWAE0a7.js";import"./index-K1fIJHIl.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";const le={title:"Float/Modal",component:c},n={render:function(){const[i,r]=o.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsx(d,{onClick:()=>r(!0),children:"Open modal"}),e.jsx(c,{title:"settings",open:i,onClose:()=>r(!1),children:e.jsx(b,{onClose:()=>{r(!1)}})})]})}};function b({onClose:s}={}){const[i,r]=o.useState("Awesome project"),[u,h]=o.useState(256),[f,x]=o.useState(512),g=o.useCallback(t=>{r(t.target.value)},[]),C=o.useCallback(t=>{if(typeof t!="number")throw new Error("value is not number");h(t)},[]),j=o.useCallback(t=>{if(typeof t!="number")throw new Error("value is not number");x(t)},[]);return e.jsxs("div",{style:{textAlign:"center",padding:16,display:"flex",flexDirection:"column",gap:12},children:[e.jsx(y,{placeholder:"input",label:"name",value:i,onChange:g,autoFocus:!0}),e.jsxs("div",{style:{display:"flex",gap:8},children:[e.jsx(a,{placeholder:"input",label:"width",value:[u],onChangeValue:C}),e.jsx("div",{style:{display:"flex",alignItems:"center"},children:"×"}),e.jsx(a,{placeholder:"input",label:"heigt",value:[f],onChangeValue:j})]}),e.jsx(d,{onClick:s,children:"Save"})]})}var p,l,m;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`{ + render: function RenderBasic() { + const [open, setOpen] = useState(false); + return <> + + setOpen(false)}> + { + setOpen(false); + }} /> + + ; + } +}`,...(m=(l=n.parameters)==null?void 0:l.docs)==null?void 0:m.source}}};const me=["Primary"];export{n as Primary,me as __namedExportsOrder,le as default}; diff --git a/assets/index.stories-8AVspXZb.js b/assets/index.stories-8AVspXZb.js deleted file mode 100644 index 9d2590c..0000000 --- a/assets/index.stories-8AVspXZb.js +++ /dev/null @@ -1,43 +0,0 @@ -import{j as o}from"./jsx-runtime-DtaoT6pD.js";import{r}from"./index-OjgoNOWw.js";import{j as s,k as p}from"./index-CzAlb3Z9.js";/* empty css */import"./index-EwGKNtg5.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-_tE33Gv2.js";import"./clamp-xqaTU5Qn.js";import"./index-3ZWm4lKU.js";import"./useTouchStartPrevent-SoOiKono.js";import"./index-6uWyxtkv.js";import"./index-hC_OXdTA.js";import"./index-14PbI9Yx.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";import"./index-7FH3x4aD.js";import"./index-rAFazk-7.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./mergeRefs-mmWAE0a7.js";import"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";const Se={title:"Form/Select",component:s},d=[{label:"Option 1",value:"1"},{label:"Option 2",value:"2"},{label:"Option 3",value:"3"},{label:"Option 4",value:"4"}],i={render:function(){const[a,l]=r.useState("1");return o.jsx(s,{label:"Label",value:a,onChange:l,children:d.map(t=>o.jsx(p,{value:t.value,children:t.label},t.value))})}},u={render:function(){const[a,l]=r.useState("1");return o.jsx(s,{label:"Label",value:a,onChange:l,disabled:!0,children:d.map(t=>o.jsx(p,{value:t.value,children:t.label},t.value))})}},m={render:function(){const[a,l]=r.useState("1");return o.jsx(s,{label:"Label",value:a,onChange:l,children:d.map(t=>o.jsx(p,{value:t.value,disabled:t.value==="2",children:t.label},t.value))})}},F=["Roboto","Sixtyfour","Wavefont","Gabarito","Agbalumo","Honk","Slackside One","Smooch","Chokokutai","Monomaniac One","Palette Mosaic"].sort(),c={render:function(){const a=F.map(n=>({label:n,value:n,family:n,url:`https://fonts.googleapis.com/css2?family=${n}&display=swap`})),[l,t]=r.useState("Roboto");return o.jsx(s,{label:"font",value:l,onChange:t,children:a.map(n=>o.jsx(L,{family:n.family,url:n.url,value:n.value,children:n.label},n.value))})}},v=new Map;function I(e){if(v.has(e))return;const a=document.createElement("link");a.href=e,a.rel="stylesheet",document.head.appendChild(a),v.set(e,e)}function L(e){return r.useEffect(()=>{I(e.url)},[e.url]),o.jsx(p,{value:e.value,children:o.jsx("div",{style:{fontFamily:e.family},children:e.children})})}var f,b,S;i.parameters={...i.parameters,docs:{...(f=i.parameters)==null?void 0:f.docs,source:{originalSource:`{ - render: function Render() { - const [value, setValue] = useState("1"); - return ; - } -}`,...(S=(b=i.parameters)==null?void 0:b.docs)==null?void 0:S.source}}};var h,y,g;u.parameters={...u.parameters,docs:{...(h=u.parameters)==null?void 0:h.docs,source:{originalSource:`{ - render: function Render() { - const [value, setValue] = useState("1"); - return ; - } -}`,...(g=(y=u.parameters)==null?void 0:y.docs)==null?void 0:g.source}}};var x,R,j;m.parameters={...m.parameters,docs:{...(x=m.parameters)==null?void 0:x.docs,source:{originalSource:`{ - render: function Render() { - const [value, setValue] = useState("1"); - return ; - } -}`,...(j=(R=m.parameters)==null?void 0:R.docs)==null?void 0:j.source}}};var V,k,C;c.parameters={...c.parameters,docs:{...(V=c.parameters)==null?void 0:V.docs,source:{originalSource:`{ - render: function Render() { - const fonts = fontList.map(font => ({ - label: font, - value: font, - family: font, - url: \`https://fonts.googleapis.com/css2?family=\${font}&display=swap\` - })); - const [value, setValue] = useState("Roboto"); - return ; - } -}`,...(C=(k=c.parameters)==null?void 0:k.docs)==null?void 0:C.source}}};const he=["Basic","Disabled","DisabledItem","Fonts"];export{i as Basic,u as Disabled,m as DisabledItem,c as Fonts,he as __namedExportsOrder,Se as default}; diff --git a/assets/index.stories-Jk87lRRc.js b/assets/index.stories-9BQ0pZBv.js similarity index 55% rename from assets/index.stories-Jk87lRRc.js rename to assets/index.stories-9BQ0pZBv.js index 72ff912..43c2233 100644 --- a/assets/index.stories-Jk87lRRc.js +++ b/assets/index.stories-9BQ0pZBv.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-DtaoT6pD.js";import{r as q}from"./index-OjgoNOWw.js";import{T as k,C as Y,a as v,b as Z,i as ee,O as S}from"./index-6uWyxtkv.js";import{I as g}from"./Icon-znzPB4bR.js";import{L as ne}from"./index-14PbI9Yx.js";import"./index-hC_OXdTA.js";import"./classNames-pTwYsIK_.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";const ue={title:"View/TreeView",component:k};function P(){return Math.random().toString(36).slice(2)}const ie=[{id:"root",children:[{id:"src",children:[{id:"image.png",icon:"image"},{id:"music.mp3",icon:"music_note"}]},{id:"lib",children:[{id:"video.mp4",icon:"videocam"},{id:"code.tsx",icon:"code"}]},{id:"child3",children:[{id:"child3-1"},{id:"child3-2"}]}]}];function te({item:m,open:h,onOpenChange:I,setItems:r,items:c,map:a,depth:O,onOpenContext:E,selected:i,onClick:o}){return n.jsx(Y,{onOpenChange:E,content:n.jsxs(n.Fragment,{children:[m.children!==void 0&&n.jsxs(n.Fragment,{children:[n.jsx(v,{onClick:()=>{m.children?m.children.push({id:P()}):m.children=[{id:`${m.id}-1`}],r([...c])},children:"New File"}),n.jsx(v,{onClick:()=>{var s;(s=m.children)==null||s.push({id:P(),children:[]}),r([...c])},children:"New Folder"}),n.jsx(Z,{})]}),n.jsx(v,{onClick:()=>{var t,x,p,u;const s=(t=a.get(m.id))==null?void 0:t.parentId,e=a.get(s??"");if(!e){r(c.filter(j=>j.id!==m.id));return}const l=(x=e.item.children)==null?void 0:x.indexOf(m);if(l===void 0)throw new Error("index not found");(p=e.item.children)==null||p.splice(l,1),((u=e.item.children)==null?void 0:u.length)===0&&(e.item.children=[]),r([...c])},children:"Delete"})]}),children:n.jsxs(ne,{style:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingLeft:(O+1)*8,boxSizing:"border-box",paddingRight:8,gap:4},selected:i,onClick:o,as:"div",children:[m.children===void 0?n.jsx(g,{name:m.icon??"note",size:16,style:{marginLeft:12}}):h?n.jsxs("div",{style:{display:"flex",gap:4,cursor:"pointer"},onClick:()=>{I==null||I(!1)},children:[n.jsx(g,{name:"expand_more",size:16}),n.jsx(g,{name:"folder_open",size:16})]}):n.jsxs("div",{style:{display:"flex",cursor:"pointer",gap:4},onClick:()=>{I==null||I(!0)},children:[n.jsx(g,{name:"chevron_right",size:16}),n.jsx(g,{name:"folder",style:{cursor:"pointer"},size:16})]}),m.id]})})}const y={render:function(){const[h,I]=q.useState([]),[r,c]=q.useState(JSON.parse(JSON.stringify(ie))),a=new Map,O=(i,o)=>{var s;a.set(i.id,{item:i,parentId:o}),(s=i.children)==null||s.forEach(e=>O(e,i.id))};r.forEach(i=>O(i));function E(i,o,s){var p,u,j,T,M,_,N,R,b,F,z,B,L,V,J,$,A,K;const e=a.get(i),l=a.get(o);if(!e||!l)throw new Error("item not found");const t=(p=a.get(e.parentId??""))==null?void 0:p.item,x=(u=a.get(l.parentId??""))==null?void 0:u.item;if(!ee(e.item,l.item.id)){if(s===S.Before)if(x===void 0)if(t){const d=(j=t.children)==null?void 0:j.indexOf(e.item);if(d===void 0)throw new Error("index not found");(T=t.children)==null||T.splice(d,1),c([e.item,...r])}else{const d=r.indexOf(e.item),f=r.filter((D,w)=>w!==d);f.unshift(e.item),c(f)}else{const d=(M=x.children)==null?void 0:M.indexOf(l.item);if(d===void 0)throw new Error("index not found");const f=(_=t==null?void 0:t.children)==null?void 0:_.indexOf(e.item);if(f===void 0)throw new Error("index not found");if(t===void 0)throw new Error("srcParent is undefined");(N=t.children)==null||N.splice(f,1),(R=x.children)==null||R.splice(d,0,e.item),c([...r])}else if(s===S.After)if(x===void 0)if(t){const d=(b=t.children)==null?void 0:b.indexOf(e.item);if(d===void 0)throw new Error("index not found");(F=t.children)==null||F.splice(d,1),c([...r,e.item])}else{const d=r.indexOf(e.item),f=r.filter((D,w)=>w!==d);f.push(e.item),c(f)}else{const d=(z=x.children)==null?void 0:z.indexOf(l.item);if(d===void 0)throw new Error("index not found");const f=(B=t==null?void 0:t.children)==null?void 0:B.indexOf(e.item);if(f===void 0)throw new Error("index not found");if(t===void 0)throw new Error("srcParent is undefined");(L=t.children)==null||L.splice(f,1),(V=x.children)==null||V.splice(d+1,0,e.item),c([...r])}else if(s===S.Child)if(t){const d=(J=t.children)==null?void 0:J.indexOf(e.item);if(d===void 0)throw new Error("index not found");if(!l.item.children)return;($=t.children)==null||$.splice(d,1),(A=l.item.children)==null||A.push(e.item),c([...r])}else{const d=r.indexOf(e.item);if(d===void 0)throw new Error("index not found");if(!l.item.children)return;const f=r.filter((D,w)=>w!==d);(K=l.item.children)==null||K.push(e.item),c(f)}}}return n.jsx(Y,{content:n.jsxs(n.Fragment,{children:[n.jsx(v,{onClick:()=>{const i={id:P()};c([...r,i])},children:"New File"}),n.jsx(v,{onClick:()=>{const i={id:P(),children:[]};c([...r,i])},children:"New Folder"})]}),children:n.jsx("div",{style:{height:256,width:256,overflow:"auto"},children:n.jsx(k,{items:r,shadowRender:i=>{var s,e;if(h.length>1){const l=(s=a.get(h[0]))==null?void 0:s.item;return n.jsxs("div",{children:[l==null?void 0:l.id," + ",h.length-1," more"]})}const o=(e=a.get(i.item.id))==null?void 0:e.item;return n.jsx("div",{children:o==null?void 0:o.id})},render:i=>n.jsx(te,{...i,selected:h.includes(i.item.id),onOpenContext:o=>{o&&I([i.item.id])},onClick:o=>{if(o.metaKey){I([...h,i.item.id]);return}I([i.item.id])},items:r,setItems:c,map:a}),onOrderChange:(i,o,s)=>{if(h.length===1){E(i,o,s);return}for(const e of h)E(e,o,s)}})})})}},C={render:function(){return n.jsx("div",{style:{width:256,paddingBottom:32,overflow:"auto"},children:n.jsx(k,{items:[{id:"root",children:[{id:"child-1",children:[{id:"child-1-1",children:[{id:"child-1-1-1",children:[{id:"child-1-1-1-1",children:[{id:"child-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1-1-1-1-1"}]}]}]}]}]}]}]}]}]}]}],render:h=>n.jsx("div",{style:{backgroundColor:`rgba(0, 0, 0, ${.05+h.depth*.05})`,paddingLeft:h.depth*16,whiteSpace:"nowrap"},children:h.item.id})})})}};var G,H,Q;y.parameters={...y.parameters,docs:{...(G=y.parameters)==null?void 0:G.docs,source:{originalSource:`{ +import{j as n}from"./jsx-runtime-DvLKfCe6.js";import{r as q}from"./index-aXz8NaAs.js";import{T as k,C as Y,a as v,b as Z,i as ee,O as S}from"./index-uWlkGYMJ.js";import{I as g}from"./Icon-4LS2xAFO.js";import{L as ne}from"./index-xX_uHqPz.js";import"./index-D9RaxIjz.js";import"./classNames-pTwYsIK_.js";import"./extends-dGVwEr9R.js";import"./index-M7H33-mE.js";import"./index-n3prD_Ok.js";import"./index-YkBf51cs.js";import"./index-MW3rGVG_.js";import"./index-sSXR_LKw.js";const ue={title:"View/TreeView",component:k};function P(){return Math.random().toString(36).slice(2)}const ie=[{id:"root",children:[{id:"src",children:[{id:"image.png",icon:"image"},{id:"music.mp3",icon:"music_note"}]},{id:"lib",children:[{id:"video.mp4",icon:"videocam"},{id:"code.tsx",icon:"code"}]},{id:"child3",children:[{id:"child3-1"},{id:"child3-2"}]}]}];function te({item:m,open:h,onOpenChange:I,setItems:r,items:c,map:a,depth:O,onOpenContext:E,selected:i,onClick:o}){return n.jsx(Y,{onOpenChange:E,content:n.jsxs(n.Fragment,{children:[m.children!==void 0&&n.jsxs(n.Fragment,{children:[n.jsx(v,{onClick:()=>{m.children?m.children.push({id:P()}):m.children=[{id:`${m.id}-1`}],r([...c])},children:"New File"}),n.jsx(v,{onClick:()=>{var s;(s=m.children)==null||s.push({id:P(),children:[]}),r([...c])},children:"New Folder"}),n.jsx(Z,{})]}),n.jsx(v,{onClick:()=>{var t,x,p,u;const s=(t=a.get(m.id))==null?void 0:t.parentId,e=a.get(s??"");if(!e){r(c.filter(j=>j.id!==m.id));return}const l=(x=e.item.children)==null?void 0:x.indexOf(m);if(l===void 0)throw new Error("index not found");(p=e.item.children)==null||p.splice(l,1),((u=e.item.children)==null?void 0:u.length)===0&&(e.item.children=[]),r([...c])},children:"Delete"})]}),children:n.jsxs(ne,{style:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingLeft:(O+1)*8,boxSizing:"border-box",paddingRight:8,gap:4},selected:i,onClick:o,as:"div",children:[m.children===void 0?n.jsx(g,{name:m.icon??"note",size:16,style:{marginLeft:12}}):h?n.jsxs("div",{style:{display:"flex",gap:4,cursor:"pointer"},onClick:()=>{I==null||I(!1)},children:[n.jsx(g,{name:"expand_more",size:16}),n.jsx(g,{name:"folder_open",size:16})]}):n.jsxs("div",{style:{display:"flex",cursor:"pointer",gap:4},onClick:()=>{I==null||I(!0)},children:[n.jsx(g,{name:"chevron_right",size:16}),n.jsx(g,{name:"folder",style:{cursor:"pointer"},size:16})]}),m.id]})})}const y={render:function(){const[h,I]=q.useState([]),[r,c]=q.useState(JSON.parse(JSON.stringify(ie))),a=new Map,O=(i,o)=>{var s;a.set(i.id,{item:i,parentId:o}),(s=i.children)==null||s.forEach(e=>O(e,i.id))};r.forEach(i=>O(i));function E(i,o,s){var p,u,j,T,M,_,N,R,b,F,z,B,L,V,J,$,A,K;const e=a.get(i),l=a.get(o);if(!e||!l)throw new Error("item not found");const t=(p=a.get(e.parentId??""))==null?void 0:p.item,x=(u=a.get(l.parentId??""))==null?void 0:u.item;if(!ee(e.item,l.item.id)){if(s===S.Before)if(x===void 0)if(t){const d=(j=t.children)==null?void 0:j.indexOf(e.item);if(d===void 0)throw new Error("index not found");(T=t.children)==null||T.splice(d,1),c([e.item,...r])}else{const d=r.indexOf(e.item),f=r.filter((D,w)=>w!==d);f.unshift(e.item),c(f)}else{const d=(M=x.children)==null?void 0:M.indexOf(l.item);if(d===void 0)throw new Error("index not found");const f=(_=t==null?void 0:t.children)==null?void 0:_.indexOf(e.item);if(f===void 0)throw new Error("index not found");if(t===void 0)throw new Error("srcParent is undefined");(N=t.children)==null||N.splice(f,1),(R=x.children)==null||R.splice(d,0,e.item),c([...r])}else if(s===S.After)if(x===void 0)if(t){const d=(b=t.children)==null?void 0:b.indexOf(e.item);if(d===void 0)throw new Error("index not found");(F=t.children)==null||F.splice(d,1),c([...r,e.item])}else{const d=r.indexOf(e.item),f=r.filter((D,w)=>w!==d);f.push(e.item),c(f)}else{const d=(z=x.children)==null?void 0:z.indexOf(l.item);if(d===void 0)throw new Error("index not found");const f=(B=t==null?void 0:t.children)==null?void 0:B.indexOf(e.item);if(f===void 0)throw new Error("index not found");if(t===void 0)throw new Error("srcParent is undefined");(L=t.children)==null||L.splice(f,1),(V=x.children)==null||V.splice(d+1,0,e.item),c([...r])}else if(s===S.Child)if(t){const d=(J=t.children)==null?void 0:J.indexOf(e.item);if(d===void 0)throw new Error("index not found");if(!l.item.children)return;($=t.children)==null||$.splice(d,1),(A=l.item.children)==null||A.push(e.item),c([...r])}else{const d=r.indexOf(e.item);if(d===void 0)throw new Error("index not found");if(!l.item.children)return;const f=r.filter((D,w)=>w!==d);(K=l.item.children)==null||K.push(e.item),c(f)}}}return n.jsx(Y,{content:n.jsxs(n.Fragment,{children:[n.jsx(v,{onClick:()=>{const i={id:P()};c([...r,i])},children:"New File"}),n.jsx(v,{onClick:()=>{const i={id:P(),children:[]};c([...r,i])},children:"New Folder"})]}),children:n.jsx("div",{style:{height:256,width:256,overflow:"auto"},children:n.jsx(k,{items:r,shadowRender:i=>{var s,e;if(h.length>1){const l=(s=a.get(h[0]))==null?void 0:s.item;return n.jsxs("div",{children:[l==null?void 0:l.id," + ",h.length-1," more"]})}const o=(e=a.get(i.item.id))==null?void 0:e.item;return n.jsx("div",{children:o==null?void 0:o.id})},render:i=>n.jsx(te,{...i,selected:h.includes(i.item.id),onOpenContext:o=>{o&&I([i.item.id])},onClick:o=>{if(o.metaKey){I([...h,i.item.id]);return}I([i.item.id])},items:r,setItems:c,map:a}),onOrderChange:(i,o,s)=>{if(h.length===1){E(i,o,s);return}for(const e of h)E(e,o,s)}})})})}},C={render:function(){return n.jsx("div",{style:{width:256,paddingBottom:32,overflow:"auto"},children:n.jsx(k,{items:[{id:"root",children:[{id:"child-1",children:[{id:"child-1-1",children:[{id:"child-1-1-1",children:[{id:"child-1-1-1-1",children:[{id:"child-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1-1-1-1",children:[{id:"child-1-1-1-1-1-1-1-1-1-1"}]}]}]}]}]}]}]}]}]}]}],render:h=>n.jsx("div",{style:{backgroundColor:`rgba(0, 0, 0, ${.05+h.depth*.05})`,paddingLeft:h.depth*16,whiteSpace:"nowrap"},children:h.item.id})})})}};var G,H,Q;y.parameters={...y.parameters,docs:{...(G=y.parameters)==null?void 0:G.docs,source:{originalSource:`{ render: function Render() { const [selectedIds, setSelectedIds] = useState([]); const [items, setItems] = useState((JSON.parse(JSON.stringify(defaultItems)) as ITree[])); diff --git a/assets/index.stories-A3iBMI0l.js b/assets/index.stories-A3iBMI0l.js new file mode 100644 index 0000000..d1fdffd --- /dev/null +++ b/assets/index.stories-A3iBMI0l.js @@ -0,0 +1,55 @@ +import{j as r}from"./jsx-runtime-DvLKfCe6.js";import{r as i}from"./index-aXz8NaAs.js";import{c as s}from"./index-yf8mkK-1.js";import{h as R}from"./index-btd8k4jy.js";/* empty css */import"./index-Kq3z_NZE.js";import"./createDragHandler-nJMxlNVC.js";import"./index-0ceNsg1m.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-U9bU_qbB.js";import"./index-5ui4R9NG.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import"./clamp-xqaTU5Qn.js";import"./index-AYEmu2YI.js";import"./index-uWlkGYMJ.js";import"./index-D9RaxIjz.js";import"./index-xX_uHqPz.js";import"./extends-dGVwEr9R.js";import"./index-M7H33-mE.js";import"./index-n3prD_Ok.js";import"./index-YkBf51cs.js";import"./index-MW3rGVG_.js";import"./index-sSXR_LKw.js";import"./index-NAhdMhKS.js";import"./index-nuWmM7Ma.js";import"./DropdownMenuItem-TbdlQnuP.js";import"./index-CYasbvvH.js";import"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-9ZytVVav.js";import"./useTouchStartPrevent-kBVXV8Ya.js";import"./index-Oh1OAjsI.js";import"./mergeRefs-mmWAE0a7.js";import"./index-K1fIJHIl.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";const le={title:"Colors/ColorSlider",component:s},o={render:function(){const[e,t]=i.useState(.5);return r.jsx(s,{color:{r:(1-e)*255,g:(1-e)*255,b:(1-e)*255,a:e},value:e,onChange:t,bg:r.jsx("div",{style:{width:"100%",height:"100%",backgroundImage:"linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1))"}})})}},n={render:function(){const[e,t]=i.useState(.5),v=i.useMemo(()=>{const{r:S,g:C,b:x}=R({h:e*360,s:1,v:1});return{r:S,g:C,b:x,a:1}},[e]);return r.jsx(s,{color:v,value:e,onChange:t,bg:r.jsx("div",{style:{width:"100%",height:"100%",backgroundImage:"linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)"}})})}},a={render:function(){const[e,t]=i.useState(.5);return r.jsx(s,{color:{r:e*255,g:0,b:0,a:1},height:32,value:e,onChange:t,bg:r.jsx("div",{style:{width:"100%",height:"100%",backgroundImage:"linear-gradient(to right, black, red)"}})})}};var m,l,g;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{ + render: function Render() { + const [value, setValue] = useState(0.5); + return } />; + } +}`,...(g=(l=o.parameters)==null?void 0:l.docs)==null?void 0:g.source}}};var c,p,d;n.parameters={...n.parameters,docs:{...(c=n.parameters)==null?void 0:c.docs,source:{originalSource:`{ + render: function Render() { + const [value, setValue] = useState(0.5); + const color = useMemo(() => { + const { + r, + g, + b + } = hsvToRgb({ + h: value * 360, + s: 1, + v: 1 + }); + return { + r, + g, + b, + a: 1 + }; + }, [value]); + return } />; + } +}`,...(d=(p=n.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};var h,f,b;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ + render: function Render() { + const [value, setValue] = useState(0.5); + return } />; + } +}`,...(b=(f=a.parameters)==null?void 0:f.docs)==null?void 0:b.source}}};const ge=["Default","Hue","HeightAndNobSize"];export{o as Default,a as HeightAndNobSize,n as Hue,ge as __namedExportsOrder,le as default}; diff --git a/assets/index.stories-At8KDf4V.js b/assets/index.stories-At8KDf4V.js deleted file mode 100644 index 0d7fbf7..0000000 --- a/assets/index.stories-At8KDf4V.js +++ /dev/null @@ -1,23 +0,0 @@ -import{j as t}from"./jsx-runtime-DtaoT6pD.js";import{F as s}from"./index-hC_OXdTA.js";import{S as r}from"./ShortcutListItem-KOfNuhqh.js";import"./index-OjgoNOWw.js";import"./classNames-pTwYsIK_.js";/* empty css */import"./index-EwGKNtg5.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-CzAlb3Z9.js";import"./index-_tE33Gv2.js";import"./clamp-xqaTU5Qn.js";import"./index-3ZWm4lKU.js";import"./useTouchStartPrevent-SoOiKono.js";import"./index-6uWyxtkv.js";import"./index-14PbI9Yx.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";import"./index-7FH3x4aD.js";import"./index-rAFazk-7.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./mergeRefs-mmWAE0a7.js";import"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";const T={title:"Float/FloatBox",component:s},o={render:function(){return t.jsxs(s,{style:{width:128},children:[t.jsx(r,{rounded:!0,size:"S",shortcut:"⌘ Z",children:"Undo"}),t.jsx(r,{rounded:!0,size:"S",shortcut:"⇧ ⌘ Z",children:"Redo"}),t.jsx(r,{rounded:!0,size:"S",shortcut:"⌘ X",children:"Cut"}),t.jsx(r,{rounded:!0,size:"S",shortcut:"⌘ C",children:"Copy"}),t.jsx(r,{rounded:!0,size:"S",shortcut:"⌘ V",children:"Paste"})]})}};var i,e,m;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ - render: function Render() { - return - - Undo - - - Redo - - - Cut - - - Copy - - - Paste - - ; - } -}`,...(m=(e=o.parameters)==null?void 0:e.docs)==null?void 0:m.source}}};const W=["Basic"];export{o as Basic,W as __namedExportsOrder,T as default}; diff --git a/assets/index.stories-BUIH00vp.js b/assets/index.stories-BUIH00vp.js deleted file mode 100644 index b603d76..0000000 --- a/assets/index.stories-BUIH00vp.js +++ /dev/null @@ -1,21 +0,0 @@ -import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{r as p}from"./index-OjgoNOWw.js";import{T as i}from"./index-mnqn6aXF.js";import{B as l}from"./index-bDPzi3wY.js";import"./index-Eok78svH.js";import"./index-mQqIOHEI.js";import"./index-wq2dZbDE.js";import"./index-F4RL_6mv.js";import"./index-Nn85PjCb.js";import"./index-hC_OXdTA.js";import"./classNames-pTwYsIK_.js";const B={title:"Float/Toast",component:i,parameters:{layout:"fullscreen"}},n={render:function(){const[a,t]=p.useState(!1);return e.jsxs("div",{style:{width:"100vw",height:300,justifyContent:"center",alignItems:"center",display:"flex"},children:[e.jsx(l,{onClick:()=>t(!0),children:"Open"}),e.jsx(i,{open:a,onOpenChange:t,children:e.jsx("div",{style:{padding:8},children:"Hello World"})})]})}};var r,o,s;n.parameters={...n.parameters,docs:{...(r=n.parameters)==null?void 0:r.docs,source:{originalSource:`{ - render: function Render() { - const [open, setOpen] = useState(false); - return
- - -
- Hello World -
-
-
; - } -}`,...(s=(o=n.parameters)==null?void 0:o.docs)==null?void 0:s.source}}};const C=["Basic"];export{n as Basic,C as __namedExportsOrder,B as default}; diff --git a/assets/index.stories-CgKoJRK7.js b/assets/index.stories-CgKoJRK7.js new file mode 100644 index 0000000..1e576d5 --- /dev/null +++ b/assets/index.stories-CgKoJRK7.js @@ -0,0 +1,86 @@ +import{j as t}from"./jsx-runtime-DvLKfCe6.js";import{M as e,d as B,e as l,f as M,g as o}from"./index-yf8mkK-1.js";import{S}from"./ShortcutListItem-YpM7ilT6.js";import"./index-aXz8NaAs.js";/* empty css */import"./index-Kq3z_NZE.js";import"./createDragHandler-nJMxlNVC.js";import"./index-0ceNsg1m.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-U9bU_qbB.js";import"./index-5ui4R9NG.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import"./index-btd8k4jy.js";import"./clamp-xqaTU5Qn.js";import"./index-AYEmu2YI.js";import"./useTouchStartPrevent-kBVXV8Ya.js";import"./index-uWlkGYMJ.js";import"./index-D9RaxIjz.js";import"./index-xX_uHqPz.js";import"./extends-dGVwEr9R.js";import"./index-M7H33-mE.js";import"./index-n3prD_Ok.js";import"./index-YkBf51cs.js";import"./index-MW3rGVG_.js";import"./index-sSXR_LKw.js";import"./index-NAhdMhKS.js";import"./index-nuWmM7Ma.js";import"./DropdownMenuItem-TbdlQnuP.js";import"./index-CYasbvvH.js";import"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-9ZytVVav.js";import"./index-Oh1OAjsI.js";import"./mergeRefs-mmWAE0a7.js";import"./index-K1fIJHIl.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";const at={title:"Float/MenuBarButton",component:e};function r(a){return t.jsx(S,{...a,as:o})}const m={render:function(){const i=[{name:"New File",shortcut:"⌘ N"},{name:"Open File",shortcut:"⌘ O",disabled:!0},{name:"Save File",shortcut:"⌘ S"},{name:"Save File As",shortcut:"⇧ ⌘ S"}],h=[{name:"Undo",shortcut:"⌘ Z"},{name:"Redo",shortcut:"⇧ ⌘ Z"},{name:"Cut",shortcut:"⌘ X"},{name:"Copy",shortcut:"⌘ C"},{name:"Paste",shortcut:"⌘ V"}],p=[{name:"Zoom In",shortcut:"⇧ ⌘ ="},{name:"Zoom Out",shortcut:"⌘ -"},{name:"Zoom to Fit",shortcut:"⌘ 0"},{name:"Zoom to Selection",shortcut:"⌘ 1"}],d=[{name:"About",shortcut:""}];return t.jsxs(B,{children:[t.jsx(e,{content:t.jsxs(t.Fragment,{children:[i.map(n=>t.jsx(r,{disabled:n.disabled,shortcut:n.shortcut,children:n.name},n.name)),t.jsx(l,{}),t.jsx(M,{content:t.jsxs(t.Fragment,{children:[t.jsx(o,{children:"Copy Link"}),t.jsx(o,{children:"Copy Text"}),t.jsx(o,{children:"Email"}),t.jsx(o,{children:"SNS"})]}),children:"Share"})]}),children:"File"}),t.jsx(e,{content:h.map(n=>t.jsx(r,{shortcut:n.shortcut,children:n.name},n.name)),children:"Edit"}),t.jsx(e,{content:p.map(n=>t.jsx(r,{shortcut:n.shortcut,children:n.name},n.name)),children:"View"}),t.jsx(e,{content:t.jsx(r,{shortcut:"⌘ /",children:d[0].name}),children:"Help"})]})}};var u,s,c;m.parameters={...m.parameters,docs:{...(u=m.parameters)==null?void 0:u.docs,source:{originalSource:`{ + render: function RenderBasic() { + const fileCommands = [{ + name: "New File", + shortcut: "⌘ N" + }, { + name: "Open File", + shortcut: "⌘ O", + disabled: true + }, { + name: "Save File", + shortcut: "⌘ S" + }, { + name: "Save File As", + shortcut: "⇧ ⌘ S" + }]; + const editCommands = [{ + name: "Undo", + shortcut: "⌘ Z" + }, { + name: "Redo", + shortcut: "⇧ ⌘ Z" + }, { + name: "Cut", + shortcut: "⌘ X" + }, { + name: "Copy", + shortcut: "⌘ C" + }, { + name: "Paste", + shortcut: "⌘ V" + }]; + const viewCommands = [{ + name: "Zoom In", + shortcut: "⇧ ⌘ =" + }, { + name: "Zoom Out", + shortcut: "⌘ -" + }, { + name: "Zoom to Fit", + shortcut: "⌘ 0" + }, { + name: "Zoom to Selection", + shortcut: "⌘ 1" + }]; + const helpCommands = [{ + name: "About", + shortcut: "" + }]; + return + + {fileCommands.map(command => + {command.name} + )} + + + Copy Link + Copy Text + Email + SNS + }> + Share + + }> + File + + + {command.name} + )}> + Edit + + + + {command.name} + )}> + View + + + + {helpCommands[0].name} + }> + Help + + ; + } +}`,...(c=(s=m.parameters)==null?void 0:s.docs)==null?void 0:c.source}}};const ut=["Basic"];export{m as Basic,ut as __namedExportsOrder,at as default}; diff --git a/assets/index.stories-kyrqgsrM.js b/assets/index.stories-DHMo09Fg.js similarity index 93% rename from assets/index.stories-kyrqgsrM.js rename to assets/index.stories-DHMo09Fg.js index 3268bdd..11b3d5e 100644 --- a/assets/index.stories-kyrqgsrM.js +++ b/assets/index.stories-DHMo09Fg.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-DtaoT6pD.js";import{I as e}from"./index-91r8yyqG.js";import{I as t}from"./Icon-znzPB4bR.js";import{I as g}from"./IconButtonGroup-N7RH39hC.js";import"./index-OjgoNOWw.js";import"./classNames-pTwYsIK_.js";const E={title:"Actions/IconButton",component:e},_=n.jsxs("svg",{width:"6",height:"6",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",bottom:4,right:4,transform:"scaleX(-1)"},children:[n.jsx("title",{children:"corner"}),n.jsx("path",{d:"M0 24V0.00427246L24 24H0Z",fill:"currentColor"})]}),r={render:()=>n.jsxs("div",{style:{display:"flex",gap:4},children:[n.jsx(e,{children:n.jsx(t,{filled:!0,name:"arrow_selector_tool",style:{fontSize:20}})}),n.jsxs(e,{selected:!0,children:[n.jsx(t,{name:"square",style:{fontSize:20}}),_]}),n.jsx(e,{children:n.jsx(t,{name:"title",style:{fontSize:20}})})]})},o={render:()=>n.jsx(e,{selected:!0,children:n.jsx(t,{name:"star",style:{fontSize:20}})})},s={render:()=>n.jsx(e,{disabled:!0,children:n.jsx(t,{name:"star",style:{fontSize:20}})})},a={render:()=>n.jsx(e,{size:"S",children:n.jsx(t,{name:"star",style:{fontSize:16}})})},c={render:()=>n.jsxs(g,{children:[n.jsx(e,{children:n.jsx(t,{filled:!0,name:"align_horizontal_left",style:{fontSize:16}})}),n.jsx(e,{selected:!0,children:n.jsx(t,{name:"align_horizontal_center",style:{fontSize:16}})}),n.jsx(e,{children:n.jsx(t,{name:"align_horizontal_right",style:{fontSize:16}})})]})};var l,i,d;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`{ +import{j as n}from"./jsx-runtime-DvLKfCe6.js";import{I as e}from"./index-MoE7EhU4.js";import{I as t}from"./Icon-4LS2xAFO.js";import{I as g}from"./IconButtonGroup-Vbjsao9W.js";import"./index-aXz8NaAs.js";import"./classNames-pTwYsIK_.js";const E={title:"Actions/IconButton",component:e},_=n.jsxs("svg",{width:"6",height:"6",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{position:"absolute",bottom:4,right:4,transform:"scaleX(-1)"},children:[n.jsx("title",{children:"corner"}),n.jsx("path",{d:"M0 24V0.00427246L24 24H0Z",fill:"currentColor"})]}),r={render:()=>n.jsxs("div",{style:{display:"flex",gap:4},children:[n.jsx(e,{children:n.jsx(t,{filled:!0,name:"arrow_selector_tool",style:{fontSize:20}})}),n.jsxs(e,{selected:!0,children:[n.jsx(t,{name:"square",style:{fontSize:20}}),_]}),n.jsx(e,{children:n.jsx(t,{name:"title",style:{fontSize:20}})})]})},o={render:()=>n.jsx(e,{selected:!0,children:n.jsx(t,{name:"star",style:{fontSize:20}})})},s={render:()=>n.jsx(e,{disabled:!0,children:n.jsx(t,{name:"star",style:{fontSize:20}})})},a={render:()=>n.jsx(e,{size:"S",children:n.jsx(t,{name:"star",style:{fontSize:16}})})},c={render:()=>n.jsxs(g,{children:[n.jsx(e,{children:n.jsx(t,{filled:!0,name:"align_horizontal_left",style:{fontSize:16}})}),n.jsx(e,{selected:!0,children:n.jsx(t,{name:"align_horizontal_center",style:{fontSize:16}})}),n.jsx(e,{children:n.jsx(t,{name:"align_horizontal_right",style:{fontSize:16}})})]})};var l,i,d;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`{ render: () => { return
t(r.target.value)})}},u={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",id:"text-input-label",value:e,onChange:r=>t(r.target.value)})}},i={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"",placeholder:"Placeholder",value:e,onChange:r=>t(r.target.value)})}},p={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",prefix:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24",style:{maxWidth:16,height:16},children:[a.jsx("title",{children:"search"}),a.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"})]}),value:e,onChange:r=>t(r.target.value)})}},c={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",value:e,onChange:r=>t(r.target.value),disabled:!0})}},m={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",value:e,onChange:r=>t(r.target.value),invalid:!0})}};var d,v,g;s.parameters={...s.parameters,docs:{...(d=s.parameters)==null?void 0:d.docs,source:{originalSource:`{ +import{j as a}from"./jsx-runtime-DvLKfCe6.js";import{r as o}from"./index-aXz8NaAs.js";import{T as n}from"./index-yf8mkK-1.js";/* empty css */import"./index-Kq3z_NZE.js";import"./createDragHandler-nJMxlNVC.js";import"./index-0ceNsg1m.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-U9bU_qbB.js";import"./index-5ui4R9NG.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import"./index-btd8k4jy.js";import"./clamp-xqaTU5Qn.js";import"./index-AYEmu2YI.js";import"./useTouchStartPrevent-kBVXV8Ya.js";import"./index-uWlkGYMJ.js";import"./index-D9RaxIjz.js";import"./index-xX_uHqPz.js";import"./extends-dGVwEr9R.js";import"./index-M7H33-mE.js";import"./index-n3prD_Ok.js";import"./index-YkBf51cs.js";import"./index-MW3rGVG_.js";import"./index-sSXR_LKw.js";import"./index-NAhdMhKS.js";import"./index-nuWmM7Ma.js";import"./DropdownMenuItem-TbdlQnuP.js";import"./index-CYasbvvH.js";import"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-9ZytVVav.js";import"./index-Oh1OAjsI.js";import"./mergeRefs-mmWAE0a7.js";import"./index-K1fIJHIl.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";const be={title:"Form/TextInput",component:n,args:{label:"Label"}},s={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",placeholder:"Placeholder",value:e,onChange:r=>t(r.target.value)})}},u={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",id:"text-input-label",value:e,onChange:r=>t(r.target.value)})}},i={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"",placeholder:"Placeholder",value:e,onChange:r=>t(r.target.value)})}},p={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",prefix:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24",style:{maxWidth:16,height:16},children:[a.jsx("title",{children:"search"}),a.jsx("path",{d:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z"})]}),value:e,onChange:r=>t(r.target.value)})}},c={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",value:e,onChange:r=>t(r.target.value),disabled:!0})}},m={render:function(){const[e,t]=o.useState("");return a.jsx(n,{label:"Label",value:e,onChange:r=>t(r.target.value),invalid:!0})}};var d,v,g;s.parameters={...s.parameters,docs:{...(d=s.parameters)==null?void 0:d.docs,source:{originalSource:`{ render: function Render() { const [value, setValue] = useState(""); return setValue(event.target.value)} />; diff --git a/assets/index.stories-DeD_MJod.js b/assets/index.stories-DeD_MJod.js deleted file mode 100644 index e544327..0000000 --- a/assets/index.stories-DeD_MJod.js +++ /dev/null @@ -1,16 +0,0 @@ -import{j as S}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOWw.js";import{a as i,h as f}from"./index-CzAlb3Z9.js";/* empty css */import"./index-EwGKNtg5.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-_tE33Gv2.js";import"./clamp-xqaTU5Qn.js";import"./index-3ZWm4lKU.js";import"./useTouchStartPrevent-SoOiKono.js";import"./index-6uWyxtkv.js";import"./index-hC_OXdTA.js";import"./index-14PbI9Yx.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";import"./index-7FH3x4aD.js";import"./index-rAFazk-7.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./mergeRefs-mmWAE0a7.js";import"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";const it={title:"Colors/ColorPickerCircle",component:i},r={render:function(){const o=f("#c649ba"),[p,m]=t.useState(o.s),[u,c]=t.useState(o.v),[h,l]=t.useState(o.h),[v,C]=t.useState(o.a),d=t.useCallback(e=>{l(e.h),m(e.s),c(e.v),C(e.a)},[]);return S.jsx(i,{hue:h,onChange:d,alpha:v,saturation:p,value:u})}};var a,s,n;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`{ - render: function Render() { - const hsv = hexToHsv("#c649ba"); - const [saturation, setSaturation] = useState(hsv.s); - const [value, setValue] = useState(hsv.v); - const [hue, setHue] = useState(hsv.h); - const [alpha, setAlpha] = useState(hsv.a); - const handleChange = useCallback((hsva: HSVA) => { - setHue(hsva.h); - setSaturation(hsva.s); - setValue(hsva.v); - setAlpha(hsva.a); - }, []); - return ; - } -}`,...(n=(s=r.parameters)==null?void 0:s.docs)==null?void 0:n.source}}};const pt=["Default"];export{r as Default,pt as __namedExportsOrder,it as default}; diff --git a/assets/index.stories-Fa0tOmuA.js b/assets/index.stories-Fa0tOmuA.js deleted file mode 100644 index 7f26542..0000000 --- a/assets/index.stories-Fa0tOmuA.js +++ /dev/null @@ -1,13 +0,0 @@ -import{j as r}from"./jsx-runtime-DtaoT6pD.js";import{r as a}from"./index-OjgoNOWw.js";import{C as m,h as l}from"./index-CzAlb3Z9.js";/* empty css */import"./index-EwGKNtg5.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-_tE33Gv2.js";import"./clamp-xqaTU5Qn.js";import"./index-3ZWm4lKU.js";import"./useTouchStartPrevent-SoOiKono.js";import"./index-6uWyxtkv.js";import"./index-hC_OXdTA.js";import"./index-14PbI9Yx.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";import"./index-7FH3x4aD.js";import"./index-rAFazk-7.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./mergeRefs-mmWAE0a7.js";import"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";const $={title:"Colors/ColorInput",component:m},o={render:function(){const[e,n]=a.useState({...l("#c649ba"),a:.5});return r.jsx("div",{style:{width:192},children:r.jsx(m,{label:"ColorInput",value:e,onChange:s=>n(s)})})}};var t,i,p;o.parameters={...o.parameters,docs:{...(t=o.parameters)==null?void 0:t.docs,source:{originalSource:`{ - render: function RenderBasic() { - const [color, setColor] = useState({ - ...hexToHsv("#c649ba"), - a: 0.5 - }); - return
- setColor(value)} /> -
; - } -}`,...(p=(i=o.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};const oo=["Primary"];export{o as Primary,oo as __namedExportsOrder,$ as default}; diff --git a/assets/index.stories-GPGrJb2O.js b/assets/index.stories-GPGrJb2O.js deleted file mode 100644 index f395e80..0000000 --- a/assets/index.stories-GPGrJb2O.js +++ /dev/null @@ -1,25 +0,0 @@ -import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{l as o,u}from"./index-CzAlb3Z9.js";import"./index-OjgoNOWw.js";/* empty css */import"./index-EwGKNtg5.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-_tE33Gv2.js";import"./clamp-xqaTU5Qn.js";import"./index-3ZWm4lKU.js";import"./useTouchStartPrevent-SoOiKono.js";import"./index-6uWyxtkv.js";import"./index-hC_OXdTA.js";import"./index-14PbI9Yx.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";import"./index-7FH3x4aD.js";import"./index-rAFazk-7.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./mergeRefs-mmWAE0a7.js";import"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";const rt={title:"Controls/SelectRect",component:o,parameters:{layout:"fullscreen"}},t={render:function(){const{rect:i,onPointerDown:l}=u();return e.jsx("div",{onPointerDown:l,style:{width:"100%",height:512,position:"relative"},children:i&&e.jsx(o,{...i})})}},r={render:function(){return e.jsx("div",{style:{width:"100%",height:512,position:"relative"},children:e.jsx(o,{x:100,y:150,width:200,height:250})})}};var n,p,m;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ - render: function Render() { - const { - rect, - onPointerDown - } = useSelectRectHandler(); - return
- {rect && } -
; - } -}`,...(m=(p=t.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var s,c,a;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{ - render: function Render() { - return
- {} -
; - } -}`,...(a=(c=r.parameters)==null?void 0:c.docs)==null?void 0:a.source}}};const et=["Basic","Static"];export{t as Basic,r as Static,et as __namedExportsOrder,rt as default}; diff --git a/assets/index.stories-GkSRMm03.js b/assets/index.stories-GkSRMm03.js deleted file mode 100644 index dedec68..0000000 --- a/assets/index.stories-GkSRMm03.js +++ /dev/null @@ -1,55 +0,0 @@ -import{j as r}from"./jsx-runtime-DtaoT6pD.js";import{r as i}from"./index-OjgoNOWw.js";import{c as s}from"./index-CzAlb3Z9.js";import{h as R}from"./index-_tE33Gv2.js";/* empty css */import"./index-EwGKNtg5.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./clamp-xqaTU5Qn.js";import"./index-3ZWm4lKU.js";import"./index-6uWyxtkv.js";import"./index-hC_OXdTA.js";import"./index-14PbI9Yx.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";import"./index-7FH3x4aD.js";import"./index-rAFazk-7.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-S2z5BvKN.js";import"./useTouchStartPrevent-SoOiKono.js";import"./index-Joz1V2Yt.js";import"./mergeRefs-mmWAE0a7.js";import"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";const le={title:"Colors/ColorSlider",component:s},o={render:function(){const[e,t]=i.useState(.5);return r.jsx(s,{color:{r:(1-e)*255,g:(1-e)*255,b:(1-e)*255,a:e},value:e,onChange:t,bg:r.jsx("div",{style:{width:"100%",height:"100%",backgroundImage:"linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1))"}})})}},n={render:function(){const[e,t]=i.useState(.5),v=i.useMemo(()=>{const{r:S,g:C,b:x}=R({h:e*360,s:1,v:1});return{r:S,g:C,b:x,a:1}},[e]);return r.jsx(s,{color:v,value:e,onChange:t,bg:r.jsx("div",{style:{width:"100%",height:"100%",backgroundImage:"linear-gradient(to right, #f00 0%, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%)"}})})}},a={render:function(){const[e,t]=i.useState(.5);return r.jsx(s,{color:{r:e*255,g:0,b:0,a:1},height:32,value:e,onChange:t,bg:r.jsx("div",{style:{width:"100%",height:"100%",backgroundImage:"linear-gradient(to right, black, red)"}})})}};var m,l,g;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{ - render: function Render() { - const [value, setValue] = useState(0.5); - return } />; - } -}`,...(g=(l=o.parameters)==null?void 0:l.docs)==null?void 0:g.source}}};var c,p,d;n.parameters={...n.parameters,docs:{...(c=n.parameters)==null?void 0:c.docs,source:{originalSource:`{ - render: function Render() { - const [value, setValue] = useState(0.5); - const color = useMemo(() => { - const { - r, - g, - b - } = hsvToRgb({ - h: value * 360, - s: 1, - v: 1 - }); - return { - r, - g, - b, - a: 1 - }; - }, [value]); - return } />; - } -}`,...(d=(p=n.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};var h,f,b;a.parameters={...a.parameters,docs:{...(h=a.parameters)==null?void 0:h.docs,source:{originalSource:`{ - render: function Render() { - const [value, setValue] = useState(0.5); - return } />; - } -}`,...(b=(f=a.parameters)==null?void 0:f.docs)==null?void 0:b.source}}};const ge=["Default","Hue","HeightAndNobSize"];export{o as Default,a as HeightAndNobSize,n as Hue,ge as __namedExportsOrder,le as default}; diff --git a/assets/index.stories-Hge3ti27.js b/assets/index.stories-Hge3ti27.js deleted file mode 100644 index c451ded..0000000 --- a/assets/index.stories-Hge3ti27.js +++ /dev/null @@ -1,40 +0,0 @@ -import{j as t}from"./jsx-runtime-DtaoT6pD.js";import{r as d}from"./index-OjgoNOWw.js";import{C as s,a as h}from"./index-6uWyxtkv.js";import{S as a}from"./ShortcutListItem-KOfNuhqh.js";import"./index-hC_OXdTA.js";import"./classNames-pTwYsIK_.js";import"./index-14PbI9Yx.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";/* empty css */import"./index-EwGKNtg5.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./index-bDPzi3wY.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-CzAlb3Z9.js";import"./index-_tE33Gv2.js";import"./clamp-xqaTU5Qn.js";import"./index-3ZWm4lKU.js";import"./useTouchStartPrevent-SoOiKono.js";import"./index-7FH3x4aD.js";import"./index-rAFazk-7.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./mergeRefs-mmWAE0a7.js";import"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";const nt={title:"Float/ContextMenu",component:s};function e(o){return t.jsx(a,{...o,as:h})}const n={render:function(){const[p,c]=d.useState(!1);return t.jsx(t.Fragment,{children:t.jsx(s,{content:t.jsxs("div",{style:{width:128},children:[t.jsx(e,{shortcut:"⌘ Z",children:"Undo"}),t.jsx(e,{shortcut:"⇧ ⌘ Z",children:"Redo"}),t.jsx(e,{shortcut:"⌘ X",children:"Cut"}),t.jsx(e,{shortcut:"⌘ C",children:"Copy"}),t.jsx(e,{shortcut:"⌘ V",children:"Paste"})]}),open:p,onOpenChange:u=>c(u),children:t.jsx("div",{style:{width:200,height:200,borderRadius:4,border:"1px solid var(--cmpui-border-color)",touchAction:"none",userSelect:"none",display:"flex",justifyContent:"center",alignItems:"center"},children:"Right click me"})})})}};var r,i,m;n.parameters={...n.parameters,docs:{...(r=n.parameters)==null?void 0:r.docs,source:{originalSource:`{ - render: function Render() { - const [open, setOpen] = useState(false); - return <> - - - Undo - - - Redo - - - Cut - - - Copy - - - Paste - -
} open={open} onOpenChange={open => setOpen(open)}> -
- Right click me -
- - ; - } -}`,...(m=(i=n.parameters)==null?void 0:i.docs)==null?void 0:m.source}}};const ot=["Basic"];export{n as Basic,ot as __namedExportsOrder,nt as default}; diff --git a/assets/index.stories-J4U2HxKO.js b/assets/index.stories-J4U2HxKO.js deleted file mode 100644 index 4cce0e4..0000000 --- a/assets/index.stories-J4U2HxKO.js +++ /dev/null @@ -1,12 +0,0 @@ -import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOWw.js";import{P as c,T as v,S as s}from"./index-CzAlb3Z9.js";import{B as d}from"./index-bDPzi3wY.js";/* empty css */import"./index-EwGKNtg5.js";import"./createDragHandler-nJMxlNVC.js";import"./index-pk5nlV7d.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-cYjXm3u-.js";import"./alpha-checker-board-tCTBQaJF.js";import"./index-GtgdPI8D.js";import"./index-_tE33Gv2.js";import"./clamp-xqaTU5Qn.js";import"./index-3ZWm4lKU.js";import"./useTouchStartPrevent-SoOiKono.js";import"./index-6uWyxtkv.js";import"./index-hC_OXdTA.js";import"./index-14PbI9Yx.js";import"./index-Eok78svH.js";import"./index-wq2dZbDE.js";import"./index-mQqIOHEI.js";import"./index--q_WrUwI.js";import"./index-F4RL_6mv.js";import"./index-nFE2FeW6.js";import"./index-7FH3x4aD.js";import"./index-rAFazk-7.js";import"./DropdownMenuItem-65YTI1pm.js";import"./index-ySLf1xQK.js";import"./index-91r8yyqG.js";import"./IconButtonGroup-N7RH39hC.js";import"./index-S2z5BvKN.js";import"./index-Joz1V2Yt.js";import"./mergeRefs-mmWAE0a7.js";import"./index-Nn85PjCb.js";import"./index-pSLMz4T_.js";import"./index-vOUEYDQ3.js";import"./index-8i7E8DJg.js";import"./index-mnqn6aXF.js";import"./index-yb2Rdmt7.js";const le={title:"Float/Popover",component:c},n={render:function(){const[i,o]=t.useState(!1);return e.jsx(e.Fragment,{children:e.jsx(c,{isOpen:i,onOpenChange:()=>o(!1),content:e.jsx(O,{onClose:()=>{o(!1)}}),children:e.jsx(d,{onClick:()=>o(!0),children:"Open Popover"})})})}};function O({onClose:p}={}){const[i,o]=t.useState("Awesome project"),[u,h]=t.useState(256),[x,g]=t.useState(512),f=t.useCallback(r=>{o(r.target.value)},[]),C=t.useCallback(r=>{h(r[0])},[]),j=t.useCallback(r=>{g(r[0])},[]);return e.jsxs("div",{style:{textAlign:"center",padding:16,display:"flex",flexDirection:"column",gap:12,width:256},children:[e.jsx(v,{placeholder:"input",label:"name",value:i,onChange:f,autoFocus:!0}),e.jsxs("div",{style:{display:"flex",gap:8},children:[e.jsx(s,{placeholder:"input",label:"width",value:[u],onChangeValue:C}),e.jsx("div",{style:{display:"flex",alignItems:"center"},children:"×"}),e.jsx(s,{placeholder:"input",label:"heigt",value:[x],onChangeValue:j})]}),e.jsx(d,{onClick:p,children:"Save"})]})}var a,l,m;n.parameters={...n.parameters,docs:{...(a=n.parameters)==null?void 0:a.docs,source:{originalSource:`{ - render: function RenderBasic() { - const [open, setOpen] = useState(false); - return <> - setOpen(false)} content={ { - setOpen(false); - }} />}> - - - ; - } -}`,...(m=(l=n.parameters)==null?void 0:l.docs)==null?void 0:m.source}}};const me=["Primary"];export{n as Primary,me as __namedExportsOrder,le as default}; diff --git a/assets/index.stories-UslPYA_b.js b/assets/index.stories-JpVboc0p.js similarity index 96% rename from assets/index.stories-UslPYA_b.js rename to assets/index.stories-JpVboc0p.js index 0f3f4f8..d31b360 100644 --- a/assets/index.stories-UslPYA_b.js +++ b/assets/index.stories-JpVboc0p.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{r as t}from"./index-OjgoNOWw.js";import{S as n}from"./index-pSLMz4T_.js";import"./createDragHandler-nJMxlNVC.js";import"./clamp-xqaTU5Qn.js";const q={title:"Form/Slider",component:n},s={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{value:r,onChange:a})})}},o={render:()=>{const[r,a]=t.useState(50);return e.jsx(e.Fragment,{children:e.jsx(n,{max:100,min:-50,value:r,onChange:a})})}},u={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{direction:"rtl",value:r,onChange:a})})}},l={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{orientation:"vertical",value:r,onChange:a})})}},c={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{orientation:"vertical",direction:"rtl",value:r,onChange:a})})}},i={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{disabled:!0,value:r,onChange:a})})}};var d,m,p;s.parameters={...s.parameters,docs:{...(d=s.parameters)==null?void 0:d.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-DvLKfCe6.js";import{r as t}from"./index-aXz8NaAs.js";import{S as n}from"./index-DbrhxBeW.js";import"./createDragHandler-nJMxlNVC.js";import"./clamp-xqaTU5Qn.js";const q={title:"Form/Slider",component:n},s={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{value:r,onChange:a})})}},o={render:()=>{const[r,a]=t.useState(50);return e.jsx(e.Fragment,{children:e.jsx(n,{max:100,min:-50,value:r,onChange:a})})}},u={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{direction:"rtl",value:r,onChange:a})})}},l={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{orientation:"vertical",value:r,onChange:a})})}},c={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{orientation:"vertical",direction:"rtl",value:r,onChange:a})})}},i={render:()=>{const[r,a]=t.useState(.5);return e.jsx(e.Fragment,{children:e.jsx(n,{disabled:!0,value:r,onChange:a})})}};var d,m,p;s.parameters={...s.parameters,docs:{...(d=s.parameters)==null?void 0:d.docs,source:{originalSource:`{ render: () => { const [value, setValue] = useState(0.5); return <> diff --git a/assets/index.stories-KqZFAaxx.js b/assets/index.stories-KqZFAaxx.js new file mode 100644 index 0000000..fc92758 --- /dev/null +++ b/assets/index.stories-KqZFAaxx.js @@ -0,0 +1,28 @@ +import{j as r}from"./jsx-runtime-DvLKfCe6.js";import{r as g}from"./index-aXz8NaAs.js";import{S as s,T as y}from"./index-yf8mkK-1.js";/* empty css */import"./index-Kq3z_NZE.js";import"./createDragHandler-nJMxlNVC.js";import"./index-0ceNsg1m.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-U9bU_qbB.js";import"./index-5ui4R9NG.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import"./index-btd8k4jy.js";import"./clamp-xqaTU5Qn.js";import"./index-AYEmu2YI.js";import"./useTouchStartPrevent-kBVXV8Ya.js";import"./index-uWlkGYMJ.js";import"./index-D9RaxIjz.js";import"./index-xX_uHqPz.js";import"./extends-dGVwEr9R.js";import"./index-M7H33-mE.js";import"./index-n3prD_Ok.js";import"./index-YkBf51cs.js";import"./index-MW3rGVG_.js";import"./index-sSXR_LKw.js";import"./index-NAhdMhKS.js";import"./index-nuWmM7Ma.js";import"./DropdownMenuItem-TbdlQnuP.js";import"./index-CYasbvvH.js";import"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-9ZytVVav.js";import"./index-Oh1OAjsI.js";import"./mergeRefs-mmWAE0a7.js";import"./index-K1fIJHIl.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";const se={title:"Form/SliderNumberField",component:s},a={render:function(i){const[e,t]=g.useState([0]);return r.jsx(s,{...i,label:"value",inputMode:"decimal",value:e,onChangeValue:t})}},n={render:function(i){const[e,t]=g.useState([1,2,3]);return r.jsxs("div",{children:[r.jsx(s,{...i,label:"value",value:e,onChangeValue:o=>{if(!Array.isArray(o))throw new Error("values is not array");t(o)}}),r.jsx("div",{style:{display:"flex",flexDirection:"column",gap:4,marginTop:8},children:e.map((o,p)=>r.jsx(y,{type:"number",value:o.toString(),onChange:f=>{const l=[...e];l[p]=Number(f.target.value),t(l)}},p))})]})}};var u,m,d;a.parameters={...a.parameters,docs:{...(u=a.parameters)==null?void 0:u.docs,source:{originalSource:`{ + render: function Render(props) { + const [value, setValue] = useState([0]); + return ; + } +}`,...(d=(m=a.parameters)==null?void 0:m.docs)==null?void 0:d.source}}};var c,v,x;n.parameters={...n.parameters,docs:{...(c=n.parameters)==null?void 0:c.docs,source:{originalSource:`{ + render: function Render(props) { + const [values, setValues] = useState([1, 2, 3]); + return
+ { + if (!Array.isArray(values)) throw new Error("values is not array"); + setValues(values); + }} /> +
+ {values.map((value, index) => { + const newValues = [...values]; + newValues[index] = Number(e.target.value); + setValues(newValues); + }} />)} +
+
; + } +}`,...(x=(v=n.parameters)==null?void 0:v.docs)==null?void 0:x.source}}};const pe=["Basic","Mixed"];export{a as Basic,n as Mixed,pe as __namedExportsOrder,se as default}; diff --git a/assets/index.stories-LffZkw0U.js b/assets/index.stories-LffZkw0U.js new file mode 100644 index 0000000..7f2336b --- /dev/null +++ b/assets/index.stories-LffZkw0U.js @@ -0,0 +1,20 @@ +import{j as i}from"./jsx-runtime-DvLKfCe6.js";import{r as p}from"./index-aXz8NaAs.js";import{m as a}from"./index-yf8mkK-1.js";/* empty css */import"./index-Kq3z_NZE.js";import"./createDragHandler-nJMxlNVC.js";import"./index-0ceNsg1m.js";import"./classNames-pTwYsIK_.js";import"./px-FpDDCCze.js";import"./index-U9bU_qbB.js";import"./index-5ui4R9NG.js";import"./alpha-checker-board-CANUayoU.js";import"./index-TRwoWG8Q.js";import"./index-btd8k4jy.js";import"./clamp-xqaTU5Qn.js";import"./index-AYEmu2YI.js";import"./useTouchStartPrevent-kBVXV8Ya.js";import"./index-uWlkGYMJ.js";import"./index-D9RaxIjz.js";import"./index-xX_uHqPz.js";import"./extends-dGVwEr9R.js";import"./index-M7H33-mE.js";import"./index-n3prD_Ok.js";import"./index-YkBf51cs.js";import"./index-MW3rGVG_.js";import"./index-sSXR_LKw.js";import"./index-NAhdMhKS.js";import"./index-nuWmM7Ma.js";import"./DropdownMenuItem-TbdlQnuP.js";import"./index-CYasbvvH.js";import"./index-MoE7EhU4.js";import"./IconButtonGroup-Vbjsao9W.js";import"./index-9ZytVVav.js";import"./index-Oh1OAjsI.js";import"./mergeRefs-mmWAE0a7.js";import"./index-K1fIJHIl.js";import"./index-DbrhxBeW.js";import"./index-x7ZWNYQl.js";import"./index-gJCp1G9s.js";import"./index-xx6ZF_mx.js";import"./index-a-IPPCxZ.js";const pe={title:"Form/TextArea",component:a,args:{label:"Label"}},o={render:function(){const[e,r]=p.useState("");return i.jsx(a,{label:"Label",placeholder:"Placeholder",value:e,onChange:t=>r(t.target.value)})}},n={render:function(){const[e,r]=p.useState("");return i.jsx(a,{label:"Label",id:"text-area-label",value:e,onChange:t=>r(t.target.value)})}},l={render:function(){const[e,r]=p.useState("");return i.jsx(a,{label:"Label",placeholder:"Placeholder",value:e,onChange:t=>r(t.target.value)})}},s={render:function(){return i.jsx(a,{label:"Label",disabled:!0,value:"Disabled"})}};var u,c,d;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ + render: function Render() { + const [value, setValue] = useState(""); + return