diff --git a/pr-preview/pr-644/assets/Color-6VNJS4EI-DaYdP20d.js b/pr-preview/pr-644/assets/Color-6VNJS4EI-C5RtIe-h.js similarity index 99% rename from pr-preview/pr-644/assets/Color-6VNJS4EI-DaYdP20d.js rename to pr-preview/pr-644/assets/Color-6VNJS4EI-C5RtIe-h.js index 6f77cd480..ab1359b6c 100644 --- a/pr-preview/pr-644/assets/Color-6VNJS4EI-DaYdP20d.js +++ b/pr-preview/pr-644/assets/Color-6VNJS4EI-C5RtIe-h.js @@ -1 +1 @@ -import{R as h,r as m,g as ue,f as Me,i as J,h as Ce,n as M,j as fe,T as $e,F as Ne,I as Oe,k as Ie}from"./iframe-MQ4bfTiS.js";import"../sb-preview/runtime.js";function $(){return($=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 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 b=c.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(b?"touchmove":"mousemove",k),C(b?"touchend":"mouseup",N)}return[function(p){var b=p.nativeEvent,x=o.current;if(x&&(re(b),!function(X,R){return R&&!j(X)}(b,c.current)&&x)){if(j(b)){c.current=!0;var C=b.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,b,l.current)),_(!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}))},_]},[s,a]),d=i[0],f=i[1],g=i[2];return m.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),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)}},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}},be=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})})))}),me=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=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},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=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(me,{hsva:i,onChange:d}),h.createElement(be,{hue:i.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=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(me,{hsva:i,onChange:d}),h.createElement(be,{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: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,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(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,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 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=ue(lt);var ct=Me,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,bt=/^\s+/;function mt(e){return e&&e.slice(0,gt(e)+1).replace(bt,"")}var vt=mt,pt=vt,ae=J,yt=Ce,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,c,i=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,i=v,s=e.apply(T,E),s}function N(v){return i=v,l=setTimeout(b,t),d?k(v):s}function _(v){var E=v-c,T=v-i,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-c,T=v-i;return c===void 0||E>=t||E<0||f&&T>=a}function b(){var v=D();if(p(v))return x(v);l=setTimeout(b,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),i=0,r=c=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,c=v,E){if(l===void 0)return N(c);if(f)return clearTimeout(l),l=setTimeout(b,t),k(c)}return l===void 0&&(l=setTimeout(b,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=ue(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(fe)({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($e)(({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,')`,ce=({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(Ne.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M(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||{}),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)"},ie=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,c,i]=ie(e),[d,f,g]=w.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${w.rgb.hex([s,l,c]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,c,i]=ie(e),[d,f,g]=w.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${w.hsl.hex([s,l,c]).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]=m.useState(e||""),[o,a]=m.useState(()=>I(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),i=m.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=m.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:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(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"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>W(c[n])===W(l[n]))||o(c=>c.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=m.useCallback(Ht(n,200),[n]),{value:c,realValue:i,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:i==="transparent"?"#000000":i,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((b,x)=>h.createElement(fe,{key:`${b.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:b.keyword||b.value})},h.createElement(ce,{value:b[g],active:f&&W(b[g])===W(f[g]),onClick:()=>d(b.value)})))))},h.createElement(ce,{value:i,style:{margin:4}})),h.createElement(Kt,{id:Ie(e),value:c,onChange:b=>d(b.target.value),onFocus:b=>b.target.select(),placeholder:"Choose color..."}),c?h.createElement(Vt,{icon:"markup",onClick:k}):null)},on=tn;export{tn as ColorControl,on as default}; +import{R as h,r as m,g as ue,f as Me,i as J,h as Ce,n as M,j as fe,T as $e,F as Ne,I as Oe,k as Ie}from"./iframe-DzS4f35V.js";import"../sb-preview/runtime.js";function $(){return($=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 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 b=c.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(b?"touchmove":"mousemove",k),C(b?"touchend":"mouseup",N)}return[function(p){var b=p.nativeEvent,x=o.current;if(x&&(re(b),!function(X,R){return R&&!j(X)}(b,c.current)&&x)){if(j(b)){c.current=!0;var C=b.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,b,l.current)),_(!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}))},_]},[s,a]),d=i[0],f=i[1],g=i[2];return m.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),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)}},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}},be=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})})))}),me=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=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},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=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(me,{hsva:i,onChange:d}),h.createElement(be,{hue:i.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=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(me,{hsva:i,onChange:d}),h.createElement(be,{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: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,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(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,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 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=ue(lt);var ct=Me,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,bt=/^\s+/;function mt(e){return e&&e.slice(0,gt(e)+1).replace(bt,"")}var vt=mt,pt=vt,ae=J,yt=Ce,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,c,i=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,i=v,s=e.apply(T,E),s}function N(v){return i=v,l=setTimeout(b,t),d?k(v):s}function _(v){var E=v-c,T=v-i,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-c,T=v-i;return c===void 0||E>=t||E<0||f&&T>=a}function b(){var v=D();if(p(v))return x(v);l=setTimeout(b,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),i=0,r=c=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,c=v,E){if(l===void 0)return N(c);if(f)return clearTimeout(l),l=setTimeout(b,t),k(c)}return l===void 0&&(l=setTimeout(b,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=ue(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(fe)({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($e)(({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,')`,ce=({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(Ne.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M(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||{}),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)"},ie=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,c,i]=ie(e),[d,f,g]=w.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${w.rgb.hex([s,l,c]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,c,i]=ie(e),[d,f,g]=w.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${w.hsl.hex([s,l,c]).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]=m.useState(e||""),[o,a]=m.useState(()=>I(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),i=m.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=m.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:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(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"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>W(c[n])===W(l[n]))||o(c=>c.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=m.useCallback(Ht(n,200),[n]),{value:c,realValue:i,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:i==="transparent"?"#000000":i,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((b,x)=>h.createElement(fe,{key:`${b.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:b.keyword||b.value})},h.createElement(ce,{value:b[g],active:f&&W(b[g])===W(f[g]),onClick:()=>d(b.value)})))))},h.createElement(ce,{value:i,style:{margin:4}})),h.createElement(Kt,{id:Ie(e),value:c,onChange:b=>d(b.target.value),onFocus:b=>b.target.select(),placeholder:"Choose color..."}),c?h.createElement(Vt,{icon:"markup",onClick:k}):null)},on=tn;export{tn as ColorControl,on as default}; diff --git a/pr-preview/pr-644/assets/DocsRenderer-NNNQARDV-DS6_L9Ho.js b/pr-preview/pr-644/assets/DocsRenderer-NNNQARDV-CN6qWu3j.js similarity index 51% rename from pr-preview/pr-644/assets/DocsRenderer-NNNQARDV-DS6_L9Ho.js rename to pr-preview/pr-644/assets/DocsRenderer-NNNQARDV-CN6qWu3j.js index 354da7be0..17984ed69 100644 --- a/pr-preview/pr-644/assets/DocsRenderer-NNNQARDV-DS6_L9Ho.js +++ b/pr-preview/pr-644/assets/DocsRenderer-NNNQARDV-CN6qWu3j.js @@ -1 +1 @@ -import{D as s,d as t}from"./iframe-MQ4bfTiS.js";import"../sb-preview/runtime.js";export{s as DocsRenderer,t as defaultComponents}; +import{D as s,d as t}from"./iframe-DzS4f35V.js";import"../sb-preview/runtime.js";export{s as DocsRenderer,t as defaultComponents}; diff --git a/pr-preview/pr-644/assets/WithTooltip-V3YHNWJZ-B1xvZyi_.js b/pr-preview/pr-644/assets/WithTooltip-V3YHNWJZ-B1-DtnBp.js similarity index 59% rename from pr-preview/pr-644/assets/WithTooltip-V3YHNWJZ-B1xvZyi_.js rename to pr-preview/pr-644/assets/WithTooltip-V3YHNWJZ-B1-DtnBp.js index 8663c404b..3a8f59ec2 100644 --- a/pr-preview/pr-644/assets/WithTooltip-V3YHNWJZ-B1xvZyi_.js +++ b/pr-preview/pr-644/assets/WithTooltip-V3YHNWJZ-B1-DtnBp.js @@ -1 +1 @@ -import{W as a,W as p,a as W}from"./iframe-MQ4bfTiS.js";import"../sb-preview/runtime.js";export{a as WithToolTipState,p as WithTooltip,W as WithTooltipPure}; +import{W as a,W as p,a as W}from"./iframe-DzS4f35V.js";import"../sb-preview/runtime.js";export{a as WithToolTipState,p as WithTooltip,W as WithTooltipPure}; diff --git a/pr-preview/pr-644/assets/axe-CMBUB71a.js b/pr-preview/pr-644/assets/axe-BG8jQcN6.js similarity index 99% rename from pr-preview/pr-644/assets/axe-CMBUB71a.js rename to pr-preview/pr-644/assets/axe-BG8jQcN6.js index b27205717..d8149c9e6 100644 --- a/pr-preview/pr-644/assets/axe-CMBUB71a.js +++ b/pr-preview/pr-644/assets/axe-BG8jQcN6.js @@ -1,4 +1,4 @@ -import{g as aR,e as nR}from"./iframe-MQ4bfTiS.js";function iR(sr,ia){for(var D=0;Dat[N]})}}}return Object.freeze(Object.defineProperty(sr,Symbol.toStringTag,{value:"Module"}))}var Hu={exports:{}};/*! axe v4.9.0 +import{g as aR,e as nR}from"./iframe-DzS4f35V.js";function iR(sr,ia){for(var D=0;Dat[N]})}}}return Object.freeze(Object.defineProperty(sr,Symbol.toStringTag,{value:"Module"}))}var Hu={exports:{}};/*! axe v4.9.0 * Copyright (c) 2015 - 2024 Deque Systems, Inc. * * Your use of this Source Code Form is subject to the terms of the Mozilla Public diff --git a/pr-preview/pr-644/assets/browser-DasCfUiM.js b/pr-preview/pr-644/assets/browser-CLaddwtJ.js similarity index 99% rename from pr-preview/pr-644/assets/browser-DasCfUiM.js rename to pr-preview/pr-644/assets/browser-CLaddwtJ.js index 1037d8b7c..7ff783c86 100644 --- a/pr-preview/pr-644/assets/browser-DasCfUiM.js +++ b/pr-preview/pr-644/assets/browser-CLaddwtJ.js @@ -1,4 +1,4 @@ -var yo=Object.defineProperty;var bo=(e,a,t)=>a in e?yo(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var U=(e,a,t)=>(bo(e,typeof a!="symbol"?a+"":a,t),t),ma=(e,a,t)=>{if(!a.has(e))throw TypeError("Cannot "+t)};var Pe=(e,a,t)=>(ma(e,a,"read from private field"),t?t.call(e):a.get(e)),pa=(e,a,t)=>{if(a.has(e))throw TypeError("Cannot add the same private member more than once");a instanceof WeakSet?a.add(e):a.set(e,t)},Ra=(e,a,t,o)=>(ma(e,a,"write to private field"),o?o.call(e,t):a.set(e,t),t);var Ye=(e,a,t)=>(ma(e,a,"access private method"),t);import{l as ha}from"./iframe-MQ4bfTiS.js";import"../sb-preview/runtime.js";var jo=/(%?)(%([sdijo]))/g;function vo(e,a){switch(a){case"s":return e;case"d":case"i":return Number(e);case"j":return JSON.stringify(e);case"o":{if(typeof e=="string")return e;const t=JSON.stringify(e);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?e:t}}}function Ia(e,...a){if(a.length===0)return e;let t=0,o=e.replace(jo,(i,s,n,r)=>{const u=a[t],l=vo(u,r);return s?i:(t++,l)});return ta in e?yo(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t;var U=(e,a,t)=>(bo(e,typeof a!="symbol"?a+"":a,t),t),ma=(e,a,t)=>{if(!a.has(e))throw TypeError("Cannot "+t)};var Pe=(e,a,t)=>(ma(e,a,"read from private field"),t?t.call(e):a.get(e)),pa=(e,a,t)=>{if(a.has(e))throw TypeError("Cannot add the same private member more than once");a instanceof WeakSet?a.add(e):a.set(e,t)},Ra=(e,a,t,o)=>(ma(e,a,"write to private field"),o?o.call(e,t):a.set(e,t),t);var Ye=(e,a,t)=>(ma(e,a,"access private method"),t);import{l as ha}from"./iframe-DzS4f35V.js";import"../sb-preview/runtime.js";var jo=/(%?)(%([sdijo]))/g;function vo(e,a){switch(a){case"s":return e;case"d":case"i":return Number(e);case"j":return JSON.stringify(e);case"o":{if(typeof e=="string")return e;const t=JSON.stringify(e);return t==="{}"||t==="[]"||/^\[object .+?\]$/.test(t)?e:t}}}function Ia(e,...a){if(a.length===0)return e;let t=0,o=e.replace(jo,(i,s,n,r)=>{const u=a[t],l=vo(u,r);return s?i:(t++,l)});return t{if(!e)throw new Eo(a,...t)};He.as=(e,a,t,...o)=>{if(!a){const i=o.length===0?t:Ia(t,o);let s;try{s=Reflect.construct(e,[i])}catch{s=e(i)}throw s}};const Co="[MSW]";function _a(e,...a){const t=Ia(e,...a);return`${Co} ${t}`}function Ao(e,...a){console.warn(_a(e,...a))}function So(e,...a){console.error(_a(e,...a))}const V={formatMessage:_a,warn:Ao,error:So};class Fa extends Error{constructor(a){super(a),this.name="InternalError"}}const zo=/[\/\\]msw[\/\\]src[\/\\](.+)/,To=/(node_modules)?[\/\\]lib[\/\\](core|browser|node|native|iife)[\/\\]|^[^\/\\]*$/;function Io(e){const a=e.stack;if(!a)return;const o=a.split(` `).slice(1).find(s=>!(zo.test(s)||To.test(s)));return o?o.replace(/\s*at [^()]*\(([^)]+)\)/,"$1").replace(/^@/,""):void 0}function _o(e){return e?Reflect.has(e,Symbol.iterator)||Reflect.has(e,Symbol.asyncIterator):!1}const Ue=class Ue{constructor(a){U(this,"info");U(this,"isUsed");U(this,"resolver");U(this,"resolverIterator");U(this,"resolverIteratorResult");U(this,"options");this.resolver=a.resolver,this.options=a.options;const t=Io(new Error);this.info={...a.info,callFrame:t},this.isUsed=!1}async parse(a){return{}}async test(a){const t=await this.parse({request:a.request,resolutionContext:a.resolutionContext});return this.predicate({request:a.request,parsedResult:t,resolutionContext:a.resolutionContext})}extendResolverArgs(a){return{}}cloneRequestOrGetFromCache(a){const t=Ue.cache.get(a);if(typeof t<"u")return t;const o=a.clone();return Ue.cache.set(a,o),o}async run(a){var h,m;if(this.isUsed&&((h=this.options)!=null&&h.once))return null;const t=this.cloneRequestOrGetFromCache(a.request),o=await this.parse({request:a.request,resolutionContext:a.resolutionContext});if(!this.predicate({request:a.request,parsedResult:o,resolutionContext:a.resolutionContext})||this.isUsed&&((m=this.options)!=null&&m.once))return null;this.isUsed=!0;const s=this.wrapResolver(this.resolver),n=this.extendResolverArgs({request:a.request,parsedResult:o}),u=await s({...n,requestId:a.requestId,request:a.request}).catch(d=>{if(d instanceof Response)return d;throw d});return this.createExecutionResult({request:t,requestId:a.requestId,response:u,parsedResult:o})}wrapResolver(a){return async t=>{var n;if(!this.resolverIterator){const r=await a(t);if(!_o(r))return r;this.resolverIterator=Symbol.iterator in r?r[Symbol.iterator]():r[Symbol.asyncIterator]()}this.isUsed=!1;const{done:o,value:i}=await this.resolverIterator.next(),s=await i;return s&&(this.resolverIteratorResult=s.clone()),o?(this.isUsed=!0,(n=this.resolverIteratorResult)==null?void 0:n.clone()):s}}createExecutionResult(a){return{handler:this,request:a.request,requestId:a.requestId,response:a.response,parsedResult:a.parsedResult}}};U(Ue,"cache",new WeakMap);let Ve=Ue;var Oo=async e=>{try{return{error:null,data:await e().catch(t=>{throw t})}}catch(a){return{error:a,data:null}}};const No=async({request:e,requestId:a,handlers:t,resolutionContext:o})=>{let i=null,s=null;for(const n of t)if(s=await n.run({request:e,requestId:a,resolutionContext:o}),s!==null&&(i=n),s!=null&&s.response)break;return i?{handler:i,parsedResult:s==null?void 0:s.parsedResult,response:s==null?void 0:s.response}:null};function na(e){if(typeof location>"u")return e.toString();const a=e instanceof URL?e:new URL(e);return a.origin===location.origin?a.pathname:a.origin+a.pathname}async function Do(e,a="warn"){const t=new URL(e.url),o=na(t)+t.search,i=`intercepted a request without a matching request handler: diff --git a/pr-preview/pr-644/assets/formatter-SWP5E3XI-xAmMd0wL.js b/pr-preview/pr-644/assets/formatter-SWP5E3XI-DYSWgM2U.js similarity index 99% rename from pr-preview/pr-644/assets/formatter-SWP5E3XI-xAmMd0wL.js rename to pr-preview/pr-644/assets/formatter-SWP5E3XI-DYSWgM2U.js index fbe4a0908..4787a6cd8 100644 --- a/pr-preview/pr-644/assets/formatter-SWP5E3XI-xAmMd0wL.js +++ b/pr-preview/pr-644/assets/formatter-SWP5E3XI-DYSWgM2U.js @@ -1,4 +1,4 @@ -import{_ as ea,m as pl,b as ta}from"./iframe-MQ4bfTiS.js";import"../sb-preview/runtime.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` +import{_ as ea,m as pl,b as ta}from"./iframe-DzS4f35V.js";import"../sb-preview/runtime.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` `);return Me===-1?We:We.substring(0,Me)}L.stringify=$t;function ir(le){return typeof le=="function"&&le.hasOwnProperty("__forward_ref__")?le():le}L.resolveForwardRef=ir;function st(le){return!!le&&typeof le.then=="function"}L.isPromise=st;var Ot=class{constructor(le){this.full=le;let We=le.split(".");this.major=We[0],this.minor=We[1],this.patch=We.slice(2).join(".")}};L.Version=Ot;var Vt=typeof window<"u"&&window,Ut=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,rr=typeof globalThis<"u"&&globalThis,z=rr||Vt||Ut;L.global=z}}),qt=he({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=At(),ge=Lt(),Ee=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Pe(Me){return Me.replace(/\W/g,"_")}L.sanitizeIdentifier=Pe;var ie=0;function de(Me){if(!Me||!Me.reference)return null;let at=Me.reference;if(at instanceof re.StaticSymbol)return at.name;if(at.__anonymousType)return at.__anonymousType;let Jt=ge.stringify(at);return Jt.indexOf("(")>=0?(Jt=`anonymous_${ie++}`,at.__anonymousType=Jt):Jt=Pe(Jt),Jt}L.identifierName=de;function Ue(Me){let at=Me.reference;return at instanceof re.StaticSymbol?at.filePath:`./${ge.stringify(at)}`}L.identifierModuleUrl=Ue;function Ge(Me,at){return`View_${de({reference:Me})}_${at}`}L.viewClassName=Ge;function gt(Me){return`RenderType_${de({reference:Me})}`}L.rendererTypeName=gt;function ce(Me){return`HostView_${de({reference:Me})}`}L.hostViewClassName=ce;function ve(Me){return`${de({reference:Me})}NgFactory`}L.componentFactoryName=ve;var Ve;(function(Me){Me[Me.Pipe=0]="Pipe",Me[Me.Directive=1]="Directive",Me[Me.NgModule=2]="NgModule",Me[Me.Injectable=3]="Injectable"})(Ve=L.CompileSummaryKind||(L.CompileSummaryKind={}));function He(Me){return Me.value!=null?Pe(Me.value):de(Me.identifier)}L.tokenName=He;function Je(Me){return Me.identifier!=null?Me.identifier.reference:Me.value}L.tokenReference=Je;var Qe=class{constructor(){let{moduleUrl:Me,styles:at,styleUrls:Jt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Me||null,this.styles=st(at),this.styleUrls=st(Jt)}};L.CompileStylesheetMetadata=Qe;var yt=class{constructor(Me){let{encapsulation:at,template:Jt,templateUrl:er,htmlAst:Ar,styles:Er,styleUrls:_r,externalStylesheets:xr,animations:Ir,ngContentSelectors:Mr,interpolation:or,isInline:lt,preserveWhitespaces:mt}=Me;if(this.encapsulation=at,this.template=Jt,this.templateUrl=er,this.htmlAst=Ar,this.styles=st(Er),this.styleUrls=st(_r),this.externalStylesheets=st(xr),this.animations=Ir?Vt(Ir):[],this.ngContentSelectors=Mr||[],or&&or.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=or,this.isInline=lt,this.preserveWhitespaces=mt}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};L.CompileTemplateMetadata=yt;var _t=class{static create(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,host:Mr,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr}=Me,Pn={},In={},Hu={};Mr!=null&&Object.keys(Mr).forEach(vr=>{let Qr=Mr[vr],cn=vr.match(Ee);cn===null?Hu[vr]=Qr:cn[1]!=null?In[cn[1]]=Qr:cn[2]!=null&&(Pn[cn[2]]=Qr)});let Yu={};xr==null||xr.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Yu[Qr[0]]=Qr[1]});let Ku={};return Ir==null||Ir.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Ku[Qr[0]]=Qr[1]}),new _t({isHost:at,type:Jt,isComponent:!!er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:Yu,outputs:Ku,hostListeners:Pn,hostProperties:In,hostAttributes:Hu,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr})}constructor(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,hostListeners:Mr,hostProperties:or,hostAttributes:lt,providers:mt,viewProviders:St,queries:xt,guards:Kt,viewQueries:sr,entryComponents:lr,template:Qt,componentViewType:Kr,rendererType:Pn,componentFactory:In}=Me;this.isHost=!!at,this.type=Jt,this.isComponent=er,this.selector=Ar,this.exportAs=Er,this.changeDetection=_r,this.inputs=xr,this.outputs=Ir,this.hostListeners=Mr,this.hostProperties=or,this.hostAttributes=lt,this.providers=st(mt),this.viewProviders=st(St),this.queries=st(xt),this.guards=Kt,this.viewQueries=st(sr),this.entryComponents=st(lr),this.template=Qt,this.componentViewType=Kr,this.rendererType=Pn,this.componentFactory=In}toSummary(){return{summaryKind:Ve.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};L.CompileDirectiveMetadata=_t;var ct=class{constructor(Me){let{type:at,name:Jt,pure:er}=Me;this.type=at,this.name=Jt,this.pure=!!er}toSummary(){return{summaryKind:Ve.Pipe,type:this.type,name:this.name,pure:this.pure}}};L.CompilePipeMetadata=ct;var kt=class{};L.CompileShallowModuleMetadata=kt;var $t=class{constructor(Me){let{type:at,providers:Jt,declaredDirectives:er,exportedDirectives:Ar,declaredPipes:Er,exportedPipes:_r,entryComponents:xr,bootstrapComponents:Ir,importedModules:Mr,exportedModules:or,schemas:lt,transitiveModule:mt,id:St}=Me;this.type=at||null,this.declaredDirectives=st(er),this.exportedDirectives=st(Ar),this.declaredPipes=st(Er),this.exportedPipes=st(_r),this.providers=st(Jt),this.entryComponents=st(xr),this.bootstrapComponents=st(Ir),this.importedModules=st(Mr),this.exportedModules=st(or),this.schemas=st(lt),this.id=St||null,this.transitiveModule=mt||null}toSummary(){let Me=this.transitiveModule;return{summaryKind:Ve.NgModule,type:this.type,entryComponents:Me.entryComponents,providers:Me.providers,modules:Me.modules,exportedDirectives:Me.exportedDirectives,exportedPipes:Me.exportedPipes}}};L.CompileNgModuleMetadata=$t;var ir=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Me,at){this.providers.push({provider:Me,module:at})}addDirective(Me){this.directivesSet.has(Me.reference)||(this.directivesSet.add(Me.reference),this.directives.push(Me))}addExportedDirective(Me){this.exportedDirectivesSet.has(Me.reference)||(this.exportedDirectivesSet.add(Me.reference),this.exportedDirectives.push(Me))}addPipe(Me){this.pipesSet.has(Me.reference)||(this.pipesSet.add(Me.reference),this.pipes.push(Me))}addExportedPipe(Me){this.exportedPipesSet.has(Me.reference)||(this.exportedPipesSet.add(Me.reference),this.exportedPipes.push(Me))}addModule(Me){this.modulesSet.has(Me.reference)||(this.modulesSet.add(Me.reference),this.modules.push(Me))}addEntryComponent(Me){this.entryComponentsSet.has(Me.componentType)||(this.entryComponentsSet.add(Me.componentType),this.entryComponents.push(Me))}};L.TransitiveCompileNgModuleMetadata=ir;function st(Me){return Me||[]}var Ot=class{constructor(Me,at){let{useClass:Jt,useValue:er,useExisting:Ar,useFactory:Er,deps:_r,multi:xr}=at;this.token=Me,this.useClass=Jt||null,this.useValue=er,this.useExisting=Ar,this.useFactory=Er||null,this.dependencies=_r||null,this.multi=!!xr}};L.ProviderMeta=Ot;function Vt(Me){return Me.reduce((at,Jt)=>{let er=Array.isArray(Jt)?Vt(Jt):Jt;return at.concat(er)},[])}L.flatten=Vt;function Ut(Me){return Me.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function rr(Me,at,Jt){let er;return Jt.isInline?at.type.reference instanceof re.StaticSymbol?er=`${at.type.reference.filePath}.${at.type.reference.name}.html`:er=`${de(Me)}/${de(at.type)}.html`:er=Jt.templateUrl,at.type.reference instanceof re.StaticSymbol?er:Ut(er)}L.templateSourceUrl=rr;function z(Me,at){let Jt=Me.moduleUrl.split(/\/\\/g),er=Jt[Jt.length-1];return Ut(`css/${at}${er}.ngstyle.js`)}L.sharedStylesheetJitUrl=z;function le(Me){return Ut(`${de(Me.type)}/module.ngfactory.js`)}L.ngModuleJitUrl=le;function We(Me,at){return Ut(`${de(Me)}/${de(at.type)}.ngfactory.js`)}L.templateJitUrl=We}}),Zt=he({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Ft(),ge=qt(),Ee=class{constructor(ce,ve,Ve,He){this.file=ce,this.offset=ve,this.line=Ve,this.col=He}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(ce){let ve=this.file.content,Ve=ve.length,He=this.offset,Je=this.line,Qe=this.col;for(;He>0&&ce<0;)if(He--,ce++,ve.charCodeAt(He)==re.$LF){Je--;let yt=ve.substr(0,He-1).lastIndexOf(String.fromCharCode(re.$LF));Qe=yt>0?He-yt:He}else Qe--;for(;He0;){let yt=ve.charCodeAt(He);He++,ce--,yt==re.$LF?(Je++,Qe=0):Qe++}return new Ee(this.file,He,Je,Qe)}getContext(ce,ve){let Ve=this.file.content,He=this.offset;if(He!=null){He>Ve.length-1&&(He=Ve.length-1);let Je=He,Qe=0,yt=0;for(;Qe0&&(He--,Qe++,!(Ve[He]==` `&&++yt==ve)););for(Qe=0,yt=0;Qe2&&arguments[2]!==void 0?arguments[2]:null;this.start=ce,this.end=ve,this.details=Ve}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};L.ParseSourceSpan=ie,L.EMPTY_PARSE_LOCATION=new Ee(new Pe("",""),0,0,0),L.EMPTY_SOURCE_SPAN=new ie(L.EMPTY_PARSE_LOCATION,L.EMPTY_PARSE_LOCATION);var de;(function(ce){ce[ce.WARNING=0]="WARNING",ce[ce.ERROR=1]="ERROR"})(de=L.ParseErrorLevel||(L.ParseErrorLevel={}));var Ue=class{constructor(ce,ve){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de.ERROR;this.span=ce,this.msg=ve,this.level=Ve}contextualMessage(){let ce=this.span.start.getContext(100,3);return ce?`${this.msg} ("${ce.before}[${de[this.level]} ->]${ce.after}")`:this.msg}toString(){let ce=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${ce}`}};L.ParseError=Ue;function Ge(ce,ve){let Ve=ge.identifierModuleUrl(ve),He=Ve!=null?`in ${ce} ${ge.identifierName(ve)} in ${Ve}`:`in ${ce} ${ge.identifierName(ve)}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.typeSourceSpan=Ge;function gt(ce,ve,Ve){let He=`in ${ce} ${ve} in ${Ve}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.r3JitTypeSourceSpan=gt}}),ue=he({"src/utils/front-matter/parse.js"(L,re){$();var ge=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Ee(Pe){let ie=Pe.match(ge);if(!ie)return{content:Pe};let{startDelimiter:de,language:Ue,value:Ge="",endDelimiter:gt}=ie.groups,ce=Ue.trim()||"yaml";if(de==="+++"&&(ce="toml"),ce!=="yaml"&&de!==gt)return{content:Pe};let[ve]=ie;return{frontMatter:{type:"front-matter",lang:ce,value:Ge,startDelimiter:de,endDelimiter:gt,raw:ve.replace(/\n$/,"")},content:ve.replace(/[^\n]/g," ")+Pe.slice(ve.length)}}re.exports=Ee}}),yr=he({"src/utils/get-last.js"(L,re){$();var ge=Ee=>Ee[Ee.length-1];re.exports=ge}}),Pr=he({"src/common/parser-create-error.js"(L,re){$();function ge(Ee,Pe){let ie=new SyntaxError(Ee+" ("+Pe.start.line+":"+Pe.start.column+")");return ie.loc=Pe,ie}re.exports=ge}}),zr={};qe(zr,{default:()=>fr});function fr(L){if(typeof L!="string")throw new TypeError("Expected a string");return L.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Rr=je({"node_modules/escape-string-regexp/index.js"(){$()}}),mr=he({"node_modules/semver/internal/debug.js"(L,re){$();var ge=typeof rt=="object"&&rt.env&&rt.env.NODE_DEBUG&&/\bsemver\b/i.test(rt.env.NODE_DEBUG)?function(){for(var Ee=arguments.length,Pe=new Array(Ee),ie=0;ie{};re.exports=ge}}),rn=he({"node_modules/semver/internal/constants.js"(L,re){$();var ge="2.0.0",Ee=256,Pe=Number.MAX_SAFE_INTEGER||9007199254740991,ie=16;re.exports={SEMVER_SPEC_VERSION:ge,MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe,MAX_SAFE_COMPONENT_LENGTH:ie}}}),wr=he({"node_modules/semver/internal/re.js"(L,re){$();var{MAX_SAFE_COMPONENT_LENGTH:ge}=rn(),Ee=mr();L=re.exports={};var Pe=L.re=[],ie=L.src=[],de=L.t={},Ue=0,Ge=(gt,ce,ve)=>{let Ve=Ue++;Ee(gt,Ve,ce),de[gt]=Ve,ie[Ve]=ce,Pe[Ve]=new RegExp(ce,ve?"g":void 0)};Ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ge("MAINVERSION",`(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})`),Ge("MAINVERSIONLOOSE",`(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})`),Ge("PRERELEASEIDENTIFIER",`(?:${ie[de.NUMERICIDENTIFIER]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASEIDENTIFIERLOOSE",`(?:${ie[de.NUMERICIDENTIFIERLOOSE]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASE",`(?:-(${ie[de.PRERELEASEIDENTIFIER]}(?:\\.${ie[de.PRERELEASEIDENTIFIER]})*))`),Ge("PRERELEASELOOSE",`(?:-?(${ie[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ie[de.PRERELEASEIDENTIFIERLOOSE]})*))`),Ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ge("BUILD",`(?:\\+(${ie[de.BUILDIDENTIFIER]}(?:\\.${ie[de.BUILDIDENTIFIER]})*))`),Ge("FULLPLAIN",`v?${ie[de.MAINVERSION]}${ie[de.PRERELEASE]}?${ie[de.BUILD]}?`),Ge("FULL",`^${ie[de.FULLPLAIN]}$`),Ge("LOOSEPLAIN",`[v=\\s]*${ie[de.MAINVERSIONLOOSE]}${ie[de.PRERELEASELOOSE]}?${ie[de.BUILD]}?`),Ge("LOOSE",`^${ie[de.LOOSEPLAIN]}$`),Ge("GTLT","((?:<|>)?=?)"),Ge("XRANGEIDENTIFIERLOOSE",`${ie[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ge("XRANGEIDENTIFIER",`${ie[de.NUMERICIDENTIFIER]}|x|X|\\*`),Ge("XRANGEPLAIN",`[v=\\s]*(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:${ie[de.PRERELEASE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGEPLAINLOOSE",`[v=\\s]*(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:${ie[de.PRERELEASELOOSE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAIN]}$`),Ge("XRANGELOOSE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COERCE",`(^|[^\\d])(\\d{1,${ge}})(?:\\.(\\d{1,${ge}}))?(?:\\.(\\d{1,${ge}}))?(?:$|[^\\d])`),Ge("COERCERTL",ie[de.COERCE],!0),Ge("LONETILDE","(?:~>?)"),Ge("TILDETRIM",`(\\s*)${ie[de.LONETILDE]}\\s+`,!0),L.tildeTrimReplace="$1~",Ge("TILDE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAIN]}$`),Ge("TILDELOOSE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("LONECARET","(?:\\^)"),Ge("CARETTRIM",`(\\s*)${ie[de.LONECARET]}\\s+`,!0),L.caretTrimReplace="$1^",Ge("CARET",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAIN]}$`),Ge("CARETLOOSE",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COMPARATORLOOSE",`^${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]})$|^$`),Ge("COMPARATOR",`^${ie[de.GTLT]}\\s*(${ie[de.FULLPLAIN]})$|^$`),Ge("COMPARATORTRIM",`(\\s*)${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]}|${ie[de.XRANGEPLAIN]})`,!0),L.comparatorTrimReplace="$1$2$3",Ge("HYPHENRANGE",`^\\s*(${ie[de.XRANGEPLAIN]})\\s+-\\s+(${ie[de.XRANGEPLAIN]})\\s*$`),Ge("HYPHENRANGELOOSE",`^\\s*(${ie[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ie[de.XRANGEPLAINLOOSE]})\\s*$`),Ge("STAR","(<|>)?=?\\s*\\*"),Ge("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Ge("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Fr=he({"node_modules/semver/internal/parse-options.js"(L,re){$();var ge=["includePrerelease","loose","rtl"],Ee=Pe=>Pe?typeof Pe!="object"?{loose:!0}:ge.filter(ie=>Pe[ie]).reduce((ie,de)=>(ie[de]=!0,ie),{}):{};re.exports=Ee}}),Tn=he({"node_modules/semver/internal/identifiers.js"(L,re){$();var ge=/^[0-9]+$/,Ee=(ie,de)=>{let Ue=ge.test(ie),Ge=ge.test(de);return Ue&&Ge&&(ie=+ie,de=+de),ie===de?0:Ue&&!Ge?-1:Ge&&!Ue?1:ieEe(de,ie);re.exports={compareIdentifiers:Ee,rcompareIdentifiers:Pe}}}),Bn=he({"node_modules/semver/classes/semver.js"(L,re){$();var ge=mr(),{MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe}=rn(),{re:ie,t:de}=wr(),Ue=Fr(),{compareIdentifiers:Ge}=Tn(),gt=class{constructor(ce,ve){if(ve=Ue(ve),ce instanceof gt){if(ce.loose===!!ve.loose&&ce.includePrerelease===!!ve.includePrerelease)return ce;ce=ce.version}else if(typeof ce!="string")throw new TypeError(`Invalid Version: ${ce}`);if(ce.length>Ee)throw new TypeError(`version is longer than ${Ee} characters`);ge("SemVer",ce,ve),this.options=ve,this.loose=!!ve.loose,this.includePrerelease=!!ve.includePrerelease;let Ve=ce.trim().match(ve.loose?ie[de.LOOSE]:ie[de.FULL]);if(!Ve)throw new TypeError(`Invalid Version: ${ce}`);if(this.raw=ce,this.major=+Ve[1],this.minor=+Ve[2],this.patch=+Ve[3],this.major>Pe||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Pe||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Pe||this.patch<0)throw new TypeError("Invalid patch version");Ve[4]?this.prerelease=Ve[4].split(".").map(He=>{if(/^[0-9]+$/.test(He)){let Je=+He;if(Je>=0&&Je=0;)typeof this.prerelease[Ve]=="number"&&(this.prerelease[Ve]++,Ve=-2);Ve===-1&&this.prerelease.push(0)}ve&&(Ge(this.prerelease[0],ve)===0?isNaN(this.prerelease[1])&&(this.prerelease=[ve,0]):this.prerelease=[ve,0]);break;default:throw new Error(`invalid increment argument: ${ce}`)}return this.format(),this.raw=this.version,this}};re.exports=gt}}),on=he({"node_modules/semver/functions/compare.js"(L,re){$();var ge=Bn(),Ee=(Pe,ie,de)=>new ge(Pe,de).compare(new ge(ie,de));re.exports=Ee}}),Nr=he({"node_modules/semver/functions/lt.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)<0;re.exports=Ee}}),Bu=he({"node_modules/semver/functions/gte.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)>=0;re.exports=Ee}}),Ri=he({"src/utils/arrayify.js"(L,re){$(),re.exports=(ge,Ee)=>Object.entries(ge).map(Pe=>{let[ie,de]=Pe;return Object.assign({[Ee]:ie},de)})}}),wu=he({"package.json"(L,re){re.exports={version:"2.8.8"}}}),Mi=he({"node_modules/outdent/lib/index.js"(L,re){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.outdent=void 0;function ge(){for(var ct=[],kt=0;kt({outline:`2px dashed ${e}`,outlineOffset:2,boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"}),rot=t0r.getChannel(),o0r=e=>{let n=aon;iot();let r=Array.from(new Set(e.elements)),a=cKe.createElement("style");a.setAttribute("id",n),a.innerHTML=r.map(l=>`${l}{ ${oon(e.color,e.style)} - }`).join(" "),cKe.head.appendChild(a)},iot=()=>{var r;let e=aon,n=cKe.getElementById(e);n&&((r=n.parentNode)==null||r.removeChild(n))};rot.on(n0r,iot);rot.on(i0r,iot);rot.on(r0r,o0r);const s0r=Object.freeze(Object.defineProperty({__proto__:null,highlightObject:a0r,highlightStyle:oon},Symbol.toStringTag,{value:"Module"}));var l0r="theme",c0r={[l0r]:""};const u0r=Object.freeze(Object.defineProperty({__proto__:null,globals:c0r},Symbol.toStringTag,{value:"Module"})),d0r="modulepreload",p0r=function(e,n){return new URL(e,n).href},xIt={},H5=function(n,r,a){let l=Promise.resolve();if(r&&r.length>0){const u=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),h=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));l=Promise.all(r.map(y=>{if(y=p0r(y,a),y in xIt)return;xIt[y]=!0;const S=y.endsWith(".css"),C=S?'[rel="stylesheet"]':"";if(!!a)for(let D=u.length-1;D>=0;D--){const O=u[D];if(O.href===y&&(!S||O.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${y}"]${C}`))return;const E=document.createElement("link");if(E.rel=S?"stylesheet":d0r,S||(E.as="script",E.crossOrigin=""),E.href=y,h&&E.setAttribute("nonce",h),document.head.appendChild(E),S)return new Promise((D,O)=>{E.addEventListener("load",D),E.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${y}`)))})}))}return l.then(()=>n()).catch(u=>{const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=u,window.dispatchEvent(p),!p.defaultPrevented)throw u})},{global:f0r}=__STORYBOOK_MODULE_GLOBAL__,{addons:m0r}=__STORYBOOK_MODULE_PREVIEW_API__;var jfe="storybook/a11y",h0r=`${jfe}/result`,_0r=`${jfe}/request`,g0r=`${jfe}/running`,y0r=`${jfe}/error`,v0r=`${jfe}/manual`,Ide={RESULT:h0r,REQUEST:_0r,RUNNING:g0r,ERROR:y0r,MANUAL:v0r},{document:b0r,window:S0r}=f0r,Pde=m0r.getChannel(),q4e=!1,VWe,x0r=async e=>{let{manual:n}=await son(e);n||await aot(e)},aot=async e=>{VWe=e;try{let n=await son(e);if(!q4e){q4e=!0,Pde.emit(Ide.RUNNING);let r=(await H5(()=>import("./axe-CMBUB71a.js").then(S=>S.a),[],import.meta.url)).default,{element:a="#storybook-root",config:l,options:u={}}=n,p=b0r.querySelector(a);if(!p)return;r.reset(),l&&r.configure(l);let h=await r.run(p,u),y=JSON.parse(JSON.stringify(h));VWe===e?Pde.emit(Ide.RESULT,y):(q4e=!1,aot(VWe))}}catch(n){Pde.emit(Ide.ERROR,n)}finally{q4e=!1}},son=async e=>{let{parameters:n}=await S0r.__STORYBOOK_STORY_STORE__.loadStory({storyId:e})||{};return n.a11y||{config:{},options:{}}};Pde.on(Ide.REQUEST,x0r);Pde.on(Ide.MANUAL,aot);const w0r=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));var C0r={docs:{renderer:async()=>{let{DocsRenderer:e}=await H5(()=>import("./DocsRenderer-NNNQARDV-DS6_L9Ho.js"),[],import.meta.url);return new e}}};const k0r=Object.freeze(Object.defineProperty({__proto__:null,parameters:C0r},Symbol.toStringTag,{value:"Module"}));var lon={exports:{}},r7e={};/** + }`).join(" "),cKe.head.appendChild(a)},iot=()=>{var r;let e=aon,n=cKe.getElementById(e);n&&((r=n.parentNode)==null||r.removeChild(n))};rot.on(n0r,iot);rot.on(i0r,iot);rot.on(r0r,o0r);const s0r=Object.freeze(Object.defineProperty({__proto__:null,highlightObject:a0r,highlightStyle:oon},Symbol.toStringTag,{value:"Module"}));var l0r="theme",c0r={[l0r]:""};const u0r=Object.freeze(Object.defineProperty({__proto__:null,globals:c0r},Symbol.toStringTag,{value:"Module"})),d0r="modulepreload",p0r=function(e,n){return new URL(e,n).href},xIt={},H5=function(n,r,a){let l=Promise.resolve();if(r&&r.length>0){const u=document.getElementsByTagName("link"),p=document.querySelector("meta[property=csp-nonce]"),h=(p==null?void 0:p.nonce)||(p==null?void 0:p.getAttribute("nonce"));l=Promise.all(r.map(y=>{if(y=p0r(y,a),y in xIt)return;xIt[y]=!0;const S=y.endsWith(".css"),C=S?'[rel="stylesheet"]':"";if(!!a)for(let D=u.length-1;D>=0;D--){const O=u[D];if(O.href===y&&(!S||O.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${y}"]${C}`))return;const E=document.createElement("link");if(E.rel=S?"stylesheet":d0r,S||(E.as="script",E.crossOrigin=""),E.href=y,h&&E.setAttribute("nonce",h),document.head.appendChild(E),S)return new Promise((D,O)=>{E.addEventListener("load",D),E.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${y}`)))})}))}return l.then(()=>n()).catch(u=>{const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=u,window.dispatchEvent(p),!p.defaultPrevented)throw u})},{global:f0r}=__STORYBOOK_MODULE_GLOBAL__,{addons:m0r}=__STORYBOOK_MODULE_PREVIEW_API__;var jfe="storybook/a11y",h0r=`${jfe}/result`,_0r=`${jfe}/request`,g0r=`${jfe}/running`,y0r=`${jfe}/error`,v0r=`${jfe}/manual`,Ide={RESULT:h0r,REQUEST:_0r,RUNNING:g0r,ERROR:y0r,MANUAL:v0r},{document:b0r,window:S0r}=f0r,Pde=m0r.getChannel(),q4e=!1,VWe,x0r=async e=>{let{manual:n}=await son(e);n||await aot(e)},aot=async e=>{VWe=e;try{let n=await son(e);if(!q4e){q4e=!0,Pde.emit(Ide.RUNNING);let r=(await H5(()=>import("./axe-BG8jQcN6.js").then(S=>S.a),[],import.meta.url)).default,{element:a="#storybook-root",config:l,options:u={}}=n,p=b0r.querySelector(a);if(!p)return;r.reset(),l&&r.configure(l);let h=await r.run(p,u),y=JSON.parse(JSON.stringify(h));VWe===e?Pde.emit(Ide.RESULT,y):(q4e=!1,aot(VWe))}}catch(n){Pde.emit(Ide.ERROR,n)}finally{q4e=!1}},son=async e=>{let{parameters:n}=await S0r.__STORYBOOK_STORY_STORE__.loadStory({storyId:e})||{};return n.a11y||{config:{},options:{}}};Pde.on(Ide.REQUEST,x0r);Pde.on(Ide.MANUAL,aot);const w0r=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));var C0r={docs:{renderer:async()=>{let{DocsRenderer:e}=await H5(()=>import("./DocsRenderer-NNNQARDV-CN6qWu3j.js"),[],import.meta.url);return new e}}};const k0r=Object.freeze(Object.defineProperty({__proto__:null,parameters:C0r},Symbol.toStringTag,{value:"Module"}));var lon={exports:{}},r7e={};/** * @license React * react-jsx-runtime.production.min.js * @@ -761,9 +761,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho path { fill: currentColor; } -`,V2=({icon:e,useSymbol:n,...r})=>te.createElement(Jsn,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},n?te.createElement("use",{xlinkHref:`#icon--${e}`}):Ppe[e]),Ybr=R.memo(function({icons:e=Object.keys(Ppe)}){return te.createElement(Jsn,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(n=>te.createElement("symbol",{id:`icon--${n}`,key:n},Ppe[n])))}),Xbr=0,Kbr=e=>e.button===Xbr&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,Zbr=(e,n)=>{Kbr(e)&&(e.preventDefault(),n(e))},Qbr=Wr.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}}:{}),e2r=Wr.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:lU(.07,e.color.secondary),"svg path:not([fill])":{fill:lU(.07,e.color.secondary)}},"&:active":{color:lU(.1,e.color.secondary),"svg path:not([fill])":{fill:lU(.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:n,tertiary:r})=>{let a;return n&&(a=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(a=[e.color.dark,e.color.darkest,e.textMutedColor]),a?{color:a[0],"svg path:not([fill])":{fill:a[0]},"&:hover":{color:a[1],"svg path:not([fill])":{fill:a[1]}},"&:active":{color:a[2],"svg path:not([fill])":{fill:a[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:n})=>n?{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"}:{}),ON=({cancel:e,children:n,onClick:r,withArrow:a,containsIcon:l,className:u,...p})=>te.createElement(e2r,{...p,onClick:r&&e?h=>Zbr(h,r):r,className:u},te.createElement(Qbr,{withArrow:a,containsIcon:l},n,a&&te.createElement(V2,{icon:"arrowright"})));ON.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var t2r=Wr.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}})),XR=[],_J=null,n2r=R.lazy(async()=>{let{SyntaxHighlighter:e}=await H5(()=>import("./syntaxhighlighter-B5GMVT5T-CdKFU8jm.js"),[],import.meta.url);return XR.length>0&&(XR.forEach(n=>{e.registerLanguage(...n)}),XR=[]),_J===null&&(_J=e),{default:n=>te.createElement(e,{...n})}}),r2r=R.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:n}]=await Promise.all([H5(()=>import("./syntaxhighlighter-B5GMVT5T-CdKFU8jm.js"),[],import.meta.url),H5(()=>import("./formatter-SWP5E3XI-xAmMd0wL.js"),[],import.meta.url)]);return XR.length>0&&(XR.forEach(r=>{e.registerLanguage(...r)}),XR=[]),_J===null&&(_J=e),{default:r=>te.createElement(e,{...r,formatter:n})}}),v7e=e=>te.createElement(R.Suspense,{fallback:te.createElement("div",null)},e.format!==!1?te.createElement(r2r,{...e}):te.createElement(n2r,{...e}));v7e.registerLanguage=(...e)=>{if(_J!==null){_J.registerLanguage(...e);return}XR.push(e)};var i2r=e=>typeof e=="number"?e:Number(e),a2r=Wr.div(({theme:e,col:n,row:r=1})=>n?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:n*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${vKe}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${vKe}`]:{marginTop:0}},({theme:e,outer:n,col:r,row:a})=>{switch(!0){case!!(n&&r):return{marginLeft:n*e.layoutMargin,marginRight:n*e.layoutMargin};case!!(n&&a):return{marginTop:n*e.layoutMargin,marginBottom:n*e.layoutMargin};default:return{}}}),o2r=({col:e,row:n,outer:r,children:a,...l})=>{let u=i2r(typeof r=="number"||!r?r:e||n);return te.createElement(a2r,{col:e,row:n,outer:u,...l},a)},s2r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),l2r=Wr.div(),c2r=Wr.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Ysn=({children:e,...n})=>{let[r,a]=R.Children.toArray(e);return te.createElement(c2r,{...n},te.createElement(s2r,null,r),a&&te.createElement(l2r,null,a))},u2r=Wr.div(({scale:e=1,elementHeight:n})=>({height:n||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function d2r({scale:e,children:n}){let r=R.useRef(null),[a,l]=R.useState(0),u=R.useCallback(({height:p})=>{p&&l(p/e)},[e]);return R.useEffect(()=>{r.current&&l(r.current.getBoundingClientRect().height)},[e]),xsn({ref:r,onResize:u}),te.createElement(u2r,{scale:e,elementHeight:a},te.createElement("div",{ref:r,className:"innerZoomElementWrapper"},n))}var p2r=class extends R.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:n,active:r}=this.props;return n!==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 te.createElement(te.Fragment,null,e)}},Xsn={Element:d2r,IFrame:p2r},{document:f2r}=ubr,m2r=Wr.strong(({theme:e})=>({color:e.color.orange})),h2r=Wr.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),pPt=Wr.em(({theme:e})=>({color:e.textMutedColor})),_2r=/(Error): (.*)\n/,g2r=/at (?:(.*) )?\(?(.+)\)?/,y2r=/([^@]+)?(?:\/<)?@(.+)?/,v2r=/([^@]+)?@(.+)?/,Ksn=({error:e})=>{if(!e)return te.createElement(R.Fragment,null,"This error has no stack or message");if(!e.stack)return te.createElement(R.Fragment,null,e.message||"This error has no stack or message");let n=e.stack.toString();n&&e.message&&!n.includes(e.message)&&(n=`Error: ${e.message} +`,V2=({icon:e,useSymbol:n,...r})=>te.createElement(Jsn,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},n?te.createElement("use",{xlinkHref:`#icon--${e}`}):Ppe[e]),Ybr=R.memo(function({icons:e=Object.keys(Ppe)}){return te.createElement(Jsn,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(n=>te.createElement("symbol",{id:`icon--${n}`,key:n},Ppe[n])))}),Xbr=0,Kbr=e=>e.button===Xbr&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,Zbr=(e,n)=>{Kbr(e)&&(e.preventDefault(),n(e))},Qbr=Wr.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}}:{}),e2r=Wr.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:lU(.07,e.color.secondary),"svg path:not([fill])":{fill:lU(.07,e.color.secondary)}},"&:active":{color:lU(.1,e.color.secondary),"svg path:not([fill])":{fill:lU(.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:n,tertiary:r})=>{let a;return n&&(a=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(a=[e.color.dark,e.color.darkest,e.textMutedColor]),a?{color:a[0],"svg path:not([fill])":{fill:a[0]},"&:hover":{color:a[1],"svg path:not([fill])":{fill:a[1]}},"&:active":{color:a[2],"svg path:not([fill])":{fill:a[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:n})=>n?{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"}:{}),ON=({cancel:e,children:n,onClick:r,withArrow:a,containsIcon:l,className:u,...p})=>te.createElement(e2r,{...p,onClick:r&&e?h=>Zbr(h,r):r,className:u},te.createElement(Qbr,{withArrow:a,containsIcon:l},n,a&&te.createElement(V2,{icon:"arrowright"})));ON.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var t2r=Wr.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}})),XR=[],_J=null,n2r=R.lazy(async()=>{let{SyntaxHighlighter:e}=await H5(()=>import("./syntaxhighlighter-B5GMVT5T-BCzr92Z9.js"),[],import.meta.url);return XR.length>0&&(XR.forEach(n=>{e.registerLanguage(...n)}),XR=[]),_J===null&&(_J=e),{default:n=>te.createElement(e,{...n})}}),r2r=R.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:n}]=await Promise.all([H5(()=>import("./syntaxhighlighter-B5GMVT5T-BCzr92Z9.js"),[],import.meta.url),H5(()=>import("./formatter-SWP5E3XI-DYSWgM2U.js"),[],import.meta.url)]);return XR.length>0&&(XR.forEach(r=>{e.registerLanguage(...r)}),XR=[]),_J===null&&(_J=e),{default:r=>te.createElement(e,{...r,formatter:n})}}),v7e=e=>te.createElement(R.Suspense,{fallback:te.createElement("div",null)},e.format!==!1?te.createElement(r2r,{...e}):te.createElement(n2r,{...e}));v7e.registerLanguage=(...e)=>{if(_J!==null){_J.registerLanguage(...e);return}XR.push(e)};var i2r=e=>typeof e=="number"?e:Number(e),a2r=Wr.div(({theme:e,col:n,row:r=1})=>n?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:n*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${vKe}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${vKe}`]:{marginTop:0}},({theme:e,outer:n,col:r,row:a})=>{switch(!0){case!!(n&&r):return{marginLeft:n*e.layoutMargin,marginRight:n*e.layoutMargin};case!!(n&&a):return{marginTop:n*e.layoutMargin,marginBottom:n*e.layoutMargin};default:return{}}}),o2r=({col:e,row:n,outer:r,children:a,...l})=>{let u=i2r(typeof r=="number"||!r?r:e||n);return te.createElement(a2r,{col:e,row:n,outer:u,...l},a)},s2r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),l2r=Wr.div(),c2r=Wr.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),Ysn=({children:e,...n})=>{let[r,a]=R.Children.toArray(e);return te.createElement(c2r,{...n},te.createElement(s2r,null,r),a&&te.createElement(l2r,null,a))},u2r=Wr.div(({scale:e=1,elementHeight:n})=>({height:n||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function d2r({scale:e,children:n}){let r=R.useRef(null),[a,l]=R.useState(0),u=R.useCallback(({height:p})=>{p&&l(p/e)},[e]);return R.useEffect(()=>{r.current&&l(r.current.getBoundingClientRect().height)},[e]),xsn({ref:r,onResize:u}),te.createElement(u2r,{scale:e,elementHeight:a},te.createElement("div",{ref:r,className:"innerZoomElementWrapper"},n))}var p2r=class extends R.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:n,active:r}=this.props;return n!==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 te.createElement(te.Fragment,null,e)}},Xsn={Element:d2r,IFrame:p2r},{document:f2r}=ubr,m2r=Wr.strong(({theme:e})=>({color:e.color.orange})),h2r=Wr.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),pPt=Wr.em(({theme:e})=>({color:e.textMutedColor})),_2r=/(Error): (.*)\n/,g2r=/at (?:(.*) )?\(?(.+)\)?/,y2r=/([^@]+)?(?:\/<)?@(.+)?/,v2r=/([^@]+)?@(.+)?/,Ksn=({error:e})=>{if(!e)return te.createElement(R.Fragment,null,"This error has no stack or message");if(!e.stack)return te.createElement(R.Fragment,null,e.message||"This error has no stack or message");let n=e.stack.toString();n&&e.message&&!n.includes(e.message)&&(n=`Error: ${e.message} -${n}`);let r=n.match(_2r);if(!r)return te.createElement(R.Fragment,null,n);let[,a,l]=r,u=n.split(/\n/).slice(1),[,...p]=u.map(h=>{let y=h.match(g2r)||h.match(y2r)||h.match(v2r);return y?{name:(y[1]||"").replace("/<",""),location:y[2].replace(f2r.location.origin,"")}:null}).filter(Boolean);return te.createElement(R.Fragment,null,te.createElement("span",null,a),": ",te.createElement(m2r,null,l),te.createElement("br",null),p.map((h,y)=>h.name?te.createElement(R.Fragment,{key:y}," ","at ",te.createElement(h2r,null,h.name)," (",te.createElement(pPt,null,h.location),")",te.createElement("br",null)):te.createElement(R.Fragment,{key:y}," ","at ",te.createElement(pPt,null,h.location),te.createElement("br",null))))},Zsn=Wr.button(({small:e,theme:n})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?n.typography.size.s1:n.typography.size.s2-1}px`,fontWeight:n.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:n})=>e?{svg:{display:"block",margin:0},...n?{padding:10}:{padding:13}}:{},({theme:e,primary:n,secondary:r,gray:a})=>{let l;return a?l=e.color.mediumlight:r?l=e.color.secondary:n&&(l=e.color.primary),l?{background:l,color:a?e.color.darkest:e.color.lightest,"&:hover":{background:lU(.05,l)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${BI(l,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${BI(l,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:n,inForm:r,small:a})=>n?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&a?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?lU(.02,e.button.background):Rbr(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${BI(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:n})=>n?{boxShadow:`${WS(.8,e.color.defaultText)} 0 0 0 1px inset`,color:WS(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${WS(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${WS(.5,e.color.defaultText)} 0 0 0 2px inset`,color:WS(0,e.color.defaultText)}}:{},({theme:e,outline:n,primary:r})=>{let a=e.color.primary;return n&&r?{boxShadow:`${a} 0 0 0 1px inset`,color:a,"svg path:not([fill])":{fill:a},"&:hover":{boxShadow:`${a} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:a,boxShadow:`${a} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${a} 0 0 0 1px inset, ${BI(a,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${a} 0 0 0 1px inset, ${BI(a,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:n,primary:r,secondary:a})=>{let l;return a?l=e.color.secondary:r&&(l=e.color.primary),n&&l?{boxShadow:`${l} 0 0 0 1px inset`,color:l,"svg path:not([fill])":{fill:l},"&:hover":{boxShadow:`${l} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:l,boxShadow:`${l} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${l} 0 0 0 1px inset, ${BI(l,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${l} 0 0 0 1px inset, ${BI(l,.2)} 0 8px 18px 0px`}}:{}}),b2r=Zsn.withComponent("a"),Qsn=Object.assign(R.forwardRef(function({isLink:e,children:n,...r},a){return e?te.createElement(b2r,{...r,ref:a},n):te.createElement(Zsn,{...r,ref:a},n)}),{defaultProps:{isLink:!1}}),S2r=Wr.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),x2r=Wr.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),eln=({label:e,children:n,...r})=>te.createElement(S2r,{...r},e?te.createElement(x2r,null,te.createElement("span",null,e)):null,n);eln.defaultProps={label:void 0};function NKe(){return NKe=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0)&&(r[l]=e[l]);return r}var fPt=function(e,n){if(typeof e=="function"){e(n);return}e.current=n},C2r=function(e,n){var r=R.useRef();return R.useCallback(function(a){e.current=a,r.current&&fPt(r.current,null),r.current=n,n&&fPt(n,a)},[n])},k2r=C2r,T2r=function(){},E2r=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],I2r=function(e,n){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,a=r===void 0?T2r:r;e.onHeightChange;var l=w2r(e,E2r);l.value;var u=R.useRef(null),p=k2r(u,n);return R.useRef(0),R.useRef(),R.createElement("textarea",NKe({},l,{onChange:a,ref:p}))},P2r=R.forwardRef(I2r),A2r={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Bot=({theme:e})=>({...A2r,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}}),b7e=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},tln=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},S7e=({valid:e,theme:n})=>{switch(e){case"valid":return{boxShadow:`${n.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${n.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${n.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},D2r=Object.assign(Wr(R.forwardRef(function({size:e,valid:n,align:r,...a},l){return te.createElement("input",{...a,ref:l})}))(Bot,b7e,tln,S7e,{minHeight:32}),{displayName:"Input"}),N2r=Object.assign(Wr(R.forwardRef(function({size:e,valid:n,align:r,...a},l){return te.createElement("select",{...a,ref:l})}))(Bot,b7e,S7e,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),F2r=Object.assign(Wr(R.forwardRef(function({size:e,valid:n,align:r,...a},l){return te.createElement(P2r,{...a,ref:l})}))(Bot,b7e,tln,S7e,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),O2r=Wr(R.forwardRef(function({size:e,valid:n,align:r,...a},l){return te.createElement(Qsn,{...a,ref:l})}))(b7e,S7e,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),V2r=Object.assign(R.forwardRef(function(e,n){return te.createElement(O2r,{...e,tertiary:!0,small:!0,inForm:!0,ref:n})}),{displayName:"Button"}),U5=Object.assign(Wr.form({boxSizing:"border-box",width:"100%"}),{Field:eln,Input:D2r,Select:N2r,Textarea:F2r,Button:V2r}),M2r=R.lazy(()=>H5(()=>import("./WithTooltip-V3YHNWJZ-B1xvZyi_.js"),[],import.meta.url).then(e=>({default:e.WithTooltip}))),R2r=e=>te.createElement(R.Suspense,{fallback:te.createElement("div",null)},te.createElement(M2r,{...e})),L2r=R.lazy(()=>H5(()=>import("./WithTooltip-V3YHNWJZ-B1xvZyi_.js"),[],import.meta.url).then(e=>({default:e.WithTooltipPure}))),nln=e=>te.createElement(R.Suspense,{fallback:te.createElement("div",null)},te.createElement(L2r,{...e})),B2r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),$2r=Wr.span(),q2r=Wr.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),j2r=Wr.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),z2r=Wr.div({padding:15,width:280,boxSizing:"border-box"}),rln=({title:e,desc:n,links:r})=>te.createElement(z2r,null,te.createElement(j2r,null,e&&te.createElement(B2r,null,e),n&&te.createElement($2r,null,n)),r&&te.createElement(q2r,null,r.map(({title:a,...l})=>te.createElement(ON,{...l,key:a},a))));rln.defaultProps={title:null,desc:null,links:null};var G2r=Wr.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})),H2r=({note:e,...n})=>te.createElement(G2r,{...n},e),U2r=Wr(({active:e,loading:n,disabled:r,...a})=>te.createElement("span",{...a}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:n})=>e?{color:n.color.secondary,fontWeight:n.typography.weight.bold}:{},({loading:e,theme:n})=>e?{display:"inline-block",flex:"none",...n.animation.inlineGlow}:{},({disabled:e,theme:n})=>e?{color:WS(.7,n.color.defaultText)}:{}),W2r=Wr.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),J2r=Wr.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),Y2r=Wr.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:n})=>e?{color:n.color.secondary}:{},({theme:e,disabled:n})=>n?{color:e.textMutedColor}:{}),mPt=Wr.span(({active:e,theme:n})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:n.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),X2r=Wr.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"}:{}),K2r=JL(100)((e,n,r)=>{let a={};return e&&Object.assign(a,{onClick:e}),n&&Object.assign(a,{href:n}),r&&n&&Object.assign(a,{to:n,as:r}),a}),iln=({loading:e,left:n,title:r,center:a,right:l,icon:u,active:p,disabled:h,isIndented:y,href:S,onClick:C,LinkWrapper:P,...E})=>{let D=K2r(C,S,P),O={active:p,disabled:h},V=typeof u=="string"&&Ppe[u];return te.createElement(X2r,{...O,...E,...D},u?te.createElement(mPt,{...O},V?te.createElement(V2,{icon:u}):u):n&&te.createElement(mPt,{...O},n),r||a?te.createElement(J2r,{isIndented:!n&&!u&&y},r&&te.createElement(U2r,{...O,loading:e},r),a&&te.createElement(Y2r,{...O},a)):null,l&&te.createElement(W2r,{...O},l))};iln.defaultProps={loading:!1,left:null,title:te.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var $ot=iln,Z2r=Wr.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),Q2r=e=>{let{LinkWrapper:n,onClick:r,id:a,isIndented:l,...u}=e,{title:p,href:h,active:y}=u,S=R.useCallback(P=>{r(P,u)},[r]),C=!!r;return te.createElement($ot,{title:p,active:y,href:h,id:`list-item-${a}`,LinkWrapper:n,isIndented:l,...u,...C?{onClick:S}:{}})},qot=({links:e,LinkWrapper:n})=>{let r=e.some(a=>a.left||a.icon);return te.createElement(Z2r,null,e.map(({isGatsby:a,...l})=>te.createElement(Q2r,{key:l.id,LinkWrapper:a?n:null,isIndented:r,...l})))};qot.defaultProps={LinkWrapper:$ot.defaultProps.LinkWrapper};var jot=te.forwardRef(({children:e,...n},r)=>n.href!=null?te.createElement("a",{ref:r,...n},e):te.createElement("button",{ref:r,type:"button",...n},e));jot.displayName="ButtonOrLink";var Xfe=Wr(jot,{shouldForwardProp:lot})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{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.color.secondary}}),({active:e,textColor:n,theme:r})=>e?{color:n||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:n||r.barTextColor,borderBottomColor:"transparent"});Xfe.displayName="TabButton";var KR=Wr(jot,{shouldForwardProp:lot})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:n})=>e?{backgroundColor:n.background.hoverable,color:n.barSelectedColor}:{},({disabled:e,theme:n})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:WS(.88,n.color.secondary),color:n.barHoverColor},"&:focus-visible":{outline:g7e},"&:focus:not(:focus-visible)":{outline:"none"}});KR.displayName="IconButton";var eSr=Wr.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),tSr=Wr.div(()=>({marginTop:6,padding:7,height:28})),aln=()=>te.createElement(tSr,null,te.createElement(eSr,null)),FKe=Wr.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}}:{});FKe.displayName="Side";var nSr=({children:e,className:n,scrollable:r})=>r?te.createElement(Cot,{vertical:!1,className:n},e):te.createElement("div",{className:n},e),zot=Wr(nSr)(({theme:e,scrollable:n=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:n?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:n=!1})=>n?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});zot.displayName="Bar";var rSr=Wr.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),x7e=({children:e,backgroundColor:n,...r})=>{let[a,l]=R.Children.toArray(e);return te.createElement(zot,{...r},te.createElement(rSr,{bgColor:n},te.createElement(FKe,{scrollable:r.scrollable,left:!0},a),l?te.createElement(FKe,{right:!0},l):null))};x7e.displayName="FlexBar";var oln=Wr.div(({active:e})=>e?{display:"block"}:{display:"none"}),hPt=e=>R.Children.toArray(e).map(({props:{title:n,id:r,color:a,children:l}})=>{let u=Array.isArray(l)?l[0]:l;return{title:n,id:r,...a?{color:a}:{},render:typeof u=="function"?u:({active:p})=>te.createElement(oln,{active:p,role:"tabpanel"},u)}}),iSr=Wr.span(({theme:e,isActive:n})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:n?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),aSr=Wr(Xfe)(({active:e,theme:n,preActive:r})=>` +${n}`);let r=n.match(_2r);if(!r)return te.createElement(R.Fragment,null,n);let[,a,l]=r,u=n.split(/\n/).slice(1),[,...p]=u.map(h=>{let y=h.match(g2r)||h.match(y2r)||h.match(v2r);return y?{name:(y[1]||"").replace("/<",""),location:y[2].replace(f2r.location.origin,"")}:null}).filter(Boolean);return te.createElement(R.Fragment,null,te.createElement("span",null,a),": ",te.createElement(m2r,null,l),te.createElement("br",null),p.map((h,y)=>h.name?te.createElement(R.Fragment,{key:y}," ","at ",te.createElement(h2r,null,h.name)," (",te.createElement(pPt,null,h.location),")",te.createElement("br",null)):te.createElement(R.Fragment,{key:y}," ","at ",te.createElement(pPt,null,h.location),te.createElement("br",null))))},Zsn=Wr.button(({small:e,theme:n})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?n.typography.size.s1:n.typography.size.s2-1}px`,fontWeight:n.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:n})=>e?{svg:{display:"block",margin:0},...n?{padding:10}:{padding:13}}:{},({theme:e,primary:n,secondary:r,gray:a})=>{let l;return a?l=e.color.mediumlight:r?l=e.color.secondary:n&&(l=e.color.primary),l?{background:l,color:a?e.color.darkest:e.color.lightest,"&:hover":{background:lU(.05,l)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${BI(l,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${BI(l,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:n,inForm:r,small:a})=>n?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&a?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?lU(.02,e.button.background):Rbr(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${BI(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:n})=>n?{boxShadow:`${WS(.8,e.color.defaultText)} 0 0 0 1px inset`,color:WS(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${WS(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${WS(.5,e.color.defaultText)} 0 0 0 2px inset`,color:WS(0,e.color.defaultText)}}:{},({theme:e,outline:n,primary:r})=>{let a=e.color.primary;return n&&r?{boxShadow:`${a} 0 0 0 1px inset`,color:a,"svg path:not([fill])":{fill:a},"&:hover":{boxShadow:`${a} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:a,boxShadow:`${a} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${a} 0 0 0 1px inset, ${BI(a,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${a} 0 0 0 1px inset, ${BI(a,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:n,primary:r,secondary:a})=>{let l;return a?l=e.color.secondary:r&&(l=e.color.primary),n&&l?{boxShadow:`${l} 0 0 0 1px inset`,color:l,"svg path:not([fill])":{fill:l},"&:hover":{boxShadow:`${l} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:l,boxShadow:`${l} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${l} 0 0 0 1px inset, ${BI(l,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${l} 0 0 0 1px inset, ${BI(l,.2)} 0 8px 18px 0px`}}:{}}),b2r=Zsn.withComponent("a"),Qsn=Object.assign(R.forwardRef(function({isLink:e,children:n,...r},a){return e?te.createElement(b2r,{...r,ref:a},n):te.createElement(Zsn,{...r,ref:a},n)}),{defaultProps:{isLink:!1}}),S2r=Wr.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),x2r=Wr.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),eln=({label:e,children:n,...r})=>te.createElement(S2r,{...r},e?te.createElement(x2r,null,te.createElement("span",null,e)):null,n);eln.defaultProps={label:void 0};function NKe(){return NKe=Object.assign?Object.assign.bind():function(e){for(var n=1;n=0)&&(r[l]=e[l]);return r}var fPt=function(e,n){if(typeof e=="function"){e(n);return}e.current=n},C2r=function(e,n){var r=R.useRef();return R.useCallback(function(a){e.current=a,r.current&&fPt(r.current,null),r.current=n,n&&fPt(n,a)},[n])},k2r=C2r,T2r=function(){},E2r=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],I2r=function(e,n){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,a=r===void 0?T2r:r;e.onHeightChange;var l=w2r(e,E2r);l.value;var u=R.useRef(null),p=k2r(u,n);return R.useRef(0),R.useRef(),R.createElement("textarea",NKe({},l,{onChange:a,ref:p}))},P2r=R.forwardRef(I2r),A2r={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Bot=({theme:e})=>({...A2r,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}}),b7e=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},tln=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},S7e=({valid:e,theme:n})=>{switch(e){case"valid":return{boxShadow:`${n.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${n.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${n.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},D2r=Object.assign(Wr(R.forwardRef(function({size:e,valid:n,align:r,...a},l){return te.createElement("input",{...a,ref:l})}))(Bot,b7e,tln,S7e,{minHeight:32}),{displayName:"Input"}),N2r=Object.assign(Wr(R.forwardRef(function({size:e,valid:n,align:r,...a},l){return te.createElement("select",{...a,ref:l})}))(Bot,b7e,S7e,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),F2r=Object.assign(Wr(R.forwardRef(function({size:e,valid:n,align:r,...a},l){return te.createElement(P2r,{...a,ref:l})}))(Bot,b7e,tln,S7e,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),O2r=Wr(R.forwardRef(function({size:e,valid:n,align:r,...a},l){return te.createElement(Qsn,{...a,ref:l})}))(b7e,S7e,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),V2r=Object.assign(R.forwardRef(function(e,n){return te.createElement(O2r,{...e,tertiary:!0,small:!0,inForm:!0,ref:n})}),{displayName:"Button"}),U5=Object.assign(Wr.form({boxSizing:"border-box",width:"100%"}),{Field:eln,Input:D2r,Select:N2r,Textarea:F2r,Button:V2r}),M2r=R.lazy(()=>H5(()=>import("./WithTooltip-V3YHNWJZ-B1-DtnBp.js"),[],import.meta.url).then(e=>({default:e.WithTooltip}))),R2r=e=>te.createElement(R.Suspense,{fallback:te.createElement("div",null)},te.createElement(M2r,{...e})),L2r=R.lazy(()=>H5(()=>import("./WithTooltip-V3YHNWJZ-B1-DtnBp.js"),[],import.meta.url).then(e=>({default:e.WithTooltipPure}))),nln=e=>te.createElement(R.Suspense,{fallback:te.createElement("div",null)},te.createElement(L2r,{...e})),B2r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),$2r=Wr.span(),q2r=Wr.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),j2r=Wr.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),z2r=Wr.div({padding:15,width:280,boxSizing:"border-box"}),rln=({title:e,desc:n,links:r})=>te.createElement(z2r,null,te.createElement(j2r,null,e&&te.createElement(B2r,null,e),n&&te.createElement($2r,null,n)),r&&te.createElement(q2r,null,r.map(({title:a,...l})=>te.createElement(ON,{...l,key:a},a))));rln.defaultProps={title:null,desc:null,links:null};var G2r=Wr.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})),H2r=({note:e,...n})=>te.createElement(G2r,{...n},e),U2r=Wr(({active:e,loading:n,disabled:r,...a})=>te.createElement("span",{...a}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:n})=>e?{color:n.color.secondary,fontWeight:n.typography.weight.bold}:{},({loading:e,theme:n})=>e?{display:"inline-block",flex:"none",...n.animation.inlineGlow}:{},({disabled:e,theme:n})=>e?{color:WS(.7,n.color.defaultText)}:{}),W2r=Wr.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),J2r=Wr.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),Y2r=Wr.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:n})=>e?{color:n.color.secondary}:{},({theme:e,disabled:n})=>n?{color:e.textMutedColor}:{}),mPt=Wr.span(({active:e,theme:n})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:n.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),X2r=Wr.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"}:{}),K2r=JL(100)((e,n,r)=>{let a={};return e&&Object.assign(a,{onClick:e}),n&&Object.assign(a,{href:n}),r&&n&&Object.assign(a,{to:n,as:r}),a}),iln=({loading:e,left:n,title:r,center:a,right:l,icon:u,active:p,disabled:h,isIndented:y,href:S,onClick:C,LinkWrapper:P,...E})=>{let D=K2r(C,S,P),O={active:p,disabled:h},V=typeof u=="string"&&Ppe[u];return te.createElement(X2r,{...O,...E,...D},u?te.createElement(mPt,{...O},V?te.createElement(V2,{icon:u}):u):n&&te.createElement(mPt,{...O},n),r||a?te.createElement(J2r,{isIndented:!n&&!u&&y},r&&te.createElement(U2r,{...O,loading:e},r),a&&te.createElement(Y2r,{...O},a)):null,l&&te.createElement(W2r,{...O},l))};iln.defaultProps={loading:!1,left:null,title:te.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var $ot=iln,Z2r=Wr.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),Q2r=e=>{let{LinkWrapper:n,onClick:r,id:a,isIndented:l,...u}=e,{title:p,href:h,active:y}=u,S=R.useCallback(P=>{r(P,u)},[r]),C=!!r;return te.createElement($ot,{title:p,active:y,href:h,id:`list-item-${a}`,LinkWrapper:n,isIndented:l,...u,...C?{onClick:S}:{}})},qot=({links:e,LinkWrapper:n})=>{let r=e.some(a=>a.left||a.icon);return te.createElement(Z2r,null,e.map(({isGatsby:a,...l})=>te.createElement(Q2r,{key:l.id,LinkWrapper:a?n:null,isIndented:r,...l})))};qot.defaultProps={LinkWrapper:$ot.defaultProps.LinkWrapper};var jot=te.forwardRef(({children:e,...n},r)=>n.href!=null?te.createElement("a",{ref:r,...n},e):te.createElement("button",{ref:r,type:"button",...n},e));jot.displayName="ButtonOrLink";var Xfe=Wr(jot,{shouldForwardProp:lot})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{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.color.secondary}}),({active:e,textColor:n,theme:r})=>e?{color:n||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:n||r.barTextColor,borderBottomColor:"transparent"});Xfe.displayName="TabButton";var KR=Wr(jot,{shouldForwardProp:lot})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:n})=>e?{backgroundColor:n.background.hoverable,color:n.barSelectedColor}:{},({disabled:e,theme:n})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:WS(.88,n.color.secondary),color:n.barHoverColor},"&:focus-visible":{outline:g7e},"&:focus:not(:focus-visible)":{outline:"none"}});KR.displayName="IconButton";var eSr=Wr.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),tSr=Wr.div(()=>({marginTop:6,padding:7,height:28})),aln=()=>te.createElement(tSr,null,te.createElement(eSr,null)),FKe=Wr.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}}:{});FKe.displayName="Side";var nSr=({children:e,className:n,scrollable:r})=>r?te.createElement(Cot,{vertical:!1,className:n},e):te.createElement("div",{className:n},e),zot=Wr(nSr)(({theme:e,scrollable:n=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:n?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:n=!1})=>n?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});zot.displayName="Bar";var rSr=Wr.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),x7e=({children:e,backgroundColor:n,...r})=>{let[a,l]=R.Children.toArray(e);return te.createElement(zot,{...r},te.createElement(rSr,{bgColor:n},te.createElement(FKe,{scrollable:r.scrollable,left:!0},a),l?te.createElement(FKe,{right:!0},l):null))};x7e.displayName="FlexBar";var oln=Wr.div(({active:e})=>e?{display:"block"}:{display:"none"}),hPt=e=>R.Children.toArray(e).map(({props:{title:n,id:r,color:a,children:l}})=>{let u=Array.isArray(l)?l[0]:l;return{title:n,id:r,...a?{color:a}:{},render:typeof u=="function"?u:({active:p})=>te.createElement(oln,{active:p,role:"tabpanel"},u)}}),iSr=Wr.span(({theme:e,isActive:n})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:n?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),aSr=Wr(Xfe)(({active:e,theme:n,preActive:r})=>` color: ${r||e?n.color.secondary:n.color.mediumdark}; &:hover { color: ${n.color.secondary}; @@ -845,7 +845,7 @@ ${n}`);let r=n.match(_2r);if(!r)return te.createElement(R.Fragment,null,n);let[, ${vE(.02,e.input.background)} 100%)`:`linear-gradient(to right, ${e.color.green} 0%, ${e.color.green} ${(a-n)/(r-n)*100}%, ${SR(.02,e.input.background)} ${(a-n)/(r-n)*100}%, - ${SR(.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 ${TE(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),ycn=Wr.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),IEr=Wr(ycn)(({numberOFDecimalsPlaces:e,max:n})=>({width:`${e+n.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),PEr=Wr.div({display:"flex",alignItems:"center",width:"100%"});function AEr(e){let n=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return n?Math.max(0,(n[1]?n[1].length:0)-(n[2]?+n[2]:0)):0}var DEr=({name:e,value:n,onChange:r,min:a=0,max:l=100,step:u=1,onBlur:p,onFocus:h})=>{let y=P=>{r(G6r(P.target.value))},S=n!==void 0,C=R.useMemo(()=>AEr(u),[u]);return te.createElement(PEr,null,te.createElement(ycn,null,a),te.createElement(EEr,{id:Z5(e),type:"range",onChange:y,name:e,value:n,min:a,max:l,step:u,onFocus:h,onBlur:p}),te.createElement(IEr,{numberOFDecimalsPlaces:C,max:l},S?n.toFixed(C):"--"," / ",l))},NEr=Wr.label({display:"flex"}),FEr=Wr.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),OEr=({name:e,value:n,onChange:r,onFocus:a,onBlur:l,maxLength:u})=>{let p=P=>{r(P.target.value)},[h,y]=R.useState(!1),S=R.useCallback(()=>{r(""),y(!0)},[y]);if(n===void 0)return te.createElement(U5.Button,{id:m7e(e),onClick:S},"Set string");let C=typeof n=="string";return te.createElement(NEr,null,te.createElement(U5.Textarea,{id:Z5(e),maxLength:u,onChange:p,size:"flex",placeholder:"Edit string...",autoFocus:h,valid:C?null:"error",name:e,value:C?n:"",onFocus:a,onBlur:l}),u&&te.createElement(FEr,{isMaxed:(n==null?void 0:n.length)===u},(n==null?void 0:n.length)??0," / ",u))},VEr=Wr(U5.Input)({padding:10});function MEr(e){e.forEach(n=>{n.startsWith("blob:")&&URL.revokeObjectURL(n)})}var REr=({onChange:e,name:n,accept:r="image/*",value:a})=>{let l=R.useRef(null);function u(p){if(!p.target.files)return;let h=Array.from(p.target.files).map(y=>URL.createObjectURL(y));e(h),MEr(a)}return R.useEffect(()=>{a==null&&l.current&&(l.current.value=null)},[a,n]),te.createElement(VEr,{ref:l,id:Z5(n),type:"file",name:n,multiple:!0,onChange:u,accept:r,size:"flex"})},LEr=R.lazy(()=>H5(()=>import("./Color-6VNJS4EI-DaYdP20d.js"),[],import.meta.url)),BEr=e=>te.createElement(R.Suspense,{fallback:te.createElement("div",null)},te.createElement(LEr,{...e})),$Er={array:iAt,object:iAt,boolean:M6r,color:BEr,date:j6r,number:H6r,check:HG,"inline-check":HG,radio:HG,"inline-radio":HG,select:HG,"multi-select":HG,range:DEr,text:OEr,file:REr},aAt=()=>te.createElement(te.Fragment,null,"-"),qEr=({row:e,arg:n,updateArgs:r,isHovered:a})=>{let{key:l,control:u}=e,[p,h]=R.useState(!1),[y,S]=R.useState({value:n});R.useEffect(()=>{p||S({value:n})},[p,n]);let C=R.useCallback(V=>(S({value:V}),r({[l]:V}),V),[r,l]),P=R.useCallback(()=>h(!1),[]),E=R.useCallback(()=>h(!0),[]);if(!u||u.disable)return a?te.createElement(ON,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):te.createElement(aAt,null);let D={name:l,argType:e,value:y.value,onChange:C,onBlur:P,onFocus:E},O=$Er[u.type]||aAt;return te.createElement(O,{...D,...u,controlType:u.type})},jEr=Wr.span({fontWeight:"bold"}),zEr=Wr.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),GEr=Wr.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...FP({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),HEr=Wr.div(({theme:e,hasDescription:n})=>({color:e.base==="light"?Hh(.1,e.color.defaultText):Hh(.2,e.color.defaultText),marginTop:n?4:0})),UEr=Wr.div(({theme:e,hasDescription:n})=>({color:e.base==="light"?Hh(.1,e.color.defaultText):Hh(.2,e.color.defaultText),marginTop:n?12:0,marginBottom:12})),WEr=Wr.td(({theme:e,expandable:n})=>({paddingLeft:n?"40px !important":"20px !important"})),J4e=e=>{var V;let[n,r]=R.useState(!1),{row:a,updateArgs:l,compact:u,expandable:p,initialExpandedArgs:h}=e,{name:y,description:S}=a,C=a.table||{},P=C.type||a.type,E=C.defaultValue||a.defaultValue,D=(V=a.type)==null?void 0:V.required,O=S!=null&&S!=="";return te.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},te.createElement(WEr,{expandable:p},te.createElement(jEr,null,y),D?te.createElement(zEr,{title:"Required"},"*"):null),u?null:te.createElement("td",null,O&&te.createElement(GEr,null,te.createElement(Bln,null,S)),C.jsDocTags!=null?te.createElement(te.Fragment,null,te.createElement(UEr,{hasDescription:O},te.createElement(cJe,{value:P,initialExpandedArgs:h})),te.createElement(C6r,{tags:C.jsDocTags})):te.createElement(HEr,{hasDescription:O},te.createElement(cJe,{value:P,initialExpandedArgs:h}))),u?null:te.createElement("td",null,te.createElement(cJe,{value:E,initialExpandedArgs:h})),l?te.createElement("td",null,te.createElement(qEr,{...e,isHovered:n})):null)},JEr=Wr(V2)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Hh(.25,e.color.defaultText):Hh(.3,e.color.defaultText),border:"none",display:"inline-block"})),YEr=Wr.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),XEr=Wr.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"?Hh(.4,e.color.defaultText):Hh(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),KEr=Wr.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),ZEr=Wr.td(()=>({position:"relative"})),QEr=Wr.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${SR(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),oAt=Wr.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"})),dJe=({level:e="section",label:n,children:r,initialExpanded:a=!0,colSpan:l=3})=>{let[u,p]=R.useState(a),h=e==="subsection"?KEr:XEr,y=(r==null?void 0:r.length)||0,S=e==="subsection"?`${y} item${y!==1?"s":""}`:"",C=u?"arrowdown":"arrowright",P=`${u?"Hide":"Show"} ${e==="subsection"?y:n} item${y!==1?"s":""}`;return te.createElement(te.Fragment,null,te.createElement(QEr,{title:P},te.createElement(h,{colSpan:1},te.createElement(oAt,{onClick:E=>p(!u),tabIndex:0},P),te.createElement(YEr,null,te.createElement(JEr,{icon:C}),n)),te.createElement(ZEr,{colSpan:l-1},te.createElement(oAt,{onClick:E=>p(!u),tabIndex:-1,style:{outline:"none"}},P),u?null:S)),u?r:null)},Y4e=Wr.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),mb=Wr.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),vy=Wr.div(({theme:e,width:n,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:n||"100%",height:r||16,borderRadius:3})),hb=[2,4,2,2],e8r=()=>te.createElement(te.Fragment,null,te.createElement(Y4e,null,te.createElement(mb,{numColumn:hb[0]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[1]},te.createElement(vy,{width:"30%"})),te.createElement(mb,{numColumn:hb[2]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[3]},te.createElement(vy,{width:"60%"}))),te.createElement(Y4e,null,te.createElement(mb,{numColumn:hb[0]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[1]},te.createElement(vy,{width:"80%"}),te.createElement(vy,{width:"30%"})),te.createElement(mb,{numColumn:hb[2]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[3]},te.createElement(vy,{width:"60%"}))),te.createElement(Y4e,null,te.createElement(mb,{numColumn:hb[0]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[1]},te.createElement(vy,{width:"80%"}),te.createElement(vy,{width:"30%"})),te.createElement(mb,{numColumn:hb[2]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[3]},te.createElement(vy,{width:"60%"}))),te.createElement(Y4e,null,te.createElement(mb,{numColumn:hb[0]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[1]},te.createElement(vy,{width:"80%"}),te.createElement(vy,{width:"30%"})),te.createElement(mb,{numColumn:hb[2]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[3]},te.createElement(vy,{width:"60%"})))),t8r=Wr.div(({inAddonPanel:e,theme:n})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${n.appBorderColor}`,borderRadius:e?0:n.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:n.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),n8r=Wr.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),r8r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),i8r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),a8r=Wr.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),o8r=Wr.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),s8r=({inAddonPanel:e})=>{let[n,r]=R.useState(!0);return R.useEffect(()=>{let a=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(a)},[]),n?null:te.createElement(t8r,{inAddonPanel:e},te.createElement(n8r,null,te.createElement(r8r,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),te.createElement(i8r,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.")),te.createElement(a8r,null,e&&te.createElement(te.Fragment,null,te.createElement(ON,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},te.createElement(V2,{icon:"video"})," Watch 5m video"),te.createElement(o8r,null),te.createElement(ON,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&te.createElement(ON,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},l8r=Wr.table(({theme:e,compact:n,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)":{...n?null:{width:"35%"}},"td:nth-of-type(3)":{...n?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...n?null:{width:"25%"}},th:{color:e.base==="light"?Hh(.25,e.color.defaultText):Hh(.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}}}}})),c8r=Wr(KR)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),u8r=Wr.span({display:"flex",justifyContent:"space-between"}),d8r={alpha:(e,n)=>e.name.localeCompare(n.name),requiredFirst:(e,n)=>{var r,a;return+!!((r=n.type)!=null&&r.required)-+!!((a=e.type)!=null&&a.required)||e.name.localeCompare(n.name)},none:void 0},p8r=(e,n)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([u,p])=>{let{category:h,subcategory:y}=(p==null?void 0:p.table)||{};if(h){let S=r.sections[h]||{ungrouped:[],subsections:{}};if(!y)S.ungrouped.push({key:u,...p});else{let C=S.subsections[y]||[];C.push({key:u,...p}),S.subsections[y]=C}r.sections[h]=S}else if(y){let S=r.ungroupedSubsections[y]||[];S.push({key:u,...p}),r.ungroupedSubsections[y]=S}else r.ungrouped.push({key:u,...p})});let a=d8r[n],l=u=>a?Object.keys(u).reduce((p,h)=>({...p,[h]:u[h].sort(a)}),{}):u;return{ungrouped:r.ungrouped.sort(a),ungroupedSubsections:l(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((u,p)=>({...u,[p]:{ungrouped:r.sections[p].ungrouped.sort(a),subsections:l(r.sections[p].subsections)}}),{})}},f8r=(e,n,r)=>{try{return cbr(e,n,r)}catch(a){return HTr.warn(a.message),!1}},m8r=e=>{let{updateArgs:n,resetArgs:r,compact:a,inAddonPanel:l,initialExpandedArgs:u,sort:p="none",isLoading:h}=e;if("error"in e){let{error:U}=e;return te.createElement(icn,null,U," ",te.createElement(ON,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(h)return te.createElement(e8r,null);let{rows:y,args:S,globals:C}="rows"in e&&e,P=p8r(nwr(y,U=>{var Y;return!((Y=U==null?void 0:U.table)!=null&&Y.disable)&&f8r(U,S||{},C||{})}),p),E=P.ungrouped.length===0,D=Object.entries(P.sections).length===0,O=Object.entries(P.ungroupedSubsections).length===0;if(E&&D&&O)return te.createElement(s8r,{inAddonPanel:l});let V=1;n&&(V+=1),a||(V+=2);let z=Object.keys(P.sections).length>0,j={updateArgs:n,compact:a,inAddonPanel:l,initialExpandedArgs:u};return te.createElement(Yfe,null,te.createElement(l8r,{compact:a,inAddonPanel:l,className:"docblock-argstable sb-unstyled"},te.createElement("thead",{className:"docblock-argstable-head"},te.createElement("tr",null,te.createElement("th",null,te.createElement("span",null,"Name")),a?null:te.createElement("th",null,te.createElement("span",null,"Description")),a?null:te.createElement("th",null,te.createElement("span",null,"Default")),n?te.createElement("th",null,te.createElement(u8r,null,"Control"," ",!h&&r&&te.createElement(c8r,{onClick:()=>r(),title:"Reset controls"},te.createElement(V2,{icon:"undo","aria-hidden":!0})))):null)),te.createElement("tbody",{className:"docblock-argstable-body"},P.ungrouped.map(U=>te.createElement(J4e,{key:U.key,row:U,arg:S&&S[U.key],...j})),Object.entries(P.ungroupedSubsections).map(([U,Y])=>te.createElement(dJe,{key:U,label:U,level:"subsection",colSpan:V},Y.map(X=>te.createElement(J4e,{key:X.key,row:X,arg:S&&S[X.key],expandable:z,...j})))),Object.entries(P.sections).map(([U,Y])=>te.createElement(dJe,{key:U,label:U,level:"section",colSpan:V},Y.ungrouped.map(X=>te.createElement(J4e,{key:X.key,row:X,arg:S&&S[X.key],...j})),Object.entries(Y.subsections).map(([X,W])=>te.createElement(dJe,{key:X,label:X,level:"subsection",colSpan:V},W.map(ne=>te.createElement(J4e,{key:ne.key,row:ne,arg:S&&S[ne.key],expandable:z,...j})))))))))};Wr.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Hh(.4,e.color.defaultText):Hh(.6,e.color.defaultText)}));Wr.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});Wr.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});Wr.div(Uh,({theme:e})=>({...I7e(e),margin:"25px 0 40px",padding:"30px 20px"}));var h8r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),_8r=Wr.div(({theme:e})=>({color:e.base==="light"?Hh(.2,e.color.defaultText):Hh(.6,e.color.defaultText)})),g8r=Wr.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),y8r=Wr.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"?Hh(.4,e.color.defaultText):Hh(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),sAt=Wr.div({display:"flex",flexDirection:"row"}),v8r=Wr.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),lAt=Wr.div(({theme:e})=>({...I7e(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"})),cAt=Wr.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),b8r=Wr.div({flex:1,display:"flex",flexDirection:"row"}),S8r=Wr.div({display:"flex",alignItems:"flex-start"}),x8r=Wr.div({flex:"0 0 30%"}),w8r=Wr.div({flex:1}),C8r=Wr.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Hh(.4,e.color.defaultText):Hh(.6,e.color.defaultText)})),k8r=Wr.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function uAt(e,n){return te.createElement(v8r,{key:`${e}-${n}`,title:e,background:e})}function dAt(e,n,r){return te.createElement(y8r,{key:`${e}-${n}`,title:e},te.createElement("div",null,e,r&&te.createElement("span",null,r)))}function T8r(e){return Array.isArray(e)?te.createElement(cAt,null,te.createElement(lAt,null,e.map((n,r)=>uAt(n,r))),te.createElement(sAt,null,e.map((n,r)=>dAt(n,r)))):te.createElement(cAt,null,te.createElement(lAt,null,Object.values(e).map((n,r)=>uAt(n,r))),te.createElement(sAt,null,Object.keys(e).map((n,r)=>dAt(n,r,e[n]))))}var E8r=({title:e,subtitle:n,colors:r})=>te.createElement(S8r,null,te.createElement(g8r,null,te.createElement(h8r,null,e),te.createElement(_8r,null,n)),te.createElement(b8r,null,T8r(r))),I8r=({children:e,...n})=>te.createElement(Yfe,null,te.createElement(k8r,{...n,className:"docblock-colorpalette sb-unstyled"},te.createElement(C8r,null,te.createElement(x8r,null,"Name"),te.createElement(w8r,null,"Swatches")),e)),P8r=Wr.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),A8r=Wr.div(({theme:e})=>({...I7e(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),D8r=Wr.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),N8r=Wr.div({display:"flex",flexFlow:"row wrap"}),nR=({name:e,children:n})=>te.createElement(D8r,null,te.createElement(A8r,null,n),te.createElement(P8r,null,e)),rR=({children:e,...n})=>te.createElement(Yfe,null,te.createElement(N8r,{...n,className:"docblock-icongallery sb-unstyled"},e)),F8r=e=>`anchor--${e}`,vcn=({storyId:e,children:n})=>te.createElement("div",{id:F8r(e),className:"sb-anchor"},n);p4&&p4.__DOCS_CONTEXT__===void 0&&(p4.__DOCS_CONTEXT__=R.createContext(null),p4.__DOCS_CONTEXT__.displayName="DocsContext");var Pv=p4?p4.__DOCS_CONTEXT__:R.createContext(null),yY=(e,n)=>R.useContext(Pv).resolveOf(e,n);function O8r(e,n="start"){e.scrollIntoView({behavior:"smooth",block:n,inline:"nearest"})}function V8r(e,n){let r=ast([e],n);return r&&r[0]}function ast(e,n){let[r,a]=R.useState({});return R.useEffect(()=>{Promise.all(e.map(async l=>{let u=await n.loadStory(l);a(p=>p[l]===u?p:{...p,[l]:u})}))}),e.map(l=>{if(r[l])return r[l];try{return n.storyById(l)}catch{return null}})}function bcn(e){return BTr(e)}var ost=R.createContext({sources:{}}),Scn="--unknown--",M8r=({children:e,channel:n})=>{let[r,a]=R.useState({});return R.useEffect(()=>{let l=(u,p=null,h=!1)=>{let{id:y,args:S=void 0,source:C,format:P}=typeof u=="string"?{id:u,source:p,format:h}:u,E=S?bcn(S):Scn;a(D=>({...D,[y]:{...D[y],[E]:{code:C,format:P}}}))};return n.on(ZXe,l),()=>n.off(ZXe,l)},[]),te.createElement(ost.Provider,{value:{sources:r}},e)},R8r=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(R8r||{}),L8r=e=>{let n=e.map(r=>{var a,l;return(l=(a=r.parameters.docs)==null?void 0:a.source)==null?void 0:l.state}).filter(Boolean);return n.length===0?"closed":n[0]},B8r=(e,n,r)=>{let{sources:a}=r,l=a==null?void 0:a[e];return(l==null?void 0:l[bcn(n)])||(l==null?void 0:l[Scn])||{code:""}},$8r=({snippet:e,storyContext:n,typeFromProps:r,transformFromProps:a})=>{var y,S,C,P,E,D;let{__isArgsStory:l}=n.parameters,u=((y=n.parameters.docs)==null?void 0:y.source)||{},p=r||u.type||EU.AUTO;if(u.code!==void 0)return u.code;let h=p===EU.DYNAMIC||p===EU.AUTO&&e&&l?e:u.originalSource||"";return u.transformSource&&Ey(Bg`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. + ${SR(.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 ${TE(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),ycn=Wr.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),IEr=Wr(ycn)(({numberOFDecimalsPlaces:e,max:n})=>({width:`${e+n.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),PEr=Wr.div({display:"flex",alignItems:"center",width:"100%"});function AEr(e){let n=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return n?Math.max(0,(n[1]?n[1].length:0)-(n[2]?+n[2]:0)):0}var DEr=({name:e,value:n,onChange:r,min:a=0,max:l=100,step:u=1,onBlur:p,onFocus:h})=>{let y=P=>{r(G6r(P.target.value))},S=n!==void 0,C=R.useMemo(()=>AEr(u),[u]);return te.createElement(PEr,null,te.createElement(ycn,null,a),te.createElement(EEr,{id:Z5(e),type:"range",onChange:y,name:e,value:n,min:a,max:l,step:u,onFocus:h,onBlur:p}),te.createElement(IEr,{numberOFDecimalsPlaces:C,max:l},S?n.toFixed(C):"--"," / ",l))},NEr=Wr.label({display:"flex"}),FEr=Wr.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),OEr=({name:e,value:n,onChange:r,onFocus:a,onBlur:l,maxLength:u})=>{let p=P=>{r(P.target.value)},[h,y]=R.useState(!1),S=R.useCallback(()=>{r(""),y(!0)},[y]);if(n===void 0)return te.createElement(U5.Button,{id:m7e(e),onClick:S},"Set string");let C=typeof n=="string";return te.createElement(NEr,null,te.createElement(U5.Textarea,{id:Z5(e),maxLength:u,onChange:p,size:"flex",placeholder:"Edit string...",autoFocus:h,valid:C?null:"error",name:e,value:C?n:"",onFocus:a,onBlur:l}),u&&te.createElement(FEr,{isMaxed:(n==null?void 0:n.length)===u},(n==null?void 0:n.length)??0," / ",u))},VEr=Wr(U5.Input)({padding:10});function MEr(e){e.forEach(n=>{n.startsWith("blob:")&&URL.revokeObjectURL(n)})}var REr=({onChange:e,name:n,accept:r="image/*",value:a})=>{let l=R.useRef(null);function u(p){if(!p.target.files)return;let h=Array.from(p.target.files).map(y=>URL.createObjectURL(y));e(h),MEr(a)}return R.useEffect(()=>{a==null&&l.current&&(l.current.value=null)},[a,n]),te.createElement(VEr,{ref:l,id:Z5(n),type:"file",name:n,multiple:!0,onChange:u,accept:r,size:"flex"})},LEr=R.lazy(()=>H5(()=>import("./Color-6VNJS4EI-C5RtIe-h.js"),[],import.meta.url)),BEr=e=>te.createElement(R.Suspense,{fallback:te.createElement("div",null)},te.createElement(LEr,{...e})),$Er={array:iAt,object:iAt,boolean:M6r,color:BEr,date:j6r,number:H6r,check:HG,"inline-check":HG,radio:HG,"inline-radio":HG,select:HG,"multi-select":HG,range:DEr,text:OEr,file:REr},aAt=()=>te.createElement(te.Fragment,null,"-"),qEr=({row:e,arg:n,updateArgs:r,isHovered:a})=>{let{key:l,control:u}=e,[p,h]=R.useState(!1),[y,S]=R.useState({value:n});R.useEffect(()=>{p||S({value:n})},[p,n]);let C=R.useCallback(V=>(S({value:V}),r({[l]:V}),V),[r,l]),P=R.useCallback(()=>h(!1),[]),E=R.useCallback(()=>h(!0),[]);if(!u||u.disable)return a?te.createElement(ON,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):te.createElement(aAt,null);let D={name:l,argType:e,value:y.value,onChange:C,onBlur:P,onFocus:E},O=$Er[u.type]||aAt;return te.createElement(O,{...D,...u,controlType:u.type})},jEr=Wr.span({fontWeight:"bold"}),zEr=Wr.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),GEr=Wr.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...FP({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),HEr=Wr.div(({theme:e,hasDescription:n})=>({color:e.base==="light"?Hh(.1,e.color.defaultText):Hh(.2,e.color.defaultText),marginTop:n?4:0})),UEr=Wr.div(({theme:e,hasDescription:n})=>({color:e.base==="light"?Hh(.1,e.color.defaultText):Hh(.2,e.color.defaultText),marginTop:n?12:0,marginBottom:12})),WEr=Wr.td(({theme:e,expandable:n})=>({paddingLeft:n?"40px !important":"20px !important"})),J4e=e=>{var V;let[n,r]=R.useState(!1),{row:a,updateArgs:l,compact:u,expandable:p,initialExpandedArgs:h}=e,{name:y,description:S}=a,C=a.table||{},P=C.type||a.type,E=C.defaultValue||a.defaultValue,D=(V=a.type)==null?void 0:V.required,O=S!=null&&S!=="";return te.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},te.createElement(WEr,{expandable:p},te.createElement(jEr,null,y),D?te.createElement(zEr,{title:"Required"},"*"):null),u?null:te.createElement("td",null,O&&te.createElement(GEr,null,te.createElement(Bln,null,S)),C.jsDocTags!=null?te.createElement(te.Fragment,null,te.createElement(UEr,{hasDescription:O},te.createElement(cJe,{value:P,initialExpandedArgs:h})),te.createElement(C6r,{tags:C.jsDocTags})):te.createElement(HEr,{hasDescription:O},te.createElement(cJe,{value:P,initialExpandedArgs:h}))),u?null:te.createElement("td",null,te.createElement(cJe,{value:E,initialExpandedArgs:h})),l?te.createElement("td",null,te.createElement(qEr,{...e,isHovered:n})):null)},JEr=Wr(V2)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Hh(.25,e.color.defaultText):Hh(.3,e.color.defaultText),border:"none",display:"inline-block"})),YEr=Wr.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),XEr=Wr.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"?Hh(.4,e.color.defaultText):Hh(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),KEr=Wr.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),ZEr=Wr.td(()=>({position:"relative"})),QEr=Wr.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${SR(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),oAt=Wr.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"})),dJe=({level:e="section",label:n,children:r,initialExpanded:a=!0,colSpan:l=3})=>{let[u,p]=R.useState(a),h=e==="subsection"?KEr:XEr,y=(r==null?void 0:r.length)||0,S=e==="subsection"?`${y} item${y!==1?"s":""}`:"",C=u?"arrowdown":"arrowright",P=`${u?"Hide":"Show"} ${e==="subsection"?y:n} item${y!==1?"s":""}`;return te.createElement(te.Fragment,null,te.createElement(QEr,{title:P},te.createElement(h,{colSpan:1},te.createElement(oAt,{onClick:E=>p(!u),tabIndex:0},P),te.createElement(YEr,null,te.createElement(JEr,{icon:C}),n)),te.createElement(ZEr,{colSpan:l-1},te.createElement(oAt,{onClick:E=>p(!u),tabIndex:-1,style:{outline:"none"}},P),u?null:S)),u?r:null)},Y4e=Wr.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),mb=Wr.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),vy=Wr.div(({theme:e,width:n,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:n||"100%",height:r||16,borderRadius:3})),hb=[2,4,2,2],e8r=()=>te.createElement(te.Fragment,null,te.createElement(Y4e,null,te.createElement(mb,{numColumn:hb[0]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[1]},te.createElement(vy,{width:"30%"})),te.createElement(mb,{numColumn:hb[2]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[3]},te.createElement(vy,{width:"60%"}))),te.createElement(Y4e,null,te.createElement(mb,{numColumn:hb[0]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[1]},te.createElement(vy,{width:"80%"}),te.createElement(vy,{width:"30%"})),te.createElement(mb,{numColumn:hb[2]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[3]},te.createElement(vy,{width:"60%"}))),te.createElement(Y4e,null,te.createElement(mb,{numColumn:hb[0]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[1]},te.createElement(vy,{width:"80%"}),te.createElement(vy,{width:"30%"})),te.createElement(mb,{numColumn:hb[2]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[3]},te.createElement(vy,{width:"60%"}))),te.createElement(Y4e,null,te.createElement(mb,{numColumn:hb[0]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[1]},te.createElement(vy,{width:"80%"}),te.createElement(vy,{width:"30%"})),te.createElement(mb,{numColumn:hb[2]},te.createElement(vy,{width:"60%"})),te.createElement(mb,{numColumn:hb[3]},te.createElement(vy,{width:"60%"})))),t8r=Wr.div(({inAddonPanel:e,theme:n})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${n.appBorderColor}`,borderRadius:e?0:n.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:n.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),n8r=Wr.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),r8r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),i8r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),a8r=Wr.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),o8r=Wr.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),s8r=({inAddonPanel:e})=>{let[n,r]=R.useState(!0);return R.useEffect(()=>{let a=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(a)},[]),n?null:te.createElement(t8r,{inAddonPanel:e},te.createElement(n8r,null,te.createElement(r8r,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),te.createElement(i8r,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.")),te.createElement(a8r,null,e&&te.createElement(te.Fragment,null,te.createElement(ON,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},te.createElement(V2,{icon:"video"})," Watch 5m video"),te.createElement(o8r,null),te.createElement(ON,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&te.createElement(ON,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},l8r=Wr.table(({theme:e,compact:n,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)":{...n?null:{width:"35%"}},"td:nth-of-type(3)":{...n?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...n?null:{width:"25%"}},th:{color:e.base==="light"?Hh(.25,e.color.defaultText):Hh(.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}}}}})),c8r=Wr(KR)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),u8r=Wr.span({display:"flex",justifyContent:"space-between"}),d8r={alpha:(e,n)=>e.name.localeCompare(n.name),requiredFirst:(e,n)=>{var r,a;return+!!((r=n.type)!=null&&r.required)-+!!((a=e.type)!=null&&a.required)||e.name.localeCompare(n.name)},none:void 0},p8r=(e,n)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([u,p])=>{let{category:h,subcategory:y}=(p==null?void 0:p.table)||{};if(h){let S=r.sections[h]||{ungrouped:[],subsections:{}};if(!y)S.ungrouped.push({key:u,...p});else{let C=S.subsections[y]||[];C.push({key:u,...p}),S.subsections[y]=C}r.sections[h]=S}else if(y){let S=r.ungroupedSubsections[y]||[];S.push({key:u,...p}),r.ungroupedSubsections[y]=S}else r.ungrouped.push({key:u,...p})});let a=d8r[n],l=u=>a?Object.keys(u).reduce((p,h)=>({...p,[h]:u[h].sort(a)}),{}):u;return{ungrouped:r.ungrouped.sort(a),ungroupedSubsections:l(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((u,p)=>({...u,[p]:{ungrouped:r.sections[p].ungrouped.sort(a),subsections:l(r.sections[p].subsections)}}),{})}},f8r=(e,n,r)=>{try{return cbr(e,n,r)}catch(a){return HTr.warn(a.message),!1}},m8r=e=>{let{updateArgs:n,resetArgs:r,compact:a,inAddonPanel:l,initialExpandedArgs:u,sort:p="none",isLoading:h}=e;if("error"in e){let{error:U}=e;return te.createElement(icn,null,U," ",te.createElement(ON,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(h)return te.createElement(e8r,null);let{rows:y,args:S,globals:C}="rows"in e&&e,P=p8r(nwr(y,U=>{var Y;return!((Y=U==null?void 0:U.table)!=null&&Y.disable)&&f8r(U,S||{},C||{})}),p),E=P.ungrouped.length===0,D=Object.entries(P.sections).length===0,O=Object.entries(P.ungroupedSubsections).length===0;if(E&&D&&O)return te.createElement(s8r,{inAddonPanel:l});let V=1;n&&(V+=1),a||(V+=2);let z=Object.keys(P.sections).length>0,j={updateArgs:n,compact:a,inAddonPanel:l,initialExpandedArgs:u};return te.createElement(Yfe,null,te.createElement(l8r,{compact:a,inAddonPanel:l,className:"docblock-argstable sb-unstyled"},te.createElement("thead",{className:"docblock-argstable-head"},te.createElement("tr",null,te.createElement("th",null,te.createElement("span",null,"Name")),a?null:te.createElement("th",null,te.createElement("span",null,"Description")),a?null:te.createElement("th",null,te.createElement("span",null,"Default")),n?te.createElement("th",null,te.createElement(u8r,null,"Control"," ",!h&&r&&te.createElement(c8r,{onClick:()=>r(),title:"Reset controls"},te.createElement(V2,{icon:"undo","aria-hidden":!0})))):null)),te.createElement("tbody",{className:"docblock-argstable-body"},P.ungrouped.map(U=>te.createElement(J4e,{key:U.key,row:U,arg:S&&S[U.key],...j})),Object.entries(P.ungroupedSubsections).map(([U,Y])=>te.createElement(dJe,{key:U,label:U,level:"subsection",colSpan:V},Y.map(X=>te.createElement(J4e,{key:X.key,row:X,arg:S&&S[X.key],expandable:z,...j})))),Object.entries(P.sections).map(([U,Y])=>te.createElement(dJe,{key:U,label:U,level:"section",colSpan:V},Y.ungrouped.map(X=>te.createElement(J4e,{key:X.key,row:X,arg:S&&S[X.key],...j})),Object.entries(Y.subsections).map(([X,W])=>te.createElement(dJe,{key:X,label:X,level:"subsection",colSpan:V},W.map(ne=>te.createElement(J4e,{key:ne.key,row:ne,arg:S&&S[ne.key],expandable:z,...j})))))))))};Wr.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Hh(.4,e.color.defaultText):Hh(.6,e.color.defaultText)}));Wr.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});Wr.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});Wr.div(Uh,({theme:e})=>({...I7e(e),margin:"25px 0 40px",padding:"30px 20px"}));var h8r=Wr.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),_8r=Wr.div(({theme:e})=>({color:e.base==="light"?Hh(.2,e.color.defaultText):Hh(.6,e.color.defaultText)})),g8r=Wr.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),y8r=Wr.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"?Hh(.4,e.color.defaultText):Hh(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),sAt=Wr.div({display:"flex",flexDirection:"row"}),v8r=Wr.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),lAt=Wr.div(({theme:e})=>({...I7e(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"})),cAt=Wr.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),b8r=Wr.div({flex:1,display:"flex",flexDirection:"row"}),S8r=Wr.div({display:"flex",alignItems:"flex-start"}),x8r=Wr.div({flex:"0 0 30%"}),w8r=Wr.div({flex:1}),C8r=Wr.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Hh(.4,e.color.defaultText):Hh(.6,e.color.defaultText)})),k8r=Wr.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));function uAt(e,n){return te.createElement(v8r,{key:`${e}-${n}`,title:e,background:e})}function dAt(e,n,r){return te.createElement(y8r,{key:`${e}-${n}`,title:e},te.createElement("div",null,e,r&&te.createElement("span",null,r)))}function T8r(e){return Array.isArray(e)?te.createElement(cAt,null,te.createElement(lAt,null,e.map((n,r)=>uAt(n,r))),te.createElement(sAt,null,e.map((n,r)=>dAt(n,r)))):te.createElement(cAt,null,te.createElement(lAt,null,Object.values(e).map((n,r)=>uAt(n,r))),te.createElement(sAt,null,Object.keys(e).map((n,r)=>dAt(n,r,e[n]))))}var E8r=({title:e,subtitle:n,colors:r})=>te.createElement(S8r,null,te.createElement(g8r,null,te.createElement(h8r,null,e),te.createElement(_8r,null,n)),te.createElement(b8r,null,T8r(r))),I8r=({children:e,...n})=>te.createElement(Yfe,null,te.createElement(k8r,{...n,className:"docblock-colorpalette sb-unstyled"},te.createElement(C8r,null,te.createElement(x8r,null,"Name"),te.createElement(w8r,null,"Swatches")),e)),P8r=Wr.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),A8r=Wr.div(({theme:e})=>({...I7e(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),D8r=Wr.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),N8r=Wr.div({display:"flex",flexFlow:"row wrap"}),nR=({name:e,children:n})=>te.createElement(D8r,null,te.createElement(A8r,null,n),te.createElement(P8r,null,e)),rR=({children:e,...n})=>te.createElement(Yfe,null,te.createElement(N8r,{...n,className:"docblock-icongallery sb-unstyled"},e)),F8r=e=>`anchor--${e}`,vcn=({storyId:e,children:n})=>te.createElement("div",{id:F8r(e),className:"sb-anchor"},n);p4&&p4.__DOCS_CONTEXT__===void 0&&(p4.__DOCS_CONTEXT__=R.createContext(null),p4.__DOCS_CONTEXT__.displayName="DocsContext");var Pv=p4?p4.__DOCS_CONTEXT__:R.createContext(null),yY=(e,n)=>R.useContext(Pv).resolveOf(e,n);function O8r(e,n="start"){e.scrollIntoView({behavior:"smooth",block:n,inline:"nearest"})}function V8r(e,n){let r=ast([e],n);return r&&r[0]}function ast(e,n){let[r,a]=R.useState({});return R.useEffect(()=>{Promise.all(e.map(async l=>{let u=await n.loadStory(l);a(p=>p[l]===u?p:{...p,[l]:u})}))}),e.map(l=>{if(r[l])return r[l];try{return n.storyById(l)}catch{return null}})}function bcn(e){return BTr(e)}var ost=R.createContext({sources:{}}),Scn="--unknown--",M8r=({children:e,channel:n})=>{let[r,a]=R.useState({});return R.useEffect(()=>{let l=(u,p=null,h=!1)=>{let{id:y,args:S=void 0,source:C,format:P}=typeof u=="string"?{id:u,source:p,format:h}:u,E=S?bcn(S):Scn;a(D=>({...D,[y]:{...D[y],[E]:{code:C,format:P}}}))};return n.on(ZXe,l),()=>n.off(ZXe,l)},[]),te.createElement(ost.Provider,{value:{sources:r}},e)},R8r=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(R8r||{}),L8r=e=>{let n=e.map(r=>{var a,l;return(l=(a=r.parameters.docs)==null?void 0:a.source)==null?void 0:l.state}).filter(Boolean);return n.length===0?"closed":n[0]},B8r=(e,n,r)=>{let{sources:a}=r,l=a==null?void 0:a[e];return(l==null?void 0:l[bcn(n)])||(l==null?void 0:l[Scn])||{code:""}},$8r=({snippet:e,storyContext:n,typeFromProps:r,transformFromProps:a})=>{var y,S,C,P,E,D;let{__isArgsStory:l}=n.parameters,u=((y=n.parameters.docs)==null?void 0:y.source)||{},p=r||u.type||EU.AUTO;if(u.code!==void 0)return u.code;let h=p===EU.DYNAMIC||p===EU.AUTO&&e&&l?e:u.originalSource||"";return u.transformSource&&Ey(Bg`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block `),(S=n.parameters.docs)!=null&&S.transformSource&&Ey(Bg`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. @@ -923,7 +923,7 @@ ${n}`);let r=n.match(_2r);if(!r)return te.createElement(R.Fragment,null,n);let[, `):e;return()=>{r||(r=!0,n==="error"?console.error(a):console.warn(a))}};Oh.extend(mHr);Oh.extend(uHr);Oh.extend(_Hr);Oh.extend(yHr);const vHr=Wun(["Your locale has not been found.","Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale","Or you forget to import the locale from 'dayjs/locale/{localeUsed}'","fallback on English locale"]),bHr={YY:"year",YYYY:{sectionType:"year",contentType:"digit",maxLength:4},M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},d:{sectionType:"weekDay",contentType:"digit",maxLength:2},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},SHr={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",dayOfMonthFull:"Do",weekday:"dddd",weekdayShort:"dd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},hJe=["Missing UTC plugin","To be able to use UTC or timezones, you have to enable the `utc` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(` `),BAt=["Missing timezone plugin","To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(` `),xHr=(e,n)=>n?(...r)=>e(...r).locale(n):e;class Jun{constructor({locale:n,formats:r}={}){this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="dayjs",this.dayjs=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=bHr,this.setLocaleToValue=a=>{const l=this.getCurrentLocaleCode();return l===a.locale()?a:a.locale(l)},this.hasUTCPlugin=()=>typeof Oh.utc<"u",this.hasTimezonePlugin=()=>typeof Oh.tz<"u",this.isSame=(a,l,u)=>{const p=this.setTimezone(l,this.getTimezone(a));return a.format(u)===p.format(u)},this.cleanTimezone=a=>{switch(a){case"default":return;case"system":return Oh.tz.guess();default:return a}},this.createSystemDate=a=>{if(this.hasUTCPlugin()&&this.hasTimezonePlugin()){const l=Oh.tz.guess();return l!=="UTC"?Oh.tz(a,l):Oh(a)}return Oh(a)},this.createUTCDate=a=>{if(!this.hasUTCPlugin())throw new Error(hJe);return Oh.utc(a)},this.createTZDate=(a,l)=>{if(!this.hasUTCPlugin())throw new Error(hJe);if(!this.hasTimezonePlugin())throw new Error(BAt);const u=a!==void 0&&!a.endsWith("Z");return Oh(a).tz(this.cleanTimezone(l),u)},this.getLocaleFormats=()=>{const a=Oh.Ls,l=this.locale||"en";let u=a[l];return u===void 0&&(vHr(),u=a.en),u.formats},this.adjustOffset=a=>{if(!this.hasTimezonePlugin())return a;const l=this.getTimezone(a);if(l!=="UTC"){const u=a.tz(this.cleanTimezone(l),!0);return(u.$offset??0)===(a.$offset??0)?a:u}return a},this.date=(a,l="default")=>{if(a===null)return null;let u;return l==="UTC"?u=this.createUTCDate(a):l==="system"||l==="default"&&!this.hasTimezonePlugin()?u=this.createSystemDate(a):u=this.createTZDate(a,l),this.locale===void 0?u:u.locale(this.locale)},this.getInvalidDate=()=>Oh(new Date("Invalid date")),this.getTimezone=a=>{var l;if(this.hasTimezonePlugin()){const u=(l=a.$x)==null?void 0:l.$timezone;if(u)return u}return this.hasUTCPlugin()&&a.isUTC()?"UTC":"system"},this.setTimezone=(a,l)=>{if(this.getTimezone(a)===l)return a;if(l==="UTC"){if(!this.hasUTCPlugin())throw new Error(hJe);return a.utc()}if(l==="system")return a.local();if(!this.hasTimezonePlugin()){if(l==="default")return a;throw new Error(BAt)}return Oh.tz(a,this.cleanTimezone(l))},this.toJsDate=a=>a.toDate(),this.parse=(a,l)=>a===""?null:this.dayjs(a,l,this.locale,!0),this.getCurrentLocaleCode=()=>this.locale||"en",this.is12HourCycleInCurrentLocale=()=>/A|a/.test(this.getLocaleFormats().LT||""),this.expandFormat=a=>{const l=this.getLocaleFormats(),u=p=>p.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(h,y,S)=>y||S.slice(1));return a.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(p,h,y)=>{const S=y&&y.toUpperCase();return h||l[y]||u(l[S])})},this.isValid=a=>a==null?!1:a.isValid(),this.format=(a,l)=>this.formatByString(a,this.formats[l]),this.formatByString=(a,l)=>this.dayjs(a).format(l),this.formatNumber=a=>a,this.isEqual=(a,l)=>a===null&&l===null?!0:a===null||l===null?!1:a.toDate().getTime()===l.toDate().getTime(),this.isSameYear=(a,l)=>this.isSame(a,l,"YYYY"),this.isSameMonth=(a,l)=>this.isSame(a,l,"YYYY-MM"),this.isSameDay=(a,l)=>this.isSame(a,l,"YYYY-MM-DD"),this.isSameHour=(a,l)=>a.isSame(l,"hour"),this.isAfter=(a,l)=>a>l,this.isAfterYear=(a,l)=>this.hasUTCPlugin()?!this.isSameYear(a,l)&&a.utc()>l.utc():a.isAfter(l,"year"),this.isAfterDay=(a,l)=>this.hasUTCPlugin()?!this.isSameDay(a,l)&&a.utc()>l.utc():a.isAfter(l,"day"),this.isBefore=(a,l)=>athis.hasUTCPlugin()?!this.isSameYear(a,l)&&a.utc()this.hasUTCPlugin()?!this.isSameDay(a,l)&&a.utc()a>=l&&a<=u,this.startOfYear=a=>this.adjustOffset(a.startOf("year")),this.startOfMonth=a=>this.adjustOffset(a.startOf("month")),this.startOfWeek=a=>this.adjustOffset(a.startOf("week")),this.startOfDay=a=>this.adjustOffset(a.startOf("day")),this.endOfYear=a=>this.adjustOffset(a.endOf("year")),this.endOfMonth=a=>this.adjustOffset(a.endOf("month")),this.endOfWeek=a=>this.adjustOffset(a.endOf("week")),this.endOfDay=a=>this.adjustOffset(a.endOf("day")),this.addYears=(a,l)=>this.adjustOffset(l<0?a.subtract(Math.abs(l),"year"):a.add(l,"year")),this.addMonths=(a,l)=>this.adjustOffset(l<0?a.subtract(Math.abs(l),"month"):a.add(l,"month")),this.addWeeks=(a,l)=>this.adjustOffset(l<0?a.subtract(Math.abs(l),"week"):a.add(l,"week")),this.addDays=(a,l)=>this.adjustOffset(l<0?a.subtract(Math.abs(l),"day"):a.add(l,"day")),this.addHours=(a,l)=>this.adjustOffset(l<0?a.subtract(Math.abs(l),"hour"):a.add(l,"hour")),this.addMinutes=(a,l)=>this.adjustOffset(l<0?a.subtract(Math.abs(l),"minute"):a.add(l,"minute")),this.addSeconds=(a,l)=>this.adjustOffset(l<0?a.subtract(Math.abs(l),"second"):a.add(l,"second")),this.getYear=a=>a.year(),this.getMonth=a=>a.month(),this.getDate=a=>a.date(),this.getHours=a=>a.hour(),this.getMinutes=a=>a.minute(),this.getSeconds=a=>a.second(),this.getMilliseconds=a=>a.millisecond(),this.setYear=(a,l)=>this.adjustOffset(a.set("year",l)),this.setMonth=(a,l)=>this.adjustOffset(a.set("month",l)),this.setDate=(a,l)=>this.adjustOffset(a.set("date",l)),this.setHours=(a,l)=>this.adjustOffset(a.set("hour",l)),this.setMinutes=(a,l)=>this.adjustOffset(a.set("minute",l)),this.setSeconds=(a,l)=>this.adjustOffset(a.set("second",l)),this.setMilliseconds=(a,l)=>this.adjustOffset(a.set("millisecond",l)),this.getDaysInMonth=a=>a.daysInMonth(),this.getWeekArray=a=>{const l=this.setLocaleToValue(a),u=this.startOfWeek(this.startOfMonth(l)),p=this.endOfWeek(this.endOfMonth(l));let h=0,y=u;const S=[];for(;ya.week(),this.getYearRange=([a,l])=>{const u=this.startOfYear(a),p=this.endOfYear(l),h=[];let y=u;for(;this.isBefore(y,p);)h.push(y),y=this.addYears(y,1);return h},this.dayjs=xHr(Oh,n),this.locale=n,this.formats=ue({},SHr,r),Oh.extend(pHr)}getDayOfWeek(n){return n.day()+1}}const wHr=e=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:ue({},e)}}}}),Yun={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:e=>e==="year"?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,n,r)=>`Select ${e}. ${n===null?"No time selected":`Selected time is ${r.format(n,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,n)=>e!==null&&n.isValid(e)?`Choose date, selected date is ${n.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,n)=>e!==null&&n.isValid(e)?`Choose time, selected time is ${n.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>e.contentType==="letter"?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>e.contentType==="letter"?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"},CHr=Yun,Xun=wHr(Yun),kHr=["localeText"],ZKe=R.createContext(null),sIe=function(n){const{localeText:r}=n,a=lr(n,kHr),{utils:l,localeText:u}=R.useContext(ZKe)??{utils:void 0,localeText:void 0},p=qa({props:a,name:"MuiLocalizationProvider"}),{children:h,dateAdapter:y,dateFormats:S,dateLibInstance:C,adapterLocale:P,localeText:E}=p,D=R.useMemo(()=>ue({},E,u,r),[E,u,r]),O=R.useMemo(()=>{if(!y)return l||null;const j=new y({locale:P,formats:S,instance:C});if(!j.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(` -`));return j},[y,P,S,C,l]),V=R.useMemo(()=>O?{minDate:O.date("1900-01-01T00:00:00.000"),maxDate:O.date("2099-12-31T00:00:00.000")}:null,[O]),z=R.useMemo(()=>({utils:O,defaultDates:V,localeText:D}),[V,O,D]);return b(ZKe.Provider,{value:z,children:h})};var THr=CY(ust),EHr=CY(Vcn),IHr={lightTheme:THr,legacyBS:EHr};function eT({children:e,theme:n="lightTheme"}){return b(sIe,{dateAdapter:Jun,localeText:Xun.components.MuiLocalizationProvider.defaultProps.localeText,children:Le(Lun,{theme:IHr[n],children:[b($un,{}),e]})})}const PHr=(e,n)=>b(eT,{theme:n.globals.theme||"lightTheme",children:b(e,{})}),AHr={globalTypes:{theme:{description:"Global theme for components",defaultValue:"lightTheme",toolbar:{icon:"switchalt",items:[{value:"lightTheme",icon:"sun",title:"Light (default)"},{value:"legacyBS",icon:"markup",title:"Legacy Bootstrap"}],dynamicTitle:!0,showName:!0}}},decorators:[PHr],parameters:{docs:{controls:{sort:"requiredFirst"},theme:DTe.light,source:{excludeDecorators:!0,type:"code"},page:()=>{const e=yY("meta",["meta"]),{stories:n,meta:r}=e.csfFile,a=Object.keys(n).length===1;return Le($o,{children:[b(Pcn,{}),b(Acn,{}),b(Fpe,{of:"meta"}),a?b(Fpe,{of:"story"}):null,r!=null&&r.component?b(Ncn,{}):null,r!=null&&r.component?b(wcn,{}):null,a?null:b(Fcn,{title:r!=null&&r.component?"Stories":"",includePrimary:!(r!=null&&r.component)})]})}},controls:{sort:"requiredFirst"},options:{storySort:{order:["Element","Contributing","Introduction","BS4 Migration",["Getting Started"],"Sample Layouts","Design System","Form Components",["FormUtils"],"Components"]}}}};typeof global.process>"u"&&H5(()=>import("./browser-DasCfUiM.js"),[],import.meta.url).then(({worker:e})=>{const n={serviceWorker:{url:"/element/mockServiceWorker.js"},onUnhandledRequest:"bypass"};e.start(n)});const DHr=Object.freeze(Object.defineProperty({__proto__:null,default:AHr},Symbol.toStringTag,{value:"Module"}));function NHr(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function $At(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),r.push.apply(r,a)}return r}function Ode(e){for(var n=1;n=0)&&(r[l]=e[l]);return r}function OHr(e,n){if(e==null)return{};var r=FHr(e,n),a,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var VHr=function(n){return typeof n=="function"},MHr=te.createContext({}),RHr=function(n){var r=te.useContext(MHr),a=r;return n&&(a=VHr(n)?n(r):Ode(Ode({},r),n)),a},LHr="mdxType",BHr={inlineCode:"code",wrapper:function(n){var r=n.children;return te.createElement(te.Fragment,{},r)}},Kun=te.forwardRef(function(e,n){var r=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,p=OHr(e,["components","mdxType","originalType","parentName"]),h=RHr(r),y=a,S=h["".concat(u,".").concat(y)]||h[y]||BHr[y]||l;return r?te.createElement(S,Ode(Ode({ref:n},p),{},{components:r})):te.createElement(S,Ode({ref:n},p))});Kun.displayName="MDXCreateElement";function ie(e,n){var r=arguments,a=n&&n.mdxType;if(typeof e=="string"||a){var l=r.length,u=new Array(l);u[0]=Kun;var p={};for(var h in n)hasOwnProperty.call(n,h)&&(p[h]=n[h]);p.originalType=e,p[LHr]=typeof e=="string"?e:a,u[1]=p;for(var y=2;y{let a={...$Hr,...n==null?void 0:n.components},l=y7r;return new Promise((u,p)=>{H5(()=>import("./index-DS3uLyVh.js"),[],import.meta.url).then(({MDXProvider:h})=>Xrn(te.createElement(qHr,{showException:p,key:Math.random()},te.createElement(h,{components:a},te.createElement(l,{context:e,docsParameter:n}))),r)).then(()=>u())})},this.unmount=e=>{HXe(e)}}};const jHr=""+new URL("storybook_accessibility-f65wF0_E.png",import.meta.url).href;function QKe(){return QKe=Object.assign?Object.assign.bind():function(e){for(var n=1;nO?{minDate:O.date("1900-01-01T00:00:00.000"),maxDate:O.date("2099-12-31T00:00:00.000")}:null,[O]),z=R.useMemo(()=>({utils:O,defaultDates:V,localeText:D}),[V,O,D]);return b(ZKe.Provider,{value:z,children:h})};var THr=CY(ust),EHr=CY(Vcn),IHr={lightTheme:THr,legacyBS:EHr};function eT({children:e,theme:n="lightTheme"}){return b(sIe,{dateAdapter:Jun,localeText:Xun.components.MuiLocalizationProvider.defaultProps.localeText,children:Le(Lun,{theme:IHr[n],children:[b($un,{}),e]})})}const PHr=(e,n)=>b(eT,{theme:n.globals.theme||"lightTheme",children:b(e,{})}),AHr={globalTypes:{theme:{description:"Global theme for components",defaultValue:"lightTheme",toolbar:{icon:"switchalt",items:[{value:"lightTheme",icon:"sun",title:"Light (default)"},{value:"legacyBS",icon:"markup",title:"Legacy Bootstrap"}],dynamicTitle:!0,showName:!0}}},decorators:[PHr],parameters:{docs:{controls:{sort:"requiredFirst"},theme:DTe.light,source:{excludeDecorators:!0,type:"code"},page:()=>{const e=yY("meta",["meta"]),{stories:n,meta:r}=e.csfFile,a=Object.keys(n).length===1;return Le($o,{children:[b(Pcn,{}),b(Acn,{}),b(Fpe,{of:"meta"}),a?b(Fpe,{of:"story"}):null,r!=null&&r.component?b(Ncn,{}):null,r!=null&&r.component?b(wcn,{}):null,a?null:b(Fcn,{title:r!=null&&r.component?"Stories":"",includePrimary:!(r!=null&&r.component)})]})}},controls:{sort:"requiredFirst"},options:{storySort:{order:["Element","Contributing","Introduction","BS4 Migration",["Getting Started"],"Sample Layouts","Design System","Form Components",["FormUtils"],"Components"]}}}};typeof global.process>"u"&&H5(()=>import("./browser-CLaddwtJ.js"),[],import.meta.url).then(({worker:e})=>{const n={serviceWorker:{url:"/element/mockServiceWorker.js"},onUnhandledRequest:"bypass"};e.start(n)});const DHr=Object.freeze(Object.defineProperty({__proto__:null,default:AHr},Symbol.toStringTag,{value:"Module"}));function NHr(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function $At(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),r.push.apply(r,a)}return r}function Ode(e){for(var n=1;n=0)&&(r[l]=e[l]);return r}function OHr(e,n){if(e==null)return{};var r=FHr(e,n),a,l;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(l=0;l=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var VHr=function(n){return typeof n=="function"},MHr=te.createContext({}),RHr=function(n){var r=te.useContext(MHr),a=r;return n&&(a=VHr(n)?n(r):Ode(Ode({},r),n)),a},LHr="mdxType",BHr={inlineCode:"code",wrapper:function(n){var r=n.children;return te.createElement(te.Fragment,{},r)}},Kun=te.forwardRef(function(e,n){var r=e.components,a=e.mdxType,l=e.originalType,u=e.parentName,p=OHr(e,["components","mdxType","originalType","parentName"]),h=RHr(r),y=a,S=h["".concat(u,".").concat(y)]||h[y]||BHr[y]||l;return r?te.createElement(S,Ode(Ode({ref:n},p),{},{components:r})):te.createElement(S,Ode({ref:n},p))});Kun.displayName="MDXCreateElement";function ie(e,n){var r=arguments,a=n&&n.mdxType;if(typeof e=="string"||a){var l=r.length,u=new Array(l);u[0]=Kun;var p={};for(var h in n)hasOwnProperty.call(n,h)&&(p[h]=n[h]);p.originalType=e,p[LHr]=typeof e=="string"?e:a,u[1]=p;for(var y=2;y{let a={...$Hr,...n==null?void 0:n.components},l=y7r;return new Promise((u,p)=>{H5(()=>import("./index-B7AzKEQx.js"),[],import.meta.url).then(({MDXProvider:h})=>Xrn(te.createElement(qHr,{showException:p,key:Math.random()},te.createElement(h,{components:a},te.createElement(l,{context:e,docsParameter:n}))),r)).then(()=>u())})},this.unmount=e=>{HXe(e)}}};const jHr=""+new URL("storybook_accessibility-f65wF0_E.png",import.meta.url).href;function QKe(){return QKe=Object.assign?Object.assign.bind():function(e){for(var n=1;n & Partial>"}},className:{defaultValue:null,description:"@ignore",name:"className",required:!1,type:{name:"string"}},componentsProps:{defaultValue:{value:"{}"},description:"The extra props for the slot components.\nYou can override the existing props or add new ones.\n\nThis prop is an alias for the `slotProps` prop.\nIt's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.",name:"componentsProps",required:!1,type:{name:'{ root?: SlotComponentProps<"span", BadgeRootSlotPropsOverrides, { anchorOrigin: BadgeOrigin; badgeContent: ReactNode; children?: ReactNode; ... 13 more ...; displayValue: ReactNode; }>; badge?: SlotComponentProps<...>; }'}},components:{defaultValue:{value:"{}"},description:"The components used for each slot inside.\n\nThis prop is an alias for the `slots` prop.\nIt's recommended to use the `slots` prop instead.",name:"components",required:!1,type:{name:"{ Root?: ElementType; Badge?: ElementType; }"}},invisible:{defaultValue:{value:"false"},description:"If `true`, the badge is invisible.",name:"invisible",required:!1,type:{name:"boolean"}},max:{defaultValue:{value:"99"},description:"Max count to show.",name:"max",required:!1,type:{name:"number"}},overlap:{defaultValue:{value:"'rectangular'"},description:"Wrapped shape the badge should overlap.",name:"overlap",required:!1,type:{name:'"circular" | "rectangular"'}},slotProps:{defaultValue:{value:"{}"},description:"The props used for each slot inside the Badge.",name:"slotProps",required:!1,type:{name:'{ root?: SlotComponentProps<"span", BadgeRootSlotPropsOverrides, { anchorOrigin: BadgeOrigin; badgeContent: ReactNode; children?: ReactNode; ... 13 more ...; displayValue: ReactNode; }>; badge?: SlotComponentProps<...>; }'}},slots:{defaultValue:{value:"{}"},description:`The components used for each slot inside the Badge. +}`},description:"The anchor of the badge.",name:"anchorOrigin",required:!1,type:{name:"BadgeOrigin"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},className:{defaultValue:null,description:"@ignore",name:"className",required:!1,type:{name:"string"}},componentsProps:{defaultValue:{value:"{}"},description:"The extra props for the slot components.\nYou can override the existing props or add new ones.\n\nThis prop is an alias for the `slotProps` prop.\nIt's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.",name:"componentsProps",required:!1,type:{name:'{ root?: SlotComponentProps<"span", BadgeRootSlotPropsOverrides, { anchorOrigin: BadgeOrigin; badgeContent: ReactNode; children?: ReactNode; ... 13 more ...; displayValue: ReactNode; }>; badge?: SlotComponentProps<...>; }'}},components:{defaultValue:{value:"{}"},description:"The components used for each slot inside.\n\nThis prop is an alias for the `slots` prop.\nIt's recommended to use the `slots` prop instead.",name:"components",required:!1,type:{name:"{ Root?: ElementType; Badge?: ElementType; }"}},invisible:{defaultValue:{value:"false"},description:"If `true`, the badge is invisible.",name:"invisible",required:!1,type:{name:"boolean"}},max:{defaultValue:{value:"99"},description:"Max count to show.",name:"max",required:!1,type:{name:"number"}},overlap:{defaultValue:{value:"'rectangular'"},description:"Wrapped shape the badge should overlap.",name:"overlap",required:!1,type:{name:'"rectangular" | "circular"'}},slotProps:{defaultValue:{value:"{}"},description:"The props used for each slot inside the Badge.",name:"slotProps",required:!1,type:{name:'{ root?: SlotComponentProps<"span", BadgeRootSlotPropsOverrides, { anchorOrigin: BadgeOrigin; badgeContent: ReactNode; children?: ReactNode; ... 13 more ...; displayValue: ReactNode; }>; badge?: SlotComponentProps<...>; }'}},slots:{defaultValue:{value:"{}"},description:`The components used for each slot inside the Badge. Either a string to use a HTML element or a component.`,name:"slots",required:!1,type:{name:"{ root?: ElementType; badge?: ElementType; }"}},showZero:{defaultValue:{value:"false"},description:"Controls whether the badge is hidden when `badgeContent` is zero.",name:"showZero",required:!1,type:{name:"boolean"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},variant:{defaultValue:{value:"'standard'"},description:"The variant to use.",name:"variant",required:!1,type:{name:'OverridableStringUnion<"standard" | "dot", BadgePropsVariantOverrides>'}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},component:{defaultValue:null,description:"",name:"component",required:!1,type:{name:"ElementType"}}}}}catch{}const nWi={title:"Components/Badge/Badge",component:IEe,tags:["autodocs"]},joe={render:e=>b(IEe,{...e,children:b(eB,{fontSize:"large"})}),args:{badgeContent:3,variant:"standard",anchorOrigin:{horizontal:"right",vertical:"top"}}};var H$t,U$t,W$t;joe.parameters={...joe.parameters,docs:{...(H$t=joe.parameters)==null?void 0:H$t.docs,source:{originalSource:`{ render: (args: BadgeProps) => @@ -5883,7 +5883,7 @@ import { Card } from '@availity/element'; \`\`\`tsx import { Card } from '@availity/mui-card'; \`\`\` -`;function tet(){return tet=Object.assign?Object.assign.bind():function(e){for(var n=1;n{throw new Error("Docs-only story")};xSn.parameters={docsOnly:!0};const tW={title:"Components/Card/Introduction",tags:["stories-mdx"],includeStories:["__page"]},XWi={};tW.parameters=tW.parameters||{};tW.parameters.docs={...tW.parameters.docs||{},page:()=>ie(Wl,{mdxStoryNameToKey:XWi,mdxComponentAnnotations:tW},ie(SSn,null))};const KWi=["__page"],ZWi=Object.freeze(Object.defineProperty({__proto__:null,__namedExportsOrder:KWi,__page:xSn,default:tW},Symbol.toStringTag,{value:"Module"})),dx=({children:e,...n})=>b(U0n,{...n,children:e});try{dx.displayName="Card",dx.__docgenInfo={description:"",displayName:"Card",props:{children:{defaultValue:null,description:"The content of the component.",name:"children",required:!1,type:{name:"ReactNode"}},variant:{defaultValue:{value:"'elevation'"},description:"The variant to use.",name:"variant",required:!1,type:{name:'OverridableStringUnion<"elevation" | "outlined", PaperPropsVariantOverrides>'}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},component:{defaultValue:null,description:"",name:"component",required:!1,type:{name:"ElementType"}}}}}catch{}const CP=({titleTypographyProps:e,subheaderTypographyProps:n,statusChipProps:r,action:a,subheader:l,title:u,logo:p,...h})=>b(W0n,{...h,title:p?Le($o,{children:[p,b("br",{}),u]}):u,titleTypographyProps:{...e,variant:"h5"},subheaderTypographyProps:{...n,variant:"body2"},subheader:r&&r.position==="bottom"?Le($o,{children:[l,b("br",{}),b(Z_,{...r})]}):l,action:r&&r.position==="right"?Le($o,{children:[b(Z_,{...r}),a]}):a});try{CP.displayName="CardHeader",CP.__docgenInfo={description:"",displayName:"CardHeader",props:{statusChipProps:{defaultValue:null,description:"",name:"statusChipProps",required:!1,type:{name:"CardStatusChipProps"}},logo:{defaultValue:null,description:"",name:"logo",required:!1,type:{name:"ReactNode"}},action:{defaultValue:null,description:"The action to display in the card header.",name:"action",required:!1,type:{name:"ReactNode"}},avatar:{defaultValue:null,description:"The Avatar element to display.",name:"avatar",required:!1,type:{name:"ReactNode"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},disableTypography:{defaultValue:{value:"false"},description:"If `true`, `subheader` and `title` won't be wrapped by a Typography component.\nThis can be useful to render an alternative Typography variant by wrapping\nthe `title` text, and optional `subheader` text\nwith the Typography component.",name:"disableTypography",required:!1,type:{name:"boolean"}},subheader:{defaultValue:null,description:"The content of the component.",name:"subheader",required:!1,type:{name:"ReactNode"}},subheaderTypographyProps:{defaultValue:null,description:"These props will be forwarded to the subheader\n(as long as disableTypography is not `true`).",name:"subheaderTypographyProps",required:!1,type:{name:'TypographyProps<"span", { component?: "span"; }>'}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},title:{defaultValue:null,description:"The content of the component.",name:"title",required:!1,type:{name:"ReactNode"}},titleTypographyProps:{defaultValue:null,description:"These props will be forwarded to the title\n(as long as disableTypography is not `true`).",name:"titleTypographyProps",required:!1,type:{name:'TypographyProps<"span", { component?: "span"; }>'}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}}}}}catch{}const mfe=({children:e,...n})=>b(Eli,{...n,children:e});try{mfe.displayName="CardMedia",mfe.__docgenInfo={description:"",displayName:"CardMedia",props:{children:{defaultValue:null,description:"The content of the component.",name:"children",required:!1,type:{name:"ReactNode"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},image:{defaultValue:null,description:"Image to be displayed as a background image.\nEither `image` or `src` prop must be specified.\nNote that caller must specify height otherwise the image will not be visible.",name:"image",required:!1,type:{name:"string"}},src:{defaultValue:null,description:"An alias for `image` property.\nAvailable only with media components.\nMedia components: `video`, `audio`, `picture`, `iframe`, `img`.",name:"src",required:!1,type:{name:"string"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},component:{defaultValue:null,description:"",name:"component",required:!1,type:{name:"ElementType"}}}}}catch{}const GJ=({children:e,...n})=>b(fli,{...n,children:e});try{GJ.displayName="CardContent",GJ.__docgenInfo={description:"",displayName:"CardContent",props:{children:{defaultValue:null,description:"The content of the component.",name:"children",required:!1,type:{name:"ReactNode"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},component:{defaultValue:null,description:"",name:"component",required:!1,type:{name:"ElementType"}}}}}catch{}const HJ=({children:e,...n})=>b(lli,{...n,children:e});try{HJ.displayName="CardActions",HJ.__docgenInfo={description:"",displayName:"CardActions",props:{children:{defaultValue:null,description:"The content of the component.",name:"children",required:!1,type:{name:"ReactNode"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},disableSpacing:{defaultValue:{value:"false"},description:"If `true`, the actions do not have additional margin.",name:"disableSpacing",required:!1,type:{name:"boolean"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}}}}}catch{}const QWi={title:"Components/Card/Card",component:dx,tags:["autodocs"],argTypes:{variant:{options:["elevation","outlined"]}}},tse={render:e=>Le(dx,{...e,children:[b(CP,{title:"Card header",subheader:"Subheader"}),b(mfe,{sx:{height:"100px"},image:"https://avatars.githubusercontent.com/u/329985?s=200&v=4","aria-label":"Orange rectangle with interlocking AV logo"}),b(GJ,{children:"This is the content of the Card."}),Le(HJ,{sx:{justifyContent:"flex-end"},children:[b(uo,{color:"primary",children:"Submit"}),b(uo,{children:"Cancel"})]})]}),args:{sx:{maxWidth:"375px"}}};var $qt,qqt,jqt;tse.parameters={...tse.parameters,docs:{...($qt=tse.parameters)==null?void 0:$qt.docs,source:{originalSource:`{ +`;function tet(){return tet=Object.assign?Object.assign.bind():function(e){for(var n=1;n{throw new Error("Docs-only story")};xSn.parameters={docsOnly:!0};const tW={title:"Components/Card/Introduction",tags:["stories-mdx"],includeStories:["__page"]},XWi={};tW.parameters=tW.parameters||{};tW.parameters.docs={...tW.parameters.docs||{},page:()=>ie(Wl,{mdxStoryNameToKey:XWi,mdxComponentAnnotations:tW},ie(SSn,null))};const KWi=["__page"],ZWi=Object.freeze(Object.defineProperty({__proto__:null,__namedExportsOrder:KWi,__page:xSn,default:tW},Symbol.toStringTag,{value:"Module"})),dx=({children:e,...n})=>b(U0n,{...n,children:e});try{dx.displayName="Card",dx.__docgenInfo={description:"",displayName:"Card",props:{children:{defaultValue:null,description:"The content of the component.",name:"children",required:!1,type:{name:"ReactNode"}},variant:{defaultValue:{value:"'elevation'"},description:"The variant to use.",name:"variant",required:!1,type:{name:'OverridableStringUnion<"elevation" | "outlined", PaperPropsVariantOverrides>'}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},component:{defaultValue:null,description:"",name:"component",required:!1,type:{name:"ElementType"}}}}}catch{}const CP=({titleTypographyProps:e,subheaderTypographyProps:n,statusChipProps:r,action:a,subheader:l,title:u,logo:p,...h})=>b(W0n,{...h,title:p?Le($o,{children:[p,b("br",{}),u]}):u,titleTypographyProps:{...e,variant:"h5"},subheaderTypographyProps:{...n,variant:"body2"},subheader:r&&r.position==="bottom"?Le($o,{children:[l,b("br",{}),b(Z_,{...r})]}):l,action:r&&r.position==="right"?Le($o,{children:[b(Z_,{...r}),a]}):a});try{CP.displayName="CardHeader",CP.__docgenInfo={description:"",displayName:"CardHeader",props:{statusChipProps:{defaultValue:null,description:"These props will be forwarded to the StatusChip.",name:"statusChipProps",required:!1,type:{name:"CardStatusChipProps"}},logo:{defaultValue:null,description:"Section at the top-right of the card for displaying logos.",name:"logo",required:!1,type:{name:"ReactNode"}},action:{defaultValue:null,description:"The action to display in the card header.",name:"action",required:!1,type:{name:"ReactNode"}},avatar:{defaultValue:null,description:"The Avatar element to display.",name:"avatar",required:!1,type:{name:"ReactNode"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},disableTypography:{defaultValue:{value:"false"},description:"If `true`, `subheader` and `title` won't be wrapped by a Typography component.\nThis can be useful to render an alternative Typography variant by wrapping\nthe `title` text, and optional `subheader` text\nwith the Typography component.",name:"disableTypography",required:!1,type:{name:"boolean"}},subheader:{defaultValue:null,description:"The content of the component.",name:"subheader",required:!1,type:{name:"ReactNode"}},subheaderTypographyProps:{defaultValue:null,description:"These props will be forwarded to the subheader\n(as long as disableTypography is not `true`).",name:"subheaderTypographyProps",required:!1,type:{name:'TypographyProps<"span", { component?: "span"; }>'}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},title:{defaultValue:null,description:"The content of the component.",name:"title",required:!1,type:{name:"ReactNode"}},titleTypographyProps:{defaultValue:null,description:"These props will be forwarded to the title\n(as long as disableTypography is not `true`).",name:"titleTypographyProps",required:!1,type:{name:'TypographyProps<"span", { component?: "span"; }>'}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}}}}}catch{}const mfe=({children:e,...n})=>b(Eli,{...n,children:e});try{mfe.displayName="CardMedia",mfe.__docgenInfo={description:"",displayName:"CardMedia",props:{children:{defaultValue:null,description:"The content of the component.",name:"children",required:!1,type:{name:"ReactNode"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},image:{defaultValue:null,description:"Image to be displayed as a background image.\nEither `image` or `src` prop must be specified.\nNote that caller must specify height otherwise the image will not be visible.",name:"image",required:!1,type:{name:"string"}},src:{defaultValue:null,description:"An alias for `image` property.\nAvailable only with media components.\nMedia components: `video`, `audio`, `picture`, `iframe`, `img`.",name:"src",required:!1,type:{name:"string"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},component:{defaultValue:null,description:"",name:"component",required:!1,type:{name:"ElementType"}}}}}catch{}const GJ=({children:e,...n})=>b(fli,{...n,children:e});try{GJ.displayName="CardContent",GJ.__docgenInfo={description:"",displayName:"CardContent",props:{children:{defaultValue:null,description:"The content of the component.",name:"children",required:!1,type:{name:"ReactNode"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial & Partial>"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}},component:{defaultValue:null,description:"",name:"component",required:!1,type:{name:"ElementType"}}}}}catch{}const HJ=({children:e,...n})=>b(lli,{...n,children:e});try{HJ.displayName="CardActions",HJ.__docgenInfo={description:"",displayName:"CardActions",props:{children:{defaultValue:null,description:"The content of the component.",name:"children",required:!1,type:{name:"ReactNode"}},classes:{defaultValue:null,description:"Override or extend the styles applied to the component.",name:"classes",required:!1,type:{name:"Partial"}},sx:{defaultValue:null,description:"The system prop that allows defining system overrides as well as additional CSS styles.",name:"sx",required:!1,type:{name:"SxProps"}},disableSpacing:{defaultValue:{value:"false"},description:"If `true`, the actions do not have additional margin.",name:"disableSpacing",required:!1,type:{name:"boolean"}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref"}}}}}catch{}const QWi={title:"Components/Card/Card",component:dx,tags:["autodocs"],argTypes:{variant:{options:["elevation","outlined"]}}},tse={render:e=>Le(dx,{...e,children:[b(CP,{title:"Card header",subheader:"Subheader"}),b(mfe,{sx:{height:"100px"},image:"https://avatars.githubusercontent.com/u/329985?s=200&v=4","aria-label":"Orange rectangle with interlocking AV logo"}),b(GJ,{children:"This is the content of the Card."}),Le(HJ,{sx:{justifyContent:"flex-end"},children:[b(uo,{color:"primary",children:"Submit"}),b(uo,{children:"Cancel"})]})]}),args:{sx:{maxWidth:"375px"}}};var $qt,qqt,jqt;tse.parameters={...tse.parameters,docs:{...($qt=tse.parameters)==null?void 0:$qt.docs,source:{originalSource:`{ render: (args: CardProps) => typeof t=="function"?t(e):{...e,...t},[e,t])}const c={};function a({components:t,children:e,disableParentContext:r}){let n;return r?n=typeof t=="function"?t({}):t||c:n=i(t),o.createElement(u.Provider,{value:n},e)}export{u as MDXContext,a as MDXProvider,i as useMDXComponents,C as withMDXComponents}; +import{R as o}from"./iframe-DzS4f35V.js";import"../sb-preview/runtime.js";const u=o.createContext({});function C(t){return e;function e(r){const n=i(r.components);return o.createElement(t,{...r,allComponents:n})}}function i(t){const e=o.useContext(u);return o.useMemo(()=>typeof t=="function"?t(e):{...e,...t},[e,t])}const c={};function a({components:t,children:e,disableParentContext:r}){let n;return r?n=typeof t=="function"?t({}):t||c:n=i(t),o.createElement(u.Provider,{value:n},e)}export{u as MDXContext,a as MDXProvider,i as useMDXComponents,C as withMDXComponents}; diff --git a/pr-preview/pr-644/assets/syntaxhighlighter-B5GMVT5T-CdKFU8jm.js b/pr-preview/pr-644/assets/syntaxhighlighter-B5GMVT5T-BCzr92Z9.js similarity index 61% rename from pr-preview/pr-644/assets/syntaxhighlighter-B5GMVT5T-CdKFU8jm.js rename to pr-preview/pr-644/assets/syntaxhighlighter-B5GMVT5T-BCzr92Z9.js index dd714a1e3..7e97ec5f7 100644 --- a/pr-preview/pr-644/assets/syntaxhighlighter-B5GMVT5T-CdKFU8jm.js +++ b/pr-preview/pr-644/assets/syntaxhighlighter-B5GMVT5T-BCzr92Z9.js @@ -1 +1 @@ -import{S as r,c as e,s as i}from"./iframe-MQ4bfTiS.js";import"../sb-preview/runtime.js";export{r as SyntaxHighlighter,e as createCopyToClipboardFunction,i as default}; +import{S as r,c as e,s as i}from"./iframe-DzS4f35V.js";import"../sb-preview/runtime.js";export{r as SyntaxHighlighter,e as createCopyToClipboardFunction,i as default}; diff --git a/pr-preview/pr-644/iframe.html b/pr-preview/pr-644/iframe.html index 9cbf26130..2f5ca97ca 100644 --- a/pr-preview/pr-644/iframe.html +++ b/pr-preview/pr-644/iframe.html @@ -359,7 +359,7 @@ } - + diff --git a/pr-preview/pr-644/project.json b/pr-preview/pr-644/project.json index 5ac424fa0..ed58be77d 100644 --- a/pr-preview/pr-644/project.json +++ b/pr-preview/pr-644/project.json @@ -1 +1 @@ -{"generatedAt":1738188989552,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Nx","packageManager":{"type":"yarn","version":"3.3.1"},"typescriptOptions":{"reactDocgenTypescriptOptions":{},"reactDocgen":"react-docgen-typescript"},"features":{"storyStoreV7":false,"legacyMdx1":true},"framework":{"name":"@storybook/react-vite","options":{"builder":{"viteConfigPath":""}}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","language":"typescript","storybookPackages":{"@chromatic-com/storybook":{"version":"1.3.3"},"@nx/storybook":{"version":"19.3.1"},"@storybook/addon-a11y":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"},"@storybook/addon-themes":{"version":"7.6.17"},"@storybook/core-server":{"version":"7.6.17"},"@storybook/mdx1-csf":{"version":"1.0.0"},"@storybook/react-vite":{"version":"7.6.17"}},"addons":{"$SNIP/node_modules/@storybook/addon-essentials":{"version":null},"$SNIP/node_modules/@storybook/addon-themes":{"version":null},"$SNIP/node_modules/@storybook/addon-a11y":{"version":null},"@storybook/addon-docs":{"version":"7.6.17"},"$SNIP/node_modules/@chromatic-com/storybook":{"version":null}}} +{"generatedAt":1738189392078,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Nx","packageManager":{"type":"yarn","version":"3.3.1"},"typescriptOptions":{"reactDocgenTypescriptOptions":{},"reactDocgen":"react-docgen-typescript"},"features":{"storyStoreV7":false,"legacyMdx1":true},"framework":{"name":"@storybook/react-vite","options":{"builder":{"viteConfigPath":""}}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","language":"typescript","storybookPackages":{"@chromatic-com/storybook":{"version":"1.3.3"},"@nx/storybook":{"version":"19.3.1"},"@storybook/addon-a11y":{"version":"7.6.17"},"@storybook/addon-essentials":{"version":"7.6.17"},"@storybook/addon-themes":{"version":"7.6.17"},"@storybook/core-server":{"version":"7.6.17"},"@storybook/mdx1-csf":{"version":"1.0.0"},"@storybook/react-vite":{"version":"7.6.17"}},"addons":{"$SNIP/node_modules/@storybook/addon-essentials":{"version":null},"$SNIP/node_modules/@storybook/addon-themes":{"version":null},"$SNIP/node_modules/@storybook/addon-a11y":{"version":null},"@storybook/addon-docs":{"version":"7.6.17"},"$SNIP/node_modules/@chromatic-com/storybook":{"version":null}}}